@uipath/apollo-wind 2.21.0 → 2.23.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/dist/components/forms/metadata-form.cjs +67 -10
- package/dist/components/forms/metadata-form.d.ts +8 -1
- package/dist/components/forms/metadata-form.js +68 -11
- package/dist/components/ui/index.cjs +18 -18
- package/dist/editor-themes/monaco.cjs +2 -2
- package/dist/editor-themes/monaco.js +2 -2
- package/dist/styles.css +16 -0
- package/package.json +1 -1
|
@@ -27,18 +27,19 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
MetadataForm: ()=>MetadataForm
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const standard_schema_namespaceObject = require("@hookform/resolvers/standard-schema");
|
|
30
31
|
const external_react_namespaceObject = require("react");
|
|
31
32
|
const external_react_hook_form_namespaceObject = require("react-hook-form");
|
|
32
33
|
const v4_namespaceObject = require("zod/v4");
|
|
33
34
|
const accordion_cjs_namespaceObject = require("../ui/accordion.cjs");
|
|
34
35
|
const button_cjs_namespaceObject = require("../ui/button.cjs");
|
|
35
|
-
const
|
|
36
|
+
const tabs_cjs_namespaceObject = require("../ui/tabs.cjs");
|
|
36
37
|
const external_data_fetcher_cjs_namespaceObject = require("./data-fetcher.cjs");
|
|
37
38
|
const external_field_renderer_cjs_namespaceObject = require("./field-renderer.cjs");
|
|
38
39
|
const external_rules_engine_cjs_namespaceObject = require("./rules-engine.cjs");
|
|
39
40
|
const external_validation_converter_cjs_namespaceObject = require("./validation-converter.cjs");
|
|
40
41
|
const DEFAULT_PLUGINS = [];
|
|
41
|
-
function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete }) {
|
|
42
|
+
function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete, stepVariant = 'wizard' }) {
|
|
42
43
|
const [currentStep, setCurrentStep] = (0, external_react_namespaceObject.useState)(0);
|
|
43
44
|
const [customComponents, setCustomComponents] = (0, external_react_namespaceObject.useState)({});
|
|
44
45
|
const [isInitialized, setIsInitialized] = (0, external_react_namespaceObject.useState)(false);
|
|
@@ -124,14 +125,23 @@ function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className,
|
|
|
124
125
|
if (onSubmit) await onSubmit(finalData);
|
|
125
126
|
});
|
|
126
127
|
const renderContent = ()=>{
|
|
127
|
-
if (schema.steps)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
128
|
+
if (schema.steps) {
|
|
129
|
+
if ('tabs' === stepVariant) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(TabbedStepForm, {
|
|
130
|
+
schema: schema,
|
|
131
|
+
context: context,
|
|
132
|
+
customComponents: customComponents,
|
|
133
|
+
disabled: disabled,
|
|
134
|
+
onReset: ()=>reset()
|
|
135
|
+
});
|
|
136
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(MultiStepForm, {
|
|
137
|
+
schema: schema,
|
|
138
|
+
context: context,
|
|
139
|
+
currentStep: currentStep,
|
|
140
|
+
setCurrentStep: setCurrentStep,
|
|
141
|
+
customComponents: customComponents,
|
|
142
|
+
disabled: disabled
|
|
143
|
+
});
|
|
144
|
+
}
|
|
135
145
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(SinglePageForm, {
|
|
136
146
|
schema: schema,
|
|
137
147
|
context: context,
|
|
@@ -240,6 +250,53 @@ function MultiStepForm({ schema, context, currentStep, setCurrentStep, customCom
|
|
|
240
250
|
]
|
|
241
251
|
});
|
|
242
252
|
}
|
|
253
|
+
function TabbedStepForm({ schema, context, customComponents, disabled, onReset }) {
|
|
254
|
+
const steps = schema.steps || [];
|
|
255
|
+
const visibleSteps = steps.filter((step)=>step.sections.length > 0 && (!step.conditions || context.evaluateConditions(step.conditions)));
|
|
256
|
+
const [activeTab, setActiveTab] = (0, external_react_namespaceObject.useState)('');
|
|
257
|
+
const currentTab = visibleSteps.some((step)=>step.id === activeTab) ? activeTab : visibleSteps[0]?.id ?? '';
|
|
258
|
+
(0, external_react_namespaceObject.useEffect)(()=>{
|
|
259
|
+
if (activeTab !== currentTab) setActiveTab(currentTab);
|
|
260
|
+
}, [
|
|
261
|
+
activeTab,
|
|
262
|
+
currentTab
|
|
263
|
+
]);
|
|
264
|
+
if (0 === visibleSteps.length) return null;
|
|
265
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
266
|
+
children: [
|
|
267
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(tabs_cjs_namespaceObject.Tabs, {
|
|
268
|
+
value: currentTab,
|
|
269
|
+
onValueChange: setActiveTab,
|
|
270
|
+
className: "flex flex-col gap-4",
|
|
271
|
+
children: [
|
|
272
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsList, {
|
|
273
|
+
className: "h-auto justify-start gap-0.5 overflow-x-auto rounded-lg bg-transparent p-0.5 text-muted-foreground [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
274
|
+
children: visibleSteps.map((step)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsTrigger, {
|
|
275
|
+
value: step.id,
|
|
276
|
+
className: "inline-flex h-6 shrink-0 items-center whitespace-nowrap rounded-md px-2.5 text-xs font-medium text-muted-foreground shadow-none transition-colors hover:text-foreground data-[state=active]:bg-surface-overlay data-[state=active]:text-foreground data-[state=active]:shadow-sm",
|
|
277
|
+
children: step.title
|
|
278
|
+
}, step.id))
|
|
279
|
+
}),
|
|
280
|
+
visibleSteps.map((step)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(tabs_cjs_namespaceObject.TabsContent, {
|
|
281
|
+
value: step.id,
|
|
282
|
+
className: "space-y-2",
|
|
283
|
+
children: step.sections.filter((section)=>!section.conditions || context.evaluateConditions(section.conditions)).map((section)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(FormSection, {
|
|
284
|
+
section: section,
|
|
285
|
+
context: context,
|
|
286
|
+
customComponents: customComponents,
|
|
287
|
+
disabled: disabled
|
|
288
|
+
}, section.id))
|
|
289
|
+
}, step.id))
|
|
290
|
+
]
|
|
291
|
+
}),
|
|
292
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(FormActions, {
|
|
293
|
+
schema: schema,
|
|
294
|
+
context: context,
|
|
295
|
+
onReset: onReset
|
|
296
|
+
})
|
|
297
|
+
]
|
|
298
|
+
});
|
|
299
|
+
}
|
|
243
300
|
function FormSection({ section, context, customComponents, disabled }) {
|
|
244
301
|
const gridColumns = context.schema.layout?.columns || 1;
|
|
245
302
|
const gap = context.schema.layout?.gap || 4;
|
|
@@ -11,6 +11,13 @@ interface MetadataFormProps {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
/** Disable browser autocomplete suggestions. Defaults to undefined (browser default). */
|
|
13
13
|
autoComplete?: 'off' | 'on';
|
|
14
|
+
/**
|
|
15
|
+
* Presentation for multi-step schemas. `'wizard'` (default) shows Previous/Next
|
|
16
|
+
* navigation with a Submit button on the final step. `'tabs'` renders the steps
|
|
17
|
+
* as a tab bar over a single form instance, so values and validation are shared
|
|
18
|
+
* across every step. Ignored for single-page (`sections`) schemas.
|
|
19
|
+
*/
|
|
20
|
+
stepVariant?: 'wizard' | 'tabs';
|
|
14
21
|
}
|
|
15
|
-
export declare function MetadataForm({ schema, plugins, onSubmit, className, disabled, autoComplete, }: MetadataFormProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function MetadataForm({ schema, plugins, onSubmit, className, disabled, autoComplete, stepVariant, }: MetadataFormProps): import("react/jsx-runtime").JSX.Element;
|
|
16
23
|
export {};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
|
|
2
3
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
3
4
|
import { FormProvider, useForm } from "react-hook-form";
|
|
4
5
|
import { z } from "zod/v4";
|
|
5
6
|
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "../ui/accordion.js";
|
|
6
7
|
import { Button } from "../ui/button.js";
|
|
7
|
-
import {
|
|
8
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../ui/tabs.js";
|
|
8
9
|
import { DataFetcher } from "./data-fetcher.js";
|
|
9
10
|
import { FormFieldRenderer } from "./field-renderer.js";
|
|
10
11
|
import { RulesEngine } from "./rules-engine.js";
|
|
11
12
|
import { validationConfigToZod } from "./validation-converter.js";
|
|
12
13
|
const DEFAULT_PLUGINS = [];
|
|
13
|
-
function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete }) {
|
|
14
|
+
function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className, disabled = false, autoComplete, stepVariant = 'wizard' }) {
|
|
14
15
|
const [currentStep, setCurrentStep] = useState(0);
|
|
15
16
|
const [customComponents, setCustomComponents] = useState({});
|
|
16
17
|
const [isInitialized, setIsInitialized] = useState(false);
|
|
@@ -96,14 +97,23 @@ function MetadataForm({ schema, plugins = DEFAULT_PLUGINS, onSubmit, className,
|
|
|
96
97
|
if (onSubmit) await onSubmit(finalData);
|
|
97
98
|
});
|
|
98
99
|
const renderContent = ()=>{
|
|
99
|
-
if (schema.steps)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
100
|
+
if (schema.steps) {
|
|
101
|
+
if ('tabs' === stepVariant) return /*#__PURE__*/ jsx(TabbedStepForm, {
|
|
102
|
+
schema: schema,
|
|
103
|
+
context: context,
|
|
104
|
+
customComponents: customComponents,
|
|
105
|
+
disabled: disabled,
|
|
106
|
+
onReset: ()=>reset()
|
|
107
|
+
});
|
|
108
|
+
return /*#__PURE__*/ jsx(MultiStepForm, {
|
|
109
|
+
schema: schema,
|
|
110
|
+
context: context,
|
|
111
|
+
currentStep: currentStep,
|
|
112
|
+
setCurrentStep: setCurrentStep,
|
|
113
|
+
customComponents: customComponents,
|
|
114
|
+
disabled: disabled
|
|
115
|
+
});
|
|
116
|
+
}
|
|
107
117
|
return /*#__PURE__*/ jsx(SinglePageForm, {
|
|
108
118
|
schema: schema,
|
|
109
119
|
context: context,
|
|
@@ -212,6 +222,53 @@ function MultiStepForm({ schema, context, currentStep, setCurrentStep, customCom
|
|
|
212
222
|
]
|
|
213
223
|
});
|
|
214
224
|
}
|
|
225
|
+
function TabbedStepForm({ schema, context, customComponents, disabled, onReset }) {
|
|
226
|
+
const steps = schema.steps || [];
|
|
227
|
+
const visibleSteps = steps.filter((step)=>step.sections.length > 0 && (!step.conditions || context.evaluateConditions(step.conditions)));
|
|
228
|
+
const [activeTab, setActiveTab] = useState('');
|
|
229
|
+
const currentTab = visibleSteps.some((step)=>step.id === activeTab) ? activeTab : visibleSteps[0]?.id ?? '';
|
|
230
|
+
useEffect(()=>{
|
|
231
|
+
if (activeTab !== currentTab) setActiveTab(currentTab);
|
|
232
|
+
}, [
|
|
233
|
+
activeTab,
|
|
234
|
+
currentTab
|
|
235
|
+
]);
|
|
236
|
+
if (0 === visibleSteps.length) return null;
|
|
237
|
+
return /*#__PURE__*/ jsxs(Fragment, {
|
|
238
|
+
children: [
|
|
239
|
+
/*#__PURE__*/ jsxs(Tabs, {
|
|
240
|
+
value: currentTab,
|
|
241
|
+
onValueChange: setActiveTab,
|
|
242
|
+
className: "flex flex-col gap-4",
|
|
243
|
+
children: [
|
|
244
|
+
/*#__PURE__*/ jsx(TabsList, {
|
|
245
|
+
className: "h-auto justify-start gap-0.5 overflow-x-auto rounded-lg bg-transparent p-0.5 text-muted-foreground [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
246
|
+
children: visibleSteps.map((step)=>/*#__PURE__*/ jsx(TabsTrigger, {
|
|
247
|
+
value: step.id,
|
|
248
|
+
className: "inline-flex h-6 shrink-0 items-center whitespace-nowrap rounded-md px-2.5 text-xs font-medium text-muted-foreground shadow-none transition-colors hover:text-foreground data-[state=active]:bg-surface-overlay data-[state=active]:text-foreground data-[state=active]:shadow-sm",
|
|
249
|
+
children: step.title
|
|
250
|
+
}, step.id))
|
|
251
|
+
}),
|
|
252
|
+
visibleSteps.map((step)=>/*#__PURE__*/ jsx(TabsContent, {
|
|
253
|
+
value: step.id,
|
|
254
|
+
className: "space-y-2",
|
|
255
|
+
children: step.sections.filter((section)=>!section.conditions || context.evaluateConditions(section.conditions)).map((section)=>/*#__PURE__*/ jsx(FormSection, {
|
|
256
|
+
section: section,
|
|
257
|
+
context: context,
|
|
258
|
+
customComponents: customComponents,
|
|
259
|
+
disabled: disabled
|
|
260
|
+
}, section.id))
|
|
261
|
+
}, step.id))
|
|
262
|
+
]
|
|
263
|
+
}),
|
|
264
|
+
/*#__PURE__*/ jsx(FormActions, {
|
|
265
|
+
schema: schema,
|
|
266
|
+
context: context,
|
|
267
|
+
onReset: onReset
|
|
268
|
+
})
|
|
269
|
+
]
|
|
270
|
+
});
|
|
271
|
+
}
|
|
215
272
|
function FormSection({ section, context, customComponents, disabled }) {
|
|
216
273
|
const gridColumns = context.schema.layout?.columns || 1;
|
|
217
274
|
const gap = context.schema.layout?.gap || 4;
|
|
@@ -15,7 +15,7 @@ var __webpack_modules__ = {
|
|
|
15
15
|
"./avatar" (module) {
|
|
16
16
|
module.exports = require("./avatar.cjs");
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"./badge" (module) {
|
|
19
19
|
module.exports = require("./badge.cjs");
|
|
20
20
|
},
|
|
21
21
|
"./breadcrumb" (module) {
|
|
@@ -30,13 +30,13 @@ var __webpack_modules__ = {
|
|
|
30
30
|
"@/components/ui/calendar" (module) {
|
|
31
31
|
module.exports = require("./calendar.cjs");
|
|
32
32
|
},
|
|
33
|
-
"
|
|
33
|
+
"./card" (module) {
|
|
34
34
|
module.exports = require("./card.cjs");
|
|
35
35
|
},
|
|
36
36
|
"@/components/ui/checkbox" (module) {
|
|
37
37
|
module.exports = require("./checkbox.cjs");
|
|
38
38
|
},
|
|
39
|
-
"
|
|
39
|
+
"./collapsible" (module) {
|
|
40
40
|
module.exports = require("./collapsible.cjs");
|
|
41
41
|
},
|
|
42
42
|
"./combobox" (module) {
|
|
@@ -45,7 +45,7 @@ var __webpack_modules__ = {
|
|
|
45
45
|
"@/components/ui/command" (module) {
|
|
46
46
|
module.exports = require("./command.cjs");
|
|
47
47
|
},
|
|
48
|
-
"
|
|
48
|
+
"./context-menu" (module) {
|
|
49
49
|
module.exports = require("./context-menu.cjs");
|
|
50
50
|
},
|
|
51
51
|
"./data-table" (module) {
|
|
@@ -57,13 +57,13 @@ var __webpack_modules__ = {
|
|
|
57
57
|
"./datetime-picker" (module) {
|
|
58
58
|
module.exports = require("./datetime-picker.cjs");
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"./dialog" (module) {
|
|
61
61
|
module.exports = require("./dialog.cjs");
|
|
62
62
|
},
|
|
63
63
|
"@/components/ui/dropdown-menu" (module) {
|
|
64
64
|
module.exports = require("./dropdown-menu.cjs");
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"./editable-cell" (module) {
|
|
67
67
|
module.exports = require("./editable-cell.cjs");
|
|
68
68
|
},
|
|
69
69
|
"./empty-state" (module) {
|
|
@@ -72,13 +72,13 @@ var __webpack_modules__ = {
|
|
|
72
72
|
"./file-upload" (module) {
|
|
73
73
|
module.exports = require("./file-upload.cjs");
|
|
74
74
|
},
|
|
75
|
-
"
|
|
75
|
+
"./hover-card" (module) {
|
|
76
76
|
module.exports = require("./hover-card.cjs");
|
|
77
77
|
},
|
|
78
78
|
"@/components/ui/input" (module) {
|
|
79
79
|
module.exports = require("./input.cjs");
|
|
80
80
|
},
|
|
81
|
-
"
|
|
81
|
+
"./label" (module) {
|
|
82
82
|
module.exports = require("./label.cjs");
|
|
83
83
|
},
|
|
84
84
|
"./layout" (module) {
|
|
@@ -150,7 +150,7 @@ var __webpack_modules__ = {
|
|
|
150
150
|
"./toggle-group" (module) {
|
|
151
151
|
module.exports = require("./toggle-group.cjs");
|
|
152
152
|
},
|
|
153
|
-
"
|
|
153
|
+
"./toggle" (module) {
|
|
154
154
|
module.exports = require("./toggle.cjs");
|
|
155
155
|
},
|
|
156
156
|
"./tooltip" (module) {
|
|
@@ -241,7 +241,7 @@ var __webpack_exports__ = {};
|
|
|
241
241
|
"default"
|
|
242
242
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_avatar__rspack_import_4[__rspack_import_key];
|
|
243
243
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
244
|
-
var _badge__rspack_import_5 = __webpack_require__("
|
|
244
|
+
var _badge__rspack_import_5 = __webpack_require__("./badge");
|
|
245
245
|
var __rspack_reexport = {};
|
|
246
246
|
for(const __rspack_import_key in _badge__rspack_import_5)if ([
|
|
247
247
|
"TreeView",
|
|
@@ -276,7 +276,7 @@ var __webpack_exports__ = {};
|
|
|
276
276
|
"default"
|
|
277
277
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_9[__rspack_import_key];
|
|
278
278
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
279
|
-
var _card__rspack_import_10 = __webpack_require__("
|
|
279
|
+
var _card__rspack_import_10 = __webpack_require__("./card");
|
|
280
280
|
var __rspack_reexport = {};
|
|
281
281
|
for(const __rspack_import_key in _card__rspack_import_10)if ([
|
|
282
282
|
"TreeView",
|
|
@@ -290,7 +290,7 @@ var __webpack_exports__ = {};
|
|
|
290
290
|
"default"
|
|
291
291
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_checkbox__rspack_import_11[__rspack_import_key];
|
|
292
292
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
293
|
-
var _collapsible__rspack_import_12 = __webpack_require__("
|
|
293
|
+
var _collapsible__rspack_import_12 = __webpack_require__("./collapsible");
|
|
294
294
|
var __rspack_reexport = {};
|
|
295
295
|
for(const __rspack_import_key in _collapsible__rspack_import_12)if ([
|
|
296
296
|
"TreeView",
|
|
@@ -311,7 +311,7 @@ var __webpack_exports__ = {};
|
|
|
311
311
|
"default"
|
|
312
312
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_14[__rspack_import_key];
|
|
313
313
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
314
|
-
var _context_menu__rspack_import_15 = __webpack_require__("
|
|
314
|
+
var _context_menu__rspack_import_15 = __webpack_require__("./context-menu");
|
|
315
315
|
var __rspack_reexport = {};
|
|
316
316
|
for(const __rspack_import_key in _context_menu__rspack_import_15)if ([
|
|
317
317
|
"TreeView",
|
|
@@ -339,7 +339,7 @@ var __webpack_exports__ = {};
|
|
|
339
339
|
"default"
|
|
340
340
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_18[__rspack_import_key];
|
|
341
341
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
342
|
-
var _dialog__rspack_import_19 = __webpack_require__("
|
|
342
|
+
var _dialog__rspack_import_19 = __webpack_require__("./dialog");
|
|
343
343
|
var __rspack_reexport = {};
|
|
344
344
|
for(const __rspack_import_key in _dialog__rspack_import_19)if ([
|
|
345
345
|
"TreeView",
|
|
@@ -353,7 +353,7 @@ var __webpack_exports__ = {};
|
|
|
353
353
|
"default"
|
|
354
354
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropdown_menu__rspack_import_20[__rspack_import_key];
|
|
355
355
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
356
|
-
var _editable_cell__rspack_import_21 = __webpack_require__("
|
|
356
|
+
var _editable_cell__rspack_import_21 = __webpack_require__("./editable-cell");
|
|
357
357
|
var __rspack_reexport = {};
|
|
358
358
|
for(const __rspack_import_key in _editable_cell__rspack_import_21)if ([
|
|
359
359
|
"TreeView",
|
|
@@ -374,7 +374,7 @@ var __webpack_exports__ = {};
|
|
|
374
374
|
"default"
|
|
375
375
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_file_upload__rspack_import_23[__rspack_import_key];
|
|
376
376
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
377
|
-
var _hover_card__rspack_import_24 = __webpack_require__("
|
|
377
|
+
var _hover_card__rspack_import_24 = __webpack_require__("./hover-card");
|
|
378
378
|
var __rspack_reexport = {};
|
|
379
379
|
for(const __rspack_import_key in _hover_card__rspack_import_24)if ([
|
|
380
380
|
"TreeView",
|
|
@@ -388,7 +388,7 @@ var __webpack_exports__ = {};
|
|
|
388
388
|
"default"
|
|
389
389
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input__rspack_import_25[__rspack_import_key];
|
|
390
390
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
391
|
-
var _label__rspack_import_26 = __webpack_require__("
|
|
391
|
+
var _label__rspack_import_26 = __webpack_require__("./label");
|
|
392
392
|
var __rspack_reexport = {};
|
|
393
393
|
for(const __rspack_import_key in _label__rspack_import_26)if ([
|
|
394
394
|
"TreeView",
|
|
@@ -549,7 +549,7 @@ var __webpack_exports__ = {};
|
|
|
549
549
|
"default"
|
|
550
550
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_textarea__rspack_import_48[__rspack_import_key];
|
|
551
551
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
552
|
-
var _toggle__rspack_import_49 = __webpack_require__("
|
|
552
|
+
var _toggle__rspack_import_49 = __webpack_require__("./toggle");
|
|
553
553
|
var __rspack_reexport = {};
|
|
554
554
|
for(const __rspack_import_key in _toggle__rspack_import_49)if ([
|
|
555
555
|
"TreeView",
|
|
@@ -296,7 +296,7 @@ const apolloFutureDarkMonaco = {
|
|
|
296
296
|
inherit: false,
|
|
297
297
|
rules: darkRules,
|
|
298
298
|
colors: {
|
|
299
|
-
'editor.background': '#
|
|
299
|
+
'editor.background': '#27272a',
|
|
300
300
|
'editor.foreground': '#a1a1aa',
|
|
301
301
|
'editorLineNumber.foreground': '#52525b',
|
|
302
302
|
'editorLineNumber.activeForeground': '#a1a1aa',
|
|
@@ -333,7 +333,7 @@ const apolloFutureLightMonaco = {
|
|
|
333
333
|
inherit: false,
|
|
334
334
|
rules: lightRules,
|
|
335
335
|
colors: {
|
|
336
|
-
'editor.background': '#
|
|
336
|
+
'editor.background': '#e4e4e7',
|
|
337
337
|
'editor.foreground': '#52525b',
|
|
338
338
|
'editorLineNumber.foreground': '#a1a1aa',
|
|
339
339
|
'editorLineNumber.activeForeground': '#71717a',
|
|
@@ -263,7 +263,7 @@ const apolloFutureDarkMonaco = {
|
|
|
263
263
|
inherit: false,
|
|
264
264
|
rules: darkRules,
|
|
265
265
|
colors: {
|
|
266
|
-
'editor.background': '#
|
|
266
|
+
'editor.background': '#27272a',
|
|
267
267
|
'editor.foreground': '#a1a1aa',
|
|
268
268
|
'editorLineNumber.foreground': '#52525b',
|
|
269
269
|
'editorLineNumber.activeForeground': '#a1a1aa',
|
|
@@ -300,7 +300,7 @@ const apolloFutureLightMonaco = {
|
|
|
300
300
|
inherit: false,
|
|
301
301
|
rules: lightRules,
|
|
302
302
|
colors: {
|
|
303
|
-
'editor.background': '#
|
|
303
|
+
'editor.background': '#e4e4e7',
|
|
304
304
|
'editor.foreground': '#52525b',
|
|
305
305
|
'editorLineNumber.foreground': '#a1a1aa',
|
|
306
306
|
'editorLineNumber.activeForeground': '#71717a',
|
package/dist/styles.css
CHANGED
|
@@ -4209,6 +4209,12 @@
|
|
|
4209
4209
|
.\[--cell-size\:2\.75rem\] {
|
|
4210
4210
|
--cell-size: 2.75rem;
|
|
4211
4211
|
}
|
|
4212
|
+
.\[-ms-overflow-style\:none\] {
|
|
4213
|
+
-ms-overflow-style: none;
|
|
4214
|
+
}
|
|
4215
|
+
.\[scrollbar-width\:none\] {
|
|
4216
|
+
scrollbar-width: none;
|
|
4217
|
+
}
|
|
4212
4218
|
.group-open\:rotate-90 {
|
|
4213
4219
|
&:is(:where(.group):is([open], :popover-open, :open) *) {
|
|
4214
4220
|
rotate: 90deg;
|
|
@@ -5527,6 +5533,11 @@
|
|
|
5527
5533
|
background-color: var(--background);
|
|
5528
5534
|
}
|
|
5529
5535
|
}
|
|
5536
|
+
.data-\[state\=active\]\:bg-surface-overlay {
|
|
5537
|
+
&[data-state="active"] {
|
|
5538
|
+
background-color: var(--surface-overlay);
|
|
5539
|
+
}
|
|
5540
|
+
}
|
|
5530
5541
|
.data-\[state\=active\]\:text-foreground {
|
|
5531
5542
|
&[data-state="active"] {
|
|
5532
5543
|
color: var(--foreground);
|
|
@@ -6372,6 +6383,11 @@
|
|
|
6372
6383
|
border-width: 0px;
|
|
6373
6384
|
}
|
|
6374
6385
|
}
|
|
6386
|
+
.\[\&\:\:-webkit-scrollbar\]\:hidden {
|
|
6387
|
+
&::-webkit-scrollbar {
|
|
6388
|
+
display: none;
|
|
6389
|
+
}
|
|
6390
|
+
}
|
|
6375
6391
|
.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0 {
|
|
6376
6392
|
&:has([role=checkbox]) {
|
|
6377
6393
|
padding-right: calc(var(--spacing) * 0);
|