@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.
- package/README.md +1 -1
- package/dist/{rolldown_runtime.js → _virtual/rolldown:runtime.js} +17 -2
- package/dist/assets/icons/{ViewOff.d.ts → Account.d.ts} +1 -1
- package/dist/{ArrowDropDown.js → assets/icons/ArrowDropDown.js} +1 -1
- package/dist/{ArrowDropUp.js → assets/icons/ArrowDropUp.js} +1 -1
- package/dist/{ArrowLeft.js → assets/icons/ArrowLeft.js} +1 -1
- package/dist/{ArrowRight.js → assets/icons/ArrowRight.js} +1 -1
- package/dist/assets/icons/Board.d.ts +2 -0
- package/dist/assets/icons/Calendar.js +15 -0
- package/dist/{Check.js → assets/icons/Check.js} +1 -1
- package/dist/assets/icons/CheckCircle.js +13 -0
- package/dist/{ChevronDown.js → assets/icons/ChevronDown.js} +1 -1
- package/dist/{ChevronUp.js → assets/icons/ChevronUp.js} +1 -1
- package/dist/assets/icons/Clock.js +13 -0
- package/dist/assets/icons/DateTime.js +16 -0
- package/dist/assets/icons/DragIndicator.d.ts +2 -0
- package/dist/{Drag.js → assets/icons/DragIndicator.js} +2 -2
- package/dist/assets/icons/{Drag.d.ts → Edit.d.ts} +1 -1
- package/dist/assets/icons/Emoji.d.ts +2 -0
- package/dist/assets/icons/File.js +15 -0
- package/dist/assets/icons/{View.d.ts → Grid.d.ts} +1 -1
- package/dist/{HighlightOn.js → assets/icons/HighlightOn.js} +1 -1
- package/dist/assets/icons/Home.d.ts +2 -0
- package/dist/assets/icons/Home.js +13 -0
- package/dist/assets/icons/Image.d.ts +2 -0
- package/dist/assets/icons/ImageError.d.ts +2 -0
- package/dist/{Info.js → assets/icons/Info.js} +2 -2
- package/dist/assets/icons/Loader.d.ts +2 -0
- package/dist/assets/icons/MapPin.d.ts +2 -0
- package/dist/assets/icons/Menu.js +13 -0
- package/dist/assets/icons/Minus.d.ts +2 -0
- package/dist/assets/icons/MoreHoriz.d.ts +2 -0
- package/dist/assets/icons/Pause.d.ts +2 -0
- package/dist/assets/icons/Plus.d.ts +2 -0
- package/dist/assets/icons/Retry.d.ts +2 -0
- package/dist/assets/icons/Search.d.ts +2 -0
- package/dist/assets/icons/Share.d.ts +2 -0
- package/dist/assets/icons/Slash.d.ts +2 -0
- package/dist/{TextColor.js → assets/icons/TextColor.js} +1 -1
- package/dist/assets/icons/Trash.d.ts +2 -0
- package/dist/assets/icons/User.d.ts +2 -0
- package/dist/assets/icons/Visibility.d.ts +2 -0
- package/dist/assets/icons/Visibility.js +13 -0
- package/dist/assets/icons/VisibilityOff.d.ts +2 -0
- package/dist/assets/icons/VisibilityOff.js +13 -0
- package/dist/assets/icons/WarningOutlined.d.ts +2 -0
- package/dist/{translation.js → assets/locales/en/translation.json.js} +0 -8
- package/dist/{translation2.js → assets/locales/sl/translation.json.js} +0 -7
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +15 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.js +111 -0
- package/dist/components/Breadcrumbs/breadcrumbs.cva.d.ts +19 -0
- package/dist/components/Breadcrumbs/breadcrumbs.cva.js +22 -0
- package/dist/components/Menu/Menu.d.ts +2 -3
- package/dist/{Menu2.js → components/Menu/Menu.js} +1 -1
- package/dist/components/Menu/MenuDesktop.d.ts +1 -1
- package/dist/components/Menu/MenuDesktop.js +12 -0
- package/dist/{MenuItem.js → components/Menu/MenuItem.js} +3 -3
- package/dist/{MenuMobile.js → components/Menu/MenuMobile.js} +5 -5
- package/dist/{MenuPopover.js → components/Menu/MenuPopover.js} +3 -3
- package/dist/{menu.cva.js → components/Menu/menu.cva.js} +2 -3
- package/dist/components/buttons/Button/Button.d.ts +3 -3
- package/dist/components/buttons/Button/Button.js +48 -0
- package/dist/{button.cva.js → components/buttons/Button/button.cva.js} +3 -12
- package/dist/components/buttons/IconButton/IconButton.d.ts +1 -1
- package/dist/components/buttons/IconButton/IconButton.js +17 -0
- package/dist/{InlineIconButton.js → components/buttons/InlineIconButton/InlineIconButton.js} +2 -2
- package/dist/components/buttons/PillButton/PillButton.d.ts +3 -2
- package/dist/components/buttons/PillButton/PillButton.js +33 -0
- package/dist/{pillButton.cva.js → components/buttons/PillButton/pillButton.cva.js} +5 -5
- package/dist/{SplitButton.js → components/buttons/SplitButton/SplitButton.js} +5 -5
- package/dist/components/buttons/TextButton/TextButton.d.ts +0 -1
- package/dist/{TextButton.js → components/buttons/TextButton/TextButton.js} +2 -3
- package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -1
- package/dist/{ToggleButton.js → components/buttons/ToggleButton/ToggleButton.js} +2 -3
- package/dist/components/buttons/shared/ButtonContent.d.ts +3 -5
- package/dist/components/buttons/shared/ButtonContent.js +35 -0
- package/dist/components/buttons/shared/buttonContent.cva.d.ts +4 -0
- package/dist/components/buttons/shared/buttonContent.cva.js +36 -0
- package/dist/{Checkbox.js → components/inputs/Checkbox/Checkbox.js} +7 -7
- package/dist/{CheckboxCheckmark2.js → components/inputs/Checkbox/CheckboxCheckmark.js} +4 -4
- package/dist/{checkbox.cva.js → components/inputs/Checkbox/checkbox.cva.js} +2 -2
- package/dist/{DatePicker.js → components/inputs/DateTime/DatePicker/DatePicker.js} +11 -11
- package/dist/{DateRangePicker.js → components/inputs/DateTime/DateRangePicker/DateRangePicker.js} +15 -15
- package/dist/{DateTimePicker.js → components/inputs/DateTime/DateTimePicker/DateTimePicker.js} +11 -11
- package/dist/{TimePicker.js → components/inputs/DateTime/TimePicker/TimePicker.js} +10 -10
- package/dist/{Calendar2.js → components/inputs/DateTime/shared/Calendar.js} +1 -1
- package/dist/{CalendarCell.js → components/inputs/DateTime/shared/CalendarCell.js} +2 -2
- package/dist/{CalendarGrid.js → components/inputs/DateTime/shared/CalendarGrid.js} +2 -2
- package/dist/{CalendarHeader.js → components/inputs/DateTime/shared/CalendarHeader.js} +5 -5
- package/dist/{CalendarSelectHeader.js → components/inputs/DateTime/shared/CalendarSelectHeader.js} +9 -9
- package/dist/{DateField.js → components/inputs/DateTime/shared/DateField.js} +1 -1
- package/dist/{DatePickerInput.js → components/inputs/DateTime/shared/DatePickerInput.js} +12 -12
- package/dist/{DateTimeDialog.js → components/inputs/DateTime/shared/DateTimeDialog.js} +4 -4
- package/dist/{DateTimeDialogFooter.js → components/inputs/DateTime/shared/DateTimeDialogFooter.js} +2 -2
- package/dist/{MonthPicker.js → components/inputs/DateTime/shared/MonthPicker.js} +1 -1
- package/dist/{TimePickerForm.js → components/inputs/DateTime/shared/TimePickerForm.js} +6 -6
- package/dist/{TimePickerInput.js → components/inputs/DateTime/shared/TimePickerInput.js} +9 -9
- package/dist/{YearPicker.js → components/inputs/DateTime/shared/YearPicker.js} +3 -3
- package/dist/{FileUpload.js → components/inputs/File/FileUpload.js} +11 -11
- package/dist/{InputUpload.js → components/inputs/File/InputUpload.js} +7 -7
- package/dist/components/inputs/File/fileUpload.types.d.ts +1 -1
- package/dist/{FileUploadContent.js → components/inputs/File/shared/FileUploadContent.js} +1 -1
- package/dist/{FileUploadContentEmpty.js → components/inputs/File/shared/FileUploadContentEmpty.js} +4 -4
- package/dist/{FileUploadContentError.js → components/inputs/File/shared/FileUploadContentError.js} +7 -7
- package/dist/{FileUploadContentFilled.js → components/inputs/File/shared/FileUploadContentFilled.js} +8 -8
- package/dist/{FileUploadContentLoading.js → components/inputs/File/shared/FileUploadContentLoading.js} +7 -7
- package/dist/{InputUploadContent.js → components/inputs/File/shared/InputUploadContent.js} +9 -9
- package/dist/{InputUploadFilled.js → components/inputs/File/shared/InputUploadFilled.js} +5 -5
- package/dist/{ProgressBar.js → components/inputs/File/shared/ProgressBar.js} +1 -1
- package/dist/{fileUpload.cva.js → components/inputs/File/shared/fileUpload.cva.js} +1 -1
- package/dist/{inputUploadButton.cva.js → components/inputs/File/shared/inputUploadButton.cva.js} +1 -1
- package/dist/{FormFieldError.js → components/inputs/FormField/FormFieldError.js} +1 -1
- package/dist/{FormFieldHeader.js → components/inputs/FormField/FormFieldHeader.js} +3 -3
- package/dist/{FormFieldHeaderClose.js → components/inputs/FormField/FormFieldHeaderClose.js} +2 -2
- package/dist/{FormFieldLabel.js → components/inputs/FormField/FormFieldLabel.js} +4 -4
- package/dist/{NumberInput.js → components/inputs/Input/NumberInput/NumberInput.js} +8 -8
- package/dist/{PasswordInput.js → components/inputs/Input/PasswordInput/PasswordInput.js} +5 -5
- package/dist/{TextArea.js → components/inputs/Input/TextArea/TextArea.js} +10 -10
- package/dist/{TextInput.js → components/inputs/Input/TextInput/TextInput.js} +8 -8
- package/dist/{InputContent.js → components/inputs/Input/shared/InputContent.js} +7 -7
- package/dist/{Form.js → components/inputs/Inputs/Form.js} +4 -4
- package/dist/components/inputs/Inputs/InputItem.d.ts +1 -1
- package/dist/{InputItem.js → components/inputs/Inputs/InputItem.js} +15 -15
- package/dist/{RadioGroup.js → components/inputs/RadioGroup/RadioGroup.js} +6 -6
- package/dist/{radio.cva.js → components/inputs/RadioGroup/radio.cva.js} +2 -12
- package/dist/{Autocomplete.js → components/inputs/Selection/Autocomplete/Autocomplete.js} +2 -2
- package/dist/{QueryAutocomplete.js → components/inputs/Selection/Autocomplete/QueryAutocomplete.js} +1 -1
- package/dist/{Select.js → components/inputs/Selection/Select/Select.js} +2 -2
- package/dist/{SelectBase.js → components/inputs/Selection/shared/SelectBase.js} +2 -2
- package/dist/{SelectDesktop.js → components/inputs/Selection/shared/SelectDesktop.js} +4 -4
- package/dist/{SelectInput.js → components/inputs/Selection/shared/SelectInput.js} +9 -9
- package/dist/{SelectInputTags.js → components/inputs/Selection/shared/SelectInputTags.js} +1 -1
- package/dist/{SelectListBox.js → components/inputs/Selection/shared/SelectListBox.js} +1 -1
- package/dist/{SelectListBoxItem.js → components/inputs/Selection/shared/SelectListBoxItem.js} +4 -4
- package/dist/{SelectListBoxItemSelectAll.js → components/inputs/Selection/shared/SelectListBoxItemSelectAll.js} +3 -3
- package/dist/{SelectListBoxLoadingItem.js → components/inputs/Selection/shared/SelectListBoxLoadingItem.js} +4 -4
- package/dist/{SelectListBoxSelectionBar.js → components/inputs/Selection/shared/SelectListBoxSelectionBar.js} +2 -2
- package/dist/{SelectMobile.js → components/inputs/Selection/shared/SelectMobile.js} +7 -7
- package/dist/{select.context.js → components/inputs/Selection/shared/select.context.js} +2 -2
- package/dist/{Slider.js → components/inputs/Slider/Slider.js} +6 -6
- package/dist/{TextEditor.js → components/inputs/TextEditor/TextEditor.js} +6 -6
- package/dist/{ColorPickerDropdown.js → components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js} +4 -4
- package/dist/{HyperlinkAction.js → components/inputs/TextEditor/Toolbar/HyperlinkAction.js} +6 -6
- package/dist/{TextAlignSelect.js → components/inputs/TextEditor/Toolbar/TextAlignSelect.js} +6 -6
- package/dist/{TextColorSelect.js → components/inputs/TextEditor/Toolbar/TextColorSelect.js} +2 -2
- package/dist/{TextHighlightSelect.js → components/inputs/TextEditor/Toolbar/TextHighlightSelect.js} +3 -3
- package/dist/{TextListActions.js → components/inputs/TextEditor/Toolbar/TextListActions.js} +4 -4
- package/dist/{TextMarksActions.js → components/inputs/TextEditor/Toolbar/TextMarksActions.js} +6 -6
- package/dist/{TextStyleSelect.js → components/inputs/TextEditor/Toolbar/TextStyleSelect.js} +3 -3
- package/dist/{Toggle.js → components/inputs/Toggle/Toggle.js} +6 -6
- package/dist/{toggle.cva.js → components/inputs/Toggle/toggle.cva.js} +2 -2
- package/dist/{CheckContent.js → components/inputs/shared/CheckContent.js} +3 -3
- package/dist/{InputClear.js → components/inputs/shared/InputClear.js} +3 -3
- package/dist/{TooltipWrapper.js → components/inputs/shared/TooltipWrapper.js} +1 -1
- package/dist/components/inputs/shared/input.cva.d.ts +4 -4
- package/dist/{input.cva.js → components/inputs/shared/input.cva.js} +33 -33
- package/dist/components/inputs/shared/label.cva.d.ts +2 -2
- package/dist/{label.cva.js → components/inputs/shared/label.cva.js} +2 -2
- package/dist/components/navigation/Accordion/Accordion.d.ts +3 -0
- package/dist/components/navigation/Accordion/Accordion.js +32 -0
- package/dist/components/navigation/Accordion/AccordionItem.d.ts +2 -0
- package/dist/components/navigation/Accordion/AccordionItem.js +62 -0
- package/dist/components/navigation/Accordion/accordion.cva.d.ts +45 -0
- package/dist/components/navigation/Accordion/accordion.cva.js +97 -0
- package/dist/components/navigation/Accordion/accordion.types.d.ts +52 -0
- package/dist/components/navigation/Stepper/Stepper.d.ts +2 -0
- package/dist/components/navigation/Stepper/Stepper.js +32 -0
- package/dist/components/navigation/Stepper/StepperItem.d.ts +2 -0
- package/dist/components/navigation/Stepper/StepperItem.js +52 -0
- package/dist/components/navigation/Stepper/StepperSeparator.d.ts +5 -0
- package/dist/components/navigation/Stepper/StepperSeparator.js +10 -0
- package/dist/components/navigation/Stepper/stepper.cva.d.ts +37 -0
- package/dist/components/navigation/Stepper/stepper.cva.js +93 -0
- package/dist/components/navigation/Stepper/stepper.types.d.ts +41 -0
- package/dist/{ActionModal.js → components/overlays/ActionModal/ActionModal.js} +4 -4
- package/dist/{BottomSheet.js → components/overlays/BottomSheet/BottomSheet.js} +8 -8
- package/dist/{Drawer.js → components/overlays/Drawer/Drawer.js} +1 -1
- package/dist/{Modal.js → components/overlays/Modal/Modal.js} +4 -4
- package/dist/{ResponsivePopover.js → components/overlays/ResponsivePopover/ResponsivePopover.js} +4 -4
- package/dist/{Tooltip.js → components/overlays/Tooltip/Tooltip.js} +8 -7
- package/dist/components/overlays/Tooltip/TooltipEllipsis.d.ts +3 -2
- package/dist/{TooltipEllipsis.js → components/overlays/Tooltip/TooltipEllipsis.js} +2 -1
- package/dist/{tooltip.cva.js → components/overlays/Tooltip/tooltip.cva.js} +1 -1
- package/dist/{Segment.js → components/segment/Segment.js} +5 -5
- package/dist/{SegmentItem.js → components/segment/SegmentItem.js} +3 -3
- package/dist/{Pagination.js → components/shared/pagination/Pagination.js} +3 -3
- package/dist/{PaginationList.js → components/shared/pagination/PaginationList.js} +6 -6
- package/dist/{Alert.js → components/status/Alert/Alert.js} +4 -4
- package/dist/{Loader.js → components/status/Loader/Loader.js} +1 -1
- package/dist/{Toast.js → components/status/Toast/Toast.js} +6 -6
- package/dist/{toast.cva.js → components/status/Toast/toast.cva.js} +1 -1
- package/dist/{CellText.js → components/table/CellText.js} +1 -1
- package/dist/{ColumnConfig.js → components/table/ColumnConfig.js} +5 -5
- package/dist/{HeaderText.js → components/table/HeaderText.js} +1 -1
- package/dist/{InfiniteTable.js → components/table/InfiniteTable.js} +3 -3
- package/dist/{PaginatedTable.js → components/table/PaginatedTable.js} +2 -2
- package/dist/{Table.js → components/table/Table.js} +10 -10
- package/dist/{table.cva.js → components/table/table.cva.js} +1 -1
- package/dist/{Link2.js → components/text/Link/Link.js} +3 -3
- package/dist/{link.cva.js → components/text/Link/link.cva.js} +1 -1
- package/dist/components/text/Tag/Tag.d.ts +3 -1
- package/dist/components/text/Tag/Tag.js +38 -0
- package/dist/{tag.cva.js → components/text/Tag/tag.cva.js} +2 -2
- package/dist/{Typography.js → components/text/Typography/Typography.js} +2 -2
- package/dist/{confirmation.context.js → config/confirmation.context.js} +1 -1
- package/dist/config/i18n.d.ts +0 -15
- package/dist/config/i18n.js +8 -0
- package/dist/{theme.context.js → config/theme.context.js} +1 -1
- package/dist/{uiConfig.context.js → config/uiConfig.context.js} +2 -2
- package/dist/config/uiStyle.context.d.ts +31 -0
- package/dist/{dynamicColumns.js → helpers/dynamicColumns.js} +3 -3
- package/dist/{dynamicInputs.js → helpers/dynamicInputs.js} +2 -2
- package/dist/{useAutosave.js → hooks/useAutosave.js} +2 -2
- package/dist/{useDeepCompare.js → hooks/useDeepCompare.js} +1 -1
- package/dist/{useFilters.js → hooks/useFilters.js} +1 -1
- package/dist/{useForm.js → hooks/useForm.js} +1 -1
- package/dist/{useFormAutosave.js → hooks/useFormAutosave.js} +2 -2
- package/dist/{usePagination.js → hooks/usePagination.js} +1 -1
- package/dist/{useSorting.js → hooks/useSorting.js} +1 -1
- package/dist/{useStateAndRef.js → hooks/useStateAndRef.js} +1 -1
- package/dist/{useTableNav.js → hooks/useTableNav.js} +1 -1
- package/dist/index.d.ts +13 -7
- package/dist/index.js +138 -136
- 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
- package/dist/text-editor.js +1 -1
- package/dist/types/error-handling.d.ts +6 -0
- package/dist/types/react-query.d.ts +1 -1
- package/package.json +2 -3
- package/dist/AclGuard.js +0 -12
- package/dist/AuthGuard.js +0 -22
- package/dist/Button.js +0 -54
- package/dist/ButtonContent.js +0 -28
- package/dist/Calendar.js +0 -15
- package/dist/Can.js +0 -13
- package/dist/CheckCircle.js +0 -13
- package/dist/Clock.js +0 -13
- package/dist/DateTime.js +0 -18
- package/dist/File.js +0 -15
- package/dist/IconButton.js +0 -12
- package/dist/Menu.js +0 -13
- package/dist/MenuDesktop.js +0 -54
- package/dist/PillButton.js +0 -37
- package/dist/Tag.js +0 -42
- package/dist/View.js +0 -13
- package/dist/ViewOff.js +0 -13
- package/dist/ability.context.js +0 -35
- package/dist/auth.context.js +0 -37
- package/dist/auth.d.ts +0 -6
- package/dist/auth.js +0 -6
- package/dist/buttonContent.cva.js +0 -10
- package/dist/error-handling.js +0 -99
- package/dist/i18n.js +0 -8
- package/dist/react.js +0 -6
- package/dist/rest-interceptor.js +0 -22
- package/dist/utils/vendor/acl/AclGuard.d.ts +0 -8
- package/dist/utils/vendor/acl/Can.d.ts +0 -9
- package/dist/utils/vendor/acl/ability.context.d.ts +0 -15
- package/dist/utils/vendor/acl/appAbility.types.d.ts +0 -3
- package/dist/utils/vendor/auth/AuthGuard.d.ts +0 -6
- package/dist/utils/vendor/auth/auth.context.d.ts +0 -22
- package/dist/utils/vendor/error-handling.d.ts +0 -21
- package/dist/utils/vendor/rest-client.types.d.ts +0 -23
- package/dist/utils/vendor/rest-interceptor.d.ts +0 -8
- package/dist/{AlignCenter.js → assets/icons/AlignCenter.js} +0 -0
- package/dist/{AlignLeft.js → assets/icons/AlignLeft.js} +0 -0
- package/dist/{AlignLeftRight.js → assets/icons/AlignLeftRight.js} +0 -0
- package/dist/{AlignRight.js → assets/icons/AlignRight.js} +0 -0
- package/dist/{Bold.js → assets/icons/Bold.js} +0 -0
- package/dist/{BulletedList.js → assets/icons/BulletedList.js} +0 -0
- package/dist/{CheckboxCheckmark.js → assets/icons/CheckboxCheckmark.js} +0 -0
- package/dist/{CheckboxIndeterminate.js → assets/icons/CheckboxIndeterminate.js} +0 -0
- package/dist/{ChevronLeft.js → assets/icons/ChevronLeft.js} +0 -0
- package/dist/{ChevronRight.js → assets/icons/ChevronRight.js} +0 -0
- package/dist/{ChevronsLeft.js → assets/icons/ChevronsLeft.js} +0 -0
- package/dist/{ChevronsRight.js → assets/icons/ChevronsRight.js} +0 -0
- package/dist/{Close.js → assets/icons/Close.js} +0 -0
- package/dist/{Highlight.js → assets/icons/Highlight.js} +0 -0
- package/dist/{Italic.js → assets/icons/Italic.js} +0 -0
- package/dist/{Link.js → assets/icons/Link.js} +0 -0
- package/dist/{NumberedList.js → assets/icons/NumberedList.js} +0 -0
- package/dist/{PointerHorizontal.js → assets/icons/PointerHorizontal.js} +0 -0
- package/dist/{PointerVertical.js → assets/icons/PointerVertical.js} +0 -0
- package/dist/{Send.js → assets/icons/Send.js} +0 -0
- package/dist/{Strikethrough.js → assets/icons/Strikethrough.js} +0 -0
- package/dist/{Today.js → assets/icons/Today.js} +0 -0
- package/dist/{Underlined.js → assets/icons/Underlined.js} +0 -0
- package/dist/{Upload.js → assets/icons/Upload.js} +0 -0
- package/dist/{WarningFilled.js → assets/icons/WarningFilled.js} +0 -0
- package/dist/{DateSegmentItem.js → components/inputs/DateTime/shared/DateSegmentItem.js} +0 -0
- package/dist/{RangeCalendar.js → components/inputs/DateTime/shared/RangeCalendar.js} +0 -0
- package/dist/{TimeField.js → components/inputs/DateTime/shared/TimeField.js} +0 -0
- package/dist/{FileUploadContainer.js → components/inputs/File/FileUploadContainer.js} +0 -0
- package/dist/{FileCard.js → components/inputs/File/shared/FileCard.js} +0 -0
- package/dist/{FileCardList.js → components/inputs/File/shared/FileCardList.js} +0 -0
- package/dist/{FormField.js → components/inputs/FormField/FormField.js} +0 -0
- package/dist/{Inputs.js → components/inputs/Inputs/Inputs.js} +0 -0
- package/dist/{useSelectItems.js → components/inputs/Selection/shared/useSelectItems.js} +1 -1
- /package/dist/{ColorPicker.js → components/inputs/TextEditor/Toolbar/ColorPicker.js} +0 -0
- /package/dist/{TextEditorToolbar.js → components/inputs/TextEditor/Toolbar/TextEditorToolbar.js} +0 -0
- /package/dist/{textEditor.types.js → components/inputs/TextEditor/textEditor.types.js} +0 -0
- /package/dist/{outline.clsx.js → components/outline.clsx.js} +0 -0
- /package/dist/{modal.cva.js → components/overlays/Modal/modal.cva.js} +0 -0
- /package/dist/{segment.cva.js → components/segment/segment.cva.js} +0 -0
- /package/dist/{minWidth.cva.js → components/shared/pagination/minWidth.cva.js} +0 -0
- /package/dist/{alert.cva.js → components/status/Alert/alert.cva.js} +0 -0
- /package/dist/{loader.cva.js → components/status/Loader/loader.cva.js} +0 -0
- /package/dist/{useToast.js → components/status/Toast/useToast.js} +0 -0
- /package/dist/{status.cva.js → components/status/shared/status.cva.js} +0 -0
- /package/dist/{typography.cva.js → components/text/Typography/typography.cva.js} +0 -0
- /package/dist/{link.context.js → config/link.context.js} +0 -0
- /package/dist/{router.context.js → config/router.context.js} +0 -0
- /package/dist/{uiStyle.context.js → config/uiStyle.context.js} +0 -0
- /package/dist/{useBreakpoint.js → hooks/useBreakpoint.js} +0 -0
- /package/dist/{useDebounceCallback.js → hooks/useDebounceCallback.js} +0 -0
- /package/dist/{useIntersectionObserver.js → hooks/useIntersectionObserver.js} +0 -0
- /package/dist/{useLocalStorage.js → hooks/useLocalStorage.js} +0 -0
- /package/dist/{useLongPressRepeat.js → hooks/useLongPressRepeat.js} +0 -0
- /package/dist/{useScrollableListBox.js → hooks/useScrollableListBox.js} +0 -0
- /package/dist/{useTableColumnConfig.js → hooks/useTableColumnConfig.js} +0 -0
- /package/dist/{useTranslationMemo.js → hooks/useTranslationMemo.js} +0 -0
- /package/dist/{array.utils.js → utils/array.utils.js} +0 -0
- /package/dist/{compoundMapper.js → utils/compoundMapper.js} +0 -0
- /package/dist/{date-time.utils.js → utils/date-time.utils.js} +0 -0
- /package/dist/{date.utils.js → utils/date.utils.js} +0 -0
- /package/dist/{dom.utils.js → utils/dom.utils.js} +0 -0
- /package/dist/{file.utils.js → utils/file.utils.js} +0 -0
- /package/dist/{isEqual.js → utils/isEqual.js} +0 -0
- /package/dist/{logger.js → utils/logger.js} +0 -0
- /package/dist/{object.utils.js → utils/object.utils.js} +0 -0
- /package/dist/{queries.utils.js → utils/queries.utils.js} +0 -0
- /package/dist/{rest.utils.js → utils/rest.utils.js} +0 -0
- /package/dist/{routing.utils.js → utils/routing.utils.js} +0 -0
- /package/dist/{string.utils.js → utils/string.utils.js} +0 -0
- /package/dist/{zod.utils.js → utils/zod.utils.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,136 +1,138 @@
|
|
|
1
|
-
import { AlignCenterIcon } from "./AlignCenter.js";
|
|
2
|
-
import { AlignLeftIcon } from "./AlignLeft.js";
|
|
3
|
-
import { AlignLeftRightIcon } from "./AlignLeftRight.js";
|
|
4
|
-
import { AlignRightIcon } from "./AlignRight.js";
|
|
5
|
-
import { ArrowDropDownIcon } from "./ArrowDropDown.js";
|
|
6
|
-
import { ArrowDropUpIcon } from "./ArrowDropUp.js";
|
|
7
|
-
import { ArrowLeftIcon } from "./ArrowLeft.js";
|
|
8
|
-
import { ArrowRightIcon } from "./ArrowRight.js";
|
|
9
|
-
import { BoldIcon } from "./Bold.js";
|
|
10
|
-
import { BulletedListIcon } from "./BulletedList.js";
|
|
11
|
-
import { CalendarIcon } from "./Calendar.js";
|
|
12
|
-
import { CheckIcon } from "./Check.js";
|
|
13
|
-
import { CheckboxCheckmarkIcon } from "./CheckboxCheckmark.js";
|
|
14
|
-
import { CheckboxIndeterminateIcon } from "./CheckboxIndeterminate.js";
|
|
15
|
-
import { ChevronDownIcon } from "./ChevronDown.js";
|
|
16
|
-
import { ChevronLeftIcon } from "./ChevronLeft.js";
|
|
17
|
-
import { ChevronRightIcon } from "./ChevronRight.js";
|
|
18
|
-
import { ChevronsLeftIcon } from "./ChevronsLeft.js";
|
|
19
|
-
import { ChevronsRightIcon } from "./ChevronsRight.js";
|
|
20
|
-
import { ChevronUpIcon } from "./ChevronUp.js";
|
|
21
|
-
import { ClockIcon } from "./Clock.js";
|
|
22
|
-
import { CloseIcon } from "./Close.js";
|
|
23
|
-
import { DateTimeIcon } from "./DateTime.js";
|
|
24
|
-
import { HighlightIcon } from "./Highlight.js";
|
|
25
|
-
import { HighlightOnIcon } from "./HighlightOn.js";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import { UIStyle } from "./uiStyle.context.js";
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
|
|
1
|
+
import { AlignCenterIcon } from "./assets/icons/AlignCenter.js";
|
|
2
|
+
import { AlignLeftIcon } from "./assets/icons/AlignLeft.js";
|
|
3
|
+
import { AlignLeftRightIcon } from "./assets/icons/AlignLeftRight.js";
|
|
4
|
+
import { AlignRightIcon } from "./assets/icons/AlignRight.js";
|
|
5
|
+
import { ArrowDropDownIcon } from "./assets/icons/ArrowDropDown.js";
|
|
6
|
+
import { ArrowDropUpIcon } from "./assets/icons/ArrowDropUp.js";
|
|
7
|
+
import { ArrowLeftIcon } from "./assets/icons/ArrowLeft.js";
|
|
8
|
+
import { ArrowRightIcon } from "./assets/icons/ArrowRight.js";
|
|
9
|
+
import { BoldIcon } from "./assets/icons/Bold.js";
|
|
10
|
+
import { BulletedListIcon } from "./assets/icons/BulletedList.js";
|
|
11
|
+
import { CalendarIcon } from "./assets/icons/Calendar.js";
|
|
12
|
+
import { CheckIcon } from "./assets/icons/Check.js";
|
|
13
|
+
import { CheckboxCheckmarkIcon } from "./assets/icons/CheckboxCheckmark.js";
|
|
14
|
+
import { CheckboxIndeterminateIcon } from "./assets/icons/CheckboxIndeterminate.js";
|
|
15
|
+
import { ChevronDownIcon } from "./assets/icons/ChevronDown.js";
|
|
16
|
+
import { ChevronLeftIcon } from "./assets/icons/ChevronLeft.js";
|
|
17
|
+
import { ChevronRightIcon } from "./assets/icons/ChevronRight.js";
|
|
18
|
+
import { ChevronsLeftIcon } from "./assets/icons/ChevronsLeft.js";
|
|
19
|
+
import { ChevronsRightIcon } from "./assets/icons/ChevronsRight.js";
|
|
20
|
+
import { ChevronUpIcon } from "./assets/icons/ChevronUp.js";
|
|
21
|
+
import { ClockIcon } from "./assets/icons/Clock.js";
|
|
22
|
+
import { CloseIcon } from "./assets/icons/Close.js";
|
|
23
|
+
import { DateTimeIcon } from "./assets/icons/DateTime.js";
|
|
24
|
+
import { HighlightIcon } from "./assets/icons/Highlight.js";
|
|
25
|
+
import { HighlightOnIcon } from "./assets/icons/HighlightOn.js";
|
|
26
|
+
import { HomeIcon } from "./assets/icons/Home.js";
|
|
27
|
+
import { InfoIcon } from "./assets/icons/Info.js";
|
|
28
|
+
import { ItalicIcon } from "./assets/icons/Italic.js";
|
|
29
|
+
import { LinkIcon } from "./assets/icons/Link.js";
|
|
30
|
+
import { MenuIcon } from "./assets/icons/Menu.js";
|
|
31
|
+
import { NumberedListIcon } from "./assets/icons/NumberedList.js";
|
|
32
|
+
import { PointerHorizontalIcon } from "./assets/icons/PointerHorizontal.js";
|
|
33
|
+
import { PointerVerticalIcon } from "./assets/icons/PointerVertical.js";
|
|
34
|
+
import { SendIcon } from "./assets/icons/Send.js";
|
|
35
|
+
import { StrikethroughIcon } from "./assets/icons/Strikethrough.js";
|
|
36
|
+
import { TextColorIcon } from "./assets/icons/TextColor.js";
|
|
37
|
+
import { UnderlinedIcon } from "./assets/icons/Underlined.js";
|
|
38
|
+
import { VisibilityIcon } from "./assets/icons/Visibility.js";
|
|
39
|
+
import { VisibilityOffIcon } from "./assets/icons/VisibilityOff.js";
|
|
40
|
+
import { UIStyle } from "./config/uiStyle.context.js";
|
|
41
|
+
import { MenuItem } from "./components/Menu/MenuItem.js";
|
|
42
|
+
import { MenuPopover } from "./components/Menu/MenuPopover.js";
|
|
43
|
+
import { Typography } from "./components/text/Typography/Typography.js";
|
|
44
|
+
import { Tooltip } from "./components/overlays/Tooltip/Tooltip.js";
|
|
45
|
+
import { LinkContext } from "./config/link.context.js";
|
|
46
|
+
import { Breadcrumbs } from "./components/Breadcrumbs/Breadcrumbs.js";
|
|
47
|
+
import { Loader } from "./components/status/Loader/Loader.js";
|
|
48
|
+
import { uiOutlineClass } from "./components/outline.clsx.js";
|
|
49
|
+
import { compoundMapper } from "./utils/compoundMapper.js";
|
|
50
|
+
import { Button } from "./components/buttons/Button/Button.js";
|
|
51
|
+
import { IconButton } from "./components/buttons/IconButton/IconButton.js";
|
|
52
|
+
import { InlineIconButton } from "./components/buttons/InlineIconButton/InlineIconButton.js";
|
|
53
|
+
import { PillButton } from "./components/buttons/PillButton/PillButton.js";
|
|
54
|
+
import { DomUtils } from "./utils/dom.utils.js";
|
|
55
|
+
import { BottomSheet } from "./components/overlays/BottomSheet/BottomSheet.js";
|
|
56
|
+
import { useBreakpoint } from "./hooks/useBreakpoint.js";
|
|
57
|
+
import { Menu } from "./components/Menu/Menu.js";
|
|
58
|
+
import { SplitButton } from "./components/buttons/SplitButton/SplitButton.js";
|
|
59
|
+
import { TextButton } from "./components/buttons/TextButton/TextButton.js";
|
|
60
|
+
import { ToggleButton } from "./components/buttons/ToggleButton/ToggleButton.js";
|
|
61
|
+
import { ObjectUtils } from "./utils/object.utils.js";
|
|
62
|
+
import { isEqual } from "./utils/isEqual.js";
|
|
63
|
+
import { useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo } from "./hooks/useDeepCompare.js";
|
|
64
|
+
import { UIConfig } from "./config/uiConfig.context.js";
|
|
65
|
+
import { Checkbox } from "./components/inputs/Checkbox/Checkbox.js";
|
|
66
|
+
import { useLongPressRepeat } from "./hooks/useLongPressRepeat.js";
|
|
67
|
+
import { useScrollableListBox } from "./hooks/useScrollableListBox.js";
|
|
68
|
+
import { ns, resources } from "./config/i18n.js";
|
|
69
|
+
import { FormField } from "./components/inputs/FormField/FormField.js";
|
|
70
|
+
import { DateTimeUtils } from "./utils/date-time.utils.js";
|
|
71
|
+
import { DatePicker } from "./components/inputs/DateTime/DatePicker/DatePicker.js";
|
|
72
|
+
import { Tag } from "./components/text/Tag/Tag.js";
|
|
73
|
+
import { useDebounceCallback } from "./hooks/useDebounceCallback.js";
|
|
74
|
+
import { useIntersectionObserver } from "./hooks/useIntersectionObserver.js";
|
|
75
|
+
import { TextInput } from "./components/inputs/Input/TextInput/TextInput.js";
|
|
76
|
+
import { Select } from "./components/inputs/Selection/Select/Select.js";
|
|
77
|
+
import { DateRangePicker } from "./components/inputs/DateTime/DateRangePicker/DateRangePicker.js";
|
|
78
|
+
import { DateTimePicker } from "./components/inputs/DateTime/DateTimePicker/DateTimePicker.js";
|
|
79
|
+
import { TimePicker } from "./components/inputs/DateTime/TimePicker/TimePicker.js";
|
|
80
|
+
import { RestUtils } from "./utils/rest.utils.js";
|
|
81
|
+
import { FileUtils } from "./utils/file.utils.js";
|
|
82
|
+
import { ProgressBar } from "./components/inputs/File/shared/ProgressBar.js";
|
|
83
|
+
import { FileUpload } from "./components/inputs/File/FileUpload.js";
|
|
84
|
+
import { FileUploadContainer } from "./components/inputs/File/FileUploadContainer.js";
|
|
85
|
+
import { InputUpload } from "./components/inputs/File/InputUpload.js";
|
|
86
|
+
import { NumberInput } from "./components/inputs/Input/NumberInput/NumberInput.js";
|
|
87
|
+
import { PasswordInput } from "./components/inputs/Input/PasswordInput/PasswordInput.js";
|
|
88
|
+
import { TextArea } from "./components/inputs/Input/TextArea/TextArea.js";
|
|
89
|
+
import { Autocomplete } from "./components/inputs/Selection/Autocomplete/Autocomplete.js";
|
|
90
|
+
import { QueryAutocomplete } from "./components/inputs/Selection/Autocomplete/QueryAutocomplete.js";
|
|
91
|
+
import { Slider } from "./components/inputs/Slider/Slider.js";
|
|
92
|
+
import { Toggle } from "./components/inputs/Toggle/Toggle.js";
|
|
93
|
+
import { Segment } from "./components/segment/Segment.js";
|
|
94
|
+
import { StringUtils } from "./utils/string.utils.js";
|
|
95
|
+
import { dynamicInputs } from "./helpers/dynamicInputs.js";
|
|
96
|
+
import { Form } from "./components/inputs/Inputs/Form.js";
|
|
97
|
+
import { Inputs } from "./components/inputs/Inputs/Inputs.js";
|
|
98
|
+
import { RadioGroup } from "./components/inputs/RadioGroup/RadioGroup.js";
|
|
99
|
+
import { Accordion } from "./components/navigation/Accordion/Accordion.js";
|
|
100
|
+
import { Stepper } from "./components/navigation/Stepper/Stepper.js";
|
|
101
|
+
import { Modal } from "./components/overlays/Modal/Modal.js";
|
|
102
|
+
import { ActionModal } from "./components/overlays/ActionModal/ActionModal.js";
|
|
103
|
+
import { Drawer } from "./components/overlays/Drawer/Drawer.js";
|
|
104
|
+
import { ResponsivePopover } from "./components/overlays/ResponsivePopover/ResponsivePopover.js";
|
|
105
|
+
import { TooltipEllipsis } from "./components/overlays/Tooltip/TooltipEllipsis.js";
|
|
106
|
+
import { PaginationList } from "./components/shared/pagination/PaginationList.js";
|
|
107
|
+
import { Pagination } from "./components/shared/pagination/Pagination.js";
|
|
108
|
+
import { Alert } from "./components/status/Alert/Alert.js";
|
|
109
|
+
import { Toast, ToastContainer } from "./components/status/Toast/Toast.js";
|
|
110
|
+
import { useToast } from "./components/status/Toast/useToast.js";
|
|
111
|
+
import { CellText } from "./components/table/CellText.js";
|
|
112
|
+
import { HeaderText } from "./components/table/HeaderText.js";
|
|
113
|
+
import { logger } from "./utils/logger.js";
|
|
114
|
+
import { useTableNav } from "./hooks/useTableNav.js";
|
|
115
|
+
import { Table } from "./components/table/Table.js";
|
|
116
|
+
import { useTranslationMemo } from "./hooks/useTranslationMemo.js";
|
|
117
|
+
import { ColumnConfigModal } from "./components/table/ColumnConfig.js";
|
|
118
|
+
import { InfiniteTable } from "./components/table/InfiniteTable.js";
|
|
119
|
+
import { PaginatedTable } from "./components/table/PaginatedTable.js";
|
|
120
|
+
import { Link } from "./components/text/Link/Link.js";
|
|
121
|
+
import { Confirmation } from "./config/confirmation.context.js";
|
|
122
|
+
import { UIRouter } from "./config/router.context.js";
|
|
123
|
+
import { useLocalStorage } from "./hooks/useLocalStorage.js";
|
|
124
|
+
import { ThemeContext } from "./config/theme.context.js";
|
|
125
|
+
import { DateUtils } from "./utils/date.utils.js";
|
|
126
|
+
import { dynamicColumns } from "./helpers/dynamicColumns.js";
|
|
127
|
+
import { useAutosave } from "./hooks/useAutosave.js";
|
|
128
|
+
import { useFilters } from "./hooks/useFilters.js";
|
|
129
|
+
import { useForm } from "./hooks/useForm.js";
|
|
130
|
+
import { useFormAutosave } from "./hooks/useFormAutosave.js";
|
|
131
|
+
import { usePagination } from "./hooks/usePagination.js";
|
|
132
|
+
import { useSorting } from "./hooks/useSorting.js";
|
|
133
|
+
import { useStateAndRef } from "./hooks/useStateAndRef.js";
|
|
134
|
+
import { useTableColumnConfig } from "./hooks/useTableColumnConfig.js";
|
|
135
|
+
import { ArrayUtils } from "./utils/array.utils.js";
|
|
136
|
+
import { QueriesUtils } from "./utils/queries.utils.js";
|
|
137
|
+
import { RoutingUtils } from "./utils/routing.utils.js";
|
|
138
|
+
export { Accordion, ActionModal, Alert, AlignCenterIcon, AlignLeftIcon, AlignLeftRightIcon, AlignRightIcon, ArrayUtils, ArrowDropDownIcon, ArrowDropUpIcon, ArrowLeftIcon, ArrowRightIcon, Autocomplete, BoldIcon, BottomSheet, Breadcrumbs, BulletedListIcon, Button, CalendarIcon, CellText, CheckIcon, Checkbox, CheckboxCheckmarkIcon, CheckboxIndeterminateIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ClockIcon, CloseIcon, ColumnConfigModal, Confirmation, DatePicker, DateRangePicker, DateTimeIcon, DateTimePicker, DateTimeUtils, DateUtils, DomUtils, Drawer, FileUpload, FileUploadContainer, FileUtils, Form, FormField, HeaderText, HighlightIcon, HighlightOnIcon, HomeIcon, IconButton, InfiniteTable, InfoIcon, InlineIconButton, InputUpload, Inputs, ItalicIcon, Link, LinkContext, LinkIcon, Loader, Menu, MenuIcon, MenuItem, MenuPopover, Modal, NumberInput, NumberedListIcon, ObjectUtils, PaginatedTable, Pagination, PaginationList, PasswordInput, PillButton, PointerHorizontalIcon, PointerVerticalIcon, ProgressBar, QueriesUtils, QueryAutocomplete, RadioGroup, ResponsivePopover, RestUtils, RoutingUtils, Segment, Select, SendIcon, Slider, SplitButton, Stepper, StrikethroughIcon, StringUtils, Table, Tag, TextArea, TextButton, TextColorIcon, TextInput, ThemeContext, TimePicker, Toast, ToastContainer, Toggle, ToggleButton, Tooltip, TooltipEllipsis, Typography, UIConfig, UIRouter, UIStyle, UnderlinedIcon, VisibilityIcon, VisibilityOffIcon, compoundMapper, dynamicColumns, dynamicInputs, isEqual, logger, ns, resources, uiOutlineClass, useAutosave, useBreakpoint, useDebounceCallback, useDeepCompareEffect, useDeepCompareLayoutEffect, useDeepCompareMemo, useFilters, useForm, useFormAutosave, useIntersectionObserver, useLocalStorage, useLongPressRepeat, usePagination, useScrollableListBox, useSorting, useStateAndRef, useTableColumnConfig, useTableNav, useToast, useTranslationMemo };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __export, __reExport } from "../../../../../../../_virtual/rolldown:runtime.js";
|
|
2
|
+
import { m, motion } from "framer-motion";
|
|
3
|
+
export * from "framer-motion";
|
|
4
|
+
var react_exports = /* @__PURE__ */ __export({
|
|
5
|
+
m: () => m,
|
|
6
|
+
motion: () => motion
|
|
7
|
+
}, 1);
|
|
8
|
+
import * as import_framer_motion from "framer-motion";
|
|
9
|
+
__reExport(react_exports, import_framer_motion, void 0, 1);
|
|
10
|
+
export { motion, react_exports };
|
package/dist/text-editor.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TextEditor } from "./TextEditor.js";
|
|
1
|
+
import { TextEditor } from "./components/inputs/TextEditor/TextEditor.js";
|
|
2
2
|
export { TextEditor };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type GeneralErrorCodes = "DATA_VALIDATION_ERROR" | "NETWORK_ERROR" | "CANCELED_ERROR" | "INTERNAL_ERROR" | "UNKNOWN_ERROR";
|
|
2
|
+
export declare class ApplicationException<CodeT> extends Error {
|
|
3
|
+
code: CodeT;
|
|
4
|
+
serverMessage: string | null;
|
|
5
|
+
constructor(message: string, code: CodeT, serverMessage: string | null);
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InfiniteData, QueryKey, UseInfiniteQueryOptions, UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import { ApplicationException, GeneralErrorCodes } from '../utils/vendor/error-handling';
|
|
3
2
|
import { Function, IsUnknown } from './common';
|
|
3
|
+
import { ApplicationException, GeneralErrorCodes } from './error-handling';
|
|
4
4
|
export type AppQueryOptions<TFunction extends Function, TData = Awaited<ReturnType<TFunction>>, TErrorCodes = GeneralErrorCodes> = Omit<UseQueryOptions<Awaited<ReturnType<TFunction>>, ApplicationException<TErrorCodes>, IsUnknown<TData, Awaited<ReturnType<TFunction>>>>, "queryKey" | "queryFn">;
|
|
5
5
|
export type AppMutationOptions<TFunction extends Function, TVariables = void, TData = Awaited<ReturnType<TFunction>>, TErrorCodes = GeneralErrorCodes> = Omit<UseMutationOptions<TData, ApplicationException<TErrorCodes>, TVariables>, "mutationKey" | "mutationFn">;
|
|
6
6
|
export type AppInfiniteQueryOptions<TFunction extends Function, TData = InfiniteData<Awaited<ReturnType<TFunction>>>, TErrorCodes = GeneralErrorCodes, TQueryKey extends QueryKey = QueryKey, TPageParam = number> = Omit<UseInfiniteQueryOptions<Awaited<ReturnType<TFunction>>, ApplicationException<TErrorCodes>, IsUnknown<TData, InfiniteData<Awaited<ReturnType<TFunction>>>>, TQueryKey, TPageParam>, "queryKey" | "queryFn" | "initialPageParam" | "getNextPageParam">;
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@povio/ui",
|
|
3
|
-
"version": "2.1
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./dist/index.js",
|
|
9
|
-
"./auth": "./dist/auth.js",
|
|
10
9
|
"./text-editor": "./dist/text-editor.js",
|
|
11
10
|
"./text-editor/styles": "./dist/styles/editor.css"
|
|
12
11
|
},
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
"@react-stately/calendar": "^3.9.1",
|
|
49
48
|
"@react-stately/datepicker": "^3.15.3",
|
|
50
49
|
"@react-types/shared": "^3.32.1",
|
|
51
|
-
"@tanstack/react-query": "~5.
|
|
50
|
+
"@tanstack/react-query": "~5.89.0",
|
|
52
51
|
"@tanstack/react-table": "^8.21.3",
|
|
53
52
|
"axios": "^1.13.2",
|
|
54
53
|
"class-variance-authority": "^0.7.1",
|
package/dist/AclGuard.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { UIRouter } from "./router.context.js";
|
|
2
|
-
import { AbilityContext } from "./ability.context.js";
|
|
3
|
-
const createAclGuard = () => ({ canUse, redirectTo = "/", children }) => {
|
|
4
|
-
const ability = AbilityContext.useAbility();
|
|
5
|
-
const { replace } = UIRouter.useUIRouter();
|
|
6
|
-
if (!ability.can(canUse[0], canUse[1])) {
|
|
7
|
-
replace(redirectTo);
|
|
8
|
-
return null;
|
|
9
|
-
}
|
|
10
|
-
return children;
|
|
11
|
-
};
|
|
12
|
-
export { createAclGuard };
|
package/dist/AuthGuard.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { UIRouter } from "./router.context.js";
|
|
2
|
-
import { AuthContext } from "./auth.context.js";
|
|
3
|
-
import { useEffect, useState } from "react";
|
|
4
|
-
const AuthGuard = ({ type, redirectTo, children }) => {
|
|
5
|
-
const { isAuthenticated, routes, loadingState } = AuthContext.useAuth();
|
|
6
|
-
const { replace } = UIRouter.useUIRouter();
|
|
7
|
-
const [hasMounted, setHasMounted] = useState(false);
|
|
8
|
-
useEffect(() => {
|
|
9
|
-
setHasMounted(true);
|
|
10
|
-
}, []);
|
|
11
|
-
if (!hasMounted) return loadingState;
|
|
12
|
-
if (type === "private" && !isAuthenticated) {
|
|
13
|
-
replace(redirectTo || routes?.unauthenticated || "/");
|
|
14
|
-
return null;
|
|
15
|
-
}
|
|
16
|
-
if (type === "public-only" && isAuthenticated) {
|
|
17
|
-
replace(redirectTo || routes?.authenticated || "/");
|
|
18
|
-
return null;
|
|
19
|
-
}
|
|
20
|
-
return children;
|
|
21
|
-
};
|
|
22
|
-
export { AuthGuard };
|
package/dist/Button.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { UIStyle } from "./uiStyle.context.js";
|
|
2
|
-
import { ButtonContent } from "./ButtonContent.js";
|
|
3
|
-
import { TooltipEllipsis } from "./TooltipEllipsis.js";
|
|
4
|
-
import { LinkContext } from "./link.context.js";
|
|
5
|
-
import { button, buttonContent, buttonIconSize, buttonSize, buttonTypography } from "./button.cva.js";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import { clsx } from "clsx";
|
|
8
|
-
import { Button, Link, ToggleButton } from "react-aria-components";
|
|
9
|
-
const Button$1 = ({ icon: Icon, iconPosition, children, isLoading, className, link, iconClassName, noDisableWhenLoading, disableTooltip,...props }) => {
|
|
10
|
-
const linkContext = LinkContext.useLinkContext();
|
|
11
|
-
const uiStyle = UIStyle.useConfig();
|
|
12
|
-
const buttonCva = uiStyle?.button?.cva ?? button;
|
|
13
|
-
const buttonSizeCva = uiStyle?.button?.sizeCva ?? buttonSize;
|
|
14
|
-
const buttonContentCva = uiStyle?.button?.contentCva ?? buttonContent;
|
|
15
|
-
const buttonIconSizeCva = uiStyle?.button?.iconSize ?? buttonIconSize;
|
|
16
|
-
const typographyMap = uiStyle?.button?.typography ?? buttonTypography;
|
|
17
|
-
const Component = (() => {
|
|
18
|
-
if (link) return linkContext?.LinkComponent ?? Link;
|
|
19
|
-
if (props.toggle != null) return ToggleButton;
|
|
20
|
-
return Button;
|
|
21
|
-
})();
|
|
22
|
-
if (link && !link.to && link.href) link.to = link.href;
|
|
23
|
-
return /* @__PURE__ */ jsx(TooltipEllipsis, {
|
|
24
|
-
text: children,
|
|
25
|
-
isDisabled: disableTooltip,
|
|
26
|
-
children: (onContentRef) => /* @__PURE__ */ jsx(Component, {
|
|
27
|
-
...props,
|
|
28
|
-
...link,
|
|
29
|
-
isDisabled: props.isDisabled || isLoading && !noDisableWhenLoading,
|
|
30
|
-
className: clsx(buttonCva({
|
|
31
|
-
...props,
|
|
32
|
-
className
|
|
33
|
-
}), buttonSizeCva({ ...props })),
|
|
34
|
-
children: /* @__PURE__ */ jsx(ButtonContent, {
|
|
35
|
-
isLoading,
|
|
36
|
-
icon: Icon,
|
|
37
|
-
text: children,
|
|
38
|
-
ref: onContentRef,
|
|
39
|
-
hideText: props.iconOnly,
|
|
40
|
-
iconPosition,
|
|
41
|
-
iconClassName: buttonIconSizeCva({
|
|
42
|
-
...props,
|
|
43
|
-
className: iconClassName
|
|
44
|
-
}),
|
|
45
|
-
className: buttonContentCva({
|
|
46
|
-
...props,
|
|
47
|
-
iconPosition: !Icon ? "none" : iconPosition
|
|
48
|
-
}),
|
|
49
|
-
typography: typographyMap({ ...props })
|
|
50
|
-
})
|
|
51
|
-
})
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
export { Button$1 as Button };
|
package/dist/ButtonContent.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { buttonContent } from "./buttonContent.cva.js";
|
|
2
|
-
import { Loader } from "./Loader.js";
|
|
3
|
-
import { Typography } from "./Typography.js";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { clsx } from "clsx";
|
|
6
|
-
import { isValidElement } from "react";
|
|
7
|
-
const ButtonContent = ({ ref, text, isLoading, className, icon: Icon, iconClassName, hideText, iconPosition, typography }) => {
|
|
8
|
-
let iconOrLoader = null;
|
|
9
|
-
if (isLoading) iconOrLoader = /* @__PURE__ */ jsx(Loader, { className: "shrink-0" });
|
|
10
|
-
else if (Icon) if (isValidElement(Icon)) iconOrLoader = Icon;
|
|
11
|
-
else iconOrLoader = /* @__PURE__ */ jsx(Icon, { className: clsx("shrink-0", iconClassName) });
|
|
12
|
-
return /* @__PURE__ */ jsxs("span", {
|
|
13
|
-
className: buttonContent({
|
|
14
|
-
iconPosition: iconOrLoader ? iconPosition : null,
|
|
15
|
-
className
|
|
16
|
-
}),
|
|
17
|
-
children: [iconOrLoader, /* @__PURE__ */ jsx(Typography, {
|
|
18
|
-
as: "span",
|
|
19
|
-
size: "label-2",
|
|
20
|
-
variant: "prominent-1",
|
|
21
|
-
...typography,
|
|
22
|
-
className: clsx("hyphens-auto md:truncate", hideText && "sr-only"),
|
|
23
|
-
ref,
|
|
24
|
-
children: text
|
|
25
|
-
})]
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
export { ButtonContent };
|
package/dist/Calendar.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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: "M16.5 2.91a.905.905 0 0 0-.9-.91c-.497 0-.9.407-.9.91v.908H9.3V2.91A.905.905 0 0 0 8.4 2c-.497 0-.9.407-.9.91v.908H5.7C4.209 3.818 3 5.04 3 6.545v12.728C3 20.779 4.209 22 5.7 22h12.6c1.491 0 2.7-1.221 2.7-2.727V6.545c0-1.506-1.209-2.727-2.7-2.727h-1.8zm2.7 6.363V6.545a.905.905 0 0 0-.9-.909h-1.8v.91c0 .502-.403.909-.9.909a.905.905 0 0 1-.9-.91v-.909H9.3v.91c0 .502-.403.909-.9.909a.905.905 0 0 1-.9-.91v-.909H5.7c-.497 0-.9.407-.9.91v2.727zM4.8 11.09h14.4v8.182c0 .502-.403.909-.9.909H5.7a.905.905 0 0 1-.9-.91z",
|
|
12
|
-
clipRule: "evenodd"
|
|
13
|
-
})
|
|
14
|
-
});
|
|
15
|
-
export { CalendarIcon };
|
package/dist/Can.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AbilityContext } from "./ability.context.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { createContextualCan } from "@casl/react";
|
|
4
|
-
var ContextualCan = createContextualCan(AbilityContext.Consumer);
|
|
5
|
-
const Can = ({ use,...props }) => {
|
|
6
|
-
const [action, subject] = use;
|
|
7
|
-
return /* @__PURE__ */ jsx(ContextualCan, {
|
|
8
|
-
...props,
|
|
9
|
-
do: action,
|
|
10
|
-
on: subject
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
export { Can };
|
package/dist/CheckCircle.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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.58 14.146-2.322-2.323a.73.73 0 0 0-.522-.213.7.7 0 0 0-.532.213.72.72 0 0 0-.217.527q0 .31.217.527l2.744 2.744q.27.27.633.271.36 0 .633-.27l5.563-5.564a.73.73 0 0 0 .212-.522.7.7 0 0 0-.212-.532.72.72 0 0 0-.527-.217.72.72 0 0 0-.527.217zm1.422 7.354a9.3 9.3 0 0 1-3.706-.748 9.6 9.6 0 0 1-3.016-2.03 9.6 9.6 0 0 1-2.032-3.016 9.25 9.25 0 0 1-.748-3.704q0-1.972.748-3.706a9.6 9.6 0 0 1 2.03-3.016 9.6 9.6 0 0 1 3.016-2.032 9.25 9.25 0 0 1 3.704-.748q1.972 0 3.706.748a9.6 9.6 0 0 1 3.017 2.03 9.6 9.6 0 0 1 2.03 3.016 9.25 9.25 0 0 1 .749 3.704q0 1.972-.748 3.706a9.6 9.6 0 0 1-2.03 3.017 9.6 9.6 0 0 1-3.016 2.03 9.25 9.25 0 0 1-3.704.749"
|
|
11
|
-
})
|
|
12
|
-
});
|
|
13
|
-
export { CheckCircleIcon };
|
package/dist/Clock.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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: "m14.75 15.917 1.167-1.167-3.083-3.083V7.834h-1.667v4.5zM12 20.334a8.1 8.1 0 0 1-3.25-.657 8.4 8.4 0 0 1-2.646-1.78 8.4 8.4 0 0 1-1.78-2.647A8.1 8.1 0 0 1 3.666 12q0-1.729.656-3.25a8.4 8.4 0 0 1 1.781-2.646 8.4 8.4 0 0 1 2.646-1.78A8.1 8.1 0 0 1 12 3.666q1.73 0 3.25.656a8.4 8.4 0 0 1 2.646 1.781 8.4 8.4 0 0 1 1.781 2.646 8.1 8.1 0 0 1 .657 3.25 8.1 8.1 0 0 1-.657 3.25 8.4 8.4 0 0 1-1.78 2.646 8.4 8.4 0 0 1-2.647 1.781 8.1 8.1 0 0 1-3.25.657m0-1.667q2.771 0 4.72-1.948 1.947-1.948 1.947-4.719 0-2.77-1.948-4.718T12 5.334 7.282 7.282 5.334 12t1.948 4.72Q9.229 18.666 12 18.666"
|
|
11
|
-
})
|
|
12
|
-
});
|
|
13
|
-
export { ClockIcon };
|
package/dist/DateTime.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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: "m18.37 18.852.573-.573-1.534-1.533v-2.291h-.818v2.618zM17.02 21q-1.718 0-2.914-1.186-1.197-1.187-1.197-2.905t1.197-2.904 2.914-1.187q1.699 0 2.884 1.197 1.187 1.196 1.187 2.894t-1.187 2.894T17.02 21"
|
|
11
|
-
}), /* @__PURE__ */ jsx("path", {
|
|
12
|
-
fill: "currentColor",
|
|
13
|
-
fillRule: "evenodd",
|
|
14
|
-
d: "M14.218 3a.74.74 0 0 1 .736.744v.744h1.473c1.22 0 2.21.999 2.21 2.231v4.7a5.7 5.7 0 0 0-1.473-.235v-.746H5.382v6.694c0 .411.33.744.736.744h5.236c.089.523.25 1.023.47 1.488H6.118a2.22 2.22 0 0 1-2.209-2.232V6.72a2.22 2.22 0 0 1 2.21-2.231H7.59v-.744c0-.411.33-.744.736-.744a.74.74 0 0 1 .737.744v.744h4.418v-.744c0-.411.33-.744.736-.744m2.946 3.719V8.95H5.382V6.72c0-.41.33-.744.736-.744h1.473v.744c0 .41.33.744.736.744a.74.74 0 0 0 .737-.744v-.744h4.418v.744c0 .41.33.744.736.744a.74.74 0 0 0 .736-.744v-.744h1.473a.74.74 0 0 1 .737.744",
|
|
15
|
-
clipRule: "evenodd"
|
|
16
|
-
})]
|
|
17
|
-
});
|
|
18
|
-
export { DateTimeIcon };
|
package/dist/File.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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.9 2.1a1 1 0 0 1 .234.03l.009.003a1 1 0 0 1 .12.046q.03.013.054.027a1 1 0 0 1 .143.093q.03.023.058.049l.018.015 6.3 6.301.014.015q.015.014.029.032l.016.018q.018.025.034.048.022.03.042.062.02.035.037.073a.9.9 0 0 1 .093.388l-.001.016V19.2a2.7 2.7 0 0 1-2.7 2.7H6.6a2.7 2.7 0 0 1-2.7-2.7V4.8a2.7 2.7 0 0 1 2.7-2.7zM6.6 3.9a.9.9 0 0 0-.9.9v14.4a.9.9 0 0 0 .9.9h10.8a.9.9 0 0 0 .9-.9v-9h-5.4a.9.9 0 0 1-.9-.9V3.9zm7.2 4.5h3.227l-3.226-3.226z",
|
|
12
|
-
clipRule: "evenodd"
|
|
13
|
-
})
|
|
14
|
-
});
|
|
15
|
-
export { FileIcon };
|
package/dist/IconButton.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Button } from "./Button.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
const IconButton = ({ label,...props }) => {
|
|
4
|
-
return /* @__PURE__ */ jsx(Button, {
|
|
5
|
-
...props,
|
|
6
|
-
iconOnly: true,
|
|
7
|
-
width: "hug",
|
|
8
|
-
disableTooltip: props.disableTooltip,
|
|
9
|
-
children: label
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
export { IconButton };
|
package/dist/Menu.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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: "M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M2 12a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M3 17a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2z"
|
|
11
|
-
})
|
|
12
|
-
});
|
|
13
|
-
export { MenuIcon };
|