@povio/ui 0.0.7 → 0.0.8

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 (484) hide show
  1. package/index.js +62585 -0
  2. package/package.json +5 -57
  3. package/povio-ui-0.0.8.tgz +0 -0
  4. package/{dist → src}/components/Menu/MenuDesktop.d.ts +1 -1
  5. package/{dist → src}/components/Menu/MenuItem.d.ts +1 -1
  6. package/{dist → src}/components/Menu/MenuMobile.d.ts +1 -1
  7. package/{dist → src}/components/Menu/MenuPopover.d.ts +1 -1
  8. package/{dist → src}/components/buttons/Button/Button.d.ts +1 -1
  9. package/{dist → src}/components/buttons/Button/button.cva.d.ts +1 -1
  10. package/{dist → src}/components/buttons/IconButton/IconButton.d.ts +1 -1
  11. package/{dist → src}/components/buttons/InlineIconButton/InlineIconButton.d.ts +1 -1
  12. package/{dist → src}/components/buttons/PillButton/PillButton.d.ts +2 -2
  13. package/{dist → src}/components/buttons/PillButton/pillButton.cva.d.ts +1 -1
  14. package/{dist → src}/components/buttons/SplitButton/SplitButton.d.ts +2 -2
  15. package/{dist → src}/components/buttons/TextButton/TextButton.d.ts +3 -3
  16. package/{dist → src}/components/buttons/ToggleButton/ToggleButton.d.ts +3 -3
  17. package/{dist → src}/components/buttons/shared/ButtonContent.d.ts +3 -3
  18. package/{dist → src}/components/inputs/Checkbox/Checkbox.d.ts +3 -3
  19. package/{dist → src}/components/inputs/Checkbox/CheckboxCheckmark.d.ts +1 -1
  20. package/{dist → src}/components/inputs/Checkbox/checkbox.cva.d.ts +1 -1
  21. package/{dist → src}/components/inputs/DateTime/DatePicker/DatePicker.d.ts +3 -3
  22. package/{dist → src}/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +3 -3
  23. package/{dist → src}/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +3 -3
  24. package/{dist → src}/components/inputs/DateTime/TimePicker/TimePicker.d.ts +3 -3
  25. package/{dist → src}/components/inputs/DateTime/shared/CalendarHeader.d.ts +1 -1
  26. package/{dist → src}/components/inputs/DateTime/shared/DatePickerInput.d.ts +2 -2
  27. package/{dist → src}/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -2
  28. package/{dist → src}/components/inputs/File/fileUpload.types.d.ts +3 -3
  29. package/{dist → src}/components/inputs/File/inputUpload.types.d.ts +2 -2
  30. package/{dist → src}/components/inputs/File/shared/FileCard.d.ts +1 -1
  31. package/{dist → src}/components/inputs/File/shared/FileCardList.d.ts +1 -1
  32. package/{dist → src}/components/inputs/File/shared/FileUploadContent.d.ts +1 -1
  33. package/{dist → src}/components/inputs/File/shared/FileUploadContentEmpty.d.ts +1 -1
  34. package/{dist → src}/components/inputs/File/shared/FileUploadContentError.d.ts +1 -1
  35. package/{dist → src}/components/inputs/File/shared/FileUploadContentFilled.d.ts +1 -1
  36. package/{dist → src}/components/inputs/File/shared/FileUploadContentLoading.d.ts +1 -1
  37. package/{dist → src}/components/inputs/File/shared/InputUploadContent.d.ts +1 -1
  38. package/{dist → src}/components/inputs/FormField/FormField.d.ts +3 -3
  39. package/src/components/inputs/FormField/FormFieldLabel.d.ts +12 -0
  40. package/{dist → src}/components/inputs/Input/NumberInput/NumberInput.d.ts +4 -4
  41. package/{dist → src}/components/inputs/Input/PasswordInput/PasswordInput.d.ts +2 -2
  42. package/{dist → src}/components/inputs/Input/TextArea/TextArea.d.ts +3 -3
  43. package/{dist → src}/components/inputs/Input/TextInput/TextInput.d.ts +5 -4
  44. package/{dist → src}/components/inputs/Input/shared/InputContent.d.ts +3 -3
  45. package/{dist → src}/components/inputs/Inputs/Form.d.ts +2 -2
  46. package/{dist → src}/components/inputs/Inputs/InputItem.d.ts +16 -16
  47. package/{dist → src}/components/inputs/RadioGroup/RadioGroup.d.ts +3 -3
  48. package/{dist → src}/components/inputs/RadioGroup/radio.cva.d.ts +1 -1
  49. package/{dist → src}/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +3 -3
  50. package/{dist → src}/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +3 -3
  51. package/{dist → src}/components/inputs/Selection/Select/Select.d.ts +3 -3
  52. package/{dist → src}/components/inputs/Selection/shared/SelectBase.d.ts +5 -4
  53. package/{dist → src}/components/inputs/Selection/shared/SelectDesktop.d.ts +1 -1
  54. package/{dist → src}/components/inputs/Selection/shared/SelectInput.d.ts +6 -6
  55. package/src/components/inputs/Selection/shared/SelectInputTags.d.ts +11 -0
  56. package/src/components/inputs/Selection/shared/SelectListBox.d.ts +9 -0
  57. package/{dist → src}/components/inputs/Selection/shared/SelectListBoxItem.d.ts +2 -2
  58. package/{dist → src}/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +1 -1
  59. package/{dist → src}/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +1 -1
  60. package/{dist → src}/components/inputs/Selection/shared/SelectMobile.d.ts +1 -1
  61. package/{dist → src}/components/inputs/Selection/shared/select.context.d.ts +2 -2
  62. package/{dist → src}/components/inputs/Selection/shared/select.types.d.ts +9 -1
  63. package/{dist → src}/components/inputs/Selection/shared/useSelectItems.d.ts +2 -2
  64. package/{dist → src}/components/inputs/Slider/Slider.d.ts +2 -2
  65. package/{dist → src}/components/inputs/TextEditor/TextEditor.d.ts +2 -2
  66. package/{dist → src}/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +1 -1
  67. package/{dist → src}/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +1 -1
  68. package/{dist → src}/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +1 -1
  69. package/{dist → src}/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +1 -1
  70. package/{dist → src}/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +1 -1
  71. package/{dist → src}/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +1 -1
  72. package/{dist → src}/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +1 -1
  73. package/{dist → src}/components/inputs/Toggle/Toggle.d.ts +3 -3
  74. package/{dist → src}/components/inputs/Toggle/toggle.cva.d.ts +1 -1
  75. package/{dist → src}/components/inputs/shared/CheckContent.d.ts +1 -1
  76. package/src/components/inputs/shared/InputClear.d.ts +8 -0
  77. package/{dist → src}/components/inputs/shared/label.cva.d.ts +1 -1
  78. package/{dist → src}/components/overlays/ActionModal/ActionModal.d.ts +2 -2
  79. package/{dist → src}/components/overlays/Modal/Modal.d.ts +1 -1
  80. package/{dist → src}/components/overlays/Tooltip/Tooltip.d.ts +4 -2
  81. package/src/components/overlays/Tooltip/tooltip.cva.d.ts +21 -0
  82. package/{dist → src}/components/segment/segment.types.d.ts +1 -1
  83. package/{dist → src}/components/shared/pagination/PaginationList.d.ts +1 -1
  84. package/{dist → src}/components/status/Alert/Alert.d.ts +1 -1
  85. package/{dist → src}/components/status/Loader/Loader.d.ts +1 -1
  86. package/{dist → src}/components/status/Toast/Toast.d.ts +1 -1
  87. package/{dist → src}/components/status/Toast/toast.cva.d.ts +1 -1
  88. package/{dist → src}/components/table/table.cva.d.ts +7 -3
  89. package/{dist → src}/components/text/Link/Link.d.ts +1 -1
  90. package/{dist → src}/components/text/Tag/Tag.d.ts +1 -1
  91. package/{dist → src}/components/text/Typography/Typography.d.ts +1 -1
  92. package/{dist → src}/config/confirmation.context.d.ts +1 -1
  93. package/{dist → src}/config/uiConfig.context.d.ts +10 -8
  94. package/{dist → src}/config/uiStyle.context.d.ts +15 -14
  95. package/{dist → src}/helpers/dynamicInputs.d.ts +4 -2
  96. package/{dist → src}/hooks/useFormAutosave.d.ts +2 -2
  97. package/{dist → src}/index.d.ts +12 -6
  98. package/{dist → src}/types/react-query.d.ts +1 -1
  99. package/src/utils/vendor/acl/AclGuard.d.ts +8 -0
  100. package/src/utils/vendor/acl/Can.d.ts +9 -0
  101. package/src/utils/vendor/acl/ability.context.d.ts +15 -0
  102. package/src/utils/vendor/acl/appAbility.types.d.ts +3 -0
  103. package/src/utils/vendor/auth/AuthGuard.d.ts +6 -0
  104. package/src/utils/vendor/auth/auth.context.d.ts +21 -0
  105. package/src/utils/vendor/auth/withPrivateAuthGuard.d.ts +6 -0
  106. package/{dist/utils/rest/rest-client.d.ts → src/utils/vendor/rest-client.types.d.ts} +8 -14
  107. package/{dist → src}/utils/zod.utils.d.ts +2 -1
  108. package/vite.config.d.ts +2 -0
  109. package/dist/assets/icons/AlignCenter.js +0 -21
  110. package/dist/assets/icons/AlignLeft.js +0 -21
  111. package/dist/assets/icons/AlignLeftRight.js +0 -21
  112. package/dist/assets/icons/AlignRight.js +0 -21
  113. package/dist/assets/icons/ArrowDropDown.js +0 -21
  114. package/dist/assets/icons/ArrowDropUp.js +0 -21
  115. package/dist/assets/icons/ArrowLeft.js +0 -21
  116. package/dist/assets/icons/ArrowRight.js +0 -21
  117. package/dist/assets/icons/Bold.js +0 -21
  118. package/dist/assets/icons/BulletedList.js +0 -21
  119. package/dist/assets/icons/Calendar.js +0 -23
  120. package/dist/assets/icons/Check.js +0 -23
  121. package/dist/assets/icons/CheckCircle.js +0 -21
  122. package/dist/assets/icons/CheckboxCheckmark.js +0 -24
  123. package/dist/assets/icons/CheckboxIndeterminate.js +0 -24
  124. package/dist/assets/icons/ChevronDown.js +0 -23
  125. package/dist/assets/icons/ChevronLeft.js +0 -23
  126. package/dist/assets/icons/ChevronRight.js +0 -23
  127. package/dist/assets/icons/ChevronUp.js +0 -23
  128. package/dist/assets/icons/ChevronsLeft.js +0 -34
  129. package/dist/assets/icons/ChevronsRight.js +0 -34
  130. package/dist/assets/icons/Clock.js +0 -21
  131. package/dist/assets/icons/Close.js +0 -21
  132. package/dist/assets/icons/DateTime.js +0 -25
  133. package/dist/assets/icons/Drag.js +0 -21
  134. package/dist/assets/icons/File.js +0 -23
  135. package/dist/assets/icons/Highlight.js +0 -21
  136. package/dist/assets/icons/HighlightOn.js +0 -30
  137. package/dist/assets/icons/Info.js +0 -34
  138. package/dist/assets/icons/Italic.js +0 -21
  139. package/dist/assets/icons/Link.js +0 -21
  140. package/dist/assets/icons/Menu.js +0 -23
  141. package/dist/assets/icons/NumberedList.js +0 -21
  142. package/dist/assets/icons/PointerHorizontal.js +0 -21
  143. package/dist/assets/icons/PointerVertical.js +0 -21
  144. package/dist/assets/icons/Send.js +0 -23
  145. package/dist/assets/icons/Strikethrough.js +0 -21
  146. package/dist/assets/icons/TextColor.js +0 -30
  147. package/dist/assets/icons/Today.js +0 -21
  148. package/dist/assets/icons/Underlined.js +0 -23
  149. package/dist/assets/icons/Upload.js +0 -30
  150. package/dist/assets/icons/View.js +0 -18
  151. package/dist/assets/icons/ViewOff.js +0 -18
  152. package/dist/assets/icons/Warningfilled.js +0 -23
  153. package/dist/assets/locales/en/translation.json.js +0 -14
  154. package/dist/assets/locales/sl/translation.json.js +0 -14
  155. package/dist/components/Menu/Menu.js +0 -14
  156. package/dist/components/Menu/MenuDesktop.js +0 -68
  157. package/dist/components/Menu/MenuItem.js +0 -33
  158. package/dist/components/Menu/MenuMobile.js +0 -78
  159. package/dist/components/Menu/MenuPopover.js +0 -38
  160. package/dist/components/buttons/Button/Button.js +0 -68
  161. package/dist/components/buttons/Button/button.cva.js +0 -672
  162. package/dist/components/buttons/IconButton/IconButton.js +0 -17
  163. package/dist/components/buttons/InlineIconButton/InlineIconButton.js +0 -18
  164. package/dist/components/buttons/PillButton/PillButton.js +0 -44
  165. package/dist/components/buttons/PillButton/pillButton.cva.js +0 -86
  166. package/dist/components/buttons/SplitButton/SplitButton.js +0 -62
  167. package/dist/components/buttons/TextButton/TextButton.js +0 -18
  168. package/dist/components/buttons/ToggleButton/ToggleButton.js +0 -21
  169. package/dist/components/buttons/shared/ButtonContent.js +0 -53
  170. package/dist/components/buttons/shared/buttonContent.cva.js +0 -16
  171. package/dist/components/inputs/Checkbox/Checkbox.js +0 -81
  172. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +0 -49
  173. package/dist/components/inputs/Checkbox/checkbox.cva.js +0 -47
  174. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +0 -234
  175. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +0 -668
  176. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +0 -248
  177. package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +0 -224
  178. package/dist/components/inputs/DateTime/shared/Calendar.js +0 -85
  179. package/dist/components/inputs/DateTime/shared/CalendarCell.js +0 -160
  180. package/dist/components/inputs/DateTime/shared/CalendarGrid.js +0 -67
  181. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +0 -89
  182. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +0 -203
  183. package/dist/components/inputs/DateTime/shared/DateField.js +0 -62
  184. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +0 -163
  185. package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +0 -54
  186. package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +0 -76
  187. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +0 -41
  188. package/dist/components/inputs/DateTime/shared/MonthPicker.js +0 -82
  189. package/dist/components/inputs/DateTime/shared/RangeCalendar.js +0 -131
  190. package/dist/components/inputs/DateTime/shared/TimeField.js +0 -26
  191. package/dist/components/inputs/DateTime/shared/TimePickerForm.js +0 -186
  192. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +0 -107
  193. package/dist/components/inputs/DateTime/shared/YearPicker.js +0 -89
  194. package/dist/components/inputs/File/FileUpload.js +0 -254
  195. package/dist/components/inputs/File/FileUploadContainer.js +0 -17
  196. package/dist/components/inputs/File/InputUpload.js +0 -176
  197. package/dist/components/inputs/File/shared/FileCard.js +0 -67
  198. package/dist/components/inputs/File/shared/FileCardList.js +0 -20
  199. package/dist/components/inputs/File/shared/FileProgressBar.js +0 -32
  200. package/dist/components/inputs/File/shared/FileUploadContent.js +0 -92
  201. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +0 -92
  202. package/dist/components/inputs/File/shared/FileUploadContentError.js +0 -167
  203. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +0 -176
  204. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +0 -128
  205. package/dist/components/inputs/File/shared/InputUploadContent.js +0 -68
  206. package/dist/components/inputs/File/shared/InputUploadFilled.js +0 -31
  207. package/dist/components/inputs/File/shared/fileUpload.cva.js +0 -57
  208. package/dist/components/inputs/File/shared/inputUploadButton.cva.js +0 -48
  209. package/dist/components/inputs/FormField/FormField.js +0 -54
  210. package/dist/components/inputs/FormField/FormFieldError.js +0 -16
  211. package/dist/components/inputs/FormField/FormFieldHeader.js +0 -57
  212. package/dist/components/inputs/FormField/FormFieldHeaderClose.js +0 -20
  213. package/dist/components/inputs/FormField/FormFieldLabel.d.ts +0 -11
  214. package/dist/components/inputs/FormField/FormFieldLabel.js +0 -31
  215. package/dist/components/inputs/Input/NumberInput/NumberInput.js +0 -157
  216. package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -26
  217. package/dist/components/inputs/Input/TextArea/TextArea.js +0 -149
  218. package/dist/components/inputs/Input/TextInput/TextInput.js +0 -147
  219. package/dist/components/inputs/Input/shared/InputContent.js +0 -106
  220. package/dist/components/inputs/Inputs/Form.js +0 -68
  221. package/dist/components/inputs/Inputs/InputItem.js +0 -63
  222. package/dist/components/inputs/Inputs/Inputs.js +0 -32
  223. package/dist/components/inputs/RadioGroup/RadioGroup.js +0 -113
  224. package/dist/components/inputs/RadioGroup/radio.cva.js +0 -47
  225. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +0 -39
  226. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +0 -25
  227. package/dist/components/inputs/Selection/Select/Select.js +0 -32
  228. package/dist/components/inputs/Selection/shared/SelectBase.js +0 -24
  229. package/dist/components/inputs/Selection/shared/SelectDesktop.js +0 -211
  230. package/dist/components/inputs/Selection/shared/SelectInput.js +0 -237
  231. package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +0 -9
  232. package/dist/components/inputs/Selection/shared/SelectListBox.js +0 -97
  233. package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +0 -78
  234. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +0 -45
  235. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +0 -47
  236. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +0 -42
  237. package/dist/components/inputs/Selection/shared/SelectMobile.js +0 -161
  238. package/dist/components/inputs/Selection/shared/select.context.js +0 -243
  239. package/dist/components/inputs/Selection/shared/useSelectItems.js +0 -94
  240. package/dist/components/inputs/Slider/Slider.js +0 -137
  241. package/dist/components/inputs/TextEditor/TextEditor.js +0 -223
  242. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +0 -34
  243. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +0 -80
  244. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +0 -92
  245. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +0 -56
  246. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +0 -33
  247. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +0 -31
  248. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +0 -37
  249. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +0 -51
  250. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +0 -73
  251. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +0 -61
  252. package/dist/components/inputs/TextEditor/textEditor.types.js +0 -40
  253. package/dist/components/inputs/Toggle/Toggle.js +0 -65
  254. package/dist/components/inputs/Toggle/toggle.cva.js +0 -44
  255. package/dist/components/inputs/shared/CheckContent.js +0 -22
  256. package/dist/components/inputs/shared/InputClear.d.ts +0 -6
  257. package/dist/components/inputs/shared/InputClear.js +0 -26
  258. package/dist/components/inputs/shared/input.cva.js +0 -167
  259. package/dist/components/inputs/shared/label.cva.js +0 -133
  260. package/dist/components/outline.clsx.js +0 -11
  261. package/dist/components/overlays/ActionModal/ActionModal.js +0 -80
  262. package/dist/components/overlays/BottomSheet/BottomSheet.js +0 -256
  263. package/dist/components/overlays/Drawer/Drawer.js +0 -84
  264. package/dist/components/overlays/Modal/Modal.js +0 -53
  265. package/dist/components/overlays/Modal/modal.cva.js +0 -53
  266. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +0 -71
  267. package/dist/components/overlays/Tooltip/Tooltip.js +0 -44
  268. package/dist/components/overlays/Tooltip/TooltipEllipsis.js +0 -27
  269. package/dist/components/segment/Segment.js +0 -113
  270. package/dist/components/segment/SegmentItem.js +0 -41
  271. package/dist/components/shared/pagination/Pagination.js +0 -75
  272. package/dist/components/shared/pagination/PaginationList.js +0 -145
  273. package/dist/components/shared/pagination/minWidth.cva.js +0 -15
  274. package/dist/components/status/Alert/Alert.js +0 -41
  275. package/dist/components/status/Alert/alert.cva.js +0 -64
  276. package/dist/components/status/Loader/Loader.js +0 -37
  277. package/dist/components/status/Loader/loader.cva.js +0 -27
  278. package/dist/components/status/Toast/Toast.js +0 -64
  279. package/dist/components/status/Toast/toast.cva.js +0 -150
  280. package/dist/components/status/Toast/useToast.js +0 -83
  281. package/dist/components/status/shared/status.cva.js +0 -62
  282. package/dist/components/table/CellText.js +0 -18
  283. package/dist/components/table/ColumnConfig.js +0 -124
  284. package/dist/components/table/HeaderText.js +0 -15
  285. package/dist/components/table/InfiniteTable.js +0 -40
  286. package/dist/components/table/PaginatedTable.js +0 -33
  287. package/dist/components/table/Table.js +0 -352
  288. package/dist/components/table/table.cva.js +0 -37
  289. package/dist/components/text/Link/Link.js +0 -18
  290. package/dist/components/text/Link/link.cva.js +0 -18
  291. package/dist/components/text/Tag/Tag.js +0 -49
  292. package/dist/components/text/Tag/tag.cva.js +0 -59
  293. package/dist/components/text/Typography/Typography.js +0 -22
  294. package/dist/components/text/Typography/typography.cva.js +0 -100
  295. package/dist/config/confirmation.context.js +0 -107
  296. package/dist/config/i18n.js +0 -15
  297. package/dist/config/router.context.js +0 -43
  298. package/dist/config/uiConfig.context.js +0 -62
  299. package/dist/config/uiStyle.context.js +0 -16
  300. package/dist/helpers/dynamicColumns.js +0 -359
  301. package/dist/helpers/dynamicInputs.js +0 -214
  302. package/dist/hooks/useAutosave.js +0 -80
  303. package/dist/hooks/useBreakpoint.js +0 -20
  304. package/dist/hooks/useDebounceCallback.js +0 -29
  305. package/dist/hooks/useDeepCompare.js +0 -25
  306. package/dist/hooks/useFilters.js +0 -120
  307. package/dist/hooks/useForm.js +0 -22
  308. package/dist/hooks/useFormAutosave.js +0 -67
  309. package/dist/hooks/useIntersectionObserver.js +0 -27
  310. package/dist/hooks/useLocalStorage.js +0 -63
  311. package/dist/hooks/useLongPressRepeat.js +0 -33
  312. package/dist/hooks/usePagination.js +0 -35
  313. package/dist/hooks/useScrollableListBox.js +0 -30
  314. package/dist/hooks/useSingletonMutation.d.ts +0 -4
  315. package/dist/hooks/useSingletonMutation.js +0 -27
  316. package/dist/hooks/useSorting.js +0 -30
  317. package/dist/hooks/useStateAndRef.js +0 -17
  318. package/dist/hooks/useTableColumnConfig.js +0 -59
  319. package/dist/hooks/useTableNav.js +0 -409
  320. package/dist/hooks/useTranslationMemo.js +0 -14
  321. package/dist/index.js +0 -280
  322. package/dist/utils/array.utils.js +0 -12
  323. package/dist/utils/compoundMapper.js +0 -14
  324. package/dist/utils/date-time.utils.js +0 -77
  325. package/dist/utils/date.utils.js +0 -12
  326. package/dist/utils/dom.utils.js +0 -13
  327. package/dist/utils/file.utils.js +0 -63
  328. package/dist/utils/isEqual.js +0 -94
  329. package/dist/utils/logger.js +0 -19
  330. package/dist/utils/object.utils.js +0 -53
  331. package/dist/utils/queries.utils.js +0 -9
  332. package/dist/utils/rest/interceptors/logging.interceptor.d.ts +0 -2
  333. package/dist/utils/rest/interceptors/logging.interceptor.js +0 -17
  334. package/dist/utils/rest/interceptors/response.interceptor.d.ts +0 -2
  335. package/dist/utils/rest/interceptors/response.interceptor.js +0 -25
  336. package/dist/utils/rest/interceptors/rest-interceptor.js +0 -21
  337. package/dist/utils/rest/rest-client.js +0 -62
  338. package/dist/utils/rest/rest.utils.js +0 -51
  339. package/dist/utils/routing.utils.js +0 -15
  340. package/dist/utils/string.utils.js +0 -12
  341. package/dist/utils/vendor/error-handling.js +0 -119
  342. package/dist/utils/zod.utils.js +0 -25
  343. /package/{dist → src}/assets/icons/AlignCenter.d.ts +0 -0
  344. /package/{dist → src}/assets/icons/AlignLeft.d.ts +0 -0
  345. /package/{dist → src}/assets/icons/AlignLeftRight.d.ts +0 -0
  346. /package/{dist → src}/assets/icons/AlignRight.d.ts +0 -0
  347. /package/{dist → src}/assets/icons/ArrowDropDown.d.ts +0 -0
  348. /package/{dist → src}/assets/icons/ArrowDropUp.d.ts +0 -0
  349. /package/{dist → src}/assets/icons/ArrowLeft.d.ts +0 -0
  350. /package/{dist → src}/assets/icons/ArrowRight.d.ts +0 -0
  351. /package/{dist → src}/assets/icons/Bold.d.ts +0 -0
  352. /package/{dist → src}/assets/icons/BulletedList.d.ts +0 -0
  353. /package/{dist → src}/assets/icons/Calendar.d.ts +0 -0
  354. /package/{dist → src}/assets/icons/Check.d.ts +0 -0
  355. /package/{dist → src}/assets/icons/CheckCircle.d.ts +0 -0
  356. /package/{dist → src}/assets/icons/CheckboxCheckmark.d.ts +0 -0
  357. /package/{dist → src}/assets/icons/CheckboxIndeterminate.d.ts +0 -0
  358. /package/{dist → src}/assets/icons/ChevronDown.d.ts +0 -0
  359. /package/{dist → src}/assets/icons/ChevronLeft.d.ts +0 -0
  360. /package/{dist → src}/assets/icons/ChevronRight.d.ts +0 -0
  361. /package/{dist → src}/assets/icons/ChevronUp.d.ts +0 -0
  362. /package/{dist → src}/assets/icons/ChevronsLeft.d.ts +0 -0
  363. /package/{dist → src}/assets/icons/ChevronsRight.d.ts +0 -0
  364. /package/{dist → src}/assets/icons/Clock.d.ts +0 -0
  365. /package/{dist → src}/assets/icons/Close.d.ts +0 -0
  366. /package/{dist → src}/assets/icons/DateTime.d.ts +0 -0
  367. /package/{dist → src}/assets/icons/Drag.d.ts +0 -0
  368. /package/{dist → src}/assets/icons/File.d.ts +0 -0
  369. /package/{dist → src}/assets/icons/Highlight.d.ts +0 -0
  370. /package/{dist → src}/assets/icons/HighlightOn.d.ts +0 -0
  371. /package/{dist → src}/assets/icons/Info.d.ts +0 -0
  372. /package/{dist → src}/assets/icons/Italic.d.ts +0 -0
  373. /package/{dist → src}/assets/icons/Link.d.ts +0 -0
  374. /package/{dist → src}/assets/icons/Menu.d.ts +0 -0
  375. /package/{dist → src}/assets/icons/NumberedList.d.ts +0 -0
  376. /package/{dist → src}/assets/icons/PointerHorizontal.d.ts +0 -0
  377. /package/{dist → src}/assets/icons/PointerVertical.d.ts +0 -0
  378. /package/{dist → src}/assets/icons/Send.d.ts +0 -0
  379. /package/{dist → src}/assets/icons/Strikethrough.d.ts +0 -0
  380. /package/{dist → src}/assets/icons/TextColor.d.ts +0 -0
  381. /package/{dist → src}/assets/icons/Today.d.ts +0 -0
  382. /package/{dist → src}/assets/icons/Underlined.d.ts +0 -0
  383. /package/{dist → src}/assets/icons/Upload.d.ts +0 -0
  384. /package/{dist → src}/assets/icons/View.d.ts +0 -0
  385. /package/{dist → src}/assets/icons/ViewOff.d.ts +0 -0
  386. /package/{dist/assets/icons/Warningfilled.d.ts → src/assets/icons/WarningFilled.d.ts} +0 -0
  387. /package/{dist → src}/components/Menu/Menu.d.ts +0 -0
  388. /package/{dist → src}/components/buttons/shared/buttonContent.cva.d.ts +0 -0
  389. /package/{dist → src}/components/inputs/DateTime/shared/Calendar.d.ts +0 -0
  390. /package/{dist → src}/components/inputs/DateTime/shared/CalendarCell.d.ts +0 -0
  391. /package/{dist → src}/components/inputs/DateTime/shared/CalendarGrid.d.ts +0 -0
  392. /package/{dist → src}/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -0
  393. /package/{dist → src}/components/inputs/DateTime/shared/DateField.d.ts +0 -0
  394. /package/{dist → src}/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -0
  395. /package/{dist → src}/components/inputs/DateTime/shared/DateTimeDialog.d.ts +0 -0
  396. /package/{dist → src}/components/inputs/DateTime/shared/DateTimeDialogFooter.d.ts +0 -0
  397. /package/{dist → src}/components/inputs/DateTime/shared/MonthPicker.d.ts +0 -0
  398. /package/{dist → src}/components/inputs/DateTime/shared/RangeCalendar.d.ts +0 -0
  399. /package/{dist → src}/components/inputs/DateTime/shared/TimeField.d.ts +0 -0
  400. /package/{dist → src}/components/inputs/DateTime/shared/TimePickerForm.d.ts +0 -0
  401. /package/{dist → src}/components/inputs/DateTime/shared/YearPicker.d.ts +0 -0
  402. /package/{dist → src}/components/inputs/File/FileUpload.d.ts +0 -0
  403. /package/{dist → src}/components/inputs/File/FileUploadContainer.d.ts +0 -0
  404. /package/{dist → src}/components/inputs/File/InputUpload.d.ts +0 -0
  405. /package/{dist → src}/components/inputs/File/index.d.ts +0 -0
  406. /package/{dist → src}/components/inputs/File/shared/FileProgressBar.d.ts +0 -0
  407. /package/{dist → src}/components/inputs/File/shared/InputUploadFilled.d.ts +0 -0
  408. /package/{dist → src}/components/inputs/File/shared/fileUpload.cva.d.ts +0 -0
  409. /package/{dist → src}/components/inputs/File/shared/inputUploadButton.cva.d.ts +0 -0
  410. /package/{dist → src}/components/inputs/FormField/FormFieldError.d.ts +0 -0
  411. /package/{dist → src}/components/inputs/FormField/FormFieldHeader.d.ts +0 -0
  412. /package/{dist → src}/components/inputs/FormField/FormFieldHeaderClose.d.ts +0 -0
  413. /package/{dist → src}/components/inputs/Inputs/Inputs.d.ts +0 -0
  414. /package/{dist → src}/components/inputs/Selection/shared/SelectListBoxSelectionBar.d.ts +0 -0
  415. /package/{dist → src}/components/inputs/TextEditor/Toolbar/ColorPicker.d.ts +0 -0
  416. /package/{dist → src}/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.d.ts +0 -0
  417. /package/{dist → src}/components/inputs/TextEditor/Toolbar/TextEditorToolbar.d.ts +0 -0
  418. /package/{dist → src}/components/inputs/TextEditor/textEditor.types.d.ts +0 -0
  419. /package/{dist → src}/components/inputs/shared/form.types.d.ts +0 -0
  420. /package/{dist → src}/components/inputs/shared/input.cva.d.ts +0 -0
  421. /package/{dist → src}/components/outline.clsx.d.ts +0 -0
  422. /package/{dist → src}/components/overlays/BottomSheet/BottomSheet.d.ts +0 -0
  423. /package/{dist → src}/components/overlays/Drawer/Drawer.d.ts +0 -0
  424. /package/{dist → src}/components/overlays/Modal/modal.cva.d.ts +0 -0
  425. /package/{dist → src}/components/overlays/ResponsivePopover/ResponsivePopover.d.ts +0 -0
  426. /package/{dist → src}/components/overlays/Tooltip/TooltipEllipsis.d.ts +0 -0
  427. /package/{dist → src}/components/segment/Segment.d.ts +0 -0
  428. /package/{dist → src}/components/segment/SegmentItem.d.ts +0 -0
  429. /package/{dist → src}/components/shared/pagination/Pagination.d.ts +0 -0
  430. /package/{dist → src}/components/shared/pagination/minWidth.cva.d.ts +0 -0
  431. /package/{dist → src}/components/status/Alert/alert.cva.d.ts +0 -0
  432. /package/{dist → src}/components/status/Loader/loader.cva.d.ts +0 -0
  433. /package/{dist → src}/components/status/Toast/useToast.d.ts +0 -0
  434. /package/{dist → src}/components/status/shared/status.cva.d.ts +0 -0
  435. /package/{dist → src}/components/table/CellText.d.ts +0 -0
  436. /package/{dist → src}/components/table/ColumnConfig.d.ts +0 -0
  437. /package/{dist → src}/components/table/HeaderText.d.ts +0 -0
  438. /package/{dist → src}/components/table/InfiniteTable.d.ts +0 -0
  439. /package/{dist → src}/components/table/PaginatedTable.d.ts +0 -0
  440. /package/{dist → src}/components/table/Table.d.ts +0 -0
  441. /package/{dist → src}/components/text/Link/link.cva.d.ts +0 -0
  442. /package/{dist → src}/components/text/Tag/tag.cva.d.ts +0 -0
  443. /package/{dist → src}/components/text/Typography/typography.cva.d.ts +0 -0
  444. /package/{dist → src}/config/i18n.d.ts +0 -0
  445. /package/{dist → src}/config/router.context.d.ts +0 -0
  446. /package/{dist → src}/helpers/dynamicColumns.d.ts +0 -0
  447. /package/{dist → src}/hooks/useAutosave.d.ts +0 -0
  448. /package/{dist → src}/hooks/useBreakpoint.d.ts +0 -0
  449. /package/{dist → src}/hooks/useDebounceCallback.d.ts +0 -0
  450. /package/{dist → src}/hooks/useDeepCompare.d.ts +0 -0
  451. /package/{dist → src}/hooks/useFilters.d.ts +0 -0
  452. /package/{dist → src}/hooks/useForm.d.ts +0 -0
  453. /package/{dist → src}/hooks/useIntersectionObserver.d.ts +0 -0
  454. /package/{dist → src}/hooks/useLocalStorage.d.ts +0 -0
  455. /package/{dist → src}/hooks/useLongPressRepeat.d.ts +0 -0
  456. /package/{dist → src}/hooks/usePagination.d.ts +0 -0
  457. /package/{dist → src}/hooks/useScrollableListBox.d.ts +0 -0
  458. /package/{dist → src}/hooks/useSorting.d.ts +0 -0
  459. /package/{dist → src}/hooks/useStateAndRef.d.ts +0 -0
  460. /package/{dist → src}/hooks/useTableColumnConfig.d.ts +0 -0
  461. /package/{dist → src}/hooks/useTableNav.d.ts +0 -0
  462. /package/{dist → src}/hooks/useTranslationMemo.d.ts +0 -0
  463. /package/{dist → src}/types/common.d.ts +0 -0
  464. /package/{dist → src}/utils/array.utils.d.ts +0 -0
  465. /package/{dist → src}/utils/array.utils.spec.d.ts +0 -0
  466. /package/{dist → src}/utils/compoundMapper.d.ts +0 -0
  467. /package/{dist → src}/utils/compoundMapper.spec.d.ts +0 -0
  468. /package/{dist → src}/utils/date-time.utils.d.ts +0 -0
  469. /package/{dist → src}/utils/date-time.utils.spec.d.ts +0 -0
  470. /package/{dist → src}/utils/date.utils.d.ts +0 -0
  471. /package/{dist → src}/utils/date.utils.spec.d.ts +0 -0
  472. /package/{dist → src}/utils/dom.utils.d.ts +0 -0
  473. /package/{dist → src}/utils/file.utils.d.ts +0 -0
  474. /package/{dist → src}/utils/isEqual.d.ts +0 -0
  475. /package/{dist → src}/utils/logger.d.ts +0 -0
  476. /package/{dist → src}/utils/object.utils.d.ts +0 -0
  477. /package/{dist → src}/utils/queries.utils.d.ts +0 -0
  478. /package/{dist/utils/rest → src/utils}/rest.utils.d.ts +0 -0
  479. /package/{dist → src}/utils/routing.utils.d.ts +0 -0
  480. /package/{dist → src}/utils/string.utils.d.ts +0 -0
  481. /package/{dist → src}/utils/vendor/error-handling.d.ts +0 -0
  482. /package/{dist/utils/rest/interceptors → src/utils/vendor}/rest-interceptor.d.ts +0 -0
  483. /package/{dist/styles → styles}/editor.css +0 -0
  484. /package/{dist/styles → styles}/index.css +0 -0
package/package.json CHANGED
@@ -1,69 +1,17 @@
1
1
  {
2
2
  "name": "@povio/ui",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
- "module": "dist/index.js",
6
- "types": "dist/index.d.ts",
5
+ "main": "index.js",
7
6
  "exports": {
8
- ".": "./dist/index.js",
9
- "./styles": "./dist/styles/index.css"
7
+ ".": "./index.ts",
8
+ "./styles": "./index.css"
10
9
  },
11
- "files": [
12
- "dist"
13
- ],
10
+ "types": "./index.d.ts",
14
11
  "homepage": "https://povio.com",
15
12
  "license": "UNLICENSED",
16
13
  "peerDependencies": {
17
14
  "react": "^19.1.0",
18
15
  "react-dom": "^19.1.0"
19
- },
20
- "dependencies": {
21
- "@dnd-kit/core": "^6.3.1",
22
- "@dnd-kit/modifiers": "^9.0.0",
23
- "@dnd-kit/sortable": "^10.0.0",
24
- "@dnd-kit/utilities": "^3.2.2",
25
- "@hookform/resolvers": "^5.2.2",
26
- "@internationalized/date": "^3.10.0",
27
- "@react-aria/button": "^3.14.2",
28
- "@react-aria/calendar": "^3.9.2",
29
- "@react-aria/focus": "^3.21.2",
30
- "@react-aria/i18n": "^3.12.13",
31
- "@react-aria/utils": "^3.31.0",
32
- "@react-stately/calendar": "^3.9.0",
33
- "@react-stately/datepicker": "^3.15.2",
34
- "@react-types/shared": "^3.32.1",
35
- "@tanstack/react-query": "~5.85.9",
36
- "@tanstack/react-table": "^8.21.3",
37
- "@tiptap/core": "^2.26.3",
38
- "@tiptap/extension-color": "^2.26.3",
39
- "@tiptap/extension-heading": "^2.26.3",
40
- "@tiptap/extension-highlight": "^2.26.3",
41
- "@tiptap/extension-link": "^2.26.3",
42
- "@tiptap/extension-placeholder": "^2.26.3",
43
- "@tiptap/extension-text-align": "^2.26.3",
44
- "@tiptap/extension-text-style": "^2.26.3",
45
- "@tiptap/extension-underline": "^2.26.3",
46
- "@tiptap/pm": "^2.26.3",
47
- "@tiptap/react": "^2.26.3",
48
- "@tiptap/starter-kit": "^2.26.3",
49
- "axios": "^1.13.1",
50
- "class-variance-authority": "^0.7.1",
51
- "clsx": "^2.1.1",
52
- "i18next": "^25.6.0",
53
- "loglevel": "^1.9.2",
54
- "loglevel-plugin-prefix": "^0.8.4",
55
- "luxon": "^3.7.2",
56
- "motion": "~12.23.24",
57
- "react-aria": "^3.44.0",
58
- "react-aria-components": "^1.13.0",
59
- "react-hook-form": "^7.65.0",
60
- "react-i18next": "^15.7.4",
61
- "react-responsive": "^10.0.1",
62
- "react-stately": "^3.42.0",
63
- "react-toastify": "^11.0.5",
64
- "react-use-measure": "^2.1.7",
65
- "tailwindcss": "^4.1.15",
66
- "tailwindcss-react-aria-components": "^2.0.1",
67
- "zod": "^4.1.12"
68
16
  }
69
17
  }
Binary file
@@ -1,2 +1,2 @@
1
- import { MenuProps } from './Menu';
1
+ import { MenuProps } from '#ui/components/Menu/Menu';
2
2
  export declare const MenuDesktop: ({ trigger, items, closeDelay, triggerOnHover }: MenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { MenuItem as MenuItemType } from './Menu';
1
+ import { MenuItem as MenuItemType } from '#ui/components/Menu/Menu';
2
2
  type MenuListItemProps = MenuItemType;
3
3
  export declare const MenuItem: ({ label, content, children, ...item }: MenuListItemProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const menuItemClass: string;
@@ -1,2 +1,2 @@
1
- import { MenuProps } from './Menu';
1
+ import { MenuProps } from '#ui/components/Menu/Menu';
2
2
  export declare const MenuMobile: ({ trigger, items }: MenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { PopoverProps as AriaPopoverProps } from 'react-aria-components';
2
- import { MenuProps } from './Menu';
2
+ import { MenuProps } from '#ui/components/Menu/Menu';
3
3
  export interface MenuPopoverProps extends Pick<MenuProps, "items">, AriaPopoverProps {
4
4
  }
5
5
  export declare const MenuPopover: ({ items, ...props }: MenuPopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactElement, SVGProps } from 'react';
2
2
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps, ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
3
- import { ButtonContentVariantProps } from '../shared/buttonContent.cva';
3
+ import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
4
4
  import { ButtonVariantProps } from './button.cva';
5
5
  export type ButtonIconProps<IconOnly extends boolean = false> = {
6
6
  iconOnly?: IconOnly;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { TypographyVariantProps } from '../../text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
3
3
  export declare const button: (props?: ({
4
4
  width?: "fill" | "hug" | null | undefined;
5
5
  size?: "xxs" | "xs" | "s" | "m" | "l" | null | undefined;
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactElement, SVGProps } from 'react';
2
2
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps } from 'react-aria-components';
3
- import { ButtonVariantProps } from '../Button/button.cva';
3
+ import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
4
4
  export interface IconButtonProps extends ButtonVariantProps, Omit<AriaButtonProps, "children"> {
5
5
  label: string;
6
6
  icon: FC<SVGProps<SVGSVGElement>> | ReactElement;
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactElement, RefObject, SVGProps } from 'react';
2
2
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps } from 'react-aria-components';
3
- import { ButtonVariantProps } from '../Button/button.cva';
3
+ import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
4
4
  export interface InlineIconButtonProps extends Omit<AriaButtonProps, "children">, ButtonVariantProps {
5
5
  label: string;
6
6
  icon: FC<SVGProps<SVGSVGElement>> | ReactElement;
@@ -1,7 +1,7 @@
1
1
  import { FC, SVGProps } from 'react';
2
2
  import { ButtonProps as AriaButtonProps, ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
3
- import { PillButtonVariants } from './pillButton.cva';
4
- import { ButtonContentVariantProps } from '../shared/buttonContent.cva';
3
+ import { PillButtonVariants } from '#ui/components/buttons/PillButton/pillButton.cva';
4
+ import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
5
5
  export interface PillButtonProps extends AriaButtonProps, Omit<AriaToggleButtonProps, keyof AriaButtonProps>, ButtonContentVariantProps, PillButtonVariants {
6
6
  children: string;
7
7
  dismissable?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { TypographyVariantProps } from '../../text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
3
3
  export declare const pillButton: (props?: ({
4
4
  color?: "primary" | "secondary" | "success" | "warning" | "error" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,6 +1,6 @@
1
1
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps } from 'react-aria-components';
2
- import { ButtonVariantProps } from '../Button/button.cva';
3
- import { MenuItem } from '../../Menu/Menu';
2
+ import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
3
+ import { MenuItem } from '#ui/components/Menu/Menu';
4
4
  export interface SplitButtonProps extends ButtonVariantProps, Omit<AriaButtonProps, "children"> {
5
5
  label: string;
6
6
  labelRight: string;
@@ -1,7 +1,7 @@
1
1
  import { ButtonProps as AriaButtonProps, LinkProps as AriaLinkProps } from 'react-aria-components';
2
- import { ButtonIconProps } from '../Button/Button';
3
- import { ButtonVariantProps } from '../Button/button.cva';
4
- import { ButtonContentVariantProps } from '../shared/buttonContent.cva';
2
+ import { ButtonIconProps } from '#ui/components/buttons/Button/Button';
3
+ import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
4
+ import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
5
5
  export type TextButtonProps = Omit<ButtonVariantProps, "variant"> & ButtonContentVariantProps & AriaButtonProps & ButtonIconProps<true | false> & {
6
6
  children: string;
7
7
  isLoading?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { ToggleButtonProps as AriaToggleButtonProps } from 'react-aria-components';
2
- import { ButtonIconProps } from '../Button/Button';
3
- import { ButtonVariantProps } from '../Button/button.cva';
4
- import { ButtonContentVariantProps } from '../shared/buttonContent.cva';
2
+ import { ButtonIconProps } from '#ui/components/buttons/Button/Button';
3
+ import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
4
+ import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
5
5
  export type ToggleButtonProps = ButtonVariantProps & ButtonContentVariantProps & AriaToggleButtonProps & ButtonIconProps<true | false> & {
6
6
  children: string;
7
7
  disableTooltip?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { FC, ReactElement, Ref, SVGProps } from 'react';
2
- import { ButtonVariantProps } from '../Button/button.cva';
3
- import { ButtonContentVariantProps } from './buttonContent.cva';
4
- import { TypographyVariantProps } from '../../text/Typography/typography.cva';
2
+ import { ButtonVariantProps } from '#ui/components/buttons/Button/button.cva';
3
+ import { ButtonContentVariantProps } from '#ui/components/buttons/shared/buttonContent.cva';
4
+ import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
5
5
  interface ButtonContentProps extends ButtonContentVariantProps, Pick<ButtonVariantProps, "size"> {
6
6
  ref?: Ref<HTMLHeadingElement>;
7
7
  text: string;
@@ -1,9 +1,9 @@
1
1
  import { ComponentType, ReactElement, Ref, SVGProps } from 'react';
2
2
  import { CheckboxProps as AriaCheckboxProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { CheckboxVariantProps } from './checkbox.cva';
5
- import { FormFieldErrorProps } from '../FormField/FormFieldError';
6
- import { ControlProps } from '../shared/form.types';
4
+ import { CheckboxVariantProps } from '#ui/components/inputs/Checkbox/checkbox.cva';
5
+ import { FormFieldErrorProps } from '#ui/components/inputs/FormField/FormFieldError';
6
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
7
7
  interface CheckboxBaseProps extends FormFieldErrorProps, CheckboxVariantProps, Omit<AriaCheckboxProps, "className"> {
8
8
  ref?: Ref<HTMLLabelElement>;
9
9
  children: string | ReactElement;
@@ -1,5 +1,5 @@
1
1
  import { ComponentType, SVGProps } from 'react';
2
- import { CheckboxVariantProps } from './checkbox.cva';
2
+ import { CheckboxVariantProps } from '#ui/components/inputs/Checkbox/checkbox.cva';
3
3
  interface CheckboxCheckmarkProps extends CheckboxVariantProps {
4
4
  className?: string;
5
5
  selectedIcon?: ComponentType<SVGProps<SVGSVGElement>>;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { TypographyVariantProps } from '../../text/Typography/typography.cva';
2
+ import { TypographyVariantProps } from '#ui/components/text/Typography/typography.cva';
3
3
  export declare const checkbox: (props?: ({
4
4
  variant?: "default" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -2,9 +2,9 @@ import { CalendarDate, DateValue } from '@internationalized/date';
2
2
  import { Ref } from 'react';
3
3
  import { FieldValues } from 'react-hook-form';
4
4
  import { DatePickerStateOptions } from 'react-stately';
5
- import { FormFieldProps } from '../../FormField/FormField';
6
- import { ControlProps } from '../../shared/form.types';
7
- import { InputVariantProps } from '../../shared/input.cva';
5
+ import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
6
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
7
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
8
8
  interface DatePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<DatePickerStateOptions<CalendarDate>, "granularity" | "shouldCloseOnSelect" | "label"> {
9
9
  ref?: Ref<HTMLDivElement>;
10
10
  disableDropdown?: boolean;
@@ -3,9 +3,9 @@ import { Ref } from 'react';
3
3
  import { DateValue } from 'react-aria';
4
4
  import { FieldValues } from 'react-hook-form';
5
5
  import { DateRangePickerStateOptions } from 'react-stately';
6
- import { FormFieldProps } from '../../FormField/FormField';
7
- import { ControlProps } from '../../shared/form.types';
8
- import { InputVariantProps } from '../../shared/input.cva';
6
+ import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
7
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
8
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
9
9
  interface DateRangePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<DateRangePickerStateOptions<CalendarDate>, "granularity" | "shouldCloseOnSelect" | "label"> {
10
10
  ref?: Ref<HTMLDivElement>;
11
11
  disableDropdown?: boolean;
@@ -2,9 +2,9 @@ import { Ref } from 'react';
2
2
  import { DateValue } from 'react-aria';
3
3
  import { FieldValues } from 'react-hook-form';
4
4
  import { DatePickerStateOptions } from 'react-stately';
5
- import { FormFieldProps } from '../../FormField/FormField';
6
- import { ControlProps } from '../../shared/form.types';
7
- import { InputVariantProps } from '../../shared/input.cva';
5
+ import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
6
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
7
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
8
8
  interface DateTimePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<DatePickerStateOptions<DateValue>, "granularity" | "shouldCloseOnSelect" | "label"> {
9
9
  ref?: Ref<HTMLDivElement>;
10
10
  disableDropdown?: boolean;
@@ -1,9 +1,9 @@
1
1
  import { Ref } from 'react';
2
2
  import { AriaTimeFieldProps, TimeValue } from 'react-aria';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '../../FormField/FormField';
5
- import { ControlProps } from '../../shared/form.types';
6
- import { InputVariantProps } from '../../shared/input.cva';
4
+ import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
6
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
7
7
  interface TimePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<AriaTimeFieldProps<TimeValue>, "label"> {
8
8
  ref?: Ref<HTMLDivElement>;
9
9
  disableDropdown?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { AriaButtonProps } from '@react-aria/button';
2
2
  import { CalendarState } from '@react-stately/calendar';
3
3
  import { DatePickerState } from 'react-stately';
4
- import { ToggleState } from './Calendar';
4
+ import { ToggleState } from '#ui/components/inputs/DateTime/shared/Calendar';
5
5
  interface CalendarProps {
6
6
  calendarState: CalendarState;
7
7
  datePickerState?: DatePickerState;
@@ -1,7 +1,7 @@
1
1
  import { Ref } from 'react';
2
2
  import { DatePickerAria } from 'react-aria';
3
- import { FormFieldHeaderProps } from '../../FormField/FormFieldHeader';
4
- import { InputVariantProps } from '../../shared/input.cva';
3
+ import { FormFieldHeaderProps } from '#ui/components/inputs/FormField/FormFieldHeader';
4
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
5
5
  interface DatePickerInputProps extends InputVariantProps {
6
6
  ref?: Ref<HTMLDivElement>;
7
7
  groupProps: DatePickerAria["groupProps"];
@@ -1,8 +1,8 @@
1
1
  import { Ref } from 'react';
2
2
  import { DateFieldAria } from 'react-aria';
3
3
  import { TimeFieldState } from 'react-stately';
4
- import { FormFieldHeaderProps } from '../../FormField/FormFieldHeader';
5
- import { InputVariantProps } from '../../shared/input.cva';
4
+ import { FormFieldHeaderProps } from '#ui/components/inputs/FormField/FormFieldHeader';
5
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
6
6
  interface DatePickerInputProps extends InputVariantProps {
7
7
  ref?: Ref<HTMLDivElement>;
8
8
  fieldProps: DateFieldAria["fieldProps"];
@@ -1,9 +1,9 @@
1
1
  import { ReactNode, Ref } from 'react';
2
2
  import { DropZoneProps, FileTriggerProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '../FormField/FormField';
5
- import { ControlProps } from '../shared/form.types';
6
- import { ApplicationException, GeneralErrorCodes } from '../../../utils/vendor/error-handling';
4
+ import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
6
+ import { ApplicationException, GeneralErrorCodes } from '#ui/utils/vendor/error-handling';
7
7
  export interface FileUploadVariant {
8
8
  variant?: "vertical" | "horizontal";
9
9
  }
@@ -1,8 +1,8 @@
1
1
  import { Ref } from 'react';
2
2
  import { DropZoneProps, FileTriggerProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '../FormField/FormField';
5
- import { ControlProps } from '../shared/form.types';
4
+ import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
6
6
  import { InputUploadButtonProps } from './shared/inputUploadButton.cva';
7
7
  export interface SingleFileUploadProps {
8
8
  allowsMultiple?: false;
@@ -1,4 +1,4 @@
1
- import { FileUploadProps, FileUploadState } from '../FileUpload';
1
+ import { FileUploadProps, FileUploadState } from '#ui/components/inputs/File/FileUpload';
2
2
  interface FileCardProps extends Pick<FileUploadProps, "as" | "isDisabled"> {
3
3
  index: number;
4
4
  state: FileUploadState;
@@ -1,4 +1,4 @@
1
- import { FileUploadProps, FileUploadState } from '../FileUpload';
1
+ import { FileUploadProps, FileUploadState } from '#ui/components/inputs/File/FileUpload';
2
2
  interface FileCardListProps extends Pick<FileUploadProps, "isDisabled" | "as"> {
3
3
  uploadState: FileUploadState[];
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import { FileUploadBaseProps, FileUploadState } from '../fileUpload.types';
1
+ import { FileUploadBaseProps, FileUploadState } from '#ui/components/inputs/File/fileUpload.types';
2
2
  type FileUploadContentProps = Omit<FileUploadBaseProps, "ref" | "children" | "emptyText" | "label"> & {
3
3
  emptyText: string;
4
4
  uploadState: FileUploadState[];
@@ -1,4 +1,4 @@
1
- import { FileUploadBaseProps } from '../fileUpload.types';
1
+ import { FileUploadBaseProps } from '#ui/components/inputs/File/fileUpload.types';
2
2
  type FileUploadContentEmptyProps = Pick<FileUploadBaseProps, "variant" | "as" | "isDisabled" | "emptyText" | "browseText" | "uploadText"> & {
3
3
  title: string;
4
4
  singleFile?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { FileTriggerProps } from 'react-aria-components';
2
- import { FileUploadBaseProps, FileUploadState } from '../fileUpload.types';
2
+ import { FileUploadBaseProps, FileUploadState } from '#ui/components/inputs/File/fileUpload.types';
3
3
  type FileUploadContentErrorProps = Pick<FileUploadBaseProps, "variant" | "as" | "isDisabled" | "emptyText" | "browseText"> & {
4
4
  state: FileUploadState;
5
5
  fileTriggerProps?: FileTriggerProps;
@@ -1,5 +1,5 @@
1
1
  import { FileTriggerProps } from 'react-aria-components';
2
- import { FileUploadBaseProps, FileUploadState } from '../fileUpload.types';
2
+ import { FileUploadBaseProps, FileUploadState } from '#ui/components/inputs/File/fileUpload.types';
3
3
  type FileUploadContentFilledProps = Pick<FileUploadBaseProps, "variant" | "as" | "isDisabled" | "emptyText" | "browseText"> & {
4
4
  state: FileUploadState;
5
5
  fileTriggerProps?: FileTriggerProps;
@@ -1,4 +1,4 @@
1
- import { FileUploadBaseProps, FileUploadState } from '../fileUpload.types';
1
+ import { FileUploadBaseProps, FileUploadState } from '#ui/components/inputs/File/fileUpload.types';
2
2
  type FileUploadContentLoadingProps = Pick<FileUploadBaseProps, "variant" | "as" | "isDisabled" | "emptyText" | "browseText"> & {
3
3
  index: number;
4
4
  state: FileUploadState;
@@ -1,5 +1,5 @@
1
1
  import { DropZoneProps, FileTriggerProps } from 'react-aria-components';
2
- import { InputUploadBaseProps } from '../inputUpload.types';
2
+ import { InputUploadBaseProps } from '#ui/components/inputs/File/inputUpload.types';
3
3
  interface InputUploadContentProps extends Omit<InputUploadBaseProps, "ref"> {
4
4
  onSelect: FileTriggerProps["onSelect"];
5
5
  onDrop: DropZoneProps["onDrop"];
@@ -1,7 +1,7 @@
1
1
  import { PropsWithChildren, Ref } from 'react';
2
- import { FormFieldErrorProps } from './FormFieldError';
3
- import { FormFieldHeaderProps } from './FormFieldHeader';
4
- import { TextInputProps } from '../Input/TextInput/TextInput';
2
+ import { FormFieldErrorProps } from '#ui/components/inputs/FormField/FormFieldError';
3
+ import { FormFieldHeaderProps } from '#ui/components/inputs/FormField/FormFieldHeader';
4
+ import { TextInputProps } from '#ui/components/inputs/Input/TextInput/TextInput';
5
5
  export interface FormFieldProps extends Omit<FormFieldHeaderProps, "className" | "labelProps">, Omit<FormFieldErrorProps, "className"> {
6
6
  hideLabel?: boolean;
7
7
  headerClassName?: string;
@@ -0,0 +1,12 @@
1
+ import { DOMAttributes } from '@react-types/shared';
2
+ import { RefCallback } from 'react';
3
+ import { InputSizeProps } from '#ui/components/inputs/shared/input.cva';
4
+ import { LabelBaseProps } from '#ui/components/inputs/shared/label.cva';
5
+ export interface FormFieldLabelProps extends LabelBaseProps, InputSizeProps {
6
+ label: string;
7
+ isRequired?: boolean;
8
+ isDisabled?: boolean;
9
+ ref?: RefCallback<HTMLOrSVGElement>;
10
+ labelProps?: DOMAttributes<HTMLLabelElement>;
11
+ }
12
+ export declare const FormFieldLabel: ({ ref, as, label, isRequired, isDisabled, labelProps, size }: FormFieldLabelProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import { Ref } from 'react';
2
2
  import { NumberFieldProps as AriaNumberFieldProps } from 'react-aria-components';
3
3
  import { FieldValues } from 'react-hook-form';
4
- import { FormFieldProps } from '../../FormField/FormField';
5
- import { InputContentProps } from '../shared/InputContent';
6
- import { ControlProps } from '../../shared/form.types';
7
- import { InputVariantProps } from '../../shared/input.cva';
4
+ import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
5
+ import { InputContentProps } from '#ui/components/inputs/Input/shared/InputContent';
6
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
7
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
8
8
  interface NumberInputBaseProps extends FormFieldProps, InputVariantProps, Omit<InputContentProps, "ref" | "value" | "onChange">, Omit<AriaNumberFieldProps, "value" | "onChange" | "className"> {
9
9
  ref?: Ref<HTMLInputElement>;
10
10
  placeholder?: string;
@@ -1,6 +1,6 @@
1
1
  import { FieldValues } from 'react-hook-form';
2
- import { TextInputProps } from '../TextInput/TextInput';
3
- import { ControlProps } from '../../shared/form.types';
2
+ import { TextInputProps } from '#ui/components/inputs/Input/TextInput/TextInput';
3
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
4
4
  export interface PasswordInputProps extends Omit<TextInputProps, "type" | "action" | "trailingIcon" | "unit"> {
5
5
  }
6
6
  export type ControlledPasswordInputProps<TFieldValues extends FieldValues> = ControlProps<PasswordInputProps, TFieldValues>;
@@ -2,9 +2,9 @@ import { Ref } from 'react';
2
2
  import { AriaTextFieldProps } from 'react-aria';
3
3
  import { TextAreaProps as AriaTextAreaProps } from 'react-aria-components';
4
4
  import { FieldValues } from 'react-hook-form';
5
- import { FormFieldProps } from '../../FormField/FormField';
6
- import { ControlProps } from '../../shared/form.types';
7
- import { InputVariantProps } from '../../shared/input.cva';
5
+ import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
6
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
7
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
8
8
  interface TextAreaBaseProps extends FormFieldProps, InputVariantProps, Omit<AriaTextAreaProps, "value" | "defaultValue" | "onChange" | "disabled" | "required" | "className" | keyof AriaTextFieldProps>, Omit<AriaTextFieldProps<HTMLTextAreaElement>, "label"> {
9
9
  ref?: Ref<HTMLTextAreaElement>;
10
10
  isClearable?: boolean;
@@ -2,15 +2,16 @@ import { Ref } from 'react';
2
2
  import { AriaTextFieldProps } from 'react-aria';
3
3
  import { InputProps as AriaInputProps } from 'react-aria-components';
4
4
  import { FieldValues } from 'react-hook-form';
5
- import { FormFieldProps } from '../../FormField/FormField';
6
- import { InputContentProps } from '../shared/InputContent';
7
- import { ControlProps } from '../../shared/form.types';
8
- import { InputVariantProps } from '../../shared/input.cva';
5
+ import { FormFieldProps } from '#ui/components/inputs/FormField/FormField';
6
+ import { InputContentProps } from '#ui/components/inputs/Input/shared/InputContent';
7
+ import { ControlProps } from '#ui/components/inputs/shared/form.types';
8
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
9
9
  type AllowedHTMLInputTypeAttribute = "email" | "hidden" | "tel" | "text" | "url";
10
10
  interface TextInputBaseProps extends FormFieldProps, InputVariantProps, Omit<InputContentProps, "ref" | "value" | "onChange">, Omit<AriaInputProps, "value" | "defaultValue" | "onChange" | "disabled" | "required" | "type" | "size" | "className" | keyof AriaTextFieldProps>, Omit<AriaTextFieldProps<HTMLInputElement>, "label"> {
11
11
  ref?: Ref<HTMLInputElement>;
12
12
  inputClassName?: string;
13
13
  type?: AllowedHTMLInputTypeAttribute;
14
+ todayIcon?: boolean;
14
15
  }
15
16
  export interface TextInputProps extends TextInputBaseProps {
16
17
  }
@@ -1,7 +1,7 @@
1
1
  import { CSSProperties, FC, ReactElement, ReactNode, SVGProps } from 'react';
2
- import { InlineIconButtonProps } from '../../../buttons/InlineIconButton/InlineIconButton';
3
- import { FormFieldHeaderProps } from '../../FormField/FormFieldHeader';
4
- import { InputVariantProps } from '../../shared/input.cva';
2
+ import { InlineIconButtonProps } from '#ui/components/buttons/InlineIconButton/InlineIconButton';
3
+ import { FormFieldHeaderProps } from '#ui/components/inputs/FormField/FormFieldHeader';
4
+ import { InputVariantProps } from '#ui/components/inputs/shared/input.cva';
5
5
  export interface InputContentProps {
6
6
  className?: string;
7
7
  unit?: string;
@@ -1,8 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { SubmitErrorHandler, SubmitHandler, UseFormReturn } from 'react-hook-form';
3
3
  import { z } from 'zod';
4
- import { InputComponentProps, InputDefBaseProps } from './InputItem';
5
- import { AllowedComponentType, DefaultComponentType } from '../../../helpers/dynamicInputs';
4
+ import { InputComponentProps, InputDefBaseProps } from '#ui/components/inputs/Inputs/InputItem';
5
+ import { AllowedComponentType, DefaultComponentType } from '#ui/helpers/dynamicInputs';
6
6
  type Capitalize<T extends string> = T extends `${infer First}${infer Rest}` ? `${Uppercase<First>}${Rest}` : T;
7
7
  type FieldProps<TProps = {}> = {
8
8
  label: string;