@konstructio/ui 0.1.2-alpha.105 → 0.1.2-alpha.107

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 (263) hide show
  1. package/README.md +118 -31
  2. package/dist/{AdditionalOptions-D0BAS2HG.js → AdditionalOptions-Crcnz0_g.js} +1 -1
  3. package/dist/{AlertDialogTrigger-BGo_acd5.js → AlertDialogTrigger-ouMGAlJW.js} +39 -39
  4. package/dist/{Breadcrumb-Cp3abB2w.js → Breadcrumb-MrF1Z6w2.js} +3 -3
  5. package/dist/{Checkbox-B_ngk9Dj.js → Checkbox-8KnRLpQG.js} +60 -61
  6. package/dist/{CommandInput-BLq69pOT.js → CommandInput-CGnqfudl.js} +4 -4
  7. package/dist/{Counter-BV680M5r.js → Counter-CDXdP1Af.js} +3 -3
  8. package/dist/{DayPicker-kweJz134.js → DayPicker-C22j0Y-u.js} +539 -518
  9. package/dist/{DropdownButton-DfNojmCW.js → DropdownButton-D4QlKGg7.js} +7 -7
  10. package/dist/{FlagSelectorList-CkTR3j6O.js → FlagSelectorList-tYZNl-tz.js} +31 -24
  11. package/dist/{HamburgerTrigger-DRylBL2d.js → HamburgerTrigger-B_NGSZ2r.js} +20 -20
  12. package/dist/{ImageUpload-DiwymQcU.js → ImageUpload-D7HKSXK8.js} +71 -66
  13. package/dist/Input-is8n7emP.js +195 -0
  14. package/dist/{Loading-DUh9PMJN.js → Loading-DO8JOWBV.js} +1 -1
  15. package/dist/{Modal-Dyn088X7.js → Modal-Dq9BHD_9.js} +4 -4
  16. package/dist/{Spinner-CUwE2bLm.js → Spinner-BJE79VTl.js} +1 -1
  17. package/dist/{StepIndicatorContent-CjbjVjS1.js → StepIndicatorContent-BGDvxLzV.js} +1 -1
  18. package/dist/Switch-C7286Bcu.js +199 -0
  19. package/dist/{Toast-3NEz7LLa.js → Toast-jSx3Lao8.js} +8 -7
  20. package/dist/Wrapper-2AUlYAHQ.js +195 -0
  21. package/dist/{Wrapper-CVJSuYWx.js → Wrapper-CyHxGs4E.js} +4 -4
  22. package/dist/{Wrapper-DP6Sxngx.js → Wrapper-a7RVCcrn.js} +248 -242
  23. package/dist/components/Alert/Alert.js +2 -2
  24. package/dist/components/AlertDialog/AlertDialog.js +2 -2
  25. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  26. package/dist/components/AlertDialog/components/index.js +1 -1
  27. package/dist/components/Autocomplete/Autocomplete.js +1 -1
  28. package/dist/components/Autocomplete/components/List/List.js +1 -1
  29. package/dist/components/Autocomplete/hooks/useAutocomplete.js +27 -25
  30. package/dist/components/Autocomplete/hooks/useNavigationList.js +2 -3
  31. package/dist/components/Badge/Badge.js +2 -2
  32. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  33. package/dist/components/Breadcrumb/components/BackButton/BackButton.js +2 -2
  34. package/dist/components/Breadcrumb/components/Item/Item.js +2 -2
  35. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
  36. package/dist/components/Button/Button.js +1 -1
  37. package/dist/components/ButtonGroup/ButtonGroup.js +65 -60
  38. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +2 -2
  39. package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +10 -9
  40. package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +8 -6
  41. package/dist/components/Card/Card.js +25 -22
  42. package/dist/components/Checkbox/Checkbox.js +1 -1
  43. package/dist/components/Command/Command.js +2 -2
  44. package/dist/components/Command/components/Command.js +1 -1
  45. package/dist/components/Command/components/CommandEmpty.js +1 -1
  46. package/dist/components/Command/components/CommandGroup.js +2 -2
  47. package/dist/components/Command/components/CommandInput.js +1 -1
  48. package/dist/components/Command/components/CommandItem.js +2 -2
  49. package/dist/components/Command/components/CommandList.js +2 -2
  50. package/dist/components/Command/components/CommandSeparator.js +2 -2
  51. package/dist/components/Command/components/CommandShortcut.js +1 -1
  52. package/dist/components/Command/components/DialogContent.js +3 -3
  53. package/dist/components/Command/components/DialogOverlay.js +2 -2
  54. package/dist/components/Command/components/index.js +1 -1
  55. package/dist/components/Counter/Counter.js +1 -1
  56. package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
  57. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +1 -1
  58. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +3 -3
  59. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +3 -3
  60. package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +1 -1
  61. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +2 -2
  62. package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +1 -1
  63. package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +1 -1
  64. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +1 -1
  65. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +30 -28
  66. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +23 -21
  67. package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.js +1 -1
  68. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +1 -1
  69. package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +48 -41
  70. package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +48 -41
  71. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +1 -1
  72. package/dist/components/Datepicker/DatePicker.js +2 -2
  73. package/dist/components/Divider/Divider.js +7 -7
  74. package/dist/components/Drawer/Drawer.js +28 -26
  75. package/dist/components/Drawer/components/Body/Body.js +1 -1
  76. package/dist/components/Drawer/components/Footer/Footer.js +1 -1
  77. package/dist/components/Drawer/components/Header/Header.js +1 -1
  78. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  79. package/dist/components/Filter/Filter.js +1 -1
  80. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +51 -36
  81. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +40 -38
  82. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +1 -1
  83. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +1 -1
  84. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +1 -1
  85. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +1 -1
  86. package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +2 -2
  87. package/dist/components/Filter/components/ResetButton/ResetButton.js +1 -1
  88. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +43 -41
  89. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +1 -1
  90. package/dist/components/Filter/utils/index.js +1 -1
  91. package/dist/components/ImageUpload/ImageUpload.js +1 -1
  92. package/dist/components/Input/Input.js +1 -1
  93. package/dist/components/LineChart/LineChart.js +2 -2
  94. package/dist/components/Loading/Loading.js +1 -1
  95. package/dist/components/Modal/Modal.js +1 -1
  96. package/dist/components/Modal/components/Body/Body.js +1 -1
  97. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  98. package/dist/components/Modal/components/Header/Header.js +1 -1
  99. package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
  100. package/dist/components/Modal/components/index.js +1 -1
  101. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
  102. package/dist/components/MultiSelectDropdown/components/Item/Item.js +1 -1
  103. package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
  104. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
  105. package/dist/components/MultiSelectDropdown/components/index.js +1 -1
  106. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.context.js +4 -3
  107. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +17 -16
  108. package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +11 -11
  109. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +2 -2
  110. package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +1 -1
  111. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
  112. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +3 -3
  113. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +3 -3
  114. package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
  115. package/dist/components/PhoneNumberInput/components/index.js +2 -2
  116. package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
  117. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
  118. package/dist/components/PhoneNumberInput/utils/index.js +1 -1
  119. package/dist/components/PieChart/PieChart.js +31 -28
  120. package/dist/components/ProgressBar/ProgressBar.js +1 -1
  121. package/dist/components/Radio/Radio.js +1 -1
  122. package/dist/components/RadioCard/RadioCard.js +1 -1
  123. package/dist/components/RadioCardGroup/RadioCardGroup.js +1 -1
  124. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  125. package/dist/components/Range/Range.js +2 -2
  126. package/dist/components/Select/Select.js +43 -36
  127. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
  128. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +1 -1
  129. package/dist/components/Select/components/List/List.js +78 -67
  130. package/dist/components/Select/components/ListItem/ListItem.js +1 -1
  131. package/dist/components/Select/components/Wrapper.js +1 -1
  132. package/dist/components/Select/components/index.js +2 -2
  133. package/dist/components/Select/hooks/useNavigationList.js +2 -3
  134. package/dist/components/Select/hooks/useSelect.js +8 -8
  135. package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.js +1 -1
  136. package/dist/components/Sidebar/components/Footer/Footer.js +1 -1
  137. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
  138. package/dist/components/Sidebar/components/Label/Label.js +1 -1
  139. package/dist/components/Sidebar/components/Logo/Logo.js +1 -1
  140. package/dist/components/Sidebar/components/Navigation/Navigation.js +1 -1
  141. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +1 -1
  142. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +2 -2
  143. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +1 -1
  144. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +1 -1
  145. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +25 -24
  146. package/dist/components/Sidebar/components/index.js +1 -1
  147. package/dist/components/Slider/Slider.js +2 -2
  148. package/dist/components/Spinner/Spinner.js +1 -1
  149. package/dist/components/Stepper/Stepper.js +1 -1
  150. package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +2 -2
  151. package/dist/components/Stepper/components/StepConnector/StepConnector.js +1 -1
  152. package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +1 -1
  153. package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +2 -2
  154. package/dist/components/Switch/Switch.js +1 -1
  155. package/dist/components/Switch/Switch.variants.js +15 -7
  156. package/dist/components/Table/Table.js +1 -1
  157. package/dist/components/Table/components/Body.js +1 -1
  158. package/dist/components/Table/components/Filter.js +1 -1
  159. package/dist/components/Table/components/Head.js +1 -1
  160. package/dist/components/Table/components/Row.js +1 -1
  161. package/dist/components/Tabs/Tabs.js +2 -2
  162. package/dist/components/Tabs/components/Content.js +2 -2
  163. package/dist/components/Tabs/components/List.js +2 -2
  164. package/dist/components/Tabs/components/Trigger.js +2 -2
  165. package/dist/components/Tag/Tag.js +8 -8
  166. package/dist/components/TagSelect/TagSelect.js +1 -1
  167. package/dist/components/TagSelect/components/Item/Item.js +1 -1
  168. package/dist/components/TagSelect/components/List/List.js +1 -1
  169. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
  170. package/dist/components/TagSelect/components/index.js +1 -1
  171. package/dist/components/TagSelect/hooks/useTagSelect.js +11 -11
  172. package/dist/components/TextArea/TextArea.js +71 -26
  173. package/dist/components/TextArea/TextArea.variants.js +49 -13
  174. package/dist/components/TimePicker/components/HoursList/HoursList.js +1 -1
  175. package/dist/components/TimePicker/components/MeridianList/MeridianList.js +1 -1
  176. package/dist/components/TimePicker/components/MinutesList/MinutesList.js +1 -1
  177. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +114 -99
  178. package/dist/components/TimePicker/components/WrapperList/WrapperList.js +19 -18
  179. package/dist/components/Toast/Toast.js +1 -1
  180. package/dist/components/Tooltip/Tooltip.js +2 -2
  181. package/dist/components/Typography/Typography.js +19 -16
  182. package/dist/components/VirtualizedTable/VirtualizedTable.js +2 -2
  183. package/dist/components/VirtualizedTable/components/Actions/Actions.js +1 -1
  184. package/dist/components/VirtualizedTable/components/Body/Body.js +2 -2
  185. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +1 -1
  186. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +2 -2
  187. package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +1 -1
  188. package/dist/components/VirtualizedTable/components/Filter/Filter.js +4 -4
  189. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
  190. package/dist/components/VirtualizedTable/components/Header/Header.js +2 -2
  191. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +1 -1
  192. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +1 -1
  193. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +3 -3
  194. package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +1 -1
  195. package/dist/components/VirtualizedTable/contexts/index.js +1 -1
  196. package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
  197. package/dist/components/index.js +12 -12
  198. package/dist/{components-Cf345jTv.js → components-CaEW5ge4.js} +32 -32
  199. package/dist/{constants-CxJJRVK3.js → constants-HQIXhj2t.js} +2 -2
  200. package/dist/contexts/index.js +1 -1
  201. package/dist/contexts/theme.provider.js +1 -1
  202. package/dist/{debounce-C5Ycjilj.js → debounce-BdyZeJQk.js} +2 -2
  203. package/dist/{dist-DFCz63oC2.js → dist-9WbMf_jT.js} +158 -159
  204. package/dist/{dist-tGUUcv8n.js → dist-AxOGvL82.js} +114 -115
  205. package/dist/{dist-DDck_2lb.js → dist-BIBFLVt1.js} +117 -116
  206. package/dist/{dist-BZNE2Tnx.js → dist-BbX4Nrk2.js} +1 -1
  207. package/dist/{dist-BaPW7qXd2.js → dist-BnCbAI-c.js} +1 -1
  208. package/dist/{dist-BdobXn93.js → dist-CszFjHAP.js} +2 -2
  209. package/dist/{dist-C3YVLapk.js → dist-DO3apbIh.js} +24 -24
  210. package/dist/{dist-CzKqHuqJ2.js → dist-DwxO2RoR.js} +38 -38
  211. package/dist/{dist-AihTpWdF.js → dist-iUAHw-3y.js} +272 -272
  212. package/dist/{dist-BlPTJNIm.js → dist-pxvIAJzo.js} +2 -2
  213. package/dist/es2015-B_07N-UL.js +796 -0
  214. package/dist/hooks/useMediaQuery.js +1 -1
  215. package/dist/index.js +14 -14
  216. package/dist/{isObject-BeFFiVJK.js → isObject-pLoSfdr0.js} +1 -1
  217. package/dist/lib/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.types.d.ts +1 -1
  218. package/dist/lib/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.types.d.ts +2 -0
  219. package/dist/lib/components/Card/Card.types.d.ts +1 -0
  220. package/dist/lib/components/Checkbox/Checkbox.d.ts +1 -1
  221. package/dist/lib/components/Checkbox/Checkbox.types.d.ts +2 -1
  222. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.types.d.ts +1 -0
  223. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.types.d.ts +1 -0
  224. package/dist/lib/components/Divider/Divider.d.ts +3 -2
  225. package/dist/lib/components/Divider/Divider.types.d.ts +4 -0
  226. package/dist/lib/components/Input/Input.types.d.ts +4 -0
  227. package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.types.d.ts +2 -0
  228. package/dist/lib/components/MultiSelectDropdown/contexts/MultiSelectDropdown.types.d.ts +2 -0
  229. package/dist/lib/components/Select/Select.types.d.ts +2 -0
  230. package/dist/lib/components/Select/components/List/List.types.d.ts +3 -0
  231. package/dist/lib/components/Select/components/Wrapper.d.ts +2 -0
  232. package/dist/lib/components/Sidebar/Sidebar.types.d.ts +2 -0
  233. package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.types.d.ts +2 -0
  234. package/dist/lib/components/Switch/Switch.variants.d.ts +3 -1
  235. package/dist/lib/components/Tag/Tag.types.d.ts +1 -0
  236. package/dist/lib/components/TextArea/TextArea.d.ts +6 -0
  237. package/dist/lib/components/TextArea/TextArea.types.d.ts +13 -2
  238. package/dist/lib/components/TextArea/TextArea.variants.d.ts +4 -1
  239. package/dist/lib/components/TimePicker/TimePicker.types.d.ts +4 -0
  240. package/dist/lib/components/TimePicker/components/WrapperList/WrapperList.types.d.ts +1 -0
  241. package/dist/lib/utils/index.d.ts +1 -0
  242. package/dist/{libphonenumber-hGupNnJu.js → libphonenumber-BMq3Thej.js} +356 -347
  243. package/dist/package.json +27 -27
  244. package/dist/{phone-number.provider-BxQCTxp8.js → phone-number.provider-Dkq_p1Gi.js} +2 -2
  245. package/dist/{prop-types-CfEYxTbR.js → prop-types-BCUW56rg.js} +1 -1
  246. package/dist/{react-CvUtBTMg.js → react-7zQ6bvbE.js} +837 -828
  247. package/dist/{rolldown-runtime-Ck3dxwZt.js → rolldown-runtime-Dw9YIBcH.js} +1 -1
  248. package/dist/styles.css +1 -1
  249. package/dist/{table.provider-B0BafHuU.js → table.provider-CWzODR1t.js} +96 -96
  250. package/dist/{theme.provider-Dw4O3ocC.js → theme.provider-CSL1WCYG.js} +1 -1
  251. package/dist/{useBreadcrumb-DYfZL_2p.js → useBreadcrumb-Ds_9BeFz.js} +7 -6
  252. package/dist/utils/index.js +6 -5
  253. package/dist/{utils-Cx-WzRZF.js → utils-B-6R7kNE.js} +8 -4
  254. package/dist/{utils-B-BTGYA5.js → utils-DVYdP0CJ.js} +2 -3
  255. package/dist/{x-BI9jmc7e.js → x-Ierxf0uI.js} +2 -2
  256. package/package.json +27 -27
  257. package/dist/Input-Cf44DzfE.js +0 -188
  258. package/dist/Switch-aPhL5rNG.js +0 -196
  259. package/dist/Wrapper-R8fik3ah.js +0 -182
  260. package/dist/es2015-DigR3dar.js +0 -795
  261. /package/dist/{dist-DGOjiAnB2.js → dist-DGOjiAnB.js} +0 -0
  262. /package/dist/{dist-pWlMx4Fi2.js → dist-pWlMx4Fi.js} +0 -0
  263. /package/dist/{x-a_LpoXzG2.js → x-a_LpoXzG.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { t as s } from "../../utils-Cx-WzRZF.js";
2
- import { r as e } from "../../dist-BlPTJNIm.js";
1
+ import { t as s } from "../../utils-B-6R7kNE.js";
2
+ import { r as e } from "../../dist-pxvIAJzo.js";
3
3
  import { rootVariants as p } from "./Tabs.variants.js";
4
4
  import { Content as n } from "./components/Content.js";
5
5
  import { List as f } from "./components/List.js";
@@ -1,5 +1,5 @@
1
- import { t as r } from "../../../utils-Cx-WzRZF.js";
2
- import { t as n } from "../../../dist-BlPTJNIm.js";
1
+ import { t as r } from "../../../utils-B-6R7kNE.js";
2
+ import { t as n } from "../../../dist-pxvIAJzo.js";
3
3
  import { contentVariants as m } from "../Tabs.variants.js";
4
4
  import { jsx as s } from "react/jsx-runtime";
5
5
  var e = ({ children: t, className: o, ...a }) => /* @__PURE__ */ s(n, {
@@ -1,5 +1,5 @@
1
- import { t as a } from "../../../utils-Cx-WzRZF.js";
2
- import { n } from "../../../dist-BlPTJNIm.js";
1
+ import { t as a } from "../../../utils-B-6R7kNE.js";
2
+ import { n } from "../../../dist-pxvIAJzo.js";
3
3
  import { listVariants as t } from "../Tabs.variants.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  var e = ({ children: s, className: i, orientation: m, ...o }) => /* @__PURE__ */ r("div", {
@@ -1,6 +1,6 @@
1
- import { t as e } from "../../../utils-Cx-WzRZF.js";
1
+ import { t as e } from "../../../utils-B-6R7kNE.js";
2
2
  import { Typography as m } from "../../Typography/Typography.js";
3
- import { i as n } from "../../../dist-BlPTJNIm.js";
3
+ import { i as n } from "../../../dist-pxvIAJzo.js";
4
4
  import { triggerVariants as p } from "../Tabs.variants.js";
5
5
  import { jsx as r } from "react/jsx-runtime";
6
6
  var s = ({ tab: a, label: i, isActive: o, className: t }) => /* @__PURE__ */ r(n, {
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "../../dist-xCbHbMLA.js";
2
- import { t as n } from "../../utils-Cx-WzRZF.js";
3
- import { tagVariants as o } from "./Tag.variants.js";
4
- import { jsx as a, jsxs as c } from "react/jsx-runtime";
5
- var u = ({ label: i, color: s, rightIcon: t, leftIcon: r, className: l, "data-value": m }) => /* @__PURE__ */ c("div", {
6
- className: n(o({
2
+ import { t as o } from "../../utils-B-6R7kNE.js";
3
+ import { tagVariants as c } from "./Tag.variants.js";
4
+ import { jsx as a, jsxs as d } from "react/jsx-runtime";
5
+ var v = ({ label: i, color: s, component: l = "div", rightIcon: t, leftIcon: r, className: m, "data-value": n }) => /* @__PURE__ */ d(l, {
6
+ className: o(c({
7
7
  color: s,
8
- className: l
8
+ className: m
9
9
  })),
10
- "data-value": m,
10
+ "data-value": n,
11
11
  children: [
12
12
  r ? /* @__PURE__ */ a(e, {
13
13
  className: "text-inherit",
@@ -24,5 +24,5 @@ var u = ({ label: i, color: s, rightIcon: t, leftIcon: r, className: l, "data-va
24
24
  ]
25
25
  });
26
26
  export {
27
- u as Tag
27
+ v as Tag
28
28
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as m } from "../../Wrapper-CVJSuYWx.js";
2
+ import { t as m } from "../../Wrapper-CyHxGs4E.js";
3
3
  import { TagSelectProvider as p } from "./contexts/TagSelect.provider.js";
4
4
  import { forwardRef as a } from "react";
5
5
  import { jsx as r } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as o } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as o } from "../../../../utils-B-6R7kNE.js";
2
2
  import { Tag as a } from "../../../Tag/Tag.js";
3
3
  import { useTagSelect as i } from "../../contexts/TagSelect.hook.js";
4
4
  import { wrapperVariants as c } from "./Item.variants.js";
@@ -1,4 +1,4 @@
1
- import { t as a } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as a } from "../../../../utils-B-6R7kNE.js";
2
2
  import { useTagSelect as m } from "../../contexts/TagSelect.hook.js";
3
3
  import { Item as s } from "../Item/Item.js";
4
4
  import { wrapperVariants as i } from "./List.variants.js";
@@ -1,4 +1,4 @@
1
- import { t as p } from "../../../../Wrapper-CVJSuYWx.js";
1
+ import { t as p } from "../../../../Wrapper-CyHxGs4E.js";
2
2
  export {
3
3
  p as Wrapper
4
4
  };
@@ -1,4 +1,4 @@
1
- import { t as m } from "../../../Wrapper-CVJSuYWx.js";
1
+ import { t as m } from "../../../Wrapper-CyHxGs4E.js";
2
2
  import { Item as t } from "./Item/Item.js";
3
3
  import { List as i } from "./List/List.js";
4
4
  export {
@@ -1,15 +1,15 @@
1
- import { useClickOutside as o } from "../../../hooks/useClickOutside.js";
2
- import { useTagSelect as s } from "../contexts/TagSelect.hook.js";
3
- import { useCallback as l, useEffect as c, useRef as u } from "react";
4
- var m = () => {
5
- const n = u(null), { onOpen: e } = s();
6
- return o(n, l(() => {
1
+ import { useClickOutside as s } from "../../../hooks/useClickOutside.js";
2
+ import { useTagSelect as l } from "../contexts/TagSelect.hook.js";
3
+ import { useCallback as c, useEffect as u, useRef as d } from "react";
4
+ var g = () => {
5
+ const n = d(null), { onOpen: e } = l(), a = c(() => {
7
6
  e(!1);
8
- }, [e])), c(() => {
9
- const t = new AbortController(), r = (a) => {
10
- a.key === "Escape" && e(!1);
7
+ }, [e]);
8
+ return s(n, a), u(() => {
9
+ const t = new AbortController(), o = (r) => {
10
+ r.key === "Escape" && e(!1);
11
11
  };
12
- return document.addEventListener("keydown", r, { signal: t.signal }), () => {
12
+ return document.addEventListener("keydown", o, { signal: t.signal }), () => {
13
13
  t.abort();
14
14
  };
15
15
  }, [e]), {
@@ -20,5 +20,5 @@ var m = () => {
20
20
  };
21
21
  };
22
22
  export {
23
- m as useTagSelect
23
+ g as useTagSelect
24
24
  };
@@ -1,30 +1,75 @@
1
- import { t as m } from "../../utils-Cx-WzRZF.js";
2
- import { textAreaVariants as h } from "./TextArea.variants.js";
3
- import { forwardRef as u, useId as p } from "react";
4
- import { jsx as e, jsxs as v } from "react/jsx-runtime";
5
- var g = u(({ initialValue: s, label: r, labelWrapperClassName: o, name: i, placeholder: c, rows: d = 3, theme: n, className: f, ...a }, x) => {
6
- const t = p(), l = i ? `${t}-name` : t;
7
- return /* @__PURE__ */ v("div", {
8
- className: "flex flex-col gap-2",
9
- "data-theme": n,
10
- children: [r ? /* @__PURE__ */ e("div", {
11
- className: m(o),
12
- children: /* @__PURE__ */ e("label", {
13
- htmlFor: l,
14
- className: "cursor-pointer",
15
- children: r
16
- })
17
- }) : null, /* @__PURE__ */ e("textarea", {
18
- id: l,
19
- ref: x,
20
- className: m(h({ className: f })),
21
- rows: d,
22
- placeholder: c,
23
- value: s ?? a.value,
24
- ...a
25
- })]
1
+ import { n as E, t } from "../../utils-B-6R7kNE.js";
2
+ import { WarningIcon as F } from "../../assets/icons/components/Warning.js";
3
+ import { Typography as n } from "../Typography/Typography.js";
4
+ import { textAreaVariants as H } from "./TextArea.variants.js";
5
+ import { forwardRef as L, useId as W } from "react";
6
+ import { jsx as r, jsxs as o } from "react/jsx-runtime";
7
+ var M = L(({ className: f, defaultValue: h, error: s, helperText: l, helperTextClassName: u, id: v, initialValue: g, isExpandable: N = !1, isRequired: d = !1, label: i, labelClassName: b, labelWrapperClassName: y, name: I, placeholder: k, rows: w = 3, theme: j, value: c, variant: T, ...A }, V) => {
8
+ const $ = W(), a = v ?? $, m = `${a}-error`, x = `${a}-helper-text`, B = c !== void 0, e = typeof s == "string" && s.length > 0, p = !e && !!l, C = E(e && m, p && x);
9
+ return /* @__PURE__ */ o("div", {
10
+ className: "flex flex-col gap-2 w-full relative",
11
+ "data-theme": j,
12
+ children: [
13
+ i ? /* @__PURE__ */ r("div", {
14
+ className: t("flex items-center justify-between", y),
15
+ children: /* @__PURE__ */ o(n, {
16
+ component: "label",
17
+ variant: "labelLarge",
18
+ htmlFor: a,
19
+ className: t("cursor-pointer", "flex", "gap-1", "text-sm", "font-medium", b),
20
+ children: [
21
+ i,
22
+ " ",
23
+ d && /* @__PURE__ */ r(n, {
24
+ component: "span",
25
+ "aria-hidden": "true",
26
+ className: t("text-red-600", "dark:text-red-500", "text-xs", "mt-0.5"),
27
+ children: "*"
28
+ })
29
+ ]
30
+ })
31
+ }) : null,
32
+ /* @__PURE__ */ o("div", {
33
+ className: "relative",
34
+ children: [/* @__PURE__ */ r("textarea", {
35
+ ...A,
36
+ id: a,
37
+ ref: V,
38
+ name: I,
39
+ "data-error": e,
40
+ "aria-invalid": e || void 0,
41
+ "aria-describedby": C,
42
+ "aria-required": d || void 0,
43
+ className: t(H({
44
+ className: f,
45
+ isExpandable: N,
46
+ variant: e ? "error" : T ?? "default"
47
+ })),
48
+ rows: w,
49
+ placeholder: k,
50
+ value: c,
51
+ defaultValue: B ? void 0 : h ?? g
52
+ }), e ? /* @__PURE__ */ r("i", {
53
+ className: t("absolute", "right-3", "top-2.5", "text-red-700", "dark:text-red-500"),
54
+ children: /* @__PURE__ */ r(F, { className: "w-5 h-5" })
55
+ }) : null]
56
+ }),
57
+ e ? /* @__PURE__ */ r(n, {
58
+ component: "span",
59
+ id: m,
60
+ className: t("text-xs", "tracking-normal", "text-red-700", "dark:text-red-400"),
61
+ children: s
62
+ }) : null,
63
+ p ? /* @__PURE__ */ r(n, {
64
+ component: "span",
65
+ id: x,
66
+ variant: "body1",
67
+ className: t("text-xs", "text-slate-600", "dark:text-slate-200", "select-none", "tracking-normal", u),
68
+ children: l
69
+ }) : null
70
+ ]
26
71
  });
27
72
  });
28
73
  export {
29
- g as TextArea
74
+ M as TextArea
30
75
  };
@@ -1,20 +1,56 @@
1
- import { t as r } from "../../dist-B9GE4SXf.js";
2
- var i = r([
1
+ import { t as e } from "../../dist-B9GE4SXf.js";
2
+ var r = e([
3
+ "bg-white",
3
4
  "border",
4
- "border-gray-200",
5
+ "border-gray-300",
6
+ "caret-text-slate-800",
5
7
  "disabled:cursor-not-allowed",
6
- "disabled:opacity-50",
8
+ "disabled:text-slate-500",
9
+ "flex",
10
+ "focus-visible:border-transparent",
7
11
  "focus-visible:outline-none",
8
12
  "focus-visible:ring-1",
9
- "focus-visible:ring-ring",
10
- "p-2",
11
- "placeholder:text-gray-300",
12
- "resize-none",
13
- "rounded-md",
14
- "shadow-xs",
13
+ "px-2.5",
14
+ "py-2",
15
+ "rounded",
16
+ "text-slate-800",
17
+ "text-sm",
18
+ "transition-all",
15
19
  "w-full",
16
- "focus:ring-kubefirst-primary"
17
- ]);
20
+ "disabled:bg-gray-50",
21
+ "placeholder:text-slate-400",
22
+ "data-[error=false]:dark:focus:ring-aurora-500",
23
+ "data-[error=false]:focus:ring-aurora-500",
24
+ "dark:bg-metal-800",
25
+ "dark:border-metal-700",
26
+ "dark:caret-text-metal-50",
27
+ "dark:disabled:bg-metal-900",
28
+ "dark:disabled:placeholder:text-metal-400",
29
+ "dark:disabled:text-metal-400",
30
+ "dark:placeholder:text-metal-300",
31
+ "dark:text-slate-50"
32
+ ], {
33
+ variants: {
34
+ variant: {
35
+ default: "",
36
+ error: [
37
+ "pr-8",
38
+ "border-red-600",
39
+ "focus-visible:border-red-600",
40
+ "focus-visible:ring-transparent",
41
+ "dark:border-red-500"
42
+ ]
43
+ },
44
+ isExpandable: {
45
+ true: "resize-y",
46
+ false: "resize-none"
47
+ }
48
+ },
49
+ defaultVariants: {
50
+ variant: "default",
51
+ isExpandable: !1
52
+ }
53
+ });
18
54
  export {
19
- i as textAreaVariants
55
+ r as textAreaVariants
20
56
  };
@@ -1,4 +1,4 @@
1
- import { t as s } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as s } from "../../../../utils-B-6R7kNE.js";
2
2
  import { useTimePickerContext as S } from "../../contexts/time-picker.hook.js";
3
3
  import { buttonVariants as d, liVariants as k, ulVariants as H } from "../../TimePicker.variants.js";
4
4
  import { useEffect as A, useRef as D } from "react";
@@ -1,4 +1,4 @@
1
- import { t } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t } from "../../../../utils-B-6R7kNE.js";
2
2
  import { useTimePickerContext as w } from "../../contexts/time-picker.hook.js";
3
3
  import { buttonVariants as d, liVariants as p } from "../../TimePicker.variants.js";
4
4
  import { useRef as N } from "react";
@@ -1,4 +1,4 @@
1
- import { t as l } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as l } from "../../../../utils-B-6R7kNE.js";
2
2
  import { useTimePickerContext as h } from "../../contexts/time-picker.hook.js";
3
3
  import { buttonVariants as k, liVariants as d, ulVariants as M } from "../../TimePicker.variants.js";
4
4
  import { useEffect as p, useRef as m } from "react";
@@ -1,138 +1,153 @@
1
- import { t as y } from "../../../../utils-Cx-WzRZF.js";
2
- import { useClickOutside as Q } from "../../../../hooks/useClickOutside.js";
3
- import { t as X } from "../../../../chevron-down-DNP-OOAQ.js";
4
- import { Typography as w } from "../../../Typography/Typography.js";
5
- import { parseTimeString as P } from "../../utils/index.js";
6
- import { useTimePickerContext as Y } from "../../contexts/time-picker.hook.js";
7
- import { timePickerVariants as Z } from "../../TimePicker.variants.js";
8
- import { WrapperList as _ } from "../WrapperList/WrapperList.js";
9
- import { useCallback as ee, useEffect as S, useId as te, useRef as C, useState as I } from "react";
10
- import { jsx as s, jsxs as p } from "react/jsx-runtime";
11
- var ue = ({ name: A, label: N, isRequired: D, scrollBehavior: O, className: R, listClassName: V, listItemClassName: F, listItemButtonClassName: W, disabled: l, mode: T = "select", showList: $ = !0, error: j, placeholder: B }) => {
12
- const H = te(), [u, a] = I(!1), m = C(!1), b = C(null), M = C(null), { format: f, formattedTime: i, setTimeDirectly: E, setIsTyping: v } = Y(), g = A ?? `time-${H}`, [k, h] = I(i), [L, n] = I(), x = j || L;
13
- S(() => {
14
- m.current || (h(i), n(void 0));
15
- }, [i]);
16
- const K = () => {
17
- l || a((t) => !t);
18
- }, U = () => {
19
- !l && $ && a(!0), n(void 0);
20
- }, q = (t) => {
21
- t.target !== M.current && (m.current = !1, v(!1));
22
- }, z = (t) => {
23
- if (b.current?.contains(t.relatedTarget)) return;
24
- m.current = !1, v(!1), a(!1);
25
- const r = t.currentTarget.value.trim();
26
- if (r === "") {
27
- n(void 0);
1
+ import { t as T } from "../../../../utils-B-6R7kNE.js";
2
+ import { useClickOutside as te } from "../../../../hooks/useClickOutside.js";
3
+ import { t as re } from "../../../../chevron-down-DNP-OOAQ.js";
4
+ import { Typography as M } from "../../../Typography/Typography.js";
5
+ import { parseTimeString as V } from "../../utils/index.js";
6
+ import { useTimePickerContext as ae } from "../../contexts/time-picker.hook.js";
7
+ import { timePickerVariants as oe } from "../../TimePicker.variants.js";
8
+ import { WrapperList as ne } from "../WrapperList/WrapperList.js";
9
+ import { useCallback as ie, useEffect as F, useId as le, useRef as E, useState as P } from "react";
10
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
11
+ var xe = ({ ariaLabel: g, id: W, name: j, label: v, isRequired: y, scrollBehavior: B, className: H, listClassName: R, listItemClassName: K, listItemButtonClassName: U, disabled: c, mode: S = "select", showList: k = !0, error: q, placeholder: z }) => {
12
+ const G = le(), [o, n] = P(!1), h = E(!1), I = E(null), A = E(null), { format: x, formattedTime: p, setTimeDirectly: D, setIsTyping: w } = ae(), i = W ?? `time-${G}`, $ = `${i}-label`, O = `${i}-listbox`, C = `${i}-error`, [N, b] = P(p), [J, l] = P(), r = q || J;
13
+ F(() => {
14
+ h.current || (b(p), l(void 0));
15
+ }, [p]);
16
+ const Q = () => {
17
+ c || n((t) => !t);
18
+ }, X = () => {
19
+ !c && k && n(!0), l(void 0);
20
+ }, Y = (t) => {
21
+ t.target !== A.current && (h.current = !1, w(!1));
22
+ }, Z = (t) => {
23
+ if (I.current?.contains(t.relatedTarget)) return;
24
+ h.current = !1, w(!1), n(!1);
25
+ const a = t.currentTarget.value.trim();
26
+ if (a === "") {
27
+ l(void 0);
28
28
  return;
29
29
  }
30
- const e = P(r, f);
30
+ const e = V(a, x);
31
31
  if (e) {
32
- n(void 0), E(e);
33
- const o = e.getHours(), d = e.getMinutes().toString().padStart(2, "0");
34
- if (f === "24") h(`${o.toString().padStart(2, "0")}:${d}`);
32
+ l(void 0), D(e);
33
+ const s = e.getHours(), u = e.getMinutes().toString().padStart(2, "0");
34
+ if (x === "24") b(`${s.toString().padStart(2, "0")}:${u}`);
35
35
  else {
36
- const c = o % 12 || 12;
37
- h(`${c}:${d} ${o >= 12 ? "PM" : "AM"}`);
36
+ const m = s % 12 || 12;
37
+ b(`${m}:${u} ${s >= 12 ? "PM" : "AM"}`);
38
38
  }
39
- } else n("Invalid time");
40
- }, G = (t) => {
41
- const r = t.target.value;
39
+ } else l("Invalid time");
40
+ }, _ = (t) => {
41
+ const a = t.target.value;
42
42
  let e = "";
43
- m.current = !0, v(!0);
44
- const o = r.length < k.length;
45
- if (f === "12") {
46
- const c = r.replace(/[^0-9:apmAPM\s]/g, "").replace(/[apm]/gi, (J) => J.toUpperCase());
47
- c.match(/^(\d{0,2}):?(\d{0,2})\s?(A|AM|P|PM)?$/i) || c === "" ? (e = c.slice(0, 8), !o && /^\d{2}$/.test(e) && (e = e + ":")) : e = k;
43
+ h.current = !0, w(!0);
44
+ const s = a.length < N.length;
45
+ if (x === "12") {
46
+ const m = a.replace(/[^0-9:apmAPM\s]/g, "").replace(/[apm]/gi, (ee) => ee.toUpperCase());
47
+ m.match(/^(\d{0,2}):?(\d{0,2})\s?(A|AM|P|PM)?$/i) || m === "" ? (e = m.slice(0, 8), !s && /^\d{2}$/.test(e) && (e = e + ":")) : e = N;
48
48
  } else
49
- e = r.replace(/[^0-9:]/g, "").replace(/:+/g, ":").slice(0, 5), !o && /^\d{2}$/.test(e) && (e = e + ":");
50
- h(e), n(void 0);
51
- const d = P(e, f);
52
- d && E(d);
53
- };
54
- return Q(b, ee(() => {
55
- a(!1);
56
- }, [])), S(() => {
57
- const t = new AbortController(), r = (e) => {
58
- e.key === "Escape" && a(!1);
49
+ e = a.replace(/[^0-9:]/g, "").replace(/:+/g, ":").slice(0, 5), !s && /^\d{2}$/.test(e) && (e = e + ":");
50
+ b(e), l(void 0);
51
+ const u = V(e, x);
52
+ u && D(u);
53
+ }, L = ie(() => {
54
+ n(!1);
55
+ }, []);
56
+ return te(I, L), F(() => {
57
+ const t = new AbortController(), a = (e) => {
58
+ e.key === "Escape" && n(!1);
59
59
  };
60
- return document.addEventListener("keydown", r, { signal: t.signal }), () => {
60
+ return document.addEventListener("keydown", a, { signal: t.signal }), () => {
61
61
  t.abort();
62
62
  };
63
- }, []), /* @__PURE__ */ p("div", {
64
- ref: b,
65
- onMouseDown: T === "input" ? q : void 0,
66
- className: y("w-full", "text-slate-800", "text-sm", "flex", "flex-col", "gap-2"),
63
+ }, []), /* @__PURE__ */ f("div", {
64
+ ref: I,
65
+ onMouseDown: S === "input" ? Y : void 0,
66
+ className: T("w-full", "text-slate-800", "text-sm", "flex", "flex-col", "gap-2"),
67
67
  children: [
68
- N ? /* @__PURE__ */ p(w, {
68
+ v ? /* @__PURE__ */ f(M, {
69
69
  component: "label",
70
70
  variant: "labelLarge",
71
- htmlFor: g,
71
+ id: $,
72
+ htmlFor: i,
72
73
  className: "font-medium",
73
74
  children: [
74
- N,
75
+ v,
75
76
  " ",
76
- D && /* @__PURE__ */ s(w, {
77
+ y && /* @__PURE__ */ d(M, {
77
78
  component: "span",
79
+ "aria-hidden": "true",
78
80
  className: "text-red-600 dark:text-red-500 text-sm font-normal",
79
81
  children: "*"
80
82
  })
81
83
  ]
82
84
  }) : null,
83
- /* @__PURE__ */ p("div", {
85
+ /* @__PURE__ */ f("div", {
84
86
  className: "relative",
85
- children: [T === "select" ? /* @__PURE__ */ p("button", {
86
- "aria-label": g,
87
- "aria-haspopup": "listbox",
88
- "aria-expanded": "true",
89
- "aria-controls": "time-options",
90
- className: y(Z({ className: R }), l && "opacity-50 cursor-not-allowed"),
91
- "data-open": u,
92
- onClick: K,
93
- disabled: l,
94
- children: [i, /* @__PURE__ */ s(X, {
95
- className: "w-4 h-4 transition-all text-gray-400 data-[open=true]:rotate-180",
96
- "data-open": u
97
- })]
98
- }) : /* @__PURE__ */ p("div", {
87
+ children: [/* @__PURE__ */ f("div", {
99
88
  className: "flex flex-col gap-1",
100
- children: [/* @__PURE__ */ s("input", {
101
- ref: M,
89
+ children: [S === "select" ? /* @__PURE__ */ f("button", {
90
+ type: "button",
91
+ id: i,
92
+ "aria-label": g,
93
+ "aria-labelledby": !g && v ? $ : void 0,
94
+ "aria-haspopup": "listbox",
95
+ "aria-expanded": o,
96
+ "aria-controls": o && k ? O : void 0,
97
+ "aria-invalid": !!r || void 0,
98
+ "aria-describedby": r ? C : void 0,
99
+ "aria-required": y || void 0,
100
+ className: T(oe({ className: H }), c && "opacity-50 cursor-not-allowed"),
101
+ "data-open": o,
102
+ onClick: Q,
103
+ disabled: c,
104
+ children: [p, /* @__PURE__ */ d(re, {
105
+ className: "w-4 h-4 transition-all text-gray-400 data-[open=true]:rotate-180",
106
+ "data-open": o
107
+ })]
108
+ }) : /* @__PURE__ */ d("input", {
109
+ ref: A,
102
110
  type: "text",
111
+ id: i,
103
112
  "aria-label": g,
104
- value: k,
105
- onChange: G,
106
- onFocus: U,
107
- onBlur: z,
108
- disabled: l,
109
- "data-error": !!x,
110
- "data-open": u,
111
- placeholder: B,
112
- className: y("w-full", "h-10", "px-2.5", "text-sm", "rounded", "border", "border-gray-300", "bg-white", "text-slate-800", "transition-all", "placeholder:text-slate-400", "focus-visible:outline-none", "data-[open=true]:ring-1", "data-[open=true]:ring-aurora-500", "dark:bg-metal-800", "dark:border-metal-700", "dark:text-white", "dark:placeholder:text-metal-300", "dark:data-[open=true]:ring-aurora-500", "disabled:cursor-not-allowed", "disabled:bg-gray-50", "disabled:text-slate-500", "dark:disabled:bg-metal-900", "dark:disabled:text-metal-400", { "border-red-600 data-[open=true]:border-red-600 data-[open=true]:ring-transparent dark:border-red-500": x })
113
- }), x && /* @__PURE__ */ s(w, {
113
+ "aria-labelledby": !g && v ? $ : void 0,
114
+ "aria-invalid": !!r || void 0,
115
+ "aria-describedby": r ? C : void 0,
116
+ "aria-required": y || void 0,
117
+ value: N,
118
+ onChange: _,
119
+ onFocus: X,
120
+ onBlur: Z,
121
+ disabled: c,
122
+ "data-error": !!r,
123
+ "data-open": o,
124
+ placeholder: z,
125
+ className: T("w-full", "h-10", "px-2.5", "text-sm", "rounded", "border", "border-gray-300", "bg-white", "text-slate-800", "transition-all", "placeholder:text-slate-400", "focus-visible:outline-none", "data-[open=true]:ring-1", "data-[open=true]:ring-aurora-500", "dark:bg-metal-800", "dark:border-metal-700", "dark:text-white", "dark:placeholder:text-metal-300", "dark:data-[open=true]:ring-aurora-500", "disabled:cursor-not-allowed", "disabled:bg-gray-50", "disabled:text-slate-500", "dark:disabled:bg-metal-900", "dark:disabled:text-metal-400", { "border-red-600 data-[open=true]:border-red-600 data-[open=true]:ring-transparent dark:border-red-500": r })
126
+ }), r && /* @__PURE__ */ d(M, {
114
127
  component: "span",
128
+ id: C,
115
129
  className: "text-red-600 dark:text-red-500 text-xs",
116
- children: x
130
+ children: r
117
131
  })]
118
- }), $ && /* @__PURE__ */ s(_, {
119
- isOpen: u,
120
- scrollBehavior: O,
121
- listClassName: V,
122
- listItemClassName: F,
123
- listItemButtonClassName: W,
124
- onClose: () => a(!1)
132
+ }), k && /* @__PURE__ */ d(ne, {
133
+ id: O,
134
+ isOpen: o,
135
+ scrollBehavior: B,
136
+ listClassName: R,
137
+ listItemClassName: K,
138
+ listItemButtonClassName: U,
139
+ onClose: () => n(!1)
125
140
  })]
126
141
  }),
127
- /* @__PURE__ */ s("input", {
142
+ /* @__PURE__ */ d("input", {
128
143
  type: "hidden",
129
- name: g,
130
- value: i,
144
+ name: j,
145
+ value: p,
131
146
  className: "hidden"
132
147
  })
133
148
  ]
134
149
  });
135
150
  };
136
151
  export {
137
- ue as Wrapper
152
+ xe as Wrapper
138
153
  };