30678 Commits

Author SHA1 Message Date
Michael Shilman
e98574cd9f
Merge pull request #12588 from phated/guard-duplicate-in-createSummaryValue
Addon-docs: Move summary & detail equality check to createSummaryValue
2020-10-03 21:21:28 +08:00
Michael Shilman
5aab5b207d
Merge pull request #12652 from storybookjs/12640-controls-first-in-essentials
Essentials: Make controls tab show first
2020-10-03 17:59:21 +08:00
Michael Shilman
950c50396e
Merge pull request #12653 from storybookjs/tech/clean-deps
Misc: Clean usage and place in the monorepo of some dependencies
2020-10-03 17:58:42 +08:00
kahirokunn
e5c217b45a pass reject to testMethod 2020-10-03 18:11:09 +09:00
Gaëtan Maisse
d3004e4b66
chore: set a "fixed" version of Aurelia
`dev` tag was used for `aurelia` dep in both:
 - `@storybook/aurelia`
 - `aurelia-kitchen-sink`

A new version is published with this tag multiples a week.
But there is no real benefit for us to use a non "stable" version.
So I set the version to the 0.7.0 (latest stable as of today).

If we need/want to test against `dev` version of aurelia when can setup a specific E2E test.
2020-10-03 09:17:58 +02:00
Michael Shilman
0c4393312b Essentials: Make controls tab show first 2020-10-03 15:04:50 +08:00
Gaëtan Maisse
4fc862ae1b
chore: add missing peer deps in root package.json 2020-10-03 09:01:00 +02:00
Gaëtan Maisse
2b8ea8b1a0
chore: remove codelyzer from root package.json as it looks unused for a while 2020-10-03 09:00:22 +02:00
Gaëtan Maisse
13c1db9b87
chore: move some dependencies from workspace root to @storybook/addon-storyshots 2020-10-03 08:59:03 +02:00
Gaëtan Maisse
e37db1beb3
chore: add, in root package.json, the missing dependencies to run e2e 2020-10-03 08:57:04 +02:00
Gaëtan Maisse
8629d08df2
chore: remove angular deps from root package.json and add missing peerDeps 2020-10-03 08:55:05 +02:00
Michael Shilman
f80bc26810 Add React.memo dynamic snippet to official-storybook 2020-10-03 14:33:16 +08:00
Michael Shilman
4dc4cd0575
Merge pull request #12645 from storybookjs/fix_for_issue_12388
Chore: update documentation to address issue #12388
2020-10-03 13:42:29 +08:00
Michael Shilman
d77f932267
Merge pull request #12650 from hoop71/contributing-typo
patch: typo
2020-10-03 13:39:09 +08:00
hoop71
fb592ec442 patch: typo 2020-10-02 15:09:42 -06:00
Ryosuke
51f9cfc027
updated wording 2020-10-02 14:04:27 -07:00
jonniebigodes
09621d48c6
Update docs/workflows/faq.md
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-10-02 18:58:11 +01:00
Gert Hengeveld
76ef30bef7 Replace default exports with named exports. 2020-10-02 15:55:50 +02:00
Gert Hengeveld
21b5f22544 Fix compile errors. 2020-10-02 15:12:30 +02:00
Gert Hengeveld
2aad81dc27 Remove unused variable. 2020-10-02 12:18:10 +02:00
Gert Hengeveld
737745d4ad Fix callback memoization. 2020-10-02 12:17:55 +02:00
Gert Hengeveld
b69e4df144 Fix util tests. 2020-10-02 12:15:00 +02:00
Gert Hengeveld
1ee049ade1 Fix various warnings. 2020-10-02 12:10:15 +02:00
Gert Hengeveld
5f8412418b Selected storyId can be null. Pull out lastViewed logic to a custom hook. 2020-10-02 11:42:33 +02:00
jonniebigodes
39610808e6 Initial content for issue 2020-10-01 20:51:56 +01:00
Norbert de Langen
5414c8be19
fix snapshot 2020-10-01 16:53:17 +02:00
Norbert de Langen
1b3e3f4f60
fix versions 2020-10-01 16:53:02 +02:00
Andrew
f48d5e5c97
Delete .vscode settings (woops!) 2020-10-01 19:41:10 +10:00
Gert Hengeveld
bdf5dc4f91 Move stuff into utils and clean up some old stuff. 2020-10-01 10:00:24 +02:00
Andrew Salib
77ec4c6844 fix(addon-docs): add any types to props so it builds 2020-10-01 17:07:56 +10:00
Robert Lange
7b834b97e9 feat: add apng support 2020-10-01 08:37:48 +02:00
Andrew Salib
73369c2d0e fix(react/jsxDecorator): make rendered component's displayName work w/ memo & forwardRef exotic components
Prev. would just do as <[object Object]>.. because it didn't know where to lookup the inner render function's name.
2020-10-01 16:16:12 +10:00
Michael Shilman
cdd97a8bfb
Merge pull request #12629 from whoisryosuke/patch-5
Relative link to docs broken
2020-10-01 03:49:27 +08:00
Michael Shilman
6e3c686d69
Merge pull request #12631 from storybookjs/fix_issue_12611
Fix for issue 12611
2020-10-01 03:47:44 +08:00
jonniebigodes
abe4af52ae fixes issue 12611 2020-09-30 19:58:27 +01:00
Ryosuke
16c7a63057
Relative link to docs broken
The link to Storybook docs was relative, which on [the production site](https://storybook.js.org/docs/react/writing-docs/docs-page) links to the **next** branch, instead of the **master**.

Old link using relative:
`https://github.com/storybookjs/storybook/blob/next/addons/docs/README`

New link:
`https://github.com/storybookjs/storybook/blob/master/addons/docs/README.md`

Not sure if there's a way to use the relative link and have it point to master instead of next? But for now, hard-coded link will definitely work.
2020-09-30 11:04:40 -07:00
Ryosuke
ef1d42df3f
Fix copy for Docs
The website state that DocsPage is available out of the box with Storybook. After upgrading to Storybook v6 in a recent project, I didn't have access to Docs, and had to install the addon separately. You can also see in the [next page](https://storybook.js.org/docs/react/writing-docs/docs-page) that it states you need to install Storybook Docs to get access to DocsPage (which is more accurate, albeit conflicting and confusing in it's present state).

I changed the copy from `Out of the box` to `When you install Storybook Docs` to clarify that the user does indeed need to install the addon to access the functionality.
2020-09-30 11:01:10 -07:00
Gert Hengeveld
5e2ec32b63 Favor name over path matches when searching. 2020-09-30 17:08:18 +02:00
Gert Hengeveld
4d8c2b6178 Match on story path as well. 2020-09-30 17:04:20 +02:00
Gert Hengeveld
dd803d9df3 Color tweaks. 2020-09-30 15:31:12 +02:00
Gert Hengeveld
792ef78585 Change icon color based on theme. 2020-09-30 15:20:52 +02:00
Gert Hengeveld
61846fc6e9 Using current path to determine new paths is unreliable. 2020-09-30 15:00:10 +02:00
Gert Hengeveld
0be2c09d99 Select the first story when clicking a collapsed component node. 2020-09-30 14:47:59 +02:00
Gert Hengeveld
3ab7648848 Omit RESULTS heading. 2020-09-30 14:43:19 +02:00
Gert Hengeveld
3b3f05d25f Refactor to custom hooks. Fix docs mode. Cleanup some old stuff. 2020-09-30 14:39:26 +02:00
Michael Shilman
2c6e654ecb 6.1.0-alpha.18 next.json version file 2020-09-30 19:09:44 +08:00
Michael Shilman
22f978940c Update git head to 6.1.0-alpha.18 2020-09-30 19:05:24 +08:00
Michael Shilman
7bd08008b5 v6.1.0-alpha.18 v6.1.0-alpha.18 2020-09-30 18:57:46 +08:00
Michael Shilman
9054688394 Update root, peer deps, version.ts/json to 6.1.0-alpha.18 2020-09-30 18:57:33 +08:00
Michael Shilman
2dee98f955
Merge pull request #12590 from jsoref/spelling
Fix spelling errors
2020-09-30 18:23:06 +08:00