@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.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { useAsyncList, useListData } from "@react-stately/data";
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";
2
+ import { DateFormat, NumericFormat, SVG, ThemeProvider, ThemeProvider as ThemeProvider$1, alignment, aspect, cn, createSpacingVar, 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
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
4
  import * as React from "react";
5
5
  import { Children, Component, Fragment, cloneElement, createContext, forwardRef, isValidElement, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
@@ -28,16 +28,18 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
28
28
  var __getOwnPropNames = Object.getOwnPropertyNames;
29
29
  var __getProtoOf = Object.getPrototypeOf;
30
30
  var __hasOwnProp = Object.prototype.hasOwnProperty;
31
- var __commonJS = (cb, mod) => function() {
32
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
33
- };
31
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
34
32
  var __copyProps = (to, from$1, except, desc) => {
35
- if (from$1 && typeof from$1 === "object" || typeof from$1 === "function") for (var keys = __getOwnPropNames(from$1), i$1 = 0, n$1 = keys.length, key; i$1 < n$1; i$1++) {
36
- key = keys[i$1];
37
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
38
- get: ((k$1) => from$1[k$1]).bind(null, key),
39
- enumerable: !(desc = __getOwnPropDesc(from$1, key)) || desc.enumerable
40
- });
33
+ if (from$1 && typeof from$1 === "object" || typeof from$1 === "function") {
34
+ for (var keys = __getOwnPropNames(from$1), i$1 = 0, n$1 = keys.length, key; i$1 < n$1; i$1++) {
35
+ key = keys[i$1];
36
+ if (!__hasOwnProp.call(to, key) && key !== except) {
37
+ __defProp(to, key, {
38
+ get: ((k$1) => from$1[k$1]).bind(null, key),
39
+ enumerable: !(desc = __getOwnPropDesc(from$1, key)) || desc.enumerable
40
+ });
41
+ }
42
+ }
41
43
  }
42
44
  return to;
43
45
  };
@@ -58,7 +60,7 @@ const useAccordionContext = () => {
58
60
 
59
61
  //#endregion
60
62
  //#region src/icons/ChevronDown.tsx
61
- const ChevronDown = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsx("svg", {
63
+ const ChevronDown = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsx("svg", {
62
64
  xmlns: "http://www.w3.org/2000/svg",
63
65
  width: size$1,
64
66
  height: size$1,
@@ -108,7 +110,7 @@ const AccordionHeader = ({ children }) => {
108
110
 
109
111
  //#endregion
110
112
  //#region src/Accordion/AccordionItem.tsx
111
- const AccordionItem = ({ children, disabled, expanded,...props }) => {
113
+ const AccordionItem = ({ children, disabled, expanded, ...props }) => {
112
114
  const { classNames: classNames$2 } = useAccordionContext();
113
115
  return /* @__PURE__ */ jsx(Disclosure, {
114
116
  isDisabled: disabled,
@@ -134,7 +136,7 @@ const AccordionPanel = ({ children }) => {
134
136
 
135
137
  //#endregion
136
138
  //#region src/Accordion/Accordion.tsx
137
- const Accordion = ({ children, disabled, variant, size: size$1, stickyHeader = false, iconPosition = "right",...props }) => {
139
+ const Accordion = ({ children, disabled, variant, size: size$1, stickyHeader = false, iconPosition = "right", ...props }) => {
138
140
  const classNames$2 = useClassNames({
139
141
  component: "Accordion",
140
142
  variant,
@@ -174,7 +176,8 @@ const Aside = ({ children, sideWidth, space = 0, side = "left", wrap = "50%" })
174
176
  content: createVar({ wrap })
175
177
  };
176
178
  return /* @__PURE__ */ jsxs("div", {
177
- className: cn("flex flex-wrap", gapSpace[space]),
179
+ className: cn("flex flex-wrap", "gap-(--space)"),
180
+ style: createSpacingVar("space", `${space}`),
178
181
  children: [/* @__PURE__ */ jsx("div", {
179
182
  className: classNames$1[side === "left" ? "aside" : "content"],
180
183
  style: vars[side === "left" ? "aside" : "content"],
@@ -199,7 +202,7 @@ const Aspect = ({ ratio = "square", maxWidth: maxWidth$1, children }) => {
199
202
 
200
203
  //#endregion
201
204
  //#region src/Center/Center.tsx
202
- const Center = ({ maxWidth: maxWidth$1 = "100%", space = 0, children,...props }) => {
205
+ const Center = ({ maxWidth: maxWidth$1 = "100%", space = 0, children, ...props }) => {
203
206
  return /* @__PURE__ */ jsx("div", {
204
207
  ...props,
205
208
  className: cn("ms-[auto] me-[auto] box-content flex flex-col items-center justify-center", gapSpace[space], "max-w-(--maxWidth)"),
@@ -210,7 +213,7 @@ const Center = ({ maxWidth: maxWidth$1 = "100%", space = 0, children,...props })
210
213
 
211
214
  //#endregion
212
215
  //#region src/icons/TriangleAlert.tsx
213
- const TriangleAlert = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
216
+ const TriangleAlert = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
214
217
  xmlns: "http://www.w3.org/2000/svg",
215
218
  width: size$1,
216
219
  height: size$1,
@@ -231,7 +234,7 @@ const TriangleAlert = ({ size: size$1 = 24, className,...props }) => /* @__PURE_
231
234
 
232
235
  //#endregion
233
236
  //#region src/HelpText/HelpText.tsx
234
- const HelpText = ({ variant, size: size$1, description, errorMessage,...props }) => {
237
+ const HelpText = ({ variant, size: size$1, description, errorMessage, ...props }) => {
235
238
  const classNames$2 = useClassNames({
236
239
  component: "HelpText",
237
240
  variant,
@@ -270,7 +273,7 @@ const HelpText = ({ variant, size: size$1, description, errorMessage,...props })
270
273
 
271
274
  //#endregion
272
275
  //#region src/Label/Label.tsx
273
- const _Label = ({ size: size$1, variant, children,...props }) => {
276
+ const _Label = ({ size: size$1, variant, children, ...props }) => {
274
277
  const className = useClassNames({
275
278
  component: "Label",
276
279
  size: size$1,
@@ -287,7 +290,7 @@ const _Label = ({ size: size$1, variant, children,...props }) => {
287
290
  //#region src/FieldBase/FieldBase.tsx
288
291
  const fixedForwardRef = forwardRef;
289
292
  const _FieldBase = (props, ref) => {
290
- const { as: Component$1 = "div", children, label, size: size$1, variant, width: width$1 = "full", description, errorMessage, className,...rest } = props;
293
+ const { as: Component$1 = "div", children, label, size: size$1, variant, width: width$1 = "full", description, errorMessage, className, ...rest } = props;
291
294
  const classNames$2 = useClassNames({
292
295
  component: "Field",
293
296
  variant,
@@ -353,7 +356,7 @@ const ProgressCircleSvg = ({ size: size$1 = "16", variant }) => {
353
356
  })]
354
357
  });
355
358
  };
356
- const ProgressCircle = ({ size: size$1 = "16",...props }) => {
359
+ const ProgressCircle = ({ size: size$1 = "16", ...props }) => {
357
360
  return /* @__PURE__ */ jsx(ProgressBar, {
358
361
  ...props,
359
362
  "aria-label": "loading",
@@ -364,7 +367,7 @@ const ProgressCircle = ({ size: size$1 = "16",...props }) => {
364
367
 
365
368
  //#endregion
366
369
  //#region src/icons/Search.tsx
367
- const Search = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
370
+ const Search = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
368
371
  xmlns: "http://www.w3.org/2000/svg",
369
372
  width: size$1,
370
373
  height: size$1,
@@ -385,7 +388,7 @@ const Search = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ js
385
388
 
386
389
  //#endregion
387
390
  //#region src/icons/X.tsx
388
- const X = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
391
+ const X = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
389
392
  xmlns: "http://www.w3.org/2000/svg",
390
393
  width: size$1,
391
394
  height: size$1,
@@ -402,7 +405,7 @@ const X = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("s
402
405
 
403
406
  //#endregion
404
407
  //#region src/Input/Input.tsx
405
- const _Input = forwardRef(({ type, icon, action, variant, size: size$1, className,...props }, ref) => {
408
+ const _Input = forwardRef(({ type, icon, action, variant, size: size$1, className, ...props }, ref) => {
406
409
  const classNames$2 = useClassNames({
407
410
  component: "Input",
408
411
  variant,
@@ -440,7 +443,7 @@ const intlMessages$1 = {
440
443
  "en-US": { "Clear search": "Clear search" },
441
444
  "fr-FR": { "Clear search": "Effacer la recherche" }
442
445
  };
443
- const SearchInput = forwardRef(({ className, loading, onClear,...props }, ref) => {
446
+ const SearchInput = forwardRef(({ className, loading, onClear, ...props }, ref) => {
444
447
  const stringFormatter = useLocalizedStringFormatter(intlMessages$1);
445
448
  return /* @__PURE__ */ jsx(_Input, {
446
449
  type: "search",
@@ -466,7 +469,7 @@ const useListBoxContext = () => useContext(ListBoxContext);
466
469
 
467
470
  //#endregion
468
471
  //#region src/icons/Check.tsx
469
- const Check = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsx("svg", {
472
+ const Check = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsx("svg", {
470
473
  xmlns: "http://www.w3.org/2000/svg",
471
474
  width: size$1,
472
475
  height: size$1,
@@ -502,7 +505,7 @@ const _ListBoxItem = ({ ...props }) => {
502
505
 
503
506
  //#endregion
504
507
  //#region src/ListBox/ListBoxSection.tsx
505
- const _Section = ({ header, children,...props }) => {
508
+ const _Section = ({ header, children, ...props }) => {
506
509
  const { classNames: classNames$2 } = useListBoxContext();
507
510
  return /* @__PURE__ */ jsxs(ListBoxSection, {
508
511
  ...props,
@@ -513,7 +516,7 @@ const _Section = ({ header, children,...props }) => {
513
516
 
514
517
  //#endregion
515
518
  //#region src/ListBox/ListBox.tsx
516
- const _ListBox = forwardRef(({ variant, size: size$1,...props }, ref) => {
519
+ const _ListBox = forwardRef(({ variant, size: size$1, ...props }, ref) => {
517
520
  const classNames$2 = useClassNames({
518
521
  component: "ListBox",
519
522
  variant,
@@ -539,7 +542,7 @@ _ListBox.Section = _Section;
539
542
 
540
543
  //#endregion
541
544
  //#region src/Overlay/Underlay.tsx
542
- const Underlay = ({ size: size$1, variant, open, dismissable, keyboardDismissable,...rest }) => {
545
+ const Underlay = ({ size: size$1, variant, open, dismissable, keyboardDismissable, ...rest }) => {
543
546
  const classNames$2 = useClassNames({
544
547
  component: "Underlay",
545
548
  size: size$1,
@@ -561,7 +564,7 @@ const Underlay = ({ size: size$1, variant, open, dismissable, keyboardDismissabl
561
564
 
562
565
  //#endregion
563
566
  //#region src/Overlay/Popover.tsx
564
- const _Popover = forwardRef(({ keyboardDismissDisabled, placement, open, children,...rest }, ref) => {
567
+ const _Popover = forwardRef(({ keyboardDismissDisabled, placement, open, children, ...rest }, ref) => {
565
568
  const props = {
566
569
  isKeyboardDismissDisabled: keyboardDismissDisabled,
567
570
  isOpen: open,
@@ -645,7 +648,7 @@ const AutocompleteInput = ({ loading, onSubmit, onClear, ref }) => {
645
648
  }
646
649
  });
647
650
  };
648
- const _Autocomplete = forwardRef(({ children, defaultValue, value, disabled, error, readOnly, required, emptyState, loading, onChange, onClear, onSubmit,...rest }, ref) => {
651
+ const _Autocomplete = forwardRef(({ children, defaultValue, value, disabled, error, readOnly, required, emptyState, loading, onChange, onClear, onSubmit, ...rest }, ref) => {
649
652
  const props = {
650
653
  onSelectionChange: (key) => key !== null && onSubmit?.(key, null),
651
654
  defaultInputValue: defaultValue,
@@ -679,7 +682,7 @@ _Autocomplete.Section = _ListBox.Section;
679
682
 
680
683
  //#endregion
681
684
  //#region src/Badge/Badge.tsx
682
- const Badge = ({ variant, size: size$1, children,...props }) => {
685
+ const Badge = ({ variant, size: size$1, children, ...props }) => {
683
686
  return /* @__PURE__ */ jsx("div", {
684
687
  className: useClassNames({
685
688
  component: "Badge",
@@ -693,7 +696,7 @@ const Badge = ({ variant, size: size$1, children,...props }) => {
693
696
 
694
697
  //#endregion
695
698
  //#region src/icons/ChevronRight.tsx
696
- const ChevronRight = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsx("svg", {
699
+ const ChevronRight = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsx("svg", {
697
700
  xmlns: "http://www.w3.org/2000/svg",
698
701
  width: size$1,
699
702
  height: size$1,
@@ -710,7 +713,7 @@ const ChevronRight = ({ size: size$1 = 24, className,...props }) => /* @__PURE__
710
713
 
711
714
  //#endregion
712
715
  //#region src/IconButton/IconButton.tsx
713
- const IconButton = ({ className, children, variant, size: size$1,...props }) => {
716
+ const IconButton = ({ className, children, variant, size: size$1, ...props }) => {
714
717
  return /* @__PURE__ */ jsx(Button, {
715
718
  className: cn("shrink-0 cursor-pointer outline-0", useClassNames({
716
719
  component: "IconButton",
@@ -751,7 +754,7 @@ const BreadcrumbsItem = (_) => null;
751
754
 
752
755
  //#endregion
753
756
  //#region src/Breadcrumbs/Breadcrumbs.tsx
754
- const _Breadcrumbs = forwardRef(({ children, variant, size: size$1, disabled, maxVisibleItems,...props }, ref) => {
757
+ const _Breadcrumbs = forwardRef(({ children, variant, size: size$1, disabled, maxVisibleItems, ...props }, ref) => {
755
758
  const { container, item: breadcrumbsItem, link, current } = useClassNames({
756
759
  component: "Breadcrumbs",
757
760
  variant,
@@ -777,7 +780,7 @@ const _Breadcrumbs = forwardRef(({ children, variant, size: size$1, disabled, ma
777
780
  children: displayedItems.map((item, index$1) => {
778
781
  if (!isValidElement(item)) return null;
779
782
  const isLast = index$1 === displayedItems.length - 1;
780
- const { href, children: itemChildren,...ariaProps } = item.props;
783
+ const { href, children: itemChildren, ...ariaProps } = item.props;
781
784
  return /* @__PURE__ */ jsxs(Breadcrumb, {
782
785
  ...ariaProps,
783
786
  className: breadcrumbsItem,
@@ -807,7 +810,7 @@ const Breakout = ({ children }) => /* @__PURE__ */ jsx("div", {
807
810
 
808
811
  //#endregion
809
812
  //#region src/Button/Button.tsx
810
- const _Button = forwardRef(({ children, variant, size: size$1, disabled, loading, fullWidth,...props }, ref) => {
813
+ const _Button = forwardRef(({ children, variant, size: size$1, disabled, loading, fullWidth, ...props }, ref) => {
811
814
  const classNames$2 = useClassNames({
812
815
  component: "Button",
813
816
  variant,
@@ -875,7 +878,7 @@ const _CalendarGrid = () => {
875
878
 
876
879
  //#endregion
877
880
  //#region src/icons/ChevronsVertical.tsx
878
- const ChevronsVertical = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsx("svg", {
881
+ const ChevronsVertical = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsx("svg", {
879
882
  xmlns: "http://www.w3.org/2000/svg",
880
883
  width: size$1,
881
884
  height: size$1,
@@ -933,7 +936,7 @@ const CalendarListBox = ({ type, isDisabled, setSelectedDropdown }) => {
933
936
 
934
937
  //#endregion
935
938
  //#region src/icons/ChevronLeft.tsx
936
- const ChevronLeft = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsx("svg", {
939
+ const ChevronLeft = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsx("svg", {
937
940
  xmlns: "http://www.w3.org/2000/svg",
938
941
  width: size$1,
939
942
  height: size$1,
@@ -1058,7 +1061,7 @@ function hasOnlyOneSelectableYear(minValue, maxValue) {
1058
1061
 
1059
1062
  //#endregion
1060
1063
  //#region src/Calendar/Calendar.tsx
1061
- const _Calendar = ({ disabled, readOnly, size: size$1, variant, width: width$1 = "fit", dateUnavailable, minValue: _minValue, maxValue: _maxValue,...rest }) => {
1064
+ const _Calendar = ({ disabled, readOnly, size: size$1, variant, width: width$1 = "fit", dateUnavailable, minValue: _minValue, maxValue: _maxValue, ...rest }) => {
1062
1065
  const minValue = _minValue;
1063
1066
  const maxValue = _maxValue;
1064
1067
  const props = {
@@ -1119,7 +1122,7 @@ const _Calendar = ({ disabled, readOnly, size: size$1, variant, width: width$1 =
1119
1122
 
1120
1123
  //#endregion
1121
1124
  //#region src/Card/Card.tsx
1122
- const Card = ({ children, variant, size: size$1, space = 0, p: p$1, px, py, pt, pb, pl, pr,...props }) => {
1125
+ const Card = ({ children, variant, size: size$1, space = 0, p: p$1, px, py, pt, pb, pl, pr, ...props }) => {
1123
1126
  const classNames$2 = useClassNames({
1124
1127
  component: "Card",
1125
1128
  variant,
@@ -1142,7 +1145,7 @@ const CollapsibleProvider = ({ value, children }) => /* @__PURE__ */ jsx(Collaps
1142
1145
 
1143
1146
  //#endregion
1144
1147
  //#region src/Collapsible/CollapsibleContent.tsx
1145
- const CollapsibleContent = ({ variant, size: size$1, children,...props }) => {
1148
+ const CollapsibleContent = ({ variant, size: size$1, children, ...props }) => {
1146
1149
  const classNames$2 = useClassNames({
1147
1150
  component: "Collapsible",
1148
1151
  variant,
@@ -1158,7 +1161,7 @@ const CollapsibleContent = ({ variant, size: size$1, children,...props }) => {
1158
1161
 
1159
1162
  //#endregion
1160
1163
  //#region src/Collapsible/CollapsibleTrigger.tsx
1161
- const CollapsibleTrigger = ({ variant, size: size$1, children, level,...props }) => {
1164
+ const CollapsibleTrigger = ({ variant, size: size$1, children, level, ...props }) => {
1162
1165
  const classNames$2 = useClassNames({
1163
1166
  component: "Collapsible",
1164
1167
  variant,
@@ -1178,7 +1181,7 @@ const CollapsibleTrigger = ({ variant, size: size$1, children, level,...props })
1178
1181
 
1179
1182
  //#endregion
1180
1183
  //#region src/Collapsible/Collapsible.tsx
1181
- const Collapsible = ({ variant, size: size$1, children, unstyled,...props }) => {
1184
+ const Collapsible = ({ variant, size: size$1, children, unstyled, ...props }) => {
1182
1185
  const classNames$2 = useClassNames({
1183
1186
  component: "Collapsible",
1184
1187
  variant,
@@ -1201,7 +1204,7 @@ Collapsible.Content = CollapsibleContent;
1201
1204
 
1202
1205
  //#endregion
1203
1206
  //#region src/Collapsible/More.tsx
1204
- const More = ({ children, defaultExpanded = false, unstyled = true, showCount = false,...props }) => {
1207
+ const More = ({ children, defaultExpanded = false, unstyled = true, showCount = false, ...props }) => {
1205
1208
  /**
1206
1209
  * We need to add state here, because toggling on a checkbox will
1207
1210
  * force a rerender and without the state the <Collapsible> will be collapsed.
@@ -1245,7 +1248,7 @@ const CollapsibleGroup$1 = ({ children }) => {
1245
1248
  children
1246
1249
  });
1247
1250
  };
1248
- const _CheckboxGroup = ({ children, variant, size: size$1, required, disabled, readOnly, error, width: width$1, orientation = "vertical", collapseAt,...rest }) => {
1251
+ const _CheckboxGroup = ({ children, variant, size: size$1, required, disabled, readOnly, error, width: width$1, orientation = "vertical", collapseAt, ...rest }) => {
1249
1252
  const classNames$2 = useClassNames({
1250
1253
  component: "Checkbox",
1251
1254
  variant,
@@ -1283,7 +1286,7 @@ const _CheckboxGroup = ({ children, variant, size: size$1, required, disabled, r
1283
1286
 
1284
1287
  //#endregion
1285
1288
  //#region src/icons/Minus.tsx
1286
- const Minus = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsx("svg", {
1289
+ const Minus = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsx("svg", {
1287
1290
  xmlns: "http://www.w3.org/2000/svg",
1288
1291
  width: size$1,
1289
1292
  height: size$1,
@@ -1312,7 +1315,7 @@ const Field = ({ description, children }) => {
1312
1315
  })
1313
1316
  });
1314
1317
  };
1315
- const Icon$1 = ({ className, checked, indeterminate,...props }) => {
1318
+ const Icon$1 = ({ className, checked, indeterminate, ...props }) => {
1316
1319
  return /* @__PURE__ */ jsx("div", {
1317
1320
  "aria-hidden": "true",
1318
1321
  className: 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),
@@ -1326,7 +1329,7 @@ const Icon$1 = ({ className, checked, indeterminate,...props }) => {
1326
1329
  }) : null
1327
1330
  });
1328
1331
  };
1329
- const _Checkbox = forwardRef(({ error, disabled, readOnly, required, checked, defaultChecked, indeterminate, variant, size: size$1, label, description,...rest }, ref) => {
1332
+ const _Checkbox = forwardRef(({ error, disabled, readOnly, required, checked, defaultChecked, indeterminate, variant, size: size$1, label, description, ...rest }, ref) => {
1330
1333
  const props = {
1331
1334
  isIndeterminate: indeterminate,
1332
1335
  isDisabled: disabled,
@@ -1364,7 +1367,7 @@ _Checkbox.Group = _CheckboxGroup;
1364
1367
 
1365
1368
  //#endregion
1366
1369
  //#region src/CloseButton/CloseButton.tsx
1367
- const CloseButton = forwardRef(({ className, size: size$1, variant,...props }, ref) => {
1370
+ const CloseButton = forwardRef(({ className, size: size$1, variant, ...props }, ref) => {
1368
1371
  return /* @__PURE__ */ jsx(Button, {
1369
1372
  ref,
1370
1373
  className: useClassNames({
@@ -1380,7 +1383,7 @@ const CloseButton = forwardRef(({ className, size: size$1, variant,...props }, r
1380
1383
 
1381
1384
  //#endregion
1382
1385
  //#region src/Columns/Columns.tsx
1383
- const Columns = ({ space = 0, columns, collapseAt = "0em", stretch, children,...props }) => {
1386
+ const Columns = ({ space = 0, columns, collapseAt = "0em", stretch, children, ...props }) => {
1384
1387
  if (Children.count(children) !== columns.length) throw new Error(`Columns: expected ${columns.length} children, got ${Children.count(children)}`);
1385
1388
  return /* @__PURE__ */ jsx("div", {
1386
1389
  className: cn("flex flex-wrap items-stretch", stretch && "h-full", gapSpace[space]),
@@ -1398,7 +1401,7 @@ const Columns = ({ space = 0, columns, collapseAt = "0em", stretch, children,...
1398
1401
 
1399
1402
  //#endregion
1400
1403
  //#region src/ComboBox/ComboBox.tsx
1401
- const _ComboBox = forwardRef(({ variant, size: size$1, required, disabled, readOnly, error, defaultValue, value, emptyState, onChange, children, loading,...rest }, ref) => {
1404
+ const _ComboBox = forwardRef(({ variant, size: size$1, required, disabled, readOnly, error, defaultValue, value, emptyState, onChange, children, loading, ...rest }, ref) => {
1402
1405
  const props = {
1403
1406
  isDisabled: disabled,
1404
1407
  isReadOnly: readOnly,
@@ -1453,7 +1456,7 @@ const gridColumn = {
1453
1456
  center: "*:col-[2]",
1454
1457
  right: "*:col-[3]"
1455
1458
  };
1456
- const Container = ({ contentLength = "default", align = "left", alignItems = "none", space = 0, children,...props }) => /* @__PURE__ */ jsx("div", {
1459
+ const Container = ({ contentLength = "default", align = "left", alignItems = "none", space = 0, children, ...props }) => /* @__PURE__ */ jsx("div", {
1457
1460
  ...props,
1458
1461
  className: cn("grid", placeItems[alignItems], gridColsAlign[align], gridColumn[align], gapSpace[space]),
1459
1462
  style: createVar({
@@ -1465,7 +1468,7 @@ const Container = ({ contentLength = "default", align = "left", alignItems = "no
1465
1468
 
1466
1469
  //#endregion
1467
1470
  //#region src/icons/CircleQuestionMark.tsx
1468
- const CircleQuestionMark = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
1471
+ const CircleQuestionMark = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
1469
1472
  xmlns: "http://www.w3.org/2000/svg",
1470
1473
  width: size$1,
1471
1474
  height: size$1,
@@ -1490,7 +1493,7 @@ const CircleQuestionMark = ({ size: size$1 = 24, className,...props }) => /* @__
1490
1493
 
1491
1494
  //#endregion
1492
1495
  //#region src/icons/Info.tsx
1493
- const Info = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
1496
+ const Info = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
1494
1497
  xmlns: "http://www.w3.org/2000/svg",
1495
1498
  width: size$1,
1496
1499
  height: size$1,
@@ -1545,7 +1548,7 @@ const icons$2 = {
1545
1548
  help: CircleQuestionMark,
1546
1549
  info: Info
1547
1550
  };
1548
- const DialogTrigger$1 = ({ open,...rest }) => /* @__PURE__ */ jsx(DialogTrigger, {
1551
+ const DialogTrigger$1 = ({ open, ...rest }) => /* @__PURE__ */ jsx(DialogTrigger, {
1549
1552
  isOpen: open,
1550
1553
  ...rest
1551
1554
  });
@@ -1583,7 +1586,7 @@ _ContextualHelp.Content = ContextualHelpContent;
1583
1586
 
1584
1587
  //#endregion
1585
1588
  //#region src/DateField/DateSegment.tsx
1586
- const _DateSegment = ({ segment,...props }) => {
1589
+ const _DateSegment = ({ segment, ...props }) => {
1587
1590
  return /* @__PURE__ */ jsx(DateSegment, {
1588
1591
  ...props,
1589
1592
  segment,
@@ -1662,7 +1665,7 @@ const isValidDate = (year, month, day) => {
1662
1665
  if (month === 2 && isLeapYear) return day <= 29;
1663
1666
  return day <= daysInMonth[month - 1];
1664
1667
  };
1665
- const _DateInput = ({ variant, size: size$1, action, onPaste,...props }) => {
1668
+ const _DateInput = ({ variant, size: size$1, action, onPaste, ...props }) => {
1666
1669
  const classNames$2 = useClassNames({
1667
1670
  component: "DateField",
1668
1671
  variant,
@@ -1695,7 +1698,7 @@ const _DateInput = ({ variant, size: size$1, action, onPaste,...props }) => {
1695
1698
 
1696
1699
  //#endregion
1697
1700
  //#region src/DateField/DateField.tsx
1698
- const _DateField = forwardRef(({ variant, size: size$1, action, disabled, required, error, readOnly, onChange,...rest }, ref) => {
1701
+ const _DateField = forwardRef(({ variant, size: size$1, action, disabled, required, error, readOnly, onChange, ...rest }, ref) => {
1699
1702
  return /* @__PURE__ */ jsx(FieldBase, {
1700
1703
  as: DateField,
1701
1704
  variant,
@@ -1712,7 +1715,7 @@ const _DateField = forwardRef(({ variant, size: size$1, action, disabled, requir
1712
1715
  })
1713
1716
  });
1714
1717
  });
1715
- const DateInputWithPasteWrapper = ({ onChange,...props }) => {
1718
+ const DateInputWithPasteWrapper = ({ onChange, ...props }) => {
1716
1719
  const ctx = useContext(DateFieldStateContext);
1717
1720
  const onPaste = (date) => {
1718
1721
  if (onChange) onChange(date);
@@ -1726,7 +1729,7 @@ const DateInputWithPasteWrapper = ({ onChange,...props }) => {
1726
1729
 
1727
1730
  //#endregion
1728
1731
  //#region src/icons/Calendar.tsx
1729
- const Calendar$1 = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
1732
+ const Calendar$1 = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
1730
1733
  xmlns: "http://www.w3.org/2000/svg",
1731
1734
  width: size$1,
1732
1735
  height: size$1,
@@ -1754,7 +1757,7 @@ const Calendar$1 = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ *
1754
1757
 
1755
1758
  //#endregion
1756
1759
  //#region src/DatePicker/DatePicker.tsx
1757
- const _DatePicker = forwardRef(({ dateUnavailable, disabled, required, readOnly, error, variant, size: size$1, open, granularity = "day", onChange,...rest }, ref) => {
1760
+ const _DatePicker = forwardRef(({ dateUnavailable, disabled, required, readOnly, error, variant, size: size$1, open, granularity = "day", onChange, ...rest }, ref) => {
1758
1761
  const props = {
1759
1762
  isDateUnavailable: dateUnavailable,
1760
1763
  isDisabled: disabled,
@@ -1789,7 +1792,7 @@ const _DatePicker = forwardRef(({ dateUnavailable, disabled, required, readOnly,
1789
1792
  }), /* @__PURE__ */ jsx(_Popover, { children: /* @__PURE__ */ jsx(Dialog, { children: /* @__PURE__ */ jsx(_Calendar, { disabled }) }) })]
1790
1793
  });
1791
1794
  });
1792
- const DatePickerWithPasteWrapper = ({ onChange,...props }) => {
1795
+ const DatePickerWithPasteWrapper = ({ onChange, ...props }) => {
1793
1796
  const ctx = useContext(DatePickerStateContext);
1794
1797
  const onPaste = (date) => {
1795
1798
  if (onChange) onChange(date);
@@ -1803,7 +1806,7 @@ const DatePickerWithPasteWrapper = ({ onChange,...props }) => {
1803
1806
 
1804
1807
  //#endregion
1805
1808
  //#region src/Overlay/Modal.tsx
1806
- const _Modal = forwardRef(({ size: size$1, open, dismissable, keyboardDismissable, onOpenChange, children,...props }, ref) => {
1809
+ const _Modal = forwardRef(({ size: size$1, open, dismissable, keyboardDismissable, onOpenChange, children, ...props }, ref) => {
1807
1810
  const className = useClassNames({
1808
1811
  component: "Modal",
1809
1812
  size: size$1
@@ -1873,7 +1876,7 @@ const DialogTitle = ({ variant, size: size$1, children }) => {
1873
1876
 
1874
1877
  //#endregion
1875
1878
  //#region src/Dialog/DialogTrigger.tsx
1876
- const _DialogTrigger = ({ open, dismissable, keyboardDismissable,...rest }) => {
1879
+ const _DialogTrigger = ({ open, dismissable, keyboardDismissable, ...rest }) => {
1877
1880
  const ctx = {
1878
1881
  isDismissable: dismissable,
1879
1882
  isKeyboardDismissDisabled: !keyboardDismissable
@@ -1900,7 +1903,7 @@ const _DialogTrigger = ({ open, dismissable, keyboardDismissable,...rest }) => {
1900
1903
  * Needed so that the close button and function can be used inside the dialog,
1901
1904
  * when the dialog is controlled and no <Dialog.Trigger> is used.
1902
1905
  */
1903
- const InnerDialog = forwardRef(({ variant, size: size$1, closeButton,...props }, ref) => {
1906
+ const InnerDialog = forwardRef(({ variant, size: size$1, closeButton, ...props }, ref) => {
1904
1907
  const state = useContext(OverlayTriggerStateContext);
1905
1908
  const classNames$2 = useClassNames({
1906
1909
  component: "Dialog",
@@ -1918,7 +1921,7 @@ const InnerDialog = forwardRef(({ variant, size: size$1, closeButton,...props },
1918
1921
  }), children]
1919
1922
  });
1920
1923
  });
1921
- const _Dialog = forwardRef(({ open, onOpenChange, children,...props }, ref) => {
1924
+ const _Dialog = forwardRef(({ open, onOpenChange, children, ...props }, ref) => {
1922
1925
  const ctx = useContext(DialogContext);
1923
1926
  return /* @__PURE__ */ jsx(_Modal, {
1924
1927
  size: props.size,
@@ -1940,7 +1943,7 @@ _Dialog.Actions = DialogActions;
1940
1943
 
1941
1944
  //#endregion
1942
1945
  //#region src/Dialog/ConfirmationDialog.tsx
1943
- const ConfirmationDialog = ({ title, confirmationLabel, cancelLabel, onCancel, onConfirm, autoFocusButton, children, variant, size: size$1 = "xsmall",...props }) => {
1946
+ const ConfirmationDialog = ({ title, confirmationLabel, cancelLabel, onCancel, onConfirm, autoFocusButton, children, variant, size: size$1 = "xsmall", ...props }) => {
1944
1947
  const stringFormatter = useLocalizedStringFormatter(intlMessages, "marigold");
1945
1948
  return /* @__PURE__ */ jsx(_Dialog, {
1946
1949
  role: "alertdialog",
@@ -2012,7 +2015,7 @@ const useConfirmation = () => {
2012
2015
 
2013
2016
  //#endregion
2014
2017
  //#region src/Divider/Divider.tsx
2015
- const _Divider = ({ variant,...props }) => {
2018
+ const _Divider = ({ variant, ...props }) => {
2016
2019
  return /* @__PURE__ */ jsx(Separator, {
2017
2020
  className: cn("border-none", useClassNames({
2018
2021
  component: "Divider",
@@ -2119,7 +2122,7 @@ const useNonModal = ({ nonModalRef, keyboardDismissable = true }, state) => {
2119
2122
 
2120
2123
  //#endregion
2121
2124
  //#region src/Overlay/NonModal.tsx
2122
- const NonModalInner = ({ state, isExiting,...props }) => {
2125
+ const NonModalInner = ({ state, isExiting, ...props }) => {
2123
2126
  const { nonModalProps } = useNonModal(props, state);
2124
2127
  const ref = props.nonModalRef;
2125
2128
  const isEntering = useEnterAnimation(ref) || props.isEntering || false;
@@ -2162,7 +2165,7 @@ const NonModalInner = ({ state, isExiting,...props }) => {
2162
2165
  })
2163
2166
  });
2164
2167
  };
2165
- const NonModal = forwardRef(({ open,...rest }, ref) => {
2168
+ const NonModal = forwardRef(({ open, ...rest }, ref) => {
2166
2169
  const props = {
2167
2170
  isOpen: open,
2168
2171
  ...rest
@@ -2184,7 +2187,7 @@ const NonModal = forwardRef(({ open,...rest }, ref) => {
2184
2187
 
2185
2188
  //#endregion
2186
2189
  //#region src/Drawer/DrawerModal.tsx
2187
- const MobileModal = ({ children,...props }) => /* @__PURE__ */ jsx(ModalOverlay, {
2190
+ const MobileModal = ({ children, ...props }) => /* @__PURE__ */ jsx(ModalOverlay, {
2188
2191
  ...props,
2189
2192
  className: "fixed inset-0 z-40 h-(--visual-viewport-height)",
2190
2193
  children: /* @__PURE__ */ jsx(Modal, {
@@ -2192,7 +2195,7 @@ const MobileModal = ({ children,...props }) => /* @__PURE__ */ jsx(ModalOverlay,
2192
2195
  children
2193
2196
  })
2194
2197
  });
2195
- const DrawerModal = ({ children, className,...props }) => {
2198
+ const DrawerModal = ({ children, className, ...props }) => {
2196
2199
  return useSmallScreen() ? /* @__PURE__ */ jsx(MobileModal, { children }) : /* @__PURE__ */ jsx(NonModal, {
2197
2200
  ...props,
2198
2201
  className: cn("fixed", className),
@@ -2223,7 +2226,7 @@ const DrawerTitle = ({ variant, size: size$1, children }) => {
2223
2226
 
2224
2227
  //#endregion
2225
2228
  //#region src/Drawer/DrawerTrigger.tsx
2226
- const DrawerTrigger = ({ open, children,...props }) => /* @__PURE__ */ jsx(DialogTrigger, {
2229
+ const DrawerTrigger = ({ open, children, ...props }) => /* @__PURE__ */ jsx(DialogTrigger, {
2227
2230
  isOpen: open,
2228
2231
  ...props,
2229
2232
  children
@@ -2231,7 +2234,7 @@ const DrawerTrigger = ({ open, children,...props }) => /* @__PURE__ */ jsx(Dialo
2231
2234
 
2232
2235
  //#endregion
2233
2236
  //#region src/Drawer/Drawer.tsx
2234
- const Drawer = ({ children, size: size$1 = "medium", variant, open, keyboardDismissable, closeButton, role = "complementary", placement = "right",...props }) => {
2237
+ const Drawer = ({ children, size: size$1 = "medium", variant, open, keyboardDismissable, closeButton, role = "complementary", placement = "right", ...props }) => {
2235
2238
  const ref = useRef(null);
2236
2239
  const classNames$2 = useClassNames({
2237
2240
  component: "Drawer",
@@ -2294,7 +2297,7 @@ const FileFieldItem = ({ children, onRemove }) => {
2294
2297
 
2295
2298
  //#endregion
2296
2299
  //#region src/icons/Upload.tsx
2297
- const Upload = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
2300
+ const Upload = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
2298
2301
  xmlns: "http://www.w3.org/2000/svg",
2299
2302
  width: size$1,
2300
2303
  height: size$1,
@@ -2311,7 +2314,7 @@ const Upload = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ js
2311
2314
 
2312
2315
  //#endregion
2313
2316
  //#region src/FileField/FileTrigger.tsx
2314
- const _FileTrigger = ({ label, disabled,...rest }) => {
2317
+ const _FileTrigger = ({ label, disabled, ...rest }) => {
2315
2318
  return /* @__PURE__ */ jsx(FileTrigger, {
2316
2319
  ...rest,
2317
2320
  children: /* @__PURE__ */ jsxs(_Button, {
@@ -2355,7 +2358,7 @@ const normalizeAndLimitFiles = (files, { accept, multiple }) => {
2355
2358
 
2356
2359
  //#endregion
2357
2360
  //#region src/FileField/FileField.tsx
2358
- const FileField = ({ disabled = false, accept = ["*"], multiple = false, width: width$1, label,...props }) => {
2361
+ const FileField = ({ disabled = false, accept = ["*"], multiple = false, width: width$1, label, ...props }) => {
2359
2362
  const [files, setFiles] = useState(null);
2360
2363
  const stringFormatter = useLocalizedStringFormatter(intlMessages);
2361
2364
  const dropZoneLabel = stringFormatter.format("dropZoneLabel");
@@ -2423,7 +2426,7 @@ FileField.Item = FileFieldItem;
2423
2426
 
2424
2427
  //#endregion
2425
2428
  //#region src/Form/Form.tsx
2426
- const _Form = ({ unstyled, maxWidth: maxWidth$1 = "full",...props }) => /* @__PURE__ */ jsx(Form, {
2429
+ const _Form = ({ unstyled, maxWidth: maxWidth$1 = "full", ...props }) => /* @__PURE__ */ jsx(Form, {
2427
2430
  ...props,
2428
2431
  className: cn(maxWidth[maxWidth$1], unstyled && "contents")
2429
2432
  });
@@ -2439,7 +2442,7 @@ const GridArea = ({ name, children }) => /* @__PURE__ */ jsx("div", {
2439
2442
  //#region src/Grid/Grid.tsx
2440
2443
  const parseGridAreas = (areas) => areas.map((area) => `"${area}"`).join("\n");
2441
2444
  const parseTemplateValue = (values) => values.map((val) => typeof val === "number" ? `${val}fr` : val).join(" ");
2442
- const Grid = ({ children, areas, columns, rows, alignX, alignY, height: height$1 = "auto", space = 0,...props }) => {
2445
+ const Grid = ({ children, areas, columns, rows, alignX, alignY, height: height$1 = "auto", space = 0, ...props }) => {
2443
2446
  return /* @__PURE__ */ jsx("div", {
2444
2447
  className: cn("grid", alignX && alignment?.horizontal?.alignmentX[alignX], alignY && alignment?.horizontal?.alignmentY[alignY], gapSpace[space], height[height$1]),
2445
2448
  style: {
@@ -2455,7 +2458,7 @@ Grid.Area = GridArea;
2455
2458
 
2456
2459
  //#endregion
2457
2460
  //#region src/Headline/Headline.tsx
2458
- const _Headline = ({ variant, size: size$1, children, align = "left", color, level = "1",...props }) => {
2461
+ const _Headline = ({ variant, size: size$1, children, align = "left", color, level = "1", ...props }) => {
2459
2462
  const classNames$2 = useClassNames({
2460
2463
  component: "Headline",
2461
2464
  variant,
@@ -2476,9 +2479,10 @@ const inlineAlignmentY = {
2476
2479
  ...alignment.horizontal.alignmentY,
2477
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"
2478
2481
  };
2479
- const Inline = ({ space = 0, noWrap, alignX, alignY, children,...props }) => /* @__PURE__ */ jsx("div", {
2482
+ const Inline = ({ space = 0, noWrap, alignX, alignY, children, ...props }) => /* @__PURE__ */ jsx("div", {
2480
2483
  ...props,
2481
- className: cn("flex", !noWrap && "flex-wrap", gapSpace[space], alignX && alignment?.horizontal?.alignmentX[alignX], alignY && inlineAlignmentY[alignY]),
2484
+ className: cn("flex gap-(--space)", !noWrap && "flex-wrap", alignX && alignment?.horizontal?.alignmentX[alignX], alignY && inlineAlignmentY[alignY]),
2485
+ style: createSpacingVar("space", `${space}`),
2482
2486
  children
2483
2487
  });
2484
2488
 
@@ -2491,7 +2495,7 @@ const Inset = ({ space, spaceX, spaceY, children }) => /* @__PURE__ */ jsx("div"
2491
2495
 
2492
2496
  //#endregion
2493
2497
  //#region src/Link/Link.tsx
2494
- const _Link = forwardRef(({ variant, size: size$1, disabled, children,...props }, ref) => {
2498
+ const _Link = forwardRef(({ variant, size: size$1, disabled, children, ...props }, ref) => {
2495
2499
  const classNames$2 = useClassNames({
2496
2500
  component: "Link",
2497
2501
  variant,
@@ -2508,7 +2512,7 @@ const _Link = forwardRef(({ variant, size: size$1, disabled, children,...props }
2508
2512
 
2509
2513
  //#endregion
2510
2514
  //#region src/LinkButton/LinkButton.tsx
2511
- const _LinkButton = forwardRef(({ children, variant, size: size$1, disabled, fullWidth,...props }, ref) => {
2515
+ const _LinkButton = forwardRef(({ children, variant, size: size$1, disabled, fullWidth, ...props }, ref) => {
2512
2516
  const classNames$2 = useClassNames({
2513
2517
  component: "Button",
2514
2518
  variant,
@@ -2530,7 +2534,7 @@ const useListContext = () => useContext(ListContext);
2530
2534
 
2531
2535
  //#endregion
2532
2536
  //#region src/List/ListItem.tsx
2533
- const ListItem = ({ children,...props }) => {
2537
+ const ListItem = ({ children, ...props }) => {
2534
2538
  const { classNames: classNames$2 } = useListContext();
2535
2539
  return /* @__PURE__ */ jsx("li", {
2536
2540
  ...props,
@@ -2541,7 +2545,7 @@ const ListItem = ({ children,...props }) => {
2541
2545
 
2542
2546
  //#endregion
2543
2547
  //#region src/List/List.tsx
2544
- const List = ({ as = "ul", children, variant, size: size$1,...props }) => {
2548
+ const List = ({ as = "ul", children, variant, size: size$1, ...props }) => {
2545
2549
  const Component$1 = as;
2546
2550
  const classNames$2 = useClassNames({
2547
2551
  component: "List",
@@ -2561,7 +2565,7 @@ List.Item = ListItem;
2561
2565
 
2562
2566
  //#endregion
2563
2567
  //#region src/icons/EllipsisVertical.tsx
2564
- const EllipsisVertical = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
2568
+ const EllipsisVertical = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
2565
2569
  xmlns: "http://www.w3.org/2000/svg",
2566
2570
  width: size$1,
2567
2571
  height: size$1,
@@ -2594,7 +2598,7 @@ const EllipsisVertical = ({ size: size$1 = 24, className,...props }) => /* @__PU
2594
2598
 
2595
2599
  //#endregion
2596
2600
  //#region src/Menu/MenuItem.tsx
2597
- const _MenuItem = ({ children, variant, size: size$1,...props }) => {
2601
+ const _MenuItem = ({ children, variant, size: size$1, ...props }) => {
2598
2602
  const classNames$2 = useClassNames({
2599
2603
  component: "Menu",
2600
2604
  variant,
@@ -2609,7 +2613,7 @@ const _MenuItem = ({ children, variant, size: size$1,...props }) => {
2609
2613
 
2610
2614
  //#endregion
2611
2615
  //#region src/Menu/MenuSection.tsx
2612
- const _MenuSection = ({ children, title,...props }) => {
2616
+ const _MenuSection = ({ children, title, ...props }) => {
2613
2617
  const className = useClassNames({ component: "Menu" });
2614
2618
  return /* @__PURE__ */ jsxs(MenuSection, {
2615
2619
  ...props,
@@ -2622,7 +2626,7 @@ const _MenuSection = ({ children, title,...props }) => {
2622
2626
 
2623
2627
  //#endregion
2624
2628
  //#region src/Menu/Menu.tsx
2625
- const _Menu = ({ children, label, variant, size: size$1, disabled, open, placement, "aria-label": ariaLabel,...props }) => {
2629
+ const _Menu = ({ children, label, variant, size: size$1, disabled, open, placement, "aria-label": ariaLabel, ...props }) => {
2626
2630
  const classNames$2 = useClassNames({
2627
2631
  component: "Menu",
2628
2632
  variant,
@@ -2651,7 +2655,7 @@ _Menu.Section = _MenuSection;
2651
2655
 
2652
2656
  //#endregion
2653
2657
  //#region src/Menu/ActionMenu.tsx
2654
- const ActionMenu = ({ children,...props }) => /* @__PURE__ */ jsx(_Menu, {
2658
+ const ActionMenu = ({ children, ...props }) => /* @__PURE__ */ jsx(_Menu, {
2655
2659
  ...props,
2656
2660
  label: /* @__PURE__ */ jsx(EllipsisVertical, {}),
2657
2661
  children
@@ -3848,7 +3852,15 @@ var createCache = function createCache$1(options$1) {
3848
3852
 
3849
3853
  //#endregion
3850
3854
  //#region ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
3851
- var require_react_is_production_min = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js": ((exports) => {
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) => {
3852
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;
3853
3865
  function z(a) {
3854
3866
  if ("object" === typeof a && null !== a) {
@@ -3931,12 +3943,21 @@ var require_react_is_production_min = /* @__PURE__ */ __commonJS({ "../../node_m
3931
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);
3932
3944
  };
3933
3945
  exports.typeOf = z;
3934
- }) });
3946
+ }));
3935
3947
 
3936
3948
  //#endregion
3937
3949
  //#region ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
3938
- var require_react_is_development = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js": ((exports) => {
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) => {
3939
3959
  if (process.env.NODE_ENV !== "production") (function() {
3960
+ "use strict";
3940
3961
  var hasSymbol = typeof Symbol === "function" && Symbol.for;
3941
3962
  var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
3942
3963
  var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
@@ -4073,18 +4094,18 @@ var require_react_is_development = /* @__PURE__ */ __commonJS({ "../../node_modu
4073
4094
  exports.isValidElementType = isValidElementType;
4074
4095
  exports.typeOf = typeOf;
4075
4096
  })();
4076
- }) });
4097
+ }));
4077
4098
 
4078
4099
  //#endregion
4079
4100
  //#region ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js
4080
- var require_react_is = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js": ((exports, module) => {
4101
+ var require_react_is = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4081
4102
  if (process.env.NODE_ENV === "production") module.exports = require_react_is_production_min();
4082
4103
  else module.exports = require_react_is_development();
4083
- }) });
4104
+ }));
4084
4105
 
4085
4106
  //#endregion
4086
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
4087
- var require_hoist_non_react_statics_cjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js": ((exports, module) => {
4108
+ var require_hoist_non_react_statics_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4088
4109
  var reactIs = require_react_is();
4089
4110
  /**
4090
4111
  * Copyright 2015, Yahoo! Inc.
@@ -4163,7 +4184,7 @@ var require_hoist_non_react_statics_cjs = /* @__PURE__ */ __commonJS({ "../../no
4163
4184
  return targetComponent;
4164
4185
  }
4165
4186
  module.exports = hoistNonReactStatics;
4166
- }) });
4187
+ }));
4167
4188
 
4168
4189
  //#endregion
4169
4190
  //#region ../../node_modules/.pnpm/@emotion+utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.esm.js
@@ -4478,7 +4499,7 @@ var Emotion$1 = /* @__PURE__ */ withEmotionCache(function(props, cache, ref) {
4478
4499
 
4479
4500
  //#endregion
4480
4501
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/extends.js
4481
- var require_extends = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/extends.js": ((exports, module) => {
4502
+ var require_extends = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4482
4503
  function _extends$1() {
4483
4504
  return module.exports = _extends$1 = Object.assign ? Object.assign.bind() : function(n$1) {
4484
4505
  for (var e$1 = 1; e$1 < arguments.length; e$1++) {
@@ -4489,12 +4510,12 @@ var require_extends = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@ba
4489
4510
  }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends$1.apply(null, arguments);
4490
4511
  }
4491
4512
  module.exports = _extends$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
4492
- }) });
4513
+ }));
4493
4514
 
4494
4515
  //#endregion
4495
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
4496
- var import_extends = /* @__PURE__ */ __toESM(require_extends());
4497
- var import_hoist_non_react_statics_cjs = /* @__PURE__ */ __toESM(require_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();
4498
4519
  var jsx$1 = function jsx$2(type, props) {
4499
4520
  var args = arguments;
4500
4521
  if (props == null || !hasOwn.call(props, "css")) return React.createElement.apply(void 0, args);
@@ -5791,7 +5812,7 @@ var defaultComponents = function defaultComponents$1(props) {
5791
5812
 
5792
5813
  //#endregion
5793
5814
  //#region ../../node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.cjs.js
5794
- var require_memoize_one_cjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.cjs.js": ((exports, module) => {
5815
+ var require_memoize_one_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5795
5816
  var safeIsNaN = Number.isNaN || function ponyfill(value) {
5796
5817
  return typeof value === "number" && value !== value;
5797
5818
  };
@@ -5826,7 +5847,7 @@ var require_memoize_one_cjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.
5826
5847
  return memoized;
5827
5848
  }
5828
5849
  module.exports = memoizeOne$1;
5829
- }) });
5850
+ }));
5830
5851
 
5831
5852
  //#endregion
5832
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
@@ -8012,7 +8033,7 @@ Select$2.defaultProps = defaultProps;
8012
8033
 
8013
8034
  //#endregion
8014
8035
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/typeof.js
8015
- var require_typeof = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/typeof.js": ((exports, module) => {
8036
+ var require_typeof = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8016
8037
  function _typeof$3(o) {
8017
8038
  "@babel/helpers - typeof";
8018
8039
  return module.exports = _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
@@ -8022,11 +8043,11 @@ var require_typeof = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@bab
8022
8043
  }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof$3(o);
8023
8044
  }
8024
8045
  module.exports = _typeof$3, module.exports.__esModule = true, module.exports["default"] = module.exports;
8025
- }) });
8046
+ }));
8026
8047
 
8027
8048
  //#endregion
8028
8049
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/toPrimitive.js
8029
- var require_toPrimitive = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/toPrimitive.js": ((exports, module) => {
8050
+ var require_toPrimitive = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8030
8051
  var _typeof$2 = require_typeof()["default"];
8031
8052
  function toPrimitive$1(t$1, r$1) {
8032
8053
  if ("object" != _typeof$2(t$1) || !t$1) return t$1;
@@ -8039,11 +8060,11 @@ var require_toPrimitive = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
8039
8060
  return ("string" === r$1 ? String : Number)(t$1);
8040
8061
  }
8041
8062
  module.exports = toPrimitive$1, module.exports.__esModule = true, module.exports["default"] = module.exports;
8042
- }) });
8063
+ }));
8043
8064
 
8044
8065
  //#endregion
8045
8066
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/toPropertyKey.js
8046
- var require_toPropertyKey = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/toPropertyKey.js": ((exports, module) => {
8067
+ var require_toPropertyKey = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8047
8068
  var _typeof$1 = require_typeof()["default"];
8048
8069
  var toPrimitive = require_toPrimitive();
8049
8070
  function toPropertyKey$2(t$1) {
@@ -8051,11 +8072,11 @@ var require_toPropertyKey = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
8051
8072
  return "symbol" == _typeof$1(i$1) ? i$1 : i$1 + "";
8052
8073
  }
8053
8074
  module.exports = toPropertyKey$2, module.exports.__esModule = true, module.exports["default"] = module.exports;
8054
- }) });
8075
+ }));
8055
8076
 
8056
8077
  //#endregion
8057
8078
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/defineProperty.js
8058
- var require_defineProperty = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/defineProperty.js": ((exports, module) => {
8079
+ var require_defineProperty = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8059
8080
  var toPropertyKey$1 = require_toPropertyKey();
8060
8081
  function _defineProperty(e$1, r$1, t$1) {
8061
8082
  return (r$1 = toPropertyKey$1(r$1)) in e$1 ? Object.defineProperty(e$1, r$1, {
@@ -8066,11 +8087,11 @@ var require_defineProperty = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
8066
8087
  }) : e$1[r$1] = t$1, e$1;
8067
8088
  }
8068
8089
  module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
8069
- }) });
8090
+ }));
8070
8091
 
8071
8092
  //#endregion
8072
8093
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/objectSpread2.js
8073
- var require_objectSpread2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/objectSpread2.js": ((exports, module) => {
8094
+ var require_objectSpread2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8074
8095
  var defineProperty = require_defineProperty();
8075
8096
  function ownKeys(e$1, r$1) {
8076
8097
  var t$1 = Object.keys(e$1);
@@ -8094,20 +8115,20 @@ var require_objectSpread2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
8094
8115
  return e$1;
8095
8116
  }
8096
8117
  module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports;
8097
- }) });
8118
+ }));
8098
8119
 
8099
8120
  //#endregion
8100
8121
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/arrayWithHoles.js
8101
- var require_arrayWithHoles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/arrayWithHoles.js": ((exports, module) => {
8122
+ var require_arrayWithHoles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8102
8123
  function _arrayWithHoles(r$1) {
8103
8124
  if (Array.isArray(r$1)) return r$1;
8104
8125
  }
8105
8126
  module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
8106
- }) });
8127
+ }));
8107
8128
 
8108
8129
  //#endregion
8109
8130
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js
8110
- var require_iterableToArrayLimit = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": ((exports, module) => {
8131
+ var require_iterableToArrayLimit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8111
8132
  function _iterableToArrayLimit(r$1, l$1) {
8112
8133
  var t$1 = null == r$1 ? null : "undefined" != typeof Symbol && r$1[Symbol.iterator] || r$1["@@iterator"];
8113
8134
  if (null != t$1) {
@@ -8130,22 +8151,22 @@ var require_iterableToArrayLimit = /* @__PURE__ */ __commonJS({ "../../node_modu
8130
8151
  }
8131
8152
  }
8132
8153
  module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
8133
- }) });
8154
+ }));
8134
8155
 
8135
8156
  //#endregion
8136
8157
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/arrayLikeToArray.js
8137
- var require_arrayLikeToArray = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/arrayLikeToArray.js": ((exports, module) => {
8158
+ var require_arrayLikeToArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8138
8159
  function _arrayLikeToArray(r$1, a) {
8139
8160
  (null == a || a > r$1.length) && (a = r$1.length);
8140
8161
  for (var e$1 = 0, n$1 = Array(a); e$1 < a; e$1++) n$1[e$1] = r$1[e$1];
8141
8162
  return n$1;
8142
8163
  }
8143
8164
  module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
8144
- }) });
8165
+ }));
8145
8166
 
8146
8167
  //#endregion
8147
8168
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js
8148
- var require_unsupportedIterableToArray = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": ((exports, module) => {
8169
+ var require_unsupportedIterableToArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8149
8170
  var arrayLikeToArray$1 = require_arrayLikeToArray();
8150
8171
  function _unsupportedIterableToArray(r$1, a) {
8151
8172
  if (r$1) {
@@ -8155,20 +8176,20 @@ var require_unsupportedIterableToArray = /* @__PURE__ */ __commonJS({ "../../nod
8155
8176
  }
8156
8177
  }
8157
8178
  module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
8158
- }) });
8179
+ }));
8159
8180
 
8160
8181
  //#endregion
8161
8182
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/nonIterableRest.js
8162
- var require_nonIterableRest = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/nonIterableRest.js": ((exports, module) => {
8183
+ var require_nonIterableRest = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8163
8184
  function _nonIterableRest() {
8164
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.");
8165
8186
  }
8166
8187
  module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
8167
- }) });
8188
+ }));
8168
8189
 
8169
8190
  //#endregion
8170
8191
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/slicedToArray.js
8171
- var require_slicedToArray = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/slicedToArray.js": ((exports, module) => {
8192
+ var require_slicedToArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8172
8193
  var arrayWithHoles = require_arrayWithHoles();
8173
8194
  var iterableToArrayLimit = require_iterableToArrayLimit();
8174
8195
  var unsupportedIterableToArray$1 = require_unsupportedIterableToArray();
@@ -8177,11 +8198,11 @@ var require_slicedToArray = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
8177
8198
  return arrayWithHoles(r$1) || iterableToArrayLimit(r$1, e$1) || unsupportedIterableToArray$1(r$1, e$1) || nonIterableRest();
8178
8199
  }
8179
8200
  module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
8180
- }) });
8201
+ }));
8181
8202
 
8182
8203
  //#endregion
8183
8204
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
8184
- var require_objectWithoutPropertiesLoose = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js": ((exports, module) => {
8205
+ var require_objectWithoutPropertiesLoose = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8185
8206
  function _objectWithoutPropertiesLoose(r$1, e$1) {
8186
8207
  if (null == r$1) return {};
8187
8208
  var t$1 = {};
@@ -8192,11 +8213,11 @@ var require_objectWithoutPropertiesLoose = /* @__PURE__ */ __commonJS({ "../../n
8192
8213
  return t$1;
8193
8214
  }
8194
8215
  module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
8195
- }) });
8216
+ }));
8196
8217
 
8197
8218
  //#endregion
8198
8219
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/objectWithoutProperties.js
8199
- var require_objectWithoutProperties = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/objectWithoutProperties.js": ((exports, module) => {
8220
+ var require_objectWithoutProperties = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8200
8221
  var objectWithoutPropertiesLoose = require_objectWithoutPropertiesLoose();
8201
8222
  function _objectWithoutProperties(e$1, t$1) {
8202
8223
  if (null == e$1) return {};
@@ -8208,20 +8229,20 @@ var require_objectWithoutProperties = /* @__PURE__ */ __commonJS({ "../../node_m
8208
8229
  return i$1;
8209
8230
  }
8210
8231
  module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
8211
- }) });
8232
+ }));
8212
8233
 
8213
8234
  //#endregion
8214
8235
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/classCallCheck.js
8215
- var require_classCallCheck = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/classCallCheck.js": ((exports, module) => {
8236
+ var require_classCallCheck = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8216
8237
  function _classCallCheck(a, n$1) {
8217
8238
  if (!(a instanceof n$1)) throw new TypeError("Cannot call a class as a function");
8218
8239
  }
8219
8240
  module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
8220
- }) });
8241
+ }));
8221
8242
 
8222
8243
  //#endregion
8223
8244
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/createClass.js
8224
- var require_createClass = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/createClass.js": ((exports, module) => {
8245
+ var require_createClass = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8225
8246
  var toPropertyKey = require_toPropertyKey();
8226
8247
  function _defineProperties(e$1, r$1) {
8227
8248
  for (var t$1 = 0; t$1 < r$1.length; t$1++) {
@@ -8233,22 +8254,22 @@ var require_createClass = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
8233
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;
8234
8255
  }
8235
8256
  module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
8236
- }) });
8257
+ }));
8237
8258
 
8238
8259
  //#endregion
8239
8260
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/setPrototypeOf.js
8240
- var require_setPrototypeOf = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/setPrototypeOf.js": ((exports, module) => {
8261
+ var require_setPrototypeOf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8241
8262
  function _setPrototypeOf(t$1, e$1) {
8242
8263
  return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t$2, e$2) {
8243
8264
  return t$2.__proto__ = e$2, t$2;
8244
8265
  }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t$1, e$1);
8245
8266
  }
8246
8267
  module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
8247
- }) });
8268
+ }));
8248
8269
 
8249
8270
  //#endregion
8250
8271
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/inherits.js
8251
- var require_inherits = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/inherits.js": ((exports, module) => {
8272
+ var require_inherits = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8252
8273
  var setPrototypeOf = require_setPrototypeOf();
8253
8274
  function _inherits(t$1, e$1) {
8254
8275
  if ("function" != typeof e$1 && null !== e$1) throw new TypeError("Super expression must either be null or a function");
@@ -8259,22 +8280,22 @@ var require_inherits = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@b
8259
8280
  } }), Object.defineProperty(t$1, "prototype", { writable: !1 }), e$1 && setPrototypeOf(t$1, e$1);
8260
8281
  }
8261
8282
  module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
8262
- }) });
8283
+ }));
8263
8284
 
8264
8285
  //#endregion
8265
8286
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/getPrototypeOf.js
8266
- var require_getPrototypeOf = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/getPrototypeOf.js": ((exports, module) => {
8287
+ var require_getPrototypeOf = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8267
8288
  function _getPrototypeOf(t$1) {
8268
8289
  return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t$2) {
8269
8290
  return t$2.__proto__ || Object.getPrototypeOf(t$2);
8270
8291
  }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t$1);
8271
8292
  }
8272
8293
  module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
8273
- }) });
8294
+ }));
8274
8295
 
8275
8296
  //#endregion
8276
8297
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js
8277
- var require_isNativeReflectConstruct = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js": ((exports, module) => {
8298
+ var require_isNativeReflectConstruct = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8278
8299
  function _isNativeReflectConstruct() {
8279
8300
  try {
8280
8301
  var t$1 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
@@ -8284,21 +8305,21 @@ var require_isNativeReflectConstruct = /* @__PURE__ */ __commonJS({ "../../node_
8284
8305
  }, module.exports.__esModule = true, module.exports["default"] = module.exports)();
8285
8306
  }
8286
8307
  module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
8287
- }) });
8308
+ }));
8288
8309
 
8289
8310
  //#endregion
8290
8311
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js
8291
- var require_assertThisInitialized = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js": ((exports, module) => {
8312
+ var require_assertThisInitialized = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8292
8313
  function _assertThisInitialized(e$1) {
8293
8314
  if (void 0 === e$1) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8294
8315
  return e$1;
8295
8316
  }
8296
8317
  module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
8297
- }) });
8318
+ }));
8298
8319
 
8299
8320
  //#endregion
8300
8321
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
8301
- var require_possibleConstructorReturn = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": ((exports, module) => {
8322
+ var require_possibleConstructorReturn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8302
8323
  var _typeof = require_typeof()["default"];
8303
8324
  var assertThisInitialized = require_assertThisInitialized();
8304
8325
  function _possibleConstructorReturn(t$1, e$1) {
@@ -8307,11 +8328,11 @@ var require_possibleConstructorReturn = /* @__PURE__ */ __commonJS({ "../../node
8307
8328
  return assertThisInitialized(t$1);
8308
8329
  }
8309
8330
  module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
8310
- }) });
8331
+ }));
8311
8332
 
8312
8333
  //#endregion
8313
8334
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/createSuper.js
8314
- var require_createSuper = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/createSuper.js": ((exports, module) => {
8335
+ var require_createSuper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8315
8336
  var getPrototypeOf = require_getPrototypeOf();
8316
8337
  var isNativeReflectConstruct = require_isNativeReflectConstruct();
8317
8338
  var possibleConstructorReturn = require_possibleConstructorReturn();
@@ -8327,39 +8348,39 @@ var require_createSuper = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
8327
8348
  };
8328
8349
  }
8329
8350
  module.exports = _createSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
8330
- }) });
8351
+ }));
8331
8352
 
8332
8353
  //#endregion
8333
8354
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
8334
- var require_arrayWithoutHoles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js": ((exports, module) => {
8355
+ var require_arrayWithoutHoles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8335
8356
  var arrayLikeToArray = require_arrayLikeToArray();
8336
8357
  function _arrayWithoutHoles(r$1) {
8337
8358
  if (Array.isArray(r$1)) return arrayLikeToArray(r$1);
8338
8359
  }
8339
8360
  module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
8340
- }) });
8361
+ }));
8341
8362
 
8342
8363
  //#endregion
8343
8364
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/iterableToArray.js
8344
- var require_iterableToArray = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/iterableToArray.js": ((exports, module) => {
8365
+ var require_iterableToArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8345
8366
  function _iterableToArray(r$1) {
8346
8367
  if ("undefined" != typeof Symbol && null != r$1[Symbol.iterator] || null != r$1["@@iterator"]) return Array.from(r$1);
8347
8368
  }
8348
8369
  module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
8349
- }) });
8370
+ }));
8350
8371
 
8351
8372
  //#endregion
8352
8373
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/nonIterableSpread.js
8353
- var require_nonIterableSpread = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/nonIterableSpread.js": ((exports, module) => {
8374
+ var require_nonIterableSpread = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8354
8375
  function _nonIterableSpread() {
8355
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.");
8356
8377
  }
8357
8378
  module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
8358
- }) });
8379
+ }));
8359
8380
 
8360
8381
  //#endregion
8361
8382
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/toConsumableArray.js
8362
- var require_toConsumableArray = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/toConsumableArray.js": ((exports, module) => {
8383
+ var require_toConsumableArray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8363
8384
  var arrayWithoutHoles = require_arrayWithoutHoles();
8364
8385
  var iterableToArray = require_iterableToArray();
8365
8386
  var unsupportedIterableToArray = require_unsupportedIterableToArray();
@@ -8368,30 +8389,30 @@ var require_toConsumableArray = /* @__PURE__ */ __commonJS({ "../../node_modules
8368
8389
  return arrayWithoutHoles(r$1) || iterableToArray(r$1) || unsupportedIterableToArray(r$1) || nonIterableSpread();
8369
8390
  }
8370
8391
  module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
8371
- }) });
8392
+ }));
8372
8393
 
8373
8394
  //#endregion
8374
8395
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js
8375
- var require_taggedTemplateLiteral = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+runtime@7.28.2/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js": ((exports, module) => {
8396
+ var require_taggedTemplateLiteral = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8376
8397
  function _taggedTemplateLiteral(e$1, t$1) {
8377
8398
  return t$1 || (t$1 = e$1.slice(0)), Object.freeze(Object.defineProperties(e$1, { raw: { value: Object.freeze(t$1) } }));
8378
8399
  }
8379
8400
  module.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports["default"] = module.exports;
8380
- }) });
8401
+ }));
8381
8402
 
8382
8403
  //#endregion
8383
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
8384
- var import_objectSpread2 = /* @__PURE__ */ __toESM(require_objectSpread2());
8385
- var import_slicedToArray = /* @__PURE__ */ __toESM(require_slicedToArray());
8386
- var import_objectWithoutProperties = /* @__PURE__ */ __toESM(require_objectWithoutProperties());
8387
- var import_classCallCheck = /* @__PURE__ */ __toESM(require_classCallCheck());
8388
- var import_createClass = /* @__PURE__ */ __toESM(require_createClass());
8389
- var import_inherits = /* @__PURE__ */ __toESM(require_inherits());
8390
- var import_createSuper = /* @__PURE__ */ __toESM(require_createSuper());
8391
- var import_toConsumableArray = /* @__PURE__ */ __toESM(require_toConsumableArray());
8392
- var import_typeof = /* @__PURE__ */ __toESM(require_typeof());
8393
- var import_taggedTemplateLiteral = /* @__PURE__ */ __toESM(require_taggedTemplateLiteral());
8394
- var import_defineProperty = /* @__PURE__ */ __toESM(require_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();
8395
8416
  var StateManagedSelect$1 = /* @__PURE__ */ forwardRef(function(props, ref) {
8396
8417
  var baseSelectProps = useStateManager(props);
8397
8418
  return /* @__PURE__ */ React.createElement(Select$2, _extends({ ref }, baseSelectProps));
@@ -8414,7 +8435,7 @@ const propsToBeRemoved = [
8414
8435
  "isHidden",
8415
8436
  "cx"
8416
8437
  ];
8417
- const Input$1 = ({ innerRef, placeholder, hasValue,...props }) => {
8438
+ const Input$1 = ({ innerRef, placeholder, hasValue, ...props }) => {
8418
8439
  const inputProps = Object.entries(props).reduce((acc, [key, value]) => {
8419
8440
  if (!propsToBeRemoved.includes(key)) acc[key] = value;
8420
8441
  return acc;
@@ -8445,7 +8466,7 @@ const getClassNames = (classNames$2) => ({
8445
8466
  placeholder: () => "hidden",
8446
8467
  valueContainer: () => classNames$2.valueContainer
8447
8468
  });
8448
- const Multiselect = ({ disabled, readOnly = false, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size: size$1, variant, placeholder, description, emptyState, onChange, onSelectionChange, width: width$1,...rest }) => {
8469
+ const Multiselect = ({ disabled, readOnly = false, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size: size$1, variant, placeholder, description, emptyState, onChange, onSelectionChange, width: width$1, ...rest }) => {
8449
8470
  const classNames$2 = useClassNames({
8450
8471
  component: "MultiSelect",
8451
8472
  size: size$1,
@@ -8545,7 +8566,7 @@ const Multiselect = ({ disabled, readOnly = false, items, selectedItems, default
8545
8566
 
8546
8567
  //#endregion
8547
8568
  //#region src/icons/Plus.tsx
8548
- const Plus = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
8569
+ const Plus = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
8549
8570
  xmlns: "http://www.w3.org/2000/svg",
8550
8571
  width: size$1,
8551
8572
  height: size$1,
@@ -8562,7 +8583,7 @@ const Plus = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs
8562
8583
 
8563
8584
  //#endregion
8564
8585
  //#region src/NumberField/StepButton.tsx
8565
- const _StepButton = ({ direction, className,...props }) => {
8586
+ const _StepButton = ({ direction, className, ...props }) => {
8566
8587
  const Icon$2 = direction === "up" ? Plus : Minus;
8567
8588
  return /* @__PURE__ */ jsx(Button, {
8568
8589
  className: cn(["flex items-center justify-center", "cursor-pointer data-disabled:cursor-not-allowed"], className),
@@ -8573,7 +8594,7 @@ const _StepButton = ({ direction, className,...props }) => {
8573
8594
 
8574
8595
  //#endregion
8575
8596
  //#region src/NumberField/NumberField.tsx
8576
- const _NumberField = forwardRef(({ variant, size: size$1, disabled, required, readOnly, error, hideStepper,...rest }, ref) => {
8597
+ const _NumberField = forwardRef(({ variant, size: size$1, disabled, required, readOnly, error, hideStepper, ...rest }, ref) => {
8577
8598
  const classNames$2 = useClassNames({
8578
8599
  component: "NumberField",
8579
8600
  size: size$1,
@@ -8632,7 +8653,7 @@ const NavigationButton = (props) => {
8632
8653
  const ref = useRef(null);
8633
8654
  const { navigationButton } = useClassNames({ component: "Pagination" });
8634
8655
  let { buttonProps } = useButton(props, ref);
8635
- let { children, isSelected, isDisabled, registerRef, controlLabel, position: position$1,...rest } = props;
8656
+ let { children, isSelected, isDisabled, controlLabel, position: position$1, ...rest } = props;
8636
8657
  return /* @__PURE__ */ jsxs("button", {
8637
8658
  ref,
8638
8659
  ...buttonProps,
@@ -8698,17 +8719,17 @@ const InnerPagination = ({ currentPage, pageSize, totalPages, pageRange, setCurr
8698
8719
  const isFirstPage = currentPage === 1;
8699
8720
  const isLastPage = currentPage === totalPages || totalPages === 0;
8700
8721
  const isFirstRender = useRef(true);
8722
+ const handlePageChange = useCallback((newPage) => {
8723
+ setCurrentPage(newPage);
8724
+ if (onChange) onChange(newPage);
8725
+ }, [setCurrentPage, onChange]);
8701
8726
  useEffect(() => {
8702
8727
  if (isFirstRender.current) {
8703
8728
  isFirstRender.current = false;
8704
8729
  return;
8705
8730
  }
8706
8731
  handlePageChange(1);
8707
- }, [pageSize]);
8708
- const handlePageChange = (newPage) => {
8709
- setCurrentPage(newPage);
8710
- if (onChange) onChange(newPage);
8711
- };
8732
+ }, [pageSize, handlePageChange]);
8712
8733
  const { icon, container } = useClassNames({ component: "Pagination" });
8713
8734
  const handleKeyDown = (onEnter) => (e$1) => {
8714
8735
  if (e$1.key === "ArrowRight") {
@@ -8755,7 +8776,7 @@ const InnerPagination = ({ currentPage, pageSize, totalPages, pageRange, setCurr
8755
8776
  })
8756
8777
  ] });
8757
8778
  };
8758
- const _Pagination = ({ defaultPage = 1, page, totalItems, pageSize,...props }) => {
8779
+ const _Pagination = ({ defaultPage = 1, page, totalItems, pageSize, ...props }) => {
8759
8780
  const [currentPage, setCurrentPage] = useState(page ?? defaultPage);
8760
8781
  const totalPages = Math.ceil(totalItems / pageSize);
8761
8782
  const pageRange = usePageRange({
@@ -8821,7 +8842,7 @@ const CollapsibleGroup = ({ children }) => {
8821
8842
  children
8822
8843
  });
8823
8844
  };
8824
- const _RadioGroup = ({ variant, size: size$1, label, error, disabled, required, readOnly, description, errorMessage, orientation = "vertical", children, width: width$1, collapseAt,...rest }) => {
8845
+ const _RadioGroup = ({ variant, size: size$1, label, error, disabled, required, readOnly, description, errorMessage, orientation = "vertical", children, width: width$1, collapseAt, ...rest }) => {
8825
8846
  const classNames$2 = useClassNames({
8826
8847
  component: "Radio",
8827
8848
  variant,
@@ -8863,13 +8884,13 @@ const _RadioGroup = ({ variant, size: size$1, label, error, disabled, required,
8863
8884
 
8864
8885
  //#endregion
8865
8886
  //#region src/Radio/Radio.tsx
8866
- const Icon = ({ checked, className,...props }) => /* @__PURE__ */ jsx("div", {
8887
+ const Icon = ({ checked, className, ...props }) => /* @__PURE__ */ jsx("div", {
8867
8888
  className: cn("flex h-4 w-4 items-center justify-center rounded-full border p-1", className),
8868
8889
  "aria-hidden": "true",
8869
8890
  ...props,
8870
8891
  children: checked ? /* @__PURE__ */ jsx("div", { className: "size-full rounded-full bg-current" }) : null
8871
8892
  });
8872
- const _Radio = forwardRef(({ value, disabled, width: width$1, children,...props }, ref) => {
8893
+ const _Radio = forwardRef(({ value, disabled, width: width$1, children, ...props }, ref) => {
8873
8894
  const { variant, size: size$1, width: groupWidth } = useRadioGroupContext();
8874
8895
  const classNames$2 = useClassNames({
8875
8896
  component: "Radio",
@@ -8895,7 +8916,7 @@ _Radio.Group = _RadioGroup;
8895
8916
 
8896
8917
  //#endregion
8897
8918
  //#region src/Scrollable/Scrollable.tsx
8898
- const Scrollable = ({ children, width: width$1 = "full", height: height$1,...props }) => /* @__PURE__ */ jsx("div", {
8919
+ const Scrollable = ({ children, width: width$1 = "full", height: height$1, ...props }) => /* @__PURE__ */ jsx("div", {
8899
8920
  ...props,
8900
8921
  className: cn(["sticky h-(--height) overflow-auto overscroll-none", width[width$1]]),
8901
8922
  style: createVar({ height: height$1 }),
@@ -8904,7 +8925,7 @@ const Scrollable = ({ children, width: width$1 = "full", height: height$1,...pro
8904
8925
 
8905
8926
  //#endregion
8906
8927
  //#region src/SearchField/SearchField.tsx
8907
- const _SearchField = forwardRef(({ disabled, required, readOnly, error, action,...rest }, ref) => {
8928
+ const _SearchField = forwardRef(({ disabled, required, readOnly, error, ...rest }, ref) => {
8908
8929
  return /* @__PURE__ */ jsx(FieldBase, {
8909
8930
  as: SearchField,
8910
8931
  ...rest,
@@ -8921,7 +8942,7 @@ const _SearchField = forwardRef(({ disabled, required, readOnly, error, action,.
8921
8942
 
8922
8943
  //#endregion
8923
8944
  //#region src/icons/CircleAlert.tsx
8924
- const CircleAlert = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
8945
+ const CircleAlert = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
8925
8946
  xmlns: "http://www.w3.org/2000/svg",
8926
8947
  width: size$1,
8927
8948
  height: size$1,
@@ -8956,7 +8977,7 @@ const CircleAlert = ({ size: size$1 = 24, className,...props }) => /* @__PURE__
8956
8977
 
8957
8978
  //#endregion
8958
8979
  //#region src/icons/CircleCheck.tsx
8959
- const CircleCheck = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsxs("svg", {
8980
+ const CircleCheck = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsxs("svg", {
8960
8981
  xmlns: "http://www.w3.org/2000/svg",
8961
8982
  width: size$1,
8962
8983
  height: size$1,
@@ -9008,7 +9029,7 @@ const icons$1 = {
9008
9029
  warning: CircleAlert,
9009
9030
  error: TriangleAlert
9010
9031
  };
9011
- const SectionMessage = ({ variant = "info", size: size$1, children, closeButton, close, onCloseChange,...props }) => {
9032
+ const SectionMessage = ({ variant = "info", size: size$1, children, closeButton, close, onCloseChange, ...props }) => {
9012
9033
  const buttonRef = useRef(null);
9013
9034
  const classNames$2 = useClassNames({
9014
9035
  component: "SectionMessage",
@@ -9052,7 +9073,7 @@ SectionMessage.Content = SectionMessageContent;
9052
9073
 
9053
9074
  //#endregion
9054
9075
  //#region src/Select/Select.tsx
9055
- const SelectBase = forwardRef(function Select$3({ disabled, required, items, variant, size: size$1, error, open, children,...rest }, ref) {
9076
+ const SelectBase = forwardRef(function Select$3({ disabled, required, items, variant, size: size$1, error, open, children, ...rest }, ref) {
9056
9077
  const props = {
9057
9078
  isDisabled: disabled,
9058
9079
  isInvalid: error,
@@ -9111,7 +9132,7 @@ const SelectionIndicator = ({ selectionMode }) => {
9111
9132
  });
9112
9133
  }
9113
9134
  };
9114
- const _SelectListItem = forwardRef(({ children, disabled,...props }, ref) => {
9135
+ const _SelectListItem = forwardRef(({ children, disabled, ...props }, ref) => {
9115
9136
  let textValue = typeof children === "string" ? children : void 0;
9116
9137
  const { classNames: classNames$2 } = useSelectListContext();
9117
9138
  return /* @__PURE__ */ jsx(GridListItem, {
@@ -9129,7 +9150,7 @@ const _SelectListItem = forwardRef(({ children, disabled,...props }, ref) => {
9129
9150
 
9130
9151
  //#endregion
9131
9152
  //#region src/SelectList/SelectList.tsx
9132
- const _SelectList = forwardRef(({ onChange,...rest }, ref) => {
9153
+ const _SelectList = forwardRef(({ onChange, ...rest }, ref) => {
9133
9154
  const classNames$2 = useClassNames({ component: "ListBox" });
9134
9155
  const props = {
9135
9156
  onSelectionChange: onChange,
@@ -9154,7 +9175,7 @@ _SelectList.Action = SelectListAction;
9154
9175
 
9155
9176
  //#endregion
9156
9177
  //#region src/Slider/Slider.tsx
9157
- const _Slider = forwardRef(({ variant, size: size$1, width: width$1 = "full", disabled, label, name, thumbLabels,...rest }, ref) => {
9178
+ const _Slider = forwardRef(({ variant, size: size$1, width: width$1 = "full", disabled, label, name, thumbLabels, ...rest }, ref) => {
9158
9179
  const classNames$2 = useClassNames({
9159
9180
  component: "Slider",
9160
9181
  variant,
@@ -9208,11 +9229,12 @@ const Split = () => /* @__PURE__ */ jsx("div", {
9208
9229
 
9209
9230
  //#endregion
9210
9231
  //#region src/Stack/Stack.tsx
9211
- const Stack = ({ children, space = 0, stretch = false, alignX, alignY, asList = false,...props }) => {
9232
+ const Stack = ({ children, space = 0, stretch = false, alignX = "stretch", alignY, asList = false, ...props }) => {
9212
9233
  const Component$1 = asList ? "ul" : "div";
9213
9234
  const stackChildren = asList ? Children.map(children, (child) => child != null ? /* @__PURE__ */ jsx("li", { children: child }) : null) : children;
9214
9235
  return /* @__PURE__ */ jsx(Component$1, {
9215
- className: cn("flex flex-col", gapSpace[space], alignX && alignment?.vertical?.alignmentX[alignX], alignY && alignment?.vertical?.alignmentY[alignY], stretch && "h-full w-full"),
9236
+ className: cn("flex flex-col gap-y-(--space)", alignX && alignment?.vertical?.alignmentX[alignX], alignY && alignment?.vertical?.alignmentY[alignY], stretch && "size-full"),
9237
+ style: createSpacingVar("space", `${space}`),
9216
9238
  ...props,
9217
9239
  children: stackChildren
9218
9240
  });
@@ -9220,7 +9242,7 @@ const Stack = ({ children, space = 0, stretch = false, alignX, alignY, asList =
9220
9242
 
9221
9243
  //#endregion
9222
9244
  //#region src/Switch/Switch.tsx
9223
- const _Switch = forwardRef(({ variant, size: size$1, width: width$1 = "full", label, selected, disabled, readOnly,...rest }, ref) => {
9245
+ const _Switch = forwardRef(({ variant, size: size$1, width: width$1 = "full", label, selected, disabled, readOnly, ...rest }, ref) => {
9224
9246
  const classNames$2 = useClassNames({
9225
9247
  component: "Switch",
9226
9248
  size: size$1,
@@ -9314,7 +9336,7 @@ const TableCell = ({ cell, align = "left", alignY = "middle" }) => {
9314
9336
  /**
9315
9337
  * Map `react-aria` props to ours (no "is"-prefix)
9316
9338
  */
9317
- const mapCheckboxProps = ({ checkboxProps: { isIndeterminate, isSelected, isDisabled, defaultSelected,...rest } }) => {
9339
+ const mapCheckboxProps = ({ checkboxProps: { isIndeterminate, isSelected, isDisabled, defaultSelected, ...rest } }) => {
9318
9340
  return { checkboxProps: {
9319
9341
  disabled: isDisabled,
9320
9342
  checked: isSelected,
@@ -9350,7 +9372,7 @@ const TableCheckboxCell = ({ cell, alignY = "middle" }) => {
9350
9372
 
9351
9373
  //#endregion
9352
9374
  //#region src/icons/SortDown.tsx
9353
- const SortDown = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsx(SVG, {
9375
+ const SortDown = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsx(SVG, {
9354
9376
  width: size$1,
9355
9377
  height: size$1,
9356
9378
  viewBox: "0 0 24 24",
@@ -9361,7 +9383,7 @@ const SortDown = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */
9361
9383
 
9362
9384
  //#endregion
9363
9385
  //#region src/icons/SortUp.tsx
9364
- const SortUp = ({ size: size$1 = 24, className,...props }) => /* @__PURE__ */ jsx(SVG, {
9386
+ const SortUp = ({ size: size$1 = 24, className, ...props }) => /* @__PURE__ */ jsx(SVG, {
9365
9387
  width: size$1,
9366
9388
  height: size$1,
9367
9389
  viewBox: "0 0 24 24",
@@ -9429,7 +9451,7 @@ const TableHeaderRow = ({ item, className, children }) => {
9429
9451
  //#region src/Table/TableRow.tsx
9430
9452
  const TableRow = ({ children, row }) => {
9431
9453
  const ref = useRef(null);
9432
- const { interactive, state,...ctx } = useTableContext();
9454
+ const { interactive, state, ...ctx } = useTableContext();
9433
9455
  const { variant, size: size$1 } = row.props;
9434
9456
  const classNames$2 = useClassNames({
9435
9457
  component: "Table",
@@ -9484,7 +9506,7 @@ const TableSelectAllCell = ({ column: column$1, width: width$1 = "auto", align =
9484
9506
 
9485
9507
  //#endregion
9486
9508
  //#region src/Table/Table.tsx
9487
- const Table = ({ variant, size: size$1, stretch = false, selectionMode = "none", disableKeyboardNavigation = false, stickyHeader, emptyState, alignY = "middle",...props }) => {
9509
+ const Table = ({ variant, size: size$1, stretch = false, selectionMode = "none", disableKeyboardNavigation = false, stickyHeader, emptyState, alignY = "middle", ...props }) => {
9488
9510
  const interactive = selectionMode !== "none";
9489
9511
  const tableRef = useRef(null);
9490
9512
  const state = useTableState({
@@ -9586,7 +9608,7 @@ const _Tab = (props) => {
9586
9608
 
9587
9609
  //#endregion
9588
9610
  //#region src/Tabs/TabList.tsx
9589
- const _TabList = ({ space = 2,...props }) => {
9611
+ const _TabList = ({ space = 2, ...props }) => {
9590
9612
  const { classNames: classNames$2 } = useTabContext();
9591
9613
  return /* @__PURE__ */ jsx(TabList, {
9592
9614
  ...props,
@@ -9608,7 +9630,7 @@ const _TabPanel = (props) => {
9608
9630
 
9609
9631
  //#endregion
9610
9632
  //#region src/Tabs/Tabs.tsx
9611
- const _Tabs = ({ disabled, variant, size: size$1 = "medium",...rest }) => {
9633
+ const _Tabs = ({ disabled, variant, size: size$1 = "medium", ...rest }) => {
9612
9634
  const props = {
9613
9635
  isDisabled: disabled,
9614
9636
  ...rest
@@ -9665,7 +9687,7 @@ const TagGroupRemoveAll = ({ className, onRemove }) => {
9665
9687
 
9666
9688
  //#endregion
9667
9689
  //#region src/TagGroup/TagGroup.tsx
9668
- const _TagGroup = ({ items, children, emptyState, variant, size: size$1, name, removeAll,...rest }) => {
9690
+ const _TagGroup = ({ items, children, emptyState, variant, size: size$1, name, removeAll, ...rest }) => {
9669
9691
  const classNames$2 = useClassNames({
9670
9692
  component: "Tag",
9671
9693
  variant,
@@ -9691,7 +9713,7 @@ const _TagGroup = ({ items, children, emptyState, variant, size: size$1, name, r
9691
9713
 
9692
9714
  //#endregion
9693
9715
  //#region src/TagGroup/Tag.tsx
9694
- const _Tag = ({ variant, size: size$1, children, disabled,...rest }) => {
9716
+ const _Tag = ({ variant, size: size$1, children, disabled, ...rest }) => {
9695
9717
  let textValue = typeof children === "string" ? children : void 0;
9696
9718
  const classNames$2 = useClassNames({
9697
9719
  component: "Tag",
@@ -9713,7 +9735,7 @@ _Tag.Group = _TagGroup;
9713
9735
 
9714
9736
  //#endregion
9715
9737
  //#region src/Text/Text.tsx
9716
- const _Text = ({ variant, size: size$1, color, align, cursor: cursor$1, weight, fontSize, fontStyle, wrap, whiteSpace: whiteSpace$1, children, as = "div",...props }) => {
9738
+ const _Text = ({ variant, size: size$1, color, align, cursor: cursor$1, weight, fontSize, fontStyle, wrap, whiteSpace: whiteSpace$1, children, as = "div", ...props }) => {
9717
9739
  const classNames$2 = useClassNames({
9718
9740
  component: "Text",
9719
9741
  variant,
@@ -9736,7 +9758,7 @@ const _Text = ({ variant, size: size$1, color, align, cursor: cursor$1, weight,
9736
9758
 
9737
9759
  //#endregion
9738
9760
  //#region src/TextArea/TextArea.tsx
9739
- const _TextArea = forwardRef(({ variant, size: size$1, required, disabled, readOnly, error, rows,...rest }, ref) => {
9761
+ const _TextArea = forwardRef(({ variant, size: size$1, required, disabled, readOnly, error, rows, ...rest }, ref) => {
9740
9762
  const classNames$2 = useClassNames({
9741
9763
  component: "TextArea",
9742
9764
  variant,
@@ -9761,7 +9783,7 @@ const _TextArea = forwardRef(({ variant, size: size$1, required, disabled, readO
9761
9783
 
9762
9784
  //#endregion
9763
9785
  //#region src/TextField/TextField.tsx
9764
- const _TextField = forwardRef(({ required, disabled, readOnly, error,...rest }, ref) => {
9786
+ const _TextField = forwardRef(({ required, disabled, readOnly, error, ...rest }, ref) => {
9765
9787
  return /* @__PURE__ */ jsx(FieldBase, {
9766
9788
  as: TextField,
9767
9789
  isDisabled: disabled,
@@ -9775,7 +9797,7 @@ const _TextField = forwardRef(({ required, disabled, readOnly, error,...rest },
9775
9797
 
9776
9798
  //#endregion
9777
9799
  //#region src/Tiles/Tiles.tsx
9778
- const Tiles = ({ space = 0, stretch = false, equalHeight = false, tilesWidth = "250px", children,...props }) => {
9800
+ const Tiles = ({ space = 0, stretch = false, equalHeight = false, tilesWidth = "250px", children, ...props }) => {
9779
9801
  let column$1 = `min(${tilesWidth}, 100%)`;
9780
9802
  /**
9781
9803
  * Adding `minmax` with `1fr` will make the tiles distribute the
@@ -9796,7 +9818,7 @@ const Tiles = ({ space = 0, stretch = false, equalHeight = false, tilesWidth = "
9796
9818
 
9797
9819
  //#endregion
9798
9820
  //#region src/TimeField/TimeField.tsx
9799
- const _TimeField = forwardRef(({ required, disabled, readOnly, error, variant, size: size$1, width: width$1 = "full",...rest }, ref) => {
9821
+ const _TimeField = forwardRef(({ required, disabled, readOnly, error, variant, size: size$1, width: width$1 = "full", ...rest }, ref) => {
9800
9822
  const classNames$2 = useClassNames({
9801
9823
  component: "DateField",
9802
9824
  variant,
@@ -9926,7 +9948,7 @@ const TooltipArrow = () => {
9926
9948
 
9927
9949
  //#endregion
9928
9950
  //#region src/Tooltip/TooltipTrigger.tsx
9929
- const _TooltipTrigger = ({ delay = 1e3, children, disabled, open,...rest }) => {
9951
+ const _TooltipTrigger = ({ delay = 1e3, children, disabled, open, ...rest }) => {
9930
9952
  return /* @__PURE__ */ jsx(TooltipTrigger, {
9931
9953
  ...rest,
9932
9954
  isDisabled: disabled,
@@ -9938,7 +9960,7 @@ const _TooltipTrigger = ({ delay = 1e3, children, disabled, open,...rest }) => {
9938
9960
 
9939
9961
  //#endregion
9940
9962
  //#region src/Tooltip/Tooltip.tsx
9941
- const _Tooltip = ({ children, variant, size: size$1, open,...rest }) => {
9963
+ const _Tooltip = ({ children, variant, size: size$1, open, ...rest }) => {
9942
9964
  const props = {
9943
9965
  ...rest,
9944
9966
  isOpen: open
@@ -10107,7 +10129,7 @@ const XLoaderSvg = ({ className }) => {
10107
10129
  ]
10108
10130
  });
10109
10131
  };
10110
- const BaseLoader = ({ variant, size: size$1, children, "aria-label": ariaLabel, loaderType = "circle",...props }) => {
10132
+ const BaseLoader = ({ variant, size: size$1, children, "aria-label": ariaLabel, loaderType = "circle", ...props }) => {
10111
10133
  const stringFormatter = useLocalizedStringFormatter(intlMessages, "marigold");
10112
10134
  const className = useClassNames({
10113
10135
  component: "Loader",
@@ -10160,7 +10182,7 @@ const LoaderSection = (props) => {
10160
10182
  children: /* @__PURE__ */ jsx(BaseLoader, { ...props })
10161
10183
  });
10162
10184
  };
10163
- const Loader = ({ mode, variant,...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx(LoaderFullScreen, {
10185
+ const Loader = ({ mode, variant, ...props }) => mode === "fullscreen" ? /* @__PURE__ */ jsx(LoaderFullScreen, {
10164
10186
  variant: variant ?? "inverted",
10165
10187
  ...props
10166
10188
  }) : mode === "section" ? /* @__PURE__ */ jsx(LoaderSection, {