@storybook/react 10.0.4 → 10.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/preset.js +6 -6
- package/dist/preview.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -531,4 +531,4 @@ interface ReactStory<T extends ReactTypes, TInput extends StoryAnnotations<T, T[
|
|
|
531
531
|
Component: ComponentType<Partial<T['args']>>;
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
-
export { type AddMocks, type Decorator, INTERNAL_DEFAULT_PROJECT_ANNOTATIONS, type Loader, type Meta, type Preview, type ReactPreview, type ReactRenderer, type ReactStory, type ReactTypes, type StoryContext, type StoryFn, type StoryObj, __definePreview, composeStories, composeStory, setProjectAnnotations };
|
|
534
|
+
export { type AddMocks, type Decorator, INTERNAL_DEFAULT_PROJECT_ANNOTATIONS, type Loader, type Meta, type Preview, type ReactMeta, type ReactPreview, type ReactRenderer, type ReactStory, type ReactTypes, type StoryContext, type StoryFn, type StoryObj, __definePreview, composeStories, composeStory, setProjectAnnotations };
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_10nq7sgkz42 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_10nq7sgkz42 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_10nq7sgkz42 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_10nq7sgkz42.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_10nq7sgkz42.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_10nq7sgkz42.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/preview.d.ts
CHANGED
|
@@ -422,4 +422,4 @@ interface ReactStory<T extends ReactTypes, TInput extends StoryAnnotations<T, T[
|
|
|
422
422
|
Component: ComponentType<Partial<T['args']>>;
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
export { type ReactPreview, type ReactStory, __definePreview };
|
|
425
|
+
export { type ReactMeta, type ReactPreview, type ReactStory, __definePreview };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.6",
|
|
4
4
|
"description": "Storybook React renderer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@storybook/global": "^5.0.0",
|
|
57
|
-
"@storybook/react-dom-shim": "10.0.
|
|
57
|
+
"@storybook/react-dom-shim": "10.0.6"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/babel-plugin-react-docgen": "^4.2.3",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
80
80
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
81
|
-
"storybook": "^10.0.
|
|
81
|
+
"storybook": "^10.0.6",
|
|
82
82
|
"typescript": ">= 4.9.x"
|
|
83
83
|
},
|
|
84
84
|
"peerDependenciesMeta": {
|