storybook 10.1.0-beta.1 → 10.1.0-beta.3
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-L4RMQ7D7.js → chunk-BRX2HXH7.js} +75 -5
- package/dist/_node-chunks/{builder-manager-FTVC2JL7.js → builder-manager-OAF6SRKJ.js} +14 -579
- package/dist/_node-chunks/{camelcase-3SMT5WKC.js → camelcase-UG5ZJHCD.js} +7 -7
- package/dist/_node-chunks/{chunk-6L7FFBOW.js → chunk-473LXK7O.js} +6 -6
- package/dist/_node-chunks/chunk-5N3H43LE.js +23 -0
- package/dist/_node-chunks/{chunk-6DEMT5VX.js → chunk-6YYH64IJ.js} +13 -13
- package/dist/_node-chunks/{chunk-2OVULPK3.js → chunk-745GFLCZ.js} +6 -6
- package/dist/_node-chunks/{chunk-SQSFX47N.js → chunk-7WOMK33B.js} +7 -7
- package/dist/_node-chunks/{chunk-RURZIE3W.js → chunk-A5VW7257.js} +8 -8
- package/dist/_node-chunks/{chunk-Y4UYN72K.js → chunk-CRJ7M6EO.js} +22 -21
- package/dist/_node-chunks/chunk-DRN5YXX5.js +18 -0
- package/dist/_node-chunks/{chunk-AREL5IXS.js → chunk-H6HVK5J2.js} +7 -7
- package/dist/_node-chunks/{chunk-VRICJPXY.js → chunk-JOOO54RB.js} +6 -6
- package/dist/_node-chunks/chunk-LJRIVT23.js +61 -0
- package/dist/_node-chunks/{chunk-K673CX4Q.js → chunk-LZ2HPFRB.js} +7 -7
- package/dist/_node-chunks/{chunk-TURUTKVH.js → chunk-N5IE6WWR.js} +7 -7
- package/dist/_node-chunks/{chunk-IUYZQKSX.js → chunk-NKT3R6IH.js} +6 -6
- package/dist/_node-chunks/{chunk-N3BJOOY5.js → chunk-NOTIBODG.js} +6 -6
- package/dist/_node-chunks/{chunk-ZMCJS2GU.js → chunk-Q65ED3UK.js} +6 -6
- package/dist/_node-chunks/{chunk-3JJPSDXI.js → chunk-RABBUYPA.js} +9 -9
- package/dist/_node-chunks/{chunk-RVII4SK6.js → chunk-SKFAHEPX.js} +14 -14
- package/dist/_node-chunks/{chunk-O5FMCQHP.js → chunk-STYUJSG3.js} +10 -10
- package/dist/_node-chunks/{chunk-54NMJ4II.js → chunk-SUILKNPA.js} +8 -8
- package/dist/_node-chunks/{chunk-XGNRK7QB.js → chunk-TUQOGYET.js} +7 -7
- package/dist/_node-chunks/{chunk-5V4A6MSI.js → chunk-U24W5IIW.js} +7 -7
- package/dist/_node-chunks/{chunk-WIWWMCEU.js → chunk-UWK6Z4VL.js} +6 -6
- package/dist/_node-chunks/{chunk-S3PBHOVC.js → chunk-WBULWRM7.js} +34 -24
- package/dist/_node-chunks/{chunk-RIKQZHV3.js → chunk-WSIZMTN2.js} +6 -6
- package/dist/_node-chunks/{chunk-6ULDIDXV.js → chunk-WYLXFNIP.js} +9 -9
- package/dist/_node-chunks/{chunk-Y2FOTPAE.js → chunk-XS5QCZP7.js} +7 -7
- package/dist/_node-chunks/{chunk-FNYKBULZ.js → chunk-Y7VDA7NY.js} +7 -7
- package/dist/_node-chunks/{dist-TZLZ3T6L.js → dist-N33YQ3NH.js} +9 -9
- package/dist/_node-chunks/{globby-22GFCZQD.js → globby-5IBS67N3.js} +9 -9
- package/dist/_node-chunks/{lib-37NQ4ZIJ.js → lib-2XH6KQ2B.js} +7 -7
- package/dist/_node-chunks/{mdx-N42X6CFJ-2TRB7OEH.js → mdx-N42X6CFJ-3GGSRLVV.js} +8 -8
- package/dist/_node-chunks/{p-limit-UD7TYFDW.js → p-limit-Z3A7N5MY.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.d.ts +5 -4
- package/dist/cli/index.js +18 -18
- package/dist/common/index.js +19 -19
- package/dist/components/index.js +35 -29
- package/dist/core-server/index.js +33 -33
- package/dist/core-server/presets/common-manager.js +74 -108
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +25 -25
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +148 -74
- package/dist/manager/runtime.js +70 -20
- package/dist/manager-api/index.js +7 -10
- package/dist/mocking-utils/index.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.js +23 -23
- package/dist/theming/create.d.ts +1 -1
- package/dist/theming/create.js +1 -1
- package/dist/theming/index.d.ts +65 -2
- package/dist/theming/index.js +6 -3
- package/package.json +1 -2
- package/dist/_node-chunks/chunk-DWA53E73.js +0 -23
- package/dist/_node-chunks/chunk-KJAFCNZ3.js +0 -61
- package/dist/_node-chunks/chunk-Z4BMBA5L.js +0 -18
package/dist/bin/loader.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4nrjz93tmm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4nrjz93tmm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4nrjz93tmm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4nrjz93tmm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4nrjz93tmm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4nrjz93tmm.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-473LXK7O.js";
|
|
15
15
|
import {
|
|
16
16
|
require_dist
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-7WOMK33B.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-745GFLCZ.js";
|
|
21
21
|
|
|
22
22
|
// src/bin/loader.ts
|
|
23
23
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -3135,7 +3135,6 @@ type Result = {
|
|
|
3135
3135
|
reasons?: string[];
|
|
3136
3136
|
};
|
|
3137
3137
|
interface AddonVitestCompatibilityOptions {
|
|
3138
|
-
packageManager: JsPackageManager$1;
|
|
3139
3138
|
builder?: SupportedBuilder;
|
|
3140
3139
|
framework?: SupportedFramework | null;
|
|
3141
3140
|
projectRoot?: string;
|
|
@@ -3151,6 +3150,8 @@ interface AddonVitestCompatibilityOptions {
|
|
|
3151
3150
|
* - Code/lib/create-storybook/src/services/FeatureCompatibilityService.ts
|
|
3152
3151
|
*/
|
|
3153
3152
|
declare class AddonVitestService {
|
|
3153
|
+
private readonly packageManager;
|
|
3154
|
+
constructor(packageManager: JsPackageManager$1);
|
|
3154
3155
|
readonly supportedFrameworks: SupportedFramework[];
|
|
3155
3156
|
/**
|
|
3156
3157
|
* Collect all dependencies needed for @storybook/addon-vitest
|
|
@@ -3161,7 +3162,7 @@ declare class AddonVitestService {
|
|
|
3161
3162
|
* - Next.js specific: @storybook/nextjs-vite
|
|
3162
3163
|
* - Coverage reporter: @vitest/coverage-v8
|
|
3163
3164
|
*/
|
|
3164
|
-
collectDependencies(
|
|
3165
|
+
collectDependencies(): Promise<string[]>;
|
|
3165
3166
|
/**
|
|
3166
3167
|
* Install Playwright browser binaries for @storybook/addon-vitest
|
|
3167
3168
|
*
|
|
@@ -3173,7 +3174,7 @@ declare class AddonVitestService {
|
|
|
3173
3174
|
* @param options - Installation options
|
|
3174
3175
|
* @returns Array of error messages if installation fails
|
|
3175
3176
|
*/
|
|
3176
|
-
installPlaywright(
|
|
3177
|
+
installPlaywright(options?: {
|
|
3177
3178
|
yes?: boolean;
|
|
3178
3179
|
}): Promise<{
|
|
3179
3180
|
errors: string[];
|
|
@@ -3196,7 +3197,7 @@ declare class AddonVitestService {
|
|
|
3196
3197
|
* Validate package versions for addon-vitest compatibility Public method to allow early
|
|
3197
3198
|
* validation before framework detection
|
|
3198
3199
|
*/
|
|
3199
|
-
validatePackageVersions(
|
|
3200
|
+
validatePackageVersions(): Promise<Result>;
|
|
3200
3201
|
/**
|
|
3201
3202
|
* Validate vitest config files for addon compatibility
|
|
3202
3203
|
*
|
package/dist/cli/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4nrjz93tmm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4nrjz93tmm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4nrjz93tmm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4nrjz93tmm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4nrjz93tmm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4nrjz93tmm.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-WBULWRM7.js";
|
|
37
37
|
import {
|
|
38
38
|
detectPnp
|
|
39
|
-
} from "../_node-chunks/chunk-
|
|
39
|
+
} from "../_node-chunks/chunk-5N3H43LE.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-RABBUYPA.js";
|
|
45
|
+
import "../_node-chunks/chunk-NKT3R6IH.js";
|
|
46
|
+
import "../_node-chunks/chunk-Y7VDA7NY.js";
|
|
47
|
+
import "../_node-chunks/chunk-WSIZMTN2.js";
|
|
48
|
+
import "../_node-chunks/chunk-UWK6Z4VL.js";
|
|
49
|
+
import "../_node-chunks/chunk-7WOMK33B.js";
|
|
50
|
+
import "../_node-chunks/chunk-WYLXFNIP.js";
|
|
51
|
+
import "../_node-chunks/chunk-LZ2HPFRB.js";
|
|
52
|
+
import "../_node-chunks/chunk-TUQOGYET.js";
|
|
53
|
+
import "../_node-chunks/chunk-745GFLCZ.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_d4nrjz93tmm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4nrjz93tmm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4nrjz93tmm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4nrjz93tmm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4nrjz93tmm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4nrjz93tmm.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -103,29 +103,29 @@ import {
|
|
|
103
103
|
validateConfigurationFiles,
|
|
104
104
|
validateFrameworkName,
|
|
105
105
|
wrapValueWithGetAbsolutePathWrapper
|
|
106
|
-
} from "../_node-chunks/chunk-
|
|
106
|
+
} from "../_node-chunks/chunk-CRJ7M6EO.js";
|
|
107
107
|
import {
|
|
108
108
|
versions_default
|
|
109
|
-
} from "../_node-chunks/chunk-
|
|
110
|
-
import "../_node-chunks/chunk-
|
|
111
|
-
import "../_node-chunks/chunk-
|
|
112
|
-
import "../_node-chunks/chunk-
|
|
109
|
+
} from "../_node-chunks/chunk-LJRIVT23.js";
|
|
110
|
+
import "../_node-chunks/chunk-U24W5IIW.js";
|
|
111
|
+
import "../_node-chunks/chunk-A5VW7257.js";
|
|
112
|
+
import "../_node-chunks/chunk-NKT3R6IH.js";
|
|
113
113
|
import {
|
|
114
114
|
importMetaResolve,
|
|
115
115
|
importModule,
|
|
116
116
|
resolvePackageDir,
|
|
117
117
|
safeResolveModule
|
|
118
|
-
} from "../_node-chunks/chunk-
|
|
118
|
+
} from "../_node-chunks/chunk-Y7VDA7NY.js";
|
|
119
119
|
import {
|
|
120
120
|
groupBy,
|
|
121
121
|
invariant
|
|
122
|
-
} from "../_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-
|
|
128
|
-
import "../_node-chunks/chunk-
|
|
122
|
+
} from "../_node-chunks/chunk-WSIZMTN2.js";
|
|
123
|
+
import "../_node-chunks/chunk-UWK6Z4VL.js";
|
|
124
|
+
import "../_node-chunks/chunk-XS5QCZP7.js";
|
|
125
|
+
import "../_node-chunks/chunk-Q65ED3UK.js";
|
|
126
|
+
import "../_node-chunks/chunk-7WOMK33B.js";
|
|
127
|
+
import "../_node-chunks/chunk-TUQOGYET.js";
|
|
128
|
+
import "../_node-chunks/chunk-745GFLCZ.js";
|
|
129
129
|
export {
|
|
130
130
|
DEFAULT_FILES_PATTERN,
|
|
131
131
|
FileSystemCache,
|
package/dist/components/index.js
CHANGED
|
@@ -569,32 +569,33 @@ var BadgeWrapper = styled23.div(
|
|
|
569
569
|
switch (status) {
|
|
570
570
|
case "critical":
|
|
571
571
|
return {
|
|
572
|
-
color: theme.
|
|
573
|
-
background: theme.
|
|
572
|
+
color: theme.fgColor.critical,
|
|
573
|
+
background: theme.bgColor.critical,
|
|
574
|
+
boxShadow: `inset 0 0 0 1px ${theme.borderColor.critical}`
|
|
574
575
|
};
|
|
575
576
|
case "negative":
|
|
576
577
|
return {
|
|
577
|
-
color: theme.
|
|
578
|
-
background: theme.
|
|
579
|
-
boxShadow:
|
|
578
|
+
color: theme.fgColor.negative,
|
|
579
|
+
background: theme.bgColor.negative,
|
|
580
|
+
boxShadow: `inset 0 0 0 1px ${theme.borderColor.negative}`
|
|
580
581
|
};
|
|
581
582
|
case "warning":
|
|
582
583
|
return {
|
|
583
|
-
color: theme.
|
|
584
|
-
background: theme.
|
|
585
|
-
boxShadow:
|
|
584
|
+
color: theme.fgColor.warning,
|
|
585
|
+
background: theme.bgColor.warning,
|
|
586
|
+
boxShadow: `inset 0 0 0 1px ${theme.borderColor.warning}`
|
|
586
587
|
};
|
|
587
588
|
case "neutral":
|
|
588
589
|
return {
|
|
589
|
-
color: theme.
|
|
590
|
-
background: theme.base === "
|
|
590
|
+
color: theme.fgColor.muted,
|
|
591
|
+
background: theme.base === "dark" ? theme.barBg : theme.background.app,
|
|
591
592
|
boxShadow: `inset 0 0 0 1px ${curriedTransparentize$1(0.8, theme.textMutedColor)}`
|
|
592
593
|
};
|
|
593
594
|
case "positive":
|
|
594
595
|
return {
|
|
595
|
-
color: theme.
|
|
596
|
-
background: theme.
|
|
597
|
-
boxShadow:
|
|
596
|
+
color: theme.fgColor.positive,
|
|
597
|
+
background: theme.bgColor.positive,
|
|
598
|
+
boxShadow: `inset 0 0 0 1px ${theme.borderColor.positive}`
|
|
598
599
|
};
|
|
599
600
|
case "active":
|
|
600
601
|
return {
|
|
@@ -9712,26 +9713,28 @@ import React26 from "react";
|
|
|
9712
9713
|
import { color, styled as styled38 } from "storybook/theming";
|
|
9713
9714
|
var Input = styled38.input(({ theme }) => ({
|
|
9714
9715
|
appearance: "none",
|
|
9716
|
+
backgroundColor: theme.input.background,
|
|
9717
|
+
border: `1px solid ${theme.base === "dark" ? "hsl(0 0 100 / 0.4)" : "hsl(0 0 0 / 0.44)"}`,
|
|
9718
|
+
borderRadius: 2,
|
|
9715
9719
|
display: "grid",
|
|
9716
|
-
placeContent: "center",
|
|
9717
|
-
width: 14,
|
|
9718
|
-
height: 14,
|
|
9719
9720
|
flexShrink: 0,
|
|
9721
|
+
height: 14,
|
|
9720
9722
|
margin: 0,
|
|
9721
|
-
|
|
9722
|
-
borderRadius: 2,
|
|
9723
|
-
backgroundColor: theme.input.background,
|
|
9723
|
+
placeContent: "center",
|
|
9724
9724
|
transition: "background-color 0.1s",
|
|
9725
|
+
width: 14,
|
|
9725
9726
|
"&:enabled": {
|
|
9726
9727
|
cursor: "pointer"
|
|
9727
9728
|
},
|
|
9728
9729
|
"&:disabled": {
|
|
9729
|
-
backgroundColor:
|
|
9730
|
+
backgroundColor: "transparent",
|
|
9731
|
+
borderColor: theme.input.border
|
|
9730
9732
|
},
|
|
9731
9733
|
"&:disabled:checked, &:disabled:indeterminate": {
|
|
9732
|
-
backgroundColor: theme.base === "
|
|
9734
|
+
backgroundColor: theme.base === "dark" ? color.dark : theme.color.mediumdark
|
|
9733
9735
|
},
|
|
9734
9736
|
"&:checked, &:indeterminate": {
|
|
9737
|
+
border: "none",
|
|
9735
9738
|
backgroundColor: color.secondary
|
|
9736
9739
|
},
|
|
9737
9740
|
"&:checked::before": {
|
|
@@ -9882,27 +9885,30 @@ import React29 from "react";
|
|
|
9882
9885
|
import { color as color2, styled as styled41 } from "storybook/theming";
|
|
9883
9886
|
var Input4 = styled41.input(({ theme }) => ({
|
|
9884
9887
|
appearance: "none",
|
|
9888
|
+
backgroundColor: theme.input.background,
|
|
9889
|
+
border: `1px solid ${theme.base === "dark" ? "hsl(0 0 100 / 0.4)" : "hsl(0 0 0 / 0.44)"}`,
|
|
9890
|
+
borderRadius: 8,
|
|
9885
9891
|
display: "grid",
|
|
9886
|
-
placeContent: "center",
|
|
9887
|
-
width: 16,
|
|
9888
|
-
height: 16,
|
|
9889
9892
|
flexShrink: 0,
|
|
9893
|
+
height: 16,
|
|
9890
9894
|
margin: -1,
|
|
9891
|
-
|
|
9892
|
-
borderRadius: 8,
|
|
9893
|
-
backgroundColor: theme.input.background,
|
|
9895
|
+
placeContent: "center",
|
|
9894
9896
|
transition: "background-color 0.1s",
|
|
9897
|
+
width: 16,
|
|
9895
9898
|
"&:enabled": {
|
|
9896
9899
|
cursor: "pointer"
|
|
9897
9900
|
},
|
|
9898
9901
|
"&:disabled": {
|
|
9899
|
-
backgroundColor:
|
|
9902
|
+
backgroundColor: "transparent",
|
|
9903
|
+
borderColor: theme.input.border
|
|
9900
9904
|
},
|
|
9901
9905
|
"&:disabled:checked": {
|
|
9902
|
-
backgroundColor: theme.base === "
|
|
9906
|
+
backgroundColor: theme.base === "dark" ? color2.dark : theme.color.mediumdark,
|
|
9907
|
+
borderColor: theme.base === "dark" ? color2.dark : theme.color.mediumdark
|
|
9903
9908
|
},
|
|
9904
9909
|
"&:checked": {
|
|
9905
9910
|
backgroundColor: color2.secondary,
|
|
9911
|
+
borderColor: color2.secondary,
|
|
9906
9912
|
boxShadow: `inset 0 0 0 2px ${theme.input.background}`
|
|
9907
9913
|
},
|
|
9908
9914
|
"&:enabled:focus-visible": {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_d4nrjz93tmm from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_d4nrjz93tmm from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_d4nrjz93tmm from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_d4nrjz93tmm.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_d4nrjz93tmm.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_d4nrjz93tmm.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-STYUJSG3.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-6YYH64IJ.js";
|
|
25
|
+
import "../_node-chunks/chunk-H6HVK5J2.js";
|
|
26
26
|
import {
|
|
27
27
|
detectPnp
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-5N3H43LE.js";
|
|
29
29
|
import {
|
|
30
30
|
StorybookError
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
31
|
+
} from "../_node-chunks/chunk-NOTIBODG.js";
|
|
32
32
|
import {
|
|
33
33
|
telemetry
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-SKFAHEPX.js";
|
|
35
|
+
import "../_node-chunks/chunk-DRN5YXX5.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-CRJ7M6EO.js";
|
|
43
|
+
import "../_node-chunks/chunk-LJRIVT23.js";
|
|
44
|
+
import "../_node-chunks/chunk-U24W5IIW.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-A5VW7257.js";
|
|
48
|
+
import "../_node-chunks/chunk-JOOO54RB.js";
|
|
49
|
+
import "../_node-chunks/chunk-RABBUYPA.js";
|
|
50
50
|
import {
|
|
51
51
|
invariant,
|
|
52
52
|
up2 as up
|
|
53
|
-
} from "../_node-chunks/chunk-
|
|
53
|
+
} from "../_node-chunks/chunk-NKT3R6IH.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-Y7VDA7NY.js";
|
|
58
|
+
import "../_node-chunks/chunk-WSIZMTN2.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-UWK6Z4VL.js";
|
|
65
|
+
import "../_node-chunks/chunk-XS5QCZP7.js";
|
|
66
66
|
import {
|
|
67
67
|
slash
|
|
68
|
-
} from "../_node-chunks/chunk-
|
|
68
|
+
} from "../_node-chunks/chunk-Q65ED3UK.js";
|
|
69
69
|
import {
|
|
70
70
|
require_dist
|
|
71
|
-
} from "../_node-chunks/chunk-
|
|
71
|
+
} from "../_node-chunks/chunk-7WOMK33B.js";
|
|
72
72
|
import {
|
|
73
73
|
require_lib,
|
|
74
74
|
require_src
|
|
75
|
-
} from "../_node-chunks/chunk-
|
|
75
|
+
} from "../_node-chunks/chunk-LZ2HPFRB.js";
|
|
76
76
|
import {
|
|
77
77
|
require_picocolors
|
|
78
|
-
} from "../_node-chunks/chunk-
|
|
78
|
+
} from "../_node-chunks/chunk-TUQOGYET.js";
|
|
79
79
|
import {
|
|
80
80
|
__commonJS,
|
|
81
81
|
__require,
|
|
82
82
|
__toESM
|
|
83
|
-
} from "../_node-chunks/chunk-
|
|
83
|
+
} from "../_node-chunks/chunk-745GFLCZ.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, { globby } = await import("../_node-chunks/globby-
|
|
5150
|
+
let pathToSubIndex = {}, globCwd = slash(resolve2(workingDir, specifier.directory)), globPattern = specifier.files, { globby } = await import("../_node-chunks/globby-5IBS67N3.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-N33YQ3NH.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-OAF6SRKJ.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-5IBS67N3.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);
|