storybook 9.0.0-beta.4 → 9.0.0-beta.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/assets/server/base-preview-head.html +2 -1
- package/dist/babel/index.cjs +15060 -14974
- package/dist/babel/index.d.ts +37 -18
- package/dist/babel/index.js +15097 -15011
- package/dist/bin/index.cjs +44 -44
- package/dist/bin/index.js +44 -44
- package/dist/builder-manager/index.cjs +119 -104
- package/dist/builder-manager/index.js +118 -102
- package/dist/cli/bin/index.cjs +1 -1
- package/dist/cli/bin/index.js +1 -1
- package/dist/cli/index.cjs +19438 -19340
- package/dist/cli/index.js +19449 -19351
- package/dist/client-logger/index.d.ts +2 -1
- package/dist/common/index.cjs +4997 -4925
- package/dist/common/index.js +5090 -5014
- package/dist/components/index.cjs +4581 -4419
- package/dist/components/index.d.ts +12 -12
- package/dist/components/index.js +3847 -3681
- package/dist/core-server/index.cjs +6360 -6276
- package/dist/core-server/index.js +6407 -6318
- package/dist/core-server/presets/common-manager.js +3871 -3476
- package/dist/core-server/presets/common-preset.cjs +2304 -2238
- package/dist/core-server/presets/common-preset.js +2389 -2319
- package/dist/docs-tools/index.cjs +484 -464
- package/dist/docs-tools/index.js +502 -482
- package/dist/highlight/index.cjs +19 -18
- package/dist/highlight/index.d.ts +4 -5
- package/dist/highlight/index.js +3 -2
- package/dist/highlight/preview.cjs +311 -307
- package/dist/highlight/preview.js +293 -289
- package/dist/instrumenter/index.cjs +561 -559
- package/dist/instrumenter/index.js +1551 -1498
- package/dist/manager/globals-module-info.cjs +1 -0
- package/dist/manager/globals-module-info.js +1 -0
- package/dist/manager/globals-runtime.js +19639 -19374
- package/dist/manager/runtime.js +4372 -4133
- package/dist/manager-api/index.cjs +2375 -2319
- package/dist/manager-api/index.js +1722 -1666
- package/dist/node-logger/index.cjs +25 -25
- package/dist/node-logger/index.js +25 -25
- package/dist/preview/runtime.js +12782 -12707
- package/dist/preview-api/index.cjs +1121 -1102
- package/dist/preview-api/index.js +1169 -1150
- package/dist/router/index.cjs +1366 -1347
- package/dist/router/index.js +594 -575
- package/dist/server-errors.cjs +6 -6
- package/dist/server-errors.js +6 -6
- package/dist/telemetry/index.cjs +696 -691
- package/dist/telemetry/index.js +764 -759
- package/dist/test/index.cjs +69 -70
- package/dist/test/index.d.ts +1216 -74
- package/dist/test/index.js +128 -130
- package/dist/test/preview.cjs +16 -16
- package/dist/test/preview.js +15 -15
- package/dist/theming/create.cjs +16 -17
- package/dist/theming/create.js +346 -228
- package/dist/theming/index.cjs +16 -17
- package/dist/theming/index.js +948 -839
- package/package.json +10 -17
package/dist/server-errors.cjs
CHANGED
|
@@ -131,7 +131,7 @@ var ne = Q((h) => {
|
|
|
131
131
|
// src/server-errors.ts
|
|
132
132
|
var xe = {};
|
|
133
133
|
pe(xe, {
|
|
134
|
-
AngularLegacyBuildOptionsError: () =>
|
|
134
|
+
AngularLegacyBuildOptionsError: () => W,
|
|
135
135
|
Category: () => ce,
|
|
136
136
|
ConflictingStaticDirConfigError: () => C,
|
|
137
137
|
CouldNotEvaluateFrameworkError: () => w,
|
|
@@ -146,7 +146,7 @@ pe(xe, {
|
|
|
146
146
|
MainFileESMOnlyImportError: () => V,
|
|
147
147
|
MainFileEvaluationError: () => F,
|
|
148
148
|
MainFileMissingError: () => $,
|
|
149
|
-
MissingAngularJsonError: () =>
|
|
149
|
+
MissingAngularJsonError: () => v,
|
|
150
150
|
MissingBuilderError: () => L,
|
|
151
151
|
MissingFrameworkFieldError: () => A,
|
|
152
152
|
NoMatchingExportError: () => P,
|
|
@@ -234,10 +234,10 @@ MEWORK_WEB-COMPONENTS-VITE", s.FRAMEWORK_WEB_COMPONENTS_WEBPACK5 = "FRAMEWORK_WE
|
|
|
234
234
|
super({
|
|
235
235
|
category: "CLI_INIT",
|
|
236
236
|
code: 1,
|
|
237
|
-
documentation: "https://nx.dev/
|
|
237
|
+
documentation: "https://nx.dev/nx-api/storybook#generating-storybook-configuration",
|
|
238
238
|
message: i.dedent`
|
|
239
239
|
We have detected Nx in your project. Nx has its own Storybook initializer, so please use it instead.
|
|
240
|
-
Run "nx g @nx/storybook:configuration" to add Storybook to
|
|
240
|
+
Run "nx g @nx/storybook:configuration <your-project-name>" to add Storybook to a given Nx app or lib.`
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
243
|
}, A = class extends a {
|
|
@@ -377,7 +377,7 @@ var T = class extends a {
|
|
|
377
377
|
static {
|
|
378
378
|
r(this, "WebpackCompilationError");
|
|
379
379
|
}
|
|
380
|
-
},
|
|
380
|
+
}, v = class extends a {
|
|
381
381
|
constructor(o) {
|
|
382
382
|
super({
|
|
383
383
|
category: "CLI_INIT",
|
|
@@ -392,7 +392,7 @@ var T = class extends a {
|
|
|
392
392
|
static {
|
|
393
393
|
r(this, "MissingAngularJsonError");
|
|
394
394
|
}
|
|
395
|
-
},
|
|
395
|
+
}, W = class extends a {
|
|
396
396
|
static {
|
|
397
397
|
r(this, "AngularLegacyBuildOptionsError");
|
|
398
398
|
}
|
package/dist/server-errors.js
CHANGED
|
@@ -203,13 +203,13 @@ MEWORK_WEB-COMPONENTS-VITE", s.FRAMEWORK_WEB_COMPONENTS_WEBPACK5 = "FRAMEWORK_WE
|
|
|
203
203
|
super({
|
|
204
204
|
category: "CLI_INIT",
|
|
205
205
|
code: 1,
|
|
206
|
-
documentation: "https://nx.dev/
|
|
206
|
+
documentation: "https://nx.dev/nx-api/storybook#generating-storybook-configuration",
|
|
207
207
|
message: i.dedent`
|
|
208
208
|
We have detected Nx in your project. Nx has its own Storybook initializer, so please use it instead.
|
|
209
|
-
Run "nx g @nx/storybook:configuration" to add Storybook to
|
|
209
|
+
Run "nx g @nx/storybook:configuration <your-project-name>" to add Storybook to a given Nx app or lib.`
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
|
-
},
|
|
212
|
+
}, v = class extends a {
|
|
213
213
|
static {
|
|
214
214
|
r(this, "MissingFrameworkFieldError");
|
|
215
215
|
}
|
|
@@ -224,7 +224,7 @@ MEWORK_WEB-COMPONENTS-VITE", s.FRAMEWORK_WEB_COMPONENTS_WEBPACK5 = "FRAMEWORK_WE
|
|
|
224
224
|
Please run 'npx storybook automigrate' to automatically fix your config.`
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
|
-
},
|
|
227
|
+
}, W = class extends a {
|
|
228
228
|
constructor(o) {
|
|
229
229
|
super({
|
|
230
230
|
category: "CORE-COMMON",
|
|
@@ -752,14 +752,14 @@ export {
|
|
|
752
752
|
G as GoogleFontsDownloadError,
|
|
753
753
|
Y as GoogleFontsLoadingError,
|
|
754
754
|
ae as IncompatiblePostCssConfigError,
|
|
755
|
-
|
|
755
|
+
W as InvalidFrameworkNameError,
|
|
756
756
|
B as InvalidStoriesEntryError,
|
|
757
757
|
H as MainFileESMOnlyImportError,
|
|
758
758
|
q as MainFileEvaluationError,
|
|
759
759
|
z as MainFileMissingError,
|
|
760
760
|
$ as MissingAngularJsonError,
|
|
761
761
|
U as MissingBuilderError,
|
|
762
|
-
|
|
762
|
+
v as MissingFrameworkFieldError,
|
|
763
763
|
X as NoMatchingExportError,
|
|
764
764
|
se as NoStatsForViteDevError,
|
|
765
765
|
T as NxProjectDetectedError,
|