63 Commits

Author SHA1 Message Date
Tom Coleman
217fa08ced Add options library, and use it to drive a new example command 2022-07-31 13:12:26 +10:00
Yann Braga
95f300d323 fix(CLI): throw error on failure in sb init 2022-07-29 17:23:58 +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
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
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
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
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
b0a12ca635
Merge pull request #18784 from storybookjs/feat/addons-backgrounds-tsup
Generate addons/backgrounds with ts-up
2022-07-26 10:21:36 +02:00
Norbert de Langen
9bbc7c44d5
Merge pull request #18786 from storybookjs/feat/addons-controls-tsup
Build addons/controls with tsup
2022-07-26 10:21:27 +02:00
Norbert de Langen
749a2270fa
fix 2022-07-26 10:04:58 +02:00
Norbert de Langen
a4f6ba7185
fix 2022-07-26 10:03:00 +02:00
Norbert de Langen
e4ef0fdeef
fix 2022-07-26 09:56:46 +02:00
Norbert de Langen
51bdbbf3c1
fix 2022-07-26 09:56:18 +02:00
Norbert de Langen
80cee9f8bc
fix 2022-07-26 09:42:09 +02:00
Norbert de Langen
75b8f59d8d
fix 2022-07-26 09:40:04 +02:00
Norbert de Langen
17aedab67d
Merge branch 'next' into fix/addons-caching 2022-07-26 09:19:22 +02:00
Norbert de Langen
1a5a96d5d1
Merge branch 'next' into feat/addons-controls-tsup
# Conflicts:
#	code/addons/controls/package.json
2022-07-26 09:18:10 +02:00
Norbert de Langen
dbf358b900
Merge branch 'next' into feat/addons-backgrounds-tsup
# Conflicts:
#	code/addons/backgrounds/package.json
2022-07-26 09:17:44 +02:00
Norbert de Langen
dd82d44741
fix linting 2022-07-26 08:37:42 +02:00
Norbert de Langen
113e0582d2
Merge branch 'next' into future/move-code-into-directory
# Conflicts:
#	.vscode/launch.json
#	CONTRIBUTING.old.md
#	code/lib/cli/tsconfig.json
#	scripts/tsconfig.json
2022-07-26 08:33:57 +02:00
Norbert de Langen
d51b4d5126
Merge branch 'next' into future/move-code-into-directory
# Conflicts:
#	code/addons/a11y/package.json
#	code/examples/preact-kitchen-sink/package.json
#	code/lib/blocks/package.json
#	code/yarn.lock
#	package.json
2022-07-25 15:25:19 +02:00
Norbert de Langen
57dd1f1be2
cleanup npm-scripts in ./scripts 2022-07-24 12:43:14 +02:00
Norbert de Langen
dc3b1ba466
fix: bundle.ts is self-invoking now 2022-07-23 19:43:14 +02:00
Norbert de Langen
4b141c9be4
fix some deepscan issues 2022-07-23 19:40:03 +02:00
Norbert de Langen
3a43023b37
Merge branch 'future/base' into future/move-code-into-directory
# Conflicts:
#	code/addons/a11y/package.json
2022-07-23 19:20:42 +02:00
Norbert de Langen
3594a55b65
disabled eslint plugin for cra examples 2022-07-23 19:07:03 +02:00
Norbert de Langen
ebb1189a27
fix linting in code 2022-07-23 17:17:10 +02:00
Norbert de Langen
7d80c53471
add linting on scripts dir && fix linting 2022-07-23 17:15:13 +02:00