storybook 9.0.0-beta.3 → 9.0.0-beta.5
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 +104 -99
- package/dist/builder-manager/index.js +103 -98
- 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/common/index.cjs +4997 -4925
- package/dist/common/index.js +5088 -5012
- 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 +6358 -6274
- package/dist/core-server/index.js +6406 -6318
- package/dist/core-server/presets/common-manager.js +3863 -3468
- package/dist/core-server/presets/common-preset.cjs +2302 -2236
- 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 +314 -310
- package/dist/highlight/preview.js +296 -292
- 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 +12779 -12704
- package/dist/preview-api/index.cjs +1113 -1094
- package/dist/preview-api/index.js +1161 -1142
- 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 +4 -12
|
@@ -215,7 +215,18 @@ interface ActionBarProps {
|
|
|
215
215
|
}
|
|
216
216
|
declare const ActionBar: ({ actionItems, ...props }: ActionBarProps) => React__default.JSX.Element;
|
|
217
217
|
|
|
218
|
-
|
|
218
|
+
type Scope<C = any> = {
|
|
219
|
+
[scopeName: string]: React$1.Context<C>[];
|
|
220
|
+
} | undefined;
|
|
221
|
+
type ScopeHook = (scope: Scope) => {
|
|
222
|
+
[__scopeProp: string]: Scope;
|
|
223
|
+
};
|
|
224
|
+
interface CreateScope {
|
|
225
|
+
scopeName: string;
|
|
226
|
+
(): ScopeHook;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
declare const NODES: readonly ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "select", "span", "svg", "ul"];
|
|
219
230
|
type Primitives = {
|
|
220
231
|
[E in (typeof NODES)[number]]: PrimitiveForwardRefComponent<E>;
|
|
221
232
|
};
|
|
@@ -304,17 +315,6 @@ interface PortalProps$1 extends PrimitiveDivProps$1 {
|
|
|
304
315
|
}
|
|
305
316
|
declare const Portal$1: React$1.ForwardRefExoticComponent<PortalProps$1 & React$1.RefAttributes<HTMLDivElement>>;
|
|
306
317
|
|
|
307
|
-
type Scope<C = any> = {
|
|
308
|
-
[scopeName: string]: React$1.Context<C>[];
|
|
309
|
-
} | undefined;
|
|
310
|
-
type ScopeHook = (scope: Scope) => {
|
|
311
|
-
[__scopeProp: string]: Scope;
|
|
312
|
-
};
|
|
313
|
-
interface CreateScope {
|
|
314
|
-
scopeName: string;
|
|
315
|
-
(): ScopeHook;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
318
|
declare const createDialogScope: CreateScope;
|
|
319
319
|
interface DialogProps {
|
|
320
320
|
children?: React$1.ReactNode;
|