2034 Commits

Author SHA1 Message Date
luciana-mendonca
76c957e9b0 build(addon-jest): use tsup to build addon-jest 2022-07-31 14:51:04 +02:00
Tom Coleman
d3aa364597
Merge pull request #18781 from storybookjs/tom/sb-568-script-asks-the-maintainer-which
Create a new `yarn example` command that will drive our new dev experience
2022-07-31 14:41:43 +10:00
Tom Coleman
1bb8d80305
Merge pull request #18737 from storybookjs/fix-react-18-docs-tests
React: Fix callback behavior in `react@18`
2022-07-31 14:41:13 +10:00
Tom Coleman
99d6c5282b Allow running link without starting 2022-07-31 14:26:45 +10:00
Tom Coleman
43d142b084 Update trailing CSF version 2022-07-31 13:12:26 +10:00
Tom Coleman
b99d16da69 Drop scripts from code tests 2022-07-31 13:12:26 +10:00
Tom Coleman
6cf650e816 Add a dry-run option to command 2022-07-31 13:12:26 +10:00
Tom Coleman
85fac87397 Simply TS usage 2022-07-31 13:12:26 +10:00
Tom Coleman
217fa08ced Add options library, and use it to drive a new example command 2022-07-31 13:12:26 +10:00
jonniebigodes
123fb0978d Additional links updated 2022-07-29 18:47:46 +01:00
Yann Braga
95f300d323 fix(CLI): throw error on failure in sb init 2022-07-29 17:23:58 +02:00
Yann Braga
fd4bfe00b1 refactor and improve repro generate and publish scripts 2022-07-29 16:38:03 +02:00
Tom Coleman
428a768e6a
Merge pull request #18673 from storybookjs/tom/sb-468-add-step-function-to-play-context-and
Add step function to play context
2022-07-29 10:44:02 +10:00
Norbert de Langen
2582c2fe3b
Merge pull request #18798 from abdlqader/feat/lib-core-event-tsup
[CHANGED] core-event compiler to ts-up
2022-07-28 22:16:11 +02:00
jonniebigodes
36a3c4a8e8 Updates urls for addons 2022-07-28 20:19:28 +01:00
yang bo
4ea22da736 fix: update withSource=open example 2022-07-28 23:28:16 +08:00
yang bo
68d403160c fix: canvas support expand code for non-story 2022-07-28 23:12:53 +08:00
Norbert de Langen
141e77bccd
take the type from type-fest, because tsup has an issue with types from read-pkg-up 2022-07-28 16:45:13 +02:00
Norbert de Langen
76292e7192
fix #18791 and take PackageJson type from an upstream package 2022-07-28 15:02:46 +02:00
abdelkader
b596a9ddc6 [CHANGED] lib/addons changed to tsup 2022-07-28 13:53:24 +02:00
Norbert de Langen
4917afe0fa
Update code/lib/core-events/package.json 2022-07-28 13:14:58 +02:00
Norbert de Langen
82cf379dd4
Merge pull request #17964 from storybookjs/norbert/sb-28-prefetch-csf-files-on-hover-select-via
UI: Add preloading to stories highlighted in the sidebar
2022-07-28 12:28:01 +02:00
Norbert de Langen
bc337a6f43
fix 2022-07-28 11:56:42 +02:00
Tom Coleman
f95cb6eeb3 Code comments 2022-07-28 19:33:22 +10:00
Tom Coleman
0d176deb9a Improvements 2022-07-28 19:33:22 +10:00
Tom Coleman
bb3749113d Add explanation about composeStepRunners 2022-07-28 19:33:22 +10:00
Tom Coleman
81e297efea Linting fixes 2022-07-28 19:33:22 +10:00
Tom Coleman
d1bcb5e02b Add step to the prepared play function on Story 2022-07-28 19:33:21 +10:00
Tom Coleman
b2b7a15517 Add a Math.random() to ensure the callback is called exactly once 2022-07-28 16:54:23 +10:00
Tom Coleman
049d84c44f Use useLayoutEffect for callback 2022-07-28 16:54:05 +10:00
Tom Coleman
2740d17e1d Reinstate all react tests 2022-07-28 16:53:04 +10:00
Yann Braga
ea2fffc963 add command to publish repos + GH action 2022-07-27 20:37:20 +02:00
Norbert de Langen
de8bf808bd
Update code/lib/core-events/package.json 2022-07-27 20:08:12 +02:00
Michael Shilman
8985d42448 Update git head to 7.0.0-alpha.17, update yarn.lock [ci skip] 2022-07-27 10:55:43 -07:00
Michael Shilman
7d44bfd3e7 v7.0.0-alpha.17 2022-07-27 10:51:56 -07:00
Michael Shilman
e6d3d6f7c4 Update root, peer deps, version.ts/json to 7.0.0-alpha.17 [ci skip] 2022-07-27 10:38:20 -07:00
abdelkader
0831ed11f4 [CHANGED] core-event compiler to ts-up 2022-07-27 19:11:57 +02:00
Yann Braga
b7522fb476
Merge pull request #18787 from storybookjs/yann/sb-617-setting-up-the-generate-repro-script
feat: add next-repro CLI command
2022-07-27 16:29:54 +02:00
Norbert de Langen
412b71a2aa
Merge branch 'next' into fix-copy-function
# Conflicts:
#	code/lib/components/src/syntaxhighlighter/syntaxhighlighter.tsx
2022-07-27 16:05:40 +02:00
Jono Kolnik
98ec2ab04d
Update instrumenter.ts 2022-07-27 09:09:16 -04:00
Jono Kolnik
b899f1edfd Merge branch 'next' into run-interactions-conditionally 2022-07-27 07:54:51 -04:00
Norbert de Langen
1aa9f79a43
rename PRELOAD_STORIES to PRELOAD_ENTRIES event
auto map the ref id in lib/api when calling emit
emit preload event when hovering over sidebar items or selecting them with the keyboard
2022-07-27 13:44:24 +02:00
Norbert de Langen
e3115fd152
Merge branch 'next' into preact-typescript-pragma-fix
# Conflicts:
#	app/preact/src/server/framework-preset-preact.ts
#	code/examples/preact-kitchen-sink/.storybook/main.ts
#	code/examples/preact-kitchen-sink/src/stories/test-cases/__snapshots__/test-component.stories.storyshot
#	code/examples/preact-kitchen-sink/src/stories/test-cases/no-pragma.tsx
#	code/examples/preact-kitchen-sink/src/stories/test-cases/test-component.stories.tsx
#	code/examples/preact-kitchen-sink/tsconfig.json
2022-07-27 11:24:53 +02:00
Tom Coleman
23a2c7c6a7 Heading to a storybook might render in #docs-root now 2022-07-26 22:49:50 +10:00
Tom Coleman
b4bb90933c Fix storyshots tests 2022-07-26 22:49:49 +10:00
Tom Coleman
f381f9c46b Split types + code 2022-07-26 22:49:49 +10:00
Tom Coleman
d9e46dd1f3 Support DocsPage in v6 store 2022-07-26 22:49:48 +10:00
Norbert de Langen
18db6ff63e
cleanup 2022-07-26 14:22:00 +02:00
Yann Braga
d282324c5d feat: add next-repro CLI command 2022-07-26 11:41:33 +02:00
Norbert de Langen
5c6b201497
Merge branch 'next' into feat/addons-actions-tsup
# Conflicts:
#	code/addons/actions/package.json
#	code/yarn.lock
2022-07-26 10:30:50 +02:00