@storybook/react 11.0.0-beta.2 → 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_0pbco1v5vos from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0pbco1v5vos from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0pbco1v5vos from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_0pbco1v5vos.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0pbco1v5vos.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0pbco1v5vos.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-VQBUQHU3.js";
15
- import {
16
- extractArgTypesFromComponentMeta
17
- } from "./chunk-QRCEILHM.js";
18
- import "./chunk-PXKXGEPO.js";
19
- import "./chunk-TP7UUO2M.js";
20
- import "./chunk-DW2HJ23M.js";
21
- import "./chunk-2DNUEB5U.js";
22
- import "./chunk-BWU7O3KC.js";
23
- import "./chunk-ASUAJQT5.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_0pbco1v5vos from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0pbco1v5vos from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0pbco1v5vos from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_0pbco1v5vos.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0pbco1v5vos.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0pbco1v5vos.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-XQPV7U3R.js";
18
- import "./chunk-DW2HJ23M.js";
19
- import "./chunk-BWU7O3KC.js";
20
- import "./chunk-ASUAJQT5.js";
21
- export {
22
- getMatchingDocgen,
23
- getReactDocgen,
24
- getReactDocgenImporter,
25
- parseWithReactDocgen
26
- };