storybook 9.1.0-alpha.6 → 9.1.0-alpha.8
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/browser/favicon-wrapper.svg +46 -0
- package/assets/browser/favicon.svg +1 -1
- package/dist/bin/index.cjs +43 -43
- package/dist/bin/index.js +43 -43
- package/dist/cli/bin/index.cjs +513 -513
- package/dist/cli/bin/index.js +535 -535
- package/dist/cli/index.cjs +2454 -2453
- package/dist/cli/index.d.ts +10 -3
- package/dist/cli/index.js +2436 -2435
- package/dist/common/index.cjs +64 -61
- package/dist/common/index.d.ts +9 -3
- package/dist/common/index.js +64 -61
- package/dist/components/index.cjs +4602 -4427
- package/dist/components/index.d.ts +9 -11
- package/dist/components/index.js +2760 -2580
- package/dist/core-server/index.cjs +5833 -5819
- package/dist/core-server/index.d.ts +4 -1
- package/dist/core-server/index.js +4848 -4835
- package/dist/core-server/presets/common-manager.js +3410 -3332
- package/dist/core-server/presets/common-preset.cjs +1831 -1837
- package/dist/core-server/presets/common-preset.js +1787 -1792
- package/dist/csf/index.cjs +2536 -736
- package/dist/csf/index.d.ts +250 -9
- package/dist/csf/index.js +2558 -749
- package/dist/csf-tools/index.cjs +319 -321
- package/dist/csf-tools/index.js +239 -241
- package/dist/instrumenter/index.cjs +1150 -1099
- package/dist/instrumenter/index.d.ts +1 -0
- package/dist/instrumenter/index.js +1261 -1214
- package/dist/manager/globals-module-info.cjs +0 -1
- package/dist/manager/globals-module-info.js +0 -1
- package/dist/manager/globals-runtime.js +21740 -24218
- package/dist/manager/runtime.js +3715 -3536
- package/dist/manager-api/index.cjs +3 -3
- package/dist/manager-api/index.d.ts +4 -1
- package/dist/manager-api/index.js +3 -3
- package/dist/node-logger/index.cjs +1620 -1620
- package/dist/node-logger/index.js +1619 -1619
- package/dist/preview/runtime.js +13337 -16032
- package/dist/preview-api/index.cjs +273 -271
- package/dist/preview-api/index.d.ts +4 -1
- package/dist/preview-api/index.js +14 -12
- package/dist/telemetry/index.cjs +500 -500
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/telemetry/index.js +478 -478
- package/dist/test/index.cjs +9136 -9815
- package/dist/test/index.js +8339 -9025
- package/dist/types/index.d.ts +12 -12
- package/package.json +5 -196
- package/dist/actions/preview.cjs +0 -159
- package/dist/actions/preview.d.ts +0 -45
- package/dist/actions/preview.js +0 -149
- package/dist/backgrounds/index.cjs +0 -16
- package/dist/backgrounds/index.d.ts +0 -2
- package/dist/backgrounds/index.js +0 -0
- package/dist/backgrounds/preview.cjs +0 -143
- package/dist/backgrounds/preview.d.ts +0 -53
- package/dist/backgrounds/preview.js +0 -127
- package/dist/component-testing/index.cjs +0 -23
- package/dist/component-testing/index.d.ts +0 -3
- package/dist/component-testing/index.js +0 -5
- package/dist/component-testing/preview.cjs +0 -40
- package/dist/component-testing/preview.d.ts +0 -5
- package/dist/component-testing/preview.js +0 -25
- package/dist/controls/preview.cjs +0 -26
- package/dist/controls/preview.d.ts +0 -43
- package/dist/controls/preview.js +0 -9
- package/dist/highlight/preview.cjs +0 -590
- package/dist/highlight/preview.d.ts +0 -20
- package/dist/highlight/preview.js +0 -575
- package/dist/measure/index.cjs +0 -16
- package/dist/measure/index.d.ts +0 -2
- package/dist/measure/index.js +0 -0
- package/dist/measure/preview.cjs +0 -466
- package/dist/measure/preview.d.ts +0 -25
- package/dist/measure/preview.js +0 -450
- package/dist/outline/index.cjs +0 -16
- package/dist/outline/index.d.ts +0 -2
- package/dist/outline/index.js +0 -0
- package/dist/outline/preview.cjs +0 -518
- package/dist/outline/preview.d.ts +0 -25
- package/dist/outline/preview.js +0 -486
- package/dist/test/preview.cjs +0 -73
- package/dist/test/preview.d.ts +0 -17
- package/dist/test/preview.js +0 -66
- package/dist/viewport/preview.cjs +0 -35
- package/dist/viewport/preview.d.ts +0 -62
- package/dist/viewport/preview.js +0 -19
|
@@ -3084,9 +3084,9 @@ var Ee = Object.freeze({
|
|
|
3084
3084
|
}), br = {};
|
|
3085
3085
|
function Ws(e) {
|
|
3086
3086
|
let t = e.target;
|
|
3087
|
-
return /input|textarea/i.test(t.tagName) || t.getAttribute("contenteditable") !== null;
|
|
3087
|
+
return !!(/input|textarea/i.test(t.tagName) || t.getAttribute("contenteditable") !== null || t.closest("dialog[open]"));
|
|
3088
3088
|
}
|
|
3089
|
-
n(Ws, "
|
|
3089
|
+
n(Ws, "shouldSkipShortcut");
|
|
3090
3090
|
var Gs = /* @__PURE__ */ n(({ store: e, fullAPI: t, provider: r }) => {
|
|
3091
3091
|
let o = {
|
|
3092
3092
|
// Getting and setting shortcuts
|
|
@@ -4403,7 +4403,7 @@ U(wr, {
|
|
|
4403
4403
|
var kt = require("@storybook/global"), on = L(rr(), 1), $ = L(require("semver"), 1);
|
|
4404
4404
|
|
|
4405
4405
|
// src/manager-api/version.ts
|
|
4406
|
-
var tn = "9.1.0-alpha.
|
|
4406
|
+
var tn = "9.1.0-alpha.8";
|
|
4407
4407
|
|
|
4408
4408
|
// src/manager-api/modules/versions.ts
|
|
4409
4409
|
var { VERSIONCHECK: Qs } = kt.global, rn = (0, on.default)(1)(() => {
|
|
@@ -1734,7 +1734,10 @@ declare global {
|
|
|
1734
1734
|
var defaultProjectAnnotations: ProjectAnnotations<any>;
|
|
1735
1735
|
}
|
|
1736
1736
|
type WrappedStoryRef = {
|
|
1737
|
-
__pw_type: 'jsx'
|
|
1737
|
+
__pw_type: 'jsx';
|
|
1738
|
+
props: Record<string, any>;
|
|
1739
|
+
} | {
|
|
1740
|
+
__pw_type: 'importRef';
|
|
1738
1741
|
};
|
|
1739
1742
|
type UnwrappedJSXStoryRef = {
|
|
1740
1743
|
__pw_type: 'jsx';
|
|
@@ -1895,9 +1895,9 @@ var ue = Object.freeze({
|
|
|
1895
1895
|
}), sr = {};
|
|
1896
1896
|
function Es(e) {
|
|
1897
1897
|
let t = e.target;
|
|
1898
|
-
return /input|textarea/i.test(t.tagName) || t.getAttribute("contenteditable") !== null;
|
|
1898
|
+
return !!(/input|textarea/i.test(t.tagName) || t.getAttribute("contenteditable") !== null || t.closest("dialog[open]"));
|
|
1899
1899
|
}
|
|
1900
|
-
n(Es, "
|
|
1900
|
+
n(Es, "shouldSkipShortcut");
|
|
1901
1901
|
var vs = /* @__PURE__ */ n(({ store: e, fullAPI: t, provider: r }) => {
|
|
1902
1902
|
let o = {
|
|
1903
1903
|
// Getting and setting shortcuts
|
|
@@ -3217,7 +3217,7 @@ import { global as Sr } from "@storybook/global";
|
|
|
3217
3217
|
import $ from "semver";
|
|
3218
3218
|
|
|
3219
3219
|
// src/manager-api/version.ts
|
|
3220
|
-
var No = "9.1.0-alpha.
|
|
3220
|
+
var No = "9.1.0-alpha.8";
|
|
3221
3221
|
|
|
3222
3222
|
// src/manager-api/modules/versions.ts
|
|
3223
3223
|
var { VERSIONCHECK: ca } = Sr, jo = (0, ko.default)(1)(() => {
|