storybook 10.2.0-alpha.5 → 10.2.0-alpha.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/_browser-chunks/{chunk-HX32VQZR.js → chunk-KTOLYKZY.js} +1 -1
- package/dist/_browser-chunks/{chunk-6QKNWBQB.js → chunk-LOTN4ZCW.js} +14 -10
- package/dist/_node-chunks/{builder-manager-OWA7PM5D.js → builder-manager-SRWOH6O7.js} +12 -12
- package/dist/_node-chunks/{camelcase-2LEK4OOC.js → camelcase-IPCCDY4U.js} +7 -7
- package/dist/_node-chunks/{chunk-HT3TF35B.js → chunk-2BHMURQI.js} +6 -6
- package/dist/_node-chunks/chunk-2WJTWJRY.js +20 -0
- package/dist/_node-chunks/chunk-3SDF3TBW.js +18 -0
- package/dist/_node-chunks/{chunk-VG22ND3P.js → chunk-5U7Q4G4A.js} +13 -13
- package/dist/_node-chunks/{chunk-JRJT7Q2N.js → chunk-5UF6URLY.js} +7 -7
- package/dist/_node-chunks/{chunk-TUFR2XYI.js → chunk-62HH4XOF.js} +6 -6
- package/dist/_node-chunks/chunk-6COWUVY6.js +23 -0
- package/dist/_node-chunks/{chunk-O72O5WMW.js → chunk-7YD5E5Y5.js} +6 -6
- package/dist/_node-chunks/{chunk-53QZPC5B.js → chunk-AQ5XNGJR.js} +7 -7
- package/dist/_node-chunks/chunk-GE3TP4E7.js +61 -0
- package/dist/_node-chunks/{chunk-BPLKNOG7.js → chunk-GJU4KX6X.js} +7 -7
- package/dist/_node-chunks/{chunk-UIW2C2AI.js → chunk-HQCIQ33W.js} +6 -6
- package/dist/_node-chunks/{chunk-TM67IYGR.js → chunk-IBLK5VBI.js} +7 -7
- package/dist/_node-chunks/{chunk-SKKDMIEL.js → chunk-IFCVXOGP.js} +9 -9
- package/dist/_node-chunks/{chunk-ZRAJ6YTG.js → chunk-J4ASSZ5N.js} +20 -20
- package/dist/_node-chunks/{chunk-FUGUVTSE.js → chunk-JCHPJOPI.js} +8 -8
- package/dist/_node-chunks/{chunk-Q4YMOGYF.js → chunk-OKIXNWVU.js} +8 -8
- package/dist/_node-chunks/{chunk-RJ6MVIQ7.js → chunk-PI4OGMRN.js} +6 -6
- package/dist/_node-chunks/{chunk-TX3LEYMY.js → chunk-QNHQNNV2.js} +9 -9
- package/dist/_node-chunks/{chunk-MJEVYN6O.js → chunk-RMPSZ2MA.js} +7 -7
- package/dist/_node-chunks/{chunk-Q2N5EUMK.js → chunk-T53OKK5L.js} +7 -7
- package/dist/_node-chunks/{chunk-J7VMFLRZ.js → chunk-TNAUD72T.js} +6 -6
- package/dist/_node-chunks/{chunk-QUCPWX6N.js → chunk-VUL47RCU.js} +13 -13
- package/dist/_node-chunks/{chunk-3NPQ2Y77.js → chunk-XKPOBYPY.js} +10 -10
- package/dist/_node-chunks/{chunk-APNNQRRU.js → chunk-YH2VABDS.js} +6 -6
- package/dist/_node-chunks/{chunk-WMGB2RD3.js → chunk-YIC767NR.js} +7 -7
- package/dist/_node-chunks/{chunk-WAM2AUH6.js → chunk-YSCJXVR2.js} +7 -7
- package/dist/_node-chunks/{chunk-5MG7AO5M.js → chunk-ZFBKUCCD.js} +12 -12
- package/dist/_node-chunks/{dist-KMT22HT2.js → dist-JJEWCMVH.js} +9 -9
- package/dist/_node-chunks/{globby-MSDE3LN6.js → globby-VLMVNFI7.js} +9 -9
- package/dist/_node-chunks/{lib-2BTWTGXL.js → lib-FXIHPQYY.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-RO5JQN35.js → mdx-N42X6CFJ-MYO6PQF5.js} +8 -8
- package/dist/_node-chunks/{p-limit-6ZDUMRV5.js → p-limit-OTUUNSPQ.js} +7 -7
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +12 -12
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +9 -9
- package/dist/cli/index.js +18 -18
- package/dist/common/index.js +19 -19
- package/dist/components/index.js +1 -1
- package/dist/core-server/index.js +33 -33
- package/dist/core-server/presets/common-manager.js +48 -27
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- package/dist/csf/index.js +2 -2
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +1 -1
- package/dist/manager/globals-runtime.js +2 -2
- package/dist/manager/runtime.js +3 -3
- package/dist/manager-api/index.js +1 -1
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/preview-api/index.js +2 -2
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/package.json +1 -1
- package/dist/_node-chunks/chunk-4P6JV5PD.js +0 -61
- package/dist/_node-chunks/chunk-IMOJACVP.js +0 -23
- package/dist/_node-chunks/chunk-IV4K2PSX.js +0 -18
- package/dist/_node-chunks/chunk-LOJ6VLWV.js +0 -20
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
import {
|
|
14
14
|
versions_default
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-GE3TP4E7.js";
|
|
16
16
|
import {
|
|
17
17
|
resolvePackageDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-RMPSZ2MA.js";
|
|
19
19
|
import {
|
|
20
20
|
join
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-PI4OGMRN.js";
|
|
22
22
|
import {
|
|
23
23
|
require_dist
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-AQ5XNGJR.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-62HH4XOF.js";
|
|
28
28
|
|
|
29
29
|
// src/bin/dispatcher.ts
|
|
30
30
|
import { pathToFileURL } from "node:url";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-HQCIQ33W.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-AQ5XNGJR.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-62HH4XOF.js";
|
|
21
21
|
|
|
22
22
|
// src/bin/loader.ts
|
|
23
23
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -33,24 +33,24 @@ import {
|
|
|
33
33
|
readFileAsJson,
|
|
34
34
|
suggestESLintPlugin,
|
|
35
35
|
writeFileAsJson
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-ZFBKUCCD.js";
|
|
37
37
|
import {
|
|
38
38
|
detectPnp
|
|
39
|
-
} from "../_node-chunks/chunk-
|
|
39
|
+
} from "../_node-chunks/chunk-6COWUVY6.js";
|
|
40
40
|
import {
|
|
41
41
|
Settings,
|
|
42
42
|
_clearGlobalSettings,
|
|
43
43
|
globalSettings
|
|
44
|
-
} from "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
46
|
-
import "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
51
|
-
import "../_node-chunks/chunk-
|
|
52
|
-
import "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
44
|
+
} from "../_node-chunks/chunk-IFCVXOGP.js";
|
|
45
|
+
import "../_node-chunks/chunk-YH2VABDS.js";
|
|
46
|
+
import "../_node-chunks/chunk-RMPSZ2MA.js";
|
|
47
|
+
import "../_node-chunks/chunk-2BHMURQI.js";
|
|
48
|
+
import "../_node-chunks/chunk-PI4OGMRN.js";
|
|
49
|
+
import "../_node-chunks/chunk-AQ5XNGJR.js";
|
|
50
|
+
import "../_node-chunks/chunk-QNHQNNV2.js";
|
|
51
|
+
import "../_node-chunks/chunk-YSCJXVR2.js";
|
|
52
|
+
import "../_node-chunks/chunk-T53OKK5L.js";
|
|
53
|
+
import "../_node-chunks/chunk-62HH4XOF.js";
|
|
54
54
|
export {
|
|
55
55
|
ANGULAR_JSON_PATH,
|
|
56
56
|
AddonVitestService,
|
package/dist/common/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -102,29 +102,29 @@ import {
|
|
|
102
102
|
validateConfigurationFiles,
|
|
103
103
|
validateFrameworkName,
|
|
104
104
|
wrapValueWithGetAbsolutePathWrapper
|
|
105
|
-
} from "../_node-chunks/chunk-
|
|
105
|
+
} from "../_node-chunks/chunk-J4ASSZ5N.js";
|
|
106
106
|
import {
|
|
107
107
|
versions_default
|
|
108
|
-
} from "../_node-chunks/chunk-
|
|
109
|
-
import "../_node-chunks/chunk-
|
|
110
|
-
import "../_node-chunks/chunk-
|
|
111
|
-
import "../_node-chunks/chunk-
|
|
108
|
+
} from "../_node-chunks/chunk-GE3TP4E7.js";
|
|
109
|
+
import "../_node-chunks/chunk-IBLK5VBI.js";
|
|
110
|
+
import "../_node-chunks/chunk-JCHPJOPI.js";
|
|
111
|
+
import "../_node-chunks/chunk-YH2VABDS.js";
|
|
112
112
|
import {
|
|
113
113
|
importMetaResolve,
|
|
114
114
|
importModule,
|
|
115
115
|
resolvePackageDir,
|
|
116
116
|
safeResolveModule
|
|
117
|
-
} from "../_node-chunks/chunk-
|
|
117
|
+
} from "../_node-chunks/chunk-RMPSZ2MA.js";
|
|
118
118
|
import {
|
|
119
119
|
groupBy,
|
|
120
120
|
invariant
|
|
121
|
-
} from "../_node-chunks/chunk-
|
|
122
|
-
import "../_node-chunks/chunk-
|
|
123
|
-
import "../_node-chunks/chunk-
|
|
124
|
-
import "../_node-chunks/chunk-
|
|
125
|
-
import "../_node-chunks/chunk-
|
|
126
|
-
import "../_node-chunks/chunk-
|
|
127
|
-
import "../_node-chunks/chunk-
|
|
121
|
+
} from "../_node-chunks/chunk-2BHMURQI.js";
|
|
122
|
+
import "../_node-chunks/chunk-PI4OGMRN.js";
|
|
123
|
+
import "../_node-chunks/chunk-5UF6URLY.js";
|
|
124
|
+
import "../_node-chunks/chunk-2WJTWJRY.js";
|
|
125
|
+
import "../_node-chunks/chunk-AQ5XNGJR.js";
|
|
126
|
+
import "../_node-chunks/chunk-T53OKK5L.js";
|
|
127
|
+
import "../_node-chunks/chunk-62HH4XOF.js";
|
|
128
128
|
export {
|
|
129
129
|
DEFAULT_FILES_PATTERN,
|
|
130
130
|
FileSystemCache,
|
package/dist/components/index.js
CHANGED
|
@@ -14254,7 +14254,7 @@ var PopoverProvider = ({
|
|
|
14254
14254
|
setIsOpen(isOpen2), onVisibleChange?.(isOpen2);
|
|
14255
14255
|
},
|
|
14256
14256
|
[onVisibleChange]
|
|
14257
|
-
), onHide = useCallback9(() =>
|
|
14257
|
+
), onHide = useCallback9(() => onOpenChange(!1), [onOpenChange]);
|
|
14258
14258
|
return React38.createElement(
|
|
14259
14259
|
$de32f1b87079253c$export$2e1e1122cf0cba88,
|
|
14260
14260
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
StatusTypeIdMismatchError
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-XKPOBYPY.js";
|
|
15
15
|
import {
|
|
16
16
|
debounce,
|
|
17
17
|
getErrorLevel,
|
|
@@ -21,66 +21,66 @@ import {
|
|
|
21
21
|
sendTelemetryError,
|
|
22
22
|
useStatics,
|
|
23
23
|
withTelemetry
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-VUL47RCU.js";
|
|
25
|
+
import "../_node-chunks/chunk-GJU4KX6X.js";
|
|
26
26
|
import {
|
|
27
27
|
detectPnp
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-6COWUVY6.js";
|
|
29
29
|
import {
|
|
30
30
|
StorybookError
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
31
|
+
} from "../_node-chunks/chunk-TNAUD72T.js";
|
|
32
32
|
import {
|
|
33
33
|
telemetry
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-5U7Q4G4A.js";
|
|
35
|
+
import "../_node-chunks/chunk-3SDF3TBW.js";
|
|
36
36
|
import {
|
|
37
37
|
optionalEnvToBoolean,
|
|
38
38
|
require_cross_spawn,
|
|
39
39
|
resolveImport,
|
|
40
40
|
supportedExtensions,
|
|
41
41
|
userOrAutoTitleFromSpecifier
|
|
42
|
-
} from "../_node-chunks/chunk-
|
|
43
|
-
import "../_node-chunks/chunk-
|
|
44
|
-
import "../_node-chunks/chunk-
|
|
42
|
+
} from "../_node-chunks/chunk-J4ASSZ5N.js";
|
|
43
|
+
import "../_node-chunks/chunk-GE3TP4E7.js";
|
|
44
|
+
import "../_node-chunks/chunk-IBLK5VBI.js";
|
|
45
45
|
import {
|
|
46
46
|
require_pretty_hrtime
|
|
47
|
-
} from "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
47
|
+
} from "../_node-chunks/chunk-JCHPJOPI.js";
|
|
48
|
+
import "../_node-chunks/chunk-7YD5E5Y5.js";
|
|
49
|
+
import "../_node-chunks/chunk-IFCVXOGP.js";
|
|
50
50
|
import {
|
|
51
51
|
invariant,
|
|
52
52
|
up2 as up
|
|
53
|
-
} from "../_node-chunks/chunk-
|
|
53
|
+
} from "../_node-chunks/chunk-YH2VABDS.js";
|
|
54
54
|
import {
|
|
55
55
|
importModule,
|
|
56
56
|
resolvePackageDir
|
|
57
|
-
} from "../_node-chunks/chunk-
|
|
58
|
-
import "../_node-chunks/chunk-
|
|
57
|
+
} from "../_node-chunks/chunk-RMPSZ2MA.js";
|
|
58
|
+
import "../_node-chunks/chunk-2BHMURQI.js";
|
|
59
59
|
import {
|
|
60
60
|
dirname,
|
|
61
61
|
join,
|
|
62
62
|
relative,
|
|
63
63
|
resolve
|
|
64
|
-
} from "../_node-chunks/chunk-
|
|
65
|
-
import "../_node-chunks/chunk-
|
|
64
|
+
} from "../_node-chunks/chunk-PI4OGMRN.js";
|
|
65
|
+
import "../_node-chunks/chunk-5UF6URLY.js";
|
|
66
66
|
import {
|
|
67
67
|
slash
|
|
68
|
-
} from "../_node-chunks/chunk-
|
|
68
|
+
} from "../_node-chunks/chunk-2WJTWJRY.js";
|
|
69
69
|
import {
|
|
70
70
|
require_dist
|
|
71
|
-
} from "../_node-chunks/chunk-
|
|
71
|
+
} from "../_node-chunks/chunk-AQ5XNGJR.js";
|
|
72
72
|
import {
|
|
73
73
|
require_lib,
|
|
74
74
|
require_src
|
|
75
|
-
} from "../_node-chunks/chunk-
|
|
75
|
+
} from "../_node-chunks/chunk-YSCJXVR2.js";
|
|
76
76
|
import {
|
|
77
77
|
require_picocolors
|
|
78
|
-
} from "../_node-chunks/chunk-
|
|
78
|
+
} from "../_node-chunks/chunk-T53OKK5L.js";
|
|
79
79
|
import {
|
|
80
80
|
__commonJS,
|
|
81
81
|
__require,
|
|
82
82
|
__toESM
|
|
83
|
-
} from "../_node-chunks/chunk-
|
|
83
|
+
} from "../_node-chunks/chunk-62HH4XOF.js";
|
|
84
84
|
|
|
85
85
|
// ../../node_modules/tsconfig-paths/lib/filesystem.js
|
|
86
86
|
var require_filesystem = __commonJS({
|
|
@@ -5147,7 +5147,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
5147
5147
|
let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
|
|
5148
5148
|
if (cached)
|
|
5149
5149
|
return cached;
|
|
5150
|
-
let pathToSubIndex = {}, globCwd = slash(resolve2(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-
|
|
5150
|
+
let pathToSubIndex = {}, globCwd = slash(resolve2(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-VLMVNFI7.js"), files = await globby(globPattern, {
|
|
5151
5151
|
absolute: !0,
|
|
5152
5152
|
cwd: globCwd,
|
|
5153
5153
|
...commonGlobOptions(globPattern)
|
|
@@ -5336,7 +5336,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
5336
5336
|
async extractDocs(specifier, absolutePath, projectTags = []) {
|
|
5337
5337
|
let relativePath = relative2(this.options.workingDir, absolutePath);
|
|
5338
5338
|
try {
|
|
5339
|
-
let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-
|
|
5339
|
+
let normalizedPath = normalizeStoryPath(relativePath), importPath = slash(normalizedPath), content = await readFile(absolutePath, { encoding: "utf8" }), { analyze } = await import("../_node-chunks/dist-JJEWCMVH.js"), result = await analyze(content);
|
|
5340
5340
|
if (result.isTemplate)
|
|
5341
5341
|
return !1;
|
|
5342
5342
|
let absoluteImports = result.imports.map(
|
|
@@ -5596,7 +5596,7 @@ function print(p) {
|
|
|
5596
5596
|
// src/core-server/utils/get-builders.ts
|
|
5597
5597
|
import { MissingBuilderError } from "storybook/internal/server-errors";
|
|
5598
5598
|
async function getManagerBuilder() {
|
|
5599
|
-
return await import("../_node-chunks/builder-manager-
|
|
5599
|
+
return await import("../_node-chunks/builder-manager-SRWOH6O7.js");
|
|
5600
5600
|
}
|
|
5601
5601
|
async function getPreviewBuilder(resolvedPreviewBuilder) {
|
|
5602
5602
|
return await importModule(resolvedPreviewBuilder);
|
|
@@ -5696,7 +5696,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
|
|
|
5696
5696
|
// files can be e.g. '**/foo/*/*.js' so we just want the last bit,
|
|
5697
5697
|
// because the directory could already be within the files part (e.g. './x/foo/bar')
|
|
5698
5698
|
basename2(specifier.files)
|
|
5699
|
-
), { globby } = await import("../_node-chunks/globby-
|
|
5699
|
+
), { globby } = await import("../_node-chunks/globby-VLMVNFI7.js");
|
|
5700
5700
|
(await globby(slash(dirGlob), commonGlobOptions2(dirGlob))).forEach((filePath) => {
|
|
5701
5701
|
let fileImportPath = toImportPath(filePath);
|
|
5702
5702
|
specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(specifier, fileImportPath, removed);
|
|
@@ -43,9 +43,6 @@ import {
|
|
|
43
43
|
import "../../_browser-chunks/chunk-HPYUT3WS.js";
|
|
44
44
|
import "../../_browser-chunks/chunk-2NDLAB5X.js";
|
|
45
45
|
import "../../_browser-chunks/chunk-NZMVUW5T.js";
|
|
46
|
-
import {
|
|
47
|
-
require_memoizerific
|
|
48
|
-
} from "../../_browser-chunks/chunk-ZCFV7BZB.js";
|
|
49
46
|
import {
|
|
50
47
|
ADDON_ID,
|
|
51
48
|
CLEAR_ID,
|
|
@@ -2454,9 +2451,11 @@ var { window: globalWindow } = globalThis, Wrapper5 = styled9.div(({ theme: them
|
|
|
2454
2451
|
), [forceVisible, setForceVisible] = useState4(!1), onForceVisible = useCallback3(() => {
|
|
2455
2452
|
onChange({}), setForceVisible(!0);
|
|
2456
2453
|
}, [setForceVisible]), htmlElRef = useRef3(null);
|
|
2457
|
-
|
|
2454
|
+
useEffect4(() => {
|
|
2458
2455
|
forceVisible && htmlElRef.current && htmlElRef.current.select();
|
|
2459
|
-
}, [forceVisible])
|
|
2456
|
+
}, [forceVisible]);
|
|
2457
|
+
let jsonString = useMemo(() => JSON.stringify(data ?? "", null, 2), [data]);
|
|
2458
|
+
if (!hasData)
|
|
2460
2459
|
return React12.createElement(
|
|
2461
2460
|
Button3,
|
|
2462
2461
|
{
|
|
@@ -2474,7 +2473,8 @@ var { window: globalWindow } = globalThis, Wrapper5 = styled9.div(({ theme: them
|
|
|
2474
2473
|
id: getControlId(name),
|
|
2475
2474
|
minRows: 3,
|
|
2476
2475
|
name,
|
|
2477
|
-
|
|
2476
|
+
key: jsonString,
|
|
2477
|
+
defaultValue: jsonString,
|
|
2478
2478
|
onBlur: (event) => updateRaw(event.target.value),
|
|
2479
2479
|
placeholder: "Edit JSON string...",
|
|
2480
2480
|
autoFocus: forceVisible,
|
|
@@ -2871,9 +2871,8 @@ var Table = styled13.table(({ theme: theme3 }) => ({
|
|
|
2871
2871
|
|
|
2872
2872
|
// ../addons/docs/src/blocks/components/ArgsTable/ArgValue.tsx
|
|
2873
2873
|
import React19, { useState as useState7 } from "react";
|
|
2874
|
-
import {
|
|
2874
|
+
import { PopoverProvider, SyntaxHighlighter, codeCommon as codeCommon2 } from "storybook/internal/components";
|
|
2875
2875
|
import { ChevronSmallDownIcon as ChevronSmallDownIcon2, ChevronSmallUpIcon } from "@storybook/icons";
|
|
2876
|
-
var import_memoizerific = __toESM(require_memoizerific(), 1);
|
|
2877
2876
|
import { styled as styled14 } from "storybook/theming";
|
|
2878
2877
|
var ITEMS_BEFORE_EXPANSION = 8, Summary = styled14.div(({ isExpanded }) => ({
|
|
2879
2878
|
display: "flex",
|
|
@@ -2882,7 +2881,24 @@ var ITEMS_BEFORE_EXPANSION = 8, Summary = styled14.div(({ isExpanded }) => ({
|
|
|
2882
2881
|
alignItems: "flex-start",
|
|
2883
2882
|
marginBottom: "-4px",
|
|
2884
2883
|
minWidth: 100
|
|
2885
|
-
})),
|
|
2884
|
+
})), DetailsContainer = styled14.details({
|
|
2885
|
+
display: "flex",
|
|
2886
|
+
flexDirection: "column",
|
|
2887
|
+
summary: {
|
|
2888
|
+
order: 2
|
|
2889
|
+
},
|
|
2890
|
+
"summary::-webkit-details-marker": {
|
|
2891
|
+
display: "none"
|
|
2892
|
+
},
|
|
2893
|
+
"summary::marker": {
|
|
2894
|
+
content: "none"
|
|
2895
|
+
}
|
|
2896
|
+
}), AlignedDetails = styled14.div({
|
|
2897
|
+
display: "flex",
|
|
2898
|
+
flexDirection: "column",
|
|
2899
|
+
flexWrap: "wrap",
|
|
2900
|
+
alignItems: "flex-start"
|
|
2901
|
+
}), Text3 = styled14.span(codeCommon2, ({ theme: theme3, simple = !1 }) => ({
|
|
2886
2902
|
flex: "0 0 auto",
|
|
2887
2903
|
fontFamily: theme3.typography.fonts.mono,
|
|
2888
2904
|
fontSize: theme3.typography.size.s1,
|
|
@@ -2900,13 +2916,16 @@ var ITEMS_BEFORE_EXPANSION = 8, Summary = styled14.div(({ isExpanded }) => ({
|
|
|
2900
2916
|
border: "0 none",
|
|
2901
2917
|
paddingLeft: 0
|
|
2902
2918
|
}
|
|
2903
|
-
})), ExpandButton = styled14.
|
|
2919
|
+
})), ExpandButton = styled14.summary(({ theme: theme3 }) => ({
|
|
2904
2920
|
fontFamily: theme3.typography.fonts.mono,
|
|
2905
2921
|
color: theme3.color.secondary,
|
|
2906
|
-
|
|
2922
|
+
cursor: "pointer",
|
|
2923
|
+
lineHeight: "normal",
|
|
2924
|
+
margin: "0 0 4px",
|
|
2925
|
+
padding: "1px 6px",
|
|
2907
2926
|
background: "none",
|
|
2908
2927
|
border: "none"
|
|
2909
|
-
})), Expandable = styled14.
|
|
2928
|
+
})), Expandable = styled14.button(codeCommon2, ({ theme: theme3 }) => ({
|
|
2910
2929
|
fontFamily: theme3.typography.fonts.mono,
|
|
2911
2930
|
color: theme3.color.secondary,
|
|
2912
2931
|
fontSize: theme3.typography.size.s1,
|
|
@@ -2914,12 +2933,19 @@ var ITEMS_BEFORE_EXPANSION = 8, Summary = styled14.div(({ isExpanded }) => ({
|
|
|
2914
2933
|
margin: 0,
|
|
2915
2934
|
whiteSpace: "nowrap",
|
|
2916
2935
|
display: "flex",
|
|
2917
|
-
alignItems: "center"
|
|
2918
|
-
|
|
2919
|
-
|
|
2936
|
+
alignItems: "center",
|
|
2937
|
+
cursor: "pointer",
|
|
2938
|
+
"&:hover": {
|
|
2939
|
+
border: theme3.base === "light" ? "1px solid hsl(0 0 0 / 0.15)" : "1px solid hsl(0 0 100 / 0.15)"
|
|
2940
|
+
},
|
|
2941
|
+
"&:focus-visible": {
|
|
2942
|
+
outline: `2px solid ${theme3.color.secondary}`,
|
|
2943
|
+
outlineOffset: "2px"
|
|
2944
|
+
}
|
|
2945
|
+
})), Detail = styled14.div(({ theme: theme3 }) => ({
|
|
2920
2946
|
minWidth: 200,
|
|
2921
2947
|
maxWidth: 800,
|
|
2922
|
-
|
|
2948
|
+
paddingRight: 16,
|
|
2923
2949
|
// Don't remove the mono fontFamily here even if it seems useless, this is used by the browser to calculate the length of a "ch" unit.
|
|
2924
2950
|
fontFamily: theme3.typography.fonts.mono,
|
|
2925
2951
|
fontSize: theme3.typography.size.s1,
|
|
@@ -2932,18 +2958,12 @@ var ITEMS_BEFORE_EXPANSION = 8, Summary = styled14.div(({ isExpanded }) => ({
|
|
|
2932
2958
|
marginLeft: 4
|
|
2933
2959
|
}), ChevronDownIcon = styled14(ChevronSmallDownIcon2)({
|
|
2934
2960
|
marginLeft: 4
|
|
2935
|
-
}), EmptyArg = () => React19.createElement("span", null, "-"), ArgText = ({ text, simple }) => React19.createElement(Text3, { simple }, text),
|
|
2936
|
-
let lines = detail.split(/\r?\n/);
|
|
2937
|
-
return `${Math.max(...lines.map((x2) => x2.length))}ch`;
|
|
2938
|
-
}), getSummaryItems = (summary) => {
|
|
2961
|
+
}), EmptyArg = () => React19.createElement("span", null, "-"), ArgText = ({ text, simple }) => React19.createElement(Text3, { simple }, text), getSummaryItems = (summary) => {
|
|
2939
2962
|
if (!summary)
|
|
2940
2963
|
return [summary];
|
|
2941
2964
|
let summaryItems = summary.split("|").map((value2) => value2.trim());
|
|
2942
2965
|
return uniq(summaryItems);
|
|
2943
|
-
}, renderSummaryItems = (summaryItems,
|
|
2944
|
-
let items = summaryItems;
|
|
2945
|
-
return isExpanded || (items = summaryItems.slice(0, ITEMS_BEFORE_EXPANSION)), items.map((item) => React19.createElement(ArgText, { key: item, text: item === "" ? '""' : item }));
|
|
2946
|
-
}, ArgSummary = ({ value: value2, initialExpandedArgs }) => {
|
|
2966
|
+
}, renderSummaryItems = (summaryItems) => summaryItems.slice(0, ITEMS_BEFORE_EXPANSION).map((item) => React19.createElement(ArgText, { key: item, text: item === "" ? '""' : item })), renderExpandedItems = (summaryItems) => summaryItems.slice(ITEMS_BEFORE_EXPANSION).map((item) => React19.createElement(ArgText, { key: item, text: item === "" ? '""' : item })), ArgSummary = ({ value: value2, initialExpandedArgs }) => {
|
|
2947
2967
|
let { summary, detail } = value2, [isOpen, setIsOpen] = useState7(!1), [isExpanded, setIsExpanded] = useState7(initialExpandedArgs || !1);
|
|
2948
2968
|
if (summary == null)
|
|
2949
2969
|
return null;
|
|
@@ -2952,17 +2972,18 @@ var ITEMS_BEFORE_EXPANSION = 8, Summary = styled14.div(({ isExpanded }) => ({
|
|
|
2952
2972
|
if (/[(){}[\]<>]/.test(summaryAsString))
|
|
2953
2973
|
return React19.createElement(ArgText, { text: summaryAsString });
|
|
2954
2974
|
let summaryItems = getSummaryItems(summaryAsString), itemsCount = summaryItems.length;
|
|
2955
|
-
return itemsCount > ITEMS_BEFORE_EXPANSION ? React19.createElement(Summary, { isExpanded }, renderSummaryItems(summaryItems
|
|
2975
|
+
return itemsCount > ITEMS_BEFORE_EXPANSION ? React19.createElement(Summary, { isExpanded }, renderSummaryItems(summaryItems), React19.createElement(DetailsContainer, { open: isExpanded, onToggle: (e2) => setIsExpanded(e2.currentTarget.open) }, React19.createElement(AlignedDetails, null, renderExpandedItems(summaryItems)), React19.createElement(ExpandButton, { role: "button" }, isExpanded ? "Show less..." : `Show ${itemsCount - ITEMS_BEFORE_EXPANSION} more...`))) : React19.createElement(Summary, null, renderSummaryItems(summaryItems));
|
|
2956
2976
|
}
|
|
2957
2977
|
return React19.createElement(
|
|
2958
|
-
|
|
2978
|
+
PopoverProvider,
|
|
2959
2979
|
{
|
|
2960
2980
|
placement: "bottom",
|
|
2961
2981
|
visible: isOpen,
|
|
2962
2982
|
onVisibleChange: (isVisible) => {
|
|
2963
2983
|
setIsOpen(isVisible);
|
|
2964
2984
|
},
|
|
2965
|
-
|
|
2985
|
+
hasCloseButton: !0,
|
|
2986
|
+
popover: React19.createElement(Detail, null, React19.createElement(SyntaxHighlighter, { language: "jsx", format: !1 }, detail))
|
|
2966
2987
|
},
|
|
2967
2988
|
React19.createElement(Expandable, { className: "sbdocs-expandable" }, React19.createElement("span", null, summaryAsString), isOpen ? React19.createElement(ChevronUpIcon, null) : React19.createElement(ChevronDownIcon, null))
|
|
2968
2989
|
);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
glob
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-5UF6URLY.js";
|
|
15
15
|
import {
|
|
16
16
|
slash
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-2WJTWJRY.js";
|
|
18
|
+
import "../../_node-chunks/chunk-62HH4XOF.js";
|
|
19
19
|
|
|
20
20
|
// src/core-server/utils/remove-mdx-entries.ts
|
|
21
21
|
import { isAbsolute, join, relative } from "node:path";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_teykolgptq from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_teykolgptq from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_teykolgptq from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_teykolgptq.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_teykolgptq.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_teykolgptq.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../../_node-chunks/chunk-
|
|
12
|
+
import "../../_node-chunks/chunk-ZFBKUCCD.js";
|
|
13
13
|
import {
|
|
14
14
|
AbortError,
|
|
15
15
|
after,
|
|
@@ -32,45 +32,45 @@ import {
|
|
|
32
32
|
sendTelemetryError,
|
|
33
33
|
throttle,
|
|
34
34
|
unary
|
|
35
|
-
} from "../../_node-chunks/chunk-
|
|
36
|
-
import "../../_node-chunks/chunk-
|
|
37
|
-
import "../../_node-chunks/chunk-
|
|
38
|
-
import "../../_node-chunks/chunk-
|
|
35
|
+
} from "../../_node-chunks/chunk-VUL47RCU.js";
|
|
36
|
+
import "../../_node-chunks/chunk-GJU4KX6X.js";
|
|
37
|
+
import "../../_node-chunks/chunk-6COWUVY6.js";
|
|
38
|
+
import "../../_node-chunks/chunk-TNAUD72T.js";
|
|
39
39
|
import {
|
|
40
40
|
getLastEvents,
|
|
41
41
|
getSessionId
|
|
42
|
-
} from "../../_node-chunks/chunk-
|
|
42
|
+
} from "../../_node-chunks/chunk-7YD5E5Y5.js";
|
|
43
43
|
import {
|
|
44
44
|
globalSettings
|
|
45
|
-
} from "../../_node-chunks/chunk-
|
|
45
|
+
} from "../../_node-chunks/chunk-IFCVXOGP.js";
|
|
46
46
|
import {
|
|
47
47
|
invariant
|
|
48
|
-
} from "../../_node-chunks/chunk-
|
|
48
|
+
} from "../../_node-chunks/chunk-YH2VABDS.js";
|
|
49
49
|
import {
|
|
50
50
|
resolvePackageDir
|
|
51
|
-
} from "../../_node-chunks/chunk-
|
|
52
|
-
import "../../_node-chunks/chunk-
|
|
51
|
+
} from "../../_node-chunks/chunk-RMPSZ2MA.js";
|
|
52
|
+
import "../../_node-chunks/chunk-2BHMURQI.js";
|
|
53
53
|
import {
|
|
54
54
|
isAbsolute,
|
|
55
55
|
join
|
|
56
|
-
} from "../../_node-chunks/chunk-
|
|
56
|
+
} from "../../_node-chunks/chunk-PI4OGMRN.js";
|
|
57
57
|
import {
|
|
58
58
|
loadConfig
|
|
59
|
-
} from "../../_node-chunks/chunk-
|
|
59
|
+
} from "../../_node-chunks/chunk-OKIXNWVU.js";
|
|
60
60
|
import {
|
|
61
61
|
require_dist
|
|
62
|
-
} from "../../_node-chunks/chunk-
|
|
63
|
-
import "../../_node-chunks/chunk-
|
|
64
|
-
import "../../_node-chunks/chunk-
|
|
62
|
+
} from "../../_node-chunks/chunk-AQ5XNGJR.js";
|
|
63
|
+
import "../../_node-chunks/chunk-QNHQNNV2.js";
|
|
64
|
+
import "../../_node-chunks/chunk-YSCJXVR2.js";
|
|
65
65
|
import {
|
|
66
66
|
require_picocolors
|
|
67
|
-
} from "../../_node-chunks/chunk-
|
|
67
|
+
} from "../../_node-chunks/chunk-T53OKK5L.js";
|
|
68
68
|
import {
|
|
69
69
|
__commonJS,
|
|
70
70
|
__export,
|
|
71
71
|
__require,
|
|
72
72
|
__toESM
|
|
73
|
-
} from "../../_node-chunks/chunk-
|
|
73
|
+
} from "../../_node-chunks/chunk-62HH4XOF.js";
|
|
74
74
|
|
|
75
75
|
// ../../node_modules/shell-quote/quote.js
|
|
76
76
|
var require_quote = __commonJS({
|
|
@@ -537,7 +537,7 @@ import { isCsfFactoryPreview } from "storybook/internal/csf-tools";
|
|
|
537
537
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
538
538
|
|
|
539
539
|
// src/core-server/utils/get-component-variable-name.ts
|
|
540
|
-
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-
|
|
540
|
+
var getComponentVariableName = async (name) => (await import("../../_node-chunks/camelcase-IPCCDY4U.js")).default(name.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }).replace(/[^a-zA-Z_$]+/, "");
|
|
541
541
|
|
|
542
542
|
// src/core-server/utils/new-story-templates/csf-factory-template.ts
|
|
543
543
|
async function getCsfFactoryTemplateForNewStoryFile(data) {
|
|
@@ -802,7 +802,7 @@ async function searchFiles({
|
|
|
802
802
|
ignoredFiles = IGNORED_FILES,
|
|
803
803
|
fileExtensions = FILE_EXTENSIONS
|
|
804
804
|
}) {
|
|
805
|
-
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-
|
|
805
|
+
let { globby, isDynamicPattern } = await import("../../_node-chunks/globby-VLMVNFI7.js"), hasSearchSpecialGlobChars = isDynamicPattern(searchQuery, { cwd }), searchQueryHasExtension = /(\.[a-z]+)$/i.test(searchQuery), fileExtensionsPattern = `{${fileExtensions.join(",")}}`, globbedSearchQuery = hasSearchSpecialGlobChars ? searchQuery : searchQueryHasExtension ? [`**/*${searchQuery}*`, `**/*${searchQuery}*/**`] : [
|
|
806
806
|
`**/*${searchQuery}*.${fileExtensionsPattern}`,
|
|
807
807
|
`**/*${searchQuery}*/**/*.${fileExtensionsPattern}`
|
|
808
808
|
];
|