lizaui 9.0.2 → 9.0.4

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.
Files changed (108) hide show
  1. package/dist/button/index.cjs.js +1 -1
  2. package/dist/button/index.es.js +1 -1
  3. package/dist/calendar/index.cjs.js +64 -800
  4. package/dist/calendar/index.cjs.js.map +1 -1
  5. package/dist/calendar/index.es.js +29 -765
  6. package/dist/calendar/index.es.js.map +1 -1
  7. package/dist/checkbox/index.cjs.js +1 -1
  8. package/dist/checkbox/index.es.js +1 -1
  9. package/dist/chip/index.cjs.js +9 -9
  10. package/dist/chip/index.cjs.js.map +1 -1
  11. package/dist/chip/index.es.js +2 -2
  12. package/dist/chunks/{button-MKhaqe0K.js → button-B0fpJrMg.js} +3 -3
  13. package/dist/chunks/{button-MKhaqe0K.js.map → button-B0fpJrMg.js.map} +1 -1
  14. package/dist/chunks/{button-BKebd9mx.js → button-d5z8H59K.js} +13 -13
  15. package/dist/chunks/{button-BKebd9mx.js.map → button-d5z8H59K.js.map} +1 -1
  16. package/dist/chunks/{checkbox-DpLEjjb9.js → checkbox-C1Sssumg.js} +3 -3
  17. package/dist/chunks/{checkbox-DpLEjjb9.js.map → checkbox-C1Sssumg.js.map} +1 -1
  18. package/dist/chunks/{checkbox-BoxBfskJ.js → checkbox-ovjcc7jF.js} +15 -15
  19. package/dist/chunks/{checkbox-BoxBfskJ.js.map → checkbox-ovjcc7jF.js.map} +1 -1
  20. package/dist/chunks/{index-BHpUy2Ix.js → index-CEKmKomA.js} +2 -2
  21. package/dist/chunks/{index-BHpUy2Ix.js.map → index-CEKmKomA.js.map} +1 -1
  22. package/dist/chunks/{index-CATvGmak.js → index-C_sOsPRt.js} +5 -5
  23. package/dist/chunks/{index-CATvGmak.js.map → index-C_sOsPRt.js.map} +1 -1
  24. package/dist/chunks/{index-CNDtGisb.js → index-DaMyCNJ8.js} +2 -2
  25. package/dist/chunks/{index-CNDtGisb.js.map → index-DaMyCNJ8.js.map} +1 -1
  26. package/dist/chunks/{label-error-DkVGsF5w.js → label-error-BTCuInp7.js} +2 -2
  27. package/dist/chunks/{label-error-DkVGsF5w.js.map → label-error-BTCuInp7.js.map} +1 -1
  28. package/dist/chunks/label-error-C8lIsfXu.js +9 -0
  29. package/dist/chunks/{label-error-2QXnvbxJ.js.map → label-error-C8lIsfXu.js.map} +1 -1
  30. package/dist/chunks/{ripple-CTAKSntE.js → ripple-Bm6QamOy.js} +4 -4
  31. package/dist/chunks/{ripple-CTAKSntE.js.map → ripple-Bm6QamOy.js.map} +1 -1
  32. package/dist/chunks/{scroll-area-CNEU8oOo.js → scroll-area-C0NhSIO2.js} +31 -31
  33. package/dist/chunks/{scroll-area-CNEU8oOo.js.map → scroll-area-C0NhSIO2.js.map} +1 -1
  34. package/dist/chunks/{scroll-area-3h3tgoqp.js → scroll-area-JgKF61tc.js} +3 -3
  35. package/dist/chunks/{scroll-area-3h3tgoqp.js.map → scroll-area-JgKF61tc.js.map} +1 -1
  36. package/dist/chunks/{select-BW-plZA9.js → select-DGnc8VJi.js} +73 -73
  37. package/dist/chunks/{select-BW-plZA9.js.map → select-DGnc8VJi.js.map} +1 -1
  38. package/dist/chunks/{select-wGmz50gN.js → select-Dpyj5dUk.js} +3 -3
  39. package/dist/chunks/{select-wGmz50gN.js.map → select-Dpyj5dUk.js.map} +1 -1
  40. package/dist/chunks/{styled-components.browser.esm-DbYXI9h_.js → styled-components.browser.esm-CPR7VH_x.js} +3 -3
  41. package/dist/chunks/{styled-components.browser.esm-DbYXI9h_.js.map → styled-components.browser.esm-CPR7VH_x.js.map} +1 -1
  42. package/dist/chunks/{textarea-CPHr2RpC.js → textarea-D2_KC-J4.js} +98 -98
  43. package/dist/chunks/{textarea-CPHr2RpC.js.map → textarea-D2_KC-J4.js.map} +1 -1
  44. package/dist/chunks/{textarea-CXQO1MMF.js → textarea-_HQpXiCX.js} +8 -8
  45. package/dist/chunks/{textarea-CXQO1MMF.js.map → textarea-_HQpXiCX.js.map} +1 -1
  46. package/dist/chunks/{tooltip-05Mv2hjx.js → tooltip-GGFk8ALK.js} +15 -15
  47. package/dist/chunks/{tooltip-05Mv2hjx.js.map → tooltip-GGFk8ALK.js.map} +1 -1
  48. package/dist/chunks/{tooltip-D3J0_sJU.js → tooltip-JwIbppjO.js} +3 -3
  49. package/dist/chunks/{tooltip-D3J0_sJU.js.map → tooltip-JwIbppjO.js.map} +1 -1
  50. package/dist/chunks/tv-B0li4IsO.js +41 -0
  51. package/dist/chunks/tv-B0li4IsO.js.map +1 -0
  52. package/dist/chunks/tv-CGbWb8zP.js +40 -0
  53. package/dist/chunks/tv-CGbWb8zP.js.map +1 -0
  54. package/dist/chunks/utils-H80jjgLf.js +9 -0
  55. package/dist/chunks/{utils-BnY7EXd5.js.map → utils-H80jjgLf.js.map} +1 -1
  56. package/dist/chunks/utils-ij3i9zTT.js +8 -0
  57. package/dist/chunks/{utils-nIKS3WsJ.js.map → utils-ij3i9zTT.js.map} +1 -1
  58. package/dist/components/calendar/date-picker/date-picker.d.ts +1 -1
  59. package/dist/components/calendar/date-picker/date-picker.d.ts.map +1 -1
  60. package/dist/components/calendar/date-picker/date-picker.style.d.ts +1 -0
  61. package/dist/components/calendar/date-picker/date-picker.style.d.ts.map +1 -1
  62. package/dist/components/calendar/date-picker/interface/date-picker.interface.d.ts +1 -0
  63. package/dist/components/calendar/date-picker/interface/date-picker.interface.d.ts.map +1 -1
  64. package/dist/divider/index.cjs.js +4 -4
  65. package/dist/divider/index.es.js +1 -1
  66. package/dist/modal/index.cjs.js +17 -17
  67. package/dist/modal/index.es.js +3 -3
  68. package/dist/pagination/index.cjs.js +29 -29
  69. package/dist/pagination/index.cjs.js.map +1 -1
  70. package/dist/pagination/index.es.js +5 -5
  71. package/dist/phone-input/index.cjs.js +32 -31
  72. package/dist/phone-input/index.cjs.js.map +1 -1
  73. package/dist/phone-input/index.es.js +7 -6
  74. package/dist/phone-input/index.es.js.map +1 -1
  75. package/dist/ripple/index.cjs.js +1 -1
  76. package/dist/select-input/index.cjs.js +39 -39
  77. package/dist/select-input/index.cjs.js.map +1 -1
  78. package/dist/select-input/index.es.js +5 -5
  79. package/dist/table/index.cjs.js +44 -44
  80. package/dist/table/index.cjs.js.map +1 -1
  81. package/dist/table/index.es.js +5 -5
  82. package/dist/time-input/index.cjs.js +53 -53
  83. package/dist/time-input/index.cjs.js.map +1 -1
  84. package/dist/time-input/index.es.js +5 -5
  85. package/dist/tooltip/index.cjs.js +1 -1
  86. package/dist/tooltip/index.es.js +1 -1
  87. package/dist/ui/index.cjs.js +324 -324
  88. package/dist/ui/index.es.js +10 -10
  89. package/package.json +8 -2
  90. package/dist/chunks/bundle-mjs-BWLS65yY.js +0 -3003
  91. package/dist/chunks/bundle-mjs-BWLS65yY.js.map +0 -1
  92. package/dist/chunks/bundle-mjs-DB1IOBLD.js +0 -3004
  93. package/dist/chunks/bundle-mjs-DB1IOBLD.js.map +0 -1
  94. package/dist/chunks/clsx-CBkIpawf.js +0 -16
  95. package/dist/chunks/clsx-CBkIpawf.js.map +0 -1
  96. package/dist/chunks/clsx-DgYk2OaC.js +0 -17
  97. package/dist/chunks/clsx-DgYk2OaC.js.map +0 -1
  98. package/dist/chunks/label-error-2QXnvbxJ.js +0 -9
  99. package/dist/chunks/tv-C-wpiWwh.js +0 -274
  100. package/dist/chunks/tv-C-wpiWwh.js.map +0 -1
  101. package/dist/chunks/tv-C4gJMNo3.js +0 -275
  102. package/dist/chunks/tv-C4gJMNo3.js.map +0 -1
  103. package/dist/chunks/utils-BnY7EXd5.js +0 -9
  104. package/dist/chunks/utils-nIKS3WsJ.js +0 -8
  105. package/dist/chunks/v4-BQ42ZlDJ.js +0 -39
  106. package/dist/chunks/v4-BQ42ZlDJ.js.map +0 -1
  107. package/dist/chunks/v4-C3omdoBX.js +0 -40
  108. package/dist/chunks/v4-C3omdoBX.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
- const require$$0 = require("react/jsx-runtime");
2
+ const jsxRuntime = require("react/jsx-runtime");
3
3
  const React = require("react");
4
4
  const ReactDOM = require("react-dom");
5
5
  const index$1 = require("./index-BPW1Qzmi.js");
6
- const textarea = require("./textarea-CPHr2RpC.js");
7
- const index = require("./index-CATvGmak.js");
6
+ const textarea = require("./textarea-D2_KC-J4.js");
7
+ const index = require("./index-C_sOsPRt.js");
8
8
  const floatingUi_reactDom = require("./floating-ui.react-dom-D5BI9L2i.js");
9
9
  const floatingUi_dom = require("./floating-ui.dom-DsMDyTcd.js");
10
- const utils = require("./utils-nIKS3WsJ.js");
10
+ const utils = require("./utils-ij3i9zTT.js");
11
11
  function _interopNamespaceDefault(e) {
12
12
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
13
13
  if (e) {
@@ -37,7 +37,7 @@ function createCollection(name) {
37
37
  const { scope, children } = props;
38
38
  const ref = React.useRef(null);
39
39
  const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;
40
- return /* @__PURE__ */ require$$0.jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
40
+ return /* @__PURE__ */ jsxRuntime.jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
41
41
  };
42
42
  CollectionProvider.displayName = PROVIDER_NAME;
43
43
  const COLLECTION_SLOT_NAME = name + "CollectionSlot";
@@ -47,7 +47,7 @@ function createCollection(name) {
47
47
  const { scope, children } = props;
48
48
  const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
49
49
  const composedRefs = index.useComposedRefs(forwardedRef, context.collectionRef);
50
- return /* @__PURE__ */ require$$0.jsx(CollectionSlotImpl, { ref: composedRefs, children });
50
+ return /* @__PURE__ */ jsxRuntime.jsx(CollectionSlotImpl, { ref: composedRefs, children });
51
51
  }
52
52
  );
53
53
  CollectionSlot.displayName = COLLECTION_SLOT_NAME;
@@ -64,7 +64,7 @@ function createCollection(name) {
64
64
  context.itemMap.set(ref, { ref, ...itemData });
65
65
  return () => void context.itemMap.delete(ref);
66
66
  });
67
- return /* @__PURE__ */ require$$0.jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
67
+ return /* @__PURE__ */ jsxRuntime.jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
68
68
  }
69
69
  );
70
70
  CollectionItemSlot.displayName = ITEM_SLOT_NAME;
@@ -91,7 +91,7 @@ function createCollection(name) {
91
91
  var NAME$1 = "Arrow";
92
92
  var Arrow$1 = React__namespace.forwardRef((props, forwardedRef) => {
93
93
  const { children, width = 10, height = 5, ...arrowProps } = props;
94
- return /* @__PURE__ */ require$$0.jsx(
94
+ return /* @__PURE__ */ jsxRuntime.jsx(
95
95
  textarea.Primitive.svg,
96
96
  {
97
97
  ...arrowProps,
@@ -100,7 +100,7 @@ var Arrow$1 = React__namespace.forwardRef((props, forwardedRef) => {
100
100
  height,
101
101
  viewBox: "0 0 30 10",
102
102
  preserveAspectRatio: "none",
103
- children: props.asChild ? children : /* @__PURE__ */ require$$0.jsx("polygon", { points: "0,0 30,0 15,10" })
103
+ children: props.asChild ? children : /* @__PURE__ */ jsxRuntime.jsx("polygon", { points: "0,0 30,0 15,10" })
104
104
  }
105
105
  );
106
106
  });
@@ -146,7 +146,7 @@ var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
146
146
  var Popper = (props) => {
147
147
  const { __scopePopper, children } = props;
148
148
  const [anchor, setAnchor] = React__namespace.useState(null);
149
- return /* @__PURE__ */ require$$0.jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
149
+ return /* @__PURE__ */ jsxRuntime.jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
150
150
  };
151
151
  Popper.displayName = POPPER_NAME;
152
152
  var ANCHOR_NAME = "PopperAnchor";
@@ -164,7 +164,7 @@ var PopperAnchor = React__namespace.forwardRef(
164
164
  context.onAnchorChange(anchorRef.current);
165
165
  }
166
166
  });
167
- return virtualRef ? null : /* @__PURE__ */ require$$0.jsx(textarea.Primitive.div, { ...anchorProps, ref: composedRefs });
167
+ return virtualRef ? null : /* @__PURE__ */ jsxRuntime.jsx(textarea.Primitive.div, { ...anchorProps, ref: composedRefs });
168
168
  }
169
169
  );
170
170
  PopperAnchor.displayName = ANCHOR_NAME;
@@ -257,7 +257,7 @@ var PopperContent = React__namespace.forwardRef(
257
257
  textarea.useLayoutEffect2(() => {
258
258
  if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
259
259
  }, [content]);
260
- return /* @__PURE__ */ require$$0.jsx(
260
+ return /* @__PURE__ */ jsxRuntime.jsx(
261
261
  "div",
262
262
  {
263
263
  ref: refs.setFloating,
@@ -281,7 +281,7 @@ var PopperContent = React__namespace.forwardRef(
281
281
  }
282
282
  },
283
283
  dir: props.dir,
284
- children: /* @__PURE__ */ require$$0.jsx(
284
+ children: /* @__PURE__ */ jsxRuntime.jsx(
285
285
  PopperContentProvider,
286
286
  {
287
287
  scope: __scopePopper,
@@ -290,7 +290,7 @@ var PopperContent = React__namespace.forwardRef(
290
290
  arrowX,
291
291
  arrowY,
292
292
  shouldHideArrow: cannotCenterArrow,
293
- children: /* @__PURE__ */ require$$0.jsx(
293
+ children: /* @__PURE__ */ jsxRuntime.jsx(
294
294
  textarea.Primitive.div,
295
295
  {
296
296
  "data-side": placedSide,
@@ -327,7 +327,7 @@ var PopperArrow = React__namespace.forwardRef(function PopperArrow2(props, forwa
327
327
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
328
328
  // doesn't report size as we'd expect on SVG elements.
329
329
  // it reports their bounding box which is effectively the largest path inside the SVG.
330
- /* @__PURE__ */ require$$0.jsx(
330
+ /* @__PURE__ */ jsxRuntime.jsx(
331
331
  "span",
332
332
  {
333
333
  ref: contentContext.onArrowChange,
@@ -350,7 +350,7 @@ var PopperArrow = React__namespace.forwardRef(function PopperArrow2(props, forwa
350
350
  }[contentContext.placedSide],
351
351
  visibility: contentContext.shouldHideArrow ? "hidden" : void 0
352
352
  },
353
- children: /* @__PURE__ */ require$$0.jsx(
353
+ children: /* @__PURE__ */ jsxRuntime.jsx(
354
354
  Root$1,
355
355
  {
356
356
  ...arrowProps,
@@ -437,7 +437,7 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
437
437
  var NAME = "VisuallyHidden";
438
438
  var VisuallyHidden = React__namespace.forwardRef(
439
439
  (props, forwardedRef) => {
440
- return /* @__PURE__ */ require$$0.jsx(
440
+ return /* @__PURE__ */ jsxRuntime.jsx(
441
441
  textarea.Primitive.span,
442
442
  {
443
443
  ...props,
@@ -498,7 +498,7 @@ var Select$1 = (props) => {
498
498
  const isFormControl = trigger ? form || !!trigger.closest("form") : true;
499
499
  const [nativeOptionsSet, setNativeOptionsSet] = React__namespace.useState(/* @__PURE__ */ new Set());
500
500
  const nativeSelectKey = Array.from(nativeOptionsSet).map((option) => option.props.value).join(";");
501
- return /* @__PURE__ */ require$$0.jsx(Root2$1, { ...popperScope, children: /* @__PURE__ */ require$$0.jsxs(
501
+ return /* @__PURE__ */ jsxRuntime.jsx(Root2$1, { ...popperScope, children: /* @__PURE__ */ jsxRuntime.jsxs(
502
502
  SelectProvider,
503
503
  {
504
504
  required,
@@ -518,7 +518,7 @@ var Select$1 = (props) => {
518
518
  triggerPointerDownPosRef,
519
519
  disabled,
520
520
  children: [
521
- /* @__PURE__ */ require$$0.jsx(Collection.Provider, { scope: __scopeSelect, children: /* @__PURE__ */ require$$0.jsx(
521
+ /* @__PURE__ */ jsxRuntime.jsx(Collection.Provider, { scope: __scopeSelect, children: /* @__PURE__ */ jsxRuntime.jsx(
522
522
  SelectNativeOptionsProvider,
523
523
  {
524
524
  scope: props.__scopeSelect,
@@ -535,7 +535,7 @@ var Select$1 = (props) => {
535
535
  children
536
536
  }
537
537
  ) }),
538
- isFormControl ? /* @__PURE__ */ require$$0.jsxs(
538
+ isFormControl ? /* @__PURE__ */ jsxRuntime.jsxs(
539
539
  SelectBubbleInput,
540
540
  {
541
541
  "aria-hidden": true,
@@ -548,7 +548,7 @@ var Select$1 = (props) => {
548
548
  disabled,
549
549
  form,
550
550
  children: [
551
- value === void 0 ? /* @__PURE__ */ require$$0.jsx("option", { value: "" }) : null,
551
+ value === void 0 ? /* @__PURE__ */ jsxRuntime.jsx("option", { value: "" }) : null,
552
552
  Array.from(nativeOptionsSet)
553
553
  ]
554
554
  },
@@ -589,7 +589,7 @@ var SelectTrigger$1 = React__namespace.forwardRef(
589
589
  };
590
590
  }
591
591
  };
592
- return /* @__PURE__ */ require$$0.jsx(Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ require$$0.jsx(
592
+ return /* @__PURE__ */ jsxRuntime.jsx(Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsxRuntime.jsx(
593
593
  textarea.Primitive.button,
594
594
  {
595
595
  type: "button",
@@ -648,13 +648,13 @@ var SelectValue$1 = React__namespace.forwardRef(
648
648
  textarea.useLayoutEffect2(() => {
649
649
  onValueNodeHasChildrenChange(hasChildren);
650
650
  }, [onValueNodeHasChildrenChange, hasChildren]);
651
- return /* @__PURE__ */ require$$0.jsx(
651
+ return /* @__PURE__ */ jsxRuntime.jsx(
652
652
  textarea.Primitive.span,
653
653
  {
654
654
  ...valueProps,
655
655
  ref: composedRefs,
656
656
  style: { pointerEvents: "none" },
657
- children: shouldShowPlaceholder(context.value) ? /* @__PURE__ */ require$$0.jsx(require$$0.Fragment, { children: placeholder }) : children
657
+ children: shouldShowPlaceholder(context.value) ? /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: placeholder }) : children
658
658
  }
659
659
  );
660
660
  }
@@ -664,13 +664,13 @@ var ICON_NAME = "SelectIcon";
664
664
  var SelectIcon = React__namespace.forwardRef(
665
665
  (props, forwardedRef) => {
666
666
  const { __scopeSelect, children, ...iconProps } = props;
667
- return /* @__PURE__ */ require$$0.jsx(textarea.Primitive.span, { "aria-hidden": true, ...iconProps, ref: forwardedRef, children: children || "▼" });
667
+ return /* @__PURE__ */ jsxRuntime.jsx(textarea.Primitive.span, { "aria-hidden": true, ...iconProps, ref: forwardedRef, children: children || "▼" });
668
668
  }
669
669
  );
670
670
  SelectIcon.displayName = ICON_NAME;
671
671
  var PORTAL_NAME = "SelectPortal";
672
672
  var SelectPortal = (props) => {
673
- return /* @__PURE__ */ require$$0.jsx(textarea.Portal, { asChild: true, ...props });
673
+ return /* @__PURE__ */ jsxRuntime.jsx(textarea.Portal, { asChild: true, ...props });
674
674
  };
675
675
  SelectPortal.displayName = PORTAL_NAME;
676
676
  var CONTENT_NAME = "SelectContent";
@@ -684,11 +684,11 @@ var SelectContent$1 = React__namespace.forwardRef(
684
684
  if (!context.open) {
685
685
  const frag = fragment;
686
686
  return frag ? ReactDOM__namespace.createPortal(
687
- /* @__PURE__ */ require$$0.jsx(SelectContentProvider, { scope: props.__scopeSelect, children: /* @__PURE__ */ require$$0.jsx(Collection.Slot, { scope: props.__scopeSelect, children: /* @__PURE__ */ require$$0.jsx("div", { children: props.children }) }) }),
687
+ /* @__PURE__ */ jsxRuntime.jsx(SelectContentProvider, { scope: props.__scopeSelect, children: /* @__PURE__ */ jsxRuntime.jsx(Collection.Slot, { scope: props.__scopeSelect, children: /* @__PURE__ */ jsxRuntime.jsx("div", { children: props.children }) }) }),
688
688
  frag
689
689
  ) : null;
690
690
  }
691
- return /* @__PURE__ */ require$$0.jsx(SelectContentImpl, { ...props, ref: forwardedRef });
691
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectContentImpl, { ...props, ref: forwardedRef });
692
692
  }
693
693
  );
694
694
  SelectContent$1.displayName = CONTENT_NAME;
@@ -842,7 +842,7 @@ var SelectContentImpl = React__namespace.forwardRef(
842
842
  hideWhenDetached,
843
843
  avoidCollisions
844
844
  } : {};
845
- return /* @__PURE__ */ require$$0.jsx(
845
+ return /* @__PURE__ */ jsxRuntime.jsx(
846
846
  SelectContentProvider,
847
847
  {
848
848
  scope: __scopeSelect,
@@ -858,7 +858,7 @@ var SelectContentImpl = React__namespace.forwardRef(
858
858
  position,
859
859
  isPositioned,
860
860
  searchRef,
861
- children: /* @__PURE__ */ require$$0.jsx(textarea.ReactRemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ require$$0.jsx(
861
+ children: /* @__PURE__ */ jsxRuntime.jsx(textarea.ReactRemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsxRuntime.jsx(
862
862
  textarea.FocusScope,
863
863
  {
864
864
  asChild: true,
@@ -870,7 +870,7 @@ var SelectContentImpl = React__namespace.forwardRef(
870
870
  context.trigger?.focus({ preventScroll: true });
871
871
  event.preventDefault();
872
872
  }),
873
- children: /* @__PURE__ */ require$$0.jsx(
873
+ children: /* @__PURE__ */ jsxRuntime.jsx(
874
874
  textarea.DismissableLayer,
875
875
  {
876
876
  asChild: true,
@@ -879,7 +879,7 @@ var SelectContentImpl = React__namespace.forwardRef(
879
879
  onPointerDownOutside,
880
880
  onFocusOutside: (event) => event.preventDefault(),
881
881
  onDismiss: () => context.onOpenChange(false),
882
- children: /* @__PURE__ */ require$$0.jsx(
882
+ children: /* @__PURE__ */ jsxRuntime.jsx(
883
883
  SelectPosition,
884
884
  {
885
885
  role: "listbox",
@@ -1055,14 +1055,14 @@ var SelectItemAlignedPosition = React__namespace.forwardRef((props, forwardedRef
1055
1055
  },
1056
1056
  [position, focusSelectedItem]
1057
1057
  );
1058
- return /* @__PURE__ */ require$$0.jsx(
1058
+ return /* @__PURE__ */ jsxRuntime.jsx(
1059
1059
  SelectViewportProvider,
1060
1060
  {
1061
1061
  scope: __scopeSelect,
1062
1062
  contentWrapper,
1063
1063
  shouldExpandOnScrollRef,
1064
1064
  onScrollButtonChange: handleScrollButtonChange,
1065
- children: /* @__PURE__ */ require$$0.jsx(
1065
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1066
1066
  "div",
1067
1067
  {
1068
1068
  ref: setContentWrapper,
@@ -1072,7 +1072,7 @@ var SelectItemAlignedPosition = React__namespace.forwardRef((props, forwardedRef
1072
1072
  position: "fixed",
1073
1073
  zIndex: contentZIndex
1074
1074
  },
1075
- children: /* @__PURE__ */ require$$0.jsx(
1075
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1076
1076
  textarea.Primitive.div,
1077
1077
  {
1078
1078
  ...popperProps,
@@ -1102,7 +1102,7 @@ var SelectPopperPosition = React__namespace.forwardRef((props, forwardedRef) =>
1102
1102
  ...popperProps
1103
1103
  } = props;
1104
1104
  const popperScope = usePopperScope(__scopeSelect);
1105
- return /* @__PURE__ */ require$$0.jsx(
1105
+ return /* @__PURE__ */ jsxRuntime.jsx(
1106
1106
  Content,
1107
1107
  {
1108
1108
  ...popperScope,
@@ -1136,8 +1136,8 @@ var SelectViewport = React__namespace.forwardRef(
1136
1136
  const viewportContext = useSelectViewportContext(VIEWPORT_NAME, __scopeSelect);
1137
1137
  const composedRefs = index.useComposedRefs(forwardedRef, contentContext.onViewportChange);
1138
1138
  const prevScrollTopRef = React__namespace.useRef(0);
1139
- return /* @__PURE__ */ require$$0.jsxs(require$$0.Fragment, { children: [
1140
- /* @__PURE__ */ require$$0.jsx(
1139
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1140
+ /* @__PURE__ */ jsxRuntime.jsx(
1141
1141
  "style",
1142
1142
  {
1143
1143
  dangerouslySetInnerHTML: {
@@ -1146,7 +1146,7 @@ var SelectViewport = React__namespace.forwardRef(
1146
1146
  nonce
1147
1147
  }
1148
1148
  ),
1149
- /* @__PURE__ */ require$$0.jsx(Collection.Slot, { scope: __scopeSelect, children: /* @__PURE__ */ require$$0.jsx(
1149
+ /* @__PURE__ */ jsxRuntime.jsx(Collection.Slot, { scope: __scopeSelect, children: /* @__PURE__ */ jsxRuntime.jsx(
1150
1150
  textarea.Primitive.div,
1151
1151
  {
1152
1152
  "data-radix-select-viewport": "",
@@ -1202,7 +1202,7 @@ var SelectGroup$1 = React__namespace.forwardRef(
1202
1202
  (props, forwardedRef) => {
1203
1203
  const { __scopeSelect, ...groupProps } = props;
1204
1204
  const groupId = textarea.useId();
1205
- return /* @__PURE__ */ require$$0.jsx(SelectGroupContextProvider, { scope: __scopeSelect, id: groupId, children: /* @__PURE__ */ require$$0.jsx(textarea.Primitive.div, { role: "group", "aria-labelledby": groupId, ...groupProps, ref: forwardedRef }) });
1205
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectGroupContextProvider, { scope: __scopeSelect, id: groupId, children: /* @__PURE__ */ jsxRuntime.jsx(textarea.Primitive.div, { role: "group", "aria-labelledby": groupId, ...groupProps, ref: forwardedRef }) });
1206
1206
  }
1207
1207
  );
1208
1208
  SelectGroup$1.displayName = GROUP_NAME;
@@ -1211,7 +1211,7 @@ var SelectLabel$1 = React__namespace.forwardRef(
1211
1211
  (props, forwardedRef) => {
1212
1212
  const { __scopeSelect, ...labelProps } = props;
1213
1213
  const groupContext = useSelectGroupContext(LABEL_NAME, __scopeSelect);
1214
- return /* @__PURE__ */ require$$0.jsx(textarea.Primitive.div, { id: groupContext.id, ...labelProps, ref: forwardedRef });
1214
+ return /* @__PURE__ */ jsxRuntime.jsx(textarea.Primitive.div, { id: groupContext.id, ...labelProps, ref: forwardedRef });
1215
1215
  }
1216
1216
  );
1217
1217
  SelectLabel$1.displayName = LABEL_NAME;
@@ -1248,7 +1248,7 @@ var SelectItem$1 = React__namespace.forwardRef(
1248
1248
  "A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
1249
1249
  );
1250
1250
  }
1251
- return /* @__PURE__ */ require$$0.jsx(
1251
+ return /* @__PURE__ */ jsxRuntime.jsx(
1252
1252
  SelectItemContextProvider,
1253
1253
  {
1254
1254
  scope: __scopeSelect,
@@ -1259,14 +1259,14 @@ var SelectItem$1 = React__namespace.forwardRef(
1259
1259
  onItemTextChange: React__namespace.useCallback((node) => {
1260
1260
  setTextValue((prevTextValue) => prevTextValue || (node?.textContent ?? "").trim());
1261
1261
  }, []),
1262
- children: /* @__PURE__ */ require$$0.jsx(
1262
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1263
1263
  Collection.ItemSlot,
1264
1264
  {
1265
1265
  scope: __scopeSelect,
1266
1266
  value,
1267
1267
  disabled,
1268
1268
  textValue,
1269
- children: /* @__PURE__ */ require$$0.jsx(
1269
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1270
1270
  textarea.Primitive.div,
1271
1271
  {
1272
1272
  role: "option",
@@ -1335,7 +1335,7 @@ var SelectItemText = React__namespace.forwardRef(
1335
1335
  );
1336
1336
  const textContent = itemTextNode?.textContent;
1337
1337
  const nativeOption = React__namespace.useMemo(
1338
- () => /* @__PURE__ */ require$$0.jsx("option", { value: itemContext.value, disabled: itemContext.disabled, children: textContent }, itemContext.value),
1338
+ () => /* @__PURE__ */ jsxRuntime.jsx("option", { value: itemContext.value, disabled: itemContext.disabled, children: textContent }, itemContext.value),
1339
1339
  [itemContext.disabled, itemContext.value, textContent]
1340
1340
  );
1341
1341
  const { onNativeOptionAdd, onNativeOptionRemove } = nativeOptionsContext;
@@ -1343,8 +1343,8 @@ var SelectItemText = React__namespace.forwardRef(
1343
1343
  onNativeOptionAdd(nativeOption);
1344
1344
  return () => onNativeOptionRemove(nativeOption);
1345
1345
  }, [onNativeOptionAdd, onNativeOptionRemove, nativeOption]);
1346
- return /* @__PURE__ */ require$$0.jsxs(require$$0.Fragment, { children: [
1347
- /* @__PURE__ */ require$$0.jsx(textarea.Primitive.span, { id: itemContext.textId, ...itemTextProps, ref: composedRefs }),
1346
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1347
+ /* @__PURE__ */ jsxRuntime.jsx(textarea.Primitive.span, { id: itemContext.textId, ...itemTextProps, ref: composedRefs }),
1348
1348
  itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren ? ReactDOM__namespace.createPortal(itemTextProps.children, context.valueNode) : null
1349
1349
  ] });
1350
1350
  }
@@ -1355,7 +1355,7 @@ var SelectItemIndicator = React__namespace.forwardRef(
1355
1355
  (props, forwardedRef) => {
1356
1356
  const { __scopeSelect, ...itemIndicatorProps } = props;
1357
1357
  const itemContext = useSelectItemContext(ITEM_INDICATOR_NAME, __scopeSelect);
1358
- return itemContext.isSelected ? /* @__PURE__ */ require$$0.jsx(textarea.Primitive.span, { "aria-hidden": true, ...itemIndicatorProps, ref: forwardedRef }) : null;
1358
+ return itemContext.isSelected ? /* @__PURE__ */ jsxRuntime.jsx(textarea.Primitive.span, { "aria-hidden": true, ...itemIndicatorProps, ref: forwardedRef }) : null;
1359
1359
  }
1360
1360
  );
1361
1361
  SelectItemIndicator.displayName = ITEM_INDICATOR_NAME;
@@ -1377,7 +1377,7 @@ var SelectScrollUpButton$1 = React__namespace.forwardRef((props, forwardedRef) =
1377
1377
  return () => viewport.removeEventListener("scroll", handleScroll2);
1378
1378
  }
1379
1379
  }, [contentContext.viewport, contentContext.isPositioned]);
1380
- return canScrollUp ? /* @__PURE__ */ require$$0.jsx(
1380
+ return canScrollUp ? /* @__PURE__ */ jsxRuntime.jsx(
1381
1381
  SelectScrollButtonImpl,
1382
1382
  {
1383
1383
  ...props,
@@ -1411,7 +1411,7 @@ var SelectScrollDownButton$1 = React__namespace.forwardRef((props, forwardedRef)
1411
1411
  return () => viewport.removeEventListener("scroll", handleScroll2);
1412
1412
  }
1413
1413
  }, [contentContext.viewport, contentContext.isPositioned]);
1414
- return canScrollDown ? /* @__PURE__ */ require$$0.jsx(
1414
+ return canScrollDown ? /* @__PURE__ */ jsxRuntime.jsx(
1415
1415
  SelectScrollButtonImpl,
1416
1416
  {
1417
1417
  ...props,
@@ -1444,7 +1444,7 @@ var SelectScrollButtonImpl = React__namespace.forwardRef((props, forwardedRef) =
1444
1444
  const activeItem = getItems().find((item) => item.ref.current === document.activeElement);
1445
1445
  activeItem?.ref.current?.scrollIntoView({ block: "nearest" });
1446
1446
  }, [getItems]);
1447
- return /* @__PURE__ */ require$$0.jsx(
1447
+ return /* @__PURE__ */ jsxRuntime.jsx(
1448
1448
  textarea.Primitive.div,
1449
1449
  {
1450
1450
  "aria-hidden": true,
@@ -1472,7 +1472,7 @@ var SEPARATOR_NAME = "SelectSeparator";
1472
1472
  var SelectSeparator$1 = React__namespace.forwardRef(
1473
1473
  (props, forwardedRef) => {
1474
1474
  const { __scopeSelect, ...separatorProps } = props;
1475
- return /* @__PURE__ */ require$$0.jsx(textarea.Primitive.div, { "aria-hidden": true, ...separatorProps, ref: forwardedRef });
1475
+ return /* @__PURE__ */ jsxRuntime.jsx(textarea.Primitive.div, { "aria-hidden": true, ...separatorProps, ref: forwardedRef });
1476
1476
  }
1477
1477
  );
1478
1478
  SelectSeparator$1.displayName = SEPARATOR_NAME;
@@ -1483,7 +1483,7 @@ var SelectArrow = React__namespace.forwardRef(
1483
1483
  const popperScope = usePopperScope(__scopeSelect);
1484
1484
  const context = useSelectContext(ARROW_NAME, __scopeSelect);
1485
1485
  const contentContext = useSelectContentContext(ARROW_NAME, __scopeSelect);
1486
- return context.open && contentContext.position === "popper" ? /* @__PURE__ */ require$$0.jsx(Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef }) : null;
1486
+ return context.open && contentContext.position === "popper" ? /* @__PURE__ */ jsxRuntime.jsx(Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef }) : null;
1487
1487
  }
1488
1488
  );
1489
1489
  SelectArrow.displayName = ARROW_NAME;
@@ -1508,7 +1508,7 @@ var SelectBubbleInput = React__namespace.forwardRef(
1508
1508
  select.dispatchEvent(event);
1509
1509
  }
1510
1510
  }, [prevValue, value]);
1511
- return /* @__PURE__ */ require$$0.jsx(
1511
+ return /* @__PURE__ */ jsxRuntime.jsx(
1512
1512
  textarea.Primitive.select,
1513
1513
  {
1514
1514
  ...props,
@@ -1579,13 +1579,13 @@ var ScrollUpButton = SelectScrollUpButton$1;
1579
1579
  var ScrollDownButton = SelectScrollDownButton$1;
1580
1580
  var Separator = SelectSeparator$1;
1581
1581
  function Select({ ...props }) {
1582
- return /* @__PURE__ */ require$$0.jsx(Root2, { "data-slot": "select", ...props });
1582
+ return /* @__PURE__ */ jsxRuntime.jsx(Root2, { "data-slot": "select", ...props });
1583
1583
  }
1584
1584
  function SelectGroup({ ...props }) {
1585
- return /* @__PURE__ */ require$$0.jsx(Group, { "data-slot": "select-group", ...props });
1585
+ return /* @__PURE__ */ jsxRuntime.jsx(Group, { "data-slot": "select-group", ...props });
1586
1586
  }
1587
1587
  function SelectValue({ ...props }) {
1588
- return /* @__PURE__ */ require$$0.jsx(Value, { "data-slot": "select-value", ...props });
1588
+ return /* @__PURE__ */ jsxRuntime.jsx(Value, { "data-slot": "select-value", ...props });
1589
1589
  }
1590
1590
  function SelectTrigger({
1591
1591
  className,
@@ -1593,7 +1593,7 @@ function SelectTrigger({
1593
1593
  children,
1594
1594
  ...props
1595
1595
  }) {
1596
- return /* @__PURE__ */ require$$0.jsxs(
1596
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1597
1597
  Trigger,
1598
1598
  {
1599
1599
  "data-slot": "select-trigger",
@@ -1605,13 +1605,13 @@ function SelectTrigger({
1605
1605
  ...props,
1606
1606
  children: [
1607
1607
  children,
1608
- /* @__PURE__ */ require$$0.jsx(Icon, { asChild: true, children: /* @__PURE__ */ require$$0.jsx(index$1.ChevronDown, { className: "size-4 opacity-50" }) })
1608
+ /* @__PURE__ */ jsxRuntime.jsx(Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.ChevronDown, { className: "size-4 opacity-50" }) })
1609
1609
  ]
1610
1610
  }
1611
1611
  );
1612
1612
  }
1613
1613
  function SelectContent({ className, children, position = "popper", ...props }) {
1614
- return /* @__PURE__ */ require$$0.jsx(Portal, { children: /* @__PURE__ */ require$$0.jsxs(
1614
+ return /* @__PURE__ */ jsxRuntime.jsx(Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
1615
1615
  Content2,
1616
1616
  {
1617
1617
  "data-slot": "select-content",
@@ -1623,8 +1623,8 @@ function SelectContent({ className, children, position = "popper", ...props }) {
1623
1623
  position,
1624
1624
  ...props,
1625
1625
  children: [
1626
- /* @__PURE__ */ require$$0.jsx(SelectScrollUpButton, {}),
1627
- /* @__PURE__ */ require$$0.jsx(
1626
+ /* @__PURE__ */ jsxRuntime.jsx(SelectScrollUpButton, {}),
1627
+ /* @__PURE__ */ jsxRuntime.jsx(
1628
1628
  Viewport,
1629
1629
  {
1630
1630
  className: utils.cn(
@@ -1634,16 +1634,16 @@ function SelectContent({ className, children, position = "popper", ...props }) {
1634
1634
  children
1635
1635
  }
1636
1636
  ),
1637
- /* @__PURE__ */ require$$0.jsx(SelectScrollDownButton, {})
1637
+ /* @__PURE__ */ jsxRuntime.jsx(SelectScrollDownButton, {})
1638
1638
  ]
1639
1639
  }
1640
1640
  ) });
1641
1641
  }
1642
1642
  function SelectLabel({ className, ...props }) {
1643
- return /* @__PURE__ */ require$$0.jsx(Label, { "data-slot": "select-label", className: utils.cn("text-muted-foreground px-2 py-1.5 text-xs", className), ...props });
1643
+ return /* @__PURE__ */ jsxRuntime.jsx(Label, { "data-slot": "select-label", className: utils.cn("text-muted-foreground px-2 py-1.5 text-xs", className), ...props });
1644
1644
  }
1645
1645
  function SelectItem({ className, children, ...props }) {
1646
- return /* @__PURE__ */ require$$0.jsxs(
1646
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1647
1647
  Item,
1648
1648
  {
1649
1649
  "data-slot": "select-item",
@@ -1653,14 +1653,14 @@ function SelectItem({ className, children, ...props }) {
1653
1653
  ),
1654
1654
  ...props,
1655
1655
  children: [
1656
- /* @__PURE__ */ require$$0.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ require$$0.jsx(ItemIndicator, { children: /* @__PURE__ */ require$$0.jsx(index$1.Check, { className: "size-4" }) }) }),
1657
- /* @__PURE__ */ require$$0.jsx(ItemText, { children })
1656
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(index$1.Check, { className: "size-4" }) }) }),
1657
+ /* @__PURE__ */ jsxRuntime.jsx(ItemText, { children })
1658
1658
  ]
1659
1659
  }
1660
1660
  );
1661
1661
  }
1662
1662
  function SelectSeparator({ className, ...props }) {
1663
- return /* @__PURE__ */ require$$0.jsx(
1663
+ return /* @__PURE__ */ jsxRuntime.jsx(
1664
1664
  Separator,
1665
1665
  {
1666
1666
  "data-slot": "select-separator",
@@ -1670,24 +1670,24 @@ function SelectSeparator({ className, ...props }) {
1670
1670
  );
1671
1671
  }
1672
1672
  function SelectScrollUpButton({ className, ...props }) {
1673
- return /* @__PURE__ */ require$$0.jsx(
1673
+ return /* @__PURE__ */ jsxRuntime.jsx(
1674
1674
  ScrollUpButton,
1675
1675
  {
1676
1676
  "data-slot": "select-scroll-up-button",
1677
1677
  className: utils.cn("flex cursor-default items-center justify-center py-1", className),
1678
1678
  ...props,
1679
- children: /* @__PURE__ */ require$$0.jsx(ChevronUp, { className: "size-4" })
1679
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronUp, { className: "size-4" })
1680
1680
  }
1681
1681
  );
1682
1682
  }
1683
1683
  function SelectScrollDownButton({ className, ...props }) {
1684
- return /* @__PURE__ */ require$$0.jsx(
1684
+ return /* @__PURE__ */ jsxRuntime.jsx(
1685
1685
  ScrollDownButton,
1686
1686
  {
1687
1687
  "data-slot": "select-scroll-down-button",
1688
1688
  className: utils.cn("flex cursor-default items-center justify-center py-1", className),
1689
1689
  ...props,
1690
- children: /* @__PURE__ */ require$$0.jsx(index$1.ChevronDown, { className: "size-4" })
1690
+ children: /* @__PURE__ */ jsxRuntime.jsx(index$1.ChevronDown, { className: "size-4" })
1691
1691
  }
1692
1692
  );
1693
1693
  }
@@ -1710,4 +1710,4 @@ exports.createCollection = createCollection;
1710
1710
  exports.createPopperScope = createPopperScope;
1711
1711
  exports.usePrevious = usePrevious;
1712
1712
  exports.useSize = useSize;
1713
- //# sourceMappingURL=select-BW-plZA9.js.map
1713
+ //# sourceMappingURL=select-DGnc8VJi.js.map