57 Commits

Author SHA1 Message Date
Ian VanSchooten
393a12aac3 Use explicit type imports 2022-10-27 19:33:39 -04:00
Michael Shilman
8009143dd9
Merge pull request #19004 from zhyd1997/fix/support-profiler-use-in-component
Addon-docs: Fix React Profiler in source snippets
2022-10-28 06:13:19 +08:00
Kasper Peulen
4220a44c86 Make StoryObj<typeof Cmp> work the same as ComponentStoryObj did (so non strict) 2022-10-27 15:29:33 +02:00
Kasper Peulen
b476912803
Merge pull request #19596 from storybookjs/shilman/fix-story-migration
Docs: Deprecate Story and ComponentX types
2022-10-26 14:29:59 +02:00
Kasper Peulen
eed8bdcdf4 Adopt T prefix for generics in all renderers 2022-10-26 11:40:15 +02:00
Kasper Peulen
0d3b8280d5 Deprecate Story for all frameworks
And deprecate ComponentX variants for react
2022-10-26 11:34:48 +02:00
Norbert de Langen
8bc4b24f3b
fixing linting 2022-10-26 10:02:19 +02:00
Norbert de Langen
9e60c3428f
Merge branch 'next' into ugrades/eslint 2022-10-26 08:51:41 +02:00
Norbert de Langen
a6a0452ffd
sorting imports 2022-10-25 19:38:31 +02:00
Norbert de Langen
6be12c24d8
deal with the aftermath of upgrading eslint 2022-10-24 14:57:37 +02:00
Norbert de Langen
367cc6924c
Merge branch 'deprecate/remaining-lib-cli' into norbert/sb-799-create-a-storybooktypes 2022-10-23 19:02:06 +02:00
Norbert de Langen
d1b725d385
fixes & linting 2022-10-22 17:32:14 +02:00
Norbert de Langen
4a1bb57773
fixes 2022-10-22 15:04:04 +02:00
Norbert de Langen
9b3eeeae15
fixes 2022-10-22 12:48:46 +02:00
Norbert de Langen
5f1551727b
step 1 2022-10-21 22:04:42 +02:00
Yadong Zhang
117fab946f
Merge branch 'storybookjs:next' into fix/support-profiler-use-in-component 2022-10-21 18:14:06 +08:00
Norbert de Langen
a899800ec8
import all csf types through types package 2022-10-20 16:21:26 +02:00
Kasper Peulen
b05ec3abb4 Merge remote-tracking branch 'origin/next' into future/CSF3-svelte
# Conflicts:
#	code/addons/a11y/package.json
#	code/addons/actions/package.json
#	code/addons/backgrounds/package.json
#	code/addons/controls/package.json
#	code/addons/docs/package.json
#	code/addons/interactions/package.json
#	code/addons/links/package.json
#	code/addons/measure/package.json
#	code/addons/outline/package.json
#	code/addons/storyshots/storyshots-core/package.json
#	code/addons/storyshots/storyshots-puppeteer/package.json
#	code/examples/external-docs/package.json
#	code/frameworks/angular/package.json
#	code/lib/addons/package.json
#	code/lib/api/package.json
#	code/lib/blocks/package.json
#	code/lib/client-api/package.json
#	code/lib/codemod/package.json
#	code/lib/components/package.json
#	code/lib/core-client/package.json
#	code/lib/core-common/package.json
#	code/lib/core-server/package.json
#	code/lib/docs-tools/package.json
#	code/lib/preview-web/package.json
#	code/lib/store/package.json
#	code/renderers/html/package.json
#	code/renderers/preact/package.json
#	code/renderers/react/package.json
#	code/renderers/server/package.json
#	code/renderers/svelte/package.json
#	code/renderers/vue/package.json
#	code/renderers/vue3/package.json
#	code/renderers/web-components/package.json
#	code/ui/manager/package.json
#	code/yarn.lock
2022-10-18 21:39:03 +02:00
Kasper Peulen
7c1b9ccf1e more typesafe CSF3 types for svelte 2022-10-18 17:16:43 +02:00
Norbert de Langen
e948230ad0
change once.warn to deprecate when that is the actual intent. 2022-10-18 13:45:38 +02:00
Norbert de Langen
0da30e7050
Merge branch 'next' into deprecate/add-decorator-add-api 2022-10-17 14:48:46 +02:00
Norbert de Langen
a3dbdc7673
fix 2022-10-17 13:29:39 +02:00
Norbert de Langen
285fc6b9b7
cleanup the types that are no longer used 2022-10-17 13:14:40 +02:00
Norbert de Langen
7bf028fe2f
add the global api back because it's used internally
Remove the global api from the public interface in renderers
2022-10-17 13:11:48 +02:00
Norbert de Langen
445fe03082
fix 2022-10-14 17:28:00 +02:00
Norbert de Langen
69fb976514
remove onBeforeRender 2022-10-14 16:29:04 +02:00
Norbert de Langen
01337105e5
more removal of deprecations 2022-10-14 12:40:19 +02:00
Norbert de Langen
8450bc2065
fixes 2022-10-14 12:21:09 +02:00
Yadong Zhang
9f3c1fac41
Merge branch 'storybookjs:next' into fix/support-profiler-use-in-component 2022-10-12 18:52:20 +08:00
Kasper Peulen
1cf8658a9e make args sound for CSF3 react types 2022-10-11 10:31:23 +02:00
Jeppe Reinhold
0dcc3a0e2c Merge branch 'next' of github.com:storybookjs/storybook into pr/danielamram/19292 2022-10-05 12:35:48 +02:00
Norbert de Langen
edf0cc8201
Merge branch 'next' into tech/tsup-lib-client-api 2022-10-03 17:42:15 +02:00
danielamram
6eeeb19d82 Merge branch 'next' of https://github.com/danielamram/storybook into replace-storybook-semver 2022-10-01 02:45:18 +03:00
Tom Coleman
e52ad1c8ac Rename __testfixtures__ => docgen-components 2022-09-30 12:01:49 +10:00
danielamram
e9c8cd854c chore: replace @storybook/semver with semver 2022-09-29 16:31:35 +03:00
Tom Coleman
7e3bd67993 Skip tests that use ESM 2022-09-28 19:20:26 +10:00
Norbert de Langen
d3eab19d5b
fixes 2022-09-28 09:39:04 +02:00
Tom Coleman
af0b4fb97f Move argTypes test 2022-09-28 15:50:26 +10:00
Tom Coleman
9d33725de8 Move argType stories to template/stories folder 2022-09-27 14:31:13 +10:00
Yadong Zhang
47708a40f2
Merge branch 'next' into fix/support-profiler-use-in-component 2022-09-16 20:16:43 +08:00
Tom Coleman
0db7a6cb17 Remove cra-ts-essentials 2022-09-12 22:27:38 +10:00
Michael Shilman
42833839df Merge branch 'next' into react-18-followup 2022-09-08 11:03:09 +08:00
Michael Shilman
bdf0a82b05
Update code/renderers/react/src/render.tsx 2022-09-07 20:14:59 +08:00
Tom Coleman
0ad2ef76f6 Fix issue with react 18 implementation 2022-09-07 20:41:55 +10:00
Ian VanSchooten
6bdfcfad14 Convert @ts-ignore to @ts-expect-error
And remove unused directives
2022-09-06 22:40:59 -04:00
Ian VanSchooten
0c92e1b099 Upgrade react-element-to-jsx-string 2022-09-04 17:51:02 -04:00
Yadong Zhang
62f77ce8ce fix: replaced 'function noRefCheck() {}' *globally*. 2022-08-25 02:22:37 +00:00
Yadong Zhang
40d1da0624 test: done Profiler test. 2022-08-25 02:01:22 +00:00
Yadong Zhang
8cdcfee522 test: updated snapshots. 2022-08-25 01:44:39 +00:00
Yadong Zhang
c25ada4e5d test: added renderers dir to jest work path.
+ test: fixed dead unit tests.
2022-08-24 19:20:30 +00:00