@povio/ui 3.4.0-rc.16 → 3.4.0-rc.18
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 +20 -1
- package/dist/components/Menu/Menu.d.ts +1 -1
- package/dist/components/Menu/MenuMobile.js +1 -1
- package/dist/components/accordion.d.ts +3 -0
- package/dist/components/accordion.js +2 -0
- package/dist/components/{overlays/ActionModal/ActionModal.d.ts → action-modal.d.ts} +3 -3
- package/dist/components/{overlays/ActionModal/ActionModal.js → action-modal.js} +4 -4
- package/dist/components/{status/Alert/Alert.d.ts → alert.d.ts} +1 -1
- package/dist/components/{status/Alert/Alert.js → alert.js} +5 -5
- package/dist/components/{inputs/Selection/Autocomplete/Autocomplete.d.ts → autocomplete.d.ts} +4 -4
- package/dist/components/{inputs/Selection/Autocomplete/Autocomplete.js → autocomplete.js} +9 -9
- package/dist/components/{overlays/BottomSheet/BottomSheet.d.ts → bottom-sheet.d.ts} +1 -1
- package/dist/components/{overlays/BottomSheet/BottomSheet.js → bottom-sheet.js} +4 -4
- package/dist/components/{Breadcrumbs/Breadcrumbs.d.ts → breadcrumbs.d.ts} +3 -3
- package/dist/components/{Breadcrumbs/Breadcrumbs.js → breadcrumbs.js} +11 -11
- package/dist/components/button.d.ts +3 -0
- package/dist/components/button.js +2 -0
- package/dist/components/buttons/Button/Button.d.ts +1 -1
- package/dist/components/buttons/shared/ButtonContent.js +1 -1
- package/dist/components/{inputs/Checkbox/CheckboxGroup.d.ts → checkbox-group.d.ts} +11 -11
- package/dist/components/{inputs/Checkbox/CheckboxGroup.js → checkbox-group.js} +12 -12
- package/dist/components/checkbox.d.ts +24 -0
- package/dist/components/{inputs/Checkbox/Checkbox.js → checkbox.js} +11 -11
- package/dist/components/date-picker.d.ts +2 -0
- package/dist/components/date-picker.js +2 -0
- package/dist/components/date-range-picker.d.ts +2 -0
- package/dist/components/date-range-picker.js +2 -0
- package/dist/components/date-time-picker.d.ts +2 -0
- package/dist/components/date-time-picker.js +2 -0
- package/dist/components/{overlays/Drawer/Drawer.js → drawer.js} +1 -1
- package/dist/components/{inputs/File/FileUploadContainer.d.ts → file-upload-container.d.ts} +1 -1
- package/dist/components/{inputs/File/FileUploadContainer.js → file-upload-container.js} +1 -1
- package/dist/components/{inputs/File/FileUpload.d.ts → file-upload.d.ts} +3 -3
- package/dist/components/{inputs/File/FileUpload.js → file-upload.js} +10 -10
- package/dist/components/{inputs/FormField/FormField.d.ts → form-field.d.ts} +3 -3
- package/dist/components/{inputs/FormField/FormField.js → form-field.js} +3 -3
- package/dist/components/{buttons/IconButton/IconButton.d.ts → icon-button.d.ts} +2 -2
- package/dist/components/{buttons/IconButton/IconButton.js → icon-button.js} +2 -2
- package/dist/components/{buttons/InlineIconButton/InlineIconButton.d.ts → inline-icon-button.d.ts} +2 -2
- package/dist/components/{buttons/InlineIconButton/InlineIconButton.js → inline-icon-button.js} +1 -1
- package/dist/components/{inputs/File/InputUpload.d.ts → input-upload.d.ts} +2 -2
- package/dist/components/{inputs/File/InputUpload.js → input-upload.js} +6 -6
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +4 -4
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +4 -4
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +4 -4
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +1 -1
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +4 -4
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +1 -1
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +2 -2
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +2 -2
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +1 -1
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +1 -1
- package/dist/components/inputs/DateTime/shared/TimePickerForm.js +1 -1
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +2 -2
- package/dist/components/inputs/DateTime/shared/datePicker.types.d.ts +1 -1
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +2 -2
- package/dist/components/inputs/File/fileUpload.types.d.ts +1 -1
- package/dist/components/inputs/File/inputUpload.types.d.ts +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentError.js +2 -2
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +2 -2
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +1 -1
- package/dist/components/inputs/File/shared/InputUploadContent.js +1 -1
- package/dist/components/inputs/File/shared/InputUploadFilled.js +1 -1
- package/dist/components/inputs/FormField/FormFieldHeader.js +1 -1
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +1 -1
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +1 -1
- package/dist/components/inputs/Input/shared/InputContent.d.ts +1 -1
- package/dist/components/inputs/Input/shared/InputContent.js +3 -3
- package/dist/components/inputs/Inputs/InputItem.d.ts +16 -16
- package/dist/components/inputs/Inputs/InputItem.js +13 -13
- package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +1 -1
- package/dist/components/inputs/Selection/Select/Select.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectBase.d.ts +2 -2
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +3 -3
- package/dist/components/inputs/Selection/shared/SelectInput.js +2 -2
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectMobile.js +3 -3
- package/dist/components/inputs/Skeleton/InputFrame.js +4 -4
- package/dist/components/inputs/TextEditor/TextEditor.d.ts +1 -1
- package/dist/components/inputs/TextEditor/TextEditor.js +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +3 -3
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +1 -1
- package/dist/components/inputs/shared/InputClear.js +1 -1
- package/dist/components/inputs/shared/TooltipWrapper.js +1 -1
- package/dist/components/link.d.ts +11 -0
- package/dist/components/{text/Link/Link.js → link.js} +7 -7
- package/dist/components/{status/Loader/Loader.d.ts → loader.d.ts} +1 -1
- package/dist/components/{status/Loader/Loader.js → loader.js} +1 -1
- package/dist/components/menu.d.ts +3 -0
- package/dist/components/menu.js +3 -0
- package/dist/components/modal.d.ts +2 -0
- package/dist/components/modal.js +2 -0
- package/dist/components/{inputs/Input/NumberInput/NumberInput.d.ts → number-input.d.ts} +5 -5
- package/dist/components/{inputs/Input/NumberInput/NumberInput.js → number-input.js} +12 -12
- package/dist/components/{inputs/Input/NumberRangeInput/NumberRangeInput.d.ts → number-range-input.d.ts} +5 -5
- package/dist/components/{inputs/Input/NumberRangeInput/NumberRangeInput.js → number-range-input.js} +11 -11
- package/dist/components/overlays/Modal/Modal.js +1 -1
- package/dist/components/{shared/pagination/PaginationList.d.ts → pagination-list.d.ts} +1 -1
- package/dist/components/{shared/pagination/PaginationList.js → pagination-list.js} +3 -3
- package/dist/components/{shared/pagination/Pagination.d.ts → pagination.d.ts} +1 -1
- package/dist/components/{shared/pagination/Pagination.js → pagination.js} +4 -4
- package/dist/components/{inputs/Input/PasswordInput/PasswordInput.d.ts → password-input.d.ts} +3 -3
- package/dist/components/{inputs/Input/PasswordInput/PasswordInput.js → password-input.js} +2 -2
- package/dist/components/{buttons/PillButton/PillButton.d.ts → pill-button.d.ts} +2 -2
- package/dist/components/{buttons/PillButton/PillButton.js → pill-button.js} +3 -3
- package/dist/components/{text/Pill/Pill.d.ts → pill.d.ts} +2 -2
- package/dist/components/{text/Pill/Pill.js → pill.js} +5 -5
- package/dist/components/progress-bar.d.ts +2 -0
- package/dist/components/progress-bar.js +2 -0
- package/dist/components/{inputs/Selection/Autocomplete/QueryAutocomplete.d.ts → query-autocomplete.d.ts} +3 -3
- package/dist/components/{inputs/Selection/Autocomplete/QueryAutocomplete.js → query-autocomplete.js} +5 -5
- package/dist/components/{inputs/Selection/Select/QuerySelect.d.ts → query-select.d.ts} +5 -5
- package/dist/components/{inputs/Selection/Select/QuerySelect.js → query-select.js} +5 -5
- package/dist/components/radio-group.d.ts +24 -0
- package/dist/components/{inputs/RadioGroup/RadioGroup.js → radio-group.js} +12 -12
- package/dist/components/{overlays/ResponsivePopover/ResponsivePopover.d.ts → responsive-popover.d.ts} +1 -1
- package/dist/components/{overlays/ResponsivePopover/ResponsivePopover.js → responsive-popover.js} +4 -4
- package/dist/components/segment/Segment.js +1 -1
- package/dist/components/segment.d.ts +3 -0
- package/dist/components/segment.js +2 -0
- package/dist/components/select.d.ts +4 -0
- package/dist/components/select.js +2 -0
- package/dist/components/{inputs/Slider/Slider.d.ts → slider.d.ts} +9 -9
- package/dist/components/{inputs/Slider/Slider.js → slider.js} +9 -9
- package/dist/components/{buttons/SplitButton/SplitButton.d.ts → split-button.d.ts} +3 -3
- package/dist/components/{buttons/SplitButton/SplitButton.js → split-button.js} +3 -3
- package/dist/components/status/Toast/Toast.js +1 -1
- package/dist/components/stepper.d.ts +3 -0
- package/dist/components/stepper.js +2 -0
- package/dist/components/table/ColumnConfig.js +1 -1
- package/dist/components/table/InfiniteTable.js +1 -1
- package/dist/components/table/PaginatedTable.js +1 -1
- package/dist/components/table/Table.js +1 -1
- package/dist/components/{text/Tag/Tag.d.ts → tag.d.ts} +2 -2
- package/dist/components/{text/Tag/Tag.js → tag.js} +5 -5
- package/dist/components/text-area.d.ts +21 -0
- package/dist/components/{inputs/Input/TextArea/TextArea.js → text-area.js} +13 -13
- package/dist/components/{buttons/TextButton/TextButton.d.ts → text-button.d.ts} +4 -4
- package/dist/components/{buttons/TextButton/TextButton.js → text-button.js} +1 -1
- package/dist/components/{inputs/Input/TextInput/TextInput.d.ts → text-input.d.ts} +5 -5
- package/dist/components/{inputs/Input/TextInput/TextInput.js → text-input.js} +10 -10
- package/dist/components/time-picker.d.ts +2 -0
- package/dist/components/time-picker.js +2 -0
- package/dist/components/toast.d.ts +3 -0
- package/dist/components/toast.js +2 -0
- package/dist/components/toggle-button.d.ts +12 -0
- package/dist/components/{buttons/ToggleButton/ToggleButton.js → toggle-button.js} +1 -1
- package/dist/components/{inputs/Toggle/Toggle.d.ts → toggle.d.ts} +4 -4
- package/dist/components/{inputs/Toggle/Toggle.js → toggle.js} +6 -6
- package/dist/components/{overlays/Tooltip/TooltipEllipsis.js → tooltip-ellipsis.js} +1 -1
- package/dist/components/tooltip.d.ts +16 -0
- package/dist/components/{overlays/Tooltip/Tooltip.js → tooltip.js} +7 -7
- package/dist/components/typography.d.ts +3 -0
- package/dist/components/typography.js +2 -0
- package/dist/components/use-toast.d.ts +16 -0
- package/dist/components/{status/Toast/useToast.js → use-toast.js} +1 -1
- package/dist/config/confirmation.context.d.ts +1 -1
- package/dist/config/confirmation.context.js +1 -1
- package/dist/config/confirmation.d.ts +2 -0
- package/dist/config/confirmation.js +2 -0
- package/dist/config/link-context.d.ts +3 -0
- package/dist/config/link-context.js +2 -0
- package/dist/config/link.context.d.ts +1 -1
- package/dist/config/resources.d.ts +2 -0
- package/dist/config/resources.js +2 -0
- package/dist/config/theme-context.d.ts +2 -0
- package/dist/config/theme-context.js +2 -0
- package/dist/config/ui-config.d.ts +2 -0
- package/dist/config/ui-config.js +2 -0
- package/dist/config/ui-overrides.d.ts +2 -0
- package/dist/config/ui-overrides.js +2 -0
- package/dist/config/ui-router.d.ts +2 -0
- package/dist/config/ui-router.js +2 -0
- package/dist/config/uiConfig.context.d.ts +10 -10
- package/dist/helpers/dynamicInputs.d.ts +1 -1
- package/dist/hooks/use-filters.d.ts +2 -0
- package/dist/hooks/use-filters.js +2 -0
- package/dist/hooks/use-local-storage.d.ts +2 -0
- package/dist/hooks/use-local-storage.js +2 -0
- package/dist/hooks/use-translation-memo.d.ts +2 -0
- package/dist/hooks/use-translation-memo.js +2 -0
- package/dist/hooks/useTableNav.js +1 -1
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +2 -0
- package/dist/index.d.ts +87 -67
- package/dist/index.js +58 -38
- package/dist/rhf/Inputs.d.ts +19 -1
- package/dist/rhf/{Inputs.js → Inputs2.js} +18 -1
- package/dist/rhf/autocomplete.d.ts +16 -0
- package/dist/rhf/autocomplete.js +9 -0
- package/dist/rhf/checkbox-group.d.ts +9 -0
- package/dist/rhf/checkbox-group.js +9 -0
- package/dist/rhf/checkbox.d.ts +9 -0
- package/dist/rhf/checkbox.js +9 -0
- package/dist/rhf/components.d.ts +39 -78
- package/dist/rhf/date-picker.d.ts +9 -0
- package/dist/rhf/date-picker.js +10 -0
- package/dist/rhf/date-range-picker.d.ts +9 -0
- package/dist/rhf/date-range-picker.js +10 -0
- package/dist/rhf/date-time-picker.d.ts +9 -0
- package/dist/rhf/date-time-picker.js +10 -0
- package/dist/rhf/date.transforms.js +15 -0
- package/dist/rhf/entry.utils.js +22 -0
- package/dist/rhf/file-upload.d.ts +10 -0
- package/dist/rhf/file-upload.js +7 -0
- package/dist/rhf/input-upload.d.ts +10 -0
- package/dist/rhf/input-upload.js +7 -0
- package/dist/rhf/inputs.js +3 -0
- package/dist/rhf/inputs2.d.ts +6 -0
- package/dist/rhf/number-input.d.ts +8 -0
- package/dist/rhf/number-input.js +7 -0
- package/dist/rhf/number-range-input.d.ts +8 -0
- package/dist/rhf/number-range-input.js +7 -0
- package/dist/rhf/password-input.d.ts +8 -0
- package/dist/rhf/password-input.js +7 -0
- package/dist/rhf/query-autocomplete.d.ts +14 -0
- package/dist/rhf/query-autocomplete.js +9 -0
- package/dist/rhf/query-select.d.ts +15 -0
- package/dist/rhf/query-select.js +9 -0
- package/dist/rhf/radio-group.d.ts +9 -0
- package/dist/rhf/radio-group.js +9 -0
- package/dist/rhf/segment.d.ts +9 -0
- package/dist/rhf/segment.js +7 -0
- package/dist/rhf/select.d.ts +16 -0
- package/dist/rhf/select.js +9 -0
- package/dist/rhf/slider.d.ts +8 -0
- package/dist/rhf/slider.js +7 -0
- package/dist/rhf/text-area.d.ts +8 -0
- package/dist/rhf/text-area.js +7 -0
- package/dist/rhf/text-editor.d.ts +8 -0
- package/dist/rhf/text-editor.js +7 -0
- package/dist/rhf/text-input.d.ts +8 -0
- package/dist/rhf/text-input.js +7 -0
- package/dist/rhf/time-picker.d.ts +9 -0
- package/dist/rhf/time-picker.js +10 -0
- package/dist/rhf/toggle.d.ts +9 -0
- package/dist/rhf/toggle.js +9 -0
- package/dist/rhf.d.ts +89 -68
- package/dist/rhf.js +58 -38
- package/dist/styles/input.d.ts +2 -0
- package/dist/styles/input.js +0 -0
- package/dist/styles/outline.d.ts +2 -0
- package/dist/styles/outline.js +2 -0
- package/dist/tanstack/autocomplete.d.ts +2 -0
- package/dist/tanstack/autocomplete.js +2 -0
- package/dist/tanstack/checkbox-group.d.ts +2 -0
- package/dist/tanstack/checkbox-group.js +2 -0
- package/dist/tanstack/checkbox.d.ts +2 -0
- package/dist/tanstack/checkbox.js +2 -0
- package/dist/tanstack/date-picker.d.ts +2 -0
- package/dist/tanstack/date-picker.js +2 -0
- package/dist/tanstack/date-range-picker.d.ts +2 -0
- package/dist/tanstack/date-range-picker.js +2 -0
- package/dist/tanstack/date-time-picker.d.ts +2 -0
- package/dist/tanstack/date-time-picker.js +2 -0
- package/dist/tanstack/file-upload.d.ts +3 -0
- package/dist/tanstack/file-upload.js +2 -0
- package/dist/tanstack/form.d.ts +4 -0
- package/dist/tanstack/form.js +4 -0
- package/dist/tanstack/input-upload.d.ts +3 -0
- package/dist/tanstack/input-upload.js +2 -0
- package/dist/tanstack/inputs.d.ts +6 -0
- package/dist/tanstack/inputs.js +3 -0
- package/dist/tanstack/number-input.d.ts +2 -0
- package/dist/tanstack/number-input.js +2 -0
- package/dist/tanstack/number-range-input.d.ts +3 -0
- package/dist/tanstack/number-range-input.js +2 -0
- package/dist/tanstack/password-input.d.ts +2 -0
- package/dist/tanstack/password-input.js +2 -0
- package/dist/tanstack/query-autocomplete.d.ts +2 -0
- package/dist/tanstack/query-autocomplete.js +2 -0
- package/dist/tanstack/query-select.d.ts +2 -0
- package/dist/tanstack/query-select.js +2 -0
- package/dist/tanstack/radio-group.d.ts +2 -0
- package/dist/tanstack/radio-group.js +2 -0
- package/dist/tanstack/segment.d.ts +3 -0
- package/dist/tanstack/segment.js +2 -0
- package/dist/tanstack/select.d.ts +2 -0
- package/dist/tanstack/select.js +2 -0
- package/dist/tanstack/slider.d.ts +2 -0
- package/dist/tanstack/slider.js +2 -0
- package/dist/tanstack/table.d.ts +13 -0
- package/dist/tanstack/table.js +12 -0
- package/dist/tanstack/text-area.d.ts +2 -0
- package/dist/tanstack/text-area.js +2 -0
- package/dist/tanstack/text-editor.d.ts +2 -0
- package/dist/tanstack/text-editor.js +2 -0
- package/dist/tanstack/text-input.d.ts +2 -0
- package/dist/tanstack/text-input.js +2 -0
- package/dist/tanstack/time-picker.d.ts +2 -0
- package/dist/tanstack/time-picker.js +2 -0
- package/dist/tanstack/toggle.d.ts +2 -0
- package/dist/tanstack/toggle.js +2 -0
- package/dist/tanstack.d.ts +73 -73
- package/dist/tanstack.js +52 -52
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +0 -0
- package/dist/utils/compound-mapper.d.ts +2 -0
- package/dist/utils/compound-mapper.js +2 -0
- package/dist/utils/date-time.d.ts +2 -0
- package/dist/utils/date-time.js +2 -0
- package/dist/utils/date.d.ts +2 -0
- package/dist/utils/date.js +2 -0
- package/dist/utils/file.d.ts +2 -0
- package/dist/utils/file.js +2 -0
- package/dist/utils/intl.d.ts +2 -0
- package/dist/utils/intl.js +2 -0
- package/dist/utils/logger.js +1 -18
- package/dist/utils/logger2.d.ts +2 -0
- package/dist/utils/logger2.js +19 -0
- package/dist/utils/string.d.ts +2 -0
- package/dist/utils/string.js +2 -0
- package/package.json +642 -10
- package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -12
- package/dist/components/inputs/Checkbox/Checkbox.d.ts +0 -23
- package/dist/components/inputs/Input/TextArea/TextArea.d.ts +0 -21
- package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +0 -24
- package/dist/components/overlays/Tooltip/Tooltip.d.ts +0 -16
- package/dist/components/status/Toast/useToast.d.ts +0 -16
- package/dist/components/text/Link/Link.d.ts +0 -11
- package/dist/rhf/components.js +0 -101
- /package/dist/components/{overlays/Drawer/Drawer.d.ts → drawer.d.ts} +0 -0
- /package/dist/components/{overlays/Tooltip/TooltipEllipsis.d.ts → tooltip-ellipsis.d.ts} +0 -0
- /package/dist/styles/{editor.css → styles/editor.css} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LinkNavigationProps } from "
|
|
2
|
-
import { ButtonVariantProps } from "
|
|
3
|
-
import { MenuItem as MenuItem$1 } from "
|
|
1
|
+
import { LinkNavigationProps } from "./link.js";
|
|
2
|
+
import { ButtonVariantProps } from "./buttons/Button/button.cva.js";
|
|
3
|
+
import { MenuItem as MenuItem$1 } from "./Menu/Menu.js";
|
|
4
4
|
import { ButtonProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/buttons/SplitButton/SplitButton.d.ts
|
|
6
6
|
interface SplitButtonProps extends ButtonVariantProps, Omit<ButtonProps, "children"> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Button } from "
|
|
2
|
-
import { IconButton } from "
|
|
3
|
-
import { Menu } from "
|
|
1
|
+
import { Button } from "./buttons/Button/Button.js";
|
|
2
|
+
import { IconButton } from "./icon-button.js";
|
|
3
|
+
import { Menu } from "./Menu/Menu.js";
|
|
4
4
|
import { ChevronDown } from "lucide-react";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
2
|
import { Typography } from "../../text/Typography/Typography.js";
|
|
3
|
-
import { Loader } from "
|
|
3
|
+
import { Loader } from "../../loader.js";
|
|
4
4
|
import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
5
5
|
import { Button } from "../../buttons/Button/Button.js";
|
|
6
6
|
import { buttonColorVariant, statusIconDefinition, statusSeparatorDefinition, toastContainerDefinition, toastDefinition, toastWrapper } from "./toast.cva.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Typography } from "../text/Typography/Typography.js";
|
|
2
2
|
import "../../config/i18n.js";
|
|
3
|
-
import { Checkbox } from "../
|
|
3
|
+
import { Checkbox } from "../checkbox.js";
|
|
4
4
|
import { Modal } from "../overlays/Modal/Modal.js";
|
|
5
5
|
import { Table } from "./Table.js";
|
|
6
6
|
import { useTranslationMemo } from "../../hooks/useTranslationMemo.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use no memo";
|
|
2
2
|
import { UIOverrides } from "../../config/uiOverrides.context.js";
|
|
3
|
-
import { InlineIconButton } from "../
|
|
3
|
+
import { InlineIconButton } from "../inline-icon-button.js";
|
|
4
4
|
import { useIntersectionObserver } from "../../hooks/useIntersectionObserver.js";
|
|
5
5
|
import { tableDataDefinition, tableHeadDataDefinition, tableHeadRowDefinition, tableRowDefinition, theadDefinition } from "./table.cva.js";
|
|
6
6
|
import { CellText } from "./CellText.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TypographyProps } from "
|
|
2
|
-
import { TagVariantProps } from "./tag.cva.js";
|
|
1
|
+
import { TypographyProps } from "./text/Typography/Typography.js";
|
|
2
|
+
import { TagVariantProps } from "./text/Tag/tag.cva.js";
|
|
3
3
|
import { Ref } from "react";
|
|
4
4
|
import { ButtonProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/text/Tag/Tag.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { Typography } from "
|
|
3
|
-
import { UIConfig } from "
|
|
4
|
-
import "
|
|
5
|
-
import { tagDefinition } from "./tag.cva.js";
|
|
1
|
+
import { UIOverrides } from "../config/uiOverrides.context.js";
|
|
2
|
+
import { Typography } from "./text/Typography/Typography.js";
|
|
3
|
+
import { UIConfig } from "../config/uiConfig.context.js";
|
|
4
|
+
import "../config/i18n.js";
|
|
5
|
+
import { tagDefinition } from "./text/Tag/tag.cva.js";
|
|
6
6
|
import { X } from "lucide-react";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
8
|
import { Button } from "react-aria-components";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FieldValues } from "./inputs/shared/form.binding.js";
|
|
2
|
+
import { ControlProps } from "./inputs/shared/form.types.js";
|
|
3
|
+
import { InputVariantProps } from "./inputs/shared/input.cva.js";
|
|
4
|
+
import { FormFieldProps } from "./form-field.js";
|
|
5
|
+
import { Ref } from "react";
|
|
6
|
+
import { TextAreaProps as TextAreaProps$1 } from "react-aria-components";
|
|
7
|
+
import { AriaTextFieldProps } from "react-aria";
|
|
8
|
+
//#region src/components/inputs/Input/TextArea/TextArea.d.ts
|
|
9
|
+
interface TextAreaBaseProps extends FormFieldProps, InputVariantProps, Omit<TextAreaProps$1, "value" | "defaultValue" | "onChange" | "disabled" | "required" | "className" | keyof AriaTextFieldProps>, Omit<AriaTextFieldProps<HTMLTextAreaElement>, "label"> {
|
|
10
|
+
ref?: Ref<HTMLTextAreaElement>;
|
|
11
|
+
isClearable?: boolean;
|
|
12
|
+
isClearableIfDisabled?: boolean;
|
|
13
|
+
isDirty?: boolean;
|
|
14
|
+
inputClassName?: string;
|
|
15
|
+
}
|
|
16
|
+
interface TextAreaProps extends TextAreaBaseProps {}
|
|
17
|
+
type ControlledTextAreaProps<TFieldValues extends FieldValues> = ControlProps<TextAreaProps, TFieldValues>;
|
|
18
|
+
declare const TextAreaComponent: <TFieldValues extends FieldValues>(props: ControlledTextAreaProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare const TextArea: typeof TextAreaComponent;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ControlledTextAreaProps, TextArea, TextAreaProps };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { UIConfig } from "
|
|
3
|
-
import { FieldController } from "
|
|
4
|
-
import { FormFieldLabel } from "
|
|
5
|
-
import { FormField } from "
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { TooltipWrapper } from "
|
|
9
|
-
import { textAreaWrapperDefinition } from "./TextArea.cva.js";
|
|
1
|
+
import { UIOverrides } from "../config/uiOverrides.context.js";
|
|
2
|
+
import { UIConfig } from "../config/uiConfig.context.js";
|
|
3
|
+
import { FieldController } from "./inputs/shared/form.binding.js";
|
|
4
|
+
import { FormFieldLabel } from "./inputs/FormField/FormFieldLabel.js";
|
|
5
|
+
import { FormField } from "./form-field.js";
|
|
6
|
+
import { InputClear } from "./inputs/shared/InputClear.js";
|
|
7
|
+
import { inputSideDefinition, inputSizeDefinition, useInputCva } from "./inputs/shared/input.cva.js";
|
|
8
|
+
import { TooltipWrapper } from "./inputs/shared/TooltipWrapper.js";
|
|
9
|
+
import { textAreaWrapperDefinition } from "./inputs/Input/TextArea/TextArea.cva.js";
|
|
10
10
|
import { clsx } from "clsx";
|
|
11
11
|
import { memo, useRef } from "react";
|
|
12
|
-
import { TextArea } from "react-aria-components";
|
|
12
|
+
import { TextArea as TextArea$1 } from "react-aria-components";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { useTextField } from "react-aria";
|
|
15
15
|
import { mergeRefs } from "@react-aria/utils";
|
|
@@ -84,7 +84,7 @@ const TextAreaBase = (props) => {
|
|
|
84
84
|
type: "left"
|
|
85
85
|
}))
|
|
86
86
|
}),
|
|
87
|
-
/* @__PURE__ */ jsx(TextArea, {
|
|
87
|
+
/* @__PURE__ */ jsx(TextArea$1, {
|
|
88
88
|
...inputProps,
|
|
89
89
|
"data-is-dirty": isDirty || void 0,
|
|
90
90
|
"data-is-required": isRequired || void 0,
|
|
@@ -133,6 +133,6 @@ const TextAreaComponent = (props) => {
|
|
|
133
133
|
}
|
|
134
134
|
return /* @__PURE__ */ jsx(TextAreaBase, { ...props });
|
|
135
135
|
};
|
|
136
|
-
const TextArea
|
|
136
|
+
const TextArea = memo(TextAreaComponent);
|
|
137
137
|
//#endregion
|
|
138
|
-
export { TextArea
|
|
138
|
+
export { TextArea };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LinkNavigationProps } from "
|
|
2
|
-
import { ButtonVariantProps } from "
|
|
3
|
-
import { ButtonContentVariantProps } from "
|
|
4
|
-
import { ButtonIconProps } from "
|
|
1
|
+
import { LinkNavigationProps } from "./link.js";
|
|
2
|
+
import { ButtonVariantProps } from "./buttons/Button/button.cva.js";
|
|
3
|
+
import { ButtonContentVariantProps } from "./buttons/shared/buttonContent.cva.js";
|
|
4
|
+
import { ButtonIconProps } from "./buttons/Button/Button.js";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
import { ButtonProps } from "react-aria-components";
|
|
7
7
|
//#region src/components/buttons/TextButton/TextButton.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FieldValues } from "
|
|
2
|
-
import { ControlProps } from "
|
|
3
|
-
import { InputVariantProps } from "
|
|
4
|
-
import { InputContentProps } from "
|
|
5
|
-
import { FormFieldProps } from "
|
|
1
|
+
import { FieldValues } from "./inputs/shared/form.binding.js";
|
|
2
|
+
import { ControlProps } from "./inputs/shared/form.types.js";
|
|
3
|
+
import { InputVariantProps } from "./inputs/shared/input.cva.js";
|
|
4
|
+
import { InputContentProps } from "./inputs/Input/shared/InputContent.js";
|
|
5
|
+
import { FormFieldProps } from "./form-field.js";
|
|
6
6
|
import { Ref } from "react";
|
|
7
7
|
import { InputProps } from "react-aria-components";
|
|
8
8
|
import { AriaTextFieldProps } from "react-aria";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { UIConfig } from "
|
|
3
|
-
import { FieldController } from "
|
|
4
|
-
import { FormField } from "
|
|
5
|
-
import { inputBaseDefinition } from "
|
|
6
|
-
import { TooltipWrapper } from "
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { UIOverrides } from "../config/uiOverrides.context.js";
|
|
2
|
+
import { UIConfig } from "../config/uiConfig.context.js";
|
|
3
|
+
import { FieldController } from "./inputs/shared/form.binding.js";
|
|
4
|
+
import { FormField } from "./form-field.js";
|
|
5
|
+
import { inputBaseDefinition } from "./inputs/shared/input.cva.js";
|
|
6
|
+
import { TooltipWrapper } from "./inputs/shared/TooltipWrapper.js";
|
|
7
|
+
import { InputContent } from "./inputs/Input/shared/InputContent.js";
|
|
8
|
+
import { InputFrame } from "./inputs/Skeleton/InputFrame.js";
|
|
9
|
+
import { useFieldAccessibility } from "./inputs/shared/useFieldAccessibility.js";
|
|
10
|
+
import { useStaticInputHandoff } from "./inputs/shared/useStaticInputHandoff.js";
|
|
11
11
|
import { clsx } from "clsx";
|
|
12
12
|
import { memo, useEffect, useRef, useState } from "react";
|
|
13
13
|
import { Input } from "react-aria-components";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonVariantProps } from "./buttons/Button/button.cva.js";
|
|
2
|
+
import { ButtonContentVariantProps } from "./buttons/shared/buttonContent.cva.js";
|
|
3
|
+
import { ButtonIconProps } from "./buttons/Button/Button.js";
|
|
4
|
+
import { ReactNode } from "react";
|
|
5
|
+
import { ToggleButtonProps as ToggleButtonProps$1 } from "react-aria-components";
|
|
6
|
+
//#region src/components/buttons/ToggleButton/ToggleButton.d.ts
|
|
7
|
+
type ToggleButtonProps = ButtonVariantProps & ButtonContentVariantProps & ToggleButtonProps$1 & ButtonIconProps<true | false> & {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare const ToggleButton: ({ children, ...props }: ToggleButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ToggleButton, ToggleButtonProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FieldValues } from "
|
|
2
|
-
import { FormFieldErrorProps } from "
|
|
3
|
-
import { ControlProps } from "
|
|
4
|
-
import { ToggleVariantProps } from "./toggle.cva.js";
|
|
1
|
+
import { FieldValues } from "./inputs/shared/form.binding.js";
|
|
2
|
+
import { FormFieldErrorProps } from "./inputs/FormField/FormFieldError.js";
|
|
3
|
+
import { ControlProps } from "./inputs/shared/form.types.js";
|
|
4
|
+
import { ToggleVariantProps } from "./inputs/Toggle/toggle.cva.js";
|
|
5
5
|
import { Ref } from "react";
|
|
6
6
|
import { SwitchProps } from "react-aria-components";
|
|
7
7
|
//#region src/components/inputs/Toggle/Toggle.d.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { UIConfig } from "
|
|
3
|
-
import { FieldController } from "
|
|
4
|
-
import { FormFieldError } from "
|
|
5
|
-
import { CheckContent } from "
|
|
6
|
-
import { toggleContentClassName, toggleDefinition, toggleTypography } from "./toggle.cva.js";
|
|
1
|
+
import { UIOverrides } from "../config/uiOverrides.context.js";
|
|
2
|
+
import { UIConfig } from "../config/uiConfig.context.js";
|
|
3
|
+
import { FieldController } from "./inputs/shared/form.binding.js";
|
|
4
|
+
import { FormFieldError } from "./inputs/FormField/FormFieldError.js";
|
|
5
|
+
import { CheckContent } from "./inputs/shared/CheckContent.js";
|
|
6
|
+
import { toggleContentClassName, toggleDefinition, toggleTypography } from "./inputs/Toggle/toggle.cva.js";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
8
|
import { memo } from "react";
|
|
9
9
|
import { Switch } from "react-aria-components";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TooltipVariantProps } from "./overlays/Tooltip/tooltip.cva.js";
|
|
2
|
+
import { PropsWithChildren, ReactNode } from "react";
|
|
3
|
+
import { TooltipProps as TooltipProps$1 } from "react-aria-components";
|
|
4
|
+
//#region src/components/overlays/Tooltip/Tooltip.d.ts
|
|
5
|
+
interface TooltipProps extends PropsWithChildren<TooltipProps$1>, TooltipVariantProps {
|
|
6
|
+
text: ReactNode;
|
|
7
|
+
isDisabled?: boolean;
|
|
8
|
+
delay?: number;
|
|
9
|
+
closeDelay?: number;
|
|
10
|
+
isNonInteractiveTrigger?: boolean;
|
|
11
|
+
triggerClassName?: string;
|
|
12
|
+
triggerTabIndex?: number;
|
|
13
|
+
}
|
|
14
|
+
declare const Tooltip: ({ children, text, isDisabled, delay, closeDelay, color, isNonInteractiveTrigger, triggerClassName, triggerTabIndex, ...tooltipProps }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Tooltip, TooltipProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { tooltipDefinition, tooltipPointerHorizontalDefinition, tooltipPointerVerticalDefinition, tooltipTextDefinition } from "./tooltip.cva.js";
|
|
3
|
-
import { Typography } from "
|
|
1
|
+
import { UIOverrides } from "../config/uiOverrides.context.js";
|
|
2
|
+
import { tooltipDefinition, tooltipPointerHorizontalDefinition, tooltipPointerVerticalDefinition, tooltipTextDefinition } from "./overlays/Tooltip/tooltip.cva.js";
|
|
3
|
+
import { Typography } from "./text/Typography/Typography.js";
|
|
4
4
|
import { Triangle, TriangleRight } from "lucide-react";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { Fragment, useRef } from "react";
|
|
8
|
-
import { OverlayArrow, Tooltip, TooltipTrigger } from "react-aria-components";
|
|
8
|
+
import { OverlayArrow, Tooltip as Tooltip$1, TooltipTrigger } from "react-aria-components";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useFocusable } from "react-aria";
|
|
11
11
|
//#region src/components/overlays/Tooltip/Tooltip.tsx
|
|
@@ -43,7 +43,7 @@ const CustomTrigger = (t0) => {
|
|
|
43
43
|
} else t4 = $[7];
|
|
44
44
|
return t4;
|
|
45
45
|
};
|
|
46
|
-
const Tooltip
|
|
46
|
+
const Tooltip = (t0) => {
|
|
47
47
|
const $ = c(38);
|
|
48
48
|
const { children, text, isDisabled, delay, closeDelay, color, isNonInteractiveTrigger, triggerClassName, triggerTabIndex, ...tooltipProps } = t0;
|
|
49
49
|
const tooltipCva = UIOverrides.useCva("tooltip.cva", tooltipDefinition);
|
|
@@ -68,7 +68,7 @@ const Tooltip$1 = (t0) => {
|
|
|
68
68
|
$[4] = triggerTabIndex;
|
|
69
69
|
$[5] = t3;
|
|
70
70
|
} else t3 = $[5];
|
|
71
|
-
const T1 = Tooltip;
|
|
71
|
+
const T1 = Tooltip$1;
|
|
72
72
|
const t4 = tooltipCva({
|
|
73
73
|
color,
|
|
74
74
|
className: tooltipProps.className
|
|
@@ -167,4 +167,4 @@ const Tooltip$1 = (t0) => {
|
|
|
167
167
|
return t13;
|
|
168
168
|
};
|
|
169
169
|
//#endregion
|
|
170
|
-
export { Tooltip
|
|
170
|
+
export { Tooltip };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ToastProps } from "./status/Toast/Toast.js";
|
|
2
|
+
import { Id, ToastOptions as ToastOptions$1, ToastPosition } from "react-toastify";
|
|
3
|
+
//#region src/components/status/Toast/useToast.d.ts
|
|
4
|
+
interface ToastParams extends Omit<ToastProps, "color"> {
|
|
5
|
+
position?: ToastPosition;
|
|
6
|
+
}
|
|
7
|
+
type ToastOptions = Omit<ToastOptions$1, "position" | "data">;
|
|
8
|
+
declare const useToast: () => {
|
|
9
|
+
successToast: (params: ToastParams, options?: ToastOptions) => Id;
|
|
10
|
+
errorToast: (params: ToastParams, options?: ToastOptions) => Id;
|
|
11
|
+
warningToast: (params: ToastParams, options?: ToastOptions) => Id;
|
|
12
|
+
neutralToast: (params: ToastParams, options?: ToastOptions) => Id;
|
|
13
|
+
closeToast: (id: Id) => void;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ToastOptions, ToastParams, useToast };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionModalProps } from "../components/
|
|
1
|
+
import { ActionModalProps } from "../components/action-modal.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
3
|
//#region src/config/confirmation.context.d.ts
|
|
4
4
|
declare namespace Confirmation {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./i18n.js";
|
|
2
|
-
import { ActionModal } from "../components/
|
|
2
|
+
import { ActionModal } from "../components/action-modal.js";
|
|
3
3
|
import { createContext, use, useCallback, useMemo, useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import { BottomSheetProps } from "../components/bottom-sheet.js";
|
|
1
2
|
import { ButtonProps } from "../components/buttons/Button/Button.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { NumberInputProps } from "../components/inputs/Input/NumberInput/NumberInput.js";
|
|
7
|
-
import { RadioGroupProps } from "../components/inputs/RadioGroup/RadioGroup.js";
|
|
3
|
+
import { CheckboxProps } from "../components/checkbox.js";
|
|
4
|
+
import { TextInputProps } from "../components/text-input.js";
|
|
5
|
+
import { NumberInputProps } from "../components/number-input.js";
|
|
6
|
+
import { RadioGroupProps } from "../components/radio-group.js";
|
|
8
7
|
import { SelectBaseProps } from "../components/inputs/Selection/shared/SelectBase.js";
|
|
9
|
-
import { SliderProps } from "../components/
|
|
10
|
-
import { ToggleProps } from "../components/
|
|
11
|
-
import { ActionModalProps } from "../components/
|
|
8
|
+
import { SliderProps } from "../components/slider.js";
|
|
9
|
+
import { ToggleProps } from "../components/toggle.js";
|
|
10
|
+
import { ActionModalProps } from "../components/action-modal.js";
|
|
12
11
|
import { ToastProps } from "../components/status/Toast/Toast.js";
|
|
12
|
+
import { TagProps } from "../components/tag.js";
|
|
13
|
+
import { DatePickerProps } from "../components/inputs/DateTime/DatePicker/DatePicker.js";
|
|
13
14
|
import { CellTextProps } from "../components/table/CellText.js";
|
|
14
15
|
import { HeaderTextProps } from "../components/table/HeaderText.js";
|
|
15
|
-
import { TagProps } from "../components/text/Tag/Tag.js";
|
|
16
16
|
import { Breakpoint } from "../hooks/useBreakpoint.js";
|
|
17
17
|
import { PropsWithChildren, ReactElement } from "react";
|
|
18
18
|
import { ToastPosition } from "react-toastify";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormInstance } from "../components/inputs/shared/form.binding.js";
|
|
2
|
-
import { InputComponentProps, InputComponentType, InputDef, InputDefBaseProps, InputWrapperType } from "../components/inputs/Inputs/InputItem.js";
|
|
3
2
|
import { ZodUtils } from "../utils/zod.utils.js";
|
|
3
|
+
import { InputComponentProps, InputComponentType, InputDef, InputDefBaseProps, InputWrapperType } from "../components/inputs/Inputs/InputItem.js";
|
|
4
4
|
import { ReactElement } from "react";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/helpers/dynamicInputs.d.ts
|
package/dist/icons.d.ts
ADDED
package/dist/icons.js
ADDED