@povio/ui 3.4.0-rc.10 → 3.4.0-rc.11

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 (316) hide show
  1. package/dist/assets/icons/Account.d.ts +2 -0
  2. package/dist/assets/icons/AlignCenter.d.ts +2 -0
  3. package/dist/assets/icons/AlignCenter.js +30 -0
  4. package/dist/assets/icons/AlignLeft.d.ts +2 -0
  5. package/dist/assets/icons/AlignLeft.js +30 -0
  6. package/dist/assets/icons/AlignLeftRight.d.ts +2 -0
  7. package/dist/assets/icons/AlignLeftRight.js +30 -0
  8. package/dist/assets/icons/AlignRight.d.ts +2 -0
  9. package/dist/assets/icons/AlignRight.js +30 -0
  10. package/dist/assets/icons/ArrowDropDown.d.ts +2 -0
  11. package/dist/assets/icons/ArrowDropDown.js +30 -0
  12. package/dist/assets/icons/ArrowDropUp.d.ts +2 -0
  13. package/dist/assets/icons/ArrowDropUp.js +30 -0
  14. package/dist/assets/icons/ArrowLeft.d.ts +2 -0
  15. package/dist/assets/icons/ArrowLeft.js +30 -0
  16. package/dist/assets/icons/ArrowRight.d.ts +2 -0
  17. package/dist/assets/icons/ArrowRight.js +30 -0
  18. package/dist/assets/icons/Board.d.ts +2 -0
  19. package/dist/assets/icons/Bold.d.ts +2 -0
  20. package/dist/assets/icons/Bold.js +30 -0
  21. package/dist/assets/icons/BulletedList.d.ts +2 -0
  22. package/dist/assets/icons/BulletedList.js +30 -0
  23. package/dist/assets/icons/Calendar.d.ts +2 -0
  24. package/dist/assets/icons/Calendar.js +32 -0
  25. package/dist/assets/icons/Check.d.ts +2 -0
  26. package/dist/assets/icons/Check.js +32 -0
  27. package/dist/assets/icons/CheckCircle.d.ts +2 -0
  28. package/dist/assets/icons/CheckCircle.js +30 -0
  29. package/dist/assets/icons/CheckboxCheckmark.d.ts +2 -0
  30. package/dist/assets/icons/CheckboxCheckmark.js +33 -0
  31. package/dist/assets/icons/CheckboxIndeterminate.d.ts +2 -0
  32. package/dist/assets/icons/CheckboxIndeterminate.js +33 -0
  33. package/dist/assets/icons/ChevronDown.d.ts +2 -0
  34. package/dist/assets/icons/ChevronDown.js +32 -0
  35. package/dist/assets/icons/ChevronLeft.d.ts +2 -0
  36. package/dist/assets/icons/ChevronLeft.js +32 -0
  37. package/dist/assets/icons/ChevronRight.d.ts +2 -0
  38. package/dist/assets/icons/ChevronRight.js +32 -0
  39. package/dist/assets/icons/ChevronUp.d.ts +2 -0
  40. package/dist/assets/icons/ChevronUp.js +32 -0
  41. package/dist/assets/icons/ChevronsLeft.d.ts +2 -0
  42. package/dist/assets/icons/ChevronsLeft.js +32 -0
  43. package/dist/assets/icons/ChevronsRight.d.ts +2 -0
  44. package/dist/assets/icons/ChevronsRight.js +32 -0
  45. package/dist/assets/icons/Clock.d.ts +2 -0
  46. package/dist/assets/icons/Clock.js +30 -0
  47. package/dist/assets/icons/Close.d.ts +2 -0
  48. package/dist/assets/icons/Close.js +30 -0
  49. package/dist/assets/icons/DateTime.d.ts +2 -0
  50. package/dist/assets/icons/DateTime.js +39 -0
  51. package/dist/assets/icons/DragIndicator.d.ts +2 -0
  52. package/dist/assets/icons/DragIndicator.js +30 -0
  53. package/dist/assets/icons/Edit.d.ts +2 -0
  54. package/dist/assets/icons/Emoji.d.ts +2 -0
  55. package/dist/assets/icons/File.d.ts +2 -0
  56. package/dist/assets/icons/File.js +32 -0
  57. package/dist/assets/icons/Grid.d.ts +2 -0
  58. package/dist/assets/icons/Highlight.d.ts +2 -0
  59. package/dist/assets/icons/Highlight.js +30 -0
  60. package/dist/assets/icons/HighlightOn.d.ts +6 -0
  61. package/dist/assets/icons/HighlightOn.js +55 -0
  62. package/dist/assets/icons/Home.d.ts +2 -0
  63. package/dist/assets/icons/Home.js +30 -0
  64. package/dist/assets/icons/Image.d.ts +2 -0
  65. package/dist/assets/icons/ImageError.d.ts +2 -0
  66. package/dist/assets/icons/Info.d.ts +2 -0
  67. package/dist/assets/icons/Info.js +41 -0
  68. package/dist/assets/icons/Italic.d.ts +2 -0
  69. package/dist/assets/icons/Italic.js +30 -0
  70. package/dist/assets/icons/Link.d.ts +2 -0
  71. package/dist/assets/icons/Link.js +30 -0
  72. package/dist/assets/icons/Loader.d.ts +2 -0
  73. package/dist/assets/icons/MapPin.d.ts +2 -0
  74. package/dist/assets/icons/Menu.d.ts +2 -0
  75. package/dist/assets/icons/Menu.js +30 -0
  76. package/dist/assets/icons/Minus.d.ts +2 -0
  77. package/dist/assets/icons/MoreHoriz.d.ts +2 -0
  78. package/dist/assets/icons/NumberedList.d.ts +2 -0
  79. package/dist/assets/icons/NumberedList.js +30 -0
  80. package/dist/assets/icons/Pause.d.ts +2 -0
  81. package/dist/assets/icons/Plus.d.ts +2 -0
  82. package/dist/assets/icons/PointerHorizontal.d.ts +2 -0
  83. package/dist/assets/icons/PointerHorizontal.js +30 -0
  84. package/dist/assets/icons/PointerVertical.d.ts +2 -0
  85. package/dist/assets/icons/PointerVertical.js +30 -0
  86. package/dist/assets/icons/Retry.d.ts +2 -0
  87. package/dist/assets/icons/Search.d.ts +2 -0
  88. package/dist/assets/icons/Search.js +30 -0
  89. package/dist/assets/icons/Send.d.ts +2 -0
  90. package/dist/assets/icons/Send.js +32 -0
  91. package/dist/assets/icons/Share.d.ts +2 -0
  92. package/dist/assets/icons/Slash.d.ts +2 -0
  93. package/dist/assets/icons/Strikethrough.d.ts +2 -0
  94. package/dist/assets/icons/Strikethrough.js +30 -0
  95. package/dist/assets/icons/TextColor.d.ts +6 -0
  96. package/dist/assets/icons/TextColor.js +52 -0
  97. package/dist/assets/icons/Today.d.ts +2 -0
  98. package/dist/assets/icons/Today.js +30 -0
  99. package/dist/assets/icons/Trash.d.ts +2 -0
  100. package/dist/assets/icons/Underlined.d.ts +2 -0
  101. package/dist/assets/icons/Underlined.js +32 -0
  102. package/dist/assets/icons/Upload.d.ts +2 -0
  103. package/dist/assets/icons/Upload.js +39 -0
  104. package/dist/assets/icons/User.d.ts +2 -0
  105. package/dist/assets/icons/Visibility.d.ts +2 -0
  106. package/dist/assets/icons/Visibility.js +30 -0
  107. package/dist/assets/icons/VisibilityOff.d.ts +2 -0
  108. package/dist/assets/icons/VisibilityOff.js +30 -0
  109. package/dist/assets/icons/WarningFilled.d.ts +2 -0
  110. package/dist/assets/icons/WarningFilled.js +32 -0
  111. package/dist/assets/icons/WarningOutlined.d.ts +2 -0
  112. package/dist/components/Breadcrumbs/Breadcrumbs.js +7 -7
  113. package/dist/components/Menu/MenuDesktop.js +1 -1
  114. package/dist/components/Menu/MenuItem.js +4 -4
  115. package/dist/components/Menu/MenuMobile.js +5 -5
  116. package/dist/components/Menu/MenuPopover.js +2 -2
  117. package/dist/components/buttons/Button/Button.js +1 -1
  118. package/dist/components/buttons/PillButton/PillButton.js +4 -4
  119. package/dist/components/buttons/PillButton/pillButton.cva.d.ts +1 -1
  120. package/dist/components/buttons/SplitButton/SplitButton.js +3 -3
  121. package/dist/components/buttons/shared/ButtonContent.js +2 -2
  122. package/dist/components/buttons/shared/buttonContent.cva.d.ts +1 -1
  123. package/dist/components/inputs/Checkbox/Checkbox.d.ts +2 -1
  124. package/dist/components/inputs/Checkbox/Checkbox.js +102 -95
  125. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +3 -2
  126. package/dist/components/inputs/Checkbox/CheckboxGroup.d.ts +2 -1
  127. package/dist/components/inputs/Checkbox/CheckboxGroup.js +115 -111
  128. package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +2 -2
  129. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +22 -17
  130. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +2 -2
  131. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +23 -17
  132. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +2 -2
  133. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +25 -21
  134. package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +2 -2
  135. package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +238 -225
  136. package/dist/components/inputs/DateTime/shared/Calendar.js +1 -1
  137. package/dist/components/inputs/DateTime/shared/CalendarCell.js +1 -1
  138. package/dist/components/inputs/DateTime/shared/CalendarGrid.js +1 -1
  139. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +10 -7
  140. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +12 -8
  141. package/dist/components/inputs/DateTime/shared/DateField.d.ts +1 -2
  142. package/dist/components/inputs/DateTime/shared/DateField.js +4 -4
  143. package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +2 -2
  144. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +16 -8
  145. package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +3 -3
  146. package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +2 -2
  147. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +1 -1
  148. package/dist/components/inputs/DateTime/shared/MonthPicker.js +2 -2
  149. package/dist/components/inputs/DateTime/shared/RangeCalendar.js +2 -2
  150. package/dist/components/inputs/DateTime/shared/TimePickerForm.js +5 -4
  151. package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -2
  152. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +11 -10
  153. package/dist/components/inputs/DateTime/shared/YearPicker.js +2 -2
  154. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +1 -46
  155. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +1 -1
  156. package/dist/components/inputs/File/FileUpload.d.ts +1 -1
  157. package/dist/components/inputs/File/FileUpload.js +20 -20
  158. package/dist/components/inputs/File/InputUpload.d.ts +1 -1
  159. package/dist/components/inputs/File/InputUpload.js +19 -19
  160. package/dist/components/inputs/File/fileUpload.types.d.ts +1 -1
  161. package/dist/components/inputs/File/inputUpload.types.d.ts +1 -1
  162. package/dist/components/inputs/File/shared/FileCard.js +1 -1
  163. package/dist/components/inputs/File/shared/FileCardList.js +1 -1
  164. package/dist/components/inputs/File/shared/FileUploadContent.js +1 -1
  165. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +3 -3
  166. package/dist/components/inputs/File/shared/FileUploadContentError.js +6 -5
  167. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +6 -5
  168. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +5 -4
  169. package/dist/components/inputs/File/shared/InputUploadContent.js +4 -4
  170. package/dist/components/inputs/File/shared/InputUploadFilled.js +3 -3
  171. package/dist/components/inputs/FormField/FormFieldError.js +1 -1
  172. package/dist/components/inputs/FormField/FormFieldHeader.js +4 -4
  173. package/dist/components/inputs/FormField/FormFieldHeaderClose.js +3 -3
  174. package/dist/components/inputs/FormField/FormFieldHelper.js +1 -1
  175. package/dist/components/inputs/FormField/FormFieldLabel.js +2 -2
  176. package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +1 -1
  177. package/dist/components/inputs/Input/NumberInput/NumberInput.js +107 -109
  178. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +1 -2
  179. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +254 -265
  180. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +1 -2
  181. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +24 -25
  182. package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +1 -1
  183. package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +4 -3
  184. package/dist/components/inputs/Input/TextArea/TextArea.d.ts +1 -2
  185. package/dist/components/inputs/Input/TextArea/TextArea.js +117 -118
  186. package/dist/components/inputs/Input/TextInput/TextInput.d.ts +2 -2
  187. package/dist/components/inputs/Input/TextInput/TextInput.js +129 -129
  188. package/dist/components/inputs/Input/shared/InputContent.d.ts +1 -2
  189. package/dist/components/inputs/Input/shared/InputContent.js +48 -50
  190. package/dist/components/inputs/Inputs/Form.d.ts +4 -4
  191. package/dist/components/inputs/Inputs/Form.js +1 -1
  192. package/dist/components/inputs/Inputs/InputItem.d.ts +22 -22
  193. package/dist/components/inputs/Inputs/InputItem.js +37 -36
  194. package/dist/components/inputs/Inputs/Inputs.d.ts +2 -2
  195. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +2 -1
  196. package/dist/components/inputs/RadioGroup/RadioGroup.js +113 -109
  197. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +1 -1
  198. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +16 -16
  199. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +1 -1
  200. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +20 -20
  201. package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +1 -1
  202. package/dist/components/inputs/Selection/Select/QuerySelect.d.ts +1 -1
  203. package/dist/components/inputs/Selection/Select/QuerySelect.js +20 -20
  204. package/dist/components/inputs/Selection/Select/Select.d.ts +1 -1
  205. package/dist/components/inputs/Selection/Select/Select.js +23 -23
  206. package/dist/components/inputs/Selection/shared/SelectBase.d.ts +1 -1
  207. package/dist/components/inputs/Selection/shared/SelectBase.js +37 -34
  208. package/dist/components/inputs/Selection/shared/SelectDesktop.js +56 -58
  209. package/dist/components/inputs/Selection/shared/SelectInput.d.ts +2 -2
  210. package/dist/components/inputs/Selection/shared/SelectInput.js +56 -57
  211. package/dist/components/inputs/Selection/shared/SelectListBox.js +1 -1
  212. package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +2 -2
  213. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +2 -2
  214. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +1 -1
  215. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +1 -1
  216. package/dist/components/inputs/Selection/shared/SelectMobile.js +4 -5
  217. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +3 -3
  218. package/dist/components/inputs/Selection/shared/select.context.d.ts +2 -2
  219. package/dist/components/inputs/Selection/shared/select.context.js +9 -5
  220. package/dist/components/inputs/Selection/shared/select.types.d.ts +1 -1
  221. package/dist/components/inputs/Skeleton/InputFrame.d.ts +0 -1
  222. package/dist/components/inputs/Skeleton/InputFrame.js +7 -10
  223. package/dist/components/inputs/Slider/Slider.d.ts +1 -1
  224. package/dist/components/inputs/Slider/Slider.js +20 -20
  225. package/dist/components/inputs/TextEditor/TextEditor.d.ts +1 -1
  226. package/dist/components/inputs/TextEditor/TextEditor.js +20 -20
  227. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +2 -2
  228. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +4 -4
  229. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +4 -4
  230. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +8 -5
  231. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +3 -3
  232. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +5 -4
  233. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +5 -4
  234. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +9 -6
  235. package/dist/components/inputs/Toggle/Toggle.d.ts +2 -1
  236. package/dist/components/inputs/Toggle/Toggle.js +65 -61
  237. package/dist/components/inputs/shared/CheckContent.js +1 -1
  238. package/dist/components/inputs/shared/InputClear.js +28 -45
  239. package/dist/components/inputs/shared/TooltipWrapper.d.ts +1 -1
  240. package/dist/components/inputs/shared/form.types.d.ts +8 -9
  241. package/dist/components/inputs/shared/input.cva.js +1 -1
  242. package/dist/components/inputs/shared/useStaticInputHandoff.js +38 -64
  243. package/dist/components/navigation/Accordion/Accordion.js +1 -1
  244. package/dist/components/navigation/Accordion/AccordionItem.js +3 -3
  245. package/dist/components/navigation/Stepper/Stepper.js +2 -2
  246. package/dist/components/navigation/Stepper/StepperItem.js +4 -4
  247. package/dist/components/overlays/ActionModal/ActionModal.js +1 -1
  248. package/dist/components/overlays/BottomSheet/BottomSheet.js +3 -3
  249. package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +4 -4
  250. package/dist/components/overlays/Drawer/Drawer.js +2 -2
  251. package/dist/components/overlays/Modal/Modal.js +3 -3
  252. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +1 -1
  253. package/dist/components/overlays/Tooltip/Tooltip.js +8 -15
  254. package/dist/components/overlays/Tooltip/TooltipEllipsis.js +1 -1
  255. package/dist/components/segment/Segment.d.ts +1 -1
  256. package/dist/components/segment/Segment.js +21 -21
  257. package/dist/components/segment/SegmentItem.js +1 -1
  258. package/dist/components/segment/segment.types.d.ts +1 -1
  259. package/dist/components/shared/pagination/Pagination.js +1 -1
  260. package/dist/components/shared/pagination/PaginationList.js +9 -6
  261. package/dist/components/table/ColumnConfig.js +1 -1
  262. package/dist/components/table/InfiniteTable.js +1 -1
  263. package/dist/components/table/Table.js +8 -6
  264. package/dist/components/text/Link/Link.js +1 -1
  265. package/dist/components/text/Pill/Pill.js +3 -3
  266. package/dist/components/text/Tag/Tag.js +3 -3
  267. package/dist/config/confirmation.context.js +1 -1
  268. package/dist/config/link.context.js +1 -1
  269. package/dist/config/router.context.js +1 -1
  270. package/dist/config/theme.context.js +1 -1
  271. package/dist/config/uiConfig.context.d.ts +5 -14
  272. package/dist/config/uiConfig.context.js +11 -9
  273. package/dist/config/uiOverrides.context.js +2 -2
  274. package/dist/helpers/dynamicColumns.d.ts +1 -1
  275. package/dist/helpers/dynamicInputs.d.ts +7 -7
  276. package/dist/hooks/useAutosave.d.ts +4 -4
  277. package/dist/hooks/useAutosave.js +49 -64
  278. package/dist/hooks/useFilters.js +1 -1
  279. package/dist/hooks/useForm.d.ts +15 -39
  280. package/dist/hooks/useForm.js +43 -96
  281. package/dist/hooks/useFormAutosave.d.ts +9 -8
  282. package/dist/hooks/useFormAutosave.js +9 -23
  283. package/dist/hooks/useIntersectionObserver.js +1 -1
  284. package/dist/hooks/useLocalStorage.js +1 -1
  285. package/dist/hooks/usePagination.js +1 -1
  286. package/dist/hooks/useScrollableListBox.js +1 -1
  287. package/dist/hooks/useSorting.js +1 -1
  288. package/dist/hooks/useStateAndRef.js +1 -1
  289. package/dist/hooks/useTableColumnConfig.js +1 -1
  290. package/dist/index.d.ts +263 -1
  291. package/dist/index.js +71 -11
  292. package/package.json +3 -15
  293. package/dist/assets/locales/en/translation.json.d.ts +0 -158
  294. package/dist/assets/locales/sl/translation.json.d.ts +0 -154
  295. package/dist/components/inputs/shared/form.binding.d.ts +0 -27
  296. package/dist/components/inputs/shared/form.binding.js +0 -57
  297. package/dist/components/inputs/shared/form.types.js +0 -8
  298. package/dist/rhf/Inputs.d.ts +0 -60
  299. package/dist/rhf/Inputs.js +0 -148
  300. package/dist/rhf/components.d.ts +0 -80
  301. package/dist/rhf/components.js +0 -101
  302. package/dist/rhf/dynamicInputs.d.ts +0 -18
  303. package/dist/rhf/dynamicInputs.js +0 -5
  304. package/dist/rhf/fieldAdapter.d.ts +0 -7
  305. package/dist/rhf/fieldAdapter.js +0 -40
  306. package/dist/rhf/form.types.d.ts +0 -12
  307. package/dist/rhf/useAutosave.d.ts +0 -10
  308. package/dist/rhf/useAutosave.js +0 -71
  309. package/dist/rhf/useForm.d.ts +0 -18
  310. package/dist/rhf/useForm.js +0 -48
  311. package/dist/rhf/useFormAutosave.d.ts +0 -15
  312. package/dist/rhf/useFormAutosave.js +0 -59
  313. package/dist/rhf.d.ts +0 -225
  314. package/dist/tanstack.d.ts +0 -224
  315. package/dist/tanstack.js +0 -141
  316. /package/dist/{rhf/entrypoints.type-test.d.ts → hooks/useAutosave.spec.d.ts} +0 -0
@@ -1,17 +1,17 @@
1
1
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
2
  import { UIConfig } from "../../../config/uiConfig.context.js";
3
- import { FieldController } from "../shared/form.binding.js";
4
3
  import { FormFieldError } from "../FormField/FormFieldError.js";
5
4
  import { CheckContent } from "../shared/CheckContent.js";
6
5
  import { toggleContentClassName, toggleDefinition, toggleTypography } from "./toggle.cva.js";
7
- import { clsx } from "clsx";
8
- import { Switch } from "react-aria-components";
9
6
  import { c } from "react/compiler-runtime";
10
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
+ import { clsx } from "clsx";
9
+ import { Switch } from "react-aria-components";
11
10
  import { mergeRefs } from "@react-aria/utils";
11
+ import { Controller } from "react-hook-form";
12
12
  //#region src/components/inputs/Toggle/Toggle.tsx
13
13
  var ToggleBase = (props) => {
14
- const $ = c(48);
14
+ const $ = c(50);
15
15
  const ui = UIConfig.useConfig();
16
16
  const toggleCva = UIOverrides.useCva("toggle.cva", toggleDefinition);
17
17
  const toggleTypographyMap = UIOverrides.useMapper("toggle.typography", toggleTypography);
@@ -31,9 +31,10 @@ var ToggleBase = (props) => {
31
31
  let t8;
32
32
  let t9;
33
33
  if ($[0] !== props || $[1] !== toggleContentClassNameMap || $[2] !== toggleCva || $[3] !== toggleTypographyMap || $[4] !== ui) {
34
- const { className, children: t10, isDisabled, error, variant: variantProp, onChange, onBlur, ...rest } = props;
34
+ const { className, children: t10, isDisabled, error, variant: variantProp, fireBlurOnChange: fireBlurOnChangeProp, onChange, onBlur, ...rest } = props;
35
35
  children = t10;
36
36
  const variant = variantProp ?? ui.toggle.variant;
37
+ const fireBlurOnChange = fireBlurOnChangeProp ?? ui.toggle.fireBlurOnChange;
37
38
  let t11;
38
39
  if ($[19] !== error || $[20] !== isDisabled) {
39
40
  t11 = {
@@ -46,13 +47,16 @@ var ToggleBase = (props) => {
46
47
  } else t11 = $[21];
47
48
  formFieldErrorProps = t11;
48
49
  let t12;
49
- if ($[22] !== onChange) {
50
+ if ($[22] !== fireBlurOnChange || $[23] !== onBlur || $[24] !== onChange) {
50
51
  t12 = (isSelected) => {
51
52
  onChange?.(isSelected);
53
+ if (fireBlurOnChange) onBlur?.({});
52
54
  };
53
- $[22] = onChange;
54
- $[23] = t12;
55
- } else t12 = $[23];
55
+ $[22] = fireBlurOnChange;
56
+ $[23] = onBlur;
57
+ $[24] = onChange;
58
+ $[25] = t12;
59
+ } else t12 = $[25];
56
60
  const handleChange = t12;
57
61
  T1 = Switch;
58
62
  t2 = rest;
@@ -62,12 +66,12 @@ var ToggleBase = (props) => {
62
66
  t6 = handleChange;
63
67
  t7 = onBlur;
64
68
  const t13 = !isDisabled && "cursor-pointer";
65
- if ($[24] !== className || $[25] !== t13) {
69
+ if ($[26] !== className || $[27] !== t13) {
66
70
  t8 = clsx("group flex items-center gap-2", t13, className);
67
- $[24] = className;
68
- $[25] = t13;
69
- $[26] = t8;
70
- } else t8 = $[26];
71
+ $[26] = className;
72
+ $[27] = t13;
73
+ $[28] = t8;
74
+ } else t8 = $[28];
71
75
  t9 = /* @__PURE__ */ jsx("div", { className: toggleCva({
72
76
  variant,
73
77
  ...rest
@@ -117,20 +121,20 @@ var ToggleBase = (props) => {
117
121
  t9 = $[18];
118
122
  }
119
123
  let t10;
120
- if ($[27] !== T0 || $[28] !== children || $[29] !== t0 || $[30] !== t1) {
124
+ if ($[29] !== T0 || $[30] !== children || $[31] !== t0 || $[32] !== t1) {
121
125
  t10 = /* @__PURE__ */ jsx(T0, {
122
126
  typography: t0,
123
127
  contentClassName: t1,
124
128
  children
125
129
  });
126
- $[27] = T0;
127
- $[28] = children;
128
- $[29] = t0;
129
- $[30] = t1;
130
- $[31] = t10;
131
- } else t10 = $[31];
130
+ $[29] = T0;
131
+ $[30] = children;
132
+ $[31] = t0;
133
+ $[32] = t1;
134
+ $[33] = t10;
135
+ } else t10 = $[33];
132
136
  let t11;
133
- if ($[32] !== T1 || $[33] !== t10 || $[34] !== t2 || $[35] !== t3 || $[36] !== t4 || $[37] !== t5 || $[38] !== t6 || $[39] !== t7 || $[40] !== t8 || $[41] !== t9) {
137
+ if ($[34] !== T1 || $[35] !== t10 || $[36] !== t2 || $[37] !== t3 || $[38] !== t4 || $[39] !== t5 || $[40] !== t6 || $[41] !== t7 || $[42] !== t8 || $[43] !== t9) {
134
138
  t11 = /* @__PURE__ */ jsxs(T1, {
135
139
  ...t2,
136
140
  "data-is-dirty": t3,
@@ -141,64 +145,64 @@ var ToggleBase = (props) => {
141
145
  className: t8,
142
146
  children: [t9, t10]
143
147
  });
144
- $[32] = T1;
145
- $[33] = t10;
146
- $[34] = t2;
147
- $[35] = t3;
148
- $[36] = t4;
149
- $[37] = t5;
150
- $[38] = t6;
151
- $[39] = t7;
152
- $[40] = t8;
153
- $[41] = t9;
154
- $[42] = t11;
155
- } else t11 = $[42];
148
+ $[34] = T1;
149
+ $[35] = t10;
150
+ $[36] = t2;
151
+ $[37] = t3;
152
+ $[38] = t4;
153
+ $[39] = t5;
154
+ $[40] = t6;
155
+ $[41] = t7;
156
+ $[42] = t8;
157
+ $[43] = t9;
158
+ $[44] = t11;
159
+ } else t11 = $[44];
156
160
  let t12;
157
- if ($[43] !== formFieldErrorProps) {
161
+ if ($[45] !== formFieldErrorProps) {
158
162
  t12 = /* @__PURE__ */ jsx(FormFieldError, { ...formFieldErrorProps });
159
- $[43] = formFieldErrorProps;
160
- $[44] = t12;
161
- } else t12 = $[44];
163
+ $[45] = formFieldErrorProps;
164
+ $[46] = t12;
165
+ } else t12 = $[46];
162
166
  let t13;
163
- if ($[45] !== t11 || $[46] !== t12) {
167
+ if ($[47] !== t11 || $[48] !== t12) {
164
168
  t13 = /* @__PURE__ */ jsxs(Fragment, { children: [t11, t12] });
165
- $[45] = t11;
166
- $[46] = t12;
167
- $[47] = t13;
168
- } else t13 = $[47];
169
+ $[47] = t11;
170
+ $[48] = t12;
171
+ $[49] = t13;
172
+ } else t13 = $[49];
169
173
  return t13;
170
174
  };
171
175
  var Toggle = (props) => {
172
176
  const $ = c(15);
173
- if ("field" in props && props.field) {
174
- let field;
177
+ if ("formControl" in props && props.formControl) {
178
+ let formControl;
175
179
  let innerProps;
176
180
  let ref;
177
181
  if ($[0] !== props) {
178
- ({field, ref, ...innerProps} = props);
182
+ ({formControl, ref, ...innerProps} = props);
179
183
  $[0] = props;
180
- $[1] = field;
184
+ $[1] = formControl;
181
185
  $[2] = innerProps;
182
186
  $[3] = ref;
183
187
  } else {
184
- field = $[1];
188
+ formControl = $[1];
185
189
  innerProps = $[2];
186
190
  ref = $[3];
187
191
  }
188
192
  let t0;
189
193
  if ($[4] !== innerProps || $[5] !== props.error || $[6] !== props.isDisabled || $[7] !== ref) {
190
194
  t0 = (t1) => {
191
- const { field: field_0, fieldState: t2 } = t1;
195
+ const { field, fieldState: t2 } = t1;
192
196
  const { error, isDirty } = t2;
193
197
  return /* @__PURE__ */ jsx(ToggleBase, {
194
198
  ...innerProps,
195
- ref: mergeRefs(ref, field_0.ref),
196
- isSelected: field_0.value,
197
- onChange: field_0.onChange,
198
- onBlur: field_0.onBlur,
199
- name: field_0.name,
199
+ ref: mergeRefs(ref, field.ref),
200
+ isSelected: field.value,
201
+ onChange: field.onChange,
202
+ onBlur: field.onBlur,
203
+ name: field.name,
200
204
  isDirty,
201
- isDisabled: field_0.disabled || props.isDisabled,
205
+ isDisabled: field.disabled || props.isDisabled,
202
206
  error: props.error ?? error?.message
203
207
  });
204
208
  };
@@ -209,14 +213,14 @@ var Toggle = (props) => {
209
213
  $[8] = t0;
210
214
  } else t0 = $[8];
211
215
  let t1;
212
- if ($[9] !== field.form || $[10] !== field.name || $[11] !== t0) {
213
- t1 = /* @__PURE__ */ jsx(FieldController, {
214
- control: field.form,
215
- name: field.name,
216
+ if ($[9] !== formControl.control || $[10] !== formControl.name || $[11] !== t0) {
217
+ t1 = /* @__PURE__ */ jsx(Controller, {
218
+ control: formControl.control,
219
+ name: formControl.name,
216
220
  render: t0
217
221
  });
218
- $[9] = field.form;
219
- $[10] = field.name;
222
+ $[9] = formControl.control;
223
+ $[10] = formControl.name;
220
224
  $[11] = t0;
221
225
  $[12] = t1;
222
226
  } else t1 = $[12];
@@ -1,8 +1,8 @@
1
1
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
2
  import { typographyDefinition } from "../../text/Typography/typography.cva.js";
3
- import clsx$1 from "clsx";
4
3
  import { c } from "react/compiler-runtime";
5
4
  import { jsx } from "react/jsx-runtime";
5
+ import clsx$1 from "clsx";
6
6
  //#region src/components/inputs/shared/CheckContent.tsx
7
7
  var CheckContent = (t0) => {
8
8
  const $ = c(3);
@@ -1,77 +1,63 @@
1
+ import { CloseIcon } from "../../../assets/icons/Close.js";
1
2
  import { UIConfig } from "../../../config/uiConfig.context.js";
2
3
  import { InlineIconButton } from "../../buttons/InlineIconButton/InlineIconButton.js";
3
4
  import "../../../config/i18n.js";
4
- import { X } from "lucide-react";
5
- import { clsx } from "clsx";
6
5
  import { c } from "react/compiler-runtime";
7
6
  import { jsx } from "react/jsx-runtime";
7
+ import { clsx } from "clsx";
8
8
  import { useTranslation } from "react-i18next";
9
9
  //#region src/components/inputs/shared/InputClear.tsx
10
10
  var InputClear = (t0) => {
11
- const $ = c(17);
11
+ const $ = c(12);
12
12
  const { onClear, className, style, show, renderStatic } = t0;
13
- const ui = UIConfig.useConfig();
14
- const { t } = useTranslation("ui");
15
- const alwaysShowClear = ui.input.alwaysShowClear;
13
+ const alwaysShowClear = UIConfig.useConfig().input.alwaysShowClear;
16
14
  let clearClassName;
17
15
  let t1;
18
- if ($[0] !== alwaysShowClear || $[1] !== className || $[2] !== onClear || $[3] !== renderStatic || $[4] !== show || $[5] !== style || $[6] !== t) {
16
+ if ($[0] !== alwaysShowClear || $[1] !== className || $[2] !== renderStatic || $[3] !== show || $[4] !== style) {
19
17
  t1 = Symbol.for("react.early_return_sentinel");
20
18
  bb0: {
21
19
  clearClassName = clsx("relative z-raised flex items-center", !alwaysShowClear && "md:invisible group-focus-within:visible group-hover/date-picker-content:visible group-hover/select-content:visible group-hover/text-area:visible group-hover:visible", "border-0!", !show && "invisible!", className);
22
20
  if (renderStatic) {
23
21
  let t2;
24
- if ($[9] !== show || $[10] !== t) {
25
- t2 = show ? t(_temp) : void 0;
26
- $[9] = show;
27
- $[10] = t;
28
- $[11] = t2;
29
- } else t2 = $[11];
30
- let t3;
31
- if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
32
- t3 = /* @__PURE__ */ jsx(X, { className: "h-6 w-6 shrink-0" });
33
- $[12] = t3;
34
- } else t3 = $[12];
22
+ if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
23
+ t2 = /* @__PURE__ */ jsx(CloseIcon, { className: "h-6 w-6 shrink-0" });
24
+ $[7] = t2;
25
+ } else t2 = $[7];
35
26
  t1 = /* @__PURE__ */ jsx("button", {
36
27
  type: "button",
37
- "aria-hidden": !show,
38
- "aria-label": t2,
39
- "data-static-clear-action": true,
28
+ "aria-hidden": "true",
40
29
  tabIndex: -1,
41
- onClick: onClear,
42
30
  className: clsx("group inline-flex items-center justify-center border border-solid border-support-transparent-outline", "rounded-button-rounding-s p-0 text-interactive-text-secondary-idle", clearClassName),
43
31
  style,
44
- children: t3
32
+ children: t2
45
33
  });
46
34
  break bb0;
47
35
  }
48
36
  }
49
37
  $[0] = alwaysShowClear;
50
38
  $[1] = className;
51
- $[2] = onClear;
52
- $[3] = renderStatic;
53
- $[4] = show;
54
- $[5] = style;
55
- $[6] = t;
56
- $[7] = clearClassName;
57
- $[8] = t1;
39
+ $[2] = renderStatic;
40
+ $[3] = show;
41
+ $[4] = style;
42
+ $[5] = clearClassName;
43
+ $[6] = t1;
58
44
  } else {
59
- clearClassName = $[7];
60
- t1 = $[8];
45
+ clearClassName = $[5];
46
+ t1 = $[6];
61
47
  }
62
48
  if (t1 !== Symbol.for("react.early_return_sentinel")) return t1;
63
49
  let t2;
64
- if ($[13] !== clearClassName || $[14] !== onClear || $[15] !== style) {
50
+ if ($[8] !== clearClassName || $[9] !== onClear || $[10] !== style) {
65
51
  t2 = /* @__PURE__ */ jsx(InputClearButton, {
66
52
  onClear,
67
53
  className: clearClassName,
68
54
  style
69
55
  });
70
- $[13] = clearClassName;
71
- $[14] = onClear;
72
- $[15] = style;
73
- $[16] = t2;
74
- } else t2 = $[16];
56
+ $[8] = clearClassName;
57
+ $[9] = onClear;
58
+ $[10] = style;
59
+ $[11] = t2;
60
+ } else t2 = $[11];
75
61
  return t2;
76
62
  };
77
63
  var InputClearButton = (t0) => {
@@ -80,7 +66,7 @@ var InputClearButton = (t0) => {
80
66
  const { t } = useTranslation("ui");
81
67
  let t1;
82
68
  if ($[0] !== t) {
83
- t1 = t(_temp2);
69
+ t1 = t(_temp);
84
70
  $[0] = t;
85
71
  $[1] = t1;
86
72
  } else t1 = $[1];
@@ -90,9 +76,9 @@ var InputClearButton = (t0) => {
90
76
  color: "secondary",
91
77
  className,
92
78
  label: t1,
93
- icon: X,
79
+ icon: CloseIcon,
94
80
  onPress: onClear,
95
- onMouseDown: _temp3,
81
+ onMouseDown: _temp2,
96
82
  excludeFromTabOrder: true,
97
83
  style
98
84
  });
@@ -107,10 +93,7 @@ var InputClearButton = (t0) => {
107
93
  function _temp($) {
108
94
  return $.ui.clearAlt;
109
95
  }
110
- function _temp2($) {
111
- return $.ui.clearAlt;
112
- }
113
- function _temp3(e) {
96
+ function _temp2(e) {
114
97
  return e.preventDefault();
115
98
  }
116
99
  //#endregion
@@ -6,5 +6,5 @@ interface TooltipWrapperProps {
6
6
  triggerClassName?: string;
7
7
  triggerTabIndex?: number;
8
8
  }
9
- export declare const TooltipWrapper: (props: TooltipWrapperProps) => string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
9
+ export declare const TooltipWrapper: (props: TooltipWrapperProps) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | null | undefined;
10
10
  export {};
@@ -1,13 +1,12 @@
1
- import { DeepKeys, DeepValue, UIForm } from '../../../hooks/useForm';
1
+ import { Control, FieldPath, FieldPathValue, FieldValues } from 'react-hook-form';
2
2
  export type ControlKeys<TProps, TValueProp extends keyof TProps = "value" extends keyof TProps ? "value" : never> = TValueProp | "onChange" | "onBlur";
3
- export interface FormControl<TFieldValues extends Record<string, unknown>, TType> {
4
- form: UIForm<TFieldValues>;
3
+ export interface FormControl<TFieldValues extends FieldValues, TType> {
4
+ control: Control<TFieldValues>;
5
5
  name: {
6
- [K in DeepKeys<TFieldValues>]: DeepValue<TFieldValues, K> extends TType ? K : never;
7
- }[DeepKeys<TFieldValues>];
6
+ [K in FieldPath<TFieldValues>]: FieldPathValue<TFieldValues, K> extends TType ? K : never;
7
+ }[FieldPath<TFieldValues>];
8
8
  }
9
- export type FormControlProps<TProps, TFieldValues extends Record<string, unknown>, TValueProp extends keyof TProps = "value" extends keyof TProps ? "value" : never> = {
10
- field: FormControl<TFieldValues, TProps[TValueProp] | null>;
9
+ export type FormControlProps<TProps, TFieldValues extends FieldValues, TValueProp extends keyof TProps = "value" extends keyof TProps ? "value" : never> = {
10
+ formControl: FormControl<TFieldValues, TProps[TValueProp] | null>;
11
11
  } & Omit<TProps, ControlKeys<TProps, TValueProp>> & Partial<Record<ControlKeys<TProps, TValueProp>, never>>;
12
- export type ControlProps<TProps, TFieldValues extends Record<string, unknown>, TValueProp extends keyof TProps = "value" extends keyof TProps ? "value" : never> = FormControlProps<TProps, TFieldValues, TValueProp> | TProps;
13
- export declare const getFieldError: (errors: unknown[]) => string | undefined;
12
+ export type ControlProps<TProps, TFieldValues extends FieldValues, TValueProp extends keyof TProps = "value" extends keyof TProps ? "value" : never> = FormControlProps<TProps, TFieldValues, TValueProp> | TProps;
@@ -1,7 +1,7 @@
1
1
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
2
  import { uiOutlineClass } from "../../outline.clsx.js";
3
- import { clsx } from "clsx";
4
3
  import { c } from "react/compiler-runtime";
4
+ import { clsx } from "clsx";
5
5
  //#region src/components/inputs/shared/input.cva.ts
6
6
  var inputBaseDefinition = UIOverrides.defineConfig({
7
7
  base: [uiOutlineClass, "flex w-full not-[textarea]:truncate"],
@@ -1,33 +1,18 @@
1
- import { useLayoutEffect, useRef, useState } from "react";
2
1
  import { c } from "react/compiler-runtime";
2
+ import { useLayoutEffect, useRef, useState } from "react";
3
3
  //#region src/components/inputs/shared/useStaticInputHandoff.ts
4
4
  var useStaticInputHandoff = (t0) => {
5
- const $ = c(18);
5
+ const $ = c(16);
6
6
  const { inputRef, renderInput, setRenderInput, getFocusTarget, getPressTarget } = t0;
7
7
  const [shouldFocus, setShouldFocus] = useState(false);
8
8
  const pendingStaticChangeRef = useRef(null);
9
9
  const pendingStaticFocusTargetRef = useRef(null);
10
10
  const resolvedFocusTargetRef = useRef(null);
11
11
  const shouldReplayStaticPressRef = useRef(false);
12
- const hoverHandoffFrameRef = useRef(null);
13
12
  let t1;
14
13
  let t2;
15
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
16
- t1 = () => () => {
17
- if (hoverHandoffFrameRef.current !== null) cancelAnimationFrame(hoverHandoffFrameRef.current);
18
- };
19
- t2 = [];
20
- $[0] = t1;
21
- $[1] = t2;
22
- } else {
23
- t1 = $[0];
24
- t2 = $[1];
25
- }
26
- useLayoutEffect(t1, t2);
27
- let t3;
28
- let t4;
29
- if ($[2] !== getFocusTarget || $[3] !== getPressTarget || $[4] !== inputRef || $[5] !== renderInput || $[6] !== shouldFocus) {
30
- t3 = () => {
14
+ if ($[0] !== getFocusTarget || $[1] !== getPressTarget || $[2] !== inputRef || $[3] !== renderInput || $[4] !== shouldFocus) {
15
+ t1 = () => {
31
16
  if (!renderInput || !shouldFocus) return;
32
17
  const focusRealInput = (replayPendingInteraction) => {
33
18
  const input = inputRef.current;
@@ -60,79 +45,68 @@ var useStaticInputHandoff = (t0) => {
60
45
  cancelAnimationFrame(frame);
61
46
  };
62
47
  };
63
- t4 = [
48
+ t2 = [
64
49
  getFocusTarget,
65
50
  getPressTarget,
66
51
  inputRef,
67
52
  renderInput,
68
53
  shouldFocus
69
54
  ];
70
- $[2] = getFocusTarget;
71
- $[3] = getPressTarget;
72
- $[4] = inputRef;
73
- $[5] = renderInput;
74
- $[6] = shouldFocus;
75
- $[7] = t3;
76
- $[8] = t4;
55
+ $[0] = getFocusTarget;
56
+ $[1] = getPressTarget;
57
+ $[2] = inputRef;
58
+ $[3] = renderInput;
59
+ $[4] = shouldFocus;
60
+ $[5] = t1;
61
+ $[6] = t2;
77
62
  } else {
78
- t3 = $[7];
79
- t4 = $[8];
63
+ t1 = $[5];
64
+ t2 = $[6];
80
65
  }
81
- useLayoutEffect(t3, t4);
66
+ useLayoutEffect(t1, t2);
67
+ let t3;
68
+ let t4;
82
69
  let t5;
83
- let t6;
84
- let t7;
85
- if ($[9] !== setRenderInput) {
86
- t5 = (focus, target) => {
70
+ if ($[7] !== setRenderInput) {
71
+ t3 = (focus, target) => {
87
72
  pendingStaticFocusTargetRef.current = target ?? null;
88
73
  setShouldFocus(focus);
89
- if (focus) {
90
- if (hoverHandoffFrameRef.current !== null) {
91
- cancelAnimationFrame(hoverHandoffFrameRef.current);
92
- hoverHandoffFrameRef.current = null;
93
- }
94
- setRenderInput(true);
95
- return;
96
- }
97
- hoverHandoffFrameRef.current = requestAnimationFrame(() => {
98
- hoverHandoffFrameRef.current = null;
99
- setRenderInput(true);
100
- });
74
+ setRenderInput(true);
101
75
  };
102
- t6 = (value) => {
76
+ t4 = (value) => {
103
77
  pendingStaticChangeRef.current = value;
104
78
  setShouldFocus(true);
105
79
  setRenderInput(true);
106
80
  };
107
- t7 = () => {
81
+ t5 = () => {
108
82
  shouldReplayStaticPressRef.current = true;
109
83
  setShouldFocus(true);
110
84
  setRenderInput(true);
111
85
  };
112
- $[9] = setRenderInput;
86
+ $[7] = setRenderInput;
87
+ $[8] = t3;
88
+ $[9] = t4;
113
89
  $[10] = t5;
114
- $[11] = t6;
115
- $[12] = t7;
116
90
  } else {
91
+ t3 = $[8];
92
+ t4 = $[9];
117
93
  t5 = $[10];
118
- t6 = $[11];
119
- t7 = $[12];
120
94
  }
121
- let t8;
122
- if ($[13] !== shouldFocus || $[14] !== t5 || $[15] !== t6 || $[16] !== t7) {
123
- t8 = {
95
+ let t6;
96
+ if ($[11] !== shouldFocus || $[12] !== t3 || $[13] !== t4 || $[14] !== t5) {
97
+ t6 = {
124
98
  shouldFocus,
125
- renderRealInput: t5,
126
- replayStaticInputChange: t6,
127
- replayStaticInputPress: t7
99
+ renderRealInput: t3,
100
+ replayStaticInputChange: t4,
101
+ replayStaticInputPress: t5
128
102
  };
129
- $[13] = shouldFocus;
103
+ $[11] = shouldFocus;
104
+ $[12] = t3;
105
+ $[13] = t4;
130
106
  $[14] = t5;
131
107
  $[15] = t6;
132
- $[16] = t7;
133
- $[17] = t8;
134
- } else t8 = $[17];
135
- return t8;
108
+ } else t6 = $[15];
109
+ return t6;
136
110
  };
137
111
  //#endregion
138
112
  export { useStaticInputHandoff };
@@ -1,9 +1,9 @@
1
1
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
2
  import { accordionDefinition } from "./accordion.cva.js";
3
3
  import { AccordionItem } from "./AccordionItem.js";
4
+ import { jsx } from "react/jsx-runtime";
4
5
  import { clsx } from "clsx";
5
6
  import { DisclosureGroup } from "react-aria-components";
6
- import { jsx } from "react/jsx-runtime";
7
7
  //#region src/components/navigation/Accordion/Accordion.tsx
8
8
  var Accordion = ({ items, variant = "filled", actionPosition = "right", allowsMultipleExpanded = false, expandedKeys, defaultExpandedKeys, onExpandedChange, className, disabled }) => {
9
9
  return /* @__PURE__ */ jsx(DisclosureGroup, {
@@ -1,9 +1,9 @@
1
+ import { ChevronDownIcon } from "../../../assets/icons/ChevronDown.js";
1
2
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
3
  import { Typography } from "../../text/Typography/Typography.js";
3
4
  import { accordionChevronDefinition, accordionHeadingDefinition, accordionHeadingSubtitleDefinition, accordionHeadingTitleDefinition, accordionIconDefinition, accordionItemDefinition, accordionPanelContentDefinition, accordionPanelDefinition, accordionTriggerDefinition } from "./accordion.cva.js";
4
- import { ChevronDown } from "lucide-react";
5
- import { Button, Disclosure, DisclosurePanel, Heading } from "react-aria-components";
6
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
+ import { Button, Disclosure, DisclosurePanel, Heading } from "react-aria-components";
7
7
  //#region src/components/navigation/Accordion/AccordionItem.tsx
8
8
  var AccordionItem = ({ id, disabled, heading, subheading, children, icon: Icon, variant = "filled", actionPosition = "right", isSingle }) => {
9
9
  const itemCva = UIOverrides.useCva("accordion.itemCva", accordionItemDefinition);
@@ -49,7 +49,7 @@ var AccordionItem = ({ id, disabled, heading, subheading, children, icon: Icon,
49
49
  })
50
50
  ]
51
51
  })
52
- }), /* @__PURE__ */ jsx(ChevronDown, { className: chevronCva({ isExpanded }) })]
52
+ }), /* @__PURE__ */ jsx(ChevronDownIcon, { className: chevronCva({ isExpanded }) })]
53
53
  }) }), /* @__PURE__ */ jsx(DisclosurePanel, {
54
54
  className: panelCva({ isExpanded }),
55
55
  children: /* @__PURE__ */ jsx("div", {
@@ -2,8 +2,8 @@ import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
2
  import { stepperDefinition } from "./stepper.cva.js";
3
3
  import { StepperItem } from "./StepperItem.js";
4
4
  import { StepperSeparator } from "./StepperSeparator.js";
5
- import { Fragment } from "react";
6
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { Fragment as Fragment$1 } from "react";
7
7
  //#region src/components/navigation/Stepper/Stepper.tsx
8
8
  var Stepper = ({ steps, currentStep, orientation = "horizontal", contentOrientation = "horizontal", iconsOnly, titlesOnly, onStepClick, className }) => {
9
9
  return /* @__PURE__ */ jsx("div", {
@@ -15,7 +15,7 @@ var Stepper = ({ steps, currentStep, orientation = "horizontal", contentOrientat
15
15
  "aria-label": "Progress",
16
16
  children: steps.map((step, index) => {
17
17
  const status = index < currentStep ? "completed" : index === currentStep ? "active" : "todo";
18
- return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(StepperItem, {
18
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(StepperItem, {
19
19
  step,
20
20
  stepNumber: index + 1,
21
21
  status,
@@ -1,11 +1,11 @@
1
+ import { CheckIcon } from "../../../assets/icons/Check.js";
1
2
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
3
  import { Typography } from "../../text/Typography/Typography.js";
3
4
  import { stepperIconDefinition, stepperItemDefinition, stepperNumberDefinition, stepperSubtextDefinition, stepperTitleDefinition } from "./stepper.cva.js";
4
- import { Check } from "lucide-react";
5
- import { clsx } from "clsx";
6
- import { Button } from "react-aria-components";
7
5
  import { c } from "react/compiler-runtime";
8
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
+ import { clsx } from "clsx";
8
+ import { Button } from "react-aria-components";
9
9
  //#region src/components/navigation/Stepper/StepperItem.tsx
10
10
  var StepperItem = (t0) => {
11
11
  const $ = c(31);
@@ -26,7 +26,7 @@ var StepperItem = (t0) => {
26
26
  } else t1 = $[2];
27
27
  let t2;
28
28
  if ($[3] !== status || $[4] !== stepNumber || $[5] !== stepperNumberCva) {
29
- t2 = status === "completed" ? /* @__PURE__ */ jsx(Check, { className: "size-5 text-interactive-contained-primary-on-idle" }) : /* @__PURE__ */ jsx(Typography, {
29
+ t2 = status === "completed" ? /* @__PURE__ */ jsx(CheckIcon, { className: "size-5 text-interactive-contained-primary-on-idle" }) : /* @__PURE__ */ jsx(Typography, {
30
30
  className: stepperNumberCva({ status }),
31
31
  variant: "prominent-1",
32
32
  size: "label-3",
@@ -2,8 +2,8 @@ import { Typography } from "../../text/Typography/Typography.js";
2
2
  import { UIConfig } from "../../../config/uiConfig.context.js";
3
3
  import { Button } from "../../buttons/Button/Button.js";
4
4
  import { Modal } from "../Modal/Modal.js";
5
- import { clsx } from "clsx";
6
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
7
  //#region src/components/overlays/ActionModal/ActionModal.tsx
8
8
  var textAlignClassMap = {
9
9
  left: "text-left",