@geckoui/geckoui 1.3.3 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -881,7 +881,7 @@ var getSegmentOrder = (format) => {
881
881
  return ["day", "month", "year"];
882
882
  case "MM/DD/YYYY":
883
883
  return ["month", "day", "year"];
884
- case "YYYY/MM/DD":
884
+ case "YYYY-MM-DD":
885
885
  return ["year", "month", "day"];
886
886
  default:
887
887
  return ["day", "month", "year"];
@@ -1505,9 +1505,8 @@ var CalendarType = /* @__PURE__ */ ((CalendarType2) => {
1505
1505
  })(CalendarType || {});
1506
1506
 
1507
1507
  // src/components/Calendar/Calendar/Calendar.tsx
1508
- import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
1508
+ import { jsx as jsx13 } from "react/jsx-runtime";
1509
1509
  var Calendar = (props) => {
1510
- var _a;
1511
1510
  const { className, style, calendarRef, disableDate, renderDayCell, mode = "single" } = props;
1512
1511
  const [view, setView] = useState5("day" /* Day */);
1513
1512
  const [rangeSelectionStart, setRangeSelectionStart] = useState5(null);
@@ -1516,7 +1515,6 @@ var Calendar = (props) => {
1516
1515
  const onSelectDate = mode === "single" ? props.onSelectDate : void 0;
1517
1516
  const selectedRange = mode === "range" ? props.selectedRange : void 0;
1518
1517
  const onSelectRange = mode === "range" ? props.onSelectRange : void 0;
1519
- const numberOfMonths = mode === "range" ? (_a = props.numberOfMonths) != null ? _a : 2 : 1;
1520
1518
  let initialDate;
1521
1519
  if (mode === "range") {
1522
1520
  initialDate = (selectedRange == null ? void 0 : selectedRange.from) || (selectedRange == null ? void 0 : selectedRange.to) || getTodayDate();
@@ -1622,44 +1620,23 @@ Provided value: ${selectedRange.to}`
1622
1620
  };
1623
1621
  if (view === "day" /* Day */) {
1624
1622
  if (mode === "range") {
1625
- const secondMonth = activeMonth === 11 ? 0 : activeMonth + 1;
1626
- const secondYear = activeMonth === 11 ? activeYear + 1 : activeYear;
1627
- return /* @__PURE__ */ jsxs9("div", { className: "GeckoUICalendar__dual", children: [
1628
- /* @__PURE__ */ jsx13("div", { className: "GeckoUICalendar__dual__item", "data-position": "first", children: /* @__PURE__ */ jsx13(
1629
- CalendarDayPicker_default,
1630
- {
1631
- mode: "range",
1632
- disableDate,
1633
- renderDayCell,
1634
- activeMonth,
1635
- activeYear,
1636
- onClickHeader: () => setView("month" /* Month */),
1637
- onClickLeftArrow: decreaseMonth,
1638
- onClickRightArrow: increaseMonth,
1639
- selectedRange,
1640
- onSelectRange: handleRangeDateClick,
1641
- hoveredDate,
1642
- onHoverDate: handleHoverDate
1643
- }
1644
- ) }),
1645
- numberOfMonths === 2 && /* @__PURE__ */ jsx13("div", { className: "GeckoUICalendar__dual__item", "data-position": "second", children: /* @__PURE__ */ jsx13(
1646
- CalendarDayPicker_default,
1647
- {
1648
- mode: "range",
1649
- disableDate,
1650
- renderDayCell,
1651
- activeMonth: secondMonth,
1652
- activeYear: secondYear,
1653
- onClickHeader: () => setView("month" /* Month */),
1654
- onClickLeftArrow: decreaseMonth,
1655
- onClickRightArrow: increaseMonth,
1656
- selectedRange,
1657
- onSelectRange: handleRangeDateClick,
1658
- hoveredDate,
1659
- onHoverDate: handleHoverDate
1660
- }
1661
- ) })
1662
- ] });
1623
+ return /* @__PURE__ */ jsx13(
1624
+ CalendarDayPicker_default,
1625
+ {
1626
+ mode: "range",
1627
+ disableDate,
1628
+ renderDayCell,
1629
+ activeMonth,
1630
+ activeYear,
1631
+ onClickHeader: () => setView("month" /* Month */),
1632
+ onClickLeftArrow: decreaseMonth,
1633
+ onClickRightArrow: increaseMonth,
1634
+ selectedRange,
1635
+ onSelectRange: handleRangeDateClick,
1636
+ hoveredDate,
1637
+ onHoverDate: handleHoverDate
1638
+ }
1639
+ );
1663
1640
  }
1664
1641
  return /* @__PURE__ */ jsx13(
1665
1642
  CalendarDayPicker_default,
@@ -1698,7 +1675,6 @@ Provided value: ${selectedRange.to}`
1698
1675
  className: classNames(`GeckoUICalendar`, className),
1699
1676
  "data-mode": view,
1700
1677
  "data-selection": mode,
1701
- "data-calendars": mode === "range" && view === "day" /* Day */ && numberOfMonths || void 0,
1702
1678
  style,
1703
1679
  children: renderContent()
1704
1680
  }
@@ -1708,7 +1684,7 @@ Calendar.displayName = "Calendar";
1708
1684
  var Calendar_default = Calendar;
1709
1685
 
1710
1686
  // src/components/DateInput/DateInput.tsx
1711
- import { jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
1687
+ import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
1712
1688
  var DateInput = (_a) => {
1713
1689
  var _b = _a, {
1714
1690
  value = "",
@@ -1800,7 +1776,7 @@ var DateInput = (_a) => {
1800
1776
  [onChange]
1801
1777
  );
1802
1778
  const renderCalendarIcon = !hideCalendarIcon ? /* @__PURE__ */ jsx14("div", { className: "GeckoUIDateInput__calendar-icon" }) : void 0;
1803
- return /* @__PURE__ */ jsxs10(
1779
+ return /* @__PURE__ */ jsxs9(
1804
1780
  "div",
1805
1781
  {
1806
1782
  className: classNames("GeckoUIDateInputWrapper", wrapperClassName),
@@ -1855,7 +1831,7 @@ import { useRef as useRef6, useState as useState8 } from "react";
1855
1831
 
1856
1832
  // src/components/BaseDateRangeInput/BaseDateRangeInput.tsx
1857
1833
  import { Fragment as Fragment5, useEffect as useEffect7, useRef as useRef5, useState as useState7 } from "react";
1858
- import { Fragment as Fragment6, jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
1834
+ import { Fragment as Fragment6, jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
1859
1835
  var BaseDateRangeInput = (_a) => {
1860
1836
  var _b = _a, {
1861
1837
  value,
@@ -2218,8 +2194,8 @@ var BaseDateRangeInput = (_a) => {
2218
2194
  const endValid = isValidDate(endYear, endMonth, endDay);
2219
2195
  const isError = !isEmpty && (!startEmpty && !startValid || !endEmpty && !endValid) || hasError;
2220
2196
  const state = disabled ? "disabled" : readOnly ? "readonly" : "enabled";
2221
- const renderSegments = (segments) => /* @__PURE__ */ jsx15(Fragment6, { children: segments.map(({ ref, value: value2, onChange: onChange2, maxLength, segment, display }, index) => /* @__PURE__ */ jsxs11(Fragment5, { children: [
2222
- /* @__PURE__ */ jsxs11(
2197
+ const renderSegments = (segments) => /* @__PURE__ */ jsx15(Fragment6, { children: segments.map(({ ref, value: value2, onChange: onChange2, maxLength, segment, display }, index) => /* @__PURE__ */ jsxs10(Fragment5, { children: [
2198
+ /* @__PURE__ */ jsxs10(
2223
2199
  "label",
2224
2200
  {
2225
2201
  className: "GeckoUIDateInput__segment",
@@ -2255,7 +2231,7 @@ var BaseDateRangeInput = (_a) => {
2255
2231
  const formattedPattern = format.replace(/\//g, separator);
2256
2232
  return placeholder != null ? placeholder : `${formattedPattern}${rangeSeparator}${formattedPattern}`;
2257
2233
  };
2258
- return /* @__PURE__ */ jsxs11(
2234
+ return /* @__PURE__ */ jsxs10(
2259
2235
  "div",
2260
2236
  __spreadProps(__spreadValues({
2261
2237
  ref: containerRef,
@@ -2269,13 +2245,13 @@ var BaseDateRangeInput = (_a) => {
2269
2245
  children: [
2270
2246
  Boolean(prefix) && /* @__PURE__ */ jsx15("div", { className: "GeckoUIDateInput__prefix", children: /* @__PURE__ */ jsx15(DynamicComponentRenderer_default, { component: prefix }) }),
2271
2247
  !!isEmpty && /* @__PURE__ */ jsx15("span", { className: classNames("GeckoUIDateInput__placeholder", placeholderClassName), children: generatePlaceholder2() }),
2272
- /* @__PURE__ */ jsxs11("div", { className: classNames("GeckoUIDateInput__display-container"), children: [
2248
+ /* @__PURE__ */ jsxs10("div", { className: classNames("GeckoUIDateInput__display-container"), children: [
2273
2249
  renderSegments(startSegments),
2274
2250
  /* @__PURE__ */ jsx15("span", { className: "GeckoUIDateRangeInput__range-separator", children: rangeSeparator }),
2275
2251
  renderSegments(endSegments)
2276
2252
  ] }),
2277
2253
  Boolean(suffix) && /* @__PURE__ */ jsx15("div", { className: "GeckoUIDateInput__suffix", children: /* @__PURE__ */ jsx15(DynamicComponentRenderer_default, { component: suffix }) }),
2278
- /* @__PURE__ */ jsxs11("div", { className: "GeckoUIDateInput__icons", children: [
2254
+ /* @__PURE__ */ jsxs10("div", { className: "GeckoUIDateInput__icons", children: [
2279
2255
  !hideClearIcon && !isEmpty && !disabled && !readOnly && /* @__PURE__ */ jsx15(
2280
2256
  "button",
2281
2257
  {
@@ -2297,7 +2273,7 @@ BaseDateRangeInput.displayName = "BaseDateRangeInput";
2297
2273
  var BaseDateRangeInput_default = BaseDateRangeInput;
2298
2274
 
2299
2275
  // src/components/DateRangeInput/DateRangeInput.tsx
2300
- import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
2276
+ import { jsx as jsx16, jsxs as jsxs11 } from "react/jsx-runtime";
2301
2277
  var DateRangeInput = (_a) => {
2302
2278
  var _b = _a, {
2303
2279
  value,
@@ -2320,7 +2296,6 @@ var DateRangeInput = (_a) => {
2320
2296
  calendarPlacement = "bottom-start",
2321
2297
  floatingStrategy = "absolute",
2322
2298
  wrapperClassName,
2323
- numberOfMonths = 2,
2324
2299
  onStateUpdate,
2325
2300
  onSubmit
2326
2301
  } = _b, rest = __objRest(_b, [
@@ -2344,7 +2319,6 @@ var DateRangeInput = (_a) => {
2344
2319
  "calendarPlacement",
2345
2320
  "floatingStrategy",
2346
2321
  "wrapperClassName",
2347
- "numberOfMonths",
2348
2322
  "onStateUpdate",
2349
2323
  "onSubmit"
2350
2324
  ]);
@@ -2400,7 +2374,7 @@ var DateRangeInput = (_a) => {
2400
2374
  }
2401
2375
  };
2402
2376
  const renderCalendarIcon = !hideCalendarIcon ? /* @__PURE__ */ jsx16("div", { className: "GeckoUIDateInput__calendar-icon" }) : void 0;
2403
- return /* @__PURE__ */ jsxs12(
2377
+ return /* @__PURE__ */ jsxs11(
2404
2378
  "div",
2405
2379
  {
2406
2380
  className: classNames("GeckoUIDateRangeInputWrapper", wrapperClassName),
@@ -2438,8 +2412,7 @@ var DateRangeInput = (_a) => {
2438
2412
  calendarRef,
2439
2413
  className: classNames("GeckoUIDateRangeInput__calendar", calendarClassName),
2440
2414
  onSelectRange: handleRangeSelect,
2441
- selectedRange: value,
2442
- numberOfMonths
2415
+ selectedRange: value
2443
2416
  }
2444
2417
  ) })
2445
2418
  ]
@@ -2451,12 +2424,12 @@ var DateRangeInput_default = DateRangeInput;
2451
2424
 
2452
2425
  // src/components/Input/Input.tsx
2453
2426
  import { forwardRef as forwardRef3, useId as useId2 } from "react";
2454
- import { jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
2427
+ import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
2455
2428
  var Input = forwardRef3(
2456
2429
  (_a, ref) => {
2457
2430
  var _b = _a, { name, prefix, id, suffix, inputClassName, className, disabled, readOnly } = _b, rest = __objRest(_b, ["name", "prefix", "id", "suffix", "inputClassName", "className", "disabled", "readOnly"]);
2458
2431
  const _id = useId2();
2459
- return /* @__PURE__ */ jsxs13(
2432
+ return /* @__PURE__ */ jsxs12(
2460
2433
  "label",
2461
2434
  {
2462
2435
  "aria-disabled": disabled,
@@ -2497,7 +2470,7 @@ import {
2497
2470
  useFloating as useFloating3
2498
2471
  } from "@floating-ui/react";
2499
2472
  import { Children, cloneElement, isValidElement as isValidElement2, useRef as useRef7, useState as useState9 } from "react";
2500
- import { Fragment as Fragment7, jsx as jsx18, jsxs as jsxs14 } from "react/jsx-runtime";
2473
+ import { Fragment as Fragment7, jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
2501
2474
  var Tooltip = ({
2502
2475
  children,
2503
2476
  delayDuration = 700,
@@ -2507,7 +2480,7 @@ var Tooltip = ({
2507
2480
  triggerAsChild = false,
2508
2481
  arrowClassName,
2509
2482
  backgroundColor,
2510
- side = "top",
2483
+ placement = "top",
2511
2484
  sideOffset = 12
2512
2485
  }) => {
2513
2486
  const [isOpen, setIsOpen] = useState9(false);
@@ -2516,7 +2489,7 @@ var Tooltip = ({
2516
2489
  const { refs, floatingStyles, context } = useFloating3({
2517
2490
  open: isOpen,
2518
2491
  onOpenChange: setIsOpen,
2519
- placement: side,
2492
+ placement,
2520
2493
  middleware: [offset3(sideOffset), flip3(), shift({ padding: 5 }), arrow({ element: arrowRef })]
2521
2494
  });
2522
2495
  const handleMouseEnter = () => {
@@ -2552,9 +2525,9 @@ var Tooltip = ({
2552
2525
  }
2553
2526
  return /* @__PURE__ */ jsx18("span", __spreadProps(__spreadValues({}, triggerProps), { className: classNames("GeckoUITooltip__trigger", triggerClassName), children }));
2554
2527
  };
2555
- return /* @__PURE__ */ jsxs14(Fragment7, { children: [
2528
+ return /* @__PURE__ */ jsxs13(Fragment7, { children: [
2556
2529
  renderTrigger(),
2557
- isOpen && /* @__PURE__ */ jsx18(FloatingPortal, { children: /* @__PURE__ */ jsxs14(
2530
+ isOpen && /* @__PURE__ */ jsx18(FloatingPortal, { children: /* @__PURE__ */ jsxs13(
2558
2531
  "div",
2559
2532
  {
2560
2533
  ref: refs.setFloating,
@@ -2580,7 +2553,7 @@ var Tooltip = ({
2580
2553
  var Tooltip_default = Tooltip;
2581
2554
 
2582
2555
  // src/components/Label/Label.tsx
2583
- import { jsx as jsx19, jsxs as jsxs15 } from "react/jsx-runtime";
2556
+ import { jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
2584
2557
  var Label = (_a) => {
2585
2558
  var _b = _a, {
2586
2559
  className,
@@ -2599,7 +2572,7 @@ var Label = (_a) => {
2599
2572
  "tooltipClassName",
2600
2573
  "children"
2601
2574
  ]);
2602
- return /* @__PURE__ */ jsxs15("label", __spreadProps(__spreadValues({ className: classNames("GeckoUILabel", className) }, rest), { children: [
2575
+ return /* @__PURE__ */ jsxs14("label", __spreadProps(__spreadValues({ className: classNames("GeckoUILabel", className) }, rest), { children: [
2603
2576
  children,
2604
2577
  required ? /* @__PURE__ */ jsx19("span", { className: "GeckoUILabel__required-indicator", children: "*" }) : null,
2605
2578
  tooltip ? /* @__PURE__ */ jsx19(
@@ -2674,7 +2647,7 @@ var Spinner = (_a) => {
2674
2647
  };
2675
2648
 
2676
2649
  // src/components/LoadingButton/LoadingButton.tsx
2677
- import { jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
2650
+ import { jsx as jsx23, jsxs as jsxs15 } from "react/jsx-runtime";
2678
2651
  var LoadingButton = (_a) => {
2679
2652
  var _b = _a, {
2680
2653
  loading,
@@ -2706,7 +2679,7 @@ var LoadingButton = (_a) => {
2706
2679
  }
2707
2680
  return children;
2708
2681
  };
2709
- return /* @__PURE__ */ jsxs16(
2682
+ return /* @__PURE__ */ jsxs15(
2710
2683
  Button_default,
2711
2684
  __spreadProps(__spreadValues({
2712
2685
  "data-loading": loading || void 0,
@@ -2752,7 +2725,7 @@ RHFController.displayName = "RHFController";
2752
2725
  var RHFController_default = RHFController;
2753
2726
 
2754
2727
  // src/components/RHF/RHFCheckbox/RHFCheckbox.tsx
2755
- import { jsx as jsx25, jsxs as jsxs17 } from "react/jsx-runtime";
2728
+ import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
2756
2729
  var RHFCheckbox = (_a) => {
2757
2730
  var _b = _a, {
2758
2731
  name,
@@ -2793,12 +2766,12 @@ var RHFCheckbox = (_a) => {
2793
2766
  render: (renderProps) => {
2794
2767
  const { field } = renderProps;
2795
2768
  const isChecked = () => {
2796
- if (value === void 0) return false;
2769
+ if (value === void 0) return field.value === true;
2797
2770
  if (single) return isEqual_default(field.value, value);
2798
2771
  if (!Array.isArray(field.value)) return false;
2799
2772
  return field.value.map((e) => JSON.stringify(e)).includes(JSON.stringify(value));
2800
2773
  };
2801
- return /* @__PURE__ */ jsxs17("label", { className: "GeckoUIRHFCheckbox group", htmlFor: id || _id, children: [
2774
+ return /* @__PURE__ */ jsxs16("label", { className: "GeckoUIRHFCheckbox group", htmlFor: id || _id, children: [
2802
2775
  /* @__PURE__ */ jsx25(
2803
2776
  Checkbox_default,
2804
2777
  __spreadProps(__spreadValues(__spreadValues({}, field), rest), {
@@ -2812,7 +2785,9 @@ var RHFCheckbox = (_a) => {
2812
2785
  onChange: () => {
2813
2786
  var _a2;
2814
2787
  let v;
2815
- if (single) {
2788
+ if (value === void 0) {
2789
+ v = !field.value;
2790
+ } else if (single) {
2816
2791
  v = isEqual_default(field.value, value) ? uncheckedValue != null ? uncheckedValue : null : value;
2817
2792
  } else {
2818
2793
  v = (_a2 = field.value) != null ? _a2 : [];
@@ -2974,7 +2949,7 @@ RHFError.displayName = "RHFError";
2974
2949
  var RHFError_default = RHFError;
2975
2950
 
2976
2951
  // src/components/RHF/RHFInputGroup/RHFInputGroup.tsx
2977
- import { jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
2952
+ import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
2978
2953
  var RHFInputGroup = (_a) => {
2979
2954
  var _b = _a, {
2980
2955
  className,
@@ -2998,7 +2973,7 @@ var RHFInputGroup = (_a) => {
2998
2973
  console.warn("RHFInputGroup not containing any `RHF` input component");
2999
2974
  }
3000
2975
  const { id, name, control } = (input == null ? void 0 : input.props) || {};
3001
- return /* @__PURE__ */ jsxs18("div", { className: classNames("GeckoUIRHFInputGroup", className), children: [
2976
+ return /* @__PURE__ */ jsxs17("div", { className: classNames("GeckoUIRHFInputGroup", className), children: [
3002
2977
  label ? /* @__PURE__ */ jsx29(Label_default, __spreadProps(__spreadValues({ htmlFor: id, className: labelClassName }, restLabelProps), { children: label })) : null,
3003
2978
  children,
3004
2979
  name ? /* @__PURE__ */ jsx29(RHFError_default, { className: errorClassName, control, name }) : null
@@ -3130,6 +3105,7 @@ var RHFTextarea = (_a) => {
3130
3105
  rules,
3131
3106
  disabled,
3132
3107
  className,
3108
+ transform,
3133
3109
  onChange,
3134
3110
  onBlur
3135
3111
  } = _b, rest = __objRest(_b, [
@@ -3138,6 +3114,7 @@ var RHFTextarea = (_a) => {
3138
3114
  "rules",
3139
3115
  "disabled",
3140
3116
  "className",
3117
+ "transform",
3141
3118
  "onChange",
3142
3119
  "onBlur"
3143
3120
  ]);
@@ -3149,6 +3126,7 @@ var RHFTextarea = (_a) => {
3149
3126
  rules,
3150
3127
  render: (renderProps) => {
3151
3128
  const { field, fieldState } = renderProps;
3129
+ const value = (transform == null ? void 0 : transform.input) ? transform.input(field.value) : field.value;
3152
3130
  return /* @__PURE__ */ jsx33(
3153
3131
  Textarea_default,
3154
3132
  __spreadProps(__spreadValues(__spreadValues({
@@ -3161,9 +3139,11 @@ var RHFTextarea = (_a) => {
3161
3139
  onBlur == null ? void 0 : onBlur(e.target.value);
3162
3140
  },
3163
3141
  onChange: (e) => {
3164
- field.onChange(e.target.value);
3165
- onChange == null ? void 0 : onChange(e.target.value);
3166
- }
3142
+ const outputValue = (transform == null ? void 0 : transform.output) ? transform.output(e.target.value) : e.target.value;
3143
+ field.onChange(outputValue);
3144
+ onChange == null ? void 0 : onChange(outputValue);
3145
+ },
3146
+ value: value != null ? value : ""
3167
3147
  })
3168
3148
  );
3169
3149
  }
@@ -3175,11 +3155,11 @@ var RHFTextarea_default = RHFTextarea;
3175
3155
 
3176
3156
  // src/components/Switch/Switch.tsx
3177
3157
  import { forwardRef as forwardRef6 } from "react";
3178
- import { jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
3158
+ import { jsx as jsx34, jsxs as jsxs18 } from "react/jsx-runtime";
3179
3159
  var Switch = forwardRef6(
3180
3160
  (_a, ref) => {
3181
3161
  var _b = _a, { size = "md", className, thumbClassName, onChange, onKeyDown } = _b, rest = __objRest(_b, ["size", "className", "thumbClassName", "onChange", "onKeyDown"]);
3182
- return /* @__PURE__ */ jsxs19("label", { className: classNames("GeckoUISwitch", className), "data-size": size, children: [
3162
+ return /* @__PURE__ */ jsxs18("label", { className: classNames("GeckoUISwitch", className), "data-size": size, children: [
3183
3163
  /* @__PURE__ */ jsx34(
3184
3164
  "input",
3185
3165
  __spreadValues({
@@ -3292,7 +3272,7 @@ Radio.displayName = "Radio";
3292
3272
  var Radio_default = Radio;
3293
3273
 
3294
3274
  // src/components/RHF/RHFRadio/RHFRadio.tsx
3295
- import { jsx as jsx37, jsxs as jsxs20 } from "react/jsx-runtime";
3275
+ import { jsx as jsx37, jsxs as jsxs19 } from "react/jsx-runtime";
3296
3276
  var RHFRadio = (_a) => {
3297
3277
  var _b = _a, {
3298
3278
  name,
@@ -3329,7 +3309,7 @@ var RHFRadio = (_a) => {
3329
3309
  name,
3330
3310
  rules,
3331
3311
  render: ({ field }) => {
3332
- return /* @__PURE__ */ jsxs20("label", { className: "GeckoUIRHFRadio group", htmlFor: uniqueId, children: [
3312
+ return /* @__PURE__ */ jsxs19("label", { className: "GeckoUIRHFRadio group", htmlFor: uniqueId, children: [
3333
3313
  /* @__PURE__ */ jsx37(
3334
3314
  Radio_default,
3335
3315
  __spreadProps(__spreadValues(__spreadValues({}, field), rest), {
@@ -3431,7 +3411,7 @@ RHFDateRangeInput.displayName = "RHFDateRangeInput";
3431
3411
  var RHFDateRangeInput_default = RHFDateRangeInput;
3432
3412
 
3433
3413
  // src/components/RHF/RHFFileInput/RHFFileInput.tsx
3434
- import { jsx as jsx40, jsxs as jsxs21 } from "react/jsx-runtime";
3414
+ import { jsx as jsx40, jsxs as jsxs20 } from "react/jsx-runtime";
3435
3415
  var RHFFileInput = (_a) => {
3436
3416
  var _b = _a, {
3437
3417
  id,
@@ -3466,7 +3446,7 @@ var RHFFileInput = (_a) => {
3466
3446
  rules,
3467
3447
  render: (renderProps) => {
3468
3448
  const { field } = renderProps;
3469
- return /* @__PURE__ */ jsxs21("label", { className: classNames("GeckoUIRHFFileInput", className), id, children: [
3449
+ return /* @__PURE__ */ jsxs20("label", { className: classNames("GeckoUIRHFFileInput", className), id, children: [
3470
3450
  /* @__PURE__ */ jsx40(
3471
3451
  "input",
3472
3452
  __spreadProps(__spreadValues(__spreadValues({}, field), rest), {
@@ -3508,7 +3488,7 @@ var RHFFileInput_default = RHFFileInput;
3508
3488
 
3509
3489
  // src/components/OTPInput/OTPInput.tsx
3510
3490
  import { forwardRef as forwardRef8, useRef as useRef8 } from "react";
3511
- import { jsx as jsx41, jsxs as jsxs22 } from "react/jsx-runtime";
3491
+ import { jsx as jsx41, jsxs as jsxs21 } from "react/jsx-runtime";
3512
3492
  var OTPInput = forwardRef8(
3513
3493
  ({
3514
3494
  value = "",
@@ -3557,14 +3537,15 @@ var OTPInput = forwardRef8(
3557
3537
  className: classNames("GeckoUIOTPInput", className),
3558
3538
  "data-state": disabled ? "disabled" : "enabled",
3559
3539
  ref: divRef,
3560
- style: { gridTemplateColumns: `repeat(${length}, minmax(0, 1fr))` },
3561
3540
  children: Array.from({ length }).map((_, i) => i).map((key, index) => {
3562
3541
  const isLast = index === length - 1;
3563
- return /* @__PURE__ */ jsxs22(
3542
+ return /* @__PURE__ */ jsxs21(
3564
3543
  "div",
3565
3544
  {
3566
3545
  style: {
3567
3546
  position: "relative",
3547
+ flex: 1,
3548
+ maxWidth: 56,
3568
3549
  aspectRatio: aspectRatio === void 0 ? 0.94 : aspectRatio
3569
3550
  },
3570
3551
  children: [
@@ -3636,13 +3617,17 @@ var RHFOTPInput = (_a) => {
3636
3617
  name,
3637
3618
  rules,
3638
3619
  disabled,
3639
- className
3620
+ className,
3621
+ onChange,
3622
+ onBlur
3640
3623
  } = _b, rest = __objRest(_b, [
3641
3624
  "control",
3642
3625
  "name",
3643
3626
  "rules",
3644
3627
  "disabled",
3645
- "className"
3628
+ "className",
3629
+ "onChange",
3630
+ "onBlur"
3646
3631
  ]);
3647
3632
  return /* @__PURE__ */ jsx42(
3648
3633
  RHFController_default,
@@ -3654,11 +3639,20 @@ var RHFOTPInput = (_a) => {
3654
3639
  render: ({ field, fieldState }) => {
3655
3640
  return /* @__PURE__ */ jsx42(
3656
3641
  OTPInput_default,
3657
- __spreadValues(__spreadValues({
3642
+ __spreadProps(__spreadValues(__spreadValues({
3658
3643
  className: classNames("GeckoUIRHFOTPInput", className),
3659
3644
  "data-error": !disabled && fieldState.error ? "" : void 0,
3660
3645
  disabled
3661
- }, rest), field)
3646
+ }, rest), field), {
3647
+ onBlur: () => {
3648
+ field.onBlur();
3649
+ onBlur == null ? void 0 : onBlur();
3650
+ },
3651
+ onChange: (value) => {
3652
+ field.onChange(value);
3653
+ onChange == null ? void 0 : onChange(value);
3654
+ }
3655
+ })
3662
3656
  );
3663
3657
  }
3664
3658
  }
@@ -3668,7 +3662,7 @@ RHFOTPInput.displayName = "RHFOTPInput";
3668
3662
  var RHFOTPInput_default = RHFOTPInput;
3669
3663
 
3670
3664
  // src/components/RHF/RHFFilePicker/RHFFilePicker.tsx
3671
- import { jsx as jsx43, jsxs as jsxs23 } from "react/jsx-runtime";
3665
+ import { jsx as jsx43, jsxs as jsxs22 } from "react/jsx-runtime";
3672
3666
  function formatFileSize(bytes) {
3673
3667
  if (bytes === 0) return "0 B";
3674
3668
  const k = 1024;
@@ -3725,7 +3719,7 @@ function RHFFilePickerRenderer({
3725
3719
  const updatedFiles = value.filter((file) => file.preview !== fileToRemove.preview);
3726
3720
  field.onChange(updatedFiles);
3727
3721
  };
3728
- return /* @__PURE__ */ jsxs23(
3722
+ return /* @__PURE__ */ jsxs22(
3729
3723
  "div",
3730
3724
  {
3731
3725
  className: "GeckoUIRHFFilePicker",
@@ -3733,7 +3727,7 @@ function RHFFilePickerRenderer({
3733
3727
  "data-dragging": dragging || void 0,
3734
3728
  "data-error": error ? "" : void 0,
3735
3729
  children: [
3736
- /* @__PURE__ */ jsxs23(
3730
+ /* @__PURE__ */ jsxs22(
3737
3731
  "div",
3738
3732
  {
3739
3733
  className: "GeckoUIRHFFilePicker__upload-area",
@@ -3741,7 +3735,7 @@ function RHFFilePickerRenderer({
3741
3735
  children: [
3742
3736
  /* @__PURE__ */ jsx43(Upload_default, { className: "GeckoUIRHFFilePicker__upload-icon" }),
3743
3737
  /* @__PURE__ */ jsx43("p", { className: "GeckoUIRHFFilePicker__upload-text", children: "Drag and drop files here, or browse" }),
3744
- /* @__PURE__ */ jsxs23("div", { className: "GeckoUIRHFFilePicker__upload-buttons", children: [
3738
+ /* @__PURE__ */ jsxs22("div", { className: "GeckoUIRHFFilePicker__upload-buttons", children: [
3745
3739
  /* @__PURE__ */ jsx43(
3746
3740
  "button",
3747
3741
  {
@@ -3765,7 +3759,7 @@ function RHFFilePickerRenderer({
3765
3759
  ]
3766
3760
  }
3767
3761
  ),
3768
- Boolean(value == null ? void 0 : value.length) && /* @__PURE__ */ jsx43("div", { className: "GeckoUIRHFFilePicker__file-list", children: value.map((file) => /* @__PURE__ */ jsxs23("div", { className: "GeckoUIRHFFilePicker__file-row", children: [
3762
+ Boolean(value == null ? void 0 : value.length) && /* @__PURE__ */ jsx43("div", { className: "GeckoUIRHFFilePicker__file-list", children: value.map((file) => /* @__PURE__ */ jsxs22("div", { className: "GeckoUIRHFFilePicker__file-row", children: [
3769
3763
  /* @__PURE__ */ jsx43("span", { className: "GeckoUIRHFFilePicker__file-name", children: file.name }),
3770
3764
  /* @__PURE__ */ jsx43("span", { className: "GeckoUIRHFFilePicker__file-size", children: formatFileSize(file.size) }),
3771
3765
  /* @__PURE__ */ jsx43(
@@ -4014,7 +4008,7 @@ var sortMultiSelectValue = (value, options) => {
4014
4008
  };
4015
4009
 
4016
4010
  // src/components/Select/SelectButton/SelectButton.tsx
4017
- import { jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
4011
+ import { jsx as jsx44, jsxs as jsxs23 } from "react/jsx-runtime";
4018
4012
  function SelectButton({ prefix, suffix, className }) {
4019
4013
  const {
4020
4014
  disabled,
@@ -4050,7 +4044,7 @@ function SelectButton({ prefix, suffix, className }) {
4050
4044
  return trigger;
4051
4045
  }
4052
4046
  const filterable = _filterable === true || _filterable === "inline";
4053
- return /* @__PURE__ */ jsxs24(
4047
+ return /* @__PURE__ */ jsxs23(
4054
4048
  "div",
4055
4049
  __spreadProps(__spreadValues({
4056
4050
  className: classNames("GeckoUISelectButton", className),
@@ -4068,14 +4062,14 @@ function SelectButton({ prefix, suffix, className }) {
4068
4062
  "aria-disabled": disabled,
4069
4063
  children: [
4070
4064
  /* @__PURE__ */ jsx44(DynamicComponentRenderer_default, { component: prefix }),
4071
- /* @__PURE__ */ jsxs24("div", { className: "GeckoUISelectButton__content", children: [
4065
+ /* @__PURE__ */ jsxs23("div", { className: "GeckoUISelectButton__content", children: [
4072
4066
  hasValue ? /* @__PURE__ */ jsx44(SelectButtonContent, {}) : /* @__PURE__ */ jsx44(
4073
4067
  "span",
4074
4068
  __spreadProps(__spreadValues({
4075
4069
  className: classNames("GeckoUISelectButton__value", placeholderClassName),
4076
4070
  "data-placeholder": ""
4077
4071
  }, keyword && filterable && { "data-hidden": "" }), {
4078
- children: placeholder != null ? placeholder : "Select Item"
4072
+ children: placeholder != null ? placeholder : "Select option"
4079
4073
  })
4080
4074
  ),
4081
4075
  /* @__PURE__ */ jsx44(
@@ -4110,7 +4104,7 @@ function SelectButton({ prefix, suffix, className }) {
4110
4104
  })
4111
4105
  )
4112
4106
  ] }),
4113
- /* @__PURE__ */ jsxs24("div", { className: "GeckoUISelectButton__icons", children: [
4107
+ /* @__PURE__ */ jsxs23("div", { className: "GeckoUISelectButton__icons", children: [
4114
4108
  hasValue && !disabled && clearable && /* @__PURE__ */ jsx44(
4115
4109
  "button",
4116
4110
  {
@@ -4168,7 +4162,7 @@ function SelectButtonContent() {
4168
4162
  });
4169
4163
  return selectedOptions.map((option) => {
4170
4164
  const { remove, value: value2, label } = option;
4171
- return /* @__PURE__ */ jsxs24(
4165
+ return /* @__PURE__ */ jsxs23(
4172
4166
  "div",
4173
4167
  {
4174
4168
  className: "GeckoUISelectButton__multiselected-chip",
@@ -4308,7 +4302,7 @@ SelectEmpty.displayName = "SelectEmpty";
4308
4302
  var SelectEmpty_default = SelectEmpty;
4309
4303
 
4310
4304
  // src/components/Select/SelectMenu/SelectMenu.tsx
4311
- import { jsx as jsx47, jsxs as jsxs25 } from "react/jsx-runtime";
4305
+ import { jsx as jsx47, jsxs as jsxs24 } from "react/jsx-runtime";
4312
4306
  var SelectMenu = (_a) => {
4313
4307
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
4314
4308
  const {
@@ -4326,7 +4320,7 @@ var SelectMenu = (_a) => {
4326
4320
  return null;
4327
4321
  }
4328
4322
  const hasDropdownSearch = filterable === "dropdown";
4329
- return /* @__PURE__ */ jsxs25(
4323
+ return /* @__PURE__ */ jsxs24(
4330
4324
  "div",
4331
4325
  __spreadProps(__spreadValues({
4332
4326
  ref: (r) => refs.setFloating(r),
@@ -4336,7 +4330,7 @@ var SelectMenu = (_a) => {
4336
4330
  }, rest), {
4337
4331
  children: [
4338
4332
  hasDropdownSearch && /* @__PURE__ */ jsx47(SelectDropdownSearch_default, { className: "GeckoUISelectMenu__search-container", autoFocus: true }),
4339
- /* @__PURE__ */ jsxs25("div", { ref: menuScrollContainerRef, className: "GeckoUISelectMenu__items", children: [
4333
+ /* @__PURE__ */ jsxs24("div", { ref: menuScrollContainerRef, className: "GeckoUISelectMenu__items", children: [
4340
4334
  menuItems,
4341
4335
  /* @__PURE__ */ jsx47(Empty, { children: menuItems })
4342
4336
  ] })
@@ -4355,7 +4349,7 @@ SelectMenu.displayName = "SelectMenu";
4355
4349
  var SelectMenu_default = SelectMenu;
4356
4350
 
4357
4351
  // src/components/Select/Select/Select.tsx
4358
- import { jsx as jsx48, jsxs as jsxs26 } from "react/jsx-runtime";
4352
+ import { jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
4359
4353
  var Select = (props) => {
4360
4354
  const inputRef = useRef9(null);
4361
4355
  const menuScrollContainerRef = useRef9(null);
@@ -4479,7 +4473,7 @@ var Select = (props) => {
4479
4473
  onChange,
4480
4474
  clearable
4481
4475
  }, rest),
4482
- children: /* @__PURE__ */ jsxs26(
4476
+ children: /* @__PURE__ */ jsxs25(
4483
4477
  "div",
4484
4478
  {
4485
4479
  className: classNames("GeckoUISelect", wrapperClassName),
@@ -4498,7 +4492,7 @@ var Select_default = Select;
4498
4492
 
4499
4493
  // src/components/Select/SelectOption/SelectOption.tsx
4500
4494
  import { useEffect as useEffect8, useRef as useRef10 } from "react";
4501
- import { jsx as jsx49, jsxs as jsxs27 } from "react/jsx-runtime";
4495
+ import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
4502
4496
  var SelectOption = (_a) => {
4503
4497
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
4504
4498
  const _a2 = props, {
@@ -4603,7 +4597,7 @@ var SelectOption = (_a) => {
4603
4597
  }
4604
4598
  return children;
4605
4599
  };
4606
- return /* @__PURE__ */ jsxs27(
4600
+ return /* @__PURE__ */ jsxs26(
4607
4601
  "div",
4608
4602
  __spreadProps(__spreadValues({
4609
4603
  tabIndex: -1,
@@ -4714,7 +4708,7 @@ RHFSelect.displayName = "RHFSelect";
4714
4708
  var RHFSelect_default = RHFSelect;
4715
4709
 
4716
4710
  // src/components/Alert/Alert.tsx
4717
- import { jsx as jsx51, jsxs as jsxs28 } from "react/jsx-runtime";
4711
+ import { jsx as jsx51, jsxs as jsxs27 } from "react/jsx-runtime";
4718
4712
  var Alert = (props) => {
4719
4713
  const {
4720
4714
  variant = "default",
@@ -4726,14 +4720,14 @@ var Alert = (props) => {
4726
4720
  icon,
4727
4721
  iconClassName
4728
4722
  } = props;
4729
- return /* @__PURE__ */ jsxs28(
4723
+ return /* @__PURE__ */ jsxs27(
4730
4724
  "div",
4731
4725
  __spreadProps(__spreadValues({
4732
4726
  className: classNames("GeckoUIAlert", className),
4733
4727
  "data-variant": variant
4734
4728
  }, condensed ? { "data-condensed": "" } : {}), {
4735
4729
  children: [
4736
- /* @__PURE__ */ jsxs28("div", { className: "GeckoUIAlert__body", children: [
4730
+ /* @__PURE__ */ jsxs27("div", { className: "GeckoUIAlert__body", children: [
4737
4731
  icon ? /* @__PURE__ */ jsx51(DynamicComponentRenderer_default, { component: icon }) : /* @__PURE__ */ jsx51("div", { className: classNames("GeckoUIAlert__icon", iconClassName), "data-variant": variant }),
4738
4732
  /* @__PURE__ */ jsx51(DynamicComponentRenderer_default, { component: title, className: "GeckoUIAlert__title" }),
4739
4733
  Boolean(onRemove) && /* @__PURE__ */ jsx51("button", { className: "GeckoUIAlert__remove-button", onClick: onRemove, type: "button", children: /* @__PURE__ */ jsx51("span", { className: "GeckoUIAlert__remove-button__icon" }) })
@@ -4746,7 +4740,7 @@ var Alert = (props) => {
4746
4740
  var Alert_default = Alert;
4747
4741
 
4748
4742
  // src/components/Pagination/Pagination.tsx
4749
- import { jsx as jsx52, jsxs as jsxs29 } from "react/jsx-runtime";
4743
+ import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
4750
4744
  var Pagination = ({ currentPage, totalPages, onChange, className }) => {
4751
4745
  if (totalPages <= 1) return null;
4752
4746
  const getPages = () => {
@@ -4780,7 +4774,7 @@ var Pagination = ({ currentPage, totalPages, onChange, className }) => {
4780
4774
  return pages2;
4781
4775
  };
4782
4776
  const pages = getPages();
4783
- return /* @__PURE__ */ jsxs29("div", { className: classNames("GeckoUIPagination", className), children: [
4777
+ return /* @__PURE__ */ jsxs28("div", { className: classNames("GeckoUIPagination", className), children: [
4784
4778
  /* @__PURE__ */ jsx52(
4785
4779
  "button",
4786
4780
  {
@@ -4793,7 +4787,7 @@ var Pagination = ({ currentPage, totalPages, onChange, className }) => {
4793
4787
  children: /* @__PURE__ */ jsx52("span", { className: "GeckoUIPagination__arrow__icon", "data-direction": "previous" })
4794
4788
  }
4795
4789
  ),
4796
- /* @__PURE__ */ jsxs29("div", { className: "GeckoUIPagination__page-count", children: [
4790
+ /* @__PURE__ */ jsxs28("div", { className: "GeckoUIPagination__page-count", children: [
4797
4791
  /* @__PURE__ */ jsx52("span", { children: currentPage }),
4798
4792
  /* @__PURE__ */ jsx52("span", { children: "/" }),
4799
4793
  /* @__PURE__ */ jsx52("span", { children: totalPages })
@@ -4913,7 +4907,7 @@ var Dialog = { show, dismiss };
4913
4907
  var Dialog_default = Dialog;
4914
4908
 
4915
4909
  // src/components/ConfirmDialog/ConfirmDialog.tsx
4916
- import { Fragment as Fragment10, jsx as jsx55, jsxs as jsxs30 } from "react/jsx-runtime";
4910
+ import { Fragment as Fragment10, jsx as jsx55, jsxs as jsxs29 } from "react/jsx-runtime";
4917
4911
  function ConfirmDialogContent({
4918
4912
  confirmButtonLabel = "Ok",
4919
4913
  cancelButtonLabel = "Cancel",
@@ -4963,10 +4957,10 @@ function ConfirmDialogContent({
4963
4957
  return document.removeEventListener("keydown", onKeyDown);
4964
4958
  };
4965
4959
  }, [handleConfirm]);
4966
- return /* @__PURE__ */ jsxs30(Fragment10, { children: [
4960
+ return /* @__PURE__ */ jsxs29(Fragment10, { children: [
4967
4961
  /* @__PURE__ */ jsx55("div", { className: classNames("GeckoUIConfirmDialog__title", titleClassName), children: /* @__PURE__ */ jsx55(DynamicComponentRenderer_default, { component: title }) }),
4968
4962
  /* @__PURE__ */ jsx55("div", { className: classNames("GeckoUIConfirmDialog__content", contentClassName), children: /* @__PURE__ */ jsx55(DynamicComponentRenderer_default, { component: content, dismiss: dismiss2 }) }),
4969
- /* @__PURE__ */ jsxs30("div", { className: "GeckoUIConfirmDialog__actions", children: [
4963
+ /* @__PURE__ */ jsxs29("div", { className: "GeckoUIConfirmDialog__actions", children: [
4970
4964
  /* @__PURE__ */ jsx55(
4971
4965
  LoadingButton_default,
4972
4966
  {
@@ -5019,10 +5013,10 @@ function DrawerContainer() {
5019
5013
  }
5020
5014
 
5021
5015
  // src/components/GeckoUIPortal/GeckoUIPortal.tsx
5022
- import { Fragment as Fragment11, jsx as jsx57, jsxs as jsxs31 } from "react/jsx-runtime";
5016
+ import { Fragment as Fragment11, jsx as jsx57, jsxs as jsxs30 } from "react/jsx-runtime";
5023
5017
  var GeckoUIPortal = ({ toastOptions = {} }) => {
5024
5018
  const _a = toastOptions, { style } = _a, restToastOptions = __objRest(_a, ["style"]);
5025
- return /* @__PURE__ */ jsxs31(Fragment11, { children: [
5019
+ return /* @__PURE__ */ jsxs30(Fragment11, { children: [
5026
5020
  /* @__PURE__ */ jsx57(
5027
5021
  Toaster,
5028
5022
  __spreadValues({
@@ -5043,7 +5037,7 @@ var GeckoUIPortal_default = GeckoUIPortal;
5043
5037
  // src/components/Drawer/Drawer.tsx
5044
5038
  import { useRef as useRef12 } from "react";
5045
5039
  import { createRoot as createRoot2 } from "react-dom/client";
5046
- import { jsx as jsx58, jsxs as jsxs32 } from "react/jsx-runtime";
5040
+ import { jsx as jsx58, jsxs as jsxs31 } from "react/jsx-runtime";
5047
5041
  function Drawer({
5048
5042
  open = false,
5049
5043
  allowClickOutside,
@@ -5064,7 +5058,7 @@ function Drawer({
5064
5058
  handleDismiss();
5065
5059
  }, [drawerRootRef]);
5066
5060
  useEscListener_default(dismissOnEscape ? handleDismiss : void 0);
5067
- return /* @__PURE__ */ jsxs32("div", { className: "GeckoUIDrawer", ref: drawerRootRef, role: "dialog", children: [
5061
+ return /* @__PURE__ */ jsxs31("div", { className: "GeckoUIDrawer", ref: drawerRootRef, role: "dialog", children: [
5068
5062
  /* @__PURE__ */ jsx58(
5069
5063
  "div",
5070
5064
  {
@@ -5233,7 +5227,7 @@ MenuPanel.displayName = "MenuPanel";
5233
5227
  var MenuPanel_default = MenuPanel;
5234
5228
 
5235
5229
  // src/components/Menu/Menu/Menu.tsx
5236
- import { jsx as jsx61, jsxs as jsxs33 } from "react/jsx-runtime";
5230
+ import { jsx as jsx61, jsxs as jsxs32 } from "react/jsx-runtime";
5237
5231
  var Menu = ({
5238
5232
  label,
5239
5233
  disabled = false,
@@ -5288,7 +5282,7 @@ var Menu = ({
5288
5282
  disabled,
5289
5283
  menuRef
5290
5284
  },
5291
- children: /* @__PURE__ */ jsxs33("div", { className: classNames("GeckoUIMenu", className), ref: (r) => refs.setReference(r), children: [
5285
+ children: /* @__PURE__ */ jsxs32("div", { className: classNames("GeckoUIMenu", className), ref: (r) => refs.setReference(r), children: [
5292
5286
  trigger != null ? trigger : /* @__PURE__ */ jsx61(MenuButton_default, { className: buttonClassName, children: label != null ? label : "Menu" }),
5293
5287
  /* @__PURE__ */ jsx61(MenuPanel_default, { className: menuClassName, children: menuItems })
5294
5288
  ] })