@povio/ui 2.1.22 → 2.2.1

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 (334) hide show
  1. package/README.md +1 -1
  2. package/dist/{rolldown_runtime.js → _virtual/rolldown:runtime.js} +17 -2
  3. package/dist/assets/icons/{ViewOff.d.ts → Account.d.ts} +1 -1
  4. package/dist/{ArrowDropDown.js → assets/icons/ArrowDropDown.js} +1 -1
  5. package/dist/{ArrowDropUp.js → assets/icons/ArrowDropUp.js} +1 -1
  6. package/dist/{ArrowLeft.js → assets/icons/ArrowLeft.js} +1 -1
  7. package/dist/{ArrowRight.js → assets/icons/ArrowRight.js} +1 -1
  8. package/dist/assets/icons/Board.d.ts +2 -0
  9. package/dist/assets/icons/Calendar.js +15 -0
  10. package/dist/{Check.js → assets/icons/Check.js} +1 -1
  11. package/dist/assets/icons/CheckCircle.js +13 -0
  12. package/dist/{ChevronDown.js → assets/icons/ChevronDown.js} +1 -1
  13. package/dist/{ChevronUp.js → assets/icons/ChevronUp.js} +1 -1
  14. package/dist/assets/icons/Clock.js +13 -0
  15. package/dist/assets/icons/DateTime.js +16 -0
  16. package/dist/assets/icons/DragIndicator.d.ts +2 -0
  17. package/dist/{Drag.js → assets/icons/DragIndicator.js} +2 -2
  18. package/dist/assets/icons/{Drag.d.ts → Edit.d.ts} +1 -1
  19. package/dist/assets/icons/Emoji.d.ts +2 -0
  20. package/dist/assets/icons/File.js +15 -0
  21. package/dist/assets/icons/{View.d.ts → Grid.d.ts} +1 -1
  22. package/dist/{HighlightOn.js → assets/icons/HighlightOn.js} +1 -1
  23. package/dist/assets/icons/Home.d.ts +2 -0
  24. package/dist/assets/icons/Home.js +13 -0
  25. package/dist/assets/icons/Image.d.ts +2 -0
  26. package/dist/assets/icons/ImageError.d.ts +2 -0
  27. package/dist/{Info.js → assets/icons/Info.js} +2 -2
  28. package/dist/assets/icons/Loader.d.ts +2 -0
  29. package/dist/assets/icons/MapPin.d.ts +2 -0
  30. package/dist/assets/icons/Menu.js +13 -0
  31. package/dist/assets/icons/Minus.d.ts +2 -0
  32. package/dist/assets/icons/MoreHoriz.d.ts +2 -0
  33. package/dist/assets/icons/Pause.d.ts +2 -0
  34. package/dist/assets/icons/Plus.d.ts +2 -0
  35. package/dist/assets/icons/Retry.d.ts +2 -0
  36. package/dist/assets/icons/Search.d.ts +2 -0
  37. package/dist/assets/icons/Share.d.ts +2 -0
  38. package/dist/assets/icons/Slash.d.ts +2 -0
  39. package/dist/{TextColor.js → assets/icons/TextColor.js} +1 -1
  40. package/dist/assets/icons/Trash.d.ts +2 -0
  41. package/dist/assets/icons/User.d.ts +2 -0
  42. package/dist/assets/icons/Visibility.d.ts +2 -0
  43. package/dist/assets/icons/Visibility.js +13 -0
  44. package/dist/assets/icons/VisibilityOff.d.ts +2 -0
  45. package/dist/assets/icons/VisibilityOff.js +13 -0
  46. package/dist/assets/icons/WarningOutlined.d.ts +2 -0
  47. package/dist/{translation.js → assets/locales/en/translation.json.js} +0 -8
  48. package/dist/{translation2.js → assets/locales/sl/translation.json.js} +0 -7
  49. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +15 -0
  50. package/dist/components/Breadcrumbs/Breadcrumbs.js +111 -0
  51. package/dist/components/Breadcrumbs/breadcrumbs.cva.d.ts +19 -0
  52. package/dist/components/Breadcrumbs/breadcrumbs.cva.js +22 -0
  53. package/dist/components/Menu/Menu.d.ts +2 -3
  54. package/dist/{Menu2.js → components/Menu/Menu.js} +1 -1
  55. package/dist/components/Menu/MenuDesktop.d.ts +1 -1
  56. package/dist/components/Menu/MenuDesktop.js +12 -0
  57. package/dist/{MenuItem.js → components/Menu/MenuItem.js} +3 -3
  58. package/dist/{MenuMobile.js → components/Menu/MenuMobile.js} +5 -5
  59. package/dist/{MenuPopover.js → components/Menu/MenuPopover.js} +3 -3
  60. package/dist/{menu.cva.js → components/Menu/menu.cva.js} +2 -3
  61. package/dist/components/buttons/Button/Button.d.ts +3 -3
  62. package/dist/components/buttons/Button/Button.js +48 -0
  63. package/dist/{button.cva.js → components/buttons/Button/button.cva.js} +3 -12
  64. package/dist/components/buttons/IconButton/IconButton.d.ts +1 -1
  65. package/dist/components/buttons/IconButton/IconButton.js +17 -0
  66. package/dist/{InlineIconButton.js → components/buttons/InlineIconButton/InlineIconButton.js} +2 -2
  67. package/dist/components/buttons/PillButton/PillButton.d.ts +3 -2
  68. package/dist/components/buttons/PillButton/PillButton.js +33 -0
  69. package/dist/{pillButton.cva.js → components/buttons/PillButton/pillButton.cva.js} +5 -5
  70. package/dist/{SplitButton.js → components/buttons/SplitButton/SplitButton.js} +5 -5
  71. package/dist/components/buttons/TextButton/TextButton.d.ts +0 -1
  72. package/dist/{TextButton.js → components/buttons/TextButton/TextButton.js} +2 -3
  73. package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -1
  74. package/dist/{ToggleButton.js → components/buttons/ToggleButton/ToggleButton.js} +2 -3
  75. package/dist/components/buttons/shared/ButtonContent.d.ts +3 -5
  76. package/dist/components/buttons/shared/ButtonContent.js +35 -0
  77. package/dist/components/buttons/shared/buttonContent.cva.d.ts +4 -0
  78. package/dist/components/buttons/shared/buttonContent.cva.js +36 -0
  79. package/dist/{Checkbox.js → components/inputs/Checkbox/Checkbox.js} +7 -7
  80. package/dist/{CheckboxCheckmark2.js → components/inputs/Checkbox/CheckboxCheckmark.js} +4 -4
  81. package/dist/{checkbox.cva.js → components/inputs/Checkbox/checkbox.cva.js} +2 -2
  82. package/dist/{DatePicker.js → components/inputs/DateTime/DatePicker/DatePicker.js} +11 -11
  83. package/dist/{DateRangePicker.js → components/inputs/DateTime/DateRangePicker/DateRangePicker.js} +15 -15
  84. package/dist/{DateTimePicker.js → components/inputs/DateTime/DateTimePicker/DateTimePicker.js} +11 -11
  85. package/dist/{TimePicker.js → components/inputs/DateTime/TimePicker/TimePicker.js} +10 -10
  86. package/dist/{Calendar2.js → components/inputs/DateTime/shared/Calendar.js} +1 -1
  87. package/dist/{CalendarCell.js → components/inputs/DateTime/shared/CalendarCell.js} +2 -2
  88. package/dist/{CalendarGrid.js → components/inputs/DateTime/shared/CalendarGrid.js} +2 -2
  89. package/dist/{CalendarHeader.js → components/inputs/DateTime/shared/CalendarHeader.js} +5 -5
  90. package/dist/{CalendarSelectHeader.js → components/inputs/DateTime/shared/CalendarSelectHeader.js} +9 -9
  91. package/dist/{DateField.js → components/inputs/DateTime/shared/DateField.js} +1 -1
  92. package/dist/{DatePickerInput.js → components/inputs/DateTime/shared/DatePickerInput.js} +12 -12
  93. package/dist/{DateTimeDialog.js → components/inputs/DateTime/shared/DateTimeDialog.js} +4 -4
  94. package/dist/{DateTimeDialogFooter.js → components/inputs/DateTime/shared/DateTimeDialogFooter.js} +2 -2
  95. package/dist/{MonthPicker.js → components/inputs/DateTime/shared/MonthPicker.js} +1 -1
  96. package/dist/{TimePickerForm.js → components/inputs/DateTime/shared/TimePickerForm.js} +6 -6
  97. package/dist/{TimePickerInput.js → components/inputs/DateTime/shared/TimePickerInput.js} +9 -9
  98. package/dist/{YearPicker.js → components/inputs/DateTime/shared/YearPicker.js} +3 -3
  99. package/dist/{FileUpload.js → components/inputs/File/FileUpload.js} +11 -11
  100. package/dist/{InputUpload.js → components/inputs/File/InputUpload.js} +7 -7
  101. package/dist/components/inputs/File/fileUpload.types.d.ts +1 -1
  102. package/dist/{FileUploadContent.js → components/inputs/File/shared/FileUploadContent.js} +1 -1
  103. package/dist/{FileUploadContentEmpty.js → components/inputs/File/shared/FileUploadContentEmpty.js} +4 -4
  104. package/dist/{FileUploadContentError.js → components/inputs/File/shared/FileUploadContentError.js} +7 -7
  105. package/dist/{FileUploadContentFilled.js → components/inputs/File/shared/FileUploadContentFilled.js} +8 -8
  106. package/dist/{FileUploadContentLoading.js → components/inputs/File/shared/FileUploadContentLoading.js} +7 -7
  107. package/dist/{InputUploadContent.js → components/inputs/File/shared/InputUploadContent.js} +9 -9
  108. package/dist/{InputUploadFilled.js → components/inputs/File/shared/InputUploadFilled.js} +5 -5
  109. package/dist/{ProgressBar.js → components/inputs/File/shared/ProgressBar.js} +1 -1
  110. package/dist/{fileUpload.cva.js → components/inputs/File/shared/fileUpload.cva.js} +1 -1
  111. package/dist/{inputUploadButton.cva.js → components/inputs/File/shared/inputUploadButton.cva.js} +1 -1
  112. package/dist/{FormFieldError.js → components/inputs/FormField/FormFieldError.js} +1 -1
  113. package/dist/{FormFieldHeader.js → components/inputs/FormField/FormFieldHeader.js} +3 -3
  114. package/dist/{FormFieldHeaderClose.js → components/inputs/FormField/FormFieldHeaderClose.js} +2 -2
  115. package/dist/{FormFieldLabel.js → components/inputs/FormField/FormFieldLabel.js} +4 -4
  116. package/dist/{NumberInput.js → components/inputs/Input/NumberInput/NumberInput.js} +8 -8
  117. package/dist/{PasswordInput.js → components/inputs/Input/PasswordInput/PasswordInput.js} +5 -5
  118. package/dist/{TextArea.js → components/inputs/Input/TextArea/TextArea.js} +10 -10
  119. package/dist/{TextInput.js → components/inputs/Input/TextInput/TextInput.js} +8 -8
  120. package/dist/{InputContent.js → components/inputs/Input/shared/InputContent.js} +7 -7
  121. package/dist/{Form.js → components/inputs/Inputs/Form.js} +4 -4
  122. package/dist/components/inputs/Inputs/InputItem.d.ts +1 -1
  123. package/dist/{InputItem.js → components/inputs/Inputs/InputItem.js} +15 -15
  124. package/dist/{RadioGroup.js → components/inputs/RadioGroup/RadioGroup.js} +6 -6
  125. package/dist/{radio.cva.js → components/inputs/RadioGroup/radio.cva.js} +2 -12
  126. package/dist/{Autocomplete.js → components/inputs/Selection/Autocomplete/Autocomplete.js} +2 -2
  127. package/dist/{QueryAutocomplete.js → components/inputs/Selection/Autocomplete/QueryAutocomplete.js} +1 -1
  128. package/dist/{Select.js → components/inputs/Selection/Select/Select.js} +2 -2
  129. package/dist/{SelectBase.js → components/inputs/Selection/shared/SelectBase.js} +2 -2
  130. package/dist/{SelectDesktop.js → components/inputs/Selection/shared/SelectDesktop.js} +4 -4
  131. package/dist/{SelectInput.js → components/inputs/Selection/shared/SelectInput.js} +9 -9
  132. package/dist/{SelectInputTags.js → components/inputs/Selection/shared/SelectInputTags.js} +1 -1
  133. package/dist/{SelectListBox.js → components/inputs/Selection/shared/SelectListBox.js} +1 -1
  134. package/dist/{SelectListBoxItem.js → components/inputs/Selection/shared/SelectListBoxItem.js} +4 -4
  135. package/dist/{SelectListBoxItemSelectAll.js → components/inputs/Selection/shared/SelectListBoxItemSelectAll.js} +3 -3
  136. package/dist/{SelectListBoxLoadingItem.js → components/inputs/Selection/shared/SelectListBoxLoadingItem.js} +4 -4
  137. package/dist/{SelectListBoxSelectionBar.js → components/inputs/Selection/shared/SelectListBoxSelectionBar.js} +2 -2
  138. package/dist/{SelectMobile.js → components/inputs/Selection/shared/SelectMobile.js} +7 -7
  139. package/dist/{select.context.js → components/inputs/Selection/shared/select.context.js} +2 -2
  140. package/dist/{Slider.js → components/inputs/Slider/Slider.js} +6 -6
  141. package/dist/{TextEditor.js → components/inputs/TextEditor/TextEditor.js} +6 -6
  142. package/dist/{ColorPickerDropdown.js → components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js} +4 -4
  143. package/dist/{HyperlinkAction.js → components/inputs/TextEditor/Toolbar/HyperlinkAction.js} +6 -6
  144. package/dist/{TextAlignSelect.js → components/inputs/TextEditor/Toolbar/TextAlignSelect.js} +6 -6
  145. package/dist/{TextColorSelect.js → components/inputs/TextEditor/Toolbar/TextColorSelect.js} +2 -2
  146. package/dist/{TextHighlightSelect.js → components/inputs/TextEditor/Toolbar/TextHighlightSelect.js} +3 -3
  147. package/dist/{TextListActions.js → components/inputs/TextEditor/Toolbar/TextListActions.js} +4 -4
  148. package/dist/{TextMarksActions.js → components/inputs/TextEditor/Toolbar/TextMarksActions.js} +6 -6
  149. package/dist/{TextStyleSelect.js → components/inputs/TextEditor/Toolbar/TextStyleSelect.js} +3 -3
  150. package/dist/{Toggle.js → components/inputs/Toggle/Toggle.js} +6 -6
  151. package/dist/{toggle.cva.js → components/inputs/Toggle/toggle.cva.js} +2 -2
  152. package/dist/{CheckContent.js → components/inputs/shared/CheckContent.js} +3 -3
  153. package/dist/{InputClear.js → components/inputs/shared/InputClear.js} +3 -3
  154. package/dist/{TooltipWrapper.js → components/inputs/shared/TooltipWrapper.js} +1 -1
  155. package/dist/components/inputs/shared/input.cva.d.ts +4 -4
  156. package/dist/{input.cva.js → components/inputs/shared/input.cva.js} +33 -33
  157. package/dist/components/inputs/shared/label.cva.d.ts +2 -2
  158. package/dist/{label.cva.js → components/inputs/shared/label.cva.js} +2 -2
  159. package/dist/components/navigation/Accordion/Accordion.d.ts +3 -0
  160. package/dist/components/navigation/Accordion/Accordion.js +32 -0
  161. package/dist/components/navigation/Accordion/AccordionItem.d.ts +2 -0
  162. package/dist/components/navigation/Accordion/AccordionItem.js +62 -0
  163. package/dist/components/navigation/Accordion/accordion.cva.d.ts +45 -0
  164. package/dist/components/navigation/Accordion/accordion.cva.js +97 -0
  165. package/dist/components/navigation/Accordion/accordion.types.d.ts +52 -0
  166. package/dist/components/navigation/Stepper/Stepper.d.ts +2 -0
  167. package/dist/components/navigation/Stepper/Stepper.js +32 -0
  168. package/dist/components/navigation/Stepper/StepperItem.d.ts +2 -0
  169. package/dist/components/navigation/Stepper/StepperItem.js +52 -0
  170. package/dist/components/navigation/Stepper/StepperSeparator.d.ts +5 -0
  171. package/dist/components/navigation/Stepper/StepperSeparator.js +10 -0
  172. package/dist/components/navigation/Stepper/stepper.cva.d.ts +37 -0
  173. package/dist/components/navigation/Stepper/stepper.cva.js +93 -0
  174. package/dist/components/navigation/Stepper/stepper.types.d.ts +41 -0
  175. package/dist/{ActionModal.js → components/overlays/ActionModal/ActionModal.js} +4 -4
  176. package/dist/{BottomSheet.js → components/overlays/BottomSheet/BottomSheet.js} +8 -8
  177. package/dist/{Drawer.js → components/overlays/Drawer/Drawer.js} +1 -1
  178. package/dist/{Modal.js → components/overlays/Modal/Modal.js} +4 -4
  179. package/dist/{ResponsivePopover.js → components/overlays/ResponsivePopover/ResponsivePopover.js} +4 -4
  180. package/dist/{Tooltip.js → components/overlays/Tooltip/Tooltip.js} +8 -7
  181. package/dist/components/overlays/Tooltip/TooltipEllipsis.d.ts +3 -2
  182. package/dist/{TooltipEllipsis.js → components/overlays/Tooltip/TooltipEllipsis.js} +2 -1
  183. package/dist/{tooltip.cva.js → components/overlays/Tooltip/tooltip.cva.js} +1 -1
  184. package/dist/{Segment.js → components/segment/Segment.js} +5 -5
  185. package/dist/{SegmentItem.js → components/segment/SegmentItem.js} +3 -3
  186. package/dist/{Pagination.js → components/shared/pagination/Pagination.js} +3 -3
  187. package/dist/{PaginationList.js → components/shared/pagination/PaginationList.js} +6 -6
  188. package/dist/{Alert.js → components/status/Alert/Alert.js} +4 -4
  189. package/dist/{Loader.js → components/status/Loader/Loader.js} +1 -1
  190. package/dist/{Toast.js → components/status/Toast/Toast.js} +6 -6
  191. package/dist/{toast.cva.js → components/status/Toast/toast.cva.js} +1 -1
  192. package/dist/{CellText.js → components/table/CellText.js} +1 -1
  193. package/dist/{ColumnConfig.js → components/table/ColumnConfig.js} +5 -5
  194. package/dist/{HeaderText.js → components/table/HeaderText.js} +1 -1
  195. package/dist/{InfiniteTable.js → components/table/InfiniteTable.js} +3 -3
  196. package/dist/{PaginatedTable.js → components/table/PaginatedTable.js} +2 -2
  197. package/dist/{Table.js → components/table/Table.js} +10 -10
  198. package/dist/{table.cva.js → components/table/table.cva.js} +1 -1
  199. package/dist/{Link2.js → components/text/Link/Link.js} +3 -3
  200. package/dist/{link.cva.js → components/text/Link/link.cva.js} +1 -1
  201. package/dist/components/text/Tag/Tag.d.ts +3 -1
  202. package/dist/components/text/Tag/Tag.js +38 -0
  203. package/dist/{tag.cva.js → components/text/Tag/tag.cva.js} +2 -2
  204. package/dist/{Typography.js → components/text/Typography/Typography.js} +2 -2
  205. package/dist/{confirmation.context.js → config/confirmation.context.js} +1 -1
  206. package/dist/config/i18n.d.ts +0 -15
  207. package/dist/config/i18n.js +8 -0
  208. package/dist/{theme.context.js → config/theme.context.js} +1 -1
  209. package/dist/{uiConfig.context.js → config/uiConfig.context.js} +2 -2
  210. package/dist/config/uiStyle.context.d.ts +31 -0
  211. package/dist/{dynamicColumns.js → helpers/dynamicColumns.js} +3 -3
  212. package/dist/{dynamicInputs.js → helpers/dynamicInputs.js} +2 -2
  213. package/dist/{useAutosave.js → hooks/useAutosave.js} +2 -2
  214. package/dist/{useDeepCompare.js → hooks/useDeepCompare.js} +1 -1
  215. package/dist/{useFilters.js → hooks/useFilters.js} +1 -1
  216. package/dist/{useForm.js → hooks/useForm.js} +1 -1
  217. package/dist/{useFormAutosave.js → hooks/useFormAutosave.js} +2 -2
  218. package/dist/{usePagination.js → hooks/usePagination.js} +1 -1
  219. package/dist/{useSorting.js → hooks/useSorting.js} +1 -1
  220. package/dist/{useStateAndRef.js → hooks/useStateAndRef.js} +1 -1
  221. package/dist/{useTableNav.js → hooks/useTableNav.js} +1 -1
  222. package/dist/index.d.ts +13 -7
  223. package/dist/index.js +138 -136
  224. package/dist/node_modules/.pnpm/motion@12.23.28_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/motion/dist/es/react.js +10 -0
  225. package/dist/text-editor.js +1 -1
  226. package/dist/types/error-handling.d.ts +6 -0
  227. package/dist/types/react-query.d.ts +1 -1
  228. package/package.json +2 -3
  229. package/dist/AclGuard.js +0 -12
  230. package/dist/AuthGuard.js +0 -22
  231. package/dist/Button.js +0 -54
  232. package/dist/ButtonContent.js +0 -28
  233. package/dist/Calendar.js +0 -15
  234. package/dist/Can.js +0 -13
  235. package/dist/CheckCircle.js +0 -13
  236. package/dist/Clock.js +0 -13
  237. package/dist/DateTime.js +0 -18
  238. package/dist/File.js +0 -15
  239. package/dist/IconButton.js +0 -12
  240. package/dist/Menu.js +0 -13
  241. package/dist/MenuDesktop.js +0 -54
  242. package/dist/PillButton.js +0 -37
  243. package/dist/Tag.js +0 -42
  244. package/dist/View.js +0 -13
  245. package/dist/ViewOff.js +0 -13
  246. package/dist/ability.context.js +0 -35
  247. package/dist/auth.context.js +0 -37
  248. package/dist/auth.d.ts +0 -6
  249. package/dist/auth.js +0 -6
  250. package/dist/buttonContent.cva.js +0 -10
  251. package/dist/error-handling.js +0 -99
  252. package/dist/i18n.js +0 -8
  253. package/dist/react.js +0 -6
  254. package/dist/rest-interceptor.js +0 -22
  255. package/dist/utils/vendor/acl/AclGuard.d.ts +0 -8
  256. package/dist/utils/vendor/acl/Can.d.ts +0 -9
  257. package/dist/utils/vendor/acl/ability.context.d.ts +0 -15
  258. package/dist/utils/vendor/acl/appAbility.types.d.ts +0 -3
  259. package/dist/utils/vendor/auth/AuthGuard.d.ts +0 -6
  260. package/dist/utils/vendor/auth/auth.context.d.ts +0 -22
  261. package/dist/utils/vendor/error-handling.d.ts +0 -21
  262. package/dist/utils/vendor/rest-client.types.d.ts +0 -23
  263. package/dist/utils/vendor/rest-interceptor.d.ts +0 -8
  264. package/dist/{AlignCenter.js → assets/icons/AlignCenter.js} +0 -0
  265. package/dist/{AlignLeft.js → assets/icons/AlignLeft.js} +0 -0
  266. package/dist/{AlignLeftRight.js → assets/icons/AlignLeftRight.js} +0 -0
  267. package/dist/{AlignRight.js → assets/icons/AlignRight.js} +0 -0
  268. package/dist/{Bold.js → assets/icons/Bold.js} +0 -0
  269. package/dist/{BulletedList.js → assets/icons/BulletedList.js} +0 -0
  270. package/dist/{CheckboxCheckmark.js → assets/icons/CheckboxCheckmark.js} +0 -0
  271. package/dist/{CheckboxIndeterminate.js → assets/icons/CheckboxIndeterminate.js} +0 -0
  272. package/dist/{ChevronLeft.js → assets/icons/ChevronLeft.js} +0 -0
  273. package/dist/{ChevronRight.js → assets/icons/ChevronRight.js} +0 -0
  274. package/dist/{ChevronsLeft.js → assets/icons/ChevronsLeft.js} +0 -0
  275. package/dist/{ChevronsRight.js → assets/icons/ChevronsRight.js} +0 -0
  276. package/dist/{Close.js → assets/icons/Close.js} +0 -0
  277. package/dist/{Highlight.js → assets/icons/Highlight.js} +0 -0
  278. package/dist/{Italic.js → assets/icons/Italic.js} +0 -0
  279. package/dist/{Link.js → assets/icons/Link.js} +0 -0
  280. package/dist/{NumberedList.js → assets/icons/NumberedList.js} +0 -0
  281. package/dist/{PointerHorizontal.js → assets/icons/PointerHorizontal.js} +0 -0
  282. package/dist/{PointerVertical.js → assets/icons/PointerVertical.js} +0 -0
  283. package/dist/{Send.js → assets/icons/Send.js} +0 -0
  284. package/dist/{Strikethrough.js → assets/icons/Strikethrough.js} +0 -0
  285. package/dist/{Today.js → assets/icons/Today.js} +0 -0
  286. package/dist/{Underlined.js → assets/icons/Underlined.js} +0 -0
  287. package/dist/{Upload.js → assets/icons/Upload.js} +0 -0
  288. package/dist/{WarningFilled.js → assets/icons/WarningFilled.js} +0 -0
  289. package/dist/{DateSegmentItem.js → components/inputs/DateTime/shared/DateSegmentItem.js} +0 -0
  290. package/dist/{RangeCalendar.js → components/inputs/DateTime/shared/RangeCalendar.js} +0 -0
  291. package/dist/{TimeField.js → components/inputs/DateTime/shared/TimeField.js} +0 -0
  292. package/dist/{FileUploadContainer.js → components/inputs/File/FileUploadContainer.js} +0 -0
  293. package/dist/{FileCard.js → components/inputs/File/shared/FileCard.js} +0 -0
  294. package/dist/{FileCardList.js → components/inputs/File/shared/FileCardList.js} +0 -0
  295. package/dist/{FormField.js → components/inputs/FormField/FormField.js} +0 -0
  296. package/dist/{Inputs.js → components/inputs/Inputs/Inputs.js} +0 -0
  297. package/dist/{useSelectItems.js → components/inputs/Selection/shared/useSelectItems.js} +1 -1
  298. /package/dist/{ColorPicker.js → components/inputs/TextEditor/Toolbar/ColorPicker.js} +0 -0
  299. /package/dist/{TextEditorToolbar.js → components/inputs/TextEditor/Toolbar/TextEditorToolbar.js} +0 -0
  300. /package/dist/{textEditor.types.js → components/inputs/TextEditor/textEditor.types.js} +0 -0
  301. /package/dist/{outline.clsx.js → components/outline.clsx.js} +0 -0
  302. /package/dist/{modal.cva.js → components/overlays/Modal/modal.cva.js} +0 -0
  303. /package/dist/{segment.cva.js → components/segment/segment.cva.js} +0 -0
  304. /package/dist/{minWidth.cva.js → components/shared/pagination/minWidth.cva.js} +0 -0
  305. /package/dist/{alert.cva.js → components/status/Alert/alert.cva.js} +0 -0
  306. /package/dist/{loader.cva.js → components/status/Loader/loader.cva.js} +0 -0
  307. /package/dist/{useToast.js → components/status/Toast/useToast.js} +0 -0
  308. /package/dist/{status.cva.js → components/status/shared/status.cva.js} +0 -0
  309. /package/dist/{typography.cva.js → components/text/Typography/typography.cva.js} +0 -0
  310. /package/dist/{link.context.js → config/link.context.js} +0 -0
  311. /package/dist/{router.context.js → config/router.context.js} +0 -0
  312. /package/dist/{uiStyle.context.js → config/uiStyle.context.js} +0 -0
  313. /package/dist/{useBreakpoint.js → hooks/useBreakpoint.js} +0 -0
  314. /package/dist/{useDebounceCallback.js → hooks/useDebounceCallback.js} +0 -0
  315. /package/dist/{useIntersectionObserver.js → hooks/useIntersectionObserver.js} +0 -0
  316. /package/dist/{useLocalStorage.js → hooks/useLocalStorage.js} +0 -0
  317. /package/dist/{useLongPressRepeat.js → hooks/useLongPressRepeat.js} +0 -0
  318. /package/dist/{useScrollableListBox.js → hooks/useScrollableListBox.js} +0 -0
  319. /package/dist/{useTableColumnConfig.js → hooks/useTableColumnConfig.js} +0 -0
  320. /package/dist/{useTranslationMemo.js → hooks/useTranslationMemo.js} +0 -0
  321. /package/dist/{array.utils.js → utils/array.utils.js} +0 -0
  322. /package/dist/{compoundMapper.js → utils/compoundMapper.js} +0 -0
  323. /package/dist/{date-time.utils.js → utils/date-time.utils.js} +0 -0
  324. /package/dist/{date.utils.js → utils/date.utils.js} +0 -0
  325. /package/dist/{dom.utils.js → utils/dom.utils.js} +0 -0
  326. /package/dist/{file.utils.js → utils/file.utils.js} +0 -0
  327. /package/dist/{isEqual.js → utils/isEqual.js} +0 -0
  328. /package/dist/{logger.js → utils/logger.js} +0 -0
  329. /package/dist/{object.utils.js → utils/object.utils.js} +0 -0
  330. /package/dist/{queries.utils.js → utils/queries.utils.js} +0 -0
  331. /package/dist/{rest.utils.js → utils/rest.utils.js} +0 -0
  332. /package/dist/{routing.utils.js → utils/routing.utils.js} +0 -0
  333. /package/dist/{string.utils.js → utils/string.utils.js} +0 -0
  334. /package/dist/{zod.utils.js → utils/zod.utils.js} +0 -0
package/README.md CHANGED
@@ -4,7 +4,7 @@ UI Components that match Povio's Atlas Design System.
4
4
 
5
5
  ## Installation
6
6
 
7
- `yarn add @povio/ui`
7
+ `pnpm add @povio/ui`
8
8
 
9
9
  ## Versioning
10
10
 
@@ -2,6 +2,15 @@ var __defProp = Object.defineProperty;
2
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (all, symbols) => {
6
+ let target = {};
7
+ for (var name in all) __defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
11
+ if (symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
12
+ return target;
13
+ };
5
14
  var __copyProps = (to, from, except, desc) => {
6
15
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
7
16
  key = keys[i];
@@ -12,5 +21,11 @@ var __copyProps = (to, from, except, desc) => {
12
21
  }
13
22
  return to;
14
23
  };
15
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
16
- export { __reExport };
24
+ var __reExport = (target, mod, secondTarget, symbols) => {
25
+ if (symbols) {
26
+ __defProp(target, Symbol.toStringTag, { value: "Module" });
27
+ secondTarget && __defProp(secondTarget, Symbol.toStringTag, { value: "Module" });
28
+ }
29
+ __copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default");
30
+ };
31
+ export { __export, __reExport };
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from 'react';
2
- export declare const ViewOffIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const AccountIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -7,7 +7,7 @@ const ArrowDropDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "m12 15-5-5h10z"
10
+ d: "M7.7 10.65q0-.2.137-.35.138-.15.363-.15h7.6q.224 0 .363.15.137.15.137.35 0 .05-.15.35l-3.625 3.625a.8.8 0 0 1-.25.175.7.7 0 0 1-.275.05.7.7 0 0 1-.275-.05.8.8 0 0 1-.25-.175L7.85 11a.47.47 0 0 1-.15-.35"
11
11
  })
12
12
  });
13
13
  export { ArrowDropDownIcon };
@@ -7,7 +7,7 @@ const ArrowDropUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "m7 14 5-5 5 5z"
10
+ d: "M16.3 13.35q0 .2-.137.35a.47.47 0 0 1-.363.15H8.2q-.224 0-.363-.15a.5.5 0 0 1-.137-.35q0-.05.15-.35l3.625-3.625a.8.8 0 0 1 .25-.175.7.7 0 0 1 .275-.05q.15 0 .275.05a.8.8 0 0 1 .25.175L16.15 13a.47.47 0 0 1 .15.35"
11
11
  })
12
12
  });
13
13
  export { ArrowDropUpIcon };
@@ -7,7 +7,7 @@ const ArrowLeftIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "m14 17-5-5 5-5z"
10
+ d: "M13.35 7.7q.2 0 .35.138.15.137.15.362v7.6q0 .225-.15.363a.5.5 0 0 1-.35.137q-.05 0-.35-.15l-3.625-3.625a.8.8 0 0 1-.175-.25.7.7 0 0 1-.05-.275q0-.15.05-.275a.8.8 0 0 1 .175-.25L13 7.85a.47.47 0 0 1 .35-.15"
11
11
  })
12
12
  });
13
13
  export { ArrowLeftIcon };
@@ -7,7 +7,7 @@ const ArrowRightIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "M10 17V7l5 5z"
10
+ d: "M10.65 16.3a.5.5 0 0 1-.35-.137.47.47 0 0 1-.15-.363V8.2q0-.224.15-.362a.5.5 0 0 1 .35-.138q.05 0 .35.15l3.625 3.625a.8.8 0 0 1 .175.25q.05.126.05.275t-.05.275a.8.8 0 0 1-.175.25L11 16.15a.47.47 0 0 1-.35.15"
11
11
  })
12
12
  });
13
13
  export { ArrowRightIcon };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const BoardIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const CalendarIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: /* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ fillRule: "evenodd",
11
+ d: "M15.9 4.045c0-.439-.35-.795-.78-.795s-.78.356-.78.795v.796H9.66v-.796c0-.439-.35-.795-.78-.795s-.78.356-.78.795v.796H6.54c-1.292 0-2.34 1.068-2.34 2.386v11.137c0 1.318 1.048 2.386 2.34 2.386h10.92c1.292 0 2.34-1.068 2.34-2.386V7.227c0-1.318-1.048-2.386-2.34-2.386H15.9zm2.34 5.569V7.227c0-.439-.35-.795-.78-.795H15.9v.795c0 .44-.35.796-.78.796a.79.79 0 0 1-.78-.796v-.795H9.66v.795c0 .44-.35.796-.78.796a.79.79 0 0 1-.78-.796v-.795H6.54c-.43 0-.78.356-.78.795v2.387zm-12.48 1.59h12.48v7.16c0 .439-.35.795-.78.795H6.54a.79.79 0 0 1-.78-.795z",
12
+ clipRule: "evenodd"
13
+ })
14
+ });
15
+ export { CalendarIcon };
@@ -8,7 +8,7 @@ const CheckIcon = (props) => /* @__PURE__ */ jsx("svg", {
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
10
  fillRule: "evenodd",
11
- d: "M20.707 5.293a1 1 0 0 1 0 1.414l-11 11a1 1 0 0 1-1.414 0l-5-5a1 1 0 1 1 1.414-1.414L9 15.586 19.293 5.293a1 1 0 0 1 1.414 0",
11
+ d: "M20.223 6.27a.91.91 0 0 1 0 1.306L9.834 17.73a.96.96 0 0 1-1.335 0l-4.722-4.616a.91.91 0 0 1 0-1.305.96.96 0 0 1 1.335 0l4.055 3.963 9.72-9.502a.96.96 0 0 1 1.336 0",
12
12
  clipRule: "evenodd"
13
13
  })
14
14
  });
@@ -0,0 +1,13 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const CheckCircleIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: /* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ d: "m10.74 13.62-1.935-1.935a.85.85 0 0 0-.63-.248.85.85 0 0 0-.63.248.85.85 0 0 0-.247.63q0 .383.247.63l2.565 2.565q.27.27.63.27t.63-.27l5.085-5.085a.85.85 0 0 0 .248-.63.85.85 0 0 0-.248-.63.85.85 0 0 0-.63-.247.85.85 0 0 0-.63.247zM12 21a8.8 8.8 0 0 1-3.51-.709 9.1 9.1 0 0 1-2.857-1.924 9.1 9.1 0 0 1-1.924-2.857A8.8 8.8 0 0 1 3 12q0-1.867.709-3.51a9.1 9.1 0 0 1 1.924-2.857A9.1 9.1 0 0 1 8.49 3.709 8.8 8.8 0 0 1 12 3q1.867 0 3.51.709a9.1 9.1 0 0 1 2.858 1.924A9.1 9.1 0 0 1 20.29 8.49 8.8 8.8 0 0 1 21 12a8.8 8.8 0 0 1-.709 3.51 9.1 9.1 0 0 1-1.924 2.858 9.1 9.1 0 0 1-2.857 1.923A8.8 8.8 0 0 1 12 21"
11
+ })
12
+ });
13
+ export { CheckCircleIcon };
@@ -8,7 +8,7 @@ const ChevronDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
10
  fillRule: "evenodd",
11
- d: "M5.293 8.293a1 1 0 0 1 1.414 0L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 0-1.414",
11
+ d: "M5.251 8.256a.845.845 0 0 1 1.212 0L11 12.888l4.537-4.632a.845.845 0 0 1 1.212 0 .89.89 0 0 1 0 1.238l-5.143 5.25a.845.845 0 0 1-1.212 0L5.25 9.494a.89.89 0 0 1 0-1.238",
12
12
  clipRule: "evenodd"
13
13
  })
14
14
  });
@@ -8,7 +8,7 @@ const ChevronUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
10
  fillRule: "evenodd",
11
- d: "M11.293 8.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1-1.414 1.414L12 10.414l-5.293 5.293a1 1 0 0 1-1.414-1.414z",
11
+ d: "M10.394 8.256a.845.845 0 0 1 1.212 0l5.143 5.25a.89.89 0 0 1 0 1.238.845.845 0 0 1-1.212 0L11 10.112l-4.537 4.632a.845.845 0 0 1-1.212 0 .89.89 0 0 1 0-1.238z",
12
12
  clipRule: "evenodd"
13
13
  })
14
14
  });
@@ -0,0 +1,13 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const ClockIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: /* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ d: "M12.85 11.66V8.6a.82.82 0 0 0-.244-.606A.82.82 0 0 0 12 7.75a.82.82 0 0 0-.606.244.82.82 0 0 0-.244.606v3.379q0 .17.064.33a.85.85 0 0 0 .191.286L14.21 15.4a.8.8 0 0 0 .595.234q.361 0 .595-.234a.8.8 0 0 0 .234-.595q0-.361-.234-.595zM12 20.5a8.3 8.3 0 0 1-3.315-.67 8.6 8.6 0 0 1-2.699-1.816 8.6 8.6 0 0 1-1.817-2.699A8.3 8.3 0 0 1 3.5 12q0-1.763.67-3.315a8.6 8.6 0 0 1 1.816-2.699A8.6 8.6 0 0 1 8.685 4.17 8.3 8.3 0 0 1 12 3.5q1.763 0 3.315.67a8.6 8.6 0 0 1 2.699 1.816 8.6 8.6 0 0 1 1.817 2.699Q20.5 10.237 20.5 12t-.67 3.315a8.6 8.6 0 0 1-1.816 2.699 8.6 8.6 0 0 1-2.699 1.817A8.3 8.3 0 0 1 12 20.5m0-1.7q2.826 0 4.813-1.987Q18.8 14.827 18.8 12t-1.987-4.813T12 5.2 7.187 7.187Q5.2 9.173 5.2 12t1.987 4.813Q9.173 18.8 12 18.8"
11
+ })
12
+ });
13
+ export { ClockIcon };
@@ -0,0 +1,16 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ const DateTimeIcon = (props) => /* @__PURE__ */ jsxs("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: [/* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ d: "M14.506 2.948a.806.806 0 0 1 .714.804v.769h1.54c1.303 0 2.36 1.067 2.36 2.383l-.002 4.287c0 .285-.1.502-.25.647a.8.8 0 0 1-.549.221c-.199.001-.4-.07-.55-.215a.8.8 0 0 1-.216-.38l-.029-.167-.005-.106.002-1.13H5.078v7.873l.001.009.014.138.002.007c.07.35.377.615.744.615h4.457l.114.003c.25.02.443.111.578.244.154.15.23.354.23.556a.78.78 0 0 1-.23.558.9.9 0 0 1-.579.248l-.11.005H5.84a2.37 2.37 0 0 1-2.348-2.139l-.012-.244V6.904c0-1.316 1.056-2.383 2.36-2.383h1.54v-.769c0-.445.357-.806.798-.807l.088.003a.806.806 0 0 1 .713.804v.769h4.641v-.769c0-.445.357-.806.798-.807zM5.84 6.135c-.42 0-.76.345-.76.769v1.54h12.44v-1.54a.765.765 0 0 0-.76-.769h-1.54v.769l-.015.153a.8.8 0 0 1-.7.65l-.087.003a.8.8 0 0 1-.794-.723l-.004-.083v-.769H8.98v.769l-.015.153a.8.8 0 0 1-.7.65l-.087.003a.8.8 0 0 1-.793-.723l-.004-.083v-.769z"
11
+ }), /* @__PURE__ */ jsx("path", {
12
+ fill: "currentColor",
13
+ d: "M16.25 12.484q1.755 0 2.992 1.248t1.238 3.018q0 1.77-1.238 3.018t-2.992 1.248q-1.755 0-2.992-1.248T12.02 16.75q0-1.77 1.238-3.018t2.992-1.248m0 1.675a.43.43 0 0 0-.312.134.43.43 0 0 0-.133.314v1.95q0 .175.065.34.066.165.195.296l1.297 1.306q.133.135.312.135l.086-.009a.44.44 0 0 0 .225-.125.44.44 0 0 0 .125-.227l.01-.087a.44.44 0 0 0-.135-.314l-1.266-1.278-.024-.023v-1.964a.43.43 0 0 0-.134-.313.43.43 0 0 0-.311-.135"
14
+ })]
15
+ });
16
+ export { DateTimeIcon };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DragIndicatorIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- const DragIcon = (props) => /* @__PURE__ */ jsx("svg", {
2
+ const DragIndicatorIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  fill: "none",
5
5
  viewBox: "0 0 24 24",
@@ -10,4 +10,4 @@ const DragIcon = (props) => /* @__PURE__ */ jsx("svg", {
10
10
  d: "M9 19.615q-.666 0-1.14-.474A1.56 1.56 0 0 1 7.384 18q0-.666.474-1.14A1.56 1.56 0 0 1 9 16.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 9 19.616m6 0q-.666 0-1.14-.474A1.56 1.56 0 0 1 13.384 18q0-.666.474-1.14A1.56 1.56 0 0 1 15 16.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14a1.56 1.56 0 0 1-1.141.475m-6-6q-.666 0-1.14-.474A1.56 1.56 0 0 1 7.384 12q0-.666.474-1.14A1.56 1.56 0 0 1 9 10.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 9 13.616m6 0q-.666 0-1.14-.474A1.56 1.56 0 0 1 13.384 12q0-.666.474-1.14A1.56 1.56 0 0 1 15 10.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14a1.56 1.56 0 0 1-1.141.475m-6-6q-.666 0-1.14-.474A1.56 1.56 0 0 1 7.384 6q0-.666.474-1.14A1.56 1.56 0 0 1 9 4.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 9 7.616m6 0q-.666 0-1.14-.474A1.56 1.56 0 0 1 13.384 6q0-.666.474-1.14A1.56 1.56 0 0 1 15 4.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 15 7.616"
11
11
  })
12
12
  });
13
- export { DragIcon };
13
+ export { DragIndicatorIcon };
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from 'react';
2
- export declare const DragIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const EditIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const EmojiIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const FileIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: /* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ fillRule: "evenodd",
11
+ d: "M12.682 3q.111 0 .213.028l.008.002q.056.017.11.042.024.011.049.025a1 1 0 0 1 .13.084l.051.044.017.015 5.727 5.727.013.014.026.03.015.016q.016.022.03.043.021.028.039.056.018.033.033.067a.8.8 0 0 1 .085.352l-.001.015v8.985A2.455 2.455 0 0 1 16.772 21H6.955A2.456 2.456 0 0 1 4.5 18.545V5.455A2.455 2.455 0 0 1 6.955 3zM6.955 4.637a.82.82 0 0 0-.818.818v13.09a.817.817 0 0 0 .818.818h9.817a.82.82 0 0 0 .819-.818v-8.181h-4.909a.82.82 0 0 1-.818-.819V4.637zm6.546 4.09h2.933l-2.933-2.932z",
12
+ clipRule: "evenodd"
13
+ })
14
+ });
15
+ export { FileIcon };
@@ -1,2 +1,2 @@
1
1
  import { SVGProps } from 'react';
2
- export declare const ViewIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const GridIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- const HighlightOnIcon = ({ highlightColor,...props }) => /* @__PURE__ */ jsx("svg", {
2
+ const HighlightOnIcon = ({ highlightColor, ...props }) => /* @__PURE__ */ jsx("svg", {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  fill: "none",
5
5
  viewBox: "0 0 24 24",
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const HomeIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const HomeIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: /* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ d: "M12 3.33q.649 0 1.151.384l6.001 4.5q.36.263.564.672.204.408.204.864v9q0 .792-.565 1.355A1.85 1.85 0 0 1 18 20.67h-4a.89.89 0 0 1-.656-.264.89.89 0 0 1-.264-.656v-5.08h-2.16v5.08q0 .393-.264.656a.89.89 0 0 1-.656.264H6q-.792 0-1.355-.565a1.85 1.85 0 0 1-.565-1.355v-9a1.9 1.9 0 0 1 .768-1.535l6-4.501A1.85 1.85 0 0 1 12 3.33m-.048 1.856-6 4.5-.032.024v9.12h3.16v-5.08q0-.393.264-.656A.89.89 0 0 1 10 12.83h4q.393 0 .656.264a.89.89 0 0 1 .264.656v5.08h3.16V9.71l-.032-.024-6-4.5L12 5.15z"
11
+ })
12
+ });
13
+ export { HomeIcon };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const ImageIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const ImageErrorIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -7,11 +7,11 @@ const InfoIcon = (props) => /* @__PURE__ */ jsxs("svg", {
7
7
  ...props,
8
8
  children: [/* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "M12 7.8a1 1 0 0 1 1 1V12a1 1 0 1 1-2 0V8.8a1 1 0 0 1 1-1M12 14.2a1 1 0 1 0 0 2h.008a1 1 0 1 0 0-2z"
10
+ d: "M12 8.033c.522 0 .944.423.944.945V12a.944.944 0 1 1-1.888 0V8.978c0-.522.422-.945.944-.945M12 14.078a.944.944 0 1 0 0 1.889h.008a.944.944 0 0 0 0-1.889z"
11
11
  }), /* @__PURE__ */ jsx("path", {
12
12
  fill: "currentColor",
13
13
  fillRule: "evenodd",
14
- d: "M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14",
14
+ d: "M3.5 12a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0M12 5.389a6.611 6.611 0 1 0 0 13.222A6.611 6.611 0 0 0 12 5.39",
15
15
  clipRule: "evenodd"
16
16
  })]
17
17
  });
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const LoaderIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const MapPinIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const MenuIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: /* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ d: "M4 18a.97.97 0 0 1-.712-.288A.97.97 0 0 1 3 17q0-.424.288-.712A.97.97 0 0 1 4 16h16q.424 0 .712.288.288.287.288.712 0 .424-.288.712A.97.97 0 0 1 20 18zm0-5a.97.97 0 0 1-.712-.287A.97.97 0 0 1 3 12q0-.424.288-.713A.97.97 0 0 1 4 11h16q.424 0 .712.287.288.288.288.713 0 .424-.288.713A.97.97 0 0 1 20 13zm0-5a.97.97 0 0 1-.712-.287A.97.97 0 0 1 3 7q0-.424.288-.713A.97.97 0 0 1 4 6h16q.424 0 .712.287Q21 6.576 21 7q0 .424-.288.713A.97.97 0 0 1 20 8z"
11
+ })
12
+ });
13
+ export { MenuIcon };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const MinusIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const MoreHorizIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const PauseIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const PlusIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const RetryIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const SearchIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const ShareIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const SlashIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- const TextColorIcon = ({ textColor,...props }) => /* @__PURE__ */ jsxs("svg", {
2
+ const TextColorIcon = ({ textColor, ...props }) => /* @__PURE__ */ jsxs("svg", {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  fill: "none",
5
5
  viewBox: "0 0 25 24",
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const TrashIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const UserIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const VisibilityIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const VisibilityIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: /* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ d: "M12 5.02q3.102 0 5.66 1.667a12 12 0 0 1 4.04 4.399q.115.207.172.425a1.75 1.75 0 0 1 0 .894 1.8 1.8 0 0 1-.172.425 12 12 0 0 1-4.04 4.4q-2.558 1.666-5.66 1.666T6.34 17.23a12 12 0 0 1-4.04-4.4 1.751 1.751 0 0 1-.173-1.32q.057-.216.172-.424a12 12 0 0 1 4.041-4.4Q8.898 5.022 12 5.02m0 1.816q-2.626 0-4.823 1.383a9.1 9.1 0 0 0-3.36 3.73l-.003.009.004.009a9.1 9.1 0 0 0 3.359 3.73A8.88 8.88 0 0 0 12 17.081q2.627 0 4.823-1.384a9.1 9.1 0 0 0 3.359-3.73l.005-.009-.005-.009a9.1 9.1 0 0 0-3.358-3.73A8.88 8.88 0 0 0 12 6.836m0 .967q1.731 0 2.943 1.212t1.211 2.943-1.211 2.943T12 16.113t-2.943-1.212q-1.212-1.212-1.212-2.943t1.212-2.943T12 7.803m0 1.63q-1.051 0-1.789.737a2.44 2.44 0 0 0-.736 1.788q0 1.05.736 1.788.737.736 1.79.737 1.051 0 1.787-.737.737-.736.737-1.788t-.737-1.788A2.44 2.44 0 0 0 12 9.434"
11
+ })
12
+ });
13
+ export { VisibilityIcon };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const VisibilityOffIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const VisibilityOffIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: /* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ d: "M3.482 3.52q.383 0 .632.249l15.699 15.699a.88.88 0 0 1 .26.62.84.84 0 0 1-.26.643.86.86 0 0 1-.632.25.86.86 0 0 1-.633-.25l-3.232-3.185-.008-.009-.012.004a11 11 0 0 1-3.318.507q-3.088 0-5.646-1.671a12 12 0 0 1-4.034-4.39l-.054-.094a1.5 1.5 0 0 1-.117-.306 1.7 1.7 0 0 1-.057-.445q0-.23.045-.435.046-.204.16-.41l.24-.456q.375-.677.833-1.308A9.4 9.4 0 0 1 4.74 7.001l.016-.014-.015-.015-1.916-1.939a.88.88 0 0 1-.237-.643.88.88 0 0 1 .26-.621.86.86 0 0 1 .633-.25m2.526 4.744a10 10 0 0 0-1.227 1.319q-.556.717-.949 1.55l-.004.009.005.008a9.05 9.05 0 0 0 3.343 3.714 8.84 8.84 0 0 0 4.802 1.377q.462 0 .902-.058t.901-.127l.039-.005-.027-.028-.832-.877-.008-.01-.011.004q-.253.069-.483.103a3 3 0 0 1-.481.034q-1.724 0-2.93-1.206t-1.206-2.93q0-.252.034-.48.035-.231.104-.483l.003-.012-.01-.008-1.938-1.893-.013-.013zm5.97-4.029q3.157 0 5.772 1.66t3.998 4.47a1.7 1.7 0 0 1 .183.777q0 .205-.034.4a1.4 1.4 0 0 1-.125.376 9 9 0 0 1-1.026 1.729q-.457.604-.987 1.131l-.361.343a.75.75 0 0 1-.63.203.82.82 0 0 1-.587-.361 1 1 0 0 1-.193-.691.93.93 0 0 1 .306-.622q.556-.531 1.018-1.157.463-.624.81-1.343l.004-.008-.004-.01A9.05 9.05 0 0 0 16.78 7.42a8.83 8.83 0 0 0-4.801-1.376q-.44 0-.857.034a6 6 0 0 0-.833.127.98.98 0 0 1-.69-.112.93.93 0 0 1-.418-.543.85.85 0 0 1 .079-.7.78.78 0 0 1 .552-.406q.53-.114 1.071-.16.542-.048 1.096-.048m-.322 2.794a3.8 3.8 0 0 1 1.723.218 4.1 4.1 0 0 1 1.517.977q.667.666.976 1.516.271.744.235 1.523l-.017.223v.002a.76.76 0 0 1-.248.575.82.82 0 0 1-.586.236.78.78 0 0 1-.575-.236.78.78 0 0 1-.236-.57 2.3 2.3 0 0 0-.07-1.166 2.4 2.4 0 0 0-.583-.954 2.6 2.6 0 0 0-.953-.604 2.2 2.2 0 0 0-1.188-.095.76.76 0 0 1-.57-.247.82.82 0 0 1-.238-.586q0-.34.236-.575a.78.78 0 0 1 .575-.237z"
11
+ })
12
+ });
13
+ export { VisibilityOffIcon };
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const WarningOutlinedIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -141,14 +141,6 @@ var translation_default = {
141
141
  "smallerThanOrEqual": "Date must be smaller than or equal to {{date}}",
142
142
  "smallerThan": "Date must be smaller than {{date}}"
143
143
  }
144
- },
145
- sharedErrors: {
146
- "dataValidation": "An error occurred while validating the data",
147
- "internalError": "An internal error occurred. This is most likely a bug on our end. Please try again later.",
148
- "networkError": "A network error occurred. Are you connected to the internet?",
149
- "canceledError": "The request was canceled.",
150
- "unknownError": "An unknown error occurred.",
151
- "unknownErrorWithCode": "An unknown error occurred. Error code: \"{{code}}\""
152
144
  }
153
145
  };
154
146
  export { translation_default as default };
@@ -139,13 +139,6 @@ var translation_default = {
139
139
  "smallerThanOrEqual": "Datum mora biti manjši ali enak {{date}}",
140
140
  "smallerThan": "Datum mora biti manjši od {{date}}"
141
141
  }
142
- },
143
- sharedErrors: {
144
- "dataValidation": "Pri preverjanju podatkov je prišlo do napake",
145
- "internalError": "Prišlo je do notranje napake. ",
146
- "networkError": "Prišlo je do napake v omrežju. ",
147
- "canceledError": "Zahteva je bila preklicana.",
148
- "unknownError": "Prišlo je do neznane napake. "
149
142
  }
150
143
  };
151
144
  export { translation_default as default };
@@ -0,0 +1,15 @@
1
+ import { FC, SVGProps } from 'react';
2
+ import { Key } from 'react-aria-components';
3
+ export interface BreadcrumbItem {
4
+ id: Key;
5
+ label: string;
6
+ href?: string;
7
+ icon?: FC<SVGProps<SVGSVGElement>>;
8
+ }
9
+ export interface BreadcrumbsProps {
10
+ items: BreadcrumbItem[];
11
+ className?: string;
12
+ onAction?: (id: Key) => void;
13
+ iconOnly?: boolean;
14
+ }
15
+ export declare const Breadcrumbs: ({ items, className, onAction, iconOnly }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,111 @@
1
+ import { ChevronRightIcon } from "../../assets/icons/ChevronRight.js";
2
+ import { breadcrumbChevron, breadcrumbIcon, breadcrumbItem, breadcrumbSegment, breadcrumbsCva } from "./breadcrumbs.cva.js";
3
+ import { UIStyle } from "../../config/uiStyle.context.js";
4
+ import { MenuDesktop } from "../Menu/MenuDesktop.js";
5
+ import { Typography } from "../text/Typography/Typography.js";
6
+ import { Tooltip as Tooltip$1 } from "../overlays/Tooltip/Tooltip.js";
7
+ import { LinkContext } from "../../config/link.context.js";
8
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
+ import { clsx } from "clsx";
10
+ import { useLayoutEffect, useRef, useState } from "react";
11
+ import { Breadcrumb, Breadcrumbs, Button, Link } from "react-aria-components";
12
+ const Breadcrumbs$1 = ({ items, className, onAction, iconOnly = false }) => {
13
+ const uiStyle = UIStyle.useConfig();
14
+ const breadcrumbsCva$1 = uiStyle?.breadcrumbs?.cva ?? breadcrumbsCva;
15
+ const breadcrumbItem$1 = uiStyle?.breadcrumbs?.itemCva ?? breadcrumbItem;
16
+ const breadcrumbSegmentCva = uiStyle?.breadcrumbs?.segmentCva ?? breadcrumbSegment;
17
+ const breadcrumbChevronCva = uiStyle?.breadcrumbs?.chevronCva ?? breadcrumbChevron;
18
+ const breadcrumbIconCva = uiStyle?.breadcrumbs?.iconCva ?? breadcrumbIcon;
19
+ const containerRef = useRef(null);
20
+ const [isOverflowing, setIsOverflowing] = useState(items.length <= 2 ? false : null);
21
+ useLayoutEffect(() => {
22
+ if (items.length <= 2) {
23
+ setIsOverflowing(false);
24
+ return;
25
+ }
26
+ const container = containerRef.current;
27
+ if (!container) return;
28
+ const resizeObserver = new ResizeObserver(() => {
29
+ setIsOverflowing(container.scrollWidth > container.clientWidth);
30
+ });
31
+ resizeObserver.observe(container);
32
+ return () => resizeObserver.disconnect();
33
+ }, [items]);
34
+ const isReady = isOverflowing !== null;
35
+ const hiddenItems = items.length > 2 ? items.slice(1, -1) : [];
36
+ const firstItem = items[0];
37
+ const lastItem = items[items.length - 1];
38
+ const LinkComponent = LinkContext.useLinkContext()?.LinkComponent ?? Link;
39
+ const renderBreadcrumbLink = (item, isCurrent, iconOnly$1) => /* @__PURE__ */ jsxs(LinkComponent, {
40
+ href: item.href,
41
+ className: breadcrumbItem$1({ isCurrent }),
42
+ children: [item.icon && /* @__PURE__ */ jsx(item.icon, {
43
+ className: breadcrumbIconCva({}),
44
+ "aria-label": item.label
45
+ }), !iconOnly$1 && /* @__PURE__ */ jsx(Typography, {
46
+ variant: "default",
47
+ size: "label-3",
48
+ children: item.label
49
+ })]
50
+ });
51
+ if (isOverflowing === true && items.length > 2) {
52
+ const menuItems = hiddenItems.map((item) => ({
53
+ id: item.id,
54
+ label: item.label,
55
+ href: item.href
56
+ }));
57
+ const renderEllipsis = () => /* @__PURE__ */ jsx(MenuDesktop, {
58
+ trigger: /* @__PURE__ */ jsx(Tooltip$1, {
59
+ text: hiddenItems.map((i) => i.label).join(", "),
60
+ children: /* @__PURE__ */ jsx(Button, {
61
+ "aria-label": "Show hidden breadcrumbs",
62
+ className: breadcrumbItem$1({
63
+ isCurrent: false,
64
+ isEllipsis: true
65
+ }),
66
+ children: /* @__PURE__ */ jsx(Typography, {
67
+ variant: "default",
68
+ size: "label-3",
69
+ children: "..."
70
+ })
71
+ })
72
+ }),
73
+ items: menuItems,
74
+ onAction: onAction ? (key) => onAction(key) : void 0
75
+ });
76
+ return /* @__PURE__ */ jsxs(Breadcrumbs, {
77
+ onAction,
78
+ className: clsx(breadcrumbsCva$1({}), className),
79
+ children: [
80
+ /* @__PURE__ */ jsxs(Breadcrumb, {
81
+ id: firstItem.id,
82
+ className: breadcrumbSegmentCva({}),
83
+ children: [renderBreadcrumbLink(firstItem, false, iconOnly), /* @__PURE__ */ jsx(ChevronRightIcon, { className: breadcrumbChevronCva({}) })]
84
+ }),
85
+ /* @__PURE__ */ jsxs(Breadcrumb, {
86
+ id: "ellipsis",
87
+ className: breadcrumbSegmentCva({}),
88
+ children: [renderEllipsis(), /* @__PURE__ */ jsx(ChevronRightIcon, { className: breadcrumbChevronCva({}) })]
89
+ }),
90
+ /* @__PURE__ */ jsx(Breadcrumb, {
91
+ id: lastItem.id,
92
+ className: breadcrumbSegmentCva({}),
93
+ children: renderBreadcrumbLink(lastItem, true)
94
+ })
95
+ ]
96
+ });
97
+ }
98
+ return /* @__PURE__ */ jsx(Breadcrumbs, {
99
+ ref: containerRef,
100
+ items,
101
+ onAction,
102
+ className: clsx(breadcrumbsCva$1({}), className),
103
+ style: { visibility: isReady ? "visible" : "hidden" },
104
+ children: (item) => /* @__PURE__ */ jsx(Breadcrumb, {
105
+ id: item.id,
106
+ className: breadcrumbSegmentCva({}),
107
+ children: ({ isCurrent }) => /* @__PURE__ */ jsxs(Fragment, { children: [renderBreadcrumbLink(item, isCurrent, iconOnly && item === items[0]), !isCurrent && /* @__PURE__ */ jsx(ChevronRightIcon, { className: breadcrumbChevronCva({}) })] })
108
+ })
109
+ });
110
+ };
111
+ export { Breadcrumbs$1 as Breadcrumbs };
@@ -0,0 +1,19 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ export declare const breadcrumbsCva: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
3
+ export interface BreadcrumbsVariantProps extends VariantProps<typeof breadcrumbsCva> {
4
+ }
5
+ export declare const breadcrumbSegment: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
6
+ export interface BreadcrumbSegmentVariantProps extends VariantProps<typeof breadcrumbSegment> {
7
+ }
8
+ export declare const breadcrumbChevron: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
9
+ export interface BreadcrumbChevronVariantProps extends VariantProps<typeof breadcrumbChevron> {
10
+ }
11
+ export declare const breadcrumbIcon: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
12
+ export interface BreadcrumbIconVariantProps extends VariantProps<typeof breadcrumbIcon> {
13
+ }
14
+ export declare const breadcrumbItem: (props?: ({
15
+ isCurrent?: boolean | null | undefined;
16
+ isEllipsis?: boolean | null | undefined;
17
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
18
+ export interface BreadcrumbItemVariantProps extends VariantProps<typeof breadcrumbItem> {
19
+ }
@@ -0,0 +1,22 @@
1
+ import { cva } from "class-variance-authority";
2
+ const breadcrumbsCva = cva(["flex items-center gap-breadcrumbs-gap-segment-to-segment"]);
3
+ const breadcrumbSegment = cva(["flex items-center gap-breadcrumbs-gap-segment-to-segment"]);
4
+ const breadcrumbChevron = cva(["size-6 shrink-0 text-interactive-text-secondary-idle"]);
5
+ const breadcrumbIcon = cva(["size-4 shrink-0"]);
6
+ const breadcrumbItem = cva(["inline-flex cursor-pointer items-center gap-breadcrumbs-gap-icon-to-text whitespace-nowrap font-inter font-medium text-label-3 no-underline"], {
7
+ variants: {
8
+ isCurrent: {
9
+ true: "text-interactive-text-primary-idle",
10
+ false: "text-interactive-text-secondary-idle hover:text-interactive-text-secondary-hover"
11
+ },
12
+ isEllipsis: {
13
+ true: "hover:text-interactive-text-primary-hover!",
14
+ false: ""
15
+ }
16
+ },
17
+ defaultVariants: {
18
+ isCurrent: false,
19
+ isEllipsis: false
20
+ }
21
+ });
22
+ export { breadcrumbChevron, breadcrumbIcon, breadcrumbItem, breadcrumbSegment, breadcrumbsCva };