storybook 10.2.0-alpha.1 → 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-LXL5N6M5.js → builder-manager-ZK4QXZNX.js} +22 -22
- package/dist/_node-chunks/{camelcase-64II7H4U.js → camelcase-QWQG7I72.js} +8 -8
- package/dist/_node-chunks/{chunk-R3WYNAT5.js → chunk-2AFVBCGF.js} +6 -6
- package/dist/_node-chunks/{chunk-F7377GT2.js → chunk-5VZMCPTH.js} +18 -18
- package/dist/_node-chunks/{chunk-KXDU466E.js → chunk-6OZRMRVO.js} +31 -31
- package/dist/_node-chunks/chunk-CLCLRZYL.js +61 -0
- package/dist/_node-chunks/{chunk-AJUO2ZU3.js → chunk-CW7HJRCY.js} +9 -9
- package/dist/_node-chunks/chunk-DF3QP62W.js +18 -0
- package/dist/_node-chunks/{chunk-4BQMSZKI.js → chunk-DWVHBQGR.js} +165 -191
- package/dist/_node-chunks/chunk-EVBCPGQO.js +20 -0
- package/dist/_node-chunks/{chunk-5GNBLJKS.js → chunk-EXZXVBZO.js} +8 -8
- package/dist/_node-chunks/{chunk-VR5LMO3F.js → chunk-FZFZ5TOM.js} +9 -9
- package/dist/_node-chunks/{chunk-4EZYJUAC.js → chunk-GKEAARBQ.js} +10 -10
- package/dist/_node-chunks/{chunk-KMTK5W6O.js → chunk-HMFROKHU.js} +19 -19
- package/dist/_node-chunks/{chunk-JYMZJCZ7.js → chunk-I5TOD3AY.js} +66 -72
- package/dist/_node-chunks/{chunk-FTR6MHOX.js → chunk-KVNLJSAB.js} +619 -148
- package/dist/_node-chunks/{chunk-ET4VMMZG.js → chunk-NKOHF7TQ.js} +10 -10
- package/dist/_node-chunks/{chunk-PGFQADZC.js → chunk-OV2CP4VV.js} +7 -7
- package/dist/_node-chunks/chunk-PCMFKXWQ.js +23 -0
- package/dist/_node-chunks/{chunk-LEDV47V2.js → chunk-Q5ZQH2OQ.js} +15 -15
- package/dist/_node-chunks/{chunk-77APSTTM.js → chunk-QFSK4B7R.js} +8 -8
- package/dist/_node-chunks/{chunk-TP6ICLTL.js → chunk-R2J3OB3H.js} +6 -6
- package/dist/_node-chunks/{chunk-GOOBGRAV.js → chunk-RGQC4G3L.js} +165 -21
- package/dist/_node-chunks/{chunk-5NWCBUGD.js → chunk-TOXVUAH2.js} +6 -6
- package/dist/_node-chunks/{chunk-SR5ZYD7K.js → chunk-URBB5EGY.js} +8 -8
- package/dist/_node-chunks/{chunk-TX77W2KY.js → chunk-UWJ4BOOL.js} +597 -593
- package/dist/_node-chunks/{chunk-CLNMK7MP.js → chunk-VJPI73BB.js} +230 -236
- package/dist/_node-chunks/{chunk-ZI2RAI3I.js → chunk-WOS3OQVT.js} +6 -6
- package/dist/_node-chunks/{chunk-VFTNRF5X.js → chunk-WUKWNPSQ.js} +17 -17
- package/dist/_node-chunks/{chunk-GYZQMMTN.js → chunk-XFU23B4C.js} +9 -9
- package/dist/_node-chunks/{dist-HGQ5R6JU.js → dist-UBFMIJZC.js} +10 -10
- package/dist/_node-chunks/{globby-5XJTXKUJ.js → globby-VD3CGPVI.js} +154 -154
- package/dist/_node-chunks/{lib-XNLTS2RI.js → lib-MMJB47J3.js} +16 -16
- package/dist/_node-chunks/{mdx-N42X6CFJ-7WF3QWVO.js → mdx-N42X6CFJ-3J2G7NZZ.js} +11 -11
- package/dist/_node-chunks/{p-limit-RBKYTJKF.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 +125 -125
- 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-COQ27OZ3.js +0 -61
- package/dist/_node-chunks/chunk-MC2R4DSD.js +0 -20
- package/dist/_node-chunks/chunk-NEENMS4J.js +0 -18
- package/dist/_node-chunks/chunk-XEPVDCRL.js +0 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* ../../node_modules/@devtools-ds/tree/dist/main.css */
|
|
2
2
|
.Tree-tree-fbbbe38 {
|
|
3
3
|
width: 100%;
|
|
4
4
|
font-family: Menlo, monospace;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
--arrowColor:#B7B7B7;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
/*
|
|
72
|
+
/* ../../node_modules/@devtools-ds/object-inspector/dist/main.css */
|
|
73
73
|
.ObjectInspector-object-inspector-0c33e82 {
|
|
74
74
|
width: 100%;
|
|
75
75
|
font-family: Menlo, monospace;
|
|
@@ -5,12 +5,11 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
_defineProperty,
|
|
7
7
|
_objectWithoutProperties
|
|
8
|
-
} from "../../_browser-chunks/chunk-
|
|
9
|
-
import "../../_browser-chunks/chunk-
|
|
8
|
+
} from "../../_browser-chunks/chunk-UAYGIC3L.js";
|
|
9
|
+
import "../../_browser-chunks/chunk-242VQQM5.js";
|
|
10
10
|
import {
|
|
11
|
-
dequal
|
|
12
|
-
|
|
13
|
-
} from "../../_browser-chunks/chunk-XJNX76GA.js";
|
|
11
|
+
dequal
|
|
12
|
+
} from "../../_browser-chunks/chunk-54PNNATT.js";
|
|
14
13
|
import {
|
|
15
14
|
ADDON_ID as ADDON_ID3,
|
|
16
15
|
ADDON_ID2 as ADDON_ID4,
|
|
@@ -26,24 +25,27 @@ import {
|
|
|
26
25
|
curriedOpacify$1,
|
|
27
26
|
curriedTransparentize$1,
|
|
28
27
|
rgba
|
|
29
|
-
} from "../../_browser-chunks/chunk-
|
|
28
|
+
} from "../../_browser-chunks/chunk-S6TK43XQ.js";
|
|
30
29
|
import {
|
|
31
30
|
_extends
|
|
32
|
-
} from "../../_browser-chunks/chunk-
|
|
31
|
+
} from "../../_browser-chunks/chunk-LE2LTDW3.js";
|
|
33
32
|
import {
|
|
34
33
|
EVENTS
|
|
35
34
|
} from "../../_browser-chunks/chunk-ZUWEVLDX.js";
|
|
36
35
|
import {
|
|
37
36
|
require_ansi_to_html
|
|
38
|
-
} from "../../_browser-chunks/chunk-
|
|
37
|
+
} from "../../_browser-chunks/chunk-V2VKKSMQ.js";
|
|
39
38
|
import {
|
|
40
39
|
cloneDeep,
|
|
41
|
-
pickBy
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
pickBy,
|
|
41
|
+
uniq
|
|
42
|
+
} from "../../_browser-chunks/chunk-CLSHX4VX.js";
|
|
43
|
+
import "../../_browser-chunks/chunk-HPYUT3WS.js";
|
|
44
|
+
import "../../_browser-chunks/chunk-2NDLAB5X.js";
|
|
45
|
+
import "../../_browser-chunks/chunk-NZMVUW5T.js";
|
|
44
46
|
import {
|
|
45
47
|
require_memoizerific
|
|
46
|
-
} from "../../_browser-chunks/chunk-
|
|
48
|
+
} from "../../_browser-chunks/chunk-ZCFV7BZB.js";
|
|
47
49
|
import {
|
|
48
50
|
ADDON_ID,
|
|
49
51
|
CLEAR_ID,
|
|
@@ -119,7 +121,7 @@ var Wrapper = styled.div(withReset, ({ theme: theme3 }) => ({
|
|
|
119
121
|
import React20, { useState as useState8 } from "react";
|
|
120
122
|
import { codeCommon as codeCommon3 } from "storybook/internal/components";
|
|
121
123
|
|
|
122
|
-
//
|
|
124
|
+
// ../../node_modules/markdown-to-jsx/dist/index.modern.js
|
|
123
125
|
import * as e from "react";
|
|
124
126
|
function n() {
|
|
125
127
|
return n = Object.assign ? Object.assign.bind() : function(e2) {
|
|
@@ -2766,7 +2768,7 @@ var FilesControl = ({
|
|
|
2766
2768
|
};
|
|
2767
2769
|
|
|
2768
2770
|
// ../addons/docs/src/blocks/controls/index.tsx
|
|
2769
|
-
var LazyColorControl = lazy(() => import("../../_browser-chunks/Color-
|
|
2771
|
+
var LazyColorControl = lazy(() => import("../../_browser-chunks/Color-E5XDEOX4.js")), ColorControl = (props) => React16.createElement(Suspense, { fallback: React16.createElement("div", null) }, React16.createElement(LazyColorControl, { ...props }));
|
|
2770
2772
|
|
|
2771
2773
|
// ../addons/docs/src/blocks/components/ArgsTable/ArgControl.tsx
|
|
2772
2774
|
var Controls2 = {
|
|
@@ -3744,7 +3746,7 @@ import { STORY_CHANGED as STORY_CHANGED2 } from "storybook/internal/core-events"
|
|
|
3744
3746
|
import React31, { Fragment, forwardRef, useEffect as useEffect9, useRef as useRef5 } from "react";
|
|
3745
3747
|
import { ActionBar, ScrollArea as ScrollArea2 } from "storybook/internal/components";
|
|
3746
3748
|
|
|
3747
|
-
//
|
|
3749
|
+
// ../../node_modules/react-inspector/dist/index.mjs
|
|
3748
3750
|
import React92 from "react";
|
|
3749
3751
|
import React32, { useContext as useContext2, useCallback as useCallback6, useLayoutEffect, useState as useState12, memo as memo2 } from "react";
|
|
3750
3752
|
import { createContext } from "react";
|
|
@@ -4902,13 +4904,16 @@ import { styled as styled32 } from "storybook/theming";
|
|
|
4902
4904
|
var import_ansi_to_html = __toESM(require_ansi_to_html(), 1);
|
|
4903
4905
|
import { useTheme as useTheme2 } from "storybook/theming";
|
|
4904
4906
|
|
|
4905
|
-
//
|
|
4907
|
+
// ../../node_modules/ansi-regex/index.js
|
|
4906
4908
|
function ansiRegex({ onlyFirst = !1 } = {}) {
|
|
4907
|
-
let pattern =
|
|
4909
|
+
let pattern = [
|
|
4910
|
+
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
|
|
4911
|
+
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
|
|
4912
|
+
].join("|");
|
|
4908
4913
|
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
4909
4914
|
}
|
|
4910
4915
|
|
|
4911
|
-
//
|
|
4916
|
+
// ../../node_modules/strip-ansi/index.js
|
|
4912
4917
|
var regex = ansiRegex();
|
|
4913
4918
|
function stripAnsi(string) {
|
|
4914
4919
|
if (typeof string != "string")
|
|
@@ -5009,10 +5014,10 @@ import { styled as styled26, typography } from "storybook/theming";
|
|
|
5009
5014
|
import React46, { Fragment as Fragment2 } from "react";
|
|
5010
5015
|
import { logger as logger4 } from "storybook/internal/client-logger";
|
|
5011
5016
|
|
|
5012
|
-
//
|
|
5017
|
+
// ../../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspector.js
|
|
5013
5018
|
import React45, { useEffect as useEffect14, useState as useState17 } from "react";
|
|
5014
5019
|
|
|
5015
|
-
//
|
|
5020
|
+
// ../../node_modules/@devtools-ds/object-inspector/node_modules/clsx/dist/clsx.m.js
|
|
5016
5021
|
function toVal(mix) {
|
|
5017
5022
|
var k2, y2, str = "";
|
|
5018
5023
|
if (mix)
|
|
@@ -5032,7 +5037,7 @@ function clsx_m_default() {
|
|
|
5032
5037
|
return str;
|
|
5033
5038
|
}
|
|
5034
5039
|
|
|
5035
|
-
//
|
|
5040
|
+
// ../../node_modules/@devtools-ds/object-parser/dist/esm/index.js
|
|
5036
5041
|
var isArray = (val) => Array.isArray(val) || // Detect https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays
|
|
5037
5042
|
ArrayBuffer.isView(val) && !(val instanceof DataView), isObject = (val) => val !== null && typeof val == "object" && !isArray(val) && !(val instanceof Date) && !(val instanceof RegExp) && !(val instanceof Error) && !(val instanceof WeakMap) && !(val instanceof WeakSet), isKnownObject = (val) => isObject(val) || isArray(val) || typeof val == "function" || val instanceof Promise, getPromiseState = (promise) => {
|
|
5038
5043
|
let unique = /unique/;
|
|
@@ -5113,7 +5118,7 @@ ArrayBuffer.isView(val) && !(val instanceof DataView), isObject = (val) => val !
|
|
|
5113
5118
|
return astNode;
|
|
5114
5119
|
}, parse4 = (data, sortKeys, includePrototypes) => buildAST("root", data, 0, sortKeys === !1 ? sortKeys : !0, void 0, includePrototypes === !1 ? includePrototypes : !0);
|
|
5115
5120
|
|
|
5116
|
-
//
|
|
5121
|
+
// ../../node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
5117
5122
|
function ownKeys(e2, r2) {
|
|
5118
5123
|
var t = Object.keys(e2);
|
|
5119
5124
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -5136,10 +5141,10 @@ function _objectSpread2(e2) {
|
|
|
5136
5141
|
return e2;
|
|
5137
5142
|
}
|
|
5138
5143
|
|
|
5139
|
-
//
|
|
5144
|
+
// ../../node_modules/@devtools-ds/themes/dist/esm/utils.js
|
|
5140
5145
|
import React37 from "react";
|
|
5141
5146
|
|
|
5142
|
-
//
|
|
5147
|
+
// ../../node_modules/@devtools-ds/themes/node_modules/clsx/dist/clsx.m.js
|
|
5143
5148
|
function toVal2(mix) {
|
|
5144
5149
|
var k2, y2, str = "";
|
|
5145
5150
|
if (mix)
|
|
@@ -5159,7 +5164,7 @@ function clsx_m_default2() {
|
|
|
5159
5164
|
return str;
|
|
5160
5165
|
}
|
|
5161
5166
|
|
|
5162
|
-
//
|
|
5167
|
+
// ../../node_modules/@devtools-ds/themes/dist/esm/utils.js
|
|
5163
5168
|
var _excluded = ["children"];
|
|
5164
5169
|
var ThemeContext2 = React37.createContext({
|
|
5165
5170
|
theme: "chrome",
|
|
@@ -5181,16 +5186,16 @@ var ThemeProvider = (_ref) => {
|
|
|
5181
5186
|
};
|
|
5182
5187
|
};
|
|
5183
5188
|
|
|
5184
|
-
//
|
|
5189
|
+
// ../../node_modules/@devtools-ds/themes/dist/esm/AutoThemeProvider.js
|
|
5185
5190
|
import React38 from "react";
|
|
5186
5191
|
|
|
5187
|
-
//
|
|
5192
|
+
// ../../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspectorItem.js
|
|
5188
5193
|
import React44, { useEffect as useEffect13, useState as useState16 } from "react";
|
|
5189
5194
|
|
|
5190
|
-
//
|
|
5195
|
+
// ../../node_modules/@devtools-ds/tree/dist/esm/index.js
|
|
5191
5196
|
import React40, { useState as useState14, useEffect as useEffect11 } from "react";
|
|
5192
5197
|
|
|
5193
|
-
//
|
|
5198
|
+
// ../../node_modules/@devtools-ds/tree/node_modules/clsx/dist/clsx.m.js
|
|
5194
5199
|
function toVal3(mix) {
|
|
5195
5200
|
var k2, y2, str = "";
|
|
5196
5201
|
if (mix)
|
|
@@ -5210,7 +5215,7 @@ function clsx_m_default3() {
|
|
|
5210
5215
|
return str;
|
|
5211
5216
|
}
|
|
5212
5217
|
|
|
5213
|
-
//
|
|
5218
|
+
// ../../node_modules/@devtools-ds/tree/dist/esm/TreeContext.js
|
|
5214
5219
|
import React39 from "react";
|
|
5215
5220
|
var TreeContext = React39.createContext({
|
|
5216
5221
|
isChild: !1,
|
|
@@ -5218,10 +5223,10 @@ var TreeContext = React39.createContext({
|
|
|
5218
5223
|
hasHover: !0
|
|
5219
5224
|
}), TreeContext_default = TreeContext;
|
|
5220
5225
|
|
|
5221
|
-
//
|
|
5226
|
+
// ../../node_modules/@devtools-ds/tree/dist/esm/Tree.css.js
|
|
5222
5227
|
var Tree_css_default = { tree: "Tree-tree-fbbbe38", item: "Tree-item-353d6f3", group: "Tree-group-d3c3d8a", label: "Tree-label-d819155", focusWhite: "Tree-focusWhite-f1e00c2", arrow: "Tree-arrow-03ab2e7", hover: "Tree-hover-3cc4e5d", open: "Tree-open-3f1a336", dark: "Tree-dark-1b4aa00", chrome: "Tree-chrome-bcbcac6", light: "Tree-light-09174ee" };
|
|
5223
5228
|
|
|
5224
|
-
//
|
|
5229
|
+
// ../../node_modules/@devtools-ds/tree/dist/esm/index.js
|
|
5225
5230
|
var _excluded2 = ["theme", "hover", "colorScheme", "children", "label", "className", "onUpdate", "onSelect", "open"], Tree = (props) => {
|
|
5226
5231
|
let {
|
|
5227
5232
|
theme: theme3,
|
|
@@ -5385,13 +5390,13 @@ Tree.defaultProps = {
|
|
|
5385
5390
|
hover: !0
|
|
5386
5391
|
};
|
|
5387
5392
|
|
|
5388
|
-
//
|
|
5393
|
+
// ../../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectValue.js
|
|
5389
5394
|
import React41, { useState as useState15, useEffect as useEffect12 } from "react";
|
|
5390
5395
|
|
|
5391
|
-
//
|
|
5396
|
+
// ../../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspector.css.js
|
|
5392
5397
|
var ObjectInspector_css_default = { "object-inspector": "ObjectInspector-object-inspector-0c33e82", objectInspector: "ObjectInspector-object-inspector-0c33e82", "object-label": "ObjectInspector-object-label-b81482b", objectLabel: "ObjectInspector-object-label-b81482b", text: "ObjectInspector-text-25f57f3", key: "ObjectInspector-key-4f712bb", value: "ObjectInspector-value-f7ec2e5", string: "ObjectInspector-string-c496000", regex: "ObjectInspector-regex-59d45a3", error: "ObjectInspector-error-b818698", boolean: "ObjectInspector-boolean-2dd1642", number: "ObjectInspector-number-a6daabb", undefined: "ObjectInspector-undefined-3a68263", null: "ObjectInspector-null-74acb50", function: "ObjectInspector-function-07bbdcd", "function-decorator": "ObjectInspector-function-decorator-3d22c24", functionDecorator: "ObjectInspector-function-decorator-3d22c24", prototype: "ObjectInspector-prototype-f2449ee", dark: "ObjectInspector-dark-0c96c97", chrome: "ObjectInspector-chrome-2f3ca98", light: "ObjectInspector-light-78bef54" };
|
|
5393
5398
|
|
|
5394
|
-
//
|
|
5399
|
+
// ../../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectValue.js
|
|
5395
5400
|
var _excluded3 = ["ast", "theme", "showKey", "colorScheme", "className"], buildValue = (key, value2, valueClass, showKey, depth) => {
|
|
5396
5401
|
let computedKey = key.includes("-") ? `"${key}"` : key, isRoot = depth <= 0;
|
|
5397
5402
|
return React41.createElement("span", {
|
|
@@ -5427,7 +5432,7 @@ ObjectValue2.defaultProps = {
|
|
|
5427
5432
|
};
|
|
5428
5433
|
var ObjectValue_default = ObjectValue2;
|
|
5429
5434
|
|
|
5430
|
-
//
|
|
5435
|
+
// ../../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectLabel.js
|
|
5431
5436
|
import React43 from "react";
|
|
5432
5437
|
var _excluded4 = ["ast", "theme", "previewMax", "open", "colorScheme", "className"], buildPreview = (children, previewMax, showKey) => {
|
|
5433
5438
|
let previews = [];
|
|
@@ -5501,7 +5506,7 @@ ObjectLabel2.defaultProps = {
|
|
|
5501
5506
|
};
|
|
5502
5507
|
var ObjectLabel_default = ObjectLabel2;
|
|
5503
5508
|
|
|
5504
|
-
//
|
|
5509
|
+
// ../../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspectorItem.js
|
|
5505
5510
|
var ObjectInspectorItem = (props) => {
|
|
5506
5511
|
let {
|
|
5507
5512
|
ast,
|
|
@@ -5554,7 +5559,7 @@ ObjectInspectorItem.defaultProps = {
|
|
|
5554
5559
|
};
|
|
5555
5560
|
var ObjectInspectorItem_default = ObjectInspectorItem;
|
|
5556
5561
|
|
|
5557
|
-
//
|
|
5562
|
+
// ../../node_modules/@devtools-ds/object-inspector/dist/esm/ObjectInspector.js
|
|
5558
5563
|
var _excluded5 = ["data", "expandLevel", "sortKeys", "includePrototypes", "className", "theme", "colorScheme", "onSelect"], ObjectInspector2 = (props) => {
|
|
5559
5564
|
let {
|
|
5560
5565
|
data,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_wtqlduo6et from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_wtqlduo6et from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_wtqlduo6et from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_wtqlduo6et.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_wtqlduo6et.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_wtqlduo6et.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
glob
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-KVNLJSAB.js";
|
|
15
15
|
import {
|
|
16
16
|
slash
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-EVBCPGQO.js";
|
|
18
|
+
import "../../_node-chunks/chunk-TOXVUAH2.js";
|
|
19
19
|
|
|
20
20
|
// src/core-server/utils/remove-mdx-entries.ts
|
|
21
21
|
import { isAbsolute, join, relative } from "node:path";
|