@ox0/ui 3.1.2 → 3.2.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/app-shell.d.ts +47 -0
- package/dist/components/app-shell.d.ts.map +1 -0
- package/dist/components/app-shell.test.d.ts +2 -0
- package/dist/components/app-shell.test.d.ts.map +1 -0
- package/dist/components/box.d.ts +2 -2
- package/dist/components/box.d.ts.map +1 -1
- package/dist/components/card.d.ts +2 -1
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/checkbox-group.d.ts +2 -1
- package/dist/components/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox.d.ts +2 -1
- package/dist/components/checkbox.d.ts.map +1 -1
- package/dist/components/chevron.d.ts +4 -0
- package/dist/components/chevron.d.ts.map +1 -1
- package/dist/components/combobox.d.ts +2 -1
- package/dist/components/combobox.d.ts.map +1 -1
- package/dist/components/confirm-dialog.d.ts +80 -0
- package/dist/components/confirm-dialog.d.ts.map +1 -0
- package/dist/components/confirm-dialog.test.d.ts +2 -0
- package/dist/components/confirm-dialog.test.d.ts.map +1 -0
- package/dist/components/drop-zone.d.ts +32 -0
- package/dist/components/drop-zone.d.ts.map +1 -0
- package/dist/components/drop-zone.test.d.ts +2 -0
- package/dist/components/drop-zone.test.d.ts.map +1 -0
- package/dist/components/field-group.d.ts +2 -1
- package/dist/components/field-group.d.ts.map +1 -1
- package/dist/components/file-trigger.d.ts +29 -0
- package/dist/components/file-trigger.d.ts.map +1 -0
- package/dist/components/file-trigger.test.d.ts +2 -0
- package/dist/components/file-trigger.test.d.ts.map +1 -0
- package/dist/components/heading.d.ts +8 -0
- package/dist/components/heading.d.ts.map +1 -1
- package/dist/components/href.d.ts +2 -0
- package/dist/components/href.d.ts.map +1 -0
- package/dist/components/link.d.ts.map +1 -1
- package/dist/components/number-field.d.ts +2 -1
- package/dist/components/number-field.d.ts.map +1 -1
- package/dist/components/page.d.ts +40 -0
- package/dist/components/page.d.ts.map +1 -0
- package/dist/components/page.test.d.ts +2 -0
- package/dist/components/page.test.d.ts.map +1 -0
- package/dist/components/radio-group.d.ts +2 -1
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/search-field.d.ts +2 -1
- package/dist/components/search-field.d.ts.map +1 -1
- package/dist/components/select.d.ts +2 -1
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/slider.d.ts +2 -1
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/surface.d.ts +2 -1
- package/dist/components/surface.d.ts.map +1 -1
- package/dist/components/switch.d.ts +2 -1
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/table.d.ts +11 -2
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/tag-group.d.ts +3 -2
- package/dist/components/tag-group.d.ts.map +1 -1
- package/dist/components/text-area.d.ts +2 -1
- package/dist/components/text-area.d.ts.map +1 -1
- package/dist/components/text-field.d.ts +2 -1
- package/dist/components/text-field.d.ts.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2165 -971
- package/dist/layout/grid.d.ts +32 -16
- package/dist/layout/grid.d.ts.map +1 -1
- package/dist/layout/grid.test.d.ts +2 -0
- package/dist/layout/grid.test.d.ts.map +1 -0
- package/dist/layout/inline.d.ts +2 -2
- package/dist/layout/inline.d.ts.map +1 -1
- package/dist/layout/responsive.d.ts +30 -0
- package/dist/layout/responsive.d.ts.map +1 -0
- package/dist/layout/split.d.ts +2 -1
- package/dist/layout/split.d.ts.map +1 -1
- package/dist/layout/stack.d.ts +2 -2
- package/dist/layout/stack.d.ts.map +1 -1
- package/dist/messages.d.ts +7 -0
- package/dist/messages.d.ts.map +1 -1
- package/dist/mixins/index.d.ts +1 -0
- package/dist/mixins/index.d.ts.map +1 -1
- package/dist/mixins/layout-item.d.ts +20 -0
- package/dist/mixins/layout-item.d.ts.map +1 -0
- package/dist/mixins/layout-item.test.d.ts +2 -0
- package/dist/mixins/layout-item.test.d.ts.map +1 -0
- package/dist/providers/ox0-provider.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Children, Fragment as external_react_Fragment, cloneElement, createContext, createElement, forwardRef, isValidElement, useCallback, useContext, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { isFocusVisible as hooks_isFocusVisible, useControllableState, usePress } from "@ox0/hooks";
|
|
4
|
-
import { FloatingFocusManager, FloatingPortal, autoUpdate, flip, offset, shift, size as react_size, useClick, useDismiss, useFloating, useInteractions, useListNavigation, useMergeRefs, useRole } from "@floating-ui/react";
|
|
5
|
-
import { createPortal } from "react-dom";
|
|
6
4
|
import { Ox0I18nProvider, useMessage } from "@ox0/i18n";
|
|
5
|
+
import { createPortal } from "react-dom";
|
|
6
|
+
import { FloatingFocusManager, FloatingPortal, autoUpdate, flip, offset, shift, size as react_size, useClick, useDismiss, useFloating, useInteractions, useListNavigation, useMergeRefs, useRole } from "@floating-ui/react";
|
|
7
7
|
import { DismissButton, HiddenSelect, Overlay, mergeProps, useButton, useFocusRing, useListBox, useListBoxSection, useObjectRef, useOption, usePopover, useSelect } from "react-aria";
|
|
8
8
|
import { Item, Section, useListState, useSelectState } from "react-stately";
|
|
9
9
|
import { createTheme } from "@ox0/tokens";
|
|
@@ -138,6 +138,183 @@ __webpack_require__.add({
|
|
|
138
138
|
A: __rspack_default_export
|
|
139
139
|
});
|
|
140
140
|
},
|
|
141
|
+
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/app-shell.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
142
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
143
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
144
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
145
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
146
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
147
|
+
___CSS_LOADER_EXPORT___.push([
|
|
148
|
+
module.id,
|
|
149
|
+
`.shell-PMruQs {
|
|
150
|
+
background: var(--ox0-color-canvas);
|
|
151
|
+
color: var(--ox0-color-foreground);
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
min-block-size: 100dvh;
|
|
154
|
+
display: flex;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.skipLink-yR80ud {
|
|
158
|
+
background: var(--ox0-color-surface);
|
|
159
|
+
border-radius: var(--ox0-radius-sm);
|
|
160
|
+
box-shadow: var(--ox0-shadow-md);
|
|
161
|
+
color: var(--ox0-color-accent-text);
|
|
162
|
+
font-weight: var(--ox0-font-weight-semibold);
|
|
163
|
+
padding: var(--ox0-space-sm) var(--ox0-space-md);
|
|
164
|
+
z-index: 20;
|
|
165
|
+
position: absolute;
|
|
166
|
+
inset-block-start: var(--ox0-space-sm);
|
|
167
|
+
inset-inline-start: var(--ox0-space-sm);
|
|
168
|
+
transform: translateY(-200%);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.skipLink-yR80ud:focus-visible {
|
|
172
|
+
outline: 2px solid var(--ox0-color-focus-ring);
|
|
173
|
+
transform: none;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.bar-o8AymB {
|
|
177
|
+
background: var(--ox0-color-surface);
|
|
178
|
+
border-block-end: 1px solid var(--ox0-color-border-subtle);
|
|
179
|
+
z-index: 10;
|
|
180
|
+
position: sticky;
|
|
181
|
+
inset-block-start: 0;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.barInner-feWiUP {
|
|
185
|
+
align-items: center;
|
|
186
|
+
gap: var(--ox0-space-lg);
|
|
187
|
+
min-block-size: 3.5rem;
|
|
188
|
+
padding-inline: var(--ox0-space-lg);
|
|
189
|
+
display: flex;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.brand-KL4jhb {
|
|
193
|
+
font-weight: var(--ox0-font-weight-semibold);
|
|
194
|
+
align-items: center;
|
|
195
|
+
gap: var(--ox0-space-sm);
|
|
196
|
+
flex-shrink: 0;
|
|
197
|
+
display: flex;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.barNav-MoDjCs {
|
|
201
|
+
flex: auto;
|
|
202
|
+
min-inline-size: 0;
|
|
203
|
+
display: none;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.actions-b1jjay {
|
|
207
|
+
align-items: center;
|
|
208
|
+
gap: var(--ox0-space-sm);
|
|
209
|
+
margin-inline-start: auto;
|
|
210
|
+
display: flex;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.menuButton-Dp7SLY {
|
|
214
|
+
margin-inline-start: calc(-1 * var(--ox0-space-xs));
|
|
215
|
+
display: flex;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@media (width >= 48rem) {
|
|
219
|
+
.barInner-feWiUP {
|
|
220
|
+
padding-inline: var(--ox0-space-2xl);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.barNav-MoDjCs {
|
|
224
|
+
display: flex;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.menuButton-Dp7SLY {
|
|
228
|
+
display: none;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.main-hxEowA {
|
|
233
|
+
outline: none;
|
|
234
|
+
flex-direction: column;
|
|
235
|
+
flex: auto;
|
|
236
|
+
display: flex;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.navList-Zq3sIY {
|
|
240
|
+
gap: var(--ox0-space-2xs);
|
|
241
|
+
margin: 0;
|
|
242
|
+
padding: 0;
|
|
243
|
+
list-style: none;
|
|
244
|
+
display: flex;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.navList-Zq3sIY[data-orientation="horizontal"] {
|
|
248
|
+
scrollbar-width: none;
|
|
249
|
+
flex-wrap: nowrap;
|
|
250
|
+
align-items: center;
|
|
251
|
+
overflow-x: auto;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.navList-Zq3sIY[data-orientation="vertical"] {
|
|
255
|
+
flex-direction: column;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.navItem-LuewCO {
|
|
259
|
+
border-radius: var(--ox0-radius-md);
|
|
260
|
+
color: var(--ox0-color-muted);
|
|
261
|
+
font-size: var(--ox0-font-size-sm);
|
|
262
|
+
font-weight: var(--ox0-font-weight-medium);
|
|
263
|
+
align-items: center;
|
|
264
|
+
gap: var(--ox0-space-sm);
|
|
265
|
+
padding: var(--ox0-space-sm) var(--ox0-space-md);
|
|
266
|
+
white-space: nowrap;
|
|
267
|
+
text-decoration: none;
|
|
268
|
+
display: flex;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.navItem-LuewCO:hover {
|
|
272
|
+
background: var(--ox0-color-surface-hover);
|
|
273
|
+
color: var(--ox0-color-foreground);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.navItem-LuewCO:focus-visible {
|
|
277
|
+
outline: 2px solid var(--ox0-color-focus-ring);
|
|
278
|
+
outline-offset: 1px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.navItem-LuewCO[aria-current="page"] {
|
|
282
|
+
background: var(--ox0-color-surface-selected);
|
|
283
|
+
color: var(--ox0-color-foreground);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.navList-Zq3sIY[data-orientation="horizontal"] .navItem-LuewCO[aria-current="page"] {
|
|
287
|
+
box-shadow: inset 0 -2px 0 var(--ox0-color-accent);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.navList-Zq3sIY[data-orientation="vertical"] .navItem-LuewCO {
|
|
291
|
+
font-size: var(--ox0-font-size-md);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.navList-Zq3sIY[data-orientation="vertical"] .navItem-LuewCO[aria-current="page"] {
|
|
295
|
+
box-shadow: inset 2px 0 0 var(--ox0-color-accent);
|
|
296
|
+
}
|
|
297
|
+
`,
|
|
298
|
+
""
|
|
299
|
+
]);
|
|
300
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
301
|
+
shell: "shell-PMruQs",
|
|
302
|
+
skipLink: "skipLink-yR80ud",
|
|
303
|
+
bar: "bar-o8AymB",
|
|
304
|
+
barInner: "barInner-feWiUP",
|
|
305
|
+
brand: "brand-KL4jhb",
|
|
306
|
+
barNav: "barNav-MoDjCs",
|
|
307
|
+
actions: "actions-b1jjay",
|
|
308
|
+
menuButton: "menuButton-Dp7SLY",
|
|
309
|
+
main: "main-hxEowA",
|
|
310
|
+
navList: "navList-Zq3sIY",
|
|
311
|
+
navItem: "navItem-LuewCO"
|
|
312
|
+
};
|
|
313
|
+
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
314
|
+
__webpack_require__.d(__webpack_exports__, {}, {
|
|
315
|
+
A: __rspack_default_export
|
|
316
|
+
});
|
|
317
|
+
},
|
|
141
318
|
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/badge.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
142
319
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
143
320
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
@@ -1058,6 +1235,7 @@ __webpack_require__.add({
|
|
|
1058
1235
|
___CSS_LOADER_EXPORT___.push([
|
|
1059
1236
|
module.id,
|
|
1060
1237
|
`.fieldset-ppnMnv {
|
|
1238
|
+
color: var(--ox0-color-foreground);
|
|
1061
1239
|
gap: var(--ox0-space-xs);
|
|
1062
1240
|
min-width: 0;
|
|
1063
1241
|
font-size: var(--ox0-font-size-md);
|
|
@@ -1070,7 +1248,6 @@ __webpack_require__.add({
|
|
|
1070
1248
|
.legend-q3mvtg {
|
|
1071
1249
|
float: left;
|
|
1072
1250
|
width: 100%;
|
|
1073
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
1074
1251
|
margin-bottom: var(--ox0-space-2xs);
|
|
1075
1252
|
padding: 0;
|
|
1076
1253
|
}
|
|
@@ -1159,6 +1336,7 @@ __webpack_require__.add({
|
|
|
1159
1336
|
}
|
|
1160
1337
|
|
|
1161
1338
|
.label-NpcnDS {
|
|
1339
|
+
color: var(--ox0-color-foreground);
|
|
1162
1340
|
cursor: pointer;
|
|
1163
1341
|
align-items: flex-start;
|
|
1164
1342
|
gap: .5rem;
|
|
@@ -1340,12 +1518,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
1340
1518
|
display: grid;
|
|
1341
1519
|
}
|
|
1342
1520
|
|
|
1343
|
-
.label-UcLArk {
|
|
1344
|
-
color: var(--ox0-color-muted);
|
|
1345
|
-
font-size: var(--ox0-font-size-sm);
|
|
1346
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
1521
|
.inputWrap-v2pqb1 {
|
|
1350
1522
|
display: grid;
|
|
1351
1523
|
position: relative;
|
|
@@ -1458,7 +1630,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
1458
1630
|
]);
|
|
1459
1631
|
___CSS_LOADER_EXPORT___.locals = {
|
|
1460
1632
|
root: "root-WkZ_BN",
|
|
1461
|
-
label: "label-UcLArk",
|
|
1462
1633
|
inputWrap: "inputWrap-v2pqb1",
|
|
1463
1634
|
input: "input-n3GGKy",
|
|
1464
1635
|
focusVisible: "focusVisible-adjirQ",
|
|
@@ -1478,6 +1649,53 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
1478
1649
|
A: __rspack_default_export
|
|
1479
1650
|
});
|
|
1480
1651
|
},
|
|
1652
|
+
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/confirm-dialog.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
1653
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
1654
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
1655
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
1656
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
1657
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
1658
|
+
___CSS_LOADER_EXPORT___.push([
|
|
1659
|
+
module.id,
|
|
1660
|
+
`.popover-r6JCmT {
|
|
1661
|
+
gap: var(--ox0-space-sm);
|
|
1662
|
+
max-inline-size: min(20rem, calc(100vw - 2 * var(--ox0-space-sm)));
|
|
1663
|
+
display: grid;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
.title-LdDtKM {
|
|
1667
|
+
color: var(--ox0-color-foreground);
|
|
1668
|
+
font-size: var(--ox0-font-size-md);
|
|
1669
|
+
font-weight: var(--ox0-font-weight-semibold);
|
|
1670
|
+
line-height: var(--ox0-line-height-snug);
|
|
1671
|
+
margin: 0;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
.description-LzMR2m {
|
|
1675
|
+
color: var(--ox0-color-muted);
|
|
1676
|
+
font-size: var(--ox0-font-size-sm);
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
.actions-GuPli0 {
|
|
1680
|
+
gap: var(--ox0-space-sm);
|
|
1681
|
+
justify-content: flex-end;
|
|
1682
|
+
margin-block-start: var(--ox0-space-xs);
|
|
1683
|
+
display: flex;
|
|
1684
|
+
}
|
|
1685
|
+
`,
|
|
1686
|
+
""
|
|
1687
|
+
]);
|
|
1688
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
1689
|
+
popover: "popover-r6JCmT",
|
|
1690
|
+
title: "title-LdDtKM",
|
|
1691
|
+
description: "description-LzMR2m",
|
|
1692
|
+
actions: "actions-GuPli0"
|
|
1693
|
+
};
|
|
1694
|
+
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
1695
|
+
__webpack_require__.d(__webpack_exports__, {}, {
|
|
1696
|
+
A: __rspack_default_export
|
|
1697
|
+
});
|
|
1698
|
+
},
|
|
1481
1699
|
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/dialog.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
1482
1700
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
1483
1701
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
@@ -2026,6 +2244,77 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2026
2244
|
A: __rspack_default_export
|
|
2027
2245
|
});
|
|
2028
2246
|
},
|
|
2247
|
+
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/drop-zone.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
2248
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
2249
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
2250
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
2251
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
2252
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
2253
|
+
___CSS_LOADER_EXPORT___.push([
|
|
2254
|
+
module.id,
|
|
2255
|
+
`.root-HAlTlg {
|
|
2256
|
+
gap: var(--ox0-space-xs);
|
|
2257
|
+
display: grid;
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
.zone-jE0ABH {
|
|
2261
|
+
background: var(--ox0-color-surface);
|
|
2262
|
+
border: 1.5px dashed var(--ox0-color-border-strong);
|
|
2263
|
+
border-radius: var(--ox0-radius-lg);
|
|
2264
|
+
color: var(--ox0-color-foreground);
|
|
2265
|
+
align-items: center;
|
|
2266
|
+
gap: var(--ox0-space-sm);
|
|
2267
|
+
padding: var(--ox0-space-xl) var(--ox0-space-lg);
|
|
2268
|
+
text-align: center;
|
|
2269
|
+
flex-direction: column;
|
|
2270
|
+
justify-content: center;
|
|
2271
|
+
display: flex;
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
.zone-jE0ABH[data-drop-target] {
|
|
2275
|
+
background: var(--ox0-color-accent-subtle);
|
|
2276
|
+
border-color: var(--ox0-color-accent);
|
|
2277
|
+
border-style: solid;
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
.zone-jE0ABH[data-invalid] {
|
|
2281
|
+
border-color: var(--ox0-color-danger);
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
.zone-jE0ABH[data-disabled] {
|
|
2285
|
+
opacity: .5;
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
.hint-LFK4TH {
|
|
2289
|
+
color: var(--ox0-color-muted);
|
|
2290
|
+
font-size: var(--ox0-font-size-sm);
|
|
2291
|
+
margin: 0;
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
.description-SgOExI {
|
|
2295
|
+
color: var(--ox0-color-muted);
|
|
2296
|
+
font-size: var(--ox0-font-size-sm);
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
.error-MBDZz6 {
|
|
2300
|
+
color: var(--ox0-color-danger-text);
|
|
2301
|
+
font-size: var(--ox0-font-size-sm);
|
|
2302
|
+
}
|
|
2303
|
+
`,
|
|
2304
|
+
""
|
|
2305
|
+
]);
|
|
2306
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
2307
|
+
root: "root-HAlTlg",
|
|
2308
|
+
zone: "zone-jE0ABH",
|
|
2309
|
+
hint: "hint-LFK4TH",
|
|
2310
|
+
description: "description-SgOExI",
|
|
2311
|
+
error: "error-MBDZz6"
|
|
2312
|
+
};
|
|
2313
|
+
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
2314
|
+
__webpack_require__.d(__webpack_exports__, {}, {
|
|
2315
|
+
A: __rspack_default_export
|
|
2316
|
+
});
|
|
2317
|
+
},
|
|
2029
2318
|
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/field-group.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
2030
2319
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
2031
2320
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
@@ -2035,6 +2324,7 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2035
2324
|
___CSS_LOADER_EXPORT___.push([
|
|
2036
2325
|
module.id,
|
|
2037
2326
|
`.fieldset-MruCMe {
|
|
2327
|
+
color: var(--ox0-color-foreground);
|
|
2038
2328
|
gap: var(--ox0-space-xs);
|
|
2039
2329
|
min-width: 0;
|
|
2040
2330
|
font-size: var(--ox0-font-size-md);
|
|
@@ -2047,7 +2337,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2047
2337
|
.legend-ALGR7i {
|
|
2048
2338
|
float: left;
|
|
2049
2339
|
width: 100%;
|
|
2050
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
2051
2340
|
margin-bottom: var(--ox0-space-2xs);
|
|
2052
2341
|
padding: 0;
|
|
2053
2342
|
}
|
|
@@ -2096,7 +2385,7 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2096
2385
|
A: __rspack_default_export
|
|
2097
2386
|
});
|
|
2098
2387
|
},
|
|
2099
|
-
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/
|
|
2388
|
+
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/field.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
2100
2389
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
2101
2390
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
2102
2391
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
@@ -2104,39 +2393,97 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2104
2393
|
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
2105
2394
|
___CSS_LOADER_EXPORT___.push([
|
|
2106
2395
|
module.id,
|
|
2107
|
-
`.
|
|
2396
|
+
`.label-YreTfV {
|
|
2108
2397
|
color: var(--ox0-color-foreground);
|
|
2109
|
-
align-items: baseline;
|
|
2110
|
-
gap: var(--ox0-space-xs);
|
|
2111
|
-
margin: 0;
|
|
2112
|
-
display: inline-flex;
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
|
-
.h1-HyQSOQ {
|
|
2116
|
-
font-size: var(--ox0-font-size-3xl);
|
|
2117
|
-
font-weight: var(--ox0-font-weight-bold);
|
|
2118
|
-
letter-spacing: var(--ox0-tracking-tight);
|
|
2119
|
-
line-height: var(--ox0-line-height-dense);
|
|
2120
|
-
}
|
|
2121
|
-
|
|
2122
|
-
.h2-LFrWtM {
|
|
2123
|
-
font-size: var(--ox0-font-size-2xl);
|
|
2124
|
-
font-weight: var(--ox0-font-weight-semibold);
|
|
2125
|
-
letter-spacing: var(--ox0-tracking-tight);
|
|
2126
|
-
line-height: var(--ox0-line-height-snug);
|
|
2127
|
-
}
|
|
2128
|
-
|
|
2129
|
-
.h3-Q0U0vZ {
|
|
2130
|
-
color: var(--ox0-color-muted);
|
|
2131
2398
|
font-size: var(--ox0-font-size-sm);
|
|
2132
|
-
font-weight: var(--ox0-font-weight-
|
|
2133
|
-
|
|
2134
|
-
line-height: var(--ox0-line-height-normal);
|
|
2135
|
-
text-transform: uppercase;
|
|
2399
|
+
font-weight: var(--ox0-font-weight-medium);
|
|
2400
|
+
line-height: var(--ox0-line-height-snug);
|
|
2136
2401
|
}
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2402
|
+
`,
|
|
2403
|
+
""
|
|
2404
|
+
]);
|
|
2405
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
2406
|
+
label: "label-YreTfV"
|
|
2407
|
+
};
|
|
2408
|
+
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
2409
|
+
__webpack_require__.d(__webpack_exports__, {}, {
|
|
2410
|
+
A: __rspack_default_export
|
|
2411
|
+
});
|
|
2412
|
+
},
|
|
2413
|
+
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/file-trigger.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
2414
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
2415
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
2416
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
2417
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
2418
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
2419
|
+
___CSS_LOADER_EXPORT___.push([
|
|
2420
|
+
module.id,
|
|
2421
|
+
`.input-KbwbR8 {
|
|
2422
|
+
clip-path: inset(50%);
|
|
2423
|
+
white-space: nowrap;
|
|
2424
|
+
block-size: 1px;
|
|
2425
|
+
inline-size: 1px;
|
|
2426
|
+
position: absolute;
|
|
2427
|
+
overflow: hidden;
|
|
2428
|
+
}
|
|
2429
|
+
`,
|
|
2430
|
+
""
|
|
2431
|
+
]);
|
|
2432
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
2433
|
+
input: "input-KbwbR8"
|
|
2434
|
+
};
|
|
2435
|
+
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
2436
|
+
__webpack_require__.d(__webpack_exports__, {}, {
|
|
2437
|
+
A: __rspack_default_export
|
|
2438
|
+
});
|
|
2439
|
+
},
|
|
2440
|
+
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/heading.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
2441
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
2442
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
2443
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
2444
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
2445
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
2446
|
+
___CSS_LOADER_EXPORT___.push([
|
|
2447
|
+
module.id,
|
|
2448
|
+
`.heading-gDgjx2 {
|
|
2449
|
+
color: var(--ox0-color-foreground);
|
|
2450
|
+
align-items: baseline;
|
|
2451
|
+
gap: var(--ox0-space-xs);
|
|
2452
|
+
margin: 0;
|
|
2453
|
+
display: inline-flex;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
.h1-HyQSOQ {
|
|
2457
|
+
font-size: var(--ox0-font-size-3xl);
|
|
2458
|
+
font-weight: var(--ox0-font-weight-bold);
|
|
2459
|
+
letter-spacing: var(--ox0-tracking-tight);
|
|
2460
|
+
line-height: var(--ox0-line-height-dense);
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
.h2-LFrWtM {
|
|
2464
|
+
font-size: var(--ox0-font-size-2xl);
|
|
2465
|
+
font-weight: var(--ox0-font-weight-semibold);
|
|
2466
|
+
letter-spacing: var(--ox0-tracking-tight);
|
|
2467
|
+
line-height: var(--ox0-line-height-snug);
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
.h3-Q0U0vZ {
|
|
2471
|
+
font-size: var(--ox0-font-size-lg);
|
|
2472
|
+
font-weight: var(--ox0-font-weight-semibold);
|
|
2473
|
+
line-height: var(--ox0-line-height-snug);
|
|
2474
|
+
}
|
|
2475
|
+
|
|
2476
|
+
.eyebrow-Bds3ov {
|
|
2477
|
+
color: var(--ox0-color-muted);
|
|
2478
|
+
font-size: var(--ox0-font-size-sm);
|
|
2479
|
+
font-weight: var(--ox0-font-weight-semibold);
|
|
2480
|
+
letter-spacing: var(--ox0-tracking-widest);
|
|
2481
|
+
line-height: var(--ox0-line-height-normal);
|
|
2482
|
+
text-transform: uppercase;
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
.anchor-OEWzis {
|
|
2486
|
+
color: var(--ox0-color-muted);
|
|
2140
2487
|
opacity: 0;
|
|
2141
2488
|
transition: opacity var(--ox0-duration-fast) var(--ox0-ease-crisp);
|
|
2142
2489
|
font-size: .8em;
|
|
@@ -2154,6 +2501,7 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2154
2501
|
h1: "h1-HyQSOQ",
|
|
2155
2502
|
h2: "h2-LFrWtM",
|
|
2156
2503
|
h3: "h3-Q0U0vZ",
|
|
2504
|
+
eyebrow: "eyebrow-Bds3ov",
|
|
2157
2505
|
anchor: "anchor-OEWzis"
|
|
2158
2506
|
};
|
|
2159
2507
|
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
@@ -2541,10 +2889,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2541
2889
|
display: grid;
|
|
2542
2890
|
}
|
|
2543
2891
|
|
|
2544
|
-
.label-GfyPDB {
|
|
2545
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
2546
|
-
}
|
|
2547
|
-
|
|
2548
2892
|
.control-iBbH3T {
|
|
2549
2893
|
background: var(--ox0-color-surface);
|
|
2550
2894
|
border: 1px solid var(--ox0-color-border);
|
|
@@ -2654,7 +2998,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2654
2998
|
]);
|
|
2655
2999
|
___CSS_LOADER_EXPORT___.locals = {
|
|
2656
3000
|
root: "root-DxBVJW",
|
|
2657
|
-
label: "label-GfyPDB",
|
|
2658
3001
|
control: "control-iBbH3T",
|
|
2659
3002
|
focusVisible: "focusVisible-zo4PYi",
|
|
2660
3003
|
invalid: "invalid-ZWjZxr",
|
|
@@ -2669,6 +3012,88 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2669
3012
|
A: __rspack_default_export
|
|
2670
3013
|
});
|
|
2671
3014
|
},
|
|
3015
|
+
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/page.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
3016
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
3017
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
3018
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
3019
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
3020
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
3021
|
+
___CSS_LOADER_EXPORT___.push([
|
|
3022
|
+
module.id,
|
|
3023
|
+
`.page-_SlYJ7 {
|
|
3024
|
+
box-sizing: border-box;
|
|
3025
|
+
inline-size: 100%;
|
|
3026
|
+
padding-block: var(--ox0-space-xl) var(--ox0-space-3xl);
|
|
3027
|
+
padding-inline: var(--ox0-space-lg);
|
|
3028
|
+
flex-direction: column;
|
|
3029
|
+
margin-inline: auto;
|
|
3030
|
+
display: flex;
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
@media (width >= 48rem) {
|
|
3034
|
+
.page-_SlYJ7 {
|
|
3035
|
+
padding-block: var(--ox0-space-2xl) var(--ox0-space-4xl);
|
|
3036
|
+
padding-inline: var(--ox0-space-2xl);
|
|
3037
|
+
}
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
@media (width >= 64rem) {
|
|
3041
|
+
.page-_SlYJ7 {
|
|
3042
|
+
padding-inline: var(--ox0-space-3xl);
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
.header-vK8pCg {
|
|
3047
|
+
gap: var(--ox0-space-sm);
|
|
3048
|
+
flex-direction: column;
|
|
3049
|
+
display: flex;
|
|
3050
|
+
}
|
|
3051
|
+
|
|
3052
|
+
.titleRow-O_tO2Q {
|
|
3053
|
+
align-items: flex-start;
|
|
3054
|
+
gap: var(--ox0-space-md) var(--ox0-space-lg);
|
|
3055
|
+
flex-wrap: wrap;
|
|
3056
|
+
justify-content: space-between;
|
|
3057
|
+
display: flex;
|
|
3058
|
+
}
|
|
3059
|
+
|
|
3060
|
+
.titleBlock-lTKPdy {
|
|
3061
|
+
gap: var(--ox0-space-xs);
|
|
3062
|
+
flex-direction: column;
|
|
3063
|
+
flex: 20rem;
|
|
3064
|
+
min-inline-size: 0;
|
|
3065
|
+
display: flex;
|
|
3066
|
+
}
|
|
3067
|
+
|
|
3068
|
+
.description-adu2_d {
|
|
3069
|
+
color: var(--ox0-color-muted);
|
|
3070
|
+
font-size: var(--ox0-font-size-md);
|
|
3071
|
+
max-inline-size: var(--ox0-maxw-prose);
|
|
3072
|
+
margin: 0;
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
.actions-gRLYOT {
|
|
3076
|
+
align-items: center;
|
|
3077
|
+
gap: var(--ox0-space-sm);
|
|
3078
|
+
flex-wrap: wrap;
|
|
3079
|
+
display: flex;
|
|
3080
|
+
}
|
|
3081
|
+
`,
|
|
3082
|
+
""
|
|
3083
|
+
]);
|
|
3084
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
3085
|
+
page: "page-_SlYJ7",
|
|
3086
|
+
header: "header-vK8pCg",
|
|
3087
|
+
titleRow: "titleRow-O_tO2Q",
|
|
3088
|
+
titleBlock: "titleBlock-lTKPdy",
|
|
3089
|
+
description: "description-adu2_d",
|
|
3090
|
+
actions: "actions-gRLYOT"
|
|
3091
|
+
};
|
|
3092
|
+
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
3093
|
+
__webpack_require__.d(__webpack_exports__, {}, {
|
|
3094
|
+
A: __rspack_default_export
|
|
3095
|
+
});
|
|
3096
|
+
},
|
|
2672
3097
|
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/popover.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
2673
3098
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
2674
3099
|
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
@@ -2705,6 +3130,7 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2705
3130
|
___CSS_LOADER_EXPORT___.push([
|
|
2706
3131
|
module.id,
|
|
2707
3132
|
`.fieldset-PcJq3W {
|
|
3133
|
+
color: var(--ox0-color-foreground);
|
|
2708
3134
|
gap: var(--ox0-space-xs);
|
|
2709
3135
|
min-width: 0;
|
|
2710
3136
|
font-size: var(--ox0-font-size-md);
|
|
@@ -2717,7 +3143,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2717
3143
|
.legend-PnQZ5W {
|
|
2718
3144
|
float: left;
|
|
2719
3145
|
width: 100%;
|
|
2720
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
2721
3146
|
margin-bottom: var(--ox0-space-2xs);
|
|
2722
3147
|
padding: 0;
|
|
2723
3148
|
}
|
|
@@ -2806,10 +3231,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2806
3231
|
display: grid;
|
|
2807
3232
|
}
|
|
2808
3233
|
|
|
2809
|
-
.label-apzt7o {
|
|
2810
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
2811
|
-
}
|
|
2812
|
-
|
|
2813
3234
|
.control-dbqWBN {
|
|
2814
3235
|
background: var(--ox0-color-surface);
|
|
2815
3236
|
border: 1px solid var(--ox0-color-border);
|
|
@@ -2908,7 +3329,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2908
3329
|
]);
|
|
2909
3330
|
___CSS_LOADER_EXPORT___.locals = {
|
|
2910
3331
|
root: "root-Bq3cNE",
|
|
2911
|
-
label: "label-apzt7o",
|
|
2912
3332
|
control: "control-dbqWBN",
|
|
2913
3333
|
focusVisible: "focusVisible-BqgPk4",
|
|
2914
3334
|
invalid: "invalid-rUFqjW",
|
|
@@ -2936,12 +3356,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
2936
3356
|
display: grid;
|
|
2937
3357
|
}
|
|
2938
3358
|
|
|
2939
|
-
.label-QcwXLk {
|
|
2940
|
-
color: var(--ox0-color-muted);
|
|
2941
|
-
font-size: var(--ox0-font-size-sm);
|
|
2942
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
2943
|
-
}
|
|
2944
|
-
|
|
2945
3359
|
.trigger-fW1Sil {
|
|
2946
3360
|
background: var(--ox0-color-surface);
|
|
2947
3361
|
border: 1px solid var(--ox0-color-border);
|
|
@@ -3153,7 +3567,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
3153
3567
|
]);
|
|
3154
3568
|
___CSS_LOADER_EXPORT___.locals = {
|
|
3155
3569
|
root: "root-FHU2Km",
|
|
3156
|
-
label: "label-QcwXLk",
|
|
3157
3570
|
trigger: "trigger-fW1Sil",
|
|
3158
3571
|
focusVisible: "focusVisible-jXb33t",
|
|
3159
3572
|
open: "open-b1Av3y",
|
|
@@ -3271,10 +3684,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
3271
3684
|
display: grid;
|
|
3272
3685
|
}
|
|
3273
3686
|
|
|
3274
|
-
.label-OvvORl {
|
|
3275
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
3276
|
-
}
|
|
3277
|
-
|
|
3278
3687
|
.track-ORxtg9 {
|
|
3279
3688
|
-webkit-appearance: none;
|
|
3280
3689
|
appearance: none;
|
|
@@ -3401,7 +3810,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
3401
3810
|
]);
|
|
3402
3811
|
___CSS_LOADER_EXPORT___.locals = {
|
|
3403
3812
|
root: "root-TON2np",
|
|
3404
|
-
label: "label-OvvORl",
|
|
3405
3813
|
track: "track-ORxtg9",
|
|
3406
3814
|
invalid: "invalid-zIlN78",
|
|
3407
3815
|
description: "description-coDMjf",
|
|
@@ -3539,6 +3947,7 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
3539
3947
|
}
|
|
3540
3948
|
|
|
3541
3949
|
.label-hZdO11 {
|
|
3950
|
+
color: var(--ox0-color-foreground);
|
|
3542
3951
|
cursor: pointer;
|
|
3543
3952
|
align-items: center;
|
|
3544
3953
|
gap: var(--ox0-space-sm);
|
|
@@ -3653,7 +4062,7 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
3653
4062
|
|
|
3654
4063
|
.th-_gOdfi {
|
|
3655
4064
|
padding: var(--ox0-space-sm) var(--ox0-space-md);
|
|
3656
|
-
text-align:
|
|
4065
|
+
text-align: start;
|
|
3657
4066
|
font-size: var(--ox0-font-size-sm);
|
|
3658
4067
|
font-weight: var(--ox0-font-weight-medium);
|
|
3659
4068
|
color: var(--ox0-color-muted);
|
|
@@ -3712,6 +4121,15 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
3712
4121
|
outline: none;
|
|
3713
4122
|
}
|
|
3714
4123
|
|
|
4124
|
+
.alignCenter-UdU7O4 {
|
|
4125
|
+
text-align: center;
|
|
4126
|
+
}
|
|
4127
|
+
|
|
4128
|
+
.alignEnd-Tibq08 {
|
|
4129
|
+
font-variant-numeric: tabular-nums;
|
|
4130
|
+
text-align: end;
|
|
4131
|
+
}
|
|
4132
|
+
|
|
3715
4133
|
.td-eVn_gZ:focus-visible {
|
|
3716
4134
|
box-shadow: inset 0 0 0 2px var(--ox0-color-accent);
|
|
3717
4135
|
outline: none;
|
|
@@ -3728,7 +4146,9 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
3728
4146
|
sortIcon: "sortIcon-ynIcGa",
|
|
3729
4147
|
tr: "tr-Nj6e6z",
|
|
3730
4148
|
selected: "selected-AJn0w7",
|
|
3731
|
-
td: "td-eVn_gZ"
|
|
4149
|
+
td: "td-eVn_gZ",
|
|
4150
|
+
alignCenter: "alignCenter-UdU7O4",
|
|
4151
|
+
alignEnd: "alignEnd-Tibq08"
|
|
3732
4152
|
};
|
|
3733
4153
|
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
3734
4154
|
__webpack_require__.d(__webpack_exports__, {}, {
|
|
@@ -3845,10 +4265,6 @@ label:hover > .control-TGnWDN[aria-invalid="true"]:not(:disabled) {
|
|
|
3845
4265
|
display: grid;
|
|
3846
4266
|
}
|
|
3847
4267
|
|
|
3848
|
-
.label-pNCdm5 {
|
|
3849
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3852
4268
|
.description-FYzKc1 {
|
|
3853
4269
|
color: var(--ox0-color-muted);
|
|
3854
4270
|
font-size: var(--ox0-font-size-sm);
|
|
@@ -3972,7 +4388,6 @@ div.tag-ueb2Qr.selected-a1JhC8[data-selectable]:hover {
|
|
|
3972
4388
|
]);
|
|
3973
4389
|
___CSS_LOADER_EXPORT___.locals = {
|
|
3974
4390
|
root: "root-czq2dC",
|
|
3975
|
-
label: "label-pNCdm5",
|
|
3976
4391
|
description: "description-FYzKc1",
|
|
3977
4392
|
error: "error-Ki_ghh",
|
|
3978
4393
|
tags: "tags-zkvYh0",
|
|
@@ -4002,10 +4417,6 @@ div.tag-ueb2Qr.selected-a1JhC8[data-selectable]:hover {
|
|
|
4002
4417
|
display: grid;
|
|
4003
4418
|
}
|
|
4004
4419
|
|
|
4005
|
-
.label-S2rwc9 {
|
|
4006
|
-
font-weight: var(--ox0-font-weight-medium);
|
|
4007
|
-
}
|
|
4008
|
-
|
|
4009
4420
|
.control-Vog3id {
|
|
4010
4421
|
background: var(--ox0-color-surface);
|
|
4011
4422
|
border: 1px solid var(--ox0-color-border);
|
|
@@ -4152,7 +4563,6 @@ div.tag-ueb2Qr.selected-a1JhC8[data-selectable]:hover {
|
|
|
4152
4563
|
]);
|
|
4153
4564
|
___CSS_LOADER_EXPORT___.locals = {
|
|
4154
4565
|
root: "root-EDj_sz",
|
|
4155
|
-
label: "label-S2rwc9",
|
|
4156
4566
|
control: "control-Vog3id",
|
|
4157
4567
|
focusVisible: "focusVisible-r4K4nT",
|
|
4158
4568
|
invalid: "invalid-M29JY3",
|
|
@@ -4552,6 +4962,91 @@ div.tag-ueb2Qr.selected-a1JhC8[data-selectable]:hover {
|
|
|
4552
4962
|
A: __rspack_default_export
|
|
4553
4963
|
});
|
|
4554
4964
|
},
|
|
4965
|
+
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/layout/grid.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
4966
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
4967
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
4968
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
4969
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
4970
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
4971
|
+
___CSS_LOADER_EXPORT___.push([
|
|
4972
|
+
module.id,
|
|
4973
|
+
`.grid-bGKCj5 {
|
|
4974
|
+
--ox0-grid-auto-columns: repeat(auto-fit,
|
|
4975
|
+
minmax(min(var(--ox0-grid-min-column, 12rem), 100%), 1fr));
|
|
4976
|
+
grid-template-columns: var(--ox0-grid-columns-base, var(--ox0-grid-auto-columns));
|
|
4977
|
+
grid-template-rows: var(--ox0-grid-rows-base, none);
|
|
4978
|
+
grid-template-areas: var(--ox0-grid-areas-base, none);
|
|
4979
|
+
display: grid;
|
|
4980
|
+
}
|
|
4981
|
+
|
|
4982
|
+
@media (width >= 30rem) {
|
|
4983
|
+
.grid-bGKCj5 {
|
|
4984
|
+
grid-template-columns: var(--ox0-grid-columns-sm, var(--ox0-grid-columns-base, var(--ox0-grid-auto-columns)));
|
|
4985
|
+
grid-template-rows: var(--ox0-grid-rows-sm, var(--ox0-grid-rows-base, none));
|
|
4986
|
+
grid-template-areas: var(--ox0-grid-areas-sm, var(--ox0-grid-areas-base, none));
|
|
4987
|
+
}
|
|
4988
|
+
}
|
|
4989
|
+
|
|
4990
|
+
@media (width >= 48rem) {
|
|
4991
|
+
.grid-bGKCj5 {
|
|
4992
|
+
grid-template-columns: var(--ox0-grid-columns-md, var(--ox0-grid-columns-sm, var(--ox0-grid-columns-base, var(--ox0-grid-auto-columns))));
|
|
4993
|
+
grid-template-rows: var(--ox0-grid-rows-md, var(--ox0-grid-rows-sm, var(--ox0-grid-rows-base, none)));
|
|
4994
|
+
grid-template-areas: var(--ox0-grid-areas-md, var(--ox0-grid-areas-sm, var(--ox0-grid-areas-base, none)));
|
|
4995
|
+
}
|
|
4996
|
+
}
|
|
4997
|
+
|
|
4998
|
+
@media (width >= 64rem) {
|
|
4999
|
+
.grid-bGKCj5 {
|
|
5000
|
+
grid-template-columns: var(--ox0-grid-columns-lg, var(--ox0-grid-columns-md, var(--ox0-grid-columns-sm, var(--ox0-grid-columns-base, var(--ox0-grid-auto-columns)))));
|
|
5001
|
+
grid-template-rows: var(--ox0-grid-rows-lg, var(--ox0-grid-rows-md, var(--ox0-grid-rows-sm, var(--ox0-grid-rows-base, none))));
|
|
5002
|
+
grid-template-areas: var(--ox0-grid-areas-lg, var(--ox0-grid-areas-md, var(--ox0-grid-areas-sm, var(--ox0-grid-areas-base, none))));
|
|
5003
|
+
}
|
|
5004
|
+
}
|
|
5005
|
+
|
|
5006
|
+
@media (width >= 80rem) {
|
|
5007
|
+
.grid-bGKCj5 {
|
|
5008
|
+
grid-template-columns: var(--ox0-grid-columns-xl, var(--ox0-grid-columns-lg, var(--ox0-grid-columns-md, var(--ox0-grid-columns-sm, var(--ox0-grid-columns-base, var(--ox0-grid-auto-columns))))));
|
|
5009
|
+
grid-template-rows: var(--ox0-grid-rows-xl, var(--ox0-grid-rows-lg, var(--ox0-grid-rows-md, var(--ox0-grid-rows-sm, var(--ox0-grid-rows-base, none)))));
|
|
5010
|
+
grid-template-areas: var(--ox0-grid-areas-xl, var(--ox0-grid-areas-lg, var(--ox0-grid-areas-md, var(--ox0-grid-areas-sm, var(--ox0-grid-areas-base, none)))));
|
|
5011
|
+
}
|
|
5012
|
+
}
|
|
5013
|
+
`,
|
|
5014
|
+
""
|
|
5015
|
+
]);
|
|
5016
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
5017
|
+
grid: "grid-bGKCj5"
|
|
5018
|
+
};
|
|
5019
|
+
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
5020
|
+
__webpack_require__.d(__webpack_exports__, {}, {
|
|
5021
|
+
A: __rspack_default_export
|
|
5022
|
+
});
|
|
5023
|
+
},
|
|
5024
|
+
"../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/providers/ox0-provider.module.css" (module, __webpack_exports__, __webpack_require__) {
|
|
5025
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
5026
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
5027
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
5028
|
+
var _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
5029
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_pnpm_rsbuild_core_2_1_13_core_js_3_47_0_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
5030
|
+
___CSS_LOADER_EXPORT___.push([
|
|
5031
|
+
module.id,
|
|
5032
|
+
`.root-_RvXxD {
|
|
5033
|
+
color: var(--ox0-color-foreground);
|
|
5034
|
+
font-family: var(--ox0-font-sans);
|
|
5035
|
+
font-size: var(--ox0-font-size-md);
|
|
5036
|
+
line-height: var(--ox0-line-height-normal);
|
|
5037
|
+
display: contents;
|
|
5038
|
+
}
|
|
5039
|
+
`,
|
|
5040
|
+
""
|
|
5041
|
+
]);
|
|
5042
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
5043
|
+
root: "root-_RvXxD"
|
|
5044
|
+
};
|
|
5045
|
+
const __rspack_default_export = ___CSS_LOADER_EXPORT___;
|
|
5046
|
+
__webpack_require__.d(__webpack_exports__, {}, {
|
|
5047
|
+
A: __rspack_default_export
|
|
5048
|
+
});
|
|
5049
|
+
},
|
|
4555
5050
|
"data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3.5 8.5l3 3 6-7%27/%3E%3C/svg%3E" (module) {
|
|
4556
5051
|
module.exports = "data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3.5 8.5l3 3 6-7%27/%3E%3C/svg%3E";
|
|
4557
5052
|
},
|
|
@@ -4790,6 +5285,13 @@ div.tag-ueb2Qr.selected-a1JhC8[data-selectable]:hover {
|
|
|
4790
5285
|
}
|
|
4791
5286
|
});
|
|
4792
5287
|
const defaultUiMessages = {
|
|
5288
|
+
"ox0.appShell.navTitle": "Menu",
|
|
5289
|
+
"ox0.appShell.openNav": "Open navigation",
|
|
5290
|
+
"ox0.appShell.skipToContent": "Skip to content",
|
|
5291
|
+
"ox0.confirm.cancel": "Cancel",
|
|
5292
|
+
"ox0.confirm.confirm": "Confirm",
|
|
5293
|
+
"ox0.dropZone.browse": "Choose file",
|
|
5294
|
+
"ox0.dropZone.browseMultiple": "Choose files",
|
|
4793
5295
|
"ox0.heading.anchorLabel": "Link to {id}",
|
|
4794
5296
|
"ox0.heading.anchorMarker": "#",
|
|
4795
5297
|
"ox0.select.selectedCount": "{count} selected",
|
|
@@ -4945,6 +5447,46 @@ const useSizing = (props)=>useMemo(()=>{
|
|
|
4945
5447
|
props.maxHeight,
|
|
4946
5448
|
props.aspectRatio
|
|
4947
5449
|
]);
|
|
5450
|
+
function splitLayoutItemProps({ width, minWidth, maxWidth, height, minHeight, maxHeight, aspectRatio, flex, flexGrow, flexShrink, flexBasis, alignSelf, gridArea, gridColumn, gridRow, order, ...rest }) {
|
|
5451
|
+
const layout = {
|
|
5452
|
+
width,
|
|
5453
|
+
minWidth,
|
|
5454
|
+
maxWidth,
|
|
5455
|
+
height,
|
|
5456
|
+
minHeight,
|
|
5457
|
+
maxHeight,
|
|
5458
|
+
aspectRatio,
|
|
5459
|
+
flex,
|
|
5460
|
+
flexGrow,
|
|
5461
|
+
flexShrink,
|
|
5462
|
+
flexBasis,
|
|
5463
|
+
alignSelf,
|
|
5464
|
+
gridArea,
|
|
5465
|
+
gridColumn,
|
|
5466
|
+
gridRow,
|
|
5467
|
+
order
|
|
5468
|
+
};
|
|
5469
|
+
return [
|
|
5470
|
+
layout,
|
|
5471
|
+
rest
|
|
5472
|
+
];
|
|
5473
|
+
}
|
|
5474
|
+
const useLayoutItem = (props)=>{
|
|
5475
|
+
const { style: sizingStyle } = useSizing(props);
|
|
5476
|
+
const { style: flexStyle } = useFlexItem(props);
|
|
5477
|
+
const { style: placementStyle } = usePlacement(props);
|
|
5478
|
+
return useMemo(()=>({
|
|
5479
|
+
style: {
|
|
5480
|
+
...sizingStyle,
|
|
5481
|
+
...flexStyle,
|
|
5482
|
+
...placementStyle
|
|
5483
|
+
}
|
|
5484
|
+
}), [
|
|
5485
|
+
sizingStyle,
|
|
5486
|
+
flexStyle,
|
|
5487
|
+
placementStyle
|
|
5488
|
+
]);
|
|
5489
|
+
};
|
|
4948
5490
|
const spacingMap = {
|
|
4949
5491
|
none: "0",
|
|
4950
5492
|
"2xs": "var(--ox0-space-2xs)",
|
|
@@ -5186,56 +5728,229 @@ function AccordionPanel({ children }) {
|
|
|
5186
5728
|
})
|
|
5187
5729
|
});
|
|
5188
5730
|
}
|
|
5189
|
-
const
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
const { style: spacingStyle } = useSpacing({
|
|
5208
|
-
gap,
|
|
5209
|
-
padding,
|
|
5210
|
-
paddingX,
|
|
5211
|
-
paddingY,
|
|
5212
|
-
paddingTop,
|
|
5213
|
-
paddingRight,
|
|
5214
|
-
paddingBottom,
|
|
5215
|
-
paddingLeft
|
|
5216
|
-
});
|
|
5217
|
-
return /*#__PURE__*/ jsx(Tag, {
|
|
5218
|
-
ref: ref,
|
|
5219
|
-
style: {
|
|
5220
|
-
alignItems: alignMap[align],
|
|
5221
|
-
display: "flex",
|
|
5222
|
-
flexWrap: wrap ? "wrap" : "nowrap",
|
|
5223
|
-
justifyContent: justifyMap[justify],
|
|
5224
|
-
...gridItemStyle,
|
|
5225
|
-
...spacingStyle
|
|
5226
|
-
},
|
|
5227
|
-
children: children
|
|
5731
|
+
const RouterContext = createContext(null);
|
|
5732
|
+
function useRouter() {
|
|
5733
|
+
return useContext(RouterContext);
|
|
5734
|
+
}
|
|
5735
|
+
function Chevron({ direction = "down", size = 16 }) {
|
|
5736
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
5737
|
+
"aria-hidden": "true",
|
|
5738
|
+
fill: "none",
|
|
5739
|
+
height: size,
|
|
5740
|
+
stroke: "currentColor",
|
|
5741
|
+
strokeLinecap: "round",
|
|
5742
|
+
strokeLinejoin: "round",
|
|
5743
|
+
strokeWidth: 2,
|
|
5744
|
+
viewBox: "0 0 24 24",
|
|
5745
|
+
width: size,
|
|
5746
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
5747
|
+
d: "down" === direction ? "m6 9 6 6 6-6" : "m18 15-6-6-6 6"
|
|
5748
|
+
})
|
|
5228
5749
|
});
|
|
5229
|
-
}
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5750
|
+
}
|
|
5751
|
+
function Checkmark({ size = 16 }) {
|
|
5752
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
5753
|
+
"aria-hidden": "true",
|
|
5754
|
+
fill: "none",
|
|
5755
|
+
height: size,
|
|
5756
|
+
stroke: "currentColor",
|
|
5757
|
+
strokeLinecap: "round",
|
|
5758
|
+
strokeLinejoin: "round",
|
|
5759
|
+
strokeWidth: 2,
|
|
5760
|
+
viewBox: "0 0 24 24",
|
|
5761
|
+
width: size,
|
|
5762
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
5763
|
+
d: "M20 6 9 17l-5-5"
|
|
5764
|
+
})
|
|
5765
|
+
});
|
|
5766
|
+
}
|
|
5767
|
+
function MenuGlyph({ size = 16 }) {
|
|
5768
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
5769
|
+
"aria-hidden": "true",
|
|
5770
|
+
fill: "none",
|
|
5771
|
+
height: size,
|
|
5772
|
+
stroke: "currentColor",
|
|
5773
|
+
strokeLinecap: "round",
|
|
5774
|
+
strokeLinejoin: "round",
|
|
5775
|
+
strokeWidth: 2,
|
|
5776
|
+
viewBox: "0 0 24 24",
|
|
5777
|
+
width: size,
|
|
5778
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
5779
|
+
d: "M4 6h16M4 12h16M4 18h16"
|
|
5780
|
+
})
|
|
5781
|
+
});
|
|
5782
|
+
}
|
|
5783
|
+
const drawer_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/drawer.module.css");
|
|
5784
|
+
var drawer_module_options = {};
|
|
5785
|
+
drawer_module_options.styleTagTransform = styleTagTransform_default();
|
|
5786
|
+
drawer_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
5787
|
+
drawer_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
5788
|
+
drawer_module_options.domAPI = styleDomAPI_default();
|
|
5789
|
+
drawer_module_options.insertStyleElement = insertStyleElement_default();
|
|
5790
|
+
injectStylesIntoStyleTag_default()(drawer_module_0.A, drawer_module_options);
|
|
5791
|
+
const drawer_module = drawer_module_0.A && drawer_module_0.A.locals ? drawer_module_0.A.locals : void 0;
|
|
5792
|
+
const DEFAULT_WIDTH = 320;
|
|
5793
|
+
const DEFAULT_MIN_WIDTH = 240;
|
|
5794
|
+
const DEFAULT_MAX_WIDTH = 640;
|
|
5795
|
+
const KEYBOARD_RESIZE_STEP = 16;
|
|
5796
|
+
const DrawerContext = /*#__PURE__*/ createContext(null);
|
|
5797
|
+
function useDrawerContext() {
|
|
5798
|
+
const ctx = useContext(DrawerContext);
|
|
5799
|
+
if (!ctx) throw new Error("Drawer subcomponents must be used inside <Drawer>");
|
|
5800
|
+
return ctx;
|
|
5801
|
+
}
|
|
5802
|
+
function DrawerRoot({ children, isOpen, onClose, placement = "right", variant = "overlay", isDismissDisabled, isResizable = false, width: widthProp, defaultWidth = DEFAULT_WIDTH, onWidthChange, minWidth = DEFAULT_MIN_WIDTH, maxWidth = DEFAULT_MAX_WIDTH }) {
|
|
5803
|
+
const titleId = useId();
|
|
5804
|
+
const [phase, setPhase] = useState(isOpen ? "entering" : "closed");
|
|
5805
|
+
const [width, setWidth] = useControllableState({
|
|
5806
|
+
defaultValue: defaultWidth,
|
|
5807
|
+
value: widthProp,
|
|
5808
|
+
onChange: onWidthChange
|
|
5809
|
+
});
|
|
5810
|
+
const dragRef = useRef(null);
|
|
5811
|
+
const panelRef = useRef(null);
|
|
5812
|
+
useEffect(()=>{
|
|
5813
|
+
setPhase((current)=>{
|
|
5814
|
+
if (isOpen) return "closed" === current ? "entering" : "exiting" === current ? "open" : current;
|
|
5815
|
+
return "closed" === current ? "closed" : "exiting";
|
|
5816
|
+
});
|
|
5817
|
+
}, [
|
|
5818
|
+
isOpen
|
|
5819
|
+
]);
|
|
5820
|
+
const contextValue = useMemo(()=>({
|
|
5821
|
+
onClose,
|
|
5822
|
+
titleId
|
|
5823
|
+
}), [
|
|
5824
|
+
onClose,
|
|
5825
|
+
titleId
|
|
5826
|
+
]);
|
|
5827
|
+
useEffect(()=>{
|
|
5828
|
+
if (!isOpen) return;
|
|
5829
|
+
const handler = (e)=>{
|
|
5830
|
+
if ("Escape" === e.key) {
|
|
5831
|
+
e.preventDefault();
|
|
5832
|
+
if (!isDismissDisabled) onClose();
|
|
5833
|
+
}
|
|
5834
|
+
};
|
|
5835
|
+
document.addEventListener("keydown", handler);
|
|
5836
|
+
return ()=>document.removeEventListener("keydown", handler);
|
|
5837
|
+
}, [
|
|
5838
|
+
isDismissDisabled,
|
|
5839
|
+
isOpen,
|
|
5840
|
+
onClose
|
|
5841
|
+
]);
|
|
5842
|
+
useEffect(()=>{
|
|
5843
|
+
if (!isOpen || "overlay" !== variant) return;
|
|
5844
|
+
const handler = (e)=>{
|
|
5845
|
+
if (isDismissDisabled) return;
|
|
5846
|
+
if (!(e.target instanceof Node)) return;
|
|
5847
|
+
if (panelRef.current?.contains(e.target)) return;
|
|
5848
|
+
onClose();
|
|
5849
|
+
};
|
|
5850
|
+
document.addEventListener("pointerdown", handler);
|
|
5851
|
+
return ()=>document.removeEventListener("pointerdown", handler);
|
|
5852
|
+
}, [
|
|
5853
|
+
isDismissDisabled,
|
|
5854
|
+
isOpen,
|
|
5855
|
+
onClose,
|
|
5856
|
+
variant
|
|
5857
|
+
]);
|
|
5858
|
+
if ("closed" === phase) return null;
|
|
5859
|
+
function clampWidth(next) {
|
|
5860
|
+
return Math.min(maxWidth, Math.max(minWidth, next));
|
|
5861
|
+
}
|
|
5862
|
+
function handleResizePointerDown(event) {
|
|
5863
|
+
dragRef.current = {
|
|
5864
|
+
startX: event.clientX,
|
|
5865
|
+
startWidth: width
|
|
5866
|
+
};
|
|
5867
|
+
event.currentTarget.setPointerCapture(event.pointerId);
|
|
5868
|
+
}
|
|
5869
|
+
function handleResizePointerMove(event) {
|
|
5870
|
+
const drag = dragRef.current;
|
|
5871
|
+
if (!drag) return;
|
|
5872
|
+
const delta = event.clientX - drag.startX;
|
|
5873
|
+
const signedDelta = "right" === placement ? -delta : delta;
|
|
5874
|
+
setWidth(clampWidth(drag.startWidth + signedDelta));
|
|
5875
|
+
}
|
|
5876
|
+
function handleResizePointerUp(event) {
|
|
5877
|
+
dragRef.current = null;
|
|
5878
|
+
event.currentTarget.releasePointerCapture(event.pointerId);
|
|
5879
|
+
}
|
|
5880
|
+
function handleResizeKeyDown(event) {
|
|
5881
|
+
const directionSign = "right" === placement ? -1 : 1;
|
|
5882
|
+
if ("ArrowLeft" === event.key) {
|
|
5883
|
+
event.preventDefault();
|
|
5884
|
+
setWidth(clampWidth(width - directionSign * KEYBOARD_RESIZE_STEP));
|
|
5885
|
+
} else if ("ArrowRight" === event.key) {
|
|
5886
|
+
event.preventDefault();
|
|
5887
|
+
setWidth(clampWidth(width + directionSign * KEYBOARD_RESIZE_STEP));
|
|
5888
|
+
}
|
|
5889
|
+
}
|
|
5890
|
+
const panelStyle = {
|
|
5891
|
+
width,
|
|
5892
|
+
"--ox0-drawer-width": `${width}px`
|
|
5893
|
+
};
|
|
5894
|
+
const panel = /*#__PURE__*/ jsx(DrawerContext.Provider, {
|
|
5895
|
+
value: contextValue,
|
|
5896
|
+
children: /*#__PURE__*/ jsxs("aside", {
|
|
5897
|
+
"aria-labelledby": titleId,
|
|
5898
|
+
className: drawer_module.panel,
|
|
5899
|
+
"data-phase": phase,
|
|
5900
|
+
"data-placement": placement,
|
|
5901
|
+
"data-variant": variant,
|
|
5902
|
+
ref: panelRef,
|
|
5903
|
+
style: panelStyle,
|
|
5904
|
+
onAnimationEnd: (e)=>{
|
|
5905
|
+
if (e.target !== e.currentTarget) return;
|
|
5906
|
+
if ("entering" === phase) setPhase("open");
|
|
5907
|
+
else if ("exiting" === phase) setPhase("closed");
|
|
5908
|
+
},
|
|
5909
|
+
children: [
|
|
5910
|
+
isResizable && /*#__PURE__*/ jsx("div", {
|
|
5911
|
+
"aria-label": "Resize panel",
|
|
5912
|
+
"aria-orientation": "vertical",
|
|
5913
|
+
"aria-valuemax": maxWidth,
|
|
5914
|
+
"aria-valuemin": minWidth,
|
|
5915
|
+
"aria-valuenow": width,
|
|
5916
|
+
className: drawer_module.resizeHandle,
|
|
5917
|
+
"data-placement": placement,
|
|
5918
|
+
role: "separator",
|
|
5919
|
+
tabIndex: 0,
|
|
5920
|
+
onKeyDown: handleResizeKeyDown,
|
|
5921
|
+
onPointerDown: handleResizePointerDown,
|
|
5922
|
+
onPointerMove: handleResizePointerMove,
|
|
5923
|
+
onPointerUp: handleResizePointerUp
|
|
5924
|
+
}),
|
|
5925
|
+
/*#__PURE__*/ jsx("div", {
|
|
5926
|
+
className: drawer_module.content,
|
|
5927
|
+
children: children
|
|
5928
|
+
})
|
|
5929
|
+
]
|
|
5930
|
+
})
|
|
5931
|
+
});
|
|
5932
|
+
if ("push" === variant) {
|
|
5933
|
+
const pushStyle = {
|
|
5934
|
+
"--ox0-drawer-width": `${width}px`
|
|
5935
|
+
};
|
|
5936
|
+
return /*#__PURE__*/ jsx("div", {
|
|
5937
|
+
className: drawer_module.pushContainer,
|
|
5938
|
+
"data-phase": phase,
|
|
5939
|
+
style: pushStyle,
|
|
5940
|
+
onAnimationEnd: (e)=>{
|
|
5941
|
+
if (e.target !== e.currentTarget) return;
|
|
5942
|
+
if ("entering" === phase) setPhase("open");
|
|
5943
|
+
else if ("exiting" === phase) setPhase("closed");
|
|
5944
|
+
},
|
|
5945
|
+
children: panel
|
|
5946
|
+
});
|
|
5947
|
+
}
|
|
5948
|
+
return /*#__PURE__*/ createPortal(/*#__PURE__*/ jsx("div", {
|
|
5949
|
+
className: drawer_module.overlayContainer,
|
|
5950
|
+
"data-placement": placement,
|
|
5951
|
+
children: panel
|
|
5952
|
+
}), document.body);
|
|
5953
|
+
}
|
|
5239
5954
|
const CloseIcon = ()=>/*#__PURE__*/ jsxs("svg", {
|
|
5240
5955
|
"aria-hidden": "true",
|
|
5241
5956
|
fill: "none",
|
|
@@ -5261,22 +5976,555 @@ const CloseIcon = ()=>/*#__PURE__*/ jsxs("svg", {
|
|
|
5261
5976
|
})
|
|
5262
5977
|
]
|
|
5263
5978
|
});
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
fill: "none",
|
|
5269
|
-
height: "16",
|
|
5270
|
-
stroke: "currentColor",
|
|
5271
|
-
strokeLinecap: "round",
|
|
5272
|
-
strokeLinejoin: "round",
|
|
5273
|
-
strokeWidth: "2",
|
|
5274
|
-
viewBox: "0 0 16 16",
|
|
5275
|
-
width: "16",
|
|
5979
|
+
function DrawerHeader({ children }) {
|
|
5980
|
+
const { onClose } = useDrawerContext();
|
|
5981
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
5982
|
+
className: drawer_module.header,
|
|
5276
5983
|
children: [
|
|
5277
|
-
/*#__PURE__*/ jsx("
|
|
5278
|
-
|
|
5279
|
-
|
|
5984
|
+
/*#__PURE__*/ jsx("div", {
|
|
5985
|
+
className: drawer_module.headerContent,
|
|
5986
|
+
children: children
|
|
5987
|
+
}),
|
|
5988
|
+
/*#__PURE__*/ jsx("button", {
|
|
5989
|
+
"aria-label": "Close",
|
|
5990
|
+
className: drawer_module.closeButton,
|
|
5991
|
+
type: "button",
|
|
5992
|
+
onClick: onClose,
|
|
5993
|
+
children: /*#__PURE__*/ jsx(CloseIcon, {})
|
|
5994
|
+
})
|
|
5995
|
+
]
|
|
5996
|
+
});
|
|
5997
|
+
}
|
|
5998
|
+
function DrawerTitle({ children }) {
|
|
5999
|
+
const { titleId } = useDrawerContext();
|
|
6000
|
+
return /*#__PURE__*/ jsx("h2", {
|
|
6001
|
+
id: titleId,
|
|
6002
|
+
className: drawer_module.title,
|
|
6003
|
+
children: children
|
|
6004
|
+
});
|
|
6005
|
+
}
|
|
6006
|
+
function DrawerBody({ children }) {
|
|
6007
|
+
return /*#__PURE__*/ jsx("div", {
|
|
6008
|
+
className: drawer_module.body,
|
|
6009
|
+
children: children
|
|
6010
|
+
});
|
|
6011
|
+
}
|
|
6012
|
+
function DrawerFooter({ children }) {
|
|
6013
|
+
return /*#__PURE__*/ jsx("div", {
|
|
6014
|
+
className: drawer_module.footer,
|
|
6015
|
+
children: children
|
|
6016
|
+
});
|
|
6017
|
+
}
|
|
6018
|
+
const Drawer = Object.assign(DrawerRoot, {
|
|
6019
|
+
displayName: "Drawer",
|
|
6020
|
+
Header: DrawerHeader,
|
|
6021
|
+
Title: DrawerTitle,
|
|
6022
|
+
Body: DrawerBody,
|
|
6023
|
+
Footer: DrawerFooter
|
|
6024
|
+
});
|
|
6025
|
+
const SAFE_HREF = /^(\/|\.\.?\/|#.+|https?:\/\/|mailto:|tel:)/i;
|
|
6026
|
+
function isSafeHref(to) {
|
|
6027
|
+
return SAFE_HREF.test(to);
|
|
6028
|
+
}
|
|
6029
|
+
const button_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/button.module.css");
|
|
6030
|
+
var button_module_options = {};
|
|
6031
|
+
button_module_options.styleTagTransform = styleTagTransform_default();
|
|
6032
|
+
button_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
6033
|
+
button_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
6034
|
+
button_module_options.domAPI = styleDomAPI_default();
|
|
6035
|
+
button_module_options.insertStyleElement = insertStyleElement_default();
|
|
6036
|
+
injectStylesIntoStyleTag_default()(button_module_0.A, button_module_options);
|
|
6037
|
+
const button_module = button_module_0.A && button_module_0.A.locals ? button_module_0.A.locals : void 0;
|
|
6038
|
+
const iconSize = {
|
|
6039
|
+
xs: 12,
|
|
6040
|
+
sm: 14,
|
|
6041
|
+
md: 16,
|
|
6042
|
+
lg: 18
|
|
6043
|
+
};
|
|
6044
|
+
const MIN_PRESS_MS = 150;
|
|
6045
|
+
function useMinPressDuration(isPressed) {
|
|
6046
|
+
const [isVisuallyPressed, setIsVisuallyPressed] = useState(false);
|
|
6047
|
+
const pressStartRef = useRef(0);
|
|
6048
|
+
const timeoutRef = useRef(void 0);
|
|
6049
|
+
useEffect(()=>{
|
|
6050
|
+
if (isPressed) {
|
|
6051
|
+
clearTimeout(timeoutRef.current);
|
|
6052
|
+
pressStartRef.current = Date.now();
|
|
6053
|
+
setIsVisuallyPressed(true);
|
|
6054
|
+
} else {
|
|
6055
|
+
const remaining = MIN_PRESS_MS - (Date.now() - pressStartRef.current);
|
|
6056
|
+
if (remaining > 0) timeoutRef.current = setTimeout(()=>setIsVisuallyPressed(false), remaining);
|
|
6057
|
+
else setIsVisuallyPressed(false);
|
|
6058
|
+
}
|
|
6059
|
+
return ()=>clearTimeout(timeoutRef.current);
|
|
6060
|
+
}, [
|
|
6061
|
+
isPressed
|
|
6062
|
+
]);
|
|
6063
|
+
return isVisuallyPressed;
|
|
6064
|
+
}
|
|
6065
|
+
const button_Button = /*#__PURE__*/ forwardRef(function({ children, icon: Icon, iconEnd: IconEnd, isDisabled, isSelected, onPress, onPressStart, onPressEnd, onPressChange, onPressUp, onPointerEnter, onPointerLeave, size = "md", type = "button", variant = "secondary", ...rest }, ref) {
|
|
6066
|
+
const { pressProps, isPressed: isActuallyPressed } = usePress({
|
|
6067
|
+
onPress,
|
|
6068
|
+
onPressStart,
|
|
6069
|
+
onPressEnd,
|
|
6070
|
+
onPressChange,
|
|
6071
|
+
onPressUp,
|
|
6072
|
+
isDisabled
|
|
6073
|
+
});
|
|
6074
|
+
const isPressed = useMinPressDuration(isActuallyPressed);
|
|
6075
|
+
const isIconOnly = void 0 !== Icon && void 0 === IconEnd && null == children;
|
|
6076
|
+
const composedPointerEnter = onPointerEnter ? (e)=>{
|
|
6077
|
+
onPointerEnter(e);
|
|
6078
|
+
pressProps.onPointerEnter?.(e);
|
|
6079
|
+
} : pressProps.onPointerEnter;
|
|
6080
|
+
const composedPointerLeave = onPointerLeave ? (e)=>{
|
|
6081
|
+
onPointerLeave(e);
|
|
6082
|
+
pressProps.onPointerLeave?.(e);
|
|
6083
|
+
} : pressProps.onPointerLeave;
|
|
6084
|
+
return /*#__PURE__*/ jsx("button", {
|
|
6085
|
+
ref: ref,
|
|
6086
|
+
...rest,
|
|
6087
|
+
...pressProps,
|
|
6088
|
+
onPointerEnter: composedPointerEnter,
|
|
6089
|
+
onPointerLeave: composedPointerLeave,
|
|
6090
|
+
"aria-pressed": isSelected,
|
|
6091
|
+
className: [
|
|
6092
|
+
button_module.button,
|
|
6093
|
+
button_module[variant],
|
|
6094
|
+
button_module[size],
|
|
6095
|
+
isPressed && button_module.pressed,
|
|
6096
|
+
isSelected && button_module.selected,
|
|
6097
|
+
isIconOnly ? button_module.iconOnly : Icon && button_module.hasIcon,
|
|
6098
|
+
IconEnd && button_module.hasIconEnd
|
|
6099
|
+
].filter(Boolean).join(" "),
|
|
6100
|
+
"data-variant": variant,
|
|
6101
|
+
disabled: isDisabled,
|
|
6102
|
+
type: type,
|
|
6103
|
+
children: /*#__PURE__*/ jsxs("span", {
|
|
6104
|
+
className: button_module.content,
|
|
6105
|
+
children: [
|
|
6106
|
+
Icon && /*#__PURE__*/ jsx(Icon, {
|
|
6107
|
+
size: iconSize[size]
|
|
6108
|
+
}),
|
|
6109
|
+
children,
|
|
6110
|
+
IconEnd && /*#__PURE__*/ jsx(IconEnd, {
|
|
6111
|
+
size: iconSize[size]
|
|
6112
|
+
})
|
|
6113
|
+
]
|
|
6114
|
+
})
|
|
6115
|
+
});
|
|
6116
|
+
});
|
|
6117
|
+
const WARMUP_MS = 1000;
|
|
6118
|
+
const COOLDOWN_MS = 500;
|
|
6119
|
+
let warm = false;
|
|
6120
|
+
let cooldownTimer = null;
|
|
6121
|
+
const tooltipManager = {
|
|
6122
|
+
getDelay () {
|
|
6123
|
+
return warm ? 0 : WARMUP_MS;
|
|
6124
|
+
},
|
|
6125
|
+
onOpen () {
|
|
6126
|
+
if (null !== cooldownTimer) {
|
|
6127
|
+
clearTimeout(cooldownTimer);
|
|
6128
|
+
cooldownTimer = null;
|
|
6129
|
+
}
|
|
6130
|
+
warm = true;
|
|
6131
|
+
},
|
|
6132
|
+
onClose () {
|
|
6133
|
+
if (null !== cooldownTimer) clearTimeout(cooldownTimer);
|
|
6134
|
+
cooldownTimer = setTimeout(()=>{
|
|
6135
|
+
warm = false;
|
|
6136
|
+
cooldownTimer = null;
|
|
6137
|
+
}, COOLDOWN_MS);
|
|
6138
|
+
}
|
|
6139
|
+
};
|
|
6140
|
+
const tooltip_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/tooltip.module.css");
|
|
6141
|
+
var tooltip_module_options = {};
|
|
6142
|
+
tooltip_module_options.styleTagTransform = styleTagTransform_default();
|
|
6143
|
+
tooltip_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
6144
|
+
tooltip_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
6145
|
+
tooltip_module_options.domAPI = styleDomAPI_default();
|
|
6146
|
+
tooltip_module_options.insertStyleElement = insertStyleElement_default();
|
|
6147
|
+
injectStylesIntoStyleTag_default()(tooltip_module_0.A, tooltip_module_options);
|
|
6148
|
+
const tooltip_module = tooltip_module_0.A && tooltip_module_0.A.locals ? tooltip_module_0.A.locals : void 0;
|
|
6149
|
+
const TooltipContext = /*#__PURE__*/ createContext(null);
|
|
6150
|
+
function useTooltipContext() {
|
|
6151
|
+
const ctx = useContext(TooltipContext);
|
|
6152
|
+
if (!ctx) throw new Error("TooltipTrigger and TooltipContent must be used inside <Tooltip>");
|
|
6153
|
+
return ctx;
|
|
6154
|
+
}
|
|
6155
|
+
function Tooltip({ children, placement = "top", isDisabled = false }) {
|
|
6156
|
+
const [open, setOpen] = useState(false);
|
|
6157
|
+
const openTimerRef = useRef(null);
|
|
6158
|
+
const isHoveringRef = useRef(false);
|
|
6159
|
+
const isFocusedRef = useRef(false);
|
|
6160
|
+
const clearOpenTimer = useCallback(()=>{
|
|
6161
|
+
if (null !== openTimerRef.current) {
|
|
6162
|
+
clearTimeout(openTimerRef.current);
|
|
6163
|
+
openTimerRef.current = null;
|
|
6164
|
+
}
|
|
6165
|
+
}, []);
|
|
6166
|
+
const { refs, floatingStyles, context } = useFloating({
|
|
6167
|
+
open,
|
|
6168
|
+
onOpenChange: (nextOpen)=>{
|
|
6169
|
+
if (!nextOpen) {
|
|
6170
|
+
clearOpenTimer();
|
|
6171
|
+
isHoveringRef.current = false;
|
|
6172
|
+
isFocusedRef.current = false;
|
|
6173
|
+
setOpen(false);
|
|
6174
|
+
tooltipManager.onClose();
|
|
6175
|
+
}
|
|
6176
|
+
},
|
|
6177
|
+
placement,
|
|
6178
|
+
middleware: [
|
|
6179
|
+
offset(8),
|
|
6180
|
+
flip(),
|
|
6181
|
+
shift({
|
|
6182
|
+
padding: 8
|
|
6183
|
+
})
|
|
6184
|
+
],
|
|
6185
|
+
whileElementsMounted: autoUpdate
|
|
6186
|
+
});
|
|
6187
|
+
const dismiss = useDismiss(context, {
|
|
6188
|
+
referencePress: false
|
|
6189
|
+
});
|
|
6190
|
+
const role = useRole(context, {
|
|
6191
|
+
role: "tooltip"
|
|
6192
|
+
});
|
|
6193
|
+
const { getReferenceProps, getFloatingProps } = useInteractions([
|
|
6194
|
+
dismiss,
|
|
6195
|
+
role
|
|
6196
|
+
]);
|
|
6197
|
+
const doOpen = useCallback(()=>{
|
|
6198
|
+
clearOpenTimer();
|
|
6199
|
+
setOpen(true);
|
|
6200
|
+
tooltipManager.onOpen();
|
|
6201
|
+
}, [
|
|
6202
|
+
clearOpenTimer
|
|
6203
|
+
]);
|
|
6204
|
+
const tryClose = useCallback(()=>{
|
|
6205
|
+
if (!isHoveringRef.current && !isFocusedRef.current) {
|
|
6206
|
+
clearOpenTimer();
|
|
6207
|
+
setOpen(false);
|
|
6208
|
+
tooltipManager.onClose();
|
|
6209
|
+
}
|
|
6210
|
+
}, [
|
|
6211
|
+
clearOpenTimer
|
|
6212
|
+
]);
|
|
6213
|
+
const referenceProps = getReferenceProps({
|
|
6214
|
+
onPointerEnter (e) {
|
|
6215
|
+
if ("touch" === e.pointerType) return;
|
|
6216
|
+
if (isHoveringRef.current) return;
|
|
6217
|
+
isHoveringRef.current = true;
|
|
6218
|
+
const delay = tooltipManager.getDelay();
|
|
6219
|
+
if (0 === delay) doOpen();
|
|
6220
|
+
else openTimerRef.current = setTimeout(()=>{
|
|
6221
|
+
openTimerRef.current = null;
|
|
6222
|
+
doOpen();
|
|
6223
|
+
}, delay);
|
|
6224
|
+
},
|
|
6225
|
+
onPointerLeave () {
|
|
6226
|
+
isHoveringRef.current = false;
|
|
6227
|
+
tryClose();
|
|
6228
|
+
},
|
|
6229
|
+
onFocus () {
|
|
6230
|
+
if (!hooks_isFocusVisible()) return;
|
|
6231
|
+
isFocusedRef.current = true;
|
|
6232
|
+
clearOpenTimer();
|
|
6233
|
+
doOpen();
|
|
6234
|
+
},
|
|
6235
|
+
onBlur () {
|
|
6236
|
+
isFocusedRef.current = false;
|
|
6237
|
+
tryClose();
|
|
6238
|
+
}
|
|
6239
|
+
});
|
|
6240
|
+
const value = {
|
|
6241
|
+
open,
|
|
6242
|
+
isDisabled,
|
|
6243
|
+
referenceRef: refs.setReference,
|
|
6244
|
+
floatingRef: refs.setFloating,
|
|
6245
|
+
floatingStyles,
|
|
6246
|
+
getReferenceProps: ()=>referenceProps,
|
|
6247
|
+
getFloatingProps
|
|
6248
|
+
};
|
|
6249
|
+
return /*#__PURE__*/ jsx(TooltipContext.Provider, {
|
|
6250
|
+
value: value,
|
|
6251
|
+
children: children
|
|
6252
|
+
});
|
|
6253
|
+
}
|
|
6254
|
+
function TooltipTrigger({ children }) {
|
|
6255
|
+
const { isDisabled, referenceRef, getReferenceProps } = useTooltipContext();
|
|
6256
|
+
const { ref: childRef, ...childProps } = children.props;
|
|
6257
|
+
const composedRef = useMergeRefs([
|
|
6258
|
+
referenceRef,
|
|
6259
|
+
childRef ?? null
|
|
6260
|
+
]);
|
|
6261
|
+
if (isDisabled) return children;
|
|
6262
|
+
return /*#__PURE__*/ cloneElement(children, {
|
|
6263
|
+
...getReferenceProps(childProps),
|
|
6264
|
+
ref: composedRef
|
|
6265
|
+
});
|
|
6266
|
+
}
|
|
6267
|
+
function TooltipContent({ children }) {
|
|
6268
|
+
const { open, floatingRef, floatingStyles, getFloatingProps } = useTooltipContext();
|
|
6269
|
+
if (!open) return null;
|
|
6270
|
+
return /*#__PURE__*/ jsx(FloatingPortal, {
|
|
6271
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
6272
|
+
ref: floatingRef,
|
|
6273
|
+
style: floatingStyles,
|
|
6274
|
+
className: tooltip_module.tooltip,
|
|
6275
|
+
...getFloatingProps(),
|
|
6276
|
+
children: children
|
|
6277
|
+
})
|
|
6278
|
+
});
|
|
6279
|
+
}
|
|
6280
|
+
const icon_button_IconButton = /*#__PURE__*/ forwardRef(function({ icon: Icon, label, size = "md", tooltipPlacement, variant = "circle", ...props }, ref) {
|
|
6281
|
+
return /*#__PURE__*/ jsxs(Tooltip, {
|
|
6282
|
+
placement: tooltipPlacement,
|
|
6283
|
+
children: [
|
|
6284
|
+
/*#__PURE__*/ jsx(TooltipTrigger, {
|
|
6285
|
+
children: /*#__PURE__*/ jsx(button_Button, {
|
|
6286
|
+
...props,
|
|
6287
|
+
ref: ref,
|
|
6288
|
+
"aria-label": label,
|
|
6289
|
+
icon: Icon,
|
|
6290
|
+
size: size,
|
|
6291
|
+
variant: variant
|
|
6292
|
+
})
|
|
6293
|
+
}),
|
|
6294
|
+
/*#__PURE__*/ jsx(TooltipContent, {
|
|
6295
|
+
children: label
|
|
6296
|
+
})
|
|
6297
|
+
]
|
|
6298
|
+
});
|
|
6299
|
+
});
|
|
6300
|
+
const app_shell_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/app-shell.module.css");
|
|
6301
|
+
var app_shell_module_options = {};
|
|
6302
|
+
app_shell_module_options.styleTagTransform = styleTagTransform_default();
|
|
6303
|
+
app_shell_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
6304
|
+
app_shell_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
6305
|
+
app_shell_module_options.domAPI = styleDomAPI_default();
|
|
6306
|
+
app_shell_module_options.insertStyleElement = insertStyleElement_default();
|
|
6307
|
+
injectStylesIntoStyleTag_default()(app_shell_module_0.A, app_shell_module_options);
|
|
6308
|
+
const app_shell_module = app_shell_module_0.A && app_shell_module_0.A.locals ? app_shell_module_0.A.locals : void 0;
|
|
6309
|
+
const NavContext = /*#__PURE__*/ createContext({
|
|
6310
|
+
orientation: "horizontal"
|
|
6311
|
+
});
|
|
6312
|
+
const horizontalNav = {
|
|
6313
|
+
orientation: "horizontal"
|
|
6314
|
+
};
|
|
6315
|
+
function AppShell({ brand, nav, actions, children }) {
|
|
6316
|
+
const mainId = useId();
|
|
6317
|
+
const [isNavOpen, setIsNavOpen] = useState(false);
|
|
6318
|
+
const openNavLabel = useMessage("ox0.appShell.openNav", "Open navigation");
|
|
6319
|
+
const navTitle = useMessage("ox0.appShell.navTitle", "Menu");
|
|
6320
|
+
const skipLabel = useMessage("ox0.appShell.skipToContent", "Skip to content");
|
|
6321
|
+
const closeNav = useCallback(()=>setIsNavOpen(false), []);
|
|
6322
|
+
const drawerNav = useMemo(()=>({
|
|
6323
|
+
orientation: "vertical",
|
|
6324
|
+
onNavigate: closeNav
|
|
6325
|
+
}), [
|
|
6326
|
+
closeNav
|
|
6327
|
+
]);
|
|
6328
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
6329
|
+
className: app_shell_module.shell,
|
|
6330
|
+
children: [
|
|
6331
|
+
/*#__PURE__*/ jsx("a", {
|
|
6332
|
+
className: app_shell_module.skipLink,
|
|
6333
|
+
href: `#${mainId}`,
|
|
6334
|
+
children: skipLabel
|
|
6335
|
+
}),
|
|
6336
|
+
/*#__PURE__*/ jsx("header", {
|
|
6337
|
+
className: app_shell_module.bar,
|
|
6338
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
6339
|
+
className: app_shell_module.barInner,
|
|
6340
|
+
children: [
|
|
6341
|
+
null != nav ? /*#__PURE__*/ jsx("div", {
|
|
6342
|
+
className: app_shell_module.menuButton,
|
|
6343
|
+
children: /*#__PURE__*/ jsx(icon_button_IconButton, {
|
|
6344
|
+
"aria-expanded": isNavOpen,
|
|
6345
|
+
icon: MenuGlyph,
|
|
6346
|
+
label: openNavLabel,
|
|
6347
|
+
tooltipPlacement: "bottom",
|
|
6348
|
+
variant: "ghost",
|
|
6349
|
+
onPress: ()=>setIsNavOpen(true)
|
|
6350
|
+
})
|
|
6351
|
+
}) : null,
|
|
6352
|
+
null != brand ? /*#__PURE__*/ jsx("div", {
|
|
6353
|
+
className: app_shell_module.brand,
|
|
6354
|
+
children: brand
|
|
6355
|
+
}) : null,
|
|
6356
|
+
null != nav ? /*#__PURE__*/ jsx("div", {
|
|
6357
|
+
className: app_shell_module.barNav,
|
|
6358
|
+
children: /*#__PURE__*/ jsx(NavContext.Provider, {
|
|
6359
|
+
value: horizontalNav,
|
|
6360
|
+
children: nav
|
|
6361
|
+
})
|
|
6362
|
+
}) : null,
|
|
6363
|
+
null != actions ? /*#__PURE__*/ jsx("div", {
|
|
6364
|
+
className: app_shell_module.actions,
|
|
6365
|
+
children: actions
|
|
6366
|
+
}) : null
|
|
6367
|
+
]
|
|
6368
|
+
})
|
|
6369
|
+
}),
|
|
6370
|
+
/*#__PURE__*/ jsx("div", {
|
|
6371
|
+
className: app_shell_module.main,
|
|
6372
|
+
id: mainId,
|
|
6373
|
+
tabIndex: -1,
|
|
6374
|
+
children: children
|
|
6375
|
+
}),
|
|
6376
|
+
null != nav ? /*#__PURE__*/ jsxs(Drawer, {
|
|
6377
|
+
isOpen: isNavOpen,
|
|
6378
|
+
placement: "left",
|
|
6379
|
+
onClose: closeNav,
|
|
6380
|
+
children: [
|
|
6381
|
+
/*#__PURE__*/ jsx(Drawer.Header, {
|
|
6382
|
+
children: /*#__PURE__*/ jsx(Drawer.Title, {
|
|
6383
|
+
children: navTitle
|
|
6384
|
+
})
|
|
6385
|
+
}),
|
|
6386
|
+
/*#__PURE__*/ jsx(Drawer.Body, {
|
|
6387
|
+
children: /*#__PURE__*/ jsx(NavContext.Provider, {
|
|
6388
|
+
value: drawerNav,
|
|
6389
|
+
children: nav
|
|
6390
|
+
})
|
|
6391
|
+
})
|
|
6392
|
+
]
|
|
6393
|
+
}) : null
|
|
6394
|
+
]
|
|
6395
|
+
});
|
|
6396
|
+
}
|
|
6397
|
+
function Nav({ ariaLabel, children }) {
|
|
6398
|
+
const { orientation } = useContext(NavContext);
|
|
6399
|
+
return /*#__PURE__*/ jsx("nav", {
|
|
6400
|
+
"aria-label": ariaLabel,
|
|
6401
|
+
children: /*#__PURE__*/ jsx("ul", {
|
|
6402
|
+
className: app_shell_module.navList,
|
|
6403
|
+
"data-orientation": orientation,
|
|
6404
|
+
children: children
|
|
6405
|
+
})
|
|
6406
|
+
});
|
|
6407
|
+
}
|
|
6408
|
+
function NavItem({ to, isCurrent = false, icon: Icon, children }) {
|
|
6409
|
+
const router = useRouter();
|
|
6410
|
+
const { onNavigate } = useContext(NavContext);
|
|
6411
|
+
if (!isSafeHref(to)) {
|
|
6412
|
+
if ("production" !== process.env.NODE_ENV) console.error(`[ox0/ui] <NavItem> blocked unsafe or invalid \`to\`: "${to}".`);
|
|
6413
|
+
return null;
|
|
6414
|
+
}
|
|
6415
|
+
function handleClick(e) {
|
|
6416
|
+
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
|
|
6417
|
+
if (router) {
|
|
6418
|
+
e.preventDefault();
|
|
6419
|
+
router.navigate(to);
|
|
6420
|
+
}
|
|
6421
|
+
onNavigate?.();
|
|
6422
|
+
}
|
|
6423
|
+
return /*#__PURE__*/ jsx("li", {
|
|
6424
|
+
children: /*#__PURE__*/ jsxs("a", {
|
|
6425
|
+
"aria-current": isCurrent ? "page" : void 0,
|
|
6426
|
+
className: app_shell_module.navItem,
|
|
6427
|
+
href: to,
|
|
6428
|
+
onClick: handleClick,
|
|
6429
|
+
children: [
|
|
6430
|
+
Icon ? /*#__PURE__*/ jsx(Icon, {
|
|
6431
|
+
size: 16
|
|
6432
|
+
}) : null,
|
|
6433
|
+
children
|
|
6434
|
+
]
|
|
6435
|
+
})
|
|
6436
|
+
});
|
|
6437
|
+
}
|
|
6438
|
+
const alignMap = {
|
|
6439
|
+
start: "flex-start",
|
|
6440
|
+
center: "center",
|
|
6441
|
+
end: "flex-end",
|
|
6442
|
+
stretch: "stretch",
|
|
6443
|
+
baseline: "baseline"
|
|
6444
|
+
};
|
|
6445
|
+
const justifyMap = {
|
|
6446
|
+
start: "flex-start",
|
|
6447
|
+
center: "center",
|
|
6448
|
+
end: "flex-end",
|
|
6449
|
+
between: "space-between",
|
|
6450
|
+
around: "space-around"
|
|
6451
|
+
};
|
|
6452
|
+
const inline_Inline = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
6453
|
+
const [layout, { children, align = "center", justify = "start", wrap = true, as: Tag = "div", gap = "md", padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft }] = splitLayoutItemProps(props);
|
|
6454
|
+
const { style: layoutStyle } = useLayoutItem(layout);
|
|
6455
|
+
const { style: spacingStyle } = useSpacing({
|
|
6456
|
+
gap,
|
|
6457
|
+
padding,
|
|
6458
|
+
paddingX,
|
|
6459
|
+
paddingY,
|
|
6460
|
+
paddingTop,
|
|
6461
|
+
paddingRight,
|
|
6462
|
+
paddingBottom,
|
|
6463
|
+
paddingLeft
|
|
6464
|
+
});
|
|
6465
|
+
return /*#__PURE__*/ jsx(Tag, {
|
|
6466
|
+
ref: ref,
|
|
6467
|
+
style: {
|
|
6468
|
+
alignItems: alignMap[align],
|
|
6469
|
+
display: "flex",
|
|
6470
|
+
flexWrap: wrap ? "wrap" : "nowrap",
|
|
6471
|
+
justifyContent: justifyMap[justify],
|
|
6472
|
+
...layoutStyle,
|
|
6473
|
+
...spacingStyle
|
|
6474
|
+
},
|
|
6475
|
+
children: children
|
|
6476
|
+
});
|
|
6477
|
+
});
|
|
6478
|
+
const banner_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/banner.module.css");
|
|
6479
|
+
var banner_module_options = {};
|
|
6480
|
+
banner_module_options.styleTagTransform = styleTagTransform_default();
|
|
6481
|
+
banner_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
6482
|
+
banner_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
6483
|
+
banner_module_options.domAPI = styleDomAPI_default();
|
|
6484
|
+
banner_module_options.insertStyleElement = insertStyleElement_default();
|
|
6485
|
+
injectStylesIntoStyleTag_default()(banner_module_0.A, banner_module_options);
|
|
6486
|
+
const banner_module = banner_module_0.A && banner_module_0.A.locals ? banner_module_0.A.locals : void 0;
|
|
6487
|
+
const banner_CloseIcon = ()=>/*#__PURE__*/ jsxs("svg", {
|
|
6488
|
+
"aria-hidden": "true",
|
|
6489
|
+
fill: "none",
|
|
6490
|
+
height: "12",
|
|
6491
|
+
stroke: "currentColor",
|
|
6492
|
+
strokeLinecap: "round",
|
|
6493
|
+
strokeLinejoin: "round",
|
|
6494
|
+
strokeWidth: "2",
|
|
6495
|
+
viewBox: "0 0 12 12",
|
|
6496
|
+
width: "12",
|
|
6497
|
+
children: [
|
|
6498
|
+
/*#__PURE__*/ jsx("line", {
|
|
6499
|
+
x1: "1",
|
|
6500
|
+
y1: "1",
|
|
6501
|
+
x2: "11",
|
|
6502
|
+
y2: "11"
|
|
6503
|
+
}),
|
|
6504
|
+
/*#__PURE__*/ jsx("line", {
|
|
6505
|
+
x1: "11",
|
|
6506
|
+
y1: "1",
|
|
6507
|
+
x2: "1",
|
|
6508
|
+
y2: "11"
|
|
6509
|
+
})
|
|
6510
|
+
]
|
|
6511
|
+
});
|
|
6512
|
+
const ToneIcon = ({ tone })=>{
|
|
6513
|
+
if ("neutral" === tone) return null;
|
|
6514
|
+
if ("info" === tone) return /*#__PURE__*/ jsxs("svg", {
|
|
6515
|
+
"aria-hidden": "true",
|
|
6516
|
+
fill: "none",
|
|
6517
|
+
height: "16",
|
|
6518
|
+
stroke: "currentColor",
|
|
6519
|
+
strokeLinecap: "round",
|
|
6520
|
+
strokeLinejoin: "round",
|
|
6521
|
+
strokeWidth: "2",
|
|
6522
|
+
viewBox: "0 0 16 16",
|
|
6523
|
+
width: "16",
|
|
6524
|
+
children: [
|
|
6525
|
+
/*#__PURE__*/ jsx("circle", {
|
|
6526
|
+
cx: "8",
|
|
6527
|
+
cy: "8",
|
|
5280
6528
|
r: "7"
|
|
5281
6529
|
}),
|
|
5282
6530
|
/*#__PURE__*/ jsx("line", {
|
|
@@ -5419,7 +6667,7 @@ const banner_Banner = /*#__PURE__*/ forwardRef(function({ children, dismissLabel
|
|
|
5419
6667
|
className: banner_module.dismissButton,
|
|
5420
6668
|
type: "button",
|
|
5421
6669
|
onClick: onDismiss,
|
|
5422
|
-
children: /*#__PURE__*/ jsx(
|
|
6670
|
+
children: /*#__PURE__*/ jsx(banner_CloseIcon, {})
|
|
5423
6671
|
})
|
|
5424
6672
|
]
|
|
5425
6673
|
})
|
|
@@ -5576,10 +6824,9 @@ const badge_Badge = /*#__PURE__*/ forwardRef(function({ children, dismissLabel =
|
|
|
5576
6824
|
]
|
|
5577
6825
|
});
|
|
5578
6826
|
});
|
|
5579
|
-
const box_Box = /*#__PURE__*/ forwardRef(function(
|
|
5580
|
-
const {
|
|
5581
|
-
|
|
5582
|
-
});
|
|
6827
|
+
const box_Box = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
6828
|
+
const [layout, { as: Tag = "div", gap, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, borderRadius, shadow, border, borderTop, borderRight, borderBottom, borderLeft, surface, ...rest }] = splitLayoutItemProps(props);
|
|
6829
|
+
const { style: layoutStyle } = useLayoutItem(layout);
|
|
5583
6830
|
const { style: spacingStyle } = useSpacing({
|
|
5584
6831
|
gap,
|
|
5585
6832
|
padding,
|
|
@@ -5605,7 +6852,7 @@ const box_Box = /*#__PURE__*/ forwardRef(function({ as: Tag = "div", gap, paddin
|
|
|
5605
6852
|
return /*#__PURE__*/ jsx(Tag, {
|
|
5606
6853
|
ref: ref,
|
|
5607
6854
|
style: {
|
|
5608
|
-
...
|
|
6855
|
+
...layoutStyle,
|
|
5609
6856
|
...spacingStyle,
|
|
5610
6857
|
...bordersStyle,
|
|
5611
6858
|
...surfaceStyle
|
|
@@ -5622,7 +6869,9 @@ card_module_options.domAPI = styleDomAPI_default();
|
|
|
5622
6869
|
card_module_options.insertStyleElement = insertStyleElement_default();
|
|
5623
6870
|
injectStylesIntoStyleTag_default()(card_module_0.A, card_module_options);
|
|
5624
6871
|
const card_module = card_module_0.A && card_module_0.A.locals ? card_module_0.A.locals : void 0;
|
|
5625
|
-
const card_Card = /*#__PURE__*/ forwardRef(function(
|
|
6872
|
+
const card_Card = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
6873
|
+
const [layout, { children, footer, header, padding = "lg", surface = "surface", borderRadius = "lg", shadow = "sm", as: Tag = "div", ...rest }] = splitLayoutItemProps(props);
|
|
6874
|
+
const { style: layoutStyle } = useLayoutItem(layout);
|
|
5626
6875
|
const { style: bordersStyle } = useBorders({
|
|
5627
6876
|
borderRadius,
|
|
5628
6877
|
shadow,
|
|
@@ -5638,6 +6887,7 @@ const card_Card = /*#__PURE__*/ forwardRef(function({ children, footer, header,
|
|
|
5638
6887
|
ref: ref,
|
|
5639
6888
|
className: card_module.card,
|
|
5640
6889
|
style: {
|
|
6890
|
+
...layoutStyle,
|
|
5641
6891
|
...bordersStyle,
|
|
5642
6892
|
...surfaceStyle
|
|
5643
6893
|
},
|
|
@@ -5936,113 +7186,21 @@ const text_Text = /*#__PURE__*/ forwardRef(function({ align, as, children, color
|
|
|
5936
7186
|
inlineStyle.WebkitBoxOrient = "vertical";
|
|
5937
7187
|
inlineStyle.overflow = "hidden";
|
|
5938
7188
|
}
|
|
5939
|
-
return /*#__PURE__*/ jsx(Element, {
|
|
5940
|
-
ref: ref,
|
|
5941
|
-
id: id,
|
|
5942
|
-
className: [
|
|
5943
|
-
text_module.text,
|
|
5944
|
-
text_module[variant],
|
|
5945
|
-
text_module[resolvedColor],
|
|
5946
|
-
align ? text_module[`align-${align}`] : void 0,
|
|
5947
|
-
truncate && !lineClamp ? text_module.truncate : void 0
|
|
5948
|
-
].filter(Boolean).join(" "),
|
|
5949
|
-
style: Object.keys(inlineStyle).length > 0 ? inlineStyle : void 0,
|
|
5950
|
-
...props,
|
|
5951
|
-
children: children
|
|
5952
|
-
});
|
|
5953
|
-
});
|
|
5954
|
-
const button_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/button.module.css");
|
|
5955
|
-
var button_module_options = {};
|
|
5956
|
-
button_module_options.styleTagTransform = styleTagTransform_default();
|
|
5957
|
-
button_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
5958
|
-
button_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
5959
|
-
button_module_options.domAPI = styleDomAPI_default();
|
|
5960
|
-
button_module_options.insertStyleElement = insertStyleElement_default();
|
|
5961
|
-
injectStylesIntoStyleTag_default()(button_module_0.A, button_module_options);
|
|
5962
|
-
const button_module = button_module_0.A && button_module_0.A.locals ? button_module_0.A.locals : void 0;
|
|
5963
|
-
const iconSize = {
|
|
5964
|
-
xs: 12,
|
|
5965
|
-
sm: 14,
|
|
5966
|
-
md: 16,
|
|
5967
|
-
lg: 18
|
|
5968
|
-
};
|
|
5969
|
-
const MIN_PRESS_MS = 150;
|
|
5970
|
-
function useMinPressDuration(isPressed) {
|
|
5971
|
-
const [isVisuallyPressed, setIsVisuallyPressed] = useState(false);
|
|
5972
|
-
const pressStartRef = useRef(0);
|
|
5973
|
-
const timeoutRef = useRef(void 0);
|
|
5974
|
-
useEffect(()=>{
|
|
5975
|
-
if (isPressed) {
|
|
5976
|
-
clearTimeout(timeoutRef.current);
|
|
5977
|
-
pressStartRef.current = Date.now();
|
|
5978
|
-
setIsVisuallyPressed(true);
|
|
5979
|
-
} else {
|
|
5980
|
-
const remaining = MIN_PRESS_MS - (Date.now() - pressStartRef.current);
|
|
5981
|
-
if (remaining > 0) timeoutRef.current = setTimeout(()=>setIsVisuallyPressed(false), remaining);
|
|
5982
|
-
else setIsVisuallyPressed(false);
|
|
5983
|
-
}
|
|
5984
|
-
return ()=>clearTimeout(timeoutRef.current);
|
|
5985
|
-
}, [
|
|
5986
|
-
isPressed
|
|
5987
|
-
]);
|
|
5988
|
-
return isVisuallyPressed;
|
|
5989
|
-
}
|
|
5990
|
-
const button_Button = /*#__PURE__*/ forwardRef(function({ children, icon: Icon, iconEnd: IconEnd, isDisabled, isSelected, onPress, onPressStart, onPressEnd, onPressChange, onPressUp, onPointerEnter, onPointerLeave, size = "md", type = "button", variant = "secondary", ...rest }, ref) {
|
|
5991
|
-
const { pressProps, isPressed: isActuallyPressed } = usePress({
|
|
5992
|
-
onPress,
|
|
5993
|
-
onPressStart,
|
|
5994
|
-
onPressEnd,
|
|
5995
|
-
onPressChange,
|
|
5996
|
-
onPressUp,
|
|
5997
|
-
isDisabled
|
|
5998
|
-
});
|
|
5999
|
-
const isPressed = useMinPressDuration(isActuallyPressed);
|
|
6000
|
-
const isIconOnly = void 0 !== Icon && void 0 === IconEnd && null == children;
|
|
6001
|
-
const composedPointerEnter = onPointerEnter ? (e)=>{
|
|
6002
|
-
onPointerEnter(e);
|
|
6003
|
-
pressProps.onPointerEnter?.(e);
|
|
6004
|
-
} : pressProps.onPointerEnter;
|
|
6005
|
-
const composedPointerLeave = onPointerLeave ? (e)=>{
|
|
6006
|
-
onPointerLeave(e);
|
|
6007
|
-
pressProps.onPointerLeave?.(e);
|
|
6008
|
-
} : pressProps.onPointerLeave;
|
|
6009
|
-
return /*#__PURE__*/ jsx("button", {
|
|
6010
|
-
ref: ref,
|
|
6011
|
-
...rest,
|
|
6012
|
-
...pressProps,
|
|
6013
|
-
onPointerEnter: composedPointerEnter,
|
|
6014
|
-
onPointerLeave: composedPointerLeave,
|
|
6015
|
-
"aria-pressed": isSelected,
|
|
6016
|
-
className: [
|
|
6017
|
-
button_module.button,
|
|
6018
|
-
button_module[variant],
|
|
6019
|
-
button_module[size],
|
|
6020
|
-
isPressed && button_module.pressed,
|
|
6021
|
-
isSelected && button_module.selected,
|
|
6022
|
-
isIconOnly ? button_module.iconOnly : Icon && button_module.hasIcon,
|
|
6023
|
-
IconEnd && button_module.hasIconEnd
|
|
6024
|
-
].filter(Boolean).join(" "),
|
|
6025
|
-
"data-variant": variant,
|
|
6026
|
-
disabled: isDisabled,
|
|
6027
|
-
type: type,
|
|
6028
|
-
children: /*#__PURE__*/ jsxs("span", {
|
|
6029
|
-
className: button_module.content,
|
|
6030
|
-
children: [
|
|
6031
|
-
Icon && /*#__PURE__*/ jsx(Icon, {
|
|
6032
|
-
size: iconSize[size]
|
|
6033
|
-
}),
|
|
6034
|
-
children,
|
|
6035
|
-
IconEnd && /*#__PURE__*/ jsx(IconEnd, {
|
|
6036
|
-
size: iconSize[size]
|
|
6037
|
-
})
|
|
6038
|
-
]
|
|
6039
|
-
})
|
|
7189
|
+
return /*#__PURE__*/ jsx(Element, {
|
|
7190
|
+
ref: ref,
|
|
7191
|
+
id: id,
|
|
7192
|
+
className: [
|
|
7193
|
+
text_module.text,
|
|
7194
|
+
text_module[variant],
|
|
7195
|
+
text_module[resolvedColor],
|
|
7196
|
+
align ? text_module[`align-${align}`] : void 0,
|
|
7197
|
+
truncate && !lineClamp ? text_module.truncate : void 0
|
|
7198
|
+
].filter(Boolean).join(" "),
|
|
7199
|
+
style: Object.keys(inlineStyle).length > 0 ? inlineStyle : void 0,
|
|
7200
|
+
...props,
|
|
7201
|
+
children: children
|
|
6040
7202
|
});
|
|
6041
7203
|
});
|
|
6042
|
-
const RouterContext = createContext(null);
|
|
6043
|
-
function useRouter() {
|
|
6044
|
-
return useContext(RouterContext);
|
|
6045
|
-
}
|
|
6046
7204
|
const link_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/link.module.css");
|
|
6047
7205
|
var link_module_options = {};
|
|
6048
7206
|
link_module_options.styleTagTransform = styleTagTransform_default();
|
|
@@ -6052,10 +7210,6 @@ link_module_options.domAPI = styleDomAPI_default();
|
|
|
6052
7210
|
link_module_options.insertStyleElement = insertStyleElement_default();
|
|
6053
7211
|
injectStylesIntoStyleTag_default()(link_module_0.A, link_module_options);
|
|
6054
7212
|
const link_module = link_module_0.A && link_module_0.A.locals ? link_module_0.A.locals : void 0;
|
|
6055
|
-
const SAFE_HREF = /^(\/|\.\.?\/|#.+|https?:\/\/|mailto:|tel:)/i;
|
|
6056
|
-
function isValidTo(to) {
|
|
6057
|
-
return SAFE_HREF.test(to);
|
|
6058
|
-
}
|
|
6059
7213
|
const ExternalIcon = ()=>/*#__PURE__*/ jsxs("svg", {
|
|
6060
7214
|
"aria-hidden": "true",
|
|
6061
7215
|
className: link_module.externalIcon,
|
|
@@ -6091,7 +7245,7 @@ const link_Link = /*#__PURE__*/ forwardRef(function({ children, isExternal: isEx
|
|
|
6091
7245
|
onPressChange,
|
|
6092
7246
|
onPressUp
|
|
6093
7247
|
});
|
|
6094
|
-
if (!
|
|
7248
|
+
if (!isSafeHref(to)) {
|
|
6095
7249
|
if ("production" !== process.env.NODE_ENV) console.error(`[ox0/ui] <Link> blocked unsafe or invalid \`to\`: "${to}". Accepted: /path, ./path, ../path, #fragment, https://, http://, mailto:, tel:. Bare "#" is not allowed. Rendering as <span>.`);
|
|
6096
7250
|
return /*#__PURE__*/ jsx("span", {
|
|
6097
7251
|
className: [
|
|
@@ -6165,7 +7319,9 @@ choice_module_options.domAPI = styleDomAPI_default();
|
|
|
6165
7319
|
choice_module_options.insertStyleElement = insertStyleElement_default();
|
|
6166
7320
|
injectStylesIntoStyleTag_default()(choice_module_0.A, choice_module_options);
|
|
6167
7321
|
const choice_module = choice_module_0.A && choice_module_0.A.locals ? choice_module_0.A.locals : void 0;
|
|
6168
|
-
const checkbox_Checkbox = /*#__PURE__*/ forwardRef(function({ label, description, isDisabled, isInvalid, isSelected, defaultSelected, errorMessage, onChange, id: idProp, ...
|
|
7322
|
+
const checkbox_Checkbox = /*#__PURE__*/ forwardRef(function({ label, description, isDisabled, isInvalid, isSelected, defaultSelected, errorMessage, onChange, id: idProp, ...restProps }, ref) {
|
|
7323
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
7324
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
6169
7325
|
const generatedId = useId();
|
|
6170
7326
|
const id = idProp ?? generatedId;
|
|
6171
7327
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
@@ -6177,6 +7333,7 @@ const checkbox_Checkbox = /*#__PURE__*/ forwardRef(function({ label, description
|
|
|
6177
7333
|
const invalid = isInvalid || !!errorMessage;
|
|
6178
7334
|
return /*#__PURE__*/ jsxs("div", {
|
|
6179
7335
|
className: checkbox_module.root,
|
|
7336
|
+
style: layoutStyle,
|
|
6180
7337
|
children: [
|
|
6181
7338
|
/*#__PURE__*/ jsxs("label", {
|
|
6182
7339
|
className: `${checkbox_module.label}${isDisabled ? ` ${checkbox_module.disabled}` : ""}`,
|
|
@@ -6225,13 +7382,24 @@ checkbox_group_module_options.domAPI = styleDomAPI_default();
|
|
|
6225
7382
|
checkbox_group_module_options.insertStyleElement = insertStyleElement_default();
|
|
6226
7383
|
injectStylesIntoStyleTag_default()(checkbox_group_module_0.A, checkbox_group_module_options);
|
|
6227
7384
|
const checkbox_group_module = checkbox_group_module_0.A && checkbox_group_module_0.A.locals ? checkbox_group_module_0.A.locals : void 0;
|
|
7385
|
+
const field_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/field.module.css");
|
|
7386
|
+
var field_module_options = {};
|
|
7387
|
+
field_module_options.styleTagTransform = styleTagTransform_default();
|
|
7388
|
+
field_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
7389
|
+
field_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
7390
|
+
field_module_options.domAPI = styleDomAPI_default();
|
|
7391
|
+
field_module_options.insertStyleElement = insertStyleElement_default();
|
|
7392
|
+
injectStylesIntoStyleTag_default()(field_module_0.A, field_module_options);
|
|
7393
|
+
const field_module = field_module_0.A && field_module_0.A.locals ? field_module_0.A.locals : void 0;
|
|
6228
7394
|
const CheckboxGroupContext = /*#__PURE__*/ createContext(null);
|
|
6229
7395
|
function useCheckboxGroupContext() {
|
|
6230
7396
|
const ctx = useContext(CheckboxGroupContext);
|
|
6231
7397
|
if (!ctx) throw new Error("<GroupCheckbox> must be used inside <CheckboxGroup>");
|
|
6232
7398
|
return ctx;
|
|
6233
7399
|
}
|
|
6234
|
-
const checkbox_group_CheckboxGroup = /*#__PURE__*/ forwardRef(function({ label, description, isInvalid, isDisabled = false, errorMessage, value: valueProp, defaultValue, onChange, orientation = "vertical", children, id: idProp, ...
|
|
7400
|
+
const checkbox_group_CheckboxGroup = /*#__PURE__*/ forwardRef(function({ label, description, isInvalid, isDisabled = false, errorMessage, value: valueProp, defaultValue, onChange, orientation = "vertical", children, id: idProp, ...restProps }, ref) {
|
|
7401
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
7402
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
6235
7403
|
const generatedId = useId();
|
|
6236
7404
|
const id = idProp ?? generatedId;
|
|
6237
7405
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
@@ -6271,11 +7439,12 @@ const checkbox_group_CheckboxGroup = /*#__PURE__*/ forwardRef(function({ label,
|
|
|
6271
7439
|
].filter(Boolean).join(" ") || void 0,
|
|
6272
7440
|
"aria-invalid": invalid || void 0,
|
|
6273
7441
|
className: checkbox_group_module.fieldset,
|
|
7442
|
+
style: layoutStyle,
|
|
6274
7443
|
disabled: isDisabled,
|
|
6275
7444
|
id: id,
|
|
6276
7445
|
children: [
|
|
6277
7446
|
label ? /*#__PURE__*/ jsx("legend", {
|
|
6278
|
-
className: checkbox_group_module.legend
|
|
7447
|
+
className: `${checkbox_group_module.legend} ${field_module.label}`,
|
|
6279
7448
|
children: label
|
|
6280
7449
|
}) : null,
|
|
6281
7450
|
description ? /*#__PURE__*/ jsx("span", {
|
|
@@ -6358,7 +7527,9 @@ field_group_module_options.domAPI = styleDomAPI_default();
|
|
|
6358
7527
|
field_group_module_options.insertStyleElement = insertStyleElement_default();
|
|
6359
7528
|
injectStylesIntoStyleTag_default()(field_group_module_0.A, field_group_module_options);
|
|
6360
7529
|
const field_group_module = field_group_module_0.A && field_group_module_0.A.locals ? field_group_module_0.A.locals : void 0;
|
|
6361
|
-
const field_group_FieldGroup = /*#__PURE__*/ forwardRef(function({ label, description, isInvalid, isDisabled, errorMessage, orientation = "vertical", children, id: idProp, ...
|
|
7530
|
+
const field_group_FieldGroup = /*#__PURE__*/ forwardRef(function({ label, description, isInvalid, isDisabled, errorMessage, orientation = "vertical", children, id: idProp, ...restProps }, ref) {
|
|
7531
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
7532
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
6362
7533
|
const generatedId = useId();
|
|
6363
7534
|
const id = idProp ?? generatedId;
|
|
6364
7535
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
@@ -6374,11 +7545,12 @@ const field_group_FieldGroup = /*#__PURE__*/ forwardRef(function({ label, descri
|
|
|
6374
7545
|
"aria-describedby": describedBy,
|
|
6375
7546
|
"aria-invalid": invalid || void 0,
|
|
6376
7547
|
className: field_group_module.fieldset,
|
|
7548
|
+
style: layoutStyle,
|
|
6377
7549
|
disabled: isDisabled,
|
|
6378
7550
|
id: id,
|
|
6379
7551
|
children: [
|
|
6380
7552
|
label ? /*#__PURE__*/ jsx("legend", {
|
|
6381
|
-
className: field_group_module.legend
|
|
7553
|
+
className: `${field_group_module.legend} ${field_module.label}`,
|
|
6382
7554
|
children: label
|
|
6383
7555
|
}) : null,
|
|
6384
7556
|
description ? /*#__PURE__*/ jsx("span", {
|
|
@@ -6401,38 +7573,6 @@ const field_group_FieldGroup = /*#__PURE__*/ forwardRef(function({ label, descri
|
|
|
6401
7573
|
]
|
|
6402
7574
|
});
|
|
6403
7575
|
});
|
|
6404
|
-
function Chevron({ direction = "down", size = 16 }) {
|
|
6405
|
-
return /*#__PURE__*/ jsx("svg", {
|
|
6406
|
-
"aria-hidden": "true",
|
|
6407
|
-
fill: "none",
|
|
6408
|
-
height: size,
|
|
6409
|
-
stroke: "currentColor",
|
|
6410
|
-
strokeLinecap: "round",
|
|
6411
|
-
strokeLinejoin: "round",
|
|
6412
|
-
strokeWidth: 2,
|
|
6413
|
-
viewBox: "0 0 24 24",
|
|
6414
|
-
width: size,
|
|
6415
|
-
children: /*#__PURE__*/ jsx("path", {
|
|
6416
|
-
d: "down" === direction ? "m6 9 6 6 6-6" : "m18 15-6-6-6 6"
|
|
6417
|
-
})
|
|
6418
|
-
});
|
|
6419
|
-
}
|
|
6420
|
-
function Checkmark({ size = 16 }) {
|
|
6421
|
-
return /*#__PURE__*/ jsx("svg", {
|
|
6422
|
-
"aria-hidden": "true",
|
|
6423
|
-
fill: "none",
|
|
6424
|
-
height: size,
|
|
6425
|
-
stroke: "currentColor",
|
|
6426
|
-
strokeLinecap: "round",
|
|
6427
|
-
strokeLinejoin: "round",
|
|
6428
|
-
strokeWidth: 2,
|
|
6429
|
-
viewBox: "0 0 24 24",
|
|
6430
|
-
width: size,
|
|
6431
|
-
children: /*#__PURE__*/ jsx("path", {
|
|
6432
|
-
d: "M20 6 9 17l-5-5"
|
|
6433
|
-
})
|
|
6434
|
-
});
|
|
6435
|
-
}
|
|
6436
7576
|
const combobox_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/combobox.module.css");
|
|
6437
7577
|
var combobox_module_options = {};
|
|
6438
7578
|
combobox_module_options.styleTagTransform = styleTagTransform_default();
|
|
@@ -6458,7 +7598,9 @@ function filterOptions(options, inputText) {
|
|
|
6458
7598
|
if (!q) return options;
|
|
6459
7599
|
return options.filter((o)=>o.label.toLowerCase().includes(q));
|
|
6460
7600
|
}
|
|
6461
|
-
const combobox_Combobox = /*#__PURE__*/ forwardRef(function({ label, ariaLabel, description, isDisabled, isInvalid, errorMessage, options, value: valueProp, defaultValue, placeholder, onChange, noOptionsMessage = "No options", allowsCustomValue = false, id: idProp, onBlur: onBlurProp, onFocus: onFocusProp, onKeyDown: onKeyDownProp, onPointerDown: onPointerDownProp, ...
|
|
7601
|
+
const combobox_Combobox = /*#__PURE__*/ forwardRef(function({ label, ariaLabel, description, isDisabled, isInvalid, errorMessage, options, value: valueProp, defaultValue, placeholder, onChange, noOptionsMessage = "No options", allowsCustomValue = false, id: idProp, onBlur: onBlurProp, onFocus: onFocusProp, onKeyDown: onKeyDownProp, onPointerDown: onPointerDownProp, ...restProps }, forwardedRef) {
|
|
7602
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
7603
|
+
const [, inputProps] = splitLayoutItemProps(restProps);
|
|
6462
7604
|
if (!label && !ariaLabel) throw new Error("Combobox requires `label` or `ariaLabel`.");
|
|
6463
7605
|
const generatedId = useId();
|
|
6464
7606
|
const controlId = idProp ?? generatedId;
|
|
@@ -6589,9 +7731,10 @@ const combobox_Combobox = /*#__PURE__*/ forwardRef(function({ label, ariaLabel,
|
|
|
6589
7731
|
const activeDescendant = null !== activeIndex && filteredOptions[activeIndex] ? `${listboxId}-option-${activeIndex}` : void 0;
|
|
6590
7732
|
return /*#__PURE__*/ jsxs("div", {
|
|
6591
7733
|
className: combobox_module.root,
|
|
7734
|
+
style: layoutStyle,
|
|
6592
7735
|
children: [
|
|
6593
7736
|
label ? /*#__PURE__*/ jsx("label", {
|
|
6594
|
-
className:
|
|
7737
|
+
className: field_module.label,
|
|
6595
7738
|
htmlFor: controlId,
|
|
6596
7739
|
id: labelId,
|
|
6597
7740
|
children: label
|
|
@@ -6618,215 +7761,88 @@ const combobox_Combobox = /*#__PURE__*/ forwardRef(function({ label, ariaLabel,
|
|
|
6618
7761
|
"aria-controls": listboxId,
|
|
6619
7762
|
autoComplete: "off",
|
|
6620
7763
|
className: [
|
|
6621
|
-
combobox_module.input,
|
|
6622
|
-
invalid ? combobox_module.invalid : null,
|
|
6623
|
-
isFocusVisible ? combobox_module.focusVisible : null
|
|
6624
|
-
].filter(Boolean).join(" "),
|
|
6625
|
-
disabled: isDisabled,
|
|
6626
|
-
placeholder,
|
|
6627
|
-
value: inputText,
|
|
6628
|
-
onChange: handleInputChange,
|
|
6629
|
-
onKeyDown: handleKeyDown,
|
|
6630
|
-
onBlur: handleBlur,
|
|
6631
|
-
onPointerDown: (e)=>{
|
|
6632
|
-
pointerDown.current = true;
|
|
6633
|
-
onPointerDownProp?.(e);
|
|
6634
|
-
},
|
|
6635
|
-
onFocus: (e)=>{
|
|
6636
|
-
if (!pointerDown.current) setIsFocusVisible(true);
|
|
6637
|
-
pointerDown.current = false;
|
|
6638
|
-
open();
|
|
6639
|
-
onFocusProp?.(e);
|
|
6640
|
-
},
|
|
6641
|
-
onBlurCapture: ()=>setIsFocusVisible(false)
|
|
6642
|
-
}),
|
|
6643
|
-
"aria-label": ariaLabel
|
|
6644
|
-
}),
|
|
6645
|
-
/*#__PURE__*/ jsx("span", {
|
|
6646
|
-
"aria-hidden": true,
|
|
6647
|
-
className: combobox_module.chevron,
|
|
6648
|
-
children: /*#__PURE__*/ jsx(Chevron, {})
|
|
6649
|
-
})
|
|
6650
|
-
]
|
|
6651
|
-
}),
|
|
6652
|
-
description ? /*#__PURE__*/ jsx("span", {
|
|
6653
|
-
className: combobox_module.description,
|
|
6654
|
-
id: descriptionId,
|
|
6655
|
-
children: description
|
|
6656
|
-
}) : null,
|
|
6657
|
-
errorMessage ? /*#__PURE__*/ jsx("span", {
|
|
6658
|
-
className: combobox_module.error,
|
|
6659
|
-
id: errorId,
|
|
6660
|
-
children: errorMessage
|
|
6661
|
-
}) : null,
|
|
6662
|
-
isOpen && !(allowsCustomValue && 0 === filteredOptions.length) && /*#__PURE__*/ jsx(FloatingPortal, {
|
|
6663
|
-
children: /*#__PURE__*/ jsx("div", {
|
|
6664
|
-
ref: refs.setFloating,
|
|
6665
|
-
style: floatingStyles,
|
|
6666
|
-
...getFloatingProps({
|
|
6667
|
-
id: listboxId,
|
|
6668
|
-
"aria-label": ariaLabel,
|
|
6669
|
-
"aria-labelledby": labelId,
|
|
6670
|
-
className: combobox_module.listbox,
|
|
6671
|
-
role: "listbox"
|
|
6672
|
-
}),
|
|
6673
|
-
children: 0 === filteredOptions.length ? /*#__PURE__*/ jsx("div", {
|
|
6674
|
-
className: combobox_module.empty,
|
|
6675
|
-
children: noOptionsMessage
|
|
6676
|
-
}) : filteredOptions.map((option, index)=>/*#__PURE__*/ jsx("div", {
|
|
6677
|
-
ref: (node)=>{
|
|
6678
|
-
optionRefs.current[index] = node;
|
|
6679
|
-
},
|
|
6680
|
-
...getItemProps({
|
|
6681
|
-
id: `${listboxId}-option-${index}`,
|
|
6682
|
-
role: "option",
|
|
6683
|
-
"aria-selected": option.value === selectedValue,
|
|
6684
|
-
"aria-disabled": option.disabled,
|
|
6685
|
-
className: [
|
|
6686
|
-
combobox_module.option,
|
|
6687
|
-
index === activeIndex ? combobox_module.active : null,
|
|
6688
|
-
option.value === selectedValue ? combobox_module.selected : null,
|
|
6689
|
-
option.disabled ? combobox_module.optionDisabled : null
|
|
6690
|
-
].filter(Boolean).join(" "),
|
|
6691
|
-
onMouseDown: (e)=>{
|
|
6692
|
-
e.preventDefault();
|
|
6693
|
-
},
|
|
6694
|
-
onClick: ()=>{
|
|
6695
|
-
if (!option.disabled) selectOption(option);
|
|
6696
|
-
}
|
|
6697
|
-
}),
|
|
6698
|
-
children: option.label
|
|
6699
|
-
}, option.value))
|
|
6700
|
-
})
|
|
6701
|
-
})
|
|
6702
|
-
]
|
|
6703
|
-
});
|
|
6704
|
-
});
|
|
6705
|
-
const radio_group_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/radio-group.module.css");
|
|
6706
|
-
var radio_group_module_options = {};
|
|
6707
|
-
radio_group_module_options.styleTagTransform = styleTagTransform_default();
|
|
6708
|
-
radio_group_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
6709
|
-
radio_group_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
6710
|
-
radio_group_module_options.domAPI = styleDomAPI_default();
|
|
6711
|
-
radio_group_module_options.insertStyleElement = insertStyleElement_default();
|
|
6712
|
-
injectStylesIntoStyleTag_default()(radio_group_module_0.A, radio_group_module_options);
|
|
6713
|
-
const radio_group_module = radio_group_module_0.A && radio_group_module_0.A.locals ? radio_group_module_0.A.locals : void 0;
|
|
6714
|
-
const RadioGroupContext = /*#__PURE__*/ createContext(null);
|
|
6715
|
-
function useRadioGroupContext() {
|
|
6716
|
-
const ctx = useContext(RadioGroupContext);
|
|
6717
|
-
if (!ctx) throw new Error("<Radio> must be used inside <RadioGroup>");
|
|
6718
|
-
return ctx;
|
|
6719
|
-
}
|
|
6720
|
-
const radio_group_RadioGroup = /*#__PURE__*/ forwardRef(function({ label, description, isInvalid, isDisabled = false, errorMessage, value: valueProp, defaultValue, onChange, orientation = "vertical", children, id: idProp, ...props }, ref) {
|
|
6721
|
-
const generatedId = useId();
|
|
6722
|
-
const id = idProp ?? generatedId;
|
|
6723
|
-
const descriptionId = description ? `${id}-description` : void 0;
|
|
6724
|
-
const errorId = errorMessage ? `${id}-error` : void 0;
|
|
6725
|
-
const invalid = isInvalid || !!errorMessage;
|
|
6726
|
-
const isControlled = void 0 !== valueProp;
|
|
6727
|
-
const [uncontrolledValue, setUncontrolledValue] = useState(defaultValue);
|
|
6728
|
-
const value = isControlled ? valueProp : uncontrolledValue;
|
|
6729
|
-
function handleChange(next) {
|
|
6730
|
-
if (!isControlled) setUncontrolledValue(next);
|
|
6731
|
-
onChange?.(next);
|
|
6732
|
-
}
|
|
6733
|
-
const ctx = useMemo(()=>({
|
|
6734
|
-
name: id,
|
|
6735
|
-
value,
|
|
6736
|
-
onChange: handleChange,
|
|
6737
|
-
isDisabled,
|
|
6738
|
-
isInvalid: invalid,
|
|
6739
|
-
descriptionId,
|
|
6740
|
-
errorId
|
|
6741
|
-
}), [
|
|
6742
|
-
id,
|
|
6743
|
-
value,
|
|
6744
|
-
isDisabled,
|
|
6745
|
-
invalid,
|
|
6746
|
-
descriptionId,
|
|
6747
|
-
errorId
|
|
6748
|
-
]);
|
|
6749
|
-
return /*#__PURE__*/ jsx(RadioGroupContext.Provider, {
|
|
6750
|
-
value: ctx,
|
|
6751
|
-
children: /*#__PURE__*/ jsxs("fieldset", {
|
|
6752
|
-
...props,
|
|
6753
|
-
ref: ref,
|
|
6754
|
-
"aria-describedby": [
|
|
6755
|
-
descriptionId,
|
|
6756
|
-
errorId
|
|
6757
|
-
].filter(Boolean).join(" ") || void 0,
|
|
6758
|
-
"aria-invalid": invalid || void 0,
|
|
6759
|
-
className: radio_group_module.fieldset,
|
|
6760
|
-
disabled: isDisabled,
|
|
6761
|
-
id: id,
|
|
6762
|
-
children: [
|
|
6763
|
-
label ? /*#__PURE__*/ jsx("legend", {
|
|
6764
|
-
className: radio_group_module.legend,
|
|
6765
|
-
children: label
|
|
6766
|
-
}) : null,
|
|
6767
|
-
description ? /*#__PURE__*/ jsx("span", {
|
|
6768
|
-
className: radio_group_module.description,
|
|
6769
|
-
id: descriptionId,
|
|
6770
|
-
children: description
|
|
6771
|
-
}) : null,
|
|
6772
|
-
/*#__PURE__*/ jsx("div", {
|
|
6773
|
-
className: [
|
|
6774
|
-
radio_group_module.group,
|
|
6775
|
-
"horizontal" === orientation ? radio_group_module.horizontal : radio_group_module.vertical
|
|
6776
|
-
].join(" "),
|
|
6777
|
-
children: children
|
|
6778
|
-
}),
|
|
6779
|
-
errorMessage ? /*#__PURE__*/ jsx("span", {
|
|
6780
|
-
className: radio_group_module.error,
|
|
6781
|
-
id: errorId,
|
|
6782
|
-
children: errorMessage
|
|
6783
|
-
}) : null
|
|
6784
|
-
]
|
|
6785
|
-
})
|
|
6786
|
-
});
|
|
6787
|
-
});
|
|
6788
|
-
const radio_group_Radio = /*#__PURE__*/ forwardRef(function({ value, label, description, isDisabled: isDisabledProp, id: idProp, children, ...props }, ref) {
|
|
6789
|
-
const ctx = useRadioGroupContext();
|
|
6790
|
-
const generatedId = useId();
|
|
6791
|
-
const id = idProp ?? generatedId;
|
|
6792
|
-
const descriptionId = description ? `${id}-description` : void 0;
|
|
6793
|
-
const isDisabled = isDisabledProp ?? ctx.isDisabled;
|
|
6794
|
-
const labelContent = label ?? children;
|
|
6795
|
-
return /*#__PURE__*/ jsx("div", {
|
|
6796
|
-
className: radio_group_module.item,
|
|
6797
|
-
children: /*#__PURE__*/ jsxs("label", {
|
|
6798
|
-
className: `${radio_group_module.itemLabel}${isDisabled ? ` ${radio_group_module.disabled}` : ""}`,
|
|
6799
|
-
children: [
|
|
6800
|
-
/*#__PURE__*/ jsx("input", {
|
|
6801
|
-
...props,
|
|
6802
|
-
ref: ref,
|
|
6803
|
-
"aria-describedby": [
|
|
6804
|
-
descriptionId,
|
|
6805
|
-
ctx.errorId
|
|
6806
|
-
].filter(Boolean).join(" ") || void 0,
|
|
6807
|
-
checked: ctx.value === value,
|
|
6808
|
-
className: `${choice_module.control} ${choice_module.radio}`,
|
|
6809
|
-
disabled: isDisabled,
|
|
6810
|
-
id: id,
|
|
6811
|
-
name: ctx.name,
|
|
6812
|
-
onChange: ()=>ctx.onChange(value),
|
|
6813
|
-
type: "radio",
|
|
6814
|
-
value: value
|
|
6815
|
-
}),
|
|
6816
|
-
/*#__PURE__*/ jsxs("span", {
|
|
6817
|
-
children: [
|
|
6818
|
-
labelContent ? /*#__PURE__*/ jsx("span", {
|
|
6819
|
-
children: labelContent
|
|
6820
|
-
}) : null,
|
|
6821
|
-
description ? /*#__PURE__*/ jsx("span", {
|
|
6822
|
-
className: radio_group_module.itemDescription,
|
|
6823
|
-
id: descriptionId,
|
|
6824
|
-
children: description
|
|
6825
|
-
}) : null
|
|
6826
|
-
]
|
|
7764
|
+
combobox_module.input,
|
|
7765
|
+
invalid ? combobox_module.invalid : null,
|
|
7766
|
+
isFocusVisible ? combobox_module.focusVisible : null
|
|
7767
|
+
].filter(Boolean).join(" "),
|
|
7768
|
+
disabled: isDisabled,
|
|
7769
|
+
placeholder,
|
|
7770
|
+
value: inputText,
|
|
7771
|
+
onChange: handleInputChange,
|
|
7772
|
+
onKeyDown: handleKeyDown,
|
|
7773
|
+
onBlur: handleBlur,
|
|
7774
|
+
onPointerDown: (e)=>{
|
|
7775
|
+
pointerDown.current = true;
|
|
7776
|
+
onPointerDownProp?.(e);
|
|
7777
|
+
},
|
|
7778
|
+
onFocus: (e)=>{
|
|
7779
|
+
if (!pointerDown.current) setIsFocusVisible(true);
|
|
7780
|
+
pointerDown.current = false;
|
|
7781
|
+
open();
|
|
7782
|
+
onFocusProp?.(e);
|
|
7783
|
+
},
|
|
7784
|
+
onBlurCapture: ()=>setIsFocusVisible(false)
|
|
7785
|
+
}),
|
|
7786
|
+
"aria-label": ariaLabel
|
|
7787
|
+
}),
|
|
7788
|
+
/*#__PURE__*/ jsx("span", {
|
|
7789
|
+
"aria-hidden": true,
|
|
7790
|
+
className: combobox_module.chevron,
|
|
7791
|
+
children: /*#__PURE__*/ jsx(Chevron, {})
|
|
7792
|
+
})
|
|
7793
|
+
]
|
|
7794
|
+
}),
|
|
7795
|
+
description ? /*#__PURE__*/ jsx("span", {
|
|
7796
|
+
className: combobox_module.description,
|
|
7797
|
+
id: descriptionId,
|
|
7798
|
+
children: description
|
|
7799
|
+
}) : null,
|
|
7800
|
+
errorMessage ? /*#__PURE__*/ jsx("span", {
|
|
7801
|
+
className: combobox_module.error,
|
|
7802
|
+
id: errorId,
|
|
7803
|
+
children: errorMessage
|
|
7804
|
+
}) : null,
|
|
7805
|
+
isOpen && !(allowsCustomValue && 0 === filteredOptions.length) && /*#__PURE__*/ jsx(FloatingPortal, {
|
|
7806
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
7807
|
+
ref: refs.setFloating,
|
|
7808
|
+
style: floatingStyles,
|
|
7809
|
+
...getFloatingProps({
|
|
7810
|
+
id: listboxId,
|
|
7811
|
+
"aria-label": ariaLabel,
|
|
7812
|
+
"aria-labelledby": labelId,
|
|
7813
|
+
className: combobox_module.listbox,
|
|
7814
|
+
role: "listbox"
|
|
7815
|
+
}),
|
|
7816
|
+
children: 0 === filteredOptions.length ? /*#__PURE__*/ jsx("div", {
|
|
7817
|
+
className: combobox_module.empty,
|
|
7818
|
+
children: noOptionsMessage
|
|
7819
|
+
}) : filteredOptions.map((option, index)=>/*#__PURE__*/ jsx("div", {
|
|
7820
|
+
ref: (node)=>{
|
|
7821
|
+
optionRefs.current[index] = node;
|
|
7822
|
+
},
|
|
7823
|
+
...getItemProps({
|
|
7824
|
+
id: `${listboxId}-option-${index}`,
|
|
7825
|
+
role: "option",
|
|
7826
|
+
"aria-selected": option.value === selectedValue,
|
|
7827
|
+
"aria-disabled": option.disabled,
|
|
7828
|
+
className: [
|
|
7829
|
+
combobox_module.option,
|
|
7830
|
+
index === activeIndex ? combobox_module.active : null,
|
|
7831
|
+
option.value === selectedValue ? combobox_module.selected : null,
|
|
7832
|
+
option.disabled ? combobox_module.optionDisabled : null
|
|
7833
|
+
].filter(Boolean).join(" "),
|
|
7834
|
+
onMouseDown: (e)=>{
|
|
7835
|
+
e.preventDefault();
|
|
7836
|
+
},
|
|
7837
|
+
onClick: ()=>{
|
|
7838
|
+
if (!option.disabled) selectOption(option);
|
|
7839
|
+
}
|
|
7840
|
+
}),
|
|
7841
|
+
children: option.label
|
|
7842
|
+
}, option.value))
|
|
6827
7843
|
})
|
|
6828
|
-
|
|
6829
|
-
|
|
7844
|
+
})
|
|
7845
|
+
]
|
|
6830
7846
|
});
|
|
6831
7847
|
});
|
|
6832
7848
|
const dialog_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/dialog.module.css");
|
|
@@ -6973,247 +7989,469 @@ const Dialog = Object.assign(DialogRoot, {
|
|
|
6973
7989
|
Body: DialogBody,
|
|
6974
7990
|
Footer: DialogFooter
|
|
6975
7991
|
});
|
|
6976
|
-
const
|
|
6977
|
-
var
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
injectStylesIntoStyleTag_default()(
|
|
6984
|
-
const
|
|
6985
|
-
const
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
7992
|
+
const confirm_dialog_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/confirm-dialog.module.css");
|
|
7993
|
+
var confirm_dialog_module_options = {};
|
|
7994
|
+
confirm_dialog_module_options.styleTagTransform = styleTagTransform_default();
|
|
7995
|
+
confirm_dialog_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
7996
|
+
confirm_dialog_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
7997
|
+
confirm_dialog_module_options.domAPI = styleDomAPI_default();
|
|
7998
|
+
confirm_dialog_module_options.insertStyleElement = insertStyleElement_default();
|
|
7999
|
+
injectStylesIntoStyleTag_default()(confirm_dialog_module_0.A, confirm_dialog_module_options);
|
|
8000
|
+
const confirm_dialog_module = confirm_dialog_module_0.A && confirm_dialog_module_0.A.locals ? confirm_dialog_module_0.A.locals : void 0;
|
|
8001
|
+
const popover_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/popover.module.css");
|
|
8002
|
+
var popover_module_options = {};
|
|
8003
|
+
popover_module_options.styleTagTransform = styleTagTransform_default();
|
|
8004
|
+
popover_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
8005
|
+
popover_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
8006
|
+
popover_module_options.domAPI = styleDomAPI_default();
|
|
8007
|
+
popover_module_options.insertStyleElement = insertStyleElement_default();
|
|
8008
|
+
injectStylesIntoStyleTag_default()(popover_module_0.A, popover_module_options);
|
|
8009
|
+
const popover_module = popover_module_0.A && popover_module_0.A.locals ? popover_module_0.A.locals : void 0;
|
|
8010
|
+
function ConfirmDialog({ cancelLabel, children, confirmLabel, isOpen, isPending = false, onCancel, onConfirm, title, tone = "default" }) {
|
|
8011
|
+
const defaultConfirm = useMessage("ox0.confirm.confirm", "Confirm");
|
|
8012
|
+
const defaultCancel = useMessage("ox0.confirm.cancel", "Cancel");
|
|
8013
|
+
return /*#__PURE__*/ jsxs(Dialog, {
|
|
8014
|
+
isDismissDisabled: isPending,
|
|
8015
|
+
isEphemeral: !isPending,
|
|
8016
|
+
isOpen: isOpen,
|
|
8017
|
+
width: "sm",
|
|
8018
|
+
onClose: onCancel,
|
|
8019
|
+
children: [
|
|
8020
|
+
/*#__PURE__*/ jsx(Dialog.Header, {
|
|
8021
|
+
children: /*#__PURE__*/ jsx(Dialog.Title, {
|
|
8022
|
+
children: title
|
|
8023
|
+
})
|
|
8024
|
+
}),
|
|
8025
|
+
null != children ? /*#__PURE__*/ jsx(Dialog.Body, {
|
|
8026
|
+
children: children
|
|
8027
|
+
}) : null,
|
|
8028
|
+
/*#__PURE__*/ jsxs(Dialog.Footer, {
|
|
8029
|
+
children: [
|
|
8030
|
+
/*#__PURE__*/ jsx(button_Button, {
|
|
8031
|
+
isDisabled: isPending,
|
|
8032
|
+
onPress: onCancel,
|
|
8033
|
+
children: cancelLabel ?? defaultCancel
|
|
8034
|
+
}),
|
|
8035
|
+
/*#__PURE__*/ jsx(button_Button, {
|
|
8036
|
+
isDisabled: isPending,
|
|
8037
|
+
variant: "danger" === tone ? "danger" : "primary",
|
|
8038
|
+
onPress: onConfirm,
|
|
8039
|
+
children: confirmLabel ?? defaultConfirm
|
|
8040
|
+
})
|
|
8041
|
+
]
|
|
8042
|
+
})
|
|
8043
|
+
]
|
|
8044
|
+
});
|
|
6994
8045
|
}
|
|
6995
|
-
function
|
|
6996
|
-
const
|
|
6997
|
-
const
|
|
6998
|
-
const
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
8046
|
+
function ConfirmPopover({ anchor, cancelLabel, children, confirmLabel, isOpen, onCancel, onConfirm, placement = "bottom", title, tone = "default" }) {
|
|
8047
|
+
const id = useId();
|
|
8048
|
+
const titleId = `${id}-title`;
|
|
8049
|
+
const descriptionId = `${id}-description`;
|
|
8050
|
+
const defaultConfirm = useMessage("ox0.confirm.confirm", "Confirm");
|
|
8051
|
+
const defaultCancel = useMessage("ox0.confirm.cancel", "Cancel");
|
|
8052
|
+
const cancelRef = useRef(null);
|
|
8053
|
+
const { refs: { setFloating }, floatingStyles, context } = useFloating({
|
|
8054
|
+
elements: {
|
|
8055
|
+
reference: anchor
|
|
8056
|
+
},
|
|
8057
|
+
open: isOpen,
|
|
8058
|
+
onOpenChange: (open)=>{
|
|
8059
|
+
if (!open) onCancel();
|
|
8060
|
+
},
|
|
8061
|
+
placement,
|
|
8062
|
+
middleware: [
|
|
8063
|
+
offset(8),
|
|
8064
|
+
flip(),
|
|
8065
|
+
shift({
|
|
8066
|
+
padding: 8
|
|
8067
|
+
})
|
|
8068
|
+
],
|
|
8069
|
+
whileElementsMounted: autoUpdate
|
|
7002
8070
|
});
|
|
7003
|
-
const
|
|
7004
|
-
const
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
}, [
|
|
7011
|
-
isOpen
|
|
7012
|
-
]);
|
|
7013
|
-
const contextValue = useMemo(()=>({
|
|
7014
|
-
onClose,
|
|
7015
|
-
titleId
|
|
7016
|
-
}), [
|
|
7017
|
-
onClose,
|
|
7018
|
-
titleId
|
|
7019
|
-
]);
|
|
7020
|
-
useEffect(()=>{
|
|
7021
|
-
if (!isOpen) return;
|
|
7022
|
-
const handler = (e)=>{
|
|
7023
|
-
if ("Escape" === e.key) {
|
|
7024
|
-
e.preventDefault();
|
|
7025
|
-
if (!isDismissDisabled) onClose();
|
|
7026
|
-
}
|
|
7027
|
-
};
|
|
7028
|
-
document.addEventListener("keydown", handler);
|
|
7029
|
-
return ()=>document.removeEventListener("keydown", handler);
|
|
7030
|
-
}, [
|
|
7031
|
-
isDismissDisabled,
|
|
7032
|
-
isOpen,
|
|
7033
|
-
onClose
|
|
7034
|
-
]);
|
|
7035
|
-
useEffect(()=>{
|
|
7036
|
-
if (!isOpen || "overlay" !== variant) return;
|
|
7037
|
-
const handler = (e)=>{
|
|
7038
|
-
if (isDismissDisabled) return;
|
|
7039
|
-
if (!(e.target instanceof Node)) return;
|
|
7040
|
-
if (panelRef.current?.contains(e.target)) return;
|
|
7041
|
-
onClose();
|
|
7042
|
-
};
|
|
7043
|
-
document.addEventListener("pointerdown", handler);
|
|
7044
|
-
return ()=>document.removeEventListener("pointerdown", handler);
|
|
7045
|
-
}, [
|
|
7046
|
-
isDismissDisabled,
|
|
7047
|
-
isOpen,
|
|
7048
|
-
onClose,
|
|
7049
|
-
variant
|
|
8071
|
+
const dismiss = useDismiss(context);
|
|
8072
|
+
const role = useRole(context, {
|
|
8073
|
+
role: "alertdialog"
|
|
8074
|
+
});
|
|
8075
|
+
const { getFloatingProps } = useInteractions([
|
|
8076
|
+
dismiss,
|
|
8077
|
+
role
|
|
7050
8078
|
]);
|
|
7051
|
-
if (
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
8079
|
+
if (!isOpen) return null;
|
|
8080
|
+
return /*#__PURE__*/ jsx(FloatingPortal, {
|
|
8081
|
+
children: /*#__PURE__*/ jsx(FloatingFocusManager, {
|
|
8082
|
+
context: context,
|
|
8083
|
+
initialFocus: cancelRef,
|
|
8084
|
+
returnFocus: true,
|
|
8085
|
+
children: /*#__PURE__*/ jsxs("div", {
|
|
8086
|
+
ref: setFloating,
|
|
8087
|
+
"aria-describedby": null != children ? descriptionId : void 0,
|
|
8088
|
+
"aria-labelledby": titleId,
|
|
8089
|
+
className: `${popover_module.popover} ${confirm_dialog_module.popover}`,
|
|
8090
|
+
style: floatingStyles,
|
|
8091
|
+
...getFloatingProps(),
|
|
8092
|
+
children: [
|
|
8093
|
+
/*#__PURE__*/ jsx("h2", {
|
|
8094
|
+
className: confirm_dialog_module.title,
|
|
8095
|
+
id: titleId,
|
|
8096
|
+
children: title
|
|
8097
|
+
}),
|
|
8098
|
+
null != children ? /*#__PURE__*/ jsx("div", {
|
|
8099
|
+
className: confirm_dialog_module.description,
|
|
8100
|
+
id: descriptionId,
|
|
8101
|
+
children: children
|
|
8102
|
+
}) : null,
|
|
8103
|
+
/*#__PURE__*/ jsxs("div", {
|
|
8104
|
+
className: confirm_dialog_module.actions,
|
|
8105
|
+
children: [
|
|
8106
|
+
/*#__PURE__*/ jsx(button_Button, {
|
|
8107
|
+
ref: cancelRef,
|
|
8108
|
+
size: "sm",
|
|
8109
|
+
onPress: onCancel,
|
|
8110
|
+
children: cancelLabel ?? defaultCancel
|
|
8111
|
+
}),
|
|
8112
|
+
/*#__PURE__*/ jsx(button_Button, {
|
|
8113
|
+
size: "sm",
|
|
8114
|
+
variant: "danger" === tone ? "danger" : "primary",
|
|
8115
|
+
onPress: onConfirm,
|
|
8116
|
+
children: confirmLabel ?? defaultConfirm
|
|
8117
|
+
})
|
|
8118
|
+
]
|
|
8119
|
+
})
|
|
8120
|
+
]
|
|
8121
|
+
})
|
|
8122
|
+
})
|
|
8123
|
+
});
|
|
8124
|
+
}
|
|
8125
|
+
const ConfirmContext = /*#__PURE__*/ createContext(null);
|
|
8126
|
+
function useConfirm() {
|
|
8127
|
+
const confirm = useContext(ConfirmContext);
|
|
8128
|
+
if (!confirm) throw new Error("useConfirm must be used inside <Ox0Provider> or <ConfirmProvider>");
|
|
8129
|
+
return confirm;
|
|
8130
|
+
}
|
|
8131
|
+
function ConfirmProvider({ children }) {
|
|
8132
|
+
const [pending, setPending] = useState(null);
|
|
8133
|
+
const [shown, setShown] = useState(null);
|
|
8134
|
+
const pendingRef = useRef(null);
|
|
8135
|
+
const settle = useCallback((confirmed)=>{
|
|
8136
|
+
pendingRef.current?.resolve(confirmed);
|
|
8137
|
+
pendingRef.current = null;
|
|
8138
|
+
setPending(null);
|
|
8139
|
+
}, []);
|
|
8140
|
+
const confirm = useCallback((options)=>{
|
|
8141
|
+
pendingRef.current?.resolve(false);
|
|
8142
|
+
return new Promise((resolve)=>{
|
|
8143
|
+
const next = {
|
|
8144
|
+
options,
|
|
8145
|
+
resolve
|
|
8146
|
+
};
|
|
8147
|
+
pendingRef.current = next;
|
|
8148
|
+
setPending(next);
|
|
8149
|
+
setShown(options);
|
|
8150
|
+
});
|
|
8151
|
+
}, []);
|
|
8152
|
+
return /*#__PURE__*/ jsxs(ConfirmContext.Provider, {
|
|
8153
|
+
value: confirm,
|
|
8154
|
+
children: [
|
|
8155
|
+
children,
|
|
8156
|
+
shown?.anchor ? /*#__PURE__*/ jsx(ConfirmPopover, {
|
|
8157
|
+
anchor: shown.anchor,
|
|
8158
|
+
cancelLabel: shown.cancelLabel,
|
|
8159
|
+
confirmLabel: shown.confirmLabel,
|
|
8160
|
+
isOpen: null !== pending,
|
|
8161
|
+
title: shown.title,
|
|
8162
|
+
tone: shown.tone,
|
|
8163
|
+
onCancel: ()=>settle(false),
|
|
8164
|
+
onConfirm: ()=>settle(true),
|
|
8165
|
+
children: shown.description
|
|
8166
|
+
}) : shown ? /*#__PURE__*/ jsx(ConfirmDialog, {
|
|
8167
|
+
cancelLabel: shown.cancelLabel,
|
|
8168
|
+
confirmLabel: shown.confirmLabel,
|
|
8169
|
+
isOpen: null !== pending,
|
|
8170
|
+
title: shown.title,
|
|
8171
|
+
tone: shown.tone,
|
|
8172
|
+
onCancel: ()=>settle(false),
|
|
8173
|
+
onConfirm: ()=>settle(true),
|
|
8174
|
+
children: shown.description
|
|
8175
|
+
}) : null
|
|
8176
|
+
]
|
|
8177
|
+
});
|
|
8178
|
+
}
|
|
8179
|
+
const radio_group_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/radio-group.module.css");
|
|
8180
|
+
var radio_group_module_options = {};
|
|
8181
|
+
radio_group_module_options.styleTagTransform = styleTagTransform_default();
|
|
8182
|
+
radio_group_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
8183
|
+
radio_group_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
8184
|
+
radio_group_module_options.domAPI = styleDomAPI_default();
|
|
8185
|
+
radio_group_module_options.insertStyleElement = insertStyleElement_default();
|
|
8186
|
+
injectStylesIntoStyleTag_default()(radio_group_module_0.A, radio_group_module_options);
|
|
8187
|
+
const radio_group_module = radio_group_module_0.A && radio_group_module_0.A.locals ? radio_group_module_0.A.locals : void 0;
|
|
8188
|
+
const RadioGroupContext = /*#__PURE__*/ createContext(null);
|
|
8189
|
+
function useRadioGroupContext() {
|
|
8190
|
+
const ctx = useContext(RadioGroupContext);
|
|
8191
|
+
if (!ctx) throw new Error("<Radio> must be used inside <RadioGroup>");
|
|
8192
|
+
return ctx;
|
|
8193
|
+
}
|
|
8194
|
+
const radio_group_RadioGroup = /*#__PURE__*/ forwardRef(function({ label, description, isInvalid, isDisabled = false, errorMessage, value: valueProp, defaultValue, onChange, orientation = "vertical", children, id: idProp, ...restProps }, ref) {
|
|
8195
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
8196
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
8197
|
+
const generatedId = useId();
|
|
8198
|
+
const id = idProp ?? generatedId;
|
|
8199
|
+
const descriptionId = description ? `${id}-description` : void 0;
|
|
8200
|
+
const errorId = errorMessage ? `${id}-error` : void 0;
|
|
8201
|
+
const invalid = isInvalid || !!errorMessage;
|
|
8202
|
+
const isControlled = void 0 !== valueProp;
|
|
8203
|
+
const [uncontrolledValue, setUncontrolledValue] = useState(defaultValue);
|
|
8204
|
+
const value = isControlled ? valueProp : uncontrolledValue;
|
|
8205
|
+
function handleChange(next) {
|
|
8206
|
+
if (!isControlled) setUncontrolledValue(next);
|
|
8207
|
+
onChange?.(next);
|
|
7082
8208
|
}
|
|
7083
|
-
const
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
8209
|
+
const ctx = useMemo(()=>({
|
|
8210
|
+
name: id,
|
|
8211
|
+
value,
|
|
8212
|
+
onChange: handleChange,
|
|
8213
|
+
isDisabled,
|
|
8214
|
+
isInvalid: invalid,
|
|
8215
|
+
descriptionId,
|
|
8216
|
+
errorId
|
|
8217
|
+
}), [
|
|
8218
|
+
id,
|
|
8219
|
+
value,
|
|
8220
|
+
isDisabled,
|
|
8221
|
+
invalid,
|
|
8222
|
+
descriptionId,
|
|
8223
|
+
errorId
|
|
8224
|
+
]);
|
|
8225
|
+
return /*#__PURE__*/ jsx(RadioGroupContext.Provider, {
|
|
8226
|
+
value: ctx,
|
|
8227
|
+
children: /*#__PURE__*/ jsxs("fieldset", {
|
|
8228
|
+
...props,
|
|
8229
|
+
ref: ref,
|
|
8230
|
+
"aria-describedby": [
|
|
8231
|
+
descriptionId,
|
|
8232
|
+
errorId
|
|
8233
|
+
].filter(Boolean).join(" ") || void 0,
|
|
8234
|
+
"aria-invalid": invalid || void 0,
|
|
8235
|
+
className: radio_group_module.fieldset,
|
|
8236
|
+
style: layoutStyle,
|
|
8237
|
+
disabled: isDisabled,
|
|
8238
|
+
id: id,
|
|
7102
8239
|
children: [
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
tabIndex: 0,
|
|
7113
|
-
onKeyDown: handleResizeKeyDown,
|
|
7114
|
-
onPointerDown: handleResizePointerDown,
|
|
7115
|
-
onPointerMove: handleResizePointerMove,
|
|
7116
|
-
onPointerUp: handleResizePointerUp
|
|
7117
|
-
}),
|
|
8240
|
+
label ? /*#__PURE__*/ jsx("legend", {
|
|
8241
|
+
className: `${radio_group_module.legend} ${field_module.label}`,
|
|
8242
|
+
children: label
|
|
8243
|
+
}) : null,
|
|
8244
|
+
description ? /*#__PURE__*/ jsx("span", {
|
|
8245
|
+
className: radio_group_module.description,
|
|
8246
|
+
id: descriptionId,
|
|
8247
|
+
children: description
|
|
8248
|
+
}) : null,
|
|
7118
8249
|
/*#__PURE__*/ jsx("div", {
|
|
7119
|
-
className:
|
|
8250
|
+
className: [
|
|
8251
|
+
radio_group_module.group,
|
|
8252
|
+
"horizontal" === orientation ? radio_group_module.horizontal : radio_group_module.vertical
|
|
8253
|
+
].join(" "),
|
|
7120
8254
|
children: children
|
|
8255
|
+
}),
|
|
8256
|
+
errorMessage ? /*#__PURE__*/ jsx("span", {
|
|
8257
|
+
className: radio_group_module.error,
|
|
8258
|
+
id: errorId,
|
|
8259
|
+
children: errorMessage
|
|
8260
|
+
}) : null
|
|
8261
|
+
]
|
|
8262
|
+
})
|
|
8263
|
+
});
|
|
8264
|
+
});
|
|
8265
|
+
const radio_group_Radio = /*#__PURE__*/ forwardRef(function({ value, label, description, isDisabled: isDisabledProp, id: idProp, children, ...props }, ref) {
|
|
8266
|
+
const ctx = useRadioGroupContext();
|
|
8267
|
+
const generatedId = useId();
|
|
8268
|
+
const id = idProp ?? generatedId;
|
|
8269
|
+
const descriptionId = description ? `${id}-description` : void 0;
|
|
8270
|
+
const isDisabled = isDisabledProp ?? ctx.isDisabled;
|
|
8271
|
+
const labelContent = label ?? children;
|
|
8272
|
+
return /*#__PURE__*/ jsx("div", {
|
|
8273
|
+
className: radio_group_module.item,
|
|
8274
|
+
children: /*#__PURE__*/ jsxs("label", {
|
|
8275
|
+
className: `${radio_group_module.itemLabel}${isDisabled ? ` ${radio_group_module.disabled}` : ""}`,
|
|
8276
|
+
children: [
|
|
8277
|
+
/*#__PURE__*/ jsx("input", {
|
|
8278
|
+
...props,
|
|
8279
|
+
ref: ref,
|
|
8280
|
+
"aria-describedby": [
|
|
8281
|
+
descriptionId,
|
|
8282
|
+
ctx.errorId
|
|
8283
|
+
].filter(Boolean).join(" ") || void 0,
|
|
8284
|
+
checked: ctx.value === value,
|
|
8285
|
+
className: `${choice_module.control} ${choice_module.radio}`,
|
|
8286
|
+
disabled: isDisabled,
|
|
8287
|
+
id: id,
|
|
8288
|
+
name: ctx.name,
|
|
8289
|
+
onChange: ()=>ctx.onChange(value),
|
|
8290
|
+
type: "radio",
|
|
8291
|
+
value: value
|
|
8292
|
+
}),
|
|
8293
|
+
/*#__PURE__*/ jsxs("span", {
|
|
8294
|
+
children: [
|
|
8295
|
+
labelContent ? /*#__PURE__*/ jsx("span", {
|
|
8296
|
+
children: labelContent
|
|
8297
|
+
}) : null,
|
|
8298
|
+
description ? /*#__PURE__*/ jsx("span", {
|
|
8299
|
+
className: radio_group_module.itemDescription,
|
|
8300
|
+
id: descriptionId,
|
|
8301
|
+
children: description
|
|
8302
|
+
}) : null
|
|
8303
|
+
]
|
|
7121
8304
|
})
|
|
7122
8305
|
]
|
|
7123
8306
|
})
|
|
7124
8307
|
});
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
8308
|
+
});
|
|
8309
|
+
const file_trigger_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/file-trigger.module.css");
|
|
8310
|
+
var file_trigger_module_options = {};
|
|
8311
|
+
file_trigger_module_options.styleTagTransform = styleTagTransform_default();
|
|
8312
|
+
file_trigger_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
8313
|
+
file_trigger_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
8314
|
+
file_trigger_module_options.domAPI = styleDomAPI_default();
|
|
8315
|
+
file_trigger_module_options.insertStyleElement = insertStyleElement_default();
|
|
8316
|
+
injectStylesIntoStyleTag_default()(file_trigger_module_0.A, file_trigger_module_options);
|
|
8317
|
+
const file_trigger_module = file_trigger_module_0.A && file_trigger_module_0.A.locals ? file_trigger_module_0.A.locals : void 0;
|
|
8318
|
+
function matchesAccept(file, accept) {
|
|
8319
|
+
if (!accept) return true;
|
|
8320
|
+
const name = file.name.toLowerCase();
|
|
8321
|
+
const type = file.type.toLowerCase();
|
|
8322
|
+
return accept.split(",").map((t)=>t.trim().toLowerCase()).filter(Boolean).some((t)=>{
|
|
8323
|
+
if (t.startsWith(".")) return name.endsWith(t);
|
|
8324
|
+
if (t.endsWith("/*")) return type.startsWith(t.slice(0, -1));
|
|
8325
|
+
return type === t;
|
|
8326
|
+
});
|
|
8327
|
+
}
|
|
8328
|
+
const file_trigger_FileTrigger = /*#__PURE__*/ forwardRef(function({ accept, acceptDirectory = false, capture, children, isMultiple = false, name, onSelect, variant = "secondary", ...buttonProps }, ref) {
|
|
8329
|
+
const inputRef = useRef(null);
|
|
8330
|
+
function handleChange(e) {
|
|
8331
|
+
const files = Array.from(e.target.files ?? []);
|
|
8332
|
+
e.target.value = "";
|
|
8333
|
+
if (files.length > 0) onSelect(files);
|
|
7140
8334
|
}
|
|
7141
|
-
return /*#__PURE__*/
|
|
7142
|
-
className: drawer_module.overlayContainer,
|
|
7143
|
-
"data-placement": placement,
|
|
7144
|
-
children: panel
|
|
7145
|
-
}), document.body);
|
|
7146
|
-
}
|
|
7147
|
-
const drawer_CloseIcon = ()=>/*#__PURE__*/ jsxs("svg", {
|
|
7148
|
-
"aria-hidden": "true",
|
|
7149
|
-
fill: "none",
|
|
7150
|
-
height: "12",
|
|
7151
|
-
stroke: "currentColor",
|
|
7152
|
-
strokeLinecap: "round",
|
|
7153
|
-
strokeLinejoin: "round",
|
|
7154
|
-
strokeWidth: "2",
|
|
7155
|
-
viewBox: "0 0 12 12",
|
|
7156
|
-
width: "12",
|
|
8335
|
+
return /*#__PURE__*/ jsxs(Fragment, {
|
|
7157
8336
|
children: [
|
|
7158
|
-
/*#__PURE__*/ jsx(
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
8337
|
+
/*#__PURE__*/ jsx(button_Button, {
|
|
8338
|
+
ref: ref,
|
|
8339
|
+
...buttonProps,
|
|
8340
|
+
variant: variant,
|
|
8341
|
+
onPress: ()=>inputRef.current?.click(),
|
|
8342
|
+
children: children
|
|
7163
8343
|
}),
|
|
7164
|
-
/*#__PURE__*/ jsx("
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
8344
|
+
/*#__PURE__*/ jsx("input", {
|
|
8345
|
+
ref: inputRef,
|
|
8346
|
+
accept: accept,
|
|
8347
|
+
"aria-hidden": "true",
|
|
8348
|
+
capture: capture,
|
|
8349
|
+
className: file_trigger_module.input,
|
|
8350
|
+
multiple: isMultiple,
|
|
8351
|
+
name: name,
|
|
8352
|
+
tabIndex: -1,
|
|
8353
|
+
type: "file",
|
|
8354
|
+
onChange: handleChange,
|
|
8355
|
+
...acceptDirectory ? {
|
|
8356
|
+
webkitdirectory: ""
|
|
8357
|
+
} : {}
|
|
7169
8358
|
})
|
|
7170
8359
|
]
|
|
7171
8360
|
});
|
|
7172
|
-
|
|
7173
|
-
|
|
8361
|
+
});
|
|
8362
|
+
const drop_zone_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/drop-zone.module.css");
|
|
8363
|
+
var drop_zone_module_options = {};
|
|
8364
|
+
drop_zone_module_options.styleTagTransform = styleTagTransform_default();
|
|
8365
|
+
drop_zone_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
8366
|
+
drop_zone_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
8367
|
+
drop_zone_module_options.domAPI = styleDomAPI_default();
|
|
8368
|
+
drop_zone_module_options.insertStyleElement = insertStyleElement_default();
|
|
8369
|
+
injectStylesIntoStyleTag_default()(drop_zone_module_0.A, drop_zone_module_options);
|
|
8370
|
+
const drop_zone_module = drop_zone_module_0.A && drop_zone_module_0.A.locals ? drop_zone_module_0.A.locals : void 0;
|
|
8371
|
+
const drop_zone_DropZone = /*#__PURE__*/ forwardRef(function(allProps, ref) {
|
|
8372
|
+
const [layout, { accept, buttonLabel, description, errorMessage, hint, isDisabled = false, isInvalid, isMultiple = false, label, name, onReject, onSelect }] = splitLayoutItemProps(allProps);
|
|
8373
|
+
const { style: layoutStyle } = useLayoutItem(layout);
|
|
8374
|
+
const id = useId();
|
|
8375
|
+
const labelId = `${id}-label`;
|
|
8376
|
+
const descriptionId = description ? `${id}-description` : void 0;
|
|
8377
|
+
const errorId = errorMessage ? `${id}-error` : void 0;
|
|
8378
|
+
const invalid = Boolean(isInvalid || errorMessage);
|
|
8379
|
+
const [isDropTarget, setIsDropTarget] = useState(false);
|
|
8380
|
+
const browse = useMessage("ox0.dropZone.browse", "Choose file");
|
|
8381
|
+
const browseMultiple = useMessage("ox0.dropZone.browseMultiple", "Choose files");
|
|
8382
|
+
function handleDragOver(e) {
|
|
8383
|
+
if (isDisabled || !e.dataTransfer.types.includes("Files")) return;
|
|
8384
|
+
e.preventDefault();
|
|
8385
|
+
e.dataTransfer.dropEffect = "copy";
|
|
8386
|
+
setIsDropTarget(true);
|
|
8387
|
+
}
|
|
8388
|
+
function handleDragLeave(e) {
|
|
8389
|
+
if (e.relatedTarget instanceof Node && e.currentTarget.contains(e.relatedTarget)) return;
|
|
8390
|
+
setIsDropTarget(false);
|
|
8391
|
+
}
|
|
8392
|
+
function handleDrop(e) {
|
|
8393
|
+
if (isDisabled) return;
|
|
8394
|
+
e.preventDefault();
|
|
8395
|
+
setIsDropTarget(false);
|
|
8396
|
+
const dropped = Array.from(e.dataTransfer.files);
|
|
8397
|
+
const matching = dropped.filter((f)=>matchesAccept(f, accept));
|
|
8398
|
+
const accepted = isMultiple ? matching : matching.slice(0, 1);
|
|
8399
|
+
const rejected = dropped.filter((f)=>!accepted.includes(f));
|
|
8400
|
+
if (accepted.length > 0) onSelect(accepted);
|
|
8401
|
+
if (rejected.length > 0) onReject?.(rejected);
|
|
8402
|
+
}
|
|
8403
|
+
const describedBy = [
|
|
8404
|
+
label ? labelId : void 0,
|
|
8405
|
+
descriptionId,
|
|
8406
|
+
errorId
|
|
8407
|
+
].filter(Boolean).join(" ") || void 0;
|
|
7174
8408
|
return /*#__PURE__*/ jsxs("div", {
|
|
7175
|
-
|
|
8409
|
+
ref: ref,
|
|
8410
|
+
className: drop_zone_module.root,
|
|
8411
|
+
style: layoutStyle,
|
|
7176
8412
|
children: [
|
|
7177
|
-
/*#__PURE__*/ jsx("
|
|
7178
|
-
className:
|
|
7179
|
-
|
|
8413
|
+
label ? /*#__PURE__*/ jsx("span", {
|
|
8414
|
+
className: field_module.label,
|
|
8415
|
+
id: labelId,
|
|
8416
|
+
children: label
|
|
8417
|
+
}) : null,
|
|
8418
|
+
/*#__PURE__*/ jsxs("div", {
|
|
8419
|
+
className: drop_zone_module.zone,
|
|
8420
|
+
"data-disabled": isDisabled || void 0,
|
|
8421
|
+
"data-drop-target": isDropTarget || void 0,
|
|
8422
|
+
"data-invalid": invalid || void 0,
|
|
8423
|
+
onDragLeave: handleDragLeave,
|
|
8424
|
+
onDragOver: handleDragOver,
|
|
8425
|
+
onDrop: handleDrop,
|
|
8426
|
+
children: [
|
|
8427
|
+
null != hint ? /*#__PURE__*/ jsx("p", {
|
|
8428
|
+
className: drop_zone_module.hint,
|
|
8429
|
+
children: hint
|
|
8430
|
+
}) : null,
|
|
8431
|
+
/*#__PURE__*/ jsx(file_trigger_FileTrigger, {
|
|
8432
|
+
accept: accept,
|
|
8433
|
+
"aria-describedby": describedBy,
|
|
8434
|
+
isDisabled: isDisabled,
|
|
8435
|
+
isMultiple: isMultiple,
|
|
8436
|
+
name: name,
|
|
8437
|
+
size: "sm",
|
|
8438
|
+
onSelect: onSelect,
|
|
8439
|
+
children: buttonLabel ?? (isMultiple ? browseMultiple : browse)
|
|
8440
|
+
})
|
|
8441
|
+
]
|
|
7180
8442
|
}),
|
|
7181
|
-
/*#__PURE__*/ jsx("
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
}
|
|
7191
|
-
|
|
7192
|
-
const { titleId } = useDrawerContext();
|
|
7193
|
-
return /*#__PURE__*/ jsx("h2", {
|
|
7194
|
-
id: titleId,
|
|
7195
|
-
className: drawer_module.title,
|
|
7196
|
-
children: children
|
|
7197
|
-
});
|
|
7198
|
-
}
|
|
7199
|
-
function DrawerBody({ children }) {
|
|
7200
|
-
return /*#__PURE__*/ jsx("div", {
|
|
7201
|
-
className: drawer_module.body,
|
|
7202
|
-
children: children
|
|
7203
|
-
});
|
|
7204
|
-
}
|
|
7205
|
-
function DrawerFooter({ children }) {
|
|
7206
|
-
return /*#__PURE__*/ jsx("div", {
|
|
7207
|
-
className: drawer_module.footer,
|
|
7208
|
-
children: children
|
|
8443
|
+
description ? /*#__PURE__*/ jsx("span", {
|
|
8444
|
+
className: drop_zone_module.description,
|
|
8445
|
+
id: descriptionId,
|
|
8446
|
+
children: description
|
|
8447
|
+
}) : null,
|
|
8448
|
+
errorMessage ? /*#__PURE__*/ jsx("span", {
|
|
8449
|
+
className: drop_zone_module.error,
|
|
8450
|
+
id: errorId,
|
|
8451
|
+
children: errorMessage
|
|
8452
|
+
}) : null
|
|
8453
|
+
]
|
|
7209
8454
|
});
|
|
7210
|
-
}
|
|
7211
|
-
const Drawer = Object.assign(DrawerRoot, {
|
|
7212
|
-
displayName: "Drawer",
|
|
7213
|
-
Header: DrawerHeader,
|
|
7214
|
-
Title: DrawerTitle,
|
|
7215
|
-
Body: DrawerBody,
|
|
7216
|
-
Footer: DrawerFooter
|
|
7217
8455
|
});
|
|
7218
8456
|
const divider_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/divider.module.css");
|
|
7219
8457
|
var divider_module_options = {};
|
|
@@ -7250,7 +8488,7 @@ const levelClass = {
|
|
|
7250
8488
|
2: heading_module.h2 ?? "",
|
|
7251
8489
|
3: heading_module.h3 ?? ""
|
|
7252
8490
|
};
|
|
7253
|
-
const heading_Heading = /*#__PURE__*/ forwardRef(function({ children, id, level = 2 }, ref) {
|
|
8491
|
+
const heading_Heading = /*#__PURE__*/ forwardRef(function({ children, id, level = 2, variant = "default" }, ref) {
|
|
7254
8492
|
const anchorLabel = useMessage("ox0.heading.anchorLabel", "Link to {id}", {
|
|
7255
8493
|
id: id ?? ""
|
|
7256
8494
|
});
|
|
@@ -7260,7 +8498,7 @@ const heading_Heading = /*#__PURE__*/ forwardRef(function({ children, id, level
|
|
|
7260
8498
|
id,
|
|
7261
8499
|
className: [
|
|
7262
8500
|
heading_module.heading,
|
|
7263
|
-
levelClass[level]
|
|
8501
|
+
"eyebrow" === variant ? heading_module.eyebrow : levelClass[level]
|
|
7264
8502
|
].filter(Boolean).join(" ")
|
|
7265
8503
|
}, /*#__PURE__*/ jsxs(Fragment, {
|
|
7266
8504
|
children: [
|
|
@@ -7276,189 +8514,6 @@ const heading_Heading = /*#__PURE__*/ forwardRef(function({ children, id, level
|
|
|
7276
8514
|
]
|
|
7277
8515
|
}));
|
|
7278
8516
|
});
|
|
7279
|
-
const WARMUP_MS = 1000;
|
|
7280
|
-
const COOLDOWN_MS = 500;
|
|
7281
|
-
let warm = false;
|
|
7282
|
-
let cooldownTimer = null;
|
|
7283
|
-
const tooltipManager = {
|
|
7284
|
-
getDelay () {
|
|
7285
|
-
return warm ? 0 : WARMUP_MS;
|
|
7286
|
-
},
|
|
7287
|
-
onOpen () {
|
|
7288
|
-
if (null !== cooldownTimer) {
|
|
7289
|
-
clearTimeout(cooldownTimer);
|
|
7290
|
-
cooldownTimer = null;
|
|
7291
|
-
}
|
|
7292
|
-
warm = true;
|
|
7293
|
-
},
|
|
7294
|
-
onClose () {
|
|
7295
|
-
if (null !== cooldownTimer) clearTimeout(cooldownTimer);
|
|
7296
|
-
cooldownTimer = setTimeout(()=>{
|
|
7297
|
-
warm = false;
|
|
7298
|
-
cooldownTimer = null;
|
|
7299
|
-
}, COOLDOWN_MS);
|
|
7300
|
-
}
|
|
7301
|
-
};
|
|
7302
|
-
const tooltip_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/tooltip.module.css");
|
|
7303
|
-
var tooltip_module_options = {};
|
|
7304
|
-
tooltip_module_options.styleTagTransform = styleTagTransform_default();
|
|
7305
|
-
tooltip_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
7306
|
-
tooltip_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
7307
|
-
tooltip_module_options.domAPI = styleDomAPI_default();
|
|
7308
|
-
tooltip_module_options.insertStyleElement = insertStyleElement_default();
|
|
7309
|
-
injectStylesIntoStyleTag_default()(tooltip_module_0.A, tooltip_module_options);
|
|
7310
|
-
const tooltip_module = tooltip_module_0.A && tooltip_module_0.A.locals ? tooltip_module_0.A.locals : void 0;
|
|
7311
|
-
const TooltipContext = /*#__PURE__*/ createContext(null);
|
|
7312
|
-
function useTooltipContext() {
|
|
7313
|
-
const ctx = useContext(TooltipContext);
|
|
7314
|
-
if (!ctx) throw new Error("TooltipTrigger and TooltipContent must be used inside <Tooltip>");
|
|
7315
|
-
return ctx;
|
|
7316
|
-
}
|
|
7317
|
-
function Tooltip({ children, placement = "top", isDisabled = false }) {
|
|
7318
|
-
const [open, setOpen] = useState(false);
|
|
7319
|
-
const openTimerRef = useRef(null);
|
|
7320
|
-
const isHoveringRef = useRef(false);
|
|
7321
|
-
const isFocusedRef = useRef(false);
|
|
7322
|
-
const clearOpenTimer = useCallback(()=>{
|
|
7323
|
-
if (null !== openTimerRef.current) {
|
|
7324
|
-
clearTimeout(openTimerRef.current);
|
|
7325
|
-
openTimerRef.current = null;
|
|
7326
|
-
}
|
|
7327
|
-
}, []);
|
|
7328
|
-
const { refs, floatingStyles, context } = useFloating({
|
|
7329
|
-
open,
|
|
7330
|
-
onOpenChange: (nextOpen)=>{
|
|
7331
|
-
if (!nextOpen) {
|
|
7332
|
-
clearOpenTimer();
|
|
7333
|
-
isHoveringRef.current = false;
|
|
7334
|
-
isFocusedRef.current = false;
|
|
7335
|
-
setOpen(false);
|
|
7336
|
-
tooltipManager.onClose();
|
|
7337
|
-
}
|
|
7338
|
-
},
|
|
7339
|
-
placement,
|
|
7340
|
-
middleware: [
|
|
7341
|
-
offset(8),
|
|
7342
|
-
flip(),
|
|
7343
|
-
shift({
|
|
7344
|
-
padding: 8
|
|
7345
|
-
})
|
|
7346
|
-
],
|
|
7347
|
-
whileElementsMounted: autoUpdate
|
|
7348
|
-
});
|
|
7349
|
-
const dismiss = useDismiss(context, {
|
|
7350
|
-
referencePress: false
|
|
7351
|
-
});
|
|
7352
|
-
const role = useRole(context, {
|
|
7353
|
-
role: "tooltip"
|
|
7354
|
-
});
|
|
7355
|
-
const { getReferenceProps, getFloatingProps } = useInteractions([
|
|
7356
|
-
dismiss,
|
|
7357
|
-
role
|
|
7358
|
-
]);
|
|
7359
|
-
const doOpen = useCallback(()=>{
|
|
7360
|
-
clearOpenTimer();
|
|
7361
|
-
setOpen(true);
|
|
7362
|
-
tooltipManager.onOpen();
|
|
7363
|
-
}, [
|
|
7364
|
-
clearOpenTimer
|
|
7365
|
-
]);
|
|
7366
|
-
const tryClose = useCallback(()=>{
|
|
7367
|
-
if (!isHoveringRef.current && !isFocusedRef.current) {
|
|
7368
|
-
clearOpenTimer();
|
|
7369
|
-
setOpen(false);
|
|
7370
|
-
tooltipManager.onClose();
|
|
7371
|
-
}
|
|
7372
|
-
}, [
|
|
7373
|
-
clearOpenTimer
|
|
7374
|
-
]);
|
|
7375
|
-
const referenceProps = getReferenceProps({
|
|
7376
|
-
onPointerEnter (e) {
|
|
7377
|
-
if ("touch" === e.pointerType) return;
|
|
7378
|
-
if (isHoveringRef.current) return;
|
|
7379
|
-
isHoveringRef.current = true;
|
|
7380
|
-
const delay = tooltipManager.getDelay();
|
|
7381
|
-
if (0 === delay) doOpen();
|
|
7382
|
-
else openTimerRef.current = setTimeout(()=>{
|
|
7383
|
-
openTimerRef.current = null;
|
|
7384
|
-
doOpen();
|
|
7385
|
-
}, delay);
|
|
7386
|
-
},
|
|
7387
|
-
onPointerLeave () {
|
|
7388
|
-
isHoveringRef.current = false;
|
|
7389
|
-
tryClose();
|
|
7390
|
-
},
|
|
7391
|
-
onFocus () {
|
|
7392
|
-
if (!hooks_isFocusVisible()) return;
|
|
7393
|
-
isFocusedRef.current = true;
|
|
7394
|
-
clearOpenTimer();
|
|
7395
|
-
doOpen();
|
|
7396
|
-
},
|
|
7397
|
-
onBlur () {
|
|
7398
|
-
isFocusedRef.current = false;
|
|
7399
|
-
tryClose();
|
|
7400
|
-
}
|
|
7401
|
-
});
|
|
7402
|
-
const value = {
|
|
7403
|
-
open,
|
|
7404
|
-
isDisabled,
|
|
7405
|
-
referenceRef: refs.setReference,
|
|
7406
|
-
floatingRef: refs.setFloating,
|
|
7407
|
-
floatingStyles,
|
|
7408
|
-
getReferenceProps: ()=>referenceProps,
|
|
7409
|
-
getFloatingProps
|
|
7410
|
-
};
|
|
7411
|
-
return /*#__PURE__*/ jsx(TooltipContext.Provider, {
|
|
7412
|
-
value: value,
|
|
7413
|
-
children: children
|
|
7414
|
-
});
|
|
7415
|
-
}
|
|
7416
|
-
function TooltipTrigger({ children }) {
|
|
7417
|
-
const { isDisabled, referenceRef, getReferenceProps } = useTooltipContext();
|
|
7418
|
-
const { ref: childRef, ...childProps } = children.props;
|
|
7419
|
-
const composedRef = useMergeRefs([
|
|
7420
|
-
referenceRef,
|
|
7421
|
-
childRef ?? null
|
|
7422
|
-
]);
|
|
7423
|
-
if (isDisabled) return children;
|
|
7424
|
-
return /*#__PURE__*/ cloneElement(children, {
|
|
7425
|
-
...getReferenceProps(childProps),
|
|
7426
|
-
ref: composedRef
|
|
7427
|
-
});
|
|
7428
|
-
}
|
|
7429
|
-
function TooltipContent({ children }) {
|
|
7430
|
-
const { open, floatingRef, floatingStyles, getFloatingProps } = useTooltipContext();
|
|
7431
|
-
if (!open) return null;
|
|
7432
|
-
return /*#__PURE__*/ jsx(FloatingPortal, {
|
|
7433
|
-
children: /*#__PURE__*/ jsx("div", {
|
|
7434
|
-
ref: floatingRef,
|
|
7435
|
-
style: floatingStyles,
|
|
7436
|
-
className: tooltip_module.tooltip,
|
|
7437
|
-
...getFloatingProps(),
|
|
7438
|
-
children: children
|
|
7439
|
-
})
|
|
7440
|
-
});
|
|
7441
|
-
}
|
|
7442
|
-
const icon_button_IconButton = /*#__PURE__*/ forwardRef(function({ icon: Icon, label, size = "md", tooltipPlacement, variant = "circle", ...props }, ref) {
|
|
7443
|
-
return /*#__PURE__*/ jsxs(Tooltip, {
|
|
7444
|
-
placement: tooltipPlacement,
|
|
7445
|
-
children: [
|
|
7446
|
-
/*#__PURE__*/ jsx(TooltipTrigger, {
|
|
7447
|
-
children: /*#__PURE__*/ jsx(button_Button, {
|
|
7448
|
-
...props,
|
|
7449
|
-
ref: ref,
|
|
7450
|
-
"aria-label": label,
|
|
7451
|
-
icon: Icon,
|
|
7452
|
-
size: size,
|
|
7453
|
-
variant: variant
|
|
7454
|
-
})
|
|
7455
|
-
}),
|
|
7456
|
-
/*#__PURE__*/ jsx(TooltipContent, {
|
|
7457
|
-
children: label
|
|
7458
|
-
})
|
|
7459
|
-
]
|
|
7460
|
-
});
|
|
7461
|
-
});
|
|
7462
8517
|
const icon_toggle_IconToggle = /*#__PURE__*/ forwardRef(function({ isSelected: controlledSelected, defaultSelected = false, onChange, onPress, variant = "flat", ...props }, ref) {
|
|
7463
8518
|
const [isSelected, setIsSelected] = useControllableState({
|
|
7464
8519
|
value: controlledSelected,
|
|
@@ -8310,15 +9365,6 @@ function Menu({ "aria-label": ariaLabel, trigger, children }) {
|
|
|
8310
9365
|
]
|
|
8311
9366
|
});
|
|
8312
9367
|
}
|
|
8313
|
-
const popover_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/popover.module.css");
|
|
8314
|
-
var popover_module_options = {};
|
|
8315
|
-
popover_module_options.styleTagTransform = styleTagTransform_default();
|
|
8316
|
-
popover_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
8317
|
-
popover_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
8318
|
-
popover_module_options.domAPI = styleDomAPI_default();
|
|
8319
|
-
popover_module_options.insertStyleElement = insertStyleElement_default();
|
|
8320
|
-
injectStylesIntoStyleTag_default()(popover_module_0.A, popover_module_options);
|
|
8321
|
-
const popover_module = popover_module_0.A && popover_module_0.A.locals ? popover_module_0.A.locals : void 0;
|
|
8322
9368
|
const PopoverContext = /*#__PURE__*/ createContext(null);
|
|
8323
9369
|
function usePopoverContext() {
|
|
8324
9370
|
const ctx = useContext(PopoverContext);
|
|
@@ -9150,6 +10196,7 @@ function flatOptions(options) {
|
|
|
9150
10196
|
const select_Select = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
9151
10197
|
const { ariaLabel, autoFocus, description, errorMessage, id, isDisabled, isInvalid, isRequired, label, name, options, placeholder } = props;
|
|
9152
10198
|
if (!label && !ariaLabel) throw new Error("Select requires `label` or `ariaLabel`.");
|
|
10199
|
+
const { style: layoutStyle } = useLayoutItem(props);
|
|
9153
10200
|
const isMultiple = "multiple" === props.selectionMode;
|
|
9154
10201
|
const all = useMemo(()=>flatOptions(options), [
|
|
9155
10202
|
options
|
|
@@ -9228,10 +10275,11 @@ const select_Select = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
9228
10275
|
}) : 1 === selected.length ? single?.label ?? selected[0]?.textValue : countLabel;
|
|
9229
10276
|
return /*#__PURE__*/ jsxs("div", {
|
|
9230
10277
|
className: select_module.root,
|
|
10278
|
+
style: layoutStyle,
|
|
9231
10279
|
children: [
|
|
9232
10280
|
label ? /*#__PURE__*/ jsx("span", {
|
|
9233
10281
|
...labelProps,
|
|
9234
|
-
className:
|
|
10282
|
+
className: field_module.label,
|
|
9235
10283
|
children: label
|
|
9236
10284
|
}) : null,
|
|
9237
10285
|
/*#__PURE__*/ jsx(HiddenSelect, {
|
|
@@ -9444,7 +10492,9 @@ switch_module_options.domAPI = styleDomAPI_default();
|
|
|
9444
10492
|
switch_module_options.insertStyleElement = insertStyleElement_default();
|
|
9445
10493
|
injectStylesIntoStyleTag_default()(switch_module_0.A, switch_module_options);
|
|
9446
10494
|
const switch_module = switch_module_0.A && switch_module_0.A.locals ? switch_module_0.A.locals : void 0;
|
|
9447
|
-
const switch_Switch = /*#__PURE__*/ forwardRef(function({ label, description, isDisabled, isInvalid, isSelected, defaultSelected, errorMessage, onChange, id: idProp, ...
|
|
10495
|
+
const switch_Switch = /*#__PURE__*/ forwardRef(function({ label, description, isDisabled, isInvalid, isSelected, defaultSelected, errorMessage, onChange, id: idProp, ...restProps }, ref) {
|
|
10496
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
10497
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
9448
10498
|
const generatedId = useId();
|
|
9449
10499
|
const id = idProp ?? generatedId;
|
|
9450
10500
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
@@ -9459,6 +10509,7 @@ const switch_Switch = /*#__PURE__*/ forwardRef(function({ label, description, is
|
|
|
9459
10509
|
const ariaChecked = isControlled ? isSelected : uncontrolledChecked;
|
|
9460
10510
|
return /*#__PURE__*/ jsxs("div", {
|
|
9461
10511
|
className: switch_module.root,
|
|
10512
|
+
style: layoutStyle,
|
|
9462
10513
|
children: [
|
|
9463
10514
|
/*#__PURE__*/ jsxs("label", {
|
|
9464
10515
|
className: `${switch_module.label}${isDisabled ? ` ${switch_module.disabled}` : ""}`,
|
|
@@ -9518,7 +10569,9 @@ text_field_module_options.domAPI = styleDomAPI_default();
|
|
|
9518
10569
|
text_field_module_options.insertStyleElement = insertStyleElement_default();
|
|
9519
10570
|
injectStylesIntoStyleTag_default()(text_field_module_0.A, text_field_module_options);
|
|
9520
10571
|
const text_field_module = text_field_module_0.A && text_field_module_0.A.locals ? text_field_module_0.A.locals : void 0;
|
|
9521
|
-
const text_area_TextArea = /*#__PURE__*/ forwardRef(function({ ariaLabel, className, description, errorMessage, id: idProp, isDisabled, isInvalid, label, lines, minLines = lines ?? 1, maxLines = lines ?? 1 / 0, onChange, style, value, defaultValue, ...
|
|
10572
|
+
const text_area_TextArea = /*#__PURE__*/ forwardRef(function({ ariaLabel, className, description, errorMessage, id: idProp, isDisabled, isInvalid, label, lines, minLines = lines ?? 1, maxLines = lines ?? 1 / 0, onChange, style, value, defaultValue, ...restProps }, forwardedRef) {
|
|
10573
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
10574
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
9522
10575
|
const generatedId = useId();
|
|
9523
10576
|
const id = idProp ?? generatedId;
|
|
9524
10577
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
@@ -9558,9 +10611,10 @@ const text_area_TextArea = /*#__PURE__*/ forwardRef(function({ ariaLabel, classN
|
|
|
9558
10611
|
}, []);
|
|
9559
10612
|
return /*#__PURE__*/ jsxs("div", {
|
|
9560
10613
|
className: text_field_module.root,
|
|
10614
|
+
style: layoutStyle,
|
|
9561
10615
|
children: [
|
|
9562
10616
|
label ? /*#__PURE__*/ jsx("label", {
|
|
9563
|
-
className:
|
|
10617
|
+
className: field_module.label,
|
|
9564
10618
|
htmlFor: id,
|
|
9565
10619
|
children: label
|
|
9566
10620
|
}) : null,
|
|
@@ -9612,7 +10666,9 @@ number_field_module_options.domAPI = styleDomAPI_default();
|
|
|
9612
10666
|
number_field_module_options.insertStyleElement = insertStyleElement_default();
|
|
9613
10667
|
injectStylesIntoStyleTag_default()(number_field_module_0.A, number_field_module_options);
|
|
9614
10668
|
const number_field_module = number_field_module_0.A && number_field_module_0.A.locals ? number_field_module_0.A.locals : void 0;
|
|
9615
|
-
const number_field_NumberField = /*#__PURE__*/ forwardRef(function({ ariaLabel, defaultValue = null, description, errorMessage, id: idProp, isDisabled, isInvalid, label, max, min, onBlur, onChange, onFocus, onKeyDown, onPointerDown, step, value, ...
|
|
10669
|
+
const number_field_NumberField = /*#__PURE__*/ forwardRef(function({ ariaLabel, defaultValue = null, description, errorMessage, id: idProp, isDisabled, isInvalid, label, max, min, onBlur, onChange, onFocus, onKeyDown, onPointerDown, step, value, ...restProps }, ref) {
|
|
10670
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
10671
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
9616
10672
|
const generatedId = useId();
|
|
9617
10673
|
const id = idProp ?? generatedId;
|
|
9618
10674
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
@@ -9754,9 +10810,10 @@ const number_field_NumberField = /*#__PURE__*/ forwardRef(function({ ariaLabel,
|
|
|
9754
10810
|
]);
|
|
9755
10811
|
return /*#__PURE__*/ jsxs("div", {
|
|
9756
10812
|
className: number_field_module.root,
|
|
10813
|
+
style: layoutStyle,
|
|
9757
10814
|
children: [
|
|
9758
10815
|
label ? /*#__PURE__*/ jsx("label", {
|
|
9759
|
-
className:
|
|
10816
|
+
className: field_module.label,
|
|
9760
10817
|
htmlFor: id,
|
|
9761
10818
|
children: label
|
|
9762
10819
|
}) : null,
|
|
@@ -9840,6 +10897,64 @@ const number_field_NumberField = /*#__PURE__*/ forwardRef(function({ ariaLabel,
|
|
|
9840
10897
|
]
|
|
9841
10898
|
});
|
|
9842
10899
|
});
|
|
10900
|
+
const page_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/page.module.css");
|
|
10901
|
+
var page_module_options = {};
|
|
10902
|
+
page_module_options.styleTagTransform = styleTagTransform_default();
|
|
10903
|
+
page_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
10904
|
+
page_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
10905
|
+
page_module_options.domAPI = styleDomAPI_default();
|
|
10906
|
+
page_module_options.insertStyleElement = insertStyleElement_default();
|
|
10907
|
+
injectStylesIntoStyleTag_default()(page_module_0.A, page_module_options);
|
|
10908
|
+
const page_module = page_module_0.A && page_module_0.A.locals ? page_module_0.A.locals : void 0;
|
|
10909
|
+
const page_Page = /*#__PURE__*/ forwardRef(function({ children, maxWidth = "xl", gap = "xl", as: Tag = "main" }, ref) {
|
|
10910
|
+
const { style: sizingStyle } = useSizing({
|
|
10911
|
+
maxWidth
|
|
10912
|
+
});
|
|
10913
|
+
const { style: spacingStyle } = useSpacing({
|
|
10914
|
+
gap
|
|
10915
|
+
});
|
|
10916
|
+
return /*#__PURE__*/ jsx(Tag, {
|
|
10917
|
+
ref: ref,
|
|
10918
|
+
className: page_module.page,
|
|
10919
|
+
style: {
|
|
10920
|
+
...sizingStyle,
|
|
10921
|
+
...spacingStyle
|
|
10922
|
+
},
|
|
10923
|
+
children: children
|
|
10924
|
+
});
|
|
10925
|
+
});
|
|
10926
|
+
const page_PageHeader = /*#__PURE__*/ forwardRef(function({ title, description, actions, breadcrumbs, headingLevel = 1, id }, ref) {
|
|
10927
|
+
return /*#__PURE__*/ jsxs("header", {
|
|
10928
|
+
ref: ref,
|
|
10929
|
+
className: page_module.header,
|
|
10930
|
+
children: [
|
|
10931
|
+
breadcrumbs,
|
|
10932
|
+
/*#__PURE__*/ jsxs("div", {
|
|
10933
|
+
className: page_module.titleRow,
|
|
10934
|
+
children: [
|
|
10935
|
+
/*#__PURE__*/ jsxs("div", {
|
|
10936
|
+
className: page_module.titleBlock,
|
|
10937
|
+
children: [
|
|
10938
|
+
/*#__PURE__*/ jsx(heading_Heading, {
|
|
10939
|
+
level: headingLevel,
|
|
10940
|
+
id: id,
|
|
10941
|
+
children: title
|
|
10942
|
+
}),
|
|
10943
|
+
null != description ? /*#__PURE__*/ jsx("p", {
|
|
10944
|
+
className: page_module.description,
|
|
10945
|
+
children: description
|
|
10946
|
+
}) : null
|
|
10947
|
+
]
|
|
10948
|
+
}),
|
|
10949
|
+
null != actions ? /*#__PURE__*/ jsx("div", {
|
|
10950
|
+
className: page_module.actions,
|
|
10951
|
+
children: actions
|
|
10952
|
+
}) : null
|
|
10953
|
+
]
|
|
10954
|
+
})
|
|
10955
|
+
]
|
|
10956
|
+
});
|
|
10957
|
+
});
|
|
9843
10958
|
const search_field_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/components/search-field.module.css");
|
|
9844
10959
|
var search_field_module_options = {};
|
|
9845
10960
|
search_field_module_options.styleTagTransform = styleTagTransform_default();
|
|
@@ -9849,7 +10964,9 @@ search_field_module_options.domAPI = styleDomAPI_default();
|
|
|
9849
10964
|
search_field_module_options.insertStyleElement = insertStyleElement_default();
|
|
9850
10965
|
injectStylesIntoStyleTag_default()(search_field_module_0.A, search_field_module_options);
|
|
9851
10966
|
const search_field_module = search_field_module_0.A && search_field_module_0.A.locals ? search_field_module_0.A.locals : void 0;
|
|
9852
|
-
const search_field_SearchField = /*#__PURE__*/ forwardRef(function({ ariaLabel, description, errorMessage, id: idProp, isDisabled, isInvalid, label, onBlur, onChange, onFocus, onKeyDown, onPointerDown, value, defaultValue, ...
|
|
10967
|
+
const search_field_SearchField = /*#__PURE__*/ forwardRef(function({ ariaLabel, description, errorMessage, id: idProp, isDisabled, isInvalid, label, onBlur, onChange, onFocus, onKeyDown, onPointerDown, value, defaultValue, ...restProps }, ref) {
|
|
10968
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
10969
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
9853
10970
|
const generatedId = useId();
|
|
9854
10971
|
const id = idProp ?? generatedId;
|
|
9855
10972
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
@@ -9889,9 +11006,10 @@ const search_field_SearchField = /*#__PURE__*/ forwardRef(function({ ariaLabel,
|
|
|
9889
11006
|
]);
|
|
9890
11007
|
return /*#__PURE__*/ jsxs("search", {
|
|
9891
11008
|
className: search_field_module.root,
|
|
11009
|
+
style: layoutStyle,
|
|
9892
11010
|
children: [
|
|
9893
11011
|
label ? /*#__PURE__*/ jsx("label", {
|
|
9894
|
-
className:
|
|
11012
|
+
className: field_module.label,
|
|
9895
11013
|
htmlFor: id,
|
|
9896
11014
|
children: label
|
|
9897
11015
|
}) : null,
|
|
@@ -10004,7 +11122,9 @@ slider_module_options.domAPI = styleDomAPI_default();
|
|
|
10004
11122
|
slider_module_options.insertStyleElement = insertStyleElement_default();
|
|
10005
11123
|
injectStylesIntoStyleTag_default()(slider_module_0.A, slider_module_options);
|
|
10006
11124
|
const slider_module = slider_module_0.A && slider_module_0.A.locals ? slider_module_0.A.locals : void 0;
|
|
10007
|
-
const slider_Slider = /*#__PURE__*/ forwardRef(function({ ariaLabel, defaultValue, description, errorMessage, id: idProp, isDisabled, isInvalid, label, max = 100, min = 0, onChange, onKeyDown, step = 1, value, ...
|
|
11125
|
+
const slider_Slider = /*#__PURE__*/ forwardRef(function({ ariaLabel, defaultValue, description, errorMessage, id: idProp, isDisabled, isInvalid, label, max = 100, min = 0, onChange, onKeyDown, step = 1, value, ...restProps }, ref) {
|
|
11126
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
11127
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
10008
11128
|
const generatedId = useId();
|
|
10009
11129
|
const id = idProp ?? generatedId;
|
|
10010
11130
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
@@ -10067,9 +11187,10 @@ const slider_Slider = /*#__PURE__*/ forwardRef(function({ ariaLabel, defaultValu
|
|
|
10067
11187
|
]);
|
|
10068
11188
|
return /*#__PURE__*/ jsxs("div", {
|
|
10069
11189
|
className: slider_module.root,
|
|
11190
|
+
style: layoutStyle,
|
|
10070
11191
|
children: [
|
|
10071
11192
|
label ? /*#__PURE__*/ jsx("label", {
|
|
10072
|
-
className:
|
|
11193
|
+
className: field_module.label,
|
|
10073
11194
|
htmlFor: id,
|
|
10074
11195
|
children: label
|
|
10075
11196
|
}) : null,
|
|
@@ -10121,6 +11242,11 @@ table_module_options.domAPI = styleDomAPI_default();
|
|
|
10121
11242
|
table_module_options.insertStyleElement = insertStyleElement_default();
|
|
10122
11243
|
injectStylesIntoStyleTag_default()(table_module_0.A, table_module_options);
|
|
10123
11244
|
const table_module = table_module_0.A && table_module_0.A.locals ? table_module_0.A.locals : void 0;
|
|
11245
|
+
const alignClass = {
|
|
11246
|
+
start: void 0,
|
|
11247
|
+
center: table_module.alignCenter,
|
|
11248
|
+
end: table_module.alignEnd
|
|
11249
|
+
};
|
|
10124
11250
|
const TableContext = /*#__PURE__*/ createContext(null);
|
|
10125
11251
|
function useTableContext() {
|
|
10126
11252
|
const ctx = useContext(TableContext);
|
|
@@ -10274,13 +11400,16 @@ function TableHeader({ children }) {
|
|
|
10274
11400
|
})
|
|
10275
11401
|
});
|
|
10276
11402
|
}
|
|
10277
|
-
function TableColumn({ id, isSortable, children }) {
|
|
11403
|
+
function TableColumn({ id, isSortable, align = "start", children }) {
|
|
10278
11404
|
const { sortColumn, sortDirection, toggleSort } = useTableContext();
|
|
10279
11405
|
const isCurrentSort = Boolean(isSortable && void 0 !== id && sortColumn === id);
|
|
10280
11406
|
const ariaSort = isSortable ? isCurrentSort && null != sortDirection ? sortDirection : "none" : void 0;
|
|
10281
11407
|
return /*#__PURE__*/ jsx("th", {
|
|
10282
11408
|
scope: "col",
|
|
10283
|
-
className:
|
|
11409
|
+
className: [
|
|
11410
|
+
table_module.th,
|
|
11411
|
+
alignClass[align]
|
|
11412
|
+
].filter(Boolean).join(" "),
|
|
10284
11413
|
"aria-sort": ariaSort,
|
|
10285
11414
|
children: isSortable && void 0 !== id ? /*#__PURE__*/ jsxs("button", {
|
|
10286
11415
|
className: table_module.sortButton,
|
|
@@ -10317,10 +11446,13 @@ function TableRow({ id, children }) {
|
|
|
10317
11446
|
children: children
|
|
10318
11447
|
});
|
|
10319
11448
|
}
|
|
10320
|
-
function TableCell({ children }) {
|
|
11449
|
+
function TableCell({ align = "start", children }) {
|
|
10321
11450
|
const { isGrid } = useTableContext();
|
|
10322
11451
|
return /*#__PURE__*/ jsx("td", {
|
|
10323
|
-
className:
|
|
11452
|
+
className: [
|
|
11453
|
+
table_module.td,
|
|
11454
|
+
alignClass[align]
|
|
11455
|
+
].filter(Boolean).join(" "),
|
|
10324
11456
|
role: isGrid ? "gridcell" : void 0,
|
|
10325
11457
|
tabIndex: isGrid ? -1 : void 0,
|
|
10326
11458
|
children: children
|
|
@@ -10341,7 +11473,9 @@ function useTagGroupContext() {
|
|
|
10341
11473
|
if (!ctx) throw new Error("<Tag> must be used inside <TagGroup>");
|
|
10342
11474
|
return ctx;
|
|
10343
11475
|
}
|
|
10344
|
-
function TagGroup(
|
|
11476
|
+
function TagGroup(allProps) {
|
|
11477
|
+
const [layout, { label, description, isInvalid, isDisabled = false, errorMessage, selectionMode = "multiple", selectedKeys: selectedKeysProp, defaultSelectedKeys, onSelectionChange, onRemove, ariaLabel, children }] = splitLayoutItemProps(allProps);
|
|
11478
|
+
const { style: layoutStyle } = useLayoutItem(layout);
|
|
10345
11479
|
const uid = useId();
|
|
10346
11480
|
const labelId = label ? `${uid}-label` : void 0;
|
|
10347
11481
|
const descriptionId = description ? `${uid}-description` : void 0;
|
|
@@ -10486,9 +11620,10 @@ function TagGroup({ label, description, isInvalid, isDisabled = false, errorMess
|
|
|
10486
11620
|
value: ctx,
|
|
10487
11621
|
children: /*#__PURE__*/ jsxs("div", {
|
|
10488
11622
|
className: tag_group_module.root,
|
|
11623
|
+
style: layoutStyle,
|
|
10489
11624
|
children: [
|
|
10490
11625
|
label ? /*#__PURE__*/ jsx("span", {
|
|
10491
|
-
className:
|
|
11626
|
+
className: field_module.label,
|
|
10492
11627
|
id: labelId,
|
|
10493
11628
|
children: label
|
|
10494
11629
|
}) : null,
|
|
@@ -10582,7 +11717,9 @@ function tag_group_Tag({ id, isDisabled: isDisabledProp, children }) {
|
|
|
10582
11717
|
children: children
|
|
10583
11718
|
});
|
|
10584
11719
|
}
|
|
10585
|
-
const text_field_TextField = /*#__PURE__*/ forwardRef(function({ ariaLabel, description, errorMessage, icon: Icon, id: idProp, isClearable = false, isDisabled, isInvalid, isReadOnly, label, onBlur, onClear, onChange, onFocus, onKeyDown, onPointerDown, variant = "default", ...
|
|
11720
|
+
const text_field_TextField = /*#__PURE__*/ forwardRef(function({ ariaLabel, description, errorMessage, icon: Icon, id: idProp, isClearable = false, isDisabled, isInvalid, isReadOnly, label, onBlur, onClear, onChange, onFocus, onKeyDown, onPointerDown, variant = "default", ...restProps }, ref) {
|
|
11721
|
+
const { style: layoutStyle } = useLayoutItem(restProps);
|
|
11722
|
+
const [, props] = splitLayoutItemProps(restProps);
|
|
10586
11723
|
const generatedId = useId();
|
|
10587
11724
|
const id = idProp ?? generatedId;
|
|
10588
11725
|
const descriptionId = description ? `${id}-description` : void 0;
|
|
@@ -10613,9 +11750,10 @@ const text_field_TextField = /*#__PURE__*/ forwardRef(function({ ariaLabel, desc
|
|
|
10613
11750
|
]);
|
|
10614
11751
|
return /*#__PURE__*/ jsxs("div", {
|
|
10615
11752
|
className: text_field_module.root,
|
|
11753
|
+
style: layoutStyle,
|
|
10616
11754
|
children: [
|
|
10617
11755
|
label ? /*#__PURE__*/ jsx("label", {
|
|
10618
|
-
className:
|
|
11756
|
+
className: field_module.label,
|
|
10619
11757
|
htmlFor: id,
|
|
10620
11758
|
children: label
|
|
10621
11759
|
}) : null,
|
|
@@ -10701,12 +11839,54 @@ const text_field_TextField = /*#__PURE__*/ forwardRef(function({ ariaLabel, desc
|
|
|
10701
11839
|
]
|
|
10702
11840
|
});
|
|
10703
11841
|
});
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
11842
|
+
const responsiveKeys = [
|
|
11843
|
+
"base",
|
|
11844
|
+
"sm",
|
|
11845
|
+
"md",
|
|
11846
|
+
"lg",
|
|
11847
|
+
"xl"
|
|
11848
|
+
];
|
|
11849
|
+
function isResponsiveObject(value) {
|
|
11850
|
+
return "object" == typeof value && null !== value && !Array.isArray(value) && Object.keys(value).every((key)=>responsiveKeys.some((k)=>k === key));
|
|
11851
|
+
}
|
|
11852
|
+
function byBreakpoint(value) {
|
|
11853
|
+
if (isResponsiveObject(value)) return value;
|
|
11854
|
+
return {
|
|
11855
|
+
base: value
|
|
11856
|
+
};
|
|
11857
|
+
}
|
|
11858
|
+
function responsiveVars(name, value, resolve) {
|
|
11859
|
+
const vars = {};
|
|
11860
|
+
const byKey = void 0 === value ? void 0 : byBreakpoint(value);
|
|
11861
|
+
for (const key of responsiveKeys){
|
|
11862
|
+
const v = byKey?.[key];
|
|
11863
|
+
vars[`--${name}-${key}`] = void 0 === v ? "initial" : resolve(v);
|
|
11864
|
+
}
|
|
11865
|
+
return vars;
|
|
10708
11866
|
}
|
|
10709
|
-
const
|
|
11867
|
+
const grid_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/layout/grid.module.css");
|
|
11868
|
+
var grid_module_options = {};
|
|
11869
|
+
grid_module_options.styleTagTransform = styleTagTransform_default();
|
|
11870
|
+
grid_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
11871
|
+
grid_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
11872
|
+
grid_module_options.domAPI = styleDomAPI_default();
|
|
11873
|
+
grid_module_options.insertStyleElement = insertStyleElement_default();
|
|
11874
|
+
injectStylesIntoStyleTag_default()(grid_module_0.A, grid_module_options);
|
|
11875
|
+
const grid_module = grid_module_0.A && grid_module_0.A.locals ? grid_module_0.A.locals : void 0;
|
|
11876
|
+
function resolveTracks(value) {
|
|
11877
|
+
if ("number" == typeof value) return `repeat(${value}, minmax(0, 1fr))`;
|
|
11878
|
+
if ("string" == typeof value) return value;
|
|
11879
|
+
return value.join(" ");
|
|
11880
|
+
}
|
|
11881
|
+
function resolveAreas(value) {
|
|
11882
|
+
return value.map((row)=>`"${row.join(" ")}"`).join(" ");
|
|
11883
|
+
}
|
|
11884
|
+
function grid_resolveSize(value) {
|
|
11885
|
+
return "number" == typeof value ? `${value}px` : value;
|
|
11886
|
+
}
|
|
11887
|
+
const grid_Grid = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
11888
|
+
const [layout, { children, columns, minColumnWidth, rows, areas, alignItems, as: Tag = "div", gap = "md", padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft }] = splitLayoutItemProps(props);
|
|
11889
|
+
const { style: layoutStyle } = useLayoutItem(layout);
|
|
10710
11890
|
const { style: spacingStyle } = useSpacing({
|
|
10711
11891
|
gap,
|
|
10712
11892
|
padding,
|
|
@@ -10717,18 +11897,19 @@ const grid_Grid = /*#__PURE__*/ forwardRef(function({ children, columns = "repea
|
|
|
10717
11897
|
paddingBottom,
|
|
10718
11898
|
paddingLeft
|
|
10719
11899
|
});
|
|
10720
|
-
const
|
|
10721
|
-
|
|
10722
|
-
|
|
11900
|
+
const style = {
|
|
11901
|
+
...responsiveVars("ox0-grid-columns", columns, resolveTracks),
|
|
11902
|
+
...responsiveVars("ox0-grid-rows", rows, resolveTracks),
|
|
11903
|
+
...responsiveVars("ox0-grid-areas", areas, resolveAreas),
|
|
11904
|
+
"--ox0-grid-min-column": void 0 === minColumnWidth ? "initial" : grid_resolveSize(minColumnWidth),
|
|
11905
|
+
alignItems,
|
|
11906
|
+
...layoutStyle,
|
|
11907
|
+
...spacingStyle
|
|
11908
|
+
};
|
|
10723
11909
|
return /*#__PURE__*/ jsx(Tag, {
|
|
10724
11910
|
ref: ref,
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
gridTemplateColumns,
|
|
10728
|
-
gridTemplateRows,
|
|
10729
|
-
gridTemplateAreas,
|
|
10730
|
-
...spacingStyle
|
|
10731
|
-
},
|
|
11911
|
+
className: grid_module.grid,
|
|
11912
|
+
style: style,
|
|
10732
11913
|
children: children
|
|
10733
11914
|
});
|
|
10734
11915
|
});
|
|
@@ -10739,7 +11920,9 @@ const split_alignMap = {
|
|
|
10739
11920
|
stretch: "stretch",
|
|
10740
11921
|
baseline: "baseline"
|
|
10741
11922
|
};
|
|
10742
|
-
const split_Split = /*#__PURE__*/ forwardRef(function(
|
|
11923
|
+
const split_Split = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
11924
|
+
const [layout, { children, align = "center", as: Tag = "div", gap = "md", padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft }] = splitLayoutItemProps(props);
|
|
11925
|
+
const { style: layoutStyle } = useLayoutItem(layout);
|
|
10743
11926
|
const { style: spacingStyle } = useSpacing({
|
|
10744
11927
|
gap,
|
|
10745
11928
|
padding,
|
|
@@ -10756,6 +11939,7 @@ const split_Split = /*#__PURE__*/ forwardRef(function({ children, align = "cente
|
|
|
10756
11939
|
alignItems: split_alignMap[align],
|
|
10757
11940
|
display: "flex",
|
|
10758
11941
|
justifyContent: "space-between",
|
|
11942
|
+
...layoutStyle,
|
|
10759
11943
|
...spacingStyle
|
|
10760
11944
|
},
|
|
10761
11945
|
children: children
|
|
@@ -10767,10 +11951,9 @@ const stack_alignMap = {
|
|
|
10767
11951
|
end: "flex-end",
|
|
10768
11952
|
stretch: "stretch"
|
|
10769
11953
|
};
|
|
10770
|
-
const stack_Stack = /*#__PURE__*/ forwardRef(function(
|
|
10771
|
-
const {
|
|
10772
|
-
|
|
10773
|
-
});
|
|
11954
|
+
const stack_Stack = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
11955
|
+
const [layout, { children, align = "stretch", as: Tag = "div", gap = "md", padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, borderRadius, shadow, border, borderTop, borderRight, borderBottom, borderLeft, surface }] = splitLayoutItemProps(props);
|
|
11956
|
+
const { style: layoutStyle } = useLayoutItem(layout);
|
|
10774
11957
|
const { style: spacingStyle } = useSpacing({
|
|
10775
11958
|
gap,
|
|
10776
11959
|
padding,
|
|
@@ -10799,7 +11982,7 @@ const stack_Stack = /*#__PURE__*/ forwardRef(function({ children, align = "stret
|
|
|
10799
11982
|
alignItems: stack_alignMap[align],
|
|
10800
11983
|
display: "flex",
|
|
10801
11984
|
flexDirection: "column",
|
|
10802
|
-
...
|
|
11985
|
+
...layoutStyle,
|
|
10803
11986
|
...spacingStyle,
|
|
10804
11987
|
...bordersStyle,
|
|
10805
11988
|
...surfaceStyle
|
|
@@ -10807,6 +11990,15 @@ const stack_Stack = /*#__PURE__*/ forwardRef(function({ children, align = "stret
|
|
|
10807
11990
|
children: children
|
|
10808
11991
|
});
|
|
10809
11992
|
});
|
|
11993
|
+
const ox0_provider_module_0 = __webpack_require__("../../node_modules/.pnpm/@rsbuild+core@2.1.13_core-js@3.47.0/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[4].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[4].use[2]!./src/providers/ox0-provider.module.css");
|
|
11994
|
+
var ox0_provider_module_options = {};
|
|
11995
|
+
ox0_provider_module_options.styleTagTransform = styleTagTransform_default();
|
|
11996
|
+
ox0_provider_module_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
11997
|
+
ox0_provider_module_options.insert = insertBySelector_default().bind(null, "head");
|
|
11998
|
+
ox0_provider_module_options.domAPI = styleDomAPI_default();
|
|
11999
|
+
ox0_provider_module_options.insertStyleElement = insertStyleElement_default();
|
|
12000
|
+
injectStylesIntoStyleTag_default()(ox0_provider_module_0.A, ox0_provider_module_options);
|
|
12001
|
+
const ox0_provider_module = ox0_provider_module_0.A && ox0_provider_module_0.A.locals ? ox0_provider_module_0.A.locals : void 0;
|
|
10810
12002
|
function Ox0Provider({ children, colorScheme, density, locale, messages, navigate, neutralTheme, textStyles, tokenOverrides }) {
|
|
10811
12003
|
const themeVars = tokenOverrides ? createTheme(tokenOverrides) : void 0;
|
|
10812
12004
|
const textStyleVars = textStyles ? createTextStyles(textStyles) : void 0;
|
|
@@ -10819,21 +12011,23 @@ function Ox0Provider({ children, colorScheme, density, locale, messages, navigat
|
|
|
10819
12011
|
locale: locale,
|
|
10820
12012
|
messages: messages,
|
|
10821
12013
|
children: /*#__PURE__*/ jsx(ToastProvider, {
|
|
10822
|
-
children: /*#__PURE__*/ jsx(
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
"
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
|
|
10832
|
-
|
|
10833
|
-
|
|
12014
|
+
children: /*#__PURE__*/ jsx(ConfirmProvider, {
|
|
12015
|
+
children: /*#__PURE__*/ jsx(RouterContext.Provider, {
|
|
12016
|
+
value: routerValue,
|
|
12017
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
12018
|
+
className: ox0_provider_module.root,
|
|
12019
|
+
"data-theme": neutralTheme,
|
|
12020
|
+
"data-color-scheme": dataColorScheme,
|
|
12021
|
+
"data-density": dataDensity,
|
|
12022
|
+
style: {
|
|
12023
|
+
...themeVars,
|
|
12024
|
+
...textStyleVars
|
|
12025
|
+
},
|
|
12026
|
+
children: children
|
|
12027
|
+
})
|
|
10834
12028
|
})
|
|
10835
12029
|
})
|
|
10836
12030
|
})
|
|
10837
12031
|
});
|
|
10838
12032
|
}
|
|
10839
|
-
export { Accordion, AccordionHeader, AccordionItem, AccordionPanel, BreadcrumbItem, Breadcrumbs, Dialog, Drawer, ListBox, ListBoxFilter, ListItem, ListItemDivider, ListItemGroup, ListItemStatic, MarkProvider, Markable, Menu, MenuItem, MenuSection, MenuSeparator, MenuSubTrigger, Ox0Provider, Popover, PopoverContent, PopoverTrigger, Tab, TabList, TabPanel, Table, TableBody, TableCell, TableColumn, TableHeader, TableRow, Tabs, TagGroup, ToastProvider, Tooltip, TooltipContent, TooltipTrigger, badge_Badge as Badge, banner_Banner as Banner, box_Box as Box, button_Button as Button, button_group_ButtonGroup as ButtonGroup, caption_Caption as Caption, card_Card as Card, checkbox_Checkbox as Checkbox, checkbox_group_CheckboxGroup as CheckboxGroup, checkbox_group_GroupCheckbox as GroupCheckbox, code_Code as Code, code_block_CodeBlock as CodeBlock, combobox_Combobox as Combobox, createTextStyles, defaultUiMessages, disclosure_triangle_DisclosureTriangle as DisclosureTriangle, divider_Divider as Divider, field_group_FieldGroup as FieldGroup, grid_Grid as Grid, heading_Heading as Heading, icon_button_IconButton as IconButton, icon_label_IconLabel as IconLabel, icon_toggle_IconToggle as IconToggle, inline_Inline as Inline, keyboard_Keyboard as Keyboard, label_Label as Label, link_Link as Link, number_field_NumberField as NumberField, numeric_Numeric as Numeric, radio_group_Radio as Radio, radio_group_RadioGroup as RadioGroup, search_field_SearchField as SearchField, select_Select as Select, skeleton_Skeleton as Skeleton, slider_Slider as Slider, spinner_Spinner as Spinner, split_Split as Split, stack_Stack as Stack, surface_Surface as Surface, switch_Switch as Switch, tag_group_Tag as Tag, text_Text as Text, text_area_TextArea as TextArea, text_field_TextField as TextField, useBorders, useFlexItem, useGridItem, useListItemState, useMark, usePlacement, useSizing, useSpacing, useSurface, useToast };
|
|
12033
|
+
export { Accordion, AccordionHeader, AccordionItem, AccordionPanel, AppShell, BreadcrumbItem, Breadcrumbs, ConfirmDialog, ConfirmPopover, ConfirmProvider, Dialog, Drawer, ListBox, ListBoxFilter, ListItem, ListItemDivider, ListItemGroup, ListItemStatic, MarkProvider, Markable, Menu, MenuItem, MenuSection, MenuSeparator, MenuSubTrigger, Nav, NavItem, Ox0Provider, Popover, PopoverContent, PopoverTrigger, Tab, TabList, TabPanel, Table, TableBody, TableCell, TableColumn, TableHeader, TableRow, Tabs, TagGroup, ToastProvider, Tooltip, TooltipContent, TooltipTrigger, badge_Badge as Badge, banner_Banner as Banner, box_Box as Box, button_Button as Button, button_group_ButtonGroup as ButtonGroup, caption_Caption as Caption, card_Card as Card, checkbox_Checkbox as Checkbox, checkbox_group_CheckboxGroup as CheckboxGroup, checkbox_group_GroupCheckbox as GroupCheckbox, code_Code as Code, code_block_CodeBlock as CodeBlock, combobox_Combobox as Combobox, createTextStyles, defaultUiMessages, disclosure_triangle_DisclosureTriangle as DisclosureTriangle, divider_Divider as Divider, drop_zone_DropZone as DropZone, field_group_FieldGroup as FieldGroup, file_trigger_FileTrigger as FileTrigger, grid_Grid as Grid, heading_Heading as Heading, icon_button_IconButton as IconButton, icon_label_IconLabel as IconLabel, icon_toggle_IconToggle as IconToggle, inline_Inline as Inline, keyboard_Keyboard as Keyboard, label_Label as Label, link_Link as Link, matchesAccept, number_field_NumberField as NumberField, numeric_Numeric as Numeric, page_Page as Page, page_PageHeader as PageHeader, radio_group_Radio as Radio, radio_group_RadioGroup as RadioGroup, search_field_SearchField as SearchField, select_Select as Select, skeleton_Skeleton as Skeleton, slider_Slider as Slider, spinner_Spinner as Spinner, splitLayoutItemProps, split_Split as Split, stack_Stack as Stack, surface_Surface as Surface, switch_Switch as Switch, tag_group_Tag as Tag, text_Text as Text, text_area_TextArea as TextArea, text_field_TextField as TextField, useBorders, useConfirm, useFlexItem, useGridItem, useLayoutItem, useListItemState, useMark, usePlacement, useSizing, useSpacing, useSurface, useToast };
|