@storybook/react 11.0.0-beta.3 → 11.0.0-beta.4

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.
@@ -1,44 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_f25fxbi8k7f from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_f25fxbi8k7f from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_f25fxbi8k7f from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_f25fxbi8k7f.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_f25fxbi8k7f.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_f25fxbi8k7f.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- getSharedComponentMetaManager
14
- } from "./chunk-23AJ2HMB.js";
15
- import {
16
- extractArgTypesFromComponentMeta
17
- } from "./chunk-DYAQFVW4.js";
18
- import "./chunk-YSSTGZG6.js";
19
- import "./chunk-IHFW4SZ5.js";
20
- import "./chunk-YAHZ47OQ.js";
21
- import "./chunk-WCSAV7ZK.js";
22
- import "./chunk-OICUDNLP.js";
23
- import "./chunk-MA6UOA7T.js";
24
-
25
- // src/docgen/extractArgTypesFromComponentFile.ts
26
- async function extractArgTypesFromComponentFile({
27
- componentFilePath,
28
- componentExportName = "default",
29
- typeScriptSpecifier
30
- }) {
31
- let manager = await getSharedComponentMetaManager(typeScriptSpecifier);
32
- if (!manager)
33
- return null;
34
- let component = {
35
- componentName: componentExportName,
36
- importName: componentExportName,
37
- path: componentFilePath,
38
- isPackage: !1
39
- };
40
- return manager.batchExtract([{ storyPath: componentFilePath, component }]), extractArgTypesFromComponentMeta(component.reactComponentMeta) ?? null;
41
- }
42
- export {
43
- extractArgTypesFromComponentFile
44
- };
@@ -1,26 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_f25fxbi8k7f from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_f25fxbi8k7f from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_f25fxbi8k7f from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_f25fxbi8k7f.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_f25fxbi8k7f.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_f25fxbi8k7f.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- getMatchingDocgen,
14
- getReactDocgen,
15
- getReactDocgenImporter,
16
- parseWithReactDocgen
17
- } from "./chunk-J7MJPACM.js";
18
- import "./chunk-YAHZ47OQ.js";
19
- import "./chunk-OICUDNLP.js";
20
- import "./chunk-MA6UOA7T.js";
21
- export {
22
- getMatchingDocgen,
23
- getReactDocgen,
24
- getReactDocgenImporter,
25
- parseWithReactDocgen
26
- };