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.
Files changed (108) hide show
  1. package/dist/_browser-chunks/Color-E5XDEOX4.js +484 -0
  2. package/dist/_browser-chunks/{WithTooltip-IO6J4KBT.js → WithTooltip-65CFNBJE.js} +70 -70
  3. package/dist/_browser-chunks/{chunk-45UGUKRX.js → chunk-242VQQM5.js} +1 -1
  4. package/dist/_browser-chunks/chunk-2NDLAB5X.js +363 -0
  5. package/dist/_browser-chunks/{chunk-JP7NCOJX.js → chunk-3LY4VQVK.js} +1 -1
  6. package/dist/_browser-chunks/{chunk-XJNX76GA.js → chunk-54PNNATT.js} +3 -20
  7. package/dist/_browser-chunks/{chunk-VYJQ7RU5.js → chunk-6QKNWBQB.js} +17 -17
  8. package/dist/_browser-chunks/chunk-CLSHX4VX.js +4140 -0
  9. package/dist/_browser-chunks/{chunk-2XZMBGTA.js → chunk-DOSERVNW.js} +1 -1
  10. package/dist/_browser-chunks/chunk-HPYUT3WS.js +199 -0
  11. package/dist/_browser-chunks/{chunk-BRX2HXH7.js → chunk-IH6QJILI.js} +1 -1
  12. package/dist/_browser-chunks/{chunk-AS2HQEYC.js → chunk-IWQGIXJS.js} +1 -1
  13. package/dist/_browser-chunks/{chunk-UD6FQLAF.js → chunk-JK6U3MQW.js} +3 -3
  14. package/dist/_browser-chunks/{chunk-CHUV5WSW.js → chunk-LE2LTDW3.js} +1 -1
  15. package/dist/_browser-chunks/{chunk-RP5RXKFU.js → chunk-MOYJJEXA.js} +38 -29
  16. package/dist/_browser-chunks/chunk-NZMVUW5T.js +7 -0
  17. package/dist/_browser-chunks/{chunk-AXG2BOBL.js → chunk-S6TK43XQ.js} +10 -10
  18. package/dist/_browser-chunks/{chunk-H6XK3RSC.js → chunk-UAYGIC3L.js} +6 -6
  19. package/dist/_browser-chunks/{chunk-YKE5S47A.js → chunk-V2VKKSMQ.js} +18 -18
  20. package/dist/_browser-chunks/chunk-VIJ7SQRO.js +568 -0
  21. package/dist/_browser-chunks/chunk-XCZK5QUJ.js +0 -0
  22. package/dist/_browser-chunks/{chunk-3OXGAGBE.js → chunk-XLJZ7AOP.js} +14 -14
  23. package/dist/_browser-chunks/{chunk-SS2NHR7W.js → chunk-Y6HZAT53.js} +10 -12
  24. package/dist/_browser-chunks/{chunk-P4F4UVXX.js → chunk-YKABRMAI.js} +15 -15
  25. package/dist/_browser-chunks/{chunk-WJYERY3R.js → chunk-ZCFV7BZB.js} +2 -2
  26. package/dist/_browser-chunks/{formatter-QJ4M4OGQ.js → formatter-EIJCOSYU.js} +2 -2
  27. package/dist/_browser-chunks/{syntaxhighlighter-IQDEPFLK.js → syntaxhighlighter-ED5Y7EFY.js} +119 -119
  28. package/dist/_node-chunks/{builder-manager-7Y5SBM27.js → builder-manager-ZK4QXZNX.js} +22 -22
  29. package/dist/_node-chunks/{camelcase-VIOG5GUK.js → camelcase-QWQG7I72.js} +8 -8
  30. package/dist/_node-chunks/{chunk-G2SSRQRU.js → chunk-2AFVBCGF.js} +6 -6
  31. package/dist/_node-chunks/{chunk-YS4ZBVQ2.js → chunk-5VZMCPTH.js} +18 -18
  32. package/dist/_node-chunks/{chunk-RZYKYZNC.js → chunk-6OZRMRVO.js} +31 -31
  33. package/dist/_node-chunks/chunk-CLCLRZYL.js +61 -0
  34. package/dist/_node-chunks/{chunk-6I6BDAIH.js → chunk-CW7HJRCY.js} +9 -9
  35. package/dist/_node-chunks/chunk-DF3QP62W.js +18 -0
  36. package/dist/_node-chunks/{chunk-RQYJV7HO.js → chunk-DWVHBQGR.js} +165 -191
  37. package/dist/_node-chunks/chunk-EVBCPGQO.js +20 -0
  38. package/dist/_node-chunks/{chunk-NSWP6O57.js → chunk-EXZXVBZO.js} +8 -8
  39. package/dist/_node-chunks/{chunk-46UKK4ME.js → chunk-FZFZ5TOM.js} +9 -9
  40. package/dist/_node-chunks/{chunk-IIAWDLTX.js → chunk-GKEAARBQ.js} +10 -10
  41. package/dist/_node-chunks/{chunk-RFI7ULWH.js → chunk-HMFROKHU.js} +19 -19
  42. package/dist/_node-chunks/{chunk-KKTHRW4D.js → chunk-I5TOD3AY.js} +66 -72
  43. package/dist/_node-chunks/{chunk-MTAECA6H.js → chunk-KVNLJSAB.js} +619 -148
  44. package/dist/_node-chunks/{chunk-DGCZNDMZ.js → chunk-NKOHF7TQ.js} +10 -10
  45. package/dist/_node-chunks/{chunk-4APIDVTW.js → chunk-OV2CP4VV.js} +7 -7
  46. package/dist/_node-chunks/chunk-PCMFKXWQ.js +23 -0
  47. package/dist/_node-chunks/{chunk-T3T35CKM.js → chunk-Q5ZQH2OQ.js} +15 -15
  48. package/dist/_node-chunks/{chunk-VMPPKUVU.js → chunk-QFSK4B7R.js} +8 -8
  49. package/dist/_node-chunks/{chunk-WOPURGV3.js → chunk-R2J3OB3H.js} +6 -6
  50. package/dist/_node-chunks/{chunk-UCXU3VCO.js → chunk-RGQC4G3L.js} +165 -21
  51. package/dist/_node-chunks/{chunk-KX2RIBIP.js → chunk-TOXVUAH2.js} +6 -6
  52. package/dist/_node-chunks/{chunk-XE4QTYSE.js → chunk-URBB5EGY.js} +8 -8
  53. package/dist/_node-chunks/{chunk-XCRYZZCA.js → chunk-UWJ4BOOL.js} +597 -593
  54. package/dist/_node-chunks/{chunk-RTFXQIIL.js → chunk-VJPI73BB.js} +230 -236
  55. package/dist/_node-chunks/{chunk-I7HQSEQK.js → chunk-WOS3OQVT.js} +6 -6
  56. package/dist/_node-chunks/{chunk-UGZX6OPP.js → chunk-WUKWNPSQ.js} +17 -17
  57. package/dist/_node-chunks/{chunk-2265F7MI.js → chunk-XFU23B4C.js} +9 -9
  58. package/dist/_node-chunks/{dist-GV3REIPT.js → dist-UBFMIJZC.js} +10 -10
  59. package/dist/_node-chunks/{globby-QE4LR4PT.js → globby-VD3CGPVI.js} +154 -154
  60. package/dist/_node-chunks/{lib-NXQ5B2WJ.js → lib-MMJB47J3.js} +16 -16
  61. package/dist/_node-chunks/{mdx-N42X6CFJ-IGCQXXC5.js → mdx-N42X6CFJ-3J2G7NZZ.js} +11 -11
  62. package/dist/_node-chunks/{p-limit-S2V3UH5Q.js → p-limit-SOBWTEVH.js} +8 -8
  63. package/dist/babel/index.js +10 -10
  64. package/dist/bin/core.js +28 -28
  65. package/dist/bin/dispatcher.js +11 -11
  66. package/dist/bin/loader.js +14 -11
  67. package/dist/channels/index.js +3 -3
  68. package/dist/cli/index.d.ts +2 -1
  69. package/dist/cli/index.js +18 -18
  70. package/dist/common/index.js +19 -19
  71. package/dist/components/index.d.ts +9 -2
  72. package/dist/components/index.js +327 -311
  73. package/dist/core-server/index.js +127 -127
  74. package/dist/core-server/presets/common-manager.css +2 -2
  75. package/dist/core-server/presets/common-manager.js +43 -38
  76. package/dist/core-server/presets/common-override-preset.js +9 -9
  77. package/dist/core-server/presets/common-preset.js +4390 -173
  78. package/dist/csf/index.js +39 -35
  79. package/dist/csf-tools/index.js +9 -9
  80. package/dist/docs-tools/index.js +6 -5
  81. package/dist/instrumenter/index.js +1 -1
  82. package/dist/manager/globals-runtime.js +18956 -12602
  83. package/dist/manager/runtime.js +148 -132
  84. package/dist/manager-api/index.js +31 -22
  85. package/dist/mocking-utils/index.js +14 -14
  86. package/dist/node-logger/index.d.ts +2 -2
  87. package/dist/node-logger/index.js +9 -9
  88. package/dist/preview/runtime.js +30784 -24388
  89. package/dist/preview-api/index.js +12 -11
  90. package/dist/preview-errors.js +2 -2
  91. package/dist/router/index.js +12 -13
  92. package/dist/server-errors.js +11 -11
  93. package/dist/telemetry/index.d.ts +1 -1
  94. package/dist/telemetry/index.js +23 -23
  95. package/dist/test/index.js +3104 -1604
  96. package/dist/theming/create.js +3 -3
  97. package/dist/theming/index.js +38 -38
  98. package/package.json +2 -8
  99. package/dist/_browser-chunks/Color-TNPFN3FC.js +0 -1097
  100. package/dist/_browser-chunks/chunk-3IAH5M2U.js +0 -171
  101. package/dist/_browser-chunks/chunk-AIOS4NGK.js +0 -252
  102. package/dist/_browser-chunks/chunk-EZSQOHRI.js +0 -18
  103. package/dist/_browser-chunks/chunk-GFLS4VP3.js +0 -64
  104. package/dist/_browser-chunks/chunk-QKODTO7K.js +0 -7
  105. package/dist/_node-chunks/chunk-5JSWIKE2.js +0 -18
  106. package/dist/_node-chunks/chunk-BJMYJWGF.js +0 -20
  107. package/dist/_node-chunks/chunk-BYYI4JA6.js +0 -61
  108. package/dist/_node-chunks/chunk-RQ4GZHOA.js +0 -23
@@ -1,171 +0,0 @@
1
- import {
2
- noop
3
- } from "./chunk-QKODTO7K.js";
4
- import {
5
- argumentsTag,
6
- arrayBufferTag,
7
- arrayTag,
8
- bigInt64ArrayTag,
9
- bigUint64ArrayTag,
10
- booleanTag,
11
- dataViewTag,
12
- dateTag,
13
- errorTag,
14
- float32ArrayTag,
15
- float64ArrayTag,
16
- functionTag,
17
- getSymbols,
18
- getTag,
19
- int16ArrayTag,
20
- int32ArrayTag,
21
- int8ArrayTag,
22
- isPlainObject,
23
- mapTag,
24
- numberTag,
25
- objectTag,
26
- regexpTag,
27
- setTag,
28
- stringTag,
29
- symbolTag,
30
- uint16ArrayTag,
31
- uint32ArrayTag,
32
- uint8ArrayTag,
33
- uint8ClampedArrayTag
34
- } from "./chunk-GFLS4VP3.js";
35
-
36
- // ../node_modules/es-toolkit/dist/compat/util/eq.mjs
37
- function eq(value, other) {
38
- return value === other || Number.isNaN(value) && Number.isNaN(other);
39
- }
40
-
41
- // ../node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
42
- function isEqualWith(a, b, areValuesEqual) {
43
- return isEqualWithImpl(a, b, void 0, void 0, void 0, void 0, areValuesEqual);
44
- }
45
- function isEqualWithImpl(a, b, property, aParent, bParent, stack, areValuesEqual) {
46
- let result = areValuesEqual(a, b, property, aParent, bParent, stack);
47
- if (result !== void 0)
48
- return result;
49
- if (typeof a == typeof b)
50
- switch (typeof a) {
51
- case "bigint":
52
- case "string":
53
- case "boolean":
54
- case "symbol":
55
- case "undefined":
56
- return a === b;
57
- case "number":
58
- return a === b || Object.is(a, b);
59
- case "function":
60
- return a === b;
61
- case "object":
62
- return areObjectsEqual(a, b, stack, areValuesEqual);
63
- }
64
- return areObjectsEqual(a, b, stack, areValuesEqual);
65
- }
66
- function areObjectsEqual(a, b, stack, areValuesEqual) {
67
- if (Object.is(a, b))
68
- return !0;
69
- let aTag = getTag(a), bTag = getTag(b);
70
- if (aTag === argumentsTag && (aTag = objectTag), bTag === argumentsTag && (bTag = objectTag), aTag !== bTag)
71
- return !1;
72
- switch (aTag) {
73
- case stringTag:
74
- return a.toString() === b.toString();
75
- case numberTag: {
76
- let x = a.valueOf(), y = b.valueOf();
77
- return eq(x, y);
78
- }
79
- case booleanTag:
80
- case dateTag:
81
- case symbolTag:
82
- return Object.is(a.valueOf(), b.valueOf());
83
- case regexpTag:
84
- return a.source === b.source && a.flags === b.flags;
85
- case functionTag:
86
- return a === b;
87
- }
88
- stack = stack ?? /* @__PURE__ */ new Map();
89
- let aStack = stack.get(a), bStack = stack.get(b);
90
- if (aStack != null && bStack != null)
91
- return aStack === b;
92
- stack.set(a, b), stack.set(b, a);
93
- try {
94
- switch (aTag) {
95
- case mapTag: {
96
- if (a.size !== b.size)
97
- return !1;
98
- for (let [key, value] of a.entries())
99
- if (!b.has(key) || !isEqualWithImpl(value, b.get(key), key, a, b, stack, areValuesEqual))
100
- return !1;
101
- return !0;
102
- }
103
- case setTag: {
104
- if (a.size !== b.size)
105
- return !1;
106
- let aValues = Array.from(a.values()), bValues = Array.from(b.values());
107
- for (let i = 0; i < aValues.length; i++) {
108
- let aValue = aValues[i], index = bValues.findIndex((bValue) => isEqualWithImpl(aValue, bValue, void 0, a, b, stack, areValuesEqual));
109
- if (index === -1)
110
- return !1;
111
- bValues.splice(index, 1);
112
- }
113
- return !0;
114
- }
115
- case arrayTag:
116
- case uint8ArrayTag:
117
- case uint8ClampedArrayTag:
118
- case uint16ArrayTag:
119
- case uint32ArrayTag:
120
- case bigUint64ArrayTag:
121
- case int8ArrayTag:
122
- case int16ArrayTag:
123
- case int32ArrayTag:
124
- case bigInt64ArrayTag:
125
- case float32ArrayTag:
126
- case float64ArrayTag: {
127
- if (typeof Buffer < "u" && Buffer.isBuffer(a) !== Buffer.isBuffer(b) || a.length !== b.length)
128
- return !1;
129
- for (let i = 0; i < a.length; i++)
130
- if (!isEqualWithImpl(a[i], b[i], i, a, b, stack, areValuesEqual))
131
- return !1;
132
- return !0;
133
- }
134
- case arrayBufferTag:
135
- return a.byteLength !== b.byteLength ? !1 : areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);
136
- case dataViewTag:
137
- return a.byteLength !== b.byteLength || a.byteOffset !== b.byteOffset ? !1 : areObjectsEqual(new Uint8Array(a), new Uint8Array(b), stack, areValuesEqual);
138
- case errorTag:
139
- return a.name === b.name && a.message === b.message;
140
- case objectTag: {
141
- if (!(areObjectsEqual(a.constructor, b.constructor, stack, areValuesEqual) || isPlainObject(a) && isPlainObject(b)))
142
- return !1;
143
- let aKeys = [...Object.keys(a), ...getSymbols(a)], bKeys = [...Object.keys(b), ...getSymbols(b)];
144
- if (aKeys.length !== bKeys.length)
145
- return !1;
146
- for (let i = 0; i < aKeys.length; i++) {
147
- let propKey = aKeys[i], aProp = a[propKey];
148
- if (!Object.hasOwn(b, propKey))
149
- return !1;
150
- let bProp = b[propKey];
151
- if (!isEqualWithImpl(aProp, bProp, propKey, a, b, stack, areValuesEqual))
152
- return !1;
153
- }
154
- return !0;
155
- }
156
- default:
157
- return !1;
158
- }
159
- } finally {
160
- stack.delete(a), stack.delete(b);
161
- }
162
- }
163
-
164
- // ../node_modules/es-toolkit/dist/predicate/isEqual.mjs
165
- function isEqual(a, b) {
166
- return isEqualWith(a, b, noop);
167
- }
168
-
169
- export {
170
- isEqual
171
- };
@@ -1,252 +0,0 @@
1
- import {
2
- argumentsTag,
3
- arrayBufferTag,
4
- arrayTag,
5
- booleanTag,
6
- dataViewTag,
7
- dateTag,
8
- float32ArrayTag,
9
- float64ArrayTag,
10
- getSymbols,
11
- getTag,
12
- int16ArrayTag,
13
- int32ArrayTag,
14
- int8ArrayTag,
15
- isPlainObject,
16
- isPrimitive,
17
- isTypedArray,
18
- mapTag,
19
- numberTag,
20
- objectTag,
21
- regexpTag,
22
- setTag,
23
- stringTag,
24
- symbolTag,
25
- uint16ArrayTag,
26
- uint32ArrayTag,
27
- uint8ArrayTag,
28
- uint8ClampedArrayTag
29
- } from "./chunk-GFLS4VP3.js";
30
-
31
- // ../node_modules/es-toolkit/dist/object/mapValues.mjs
32
- function mapValues(object, getNewValue) {
33
- let result = {}, keys = Object.keys(object);
34
- for (let i = 0; i < keys.length; i++) {
35
- let key = keys[i], value = object[key];
36
- result[key] = getNewValue(value, key, object);
37
- }
38
- return result;
39
- }
40
-
41
- // ../node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
42
- function isUnsafeProperty(key) {
43
- return key === "__proto__";
44
- }
45
-
46
- // ../node_modules/es-toolkit/dist/object/mergeWith.mjs
47
- function mergeWith(target, source, merge2) {
48
- let sourceKeys = Object.keys(source);
49
- for (let i = 0; i < sourceKeys.length; i++) {
50
- let key = sourceKeys[i];
51
- if (isUnsafeProperty(key))
52
- continue;
53
- let sourceValue = source[key], targetValue = target[key], merged = merge2(targetValue, sourceValue, key, target, source);
54
- merged !== void 0 ? target[key] = merged : Array.isArray(sourceValue) ? Array.isArray(targetValue) ? target[key] = mergeWith(targetValue, sourceValue, merge2) : target[key] = mergeWith([], sourceValue, merge2) : isPlainObject(sourceValue) ? isPlainObject(targetValue) ? target[key] = mergeWith(targetValue, sourceValue, merge2) : target[key] = mergeWith({}, sourceValue, merge2) : (targetValue === void 0 || sourceValue !== void 0) && (target[key] = sourceValue);
55
- }
56
- return target;
57
- }
58
-
59
- // ../node_modules/es-toolkit/dist/object/pick.mjs
60
- function pick(obj, keys) {
61
- let result = {};
62
- for (let i = 0; i < keys.length; i++) {
63
- let key = keys[i];
64
- Object.hasOwn(obj, key) && (result[key] = obj[key]);
65
- }
66
- return result;
67
- }
68
-
69
- // ../node_modules/es-toolkit/dist/object/pickBy.mjs
70
- function pickBy(obj, shouldPick) {
71
- let result = {}, keys = Object.keys(obj);
72
- for (let i = 0; i < keys.length; i++) {
73
- let key = keys[i], value = obj[key];
74
- shouldPick(value, key) && (result[key] = value);
75
- }
76
- return result;
77
- }
78
-
79
- // ../node_modules/es-toolkit/dist/object/clone.mjs
80
- function clone(obj) {
81
- if (isPrimitive(obj))
82
- return obj;
83
- if (Array.isArray(obj) || isTypedArray(obj) || obj instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && obj instanceof SharedArrayBuffer)
84
- return obj.slice(0);
85
- let prototype = Object.getPrototypeOf(obj), Constructor = prototype.constructor;
86
- if (obj instanceof Date || obj instanceof Map || obj instanceof Set)
87
- return new Constructor(obj);
88
- if (obj instanceof RegExp) {
89
- let newRegExp = new Constructor(obj);
90
- return newRegExp.lastIndex = obj.lastIndex, newRegExp;
91
- }
92
- if (obj instanceof DataView)
93
- return new Constructor(obj.buffer.slice(0));
94
- if (obj instanceof Error) {
95
- let newError = new Constructor(obj.message);
96
- return newError.stack = obj.stack, newError.name = obj.name, newError.cause = obj.cause, newError;
97
- }
98
- if (typeof File < "u" && obj instanceof File)
99
- return new Constructor([obj], obj.name, { type: obj.type, lastModified: obj.lastModified });
100
- if (typeof obj == "object") {
101
- let newObject = Object.create(prototype);
102
- return Object.assign(newObject, obj);
103
- }
104
- return obj;
105
- }
106
-
107
- // ../node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
108
- function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @__PURE__ */ new Map(), cloneValue = void 0) {
109
- let cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);
110
- if (cloned !== void 0)
111
- return cloned;
112
- if (isPrimitive(valueToClone))
113
- return valueToClone;
114
- if (stack.has(valueToClone))
115
- return stack.get(valueToClone);
116
- if (Array.isArray(valueToClone)) {
117
- let result = new Array(valueToClone.length);
118
- stack.set(valueToClone, result);
119
- for (let i = 0; i < valueToClone.length; i++)
120
- result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
121
- return Object.hasOwn(valueToClone, "index") && (result.index = valueToClone.index), Object.hasOwn(valueToClone, "input") && (result.input = valueToClone.input), result;
122
- }
123
- if (valueToClone instanceof Date)
124
- return new Date(valueToClone.getTime());
125
- if (valueToClone instanceof RegExp) {
126
- let result = new RegExp(valueToClone.source, valueToClone.flags);
127
- return result.lastIndex = valueToClone.lastIndex, result;
128
- }
129
- if (valueToClone instanceof Map) {
130
- let result = /* @__PURE__ */ new Map();
131
- stack.set(valueToClone, result);
132
- for (let [key, value] of valueToClone)
133
- result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
134
- return result;
135
- }
136
- if (valueToClone instanceof Set) {
137
- let result = /* @__PURE__ */ new Set();
138
- stack.set(valueToClone, result);
139
- for (let value of valueToClone)
140
- result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
141
- return result;
142
- }
143
- if (typeof Buffer < "u" && Buffer.isBuffer(valueToClone))
144
- return valueToClone.subarray();
145
- if (isTypedArray(valueToClone)) {
146
- let result = new (Object.getPrototypeOf(valueToClone)).constructor(valueToClone.length);
147
- stack.set(valueToClone, result);
148
- for (let i = 0; i < valueToClone.length; i++)
149
- result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
150
- return result;
151
- }
152
- if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && valueToClone instanceof SharedArrayBuffer)
153
- return valueToClone.slice(0);
154
- if (valueToClone instanceof DataView) {
155
- let result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
156
- return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
157
- }
158
- if (typeof File < "u" && valueToClone instanceof File) {
159
- let result = new File([valueToClone], valueToClone.name, {
160
- type: valueToClone.type
161
- });
162
- return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
163
- }
164
- if (typeof Blob < "u" && valueToClone instanceof Blob) {
165
- let result = new Blob([valueToClone], { type: valueToClone.type });
166
- return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
167
- }
168
- if (valueToClone instanceof Error) {
169
- let result = new valueToClone.constructor();
170
- return stack.set(valueToClone, result), result.message = valueToClone.message, result.name = valueToClone.name, result.stack = valueToClone.stack, result.cause = valueToClone.cause, copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
171
- }
172
- if (valueToClone instanceof Boolean) {
173
- let result = new Boolean(valueToClone.valueOf());
174
- return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
175
- }
176
- if (valueToClone instanceof Number) {
177
- let result = new Number(valueToClone.valueOf());
178
- return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
179
- }
180
- if (valueToClone instanceof String) {
181
- let result = new String(valueToClone.valueOf());
182
- return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
183
- }
184
- if (typeof valueToClone == "object" && isCloneableObject(valueToClone)) {
185
- let result = Object.create(Object.getPrototypeOf(valueToClone));
186
- return stack.set(valueToClone, result), copyProperties(result, valueToClone, objectToClone, stack, cloneValue), result;
187
- }
188
- return valueToClone;
189
- }
190
- function copyProperties(target, source, objectToClone = target, stack, cloneValue) {
191
- let keys = [...Object.keys(source), ...getSymbols(source)];
192
- for (let i = 0; i < keys.length; i++) {
193
- let key = keys[i], descriptor = Object.getOwnPropertyDescriptor(target, key);
194
- (descriptor == null || descriptor.writable) && (target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue));
195
- }
196
- }
197
- function isCloneableObject(object) {
198
- switch (getTag(object)) {
199
- case argumentsTag:
200
- case arrayTag:
201
- case arrayBufferTag:
202
- case dataViewTag:
203
- case booleanTag:
204
- case dateTag:
205
- case float32ArrayTag:
206
- case float64ArrayTag:
207
- case int8ArrayTag:
208
- case int16ArrayTag:
209
- case int32ArrayTag:
210
- case mapTag:
211
- case numberTag:
212
- case objectTag:
213
- case regexpTag:
214
- case setTag:
215
- case stringTag:
216
- case symbolTag:
217
- case uint8ArrayTag:
218
- case uint8ClampedArrayTag:
219
- case uint16ArrayTag:
220
- case uint32ArrayTag:
221
- return !0;
222
- default:
223
- return !1;
224
- }
225
- }
226
-
227
- // ../node_modules/es-toolkit/dist/object/cloneDeep.mjs
228
- function cloneDeep(obj) {
229
- return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), void 0);
230
- }
231
-
232
- // ../node_modules/es-toolkit/dist/string/words.mjs
233
- var CASE_SPLIT_PATTERN = new RegExp("\\p{Lu}?\\p{Ll}+|[0-9]+|\\p{Lu}+(?!\\p{Ll})|\\p{Emoji_Presentation}|\\p{Extended_Pictographic}|\\p{L}+", "gu");
234
-
235
- // ../node_modules/es-toolkit/dist/object/toMerged.mjs
236
- function toMerged(target, source) {
237
- return mergeWith(clone(target), source, function mergeRecursively(targetValue, sourceValue) {
238
- if (Array.isArray(sourceValue))
239
- return Array.isArray(targetValue) ? mergeWith(clone(targetValue), sourceValue, mergeRecursively) : mergeWith([], sourceValue, mergeRecursively);
240
- if (isPlainObject(sourceValue))
241
- return isPlainObject(targetValue) ? mergeWith(clone(targetValue), sourceValue, mergeRecursively) : mergeWith({}, sourceValue, mergeRecursively);
242
- });
243
- }
244
-
245
- export {
246
- cloneDeep,
247
- mapValues,
248
- mergeWith,
249
- pick,
250
- pickBy,
251
- toMerged
252
- };
@@ -1,18 +0,0 @@
1
- import {
2
- __commonJS
3
- } from "./chunk-A242L54C.js";
4
-
5
- // ../node_modules/picocolors/picocolors.browser.js
6
- var require_picocolors_browser = __commonJS({
7
- "../node_modules/picocolors/picocolors.browser.js"(exports, module) {
8
- var x = String, create = function() {
9
- return { isColorSupported: !1, reset: x, bold: x, dim: x, italic: x, underline: x, inverse: x, hidden: x, strikethrough: x, black: x, red: x, green: x, yellow: x, blue: x, magenta: x, cyan: x, white: x, gray: x, bgBlack: x, bgRed: x, bgGreen: x, bgYellow: x, bgBlue: x, bgMagenta: x, bgCyan: x, bgWhite: x, blackBright: x, redBright: x, greenBright: x, yellowBright: x, blueBright: x, magentaBright: x, cyanBright: x, whiteBright: x, bgBlackBright: x, bgRedBright: x, bgGreenBright: x, bgYellowBright: x, bgBlueBright: x, bgMagentaBright: x, bgCyanBright: x, bgWhiteBright: x };
10
- };
11
- module.exports = create();
12
- module.exports.createColors = create;
13
- }
14
- });
15
-
16
- export {
17
- require_picocolors_browser
18
- };
@@ -1,64 +0,0 @@
1
- // ../node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
2
- function isPlainObject(value) {
3
- if (!value || typeof value != "object")
4
- return !1;
5
- let proto = Object.getPrototypeOf(value);
6
- return proto === null || proto === Object.prototype || Object.getPrototypeOf(proto) === null ? Object.prototype.toString.call(value) === "[object Object]" : !1;
7
- }
8
-
9
- // ../node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
10
- function isPrimitive(value) {
11
- return value == null || typeof value != "object" && typeof value != "function";
12
- }
13
-
14
- // ../node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
15
- function isTypedArray(x) {
16
- return ArrayBuffer.isView(x) && !(x instanceof DataView);
17
- }
18
-
19
- // ../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
20
- function getSymbols(object) {
21
- return Object.getOwnPropertySymbols(object).filter((symbol) => Object.prototype.propertyIsEnumerable.call(object, symbol));
22
- }
23
-
24
- // ../node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
25
- function getTag(value) {
26
- return value == null ? value === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(value);
27
- }
28
-
29
- // ../node_modules/es-toolkit/dist/compat/_internal/tags.mjs
30
- var regexpTag = "[object RegExp]", stringTag = "[object String]", numberTag = "[object Number]", booleanTag = "[object Boolean]", argumentsTag = "[object Arguments]", symbolTag = "[object Symbol]", dateTag = "[object Date]", mapTag = "[object Map]", setTag = "[object Set]", arrayTag = "[object Array]", functionTag = "[object Function]", arrayBufferTag = "[object ArrayBuffer]", objectTag = "[object Object]", errorTag = "[object Error]", dataViewTag = "[object DataView]", uint8ArrayTag = "[object Uint8Array]", uint8ClampedArrayTag = "[object Uint8ClampedArray]", uint16ArrayTag = "[object Uint16Array]", uint32ArrayTag = "[object Uint32Array]", bigUint64ArrayTag = "[object BigUint64Array]", int8ArrayTag = "[object Int8Array]", int16ArrayTag = "[object Int16Array]", int32ArrayTag = "[object Int32Array]", bigInt64ArrayTag = "[object BigInt64Array]", float32ArrayTag = "[object Float32Array]", float64ArrayTag = "[object Float64Array]";
31
-
32
- export {
33
- isPrimitive,
34
- isTypedArray,
35
- getSymbols,
36
- getTag,
37
- regexpTag,
38
- stringTag,
39
- numberTag,
40
- booleanTag,
41
- argumentsTag,
42
- symbolTag,
43
- dateTag,
44
- mapTag,
45
- setTag,
46
- arrayTag,
47
- functionTag,
48
- arrayBufferTag,
49
- objectTag,
50
- errorTag,
51
- dataViewTag,
52
- uint8ArrayTag,
53
- uint8ClampedArrayTag,
54
- uint16ArrayTag,
55
- uint32ArrayTag,
56
- bigUint64ArrayTag,
57
- int8ArrayTag,
58
- int16ArrayTag,
59
- int32ArrayTag,
60
- bigInt64ArrayTag,
61
- float32ArrayTag,
62
- float64ArrayTag,
63
- isPlainObject
64
- };
@@ -1,7 +0,0 @@
1
- // ../node_modules/es-toolkit/dist/function/noop.mjs
2
- function noop() {
3
- }
4
-
5
- export {
6
- noop
7
- };
@@ -1,18 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_skf7bajczt8 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_skf7bajczt8 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_skf7bajczt8 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_skf7bajczt8.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_skf7bajczt8.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_skf7bajczt8.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // package.json
14
- var version = "10.2.0-alpha.0";
15
-
16
- export {
17
- version
18
- };
@@ -1,20 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_skf7bajczt8 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_skf7bajczt8 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_skf7bajczt8 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_skf7bajczt8.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_skf7bajczt8.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_skf7bajczt8.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // ../node_modules/slash/index.js
14
- function slash(path) {
15
- return path.startsWith("\\\\?\\") ? path : path.replace(/\\/g, "/");
16
- }
17
-
18
- export {
19
- slash
20
- };
@@ -1,61 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_skf7bajczt8 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_skf7bajczt8 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_skf7bajczt8 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_skf7bajczt8.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_skf7bajczt8.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_skf7bajczt8.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // src/common/versions.ts
14
- var versions_default = {
15
- "@storybook/addon-a11y": "10.2.0-alpha.0",
16
- "@storybook/addon-docs": "10.2.0-alpha.0",
17
- "@storybook/addon-links": "10.2.0-alpha.0",
18
- "@storybook/addon-onboarding": "10.2.0-alpha.0",
19
- "storybook-addon-pseudo-states": "10.2.0-alpha.0",
20
- "@storybook/addon-themes": "10.2.0-alpha.0",
21
- "@storybook/addon-vitest": "10.2.0-alpha.0",
22
- "@storybook/builder-vite": "10.2.0-alpha.0",
23
- "@storybook/builder-webpack5": "10.2.0-alpha.0",
24
- storybook: "10.2.0-alpha.0",
25
- "@storybook/angular": "10.2.0-alpha.0",
26
- "@storybook/ember": "10.2.0-alpha.0",
27
- "@storybook/html-vite": "10.2.0-alpha.0",
28
- "@storybook/nextjs": "10.2.0-alpha.0",
29
- "@storybook/nextjs-vite": "10.2.0-alpha.0",
30
- "@storybook/preact-vite": "10.2.0-alpha.0",
31
- "@storybook/react-native-web-vite": "10.2.0-alpha.0",
32
- "@storybook/react-vite": "10.2.0-alpha.0",
33
- "@storybook/react-webpack5": "10.2.0-alpha.0",
34
- "@storybook/server-webpack5": "10.2.0-alpha.0",
35
- "@storybook/svelte-vite": "10.2.0-alpha.0",
36
- "@storybook/sveltekit": "10.2.0-alpha.0",
37
- "@storybook/vue3-vite": "10.2.0-alpha.0",
38
- "@storybook/web-components-vite": "10.2.0-alpha.0",
39
- sb: "10.2.0-alpha.0",
40
- "@storybook/cli": "10.2.0-alpha.0",
41
- "@storybook/codemod": "10.2.0-alpha.0",
42
- "@storybook/core-webpack": "10.2.0-alpha.0",
43
- "create-storybook": "10.2.0-alpha.0",
44
- "@storybook/csf-plugin": "10.2.0-alpha.0",
45
- "eslint-plugin-storybook": "10.2.0-alpha.0",
46
- "@storybook/react-dom-shim": "10.2.0-alpha.0",
47
- "@storybook/preset-create-react-app": "10.2.0-alpha.0",
48
- "@storybook/preset-react-webpack": "10.2.0-alpha.0",
49
- "@storybook/preset-server-webpack": "10.2.0-alpha.0",
50
- "@storybook/html": "10.2.0-alpha.0",
51
- "@storybook/preact": "10.2.0-alpha.0",
52
- "@storybook/react": "10.2.0-alpha.0",
53
- "@storybook/server": "10.2.0-alpha.0",
54
- "@storybook/svelte": "10.2.0-alpha.0",
55
- "@storybook/vue3": "10.2.0-alpha.0",
56
- "@storybook/web-components": "10.2.0-alpha.0"
57
- };
58
-
59
- export {
60
- versions_default
61
- };
@@ -1,23 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_skf7bajczt8 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_skf7bajczt8 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_skf7bajczt8 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_skf7bajczt8.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_skf7bajczt8.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_skf7bajczt8.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- any
14
- } from "./chunk-IIAWDLTX.js";
15
-
16
- // src/cli/detect.ts
17
- async function detectPnp() {
18
- return !!any([".pnp.js", ".pnp.cjs"]);
19
- }
20
-
21
- export {
22
- detectPnp
23
- };