@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,10 +1,10 @@
1
+ import { ArrowRightIcon } from "../../assets/icons/ArrowRight.js";
1
2
  import { UIOverrides } from "../../config/uiOverrides.context.js";
2
3
  import { menuItemDefinition } from "./menu.cva.js";
3
- import { ArrowRight } from "lucide-react";
4
- import { clsx } from "clsx";
5
- import { MenuItem } from "react-aria-components";
6
4
  import { c } from "react/compiler-runtime";
7
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { clsx } from "clsx";
7
+ import { MenuItem } from "react-aria-components";
8
8
  //#region src/components/Menu/MenuItem.tsx
9
9
  var MenuItem$1 = (t0) => {
10
10
  const $ = c(9);
@@ -19,7 +19,7 @@ var MenuItem$1 = (t0) => {
19
19
  const t2 = content ?? label;
20
20
  let t3;
21
21
  if ($[0] !== hasSubmenu) {
22
- t3 = hasSubmenu && /* @__PURE__ */ jsx(ArrowRight, { className: "size-6" });
22
+ t3 = hasSubmenu && /* @__PURE__ */ jsx(ArrowRightIcon, { className: "size-6" });
23
23
  $[0] = hasSubmenu;
24
24
  $[1] = t3;
25
25
  } else t3 = $[1];
@@ -1,13 +1,13 @@
1
+ import { ArrowLeftIcon } from "../../assets/icons/ArrowLeft.js";
1
2
  import { UIOverrides } from "../../config/uiOverrides.context.js";
2
3
  import { menuDefinition, menuItemDefinition } from "./menu.cva.js";
3
4
  import { MenuItem as MenuItem$1 } from "./MenuItem.js";
4
5
  import { BottomSheet } from "../overlays/BottomSheet/BottomSheet.js";
5
- import { ArrowLeft } from "lucide-react";
6
+ import { c } from "react/compiler-runtime";
7
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
8
  import { clsx } from "clsx";
7
9
  import { useRef, useState } from "react";
8
10
  import { Button, Menu } from "react-aria-components";
9
- import { c } from "react/compiler-runtime";
10
- import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region src/components/Menu/MenuMobile.tsx
12
12
  var MenuMobile = (t0) => {
13
13
  const $ = c(23);
@@ -84,13 +84,13 @@ var MenuMobile = (t0) => {
84
84
  const onBack = t4;
85
85
  let t5;
86
86
  if ($[11] !== activeItem || $[12] !== handleAction || $[13] !== items || $[14] !== menuCva || $[15] !== menuItemCva || $[16] !== props) {
87
- t5 = () => /* @__PURE__ */ jsxs(Fragment$1, { children: [activeItem && /* @__PURE__ */ jsxs(Button, {
87
+ t5 = () => /* @__PURE__ */ jsxs(Fragment, { children: [activeItem && /* @__PURE__ */ jsxs(Button, {
88
88
  className: clsx(menuItemCva({
89
89
  ...props,
90
90
  isMobile: true
91
91
  })),
92
92
  onPress: onBack,
93
- children: [/* @__PURE__ */ jsx(ArrowLeft, { className: "size-6" }), activeItem.label]
93
+ children: [/* @__PURE__ */ jsx(ArrowLeftIcon, { className: "size-6" }), activeItem.label]
94
94
  }), /* @__PURE__ */ jsx("div", {
95
95
  onClickCapture: (e) => {
96
96
  lastEventRef.current = e;
@@ -1,10 +1,10 @@
1
1
  import { UIOverrides } from "../../config/uiOverrides.context.js";
2
2
  import { menuDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition } from "./menu.cva.js";
3
3
  import { MenuItem as MenuItem$1 } from "./MenuItem.js";
4
- import { useRef } from "react";
5
- import { Menu, Popover, SubmenuTrigger } from "react-aria-components";
6
4
  import { c } from "react/compiler-runtime";
7
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { useRef } from "react";
7
+ import { Menu, Popover, SubmenuTrigger } from "react-aria-components";
8
8
  //#region src/components/Menu/MenuPopover.tsx
9
9
  var MenuPopover = (t0) => {
10
10
  const $ = c(28);
@@ -3,9 +3,9 @@ import { LinkContext } from "../../../config/link.context.js";
3
3
  import { ButtonContent } from "../shared/ButtonContent.js";
4
4
  import { UIConfig } from "../../../config/uiConfig.context.js";
5
5
  import { buttonContentDefinition, buttonDefinition, buttonIconSizeDefinition, buttonSizeDefinition, buttonTypography } from "./button.cva.js";
6
+ import { jsx } from "react/jsx-runtime";
6
7
  import { clsx } from "clsx";
7
8
  import { Button, Link, ToggleButton } from "react-aria-components";
8
- import { jsx } from "react/jsx-runtime";
9
9
  //#region src/components/buttons/Button/Button.tsx
10
10
  var Button$1 = ({ icon: Icon, iconPosition, children, isLoading, className, link, iconClassName, noDisableWhenLoading, contentRef, ...props }) => {
11
11
  const linkContext = LinkContext.useLinkContext();
@@ -1,11 +1,11 @@
1
+ import { CloseIcon } from "../../../assets/icons/Close.js";
1
2
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
3
  import { ButtonContent } from "../shared/ButtonContent.js";
3
4
  import { pillButtonContent, pillButtonDefinition, pillButtonIconSize, pillButtonTypography } from "./pillButton.cva.js";
4
- import { X } from "lucide-react";
5
- import { clsx } from "clsx";
6
- import { Button, ToggleButton } from "react-aria-components";
7
5
  import { c } from "react/compiler-runtime";
8
6
  import { jsx } from "react/jsx-runtime";
7
+ import { clsx } from "clsx";
8
+ import { Button, ToggleButton } from "react-aria-components";
9
9
  //#region src/components/buttons/PillButton/PillButton.tsx
10
10
  var PillButton = (t0) => {
11
11
  const $ = c(17);
@@ -30,7 +30,7 @@ var PillButton = (t0) => {
30
30
  className: props.className
31
31
  }), pillButtonContent({ iconPosition: getIconPosition() }));
32
32
  const T0 = ButtonContent;
33
- const t3 = dismissable ? X : icon;
33
+ const t3 = dismissable ? CloseIcon : icon;
34
34
  const t4 = dismissable ? "right" : iconPosition;
35
35
  const t5 = pillButtonIconSize;
36
36
  const t6 = pillButtonTypographyMap({ ...props });
@@ -31,7 +31,7 @@ export declare const pillButtonContentDefinition: {
31
31
  }>;
32
32
  };
33
33
  export declare const pillButtonContent: (props?: ({
34
- readonly iconPosition?: "left" | "right" | "none" | null | undefined;
34
+ readonly iconPosition?: "none" | "left" | "right" | null | undefined;
35
35
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
36
36
  export declare const pillButtonIconSize: string;
37
37
  export declare const pillButtonTypography: (props: {
@@ -1,10 +1,10 @@
1
+ import { ChevronDownIcon } from "../../../assets/icons/ChevronDown.js";
1
2
  import { Button } from "../Button/Button.js";
2
3
  import { IconButton } from "../IconButton/IconButton.js";
3
4
  import { Menu } from "../../Menu/Menu.js";
4
- import { ChevronDown } from "lucide-react";
5
- import { clsx } from "clsx";
6
5
  import { c } from "react/compiler-runtime";
7
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { clsx } from "clsx";
8
8
  //#region src/components/buttons/SplitButton/SplitButton.tsx
9
9
  var SplitButton = (t0) => {
10
10
  const $ = c(36);
@@ -85,7 +85,7 @@ var SplitButton = (t0) => {
85
85
  variant,
86
86
  color,
87
87
  label: labelRight,
88
- icon: ChevronDown,
88
+ icon: ChevronDownIcon,
89
89
  className: "rounded-l-none! border-l-0!",
90
90
  isDisabled: t3
91
91
  });
@@ -2,9 +2,9 @@ import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
2
  import { typographyDefinition } from "../../text/Typography/typography.cva.js";
3
3
  import { buttonContentLabel } from "./buttonContent.cva.js";
4
4
  import { Loader } from "../../status/Loader/Loader.js";
5
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
6
  import { clsx } from "clsx";
6
7
  import { isValidElement } from "react";
7
- import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/buttons/shared/ButtonContent.tsx
9
9
  var ButtonContent = ({ ref, content, isLoading, icon: Icon, iconClassName, hideText, iconPosition = "left", typography: typographyOverrides }) => {
10
10
  const typographyCva = UIOverrides.useCva("typography.cva", typographyDefinition);
@@ -17,7 +17,7 @@ var ButtonContent = ({ ref, content, isLoading, icon: Icon, iconClassName, hideT
17
17
  variant: "prominent-1",
18
18
  ...typographyOverrides
19
19
  };
20
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
20
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
21
21
  iconOrLoader && iconPosition === "left" && iconOrLoader,
22
22
  /* @__PURE__ */ jsx("span", {
23
23
  className: clsx(typographyCva({
@@ -1,7 +1,7 @@
1
1
  import { ButtonContentConfig } from '../Button/button.cva';
2
2
  import { UIOverrides } from '../../../config/uiOverrides.context';
3
3
  export declare const buttonContentLabel: (props?: ({
4
- iconPosition?: "left" | "right" | "none" | null | undefined;
4
+ iconPosition?: "none" | "left" | "right" | null | undefined;
5
5
  hideText?: boolean | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export interface ButtonContentVariantProps extends UIOverrides.VariantProps<ButtonContentConfig> {
@@ -1,6 +1,6 @@
1
1
  import { ComponentType, ReactElement, Ref, SVGProps } from 'react';
2
2
  import { CheckboxProps as AriaCheckboxProps } from 'react-aria-components';
3
- import { FieldValues } from '../shared/form.binding';
3
+ import { FieldValues } from 'react-hook-form';
4
4
  import { CheckboxVariantProps } from './checkbox.cva';
5
5
  import { FormFieldErrorProps } from '../FormField/FormFieldError';
6
6
  import { ControlProps } from '../shared/form.types';
@@ -9,6 +9,7 @@ export interface CheckboxBaseProps extends FormFieldErrorProps, CheckboxVariantP
9
9
  children: string | ReactElement;
10
10
  hideLabel?: boolean;
11
11
  hideError?: boolean;
12
+ fireBlurOnChange?: boolean;
12
13
  selectedIcon?: ComponentType<SVGProps<SVGSVGElement>>;
13
14
  indeterminateIcon?: ComponentType<SVGProps<SVGSVGElement>>;
14
15
  isDirty?: boolean;
@@ -1,24 +1,25 @@
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 { checkboxContentClassName, checkboxIndicatorClass, checkboxTypography } from "./checkbox.cva.js";
5
4
  import { FormFieldError } from "../FormField/FormFieldError.js";
6
5
  import { CheckContent } from "../shared/CheckContent.js";
7
6
  import { CheckboxCheckmark } from "./CheckboxCheckmark.js";
8
- import { clsx } from "clsx";
9
- import { Checkbox } from "react-aria-components";
10
7
  import { c } from "react/compiler-runtime";
11
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
+ import { clsx } from "clsx";
10
+ import { Checkbox } from "react-aria-components";
12
11
  import { mergeRefs } from "@react-aria/utils";
12
+ import { Controller } from "react-hook-form";
13
13
  //#region src/components/inputs/Checkbox/Checkbox.tsx
14
14
  var CheckboxBase = (props) => {
15
- const $ = c(51);
15
+ const $ = c(54);
16
16
  const ui = UIConfig.useConfig();
17
17
  const checkboxTypographyMap = UIOverrides.useMapper("checkbox.typography", checkboxTypography);
18
18
  const checkboxContentClassNameMap = UIOverrides.useMapper("checkbox.contentClassName", checkboxContentClassName);
19
19
  let children;
20
20
  let className;
21
21
  let error;
22
+ let fireBlurOnChangeProp;
22
23
  let hideError;
23
24
  let hideLabelProp;
24
25
  let isDisabled;
@@ -29,55 +30,61 @@ var CheckboxBase = (props) => {
29
30
  let rest;
30
31
  let variantProp;
31
32
  if ($[0] !== props) {
32
- ({className, children, isDisabled, isRequired, error, hideError, labelClassName, variant: variantProp, hideLabel: hideLabelProp, onChange, onBlur, ...rest} = props);
33
+ ({className, children, isDisabled, isRequired, error, hideError, labelClassName, variant: variantProp, hideLabel: hideLabelProp, fireBlurOnChange: fireBlurOnChangeProp, onChange, onBlur, ...rest} = props);
33
34
  $[0] = props;
34
35
  $[1] = children;
35
36
  $[2] = className;
36
37
  $[3] = error;
37
- $[4] = hideError;
38
- $[5] = hideLabelProp;
39
- $[6] = isDisabled;
40
- $[7] = isRequired;
41
- $[8] = labelClassName;
42
- $[9] = onBlur;
43
- $[10] = onChange;
44
- $[11] = rest;
45
- $[12] = variantProp;
38
+ $[4] = fireBlurOnChangeProp;
39
+ $[5] = hideError;
40
+ $[6] = hideLabelProp;
41
+ $[7] = isDisabled;
42
+ $[8] = isRequired;
43
+ $[9] = labelClassName;
44
+ $[10] = onBlur;
45
+ $[11] = onChange;
46
+ $[12] = rest;
47
+ $[13] = variantProp;
46
48
  } else {
47
49
  children = $[1];
48
50
  className = $[2];
49
51
  error = $[3];
50
- hideError = $[4];
51
- hideLabelProp = $[5];
52
- isDisabled = $[6];
53
- isRequired = $[7];
54
- labelClassName = $[8];
55
- onBlur = $[9];
56
- onChange = $[10];
57
- rest = $[11];
58
- variantProp = $[12];
52
+ fireBlurOnChangeProp = $[4];
53
+ hideError = $[5];
54
+ hideLabelProp = $[6];
55
+ isDisabled = $[7];
56
+ isRequired = $[8];
57
+ labelClassName = $[9];
58
+ onBlur = $[10];
59
+ onChange = $[11];
60
+ rest = $[12];
61
+ variantProp = $[13];
59
62
  }
60
63
  const variant = variantProp ?? ui.checkbox.variant;
61
64
  const hideLabel = hideLabelProp ?? ui.input.hideLabel;
65
+ const fireBlurOnChange = fireBlurOnChangeProp ?? ui.checkbox.fireBlurOnChange;
62
66
  let t0;
63
- if ($[13] !== error || $[14] !== isDisabled) {
67
+ if ($[14] !== error || $[15] !== isDisabled) {
64
68
  t0 = {
65
69
  error,
66
70
  isDisabled
67
71
  };
68
- $[13] = error;
69
- $[14] = isDisabled;
70
- $[15] = t0;
71
- } else t0 = $[15];
72
+ $[14] = error;
73
+ $[15] = isDisabled;
74
+ $[16] = t0;
75
+ } else t0 = $[16];
72
76
  const formFieldErrorProps = t0;
73
77
  let t1;
74
- if ($[16] !== onChange) {
78
+ if ($[17] !== fireBlurOnChange || $[18] !== onBlur || $[19] !== onChange) {
75
79
  t1 = (isSelected) => {
76
80
  onChange?.(isSelected);
81
+ if (fireBlurOnChange) onBlur?.({});
77
82
  };
78
- $[16] = onChange;
79
- $[17] = t1;
80
- } else t1 = $[17];
83
+ $[17] = fireBlurOnChange;
84
+ $[18] = onBlur;
85
+ $[19] = onChange;
86
+ $[20] = t1;
87
+ } else t1 = $[20];
81
88
  const handleChange = t1;
82
89
  const t2 = !!error;
83
90
  const t3 = hideLabel && typeof children === "string" ? children : void 0;
@@ -85,23 +92,23 @@ var CheckboxBase = (props) => {
85
92
  const t5 = props.isDirty || void 0;
86
93
  const t6 = props.isRequired || void 0;
87
94
  let t7;
88
- if ($[18] !== className) {
95
+ if ($[21] !== className) {
89
96
  t7 = clsx("relative", checkboxIndicatorClass, className);
90
- $[18] = className;
91
- $[19] = t7;
92
- } else t7 = $[19];
97
+ $[21] = className;
98
+ $[22] = t7;
99
+ } else t7 = $[22];
93
100
  let t8;
94
- if ($[20] !== rest || $[21] !== variant) {
101
+ if ($[23] !== rest || $[24] !== variant) {
95
102
  t8 = /* @__PURE__ */ jsx(CheckboxCheckmark, {
96
103
  variant,
97
104
  ...rest
98
105
  });
99
- $[20] = rest;
100
- $[21] = variant;
101
- $[22] = t8;
102
- } else t8 = $[22];
106
+ $[23] = rest;
107
+ $[24] = variant;
108
+ $[25] = t8;
109
+ } else t8 = $[25];
103
110
  let t9;
104
- if ($[23] !== checkboxContentClassNameMap || $[24] !== checkboxTypographyMap || $[25] !== children || $[26] !== hideLabel || $[27] !== labelClassName || $[28] !== rest || $[29] !== variant) {
111
+ if ($[26] !== checkboxContentClassNameMap || $[27] !== checkboxTypographyMap || $[28] !== children || $[29] !== hideLabel || $[30] !== labelClassName || $[31] !== rest || $[32] !== variant) {
105
112
  t9 = !hideLabel && /* @__PURE__ */ jsx(CheckContent, {
106
113
  typography: checkboxTypographyMap({
107
114
  variant,
@@ -114,17 +121,17 @@ var CheckboxBase = (props) => {
114
121
  className: labelClassName,
115
122
  children
116
123
  });
117
- $[23] = checkboxContentClassNameMap;
118
- $[24] = checkboxTypographyMap;
119
- $[25] = children;
120
- $[26] = hideLabel;
121
- $[27] = labelClassName;
122
- $[28] = rest;
123
- $[29] = variant;
124
- $[30] = t9;
125
- } else t9 = $[30];
124
+ $[26] = checkboxContentClassNameMap;
125
+ $[27] = checkboxTypographyMap;
126
+ $[28] = children;
127
+ $[29] = hideLabel;
128
+ $[30] = labelClassName;
129
+ $[31] = rest;
130
+ $[32] = variant;
131
+ $[33] = t9;
132
+ } else t9 = $[33];
126
133
  let t10;
127
- if ($[31] !== handleChange || $[32] !== isDisabled || $[33] !== isRequired || $[34] !== onBlur || $[35] !== rest || $[36] !== t2 || $[37] !== t3 || $[38] !== t4 || $[39] !== t5 || $[40] !== t6 || $[41] !== t7 || $[42] !== t8 || $[43] !== t9) {
134
+ if ($[34] !== handleChange || $[35] !== isDisabled || $[36] !== isRequired || $[37] !== onBlur || $[38] !== rest || $[39] !== t2 || $[40] !== t3 || $[41] !== t4 || $[42] !== t5 || $[43] !== t6 || $[44] !== t7 || $[45] !== t8 || $[46] !== t9) {
128
135
  t10 = /* @__PURE__ */ jsxs(Checkbox, {
129
136
  ...rest,
130
137
  isDisabled,
@@ -139,68 +146,68 @@ var CheckboxBase = (props) => {
139
146
  className: t7,
140
147
  children: [t8, t9]
141
148
  });
142
- $[31] = handleChange;
143
- $[32] = isDisabled;
144
- $[33] = isRequired;
145
- $[34] = onBlur;
146
- $[35] = rest;
147
- $[36] = t2;
148
- $[37] = t3;
149
- $[38] = t4;
150
- $[39] = t5;
151
- $[40] = t6;
152
- $[41] = t7;
153
- $[42] = t8;
154
- $[43] = t9;
155
- $[44] = t10;
156
- } else t10 = $[44];
149
+ $[34] = handleChange;
150
+ $[35] = isDisabled;
151
+ $[36] = isRequired;
152
+ $[37] = onBlur;
153
+ $[38] = rest;
154
+ $[39] = t2;
155
+ $[40] = t3;
156
+ $[41] = t4;
157
+ $[42] = t5;
158
+ $[43] = t6;
159
+ $[44] = t7;
160
+ $[45] = t8;
161
+ $[46] = t9;
162
+ $[47] = t10;
163
+ } else t10 = $[47];
157
164
  let t11;
158
- if ($[45] !== formFieldErrorProps || $[46] !== hideError) {
165
+ if ($[48] !== formFieldErrorProps || $[49] !== hideError) {
159
166
  t11 = !hideError && /* @__PURE__ */ jsx(FormFieldError, { ...formFieldErrorProps });
160
- $[45] = formFieldErrorProps;
161
- $[46] = hideError;
162
- $[47] = t11;
163
- } else t11 = $[47];
167
+ $[48] = formFieldErrorProps;
168
+ $[49] = hideError;
169
+ $[50] = t11;
170
+ } else t11 = $[50];
164
171
  let t12;
165
- if ($[48] !== t10 || $[49] !== t11) {
172
+ if ($[51] !== t10 || $[52] !== t11) {
166
173
  t12 = /* @__PURE__ */ jsxs(Fragment, { children: [t10, t11] });
167
- $[48] = t10;
168
- $[49] = t11;
169
- $[50] = t12;
170
- } else t12 = $[50];
174
+ $[51] = t10;
175
+ $[52] = t11;
176
+ $[53] = t12;
177
+ } else t12 = $[53];
171
178
  return t12;
172
179
  };
173
180
  var Checkbox$1 = (props) => {
174
181
  const $ = c(15);
175
- if ("field" in props && props.field) {
176
- let field;
182
+ if ("formControl" in props && props.formControl) {
183
+ let formControl;
177
184
  let innerProps;
178
185
  let ref;
179
186
  if ($[0] !== props) {
180
- ({field, ref, ...innerProps} = props);
187
+ ({formControl, ref, ...innerProps} = props);
181
188
  $[0] = props;
182
- $[1] = field;
189
+ $[1] = formControl;
183
190
  $[2] = innerProps;
184
191
  $[3] = ref;
185
192
  } else {
186
- field = $[1];
193
+ formControl = $[1];
187
194
  innerProps = $[2];
188
195
  ref = $[3];
189
196
  }
190
197
  let t0;
191
198
  if ($[4] !== innerProps || $[5] !== props.error || $[6] !== props.isDisabled || $[7] !== ref) {
192
199
  t0 = (t1) => {
193
- const { field: field_0, fieldState: t2 } = t1;
200
+ const { field, fieldState: t2 } = t1;
194
201
  const { error, isDirty } = t2;
195
202
  return /* @__PURE__ */ jsx(CheckboxBase, {
196
203
  ...innerProps,
197
- ref: mergeRefs(ref, field_0.ref),
198
- isSelected: field_0.value,
199
- onChange: field_0.onChange,
200
- onBlur: field_0.onBlur,
201
- name: field_0.name,
204
+ ref: mergeRefs(ref, field.ref),
205
+ isSelected: field.value,
206
+ onChange: field.onChange,
207
+ onBlur: field.onBlur,
208
+ name: field.name,
202
209
  isDirty,
203
- isDisabled: field_0.disabled || props.isDisabled,
210
+ isDisabled: field.disabled || props.isDisabled,
204
211
  error: props.error ?? error?.message
205
212
  });
206
213
  };
@@ -211,14 +218,14 @@ var Checkbox$1 = (props) => {
211
218
  $[8] = t0;
212
219
  } else t0 = $[8];
213
220
  let t1;
214
- if ($[9] !== field.form || $[10] !== field.name || $[11] !== t0) {
215
- t1 = /* @__PURE__ */ jsx(FieldController, {
216
- control: field.form,
217
- name: field.name,
221
+ if ($[9] !== formControl.control || $[10] !== formControl.name || $[11] !== t0) {
222
+ t1 = /* @__PURE__ */ jsx(Controller, {
223
+ control: formControl.control,
224
+ name: formControl.name,
218
225
  render: t0
219
226
  });
220
- $[9] = field.form;
221
- $[10] = field.name;
227
+ $[9] = formControl.control;
228
+ $[10] = formControl.name;
222
229
  $[11] = t0;
223
230
  $[12] = t1;
224
231
  } else t1 = $[12];
@@ -1,9 +1,10 @@
1
+ import { CheckboxCheckmarkIcon } from "../../../assets/icons/CheckboxCheckmark.js";
2
+ import { CheckboxIndeterminateIcon } from "../../../assets/icons/CheckboxIndeterminate.js";
1
3
  import { UIOverrides } from "../../../config/uiOverrides.context.js";
2
4
  import { checkboxDefinition, checkboxIconDefinition } from "./checkbox.cva.js";
3
- import { Check, Minus } from "lucide-react";
4
5
  import { jsx, jsxs } from "react/jsx-runtime";
5
6
  //#region src/components/inputs/Checkbox/CheckboxCheckmark.tsx
6
- var CheckboxCheckmark = ({ variant, className, selectedIcon: SelectedIcon = Check, indeterminateIcon: IndeterminateIcon = Minus, ...props }) => {
7
+ var CheckboxCheckmark = ({ variant, className, selectedIcon: SelectedIcon = CheckboxCheckmarkIcon, indeterminateIcon: IndeterminateIcon = CheckboxIndeterminateIcon, ...props }) => {
7
8
  const checkboxCva = UIOverrides.useCva("checkbox.cva", checkboxDefinition);
8
9
  const checkboxIconCva = UIOverrides.useCva("checkbox.iconCva", checkboxIconDefinition);
9
10
  return /* @__PURE__ */ jsxs("div", {
@@ -1,6 +1,6 @@
1
1
  import { ReactElement, Ref } from 'react';
2
2
  import { CheckboxGroupProps as AriaCheckboxGroupProps } from 'react-aria-components';
3
- import { FieldValues } from '../shared/form.binding';
3
+ import { FieldValues } from 'react-hook-form';
4
4
  import { CheckboxVariantProps } from './checkbox.cva';
5
5
  import { FormFieldProps } from '../FormField/FormField';
6
6
  import { ControlProps } from '../shared/form.types';
@@ -18,6 +18,7 @@ interface CheckboxGroupBaseProps extends Omit<FormFieldProps, "variant">, Checkb
18
18
  isDirty?: boolean;
19
19
  inputClassName?: string;
20
20
  labelClassName?: string;
21
+ fireBlurOnChange?: boolean;
21
22
  }
22
23
  export interface CheckboxGroupProps extends CheckboxGroupBaseProps {
23
24
  }