@marigold/components 15.4.3 → 16.0.1
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.d.mts +253 -175
- package/dist/index.d.ts +253 -175
- package/dist/index.js +509 -240
- package/dist/index.mjs +548 -281
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useAsyncList, useListData } from "@react-stately/data";
|
|
2
2
|
import { DateFormat, NumericFormat, SVG, ThemeProvider, ThemeProvider as ThemeProvider$1, alignment, aspect, cn, createVar, cursorStyle, ensureCssVar, fontWeight, gapSpace, height, maxWidth, paddingBottom, paddingLeft, paddingRight, paddingSpace, paddingSpaceX, paddingSpaceY, paddingTop, placeItems, textAlign, textSize, textStyle, textWrap, useClassNames, useSmallScreen, useStateProps, useTheme, whiteSpace, width } from "@marigold/system";
|
|
3
|
-
import { Breadcrumb, Breadcrumbs, Button, ButtonContext, Calendar, CalendarCell, CalendarGrid, CalendarGridBody, CalendarStateContext, Checkbox, CheckboxContext, CheckboxGroup, CheckboxGroupStateContext, ComboBox, ComboBoxStateContext, DateField, DateInput, DatePicker, DateSegment, Dialog, DialogTrigger, Disclosure, DisclosureGroup, DisclosurePanel, DisclosureStateContext, FieldError, FieldErrorContext, Form, GridList, GridListItem, Group, Header, Heading, Input, InputContext, Label, Link, ListBox, ListBoxItem, ListBoxSection, ListStateContext, Menu, MenuItem, MenuSection, MenuTrigger, Modal, ModalOverlay, NumberField, OverlayArrow, OverlayTriggerStateContext, Popover, ProgressBar, Provider, Radio, RadioGroup, RadioGroupStateContext, RouterProvider, SearchField, Select as Select$1, SelectValue, Separator, Slider, SliderOutput, SliderThumb, SliderTrack, Switch, Tab, TabList, TabPanel, Tabs, Tag, TagGroup, TagList, Text, TextArea, TextContext, TextField, TimeField, Tooltip, TooltipTrigger, UNSTABLE_Toast, UNSTABLE_ToastContent, UNSTABLE_ToastQueue, UNSTABLE_ToastRegion } from "react-aria-components";
|
|
4
|
-
import * as React
|
|
5
|
-
import
|
|
3
|
+
import { Breadcrumb, Breadcrumbs, Button, ButtonContext, Calendar, CalendarCell, CalendarGrid, CalendarGridBody, CalendarStateContext, Checkbox, CheckboxContext, CheckboxGroup, CheckboxGroupStateContext, ComboBox, ComboBoxStateContext, DateField, DateFieldStateContext, DateInput, DatePicker, DatePickerStateContext, DateSegment, Dialog, DialogTrigger, Disclosure, DisclosureGroup, DisclosurePanel, DisclosureStateContext, DropZone, FieldError, FieldErrorContext, FileTrigger, Form, GridList, GridListItem, Group, Header, Heading, Input, InputContext, Label, Link, ListBox, ListBoxItem, ListBoxSection, ListStateContext, Menu, MenuItem, MenuSection, MenuTrigger, Modal, ModalOverlay, NumberField, OverlayArrow, OverlayTriggerStateContext, Popover, ProgressBar, Provider, Radio, RadioGroup, RadioGroupStateContext, RouterProvider, SearchField, Select as Select$1, SelectValue, Separator, Slider, SliderOutput, SliderThumb, SliderTrack, Switch, Tab, TabList, TabPanel, Tabs, Tag, TagGroup, TagList, Text, TextArea, TextContext, TextField, TimeField, Tooltip, TooltipTrigger, UNSTABLE_Toast, UNSTABLE_ToastContent, UNSTABLE_ToastQueue, UNSTABLE_ToastRegion } from "react-aria-components";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { Children, Component, Fragment, cloneElement, createContext, forwardRef, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { I18nProvider, useDateFormatter, useLocale, useLocalizedStringFormatter } from "@react-aria/i18n";
|
|
8
|
-
import { startOfWeek, today } from "@internationalized/date";
|
|
8
|
+
import { CalendarDate, startOfWeek, today } from "@internationalized/date";
|
|
9
9
|
import { useCalendarGrid } from "@react-aria/calendar";
|
|
10
10
|
import { chain, filterDOMProps, mergeProps, useEnterAnimation, useExitAnimation, useId, useObjectRef, useViewportSize } from "@react-aria/utils";
|
|
11
11
|
import { PressResponder, useHover } from "@react-aria/interactions";
|
|
@@ -124,8 +124,11 @@ const AccordionItem = ({ children, disabled, expanded,...props }) => {
|
|
|
124
124
|
const AccordionPanel = ({ children }) => {
|
|
125
125
|
const { classNames: classNames$2 } = useAccordionContext();
|
|
126
126
|
return /* @__PURE__ */ jsx(DisclosurePanel, {
|
|
127
|
-
className: classNames$2.
|
|
128
|
-
children
|
|
127
|
+
className: classNames$2.panel,
|
|
128
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
129
|
+
className: classNames$2.content,
|
|
130
|
+
children
|
|
131
|
+
})
|
|
129
132
|
});
|
|
130
133
|
};
|
|
131
134
|
|
|
@@ -268,19 +271,15 @@ const HelpText = ({ variant, size: size$1, description, errorMessage,...props })
|
|
|
268
271
|
//#endregion
|
|
269
272
|
//#region src/Label/Label.tsx
|
|
270
273
|
const _Label = ({ size: size$1, variant, children,...props }) => {
|
|
271
|
-
const
|
|
274
|
+
const className = useClassNames({
|
|
272
275
|
component: "Label",
|
|
273
276
|
size: size$1,
|
|
274
277
|
variant
|
|
275
278
|
});
|
|
276
|
-
return /* @__PURE__ */
|
|
279
|
+
return /* @__PURE__ */ jsx(Label, {
|
|
277
280
|
...props,
|
|
278
|
-
className: cn(
|
|
279
|
-
children
|
|
280
|
-
"aria-hidden": "true",
|
|
281
|
-
className: cn("hidden", classNames$2.indicator),
|
|
282
|
-
children: "*"
|
|
283
|
-
})]
|
|
281
|
+
className: cn(className, "inline-flex"),
|
|
282
|
+
children
|
|
284
283
|
});
|
|
285
284
|
};
|
|
286
285
|
|
|
@@ -319,40 +318,47 @@ const _FieldBase = (props, ref) => {
|
|
|
319
318
|
const FieldBase = fixedForwardRef(_FieldBase);
|
|
320
319
|
|
|
321
320
|
//#endregion
|
|
322
|
-
//#region src/
|
|
323
|
-
const
|
|
321
|
+
//#region src/ProgressCircle/ProgressCircle.tsx
|
|
322
|
+
const ProgressCircleSvg = ({ size: size$1 = "16", variant }) => {
|
|
323
|
+
const classNames$2 = useClassNames({
|
|
324
|
+
component: "ProgressCircle",
|
|
325
|
+
variant,
|
|
326
|
+
size: size$1
|
|
327
|
+
});
|
|
324
328
|
let strokeWidth = 3;
|
|
325
329
|
if (size$1 <= "24") strokeWidth = 2;
|
|
326
330
|
else if (size$1 >= "32") strokeWidth = 4;
|
|
327
331
|
const radius = `calc(50% - ${strokeWidth / 2}px)`;
|
|
328
|
-
|
|
332
|
+
return /* @__PURE__ */ jsxs(SVG, {
|
|
333
|
+
className: cn("animate-rotate-spinner origin-center fill-none", classNames$2.loader),
|
|
334
|
+
size: size$1,
|
|
335
|
+
"aria-hidden": "true",
|
|
336
|
+
role: "img",
|
|
337
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
338
|
+
cx: "50%",
|
|
339
|
+
cy: "50%",
|
|
340
|
+
r: radius,
|
|
341
|
+
strokeWidth,
|
|
342
|
+
className: "stroke-transparent"
|
|
343
|
+
}), /* @__PURE__ */ jsx("circle", {
|
|
344
|
+
cx: "50%",
|
|
345
|
+
cy: "50%",
|
|
346
|
+
r: radius,
|
|
347
|
+
strokeWidth,
|
|
348
|
+
pathLength: "100",
|
|
349
|
+
strokeDasharray: "100 200",
|
|
350
|
+
strokeDashoffset: "0",
|
|
351
|
+
strokeLinecap: "round",
|
|
352
|
+
className: cn("animate-progress-cycle origin-center -rotate-90", classNames$2.container)
|
|
353
|
+
})]
|
|
354
|
+
});
|
|
355
|
+
};
|
|
356
|
+
const ProgressCircle = ({ size: size$1 = "16",...props }) => {
|
|
329
357
|
return /* @__PURE__ */ jsx(ProgressBar, {
|
|
330
358
|
...props,
|
|
331
359
|
"aria-label": "loading",
|
|
332
360
|
isIndeterminate: true,
|
|
333
|
-
children: /* @__PURE__ */
|
|
334
|
-
className: "animate-rotate-spinner origin-center fill-none",
|
|
335
|
-
size: size$1,
|
|
336
|
-
"aria-hidden": "true",
|
|
337
|
-
role: "img",
|
|
338
|
-
children: [/* @__PURE__ */ jsx("circle", {
|
|
339
|
-
cx: "50%",
|
|
340
|
-
cy: "50%",
|
|
341
|
-
r: radius,
|
|
342
|
-
strokeWidth,
|
|
343
|
-
className: "stroke-transparent"
|
|
344
|
-
}), /* @__PURE__ */ jsx("circle", {
|
|
345
|
-
cx: "50%",
|
|
346
|
-
cy: "50%",
|
|
347
|
-
r: radius,
|
|
348
|
-
strokeWidth,
|
|
349
|
-
pathLength: "100",
|
|
350
|
-
strokeDasharray: "100 200",
|
|
351
|
-
strokeDashoffset: "0",
|
|
352
|
-
strokeLinecap: "round",
|
|
353
|
-
className: cn("animate-progress-cycle origin-center -rotate-90", classNames$2)
|
|
354
|
-
})]
|
|
355
|
-
})
|
|
361
|
+
children: /* @__PURE__ */ jsx(ProgressCircleSvg, { size: size$1 })
|
|
356
362
|
});
|
|
357
363
|
};
|
|
358
364
|
|
|
@@ -441,7 +447,7 @@ const SearchInput = forwardRef(({ className, loading, onClear,...props }, ref) =
|
|
|
441
447
|
className: cn("[&::-webkit-search-cancel-button]:hidden", className?.input),
|
|
442
448
|
ref,
|
|
443
449
|
icon: /* @__PURE__ */ jsx(Search, { size: "16" }),
|
|
444
|
-
action: loading ? /* @__PURE__ */ jsx(
|
|
450
|
+
action: loading ? /* @__PURE__ */ jsx(ProgressCircle, {}) : /* @__PURE__ */ jsx(Button, {
|
|
445
451
|
className: className?.action,
|
|
446
452
|
onPress: () => onClear?.(),
|
|
447
453
|
"aria-label": stringFormatter.format("Clear search"),
|
|
@@ -593,7 +599,12 @@ const intlMessages = {
|
|
|
593
599
|
showMore: "Mehr anzeigen",
|
|
594
600
|
showMoreCount: "{count} weitere anzeigen",
|
|
595
601
|
showLess: "Weniger anzeigen",
|
|
596
|
-
showLessCount: "{count} weniger anzeigen"
|
|
602
|
+
showLessCount: "{count} weniger anzeigen",
|
|
603
|
+
dropZoneLabel: "Dateien hierher ziehen",
|
|
604
|
+
uploadLabel: "Hochladen",
|
|
605
|
+
moreInfo: "Mehr Informationen",
|
|
606
|
+
help: "Hilfe",
|
|
607
|
+
hiddenBreadcrumbs: "Diese Breadcrumbs sind ausgeblendet"
|
|
597
608
|
},
|
|
598
609
|
"en-US": {
|
|
599
610
|
cancel: "Cancel",
|
|
@@ -603,14 +614,19 @@ const intlMessages = {
|
|
|
603
614
|
showMore: "Show more",
|
|
604
615
|
showMoreCount: "Show {count} more",
|
|
605
616
|
showLess: "Show less",
|
|
606
|
-
showLessCount: "Show {count} less"
|
|
617
|
+
showLessCount: "Show {count} less",
|
|
618
|
+
dropZoneLabel: "Drop files here",
|
|
619
|
+
uploadLabel: "Upload",
|
|
620
|
+
moreInfo: "More information",
|
|
621
|
+
help: "Help",
|
|
622
|
+
hiddenBreadcrumbs: "These breadcrumbs are hidden"
|
|
607
623
|
}
|
|
608
624
|
};
|
|
609
625
|
|
|
610
626
|
//#endregion
|
|
611
627
|
//#region src/Autocomplete/Autocomplete.tsx
|
|
612
628
|
const AutocompleteInput = ({ loading, onSubmit, onClear, ref }) => {
|
|
613
|
-
const state =
|
|
629
|
+
const state = useContext(ComboBoxStateContext);
|
|
614
630
|
const classNames$2 = useClassNames({ component: "ComboBox" });
|
|
615
631
|
return /* @__PURE__ */ jsx(SearchInput, {
|
|
616
632
|
ref,
|
|
@@ -692,19 +708,32 @@ const ChevronRight = ({ size: size$1 = 24, className,...props }) => /* @__PURE__
|
|
|
692
708
|
children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" })
|
|
693
709
|
});
|
|
694
710
|
|
|
711
|
+
//#endregion
|
|
712
|
+
//#region src/IconButton/IconButton.tsx
|
|
713
|
+
const IconButton = ({ className, children, variant, size: size$1,...props }) => {
|
|
714
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
715
|
+
className: cn("shrink-0 cursor-pointer outline-0", useClassNames({
|
|
716
|
+
component: "IconButton",
|
|
717
|
+
variant,
|
|
718
|
+
size: size$1
|
|
719
|
+
}), className),
|
|
720
|
+
...props,
|
|
721
|
+
children
|
|
722
|
+
});
|
|
723
|
+
};
|
|
724
|
+
|
|
695
725
|
//#endregion
|
|
696
726
|
//#region src/Breadcrumbs/BreadcrumbEllipsis.tsx
|
|
697
727
|
const BreadcrumbEllipsis = ({ hiddenItems = [], disabled = false }) => {
|
|
728
|
+
const stringFormatter = useLocalizedStringFormatter(intlMessages, "marigold");
|
|
698
729
|
const { container, item: menuItem } = useClassNames({ component: "Menu" });
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
type: "button",
|
|
702
|
-
className: `${breadcrumbsItem} ${link}`,
|
|
730
|
+
return /* @__PURE__ */ jsxs(MenuTrigger, { children: [/* @__PURE__ */ jsx(IconButton, {
|
|
731
|
+
"aria-label": stringFormatter.format("hiddenBreadcrumbs"),
|
|
703
732
|
children: "..."
|
|
704
733
|
}), /* @__PURE__ */ jsx(_Popover, { children: /* @__PURE__ */ jsx(Menu, {
|
|
705
734
|
className: container,
|
|
706
735
|
children: hiddenItems.map((item, index$1) => {
|
|
707
|
-
if (!
|
|
736
|
+
if (!isValidElement(item)) return null;
|
|
708
737
|
const { href, children: itemChildren } = item.props;
|
|
709
738
|
return /* @__PURE__ */ jsx(MenuItem, {
|
|
710
739
|
className: menuItem,
|
|
@@ -728,7 +757,7 @@ const _Breadcrumbs = forwardRef(({ children, variant, size: size$1, disabled, ma
|
|
|
728
757
|
variant,
|
|
729
758
|
size: size$1
|
|
730
759
|
});
|
|
731
|
-
const items =
|
|
760
|
+
const items = Children.toArray(children);
|
|
732
761
|
const total = items.length;
|
|
733
762
|
const shouldCollapse = typeof maxVisibleItems === "number" && maxVisibleItems >= 2 && total > maxVisibleItems;
|
|
734
763
|
const ellipsis = /* @__PURE__ */ jsx(BreadcrumbsItem, {
|
|
@@ -746,7 +775,7 @@ const _Breadcrumbs = forwardRef(({ children, variant, size: size$1, disabled, ma
|
|
|
746
775
|
isDisabled: disabled,
|
|
747
776
|
className: container,
|
|
748
777
|
children: displayedItems.map((item, index$1) => {
|
|
749
|
-
if (!
|
|
778
|
+
if (!isValidElement(item)) return null;
|
|
750
779
|
const isLast = index$1 === displayedItems.length - 1;
|
|
751
780
|
const { href, children: itemChildren,...ariaProps } = item.props;
|
|
752
781
|
return /* @__PURE__ */ jsxs(Breadcrumb, {
|
|
@@ -759,7 +788,7 @@ const _Breadcrumbs = forwardRef(({ children, variant, size: size$1, disabled, ma
|
|
|
759
788
|
children: itemChildren
|
|
760
789
|
}), !isLast && /* @__PURE__ */ jsx(ChevronRight, {
|
|
761
790
|
"aria-hidden": "true",
|
|
762
|
-
size:
|
|
791
|
+
size: 16,
|
|
763
792
|
"data-testid": "breadcrumb-chevronright"
|
|
764
793
|
})]
|
|
765
794
|
}, `${href}-${index$1}`);
|
|
@@ -770,12 +799,11 @@ _Breadcrumbs.Item = BreadcrumbsItem;
|
|
|
770
799
|
|
|
771
800
|
//#endregion
|
|
772
801
|
//#region src/Breakout/Breakout.tsx
|
|
773
|
-
const Breakout = ({ children }) => {
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
};
|
|
802
|
+
const Breakout = ({ children }) => /* @__PURE__ */ jsx("div", {
|
|
803
|
+
"data-breakout": true,
|
|
804
|
+
className: "col-span-full!",
|
|
805
|
+
children
|
|
806
|
+
});
|
|
779
807
|
|
|
780
808
|
//#endregion
|
|
781
809
|
//#region src/Button/Button.tsx
|
|
@@ -793,7 +821,7 @@ const _Button = forwardRef(({ children, variant, size: size$1, disabled, loading
|
|
|
793
821
|
isDisabled: disabled,
|
|
794
822
|
children: loading ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
795
823
|
className: "absolute",
|
|
796
|
-
children: /* @__PURE__ */ jsx(
|
|
824
|
+
children: /* @__PURE__ */ jsx(ProgressCircle, {})
|
|
797
825
|
}), /* @__PURE__ */ jsx("span", {
|
|
798
826
|
className: "invisible flex gap-[inherit]",
|
|
799
827
|
children
|
|
@@ -903,20 +931,6 @@ const CalendarListBox = ({ type, isDisabled, setSelectedDropdown }) => {
|
|
|
903
931
|
});
|
|
904
932
|
};
|
|
905
933
|
|
|
906
|
-
//#endregion
|
|
907
|
-
//#region src/IconButton/IconButton.tsx
|
|
908
|
-
const IconButton = ({ className, children, variant, size: size$1,...props }) => {
|
|
909
|
-
return /* @__PURE__ */ jsx(Button, {
|
|
910
|
-
className: cn("shrink-0 cursor-pointer outline-0", useClassNames({
|
|
911
|
-
component: "IconButton",
|
|
912
|
-
variant,
|
|
913
|
-
size: size$1
|
|
914
|
-
}), className),
|
|
915
|
-
...props,
|
|
916
|
-
children
|
|
917
|
-
});
|
|
918
|
-
};
|
|
919
|
-
|
|
920
934
|
//#endregion
|
|
921
935
|
//#region src/icons/ChevronLeft.tsx
|
|
922
936
|
const ChevronLeft = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsx("svg", {
|
|
@@ -1254,7 +1268,6 @@ const _CheckboxGroup = ({ children, variant, size: size$1, required, disabled, r
|
|
|
1254
1268
|
children: /* @__PURE__ */ jsx("div", {
|
|
1255
1269
|
role: "presentation",
|
|
1256
1270
|
"data-orientation": orientation,
|
|
1257
|
-
"data-group": "checkbox",
|
|
1258
1271
|
className: cn(classNames$2.group, "group/checkboxgroup flex items-start", orientation === "vertical" ? "flex-col gap-[0.5ch]" : "flex-row gap-[1.5ch]"),
|
|
1259
1272
|
children: /* @__PURE__ */ jsxs(CheckboxGroupContext.Provider, {
|
|
1260
1273
|
value: {
|
|
@@ -1408,7 +1421,7 @@ const _ComboBox = forwardRef(({ variant, size: size$1, required, disabled, readO
|
|
|
1408
1421
|
...props,
|
|
1409
1422
|
children: [/* @__PURE__ */ jsx(_Input, { action: /* @__PURE__ */ jsx(IconButton, {
|
|
1410
1423
|
className: classNames$2,
|
|
1411
|
-
children: loading ? /* @__PURE__ */ jsx(
|
|
1424
|
+
children: loading ? /* @__PURE__ */ jsx(ProgressCircle, {}) : /* @__PURE__ */ jsx(ChevronsVertical, { size: "16" })
|
|
1412
1425
|
}) }), /* @__PURE__ */ jsx(_Popover, { children: /* @__PURE__ */ jsx(_ListBox, {
|
|
1413
1426
|
renderEmptyState: () => emptyState ?? /* @__PURE__ */ jsx(Center, { children: stringFormatter.format("noResultsFound") }),
|
|
1414
1427
|
children
|
|
@@ -1431,9 +1444,9 @@ const containerHeadlineLength = {
|
|
|
1431
1444
|
long: "35ch"
|
|
1432
1445
|
};
|
|
1433
1446
|
const gridColsAlign = {
|
|
1434
|
-
left: "grid-cols-[minmax(0,max-content)_1fr_1fr]",
|
|
1435
|
-
center: "grid-cols-[1fr_minmax(0,max-content)_1fr]",
|
|
1436
|
-
right: "
|
|
1447
|
+
left: "has-[[data-breakout]]:grid-cols-[minmax(0,max-content)_1fr_1fr]",
|
|
1448
|
+
center: "has-[[data-breakout]]:grid-cols-[1fr_minmax(0,max-content)_1fr]",
|
|
1449
|
+
right: "has-[[data-breakout]]:grid-cols-[1fr_1fr_minmax(0,max-content)]"
|
|
1437
1450
|
};
|
|
1438
1451
|
const gridColumn = {
|
|
1439
1452
|
left: "*:col-[1]",
|
|
@@ -1536,13 +1549,14 @@ const DialogTrigger$1 = ({ open,...rest }) => /* @__PURE__ */ jsx(DialogTrigger,
|
|
|
1536
1549
|
isOpen: open,
|
|
1537
1550
|
...rest
|
|
1538
1551
|
});
|
|
1539
|
-
const _ContextualHelp = forwardRef(({ children, variant = "help", size: size$1, width: width$1, placement = "bottom start", offset: offset$1 = 0, defaultOpen, open, onOpenChange }, ref) => {
|
|
1552
|
+
const _ContextualHelp = forwardRef(({ children, variant = "help", size: size$1, width: width$1, placement = "bottom start", offset: offset$1 = 0, defaultOpen, open, onOpenChange, ariaLabel }, ref) => {
|
|
1540
1553
|
const Icon$2 = icons$2[variant];
|
|
1541
1554
|
const classNames$2 = useClassNames({
|
|
1542
1555
|
component: "ContextualHelp",
|
|
1543
1556
|
variant,
|
|
1544
1557
|
size: size$1
|
|
1545
1558
|
});
|
|
1559
|
+
const stringFormatter = useLocalizedStringFormatter(intlMessages);
|
|
1546
1560
|
return /* @__PURE__ */ jsxs(DialogTrigger$1, {
|
|
1547
1561
|
defaultOpen,
|
|
1548
1562
|
open,
|
|
@@ -1550,7 +1564,7 @@ const _ContextualHelp = forwardRef(({ children, variant = "help", size: size$1,
|
|
|
1550
1564
|
children: [/* @__PURE__ */ jsx(Button, {
|
|
1551
1565
|
ref,
|
|
1552
1566
|
className: classNames$2.trigger,
|
|
1553
|
-
"aria-label": variant === "info" ? "
|
|
1567
|
+
"aria-label": ariaLabel ?? (variant === "info" ? stringFormatter.format("moreInfo") : stringFormatter.format("help")),
|
|
1554
1568
|
children: /* @__PURE__ */ jsx(Icon$2, { size: 20 })
|
|
1555
1569
|
}), /* @__PURE__ */ jsx(Popover, {
|
|
1556
1570
|
placement,
|
|
@@ -1584,14 +1598,90 @@ const _DateSegment = ({ segment,...props }) => {
|
|
|
1584
1598
|
|
|
1585
1599
|
//#endregion
|
|
1586
1600
|
//#region src/DateField/DateInput.tsx
|
|
1587
|
-
const
|
|
1601
|
+
const extractCalendarDate = (format, order, dateString) => {
|
|
1602
|
+
const isMatch = dateString.trim().match(format);
|
|
1603
|
+
if (!isMatch) return;
|
|
1604
|
+
const date = order.reduce((accumulatedValue, currentVal, currentIndex) => {
|
|
1605
|
+
return {
|
|
1606
|
+
...accumulatedValue,
|
|
1607
|
+
[currentVal]: parseInt(isMatch[currentIndex + 1], 10)
|
|
1608
|
+
};
|
|
1609
|
+
}, {});
|
|
1610
|
+
if (isValidDate(date.year, date.month, date.day)) return new CalendarDate(date.year, date.month, date.day);
|
|
1611
|
+
};
|
|
1612
|
+
const parseDateFromString = (dateString) => {
|
|
1613
|
+
for (const format of [
|
|
1614
|
+
{
|
|
1615
|
+
regex: /^(\d{4})-(\d{1,2})-(\d{1,2})$/,
|
|
1616
|
+
order: [
|
|
1617
|
+
"year",
|
|
1618
|
+
"month",
|
|
1619
|
+
"day"
|
|
1620
|
+
]
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
regex: /^(\d{1,2})[./](\d{1,2})[./](\d{4})$/,
|
|
1624
|
+
order: [
|
|
1625
|
+
"day",
|
|
1626
|
+
"month",
|
|
1627
|
+
"year"
|
|
1628
|
+
]
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
regex: /^(\d{1,2})[/-](\d{1,2})[/-](\d{4})$/,
|
|
1632
|
+
order: [
|
|
1633
|
+
"month",
|
|
1634
|
+
"day",
|
|
1635
|
+
"year"
|
|
1636
|
+
]
|
|
1637
|
+
}
|
|
1638
|
+
]) {
|
|
1639
|
+
const result = extractCalendarDate(format.regex, format.order, dateString);
|
|
1640
|
+
if (result) return result;
|
|
1641
|
+
}
|
|
1642
|
+
};
|
|
1643
|
+
const isValidDate = (year, month, day) => {
|
|
1644
|
+
if (year < 1 || year > 9999) return false;
|
|
1645
|
+
if (month < 1 || month > 12) return false;
|
|
1646
|
+
if (day < 1 || day > 31) return false;
|
|
1647
|
+
const daysInMonth = [
|
|
1648
|
+
31,
|
|
1649
|
+
28,
|
|
1650
|
+
31,
|
|
1651
|
+
30,
|
|
1652
|
+
31,
|
|
1653
|
+
30,
|
|
1654
|
+
31,
|
|
1655
|
+
31,
|
|
1656
|
+
30,
|
|
1657
|
+
31,
|
|
1658
|
+
30,
|
|
1659
|
+
31
|
|
1660
|
+
];
|
|
1661
|
+
const isLeapYear = year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
|
|
1662
|
+
if (month === 2 && isLeapYear) return day <= 29;
|
|
1663
|
+
return day <= daysInMonth[month - 1];
|
|
1664
|
+
};
|
|
1665
|
+
const _DateInput = ({ variant, size: size$1, action, onPaste,...props }) => {
|
|
1588
1666
|
const classNames$2 = useClassNames({
|
|
1589
1667
|
component: "DateField",
|
|
1590
1668
|
variant,
|
|
1591
1669
|
size: size$1
|
|
1592
1670
|
});
|
|
1671
|
+
const handlePaste = async (event) => {
|
|
1672
|
+
try {
|
|
1673
|
+
const parsedDate = parseDateFromString(event.clipboardData.getData("text"));
|
|
1674
|
+
if (parsedDate) {
|
|
1675
|
+
event.preventDefault();
|
|
1676
|
+
onPaste(parsedDate);
|
|
1677
|
+
}
|
|
1678
|
+
} catch (error) {
|
|
1679
|
+
console.warn("Failed to parse pasted date:", error);
|
|
1680
|
+
}
|
|
1681
|
+
};
|
|
1593
1682
|
return /* @__PURE__ */ jsxs(Group, {
|
|
1594
1683
|
className: classNames$2.field,
|
|
1684
|
+
onPaste: handlePaste,
|
|
1595
1685
|
children: [/* @__PURE__ */ jsx(DateInput, {
|
|
1596
1686
|
className: "flex flex-1 items-center",
|
|
1597
1687
|
...props,
|
|
@@ -1605,7 +1695,7 @@ const _DateInput = ({ variant, size: size$1, action,...props }) => {
|
|
|
1605
1695
|
|
|
1606
1696
|
//#endregion
|
|
1607
1697
|
//#region src/DateField/DateField.tsx
|
|
1608
|
-
const _DateField = forwardRef(({ variant, size: size$1, action, disabled, required, error, readOnly,...rest }, ref) => {
|
|
1698
|
+
const _DateField = forwardRef(({ variant, size: size$1, action, disabled, required, error, readOnly, onChange,...rest }, ref) => {
|
|
1609
1699
|
return /* @__PURE__ */ jsx(FieldBase, {
|
|
1610
1700
|
as: DateField,
|
|
1611
1701
|
variant,
|
|
@@ -1616,9 +1706,23 @@ const _DateField = forwardRef(({ variant, size: size$1, action, disabled, requir
|
|
|
1616
1706
|
isInvalid: error,
|
|
1617
1707
|
isRequired: required,
|
|
1618
1708
|
...rest,
|
|
1619
|
-
children: /* @__PURE__ */ jsx(
|
|
1709
|
+
children: /* @__PURE__ */ jsx(DateInputWithPasteWrapper, {
|
|
1710
|
+
onChange,
|
|
1711
|
+
action
|
|
1712
|
+
})
|
|
1620
1713
|
});
|
|
1621
1714
|
});
|
|
1715
|
+
const DateInputWithPasteWrapper = ({ onChange,...props }) => {
|
|
1716
|
+
const ctx = useContext(DateFieldStateContext);
|
|
1717
|
+
const onPaste = (date) => {
|
|
1718
|
+
if (onChange) onChange(date);
|
|
1719
|
+
ctx?.setValue(date);
|
|
1720
|
+
};
|
|
1721
|
+
return /* @__PURE__ */ jsx(_DateInput, {
|
|
1722
|
+
onPaste,
|
|
1723
|
+
...props
|
|
1724
|
+
});
|
|
1725
|
+
};
|
|
1622
1726
|
|
|
1623
1727
|
//#endregion
|
|
1624
1728
|
//#region src/icons/Calendar.tsx
|
|
@@ -1650,7 +1754,7 @@ const Calendar$1 = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ *
|
|
|
1650
1754
|
|
|
1651
1755
|
//#endregion
|
|
1652
1756
|
//#region src/DatePicker/DatePicker.tsx
|
|
1653
|
-
const _DatePicker =
|
|
1757
|
+
const _DatePicker = forwardRef(({ dateUnavailable, disabled, required, readOnly, error, variant, size: size$1, open, granularity = "day", onChange,...rest }, ref) => {
|
|
1654
1758
|
const props = {
|
|
1655
1759
|
isDateUnavailable: dateUnavailable,
|
|
1656
1760
|
isDisabled: disabled,
|
|
@@ -1659,6 +1763,7 @@ const _DatePicker = React.forwardRef(({ dateUnavailable, disabled, required, rea
|
|
|
1659
1763
|
isInvalid: error,
|
|
1660
1764
|
isOpen: open,
|
|
1661
1765
|
granularity,
|
|
1766
|
+
onChange,
|
|
1662
1767
|
...rest
|
|
1663
1768
|
};
|
|
1664
1769
|
const classNames$2 = useClassNames({
|
|
@@ -1672,15 +1777,29 @@ const _DatePicker = React.forwardRef(({ dateUnavailable, disabled, required, rea
|
|
|
1672
1777
|
size: size$1,
|
|
1673
1778
|
...props,
|
|
1674
1779
|
ref,
|
|
1675
|
-
children: [/* @__PURE__ */ jsx(
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1780
|
+
children: [/* @__PURE__ */ jsx(DatePickerWithPasteWrapper, {
|
|
1781
|
+
onChange,
|
|
1782
|
+
action: /* @__PURE__ */ jsx(IconButton, {
|
|
1783
|
+
className: classNames$2,
|
|
1784
|
+
children: /* @__PURE__ */ jsx(Calendar$1, {
|
|
1785
|
+
size: "16",
|
|
1786
|
+
"data-testid": "action"
|
|
1787
|
+
})
|
|
1680
1788
|
})
|
|
1681
|
-
})
|
|
1789
|
+
}), /* @__PURE__ */ jsx(_Popover, { children: /* @__PURE__ */ jsx(Dialog, { children: /* @__PURE__ */ jsx(_Calendar, { disabled }) }) })]
|
|
1682
1790
|
});
|
|
1683
1791
|
});
|
|
1792
|
+
const DatePickerWithPasteWrapper = ({ onChange,...props }) => {
|
|
1793
|
+
const ctx = useContext(DatePickerStateContext);
|
|
1794
|
+
const onPaste = (date) => {
|
|
1795
|
+
if (onChange) onChange(date);
|
|
1796
|
+
ctx?.setValue(date);
|
|
1797
|
+
};
|
|
1798
|
+
return /* @__PURE__ */ jsx(_DateInput, {
|
|
1799
|
+
onPaste,
|
|
1800
|
+
...props
|
|
1801
|
+
});
|
|
1802
|
+
};
|
|
1684
1803
|
|
|
1685
1804
|
//#endregion
|
|
1686
1805
|
//#region src/Overlay/Modal.tsx
|
|
@@ -2161,6 +2280,147 @@ Drawer.Title = DrawerTitle;
|
|
|
2161
2280
|
Drawer.Content = DrawerContent;
|
|
2162
2281
|
Drawer.Actions = DrawerActions;
|
|
2163
2282
|
|
|
2283
|
+
//#endregion
|
|
2284
|
+
//#region src/FileField/FileFieldItem.tsx
|
|
2285
|
+
const FileFieldItem = ({ children, onRemove }) => {
|
|
2286
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
2287
|
+
className: "bg-background border-input flex items-center justify-between gap-2 rounded-lg border p-2 pe-3",
|
|
2288
|
+
children: [children, /* @__PURE__ */ jsx(CloseButton, {
|
|
2289
|
+
"aria-label": "Remove file",
|
|
2290
|
+
onPress: onRemove
|
|
2291
|
+
})]
|
|
2292
|
+
});
|
|
2293
|
+
};
|
|
2294
|
+
|
|
2295
|
+
//#endregion
|
|
2296
|
+
//#region src/icons/Upload.tsx
|
|
2297
|
+
const Upload = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
|
|
2298
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2299
|
+
width: size$1,
|
|
2300
|
+
height: size$1,
|
|
2301
|
+
viewBox: "0 0 24 24",
|
|
2302
|
+
fill: "none",
|
|
2303
|
+
stroke: "currentColor",
|
|
2304
|
+
strokeWidth: 2,
|
|
2305
|
+
strokeLinecap: "round",
|
|
2306
|
+
strokeLinejoin: "round",
|
|
2307
|
+
className: cn("shrink-0", className),
|
|
2308
|
+
...props,
|
|
2309
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M12 13v8M4 14.899A7 7 0 1115.71 8h1.79a4.5 4.5 0 012.5 8.242" }), /* @__PURE__ */ jsx("path", { d: "M8 17l4-4 4 4" })]
|
|
2310
|
+
});
|
|
2311
|
+
|
|
2312
|
+
//#endregion
|
|
2313
|
+
//#region src/FileField/FileTrigger.tsx
|
|
2314
|
+
const _FileTrigger = ({ label, disabled,...rest }) => {
|
|
2315
|
+
return /* @__PURE__ */ jsx(FileTrigger, {
|
|
2316
|
+
...rest,
|
|
2317
|
+
children: /* @__PURE__ */ jsxs(_Button, {
|
|
2318
|
+
disabled,
|
|
2319
|
+
children: [/* @__PURE__ */ jsx(Upload, {}), label]
|
|
2320
|
+
})
|
|
2321
|
+
});
|
|
2322
|
+
};
|
|
2323
|
+
|
|
2324
|
+
//#endregion
|
|
2325
|
+
//#region src/FileField/fileUtils.ts
|
|
2326
|
+
const filterAcceptedFiles = (files, acceptedFileTypes) => {
|
|
2327
|
+
if (!acceptedFileTypes || acceptedFileTypes.length === 0) return files;
|
|
2328
|
+
if (acceptedFileTypes.some((token$1) => tokenAllowsAll(token$1.trim().toLowerCase()))) return files;
|
|
2329
|
+
return files.filter((file) => acceptedFileTypes.some((token$1) => matchesAcceptedToken(file, token$1)));
|
|
2330
|
+
};
|
|
2331
|
+
const isFileDropItem = (item) => item && typeof item === "object" && item.kind === "file" && typeof item.getFile === "function";
|
|
2332
|
+
const tokenAllowsAll = (token$1) => token$1 === "*" || token$1 === "*/*";
|
|
2333
|
+
const toLower = (s) => s.toLowerCase();
|
|
2334
|
+
const matchesAcceptedToken = (file, token$1) => {
|
|
2335
|
+
const t$1 = toLower(token$1.trim());
|
|
2336
|
+
if (!t$1) return false;
|
|
2337
|
+
if (tokenAllowsAll(t$1)) return true;
|
|
2338
|
+
const fileType = toLower(file.type || "");
|
|
2339
|
+
const fileName = toLower(file.name || "");
|
|
2340
|
+
if (!t$1.includes("/") && !t$1.startsWith(".")) {
|
|
2341
|
+
const ext = `.${t$1}`;
|
|
2342
|
+
return fileName.endsWith(ext);
|
|
2343
|
+
}
|
|
2344
|
+
if (t$1.startsWith(".")) return fileName.endsWith(t$1);
|
|
2345
|
+
if (t$1.endsWith("/*")) {
|
|
2346
|
+
const prefix$1 = t$1.slice(0, t$1.length - 1);
|
|
2347
|
+
return fileType.startsWith(prefix$1);
|
|
2348
|
+
}
|
|
2349
|
+
return fileType === t$1;
|
|
2350
|
+
};
|
|
2351
|
+
const normalizeAndLimitFiles = (files, { accept, multiple }) => {
|
|
2352
|
+
const accepted = filterAcceptedFiles(files, accept);
|
|
2353
|
+
return multiple ? accepted : accepted.slice(0, 1);
|
|
2354
|
+
};
|
|
2355
|
+
|
|
2356
|
+
//#endregion
|
|
2357
|
+
//#region src/FileField/FileField.tsx
|
|
2358
|
+
const FileField = ({ disabled = false, accept = ["*"], multiple = false, width: width$1, label,...props }) => {
|
|
2359
|
+
const [files, setFiles] = useState(null);
|
|
2360
|
+
const stringFormatter = useLocalizedStringFormatter(intlMessages);
|
|
2361
|
+
const dropZoneLabel = stringFormatter.format("dropZoneLabel");
|
|
2362
|
+
const buttonLabel = stringFormatter.format("uploadLabel");
|
|
2363
|
+
const handleSelect = (files$1) => {
|
|
2364
|
+
setFiles(normalizeAndLimitFiles(files$1 ? Array.from(files$1) : [], {
|
|
2365
|
+
accept,
|
|
2366
|
+
multiple
|
|
2367
|
+
}));
|
|
2368
|
+
};
|
|
2369
|
+
const handleDrop = async (e$1) => {
|
|
2370
|
+
try {
|
|
2371
|
+
const filePromises = e$1.items.filter(isFileDropItem).map((item) => item.getFile());
|
|
2372
|
+
setFiles(normalizeAndLimitFiles((await Promise.all(filePromises)).filter(Boolean), {
|
|
2373
|
+
accept,
|
|
2374
|
+
multiple
|
|
2375
|
+
}));
|
|
2376
|
+
} catch {}
|
|
2377
|
+
};
|
|
2378
|
+
const fileTriggerProps = {
|
|
2379
|
+
acceptedFileTypes: accept,
|
|
2380
|
+
allowsMultiple: multiple,
|
|
2381
|
+
onSelect: handleSelect
|
|
2382
|
+
};
|
|
2383
|
+
const classNames$2 = useClassNames({ component: "FileField" });
|
|
2384
|
+
return /* @__PURE__ */ jsxs(FieldBase, {
|
|
2385
|
+
as: "div",
|
|
2386
|
+
width: width$1,
|
|
2387
|
+
label,
|
|
2388
|
+
className: classNames$2.container,
|
|
2389
|
+
...props,
|
|
2390
|
+
children: [/* @__PURE__ */ jsx(DropZone, {
|
|
2391
|
+
onDrop: handleDrop,
|
|
2392
|
+
isDisabled: disabled,
|
|
2393
|
+
className: classNames$2.dropZone,
|
|
2394
|
+
"data-testid": "dropzone",
|
|
2395
|
+
...props,
|
|
2396
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
2397
|
+
className: classNames$2.dropZoneContent,
|
|
2398
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
2399
|
+
className: classNames$2.dropZoneLabel,
|
|
2400
|
+
children: dropZoneLabel
|
|
2401
|
+
}), /* @__PURE__ */ jsx(_FileTrigger, {
|
|
2402
|
+
...fileTriggerProps,
|
|
2403
|
+
label: buttonLabel,
|
|
2404
|
+
disabled
|
|
2405
|
+
})]
|
|
2406
|
+
})
|
|
2407
|
+
}), files?.map((file, index$1) => /* @__PURE__ */ jsx(FileField.Item, {
|
|
2408
|
+
onRemove: () => setFiles((prev$1) => (prev$1 ?? []).filter((_, i$1) => i$1 !== index$1)),
|
|
2409
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
2410
|
+
className: classNames$2.item,
|
|
2411
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
2412
|
+
className: classNames$2.itemLabel,
|
|
2413
|
+
children: file.name
|
|
2414
|
+
}), /* @__PURE__ */ jsxs("p", {
|
|
2415
|
+
className: classNames$2.itemDescription,
|
|
2416
|
+
children: [(file.size / 1024 / 1024).toFixed(2), " MB"]
|
|
2417
|
+
})]
|
|
2418
|
+
})
|
|
2419
|
+
}, index$1))]
|
|
2420
|
+
});
|
|
2421
|
+
};
|
|
2422
|
+
FileField.Item = FileFieldItem;
|
|
2423
|
+
|
|
2164
2424
|
//#endregion
|
|
2165
2425
|
//#region src/Form/Form.tsx
|
|
2166
2426
|
const _Form = ({ unstyled, maxWidth: maxWidth$1 = "full",...props }) => /* @__PURE__ */ jsx(Form, {
|
|
@@ -4144,15 +4404,15 @@ var isBrowser$1 = typeof document !== "undefined";
|
|
|
4144
4404
|
var syncFallback = function syncFallback$1(create) {
|
|
4145
4405
|
return create();
|
|
4146
4406
|
};
|
|
4147
|
-
var useInsertionEffect = React
|
|
4407
|
+
var useInsertionEffect = React["useInsertionEffect"] ? React["useInsertionEffect"] : false;
|
|
4148
4408
|
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$1 ? syncFallback : useInsertionEffect || syncFallback;
|
|
4149
|
-
var useInsertionEffectWithLayoutFallback = useInsertionEffect || React
|
|
4409
|
+
var useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;
|
|
4150
4410
|
|
|
4151
4411
|
//#endregion
|
|
4152
4412
|
//#region ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.2_react@19.2.0/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
|
|
4153
4413
|
var isDevelopment = false;
|
|
4154
4414
|
var isBrowser = typeof document !== "undefined";
|
|
4155
|
-
var EmotionCacheContext = /* @__PURE__ */ React
|
|
4415
|
+
var EmotionCacheContext = /* @__PURE__ */ React.createContext(typeof HTMLElement !== "undefined" ? /* @__PURE__ */ createCache({ key: "css" }) : null);
|
|
4156
4416
|
var CacheProvider = EmotionCacheContext.Provider;
|
|
4157
4417
|
var withEmotionCache = function withEmotionCache$1(func) {
|
|
4158
4418
|
return /* @__PURE__ */ forwardRef(function(props, ref) {
|
|
@@ -4164,11 +4424,11 @@ if (!isBrowser) withEmotionCache = function withEmotionCache$1(func) {
|
|
|
4164
4424
|
var cache = useContext(EmotionCacheContext);
|
|
4165
4425
|
if (cache === null) {
|
|
4166
4426
|
cache = createCache({ key: "css" });
|
|
4167
|
-
return /* @__PURE__ */ React
|
|
4427
|
+
return /* @__PURE__ */ React.createElement(EmotionCacheContext.Provider, { value: cache }, func(props, cache));
|
|
4168
4428
|
} else return func(props, cache);
|
|
4169
4429
|
};
|
|
4170
4430
|
};
|
|
4171
|
-
var ThemeContext = /* @__PURE__ */ React
|
|
4431
|
+
var ThemeContext = /* @__PURE__ */ React.createContext({});
|
|
4172
4432
|
var hasOwn = {}.hasOwnProperty;
|
|
4173
4433
|
var typePropName = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__";
|
|
4174
4434
|
var createEmotionProps = function createEmotionProps$1(type, props) {
|
|
@@ -4191,7 +4451,7 @@ var Insertion = function Insertion$1(_ref$1) {
|
|
|
4191
4451
|
serializedNames += " " + next$1.name;
|
|
4192
4452
|
next$1 = next$1.next;
|
|
4193
4453
|
}
|
|
4194
|
-
return /* @__PURE__ */ React
|
|
4454
|
+
return /* @__PURE__ */ React.createElement("style", (_ref2$3 = {}, _ref2$3["data-emotion"] = cache.key + " " + serializedNames, _ref2$3.dangerouslySetInnerHTML = { __html: rules }, _ref2$3.nonce = cache.sheet.nonce, _ref2$3));
|
|
4195
4455
|
}
|
|
4196
4456
|
return null;
|
|
4197
4457
|
};
|
|
@@ -4203,17 +4463,17 @@ var Emotion$1 = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
|
|
|
4203
4463
|
var className = "";
|
|
4204
4464
|
if (typeof props.className === "string") className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
|
|
4205
4465
|
else if (props.className != null) className = props.className + " ";
|
|
4206
|
-
var serialized = serializeStyles(registeredStyles, void 0, React
|
|
4466
|
+
var serialized = serializeStyles(registeredStyles, void 0, React.useContext(ThemeContext));
|
|
4207
4467
|
className += cache.key + "-" + serialized.name;
|
|
4208
4468
|
var newProps = {};
|
|
4209
4469
|
for (var _key2 in props) if (hasOwn.call(props, _key2) && _key2 !== "css" && _key2 !== typePropName && !isDevelopment) newProps[_key2] = props[_key2];
|
|
4210
4470
|
newProps.className = className;
|
|
4211
4471
|
if (ref) newProps.ref = ref;
|
|
4212
|
-
return /* @__PURE__ */ React
|
|
4472
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Insertion, {
|
|
4213
4473
|
cache,
|
|
4214
4474
|
serialized,
|
|
4215
4475
|
isStringTag: typeof WrappedComponent === "string"
|
|
4216
|
-
}), /* @__PURE__ */ React
|
|
4476
|
+
}), /* @__PURE__ */ React.createElement(WrappedComponent, newProps));
|
|
4217
4477
|
});
|
|
4218
4478
|
|
|
4219
4479
|
//#endregion
|
|
@@ -4237,13 +4497,13 @@ var import_extends = /* @__PURE__ */ __toESM(require_extends());
|
|
|
4237
4497
|
var import_hoist_non_react_statics_cjs = /* @__PURE__ */ __toESM(require_hoist_non_react_statics_cjs());
|
|
4238
4498
|
var jsx$1 = function jsx$2(type, props) {
|
|
4239
4499
|
var args = arguments;
|
|
4240
|
-
if (props == null || !hasOwn.call(props, "css")) return React
|
|
4500
|
+
if (props == null || !hasOwn.call(props, "css")) return React.createElement.apply(void 0, args);
|
|
4241
4501
|
var argsLength = args.length;
|
|
4242
4502
|
var createElementArgArray = new Array(argsLength);
|
|
4243
4503
|
createElementArgArray[0] = Emotion$1;
|
|
4244
4504
|
createElementArgArray[1] = createEmotionProps(type, props);
|
|
4245
4505
|
for (var i$1 = 2; i$1 < argsLength; i$1++) createElementArgArray[i$1] = args[i$1];
|
|
4246
|
-
return React
|
|
4506
|
+
return React.createElement.apply(null, createElementArgArray);
|
|
4247
4507
|
};
|
|
4248
4508
|
(function(_jsx) {
|
|
4249
4509
|
var JSX$1;
|
|
@@ -7347,7 +7607,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7347
7607
|
role: "combobox",
|
|
7348
7608
|
"aria-activedescendant": this.state.isAppleDevice ? void 0 : this.state.focusedOptionId || ""
|
|
7349
7609
|
}, menuIsOpen && { "aria-controls": this.getElementId("listbox") }), !isSearchable && { "aria-readonly": true }), this.hasValue() ? (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === "initial-input-focus" && { "aria-describedby": this.getElementId("live-region") } : { "aria-describedby": this.getElementId("placeholder") });
|
|
7350
|
-
if (!isSearchable) return /* @__PURE__ */ React
|
|
7610
|
+
if (!isSearchable) return /* @__PURE__ */ React.createElement(DummyInput, _extends({
|
|
7351
7611
|
id,
|
|
7352
7612
|
innerRef: this.getInputRef,
|
|
7353
7613
|
onBlur: this.onInputBlur,
|
|
@@ -7359,7 +7619,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7359
7619
|
form,
|
|
7360
7620
|
value: ""
|
|
7361
7621
|
}, ariaAttributes));
|
|
7362
|
-
return /* @__PURE__ */ React
|
|
7622
|
+
return /* @__PURE__ */ React.createElement(Input$2, _extends({}, commonProps, {
|
|
7363
7623
|
autoCapitalize: "none",
|
|
7364
7624
|
autoComplete: "off",
|
|
7365
7625
|
autoCorrect: "off",
|
|
@@ -7386,7 +7646,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7386
7646
|
var commonProps = this.commonProps;
|
|
7387
7647
|
var _this$props9 = this.props, controlShouldRenderValue = _this$props9.controlShouldRenderValue, isDisabled = _this$props9.isDisabled, isMulti = _this$props9.isMulti, inputValue = _this$props9.inputValue, placeholder = _this$props9.placeholder;
|
|
7388
7648
|
var _this$state5 = this.state, selectValue = _this$state5.selectValue, focusedValue = _this$state5.focusedValue, isFocused = _this$state5.isFocused;
|
|
7389
|
-
if (!this.hasValue() || !controlShouldRenderValue) return inputValue ? null : /* @__PURE__ */ React
|
|
7649
|
+
if (!this.hasValue() || !controlShouldRenderValue) return inputValue ? null : /* @__PURE__ */ React.createElement(Placeholder, _extends({}, commonProps, {
|
|
7390
7650
|
key: "placeholder",
|
|
7391
7651
|
isDisabled,
|
|
7392
7652
|
isFocused,
|
|
@@ -7395,7 +7655,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7395
7655
|
if (isMulti) return selectValue.map(function(opt, index$1) {
|
|
7396
7656
|
var isOptionFocused = opt === focusedValue;
|
|
7397
7657
|
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
7398
|
-
return /* @__PURE__ */ React
|
|
7658
|
+
return /* @__PURE__ */ React.createElement(MultiValue, _extends({}, commonProps, {
|
|
7399
7659
|
components: {
|
|
7400
7660
|
Container: MultiValueContainer$1,
|
|
7401
7661
|
Label: MultiValueLabel$1,
|
|
@@ -7421,7 +7681,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7421
7681
|
});
|
|
7422
7682
|
if (inputValue) return null;
|
|
7423
7683
|
var singleValue = selectValue[0];
|
|
7424
|
-
return /* @__PURE__ */ React
|
|
7684
|
+
return /* @__PURE__ */ React.createElement(SingleValue, _extends({}, commonProps, {
|
|
7425
7685
|
data: singleValue,
|
|
7426
7686
|
isDisabled
|
|
7427
7687
|
}), this.formatOptionLabel(singleValue, "value"));
|
|
@@ -7440,7 +7700,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7440
7700
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
7441
7701
|
"aria-hidden": "true"
|
|
7442
7702
|
};
|
|
7443
|
-
return /* @__PURE__ */ React
|
|
7703
|
+
return /* @__PURE__ */ React.createElement(ClearIndicator$1, _extends({}, commonProps, {
|
|
7444
7704
|
innerProps,
|
|
7445
7705
|
isFocused
|
|
7446
7706
|
}));
|
|
@@ -7454,7 +7714,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7454
7714
|
var _this$props11 = this.props, isDisabled = _this$props11.isDisabled, isLoading = _this$props11.isLoading;
|
|
7455
7715
|
var isFocused = this.state.isFocused;
|
|
7456
7716
|
if (!LoadingIndicator$1 || !isLoading) return null;
|
|
7457
|
-
return /* @__PURE__ */ React
|
|
7717
|
+
return /* @__PURE__ */ React.createElement(LoadingIndicator$1, _extends({}, commonProps, {
|
|
7458
7718
|
innerProps: { "aria-hidden": "true" },
|
|
7459
7719
|
isDisabled,
|
|
7460
7720
|
isFocused
|
|
@@ -7469,7 +7729,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7469
7729
|
var commonProps = this.commonProps;
|
|
7470
7730
|
var isDisabled = this.props.isDisabled;
|
|
7471
7731
|
var isFocused = this.state.isFocused;
|
|
7472
|
-
return /* @__PURE__ */ React
|
|
7732
|
+
return /* @__PURE__ */ React.createElement(IndicatorSeparator$1, _extends({}, commonProps, {
|
|
7473
7733
|
isDisabled,
|
|
7474
7734
|
isFocused
|
|
7475
7735
|
}));
|
|
@@ -7488,7 +7748,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7488
7748
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
7489
7749
|
"aria-hidden": "true"
|
|
7490
7750
|
};
|
|
7491
|
-
return /* @__PURE__ */ React
|
|
7751
|
+
return /* @__PURE__ */ React.createElement(DropdownIndicator$1, _extends({}, commonProps, {
|
|
7492
7752
|
innerProps,
|
|
7493
7753
|
isDisabled,
|
|
7494
7754
|
isFocused
|
|
@@ -7523,7 +7783,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7523
7783
|
role: "option",
|
|
7524
7784
|
"aria-selected": _this4.state.isAppleDevice ? void 0 : isSelected
|
|
7525
7785
|
};
|
|
7526
|
-
return /* @__PURE__ */ React
|
|
7786
|
+
return /* @__PURE__ */ React.createElement(Option, _extends({}, commonProps, {
|
|
7527
7787
|
innerProps,
|
|
7528
7788
|
data,
|
|
7529
7789
|
isDisabled,
|
|
@@ -7542,7 +7802,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7542
7802
|
var _data = item.data, options$1 = item.options, groupIndex = item.index;
|
|
7543
7803
|
var groupId = "".concat(_this4.getElementId("group"), "-").concat(groupIndex);
|
|
7544
7804
|
var headingId = "".concat(groupId, "-heading");
|
|
7545
|
-
return /* @__PURE__ */ React
|
|
7805
|
+
return /* @__PURE__ */ React.createElement(Group$2, _extends({}, commonProps, {
|
|
7546
7806
|
key: groupId,
|
|
7547
7807
|
data: _data,
|
|
7548
7808
|
options: options$1,
|
|
@@ -7560,11 +7820,11 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7560
7820
|
else if (isLoading) {
|
|
7561
7821
|
var message = loadingMessage({ inputValue });
|
|
7562
7822
|
if (message === null) return null;
|
|
7563
|
-
menuUI = /* @__PURE__ */ React
|
|
7823
|
+
menuUI = /* @__PURE__ */ React.createElement(LoadingMessage$1, commonProps, message);
|
|
7564
7824
|
} else {
|
|
7565
7825
|
var _message = noOptionsMessage({ inputValue });
|
|
7566
7826
|
if (_message === null) return null;
|
|
7567
|
-
menuUI = /* @__PURE__ */ React
|
|
7827
|
+
menuUI = /* @__PURE__ */ React.createElement(NoOptionsMessage$1, commonProps, _message);
|
|
7568
7828
|
}
|
|
7569
7829
|
var menuPlacementProps = {
|
|
7570
7830
|
minMenuHeight,
|
|
@@ -7573,9 +7833,9 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7573
7833
|
menuPosition,
|
|
7574
7834
|
menuShouldScrollIntoView
|
|
7575
7835
|
};
|
|
7576
|
-
var menuElement = /* @__PURE__ */ React
|
|
7836
|
+
var menuElement = /* @__PURE__ */ React.createElement(MenuPlacer, _extends({}, commonProps, menuPlacementProps), function(_ref4) {
|
|
7577
7837
|
var ref = _ref4.ref, _ref4$placerProps = _ref4.placerProps, placement = _ref4$placerProps.placement, maxHeight = _ref4$placerProps.maxHeight;
|
|
7578
|
-
return /* @__PURE__ */ React
|
|
7838
|
+
return /* @__PURE__ */ React.createElement(Menu$2, _extends({}, commonProps, menuPlacementProps, {
|
|
7579
7839
|
innerRef: ref,
|
|
7580
7840
|
innerProps: {
|
|
7581
7841
|
onMouseDown: _this4.onMenuMouseDown,
|
|
@@ -7583,13 +7843,13 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7583
7843
|
},
|
|
7584
7844
|
isLoading,
|
|
7585
7845
|
placement
|
|
7586
|
-
}), /* @__PURE__ */ React
|
|
7846
|
+
}), /* @__PURE__ */ React.createElement(ScrollManager, {
|
|
7587
7847
|
captureEnabled: captureMenuScroll,
|
|
7588
7848
|
onTopArrive: onMenuScrollToTop,
|
|
7589
7849
|
onBottomArrive: onMenuScrollToBottom,
|
|
7590
7850
|
lockEnabled: menuShouldBlockScroll
|
|
7591
7851
|
}, function(scrollTargetRef) {
|
|
7592
|
-
return /* @__PURE__ */ React
|
|
7852
|
+
return /* @__PURE__ */ React.createElement(MenuList$1, _extends({}, commonProps, {
|
|
7593
7853
|
innerRef: function innerRef(instance) {
|
|
7594
7854
|
_this4.getMenuListRef(instance);
|
|
7595
7855
|
scrollTargetRef(instance);
|
|
@@ -7605,7 +7865,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7605
7865
|
}), menuUI);
|
|
7606
7866
|
}));
|
|
7607
7867
|
});
|
|
7608
|
-
return menuPortalTarget || menuPosition === "fixed" ? /* @__PURE__ */ React
|
|
7868
|
+
return menuPortalTarget || menuPosition === "fixed" ? /* @__PURE__ */ React.createElement(MenuPortal$1, _extends({}, commonProps, {
|
|
7609
7869
|
appendTo: menuPortalTarget,
|
|
7610
7870
|
controlElement: this.controlRef,
|
|
7611
7871
|
menuPlacement,
|
|
@@ -7619,7 +7879,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7619
7879
|
var _this5 = this;
|
|
7620
7880
|
var _this$props13 = this.props, delimiter$1 = _this$props13.delimiter, isDisabled = _this$props13.isDisabled, isMulti = _this$props13.isMulti, name = _this$props13.name, required = _this$props13.required;
|
|
7621
7881
|
var selectValue = this.state.selectValue;
|
|
7622
|
-
if (required && !this.hasValue() && !isDisabled) return /* @__PURE__ */ React
|
|
7882
|
+
if (required && !this.hasValue() && !isDisabled) return /* @__PURE__ */ React.createElement(RequiredInput$1, {
|
|
7623
7883
|
name,
|
|
7624
7884
|
onFocus: this.onValueInputFocus
|
|
7625
7885
|
});
|
|
@@ -7628,29 +7888,29 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7628
7888
|
var value = selectValue.map(function(opt) {
|
|
7629
7889
|
return _this5.getOptionValue(opt);
|
|
7630
7890
|
}).join(delimiter$1);
|
|
7631
|
-
return /* @__PURE__ */ React
|
|
7891
|
+
return /* @__PURE__ */ React.createElement("input", {
|
|
7632
7892
|
name,
|
|
7633
7893
|
type: "hidden",
|
|
7634
7894
|
value
|
|
7635
7895
|
});
|
|
7636
7896
|
} else {
|
|
7637
7897
|
var input = selectValue.length > 0 ? selectValue.map(function(opt, i$1) {
|
|
7638
|
-
return /* @__PURE__ */ React
|
|
7898
|
+
return /* @__PURE__ */ React.createElement("input", {
|
|
7639
7899
|
key: "i-".concat(i$1),
|
|
7640
7900
|
name,
|
|
7641
7901
|
type: "hidden",
|
|
7642
7902
|
value: _this5.getOptionValue(opt)
|
|
7643
7903
|
});
|
|
7644
|
-
}) : /* @__PURE__ */ React
|
|
7904
|
+
}) : /* @__PURE__ */ React.createElement("input", {
|
|
7645
7905
|
name,
|
|
7646
7906
|
type: "hidden",
|
|
7647
7907
|
value: ""
|
|
7648
7908
|
});
|
|
7649
|
-
return /* @__PURE__ */ React
|
|
7909
|
+
return /* @__PURE__ */ React.createElement("div", null, input);
|
|
7650
7910
|
}
|
|
7651
7911
|
else {
|
|
7652
7912
|
var _value = selectValue[0] ? this.getOptionValue(selectValue[0]) : "";
|
|
7653
|
-
return /* @__PURE__ */ React
|
|
7913
|
+
return /* @__PURE__ */ React.createElement("input", {
|
|
7654
7914
|
name,
|
|
7655
7915
|
type: "hidden",
|
|
7656
7916
|
value: _value
|
|
@@ -7664,7 +7924,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7664
7924
|
var commonProps = this.commonProps;
|
|
7665
7925
|
var _this$state6 = this.state, ariaSelection = _this$state6.ariaSelection, focusedOption = _this$state6.focusedOption, focusedValue = _this$state6.focusedValue, isFocused = _this$state6.isFocused, selectValue = _this$state6.selectValue;
|
|
7666
7926
|
var focusableOptions = this.getFocusableOptions();
|
|
7667
|
-
return /* @__PURE__ */ React
|
|
7927
|
+
return /* @__PURE__ */ React.createElement(LiveRegion$1, _extends({}, commonProps, {
|
|
7668
7928
|
id: this.getElementId("live-region"),
|
|
7669
7929
|
ariaSelection,
|
|
7670
7930
|
focusedOption,
|
|
@@ -7683,7 +7943,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7683
7943
|
var _this$props14 = this.props, className = _this$props14.className, id = _this$props14.id, isDisabled = _this$props14.isDisabled, menuIsOpen = _this$props14.menuIsOpen;
|
|
7684
7944
|
var isFocused = this.state.isFocused;
|
|
7685
7945
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
7686
|
-
return /* @__PURE__ */ React
|
|
7946
|
+
return /* @__PURE__ */ React.createElement(SelectContainer$1, _extends({}, commonProps, {
|
|
7687
7947
|
className,
|
|
7688
7948
|
innerProps: {
|
|
7689
7949
|
id,
|
|
@@ -7691,7 +7951,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7691
7951
|
},
|
|
7692
7952
|
isDisabled,
|
|
7693
7953
|
isFocused
|
|
7694
|
-
}), this.renderLiveRegion(), /* @__PURE__ */ React
|
|
7954
|
+
}), this.renderLiveRegion(), /* @__PURE__ */ React.createElement(Control, _extends({}, commonProps, {
|
|
7695
7955
|
innerRef: this.getControlRef,
|
|
7696
7956
|
innerProps: {
|
|
7697
7957
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -7700,7 +7960,7 @@ var Select$2 = /* @__PURE__ */ function(_Component) {
|
|
|
7700
7960
|
isDisabled,
|
|
7701
7961
|
isFocused,
|
|
7702
7962
|
menuIsOpen
|
|
7703
|
-
}), /* @__PURE__ */ React
|
|
7963
|
+
}), /* @__PURE__ */ React.createElement(ValueContainer$1, _extends({}, commonProps, { isDisabled }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ React.createElement(IndicatorsContainer$1, _extends({}, commonProps, { isDisabled }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
7704
7964
|
}
|
|
7705
7965
|
}
|
|
7706
7966
|
], [{
|
|
@@ -8134,7 +8394,7 @@ var import_taggedTemplateLiteral = /* @__PURE__ */ __toESM(require_taggedTemplat
|
|
|
8134
8394
|
var import_defineProperty = /* @__PURE__ */ __toESM(require_defineProperty());
|
|
8135
8395
|
var StateManagedSelect$1 = /* @__PURE__ */ forwardRef(function(props, ref) {
|
|
8136
8396
|
var baseSelectProps = useStateManager(props);
|
|
8137
|
-
return /* @__PURE__ */ React
|
|
8397
|
+
return /* @__PURE__ */ React.createElement(Select$2, _extends({ ref }, baseSelectProps));
|
|
8138
8398
|
});
|
|
8139
8399
|
|
|
8140
8400
|
//#endregion
|
|
@@ -8342,7 +8602,8 @@ const _NumberField = forwardRef(({ variant, size: size$1, disabled, required, re
|
|
|
8342
8602
|
}),
|
|
8343
8603
|
/* @__PURE__ */ jsx(Input, {
|
|
8344
8604
|
ref,
|
|
8345
|
-
className: cn("h-full flex-1 outline-none", classNames$2.input)
|
|
8605
|
+
className: cn("h-full flex-1 outline-none", classNames$2.input),
|
|
8606
|
+
onFocus: (e$1) => e$1.currentTarget.select()
|
|
8346
8607
|
}),
|
|
8347
8608
|
showStepper && /* @__PURE__ */ jsx(_StepButton, {
|
|
8348
8609
|
className: classNames$2.stepper,
|
|
@@ -8812,7 +9073,7 @@ const SelectBase = forwardRef(function Select$3({ disabled, required, items, var
|
|
|
8812
9073
|
...props,
|
|
8813
9074
|
children: [/* @__PURE__ */ jsxs(IconButton, {
|
|
8814
9075
|
className: cn("flex w-full items-center justify-between gap-1 overflow-hidden", classNames$2.select),
|
|
8815
|
-
children: [/* @__PURE__ */ jsx(SelectValue, { className: "truncate text-nowrap [
|
|
9076
|
+
children: [/* @__PURE__ */ jsx(SelectValue, { className: "truncate text-nowrap [&_[slot=description]]:hidden" }), /* @__PURE__ */ jsx(ChevronsVertical, {
|
|
8816
9077
|
size: "16",
|
|
8817
9078
|
className: classNames$2.icon
|
|
8818
9079
|
})]
|
|
@@ -9699,11 +9960,157 @@ const _Tooltip = ({ children, variant, size: size$1, open,...rest }) => {
|
|
|
9699
9960
|
_Tooltip.Trigger = _TooltipTrigger;
|
|
9700
9961
|
|
|
9701
9962
|
//#endregion
|
|
9702
|
-
//#region src/
|
|
9703
|
-
const
|
|
9963
|
+
//#region src/Loader/BaseLoader.tsx
|
|
9964
|
+
const XLoaderSvg = ({ className }) => {
|
|
9965
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
9966
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9967
|
+
viewBox: "0 0 150 150",
|
|
9968
|
+
fill: "currentColor",
|
|
9969
|
+
className,
|
|
9970
|
+
children: [
|
|
9971
|
+
/* @__PURE__ */ jsx("path", {
|
|
9972
|
+
id: "XMLID_1_",
|
|
9973
|
+
d: "M35.3 27h26.5l54 74.1H88.7z"
|
|
9974
|
+
}),
|
|
9975
|
+
/* @__PURE__ */ jsx("path", {
|
|
9976
|
+
id: "XMLID_5_",
|
|
9977
|
+
d: "M124.3 12.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
9978
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
9979
|
+
attributeName: "opacity",
|
|
9980
|
+
attributeType: "XML",
|
|
9981
|
+
values: "1; .01; 1; 1; 1;",
|
|
9982
|
+
begin: "1.0s",
|
|
9983
|
+
dur: "2.5s",
|
|
9984
|
+
repeatCount: "indefinite"
|
|
9985
|
+
})
|
|
9986
|
+
}),
|
|
9987
|
+
/* @__PURE__ */ jsx("path", {
|
|
9988
|
+
id: "XMLID_18_",
|
|
9989
|
+
d: "M115.9 24.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
9990
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
9991
|
+
attributeName: "opacity",
|
|
9992
|
+
attributeType: "XML",
|
|
9993
|
+
values: "1; .01; 1; 1; 1;",
|
|
9994
|
+
begin: "0.9s",
|
|
9995
|
+
dur: "2.5s",
|
|
9996
|
+
repeatCount: "indefinite"
|
|
9997
|
+
})
|
|
9998
|
+
}),
|
|
9999
|
+
/* @__PURE__ */ jsx("path", {
|
|
10000
|
+
id: "XMLID_19_",
|
|
10001
|
+
d: "M107.5 35.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10002
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
10003
|
+
attributeName: "opacity",
|
|
10004
|
+
attributeType: "XML",
|
|
10005
|
+
values: "1; .01; 1; 1; 1;",
|
|
10006
|
+
begin: "0.8s",
|
|
10007
|
+
dur: "2.5s",
|
|
10008
|
+
repeatCount: "indefinite"
|
|
10009
|
+
})
|
|
10010
|
+
}),
|
|
10011
|
+
/* @__PURE__ */ jsx("path", {
|
|
10012
|
+
id: "XMLID_20_",
|
|
10013
|
+
d: "M99.1 47.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10014
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
10015
|
+
attributeName: "opacity",
|
|
10016
|
+
attributeType: "XML",
|
|
10017
|
+
values: "1; .01; 1; 1; 1;",
|
|
10018
|
+
begin: "0.7s",
|
|
10019
|
+
dur: "2.5s",
|
|
10020
|
+
repeatCount: "indefinite"
|
|
10021
|
+
})
|
|
10022
|
+
}),
|
|
10023
|
+
/* @__PURE__ */ jsx("path", {
|
|
10024
|
+
id: "XMLID_21_",
|
|
10025
|
+
d: "M90.7 59H90c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.8-2.2 4.9-4.9 4.9z",
|
|
10026
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
10027
|
+
attributeName: "opacity",
|
|
10028
|
+
attributeType: "XML",
|
|
10029
|
+
values: "1; .01; 1; 1; 1;",
|
|
10030
|
+
begin: "0.6s",
|
|
10031
|
+
dur: "2.5s",
|
|
10032
|
+
repeatCount: "indefinite"
|
|
10033
|
+
})
|
|
10034
|
+
}),
|
|
10035
|
+
/* @__PURE__ */ jsx("path", {
|
|
10036
|
+
id: "XMLID_22_",
|
|
10037
|
+
d: "M68 89.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.8c0 2.6-2.2 4.8-4.9 4.8z",
|
|
10038
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
10039
|
+
attributeName: "opacity",
|
|
10040
|
+
attributeType: "XML",
|
|
10041
|
+
values: "1; .01; 1; 1; 1;",
|
|
10042
|
+
begin: "0.5s",
|
|
10043
|
+
dur: "2.5s",
|
|
10044
|
+
repeatCount: "indefinite"
|
|
10045
|
+
})
|
|
10046
|
+
}),
|
|
10047
|
+
/* @__PURE__ */ jsx("path", {
|
|
10048
|
+
id: "XMLID_23_",
|
|
10049
|
+
d: "M59.6 101.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
10050
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
10051
|
+
attributeName: "opacity",
|
|
10052
|
+
attributeType: "XML",
|
|
10053
|
+
values: "1; .01; 1; 1; 1;",
|
|
10054
|
+
begin: "0.4s",
|
|
10055
|
+
dur: "2.5s",
|
|
10056
|
+
repeatCount: "indefinite"
|
|
10057
|
+
})
|
|
10058
|
+
}),
|
|
10059
|
+
/* @__PURE__ */ jsx("path", {
|
|
10060
|
+
id: "XMLID_24_",
|
|
10061
|
+
d: "M51.2 112.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
|
|
10062
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
10063
|
+
attributeName: "opacity",
|
|
10064
|
+
attributeType: "XML",
|
|
10065
|
+
values: "1; .01; 1; 1; 1;",
|
|
10066
|
+
begin: "0.3s",
|
|
10067
|
+
dur: "2.5s",
|
|
10068
|
+
repeatCount: "indefinite"
|
|
10069
|
+
})
|
|
10070
|
+
}),
|
|
10071
|
+
/* @__PURE__ */ jsx("path", {
|
|
10072
|
+
id: "XMLID_25_",
|
|
10073
|
+
d: "M42.8 124.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
|
|
10074
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
10075
|
+
attributeName: "opacity",
|
|
10076
|
+
attributeType: "XML",
|
|
10077
|
+
values: "1; .01; 1; 1; 1;",
|
|
10078
|
+
begin: "0.2s",
|
|
10079
|
+
dur: "2.5s",
|
|
10080
|
+
repeatCount: "indefinite"
|
|
10081
|
+
})
|
|
10082
|
+
}),
|
|
10083
|
+
/* @__PURE__ */ jsx("path", {
|
|
10084
|
+
id: "XMLID_26_",
|
|
10085
|
+
d: "M34.4 136h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
|
|
10086
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
10087
|
+
attributeName: "opacity",
|
|
10088
|
+
attributeType: "XML",
|
|
10089
|
+
values: "1; .01; 1; 1; 1;",
|
|
10090
|
+
begin: "0.1s",
|
|
10091
|
+
dur: "2.5s",
|
|
10092
|
+
repeatCount: "indefinite"
|
|
10093
|
+
})
|
|
10094
|
+
}),
|
|
10095
|
+
/* @__PURE__ */ jsx("path", {
|
|
10096
|
+
id: "XMLID_27_",
|
|
10097
|
+
d: "M26 147.6h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
|
|
10098
|
+
children: /* @__PURE__ */ jsx("animate", {
|
|
10099
|
+
attributeName: "opacity",
|
|
10100
|
+
attributeType: "XML",
|
|
10101
|
+
values: "1; .01; 1; 1; 1;",
|
|
10102
|
+
begin: "0.0s",
|
|
10103
|
+
dur: "2.5s",
|
|
10104
|
+
repeatCount: "indefinite"
|
|
10105
|
+
})
|
|
10106
|
+
})
|
|
10107
|
+
]
|
|
10108
|
+
});
|
|
10109
|
+
};
|
|
10110
|
+
const BaseLoader = ({ variant, size: size$1, children, "aria-label": ariaLabel, loaderType = "circle",...props }) => {
|
|
9704
10111
|
const stringFormatter = useLocalizedStringFormatter(intlMessages, "marigold");
|
|
9705
10112
|
const className = useClassNames({
|
|
9706
|
-
component: "
|
|
10113
|
+
component: "Loader",
|
|
9707
10114
|
variant,
|
|
9708
10115
|
size: size$1
|
|
9709
10116
|
});
|
|
@@ -9712,149 +10119,9 @@ const BaseLoader = ({ variant, size: size$1, children, "aria-label": ariaLabel,.
|
|
|
9712
10119
|
isIndeterminate: true,
|
|
9713
10120
|
"aria-label": ariaLabel || children ? ariaLabel : stringFormatter.format("loadingMessage"),
|
|
9714
10121
|
...props,
|
|
9715
|
-
children: [/* @__PURE__ */
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
fill: "currentColor",
|
|
9719
|
-
className: className.loader,
|
|
9720
|
-
children: [
|
|
9721
|
-
/* @__PURE__ */ jsx("path", {
|
|
9722
|
-
id: "XMLID_1_",
|
|
9723
|
-
d: "M35.3 27h26.5l54 74.1H88.7z"
|
|
9724
|
-
}),
|
|
9725
|
-
/* @__PURE__ */ jsx("path", {
|
|
9726
|
-
id: "XMLID_5_",
|
|
9727
|
-
d: "M124.3 12.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
9728
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9729
|
-
attributeName: "opacity",
|
|
9730
|
-
attributeType: "XML",
|
|
9731
|
-
values: "1; .01; 1; 1; 1;",
|
|
9732
|
-
begin: "1.0s",
|
|
9733
|
-
dur: "2.5s",
|
|
9734
|
-
repeatCount: "indefinite"
|
|
9735
|
-
})
|
|
9736
|
-
}),
|
|
9737
|
-
/* @__PURE__ */ jsx("path", {
|
|
9738
|
-
id: "XMLID_18_",
|
|
9739
|
-
d: "M115.9 24.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
9740
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9741
|
-
attributeName: "opacity",
|
|
9742
|
-
attributeType: "XML",
|
|
9743
|
-
values: "1; .01; 1; 1; 1;",
|
|
9744
|
-
begin: "0.9s",
|
|
9745
|
-
dur: "2.5s",
|
|
9746
|
-
repeatCount: "indefinite"
|
|
9747
|
-
})
|
|
9748
|
-
}),
|
|
9749
|
-
/* @__PURE__ */ jsx("path", {
|
|
9750
|
-
id: "XMLID_19_",
|
|
9751
|
-
d: "M107.5 35.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
9752
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9753
|
-
attributeName: "opacity",
|
|
9754
|
-
attributeType: "XML",
|
|
9755
|
-
values: "1; .01; 1; 1; 1;",
|
|
9756
|
-
begin: "0.8s",
|
|
9757
|
-
dur: "2.5s",
|
|
9758
|
-
repeatCount: "indefinite"
|
|
9759
|
-
})
|
|
9760
|
-
}),
|
|
9761
|
-
/* @__PURE__ */ jsx("path", {
|
|
9762
|
-
id: "XMLID_20_",
|
|
9763
|
-
d: "M99.1 47.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
9764
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9765
|
-
attributeName: "opacity",
|
|
9766
|
-
attributeType: "XML",
|
|
9767
|
-
values: "1; .01; 1; 1; 1;",
|
|
9768
|
-
begin: "0.7s",
|
|
9769
|
-
dur: "2.5s",
|
|
9770
|
-
repeatCount: "indefinite"
|
|
9771
|
-
})
|
|
9772
|
-
}),
|
|
9773
|
-
/* @__PURE__ */ jsx("path", {
|
|
9774
|
-
id: "XMLID_21_",
|
|
9775
|
-
d: "M90.7 59H90c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.8-2.2 4.9-4.9 4.9z",
|
|
9776
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9777
|
-
attributeName: "opacity",
|
|
9778
|
-
attributeType: "XML",
|
|
9779
|
-
values: "1; .01; 1; 1; 1;",
|
|
9780
|
-
begin: "0.6s",
|
|
9781
|
-
dur: "2.5s",
|
|
9782
|
-
repeatCount: "indefinite"
|
|
9783
|
-
})
|
|
9784
|
-
}),
|
|
9785
|
-
/* @__PURE__ */ jsx("path", {
|
|
9786
|
-
id: "XMLID_22_",
|
|
9787
|
-
d: "M68 89.8h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.8c0 2.6-2.2 4.8-4.9 4.8z",
|
|
9788
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9789
|
-
attributeName: "opacity",
|
|
9790
|
-
attributeType: "XML",
|
|
9791
|
-
values: "1; .01; 1; 1; 1;",
|
|
9792
|
-
begin: "0.5s",
|
|
9793
|
-
dur: "2.5s",
|
|
9794
|
-
repeatCount: "indefinite"
|
|
9795
|
-
})
|
|
9796
|
-
}),
|
|
9797
|
-
/* @__PURE__ */ jsx("path", {
|
|
9798
|
-
id: "XMLID_23_",
|
|
9799
|
-
d: "M59.6 101.4h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c0 2.7-2.2 4.9-4.9 4.9z",
|
|
9800
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9801
|
-
attributeName: "opacity",
|
|
9802
|
-
attributeType: "XML",
|
|
9803
|
-
values: "1; .01; 1; 1; 1;",
|
|
9804
|
-
begin: "0.4s",
|
|
9805
|
-
dur: "2.5s",
|
|
9806
|
-
repeatCount: "indefinite"
|
|
9807
|
-
})
|
|
9808
|
-
}),
|
|
9809
|
-
/* @__PURE__ */ jsx("path", {
|
|
9810
|
-
id: "XMLID_24_",
|
|
9811
|
-
d: "M51.2 112.9h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
|
|
9812
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9813
|
-
attributeName: "opacity",
|
|
9814
|
-
attributeType: "XML",
|
|
9815
|
-
values: "1; .01; 1; 1; 1;",
|
|
9816
|
-
begin: "0.3s",
|
|
9817
|
-
dur: "2.5s",
|
|
9818
|
-
repeatCount: "indefinite"
|
|
9819
|
-
})
|
|
9820
|
-
}),
|
|
9821
|
-
/* @__PURE__ */ jsx("path", {
|
|
9822
|
-
id: "XMLID_25_",
|
|
9823
|
-
d: "M42.8 124.5h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
|
|
9824
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9825
|
-
attributeName: "opacity",
|
|
9826
|
-
attributeType: "XML",
|
|
9827
|
-
values: "1; .01; 1; 1; 1;",
|
|
9828
|
-
begin: "0.2s",
|
|
9829
|
-
dur: "2.5s",
|
|
9830
|
-
repeatCount: "indefinite"
|
|
9831
|
-
})
|
|
9832
|
-
}),
|
|
9833
|
-
/* @__PURE__ */ jsx("path", {
|
|
9834
|
-
id: "XMLID_26_",
|
|
9835
|
-
d: "M34.4 136h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.7-2.2 4.9-4.9 4.9z",
|
|
9836
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9837
|
-
attributeName: "opacity",
|
|
9838
|
-
attributeType: "XML",
|
|
9839
|
-
values: "1; .01; 1; 1; 1;",
|
|
9840
|
-
begin: "0.1s",
|
|
9841
|
-
dur: "2.5s",
|
|
9842
|
-
repeatCount: "indefinite"
|
|
9843
|
-
})
|
|
9844
|
-
}),
|
|
9845
|
-
/* @__PURE__ */ jsx("path", {
|
|
9846
|
-
id: "XMLID_27_",
|
|
9847
|
-
d: "M26 147.6h-.7c-2.7 0-4.9-2.2-4.9-4.9v-.7c0-2.7 2.2-4.9 4.9-4.9h.7c2.7 0 4.9 2.2 4.9 4.9v.7c-.1 2.8-2.2 4.9-4.9 4.9z",
|
|
9848
|
-
children: /* @__PURE__ */ jsx("animate", {
|
|
9849
|
-
attributeName: "opacity",
|
|
9850
|
-
attributeType: "XML",
|
|
9851
|
-
values: "1; .01; 1; 1; 1;",
|
|
9852
|
-
begin: "0.0s",
|
|
9853
|
-
dur: "2.5s",
|
|
9854
|
-
repeatCount: "indefinite"
|
|
9855
|
-
})
|
|
9856
|
-
})
|
|
9857
|
-
]
|
|
10122
|
+
children: [loaderType === "xloader" ? /* @__PURE__ */ jsx(XLoaderSvg, { className: className.loader }) : /* @__PURE__ */ jsx(ProgressCircleSvg, {
|
|
10123
|
+
variant,
|
|
10124
|
+
size: size$1
|
|
9858
10125
|
}), children ? /* @__PURE__ */ jsx(Label, {
|
|
9859
10126
|
className: className.label,
|
|
9860
10127
|
children
|
|
@@ -9863,7 +10130,7 @@ const BaseLoader = ({ variant, size: size$1, children, "aria-label": ariaLabel,.
|
|
|
9863
10130
|
};
|
|
9864
10131
|
|
|
9865
10132
|
//#endregion
|
|
9866
|
-
//#region src/
|
|
10133
|
+
//#region src/Loader/Loader.tsx
|
|
9867
10134
|
const LoaderFullScreen = (props) => {
|
|
9868
10135
|
const id = useId();
|
|
9869
10136
|
return /* @__PURE__ */ jsx(Underlay, {
|
|
@@ -9893,7 +10160,7 @@ const LoaderSection = (props) => {
|
|
|
9893
10160
|
children: /* @__PURE__ */ jsx(BaseLoader, { ...props })
|
|
9894
10161
|
});
|
|
9895
10162
|
};
|
|
9896
|
-
const
|
|
10163
|
+
const Loader = ({ mode, variant,...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx(LoaderFullScreen, {
|
|
9897
10164
|
variant: variant ?? "inverted",
|
|
9898
10165
|
...props
|
|
9899
10166
|
}) : mode === "section" ? /* @__PURE__ */ jsx(LoaderSection, {
|
|
@@ -9921,4 +10188,4 @@ const parseFormData = (e$1) => {
|
|
|
9921
10188
|
};
|
|
9922
10189
|
|
|
9923
10190
|
//#endregion
|
|
9924
|
-
export { Accordion, AccordionItem, ActionMenu, Aside, Aspect, _Autocomplete as Autocomplete, Badge, _Breadcrumbs as Breadcrumbs, Breakout, _Button as Button, _Calendar as Calendar, Card, Center, _Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CloseButton, Collapsible, Columns, _ComboBox as ComboBox, ConfirmationContext, ConfirmationDialog, ConfirmationProvider, Container, _ContextualHelp as ContextualHelp, _DateField as DateField, DateFormat, _DatePicker as DatePicker, _Dialog as Dialog, _Divider as Divider, Drawer, FieldBase, _Form as Form, Grid, _Headline as Headline, HelpText, I18nProvider, IconButton, Inline, _Input as Input, Inset, _Label as Label, _Link as Link, _LinkButton as LinkButton, List, _ListBox as ListBox, _ListBoxItem as ListBoxItem, MarigoldProvider, _Menu as Menu, _Modal as Modal, Multiselect, NonModal, _NumberField as NumberField, NumericFormat, OverlayContainerProvider, _Pagination as Pagination, _Popover as Popover,
|
|
10191
|
+
export { Accordion, AccordionItem, ActionMenu, Aside, Aspect, _Autocomplete as Autocomplete, Badge, _Breadcrumbs as Breadcrumbs, Breakout, _Button as Button, _Calendar as Calendar, Card, Center, _Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CloseButton, Collapsible, Columns, _ComboBox as ComboBox, ConfirmationContext, ConfirmationDialog, ConfirmationProvider, Container, _ContextualHelp as ContextualHelp, _DateField as DateField, DateFormat, _DatePicker as DatePicker, _Dialog as Dialog, _Divider as Divider, Drawer, FieldBase, FileField, _Form as Form, Grid, _Headline as Headline, HelpText, I18nProvider, IconButton, Inline, _Input as Input, Inset, _Label as Label, _Link as Link, _LinkButton as LinkButton, List, _ListBox as ListBox, _ListBoxItem as ListBoxItem, Loader, MarigoldProvider, _Menu as Menu, _Modal as Modal, Multiselect, NonModal, _NumberField as NumberField, NumericFormat, OverlayContainerProvider, _Pagination as Pagination, _Popover as Popover, ProgressCircle, ProgressCircleSvg, _Radio as Radio, _RadioGroup as RadioGroup, RouterProvider, Scrollable, _SearchField as SearchField, SearchInput, SectionMessage, Select, _SelectList as SelectList, _SelectListItem as SelectListItem, _Slider as Slider, Split, Stack, _Switch as Switch, Table, _Tabs as Tabs, _Tag as Tag, _TagGroup as TagGroup, _Text as Text, _TextArea as TextArea, _TextField as TextField, ThemeProvider, Tiles, _TimeField as TimeField, Toast, ToastProvider, _Tooltip as Tooltip, Underlay, VisuallyHidden, parseFormData, useAsyncList, useConfirmation, useListData, useTheme, useToast };
|