storybook 10.2.0-alpha.0 → 10.2.0-alpha.2
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/Color-E5XDEOX4.js +484 -0
- package/dist/_browser-chunks/{WithTooltip-IO6J4KBT.js → WithTooltip-65CFNBJE.js} +70 -70
- package/dist/_browser-chunks/{chunk-45UGUKRX.js → chunk-242VQQM5.js} +1 -1
- package/dist/_browser-chunks/chunk-2NDLAB5X.js +363 -0
- package/dist/_browser-chunks/{chunk-JP7NCOJX.js → chunk-3LY4VQVK.js} +1 -1
- package/dist/_browser-chunks/{chunk-XJNX76GA.js → chunk-54PNNATT.js} +3 -20
- package/dist/_browser-chunks/{chunk-VYJQ7RU5.js → chunk-6QKNWBQB.js} +17 -17
- package/dist/_browser-chunks/chunk-CLSHX4VX.js +4140 -0
- package/dist/_browser-chunks/{chunk-2XZMBGTA.js → chunk-DOSERVNW.js} +1 -1
- package/dist/_browser-chunks/chunk-HPYUT3WS.js +199 -0
- package/dist/_browser-chunks/{chunk-BRX2HXH7.js → chunk-IH6QJILI.js} +1 -1
- package/dist/_browser-chunks/{chunk-AS2HQEYC.js → chunk-IWQGIXJS.js} +1 -1
- package/dist/_browser-chunks/{chunk-UD6FQLAF.js → chunk-JK6U3MQW.js} +3 -3
- package/dist/_browser-chunks/{chunk-CHUV5WSW.js → chunk-LE2LTDW3.js} +1 -1
- package/dist/_browser-chunks/{chunk-RP5RXKFU.js → chunk-MOYJJEXA.js} +38 -29
- package/dist/_browser-chunks/chunk-NZMVUW5T.js +7 -0
- package/dist/_browser-chunks/{chunk-AXG2BOBL.js → chunk-S6TK43XQ.js} +10 -10
- package/dist/_browser-chunks/{chunk-H6XK3RSC.js → chunk-UAYGIC3L.js} +6 -6
- package/dist/_browser-chunks/{chunk-YKE5S47A.js → chunk-V2VKKSMQ.js} +18 -18
- package/dist/_browser-chunks/chunk-VIJ7SQRO.js +568 -0
- package/dist/_browser-chunks/chunk-XCZK5QUJ.js +0 -0
- package/dist/_browser-chunks/{chunk-3OXGAGBE.js → chunk-XLJZ7AOP.js} +14 -14
- package/dist/_browser-chunks/{chunk-SS2NHR7W.js → chunk-Y6HZAT53.js} +10 -12
- package/dist/_browser-chunks/{chunk-P4F4UVXX.js → chunk-YKABRMAI.js} +15 -15
- package/dist/_browser-chunks/{chunk-WJYERY3R.js → chunk-ZCFV7BZB.js} +2 -2
- package/dist/_browser-chunks/{formatter-QJ4M4OGQ.js → formatter-EIJCOSYU.js} +2 -2
- package/dist/_browser-chunks/{syntaxhighlighter-IQDEPFLK.js → syntaxhighlighter-ED5Y7EFY.js} +119 -119
- package/dist/_node-chunks/{builder-manager-7Y5SBM27.js → builder-manager-ZK4QXZNX.js} +22 -22
- package/dist/_node-chunks/{camelcase-VIOG5GUK.js → camelcase-QWQG7I72.js} +8 -8
- package/dist/_node-chunks/{chunk-G2SSRQRU.js → chunk-2AFVBCGF.js} +6 -6
- package/dist/_node-chunks/{chunk-YS4ZBVQ2.js → chunk-5VZMCPTH.js} +18 -18
- package/dist/_node-chunks/{chunk-RZYKYZNC.js → chunk-6OZRMRVO.js} +31 -31
- package/dist/_node-chunks/chunk-CLCLRZYL.js +61 -0
- package/dist/_node-chunks/{chunk-6I6BDAIH.js → chunk-CW7HJRCY.js} +9 -9
- package/dist/_node-chunks/chunk-DF3QP62W.js +18 -0
- package/dist/_node-chunks/{chunk-RQYJV7HO.js → chunk-DWVHBQGR.js} +165 -191
- package/dist/_node-chunks/chunk-EVBCPGQO.js +20 -0
- package/dist/_node-chunks/{chunk-NSWP6O57.js → chunk-EXZXVBZO.js} +8 -8
- package/dist/_node-chunks/{chunk-46UKK4ME.js → chunk-FZFZ5TOM.js} +9 -9
- package/dist/_node-chunks/{chunk-IIAWDLTX.js → chunk-GKEAARBQ.js} +10 -10
- package/dist/_node-chunks/{chunk-RFI7ULWH.js → chunk-HMFROKHU.js} +19 -19
- package/dist/_node-chunks/{chunk-KKTHRW4D.js → chunk-I5TOD3AY.js} +66 -72
- package/dist/_node-chunks/{chunk-MTAECA6H.js → chunk-KVNLJSAB.js} +619 -148
- package/dist/_node-chunks/{chunk-DGCZNDMZ.js → chunk-NKOHF7TQ.js} +10 -10
- package/dist/_node-chunks/{chunk-4APIDVTW.js → chunk-OV2CP4VV.js} +7 -7
- package/dist/_node-chunks/chunk-PCMFKXWQ.js +23 -0
- package/dist/_node-chunks/{chunk-T3T35CKM.js → chunk-Q5ZQH2OQ.js} +15 -15
- package/dist/_node-chunks/{chunk-VMPPKUVU.js → chunk-QFSK4B7R.js} +8 -8
- package/dist/_node-chunks/{chunk-WOPURGV3.js → chunk-R2J3OB3H.js} +6 -6
- package/dist/_node-chunks/{chunk-UCXU3VCO.js → chunk-RGQC4G3L.js} +165 -21
- package/dist/_node-chunks/{chunk-KX2RIBIP.js → chunk-TOXVUAH2.js} +6 -6
- package/dist/_node-chunks/{chunk-XE4QTYSE.js → chunk-URBB5EGY.js} +8 -8
- package/dist/_node-chunks/{chunk-XCRYZZCA.js → chunk-UWJ4BOOL.js} +597 -593
- package/dist/_node-chunks/{chunk-RTFXQIIL.js → chunk-VJPI73BB.js} +230 -236
- package/dist/_node-chunks/{chunk-I7HQSEQK.js → chunk-WOS3OQVT.js} +6 -6
- package/dist/_node-chunks/{chunk-UGZX6OPP.js → chunk-WUKWNPSQ.js} +17 -17
- package/dist/_node-chunks/{chunk-2265F7MI.js → chunk-XFU23B4C.js} +9 -9
- package/dist/_node-chunks/{dist-GV3REIPT.js → dist-UBFMIJZC.js} +10 -10
- package/dist/_node-chunks/{globby-QE4LR4PT.js → globby-VD3CGPVI.js} +154 -154
- package/dist/_node-chunks/{lib-NXQ5B2WJ.js → lib-MMJB47J3.js} +16 -16
- package/dist/_node-chunks/{mdx-N42X6CFJ-IGCQXXC5.js → mdx-N42X6CFJ-3J2G7NZZ.js} +11 -11
- package/dist/_node-chunks/{p-limit-S2V3UH5Q.js → p-limit-SOBWTEVH.js} +8 -8
- package/dist/babel/index.js +10 -10
- package/dist/bin/core.js +28 -28
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +14 -11
- package/dist/channels/index.js +3 -3
- package/dist/cli/index.d.ts +2 -1
- package/dist/cli/index.js +18 -18
- package/dist/common/index.js +19 -19
- package/dist/components/index.d.ts +9 -2
- package/dist/components/index.js +327 -311
- package/dist/core-server/index.js +127 -127
- package/dist/core-server/presets/common-manager.css +2 -2
- package/dist/core-server/presets/common-manager.js +43 -38
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +4390 -173
- package/dist/csf/index.js +39 -35
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +6 -5
- package/dist/instrumenter/index.js +1 -1
- package/dist/manager/globals-runtime.js +18956 -12602
- package/dist/manager/runtime.js +148 -132
- package/dist/manager-api/index.js +31 -22
- package/dist/mocking-utils/index.js +14 -14
- package/dist/node-logger/index.d.ts +2 -2
- package/dist/node-logger/index.js +9 -9
- package/dist/preview/runtime.js +30784 -24388
- package/dist/preview-api/index.js +12 -11
- package/dist/preview-errors.js +2 -2
- package/dist/router/index.js +12 -13
- package/dist/server-errors.js +11 -11
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/telemetry/index.js +23 -23
- package/dist/test/index.js +3104 -1604
- package/dist/theming/create.js +3 -3
- package/dist/theming/index.js +38 -38
- package/package.json +2 -8
- package/dist/_browser-chunks/Color-TNPFN3FC.js +0 -1097
- package/dist/_browser-chunks/chunk-3IAH5M2U.js +0 -171
- package/dist/_browser-chunks/chunk-AIOS4NGK.js +0 -252
- package/dist/_browser-chunks/chunk-EZSQOHRI.js +0 -18
- package/dist/_browser-chunks/chunk-GFLS4VP3.js +0 -64
- package/dist/_browser-chunks/chunk-QKODTO7K.js +0 -7
- package/dist/_node-chunks/chunk-5JSWIKE2.js +0 -18
- package/dist/_node-chunks/chunk-BJMYJWGF.js +0 -20
- package/dist/_node-chunks/chunk-BYYI4JA6.js +0 -61
- package/dist/_node-chunks/chunk-RQ4GZHOA.js +0 -23
package/dist/theming/create.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create,
|
|
3
3
|
themes
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
5
|
-
import "../_browser-chunks/chunk-
|
|
6
|
-
import "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-IH6QJILI.js";
|
|
5
|
+
import "../_browser-chunks/chunk-S6TK43XQ.js";
|
|
6
|
+
import "../_browser-chunks/chunk-LE2LTDW3.js";
|
|
7
7
|
import "../_browser-chunks/chunk-A242L54C.js";
|
|
8
8
|
export {
|
|
9
9
|
create,
|
package/dist/theming/index.js
CHANGED
|
@@ -10,27 +10,27 @@ import {
|
|
|
10
10
|
themes,
|
|
11
11
|
tokens,
|
|
12
12
|
typography
|
|
13
|
-
} from "../_browser-chunks/chunk-
|
|
13
|
+
} from "../_browser-chunks/chunk-IH6QJILI.js";
|
|
14
14
|
import {
|
|
15
15
|
curriedOpacify$1
|
|
16
|
-
} from "../_browser-chunks/chunk-
|
|
16
|
+
} from "../_browser-chunks/chunk-S6TK43XQ.js";
|
|
17
17
|
import {
|
|
18
18
|
_extends
|
|
19
|
-
} from "../_browser-chunks/chunk-
|
|
19
|
+
} from "../_browser-chunks/chunk-LE2LTDW3.js";
|
|
20
20
|
import {
|
|
21
21
|
require_memoizerific
|
|
22
|
-
} from "../_browser-chunks/chunk-
|
|
22
|
+
} from "../_browser-chunks/chunk-ZCFV7BZB.js";
|
|
23
23
|
import {
|
|
24
24
|
dedent
|
|
25
|
-
} from "../_browser-chunks/chunk-
|
|
25
|
+
} from "../_browser-chunks/chunk-3LY4VQVK.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__toESM
|
|
29
29
|
} from "../_browser-chunks/chunk-A242L54C.js";
|
|
30
30
|
|
|
31
|
-
//
|
|
31
|
+
// ../../node_modules/react-is/cjs/react-is.production.min.js
|
|
32
32
|
var require_react_is_production_min = __commonJS({
|
|
33
|
-
"
|
|
33
|
+
"../../node_modules/react-is/cjs/react-is.production.min.js"(exports) {
|
|
34
34
|
"use strict";
|
|
35
35
|
var b = typeof Symbol == "function" && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
|
|
36
36
|
function z(a) {
|
|
@@ -123,9 +123,9 @@ var require_react_is_production_min = __commonJS({
|
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
//
|
|
126
|
+
// ../../node_modules/react-is/cjs/react-is.development.js
|
|
127
127
|
var require_react_is_development = __commonJS({
|
|
128
|
-
"
|
|
128
|
+
"../../node_modules/react-is/cjs/react-is.development.js"(exports) {
|
|
129
129
|
"use strict";
|
|
130
130
|
process.env.NODE_ENV !== "production" && (function() {
|
|
131
131
|
"use strict";
|
|
@@ -211,17 +211,17 @@ var require_react_is_development = __commonJS({
|
|
|
211
211
|
}
|
|
212
212
|
});
|
|
213
213
|
|
|
214
|
-
//
|
|
214
|
+
// ../../node_modules/react-is/index.js
|
|
215
215
|
var require_react_is = __commonJS({
|
|
216
|
-
"
|
|
216
|
+
"../../node_modules/react-is/index.js"(exports, module) {
|
|
217
217
|
"use strict";
|
|
218
218
|
process.env.NODE_ENV === "production" ? module.exports = require_react_is_production_min() : module.exports = require_react_is_development();
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
|
|
222
|
-
//
|
|
222
|
+
// ../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
|
|
223
223
|
var require_hoist_non_react_statics_cjs = __commonJS({
|
|
224
|
-
"
|
|
224
|
+
"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports, module) {
|
|
225
225
|
"use strict";
|
|
226
226
|
var reactIs = require_react_is(), REACT_STATICS = {
|
|
227
227
|
childContextTypes: !0,
|
|
@@ -288,11 +288,11 @@ var require_hoist_non_react_statics_cjs = __commonJS({
|
|
|
288
288
|
}
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
//
|
|
291
|
+
// ../../node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js
|
|
292
292
|
import * as React2 from "react";
|
|
293
293
|
import { useContext as useContext2, forwardRef as forwardRef2 } from "react";
|
|
294
294
|
|
|
295
|
-
//
|
|
295
|
+
// ../../node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
|
|
296
296
|
var isDevelopment = !1;
|
|
297
297
|
function sheetForTag(tag) {
|
|
298
298
|
if (tag.sheet)
|
|
@@ -336,13 +336,13 @@ var StyleSheet = (function() {
|
|
|
336
336
|
}, StyleSheet2;
|
|
337
337
|
})();
|
|
338
338
|
|
|
339
|
-
//
|
|
339
|
+
// ../../node_modules/stylis/src/Enum.js
|
|
340
340
|
var MS = "-ms-", MOZ = "-moz-", WEBKIT = "-webkit-", COMMENT = "comm", RULESET = "rule", DECLARATION = "decl";
|
|
341
341
|
var IMPORT = "@import";
|
|
342
342
|
var KEYFRAMES = "@keyframes";
|
|
343
343
|
var LAYER = "@layer";
|
|
344
344
|
|
|
345
|
-
//
|
|
345
|
+
// ../../node_modules/stylis/src/Utility.js
|
|
346
346
|
var abs = Math.abs, from = String.fromCharCode, assign = Object.assign;
|
|
347
347
|
function hash(value, length2) {
|
|
348
348
|
return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
|
|
@@ -378,7 +378,7 @@ function combine(array, callback) {
|
|
|
378
378
|
return array.map(callback).join("");
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
//
|
|
381
|
+
// ../../node_modules/stylis/src/Tokenizer.js
|
|
382
382
|
var line = 1, column = 1, length = 0, position = 0, character = 0, characters = "";
|
|
383
383
|
function node(value, root, parent, type, props, children, length2) {
|
|
384
384
|
return { value, root, parent, type, props, children, line, column, length: length2, return: "" };
|
|
@@ -495,7 +495,7 @@ function identifier(index) {
|
|
|
495
495
|
return slice(index, position);
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
//
|
|
498
|
+
// ../../node_modules/stylis/src/Parser.js
|
|
499
499
|
function compile(value) {
|
|
500
500
|
return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
|
|
501
501
|
}
|
|
@@ -618,7 +618,7 @@ function declaration(value, root, parent, length2) {
|
|
|
618
618
|
return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
|
|
619
619
|
}
|
|
620
620
|
|
|
621
|
-
//
|
|
621
|
+
// ../../node_modules/stylis/src/Serializer.js
|
|
622
622
|
function serialize(children, callback) {
|
|
623
623
|
for (var output = "", length2 = sizeof(children), i = 0; i < length2; i++)
|
|
624
624
|
output += callback(children[i], i, children, callback) || "";
|
|
@@ -641,7 +641,7 @@ function stringify(element, index, children, callback) {
|
|
|
641
641
|
return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
-
//
|
|
644
|
+
// ../../node_modules/stylis/src/Middleware.js
|
|
645
645
|
function middleware(collection) {
|
|
646
646
|
var length2 = sizeof(collection);
|
|
647
647
|
return function(element, index, children, callback) {
|
|
@@ -656,7 +656,7 @@ function rulesheet(callback) {
|
|
|
656
656
|
};
|
|
657
657
|
}
|
|
658
658
|
|
|
659
|
-
//
|
|
659
|
+
// ../../node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js
|
|
660
660
|
var weakMemoize = function(func) {
|
|
661
661
|
var cache = /* @__PURE__ */ new WeakMap();
|
|
662
662
|
return function(arg) {
|
|
@@ -667,7 +667,7 @@ var weakMemoize = function(func) {
|
|
|
667
667
|
};
|
|
668
668
|
};
|
|
669
669
|
|
|
670
|
-
//
|
|
670
|
+
// ../../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
671
671
|
function memoize(fn) {
|
|
672
672
|
var cache = /* @__PURE__ */ Object.create(null);
|
|
673
673
|
return function(arg) {
|
|
@@ -675,7 +675,7 @@ function memoize(fn) {
|
|
|
675
675
|
};
|
|
676
676
|
}
|
|
677
677
|
|
|
678
|
-
//
|
|
678
|
+
// ../../node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
679
679
|
var identifierWithPointTracking = function(begin, points, index) {
|
|
680
680
|
for (var previous = 0, character2 = 0; previous = character2, character2 = peek(), previous === 38 && character2 === 12 && (points[index] = 1), !token(character2); )
|
|
681
681
|
next();
|
|
@@ -946,12 +946,12 @@ var prefixer = function(element, index, children, callback) {
|
|
|
946
946
|
return cache.sheet.hydrate(nodesToHydrate), cache;
|
|
947
947
|
};
|
|
948
948
|
|
|
949
|
-
//
|
|
949
|
+
// ../../node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js
|
|
950
950
|
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs()), hoistNonReactStatics = (function(targetComponent, sourceComponent) {
|
|
951
951
|
return (0, import_hoist_non_react_statics.default)(targetComponent, sourceComponent);
|
|
952
952
|
});
|
|
953
953
|
|
|
954
|
-
//
|
|
954
|
+
// ../../node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
955
955
|
var isBrowser = !0;
|
|
956
956
|
function getRegisteredStyles(registered, registeredStyles, classNames) {
|
|
957
957
|
var rawClassName = "";
|
|
@@ -982,7 +982,7 @@ var registerStyles = function(cache, serialized, isStringTag) {
|
|
|
982
982
|
}
|
|
983
983
|
};
|
|
984
984
|
|
|
985
|
-
//
|
|
985
|
+
// ../../node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
986
986
|
function murmur2(str) {
|
|
987
987
|
for (var h = 0, k, i = 0, len = str.length; len >= 4; ++i, len -= 4)
|
|
988
988
|
k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24, k = /* Math.imul(k, m): */
|
|
@@ -1003,7 +1003,7 @@ function murmur2(str) {
|
|
|
1003
1003
|
(h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16), ((h ^ h >>> 15) >>> 0).toString(36);
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
|
-
//
|
|
1006
|
+
// ../../node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
1007
1007
|
var unitlessKeys = {
|
|
1008
1008
|
animationIterationCount: 1,
|
|
1009
1009
|
aspectRatio: 1,
|
|
@@ -1055,7 +1055,7 @@ var unitlessKeys = {
|
|
|
1055
1055
|
strokeWidth: 1
|
|
1056
1056
|
};
|
|
1057
1057
|
|
|
1058
|
-
//
|
|
1058
|
+
// ../../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
|
|
1059
1059
|
var isDevelopment2 = !1, hyphenateRegex = /[A-Z]|^ms/g, animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g, isCustomProperty = function(property) {
|
|
1060
1060
|
return property.charCodeAt(1) === 45;
|
|
1061
1061
|
}, isProcessableValue = function(value) {
|
|
@@ -1185,13 +1185,13 @@ function serializeStyles(args, registered, mergedProps) {
|
|
|
1185
1185
|
};
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
|
-
//
|
|
1188
|
+
// ../../node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js
|
|
1189
1189
|
import * as React from "react";
|
|
1190
1190
|
var syncFallback = function(create3) {
|
|
1191
1191
|
return create3();
|
|
1192
1192
|
}, useInsertionEffect2 = React.useInsertionEffect ? React.useInsertionEffect : !1, useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect2 || syncFallback, useInsertionEffectWithLayoutFallback = useInsertionEffect2 || React.useLayoutEffect;
|
|
1193
1193
|
|
|
1194
|
-
//
|
|
1194
|
+
// ../../node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js
|
|
1195
1195
|
var isDevelopment3 = !1, EmotionCacheContext = React2.createContext(
|
|
1196
1196
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1197
1197
|
// because this module is primarily intended for the browser and node
|
|
@@ -1263,7 +1263,7 @@ var hasOwn = {}.hasOwnProperty, typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE
|
|
|
1263
1263
|
}), React2.createElement(WrappedComponent, newProps));
|
|
1264
1264
|
}), Emotion$1 = Emotion;
|
|
1265
1265
|
|
|
1266
|
-
//
|
|
1266
|
+
// ../../node_modules/@emotion/react/dist/emotion-react.browser.esm.js
|
|
1267
1267
|
import * as React3 from "react";
|
|
1268
1268
|
var import_hoist_non_react_statics2 = __toESM(require_hoist_non_react_statics_cjs()), jsx = function(type, props) {
|
|
1269
1269
|
var args = arguments;
|
|
@@ -1381,10 +1381,10 @@ var Insertion3 = function(_ref) {
|
|
|
1381
1381
|
}), ele);
|
|
1382
1382
|
});
|
|
1383
1383
|
|
|
1384
|
-
//
|
|
1384
|
+
// ../../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js
|
|
1385
1385
|
import * as React4 from "react";
|
|
1386
1386
|
|
|
1387
|
-
//
|
|
1387
|
+
// ../../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
|
|
1388
1388
|
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, isPropValid = memoize(
|
|
1389
1389
|
function(prop) {
|
|
1390
1390
|
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 && prop.charCodeAt(1) === 110 && prop.charCodeAt(2) < 91;
|
|
@@ -1392,7 +1392,7 @@ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|def
|
|
|
1392
1392
|
/* Z+1 */
|
|
1393
1393
|
);
|
|
1394
1394
|
|
|
1395
|
-
//
|
|
1395
|
+
// ../../node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js
|
|
1396
1396
|
var isDevelopment4 = !1, testOmitPropsOnStringTag = isPropValid, testOmitPropsOnComponent = function(key) {
|
|
1397
1397
|
return key !== "theme";
|
|
1398
1398
|
}, getDefaultShouldForwardProp = function(tag) {
|
|
@@ -1461,7 +1461,7 @@ var isDevelopment4 = !1, testOmitPropsOnStringTag = isPropValid, testOmitPropsOn
|
|
|
1461
1461
|
};
|
|
1462
1462
|
};
|
|
1463
1463
|
|
|
1464
|
-
//
|
|
1464
|
+
// ../../node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js
|
|
1465
1465
|
import "react";
|
|
1466
1466
|
var tags = [
|
|
1467
1467
|
"a",
|
|
@@ -2066,11 +2066,11 @@ var lightSyntaxColors = {
|
|
|
2066
2066
|
// src/theming/ensure.ts
|
|
2067
2067
|
import { logger } from "storybook/internal/client-logger";
|
|
2068
2068
|
|
|
2069
|
-
//
|
|
2069
|
+
// ../../node_modules/deep-object-diff/mjs/utils.js
|
|
2070
2070
|
var isEmpty = (o) => Object.keys(o).length === 0, isObject = (o) => o != null && typeof o == "object", hasOwnProperty = (o, ...args) => Object.prototype.hasOwnProperty.call(o, ...args);
|
|
2071
2071
|
var makeObjectWithoutPrototype = () => /* @__PURE__ */ Object.create(null);
|
|
2072
2072
|
|
|
2073
|
-
//
|
|
2073
|
+
// ../../node_modules/deep-object-diff/mjs/deleted.js
|
|
2074
2074
|
var deletedDiff = (lhs, rhs) => lhs === rhs || !isObject(lhs) || !isObject(rhs) ? {} : Object.keys(lhs).reduce((acc, key) => {
|
|
2075
2075
|
if (hasOwnProperty(rhs, key)) {
|
|
2076
2076
|
let difference = deletedDiff(lhs[key], rhs[key]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "storybook",
|
|
3
|
-
"version": "10.2.0-alpha.
|
|
3
|
+
"version": "10.2.0-alpha.2",
|
|
4
4
|
"description": "Storybook: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -193,13 +193,6 @@
|
|
|
193
193
|
"README.md",
|
|
194
194
|
"!src/**/*"
|
|
195
195
|
],
|
|
196
|
-
"scripts": {
|
|
197
|
-
"check": "jiti ../../scripts/check/check-package.ts",
|
|
198
|
-
"prep": "jiti ../../scripts/build/build-package.ts"
|
|
199
|
-
},
|
|
200
|
-
"resolutions": {
|
|
201
|
-
"@testing-library/user-event": "patch:@testing-library/user-event@npm%3A14.6.1#~/../.yarn/patches/@testing-library-user-event-npm-14.6.1-5da7e1d4e2.patch"
|
|
202
|
-
},
|
|
203
196
|
"dependencies": {
|
|
204
197
|
"@storybook/global": "^5.0.0",
|
|
205
198
|
"@storybook/icons": "^2.0.0",
|
|
@@ -340,6 +333,7 @@
|
|
|
340
333
|
"unique-string": "^3.0.0",
|
|
341
334
|
"use-resize-observer": "^9.1.0",
|
|
342
335
|
"watchpack": "^2.2.0",
|
|
336
|
+
"wrap-ansi": "^9.0.2",
|
|
343
337
|
"zod": "^3.24.1"
|
|
344
338
|
},
|
|
345
339
|
"peerDependencies": {
|