@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
|
@@ -3,7 +3,7 @@ import { isEqual } from "../../../utils/isEqual.js";
|
|
|
3
3
|
import { uiOutlineClass } from "../../outline.clsx.js";
|
|
4
4
|
import { FieldController } from "../shared/form.binding.js";
|
|
5
5
|
import { FormFieldLabel } from "../FormField/FormFieldLabel.js";
|
|
6
|
-
import { FormField } from "
|
|
6
|
+
import { FormField } from "../../form-field.js";
|
|
7
7
|
import { inputSideDefinition } from "../shared/input.cva.js";
|
|
8
8
|
import { TextEditorToolbar } from "./Toolbar/TextEditorToolbar.js";
|
|
9
9
|
import { clsx } from "clsx";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Button } from "../../../buttons/Button/Button.js";
|
|
2
|
-
import { InlineIconButton } from "../../../
|
|
2
|
+
import { InlineIconButton } from "../../../inline-icon-button.js";
|
|
3
3
|
import "../../../../config/i18n.js";
|
|
4
|
-
import { TextInput } from "
|
|
5
|
-
import { ResponsivePopover } from "../../../
|
|
4
|
+
import { TextInput } from "../../../text-input.js";
|
|
5
|
+
import { ResponsivePopover } from "../../../responsive-popover.js";
|
|
6
6
|
import { Link } from "lucide-react";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
8
|
import { useEffect, useState } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InlineIconButton } from "../../../
|
|
1
|
+
import { InlineIconButton } from "../../../inline-icon-button.js";
|
|
2
2
|
import "../../../../config/i18n.js";
|
|
3
3
|
import { List, ListOrdered } from "lucide-react";
|
|
4
4
|
import { clsx } from "clsx";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InlineIconButton } from "../../../
|
|
1
|
+
import { InlineIconButton } from "../../../inline-icon-button.js";
|
|
2
2
|
import "../../../../config/i18n.js";
|
|
3
3
|
import { Bold, Italic, Strikethrough, Underline } from "lucide-react";
|
|
4
4
|
import { clsx } from "clsx";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
2
|
-
import { InlineIconButton } from "../../
|
|
2
|
+
import { InlineIconButton } from "../../inline-icon-button.js";
|
|
3
3
|
import "../../../config/i18n.js";
|
|
4
4
|
import { X } from "lucide-react";
|
|
5
5
|
import { clsx } from "clsx";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
|
-
import { Tooltip } from "../../
|
|
2
|
+
import { Tooltip } from "../../tooltip.js";
|
|
3
3
|
import { tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/inputs/shared/TooltipWrapper.tsx
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LinkVariantProps } from "./text/Link/link.cva.js";
|
|
2
|
+
import { PropsWithChildren } from "react";
|
|
3
|
+
import { LinkProps as LinkProps$1 } from "react-aria-components";
|
|
4
|
+
//#region src/components/text/Link/Link.d.ts
|
|
5
|
+
interface LinkNavigationProps extends LinkProps$1 {}
|
|
6
|
+
interface LinkProps extends PropsWithChildren<LinkNavigationProps>, LinkVariantProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Link: ({ variant, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Link, LinkNavigationProps, LinkProps };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { LinkContext } from "
|
|
3
|
-
import { linkDefinition } from "./link.cva.js";
|
|
1
|
+
import { UIOverrides } from "../config/uiOverrides.context.js";
|
|
2
|
+
import { LinkContext } from "../config/link.context.js";
|
|
3
|
+
import { linkDefinition } from "./text/Link/link.cva.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
-
import { Link } from "react-aria-components";
|
|
5
|
+
import { Link as Link$1 } from "react-aria-components";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/text/Link/Link.tsx
|
|
8
|
-
const Link
|
|
8
|
+
const Link = (t0) => {
|
|
9
9
|
const $ = c(4);
|
|
10
10
|
const { variant, ...props } = t0;
|
|
11
11
|
const linkContext = LinkContext.useLinkContext();
|
|
12
12
|
const linkCva = UIOverrides.useCva("link.cva", linkDefinition);
|
|
13
|
-
const LinkComponent = linkContext?.LinkComponent ?? Link;
|
|
13
|
+
const LinkComponent = linkContext?.LinkComponent ?? Link$1;
|
|
14
14
|
if (!props.to && props.href) props.to = props.href;
|
|
15
15
|
const t1 = linkCva({
|
|
16
16
|
variant,
|
|
@@ -30,4 +30,4 @@ const Link$1 = (t0) => {
|
|
|
30
30
|
return t2;
|
|
31
31
|
};
|
|
32
32
|
//#endregion
|
|
33
|
-
export { Link
|
|
33
|
+
export { Link };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LoaderVariantProps } from "./loader.cva.js";
|
|
1
|
+
import { LoaderVariantProps } from "./status/Loader/loader.cva.js";
|
|
2
2
|
import { SVGProps } from "react";
|
|
3
3
|
//#region src/components/status/Loader/Loader.d.ts
|
|
4
4
|
interface LoaderProps extends LoaderVariantProps, SVGProps<SVGSVGElement> {}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { loader, loaderWrapper } from "./loader.cva.js";
|
|
1
|
+
import { loader, loaderWrapper } from "./status/Loader/loader.cva.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/status/Loader/Loader.tsx
|
|
@@ -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 { FocusEvent, Ref } from "react";
|
|
7
7
|
import { NumberFieldProps } from "react-aria-components";
|
|
8
8
|
//#region src/components/inputs/Input/NumberInput/NumberInput.d.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { UIConfig } from "
|
|
3
|
-
import { FieldController } from "
|
|
4
|
-
import { FormField } from "
|
|
5
|
-
import { inputBaseDefinition } from "
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { InputFrame } from "
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { getStaticNumberDisplayValue } from "
|
|
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
|
+
import { IntlUtils } from "../utils/intl.utils.js";
|
|
12
|
+
import { getStaticNumberDisplayValue } from "./inputs/Input/shared/numberStatic.utils.js";
|
|
13
13
|
import { clsx } from "clsx";
|
|
14
14
|
import { memo, useCallback, useEffect, useRef, useState } from "react";
|
|
15
15
|
import { Input, useLocale } from "react-aria-components";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FieldValues } from "
|
|
2
|
-
import { ControlProps } from "
|
|
3
|
-
import { InputVariantProps } from "
|
|
4
|
-
import { FormFieldProps } from "
|
|
5
|
-
import { NumberRangeValue } from "./NumberRangeField.js";
|
|
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 { NumberRangeValue } from "./inputs/Input/NumberRangeInput/NumberRangeField.js";
|
|
6
6
|
import { FocusEvent, Ref } from "react";
|
|
7
7
|
import { NumberFieldProps } from "react-aria-components";
|
|
8
8
|
//#region src/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts
|
package/dist/components/{inputs/Input/NumberRangeInput/NumberRangeInput.js → number-range-input.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { UIConfig } from "
|
|
3
|
-
import { FieldController } from "
|
|
4
|
-
import { FormFieldLabel } from "
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { getStaticNumberDisplayValue } from "
|
|
11
|
-
import { NumberRangeField } from "./NumberRangeField.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 { InputClear } from "./inputs/shared/InputClear.js";
|
|
6
|
+
import { inputBaseDefinition, inputSizeDefinition } from "./inputs/shared/input.cva.js";
|
|
7
|
+
import { InputFrame } from "./inputs/Skeleton/InputFrame.js";
|
|
8
|
+
import { useStaticInputHandoff } from "./inputs/shared/useStaticInputHandoff.js";
|
|
9
|
+
import { IntlUtils } from "../utils/intl.utils.js";
|
|
10
|
+
import { getStaticNumberDisplayValue } from "./inputs/Input/shared/numberStatic.utils.js";
|
|
11
|
+
import { NumberRangeField } from "./inputs/Input/NumberRangeInput/NumberRangeField.js";
|
|
12
12
|
import { clsx } from "clsx";
|
|
13
13
|
import { memo, useRef, useState } from "react";
|
|
14
14
|
import { useLocale } from "react-aria-components";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
|
-
import { InlineIconButton } from "../../
|
|
2
|
+
import { InlineIconButton } from "../../inline-icon-button.js";
|
|
3
3
|
import "../../../config/i18n.js";
|
|
4
4
|
import { modalContentDefinition, modalMainDefinition, modalOverlayDefinition } from "./modal.cva.js";
|
|
5
5
|
import { X } from "lucide-react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Button } from "
|
|
2
|
-
import "
|
|
3
|
-
import { minWidth } from "./minWidth.cva.js";
|
|
1
|
+
import { Button } from "./buttons/Button/Button.js";
|
|
2
|
+
import "../config/i18n.js";
|
|
3
|
+
import { minWidth } from "./shared/pagination/minWidth.cva.js";
|
|
4
4
|
import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from "lucide-react";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationListProps } from "./
|
|
1
|
+
import { PaginationListProps } from "./pagination-list.js";
|
|
2
2
|
//#region src/components/shared/pagination/Pagination.d.ts
|
|
3
3
|
interface PaginationProps extends Omit<PaginationListProps, "totalPages"> {
|
|
4
4
|
totalItems: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Typography } from "
|
|
2
|
-
import "
|
|
3
|
-
import { NumberInput } from "
|
|
4
|
-
import { PaginationList } from "./
|
|
1
|
+
import { Typography } from "./text/Typography/Typography.js";
|
|
2
|
+
import "../config/i18n.js";
|
|
3
|
+
import { NumberInput } from "./number-input.js";
|
|
4
|
+
import { PaginationList } from "./pagination-list.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/dist/components/{inputs/Input/PasswordInput/PasswordInput.d.ts → password-input.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldValues } from "
|
|
2
|
-
import { ControlProps } from "
|
|
3
|
-
import { TextInputProps } from "
|
|
1
|
+
import { FieldValues } from "./inputs/shared/form.binding.js";
|
|
2
|
+
import { ControlProps } from "./inputs/shared/form.types.js";
|
|
3
|
+
import { TextInputProps } from "./text-input.js";
|
|
4
4
|
//#region src/components/inputs/Input/PasswordInput/PasswordInput.d.ts
|
|
5
5
|
interface PasswordInputProps extends Omit<TextInputProps, "type" | "action" | "trailingIcon" | "unit"> {}
|
|
6
6
|
type ControlledPasswordInputProps<TFieldValues extends FieldValues> = ControlProps<PasswordInputProps, TFieldValues>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import { TextInput } from "
|
|
1
|
+
import "../config/i18n.js";
|
|
2
|
+
import { TextInput } from "./text-input.js";
|
|
3
3
|
import { Eye, EyeOff } from "lucide-react";
|
|
4
4
|
import { memo, useState } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { PillButtonVariants } from "./buttons/PillButton/pillButton.cva.js";
|
|
2
|
+
import { ButtonContentVariantProps } from "./buttons/shared/buttonContent.cva.js";
|
|
3
3
|
import { FC, ReactNode, Ref, SVGProps } from "react";
|
|
4
4
|
import { ButtonProps, ToggleButtonProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/buttons/PillButton/PillButton.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { ButtonContent } from "
|
|
3
|
-
import { pillButtonContent, pillButtonDefinition, pillButtonIconSize, pillButtonTypography } from "./pillButton.cva.js";
|
|
1
|
+
import { UIOverrides } from "../config/uiOverrides.context.js";
|
|
2
|
+
import { ButtonContent } from "./buttons/shared/ButtonContent.js";
|
|
3
|
+
import { pillButtonContent, pillButtonDefinition, pillButtonIconSize, pillButtonTypography } from "./buttons/PillButton/pillButton.cva.js";
|
|
4
4
|
import { X } from "lucide-react";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PillButtonVariants } from "
|
|
2
|
-
import { TypographyProps } from "
|
|
1
|
+
import { PillButtonVariants } from "./buttons/PillButton/pillButton.cva.js";
|
|
2
|
+
import { TypographyProps } from "./text/Typography/Typography.js";
|
|
3
3
|
import { Ref } from "react";
|
|
4
4
|
import { ButtonProps } from "react-aria-components";
|
|
5
5
|
//#region src/components/text/Pill/Pill.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { Typography } from "
|
|
3
|
-
import { UIConfig } from "
|
|
4
|
-
import { pillButtonDefinition } from "
|
|
5
|
-
import "
|
|
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 { pillButtonDefinition } from "./buttons/PillButton/pillButton.cva.js";
|
|
5
|
+
import "../config/i18n.js";
|
|
6
6
|
import { X } from "lucide-react";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
8
|
import { Button } from "react-aria-components";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FieldValues } from "
|
|
2
|
-
import { SelectItem } from "
|
|
3
|
-
import { QueryAutocompleteProps, QueryFn } from "./queryAutocomplete.types.js";
|
|
1
|
+
import { FieldValues } from "./inputs/shared/form.binding.js";
|
|
2
|
+
import { SelectItem } from "./inputs/Selection/shared/select.types.js";
|
|
3
|
+
import { QueryAutocompleteProps, QueryFn } from "./inputs/Selection/Autocomplete/queryAutocomplete.types.js";
|
|
4
4
|
//#region src/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts
|
|
5
5
|
declare const QueryAutocompleteComponent: <TFieldValues extends FieldValues, TSelectItem extends SelectItem<any>, TQueryFn extends QueryFn>(props: QueryAutocompleteProps<TFieldValues, TSelectItem, TQueryFn>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare const QueryAutocomplete: typeof QueryAutocompleteComponent;
|
package/dist/components/{inputs/Selection/Autocomplete/QueryAutocomplete.js → query-autocomplete.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UIConfig } from "
|
|
2
|
-
import { FieldController } from "
|
|
3
|
-
import { Autocomplete } from "./
|
|
4
|
-
import { getQueryItems, getSelectionIdsToResolve } from "
|
|
5
|
-
import { useQueryAutocomplete } from "
|
|
1
|
+
import { UIConfig } from "../config/uiConfig.context.js";
|
|
2
|
+
import { FieldController } from "./inputs/shared/form.binding.js";
|
|
3
|
+
import { Autocomplete } from "./autocomplete.js";
|
|
4
|
+
import { getQueryItems, getSelectionIdsToResolve } from "./inputs/Selection/shared/querySelect.utils.js";
|
|
5
|
+
import { useQueryAutocomplete } from "../hooks/useQueryAutocomplete.js";
|
|
6
6
|
import { memo, useCallback, useMemo, useState } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import { mergeRefs } from "@react-aria/utils";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FieldValues } from "
|
|
2
|
-
import { DefaultInitialSelectItem, GroupedSelectControlProps, GroupedSelectProps, SelectItem } from "
|
|
3
|
-
import { OmitDiscriminatedUnion } from "
|
|
4
|
-
import { SelectProps } from "./Select.js";
|
|
5
|
-
import { QueryDataType, QueryFn } from "
|
|
1
|
+
import { FieldValues } from "./inputs/shared/form.binding.js";
|
|
2
|
+
import { DefaultInitialSelectItem, GroupedSelectControlProps, GroupedSelectProps, SelectItem } from "./inputs/Selection/shared/select.types.js";
|
|
3
|
+
import { OmitDiscriminatedUnion } from "../types/common.js";
|
|
4
|
+
import { SelectProps } from "./inputs/Selection/Select/Select.js";
|
|
5
|
+
import { QueryDataType, QueryFn } from "./inputs/Selection/shared/querySelect.utils.js";
|
|
6
6
|
import { Key } from "react-aria-components";
|
|
7
7
|
//#region src/components/inputs/Selection/Select/QuerySelect.d.ts
|
|
8
8
|
type QuerySelectProps<TFieldValues extends FieldValues, TQueryFn extends QueryFn, TKey extends Key = Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>> = OmitDiscriminatedUnion<SelectProps<TKey, TInitialSelectItem>, "items" | "totalItems" | keyof GroupedSelectProps> & GroupedSelectControlProps<TFieldValues, TKey, TInitialSelectItem> & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UIConfig } from "
|
|
2
|
-
import { FieldController } from "
|
|
3
|
-
import { Select } from "./Select.js";
|
|
4
|
-
import { getQueryItems, getSelectionIdsToResolve } from "
|
|
5
|
-
import { useQueryAutocomplete } from "
|
|
1
|
+
import { UIConfig } from "../config/uiConfig.context.js";
|
|
2
|
+
import { FieldController } from "./inputs/shared/form.binding.js";
|
|
3
|
+
import { Select } from "./inputs/Selection/Select/Select.js";
|
|
4
|
+
import { getQueryItems, getSelectionIdsToResolve } from "./inputs/Selection/shared/querySelect.utils.js";
|
|
5
|
+
import { useQueryAutocomplete } from "../hooks/useQueryAutocomplete.js";
|
|
6
6
|
import { memo, useCallback, useMemo, useState } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import { mergeRefs } from "@react-aria/utils";
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { RadioVariantProps } from "./inputs/RadioGroup/radio.cva.js";
|
|
6
|
+
import { ReactElement, Ref } from "react";
|
|
7
|
+
import { RadioGroupProps as RadioGroupProps$1 } from "react-aria-components";
|
|
8
|
+
//#region src/components/inputs/RadioGroup/RadioGroup.d.ts
|
|
9
|
+
interface RadioGroupBaseProps extends Omit<FormFieldProps, "variant">, RadioVariantProps, Omit<InputVariantProps, "variant">, Omit<RadioGroupProps$1, "className"> {
|
|
10
|
+
ref?: Ref<HTMLDivElement>;
|
|
11
|
+
options: {
|
|
12
|
+
label: string | ReactElement;
|
|
13
|
+
value: string;
|
|
14
|
+
}[];
|
|
15
|
+
isDirty?: boolean;
|
|
16
|
+
inputClassName?: string;
|
|
17
|
+
labelClassName?: string;
|
|
18
|
+
}
|
|
19
|
+
interface RadioGroupProps extends RadioGroupBaseProps {}
|
|
20
|
+
type ControlledRadioGroupProps<TFieldValues extends FieldValues> = ControlProps<RadioGroupProps, TFieldValues>;
|
|
21
|
+
declare const RadioGroupComponent: <TFieldValues extends FieldValues>(props: ControlledRadioGroupProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const RadioGroup: typeof RadioGroupComponent;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ControlledRadioGroupProps, RadioGroup, RadioGroupProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { UIConfig } from "
|
|
3
|
-
import { FieldController } from "
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { radioContentClassName, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, radioIndicatorClass, radioTypography } from "./radio.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 { inputBaseDefinition, inputSizeDefinition } from "./inputs/shared/input.cva.js";
|
|
7
|
+
import { CheckContent } from "./inputs/shared/CheckContent.js";
|
|
8
|
+
import { radioContentClassName, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, radioIndicatorClass, radioTypography } from "./inputs/RadioGroup/radio.cva.js";
|
|
9
9
|
import { clsx } from "clsx";
|
|
10
10
|
import { memo } from "react";
|
|
11
|
-
import { Radio, RadioGroup } from "react-aria-components";
|
|
11
|
+
import { Radio, RadioGroup as RadioGroup$1 } from "react-aria-components";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useLabel } from "react-aria";
|
|
14
14
|
import { mergeRefs } from "@react-aria/utils";
|
|
@@ -70,7 +70,7 @@ const RadioGroupBase = (props) => {
|
|
|
70
70
|
const handleChange = (nextValue) => {
|
|
71
71
|
onChange?.(nextValue);
|
|
72
72
|
};
|
|
73
|
-
return /* @__PURE__ */ jsx(RadioGroup, {
|
|
73
|
+
return /* @__PURE__ */ jsx(RadioGroup$1, {
|
|
74
74
|
...rest,
|
|
75
75
|
...fieldProps,
|
|
76
76
|
ref,
|
|
@@ -160,6 +160,6 @@ const RadioGroupComponent = (props) => {
|
|
|
160
160
|
}
|
|
161
161
|
return /* @__PURE__ */ jsx(RadioGroupBase, { ...props });
|
|
162
162
|
};
|
|
163
|
-
const RadioGroup
|
|
163
|
+
const RadioGroup = memo(RadioGroupComponent);
|
|
164
164
|
//#endregion
|
|
165
|
-
export { RadioGroup
|
|
165
|
+
export { RadioGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BottomSheetProps } from "
|
|
1
|
+
import { BottomSheetProps } from "./bottom-sheet.js";
|
|
2
2
|
import { ReactElement, ReactNode } from "react";
|
|
3
3
|
import { PopoverProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/overlays/ResponsivePopover/ResponsivePopover.d.ts
|
package/dist/components/{overlays/ResponsivePopover/ResponsivePopover.js → responsive-popover.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UIOverrides } from "
|
|
2
|
-
import { BottomSheet } from "
|
|
3
|
-
import { useBreakpoint } from "
|
|
4
|
-
import { popoverDefinition } from "
|
|
1
|
+
import { UIOverrides } from "../config/uiOverrides.context.js";
|
|
2
|
+
import { BottomSheet } from "./bottom-sheet.js";
|
|
3
|
+
import { useBreakpoint } from "../hooks/useBreakpoint.js";
|
|
4
|
+
import { popoverDefinition } from "./shared/popover.cva.js";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { Dialog, DialogTrigger, Popover } from "react-aria-components";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UIOverrides } from "../../config/uiOverrides.context.js";
|
|
2
2
|
import { FieldController } from "../inputs/shared/form.binding.js";
|
|
3
|
-
import { FormField } from "../
|
|
3
|
+
import { FormField } from "../form-field.js";
|
|
4
4
|
import { segmentDefinition } from "./segment.cva.js";
|
|
5
5
|
import { SegmentItem } from "./SegmentItem.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DefaultInitialSelectItem, SelectAsyncProps, SelectItem } from "./inputs/Selection/shared/select.types.js";
|
|
2
|
+
import { SelectBaseProps } from "./inputs/Selection/shared/SelectBase.js";
|
|
3
|
+
import { ControlledSelectProps, Select, SelectProps } from "./inputs/Selection/Select/Select.js";
|
|
4
|
+
export { type ControlledSelectProps, type DefaultInitialSelectItem, Select, type SelectAsyncProps, type SelectBaseProps, type SelectItem, type SelectProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FieldValues } from "
|
|
2
|
-
import { ControlProps } from "
|
|
3
|
-
import { FormFieldProps } from "
|
|
1
|
+
import { FieldValues } from "./inputs/shared/form.binding.js";
|
|
2
|
+
import { ControlProps } from "./inputs/shared/form.types.js";
|
|
3
|
+
import { FormFieldProps } from "./form-field.js";
|
|
4
4
|
import { FocusEvent, Ref } from "react";
|
|
5
|
-
import { SliderProps } from "react-aria-components";
|
|
5
|
+
import { SliderProps as SliderProps$1 } from "react-aria-components";
|
|
6
6
|
//#region src/components/inputs/Slider/Slider.d.ts
|
|
7
7
|
type SliderValue<IsRange extends boolean = false> = IsRange extends false ? number : number[];
|
|
8
|
-
interface SliderBaseProps<IsRange extends boolean = false> extends FormFieldProps, Omit<SliderProps, "value" | "defaultValue" | "onChange" | "className"> {
|
|
8
|
+
interface SliderBaseProps<IsRange extends boolean = false> extends FormFieldProps, Omit<SliderProps$1, "value" | "defaultValue" | "onChange" | "className"> {
|
|
9
9
|
ref?: Ref<HTMLDivElement>;
|
|
10
10
|
unit?: string;
|
|
11
11
|
isRange?: IsRange;
|
|
@@ -14,9 +14,9 @@ interface SliderBaseProps<IsRange extends boolean = false> extends FormFieldProp
|
|
|
14
14
|
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
15
15
|
onChange?: (value: SliderValue<IsRange>) => void;
|
|
16
16
|
}
|
|
17
|
-
type SliderProps
|
|
18
|
-
type ControlledSliderProps<TFieldValues extends FieldValues, IsRange extends boolean = false> = ControlProps<SliderProps
|
|
17
|
+
type SliderProps<IsRange extends boolean = false> = SliderBaseProps<IsRange>;
|
|
18
|
+
type ControlledSliderProps<TFieldValues extends FieldValues, IsRange extends boolean = false> = ControlProps<SliderProps<IsRange>, TFieldValues>;
|
|
19
19
|
declare const SliderComponent: <TFieldValues extends FieldValues, IsRange extends boolean = false>(props: ControlledSliderProps<TFieldValues, IsRange>) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
declare const Slider
|
|
20
|
+
declare const Slider: typeof SliderComponent;
|
|
21
21
|
//#endregion
|
|
22
|
-
export { ControlledSliderProps, Slider
|
|
22
|
+
export { ControlledSliderProps, Slider, SliderProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Typography } from "
|
|
2
|
-
import { UIConfig } from "
|
|
3
|
-
import { uiOutlineClass } from "
|
|
4
|
-
import { FieldController } from "
|
|
5
|
-
import { FormField } from "
|
|
1
|
+
import { Typography } from "./text/Typography/Typography.js";
|
|
2
|
+
import { UIConfig } from "../config/uiConfig.context.js";
|
|
3
|
+
import { uiOutlineClass } from "./outline.clsx.js";
|
|
4
|
+
import { FieldController } from "./inputs/shared/form.binding.js";
|
|
5
|
+
import { FormField } from "./form-field.js";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { memo } from "react";
|
|
8
|
-
import { Slider, SliderThumb, SliderTrack } from "react-aria-components";
|
|
8
|
+
import { Slider as Slider$1, SliderThumb, SliderTrack } from "react-aria-components";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { mergeRefs } from "@react-aria/utils";
|
|
11
11
|
//#region src/components/inputs/Slider/Slider.tsx
|
|
@@ -37,7 +37,7 @@ const SliderBase = (props) => {
|
|
|
37
37
|
width: props.isRange ? `${(p1 - p0) * 100}%` : `${p0 * 100}%`
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
return /* @__PURE__ */ jsx(Slider, {
|
|
40
|
+
return /* @__PURE__ */ jsx(Slider$1, {
|
|
41
41
|
...rest,
|
|
42
42
|
defaultValue,
|
|
43
43
|
minValue,
|
|
@@ -98,6 +98,6 @@ const SliderComponent = (props) => {
|
|
|
98
98
|
}
|
|
99
99
|
return /* @__PURE__ */ jsx(SliderBase, { ...props });
|
|
100
100
|
};
|
|
101
|
-
const Slider
|
|
101
|
+
const Slider = memo(SliderComponent);
|
|
102
102
|
//#endregion
|
|
103
|
-
export { Slider
|
|
103
|
+
export { Slider };
|