Skip to content

Commit

Permalink
Merge pull request #1 from storybookjs/next
Browse files Browse the repository at this point in the history
Merging from original repo
  • Loading branch information
dexster authored Mar 23, 2021
2 parents 94a86bd + 4e91e63 commit 9be3f8a
Show file tree
Hide file tree
Showing 202 changed files with 2,102 additions and 1,057 deletions.
97 changes: 97 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,100 @@
## 6.2.0-rc.8 (March 23, 2021)

**NOTE:** For Angular users using inline story rendering in addon-docs, this is a breaking prerelease change. See below and apologies for the back and forth.

### Bug Fixes

- Revert "Addon-docs/Angular: Fix inline rendering setup" ([#14310](https://github.com/storybookjs/storybook/pull/14310))
- Core: Import `isPlainObject` directly from lodash ([#14307](https://github.com/storybookjs/storybook/pull/14307))
- Addon-Links: Fix react.d.ts paths ([#14306](https://github.com/storybookjs/storybook/pull/14306))

## 6.2.0-rc.7 (March 23, 2021)

### Bug Fixes

- Core: Restore webpack4 watchOptions ([#14302](https://github.com/storybookjs/storybook/pull/14302))
- Webpack: Hash files only in dev mode ([#14284](https://github.com/storybookjs/storybook/pull/14284))
- UI: Element em should not make text content bold ([#14290](https://github.com/storybookjs/storybook/pull/14290))

### Dependency Upgrades

- Webpack5: Remove deprecated webpack-filter-warnings-plugin ([#14303](https://github.com/storybookjs/storybook/pull/14303))

## 6.2.0-rc.6 (March 21, 2021)

### Bug Fixes

- Revert "Webpack: Hash files only in production mode" ([#14283](https://github.com/storybookjs/storybook/pull/14283))

## 6.2.0-rc.5 (March 20, 2021)

### Bug Fixes

- Webpack: Hash files only in production mode ([#14264](https://github.com/storybookjs/storybook/pull/14264))
- Angular: Allow usage of all component valid selectors ([#14230](https://github.com/storybookjs/storybook/pull/14230))

### Maintenance

- Addon-controls: Improve color picker UI and migrate to react-colorful ([#14249](https://github.com/storybookjs/storybook/pull/14249))

## 6.2.0-rc.4 (March 19, 2021)

### Bug Fixes

- Webpack: Fix missing `module` mainField ([#14271](https://github.com/storybookjs/storybook/pull/14271))

## 6.2.0-rc.3 (March 18, 2021)

**NOTE:** For Angular users using inline story rendering in addon-docs, this is a breaking prerelease change. See below.

### Bug Fixes

- Addon-docs/Angular: Fix inline rendering setup ([#14270](https://github.com/storybookjs/storybook/pull/14270))
- Addon-docs: Fix table dark mode ([#14251](https://github.com/storybookjs/storybook/pull/14251))
- Webpack5: Replace fullhash with contenthash ([#14261](https://github.com/storybookjs/storybook/pull/14261))

### Maintenance

- CLI: Don't allow root directory as static dir ([#14068](https://github.com/storybookjs/storybook/pull/14068))
- WebComponents: Fix types and improve CLI detection ([#14258](https://github.com/storybookjs/storybook/pull/14258))

## 6.2.0-rc.2 (March 17, 2021)

### Bug Fixes

- Addon-docs/Vue,Vue3: Fix preset options for vue-docgen-api ([#14227](https://github.com/storybookjs/storybook/pull/14227))
- Webpack5: Fix hash => fullhash ([#14255](https://github.com/storybookjs/storybook/pull/14255))

### Maintenance

- Core: Check webpack version ([#14256](https://github.com/storybookjs/storybook/pull/14256))

## 6.2.0-rc.1 (March 16, 2021)

### Features

- CLI: Improve init for svelte ([#14161](https://github.com/storybookjs/storybook/pull/14161))

## 6.2.0-rc.0 (March 15, 2021)

### Features

- Svelte: Improve default webpack config ([#14235](https://github.com/storybookjs/storybook/pull/14235))

## 6.2.0-beta.15 (March 15, 2021)

### Features

- Controls: Add ArgsTable sorting ([#13125](https://github.com/storybookjs/storybook/pull/13125))

### Bug Fixes

- Addon-docs: Fix source block error on dynamically-generated stories ([#14217](https://github.com/storybookjs/storybook/pull/14217))

### Dependency Upgrades

- [Security] Bump react-dev-utils from 11.0.3 to 11.0.4 ([#14210](https://github.com/storybookjs/storybook/pull/14210))

## 6.2.0-beta.14 (March 11, 2021)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@

### MDX pattern tweaked

In 6.2 files ending in `stories.mdx` or `story.mdx` are now processed with Storybook's MDX compiler. Previously it only applied to files ending in `.stories.mdx` or `.story.mdx`. See more here: [#13996](https://github.com/storybookjs/storybook/pull/13996)
In 6.2 files ending in `stories.mdx` or `story.mdx` are now processed with Storybook's MDX compiler. Previously it only applied to files ending in `.stories.mdx` or `.story.mdx`. See more here: [#13996](https://github.com/storybookjs/storybook/pull/13996).

### 6.2 Angular overhaul

Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Storybook comes with a lot of [addons](https://storybook.js.org/docs/react/confi

### Community

For additional help, join us [in our Discord](https://discord.gg/storybook) or [Slack (legacy)](https://now-examples-slackin-rrirkqohko.now.sh/).
For additional help, join us in the [Storybook Discord](https://discord.gg/storybook).

## Projects

Expand Down Expand Up @@ -167,9 +167,8 @@ If you're looking for material to use in your presentation about storybook, like
## Community

- Tweeting via [@storybookjs](https://twitter.com/storybookjs)
- Blogging at [Medium](https://medium.com/storybookjs)
- Blogging at [storybook.js.org](https://storybook.js.org/blog/) and [Medium](https://medium.com/storybookjs)
- Chatting on [Discord](https://discord.gg/storybook)
- Chatting (legacy) on [Slack](https://now-examples-slackin-rrirkqohko.now.sh/)
- Streaming saved at [Youtube](https://www.youtube.com/channel/UCr7Quur3eIyA_oe8FNYexfg)

## Contributing
Expand Down
20 changes: 10 additions & 10 deletions addons/a11y/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "6.2.0-beta.14",
"version": "6.2.0-rc.8",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
Expand Down Expand Up @@ -41,14 +41,14 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.2.0-beta.14",
"@storybook/api": "6.2.0-beta.14",
"@storybook/channels": "6.2.0-beta.14",
"@storybook/client-api": "6.2.0-beta.14",
"@storybook/client-logger": "6.2.0-beta.14",
"@storybook/components": "6.2.0-beta.14",
"@storybook/core-events": "6.2.0-beta.14",
"@storybook/theming": "6.2.0-beta.14",
"@storybook/addons": "6.2.0-rc.8",
"@storybook/api": "6.2.0-rc.8",
"@storybook/channels": "6.2.0-rc.8",
"@storybook/client-api": "6.2.0-rc.8",
"@storybook/client-logger": "6.2.0-rc.8",
"@storybook/components": "6.2.0-rc.8",
"@storybook/core-events": "6.2.0-rc.8",
"@storybook/theming": "6.2.0-rc.8",
"axe-core": "^4.1.1",
"core-js": "^3.8.2",
"global": "^4.4.0",
Expand Down Expand Up @@ -77,7 +77,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "45957443c70b308214c9eb52cb048e7e488153c6",
"gitHead": "229ae2956bdb1e49a5dee26d3b6ada991a38c725",
"storybook": {
"displayName": "Accessibility",
"icon": "https://user-images.githubusercontent.com/263385/101991665-47042f80-3c7c-11eb-8f00-64b5a18f498a.png",
Expand Down
16 changes: 8 additions & 8 deletions addons/actions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "6.2.0-beta.14",
"version": "6.2.0-rc.8",
"description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [
"storybook",
Expand Down Expand Up @@ -37,12 +37,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.2.0-beta.14",
"@storybook/api": "6.2.0-beta.14",
"@storybook/client-api": "6.2.0-beta.14",
"@storybook/components": "6.2.0-beta.14",
"@storybook/core-events": "6.2.0-beta.14",
"@storybook/theming": "6.2.0-beta.14",
"@storybook/addons": "6.2.0-rc.8",
"@storybook/api": "6.2.0-rc.8",
"@storybook/client-api": "6.2.0-rc.8",
"@storybook/components": "6.2.0-rc.8",
"@storybook/core-events": "6.2.0-rc.8",
"@storybook/theming": "6.2.0-rc.8",
"core-js": "^3.8.2",
"fast-deep-equal": "^3.1.3",
"global": "^4.4.0",
Expand Down Expand Up @@ -74,7 +74,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "45957443c70b308214c9eb52cb048e7e488153c6",
"gitHead": "229ae2956bdb1e49a5dee26d3b6ada991a38c725",
"storybook": {
"displayName": "Actions",
"unsupportedFrameworks": [
Expand Down
16 changes: 8 additions & 8 deletions addons/backgrounds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "6.2.0-beta.14",
"version": "6.2.0-rc.8",
"description": "Switch backgrounds to view components in different settings",
"keywords": [
"addon",
Expand Down Expand Up @@ -41,12 +41,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.2.0-beta.14",
"@storybook/api": "6.2.0-beta.14",
"@storybook/client-logger": "6.2.0-beta.14",
"@storybook/components": "6.2.0-beta.14",
"@storybook/core-events": "6.2.0-beta.14",
"@storybook/theming": "6.2.0-beta.14",
"@storybook/addons": "6.2.0-rc.8",
"@storybook/api": "6.2.0-rc.8",
"@storybook/client-logger": "6.2.0-rc.8",
"@storybook/components": "6.2.0-rc.8",
"@storybook/core-events": "6.2.0-rc.8",
"@storybook/theming": "6.2.0-rc.8",
"core-js": "^3.8.2",
"global": "^4.4.0",
"memoizerific": "^1.11.3",
Expand All @@ -72,7 +72,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "45957443c70b308214c9eb52cb048e7e488153c6",
"gitHead": "229ae2956bdb1e49a5dee26d3b6ada991a38c725",
"storybook": {
"displayName": "Backgrounds",
"icon": "https://user-images.githubusercontent.com/263385/101991667-479cc600-3c7c-11eb-96d3-410e936252e7.png",
Expand Down
16 changes: 8 additions & 8 deletions addons/controls/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-controls",
"version": "6.2.0-beta.14",
"version": "6.2.0-rc.8",
"description": "Interact with component inputs dynamically in the Storybook UI",
"keywords": [
"addon",
Expand Down Expand Up @@ -41,12 +41,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.2.0-beta.14",
"@storybook/api": "6.2.0-beta.14",
"@storybook/client-api": "6.2.0-beta.14",
"@storybook/components": "6.2.0-beta.14",
"@storybook/node-logger": "6.2.0-beta.14",
"@storybook/theming": "6.2.0-beta.14",
"@storybook/addons": "6.2.0-rc.8",
"@storybook/api": "6.2.0-rc.8",
"@storybook/client-api": "6.2.0-rc.8",
"@storybook/components": "6.2.0-rc.8",
"@storybook/node-logger": "6.2.0-rc.8",
"@storybook/theming": "6.2.0-rc.8",
"core-js": "^3.8.2",
"ts-dedent": "^2.0.0"
},
Expand All @@ -65,7 +65,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "45957443c70b308214c9eb52cb048e7e488153c6",
"gitHead": "229ae2956bdb1e49a5dee26d3b6ada991a38c725",
"storybook": {
"displayName": "Controls",
"icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png",
Expand Down
6 changes: 4 additions & 2 deletions addons/controls/src/ControlsPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React, { FC } from 'react';
import { useArgs, useArgTypes, useParameter } from '@storybook/api';
import { ArgsTable, NoControlsWarning } from '@storybook/components';
import { ArgsTable, NoControlsWarning, SortType } from '@storybook/components';

import { PARAM_KEY } from './constants';

interface ControlsParameters {
sort?: SortType;
expanded?: boolean;
hideNoControlsWarning?: boolean;
}
Expand All @@ -13,7 +14,7 @@ export const ControlsPanel: FC = () => {
const [args, updateArgs, resetArgs] = useArgs();
const rows = useArgTypes();
const isArgsStory = useParameter<boolean>('__isArgsStory', false);
const { expanded, hideNoControlsWarning = false } = useParameter<ControlsParameters>(
const { expanded, sort, hideNoControlsWarning = false } = useParameter<ControlsParameters>(
PARAM_KEY,
{}
);
Expand All @@ -32,6 +33,7 @@ export const ControlsPanel: FC = () => {
updateArgs,
resetArgs,
inAddonPanel: true,
sort,
}}
/>
</>
Expand Down
14 changes: 7 additions & 7 deletions addons/cssresources/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-cssresources",
"version": "6.2.0-beta.14",
"version": "6.2.0-rc.8",
"description": "A storybook addon to switch between css resources at runtime for your story",
"keywords": [
"addon",
Expand Down Expand Up @@ -40,11 +40,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.2.0-beta.14",
"@storybook/api": "6.2.0-beta.14",
"@storybook/components": "6.2.0-beta.14",
"@storybook/core-events": "6.2.0-beta.14",
"@storybook/theming": "6.2.0-beta.14",
"@storybook/addons": "6.2.0-rc.8",
"@storybook/api": "6.2.0-rc.8",
"@storybook/components": "6.2.0-rc.8",
"@storybook/core-events": "6.2.0-rc.8",
"@storybook/theming": "6.2.0-rc.8",
"core-js": "^3.8.2",
"global": "^4.4.0",
"regenerator-runtime": "^0.13.7"
Expand All @@ -67,7 +67,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "45957443c70b308214c9eb52cb048e7e488153c6",
"gitHead": "229ae2956bdb1e49a5dee26d3b6ada991a38c725",
"storybook": {
"displayName": "CSS Resources",
"unsupportedFrameworks": [
Expand Down
16 changes: 8 additions & 8 deletions addons/design-assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-design-assets",
"version": "6.2.0-beta.14",
"version": "6.2.0-rc.8",
"description": "Design asset preview for storybook",
"keywords": [
"addon",
Expand Down Expand Up @@ -41,12 +41,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "6.2.0-beta.14",
"@storybook/api": "6.2.0-beta.14",
"@storybook/client-logger": "6.2.0-beta.14",
"@storybook/components": "6.2.0-beta.14",
"@storybook/core-events": "6.2.0-beta.14",
"@storybook/theming": "6.2.0-beta.14",
"@storybook/addons": "6.2.0-rc.8",
"@storybook/api": "6.2.0-rc.8",
"@storybook/client-logger": "6.2.0-rc.8",
"@storybook/components": "6.2.0-rc.8",
"@storybook/core-events": "6.2.0-rc.8",
"@storybook/theming": "6.2.0-rc.8",
"core-js": "^3.8.2",
"global": "^4.4.0",
"regenerator-runtime": "^0.13.7",
Expand All @@ -68,7 +68,7 @@
"publishConfig": {
"access": "public"
},
"gitHead": "45957443c70b308214c9eb52cb048e7e488153c6",
"gitHead": "229ae2956bdb1e49a5dee26d3b6ada991a38c725",
"storybook": {
"displayName": "Design assets",
"unsupportedFrameworks": [
Expand Down
Loading

0 comments on commit 9be3f8a

Please sign in to comment.