@povio/ui 2.1.14 → 2.1.15
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.
- package/README.md +74 -0
- package/dist/AclGuard.js +12 -0
- package/dist/ActionModal.js +51 -0
- package/dist/Alert.js +46 -0
- package/dist/AlignCenter.js +13 -0
- package/dist/AlignLeft.js +13 -0
- package/dist/AlignLeftRight.js +13 -0
- package/dist/AlignRight.js +13 -0
- package/dist/ArrowDropDown.js +13 -0
- package/dist/ArrowDropUp.js +13 -0
- package/dist/ArrowLeft.js +13 -0
- package/dist/ArrowRight.js +13 -0
- package/dist/AuthGuard.js +22 -0
- package/dist/Autocomplete.js +28 -0
- package/dist/Bold.js +13 -0
- package/dist/BottomSheet.js +191 -0
- package/dist/BulletedList.js +13 -0
- package/dist/Button.js +54 -0
- package/dist/ButtonContent.js +28 -0
- package/dist/Calendar.js +15 -0
- package/dist/Calendar2.js +54 -0
- package/dist/CalendarCell.js +130 -0
- package/dist/CalendarGrid.js +50 -0
- package/dist/CalendarHeader.js +75 -0
- package/dist/CalendarSelectHeader.js +170 -0
- package/dist/Can.js +13 -0
- package/dist/CellText.js +13 -0
- package/dist/Check.js +15 -0
- package/dist/CheckCircle.js +13 -0
- package/dist/CheckContent.js +16 -0
- package/dist/Checkbox.js +61 -0
- package/dist/CheckboxCheckmark.js +16 -0
- package/dist/CheckboxCheckmark2.js +25 -0
- package/dist/CheckboxIndeterminate.js +16 -0
- package/dist/ChevronDown.js +15 -0
- package/dist/ChevronLeft.js +15 -0
- package/dist/ChevronRight.js +15 -0
- package/dist/ChevronUp.js +15 -0
- package/dist/ChevronsLeft.js +15 -0
- package/dist/ChevronsRight.js +15 -0
- package/dist/Clock.js +13 -0
- package/dist/Close.js +13 -0
- package/dist/ColorPicker.js +16 -0
- package/dist/ColorPickerDropdown.js +51 -0
- package/dist/ColumnConfig.js +81 -0
- package/dist/DateField.js +89 -0
- package/dist/DatePicker.js +191 -0
- package/dist/DatePickerInput.js +158 -0
- package/dist/DateRangePicker.js +601 -0
- package/dist/DateSegmentItem.js +29 -0
- package/dist/DateTime.js +18 -0
- package/dist/DateTimeDialog.js +49 -0
- package/dist/DateTimeDialogFooter.js +25 -0
- package/dist/DateTimePicker.js +200 -0
- package/dist/Drag.js +13 -0
- package/dist/Drawer.js +43 -0
- package/dist/File.js +15 -0
- package/dist/FileCard.js +50 -0
- package/dist/FileCardList.js +17 -0
- package/dist/FileUpload.js +189 -0
- package/dist/FileUploadContainer.js +12 -0
- package/dist/FileUploadContent.js +61 -0
- package/dist/FileUploadContentEmpty.js +54 -0
- package/dist/FileUploadContentError.js +109 -0
- package/dist/FileUploadContentFilled.js +112 -0
- package/dist/FileUploadContentLoading.js +76 -0
- package/dist/Form.js +42 -0
- package/dist/FormField.js +35 -0
- package/dist/FormFieldError.js +11 -0
- package/dist/FormFieldHeader.js +36 -0
- package/dist/FormFieldHeaderClose.js +15 -0
- package/dist/FormFieldLabel.js +32 -0
- package/dist/HeaderText.js +10 -0
- package/dist/Highlight.js +13 -0
- package/dist/HighlightOn.js +19 -0
- package/dist/HyperlinkAction.js +70 -0
- package/dist/IconButton.js +12 -0
- package/dist/InfiniteTable.js +31 -0
- package/dist/Info.js +18 -0
- package/dist/InlineIconButton.js +13 -0
- package/dist/InputClear.js +19 -0
- package/dist/InputContent.js +94 -0
- package/dist/InputItem.js +54 -0
- package/dist/InputUpload.js +111 -0
- package/dist/InputUploadContent.js +52 -0
- package/dist/InputUploadFilled.js +26 -0
- package/dist/Inputs.js +15 -0
- package/dist/Italic.js +13 -0
- package/dist/Link.js +13 -0
- package/dist/Link2.js +19 -0
- package/dist/Loader.js +32 -0
- package/dist/Menu.js +13 -0
- package/dist/Menu2.js +9 -0
- package/dist/MenuDesktop.js +53 -0
- package/dist/MenuItem.js +21 -0
- package/dist/MenuMobile.js +64 -0
- package/dist/MenuPopover.js +30 -0
- package/dist/Modal.js +49 -0
- package/dist/MonthPicker.js +56 -0
- package/dist/NumberInput.js +132 -0
- package/dist/NumberedList.js +13 -0
- package/dist/PaginatedTable.js +26 -0
- package/dist/Pagination.js +43 -0
- package/dist/PaginationList.js +105 -0
- package/dist/PasswordInput.js +21 -0
- package/dist/PillButton.js +37 -0
- package/dist/PointerHorizontal.js +13 -0
- package/dist/PointerVertical.js +13 -0
- package/dist/ProgressBar.js +25 -0
- package/dist/QueryAutocomplete.js +18 -0
- package/dist/RadioGroup.js +81 -0
- package/dist/RangeCalendar.js +96 -0
- package/dist/ResponsivePopover.js +41 -0
- package/dist/Segment.js +82 -0
- package/dist/SegmentItem.js +23 -0
- package/dist/Select.js +24 -0
- package/dist/SelectBase.js +28 -0
- package/dist/SelectDesktop.js +147 -0
- package/dist/SelectInput.js +159 -0
- package/dist/SelectInputTags.js +29 -0
- package/dist/SelectListBox.js +73 -0
- package/dist/SelectListBoxItem.js +48 -0
- package/dist/SelectListBoxItemSelectAll.js +31 -0
- package/dist/SelectListBoxLoadingItem.js +41 -0
- package/dist/SelectListBoxSelectionBar.js +25 -0
- package/dist/SelectMobile.js +111 -0
- package/dist/Send.js +15 -0
- package/dist/Slider.js +93 -0
- package/dist/SplitButton.js +36 -0
- package/dist/Strikethrough.js +13 -0
- package/dist/Table.js +248 -0
- package/dist/Tag.js +42 -0
- package/dist/TextAlignSelect.js +44 -0
- package/dist/TextArea.js +120 -0
- package/dist/TextButton.js +13 -0
- package/dist/TextColor.js +16 -0
- package/dist/TextColorSelect.js +22 -0
- package/dist/TextEditor.js +143 -0
- package/dist/TextEditorToolbar.js +30 -0
- package/dist/TextHighlightSelect.js +24 -0
- package/dist/TextInput.js +125 -0
- package/dist/TextListActions.js +42 -0
- package/dist/TextMarksActions.js +67 -0
- package/dist/TextStyleSelect.js +52 -0
- package/dist/TimeField.js +17 -0
- package/dist/TimePicker.js +158 -0
- package/dist/TimePickerForm.js +158 -0
- package/dist/TimePickerInput.js +92 -0
- package/dist/Toast.js +58 -0
- package/dist/Today.js +13 -0
- package/dist/Toggle.js +60 -0
- package/dist/ToggleButton.js +13 -0
- package/dist/Tooltip.js +49 -0
- package/dist/TooltipEllipsis.js +18 -0
- package/dist/TooltipWrapper.js +19 -0
- package/dist/Typography.js +14 -0
- package/dist/Underlined.js +15 -0
- package/dist/Upload.js +16 -0
- package/dist/View.js +13 -0
- package/dist/ViewOff.js +13 -0
- package/dist/WarningFilled.js +15 -0
- package/dist/YearPicker.js +64 -0
- package/dist/ability.context.js +35 -0
- package/dist/alert.cva.js +62 -0
- package/dist/array.utils.js +8 -0
- package/dist/auth.context.js +37 -0
- package/dist/auth.js +6 -12
- package/dist/button.cva.js +656 -0
- package/dist/buttonContent.cva.js +10 -0
- package/dist/checkbox.cva.js +47 -0
- package/dist/components/inputs/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.d.ts +2 -2
- package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +5 -0
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +3 -1
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +3 -1
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +3 -1
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/shared/DateField.d.ts +1 -0
- package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +8 -2
- package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -1
- package/dist/components/inputs/File/fileUpload.types.d.ts +1 -0
- package/dist/components/inputs/FormField/FormField.d.ts +4 -1
- package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +4 -2
- package/dist/components/inputs/Input/TextArea/TextArea.d.ts +1 -0
- package/dist/components/inputs/Input/TextInput/TextInput.d.ts +2 -1
- package/dist/components/inputs/Input/shared/InputContent.d.ts +4 -3
- package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +3 -0
- package/dist/components/inputs/TextEditor/TextEditor.d.ts +1 -0
- package/dist/components/inputs/Toggle/Toggle.d.ts +2 -0
- package/dist/components/inputs/shared/CheckContent.d.ts +2 -1
- package/dist/compoundMapper.js +11 -0
- package/dist/config/uiStyle.context.d.ts +2 -1
- package/dist/confirmation.context.js +78 -0
- package/dist/date-time.utils.js +50 -0
- package/dist/date.utils.js +17 -0
- package/dist/dom.utils.js +17 -0
- package/dist/dynamicColumns.js +272 -0
- package/dist/dynamicInputs.js +186 -0
- package/dist/error-handling.js +87 -0
- package/dist/file.utils.js +43 -0
- package/dist/fileUpload.cva.js +49 -0
- package/dist/i18n.js +8 -0
- package/dist/index.js +136 -278
- package/dist/input.cva.js +210 -0
- package/dist/inputUploadButton.cva.js +27 -0
- package/dist/isEqual.js +57 -0
- package/dist/label.cva.js +104 -0
- package/dist/link.context.js +17 -0
- package/dist/link.cva.js +7 -0
- package/dist/loader.cva.js +16 -0
- package/dist/logger.js +17 -0
- package/dist/menu.cva.js +27 -0
- package/dist/minWidth.cva.js +9 -0
- package/dist/modal.cva.js +31 -0
- package/dist/object.utils.js +36 -0
- package/dist/outline.clsx.js +4 -0
- package/dist/pillButton.cva.js +254 -0
- package/dist/queries.utils.js +7 -0
- package/dist/radio.cva.js +42 -0
- package/dist/react.js +6 -0
- package/dist/rest-interceptor.js +22 -0
- package/dist/rest.utils.js +31 -0
- package/dist/rolldown_runtime.js +16 -0
- package/dist/router.context.js +37 -0
- package/dist/routing.utils.js +9 -0
- package/dist/segment.cva.js +25 -0
- package/dist/select.context.js +190 -0
- package/dist/status.cva.js +57 -0
- package/dist/string.utils.js +10 -0
- package/dist/table.cva.js +35 -0
- package/dist/tag.cva.js +50 -0
- package/dist/text-editor.js +2 -4
- package/dist/textEditor.types.js +38 -0
- package/dist/theme.context.js +65 -0
- package/dist/toast.cva.js +158 -0
- package/dist/toggle.cva.js +27 -0
- package/dist/tooltip.cva.js +30 -0
- package/dist/translation.js +147 -0
- package/dist/translation2.js +145 -0
- package/dist/typography.cva.js +124 -0
- package/dist/uiConfig.context.js +58 -0
- package/dist/uiStyle.context.js +16 -0
- package/dist/useAutosave.js +62 -0
- package/dist/useBreakpoint.js +28 -0
- package/dist/useDebounceCallback.js +23 -0
- package/dist/useDeepCompare.js +21 -0
- package/dist/useFilters.js +121 -0
- package/dist/useForm.js +12 -0
- package/dist/useFormAutosave.js +52 -0
- package/dist/useIntersectionObserver.js +23 -0
- package/dist/useLocalStorage.js +35 -0
- package/dist/useLongPressRepeat.js +27 -0
- package/dist/usePagination.js +26 -0
- package/dist/useScrollableListBox.js +24 -0
- package/dist/useSelectItems.js +82 -0
- package/dist/useSorting.js +34 -0
- package/dist/useStateAndRef.js +15 -0
- package/dist/useTableColumnConfig.js +38 -0
- package/dist/useTableNav.js +279 -0
- package/dist/useToast.js +63 -0
- package/dist/useTranslationMemo.js +10 -0
- package/dist/zod.utils.js +17 -0
- package/package.json +14 -14
- package/dist/assets/icons/AlignCenter.js +0 -21
- package/dist/assets/icons/AlignLeft.js +0 -21
- package/dist/assets/icons/AlignLeftRight.js +0 -21
- package/dist/assets/icons/AlignRight.js +0 -21
- package/dist/assets/icons/ArrowDropDown.js +0 -21
- package/dist/assets/icons/ArrowDropUp.js +0 -21
- package/dist/assets/icons/ArrowLeft.js +0 -21
- package/dist/assets/icons/ArrowRight.js +0 -21
- package/dist/assets/icons/Bold.js +0 -21
- package/dist/assets/icons/BulletedList.js +0 -21
- package/dist/assets/icons/Calendar.js +0 -23
- package/dist/assets/icons/Check.js +0 -23
- package/dist/assets/icons/CheckCircle.js +0 -21
- package/dist/assets/icons/CheckboxCheckmark.js +0 -24
- package/dist/assets/icons/CheckboxIndeterminate.js +0 -24
- package/dist/assets/icons/ChevronDown.js +0 -23
- package/dist/assets/icons/ChevronLeft.js +0 -23
- package/dist/assets/icons/ChevronRight.js +0 -23
- package/dist/assets/icons/ChevronUp.js +0 -23
- package/dist/assets/icons/ChevronsLeft.js +0 -23
- package/dist/assets/icons/ChevronsRight.js +0 -23
- package/dist/assets/icons/Clock.js +0 -21
- package/dist/assets/icons/Close.js +0 -21
- package/dist/assets/icons/DateTime.js +0 -32
- package/dist/assets/icons/Drag.js +0 -21
- package/dist/assets/icons/File.js +0 -23
- package/dist/assets/icons/Highlight.js +0 -21
- package/dist/assets/icons/HighlightOn.js +0 -30
- package/dist/assets/icons/Info.js +0 -32
- package/dist/assets/icons/Italic.js +0 -21
- package/dist/assets/icons/Link.js +0 -21
- package/dist/assets/icons/Menu.js +0 -21
- package/dist/assets/icons/NumberedList.js +0 -21
- package/dist/assets/icons/PointerHorizontal.js +0 -21
- package/dist/assets/icons/PointerVertical.js +0 -21
- package/dist/assets/icons/Send.js +0 -23
- package/dist/assets/icons/Strikethrough.js +0 -21
- package/dist/assets/icons/TextColor.js +0 -30
- package/dist/assets/icons/Today.js +0 -21
- package/dist/assets/icons/Underlined.js +0 -23
- package/dist/assets/icons/Upload.js +0 -30
- package/dist/assets/icons/View.js +0 -18
- package/dist/assets/icons/ViewOff.js +0 -18
- package/dist/assets/icons/WarningFilled.js +0 -23
- package/dist/assets/locales/en/translation.json.js +0 -14
- package/dist/assets/locales/sl/translation.json.js +0 -14
- package/dist/components/Menu/Menu.js +0 -14
- package/dist/components/Menu/MenuDesktop.js +0 -74
- package/dist/components/Menu/MenuItem.js +0 -27
- package/dist/components/Menu/MenuMobile.js +0 -83
- package/dist/components/Menu/MenuPopover.js +0 -43
- package/dist/components/Menu/menu.cva.js +0 -45
- package/dist/components/buttons/Button/Button.js +0 -73
- package/dist/components/buttons/Button/button.cva.js +0 -666
- package/dist/components/buttons/IconButton/IconButton.js +0 -17
- package/dist/components/buttons/InlineIconButton/InlineIconButton.js +0 -18
- package/dist/components/buttons/PillButton/PillButton.js +0 -44
- package/dist/components/buttons/PillButton/pillButton.cva.js +0 -268
- package/dist/components/buttons/SplitButton/SplitButton.js +0 -65
- package/dist/components/buttons/TextButton/TextButton.js +0 -18
- package/dist/components/buttons/ToggleButton/ToggleButton.js +0 -21
- package/dist/components/buttons/shared/ButtonContent.js +0 -53
- package/dist/components/buttons/shared/buttonContent.cva.js +0 -16
- package/dist/components/inputs/Checkbox/Checkbox.js +0 -81
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +0 -32
- package/dist/components/inputs/Checkbox/checkbox.cva.js +0 -51
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +0 -251
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +0 -689
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +0 -265
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +0 -217
- package/dist/components/inputs/DateTime/shared/Calendar.js +0 -85
- package/dist/components/inputs/DateTime/shared/CalendarCell.js +0 -160
- package/dist/components/inputs/DateTime/shared/CalendarGrid.js +0 -67
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +0 -89
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +0 -203
- package/dist/components/inputs/DateTime/shared/DateField.js +0 -77
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +0 -206
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +0 -55
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +0 -76
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +0 -47
- package/dist/components/inputs/DateTime/shared/MonthPicker.js +0 -82
- package/dist/components/inputs/DateTime/shared/RangeCalendar.js +0 -133
- package/dist/components/inputs/DateTime/shared/TimeField.js +0 -26
- package/dist/components/inputs/DateTime/shared/TimePickerForm.js +0 -186
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +0 -125
- package/dist/components/inputs/DateTime/shared/YearPicker.js +0 -89
- package/dist/components/inputs/File/FileUpload.js +0 -257
- package/dist/components/inputs/File/FileUploadContainer.js +0 -17
- package/dist/components/inputs/File/InputUpload.js +0 -174
- package/dist/components/inputs/File/shared/FileCard.js +0 -67
- package/dist/components/inputs/File/shared/FileCardList.js +0 -20
- package/dist/components/inputs/File/shared/FileUploadContent.js +0 -92
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +0 -92
- package/dist/components/inputs/File/shared/FileUploadContentError.js +0 -167
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +0 -173
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +0 -128
- package/dist/components/inputs/File/shared/InputUploadContent.js +0 -73
- package/dist/components/inputs/File/shared/InputUploadFilled.js +0 -45
- package/dist/components/inputs/File/shared/ProgressBar.js +0 -42
- package/dist/components/inputs/File/shared/fileUpload.cva.js +0 -58
- package/dist/components/inputs/File/shared/inputUploadButton.cva.js +0 -49
- package/dist/components/inputs/FormField/FormField.js +0 -54
- package/dist/components/inputs/FormField/FormFieldError.js +0 -16
- package/dist/components/inputs/FormField/FormFieldHeader.js +0 -57
- package/dist/components/inputs/FormField/FormFieldHeaderClose.js +0 -20
- package/dist/components/inputs/FormField/FormFieldLabel.js +0 -37
- package/dist/components/inputs/Input/NumberInput/NumberInput.js +0 -166
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -26
- package/dist/components/inputs/Input/TextArea/TextArea.js +0 -155
- package/dist/components/inputs/Input/TextInput/TextInput.js +0 -162
- package/dist/components/inputs/Input/shared/InputContent.js +0 -114
- package/dist/components/inputs/Inputs/Form.js +0 -68
- package/dist/components/inputs/Inputs/InputItem.js +0 -61
- package/dist/components/inputs/Inputs/Inputs.js +0 -32
- package/dist/components/inputs/RadioGroup/RadioGroup.js +0 -103
- package/dist/components/inputs/RadioGroup/radio.cva.js +0 -57
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +0 -39
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +0 -25
- package/dist/components/inputs/Selection/Select/Select.js +0 -32
- package/dist/components/inputs/Selection/shared/SelectBase.js +0 -27
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +0 -223
- package/dist/components/inputs/Selection/shared/SelectInput.js +0 -234
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +0 -49
- package/dist/components/inputs/Selection/shared/SelectListBox.js +0 -127
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +0 -78
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +0 -45
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +0 -47
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +0 -42
- package/dist/components/inputs/Selection/shared/SelectMobile.js +0 -165
- package/dist/components/inputs/Selection/shared/select.context.js +0 -244
- package/dist/components/inputs/Selection/shared/useSelectItems.js +0 -94
- package/dist/components/inputs/Slider/Slider.js +0 -137
- package/dist/components/inputs/TextEditor/TextEditor.js +0 -223
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +0 -34
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +0 -80
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +0 -92
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +0 -56
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +0 -33
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +0 -31
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +0 -37
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +0 -51
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +0 -73
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +0 -61
- package/dist/components/inputs/TextEditor/textEditor.types.js +0 -40
- package/dist/components/inputs/Toggle/Toggle.js +0 -65
- package/dist/components/inputs/Toggle/toggle.cva.js +0 -44
- package/dist/components/inputs/shared/CheckContent.js +0 -22
- package/dist/components/inputs/shared/InputClear.js +0 -27
- package/dist/components/inputs/shared/TooltipWrapper.js +0 -23
- package/dist/components/inputs/shared/input.cva.js +0 -174
- package/dist/components/inputs/shared/label.cva.js +0 -128
- package/dist/components/outline.clsx.js +0 -11
- package/dist/components/overlays/ActionModal/ActionModal.js +0 -80
- package/dist/components/overlays/BottomSheet/BottomSheet.js +0 -261
- package/dist/components/overlays/Drawer/Drawer.js +0 -84
- package/dist/components/overlays/Modal/Modal.js +0 -64
- package/dist/components/overlays/Modal/modal.cva.js +0 -53
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +0 -71
- package/dist/components/overlays/Tooltip/Tooltip.js +0 -92
- package/dist/components/overlays/Tooltip/TooltipEllipsis.js +0 -27
- package/dist/components/overlays/Tooltip/tooltip.cva.js +0 -60
- package/dist/components/segment/Segment.js +0 -118
- package/dist/components/segment/SegmentItem.js +0 -35
- package/dist/components/segment/segment.cva.js +0 -35
- package/dist/components/shared/pagination/Pagination.js +0 -75
- package/dist/components/shared/pagination/PaginationList.js +0 -145
- package/dist/components/shared/pagination/minWidth.cva.js +0 -15
- package/dist/components/status/Alert/Alert.js +0 -41
- package/dist/components/status/Alert/alert.cva.js +0 -64
- package/dist/components/status/Loader/Loader.js +0 -37
- package/dist/components/status/Loader/loader.cva.js +0 -27
- package/dist/components/status/Toast/Toast.js +0 -65
- package/dist/components/status/Toast/toast.cva.js +0 -150
- package/dist/components/status/Toast/useToast.js +0 -94
- package/dist/components/status/shared/status.cva.js +0 -62
- package/dist/components/table/CellText.js +0 -18
- package/dist/components/table/ColumnConfig.js +0 -124
- package/dist/components/table/HeaderText.js +0 -15
- package/dist/components/table/InfiniteTable.js +0 -40
- package/dist/components/table/PaginatedTable.js +0 -33
- package/dist/components/table/Table.js +0 -370
- package/dist/components/table/table.cva.js +0 -63
- package/dist/components/text/Link/Link.js +0 -24
- package/dist/components/text/Link/link.cva.js +0 -18
- package/dist/components/text/Tag/Tag.js +0 -49
- package/dist/components/text/Tag/tag.cva.js +0 -59
- package/dist/components/text/Typography/Typography.js +0 -22
- package/dist/components/text/Typography/typography.cva.js +0 -100
- package/dist/config/confirmation.context.js +0 -107
- package/dist/config/i18n.js +0 -15
- package/dist/config/link.context.js +0 -19
- package/dist/config/router.context.js +0 -39
- package/dist/config/theme.context.js +0 -73
- package/dist/config/uiConfig.context.js +0 -69
- package/dist/config/uiStyle.context.js +0 -16
- package/dist/helpers/dynamicColumns.js +0 -359
- package/dist/helpers/dynamicInputs.js +0 -212
- package/dist/hooks/useAutosave.js +0 -83
- package/dist/hooks/useBreakpoint.js +0 -33
- package/dist/hooks/useDebounceCallback.js +0 -29
- package/dist/hooks/useDeepCompare.js +0 -25
- package/dist/hooks/useFilters.js +0 -160
- package/dist/hooks/useForm.js +0 -22
- package/dist/hooks/useFormAutosave.js +0 -67
- package/dist/hooks/useIntersectionObserver.js +0 -27
- package/dist/hooks/useLocalStorage.js +0 -54
- package/dist/hooks/useLongPressRepeat.js +0 -33
- package/dist/hooks/usePagination.js +0 -35
- package/dist/hooks/useScrollableListBox.js +0 -30
- package/dist/hooks/useSorting.js +0 -32
- package/dist/hooks/useStateAndRef.js +0 -17
- package/dist/hooks/useTableColumnConfig.js +0 -63
- package/dist/hooks/useTableNav.js +0 -394
- package/dist/hooks/useTranslationMemo.js +0 -14
- package/dist/utils/array.utils.js +0 -12
- package/dist/utils/compoundMapper.js +0 -14
- package/dist/utils/date-time.utils.js +0 -77
- package/dist/utils/date.utils.js +0 -23
- package/dist/utils/dom.utils.js +0 -13
- package/dist/utils/file.utils.js +0 -63
- package/dist/utils/isEqual.js +0 -95
- package/dist/utils/logger.js +0 -19
- package/dist/utils/object.utils.js +0 -53
- package/dist/utils/queries.utils.js +0 -9
- package/dist/utils/rest.utils.js +0 -51
- package/dist/utils/routing.utils.js +0 -15
- package/dist/utils/string.utils.js +0 -12
- package/dist/utils/vendor/acl/AclGuard.js +0 -14
- package/dist/utils/vendor/acl/Can.js +0 -18
- package/dist/utils/vendor/acl/ability.context.js +0 -37
- package/dist/utils/vendor/auth/AuthGuard.js +0 -26
- package/dist/utils/vendor/auth/auth.context.js +0 -41
- package/dist/utils/vendor/error-handling.js +0 -119
- package/dist/utils/vendor/rest-interceptor.js +0 -21
- package/dist/utils/zod.utils.js +0 -21
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { logger } from "./logger.js";
|
|
2
|
+
var Keys = /* @__PURE__ */ function(Keys$1) {
|
|
3
|
+
Keys$1["Enter"] = "Enter";
|
|
4
|
+
Keys$1["Escape"] = "Escape";
|
|
5
|
+
Keys$1["Shift"] = "Shift";
|
|
6
|
+
Keys$1["Control"] = "Control";
|
|
7
|
+
Keys$1["Home"] = "Home";
|
|
8
|
+
Keys$1["End"] = "End";
|
|
9
|
+
Keys$1["Backspace"] = "Backspace";
|
|
10
|
+
Keys$1["PageUp"] = "PageUp";
|
|
11
|
+
Keys$1["PageDown"] = "PageDown";
|
|
12
|
+
Keys$1["ArrowLeft"] = "ArrowLeft";
|
|
13
|
+
Keys$1["ArrowUp"] = "ArrowUp";
|
|
14
|
+
Keys$1["ArrowRight"] = "ArrowRight";
|
|
15
|
+
Keys$1["ArrowDown"] = "ArrowDown";
|
|
16
|
+
Keys$1["F2"] = "F2";
|
|
17
|
+
return Keys$1;
|
|
18
|
+
}(Keys || {});
|
|
19
|
+
var Selectors = {
|
|
20
|
+
Cell: "[role=\"cell\"],[role=\"gridcell\"],[role=\"columnheader\"],[role=\"rowheader\"],td,th",
|
|
21
|
+
Row: "[role=\"row\"],tr",
|
|
22
|
+
RowGroup: "[role=\"rowgroup\"],thead,tbody,tfoot",
|
|
23
|
+
Focusable: "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not([aria-disabled=\"true\"]):not([tabindex=\"-1\"]):not(:disabled),*[tabindex]"
|
|
24
|
+
};
|
|
25
|
+
var DataGridNav = class {
|
|
26
|
+
constructor(config = {}) {
|
|
27
|
+
this.keys = [];
|
|
28
|
+
this.activeCell = null;
|
|
29
|
+
this.debugLog = (functionName, message) => {
|
|
30
|
+
if (this.debug) logger.info(`[${functionName}]: ${message}`);
|
|
31
|
+
};
|
|
32
|
+
const { selectors = {}, pageUpDown, debug = false } = config;
|
|
33
|
+
this.selectors = {
|
|
34
|
+
...Selectors,
|
|
35
|
+
...selectors
|
|
36
|
+
};
|
|
37
|
+
this.pageUpDown = pageUpDown;
|
|
38
|
+
this.keys = [];
|
|
39
|
+
this.debug = debug;
|
|
40
|
+
this.disabled = false;
|
|
41
|
+
}
|
|
42
|
+
disable() {
|
|
43
|
+
this.disabled = true;
|
|
44
|
+
}
|
|
45
|
+
enable() {
|
|
46
|
+
this.disabled = false;
|
|
47
|
+
}
|
|
48
|
+
isFocusable(el) {
|
|
49
|
+
return el instanceof HTMLElement || el instanceof SVGElement;
|
|
50
|
+
}
|
|
51
|
+
getActiveCell() {
|
|
52
|
+
return this.activeCell;
|
|
53
|
+
}
|
|
54
|
+
tableKeyUp() {
|
|
55
|
+
this.keys = [];
|
|
56
|
+
}
|
|
57
|
+
tableKeyDown(e) {
|
|
58
|
+
if (this.disabled) return;
|
|
59
|
+
if (Keys.ArrowDown === e.key || Keys.ArrowUp === e.key || Keys.ArrowLeft === e.key || Keys.ArrowRight === e.key) e.preventDefault();
|
|
60
|
+
if (this.keys.length === 0 || this.keys[this.keys.length - 1] !== e.key) this.keys.push(e.key);
|
|
61
|
+
if (!(e.target instanceof Element)) return;
|
|
62
|
+
const cell = e.target.parentElement?.closest(`${this.selectors.Cell},${this.selectors.Row}`);
|
|
63
|
+
if (!cell) return;
|
|
64
|
+
if (cell.matches(this.selectors.Cell)) this.cellNavigation(e);
|
|
65
|
+
else this.gridNavigation(e);
|
|
66
|
+
}
|
|
67
|
+
cellNavigation(e) {
|
|
68
|
+
if (!(e.target instanceof Element)) return;
|
|
69
|
+
if (e.key === Keys.Escape) {
|
|
70
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
71
|
+
if (cell && this.isFocusable(cell)) {
|
|
72
|
+
cell.focus();
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
if (e.key === Keys.ArrowRight || e.key === Keys.ArrowDown) {
|
|
77
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
78
|
+
if (!cell) return;
|
|
79
|
+
const focusableWidgets = [...cell.querySelectorAll(this.selectors.Focusable)];
|
|
80
|
+
const widgetIdx = focusableWidgets.findIndex((el) => el === e.target);
|
|
81
|
+
const widgetToFocus = focusableWidgets[widgetIdx === focusableWidgets.length - 1 ? 0 : widgetIdx + 1];
|
|
82
|
+
if (this.isFocusable(widgetToFocus)) widgetToFocus.focus();
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (e.key === Keys.ArrowLeft || e.key === Keys.ArrowUp) {
|
|
86
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
87
|
+
if (!cell) return;
|
|
88
|
+
const focusableWidgets = [...cell.querySelectorAll(this.selectors.Focusable)];
|
|
89
|
+
const widgetIdx = focusableWidgets.findIndex((el) => el === e.target);
|
|
90
|
+
const widgetToFocus = focusableWidgets[widgetIdx === 0 ? focusableWidgets.length - 1 : widgetIdx - 1];
|
|
91
|
+
if (this.isFocusable(widgetToFocus)) widgetToFocus.focus();
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
gridNavigation(e) {
|
|
95
|
+
const { target } = e;
|
|
96
|
+
if (!(e.target instanceof Element)) return;
|
|
97
|
+
if (!(target instanceof Element)) return;
|
|
98
|
+
if (this.keys.length === 1) {
|
|
99
|
+
if (/^[a-zA-Z0-9]$/.test(e.key)) {
|
|
100
|
+
const cell = e.target.querySelector(this.selectors.Focusable);
|
|
101
|
+
if (cell && this.isFocusable(cell) && cell instanceof HTMLInputElement) {
|
|
102
|
+
cell.focus();
|
|
103
|
+
cell.value = `${cell.value}${e.key}`;
|
|
104
|
+
e.preventDefault();
|
|
105
|
+
}
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
if (e.key === Keys.Backspace) {
|
|
109
|
+
const cell = e.target.querySelector(this.selectors.Focusable);
|
|
110
|
+
if (cell && this.isFocusable(cell) && cell instanceof HTMLInputElement) {
|
|
111
|
+
const nativeInputValueSetter = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")?.set;
|
|
112
|
+
if (nativeInputValueSetter) {
|
|
113
|
+
nativeInputValueSetter.call(cell, "");
|
|
114
|
+
const ev = new Event("input", { bubbles: true });
|
|
115
|
+
cell.dispatchEvent(ev);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
if (e.key === Keys.Enter) {
|
|
121
|
+
const cell = e.target.querySelector(this.selectors.Focusable);
|
|
122
|
+
if (cell && this.isFocusable(cell)) {
|
|
123
|
+
if (cell.getAttribute("data-type") === "select-trigger") {
|
|
124
|
+
cell.click();
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
cell.focus();
|
|
128
|
+
e.preventDefault();
|
|
129
|
+
}
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
if (e.key === Keys.ArrowLeft || e.key === Keys.ArrowRight) {
|
|
133
|
+
const direction = e.key === Keys.ArrowLeft ? "prev" : "next";
|
|
134
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
135
|
+
let nextCell = null;
|
|
136
|
+
if (direction === "next" && cell?.nextElementSibling instanceof HTMLElement) nextCell = cell.nextElementSibling;
|
|
137
|
+
if (direction === "prev" && cell?.previousElementSibling instanceof HTMLElement) nextCell = cell.previousElementSibling;
|
|
138
|
+
if (nextCell && this.isFocusable(nextCell)) {
|
|
139
|
+
nextCell.focus();
|
|
140
|
+
e.preventDefault();
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
if (e.key === Keys.ArrowDown || e.key === Keys.ArrowUp) {
|
|
144
|
+
this.verticalCellNavigation(e);
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
if (e.key === Keys.PageUp || e.key === Keys.PageDown) {
|
|
148
|
+
this.pageCellNavigation(e);
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
if (e.key === Keys.Home || e.key === Keys.End) {
|
|
152
|
+
const rowChildren = [...e.target.closest(this.selectors.Row)?.children || []];
|
|
153
|
+
if (e.key === Keys.End) rowChildren.reverse();
|
|
154
|
+
this.focusOnFirstCell(rowChildren);
|
|
155
|
+
}
|
|
156
|
+
} else {
|
|
157
|
+
const [firstKey, secondKey] = this.keys;
|
|
158
|
+
if (firstKey === "Control" && (secondKey === Keys.Home || secondKey === Keys.End)) {
|
|
159
|
+
const siblings = e.target.closest(this.selectors.Row).parentElement?.children;
|
|
160
|
+
if (!siblings) return;
|
|
161
|
+
const rowChildren = [...(secondKey === Keys.Home ? siblings[0] : siblings[siblings.length - 1])?.children || []];
|
|
162
|
+
if (secondKey === Keys.End) rowChildren.reverse();
|
|
163
|
+
this.focusOnFirstCell(rowChildren);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
pageCellNavigation(e) {
|
|
168
|
+
if (!(e.target instanceof Element)) return;
|
|
169
|
+
const row = e.target.closest(this.selectors.Row);
|
|
170
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
171
|
+
if (row && cell) {
|
|
172
|
+
const position = this.getColumnIndex(cell);
|
|
173
|
+
if (position === void 0) return;
|
|
174
|
+
const direction = e.key === Keys.PageUp ? "prev" : "next";
|
|
175
|
+
const siblings = row.parentElement?.children;
|
|
176
|
+
if (!siblings) return;
|
|
177
|
+
let destinationRow;
|
|
178
|
+
if (this.pageUpDown) {
|
|
179
|
+
const methodClbk = direction === "prev" ? "previousSibling" : "nextSibling";
|
|
180
|
+
let sibling = row[methodClbk];
|
|
181
|
+
if (sibling === null) return;
|
|
182
|
+
let lastVisitedSibling = sibling;
|
|
183
|
+
for (let i = 0; i < this.pageUpDown - 1 && sibling; i++) {
|
|
184
|
+
sibling = sibling[methodClbk];
|
|
185
|
+
if (sibling) lastVisitedSibling = sibling;
|
|
186
|
+
}
|
|
187
|
+
destinationRow = sibling || lastVisitedSibling;
|
|
188
|
+
} else destinationRow = direction === "prev" ? siblings[0] : siblings[siblings.length - 1];
|
|
189
|
+
if (!destinationRow || !(destinationRow instanceof Element)) return;
|
|
190
|
+
const child = destinationRow.children[position];
|
|
191
|
+
if (child && this.isFocusable(child)) child.focus();
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
verticalCellNavigation(e) {
|
|
195
|
+
if (!(e.target instanceof Element)) return;
|
|
196
|
+
const row = e.target.closest(this.selectors.Row);
|
|
197
|
+
const cell = e.target.closest(this.selectors.Cell);
|
|
198
|
+
if (row && cell) {
|
|
199
|
+
const cellPosition = this.getColumnIndex(cell);
|
|
200
|
+
const rowPosition = this.getRowIndex(row);
|
|
201
|
+
if (cellPosition === void 0 || rowPosition === void 0) return;
|
|
202
|
+
const direction = e.key === Keys.ArrowUp ? "prev" : "next";
|
|
203
|
+
if (rowPosition === 0 && direction === "prev") {
|
|
204
|
+
const currentRowGroup = row.parentElement?.closest(this.selectors.RowGroup);
|
|
205
|
+
const siblingRowGroups = [...currentRowGroup?.parentElement?.children || []];
|
|
206
|
+
const currentRowGroupIdx = siblingRowGroups.findIndex((el) => el === currentRowGroup);
|
|
207
|
+
if (currentRowGroupIdx !== 0) {
|
|
208
|
+
const rows = [...siblingRowGroups[currentRowGroupIdx - 1].querySelectorAll(this.selectors.Row)];
|
|
209
|
+
const child$1 = rows[rows.length - 1].children[cellPosition];
|
|
210
|
+
if (child$1 && this.isFocusable(child$1)) child$1.focus();
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
if (rowPosition === [...row.parentElement?.querySelectorAll(this.selectors.Row) || []].length - 1 && direction === "next") {
|
|
215
|
+
const currentRowGroup = row.parentElement?.closest(this.selectors.RowGroup);
|
|
216
|
+
const siblingRowGroups = [...currentRowGroup?.parentElement?.children || []];
|
|
217
|
+
const currentRowGroupIdx = siblingRowGroups.findIndex((el) => el === currentRowGroup);
|
|
218
|
+
if (currentRowGroupIdx !== siblingRowGroups.length - 1) {
|
|
219
|
+
const child$1 = [...siblingRowGroups[currentRowGroupIdx + 1].querySelectorAll(this.selectors.Row)][0].children[cellPosition];
|
|
220
|
+
if (child$1 && this.isFocusable(child$1)) child$1.focus();
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
const destinationRow = this.findUntil(direction, row, this.selectors.Row);
|
|
226
|
+
if (!destinationRow) return;
|
|
227
|
+
const child = destinationRow.children[cellPosition];
|
|
228
|
+
if (child && this.isFocusable(child)) child.focus();
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
focusOnFirstCell(el) {
|
|
232
|
+
for (let i = 0; i < el.length; i++) {
|
|
233
|
+
const child = el[i];
|
|
234
|
+
if (this.isFocusable(child)) {
|
|
235
|
+
child.focus();
|
|
236
|
+
return;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
getColumnIndex(cell) {
|
|
241
|
+
let position = 0;
|
|
242
|
+
const siblings = cell?.parentNode?.children;
|
|
243
|
+
if (!siblings) return;
|
|
244
|
+
while (cell !== siblings[position] && siblings[position] !== void 0) position++;
|
|
245
|
+
if (siblings[position] === void 0) return;
|
|
246
|
+
return position;
|
|
247
|
+
}
|
|
248
|
+
getRowIndex(row) {
|
|
249
|
+
let position = 0;
|
|
250
|
+
const siblings = row?.parentNode?.children;
|
|
251
|
+
if (!siblings) return;
|
|
252
|
+
while (row !== siblings[position] && siblings[position] !== void 0) position++;
|
|
253
|
+
if (siblings[position] === void 0) return;
|
|
254
|
+
return position;
|
|
255
|
+
}
|
|
256
|
+
findUntil(direction, el, matchSelector, exitSelector) {
|
|
257
|
+
let element = el;
|
|
258
|
+
const method = direction === "next" ? "nextSibling" : "previousSibling";
|
|
259
|
+
while (element[method]) {
|
|
260
|
+
const sibling = element[method];
|
|
261
|
+
if (!sibling) return null;
|
|
262
|
+
if (exitSelector && sibling instanceof Element && sibling.matches(exitSelector)) return null;
|
|
263
|
+
if (sibling instanceof Element && sibling.matches(matchSelector)) return sibling;
|
|
264
|
+
element = sibling;
|
|
265
|
+
}
|
|
266
|
+
return null;
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
function useTableNav(options) {
|
|
270
|
+
const nav = new DataGridNav(options);
|
|
271
|
+
return {
|
|
272
|
+
listeners: {
|
|
273
|
+
onKeyDown: (e) => nav.tableKeyDown(e),
|
|
274
|
+
onKeyUp: () => nav.tableKeyUp()
|
|
275
|
+
},
|
|
276
|
+
tableNav: nav
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
export { useTableNav };
|
package/dist/useToast.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Toast } from "./Toast.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useCallback, useMemo } from "react";
|
|
4
|
+
import { toast } from "react-toastify";
|
|
5
|
+
const useToast = () => {
|
|
6
|
+
const successToast = useCallback((params, options) => {
|
|
7
|
+
return toast.success(/* @__PURE__ */ jsx(Toast, {
|
|
8
|
+
color: "success",
|
|
9
|
+
...params
|
|
10
|
+
}), {
|
|
11
|
+
...options,
|
|
12
|
+
position: params.position,
|
|
13
|
+
data: { variant: params.variant }
|
|
14
|
+
});
|
|
15
|
+
}, []);
|
|
16
|
+
const errorToast = useCallback((params, options) => {
|
|
17
|
+
return toast.error(/* @__PURE__ */ jsx(Toast, {
|
|
18
|
+
color: "error",
|
|
19
|
+
...params
|
|
20
|
+
}), {
|
|
21
|
+
...options,
|
|
22
|
+
position: params.position,
|
|
23
|
+
data: { variant: params.variant }
|
|
24
|
+
});
|
|
25
|
+
}, []);
|
|
26
|
+
const warningToast = useCallback((params, options) => {
|
|
27
|
+
return toast.warning(/* @__PURE__ */ jsx(Toast, {
|
|
28
|
+
color: "warning",
|
|
29
|
+
...params
|
|
30
|
+
}), {
|
|
31
|
+
...options,
|
|
32
|
+
position: params.position,
|
|
33
|
+
data: { variant: params.variant }
|
|
34
|
+
});
|
|
35
|
+
}, []);
|
|
36
|
+
const neutralToast = useCallback((params, options) => {
|
|
37
|
+
return toast.info(/* @__PURE__ */ jsx(Toast, {
|
|
38
|
+
color: "neutral",
|
|
39
|
+
...params
|
|
40
|
+
}), {
|
|
41
|
+
...options,
|
|
42
|
+
position: params.position,
|
|
43
|
+
data: { variant: params.variant }
|
|
44
|
+
});
|
|
45
|
+
}, []);
|
|
46
|
+
const closeToast = useCallback((id) => {
|
|
47
|
+
toast.dismiss(id);
|
|
48
|
+
}, []);
|
|
49
|
+
return useMemo(() => ({
|
|
50
|
+
successToast,
|
|
51
|
+
errorToast,
|
|
52
|
+
warningToast,
|
|
53
|
+
neutralToast,
|
|
54
|
+
closeToast
|
|
55
|
+
}), [
|
|
56
|
+
successToast,
|
|
57
|
+
errorToast,
|
|
58
|
+
warningToast,
|
|
59
|
+
neutralToast,
|
|
60
|
+
closeToast
|
|
61
|
+
]);
|
|
62
|
+
};
|
|
63
|
+
export { useToast };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useMemo } from "react";
|
|
2
|
+
import { useTranslation } from "react-i18next";
|
|
3
|
+
function useTranslationMemo(func) {
|
|
4
|
+
const { t } = useTranslation();
|
|
5
|
+
return useMemo(() => {
|
|
6
|
+
if (func.length === 1) return func(t);
|
|
7
|
+
return func();
|
|
8
|
+
}, [func, t]);
|
|
9
|
+
}
|
|
10
|
+
export { useTranslationMemo };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
let ZodUtils;
|
|
3
|
+
(function(_ZodUtils) {
|
|
4
|
+
const unwrapZodType = _ZodUtils.unwrapZodType = (schemaType) => {
|
|
5
|
+
let unwrappedType = schemaType;
|
|
6
|
+
while (unwrappedType instanceof z.ZodNullable || unwrappedType instanceof z.ZodOptional) unwrappedType = unwrappedType.unwrap();
|
|
7
|
+
return unwrappedType;
|
|
8
|
+
};
|
|
9
|
+
const hasZodObjectProperty = (schemaType, property, type) => {
|
|
10
|
+
return property in schemaType.shape && schemaType.shape[property] instanceof z.core.$ZodType && unwrapZodType(schemaType.shape[property]) instanceof type;
|
|
11
|
+
};
|
|
12
|
+
_ZodUtils.isDateRange = (schemaType) => {
|
|
13
|
+
const unwrappedType = unwrapZodType(schemaType);
|
|
14
|
+
return unwrappedType instanceof z.ZodObject && hasZodObjectProperty(unwrappedType, "start", z.ZodISODateTime) && hasZodObjectProperty(unwrappedType, "end", z.ZodISODateTime);
|
|
15
|
+
};
|
|
16
|
+
})(ZodUtils || (ZodUtils = {}));
|
|
17
|
+
export { ZodUtils };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@povio/ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
"@dnd-kit/sortable": "^10.0.0",
|
|
40
40
|
"@dnd-kit/utilities": "^3.2.2",
|
|
41
41
|
"@hookform/resolvers": "^5.2.2",
|
|
42
|
-
"@internationalized/date": "^3.10.
|
|
43
|
-
"@react-aria/button": "^3.14.
|
|
44
|
-
"@react-aria/calendar": "^3.9.
|
|
45
|
-
"@react-aria/focus": "^3.21.
|
|
46
|
-
"@react-aria/i18n": "^3.12.
|
|
47
|
-
"@react-aria/utils": "^3.
|
|
48
|
-
"@react-stately/calendar": "^3.9.
|
|
49
|
-
"@react-stately/datepicker": "^3.15.
|
|
42
|
+
"@internationalized/date": "^3.10.1",
|
|
43
|
+
"@react-aria/button": "^3.14.3",
|
|
44
|
+
"@react-aria/calendar": "^3.9.3",
|
|
45
|
+
"@react-aria/focus": "^3.21.3",
|
|
46
|
+
"@react-aria/i18n": "^3.12.14",
|
|
47
|
+
"@react-aria/utils": "^3.32.0",
|
|
48
|
+
"@react-stately/calendar": "^3.9.1",
|
|
49
|
+
"@react-stately/datepicker": "^3.15.3",
|
|
50
50
|
"@react-types/shared": "^3.32.1",
|
|
51
51
|
"@tanstack/react-query": "~5.85.9",
|
|
52
52
|
"@tanstack/react-table": "^8.21.3",
|
|
53
|
-
"axios": "^1.13.
|
|
53
|
+
"axios": "^1.13.2",
|
|
54
54
|
"class-variance-authority": "^0.7.1",
|
|
55
55
|
"clsx": "^2.1.1",
|
|
56
|
-
"i18next": "^25.
|
|
56
|
+
"i18next": "^25.7.3",
|
|
57
57
|
"loglevel": "^1.9.2",
|
|
58
58
|
"loglevel-plugin-prefix": "^0.8.4",
|
|
59
59
|
"luxon": "^3.7.2",
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"react-aria": "^3.44.0",
|
|
62
62
|
"react-aria-components": "^1.13.0",
|
|
63
63
|
"react-hook-form": "^7.65.0",
|
|
64
|
-
"react-i18next": "^16.
|
|
64
|
+
"react-i18next": "^16.5.1",
|
|
65
65
|
"react-responsive": "^10.0.1",
|
|
66
66
|
"react-stately": "^3.42.0",
|
|
67
67
|
"react-toastify": "^11.0.5",
|
|
68
68
|
"react-use-measure": "^2.1.7",
|
|
69
|
-
"tailwindcss": "^4.1.
|
|
69
|
+
"tailwindcss": "^4.1.18",
|
|
70
70
|
"tailwindcss-react-aria-components": "^2.0.1",
|
|
71
|
-
"zod": "^4.
|
|
71
|
+
"zod": "^4.3.5"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const AlignCenterIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 25 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "M4.586 20.5a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.535A.73.73 0 0 1 4.586 19h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm4-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h7.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm-4-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.534a.73.73 0 0 1-.534.216zm4-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.535a.73.73 0 0 1 .534-.215h7.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.534a.73.73 0 0 1-.534.216zM4.586 5a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215z"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
AlignCenterIcon
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const AlignLeftIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 25 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "M4.586 20.5a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.535A.73.73 0 0 1 4.586 19h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm0-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h9.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm0-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.534a.73.73 0 0 1-.534.216zm0-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.535a.73.73 0 0 1 .534-.215h9.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.534a.73.73 0 0 1-.534.216zm0-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215z"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
AlignLeftIcon
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const AlignLeftRightIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 25 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "M4.586 20.5a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.535A.73.73 0 0 1 4.586 19h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm0-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm0-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.534a.73.73 0 0 1-.534.216zm0-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.535a.73.73 0 0 1 .534-.215h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.534a.73.73 0 0 1-.534.216zm0-3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215z"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
AlignLeftRightIcon
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const AlignRightIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 25 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "M4.586 5a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm6 3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.535a.73.73 0 0 1 .534-.215h9.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.534a.73.73 0 0 1-.534.216zm-6 3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.534a.73.73 0 0 1-.534.216zm6 3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.534a.73.73 0 0 1 .534-.216h9.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215zm-6 3.875a.73.73 0 0 1-.534-.216.73.73 0 0 1-.216-.534q0-.32.216-.535A.73.73 0 0 1 4.586 19h15.5q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .32-.216.535a.73.73 0 0 1-.534.215z"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
AlignRightIcon
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const ArrowDropDownIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 24 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "m12 15-5-5h10z"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
ArrowDropDownIcon
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const ArrowDropUpIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 24 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "m7 14 5-5 5 5z"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
ArrowDropUpIcon
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const ArrowLeftIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 24 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "m14 17-5-5 5-5z"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
ArrowLeftIcon
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const ArrowRightIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 24 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "M10 17V7l5 5z"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
ArrowRightIcon
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const BoldIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 25 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "M9.016 19q-.669 0-1.137-.468a1.55 1.55 0 0 1-.469-1.137V6.605q0-.667.469-1.137A1.55 1.55 0 0 1 9.016 5h3.531q1.615 0 2.921 1.006 1.305 1.005 1.305 2.708 0 1.185-.572 1.932-.571.746-1.232 1.084.813.28 1.553 1.108t.74 2.23q0 2.026-1.494 2.979-1.495.953-3.01.953zm.666-2.105h2.991q1.248 0 1.764-.693t.516-1.329-.516-1.329-1.813-.693H9.682zm0-6.084h2.741q.963 0 1.527-.55t.564-1.32q0-.816-.596-1.334-.597-.518-1.462-.518H9.682z"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
BoldIcon
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const BulletedListIcon = (props) => /* @__PURE__ */ jsx(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 25 24",
|
|
8
|
-
className: "fill-current",
|
|
9
|
-
...props,
|
|
10
|
-
children: /* @__PURE__ */ jsx(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "currentColor",
|
|
14
|
-
d: "M10.394 18.75a.73.73 0 0 1-.535-.216.73.73 0 0 1-.215-.534q0-.32.215-.535a.73.73 0 0 1 .535-.215h9.692q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .319-.216.534a.73.73 0 0 1-.534.216zm0-6a.73.73 0 0 1-.535-.216.73.73 0 0 1-.215-.534q0-.32.215-.535a.73.73 0 0 1 .535-.215h9.692q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .319-.216.534a.73.73 0 0 1-.534.216zm0-6a.73.73 0 0 1-.535-.216A.73.73 0 0 1 9.644 6q0-.32.215-.535a.73.73 0 0 1 .535-.215h9.692q.318 0 .534.216a.73.73 0 0 1 .216.534q0 .319-.216.534a.73.73 0 0 1-.534.216zM5.499 19.663q-.686 0-1.174-.488A1.6 1.6 0 0 1 3.835 18q0-.687.49-1.175a1.6 1.6 0 0 1 1.174-.489q.687 0 1.175.49.489.487.489 1.174t-.489 1.175a1.6 1.6 0 0 1-1.175.488m0-6q-.686 0-1.174-.488A1.6 1.6 0 0 1 3.835 12q0-.687.49-1.175a1.6 1.6 0 0 1 1.174-.489q.687 0 1.175.49.489.487.489 1.174t-.489 1.175a1.6 1.6 0 0 1-1.175.488m0-6q-.686 0-1.174-.488A1.6 1.6 0 0 1 3.835 6q0-.687.49-1.175a1.6 1.6 0 0 1 1.174-.489q.687 0 1.175.49.489.487.489 1.174t-.489 1.175a1.6 1.6 0 0 1-1.175.488"
|
|
15
|
-
}
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
export {
|
|
20
|
-
BulletedListIcon
|
|
21
|
-
};
|