@povio/ui 3.4.0-rc.14 → 3.4.0-rc.16
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/assets/locales/en/{translation.json.js → translation.js} +1 -0
- package/dist/assets/locales/sl/{translation.json.js → translation.js} +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +17 -14
- package/dist/components/Breadcrumbs/Breadcrumbs.js +206 -55
- package/dist/components/Breadcrumbs/breadcrumbs.cva.d.ts +39 -40
- package/dist/components/Breadcrumbs/breadcrumbs.cva.js +5 -5
- package/dist/components/Menu/Menu.d.ts +20 -18
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuDesktop.js +2 -2
- package/dist/components/Menu/MenuItem.d.ts +6 -3
- package/dist/components/Menu/MenuItem.js +2 -2
- package/dist/components/Menu/MenuMobile.js +2 -2
- package/dist/components/Menu/MenuPopover.d.ts +7 -5
- package/dist/components/Menu/MenuPopover.js +2 -2
- package/dist/components/Menu/menu.cva.d.ts +35 -35
- package/dist/components/Menu/menu.cva.js +4 -4
- package/dist/components/buttons/Button/Button.d.ts +25 -23
- package/dist/components/buttons/Button/Button.js +1 -1
- package/dist/components/buttons/Button/button.cva.d.ts +89 -95
- package/dist/components/buttons/Button/button.cva.js +8 -44
- package/dist/components/buttons/IconButton/IconButton.d.ts +13 -10
- package/dist/components/buttons/IconButton/IconButton.js +1 -1
- package/dist/components/buttons/InlineIconButton/InlineIconButton.d.ts +15 -12
- package/dist/components/buttons/InlineIconButton/InlineIconButton.js +34 -9
- package/dist/components/buttons/PillButton/PillButton.d.ts +14 -11
- package/dist/components/buttons/PillButton/PillButton.js +2 -2
- package/dist/components/buttons/PillButton/pillButton.cva.d.ts +33 -38
- package/dist/components/buttons/PillButton/pillButton.cva.js +5 -5
- package/dist/components/buttons/SplitButton/SplitButton.d.ts +14 -11
- package/dist/components/buttons/SplitButton/SplitButton.js +2 -2
- package/dist/components/buttons/TextButton/TextButton.d.ts +14 -11
- package/dist/components/buttons/TextButton/TextButton.js +1 -1
- package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +11 -8
- package/dist/components/buttons/ToggleButton/ToggleButton.js +1 -1
- package/dist/components/buttons/shared/ButtonContent.js +80 -22
- package/dist/components/buttons/shared/buttonContent.cva.d.ts +6 -8
- package/dist/components/buttons/shared/buttonContent.cva.js +1 -1
- package/dist/components/inputs/Checkbox/Checkbox.d.ts +22 -19
- package/dist/components/inputs/Checkbox/Checkbox.js +45 -201
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +1 -1
- package/dist/components/inputs/Checkbox/CheckboxGroup.d.ts +27 -25
- package/dist/components/inputs/Checkbox/CheckboxGroup.js +126 -355
- package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +73 -89
- package/dist/components/inputs/Checkbox/checkbox.cva.js +8 -8
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +40 -37
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +44 -35
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +46 -43
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +172 -168
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +41 -38
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +21 -18
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +29 -26
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +166 -541
- package/dist/components/inputs/DateTime/shared/Calendar.js +17 -14
- package/dist/components/inputs/DateTime/shared/CalendarCell.js +17 -17
- package/dist/components/inputs/DateTime/shared/CalendarGrid.js +5 -4
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +8 -7
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +43 -43
- package/dist/components/inputs/DateTime/shared/DateField.js +19 -20
- package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +11 -45
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +1 -1
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +26 -102
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +28 -83
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +2 -2
- package/dist/components/inputs/DateTime/shared/MonthPicker.js +58 -103
- package/dist/components/inputs/DateTime/shared/RangeCalendar.js +82 -193
- package/dist/components/inputs/DateTime/shared/TimeField.js +8 -27
- package/dist/components/inputs/DateTime/shared/TimePickerForm.js +111 -281
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +71 -214
- package/dist/components/inputs/DateTime/shared/YearPicker.js +68 -119
- package/dist/components/inputs/DateTime/shared/datePicker.types.d.ts +8 -5
- package/dist/components/inputs/DateTime/shared/datePickerInput.cva.d.ts +16 -15
- package/dist/components/inputs/DateTime/shared/datePickerInput.cva.js +1 -1
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +11 -50
- package/dist/components/inputs/DateTime/shared/datePickerValue.utils.js +4 -0
- package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.js +12 -11
- package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +12 -26
- package/dist/components/inputs/File/FileUpload.d.ts +7 -4
- package/dist/components/inputs/File/FileUpload.js +49 -88
- package/dist/components/inputs/File/FileUploadContainer.d.ts +5 -3
- package/dist/components/inputs/File/FileUploadContainer.js +10 -17
- package/dist/components/inputs/File/InputUpload.d.ts +7 -4
- package/dist/components/inputs/File/InputUpload.js +26 -65
- package/dist/components/inputs/File/fileUpload.types.d.ts +87 -84
- package/dist/components/inputs/File/inputUpload.types.d.ts +34 -32
- package/dist/components/inputs/File/inputUpload.types.js +1 -1
- package/dist/components/inputs/File/shared/FileCard.js +47 -110
- package/dist/components/inputs/File/shared/FileCardList.js +16 -54
- package/dist/components/inputs/File/shared/FileUploadContent.js +47 -188
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentError.js +3 -3
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +3 -3
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +1 -1
- package/dist/components/inputs/File/shared/InputUploadContent.js +36 -149
- package/dist/components/inputs/File/shared/InputUploadFilled.js +8 -48
- package/dist/components/inputs/File/shared/ProgressBar.d.ts +6 -4
- package/dist/components/inputs/File/shared/ProgressBar.js +1 -1
- package/dist/components/inputs/File/shared/fileUpload.cva.d.ts +17 -16
- package/dist/components/inputs/File/shared/fileUpload.cva.js +1 -1
- package/dist/components/inputs/File/shared/inputUploadButton.cva.d.ts +24 -25
- package/dist/components/inputs/File/shared/inputUploadButton.cva.js +5 -5
- package/dist/components/inputs/File/shared/progressBar.cva.d.ts +34 -33
- package/dist/components/inputs/File/shared/progressBar.cva.js +5 -5
- package/dist/components/inputs/FormField/FormField.d.ts +21 -17
- package/dist/components/inputs/FormField/FormField.js +39 -119
- package/dist/components/inputs/FormField/FormFieldError.d.ts +9 -6
- package/dist/components/inputs/FormField/FormFieldError.js +6 -24
- package/dist/components/inputs/FormField/FormFieldHeader.d.ts +15 -13
- package/dist/components/inputs/FormField/FormFieldHeader.js +22 -78
- package/dist/components/inputs/FormField/FormFieldHeaderClose.js +7 -31
- package/dist/components/inputs/FormField/FormFieldHelper.js +7 -25
- package/dist/components/inputs/FormField/FormFieldLabel.js +9 -40
- package/dist/components/inputs/FormField/formFieldError.cva.d.ts +13 -12
- package/dist/components/inputs/FormField/formFieldError.cva.js +1 -1
- package/dist/components/inputs/FormField/formFieldHeader.cva.d.ts +13 -12
- package/dist/components/inputs/FormField/formFieldHeader.cva.js +1 -1
- package/dist/components/inputs/FormField/formFieldHelper.cva.d.ts +13 -12
- package/dist/components/inputs/FormField/formFieldHelper.cva.js +1 -1
- package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +25 -21
- package/dist/components/inputs/Input/NumberInput/NumberInput.js +145 -394
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +11 -45
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +120 -553
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +37 -34
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +93 -164
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +10 -7
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +12 -50
- package/dist/components/inputs/Input/TextArea/TextArea.cva.d.ts +8 -7
- package/dist/components/inputs/Input/TextArea/TextArea.cva.js +1 -1
- package/dist/components/inputs/Input/TextArea/TextArea.d.ts +20 -18
- package/dist/components/inputs/Input/TextArea/TextArea.js +96 -304
- package/dist/components/inputs/Input/TextInput/TextInput.d.ts +24 -20
- package/dist/components/inputs/Input/TextInput/TextInput.js +151 -380
- package/dist/components/inputs/Input/shared/InputContent.d.ts +25 -27
- package/dist/components/inputs/Input/shared/InputContent.js +59 -193
- package/dist/components/inputs/Input/shared/numberStatic.utils.js +1 -1
- package/dist/components/inputs/Inputs/Form.d.ts +19 -19
- package/dist/components/inputs/Inputs/Form.js +23 -51
- package/dist/components/inputs/Inputs/InputItem.d.ts +77 -58
- package/dist/components/inputs/Inputs/InputItem.js +16 -65
- package/dist/components/inputs/Inputs/Inputs.d.ts +12 -9
- package/dist/components/inputs/Inputs/Inputs.js +11 -37
- package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +23 -21
- package/dist/components/inputs/RadioGroup/RadioGroup.js +114 -320
- package/dist/components/inputs/RadioGroup/radio.cva.d.ts +49 -59
- package/dist/components/inputs/RadioGroup/radio.cva.js +6 -6
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +15 -11
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +25 -55
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +8 -4
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +46 -117
- package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +25 -38
- package/dist/components/inputs/Selection/Select/QuerySelect.d.ts +18 -14
- package/dist/components/inputs/Selection/Select/QuerySelect.js +58 -115
- package/dist/components/inputs/Selection/Select/Select.d.ts +15 -11
- package/dist/components/inputs/Selection/Select/Select.js +35 -111
- package/dist/components/inputs/Selection/shared/SelectBase.d.ts +39 -37
- package/dist/components/inputs/Selection/shared/SelectBase.js +26 -70
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +144 -392
- package/dist/components/inputs/Selection/shared/SelectInput.js +161 -428
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +26 -100
- package/dist/components/inputs/Selection/shared/SelectListBox.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +35 -85
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +16 -69
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +23 -71
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +9 -58
- package/dist/components/inputs/Selection/shared/SelectMobile.js +1 -1
- package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +14 -39
- package/dist/components/inputs/Selection/shared/querySelect.utils.d.ts +8 -15
- package/dist/components/inputs/Selection/shared/querySelect.utils.js +6 -6
- package/dist/components/inputs/Selection/shared/select.context.js +52 -52
- package/dist/components/inputs/Selection/shared/select.types.d.ts +60 -62
- package/dist/components/inputs/Selection/shared/selectDesktop.cva.d.ts +8 -5
- package/dist/components/inputs/Selection/shared/selectDesktop.cva.js +1 -1
- package/dist/components/inputs/Selection/shared/selectInput.cva.d.ts +12 -11
- package/dist/components/inputs/Selection/shared/selectInput.cva.js +1 -1
- package/dist/components/inputs/Selection/shared/selectItem.cva.d.ts +16 -15
- package/dist/components/inputs/Selection/shared/selectItem.cva.js +1 -1
- package/dist/components/inputs/Selection/shared/staticSelect.utils.js +3 -3
- package/dist/components/inputs/Selection/shared/useSelectItems.js +12 -12
- package/dist/components/inputs/Skeleton/InputFrame.js +27 -27
- package/dist/components/inputs/Slider/Slider.d.ts +20 -17
- package/dist/components/inputs/Slider/Slider.js +86 -268
- package/dist/components/inputs/TextEditor/TextEditor.d.ts +24 -20
- package/dist/components/inputs/TextEditor/TextEditor.js +21 -62
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +11 -37
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +30 -102
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +45 -194
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +28 -88
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +14 -48
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +19 -66
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +15 -49
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +32 -92
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +54 -126
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +38 -141
- package/dist/components/inputs/TextEditor/textEditor.types.js +1 -1
- package/dist/components/inputs/Toggle/Toggle.d.ts +18 -15
- package/dist/components/inputs/Toggle/Toggle.js +50 -210
- package/dist/components/inputs/Toggle/toggle.cva.d.ts +15 -18
- package/dist/components/inputs/Toggle/toggle.cva.js +3 -3
- package/dist/components/inputs/shared/CheckContent.js +11 -21
- package/dist/components/inputs/shared/InputClear.js +30 -102
- package/dist/components/inputs/shared/TooltipWrapper.js +13 -48
- package/dist/components/inputs/shared/form.binding.d.ts +7 -27
- package/dist/components/inputs/shared/form.binding.js +8 -37
- package/dist/components/inputs/shared/form.types.d.ts +11 -11
- package/dist/components/inputs/shared/form.types.js +1 -1
- package/dist/components/inputs/shared/input.cva.d.ts +76 -85
- package/dist/components/inputs/shared/input.cva.js +9 -19
- package/dist/components/inputs/shared/label.cva.d.ts +18 -18
- package/dist/components/inputs/shared/label.cva.js +2 -2
- package/dist/components/inputs/shared/tooltipWrapper.cva.d.ts +10 -7
- package/dist/components/inputs/shared/tooltipWrapper.cva.js +1 -1
- package/dist/components/inputs/shared/useFieldAccessibility.js +19 -0
- package/dist/components/inputs/shared/useStaticInputHandoff.js +50 -105
- package/dist/components/navigation/Accordion/Accordion.d.ts +5 -3
- package/dist/components/navigation/Accordion/Accordion.js +69 -22
- package/dist/components/navigation/Accordion/AccordionItem.js +86 -41
- package/dist/components/navigation/Accordion/accordion.cva.d.ts +76 -100
- package/dist/components/navigation/Accordion/accordion.cva.js +10 -10
- package/dist/components/navigation/Accordion/accordion.types.d.ts +52 -49
- package/dist/components/navigation/Stepper/Stepper.d.ts +5 -2
- package/dist/components/navigation/Stepper/Stepper.js +67 -22
- package/dist/components/navigation/Stepper/StepperItem.js +2 -2
- package/dist/components/navigation/Stepper/StepperSeparator.js +1 -1
- package/dist/components/navigation/Stepper/stepper.cva.d.ts +73 -86
- package/dist/components/navigation/Stepper/stepper.cva.js +7 -7
- package/dist/components/navigation/Stepper/stepper.types.d.ts +29 -37
- package/dist/components/outline.clsx.d.ts +4 -2
- package/dist/components/outline.clsx.js +2 -2
- package/dist/components/overlays/ActionModal/ActionModal.d.ts +23 -21
- package/dist/components/overlays/ActionModal/ActionModal.js +170 -36
- package/dist/components/overlays/BottomSheet/BottomSheet.d.ts +30 -28
- package/dist/components/overlays/BottomSheet/BottomSheet.js +13 -10
- package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +2 -2
- package/dist/components/overlays/Drawer/Drawer.d.ts +17 -14
- package/dist/components/overlays/Drawer/Drawer.js +3 -3
- package/dist/components/overlays/Modal/Modal.d.ts +18 -14
- package/dist/components/overlays/Modal/Modal.js +3 -1
- package/dist/components/overlays/Modal/modal.cva.d.ts +34 -34
- package/dist/components/overlays/Modal/modal.cva.js +4 -4
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.d.ts +16 -14
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +110 -29
- package/dist/components/overlays/Tooltip/Tooltip.d.ts +15 -12
- package/dist/components/overlays/Tooltip/Tooltip.js +3 -3
- package/dist/components/overlays/Tooltip/TooltipEllipsis.d.ts +10 -7
- package/dist/components/overlays/Tooltip/TooltipEllipsis.js +2 -2
- package/dist/components/overlays/Tooltip/tooltip.cva.d.ts +39 -45
- package/dist/components/overlays/Tooltip/tooltip.cva.js +4 -4
- package/dist/components/segment/Segment.d.ts +7 -4
- package/dist/components/segment/Segment.js +3 -3
- package/dist/components/segment/SegmentItem.js +2 -2
- package/dist/components/segment/segment.cva.d.ts +20 -18
- package/dist/components/segment/segment.cva.js +2 -2
- package/dist/components/segment/segment.types.d.ts +33 -30
- package/dist/components/shared/pagination/Pagination.d.ts +11 -8
- package/dist/components/shared/pagination/Pagination.js +108 -22
- package/dist/components/shared/pagination/PaginationList.d.ts +17 -14
- package/dist/components/shared/pagination/PaginationList.js +2 -2
- package/dist/components/shared/pagination/minWidth.cva.js +1 -1
- package/dist/components/shared/popover.cva.d.ts +8 -7
- package/dist/components/shared/popover.cva.js +1 -1
- package/dist/components/status/Alert/Alert.d.ts +13 -10
- package/dist/components/status/Alert/Alert.js +97 -30
- package/dist/components/status/Alert/alert.cva.d.ts +21 -18
- package/dist/components/status/Alert/alert.cva.js +1 -1
- package/dist/components/status/Loader/Loader.d.ts +7 -5
- package/dist/components/status/Loader/Loader.js +1 -1
- package/dist/components/status/Loader/loader.cva.d.ts +23 -26
- package/dist/components/status/Loader/loader.cva.js +4 -4
- package/dist/components/status/Toast/Toast.d.ts +15 -12
- package/dist/components/status/Toast/Toast.js +2 -2
- package/dist/components/status/Toast/toast.cva.d.ts +58 -77
- package/dist/components/status/Toast/toast.cva.js +6 -6
- package/dist/components/status/Toast/useToast.d.ts +14 -11
- package/dist/components/status/Toast/useToast.js +1 -1
- package/dist/components/status/shared/status.cva.d.ts +32 -28
- package/dist/components/status/shared/status.cva.js +2 -2
- package/dist/components/table/CellText.d.ts +10 -7
- package/dist/components/table/CellText.js +3 -2
- package/dist/components/table/ColumnConfig.d.ts +12 -9
- package/dist/components/table/ColumnConfig.js +6 -5
- package/dist/components/table/HeaderText.d.ts +10 -7
- package/dist/components/table/HeaderText.js +3 -2
- package/dist/components/table/InfiniteTable.d.ts +10 -8
- package/dist/components/table/InfiniteTable.js +67 -16
- package/dist/components/table/PaginatedTable.d.ts +12 -10
- package/dist/components/table/PaginatedTable.js +1 -1
- package/dist/components/table/Table.d.ts +34 -35
- package/dist/components/table/Table.js +18 -16
- package/dist/components/table/table.cva.d.ts +40 -59
- package/dist/components/table/table.cva.js +7 -7
- package/dist/components/text/Link/Link.d.ts +10 -8
- package/dist/components/text/Link/Link.js +2 -2
- package/dist/components/text/Link/link.cva.d.ts +14 -11
- package/dist/components/text/Link/link.cva.js +1 -1
- package/dist/components/text/Pill/Pill.d.ts +17 -14
- package/dist/components/text/Pill/Pill.js +1 -1
- package/dist/components/text/Tag/Tag.d.ts +17 -14
- package/dist/components/text/Tag/Tag.js +1 -1
- package/dist/components/text/Tag/tag.cva.d.ts +18 -15
- package/dist/components/text/Tag/tag.cva.js +1 -1
- package/dist/components/text/Typography/Typography.d.ts +10 -9
- package/dist/components/text/Typography/Typography.js +23 -8
- package/dist/components/text/Typography/typography.cva.d.ts +51 -48
- package/dist/components/text/Typography/typography.cva.js +1 -1
- package/dist/config/confirmation.context.d.ts +22 -19
- package/dist/config/confirmation.context.js +2 -2
- package/dist/config/i18n.d.ts +311 -308
- package/dist/config/i18n.js +4 -4
- package/dist/config/link.context.d.ts +9 -7
- package/dist/config/link.context.js +2 -2
- package/dist/config/router.context.d.ts +11 -9
- package/dist/config/router.context.js +2 -2
- package/dist/config/theme.context.d.ts +19 -16
- package/dist/config/theme.context.js +99 -46
- package/dist/config/uiConfig.context.d.ts +80 -75
- package/dist/config/uiConfig.context.js +46 -9
- package/dist/config/uiOverrides.context.d.ts +205 -204
- package/dist/config/uiOverrides.context.js +2 -2
- package/dist/helpers/dynamicColumns.d.ts +27 -28
- package/dist/helpers/dynamicColumns.js +32 -31
- package/dist/helpers/dynamicInputs.d.ts +66 -74
- package/dist/helpers/dynamicInputs.js +21 -20
- package/dist/hooks/useAutosave.d.ts +12 -9
- package/dist/hooks/useAutosave.js +1 -1
- package/dist/hooks/useBreakpoint.d.ts +4 -2
- package/dist/hooks/useBreakpoint.js +37 -10
- package/dist/hooks/useDebounceCallback.d.ts +7 -4
- package/dist/hooks/useDebounceCallback.js +51 -17
- package/dist/hooks/useDeepCompare.d.ts +7 -4
- package/dist/hooks/useDeepCompare.js +4 -4
- package/dist/hooks/useFilters.d.ts +10 -7
- package/dist/hooks/useFilters.js +8 -6
- package/dist/hooks/useForm.d.ts +35 -35
- package/dist/hooks/useForm.js +6 -6
- package/dist/hooks/useFormAutosave.d.ts +16 -13
- package/dist/hooks/useFormAutosave.js +18 -17
- package/dist/hooks/useIntersectionObserver.d.ts +7 -5
- package/dist/hooks/useIntersectionObserver.js +2 -2
- package/dist/hooks/useKeyInteractions.d.ts +19 -16
- package/dist/hooks/useKeyInteractions.js +5 -5
- package/dist/hooks/useLocalStorage.d.ts +10 -8
- package/dist/hooks/useLocalStorage.js +3 -3
- package/dist/hooks/useLongPressRepeat.d.ts +10 -7
- package/dist/hooks/useLongPressRepeat.js +55 -20
- package/dist/hooks/usePagination.d.ts +9 -6
- package/dist/hooks/usePagination.js +2 -2
- package/dist/hooks/useQueryAutocomplete.js +2 -2
- package/dist/hooks/useScrollableListBox.d.ts +5 -2
- package/dist/hooks/useScrollableListBox.js +1 -1
- package/dist/hooks/useSorting.d.ts +8 -5
- package/dist/hooks/useSorting.js +1 -1
- package/dist/hooks/useStateAndRef.d.ts +5 -3
- package/dist/hooks/useStateAndRef.js +2 -2
- package/dist/hooks/useTableColumnConfig.d.ts +15 -13
- package/dist/hooks/useTableColumnConfig.js +1 -1
- package/dist/hooks/useTableNav.d.ts +79 -77
- package/dist/hooks/useTableNav.js +19 -37
- package/dist/hooks/useTranslationMemo.d.ts +5 -3
- package/dist/index.d.ts +145 -1
- package/dist/index.js +3 -3
- package/dist/rhf/Inputs.d.ts +55 -54
- package/dist/rhf/Inputs.js +62 -17
- package/dist/rhf/components.d.ts +77 -75
- package/dist/rhf/components.js +27 -27
- package/dist/rhf/dynamicInputs.d.ts +16 -14
- package/dist/rhf/dynamicInputs.js +1 -1
- package/dist/rhf/fieldAdapter.d.ts +8 -6
- package/dist/rhf/form.types.d.ts +11 -10
- package/dist/rhf/useAutosave.d.ts +12 -9
- package/dist/rhf/useForm.d.ts +13 -13
- package/dist/rhf/useFormAutosave.d.ts +17 -14
- package/dist/rhf/useFormAutosave.js +121 -34
- package/dist/rhf.d.ts +146 -225
- package/dist/rhf.js +120 -0
- package/dist/tanstack.d.ts +151 -224
- package/dist/tanstack.js +3 -3
- package/dist/text-editor.d.ts +2 -2
- package/dist/tw-ui-plugin.d.ts +4 -2
- package/dist/tw-ui-plugin.js +1 -1
- package/dist/types/common.d.ts +11 -12
- package/dist/types/error-handling.d.ts +8 -5
- package/dist/utils/array.utils.d.ts +5 -2
- package/dist/utils/array.utils.js +1 -1
- package/dist/utils/compoundMapper.d.ts +12 -14
- package/dist/utils/compoundMapper.js +1 -1
- package/dist/utils/date-time.utils.d.ts +44 -41
- package/dist/utils/date-time.utils.js +7 -9
- package/dist/utils/date.utils.d.ts +6 -4
- package/dist/utils/date.utils.js +29 -6
- package/dist/utils/dom.utils.d.ts +7 -4
- package/dist/utils/dom.utils.js +2 -2
- package/dist/utils/file.utils.d.ts +20 -12
- package/dist/utils/file.utils.js +19 -8
- package/dist/utils/intl.utils.d.ts +7 -5
- package/dist/utils/intl.utils.js +2 -2
- package/dist/utils/isEqual.d.ts +4 -1
- package/dist/utils/isEqual.js +3 -3
- package/dist/utils/logger.d.ts +9 -6
- package/dist/utils/logger.js +1 -1
- package/dist/utils/object.utils.d.ts +12 -9
- package/dist/utils/object.utils.js +1 -1
- package/dist/utils/queries.utils.d.ts +6 -3
- package/dist/utils/queries.utils.js +1 -1
- package/dist/utils/query.utils.js +1 -1
- package/dist/utils/routing.utils.d.ts +6 -3
- package/dist/utils/routing.utils.js +1 -1
- package/dist/utils/string.utils.d.ts +6 -3
- package/dist/utils/string.utils.js +1 -1
- package/dist/utils/style-merge.util.d.ts +38 -41
- package/dist/utils/style-merge.util.js +7 -4
- package/dist/utils/zod.utils.d.ts +22 -19
- package/dist/utils/zod.utils.js +1 -1
- package/package.json +30 -8
- package/dist/assets/locales/en/translation.json.d.ts +0 -158
- package/dist/assets/locales/sl/translation.json.d.ts +0 -154
- package/dist/components/Menu/MenuDesktop.d.ts +0 -2
- package/dist/components/Menu/MenuMobile.d.ts +0 -2
- package/dist/components/buttons/shared/ButtonContent.d.ts +0 -14
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.d.ts +0 -9
- package/dist/components/inputs/DateTime/shared/Calendar.d.ts +0 -29
- package/dist/components/inputs/DateTime/shared/CalendarCell.d.ts +0 -22
- package/dist/components/inputs/DateTime/shared/CalendarGrid.d.ts +0 -27
- package/dist/components/inputs/DateTime/shared/CalendarHeader.d.ts +0 -18
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -17
- package/dist/components/inputs/DateTime/shared/DateField.d.ts +0 -21
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -28
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.d.ts +0 -18
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.d.ts +0 -8
- package/dist/components/inputs/DateTime/shared/MonthPicker.d.ts +0 -11
- package/dist/components/inputs/DateTime/shared/RangeCalendar.d.ts +0 -26
- package/dist/components/inputs/DateTime/shared/TimeField.d.ts +0 -12
- package/dist/components/inputs/DateTime/shared/TimePickerForm.d.ts +0 -10
- package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +0 -25
- package/dist/components/inputs/DateTime/shared/YearPicker.d.ts +0 -12
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.d.ts +0 -15
- package/dist/components/inputs/DateTime/shared/dateSegment.utils.d.ts +0 -2
- package/dist/components/inputs/DateTime/shared/dateSegment.utils.spec.d.ts +0 -1
- package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.d.ts +0 -41
- package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.spec.d.ts +0 -1
- package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.d.ts +0 -2
- package/dist/components/inputs/File/index.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileCard.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileCardList.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileUploadContent.d.ts +0 -10
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileUploadContentError.d.ts +0 -11
- package/dist/components/inputs/File/shared/FileUploadContentFilled.d.ts +0 -11
- package/dist/components/inputs/File/shared/FileUploadContentLoading.d.ts +0 -9
- package/dist/components/inputs/File/shared/InputUploadContent.d.ts +0 -9
- package/dist/components/inputs/File/shared/InputUploadFilled.d.ts +0 -8
- package/dist/components/inputs/FormField/FormFieldHeaderClose.d.ts +0 -5
- package/dist/components/inputs/FormField/FormFieldHelper.d.ts +0 -8
- package/dist/components/inputs/FormField/FormFieldLabel.d.ts +0 -13
- package/dist/components/inputs/Input/shared/numberStatic.utils.d.ts +0 -1
- package/dist/components/inputs/Selection/shared/SelectDesktop.d.ts +0 -5
- package/dist/components/inputs/Selection/shared/SelectInput.d.ts +0 -15
- package/dist/components/inputs/Selection/shared/SelectInputTags.d.ts +0 -12
- package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +0 -9
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.d.ts +0 -7
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +0 -4
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +0 -6
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.d.ts +0 -5
- package/dist/components/inputs/Selection/shared/SelectMobile.d.ts +0 -5
- package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.d.ts +0 -9
- package/dist/components/inputs/Selection/shared/select.context.d.ts +0 -32
- package/dist/components/inputs/Selection/shared/staticSelect.utils.d.ts +0 -23
- package/dist/components/inputs/Selection/shared/staticSelect.utils.spec.d.ts +0 -1
- package/dist/components/inputs/Selection/shared/useSelectItems.d.ts +0 -23
- package/dist/components/inputs/Skeleton/InputFrame.d.ts +0 -84
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.d.ts +0 -7
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.d.ts +0 -10
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.d.ts +0 -6
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/textEditor.types.d.ts +0 -5
- package/dist/components/inputs/shared/CheckContent.d.ts +0 -9
- package/dist/components/inputs/shared/InputClear.d.ts +0 -10
- package/dist/components/inputs/shared/TooltipWrapper.d.ts +0 -10
- package/dist/components/inputs/shared/useStaticInputHandoff.d.ts +0 -15
- package/dist/components/navigation/Accordion/AccordionItem.d.ts +0 -2
- package/dist/components/navigation/Stepper/StepperItem.d.ts +0 -2
- package/dist/components/navigation/Stepper/StepperSeparator.d.ts +0 -5
- package/dist/components/overlays/BottomSheet/BottomSheetHeader.d.ts +0 -13
- package/dist/components/segment/SegmentItem.d.ts +0 -2
- package/dist/components/shared/pagination/minWidth.cva.d.ts +0 -3
- package/dist/hooks/useFormAutosave.spec.d.ts +0 -1
- package/dist/hooks/useKeyInteractions.spec.d.ts +0 -1
- package/dist/hooks/useQueryAutocomplete.d.ts +0 -13
- package/dist/rhf/entrypoints.type-test.d.ts +0 -1
- package/dist/types/react-query.d.ts +0 -6
- package/dist/utils/array.utils.spec.d.ts +0 -1
- package/dist/utils/compoundMapper.spec.d.ts +0 -1
- package/dist/utils/date-time.utils.spec.d.ts +0 -1
- package/dist/utils/date.utils.spec.d.ts +0 -1
- package/dist/utils/intl.utils.spec.d.ts +0 -1
- package/dist/utils/query.utils.d.ts +0 -4
- package/dist/utils/rest.utils.d.ts +0 -10
- package/dist/utils/rest.utils.js +0 -33
- package/dist/utils/style-merge.util.spec.d.ts +0 -1
|
@@ -7,207 +7,73 @@ import { inputContentWrapperDefinition, inputSizeDefinition } from "../../shared
|
|
|
7
7
|
import { InputClear } from "../../shared/InputClear.js";
|
|
8
8
|
import { clsx } from "clsx";
|
|
9
9
|
import { isValidElement } from "react";
|
|
10
|
-
import { c } from "react/compiler-runtime";
|
|
11
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
11
|
//#region src/components/inputs/Input/shared/InputContent.tsx
|
|
13
|
-
|
|
14
|
-
const $ = c(66);
|
|
15
|
-
const { leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, unit, isLoading, isDisabled, action, isClearable, isClearableIfDisabled, value, onChange, onBlur, children, headerProps, as, size } = t0;
|
|
12
|
+
const InputContent = ({ leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, unit, isLoading, isDisabled, action, isClearable, isClearableIfDisabled, value, onChange, onBlur, children, headerProps, as, size }) => {
|
|
16
13
|
const typographyCva = UIOverrides.useCva("typography.cva", typographyDefinition);
|
|
17
14
|
const inputSizeCva = UIOverrides.useCva("input.sizeCva", inputSizeDefinition);
|
|
18
15
|
const inputContentWrapperCva = UIOverrides.useCva("input.contentWrapperCva", inputContentWrapperDefinition);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
t1 = LeadingIcon && isValidElement(LeadingIcon);
|
|
22
|
-
$[0] = LeadingIcon;
|
|
23
|
-
$[1] = t1;
|
|
24
|
-
} else t1 = $[1];
|
|
25
|
-
const isLeadingIconElement = t1;
|
|
26
|
-
let t2;
|
|
27
|
-
if ($[2] !== TrailingIcon) {
|
|
28
|
-
t2 = TrailingIcon && isValidElement(TrailingIcon);
|
|
29
|
-
$[2] = TrailingIcon;
|
|
30
|
-
$[3] = t2;
|
|
31
|
-
} else t2 = $[3];
|
|
32
|
-
const isTrailingIconElement = t2;
|
|
16
|
+
const isLeadingIconElement = LeadingIcon && isValidElement(LeadingIcon);
|
|
17
|
+
const isTrailingIconElement = TrailingIcon && isValidElement(TrailingIcon);
|
|
33
18
|
const showClear = value != null && value !== "" && (!isDisabled || isClearableIfDisabled === true);
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
let t6;
|
|
58
|
-
if ($[12] !== as || $[13] !== inputContentWrapperCva) {
|
|
59
|
-
t6 = inputContentWrapperCva({ as });
|
|
60
|
-
$[12] = as;
|
|
61
|
-
$[13] = inputContentWrapperCva;
|
|
62
|
-
$[14] = t6;
|
|
63
|
-
} else t6 = $[14];
|
|
64
|
-
let t7;
|
|
65
|
-
if ($[15] !== as || $[16] !== headerProps || $[17] !== size) {
|
|
66
|
-
t7 = as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
|
|
67
|
-
as,
|
|
68
|
-
size,
|
|
69
|
-
...headerProps
|
|
70
|
-
});
|
|
71
|
-
$[15] = as;
|
|
72
|
-
$[16] = headerProps;
|
|
73
|
-
$[17] = size;
|
|
74
|
-
$[18] = t7;
|
|
75
|
-
} else t7 = $[18];
|
|
76
|
-
let t8;
|
|
77
|
-
if ($[19] !== children || $[20] !== t6 || $[21] !== t7) {
|
|
78
|
-
t8 = /* @__PURE__ */ jsxs("div", {
|
|
79
|
-
className: t6,
|
|
80
|
-
children: [t7, children]
|
|
81
|
-
});
|
|
82
|
-
$[19] = children;
|
|
83
|
-
$[20] = t6;
|
|
84
|
-
$[21] = t7;
|
|
85
|
-
$[22] = t8;
|
|
86
|
-
} else t8 = $[22];
|
|
87
|
-
let t9;
|
|
88
|
-
if ($[23] !== t4 || $[24] !== t5 || $[25] !== t8) {
|
|
89
|
-
t9 = /* @__PURE__ */ jsxs("div", {
|
|
90
|
-
className: t4,
|
|
91
|
-
children: [t5, t8]
|
|
92
|
-
});
|
|
93
|
-
$[23] = t4;
|
|
94
|
-
$[24] = t5;
|
|
95
|
-
$[25] = t8;
|
|
96
|
-
$[26] = t9;
|
|
97
|
-
} else t9 = $[26];
|
|
98
|
-
let t10;
|
|
99
|
-
if ($[27] !== action || $[28] !== as || $[29] !== inputSizeCva || $[30] !== isClearable || $[31] !== isTrailingIconElement || $[32] !== showClear || $[33] !== size) {
|
|
100
|
-
t10 = clsx("flex items-center gap-input-gap-trailing-elements py-0! pl-0!", inputSizeCva({
|
|
101
|
-
size,
|
|
102
|
-
as
|
|
103
|
-
}), !isTrailingIconElement && !action && !(isClearable && showClear) && "pointer-events-none");
|
|
104
|
-
$[27] = action;
|
|
105
|
-
$[28] = as;
|
|
106
|
-
$[29] = inputSizeCva;
|
|
107
|
-
$[30] = isClearable;
|
|
108
|
-
$[31] = isTrailingIconElement;
|
|
109
|
-
$[32] = showClear;
|
|
110
|
-
$[33] = size;
|
|
111
|
-
$[34] = t10;
|
|
112
|
-
} else t10 = $[34];
|
|
113
|
-
let t11;
|
|
114
|
-
if ($[35] !== isClearable || $[36] !== isClearableIfDisabled || $[37] !== isDisabled || $[38] !== onBlur || $[39] !== onChange || $[40] !== showClear) {
|
|
115
|
-
t11 = isClearable && (!isDisabled || isClearableIfDisabled === true) && /* @__PURE__ */ jsx(InputClear, {
|
|
116
|
-
onClear: () => {
|
|
117
|
-
onChange?.("");
|
|
118
|
-
onBlur?.({ target: { value: "" } });
|
|
119
|
-
},
|
|
120
|
-
show: showClear
|
|
121
|
-
});
|
|
122
|
-
$[35] = isClearable;
|
|
123
|
-
$[36] = isClearableIfDisabled;
|
|
124
|
-
$[37] = isDisabled;
|
|
125
|
-
$[38] = onBlur;
|
|
126
|
-
$[39] = onChange;
|
|
127
|
-
$[40] = showClear;
|
|
128
|
-
$[41] = t11;
|
|
129
|
-
} else t11 = $[41];
|
|
130
|
-
let t12;
|
|
131
|
-
if ($[42] !== typographyCva || $[43] !== unit) {
|
|
132
|
-
t12 = unit && /* @__PURE__ */ jsx("span", {
|
|
133
|
-
className: typographyCva({
|
|
134
|
-
size: "label-2",
|
|
135
|
-
sizeMobile: "label-2",
|
|
136
|
-
variant: "prominent-1",
|
|
137
|
-
className: "text-text-default-3"
|
|
138
|
-
}),
|
|
139
|
-
children: unit
|
|
140
|
-
});
|
|
141
|
-
$[42] = typographyCva;
|
|
142
|
-
$[43] = unit;
|
|
143
|
-
$[44] = t12;
|
|
144
|
-
} else t12 = $[44];
|
|
145
|
-
let t13;
|
|
146
|
-
if ($[45] !== isLoading) {
|
|
147
|
-
t13 = isLoading && /* @__PURE__ */ jsx("div", {
|
|
148
|
-
className: "inline-flex",
|
|
149
|
-
children: /* @__PURE__ */ jsx(Loader, {})
|
|
150
|
-
});
|
|
151
|
-
$[45] = isLoading;
|
|
152
|
-
$[46] = t13;
|
|
153
|
-
} else t13 = $[46];
|
|
154
|
-
let t14;
|
|
155
|
-
if ($[47] !== action || $[48] !== isDisabled || $[49] !== isLoading) {
|
|
156
|
-
t14 = !isLoading && action && /* @__PURE__ */ jsx(InlineIconButton, {
|
|
157
|
-
color: "secondary",
|
|
158
|
-
icon: action.icon,
|
|
159
|
-
isDisabled,
|
|
160
|
-
onPress: action.onClick,
|
|
161
|
-
excludeFromTabOrder: true,
|
|
162
|
-
label: action.altText,
|
|
163
|
-
className: clsx("border-0!", action.className),
|
|
164
|
-
"data-static-press-action": ""
|
|
165
|
-
});
|
|
166
|
-
$[47] = action;
|
|
167
|
-
$[48] = isDisabled;
|
|
168
|
-
$[49] = isLoading;
|
|
169
|
-
$[50] = t14;
|
|
170
|
-
} else t14 = $[50];
|
|
171
|
-
let t15;
|
|
172
|
-
if ($[51] !== TrailingIcon || $[52] !== action || $[53] !== isLoading || $[54] !== isTrailingIconElement) {
|
|
173
|
-
t15 = !isLoading && !action && TrailingIcon && (isTrailingIconElement ? TrailingIcon : /* @__PURE__ */ jsx(TrailingIcon, { className: "size-6 text-interactive-text-secondary-idle" }));
|
|
174
|
-
$[51] = TrailingIcon;
|
|
175
|
-
$[52] = action;
|
|
176
|
-
$[53] = isLoading;
|
|
177
|
-
$[54] = isTrailingIconElement;
|
|
178
|
-
$[55] = t15;
|
|
179
|
-
} else t15 = $[55];
|
|
180
|
-
let t16;
|
|
181
|
-
if ($[56] !== t10 || $[57] !== t11 || $[58] !== t12 || $[59] !== t13 || $[60] !== t14 || $[61] !== t15) {
|
|
182
|
-
t16 = /* @__PURE__ */ jsxs("div", {
|
|
183
|
-
className: t10,
|
|
19
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
20
|
+
className: "flex w-full items-center gap-input-gap-input-text-to-elements",
|
|
21
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
22
|
+
className: clsx("group/input-content flex w-full items-center gap-input-gap-input-text-to-elements pr-0!", as === "inline" && "h-full", inputSizeCva({
|
|
23
|
+
size,
|
|
24
|
+
as
|
|
25
|
+
})),
|
|
26
|
+
children: [LeadingIcon && /* @__PURE__ */ jsx("div", {
|
|
27
|
+
className: clsx(!isLeadingIconElement && "pointer-events-none"),
|
|
28
|
+
children: isLeadingIconElement ? LeadingIcon : /* @__PURE__ */ jsx(LeadingIcon, { className: "size-6 text-interactive-text-secondary-idle" })
|
|
29
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
30
|
+
className: inputContentWrapperCva({ as }),
|
|
31
|
+
children: [as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
|
|
32
|
+
as,
|
|
33
|
+
size,
|
|
34
|
+
...headerProps
|
|
35
|
+
}), children]
|
|
36
|
+
})]
|
|
37
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
38
|
+
className: clsx("flex items-center gap-input-gap-trailing-elements py-0! pl-0!", inputSizeCva({
|
|
39
|
+
size,
|
|
40
|
+
as
|
|
41
|
+
}), !isTrailingIconElement && !action && !(isClearable && showClear) && "pointer-events-none"),
|
|
184
42
|
children: [
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
43
|
+
isClearable && (!isDisabled || isClearableIfDisabled === true) && /* @__PURE__ */ jsx(InputClear, {
|
|
44
|
+
onClear: () => {
|
|
45
|
+
onChange?.("");
|
|
46
|
+
onBlur?.({ target: { value: "" } });
|
|
47
|
+
},
|
|
48
|
+
show: showClear
|
|
49
|
+
}),
|
|
50
|
+
unit && /* @__PURE__ */ jsx("span", {
|
|
51
|
+
className: typographyCva({
|
|
52
|
+
size: "label-2",
|
|
53
|
+
sizeMobile: "label-2",
|
|
54
|
+
variant: "prominent-1",
|
|
55
|
+
className: "text-text-default-3"
|
|
56
|
+
}),
|
|
57
|
+
children: unit
|
|
58
|
+
}),
|
|
59
|
+
isLoading && /* @__PURE__ */ jsx("div", {
|
|
60
|
+
className: "inline-flex",
|
|
61
|
+
children: /* @__PURE__ */ jsx(Loader, {})
|
|
62
|
+
}),
|
|
63
|
+
!isLoading && action && /* @__PURE__ */ jsx(InlineIconButton, {
|
|
64
|
+
color: "secondary",
|
|
65
|
+
icon: action.icon,
|
|
66
|
+
isDisabled,
|
|
67
|
+
onPress: action.onClick,
|
|
68
|
+
excludeFromTabOrder: true,
|
|
69
|
+
label: action.altText,
|
|
70
|
+
className: clsx("border-0!", action.className),
|
|
71
|
+
"data-static-press-action": ""
|
|
72
|
+
}),
|
|
73
|
+
!isLoading && !action && TrailingIcon && (isTrailingIconElement ? TrailingIcon : /* @__PURE__ */ jsx(TrailingIcon, { className: "size-6 text-interactive-text-secondary-idle" }))
|
|
190
74
|
]
|
|
191
|
-
})
|
|
192
|
-
|
|
193
|
-
$[57] = t11;
|
|
194
|
-
$[58] = t12;
|
|
195
|
-
$[59] = t13;
|
|
196
|
-
$[60] = t14;
|
|
197
|
-
$[61] = t15;
|
|
198
|
-
$[62] = t16;
|
|
199
|
-
} else t16 = $[62];
|
|
200
|
-
let t17;
|
|
201
|
-
if ($[63] !== t16 || $[64] !== t9) {
|
|
202
|
-
t17 = /* @__PURE__ */ jsxs("div", {
|
|
203
|
-
className: "flex w-full items-center gap-input-gap-input-text-to-elements",
|
|
204
|
-
children: [t9, t16]
|
|
205
|
-
});
|
|
206
|
-
$[63] = t16;
|
|
207
|
-
$[64] = t9;
|
|
208
|
-
$[65] = t17;
|
|
209
|
-
} else t17 = $[65];
|
|
210
|
-
return t17;
|
|
75
|
+
})]
|
|
76
|
+
});
|
|
211
77
|
};
|
|
212
78
|
//#endregion
|
|
213
79
|
export { InputContent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/components/inputs/Input/shared/numberStatic.utils.ts
|
|
2
|
-
|
|
2
|
+
const getStaticNumberDisplayValue = (value, formatter) => {
|
|
3
3
|
if (typeof value !== "number" || !Number.isFinite(value)) return null;
|
|
4
4
|
return formatter.format(value);
|
|
5
5
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { FormSubmitErrorHandler, FormSubmitHandler, UIForm } from "../../../hooks/useForm.js";
|
|
2
|
+
import { InputComponentProps, InputDefBaseProps } from "./InputItem.js";
|
|
3
|
+
import { AllowedComponentType, DefaultComponentType } from "../../../helpers/dynamicInputs.js";
|
|
4
|
+
import { ReactNode } from "react";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
//#region src/components/inputs/Inputs/Form.d.ts
|
|
6
7
|
type Capitalize<T extends string> = T extends `${infer First}${infer Rest}` ? `${Uppercase<First>}${Rest}` : T;
|
|
7
8
|
type FieldProps<TProps = {}> = {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
label: string;
|
|
10
|
+
placeholder?: string;
|
|
10
11
|
} & TProps;
|
|
11
12
|
type FieldComponentProps<TSchema extends z.ZodObject<any>, K extends keyof z.infer<TSchema>, T extends AllowedComponentType<TSchema["shape"][K]> | undefined = undefined> = FieldProps<InputDefBaseProps<InputComponentProps<T extends AllowedComponentType<TSchema["shape"][K]> ? T : DefaultComponentType<TSchema["shape"][K]>>>> & {
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
type FieldComponents<TSchema extends z.ZodObject<any>> = {
|
|
15
|
-
[K in keyof Required<z.infer<TSchema>> as Capitalize<K & string>]: <T extends AllowedComponentType<TSchema["shape"][K]> | undefined = undefined>(props: FieldComponentProps<TSchema, K, T>) => ReactNode;
|
|
13
|
+
inputType?: T extends AllowedComponentType<TSchema["shape"][K]> ? T : never;
|
|
16
14
|
};
|
|
15
|
+
type FieldComponents<TSchema extends z.ZodObject<any>> = { [K in keyof Required<z.infer<TSchema>> as Capitalize<K & string>]: <T extends AllowedComponentType<TSchema["shape"][K]> | undefined = undefined>(props: FieldComponentProps<TSchema, K, T>) => ReactNode; };
|
|
17
16
|
interface FormProps<TSchema extends z.ZodObject<any>, TSchemaType extends Record<string, any> = z.infer<TSchema>> {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
form: UIForm<TSchemaType>;
|
|
18
|
+
schema: TSchema;
|
|
19
|
+
onSubmit: FormSubmitHandler<TSchemaType>;
|
|
20
|
+
onError?: FormSubmitErrorHandler<TSchemaType>;
|
|
21
|
+
className?: string;
|
|
22
|
+
children: (components: FieldComponents<TSchema>) => ReactNode;
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
declare function Form<TSchema extends z.ZodObject<any>>({ form, schema, onSubmit, onError, className, children }: FormProps<TSchema>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { Form };
|
|
@@ -2,72 +2,44 @@ import { StringUtils } from "../../../utils/string.utils.js";
|
|
|
2
2
|
import { ZodUtils } from "../../../utils/zod.utils.js";
|
|
3
3
|
import { getDefaultInputComponentType } from "../../../helpers/dynamicInputs.js";
|
|
4
4
|
import { InputItem } from "./InputItem.js";
|
|
5
|
-
import {
|
|
5
|
+
import { useMemo } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/components/inputs/Inputs/Form.tsx
|
|
9
|
-
|
|
9
|
+
const createFieldComponent = (field, schemaKeyType, form) => {
|
|
10
10
|
return function FieldComponent({ inputType, label, placeholder, ...inputProps }) {
|
|
11
|
+
const inputDef = {
|
|
12
|
+
name: field,
|
|
13
|
+
type: inputType ?? getDefaultInputComponentType(schemaKeyType),
|
|
14
|
+
label,
|
|
15
|
+
placeholder,
|
|
16
|
+
props: {
|
|
17
|
+
...ZodUtils.unwrapZodType(schemaKeyType) instanceof z.ZodArray ? { selectionMode: "multiple" } : {},
|
|
18
|
+
...inputProps
|
|
19
|
+
}
|
|
20
|
+
};
|
|
11
21
|
return /* @__PURE__ */ jsx(InputItem, {
|
|
12
22
|
form,
|
|
13
|
-
inputDef
|
|
14
|
-
name: field,
|
|
15
|
-
type: inputType ?? getDefaultInputComponentType(schemaKeyType),
|
|
16
|
-
label,
|
|
17
|
-
placeholder,
|
|
18
|
-
props: {
|
|
19
|
-
...ZodUtils.unwrapZodType(schemaKeyType) instanceof z.ZodArray ? { selectionMode: "multiple" } : {},
|
|
20
|
-
...inputProps
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
+
inputDef
|
|
23
24
|
});
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
|
-
function Form(
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
let fieldComponents;
|
|
30
|
-
if ($[0] !== form || $[1] !== schema.shape) {
|
|
31
|
-
fieldComponents = {};
|
|
27
|
+
function Form({ form, schema, onSubmit, onError, className, children }) {
|
|
28
|
+
const components = useMemo(() => {
|
|
29
|
+
const fieldComponents = {};
|
|
32
30
|
const fields = Object.keys(schema.shape);
|
|
33
31
|
for (const field of fields) {
|
|
34
32
|
const componentName = StringUtils.capitalize(String(field));
|
|
35
33
|
const schemaKeyType = schema.shape[field];
|
|
36
34
|
fieldComponents[componentName] = createFieldComponent(field, schemaKeyType, form);
|
|
37
35
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
t1 = form.handleSubmit(onSubmit, onError);
|
|
46
|
-
$[3] = form;
|
|
47
|
-
$[4] = onError;
|
|
48
|
-
$[5] = onSubmit;
|
|
49
|
-
$[6] = t1;
|
|
50
|
-
} else t1 = $[6];
|
|
51
|
-
let t2;
|
|
52
|
-
if ($[7] !== children || $[8] !== components) {
|
|
53
|
-
t2 = children(components);
|
|
54
|
-
$[7] = children;
|
|
55
|
-
$[8] = components;
|
|
56
|
-
$[9] = t2;
|
|
57
|
-
} else t2 = $[9];
|
|
58
|
-
let t3;
|
|
59
|
-
if ($[10] !== className || $[11] !== t1 || $[12] !== t2) {
|
|
60
|
-
t3 = /* @__PURE__ */ jsx("form", {
|
|
61
|
-
onSubmit: t1,
|
|
62
|
-
className,
|
|
63
|
-
children: t2
|
|
64
|
-
});
|
|
65
|
-
$[10] = className;
|
|
66
|
-
$[11] = t1;
|
|
67
|
-
$[12] = t2;
|
|
68
|
-
$[13] = t3;
|
|
69
|
-
} else t3 = $[13];
|
|
70
|
-
return t3;
|
|
36
|
+
return fieldComponents;
|
|
37
|
+
}, [schema.shape, form]);
|
|
38
|
+
return /* @__PURE__ */ jsx("form", {
|
|
39
|
+
onSubmit: form.handleSubmit(onSubmit, onError),
|
|
40
|
+
className,
|
|
41
|
+
children: children(components)
|
|
42
|
+
});
|
|
71
43
|
}
|
|
72
44
|
//#endregion
|
|
73
45
|
export { Form };
|
|
@@ -1,67 +1,86 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { UIForm } from "../../../hooks/useForm.js";
|
|
2
|
+
import { FieldValues } from "../shared/form.binding.js";
|
|
3
|
+
import { ControlledCheckboxProps } from "../Checkbox/Checkbox.js";
|
|
4
|
+
import { TextInputComponent } from "../Input/TextInput/TextInput.js";
|
|
5
|
+
import { ControlledCheckboxGroupProps } from "../Checkbox/CheckboxGroup.js";
|
|
6
|
+
import { ControlledDatePickerProps } from "../DateTime/DatePicker/DatePicker.js";
|
|
7
|
+
import { ControlledDateRangePickerProps } from "../DateTime/DateRangePicker/DateRangePicker.js";
|
|
8
|
+
import { ControlledDateTimePickerProps } from "../DateTime/DateTimePicker/DateTimePicker.js";
|
|
9
|
+
import { ControlledTimePickerProps } from "../DateTime/TimePicker/TimePicker.js";
|
|
10
|
+
import { NumberInputComponent } from "../Input/NumberInput/NumberInput.js";
|
|
11
|
+
import { ControlledNumberRangeInputProps } from "../Input/NumberRangeInput/NumberRangeInput.js";
|
|
12
|
+
import { ControlledPasswordInputProps } from "../Input/PasswordInput/PasswordInput.js";
|
|
13
|
+
import { ControlledTextAreaProps } from "../Input/TextArea/TextArea.js";
|
|
14
|
+
import { DefaultInitialSelectItem, SelectItem } from "../Selection/shared/select.types.js";
|
|
15
|
+
import { HasRequiredProperty } from "../../../types/common.js";
|
|
16
|
+
import { AutocompleteProps, ControlledAutocompleteProps } from "../Selection/Autocomplete/Autocomplete.js";
|
|
17
|
+
import { QueryAutocompleteProps, QueryFn } from "../Selection/Autocomplete/queryAutocomplete.types.js";
|
|
18
|
+
import { ControlledSelectProps, SelectProps } from "../Selection/Select/Select.js";
|
|
19
|
+
import { QueryFn as QueryFn$1 } from "../Selection/shared/querySelect.utils.js";
|
|
20
|
+
import { QuerySelectProps } from "../Selection/Select/QuerySelect.js";
|
|
21
|
+
import { ControlledSliderProps } from "../Slider/Slider.js";
|
|
22
|
+
import { ControlledToggleProps } from "../Toggle/Toggle.js";
|
|
23
|
+
import { Segment } from "../../segment/Segment.js";
|
|
24
|
+
import "../../../index.js";
|
|
25
|
+
import { ComponentProps, JSXElementConstructor, ReactElement, ReactNode } from "react";
|
|
26
|
+
import { z } from "zod";
|
|
27
|
+
//#region src/components/inputs/Inputs/InputItem.d.ts
|
|
7
28
|
declare const componentRegistry: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
29
|
+
readonly toggle: <TFieldValues extends FieldValues>(props: ControlledToggleProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
readonly checkbox: <TFieldValues extends FieldValues>(props: ControlledCheckboxProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
readonly checkboxGroup: <TFieldValues extends FieldValues>(props: ControlledCheckboxGroupProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
readonly numberInput: typeof NumberInputComponent;
|
|
33
|
+
readonly numberRangeInput: <TFieldValues extends FieldValues>({ renderStaticInput, ...props }: ControlledNumberRangeInputProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
readonly slider: <TFieldValues extends FieldValues, IsRange extends boolean = false>(props: ControlledSliderProps<TFieldValues, IsRange>) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
readonly textInput: typeof TextInputComponent;
|
|
36
|
+
readonly passwordInput: <TFieldValues extends FieldValues>(props: ControlledPasswordInputProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
readonly textArea: <TFieldValues extends FieldValues>(props: ControlledTextAreaProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
readonly select: {
|
|
39
|
+
<TKey extends import("react-aria").Key = import("react-aria").Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>>(props: SelectProps<TKey, TInitialSelectItem>): ReactElement;
|
|
40
|
+
<TFieldValues extends FieldValues, TKey extends import("react-aria").Key = import("react-aria").Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>>(props: ControlledSelectProps<TFieldValues, TKey, TInitialSelectItem>): ReactElement;
|
|
41
|
+
};
|
|
42
|
+
readonly querySelect: <TFieldValues extends FieldValues, TQueryFn extends QueryFn$1, TKey extends import("react-aria").Key = import("react-aria").Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>>(props: QuerySelectProps<TFieldValues, TQueryFn, TKey, TInitialSelectItem>) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
readonly autocomplete: {
|
|
44
|
+
<TKey extends import("react-aria").Key = import("react-aria").Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>>(props: AutocompleteProps<TKey, TInitialSelectItem>): ReactElement;
|
|
45
|
+
<TFieldValues extends FieldValues, TKey extends import("react-aria").Key = import("react-aria").Key, TInitialSelectItem = DefaultInitialSelectItem<TKey>>(props: ControlledAutocompleteProps<TFieldValues, TKey, TInitialSelectItem>): ReactElement;
|
|
46
|
+
};
|
|
47
|
+
readonly queryAutocomplete: <TFieldValues extends FieldValues, TSelectItem extends SelectItem<any>, TQueryFn extends QueryFn>(props: QueryAutocompleteProps<TFieldValues, TSelectItem, TQueryFn>) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
readonly segment: typeof Segment;
|
|
49
|
+
readonly datePicker: <TFieldValues extends FieldValues>({ fullIso, granularity, minValue, maxValue, renderStaticInput, ...props }: ControlledDatePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
readonly dateTimePicker: <TFieldValues extends FieldValues>({ fullIso, renderStaticInput, ...props }: ControlledDateTimePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
readonly timePicker: <TFieldValues extends FieldValues>({ renderStaticInput, ...props }: ControlledTimePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
readonly dateRangePicker: <TFieldValues extends FieldValues>({ fullIso, minValue, maxValue, renderStaticInput, ...props }: ControlledDateRangePickerProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
readonly unknown: null;
|
|
27
54
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
form: UIForm<TSchemaType>;
|
|
32
|
-
inputDef: InputDef<TSchemaType>;
|
|
33
|
-
}
|
|
34
|
-
export type InputDef<TSchemaType extends Record<string, any>> = {
|
|
35
|
-
[T in InputComponentType]: T extends "unknown" ? never : {
|
|
36
|
-
[K in keyof TSchemaType]: TypeBasedInputDef<TSchemaType, T, K> | RenderBasedInputDef<TSchemaType, K>;
|
|
37
|
-
}[keyof TSchemaType];
|
|
38
|
-
}[InputComponentType];
|
|
55
|
+
type InputComponentRegistry = typeof componentRegistry;
|
|
56
|
+
type InputComponentType = keyof InputComponentRegistry;
|
|
57
|
+
type InputDef<TSchemaType extends Record<string, any>> = { [T in InputComponentType]: T extends "unknown" ? never : { [K in keyof TSchemaType]: TypeBasedInputDef<TSchemaType, T, K> | RenderBasedInputDef<TSchemaType, K>; }[keyof TSchemaType]; }[InputComponentType];
|
|
39
58
|
type TypeBasedInputDef<TSchemaType extends Record<string, any>, T extends InputComponentType, K extends keyof TSchemaType> = {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
59
|
+
type: T;
|
|
60
|
+
name: K;
|
|
61
|
+
label: string;
|
|
62
|
+
placeholder?: string;
|
|
63
|
+
inputWrapper?: InputWrapperType;
|
|
64
|
+
render?: never;
|
|
46
65
|
} & (HasRequiredProperty<InputDefBaseProps<InputComponentProps<T>>> extends true ? {
|
|
47
|
-
|
|
66
|
+
props?: InputDefBaseProps<InputComponentProps<T>>;
|
|
48
67
|
} : {
|
|
49
|
-
|
|
68
|
+
props: InputDefBaseProps<InputComponentProps<T>>;
|
|
50
69
|
});
|
|
51
70
|
interface RenderBasedInputDef<TSchemaType extends Record<string, any>, K extends keyof TSchemaType> {
|
|
52
|
-
|
|
71
|
+
type?: never;
|
|
72
|
+
name: K;
|
|
73
|
+
label?: string;
|
|
74
|
+
placeholder?: string;
|
|
75
|
+
props?: never;
|
|
76
|
+
inputWrapper?: never;
|
|
77
|
+
render: (field: {
|
|
78
|
+
form: UIForm<TSchemaType>;
|
|
53
79
|
name: K;
|
|
54
|
-
|
|
55
|
-
placeholder?: string;
|
|
56
|
-
props?: never;
|
|
57
|
-
inputWrapper?: never;
|
|
58
|
-
render: (field: {
|
|
59
|
-
form: UIForm<TSchemaType>;
|
|
60
|
-
name: K;
|
|
61
|
-
}, form: UIForm<TSchemaType>) => ReactElement;
|
|
80
|
+
}, form: UIForm<TSchemaType>) => ReactElement;
|
|
62
81
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
export {};
|
|
82
|
+
type InputWrapperType = (children: ReactNode, label: string) => ReactElement;
|
|
83
|
+
type InputComponentProps<T extends InputComponentType> = InputComponentRegistry[T] extends keyof React.JSX.IntrinsicElements | JSXElementConstructor<any> ? ComponentProps<InputComponentRegistry[T]> : null;
|
|
84
|
+
type InputDefBaseProps<TProps> = Omit<TProps, "field" | "label" | "placeholder" | "children">;
|
|
85
|
+
//#endregion
|
|
86
|
+
export { InputComponentProps, InputComponentRegistry, InputComponentType, InputDef, InputDefBaseProps, InputWrapperType };
|