storybook 9.0.0-beta.8 → 9.0.0-rc.0
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 +21 -0
- package/assets/server/template.ejs +4 -4
- package/dist/actions/preview.cjs +1 -1
- package/dist/actions/preview.d.ts +501 -0
- package/dist/actions/preview.js +1 -1
- package/dist/backgrounds/index.d.ts +501 -0
- package/dist/backgrounds/preview.d.ts +501 -0
- package/dist/bin/index.cjs +61 -61
- package/dist/bin/index.js +59 -59
- package/dist/builder-manager/index.cjs +208 -203
- package/dist/builder-manager/index.js +492 -487
- package/dist/channels/index.js +919 -941
- package/dist/cli/bin/index.cjs +1032 -1032
- package/dist/cli/bin/index.js +1032 -1032
- package/dist/cli/index.cjs +33709 -28783
- package/dist/cli/index.js +33641 -28711
- package/dist/common/index.cjs +2802 -2789
- package/dist/common/index.d.ts +2 -1
- package/dist/common/index.js +3250 -3237
- package/dist/components/index.cjs +711 -711
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +2266 -2272
- package/dist/controls/preview.d.ts +501 -0
- package/dist/core-events/index.cjs +55 -52
- package/dist/core-events/index.d.ts +3 -1
- package/dist/core-events/index.js +52 -49
- package/dist/core-server/index.cjs +3066 -3037
- package/dist/core-server/index.d.ts +512 -11
- package/dist/core-server/index.js +3271 -3241
- package/dist/core-server/presets/common-manager.js +4570 -5779
- package/dist/core-server/presets/common-override-preset.cjs +10 -12
- package/dist/core-server/presets/common-override-preset.js +3 -5
- package/dist/core-server/presets/common-preset.cjs +112 -116
- package/dist/core-server/presets/common-preset.js +10 -14
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf-tools/index.cjs +116 -111
- package/dist/csf-tools/index.js +33 -28
- package/dist/docs-tools/index.js +596 -603
- package/dist/highlight/preview.d.ts +501 -0
- package/dist/instrumenter/index.js +1851 -3554
- package/dist/manager/globals-module-info.cjs +3 -0
- package/dist/manager/globals-module-info.js +3 -0
- package/dist/manager/globals-runtime.js +21347 -23051
- package/dist/manager/runtime.js +2510 -2498
- package/dist/manager-api/index.cjs +2302 -8594
- package/dist/manager-api/index.d.ts +501 -0
- package/dist/manager-api/index.js +2655 -2715
- package/dist/manager-errors.js +37 -41
- package/dist/measure/index.d.ts +501 -0
- package/dist/measure/preview.d.ts +501 -0
- package/dist/outline/index.d.ts +501 -0
- package/dist/outline/preview.d.ts +501 -0
- package/dist/preview/runtime.js +38393 -40149
- package/dist/preview-api/index.cjs +1546 -1459
- package/dist/preview-api/index.d.ts +8 -5
- package/dist/preview-api/index.js +1273 -1203
- package/dist/preview-errors.js +152 -173
- package/dist/router/index.cjs +5700 -2327
- package/dist/router/index.d.ts +622 -243
- package/dist/router/index.js +1297 -870
- package/dist/test/index.cjs +1810 -1811
- package/dist/test/index.d.ts +53 -5
- package/dist/test/index.js +7614 -7703
- package/dist/test/preview.cjs +51 -15860
- package/dist/test/preview.d.ts +520 -13
- package/dist/test/preview.js +44 -14491
- package/dist/theming/index.cjs +17 -0
- package/dist/theming/index.js +17 -0
- package/dist/types/index.d.ts +516 -82
- package/dist/viewport/index.d.ts +502 -3
- package/dist/viewport/preview.d.ts +501 -0
- package/package.json +3 -18
- package/dist/test/spy.cjs +0 -258
- package/dist/test/spy.d.ts +0 -62
- package/dist/test/spy.js +0 -240
package/dist/theming/index.cjs
CHANGED
|
@@ -4300,6 +4300,23 @@ var Mt = U(va(), 1), Lt = (0, Mt.default)(1)(
|
|
|
4300
4300
|
hr: {
|
|
4301
4301
|
...n.hr,
|
|
4302
4302
|
borderTop: `1px solid ${e.border}`
|
|
4303
|
+
},
|
|
4304
|
+
".sb-sr-only, .sb-hidden-until-focus:not(:focus)": {
|
|
4305
|
+
position: "absolute",
|
|
4306
|
+
width: 1,
|
|
4307
|
+
height: 1,
|
|
4308
|
+
padding: 0,
|
|
4309
|
+
margin: -1,
|
|
4310
|
+
overflow: "hidden",
|
|
4311
|
+
clip: "rect(0, 0, 0, 0)",
|
|
4312
|
+
border: 0
|
|
4313
|
+
},
|
|
4314
|
+
".sb-hidden-until-focus": {
|
|
4315
|
+
opacity: 0,
|
|
4316
|
+
transition: "opacity 150ms ease-out"
|
|
4317
|
+
},
|
|
4318
|
+
".sb-hidden-until-focus:focus": {
|
|
4319
|
+
opacity: 1
|
|
4303
4320
|
}
|
|
4304
4321
|
};
|
|
4305
4322
|
});
|
package/dist/theming/index.js
CHANGED
|
@@ -2789,6 +2789,23 @@ var Ar = ir(Gt(), 1), Yt = (0, Ar.default)(1)(
|
|
|
2789
2789
|
hr: {
|
|
2790
2790
|
...n.hr,
|
|
2791
2791
|
borderTop: `1px solid ${e.border}`
|
|
2792
|
+
},
|
|
2793
|
+
".sb-sr-only, .sb-hidden-until-focus:not(:focus)": {
|
|
2794
|
+
position: "absolute",
|
|
2795
|
+
width: 1,
|
|
2796
|
+
height: 1,
|
|
2797
|
+
padding: 0,
|
|
2798
|
+
margin: -1,
|
|
2799
|
+
overflow: "hidden",
|
|
2800
|
+
clip: "rect(0, 0, 0, 0)",
|
|
2801
|
+
border: 0
|
|
2802
|
+
},
|
|
2803
|
+
".sb-hidden-until-focus": {
|
|
2804
|
+
opacity: 0,
|
|
2805
|
+
transition: "opacity 150ms ease-out"
|
|
2806
|
+
},
|
|
2807
|
+
".sb-hidden-until-focus:focus": {
|
|
2808
|
+
opacity: 1
|
|
2792
2809
|
}
|
|
2793
2810
|
};
|
|
2794
2811
|
});
|