36987 Commits

Author SHA1 Message Date
Tom Coleman
81e7af6fe1 Merge branch 'add-static-dirs-option' of https://github.com/oscard0m/storybook into add-static-dirs-option 2021-10-29 15:15:19 +11:00
Michael Shilman
79bb676774
Merge pull request #16510 from storybookjs/update-tooltipNote
UI: Improve WithTooltip contrast and positioning
2021-10-29 07:11:38 +08:00
Michael Shilman
ede8bed080 Merge branch 'next' into update-tooltipNote 2021-10-29 05:40:43 +08:00
jonniebigodes
d8ba74c363
Merge pull request #16457 from facugaich/args-docs-patch
Docs: Fix React TS types in Args section snippets
2021-10-28 21:33:06 +01:00
Michael Arestad
fa227e3abd Improve tooltip contrast and positioning 2021-10-28 11:42:38 -06:00
Michael Shilman
945148a32c 6.4.0-beta.22 next.json version file 2021-10-29 00:14:39 +08:00
Michael Shilman
4e1f5c250b Update git head to 6.4.0-beta.22, update yarn.lock 2021-10-29 00:11:03 +08:00
Michael Shilman
680a207c0b v6.4.0-beta.22 v6.4.0-beta.22 2021-10-29 00:07:46 +08:00
Michael Shilman
331bb74d41 Update root, peer deps, version.ts/json to 6.4.0-beta.22 [ci skip] 2021-10-28 23:56:31 +08:00
Michael Shilman
53e6eb25a7 6.4.0-beta.22 changelog 2021-10-28 23:56:10 +08:00
jonniebigodes
e6d5a11531
Merge pull request #16501 from solimant/patch-1
Fix typo in comment
2021-10-28 15:40:25 +01:00
Michael Shilman
07871649bd
Merge pull request #16484 from literalpie/lazy-a11y
Addon-a11y: Lazy load axe-core only when running tests
2021-10-28 14:26:12 +08:00
Michael Shilman
63e26bb17e
Merge pull request #16459 from literalpie/lazy-prettier
Addon-docs: Lazy load Prettier in Vue and Angular
2021-10-28 14:17:55 +08:00
Michael Shilman
30d950889e Merge branch 'next' into pr/16484 2021-10-28 14:02:29 +08:00
Michael Shilman
2db634a662 Merge branch 'next' into pr/16459 2021-10-28 10:36:34 +08:00
Michael Shilman
ca55a29feb
Merge pull request #16488 from storybookjs/16174-fix-docs-args-hmr
Addon-docs: Track code-level args changes in `ArgsTable`
2021-10-28 10:02:40 +08:00
solimant
f20f67b97a
Fix typo in comment 2021-10-27 17:06:19 -07:00
Michael Shilman
b947e16b35 6.4.0-beta.21 next.json version file 2021-10-28 01:25:12 +08:00
Michael Shilman
ad2a17bbdf Update git head to 6.4.0-beta.21, update yarn.lock 2021-10-28 01:22:17 +08:00
Michael Shilman
eb83ef6aef v6.4.0-beta.21 v6.4.0-beta.21 2021-10-28 01:19:13 +08:00
Michael Shilman
b0147d2452 Update root, peer deps, version.ts/json to 6.4.0-beta.21 [ci skip] 2021-10-28 01:09:54 +08:00
Michael Shilman
2b6dc5e954 6.4.0-beta.21 changelog 2021-10-28 01:09:30 +08:00
jonniebigodes
e33eebbc28
Merge pull request #16209 from xonev/patch-3
[documentation] Fix a library name mistake in documentation.
2021-10-27 18:04:50 +01:00
Michael Shilman
9814f81911
Merge pull request #16487 from storybookjs/16486-fix-non-selected-hmr
Core: Always update initial args when loading a story
2021-10-28 01:03:12 +08:00
Michael Shilman
2adb400670
Merge pull request #16476 from storybookjs/16260-rerun-loaders-on-rerender
Core: Rerun loaders when args/globals change
2021-10-28 01:02:41 +08:00
Yann Braga
e260ec5f38
Merge pull request #16481 from storybookjs/feature/interactions-feature-flag
Interactions: move step debugger behind a feature flag
2021-10-27 17:34:27 +02:00
Michael Shilman
32c477659d Merge branch 'next' into 16260-rerun-loaders-on-rerender 2021-10-27 23:25:46 +08:00
Michael Shilman
db17405283 Merge branch 'next' into 16174-fix-docs-args-hmr 2021-10-27 23:24:45 +08:00
Michael Shilman
1564b2c819 Merge branch 'next' into 16486-fix-non-selected-hmr 2021-10-27 23:24:21 +08:00
Michael Shilman
eff5efe999
Merge pull request #16263 from storybookjs/update-cypress-and-node
CI: Upgrade Cypress and Node.js version used in e2e tests
2021-10-27 23:17:14 +08:00
Facundo Gaich
64b4e9f6f6 Fix typo in page-story-slots.ts.mdx 2021-10-27 11:37:39 -03:00
Facundo Gaich
bbf1e29030 Merge branch 'next' into args-docs-patch 2021-10-27 11:36:34 -03:00
Yann Braga
65d5f62516 chore(addon-interactions): add paused story 2021-10-27 15:52:07 +02:00
Tom Coleman
58cc5efdb0
Apply suggestions from code review 2021-10-27 08:28:29 +00:00
Tom Coleman
2504e5a3d2 Emit a STORY_ARGS_UPDATED event whenever the current story's implementation changes.
This means things like the `ArgsTable` can keep up to date.

NOTE: this does not work if a different story to the the "selected" story is updated in docs mode, which can be visible on the screen. This is a symptom of a larger problem in the way that docs mode works.
2021-10-27 16:17:10 +11:00
Tom Coleman
12bc4b4988 Only bother doing the update check if the initial args have changed by ref 2021-10-27 15:50:33 +11:00
Tom Coleman
0a5466a32c Always update initial args when loading a story
And also update the current args with the delta. This means both when we change story (to an HMR-ed story) and when we HMR the current story.
2021-10-27 15:48:39 +11:00
Benjamin Kindle
b5bddca8e4 Lazy load axe-core only when running tests 2021-10-26 20:19:11 -04:00
Benjamin Kindle
a5e6102661 Emit component source if available 2021-10-26 19:51:35 -04:00
jonniebigodes
b4afd45ecf
Merge pull request #16379 from srmagura/faq-is-storybook
Add FAQ entry about process.env.STORYBOOK
2021-10-26 21:37:35 +01:00
Gaëtan Maisse
46729124d2
test: use force click for cypress e2e test as it looks to fix a flaky test 2021-10-26 21:47:50 +02:00
Yann Braga
75021c6735 fix: add missing boolean in interaction stories 2021-10-26 21:29:10 +02:00
Yann Braga
217fa08e11 refactor(addon-interactions): rename flag 2021-10-26 21:11:50 +02:00
Yann Braga
8697bf609a refactor(addon-interactions): wrap callbacks in react hook 2021-10-26 21:08:16 +02:00
Gaëtan Maisse
70866b8130
chore: update Cypress to 8.7 2021-10-26 20:47:35 +02:00
Gaëtan Maisse
577f0311d2
fix(vue): fix preset path 2021-10-26 20:37:55 +02:00
Gaëtan Maisse
84f4468eb4
Merge branch 'next' into update-cypress-and-node 2021-10-26 20:31:39 +02:00
Michael Shilman
7e6bf86244
Merge pull request #16475 from storybookjs/tom/ch-661-addon-a11y-initializing-forever
Core: Ensure we don't reset `WebPreview` if calling `start()` in v7 mode
2021-10-27 00:34:14 +08:00
Michael Shilman
894fd20a90 Fix undefined FEATURES 2021-10-27 00:15:11 +08:00
Michael Shilman
8d6b0901aa Fix clientAPi.raw API signature 2021-10-27 00:04:14 +08:00