@lolmath/ui 5.0.0 → 6.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/lib/index.js CHANGED
@@ -30,25 +30,26 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var src_exports = {};
32
32
  __export(src_exports, {
33
+ Autocomplete: () => import_react_aria_components24.Autocomplete,
33
34
  Breadcrumb: () => Breadcrumb,
34
35
  Breadcrumbs: () => Breadcrumbs,
35
36
  Button: () => Button2,
36
37
  ButtonLink: () => ButtonLink,
37
38
  Checkbox: () => Checkbox,
38
- Dialog: () => import_react_aria_components23.Dialog,
39
+ Dialog: () => import_react_aria_components25.Dialog,
39
40
  DialogButtons: () => DialogButtons,
40
41
  DialogHeading: () => DialogHeading,
41
- DialogTrigger: () => import_react_aria_components23.DialogTrigger,
42
+ DialogTrigger: () => import_react_aria_components25.DialogTrigger,
42
43
  Disclosure: () => Disclosure,
43
44
  DisclosureButton: () => DisclosureButton,
44
45
  DisclosureGroup: () => DisclosureGroup,
45
46
  DisclosurePanel: () => DisclosurePanel,
46
47
  Divider: () => Divider,
47
48
  Heading: () => Heading,
48
- Item: () => Item,
49
49
  Label: () => Label2,
50
50
  Menu: () => Menu,
51
51
  MenuItem: () => MenuItem,
52
+ MenuPopover: () => MenuPopover,
52
53
  MenuTrigger: () => MenuTrigger,
53
54
  Modal: () => Modal,
54
55
  MultipleSelect: () => MultipleSelect,
@@ -57,9 +58,14 @@ __export(src_exports, {
57
58
  ProgressBar: () => ProgressBar,
58
59
  Radio: () => Radio,
59
60
  RadioGroup: () => RadioGroup,
60
- RouterProvider: () => import_react_aria_components23.RouterProvider,
61
+ RouterProvider: () => import_react_aria_components25.RouterProvider,
61
62
  SearchField: () => SearchField,
62
- Select: () => Select,
63
+ Select: () => import_react_aria_components12.Select,
64
+ SelectButton: () => SelectButton,
65
+ SelectListBox: () => SelectListBox,
66
+ SelectListBoxItem: () => SelectListBoxItem,
67
+ SelectPopover: () => SelectPopover,
68
+ SelectValue: () => import_react_aria_components12.SelectValue,
63
69
  Slider: () => Slider,
64
70
  SliderOutput: () => SliderOutput,
65
71
  Sonner: () => Sonner,
@@ -75,17 +81,18 @@ __export(src_exports, {
75
81
  TextArea: () => TextArea,
76
82
  TextField: () => TextField,
77
83
  ToggleButton: () => ToggleButton,
78
- UnstyledPopover: () => import_react_aria_components23.Popover,
84
+ UnstyledPopover: () => import_react_aria_components25.Popover,
79
85
  _Button: () => _Button,
80
86
  _ButtonLink: () => _ButtonLink,
81
87
  button: () => button,
82
88
  heading: () => heading,
83
89
  sonner: () => sonner,
84
90
  text: () => text,
85
- textField: () => textField
91
+ textField: () => textField,
92
+ useFilter: () => import_react_aria_components24.useFilter
86
93
  });
87
94
  module.exports = __toCommonJS(src_exports);
88
- var import_react_aria_components23 = require("react-aria-components");
95
+ var import_react_aria_components25 = require("react-aria-components");
89
96
 
90
97
  // src/components/disclosure.tsx
91
98
  var import_cva = require("cva");
@@ -670,11 +677,11 @@ var import_react_aria_components11 = require("react-aria-components");
670
677
  var select_default = { "button": "button_560be", "small": "small_560be", "medium": "medium_560be", "large": "large_560be", "listBox": "listBox_560be", "item": "item_560be", "focus": "focus_560be", "selected": "selected_560be", "popover": "popover_560be" };
671
678
 
672
679
  // src/components/select/select.tsx
680
+ var import_react_aria_components12 = require("react-aria-components");
673
681
  var import_jsx_runtime12 = require("react/jsx-runtime");
674
682
  var select = (0, import_cva11.cva)({
675
683
  base: select_default.button,
676
684
  variants: {
677
- isOpen: { true: select_default.open },
678
685
  size: {
679
686
  small: select_default.small,
680
687
  medium: select_default.medium,
@@ -682,38 +689,57 @@ var select = (0, import_cva11.cva)({
682
689
  }
683
690
  }
684
691
  });
685
- function Select({
686
- description,
687
- errorMessage,
688
- children,
689
- items,
692
+ function SelectButton({
690
693
  className,
691
694
  size = "medium",
692
695
  ...props
693
696
  }) {
694
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_aria_components11.Select, { ...props, className, children: (values) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
695
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
696
- import_react_aria_components11.Button,
697
- {
698
- className: (buttonValues) => select({ ...buttonValues, isOpen: values.isOpen, size }),
699
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_aria_components11.SelectValue, {})
700
- }
701
- ),
702
- description && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_aria_components11.Text, { slot: "description", children: description }),
703
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_aria_components11.Text, { slot: "errorMessage", children: errorMessage }),
704
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_aria_components11.Popover, { offset: 4, className: select_default.popover, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_aria_components11.ListBox, { className: select_default.listBox, items, children }) })
705
- ] }) });
697
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
698
+ import_react_aria_components11.Button,
699
+ {
700
+ ...props,
701
+ className: (0, import_react_aria_components11.composeRenderProps)(
702
+ className,
703
+ (className2, buttonValues) => select({ ...buttonValues, size, className: className2 })
704
+ )
705
+ }
706
+ );
707
+ }
708
+ function SelectPopover({ className, ...props }) {
709
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
710
+ import_react_aria_components11.Popover,
711
+ {
712
+ ...props,
713
+ className: (0, import_react_aria_components11.composeRenderProps)(
714
+ className,
715
+ (className2) => (0, import_cva11.cx)(className2, select_default.popover)
716
+ )
717
+ }
718
+ );
719
+ }
720
+ function SelectListBox({
721
+ className,
722
+ ...props
723
+ }) {
724
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
725
+ import_react_aria_components11.ListBox,
726
+ {
727
+ ...props,
728
+ className: (0, import_react_aria_components11.composeRenderProps)(
729
+ className,
730
+ (className2) => (0, import_cva11.cx)(className2, select_default.listBox)
731
+ )
732
+ }
733
+ );
706
734
  }
707
735
  var item = (0, import_cva11.cva)({
708
736
  base: select_default.item,
709
737
  variants: {
710
- isHovered: { true: select_default.hover },
711
- isPressed: { true: select_default.press },
712
738
  isSelected: { true: select_default.selected },
713
739
  isFocused: { true: select_default.focus }
714
740
  }
715
741
  });
716
- function Item({ className, ...props }) {
742
+ function SelectListBoxItem({ className, ...props }) {
717
743
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
718
744
  import_react_aria_components11.ListBoxItem,
719
745
  {
@@ -728,7 +754,7 @@ function Item({ className, ...props }) {
728
754
 
729
755
  // src/components/slider/slider.tsx
730
756
  var import_cva12 = require("cva");
731
- var import_react_aria_components12 = require("react-aria-components");
757
+ var import_react_aria_components13 = require("react-aria-components");
732
758
 
733
759
  // src/components/typography/text.module.css
734
760
  var text_default = { "text": "text_63391", "label": "label_63391", "stat": "stat_63391", "largeNumber": "largeNumber_63391", "sm": "sm_63391", "base": "base_63391", "md": "md_63391", "lg": "lg_63391", "grey100": "grey100_63391", "grey150": "grey150_63391", "gold100": "gold100_63391" };
@@ -772,13 +798,13 @@ function Slider({
772
798
  sliderTrackForegroundClassName,
773
799
  ...props
774
800
  }) {
775
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_aria_components12.Slider, { ...props, className, children: (values) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
801
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_aria_components13.Slider, { ...props, className, children: (values) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
776
802
  typeof children === "function" ? children(values) : children,
777
803
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
778
- import_react_aria_components12.SliderTrack,
804
+ import_react_aria_components13.SliderTrack,
779
805
  {
780
806
  ...sliderTrackProps,
781
- className: (0, import_react_aria_components12.composeRenderProps)(
807
+ className: (0, import_react_aria_components13.composeRenderProps)(
782
808
  className,
783
809
  (className2) => (0, import_cva12.cx)(slider_default.track, className2)
784
810
  ),
@@ -789,7 +815,7 @@ function Slider({
789
815
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
790
816
  "div",
791
817
  {
792
- className: (0, import_react_aria_components12.composeRenderProps)(
818
+ className: (0, import_react_aria_components13.composeRenderProps)(
793
819
  sliderTrackBackgroundClassName,
794
820
  (className2) => (0, import_cva12.cx)(className2, slider_default.background)
795
821
  )(values2)
@@ -798,7 +824,7 @@ function Slider({
798
824
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
799
825
  "div",
800
826
  {
801
- className: (0, import_react_aria_components12.composeRenderProps)(
827
+ className: (0, import_react_aria_components13.composeRenderProps)(
802
828
  sliderTrackForegroundClassName,
803
829
  (className2) => sliderTrackForeground({
804
830
  ...values2.state,
@@ -811,14 +837,14 @@ function Slider({
811
837
  values2.state.values.map((_, i) => {
812
838
  const zIndex = values2.state.getThumbPercent(i === 1 ? 0 : 1) === (i === 1 ? 0 : 1) ? 2 : void 0;
813
839
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
814
- import_react_aria_components12.SliderThumb,
840
+ import_react_aria_components13.SliderThumb,
815
841
  {
816
842
  index: i,
817
843
  style: {
818
844
  zIndex
819
845
  },
820
846
  ...sliderThumbProps,
821
- className: (0, import_react_aria_components12.composeRenderProps)(
847
+ className: (0, import_react_aria_components13.composeRenderProps)(
822
848
  sliderThumbProps.className,
823
849
  (className2, sliderThumbRenderProps) => sliderThumb({
824
850
  isDisabled: sliderThumbRenderProps.isDisabled,
@@ -845,9 +871,9 @@ function SliderOutput({
845
871
  ...props
846
872
  }) {
847
873
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
848
- import_react_aria_components12.SliderOutput,
874
+ import_react_aria_components13.SliderOutput,
849
875
  {
850
- className: (0, import_react_aria_components12.composeRenderProps)(
876
+ className: (0, import_react_aria_components13.composeRenderProps)(
851
877
  className,
852
878
  (className2) => (0, import_cva12.cx)(text_default.text, text_default.sm, text_default.grey100, className2)
853
879
  ),
@@ -928,7 +954,7 @@ function Heading({
928
954
  // src/components/typography/text.tsx
929
955
  var import_cva15 = require("cva");
930
956
  var import_react4 = require("react");
931
- var import_react_aria_components13 = require("react-aria-components");
957
+ var import_react_aria_components14 = require("react-aria-components");
932
958
  var presetElements = {
933
959
  sm: "p",
934
960
  base: "p",
@@ -975,7 +1001,7 @@ function Label2({
975
1001
  className,
976
1002
  ...rest
977
1003
  }) {
978
- return (0, import_react4.createElement)(import_react_aria_components13.Label, {
1004
+ return (0, import_react4.createElement)(import_react_aria_components14.Label, {
979
1005
  ...rest,
980
1006
  className: text({ preset, color, className })
981
1007
  });
@@ -1056,7 +1082,7 @@ function Sonner(props) {
1056
1082
 
1057
1083
  // src/components/switch.tsx
1058
1084
  var import_cva16 = require("cva");
1059
- var import_react_aria_components14 = require("react-aria-components");
1085
+ var import_react_aria_components15 = require("react-aria-components");
1060
1086
 
1061
1087
  // src/components/switch.module.css
1062
1088
  var switch_default = { "switch": "switch_cfb98", "track": "track_cfb98", "knob": "knob_cfb98" };
@@ -1070,10 +1096,10 @@ function Switch({
1070
1096
  ...props
1071
1097
  }) {
1072
1098
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1073
- import_react_aria_components14.Switch,
1099
+ import_react_aria_components15.Switch,
1074
1100
  {
1075
1101
  ...props,
1076
- className: (0, import_react_aria_components14.composeRenderProps)(
1102
+ className: (0, import_react_aria_components15.composeRenderProps)(
1077
1103
  className,
1078
1104
  (className2) => (0, import_cva16.cx)(
1079
1105
  switch_default.switch,
@@ -1093,23 +1119,23 @@ function Switch({
1093
1119
 
1094
1120
  // src/components/tabs.tsx
1095
1121
  var import_cva17 = require("cva");
1096
- var import_react_aria_components15 = require("react-aria-components");
1122
+ var import_react_aria_components16 = require("react-aria-components");
1097
1123
 
1098
1124
  // src/components/tabs.module.css
1099
1125
  var tabs_default = { "list": "list_c42a1", "tab": "tab_c42a1", "indicator": "indicator_c42a1" };
1100
1126
 
1101
1127
  // src/components/tabs.tsx
1102
1128
  var import_jsx_runtime17 = require("react/jsx-runtime");
1103
- var Tabs = import_react_aria_components15.Tabs;
1129
+ var Tabs = import_react_aria_components16.Tabs;
1104
1130
  function TabList({
1105
1131
  className,
1106
1132
  ...rest
1107
1133
  }) {
1108
1134
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1109
- import_react_aria_components15.TabList,
1135
+ import_react_aria_components16.TabList,
1110
1136
  {
1111
1137
  ...rest,
1112
- className: (0, import_react_aria_components15.composeRenderProps)(
1138
+ className: (0, import_react_aria_components16.composeRenderProps)(
1113
1139
  className,
1114
1140
  (className2) => (0, import_cva17.cx)(tabs_default.list, className2)
1115
1141
  )
@@ -1118,10 +1144,10 @@ function TabList({
1118
1144
  }
1119
1145
  function Tab({ children, className, ...rest }) {
1120
1146
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1121
- import_react_aria_components15.Tab,
1147
+ import_react_aria_components16.Tab,
1122
1148
  {
1123
1149
  ...rest,
1124
- className: (0, import_react_aria_components15.composeRenderProps)(
1150
+ className: (0, import_react_aria_components16.composeRenderProps)(
1125
1151
  className,
1126
1152
  (className2) => (0, import_cva17.cx)(tabs_default.tab, className2)
1127
1153
  ),
@@ -1133,14 +1159,14 @@ function Tab({ children, className, ...rest }) {
1133
1159
  );
1134
1160
  }
1135
1161
  function TabPanel({ ...rest }) {
1136
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_aria_components15.TabPanel, { ...rest });
1162
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_aria_components16.TabPanel, { ...rest });
1137
1163
  }
1138
1164
 
1139
1165
  // src/components/text-area.tsx
1140
- var import_react_aria_components17 = require("react-aria-components");
1166
+ var import_react_aria_components18 = require("react-aria-components");
1141
1167
 
1142
1168
  // src/components/text-field.tsx
1143
- var import_react_aria_components16 = require("react-aria-components");
1169
+ var import_react_aria_components17 = require("react-aria-components");
1144
1170
  var import_cva18 = require("cva");
1145
1171
 
1146
1172
  // src/components/text-field.module.css
@@ -1166,14 +1192,14 @@ function TextField({
1166
1192
  size = "medium",
1167
1193
  ...props
1168
1194
  }) {
1169
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_aria_components16.TextField, { ...props, children: (values) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
1195
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react_aria_components17.TextField, { ...props, children: (values) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
1170
1196
  typeof children === "function" ? children(values) : children,
1171
1197
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1172
- import_react_aria_components16.Input,
1198
+ import_react_aria_components17.Input,
1173
1199
  {
1174
1200
  type: "text",
1175
1201
  ...inputProps,
1176
- className: (0, import_react_aria_components16.composeRenderProps)(
1202
+ className: (0, import_react_aria_components17.composeRenderProps)(
1177
1203
  inputProps.className,
1178
1204
  (className, values2) => textField({
1179
1205
  ...values2,
@@ -1193,13 +1219,13 @@ function TextArea({
1193
1219
  children,
1194
1220
  ...props
1195
1221
  }) {
1196
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_aria_components17.TextField, { ...props, children: (values) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
1222
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_aria_components18.TextField, { ...props, children: (values) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
1197
1223
  typeof children === "function" ? children(values) : children,
1198
1224
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1199
- import_react_aria_components17.TextArea,
1225
+ import_react_aria_components18.TextArea,
1200
1226
  {
1201
1227
  ...textAreaProps,
1202
- className: (0, import_react_aria_components17.composeRenderProps)(
1228
+ className: (0, import_react_aria_components18.composeRenderProps)(
1203
1229
  textAreaProps.className,
1204
1230
  (className, values2) => textField({
1205
1231
  ...values2,
@@ -1214,7 +1240,7 @@ function TextArea({
1214
1240
 
1215
1241
  // src/components/toggle-button.tsx
1216
1242
  var import_cva19 = require("cva");
1217
- var import_react_aria_components18 = require("react-aria-components");
1243
+ var import_react_aria_components19 = require("react-aria-components");
1218
1244
  var import_jsx_runtime20 = require("react/jsx-runtime");
1219
1245
  var button2 = (0, import_cva19.cva)({
1220
1246
  base: button_default.button,
@@ -1249,10 +1275,10 @@ function ToggleButton({
1249
1275
  ...props
1250
1276
  }) {
1251
1277
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1252
- import_react_aria_components18.ToggleButton,
1278
+ import_react_aria_components19.ToggleButton,
1253
1279
  {
1254
1280
  ...props,
1255
- className: (0, import_react_aria_components18.composeRenderProps)(
1281
+ className: (0, import_react_aria_components19.composeRenderProps)(
1256
1282
  className,
1257
1283
  (className2, values) => button2({
1258
1284
  ...values,
@@ -1270,7 +1296,7 @@ function ToggleButton({
1270
1296
 
1271
1297
  // src/components/popover.tsx
1272
1298
  var import_cva20 = require("cva");
1273
- var import_react_aria_components19 = require("react-aria-components");
1299
+ var import_react_aria_components20 = require("react-aria-components");
1274
1300
 
1275
1301
  // src/components/popover.module.css
1276
1302
  var popover_default = { "popover": "popover_f1fe1", "top": "top_f1fe1", "bottom": "bottom_f1fe1", "left": "left_f1fe1", "right": "right_f1fe1", "arrow": "arrow_f1fe1", "outer": "outer_f1fe1", "inner": "inner_f1fe1" };
@@ -1303,10 +1329,10 @@ var arrow = (0, import_cva20.cva)({
1303
1329
  });
1304
1330
  function Popover({ children, className, ...props }) {
1305
1331
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1306
- import_react_aria_components19.Popover,
1332
+ import_react_aria_components20.Popover,
1307
1333
  {
1308
1334
  ...props,
1309
- className: (0, import_react_aria_components19.composeRenderProps)(
1335
+ className: (0, import_react_aria_components20.composeRenderProps)(
1310
1336
  className,
1311
1337
  (className2, values) => popover({
1312
1338
  ...values,
@@ -1315,7 +1341,7 @@ function Popover({ children, className, ...props }) {
1315
1341
  })
1316
1342
  ),
1317
1343
  children: (values) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_jsx_runtime21.Fragment, { children: [
1318
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_aria_components19.OverlayArrow, { children: (values2) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1344
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_aria_components20.OverlayArrow, { children: (values2) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1319
1345
  "svg",
1320
1346
  {
1321
1347
  viewBox: "0 0 12 6",
@@ -1332,7 +1358,7 @@ function Popover({ children, className, ...props }) {
1332
1358
  ]
1333
1359
  }
1334
1360
  ) }) }),
1335
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_aria_components19.Dialog, { children: typeof children === "function" ? children(values) : children })
1361
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_aria_components20.Dialog, { children: typeof children === "function" ? children(values) : children })
1336
1362
  ] })
1337
1363
  }
1338
1364
  );
@@ -1340,36 +1366,42 @@ function Popover({ children, className, ...props }) {
1340
1366
 
1341
1367
  // src/components/menu.tsx
1342
1368
  var import_cva21 = require("cva");
1343
- var import_react_aria_components20 = require("react-aria-components");
1369
+ var import_react_aria_components21 = require("react-aria-components");
1344
1370
 
1345
1371
  // src/components/menu.module.css
1346
- var menu_default = { "menu": "menu_bd9f7", "item": "item_bd9f7" };
1372
+ var menu_default = { "menu": "menu_bd9f7", "item": "item_bd9f7", "popover": "popover_bd9f7" };
1347
1373
 
1348
1374
  // src/components/menu.tsx
1349
1375
  var import_jsx_runtime22 = require("react/jsx-runtime");
1350
- var MenuTrigger = import_react_aria_components20.MenuTrigger;
1351
- var SubmenuTrigger = import_react_aria_components20.SubmenuTrigger;
1352
- function Menu({
1353
- children,
1354
- className,
1355
- ...props
1356
- }) {
1357
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_aria_components20.Menu, { ...props, className: (0, import_cva21.cx)(menu_default.menu, className), children });
1376
+ var MenuTrigger = import_react_aria_components21.MenuTrigger;
1377
+ var SubmenuTrigger = import_react_aria_components21.SubmenuTrigger;
1378
+ function Menu({ className, ...props }) {
1379
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_aria_components21.Menu, { ...props, className: (0, import_cva21.cx)(menu_default.menu, className) });
1358
1380
  }
1359
1381
  function MenuItem({
1360
- children,
1361
1382
  className,
1362
1383
  ...props
1363
1384
  }) {
1364
1385
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1365
- import_react_aria_components20.MenuItem,
1386
+ import_react_aria_components21.MenuItem,
1366
1387
  {
1367
1388
  ...props,
1368
- className: (0, import_react_aria_components20.composeRenderProps)(
1389
+ className: (0, import_react_aria_components21.composeRenderProps)(
1369
1390
  className,
1370
1391
  (className2, values) => (0, import_cva21.cx)(menu_default.item, className2, values)
1371
- ),
1372
- children
1392
+ )
1393
+ }
1394
+ );
1395
+ }
1396
+ function MenuPopover({ className, ...props }) {
1397
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1398
+ import_react_aria_components21.Popover,
1399
+ {
1400
+ ...props,
1401
+ className: (0, import_react_aria_components21.composeRenderProps)(
1402
+ className,
1403
+ (className2) => (0, import_cva21.cx)(className2, menu_default.popover)
1404
+ )
1373
1405
  }
1374
1406
  );
1375
1407
  }
@@ -1378,7 +1410,7 @@ function MenuItem({
1378
1410
  var import_cva22 = require("cva");
1379
1411
  var import_react6 = __toESM(require("react"));
1380
1412
  var import_react_aria = require("react-aria");
1381
- var import_react_aria_components21 = require("react-aria-components");
1413
+ var import_react_aria_components22 = require("react-aria-components");
1382
1414
 
1383
1415
  // src/components/select/multiple-select.module.css
1384
1416
  var multiple_select_default = { "multiSelect": "multiSelect_e6fde", "focusWithin": "focusWithin_e6fde", "disabled": "disabled_e6fde", "small": "small_e6fde", "medium": "medium_e6fde", "large": "large_e6fde", "tagsAndInput": "tagsAndInput_e6fde", "chevronButton": "chevronButton_e6fde", "input": "input_e6fde", "comboBox": "comboBox_e6fde", "tagList": "tagList_e6fde", "emptyText": "emptyText_e6fde" };
@@ -1494,7 +1526,7 @@ function MultipleSelect({
1494
1526
  };
1495
1527
  }, []);
1496
1528
  const triggerButtonRef = import_react6.default.useRef(null);
1497
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_aria_components21.Group, { children: (groupRenderProps) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jsx_runtime23.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1529
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_aria_components22.Group, { children: (groupRenderProps) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_jsx_runtime23.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1498
1530
  "div",
1499
1531
  {
1500
1532
  ref: triggerRef,
@@ -1502,16 +1534,16 @@ function MultipleSelect({
1502
1534
  children: [
1503
1535
  /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: multiple_select_default.tagsAndInput, children: [
1504
1536
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1505
- import_react_aria_components21.TagGroup,
1537
+ import_react_aria_components22.TagGroup,
1506
1538
  {
1507
1539
  "aria-label": "Selected items",
1508
1540
  id: tagGroupIdentifier,
1509
1541
  onRemove,
1510
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_aria_components21.TagList, { items: selectedItems, className: multiple_select_default.tagList, children: props.tag })
1542
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_aria_components22.TagList, { items: selectedItems, className: multiple_select_default.tagList, children: props.tag })
1511
1543
  }
1512
1544
  ),
1513
1545
  /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1514
- import_react_aria_components21.ComboBox,
1546
+ import_react_aria_components22.ComboBox,
1515
1547
  {
1516
1548
  ...props,
1517
1549
  "aria-label": "Available items",
@@ -1524,7 +1556,7 @@ function MultipleSelect({
1524
1556
  onInputChange,
1525
1557
  children: [
1526
1558
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1527
- import_react_aria_components21.Input,
1559
+ import_react_aria_components22.Input,
1528
1560
  {
1529
1561
  className: multiple_select_default.input,
1530
1562
  onBlur: () => {
@@ -1547,14 +1579,14 @@ function MultipleSelect({
1547
1579
  }
1548
1580
  ) }),
1549
1581
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1550
- import_react_aria_components21.Popover,
1582
+ import_react_aria_components22.Popover,
1551
1583
  {
1552
1584
  className: select_default.popover,
1553
1585
  style: { width: `${width}px` },
1554
1586
  triggerRef,
1555
1587
  trigger: "ComboBox",
1556
1588
  children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1557
- import_react_aria_components21.ListBox,
1589
+ import_react_aria_components22.ListBox,
1558
1590
  {
1559
1591
  className: select_default.listBox,
1560
1592
  renderEmptyState: () => renderEmptyState ? renderEmptyState(fieldState.inputValue) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Text, { className: multiple_select_default.emptyText, children: fieldState.inputValue ? /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
@@ -1573,7 +1605,7 @@ function MultipleSelect({
1573
1605
  )
1574
1606
  ] }),
1575
1607
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { "aria-hidden": true, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1576
- import_react_aria_components21.Button,
1608
+ import_react_aria_components22.Button,
1577
1609
  {
1578
1610
  excludeFromTabOrder: true,
1579
1611
  onPress: () => triggerButtonRef.current?.click(),
@@ -1588,7 +1620,7 @@ function MultipleSelect({
1588
1620
 
1589
1621
  // src/components/tag/tag.tsx
1590
1622
  var import_cva23 = require("cva");
1591
- var import_react_aria_components22 = require("react-aria-components");
1623
+ var import_react_aria_components23 = require("react-aria-components");
1592
1624
 
1593
1625
  // src/components/tag/tag.module.css
1594
1626
  var tag_default = { "tag": "tag_c7c88", "text": "text_c7c88", "remove": "remove_c7c88" };
@@ -1597,22 +1629,26 @@ var tag_default = { "tag": "tag_c7c88", "text": "text_c7c88", "remove": "remove_
1597
1629
  var import_jsx_runtime24 = require("react/jsx-runtime");
1598
1630
  function Tag({ children, className, ...props }) {
1599
1631
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1600
- import_react_aria_components22.Tag,
1632
+ import_react_aria_components23.Tag,
1601
1633
  {
1602
1634
  ...props,
1603
- className: (0, import_react_aria_components22.composeRenderProps)(
1635
+ className: (0, import_react_aria_components23.composeRenderProps)(
1604
1636
  className,
1605
1637
  (className2) => (0, import_cva23.cx)(tag_default.tag, className2)
1606
1638
  ),
1607
- children: (0, import_react_aria_components22.composeRenderProps)(children, (children2) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
1639
+ children: (0, import_react_aria_components23.composeRenderProps)(children, (children2) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
1608
1640
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: tag_default.text, children: children2 }),
1609
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_aria_components22.Button, { slot: "remove", className: tag_default.remove })
1641
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react_aria_components23.Button, { slot: "remove", className: tag_default.remove })
1610
1642
  ] }))
1611
1643
  }
1612
1644
  );
1613
1645
  }
1646
+
1647
+ // src/components/autocomplete.tsx
1648
+ var import_react_aria_components24 = require("react-aria-components");
1614
1649
  // Annotate the CommonJS export names for ESM import in node:
1615
1650
  0 && (module.exports = {
1651
+ Autocomplete,
1616
1652
  Breadcrumb,
1617
1653
  Breadcrumbs,
1618
1654
  Button,
@@ -1628,10 +1664,10 @@ function Tag({ children, className, ...props }) {
1628
1664
  DisclosurePanel,
1629
1665
  Divider,
1630
1666
  Heading,
1631
- Item,
1632
1667
  Label,
1633
1668
  Menu,
1634
1669
  MenuItem,
1670
+ MenuPopover,
1635
1671
  MenuTrigger,
1636
1672
  Modal,
1637
1673
  MultipleSelect,
@@ -1643,6 +1679,11 @@ function Tag({ children, className, ...props }) {
1643
1679
  RouterProvider,
1644
1680
  SearchField,
1645
1681
  Select,
1682
+ SelectButton,
1683
+ SelectListBox,
1684
+ SelectListBoxItem,
1685
+ SelectPopover,
1686
+ SelectValue,
1646
1687
  Slider,
1647
1688
  SliderOutput,
1648
1689
  Sonner,
@@ -1665,7 +1706,8 @@ function Tag({ children, className, ...props }) {
1665
1706
  heading,
1666
1707
  sonner,
1667
1708
  text,
1668
- textField
1709
+ textField,
1710
+ useFilter
1669
1711
  });
1670
1712
 
1671
1713
  //# sourceMappingURL=index.js.map