@marigold/components 16.0.1 → 16.1.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/{index.js → index.cjs} +236 -234
- package/dist/{index.d.ts → index.d.cts} +112 -116
- package/dist/index.d.mts +112 -116
- package/dist/index.mjs +237 -215
- package/package.json +5 -5
|
@@ -5,16 +5,18 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var
|
|
9
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
-
};
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
9
|
var __copyProps = (to, from$1, except, desc) => {
|
|
12
|
-
if (from$1 && typeof from$1 === "object" || typeof from$1 === "function")
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
if (from$1 && typeof from$1 === "object" || typeof from$1 === "function") {
|
|
11
|
+
for (var keys = __getOwnPropNames(from$1), i$1 = 0, n$1 = keys.length, key; i$1 < n$1; i$1++) {
|
|
12
|
+
key = keys[i$1];
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: ((k$1) => from$1[k$1]).bind(null, key),
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from$1, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
18
20
|
}
|
|
19
21
|
return to;
|
|
20
22
|
};
|
|
@@ -25,47 +27,27 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
27
|
|
|
26
28
|
//#endregion
|
|
27
29
|
let __marigold_system = require("@marigold/system");
|
|
28
|
-
__marigold_system = __toESM(__marigold_system);
|
|
29
30
|
let react_aria_components = require("react-aria-components");
|
|
30
|
-
react_aria_components = __toESM(react_aria_components);
|
|
31
31
|
let react = require("react");
|
|
32
32
|
react = __toESM(react);
|
|
33
33
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
-
react_jsx_runtime = __toESM(react_jsx_runtime);
|
|
35
34
|
let __react_aria_i18n = require("@react-aria/i18n");
|
|
36
|
-
__react_aria_i18n = __toESM(__react_aria_i18n);
|
|
37
35
|
let __internationalized_date = require("@internationalized/date");
|
|
38
|
-
__internationalized_date = __toESM(__internationalized_date);
|
|
39
36
|
let __react_aria_calendar = require("@react-aria/calendar");
|
|
40
|
-
__react_aria_calendar = __toESM(__react_aria_calendar);
|
|
41
37
|
let __react_aria_utils = require("@react-aria/utils");
|
|
42
|
-
__react_aria_utils = __toESM(__react_aria_utils);
|
|
43
38
|
let __react_aria_interactions = require("@react-aria/interactions");
|
|
44
|
-
__react_aria_interactions = __toESM(__react_aria_interactions);
|
|
45
39
|
let __react_aria_landmark = require("@react-aria/landmark");
|
|
46
|
-
__react_aria_landmark = __toESM(__react_aria_landmark);
|
|
47
40
|
let react_stately = require("react-stately");
|
|
48
|
-
react_stately = __toESM(react_stately);
|
|
49
41
|
let __react_aria_focus = require("@react-aria/focus");
|
|
50
|
-
__react_aria_focus = __toESM(__react_aria_focus);
|
|
51
42
|
let __react_aria_overlays = require("@react-aria/overlays");
|
|
52
|
-
__react_aria_overlays = __toESM(__react_aria_overlays);
|
|
53
43
|
let __react_aria_ssr = require("@react-aria/ssr");
|
|
54
|
-
__react_aria_ssr = __toESM(__react_aria_ssr);
|
|
55
44
|
let react_dom = require("react-dom");
|
|
56
|
-
react_dom = __toESM(react_dom);
|
|
57
45
|
let __react_aria_label = require("@react-aria/label");
|
|
58
|
-
__react_aria_label = __toESM(__react_aria_label);
|
|
59
46
|
let __react_aria_button = require("@react-aria/button");
|
|
60
|
-
__react_aria_button = __toESM(__react_aria_button);
|
|
61
47
|
let __react_aria_table = require("@react-aria/table");
|
|
62
|
-
__react_aria_table = __toESM(__react_aria_table);
|
|
63
48
|
let __react_stately_table = require("@react-stately/table");
|
|
64
|
-
__react_stately_table = __toESM(__react_stately_table);
|
|
65
49
|
let __react_stately_data = require("@react-stately/data");
|
|
66
|
-
__react_stately_data = __toESM(__react_stately_data);
|
|
67
50
|
let __react_aria_visually_hidden = require("@react-aria/visually-hidden");
|
|
68
|
-
__react_aria_visually_hidden = __toESM(__react_aria_visually_hidden);
|
|
69
51
|
|
|
70
52
|
//#region src/Accordion/AccordionContext.tsx
|
|
71
53
|
const Context = (0, react.createContext)(null);
|
|
@@ -78,7 +60,7 @@ const useAccordionContext = () => {
|
|
|
78
60
|
|
|
79
61
|
//#endregion
|
|
80
62
|
//#region src/icons/ChevronDown.tsx
|
|
81
|
-
const ChevronDown = ({ size: size$1 = 24, className
|
|
63
|
+
const ChevronDown = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
82
64
|
xmlns: "http://www.w3.org/2000/svg",
|
|
83
65
|
width: size$1,
|
|
84
66
|
height: size$1,
|
|
@@ -128,7 +110,7 @@ const AccordionHeader = ({ children }) => {
|
|
|
128
110
|
|
|
129
111
|
//#endregion
|
|
130
112
|
//#region src/Accordion/AccordionItem.tsx
|
|
131
|
-
const AccordionItem = ({ children, disabled, expanded
|
|
113
|
+
const AccordionItem = ({ children, disabled, expanded, ...props }) => {
|
|
132
114
|
const { classNames: classNames$2 } = useAccordionContext();
|
|
133
115
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.Disclosure, {
|
|
134
116
|
isDisabled: disabled,
|
|
@@ -154,7 +136,7 @@ const AccordionPanel = ({ children }) => {
|
|
|
154
136
|
|
|
155
137
|
//#endregion
|
|
156
138
|
//#region src/Accordion/Accordion.tsx
|
|
157
|
-
const Accordion = ({ children, disabled, variant, size: size$1, stickyHeader = false, iconPosition = "right"
|
|
139
|
+
const Accordion = ({ children, disabled, variant, size: size$1, stickyHeader = false, iconPosition = "right", ...props }) => {
|
|
158
140
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
159
141
|
component: "Accordion",
|
|
160
142
|
variant,
|
|
@@ -194,7 +176,8 @@ const Aside = ({ children, sideWidth, space = 0, side = "left", wrap = "50%" })
|
|
|
194
176
|
content: (0, __marigold_system.createVar)({ wrap })
|
|
195
177
|
};
|
|
196
178
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
197
|
-
className: (0, __marigold_system.cn)("flex flex-wrap",
|
|
179
|
+
className: (0, __marigold_system.cn)("flex flex-wrap", "gap-(--space)"),
|
|
180
|
+
style: (0, __marigold_system.createSpacingVar)("space", `${space}`),
|
|
198
181
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
199
182
|
className: classNames$1[side === "left" ? "aside" : "content"],
|
|
200
183
|
style: vars[side === "left" ? "aside" : "content"],
|
|
@@ -219,7 +202,7 @@ const Aspect = ({ ratio = "square", maxWidth, children }) => {
|
|
|
219
202
|
|
|
220
203
|
//#endregion
|
|
221
204
|
//#region src/Center/Center.tsx
|
|
222
|
-
const Center = ({ maxWidth = "100%", space = 0, children
|
|
205
|
+
const Center = ({ maxWidth = "100%", space = 0, children, ...props }) => {
|
|
223
206
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
224
207
|
...props,
|
|
225
208
|
className: (0, __marigold_system.cn)("ms-[auto] me-[auto] box-content flex flex-col items-center justify-center", __marigold_system.gapSpace[space], "max-w-(--maxWidth)"),
|
|
@@ -230,7 +213,7 @@ const Center = ({ maxWidth = "100%", space = 0, children,...props }) => {
|
|
|
230
213
|
|
|
231
214
|
//#endregion
|
|
232
215
|
//#region src/icons/TriangleAlert.tsx
|
|
233
|
-
const TriangleAlert = ({ size: size$1 = 24, className
|
|
216
|
+
const TriangleAlert = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
234
217
|
xmlns: "http://www.w3.org/2000/svg",
|
|
235
218
|
width: size$1,
|
|
236
219
|
height: size$1,
|
|
@@ -251,7 +234,7 @@ const TriangleAlert = ({ size: size$1 = 24, className,...props }) => /* @__PURE_
|
|
|
251
234
|
|
|
252
235
|
//#endregion
|
|
253
236
|
//#region src/HelpText/HelpText.tsx
|
|
254
|
-
const HelpText = ({ variant, size: size$1, description, errorMessage
|
|
237
|
+
const HelpText = ({ variant, size: size$1, description, errorMessage, ...props }) => {
|
|
255
238
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
256
239
|
component: "HelpText",
|
|
257
240
|
variant,
|
|
@@ -290,7 +273,7 @@ const HelpText = ({ variant, size: size$1, description, errorMessage,...props })
|
|
|
290
273
|
|
|
291
274
|
//#endregion
|
|
292
275
|
//#region src/Label/Label.tsx
|
|
293
|
-
const _Label = ({ size: size$1, variant, children
|
|
276
|
+
const _Label = ({ size: size$1, variant, children, ...props }) => {
|
|
294
277
|
const className = (0, __marigold_system.useClassNames)({
|
|
295
278
|
component: "Label",
|
|
296
279
|
size: size$1,
|
|
@@ -307,7 +290,7 @@ const _Label = ({ size: size$1, variant, children,...props }) => {
|
|
|
307
290
|
//#region src/FieldBase/FieldBase.tsx
|
|
308
291
|
const fixedForwardRef = react.forwardRef;
|
|
309
292
|
const _FieldBase = (props, ref) => {
|
|
310
|
-
const { as: Component$1 = "div", children, label, size: size$1, variant, width = "full", description, errorMessage, className
|
|
293
|
+
const { as: Component$1 = "div", children, label, size: size$1, variant, width = "full", description, errorMessage, className, ...rest } = props;
|
|
311
294
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
312
295
|
component: "Field",
|
|
313
296
|
variant,
|
|
@@ -373,7 +356,7 @@ const ProgressCircleSvg = ({ size: size$1 = "16", variant }) => {
|
|
|
373
356
|
})]
|
|
374
357
|
});
|
|
375
358
|
};
|
|
376
|
-
const ProgressCircle = ({ size: size$1 = "16"
|
|
359
|
+
const ProgressCircle = ({ size: size$1 = "16", ...props }) => {
|
|
377
360
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.ProgressBar, {
|
|
378
361
|
...props,
|
|
379
362
|
"aria-label": "loading",
|
|
@@ -384,7 +367,7 @@ const ProgressCircle = ({ size: size$1 = "16",...props }) => {
|
|
|
384
367
|
|
|
385
368
|
//#endregion
|
|
386
369
|
//#region src/icons/Search.tsx
|
|
387
|
-
const Search = ({ size: size$1 = 24, className
|
|
370
|
+
const Search = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
388
371
|
xmlns: "http://www.w3.org/2000/svg",
|
|
389
372
|
width: size$1,
|
|
390
373
|
height: size$1,
|
|
@@ -405,7 +388,7 @@ const Search = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ (0
|
|
|
405
388
|
|
|
406
389
|
//#endregion
|
|
407
390
|
//#region src/icons/X.tsx
|
|
408
|
-
const X = ({ size: size$1 = 24, className
|
|
391
|
+
const X = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
409
392
|
xmlns: "http://www.w3.org/2000/svg",
|
|
410
393
|
width: size$1,
|
|
411
394
|
height: size$1,
|
|
@@ -422,7 +405,7 @@ const X = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ (0, rea
|
|
|
422
405
|
|
|
423
406
|
//#endregion
|
|
424
407
|
//#region src/Input/Input.tsx
|
|
425
|
-
const _Input = (0, react.forwardRef)(({ type, icon, action, variant, size: size$1, className
|
|
408
|
+
const _Input = (0, react.forwardRef)(({ type, icon, action, variant, size: size$1, className, ...props }, ref) => {
|
|
426
409
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
427
410
|
component: "Input",
|
|
428
411
|
variant,
|
|
@@ -460,7 +443,7 @@ const intlMessages$1 = {
|
|
|
460
443
|
"en-US": { "Clear search": "Clear search" },
|
|
461
444
|
"fr-FR": { "Clear search": "Effacer la recherche" }
|
|
462
445
|
};
|
|
463
|
-
const SearchInput = (0, react.forwardRef)(({ className, loading, onClear
|
|
446
|
+
const SearchInput = (0, react.forwardRef)(({ className, loading, onClear, ...props }, ref) => {
|
|
464
447
|
const stringFormatter = (0, __react_aria_i18n.useLocalizedStringFormatter)(intlMessages$1);
|
|
465
448
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_Input, {
|
|
466
449
|
type: "search",
|
|
@@ -486,7 +469,7 @@ const useListBoxContext = () => (0, react.useContext)(ListBoxContext);
|
|
|
486
469
|
|
|
487
470
|
//#endregion
|
|
488
471
|
//#region src/icons/Check.tsx
|
|
489
|
-
const Check = ({ size: size$1 = 24, className
|
|
472
|
+
const Check = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
490
473
|
xmlns: "http://www.w3.org/2000/svg",
|
|
491
474
|
width: size$1,
|
|
492
475
|
height: size$1,
|
|
@@ -522,7 +505,7 @@ const _ListBoxItem = ({ ...props }) => {
|
|
|
522
505
|
|
|
523
506
|
//#endregion
|
|
524
507
|
//#region src/ListBox/ListBoxSection.tsx
|
|
525
|
-
const _Section = ({ header, children
|
|
508
|
+
const _Section = ({ header, children, ...props }) => {
|
|
526
509
|
const { classNames: classNames$2 } = useListBoxContext();
|
|
527
510
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_aria_components.ListBoxSection, {
|
|
528
511
|
...props,
|
|
@@ -533,7 +516,7 @@ const _Section = ({ header, children,...props }) => {
|
|
|
533
516
|
|
|
534
517
|
//#endregion
|
|
535
518
|
//#region src/ListBox/ListBox.tsx
|
|
536
|
-
const _ListBox = (0, react.forwardRef)(({ variant, size: size$1
|
|
519
|
+
const _ListBox = (0, react.forwardRef)(({ variant, size: size$1, ...props }, ref) => {
|
|
537
520
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
538
521
|
component: "ListBox",
|
|
539
522
|
variant,
|
|
@@ -559,7 +542,7 @@ _ListBox.Section = _Section;
|
|
|
559
542
|
|
|
560
543
|
//#endregion
|
|
561
544
|
//#region src/Overlay/Underlay.tsx
|
|
562
|
-
const Underlay = ({ size: size$1, variant, open, dismissable, keyboardDismissable
|
|
545
|
+
const Underlay = ({ size: size$1, variant, open, dismissable, keyboardDismissable, ...rest }) => {
|
|
563
546
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
564
547
|
component: "Underlay",
|
|
565
548
|
size: size$1,
|
|
@@ -581,7 +564,7 @@ const Underlay = ({ size: size$1, variant, open, dismissable, keyboardDismissabl
|
|
|
581
564
|
|
|
582
565
|
//#endregion
|
|
583
566
|
//#region src/Overlay/Popover.tsx
|
|
584
|
-
const _Popover = (0, react.forwardRef)(({ keyboardDismissDisabled, placement, open, children
|
|
567
|
+
const _Popover = (0, react.forwardRef)(({ keyboardDismissDisabled, placement, open, children, ...rest }, ref) => {
|
|
585
568
|
const props = {
|
|
586
569
|
isKeyboardDismissDisabled: keyboardDismissDisabled,
|
|
587
570
|
isOpen: open,
|
|
@@ -665,7 +648,7 @@ const AutocompleteInput = ({ loading, onSubmit, onClear, ref }) => {
|
|
|
665
648
|
}
|
|
666
649
|
});
|
|
667
650
|
};
|
|
668
|
-
const _Autocomplete = (0, react.forwardRef)(({ children, defaultValue, value, disabled, error, readOnly, required, emptyState, loading, onChange, onClear, onSubmit
|
|
651
|
+
const _Autocomplete = (0, react.forwardRef)(({ children, defaultValue, value, disabled, error, readOnly, required, emptyState, loading, onChange, onClear, onSubmit, ...rest }, ref) => {
|
|
669
652
|
const props = {
|
|
670
653
|
onSelectionChange: (key) => key !== null && onSubmit?.(key, null),
|
|
671
654
|
defaultInputValue: defaultValue,
|
|
@@ -699,7 +682,7 @@ _Autocomplete.Section = _ListBox.Section;
|
|
|
699
682
|
|
|
700
683
|
//#endregion
|
|
701
684
|
//#region src/Badge/Badge.tsx
|
|
702
|
-
const Badge = ({ variant, size: size$1, children
|
|
685
|
+
const Badge = ({ variant, size: size$1, children, ...props }) => {
|
|
703
686
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
704
687
|
className: (0, __marigold_system.useClassNames)({
|
|
705
688
|
component: "Badge",
|
|
@@ -713,7 +696,7 @@ const Badge = ({ variant, size: size$1, children,...props }) => {
|
|
|
713
696
|
|
|
714
697
|
//#endregion
|
|
715
698
|
//#region src/icons/ChevronRight.tsx
|
|
716
|
-
const ChevronRight = ({ size: size$1 = 24, className
|
|
699
|
+
const ChevronRight = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
717
700
|
xmlns: "http://www.w3.org/2000/svg",
|
|
718
701
|
width: size$1,
|
|
719
702
|
height: size$1,
|
|
@@ -730,7 +713,7 @@ const ChevronRight = ({ size: size$1 = 24, className,...props }) => /* @__PURE__
|
|
|
730
713
|
|
|
731
714
|
//#endregion
|
|
732
715
|
//#region src/IconButton/IconButton.tsx
|
|
733
|
-
const IconButton = ({ className, children, variant, size: size$1
|
|
716
|
+
const IconButton = ({ className, children, variant, size: size$1, ...props }) => {
|
|
734
717
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.Button, {
|
|
735
718
|
className: (0, __marigold_system.cn)("shrink-0 cursor-pointer outline-0", (0, __marigold_system.useClassNames)({
|
|
736
719
|
component: "IconButton",
|
|
@@ -771,7 +754,7 @@ const BreadcrumbsItem = (_) => null;
|
|
|
771
754
|
|
|
772
755
|
//#endregion
|
|
773
756
|
//#region src/Breadcrumbs/Breadcrumbs.tsx
|
|
774
|
-
const _Breadcrumbs = (0, react.forwardRef)(({ children, variant, size: size$1, disabled, maxVisibleItems
|
|
757
|
+
const _Breadcrumbs = (0, react.forwardRef)(({ children, variant, size: size$1, disabled, maxVisibleItems, ...props }, ref) => {
|
|
775
758
|
const { container, item: breadcrumbsItem, link, current } = (0, __marigold_system.useClassNames)({
|
|
776
759
|
component: "Breadcrumbs",
|
|
777
760
|
variant,
|
|
@@ -797,7 +780,7 @@ const _Breadcrumbs = (0, react.forwardRef)(({ children, variant, size: size$1, d
|
|
|
797
780
|
children: displayedItems.map((item, index$1) => {
|
|
798
781
|
if (!(0, react.isValidElement)(item)) return null;
|
|
799
782
|
const isLast = index$1 === displayedItems.length - 1;
|
|
800
|
-
const { href, children: itemChildren
|
|
783
|
+
const { href, children: itemChildren, ...ariaProps } = item.props;
|
|
801
784
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_aria_components.Breadcrumb, {
|
|
802
785
|
...ariaProps,
|
|
803
786
|
className: breadcrumbsItem,
|
|
@@ -827,7 +810,7 @@ const Breakout = ({ children }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("d
|
|
|
827
810
|
|
|
828
811
|
//#endregion
|
|
829
812
|
//#region src/Button/Button.tsx
|
|
830
|
-
const _Button = (0, react.forwardRef)(({ children, variant, size: size$1, disabled, loading, fullWidth
|
|
813
|
+
const _Button = (0, react.forwardRef)(({ children, variant, size: size$1, disabled, loading, fullWidth, ...props }, ref) => {
|
|
831
814
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
832
815
|
component: "Button",
|
|
833
816
|
variant,
|
|
@@ -895,7 +878,7 @@ const _CalendarGrid = () => {
|
|
|
895
878
|
|
|
896
879
|
//#endregion
|
|
897
880
|
//#region src/icons/ChevronsVertical.tsx
|
|
898
|
-
const ChevronsVertical = ({ size: size$1 = 24, className
|
|
881
|
+
const ChevronsVertical = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
899
882
|
xmlns: "http://www.w3.org/2000/svg",
|
|
900
883
|
width: size$1,
|
|
901
884
|
height: size$1,
|
|
@@ -953,7 +936,7 @@ const CalendarListBox = ({ type, isDisabled, setSelectedDropdown }) => {
|
|
|
953
936
|
|
|
954
937
|
//#endregion
|
|
955
938
|
//#region src/icons/ChevronLeft.tsx
|
|
956
|
-
const ChevronLeft = ({ size: size$1 = 24, className
|
|
939
|
+
const ChevronLeft = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
957
940
|
xmlns: "http://www.w3.org/2000/svg",
|
|
958
941
|
width: size$1,
|
|
959
942
|
height: size$1,
|
|
@@ -1078,7 +1061,7 @@ function hasOnlyOneSelectableYear(minValue, maxValue) {
|
|
|
1078
1061
|
|
|
1079
1062
|
//#endregion
|
|
1080
1063
|
//#region src/Calendar/Calendar.tsx
|
|
1081
|
-
const _Calendar = ({ disabled, readOnly, size: size$1, variant, width = "fit", dateUnavailable, minValue: _minValue, maxValue: _maxValue
|
|
1064
|
+
const _Calendar = ({ disabled, readOnly, size: size$1, variant, width = "fit", dateUnavailable, minValue: _minValue, maxValue: _maxValue, ...rest }) => {
|
|
1082
1065
|
const minValue = _minValue;
|
|
1083
1066
|
const maxValue = _maxValue;
|
|
1084
1067
|
const props = {
|
|
@@ -1139,7 +1122,7 @@ const _Calendar = ({ disabled, readOnly, size: size$1, variant, width = "fit", d
|
|
|
1139
1122
|
|
|
1140
1123
|
//#endregion
|
|
1141
1124
|
//#region src/Card/Card.tsx
|
|
1142
|
-
const Card = ({ children, variant, size: size$1, space = 0, p: p$1, px, py, pt, pb, pl, pr
|
|
1125
|
+
const Card = ({ children, variant, size: size$1, space = 0, p: p$1, px, py, pt, pb, pl, pr, ...props }) => {
|
|
1143
1126
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
1144
1127
|
component: "Card",
|
|
1145
1128
|
variant,
|
|
@@ -1162,7 +1145,7 @@ const CollapsibleProvider = ({ value, children }) => /* @__PURE__ */ (0, react_j
|
|
|
1162
1145
|
|
|
1163
1146
|
//#endregion
|
|
1164
1147
|
//#region src/Collapsible/CollapsibleContent.tsx
|
|
1165
|
-
const CollapsibleContent = ({ variant, size: size$1, children
|
|
1148
|
+
const CollapsibleContent = ({ variant, size: size$1, children, ...props }) => {
|
|
1166
1149
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
1167
1150
|
component: "Collapsible",
|
|
1168
1151
|
variant,
|
|
@@ -1178,7 +1161,7 @@ const CollapsibleContent = ({ variant, size: size$1, children,...props }) => {
|
|
|
1178
1161
|
|
|
1179
1162
|
//#endregion
|
|
1180
1163
|
//#region src/Collapsible/CollapsibleTrigger.tsx
|
|
1181
|
-
const CollapsibleTrigger = ({ variant, size: size$1, children, level
|
|
1164
|
+
const CollapsibleTrigger = ({ variant, size: size$1, children, level, ...props }) => {
|
|
1182
1165
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
1183
1166
|
component: "Collapsible",
|
|
1184
1167
|
variant,
|
|
@@ -1198,7 +1181,7 @@ const CollapsibleTrigger = ({ variant, size: size$1, children, level,...props })
|
|
|
1198
1181
|
|
|
1199
1182
|
//#endregion
|
|
1200
1183
|
//#region src/Collapsible/Collapsible.tsx
|
|
1201
|
-
const Collapsible = ({ variant, size: size$1, children, unstyled
|
|
1184
|
+
const Collapsible = ({ variant, size: size$1, children, unstyled, ...props }) => {
|
|
1202
1185
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
1203
1186
|
component: "Collapsible",
|
|
1204
1187
|
variant,
|
|
@@ -1221,7 +1204,7 @@ Collapsible.Content = CollapsibleContent;
|
|
|
1221
1204
|
|
|
1222
1205
|
//#endregion
|
|
1223
1206
|
//#region src/Collapsible/More.tsx
|
|
1224
|
-
const More = ({ children, defaultExpanded = false, unstyled = true, showCount = false
|
|
1207
|
+
const More = ({ children, defaultExpanded = false, unstyled = true, showCount = false, ...props }) => {
|
|
1225
1208
|
/**
|
|
1226
1209
|
* We need to add state here, because toggling on a checkbox will
|
|
1227
1210
|
* force a rerender and without the state the <Collapsible> will be collapsed.
|
|
@@ -1265,7 +1248,7 @@ const CollapsibleGroup$1 = ({ children }) => {
|
|
|
1265
1248
|
children
|
|
1266
1249
|
});
|
|
1267
1250
|
};
|
|
1268
|
-
const _CheckboxGroup = ({ children, variant, size: size$1, required, disabled, readOnly, error, width, orientation = "vertical", collapseAt
|
|
1251
|
+
const _CheckboxGroup = ({ children, variant, size: size$1, required, disabled, readOnly, error, width, orientation = "vertical", collapseAt, ...rest }) => {
|
|
1269
1252
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
1270
1253
|
component: "Checkbox",
|
|
1271
1254
|
variant,
|
|
@@ -1303,7 +1286,7 @@ const _CheckboxGroup = ({ children, variant, size: size$1, required, disabled, r
|
|
|
1303
1286
|
|
|
1304
1287
|
//#endregion
|
|
1305
1288
|
//#region src/icons/Minus.tsx
|
|
1306
|
-
const Minus = ({ size: size$1 = 24, className
|
|
1289
|
+
const Minus = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
1307
1290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1308
1291
|
width: size$1,
|
|
1309
1292
|
height: size$1,
|
|
@@ -1332,7 +1315,7 @@ const Field = ({ description, children }) => {
|
|
|
1332
1315
|
})
|
|
1333
1316
|
});
|
|
1334
1317
|
};
|
|
1335
|
-
const Icon$1 = ({ className, checked, indeterminate
|
|
1318
|
+
const Icon$1 = ({ className, checked, indeterminate, ...props }) => {
|
|
1336
1319
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1337
1320
|
"aria-hidden": "true",
|
|
1338
1321
|
className: (0, __marigold_system.cn)("flex shrink-0 grow-0 basis-4 items-center justify-center", "h-4 w-4 p-px", "bg-white", "rounded-[3px] border border-solid border-black", className),
|
|
@@ -1346,7 +1329,7 @@ const Icon$1 = ({ className, checked, indeterminate,...props }) => {
|
|
|
1346
1329
|
}) : null
|
|
1347
1330
|
});
|
|
1348
1331
|
};
|
|
1349
|
-
const _Checkbox = (0, react.forwardRef)(({ error, disabled, readOnly, required, checked, defaultChecked, indeterminate, variant, size: size$1, label, description
|
|
1332
|
+
const _Checkbox = (0, react.forwardRef)(({ error, disabled, readOnly, required, checked, defaultChecked, indeterminate, variant, size: size$1, label, description, ...rest }, ref) => {
|
|
1350
1333
|
const props = {
|
|
1351
1334
|
isIndeterminate: indeterminate,
|
|
1352
1335
|
isDisabled: disabled,
|
|
@@ -1384,7 +1367,7 @@ _Checkbox.Group = _CheckboxGroup;
|
|
|
1384
1367
|
|
|
1385
1368
|
//#endregion
|
|
1386
1369
|
//#region src/CloseButton/CloseButton.tsx
|
|
1387
|
-
const CloseButton = (0, react.forwardRef)(({ className, size: size$1, variant
|
|
1370
|
+
const CloseButton = (0, react.forwardRef)(({ className, size: size$1, variant, ...props }, ref) => {
|
|
1388
1371
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.Button, {
|
|
1389
1372
|
ref,
|
|
1390
1373
|
className: (0, __marigold_system.useClassNames)({
|
|
@@ -1400,7 +1383,7 @@ const CloseButton = (0, react.forwardRef)(({ className, size: size$1, variant,..
|
|
|
1400
1383
|
|
|
1401
1384
|
//#endregion
|
|
1402
1385
|
//#region src/Columns/Columns.tsx
|
|
1403
|
-
const Columns = ({ space = 0, columns, collapseAt = "0em", stretch, children
|
|
1386
|
+
const Columns = ({ space = 0, columns, collapseAt = "0em", stretch, children, ...props }) => {
|
|
1404
1387
|
if (react.Children.count(children) !== columns.length) throw new Error(`Columns: expected ${columns.length} children, got ${react.Children.count(children)}`);
|
|
1405
1388
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1406
1389
|
className: (0, __marigold_system.cn)("flex flex-wrap items-stretch", stretch && "h-full", __marigold_system.gapSpace[space]),
|
|
@@ -1418,7 +1401,7 @@ const Columns = ({ space = 0, columns, collapseAt = "0em", stretch, children,...
|
|
|
1418
1401
|
|
|
1419
1402
|
//#endregion
|
|
1420
1403
|
//#region src/ComboBox/ComboBox.tsx
|
|
1421
|
-
const _ComboBox = (0, react.forwardRef)(({ variant, size: size$1, required, disabled, readOnly, error, defaultValue, value, emptyState, onChange, children, loading
|
|
1404
|
+
const _ComboBox = (0, react.forwardRef)(({ variant, size: size$1, required, disabled, readOnly, error, defaultValue, value, emptyState, onChange, children, loading, ...rest }, ref) => {
|
|
1422
1405
|
const props = {
|
|
1423
1406
|
isDisabled: disabled,
|
|
1424
1407
|
isReadOnly: readOnly,
|
|
@@ -1473,7 +1456,7 @@ const gridColumn = {
|
|
|
1473
1456
|
center: "*:col-[2]",
|
|
1474
1457
|
right: "*:col-[3]"
|
|
1475
1458
|
};
|
|
1476
|
-
const Container = ({ contentLength = "default", align = "left", alignItems = "none", space = 0, children
|
|
1459
|
+
const Container = ({ contentLength = "default", align = "left", alignItems = "none", space = 0, children, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
1477
1460
|
...props,
|
|
1478
1461
|
className: (0, __marigold_system.cn)("grid", __marigold_system.placeItems[alignItems], gridColsAlign[align], gridColumn[align], __marigold_system.gapSpace[space]),
|
|
1479
1462
|
style: (0, __marigold_system.createVar)({
|
|
@@ -1485,7 +1468,7 @@ const Container = ({ contentLength = "default", align = "left", alignItems = "no
|
|
|
1485
1468
|
|
|
1486
1469
|
//#endregion
|
|
1487
1470
|
//#region src/icons/CircleQuestionMark.tsx
|
|
1488
|
-
const CircleQuestionMark = ({ size: size$1 = 24, className
|
|
1471
|
+
const CircleQuestionMark = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
1489
1472
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1490
1473
|
width: size$1,
|
|
1491
1474
|
height: size$1,
|
|
@@ -1510,7 +1493,7 @@ const CircleQuestionMark = ({ size: size$1 = 24, className,...props }) => /* @__
|
|
|
1510
1493
|
|
|
1511
1494
|
//#endregion
|
|
1512
1495
|
//#region src/icons/Info.tsx
|
|
1513
|
-
const Info = ({ size: size$1 = 24, className
|
|
1496
|
+
const Info = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
1514
1497
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1515
1498
|
width: size$1,
|
|
1516
1499
|
height: size$1,
|
|
@@ -1565,7 +1548,7 @@ const icons$2 = {
|
|
|
1565
1548
|
help: CircleQuestionMark,
|
|
1566
1549
|
info: Info
|
|
1567
1550
|
};
|
|
1568
|
-
const DialogTrigger$2 = ({ open
|
|
1551
|
+
const DialogTrigger$2 = ({ open, ...rest }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.DialogTrigger, {
|
|
1569
1552
|
isOpen: open,
|
|
1570
1553
|
...rest
|
|
1571
1554
|
});
|
|
@@ -1603,7 +1586,7 @@ _ContextualHelp.Content = ContextualHelpContent;
|
|
|
1603
1586
|
|
|
1604
1587
|
//#endregion
|
|
1605
1588
|
//#region src/DateField/DateSegment.tsx
|
|
1606
|
-
const _DateSegment = ({ segment
|
|
1589
|
+
const _DateSegment = ({ segment, ...props }) => {
|
|
1607
1590
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.DateSegment, {
|
|
1608
1591
|
...props,
|
|
1609
1592
|
segment,
|
|
@@ -1682,7 +1665,7 @@ const isValidDate = (year, month, day) => {
|
|
|
1682
1665
|
if (month === 2 && isLeapYear) return day <= 29;
|
|
1683
1666
|
return day <= daysInMonth[month - 1];
|
|
1684
1667
|
};
|
|
1685
|
-
const _DateInput = ({ variant, size: size$1, action, onPaste
|
|
1668
|
+
const _DateInput = ({ variant, size: size$1, action, onPaste, ...props }) => {
|
|
1686
1669
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
1687
1670
|
component: "DateField",
|
|
1688
1671
|
variant,
|
|
@@ -1715,7 +1698,7 @@ const _DateInput = ({ variant, size: size$1, action, onPaste,...props }) => {
|
|
|
1715
1698
|
|
|
1716
1699
|
//#endregion
|
|
1717
1700
|
//#region src/DateField/DateField.tsx
|
|
1718
|
-
const _DateField = (0, react.forwardRef)(({ variant, size: size$1, action, disabled, required, error, readOnly, onChange
|
|
1701
|
+
const _DateField = (0, react.forwardRef)(({ variant, size: size$1, action, disabled, required, error, readOnly, onChange, ...rest }, ref) => {
|
|
1719
1702
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FieldBase, {
|
|
1720
1703
|
as: react_aria_components.DateField,
|
|
1721
1704
|
variant,
|
|
@@ -1732,7 +1715,7 @@ const _DateField = (0, react.forwardRef)(({ variant, size: size$1, action, disab
|
|
|
1732
1715
|
})
|
|
1733
1716
|
});
|
|
1734
1717
|
});
|
|
1735
|
-
const DateInputWithPasteWrapper = ({ onChange
|
|
1718
|
+
const DateInputWithPasteWrapper = ({ onChange, ...props }) => {
|
|
1736
1719
|
const ctx = (0, react.useContext)(react_aria_components.DateFieldStateContext);
|
|
1737
1720
|
const onPaste = (date) => {
|
|
1738
1721
|
if (onChange) onChange(date);
|
|
@@ -1746,7 +1729,7 @@ const DateInputWithPasteWrapper = ({ onChange,...props }) => {
|
|
|
1746
1729
|
|
|
1747
1730
|
//#endregion
|
|
1748
1731
|
//#region src/icons/Calendar.tsx
|
|
1749
|
-
const Calendar = ({ size: size$1 = 24, className
|
|
1732
|
+
const Calendar = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
1750
1733
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1751
1734
|
width: size$1,
|
|
1752
1735
|
height: size$1,
|
|
@@ -1774,7 +1757,7 @@ const Calendar = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */
|
|
|
1774
1757
|
|
|
1775
1758
|
//#endregion
|
|
1776
1759
|
//#region src/DatePicker/DatePicker.tsx
|
|
1777
|
-
const _DatePicker = (0, react.forwardRef)(({ dateUnavailable, disabled, required, readOnly, error, variant, size: size$1, open, granularity = "day", onChange
|
|
1760
|
+
const _DatePicker = (0, react.forwardRef)(({ dateUnavailable, disabled, required, readOnly, error, variant, size: size$1, open, granularity = "day", onChange, ...rest }, ref) => {
|
|
1778
1761
|
const props = {
|
|
1779
1762
|
isDateUnavailable: dateUnavailable,
|
|
1780
1763
|
isDisabled: disabled,
|
|
@@ -1809,7 +1792,7 @@ const _DatePicker = (0, react.forwardRef)(({ dateUnavailable, disabled, required
|
|
|
1809
1792
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_Popover, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.Dialog, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_Calendar, { disabled }) }) })]
|
|
1810
1793
|
});
|
|
1811
1794
|
});
|
|
1812
|
-
const DatePickerWithPasteWrapper = ({ onChange
|
|
1795
|
+
const DatePickerWithPasteWrapper = ({ onChange, ...props }) => {
|
|
1813
1796
|
const ctx = (0, react.useContext)(react_aria_components.DatePickerStateContext);
|
|
1814
1797
|
const onPaste = (date) => {
|
|
1815
1798
|
if (onChange) onChange(date);
|
|
@@ -1823,7 +1806,7 @@ const DatePickerWithPasteWrapper = ({ onChange,...props }) => {
|
|
|
1823
1806
|
|
|
1824
1807
|
//#endregion
|
|
1825
1808
|
//#region src/Overlay/Modal.tsx
|
|
1826
|
-
const _Modal = (0, react.forwardRef)(({ size: size$1, open, dismissable, keyboardDismissable, onOpenChange, children
|
|
1809
|
+
const _Modal = (0, react.forwardRef)(({ size: size$1, open, dismissable, keyboardDismissable, onOpenChange, children, ...props }, ref) => {
|
|
1827
1810
|
const className = (0, __marigold_system.useClassNames)({
|
|
1828
1811
|
component: "Modal",
|
|
1829
1812
|
size: size$1
|
|
@@ -1893,7 +1876,7 @@ const DialogTitle = ({ variant, size: size$1, children }) => {
|
|
|
1893
1876
|
|
|
1894
1877
|
//#endregion
|
|
1895
1878
|
//#region src/Dialog/DialogTrigger.tsx
|
|
1896
|
-
const _DialogTrigger = ({ open, dismissable, keyboardDismissable
|
|
1879
|
+
const _DialogTrigger = ({ open, dismissable, keyboardDismissable, ...rest }) => {
|
|
1897
1880
|
const ctx = {
|
|
1898
1881
|
isDismissable: dismissable,
|
|
1899
1882
|
isKeyboardDismissDisabled: !keyboardDismissable
|
|
@@ -1920,7 +1903,7 @@ const _DialogTrigger = ({ open, dismissable, keyboardDismissable,...rest }) => {
|
|
|
1920
1903
|
* Needed so that the close button and function can be used inside the dialog,
|
|
1921
1904
|
* when the dialog is controlled and no <Dialog.Trigger> is used.
|
|
1922
1905
|
*/
|
|
1923
|
-
const InnerDialog = (0, react.forwardRef)(({ variant, size: size$1, closeButton
|
|
1906
|
+
const InnerDialog = (0, react.forwardRef)(({ variant, size: size$1, closeButton, ...props }, ref) => {
|
|
1924
1907
|
const state = (0, react.useContext)(react_aria_components.OverlayTriggerStateContext);
|
|
1925
1908
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
1926
1909
|
component: "Dialog",
|
|
@@ -1938,7 +1921,7 @@ const InnerDialog = (0, react.forwardRef)(({ variant, size: size$1, closeButton,
|
|
|
1938
1921
|
}), children]
|
|
1939
1922
|
});
|
|
1940
1923
|
});
|
|
1941
|
-
const _Dialog = (0, react.forwardRef)(({ open, onOpenChange, children
|
|
1924
|
+
const _Dialog = (0, react.forwardRef)(({ open, onOpenChange, children, ...props }, ref) => {
|
|
1942
1925
|
const ctx = (0, react.useContext)(DialogContext);
|
|
1943
1926
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_Modal, {
|
|
1944
1927
|
size: props.size,
|
|
@@ -1960,7 +1943,7 @@ _Dialog.Actions = DialogActions;
|
|
|
1960
1943
|
|
|
1961
1944
|
//#endregion
|
|
1962
1945
|
//#region src/Dialog/ConfirmationDialog.tsx
|
|
1963
|
-
const ConfirmationDialog = ({ title, confirmationLabel, cancelLabel, onCancel, onConfirm, autoFocusButton, children, variant, size: size$1 = "xsmall"
|
|
1946
|
+
const ConfirmationDialog = ({ title, confirmationLabel, cancelLabel, onCancel, onConfirm, autoFocusButton, children, variant, size: size$1 = "xsmall", ...props }) => {
|
|
1964
1947
|
const stringFormatter = (0, __react_aria_i18n.useLocalizedStringFormatter)(intlMessages, "marigold");
|
|
1965
1948
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_Dialog, {
|
|
1966
1949
|
role: "alertdialog",
|
|
@@ -2032,7 +2015,7 @@ const useConfirmation = () => {
|
|
|
2032
2015
|
|
|
2033
2016
|
//#endregion
|
|
2034
2017
|
//#region src/Divider/Divider.tsx
|
|
2035
|
-
const _Divider = ({ variant
|
|
2018
|
+
const _Divider = ({ variant, ...props }) => {
|
|
2036
2019
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.Separator, {
|
|
2037
2020
|
className: (0, __marigold_system.cn)("border-none", (0, __marigold_system.useClassNames)({
|
|
2038
2021
|
component: "Divider",
|
|
@@ -2139,7 +2122,7 @@ const useNonModal = ({ nonModalRef, keyboardDismissable = true }, state) => {
|
|
|
2139
2122
|
|
|
2140
2123
|
//#endregion
|
|
2141
2124
|
//#region src/Overlay/NonModal.tsx
|
|
2142
|
-
const NonModalInner = ({ state, isExiting
|
|
2125
|
+
const NonModalInner = ({ state, isExiting, ...props }) => {
|
|
2143
2126
|
const { nonModalProps } = useNonModal(props, state);
|
|
2144
2127
|
const ref = props.nonModalRef;
|
|
2145
2128
|
const isEntering = (0, __react_aria_utils.useEnterAnimation)(ref) || props.isEntering || false;
|
|
@@ -2182,7 +2165,7 @@ const NonModalInner = ({ state, isExiting,...props }) => {
|
|
|
2182
2165
|
})
|
|
2183
2166
|
});
|
|
2184
2167
|
};
|
|
2185
|
-
const NonModal = (0, react.forwardRef)(({ open
|
|
2168
|
+
const NonModal = (0, react.forwardRef)(({ open, ...rest }, ref) => {
|
|
2186
2169
|
const props = {
|
|
2187
2170
|
isOpen: open,
|
|
2188
2171
|
...rest
|
|
@@ -2204,7 +2187,7 @@ const NonModal = (0, react.forwardRef)(({ open,...rest }, ref) => {
|
|
|
2204
2187
|
|
|
2205
2188
|
//#endregion
|
|
2206
2189
|
//#region src/Drawer/DrawerModal.tsx
|
|
2207
|
-
const MobileModal = ({ children
|
|
2190
|
+
const MobileModal = ({ children, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.ModalOverlay, {
|
|
2208
2191
|
...props,
|
|
2209
2192
|
className: "fixed inset-0 z-40 h-(--visual-viewport-height)",
|
|
2210
2193
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.Modal, {
|
|
@@ -2212,7 +2195,7 @@ const MobileModal = ({ children,...props }) => /* @__PURE__ */ (0, react_jsx_run
|
|
|
2212
2195
|
children
|
|
2213
2196
|
})
|
|
2214
2197
|
});
|
|
2215
|
-
const DrawerModal = ({ children, className
|
|
2198
|
+
const DrawerModal = ({ children, className, ...props }) => {
|
|
2216
2199
|
return (0, __marigold_system.useSmallScreen)() ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MobileModal, { children }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NonModal, {
|
|
2217
2200
|
...props,
|
|
2218
2201
|
className: (0, __marigold_system.cn)("fixed", className),
|
|
@@ -2243,7 +2226,7 @@ const DrawerTitle = ({ variant, size: size$1, children }) => {
|
|
|
2243
2226
|
|
|
2244
2227
|
//#endregion
|
|
2245
2228
|
//#region src/Drawer/DrawerTrigger.tsx
|
|
2246
|
-
const DrawerTrigger = ({ open, children
|
|
2229
|
+
const DrawerTrigger = ({ open, children, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.DialogTrigger, {
|
|
2247
2230
|
isOpen: open,
|
|
2248
2231
|
...props,
|
|
2249
2232
|
children
|
|
@@ -2251,7 +2234,7 @@ const DrawerTrigger = ({ open, children,...props }) => /* @__PURE__ */ (0, react
|
|
|
2251
2234
|
|
|
2252
2235
|
//#endregion
|
|
2253
2236
|
//#region src/Drawer/Drawer.tsx
|
|
2254
|
-
const Drawer = ({ children, size: size$1 = "medium", variant, open, keyboardDismissable, closeButton, role = "complementary", placement = "right"
|
|
2237
|
+
const Drawer = ({ children, size: size$1 = "medium", variant, open, keyboardDismissable, closeButton, role = "complementary", placement = "right", ...props }) => {
|
|
2255
2238
|
const ref = (0, react.useRef)(null);
|
|
2256
2239
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
2257
2240
|
component: "Drawer",
|
|
@@ -2314,7 +2297,7 @@ const FileFieldItem = ({ children, onRemove }) => {
|
|
|
2314
2297
|
|
|
2315
2298
|
//#endregion
|
|
2316
2299
|
//#region src/icons/Upload.tsx
|
|
2317
|
-
const Upload = ({ size: size$1 = 24, className
|
|
2300
|
+
const Upload = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
2318
2301
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2319
2302
|
width: size$1,
|
|
2320
2303
|
height: size$1,
|
|
@@ -2331,7 +2314,7 @@ const Upload = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ (0
|
|
|
2331
2314
|
|
|
2332
2315
|
//#endregion
|
|
2333
2316
|
//#region src/FileField/FileTrigger.tsx
|
|
2334
|
-
const _FileTrigger = ({ label, disabled
|
|
2317
|
+
const _FileTrigger = ({ label, disabled, ...rest }) => {
|
|
2335
2318
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.FileTrigger, {
|
|
2336
2319
|
...rest,
|
|
2337
2320
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_Button, {
|
|
@@ -2375,7 +2358,7 @@ const normalizeAndLimitFiles = (files, { accept, multiple }) => {
|
|
|
2375
2358
|
|
|
2376
2359
|
//#endregion
|
|
2377
2360
|
//#region src/FileField/FileField.tsx
|
|
2378
|
-
const FileField = ({ disabled = false, accept = ["*"], multiple = false, width, label
|
|
2361
|
+
const FileField = ({ disabled = false, accept = ["*"], multiple = false, width, label, ...props }) => {
|
|
2379
2362
|
const [files, setFiles] = (0, react.useState)(null);
|
|
2380
2363
|
const stringFormatter = (0, __react_aria_i18n.useLocalizedStringFormatter)(intlMessages);
|
|
2381
2364
|
const dropZoneLabel = stringFormatter.format("dropZoneLabel");
|
|
@@ -2443,7 +2426,7 @@ FileField.Item = FileFieldItem;
|
|
|
2443
2426
|
|
|
2444
2427
|
//#endregion
|
|
2445
2428
|
//#region src/Form/Form.tsx
|
|
2446
|
-
const _Form = ({ unstyled, maxWidth = "full"
|
|
2429
|
+
const _Form = ({ unstyled, maxWidth = "full", ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.Form, {
|
|
2447
2430
|
...props,
|
|
2448
2431
|
className: (0, __marigold_system.cn)(__marigold_system.maxWidth[maxWidth], unstyled && "contents")
|
|
2449
2432
|
});
|
|
@@ -2459,7 +2442,7 @@ const GridArea = ({ name, children }) => /* @__PURE__ */ (0, react_jsx_runtime.j
|
|
|
2459
2442
|
//#region src/Grid/Grid.tsx
|
|
2460
2443
|
const parseGridAreas = (areas) => areas.map((area) => `"${area}"`).join("\n");
|
|
2461
2444
|
const parseTemplateValue = (values) => values.map((val) => typeof val === "number" ? `${val}fr` : val).join(" ");
|
|
2462
|
-
const Grid = ({ children, areas, columns, rows, alignX, alignY, height = "auto", space = 0
|
|
2445
|
+
const Grid = ({ children, areas, columns, rows, alignX, alignY, height = "auto", space = 0, ...props }) => {
|
|
2463
2446
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2464
2447
|
className: (0, __marigold_system.cn)("grid", alignX && __marigold_system.alignment?.horizontal?.alignmentX[alignX], alignY && __marigold_system.alignment?.horizontal?.alignmentY[alignY], __marigold_system.gapSpace[space], __marigold_system.height[height]),
|
|
2465
2448
|
style: {
|
|
@@ -2475,7 +2458,7 @@ Grid.Area = GridArea;
|
|
|
2475
2458
|
|
|
2476
2459
|
//#endregion
|
|
2477
2460
|
//#region src/Headline/Headline.tsx
|
|
2478
|
-
const _Headline = ({ variant, size: size$1, children, align = "left", color, level = "1"
|
|
2461
|
+
const _Headline = ({ variant, size: size$1, children, align = "left", color, level = "1", ...props }) => {
|
|
2479
2462
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
2480
2463
|
component: "Headline",
|
|
2481
2464
|
variant,
|
|
@@ -2496,9 +2479,10 @@ const inlineAlignmentY = {
|
|
|
2496
2479
|
...__marigold_system.alignment.horizontal.alignmentY,
|
|
2497
2480
|
input: "items-end [&:has([slot=description])]:items-end [&:has([slot=description])_>*:not(:has([slot=description]))]:mb-6 [&:has([slot=errorMessage])_>*:not(:has([slot=errorMessage]))]:mb-6"
|
|
2498
2481
|
};
|
|
2499
|
-
const Inline = ({ space = 0, noWrap, alignX, alignY, children
|
|
2482
|
+
const Inline = ({ space = 0, noWrap, alignX, alignY, children, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2500
2483
|
...props,
|
|
2501
|
-
className: (0, __marigold_system.cn)("flex", !noWrap && "flex-wrap",
|
|
2484
|
+
className: (0, __marigold_system.cn)("flex gap-(--space)", !noWrap && "flex-wrap", alignX && __marigold_system.alignment?.horizontal?.alignmentX[alignX], alignY && inlineAlignmentY[alignY]),
|
|
2485
|
+
style: (0, __marigold_system.createSpacingVar)("space", `${space}`),
|
|
2502
2486
|
children
|
|
2503
2487
|
});
|
|
2504
2488
|
|
|
@@ -2511,7 +2495,7 @@ const Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ (0, react
|
|
|
2511
2495
|
|
|
2512
2496
|
//#endregion
|
|
2513
2497
|
//#region src/Link/Link.tsx
|
|
2514
|
-
const _Link = (0, react.forwardRef)(({ variant, size: size$1, disabled, children
|
|
2498
|
+
const _Link = (0, react.forwardRef)(({ variant, size: size$1, disabled, children, ...props }, ref) => {
|
|
2515
2499
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
2516
2500
|
component: "Link",
|
|
2517
2501
|
variant,
|
|
@@ -2528,7 +2512,7 @@ const _Link = (0, react.forwardRef)(({ variant, size: size$1, disabled, children
|
|
|
2528
2512
|
|
|
2529
2513
|
//#endregion
|
|
2530
2514
|
//#region src/LinkButton/LinkButton.tsx
|
|
2531
|
-
const _LinkButton = (0, react.forwardRef)(({ children, variant, size: size$1, disabled, fullWidth
|
|
2515
|
+
const _LinkButton = (0, react.forwardRef)(({ children, variant, size: size$1, disabled, fullWidth, ...props }, ref) => {
|
|
2532
2516
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
2533
2517
|
component: "Button",
|
|
2534
2518
|
variant,
|
|
@@ -2550,7 +2534,7 @@ const useListContext = () => (0, react.useContext)(ListContext);
|
|
|
2550
2534
|
|
|
2551
2535
|
//#endregion
|
|
2552
2536
|
//#region src/List/ListItem.tsx
|
|
2553
|
-
const ListItem = ({ children
|
|
2537
|
+
const ListItem = ({ children, ...props }) => {
|
|
2554
2538
|
const { classNames: classNames$2 } = useListContext();
|
|
2555
2539
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
|
|
2556
2540
|
...props,
|
|
@@ -2561,7 +2545,7 @@ const ListItem = ({ children,...props }) => {
|
|
|
2561
2545
|
|
|
2562
2546
|
//#endregion
|
|
2563
2547
|
//#region src/List/List.tsx
|
|
2564
|
-
const List = ({ as = "ul", children, variant, size: size$1
|
|
2548
|
+
const List = ({ as = "ul", children, variant, size: size$1, ...props }) => {
|
|
2565
2549
|
const Component$1 = as;
|
|
2566
2550
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
2567
2551
|
component: "List",
|
|
@@ -2581,7 +2565,7 @@ List.Item = ListItem;
|
|
|
2581
2565
|
|
|
2582
2566
|
//#endregion
|
|
2583
2567
|
//#region src/icons/EllipsisVertical.tsx
|
|
2584
|
-
const EllipsisVertical = ({ size: size$1 = 24, className
|
|
2568
|
+
const EllipsisVertical = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
2585
2569
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2586
2570
|
width: size$1,
|
|
2587
2571
|
height: size$1,
|
|
@@ -2614,7 +2598,7 @@ const EllipsisVertical = ({ size: size$1 = 24, className,...props }) => /* @__PU
|
|
|
2614
2598
|
|
|
2615
2599
|
//#endregion
|
|
2616
2600
|
//#region src/Menu/MenuItem.tsx
|
|
2617
|
-
const _MenuItem = ({ children, variant, size: size$1
|
|
2601
|
+
const _MenuItem = ({ children, variant, size: size$1, ...props }) => {
|
|
2618
2602
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
2619
2603
|
component: "Menu",
|
|
2620
2604
|
variant,
|
|
@@ -2629,7 +2613,7 @@ const _MenuItem = ({ children, variant, size: size$1,...props }) => {
|
|
|
2629
2613
|
|
|
2630
2614
|
//#endregion
|
|
2631
2615
|
//#region src/Menu/MenuSection.tsx
|
|
2632
|
-
const _MenuSection = ({ children, title
|
|
2616
|
+
const _MenuSection = ({ children, title, ...props }) => {
|
|
2633
2617
|
const className = (0, __marigold_system.useClassNames)({ component: "Menu" });
|
|
2634
2618
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_aria_components.MenuSection, {
|
|
2635
2619
|
...props,
|
|
@@ -2642,7 +2626,7 @@ const _MenuSection = ({ children, title,...props }) => {
|
|
|
2642
2626
|
|
|
2643
2627
|
//#endregion
|
|
2644
2628
|
//#region src/Menu/Menu.tsx
|
|
2645
|
-
const _Menu = ({ children, label, variant, size: size$1, disabled, open, placement, "aria-label": ariaLabel
|
|
2629
|
+
const _Menu = ({ children, label, variant, size: size$1, disabled, open, placement, "aria-label": ariaLabel, ...props }) => {
|
|
2646
2630
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
2647
2631
|
component: "Menu",
|
|
2648
2632
|
variant,
|
|
@@ -2671,7 +2655,7 @@ _Menu.Section = _MenuSection;
|
|
|
2671
2655
|
|
|
2672
2656
|
//#endregion
|
|
2673
2657
|
//#region src/Menu/ActionMenu.tsx
|
|
2674
|
-
const ActionMenu = ({ children
|
|
2658
|
+
const ActionMenu = ({ children, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_Menu, {
|
|
2675
2659
|
...props,
|
|
2676
2660
|
label: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EllipsisVertical, {}),
|
|
2677
2661
|
children
|
|
@@ -3868,7 +3852,15 @@ var createCache = function createCache$1(options$1) {
|
|
|
3868
3852
|
|
|
3869
3853
|
//#endregion
|
|
3870
3854
|
//#region ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
|
|
3871
|
-
|
|
3855
|
+
/** @license React v16.13.1
|
|
3856
|
+
* react-is.production.min.js
|
|
3857
|
+
*
|
|
3858
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3859
|
+
*
|
|
3860
|
+
* This source code is licensed under the MIT license found in the
|
|
3861
|
+
* LICENSE file in the root directory of this source tree.
|
|
3862
|
+
*/
|
|
3863
|
+
var require_react_is_production_min = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3872
3864
|
var b = "function" === typeof Symbol && Symbol.for, c = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w$1 = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
|
|
3873
3865
|
function z(a) {
|
|
3874
3866
|
if ("object" === typeof a && null !== a) {
|
|
@@ -3951,12 +3943,21 @@ var require_react_is_production_min = /* @__PURE__ */ __commonJS({ "../../node_m
|
|
|
3951
3943
|
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w$1 || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
|
|
3952
3944
|
};
|
|
3953
3945
|
exports.typeOf = z;
|
|
3954
|
-
})
|
|
3946
|
+
}));
|
|
3955
3947
|
|
|
3956
3948
|
//#endregion
|
|
3957
3949
|
//#region ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
|
|
3958
|
-
|
|
3950
|
+
/** @license React v16.13.1
|
|
3951
|
+
* react-is.development.js
|
|
3952
|
+
*
|
|
3953
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3954
|
+
*
|
|
3955
|
+
* This source code is licensed under the MIT license found in the
|
|
3956
|
+
* LICENSE file in the root directory of this source tree.
|
|
3957
|
+
*/
|
|
3958
|
+
var require_react_is_development = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3959
3959
|
if (process.env.NODE_ENV !== "production") (function() {
|
|
3960
|
+
"use strict";
|
|
3960
3961
|
var hasSymbol = typeof Symbol === "function" && Symbol.for;
|
|
3961
3962
|
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
|
|
3962
3963
|
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
|
|
@@ -4093,18 +4094,18 @@ var require_react_is_development = /* @__PURE__ */ __commonJS({ "../../node_modu
|
|
|
4093
4094
|
exports.isValidElementType = isValidElementType;
|
|
4094
4095
|
exports.typeOf = typeOf;
|
|
4095
4096
|
})();
|
|
4096
|
-
})
|
|
4097
|
+
}));
|
|
4097
4098
|
|
|
4098
4099
|
//#endregion
|
|
4099
4100
|
//#region ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js
|
|
4100
|
-
var require_react_is = /* @__PURE__ */
|
|
4101
|
+
var require_react_is = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4101
4102
|
if (process.env.NODE_ENV === "production") module.exports = require_react_is_production_min();
|
|
4102
4103
|
else module.exports = require_react_is_development();
|
|
4103
|
-
})
|
|
4104
|
+
}));
|
|
4104
4105
|
|
|
4105
4106
|
//#endregion
|
|
4106
4107
|
//#region ../../node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
|
|
4107
|
-
var require_hoist_non_react_statics_cjs = /* @__PURE__ */
|
|
4108
|
+
var require_hoist_non_react_statics_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4108
4109
|
var reactIs = require_react_is();
|
|
4109
4110
|
/**
|
|
4110
4111
|
* Copyright 2015, Yahoo! Inc.
|
|
@@ -4183,7 +4184,7 @@ var require_hoist_non_react_statics_cjs = /* @__PURE__ */ __commonJS({ "../../no
|
|
|
4183
4184
|
return targetComponent;
|
|
4184
4185
|
}
|
|
4185
4186
|
module.exports = hoistNonReactStatics;
|
|
4186
|
-
})
|
|
4187
|
+
}));
|
|
4187
4188
|
|
|
4188
4189
|
//#endregion
|
|
4189
4190
|
//#region ../../node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.esm.js
|
|
@@ -4498,7 +4499,7 @@ var Emotion$1 = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
|
|
|
4498
4499
|
|
|
4499
4500
|
//#endregion
|
|
4500
4501
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/extends.js
|
|
4501
|
-
var require_extends = /* @__PURE__ */
|
|
4502
|
+
var require_extends = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4502
4503
|
function _extends$1() {
|
|
4503
4504
|
return module.exports = _extends$1 = Object.assign ? Object.assign.bind() : function(n$1) {
|
|
4504
4505
|
for (var e$1 = 1; e$1 < arguments.length; e$1++) {
|
|
@@ -4509,12 +4510,12 @@ var require_extends = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@ba
|
|
|
4509
4510
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends$1.apply(null, arguments);
|
|
4510
4511
|
}
|
|
4511
4512
|
module.exports = _extends$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4512
|
-
})
|
|
4513
|
+
}));
|
|
4513
4514
|
|
|
4514
4515
|
//#endregion
|
|
4515
4516
|
//#region ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.2_react@19.2.0/node_modules/@emotion/react/dist/emotion-react.esm.js
|
|
4516
|
-
var import_extends =
|
|
4517
|
-
var import_hoist_non_react_statics_cjs =
|
|
4517
|
+
var import_extends = require_extends();
|
|
4518
|
+
var import_hoist_non_react_statics_cjs = require_hoist_non_react_statics_cjs();
|
|
4518
4519
|
var jsx = function jsx$1(type, props) {
|
|
4519
4520
|
var args = arguments;
|
|
4520
4521
|
if (props == null || !hasOwn.call(props, "css")) return react.createElement.apply(void 0, args);
|
|
@@ -5811,7 +5812,7 @@ var defaultComponents = function defaultComponents$1(props) {
|
|
|
5811
5812
|
|
|
5812
5813
|
//#endregion
|
|
5813
5814
|
//#region ../../node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.cjs.js
|
|
5814
|
-
var require_memoize_one_cjs = /* @__PURE__ */
|
|
5815
|
+
var require_memoize_one_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5815
5816
|
var safeIsNaN = Number.isNaN || function ponyfill(value) {
|
|
5816
5817
|
return typeof value === "number" && value !== value;
|
|
5817
5818
|
};
|
|
@@ -5846,7 +5847,7 @@ var require_memoize_one_cjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
5846
5847
|
return memoized;
|
|
5847
5848
|
}
|
|
5848
5849
|
module.exports = memoizeOne$1;
|
|
5849
|
-
})
|
|
5850
|
+
}));
|
|
5850
5851
|
|
|
5851
5852
|
//#endregion
|
|
5852
5853
|
//#region ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.2.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-select/dist/Select-ef7c0426.esm.js
|
|
@@ -8032,7 +8033,7 @@ Select$1.defaultProps = defaultProps;
|
|
|
8032
8033
|
|
|
8033
8034
|
//#endregion
|
|
8034
8035
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/typeof.js
|
|
8035
|
-
var require_typeof = /* @__PURE__ */
|
|
8036
|
+
var require_typeof = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8036
8037
|
function _typeof$3(o) {
|
|
8037
8038
|
"@babel/helpers - typeof";
|
|
8038
8039
|
return module.exports = _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
|
|
@@ -8042,11 +8043,11 @@ var require_typeof = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@bab
|
|
|
8042
8043
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof$3(o);
|
|
8043
8044
|
}
|
|
8044
8045
|
module.exports = _typeof$3, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8045
|
-
})
|
|
8046
|
+
}));
|
|
8046
8047
|
|
|
8047
8048
|
//#endregion
|
|
8048
8049
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/toPrimitive.js
|
|
8049
|
-
var require_toPrimitive = /* @__PURE__ */
|
|
8050
|
+
var require_toPrimitive = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8050
8051
|
var _typeof$2 = require_typeof()["default"];
|
|
8051
8052
|
function toPrimitive$1(t$1, r$1) {
|
|
8052
8053
|
if ("object" != _typeof$2(t$1) || !t$1) return t$1;
|
|
@@ -8059,11 +8060,11 @@ var require_toPrimitive = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
8059
8060
|
return ("string" === r$1 ? String : Number)(t$1);
|
|
8060
8061
|
}
|
|
8061
8062
|
module.exports = toPrimitive$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8062
|
-
})
|
|
8063
|
+
}));
|
|
8063
8064
|
|
|
8064
8065
|
//#endregion
|
|
8065
8066
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/toPropertyKey.js
|
|
8066
|
-
var require_toPropertyKey = /* @__PURE__ */
|
|
8067
|
+
var require_toPropertyKey = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8067
8068
|
var _typeof$1 = require_typeof()["default"];
|
|
8068
8069
|
var toPrimitive = require_toPrimitive();
|
|
8069
8070
|
function toPropertyKey$2(t$1) {
|
|
@@ -8071,11 +8072,11 @@ var require_toPropertyKey = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
|
|
8071
8072
|
return "symbol" == _typeof$1(i$1) ? i$1 : i$1 + "";
|
|
8072
8073
|
}
|
|
8073
8074
|
module.exports = toPropertyKey$2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8074
|
-
})
|
|
8075
|
+
}));
|
|
8075
8076
|
|
|
8076
8077
|
//#endregion
|
|
8077
8078
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/defineProperty.js
|
|
8078
|
-
var require_defineProperty = /* @__PURE__ */
|
|
8079
|
+
var require_defineProperty = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8079
8080
|
var toPropertyKey$1 = require_toPropertyKey();
|
|
8080
8081
|
function _defineProperty(e$1, r$1, t$1) {
|
|
8081
8082
|
return (r$1 = toPropertyKey$1(r$1)) in e$1 ? Object.defineProperty(e$1, r$1, {
|
|
@@ -8086,11 +8087,11 @@ var require_defineProperty = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
8086
8087
|
}) : e$1[r$1] = t$1, e$1;
|
|
8087
8088
|
}
|
|
8088
8089
|
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8089
|
-
})
|
|
8090
|
+
}));
|
|
8090
8091
|
|
|
8091
8092
|
//#endregion
|
|
8092
8093
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/objectSpread2.js
|
|
8093
|
-
var require_objectSpread2 = /* @__PURE__ */
|
|
8094
|
+
var require_objectSpread2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8094
8095
|
var defineProperty = require_defineProperty();
|
|
8095
8096
|
function ownKeys(e$1, r$1) {
|
|
8096
8097
|
var t$1 = Object.keys(e$1);
|
|
@@ -8114,20 +8115,20 @@ var require_objectSpread2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
|
|
8114
8115
|
return e$1;
|
|
8115
8116
|
}
|
|
8116
8117
|
module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8117
|
-
})
|
|
8118
|
+
}));
|
|
8118
8119
|
|
|
8119
8120
|
//#endregion
|
|
8120
8121
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/arrayWithHoles.js
|
|
8121
|
-
var require_arrayWithHoles = /* @__PURE__ */
|
|
8122
|
+
var require_arrayWithHoles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8122
8123
|
function _arrayWithHoles(r$1) {
|
|
8123
8124
|
if (Array.isArray(r$1)) return r$1;
|
|
8124
8125
|
}
|
|
8125
8126
|
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8126
|
-
})
|
|
8127
|
+
}));
|
|
8127
8128
|
|
|
8128
8129
|
//#endregion
|
|
8129
8130
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js
|
|
8130
|
-
var require_iterableToArrayLimit = /* @__PURE__ */
|
|
8131
|
+
var require_iterableToArrayLimit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8131
8132
|
function _iterableToArrayLimit(r$1, l$1) {
|
|
8132
8133
|
var t$1 = null == r$1 ? null : "undefined" != typeof Symbol && r$1[Symbol.iterator] || r$1["@@iterator"];
|
|
8133
8134
|
if (null != t$1) {
|
|
@@ -8150,22 +8151,22 @@ var require_iterableToArrayLimit = /* @__PURE__ */ __commonJS({ "../../node_modu
|
|
|
8150
8151
|
}
|
|
8151
8152
|
}
|
|
8152
8153
|
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8153
|
-
})
|
|
8154
|
+
}));
|
|
8154
8155
|
|
|
8155
8156
|
//#endregion
|
|
8156
8157
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/arrayLikeToArray.js
|
|
8157
|
-
var require_arrayLikeToArray = /* @__PURE__ */
|
|
8158
|
+
var require_arrayLikeToArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8158
8159
|
function _arrayLikeToArray(r$1, a) {
|
|
8159
8160
|
(null == a || a > r$1.length) && (a = r$1.length);
|
|
8160
8161
|
for (var e$1 = 0, n$1 = Array(a); e$1 < a; e$1++) n$1[e$1] = r$1[e$1];
|
|
8161
8162
|
return n$1;
|
|
8162
8163
|
}
|
|
8163
8164
|
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8164
|
-
})
|
|
8165
|
+
}));
|
|
8165
8166
|
|
|
8166
8167
|
//#endregion
|
|
8167
8168
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js
|
|
8168
|
-
var require_unsupportedIterableToArray = /* @__PURE__ */
|
|
8169
|
+
var require_unsupportedIterableToArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8169
8170
|
var arrayLikeToArray$1 = require_arrayLikeToArray();
|
|
8170
8171
|
function _unsupportedIterableToArray(r$1, a) {
|
|
8171
8172
|
if (r$1) {
|
|
@@ -8175,20 +8176,20 @@ var require_unsupportedIterableToArray = /* @__PURE__ */ __commonJS({ "../../nod
|
|
|
8175
8176
|
}
|
|
8176
8177
|
}
|
|
8177
8178
|
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8178
|
-
})
|
|
8179
|
+
}));
|
|
8179
8180
|
|
|
8180
8181
|
//#endregion
|
|
8181
8182
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/nonIterableRest.js
|
|
8182
|
-
var require_nonIterableRest = /* @__PURE__ */
|
|
8183
|
+
var require_nonIterableRest = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8183
8184
|
function _nonIterableRest() {
|
|
8184
8185
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8185
8186
|
}
|
|
8186
8187
|
module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8187
|
-
})
|
|
8188
|
+
}));
|
|
8188
8189
|
|
|
8189
8190
|
//#endregion
|
|
8190
8191
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/slicedToArray.js
|
|
8191
|
-
var require_slicedToArray = /* @__PURE__ */
|
|
8192
|
+
var require_slicedToArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8192
8193
|
var arrayWithHoles = require_arrayWithHoles();
|
|
8193
8194
|
var iterableToArrayLimit = require_iterableToArrayLimit();
|
|
8194
8195
|
var unsupportedIterableToArray$1 = require_unsupportedIterableToArray();
|
|
@@ -8197,11 +8198,11 @@ var require_slicedToArray = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
|
|
8197
8198
|
return arrayWithHoles(r$1) || iterableToArrayLimit(r$1, e$1) || unsupportedIterableToArray$1(r$1, e$1) || nonIterableRest();
|
|
8198
8199
|
}
|
|
8199
8200
|
module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8200
|
-
})
|
|
8201
|
+
}));
|
|
8201
8202
|
|
|
8202
8203
|
//#endregion
|
|
8203
8204
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
8204
|
-
var require_objectWithoutPropertiesLoose = /* @__PURE__ */
|
|
8205
|
+
var require_objectWithoutPropertiesLoose = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8205
8206
|
function _objectWithoutPropertiesLoose(r$1, e$1) {
|
|
8206
8207
|
if (null == r$1) return {};
|
|
8207
8208
|
var t$1 = {};
|
|
@@ -8212,11 +8213,11 @@ var require_objectWithoutPropertiesLoose = /* @__PURE__ */ __commonJS({ "../../n
|
|
|
8212
8213
|
return t$1;
|
|
8213
8214
|
}
|
|
8214
8215
|
module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8215
|
-
})
|
|
8216
|
+
}));
|
|
8216
8217
|
|
|
8217
8218
|
//#endregion
|
|
8218
8219
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
|
|
8219
|
-
var require_objectWithoutProperties = /* @__PURE__ */
|
|
8220
|
+
var require_objectWithoutProperties = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8220
8221
|
var objectWithoutPropertiesLoose = require_objectWithoutPropertiesLoose();
|
|
8221
8222
|
function _objectWithoutProperties(e$1, t$1) {
|
|
8222
8223
|
if (null == e$1) return {};
|
|
@@ -8228,20 +8229,20 @@ var require_objectWithoutProperties = /* @__PURE__ */ __commonJS({ "../../node_m
|
|
|
8228
8229
|
return i$1;
|
|
8229
8230
|
}
|
|
8230
8231
|
module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8231
|
-
})
|
|
8232
|
+
}));
|
|
8232
8233
|
|
|
8233
8234
|
//#endregion
|
|
8234
8235
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/classCallCheck.js
|
|
8235
|
-
var require_classCallCheck = /* @__PURE__ */
|
|
8236
|
+
var require_classCallCheck = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8236
8237
|
function _classCallCheck(a, n$1) {
|
|
8237
8238
|
if (!(a instanceof n$1)) throw new TypeError("Cannot call a class as a function");
|
|
8238
8239
|
}
|
|
8239
8240
|
module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8240
|
-
})
|
|
8241
|
+
}));
|
|
8241
8242
|
|
|
8242
8243
|
//#endregion
|
|
8243
8244
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/createClass.js
|
|
8244
|
-
var require_createClass = /* @__PURE__ */
|
|
8245
|
+
var require_createClass = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8245
8246
|
var toPropertyKey = require_toPropertyKey();
|
|
8246
8247
|
function _defineProperties(e$1, r$1) {
|
|
8247
8248
|
for (var t$1 = 0; t$1 < r$1.length; t$1++) {
|
|
@@ -8253,22 +8254,22 @@ var require_createClass = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
8253
8254
|
return r$1 && _defineProperties(e$1.prototype, r$1), t$1 && _defineProperties(e$1, t$1), Object.defineProperty(e$1, "prototype", { writable: !1 }), e$1;
|
|
8254
8255
|
}
|
|
8255
8256
|
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8256
|
-
})
|
|
8257
|
+
}));
|
|
8257
8258
|
|
|
8258
8259
|
//#endregion
|
|
8259
8260
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
8260
|
-
var require_setPrototypeOf = /* @__PURE__ */
|
|
8261
|
+
var require_setPrototypeOf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8261
8262
|
function _setPrototypeOf(t$1, e$1) {
|
|
8262
8263
|
return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t$2, e$2) {
|
|
8263
8264
|
return t$2.__proto__ = e$2, t$2;
|
|
8264
8265
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t$1, e$1);
|
|
8265
8266
|
}
|
|
8266
8267
|
module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8267
|
-
})
|
|
8268
|
+
}));
|
|
8268
8269
|
|
|
8269
8270
|
//#endregion
|
|
8270
8271
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/inherits.js
|
|
8271
|
-
var require_inherits = /* @__PURE__ */
|
|
8272
|
+
var require_inherits = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8272
8273
|
var setPrototypeOf = require_setPrototypeOf();
|
|
8273
8274
|
function _inherits(t$1, e$1) {
|
|
8274
8275
|
if ("function" != typeof e$1 && null !== e$1) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -8279,22 +8280,22 @@ var require_inherits = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@b
|
|
|
8279
8280
|
} }), Object.defineProperty(t$1, "prototype", { writable: !1 }), e$1 && setPrototypeOf(t$1, e$1);
|
|
8280
8281
|
}
|
|
8281
8282
|
module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8282
|
-
})
|
|
8283
|
+
}));
|
|
8283
8284
|
|
|
8284
8285
|
//#endregion
|
|
8285
8286
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
8286
|
-
var require_getPrototypeOf = /* @__PURE__ */
|
|
8287
|
+
var require_getPrototypeOf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8287
8288
|
function _getPrototypeOf(t$1) {
|
|
8288
8289
|
return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t$2) {
|
|
8289
8290
|
return t$2.__proto__ || Object.getPrototypeOf(t$2);
|
|
8290
8291
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t$1);
|
|
8291
8292
|
}
|
|
8292
8293
|
module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8293
|
-
})
|
|
8294
|
+
}));
|
|
8294
8295
|
|
|
8295
8296
|
//#endregion
|
|
8296
8297
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js
|
|
8297
|
-
var require_isNativeReflectConstruct = /* @__PURE__ */
|
|
8298
|
+
var require_isNativeReflectConstruct = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8298
8299
|
function _isNativeReflectConstruct() {
|
|
8299
8300
|
try {
|
|
8300
8301
|
var t$1 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
@@ -8304,21 +8305,21 @@ var require_isNativeReflectConstruct = /* @__PURE__ */ __commonJS({ "../../node_
|
|
|
8304
8305
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports)();
|
|
8305
8306
|
}
|
|
8306
8307
|
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8307
|
-
})
|
|
8308
|
+
}));
|
|
8308
8309
|
|
|
8309
8310
|
//#endregion
|
|
8310
8311
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
|
8311
|
-
var require_assertThisInitialized = /* @__PURE__ */
|
|
8312
|
+
var require_assertThisInitialized = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8312
8313
|
function _assertThisInitialized(e$1) {
|
|
8313
8314
|
if (void 0 === e$1) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8314
8315
|
return e$1;
|
|
8315
8316
|
}
|
|
8316
8317
|
module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8317
|
-
})
|
|
8318
|
+
}));
|
|
8318
8319
|
|
|
8319
8320
|
//#endregion
|
|
8320
8321
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
|
|
8321
|
-
var require_possibleConstructorReturn = /* @__PURE__ */
|
|
8322
|
+
var require_possibleConstructorReturn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8322
8323
|
var _typeof = require_typeof()["default"];
|
|
8323
8324
|
var assertThisInitialized = require_assertThisInitialized();
|
|
8324
8325
|
function _possibleConstructorReturn(t$1, e$1) {
|
|
@@ -8327,11 +8328,11 @@ var require_possibleConstructorReturn = /* @__PURE__ */ __commonJS({ "../../node
|
|
|
8327
8328
|
return assertThisInitialized(t$1);
|
|
8328
8329
|
}
|
|
8329
8330
|
module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8330
|
-
})
|
|
8331
|
+
}));
|
|
8331
8332
|
|
|
8332
8333
|
//#endregion
|
|
8333
8334
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/createSuper.js
|
|
8334
|
-
var require_createSuper = /* @__PURE__ */
|
|
8335
|
+
var require_createSuper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8335
8336
|
var getPrototypeOf = require_getPrototypeOf();
|
|
8336
8337
|
var isNativeReflectConstruct = require_isNativeReflectConstruct();
|
|
8337
8338
|
var possibleConstructorReturn = require_possibleConstructorReturn();
|
|
@@ -8347,39 +8348,39 @@ var require_createSuper = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
8347
8348
|
};
|
|
8348
8349
|
}
|
|
8349
8350
|
module.exports = _createSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8350
|
-
})
|
|
8351
|
+
}));
|
|
8351
8352
|
|
|
8352
8353
|
//#endregion
|
|
8353
8354
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
|
|
8354
|
-
var require_arrayWithoutHoles = /* @__PURE__ */
|
|
8355
|
+
var require_arrayWithoutHoles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8355
8356
|
var arrayLikeToArray = require_arrayLikeToArray();
|
|
8356
8357
|
function _arrayWithoutHoles(r$1) {
|
|
8357
8358
|
if (Array.isArray(r$1)) return arrayLikeToArray(r$1);
|
|
8358
8359
|
}
|
|
8359
8360
|
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8360
|
-
})
|
|
8361
|
+
}));
|
|
8361
8362
|
|
|
8362
8363
|
//#endregion
|
|
8363
8364
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/iterableToArray.js
|
|
8364
|
-
var require_iterableToArray = /* @__PURE__ */
|
|
8365
|
+
var require_iterableToArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8365
8366
|
function _iterableToArray(r$1) {
|
|
8366
8367
|
if ("undefined" != typeof Symbol && null != r$1[Symbol.iterator] || null != r$1["@@iterator"]) return Array.from(r$1);
|
|
8367
8368
|
}
|
|
8368
8369
|
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8369
|
-
})
|
|
8370
|
+
}));
|
|
8370
8371
|
|
|
8371
8372
|
//#endregion
|
|
8372
8373
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/nonIterableSpread.js
|
|
8373
|
-
var require_nonIterableSpread = /* @__PURE__ */
|
|
8374
|
+
var require_nonIterableSpread = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8374
8375
|
function _nonIterableSpread() {
|
|
8375
8376
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8376
8377
|
}
|
|
8377
8378
|
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8378
|
-
})
|
|
8379
|
+
}));
|
|
8379
8380
|
|
|
8380
8381
|
//#endregion
|
|
8381
8382
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/toConsumableArray.js
|
|
8382
|
-
var require_toConsumableArray = /* @__PURE__ */
|
|
8383
|
+
var require_toConsumableArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8383
8384
|
var arrayWithoutHoles = require_arrayWithoutHoles();
|
|
8384
8385
|
var iterableToArray = require_iterableToArray();
|
|
8385
8386
|
var unsupportedIterableToArray = require_unsupportedIterableToArray();
|
|
@@ -8388,30 +8389,30 @@ var require_toConsumableArray = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
8388
8389
|
return arrayWithoutHoles(r$1) || iterableToArray(r$1) || unsupportedIterableToArray(r$1) || nonIterableSpread();
|
|
8389
8390
|
}
|
|
8390
8391
|
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8391
|
-
})
|
|
8392
|
+
}));
|
|
8392
8393
|
|
|
8393
8394
|
//#endregion
|
|
8394
8395
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js
|
|
8395
|
-
var require_taggedTemplateLiteral = /* @__PURE__ */
|
|
8396
|
+
var require_taggedTemplateLiteral = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8396
8397
|
function _taggedTemplateLiteral(e$1, t$1) {
|
|
8397
8398
|
return t$1 || (t$1 = e$1.slice(0)), Object.freeze(Object.defineProperties(e$1, { raw: { value: Object.freeze(t$1) } }));
|
|
8398
8399
|
}
|
|
8399
8400
|
module.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
8400
|
-
})
|
|
8401
|
+
}));
|
|
8401
8402
|
|
|
8402
8403
|
//#endregion
|
|
8403
8404
|
//#region ../../node_modules/.pnpm/react-select@5.10.2_@types+react@19.2.2_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-select/dist/react-select.esm.js
|
|
8404
|
-
var import_objectSpread2 =
|
|
8405
|
-
var import_slicedToArray =
|
|
8406
|
-
var import_objectWithoutProperties =
|
|
8407
|
-
var import_classCallCheck =
|
|
8408
|
-
var import_createClass =
|
|
8409
|
-
var import_inherits =
|
|
8410
|
-
var import_createSuper =
|
|
8411
|
-
var import_toConsumableArray =
|
|
8412
|
-
var import_typeof =
|
|
8413
|
-
var import_taggedTemplateLiteral =
|
|
8414
|
-
var import_defineProperty =
|
|
8405
|
+
var import_objectSpread2 = require_objectSpread2();
|
|
8406
|
+
var import_slicedToArray = require_slicedToArray();
|
|
8407
|
+
var import_objectWithoutProperties = require_objectWithoutProperties();
|
|
8408
|
+
var import_classCallCheck = require_classCallCheck();
|
|
8409
|
+
var import_createClass = require_createClass();
|
|
8410
|
+
var import_inherits = require_inherits();
|
|
8411
|
+
var import_createSuper = require_createSuper();
|
|
8412
|
+
var import_toConsumableArray = require_toConsumableArray();
|
|
8413
|
+
var import_typeof = require_typeof();
|
|
8414
|
+
var import_taggedTemplateLiteral = require_taggedTemplateLiteral();
|
|
8415
|
+
var import_defineProperty = require_defineProperty();
|
|
8415
8416
|
var StateManagedSelect$1 = /* @__PURE__ */ (0, react.forwardRef)(function(props, ref) {
|
|
8416
8417
|
var baseSelectProps = useStateManager(props);
|
|
8417
8418
|
return /* @__PURE__ */ react.createElement(Select$1, _extends({ ref }, baseSelectProps));
|
|
@@ -8434,7 +8435,7 @@ const propsToBeRemoved = [
|
|
|
8434
8435
|
"isHidden",
|
|
8435
8436
|
"cx"
|
|
8436
8437
|
];
|
|
8437
|
-
const Input$1 = ({ innerRef, placeholder, hasValue
|
|
8438
|
+
const Input$1 = ({ innerRef, placeholder, hasValue, ...props }) => {
|
|
8438
8439
|
const inputProps = Object.entries(props).reduce((acc, [key, value]) => {
|
|
8439
8440
|
if (!propsToBeRemoved.includes(key)) acc[key] = value;
|
|
8440
8441
|
return acc;
|
|
@@ -8465,7 +8466,7 @@ const getClassNames = (classNames$2) => ({
|
|
|
8465
8466
|
placeholder: () => "hidden",
|
|
8466
8467
|
valueContainer: () => classNames$2.valueContainer
|
|
8467
8468
|
});
|
|
8468
|
-
const Multiselect = ({ disabled, readOnly = false, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size: size$1, variant, placeholder, description, emptyState, onChange, onSelectionChange, width
|
|
8469
|
+
const Multiselect = ({ disabled, readOnly = false, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size: size$1, variant, placeholder, description, emptyState, onChange, onSelectionChange, width, ...rest }) => {
|
|
8469
8470
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
8470
8471
|
component: "MultiSelect",
|
|
8471
8472
|
size: size$1,
|
|
@@ -8565,7 +8566,7 @@ const Multiselect = ({ disabled, readOnly = false, items, selectedItems, default
|
|
|
8565
8566
|
|
|
8566
8567
|
//#endregion
|
|
8567
8568
|
//#region src/icons/Plus.tsx
|
|
8568
|
-
const Plus = ({ size: size$1 = 24, className
|
|
8569
|
+
const Plus = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
8569
8570
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8570
8571
|
width: size$1,
|
|
8571
8572
|
height: size$1,
|
|
@@ -8582,7 +8583,7 @@ const Plus = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ (0,
|
|
|
8582
8583
|
|
|
8583
8584
|
//#endregion
|
|
8584
8585
|
//#region src/NumberField/StepButton.tsx
|
|
8585
|
-
const _StepButton = ({ direction, className
|
|
8586
|
+
const _StepButton = ({ direction, className, ...props }) => {
|
|
8586
8587
|
const Icon$2 = direction === "up" ? Plus : Minus;
|
|
8587
8588
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.Button, {
|
|
8588
8589
|
className: (0, __marigold_system.cn)(["flex items-center justify-center", "cursor-pointer data-disabled:cursor-not-allowed"], className),
|
|
@@ -8593,7 +8594,7 @@ const _StepButton = ({ direction, className,...props }) => {
|
|
|
8593
8594
|
|
|
8594
8595
|
//#endregion
|
|
8595
8596
|
//#region src/NumberField/NumberField.tsx
|
|
8596
|
-
const _NumberField = (0, react.forwardRef)(({ variant, size: size$1, disabled, required, readOnly, error, hideStepper
|
|
8597
|
+
const _NumberField = (0, react.forwardRef)(({ variant, size: size$1, disabled, required, readOnly, error, hideStepper, ...rest }, ref) => {
|
|
8597
8598
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
8598
8599
|
component: "NumberField",
|
|
8599
8600
|
size: size$1,
|
|
@@ -8652,7 +8653,7 @@ const NavigationButton = (props) => {
|
|
|
8652
8653
|
const ref = (0, react.useRef)(null);
|
|
8653
8654
|
const { navigationButton } = (0, __marigold_system.useClassNames)({ component: "Pagination" });
|
|
8654
8655
|
let { buttonProps } = (0, __react_aria_button.useButton)(props, ref);
|
|
8655
|
-
let { children, isSelected, isDisabled,
|
|
8656
|
+
let { children, isSelected, isDisabled, controlLabel, position: position$1, ...rest } = props;
|
|
8656
8657
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
8657
8658
|
ref,
|
|
8658
8659
|
...buttonProps,
|
|
@@ -8718,17 +8719,17 @@ const InnerPagination = ({ currentPage, pageSize, totalPages, pageRange, setCurr
|
|
|
8718
8719
|
const isFirstPage = currentPage === 1;
|
|
8719
8720
|
const isLastPage = currentPage === totalPages || totalPages === 0;
|
|
8720
8721
|
const isFirstRender = (0, react.useRef)(true);
|
|
8722
|
+
const handlePageChange = (0, react.useCallback)((newPage) => {
|
|
8723
|
+
setCurrentPage(newPage);
|
|
8724
|
+
if (onChange) onChange(newPage);
|
|
8725
|
+
}, [setCurrentPage, onChange]);
|
|
8721
8726
|
(0, react.useEffect)(() => {
|
|
8722
8727
|
if (isFirstRender.current) {
|
|
8723
8728
|
isFirstRender.current = false;
|
|
8724
8729
|
return;
|
|
8725
8730
|
}
|
|
8726
8731
|
handlePageChange(1);
|
|
8727
|
-
}, [pageSize]);
|
|
8728
|
-
const handlePageChange = (newPage) => {
|
|
8729
|
-
setCurrentPage(newPage);
|
|
8730
|
-
if (onChange) onChange(newPage);
|
|
8731
|
-
};
|
|
8732
|
+
}, [pageSize, handlePageChange]);
|
|
8732
8733
|
const { icon, container } = (0, __marigold_system.useClassNames)({ component: "Pagination" });
|
|
8733
8734
|
const handleKeyDown = (onEnter) => (e$1) => {
|
|
8734
8735
|
if (e$1.key === "ArrowRight") {
|
|
@@ -8775,7 +8776,7 @@ const InnerPagination = ({ currentPage, pageSize, totalPages, pageRange, setCurr
|
|
|
8775
8776
|
})
|
|
8776
8777
|
] });
|
|
8777
8778
|
};
|
|
8778
|
-
const _Pagination = ({ defaultPage = 1, page, totalItems, pageSize
|
|
8779
|
+
const _Pagination = ({ defaultPage = 1, page, totalItems, pageSize, ...props }) => {
|
|
8779
8780
|
const [currentPage, setCurrentPage] = (0, react.useState)(page ?? defaultPage);
|
|
8780
8781
|
const totalPages = Math.ceil(totalItems / pageSize);
|
|
8781
8782
|
const pageRange = usePageRange({
|
|
@@ -8841,7 +8842,7 @@ const CollapsibleGroup = ({ children }) => {
|
|
|
8841
8842
|
children
|
|
8842
8843
|
});
|
|
8843
8844
|
};
|
|
8844
|
-
const _RadioGroup = ({ variant, size: size$1, label, error, disabled, required, readOnly, description, errorMessage, orientation = "vertical", children, width, collapseAt
|
|
8845
|
+
const _RadioGroup = ({ variant, size: size$1, label, error, disabled, required, readOnly, description, errorMessage, orientation = "vertical", children, width, collapseAt, ...rest }) => {
|
|
8845
8846
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
8846
8847
|
component: "Radio",
|
|
8847
8848
|
variant,
|
|
@@ -8883,13 +8884,13 @@ const _RadioGroup = ({ variant, size: size$1, label, error, disabled, required,
|
|
|
8883
8884
|
|
|
8884
8885
|
//#endregion
|
|
8885
8886
|
//#region src/Radio/Radio.tsx
|
|
8886
|
-
const Icon = ({ checked, className
|
|
8887
|
+
const Icon = ({ checked, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
8887
8888
|
className: (0, __marigold_system.cn)("flex h-4 w-4 items-center justify-center rounded-full border p-1", className),
|
|
8888
8889
|
"aria-hidden": "true",
|
|
8889
8890
|
...props,
|
|
8890
8891
|
children: checked ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "size-full rounded-full bg-current" }) : null
|
|
8891
8892
|
});
|
|
8892
|
-
const _Radio = (0, react.forwardRef)(({ value, disabled, width, children
|
|
8893
|
+
const _Radio = (0, react.forwardRef)(({ value, disabled, width, children, ...props }, ref) => {
|
|
8893
8894
|
const { variant, size: size$1, width: groupWidth } = useRadioGroupContext();
|
|
8894
8895
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
8895
8896
|
component: "Radio",
|
|
@@ -8915,7 +8916,7 @@ _Radio.Group = _RadioGroup;
|
|
|
8915
8916
|
|
|
8916
8917
|
//#endregion
|
|
8917
8918
|
//#region src/Scrollable/Scrollable.tsx
|
|
8918
|
-
const Scrollable = ({ children, width = "full", height
|
|
8919
|
+
const Scrollable = ({ children, width = "full", height, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
8919
8920
|
...props,
|
|
8920
8921
|
className: (0, __marigold_system.cn)(["sticky h-(--height) overflow-auto overscroll-none", __marigold_system.width[width]]),
|
|
8921
8922
|
style: (0, __marigold_system.createVar)({ height }),
|
|
@@ -8924,7 +8925,7 @@ const Scrollable = ({ children, width = "full", height,...props }) => /* @__PURE
|
|
|
8924
8925
|
|
|
8925
8926
|
//#endregion
|
|
8926
8927
|
//#region src/SearchField/SearchField.tsx
|
|
8927
|
-
const _SearchField = (0, react.forwardRef)(({ disabled, required, readOnly, error,
|
|
8928
|
+
const _SearchField = (0, react.forwardRef)(({ disabled, required, readOnly, error, ...rest }, ref) => {
|
|
8928
8929
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FieldBase, {
|
|
8929
8930
|
as: react_aria_components.SearchField,
|
|
8930
8931
|
...rest,
|
|
@@ -8941,7 +8942,7 @@ const _SearchField = (0, react.forwardRef)(({ disabled, required, readOnly, erro
|
|
|
8941
8942
|
|
|
8942
8943
|
//#endregion
|
|
8943
8944
|
//#region src/icons/CircleAlert.tsx
|
|
8944
|
-
const CircleAlert = ({ size: size$1 = 24, className
|
|
8945
|
+
const CircleAlert = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
8945
8946
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8946
8947
|
width: size$1,
|
|
8947
8948
|
height: size$1,
|
|
@@ -8976,7 +8977,7 @@ const CircleAlert = ({ size: size$1 = 24, className,...props }) => /* @__PURE__
|
|
|
8976
8977
|
|
|
8977
8978
|
//#endregion
|
|
8978
8979
|
//#region src/icons/CircleCheck.tsx
|
|
8979
|
-
const CircleCheck = ({ size: size$1 = 24, className
|
|
8980
|
+
const CircleCheck = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
8980
8981
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8981
8982
|
width: size$1,
|
|
8982
8983
|
height: size$1,
|
|
@@ -9028,7 +9029,7 @@ const icons$1 = {
|
|
|
9028
9029
|
warning: CircleAlert,
|
|
9029
9030
|
error: TriangleAlert
|
|
9030
9031
|
};
|
|
9031
|
-
const SectionMessage = ({ variant = "info", size: size$1, children, closeButton, close, onCloseChange
|
|
9032
|
+
const SectionMessage = ({ variant = "info", size: size$1, children, closeButton, close, onCloseChange, ...props }) => {
|
|
9032
9033
|
const buttonRef = (0, react.useRef)(null);
|
|
9033
9034
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
9034
9035
|
component: "SectionMessage",
|
|
@@ -9072,7 +9073,7 @@ SectionMessage.Content = SectionMessageContent;
|
|
|
9072
9073
|
|
|
9073
9074
|
//#endregion
|
|
9074
9075
|
//#region src/Select/Select.tsx
|
|
9075
|
-
const SelectBase = (0, react.forwardRef)(function Select$2({ disabled, required, items, variant, size: size$1, error, open, children
|
|
9076
|
+
const SelectBase = (0, react.forwardRef)(function Select$2({ disabled, required, items, variant, size: size$1, error, open, children, ...rest }, ref) {
|
|
9076
9077
|
const props = {
|
|
9077
9078
|
isDisabled: disabled,
|
|
9078
9079
|
isInvalid: error,
|
|
@@ -9131,7 +9132,7 @@ const SelectionIndicator = ({ selectionMode }) => {
|
|
|
9131
9132
|
});
|
|
9132
9133
|
}
|
|
9133
9134
|
};
|
|
9134
|
-
const _SelectListItem = (0, react.forwardRef)(({ children, disabled
|
|
9135
|
+
const _SelectListItem = (0, react.forwardRef)(({ children, disabled, ...props }, ref) => {
|
|
9135
9136
|
let textValue = typeof children === "string" ? children : void 0;
|
|
9136
9137
|
const { classNames: classNames$2 } = useSelectListContext();
|
|
9137
9138
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.GridListItem, {
|
|
@@ -9149,7 +9150,7 @@ const _SelectListItem = (0, react.forwardRef)(({ children, disabled,...props },
|
|
|
9149
9150
|
|
|
9150
9151
|
//#endregion
|
|
9151
9152
|
//#region src/SelectList/SelectList.tsx
|
|
9152
|
-
const _SelectList = (0, react.forwardRef)(({ onChange
|
|
9153
|
+
const _SelectList = (0, react.forwardRef)(({ onChange, ...rest }, ref) => {
|
|
9153
9154
|
const classNames$2 = (0, __marigold_system.useClassNames)({ component: "ListBox" });
|
|
9154
9155
|
const props = {
|
|
9155
9156
|
onSelectionChange: onChange,
|
|
@@ -9174,7 +9175,7 @@ _SelectList.Action = SelectListAction;
|
|
|
9174
9175
|
|
|
9175
9176
|
//#endregion
|
|
9176
9177
|
//#region src/Slider/Slider.tsx
|
|
9177
|
-
const _Slider = (0, react.forwardRef)(({ variant, size: size$1, width = "full", disabled, label, name, thumbLabels
|
|
9178
|
+
const _Slider = (0, react.forwardRef)(({ variant, size: size$1, width = "full", disabled, label, name, thumbLabels, ...rest }, ref) => {
|
|
9178
9179
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
9179
9180
|
component: "Slider",
|
|
9180
9181
|
variant,
|
|
@@ -9228,11 +9229,12 @@ const Split = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
|
9228
9229
|
|
|
9229
9230
|
//#endregion
|
|
9230
9231
|
//#region src/Stack/Stack.tsx
|
|
9231
|
-
const Stack = ({ children, space = 0, stretch = false, alignX, alignY, asList = false
|
|
9232
|
+
const Stack = ({ children, space = 0, stretch = false, alignX = "stretch", alignY, asList = false, ...props }) => {
|
|
9232
9233
|
const Component$1 = asList ? "ul" : "div";
|
|
9233
9234
|
const stackChildren = asList ? react.Children.map(children, (child) => child != null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", { children: child }) : null) : children;
|
|
9234
9235
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Component$1, {
|
|
9235
|
-
className: (0, __marigold_system.cn)("flex flex-col
|
|
9236
|
+
className: (0, __marigold_system.cn)("flex flex-col gap-y-(--space)", alignX && __marigold_system.alignment?.vertical?.alignmentX[alignX], alignY && __marigold_system.alignment?.vertical?.alignmentY[alignY], stretch && "size-full"),
|
|
9237
|
+
style: (0, __marigold_system.createSpacingVar)("space", `${space}`),
|
|
9236
9238
|
...props,
|
|
9237
9239
|
children: stackChildren
|
|
9238
9240
|
});
|
|
@@ -9240,7 +9242,7 @@ const Stack = ({ children, space = 0, stretch = false, alignX, alignY, asList =
|
|
|
9240
9242
|
|
|
9241
9243
|
//#endregion
|
|
9242
9244
|
//#region src/Switch/Switch.tsx
|
|
9243
|
-
const _Switch = (0, react.forwardRef)(({ variant, size: size$1, width = "full", label, selected, disabled, readOnly
|
|
9245
|
+
const _Switch = (0, react.forwardRef)(({ variant, size: size$1, width = "full", label, selected, disabled, readOnly, ...rest }, ref) => {
|
|
9244
9246
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
9245
9247
|
component: "Switch",
|
|
9246
9248
|
size: size$1,
|
|
@@ -9334,7 +9336,7 @@ const TableCell = ({ cell, align = "left", alignY = "middle" }) => {
|
|
|
9334
9336
|
/**
|
|
9335
9337
|
* Map `react-aria` props to ours (no "is"-prefix)
|
|
9336
9338
|
*/
|
|
9337
|
-
const mapCheckboxProps = ({ checkboxProps: { isIndeterminate, isSelected, isDisabled, defaultSelected
|
|
9339
|
+
const mapCheckboxProps = ({ checkboxProps: { isIndeterminate, isSelected, isDisabled, defaultSelected, ...rest } }) => {
|
|
9338
9340
|
return { checkboxProps: {
|
|
9339
9341
|
disabled: isDisabled,
|
|
9340
9342
|
checked: isSelected,
|
|
@@ -9370,7 +9372,7 @@ const TableCheckboxCell = ({ cell, alignY = "middle" }) => {
|
|
|
9370
9372
|
|
|
9371
9373
|
//#endregion
|
|
9372
9374
|
//#region src/icons/SortDown.tsx
|
|
9373
|
-
const SortDown = ({ size: size$1 = 24, className
|
|
9375
|
+
const SortDown = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__marigold_system.SVG, {
|
|
9374
9376
|
width: size$1,
|
|
9375
9377
|
height: size$1,
|
|
9376
9378
|
viewBox: "0 0 24 24",
|
|
@@ -9381,7 +9383,7 @@ const SortDown = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */
|
|
|
9381
9383
|
|
|
9382
9384
|
//#endregion
|
|
9383
9385
|
//#region src/icons/SortUp.tsx
|
|
9384
|
-
const SortUp = ({ size: size$1 = 24, className
|
|
9386
|
+
const SortUp = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__marigold_system.SVG, {
|
|
9385
9387
|
width: size$1,
|
|
9386
9388
|
height: size$1,
|
|
9387
9389
|
viewBox: "0 0 24 24",
|
|
@@ -9449,7 +9451,7 @@ const TableHeaderRow = ({ item, className, children }) => {
|
|
|
9449
9451
|
//#region src/Table/TableRow.tsx
|
|
9450
9452
|
const TableRow = ({ children, row }) => {
|
|
9451
9453
|
const ref = (0, react.useRef)(null);
|
|
9452
|
-
const { interactive, state
|
|
9454
|
+
const { interactive, state, ...ctx } = useTableContext();
|
|
9453
9455
|
const { variant, size: size$1 } = row.props;
|
|
9454
9456
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
9455
9457
|
component: "Table",
|
|
@@ -9504,7 +9506,7 @@ const TableSelectAllCell = ({ column: column$1, width = "auto", align = "left" }
|
|
|
9504
9506
|
|
|
9505
9507
|
//#endregion
|
|
9506
9508
|
//#region src/Table/Table.tsx
|
|
9507
|
-
const Table = ({ variant, size: size$1, stretch = false, selectionMode = "none", disableKeyboardNavigation = false, stickyHeader, emptyState, alignY = "middle"
|
|
9509
|
+
const Table = ({ variant, size: size$1, stretch = false, selectionMode = "none", disableKeyboardNavigation = false, stickyHeader, emptyState, alignY = "middle", ...props }) => {
|
|
9508
9510
|
const interactive = selectionMode !== "none";
|
|
9509
9511
|
const tableRef = (0, react.useRef)(null);
|
|
9510
9512
|
const state = (0, __react_stately_table.useTableState)({
|
|
@@ -9606,7 +9608,7 @@ const _Tab = (props) => {
|
|
|
9606
9608
|
|
|
9607
9609
|
//#endregion
|
|
9608
9610
|
//#region src/Tabs/TabList.tsx
|
|
9609
|
-
const _TabList = ({ space = 2
|
|
9611
|
+
const _TabList = ({ space = 2, ...props }) => {
|
|
9610
9612
|
const { classNames: classNames$2 } = useTabContext();
|
|
9611
9613
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.TabList, {
|
|
9612
9614
|
...props,
|
|
@@ -9628,7 +9630,7 @@ const _TabPanel = (props) => {
|
|
|
9628
9630
|
|
|
9629
9631
|
//#endregion
|
|
9630
9632
|
//#region src/Tabs/Tabs.tsx
|
|
9631
|
-
const _Tabs = ({ disabled, variant, size: size$1 = "medium"
|
|
9633
|
+
const _Tabs = ({ disabled, variant, size: size$1 = "medium", ...rest }) => {
|
|
9632
9634
|
const props = {
|
|
9633
9635
|
isDisabled: disabled,
|
|
9634
9636
|
...rest
|
|
@@ -9685,7 +9687,7 @@ const TagGroupRemoveAll = ({ className, onRemove }) => {
|
|
|
9685
9687
|
|
|
9686
9688
|
//#endregion
|
|
9687
9689
|
//#region src/TagGroup/TagGroup.tsx
|
|
9688
|
-
const _TagGroup = ({ items, children, emptyState, variant, size: size$1, name, removeAll
|
|
9690
|
+
const _TagGroup = ({ items, children, emptyState, variant, size: size$1, name, removeAll, ...rest }) => {
|
|
9689
9691
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
9690
9692
|
component: "Tag",
|
|
9691
9693
|
variant,
|
|
@@ -9711,7 +9713,7 @@ const _TagGroup = ({ items, children, emptyState, variant, size: size$1, name, r
|
|
|
9711
9713
|
|
|
9712
9714
|
//#endregion
|
|
9713
9715
|
//#region src/TagGroup/Tag.tsx
|
|
9714
|
-
const _Tag = ({ variant, size: size$1, children, disabled
|
|
9716
|
+
const _Tag = ({ variant, size: size$1, children, disabled, ...rest }) => {
|
|
9715
9717
|
let textValue = typeof children === "string" ? children : void 0;
|
|
9716
9718
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
9717
9719
|
component: "Tag",
|
|
@@ -9733,7 +9735,7 @@ _Tag.Group = _TagGroup;
|
|
|
9733
9735
|
|
|
9734
9736
|
//#endregion
|
|
9735
9737
|
//#region src/Text/Text.tsx
|
|
9736
|
-
const _Text = ({ variant, size: size$1, color, align, cursor: cursor$1, weight, fontSize, fontStyle, wrap, whiteSpace, children, as = "div"
|
|
9738
|
+
const _Text = ({ variant, size: size$1, color, align, cursor: cursor$1, weight, fontSize, fontStyle, wrap, whiteSpace, children, as = "div", ...props }) => {
|
|
9737
9739
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
9738
9740
|
component: "Text",
|
|
9739
9741
|
variant,
|
|
@@ -9756,7 +9758,7 @@ const _Text = ({ variant, size: size$1, color, align, cursor: cursor$1, weight,
|
|
|
9756
9758
|
|
|
9757
9759
|
//#endregion
|
|
9758
9760
|
//#region src/TextArea/TextArea.tsx
|
|
9759
|
-
const _TextArea = (0, react.forwardRef)(({ variant, size: size$1, required, disabled, readOnly, error, rows
|
|
9761
|
+
const _TextArea = (0, react.forwardRef)(({ variant, size: size$1, required, disabled, readOnly, error, rows, ...rest }, ref) => {
|
|
9760
9762
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
9761
9763
|
component: "TextArea",
|
|
9762
9764
|
variant,
|
|
@@ -9781,7 +9783,7 @@ const _TextArea = (0, react.forwardRef)(({ variant, size: size$1, required, disa
|
|
|
9781
9783
|
|
|
9782
9784
|
//#endregion
|
|
9783
9785
|
//#region src/TextField/TextField.tsx
|
|
9784
|
-
const _TextField = (0, react.forwardRef)(({ required, disabled, readOnly, error
|
|
9786
|
+
const _TextField = (0, react.forwardRef)(({ required, disabled, readOnly, error, ...rest }, ref) => {
|
|
9785
9787
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FieldBase, {
|
|
9786
9788
|
as: react_aria_components.TextField,
|
|
9787
9789
|
isDisabled: disabled,
|
|
@@ -9795,7 +9797,7 @@ const _TextField = (0, react.forwardRef)(({ required, disabled, readOnly, error,
|
|
|
9795
9797
|
|
|
9796
9798
|
//#endregion
|
|
9797
9799
|
//#region src/Tiles/Tiles.tsx
|
|
9798
|
-
const Tiles = ({ space = 0, stretch = false, equalHeight = false, tilesWidth = "250px", children
|
|
9800
|
+
const Tiles = ({ space = 0, stretch = false, equalHeight = false, tilesWidth = "250px", children, ...props }) => {
|
|
9799
9801
|
let column$1 = `min(${tilesWidth}, 100%)`;
|
|
9800
9802
|
/**
|
|
9801
9803
|
* Adding `minmax` with `1fr` will make the tiles distribute the
|
|
@@ -9816,7 +9818,7 @@ const Tiles = ({ space = 0, stretch = false, equalHeight = false, tilesWidth = "
|
|
|
9816
9818
|
|
|
9817
9819
|
//#endregion
|
|
9818
9820
|
//#region src/TimeField/TimeField.tsx
|
|
9819
|
-
const _TimeField = (0, react.forwardRef)(({ required, disabled, readOnly, error, variant, size: size$1, width = "full"
|
|
9821
|
+
const _TimeField = (0, react.forwardRef)(({ required, disabled, readOnly, error, variant, size: size$1, width = "full", ...rest }, ref) => {
|
|
9820
9822
|
const classNames$2 = (0, __marigold_system.useClassNames)({
|
|
9821
9823
|
component: "DateField",
|
|
9822
9824
|
variant,
|
|
@@ -9946,7 +9948,7 @@ const TooltipArrow = () => {
|
|
|
9946
9948
|
|
|
9947
9949
|
//#endregion
|
|
9948
9950
|
//#region src/Tooltip/TooltipTrigger.tsx
|
|
9949
|
-
const _TooltipTrigger = ({ delay = 1e3, children, disabled, open
|
|
9951
|
+
const _TooltipTrigger = ({ delay = 1e3, children, disabled, open, ...rest }) => {
|
|
9950
9952
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_aria_components.TooltipTrigger, {
|
|
9951
9953
|
...rest,
|
|
9952
9954
|
isDisabled: disabled,
|
|
@@ -9958,7 +9960,7 @@ const _TooltipTrigger = ({ delay = 1e3, children, disabled, open,...rest }) => {
|
|
|
9958
9960
|
|
|
9959
9961
|
//#endregion
|
|
9960
9962
|
//#region src/Tooltip/Tooltip.tsx
|
|
9961
|
-
const _Tooltip = ({ children, variant, size: size$1, open
|
|
9963
|
+
const _Tooltip = ({ children, variant, size: size$1, open, ...rest }) => {
|
|
9962
9964
|
const props = {
|
|
9963
9965
|
...rest,
|
|
9964
9966
|
isOpen: open
|
|
@@ -10127,7 +10129,7 @@ const XLoaderSvg = ({ className }) => {
|
|
|
10127
10129
|
]
|
|
10128
10130
|
});
|
|
10129
10131
|
};
|
|
10130
|
-
const BaseLoader = ({ variant, size: size$1, children, "aria-label": ariaLabel, loaderType = "circle"
|
|
10132
|
+
const BaseLoader = ({ variant, size: size$1, children, "aria-label": ariaLabel, loaderType = "circle", ...props }) => {
|
|
10131
10133
|
const stringFormatter = (0, __react_aria_i18n.useLocalizedStringFormatter)(intlMessages, "marigold");
|
|
10132
10134
|
const className = (0, __marigold_system.useClassNames)({
|
|
10133
10135
|
component: "Loader",
|
|
@@ -10180,7 +10182,7 @@ const LoaderSection = (props) => {
|
|
|
10180
10182
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BaseLoader, { ...props })
|
|
10181
10183
|
});
|
|
10182
10184
|
};
|
|
10183
|
-
const Loader = ({ mode, variant
|
|
10185
|
+
const Loader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LoaderFullScreen, {
|
|
10184
10186
|
variant: variant ?? "inverted",
|
|
10185
10187
|
...props
|
|
10186
10188
|
}) : mode === "section" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LoaderSection, {
|