@elliemae/ds-form 2.1.1-rc.1 → 2.2.0-alpha.4
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/cjs/Checkbox/DSCheckbox.js +145 -154
- package/cjs/Checkbox/DSCheckbox.js.map +7 -0
- package/cjs/Checkbox/defaultProps.js +37 -10
- package/cjs/Checkbox/defaultProps.js.map +7 -0
- package/cjs/Checkbox/elements/CheckMark.js +38 -13
- package/cjs/Checkbox/elements/CheckMark.js.map +7 -0
- package/cjs/Checkbox/index.js +28 -16
- package/cjs/Checkbox/index.js.map +7 -0
- package/cjs/Checkbox/props.js +48 -21
- package/cjs/Checkbox/props.js.map +7 -0
- package/cjs/CheckboxGroup/DSCheckboxGroup.js +103 -96
- package/cjs/CheckboxGroup/DSCheckboxGroup.js.map +7 -0
- package/cjs/CheckboxGroup/defaultProps.js +37 -9
- package/cjs/CheckboxGroup/defaultProps.js.map +7 -0
- package/cjs/CheckboxGroup/index.js +28 -11
- package/cjs/CheckboxGroup/index.js.map +7 -0
- package/cjs/CheckboxGroup/props.js +53 -45
- package/cjs/CheckboxGroup/props.js.map +7 -0
- package/cjs/ComboBox/DSComboBox.js +37 -20
- package/cjs/ComboBox/DSComboBox.js.map +7 -0
- package/cjs/ComboBox/index.js +40 -21
- package/cjs/ComboBox/index.js.map +7 -0
- package/cjs/ComboBox/v1/DSComboBox.js +266 -264
- package/cjs/ComboBox/v1/DSComboBox.js.map +7 -0
- package/cjs/ComboBox/v1/components/AllOption.js +42 -36
- package/cjs/ComboBox/v1/components/AllOption.js.map +7 -0
- package/cjs/ComboBox/v1/components/ClearIndicator.js +59 -41
- package/cjs/ComboBox/v1/components/ClearIndicator.js.map +7 -0
- package/cjs/ComboBox/v1/components/Control.js +43 -33
- package/cjs/ComboBox/v1/components/Control.js.map +7 -0
- package/cjs/ComboBox/v1/components/CustomOption.js +54 -48
- package/cjs/ComboBox/v1/components/CustomOption.js.map +7 -0
- package/cjs/ComboBox/v1/components/CustomOptionMulti.js +55 -51
- package/cjs/ComboBox/v1/components/CustomOptionMulti.js.map +7 -0
- package/cjs/ComboBox/v1/components/DropdownIndicator.js +64 -60
- package/cjs/ComboBox/v1/components/DropdownIndicator.js.map +7 -0
- package/cjs/ComboBox/v1/components/MenuList.js +74 -75
- package/cjs/ComboBox/v1/components/MenuList.js.map +7 -0
- package/cjs/ComboBox/v1/components/MultiSelectHeader.js +41 -18
- package/cjs/ComboBox/v1/components/MultiSelectHeader.js.map +7 -0
- package/cjs/ComboBox/v1/components/MultiValueLabel.js +42 -20
- package/cjs/ComboBox/v1/components/MultiValueLabel.js.map +7 -0
- package/cjs/ComboBox/v1/components/MultiValueRemove.js +46 -32
- package/cjs/ComboBox/v1/components/MultiValueRemove.js.map +7 -0
- package/cjs/ComboBox/v1/components/SelectMenu.js +71 -69
- package/cjs/ComboBox/v1/components/SelectMenu.js.map +7 -0
- package/cjs/ComboBox/v1/components/SingleValueLabel.js +46 -20
- package/cjs/ComboBox/v1/components/SingleValueLabel.js.map +7 -0
- package/cjs/ComboBox/v1/components/ValueContainer.js +43 -40
- package/cjs/ComboBox/v1/components/ValueContainer.js.map +7 -0
- package/cjs/ComboBox/v1/components/calculateWidth.js +36 -13
- package/cjs/ComboBox/v1/components/calculateWidth.js.map +7 -0
- package/cjs/ComboBox/v1/components/getoptions.js +34 -16
- package/cjs/ComboBox/v1/components/getoptions.js.map +7 -0
- package/cjs/ComboBox/v1/index.js +35 -18
- package/cjs/ComboBox/v1/index.js.map +7 -0
- package/cjs/ComboBox/v1/withSelectStringValueConverter.js +54 -59
- package/cjs/ComboBox/v1/withSelectStringValueConverter.js.map +7 -0
- package/cjs/ComboBox/v2/Combobox.js +333 -375
- package/cjs/ComboBox/v2/Combobox.js.map +7 -0
- package/cjs/ComboBox/v2/components/AllOption.js +42 -36
- package/cjs/ComboBox/v2/components/AllOption.js.map +7 -0
- package/cjs/ComboBox/v2/components/ClearIndicator.js +71 -66
- package/cjs/ComboBox/v2/components/ClearIndicator.js.map +7 -0
- package/cjs/ComboBox/v2/components/Content.js +50 -42
- package/cjs/ComboBox/v2/components/Content.js.map +7 -0
- package/cjs/ComboBox/v2/components/Control.js +43 -33
- package/cjs/ComboBox/v2/components/Control.js.map +7 -0
- package/cjs/ComboBox/v2/components/CustomOption.js +74 -85
- package/cjs/ComboBox/v2/components/CustomOption.js.map +7 -0
- package/cjs/ComboBox/v2/components/CustomOptionMulti.js +64 -65
- package/cjs/ComboBox/v2/components/CustomOptionMulti.js.map +7 -0
- package/cjs/ComboBox/v2/components/DropdownIndicator.js +77 -81
- package/cjs/ComboBox/v2/components/DropdownIndicator.js.map +7 -0
- package/cjs/ComboBox/v2/components/GroupHeading.js +57 -45
- package/cjs/ComboBox/v2/components/GroupHeading.js.map +7 -0
- package/cjs/ComboBox/v2/components/IndicatorSeparator.js +39 -28
- package/cjs/ComboBox/v2/components/IndicatorSeparator.js.map +7 -0
- package/cjs/ComboBox/v2/components/LoadingIndicator.js +47 -22
- package/cjs/ComboBox/v2/components/LoadingIndicator.js.map +7 -0
- package/cjs/ComboBox/v2/components/MenuList.js +94 -99
- package/cjs/ComboBox/v2/components/MenuList.js.map +7 -0
- package/cjs/ComboBox/v2/components/MultiSelectHeader.js +88 -60
- package/cjs/ComboBox/v2/components/MultiSelectHeader.js.map +7 -0
- package/cjs/ComboBox/v2/components/MultiValueLabel.js +42 -20
- package/cjs/ComboBox/v2/components/MultiValueLabel.js.map +7 -0
- package/cjs/ComboBox/v2/components/MultiValueRemove.js +52 -42
- package/cjs/ComboBox/v2/components/MultiValueRemove.js.map +7 -0
- package/cjs/ComboBox/v2/components/SelectMenu.js +58 -52
- package/cjs/ComboBox/v2/components/SelectMenu.js.map +7 -0
- package/cjs/ComboBox/v2/components/SingleValueLabel.js +46 -20
- package/cjs/ComboBox/v2/components/SingleValueLabel.js.map +7 -0
- package/cjs/ComboBox/v2/components/ValueContainer.js +52 -48
- package/cjs/ComboBox/v2/components/ValueContainer.js.map +7 -0
- package/cjs/ComboBox/v2/components/calculateWidth.js +37 -16
- package/cjs/ComboBox/v2/components/calculateWidth.js.map +7 -0
- package/cjs/ComboBox/v2/components/getoptions.js +34 -16
- package/cjs/ComboBox/v2/components/getoptions.js.map +7 -0
- package/cjs/ComboBox/v2/components/useMenuListHeight.js +42 -41
- package/cjs/ComboBox/v2/components/useMenuListHeight.js.map +7 -0
- package/cjs/ComboBox/v2/components/utils.js +35 -7
- package/cjs/ComboBox/v2/components/utils.js.map +7 -0
- package/cjs/ComboBox/v2/context.js +36 -13
- package/cjs/ComboBox/v2/context.js.map +7 -0
- package/cjs/ComboBox/v2/index.js +36 -11
- package/cjs/ComboBox/v2/index.js.map +7 -0
- package/cjs/ComboBox/v2/mockOptions.js +57 -20
- package/cjs/ComboBox/v2/mockOptions.js.map +7 -0
- package/cjs/ComboBox/v3/ComboBox.js +53 -0
- package/cjs/ComboBox/v3/ComboBox.js.map +7 -0
- package/cjs/ComboBox/v3/ComboBoxCTX.js +80 -0
- package/cjs/ComboBox/v3/ComboBoxCTX.js.map +7 -0
- package/cjs/ComboBox/v3/ComboboxDataTestids.js +45 -0
- package/cjs/ComboBox/v3/ComboboxDataTestids.js.map +7 -0
- package/cjs/ComboBox/v3/config/constants.js +42 -0
- package/cjs/ComboBox/v3/config/constants.js.map +7 -0
- package/cjs/ComboBox/v3/config/useComboBox.js +125 -0
- package/cjs/ComboBox/v3/config/useComboBox.js.map +7 -0
- package/cjs/ComboBox/v3/config/useGetPropsWithDefault.js +37 -0
- package/cjs/ComboBox/v3/config/useGetPropsWithDefault.js.map +7 -0
- package/cjs/ComboBox/v3/index.d.js +27 -0
- package/cjs/ComboBox/v3/index.d.js.map +7 -0
- package/cjs/ComboBox/v3/index.js +36 -0
- package/cjs/ComboBox/v3/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js +50 -0
- package/cjs/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js.map +7 -0
- package/cjs/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js +48 -0
- package/cjs/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js.map +7 -0
- package/cjs/ComboBox/v3/parts/a11y-messages/index.js +37 -0
- package/cjs/ComboBox/v3/parts/a11y-messages/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/a11y-messages/styled.js +41 -0
- package/cjs/ComboBox/v3/parts/a11y-messages/styled.js.map +7 -0
- package/cjs/ComboBox/v3/parts/container/Container.js +80 -0
- package/cjs/ComboBox/v3/parts/container/Container.js.map +7 -0
- package/cjs/ComboBox/v3/parts/container/index.js +35 -0
- package/cjs/ComboBox/v3/parts/container/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/container/styled.js +51 -0
- package/cjs/ComboBox/v3/parts/container/styled.js.map +7 -0
- package/cjs/ComboBox/v3/parts/controls/Controls.js +81 -0
- package/cjs/ComboBox/v3/parts/controls/Controls.js.map +7 -0
- package/cjs/ComboBox/v3/parts/controls/index.js +35 -0
- package/cjs/ComboBox/v3/parts/controls/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/controls/styled.js +101 -0
- package/cjs/ComboBox/v3/parts/controls/styled.js.map +7 -0
- package/cjs/ComboBox/v3/parts/controls-input/ControlsInput.js +73 -0
- package/cjs/ComboBox/v3/parts/controls-input/ControlsInput.js.map +7 -0
- package/cjs/ComboBox/v3/parts/controls-input/styled.js +71 -0
- package/cjs/ComboBox/v3/parts/controls-input/styled.js.map +7 -0
- package/cjs/ComboBox/v3/parts/controls-input/useControlsInput.js +91 -0
- package/cjs/ComboBox/v3/parts/controls-input/useControlsInput.js.map +7 -0
- package/cjs/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js +53 -0
- package/cjs/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js.map +7 -0
- package/cjs/ComboBox/v3/parts/dropdown-indicator/index.js +20 -0
- package/cjs/ComboBox/v3/parts/dropdown-indicator/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/dropdown-indicator/styled.js +43 -0
- package/cjs/ComboBox/v3/parts/dropdown-indicator/styled.js.map +7 -0
- package/cjs/ComboBox/v3/parts/empty-state/index.js +45 -0
- package/cjs/ComboBox/v3/parts/empty-state/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/empty-state/styled.js +40 -0
- package/cjs/ComboBox/v3/parts/empty-state/styled.js.map +7 -0
- package/cjs/ComboBox/v3/parts/header-list/HeaderList.js +120 -0
- package/cjs/ComboBox/v3/parts/header-list/HeaderList.js.map +7 -0
- package/cjs/ComboBox/v3/parts/header-list/index.js +35 -0
- package/cjs/ComboBox/v3/parts/header-list/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/header-list/styled.js +103 -0
- package/cjs/ComboBox/v3/parts/header-list/styled.js.map +7 -0
- package/cjs/ComboBox/v3/parts/header-list/useHeaderListHandlers.js +101 -0
- package/cjs/ComboBox/v3/parts/header-list/useHeaderListHandlers.js.map +7 -0
- package/cjs/ComboBox/v3/parts/menu-list/MenuList.js +85 -0
- package/cjs/ComboBox/v3/parts/menu-list/MenuList.js.map +7 -0
- package/cjs/ComboBox/v3/parts/menu-list/index.js +35 -0
- package/cjs/ComboBox/v3/parts/menu-list/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/menu-list/styled.js +50 -0
- package/cjs/ComboBox/v3/parts/menu-list/styled.js.map +7 -0
- package/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js +101 -0
- package/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js.map +7 -0
- package/cjs/ComboBox/v3/parts/menu-list/useMenuList.js +77 -0
- package/cjs/ComboBox/v3/parts/menu-list/useMenuList.js.map +7 -0
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js +68 -0
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js.map +7 -0
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/index.js +35 -0
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/styled.js +48 -0
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/styled.js.map +7 -0
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js +85 -0
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js.map +7 -0
- package/cjs/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js +48 -0
- package/cjs/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js.map +7 -0
- package/cjs/ComboBox/v3/parts/single-selected-value-container/index.js +35 -0
- package/cjs/ComboBox/v3/parts/single-selected-value-container/index.js.map +7 -0
- package/cjs/ComboBox/v3/parts/single-selected-value-container/styled.js +40 -0
- package/cjs/ComboBox/v3/parts/single-selected-value-container/styled.js.map +7 -0
- package/cjs/ComboBox/v3/propTypes.js +52 -0
- package/cjs/ComboBox/v3/propTypes.js.map +7 -0
- package/cjs/ComboBox/v3/tests/utils.js +90 -0
- package/cjs/ComboBox/v3/tests/utils.js.map +7 -0
- package/cjs/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +163 -0
- package/cjs/ComboBox/v3/utils/hooks/useKeyboardNavigation.js.map +7 -0
- package/cjs/ComboBox/v3/utils/hooks/useOnElementResize.js +56 -0
- package/cjs/ComboBox/v3/utils/hooks/useOnElementResize.js.map +7 -0
- package/cjs/ComboBox/v3/utils/listHelper.js +58 -0
- package/cjs/ComboBox/v3/utils/listHelper.js.map +7 -0
- package/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js +109 -82
- package/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +7 -0
- package/cjs/ComboBoxFreeSolo/components/MultiValueLabel.js +64 -43
- package/cjs/ComboBoxFreeSolo/components/MultiValueLabel.js.map +7 -0
- package/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js +53 -42
- package/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js.map +7 -0
- package/cjs/ComboBoxFreeSolo/components/SingleValue.js +44 -35
- package/cjs/ComboBoxFreeSolo/components/SingleValue.js.map +7 -0
- package/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js +66 -58
- package/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js.map +7 -0
- package/cjs/ComboBoxFreeSolo/index.js +28 -7
- package/cjs/ComboBoxFreeSolo/index.js.map +7 -0
- package/cjs/DateInput/DSDateInput.js +97 -100
- package/cjs/DateInput/DSDateInput.js.map +7 -0
- package/cjs/DateInput/components/DateInputImpl.js +99 -70
- package/cjs/DateInput/components/DateInputImpl.js.map +7 -0
- package/cjs/DateInput/components/DateInputs.js +231 -314
- package/cjs/DateInput/components/DateInputs.js.map +7 -0
- package/cjs/DateInput/components/utils.js +130 -147
- package/cjs/DateInput/components/utils.js.map +7 -0
- package/cjs/DateInput/defaultProps.js +37 -10
- package/cjs/DateInput/defaultProps.js.map +7 -0
- package/cjs/DateInput/index.js +28 -12
- package/cjs/DateInput/index.js.map +7 -0
- package/cjs/DateInput/props.js +54 -83
- package/cjs/DateInput/props.js.map +7 -0
- package/cjs/DateInputV2/components/DSDateInput.js +76 -60
- package/cjs/DateInputV2/components/DSDateInput.js.map +7 -0
- package/cjs/DateInputV2/components/DateInputs.js +117 -134
- package/cjs/DateInputV2/components/DateInputs.js.map +7 -0
- package/cjs/DateInputV2/components/helpers.js +90 -65
- package/cjs/DateInputV2/components/helpers.js.map +7 -0
- package/cjs/DateInputV2/components/props.js +57 -66
- package/cjs/DateInputV2/components/props.js.map +7 -0
- package/cjs/DateInputV2/components/propsTypes.js +54 -30
- package/cjs/DateInputV2/components/propsTypes.js.map +7 -0
- package/cjs/DateInputV2/components/styled.js +97 -43
- package/cjs/DateInputV2/components/styled.js.map +7 -0
- package/cjs/DateInputV2/components/utils.js +165 -189
- package/cjs/DateInputV2/components/utils.js.map +7 -0
- package/cjs/DateInputV2/index.js +36 -13
- package/cjs/DateInputV2/index.js.map +7 -0
- package/cjs/ExpandableInput/DSExpandableInput.js +61 -38
- package/cjs/ExpandableInput/DSExpandableInput.js.map +7 -0
- package/cjs/ExpandableInput/ExpandableInputImpl.js +65 -78
- package/cjs/ExpandableInput/ExpandableInputImpl.js.map +7 -0
- package/cjs/ExpandableInput/index.js +28 -7
- package/cjs/ExpandableInput/index.js.map +7 -0
- package/cjs/FloatingLabelInput/DSFloatingLabelInput.js +83 -136
- package/cjs/FloatingLabelInput/DSFloatingLabelInput.js.map +7 -0
- package/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +91 -112
- package/cjs/FloatingLabelInput/FloatingLabelInputImpl.js.map +7 -0
- package/cjs/FloatingLabelInput/getSvgPath.js +50 -25
- package/cjs/FloatingLabelInput/getSvgPath.js.map +7 -0
- package/cjs/FloatingLabelInput/index.js +28 -7
- package/cjs/FloatingLabelInput/index.js.map +7 -0
- package/cjs/FormItem/DSFormItemLayout.js +153 -170
- package/cjs/FormItem/DSFormItemLayout.js.map +7 -0
- package/cjs/FormItem/Error/DSError.js +48 -30
- package/cjs/FormItem/Error/DSError.js.map +7 -0
- package/cjs/FormItem/Feedback.js +45 -23
- package/cjs/FormItem/Feedback.js.map +7 -0
- package/cjs/FormItem/Label/DSLabel.js +69 -36
- package/cjs/FormItem/Label/DSLabel.js.map +7 -0
- package/cjs/FormItem/Suffix/Suffix.js +60 -29
- package/cjs/FormItem/Suffix/Suffix.js.map +7 -0
- package/cjs/FormItem/ValidationFieldWrapper.js +61 -83
- package/cjs/FormItem/ValidationFieldWrapper.js.map +7 -0
- package/cjs/FormItem/defaultProps.js +56 -24
- package/cjs/FormItem/defaultProps.js.map +7 -0
- package/cjs/FormItem/index.js +41 -15
- package/cjs/FormItem/index.js.map +7 -0
- package/cjs/FormItem/props.js +85 -126
- package/cjs/FormItem/props.js.map +7 -0
- package/cjs/FormItem/variants.js +41 -13
- package/cjs/FormItem/variants.js.map +7 -0
- package/cjs/Input/DSInput.js +97 -90
- package/cjs/Input/DSInput.js.map +7 -0
- package/cjs/Input/InputAddonWrapper.js +64 -81
- package/cjs/Input/InputAddonWrapper.js.map +7 -0
- package/cjs/Input/InputImpl.js +176 -261
- package/cjs/Input/InputImpl.js.map +7 -0
- package/cjs/Input/index.js +28 -11
- package/cjs/Input/index.js.map +7 -0
- package/cjs/InputGroup/AddonWrapper.js +47 -36
- package/cjs/InputGroup/AddonWrapper.js.map +7 -0
- package/cjs/InputGroup/DSInputGroup.js +61 -38
- package/cjs/InputGroup/DSInputGroup.js.map +7 -0
- package/cjs/InputGroup/defaultProps.js +35 -7
- package/cjs/InputGroup/defaultProps.js.map +7 -0
- package/cjs/InputGroup/index.js +37 -10
- package/cjs/InputGroup/index.js.map +7 -0
- package/cjs/InputGroup/props.js +45 -38
- package/cjs/InputGroup/props.js.map +7 -0
- package/cjs/InputMask/DSInputMask.js +91 -95
- package/cjs/InputMask/DSInputMask.js.map +7 -0
- package/cjs/InputMask/DSInputMaskDeprecated.js +164 -231
- package/cjs/InputMask/DSInputMaskDeprecated.js.map +7 -0
- package/cjs/InputMask/InputMaskContext.js +39 -21
- package/cjs/InputMask/InputMaskContext.js.map +7 -0
- package/cjs/InputMask/MaskPipes.js +37 -10
- package/cjs/InputMask/MaskPipes.js.map +7 -0
- package/cjs/InputMask/MaskTypes.js +76 -42
- package/cjs/InputMask/MaskTypes.js.map +7 -0
- package/cjs/InputMask/README.md +0 -0
- package/cjs/InputMask/addons/AutoCorrectedDatePipe.js +47 -40
- package/cjs/InputMask/addons/AutoCorrectedDatePipe.js.map +7 -0
- package/cjs/InputMask/defaultProps.js +41 -14
- package/cjs/InputMask/defaultProps.js.map +7 -0
- package/cjs/InputMask/index.js +28 -15
- package/cjs/InputMask/index.js.map +7 -0
- package/cjs/InputMask/mask_types/DateInputMask.js +169 -145
- package/cjs/InputMask/mask_types/DateInputMask.js.map +7 -0
- package/cjs/InputMask/mask_types/DateTimeInputMask.js +175 -150
- package/cjs/InputMask/mask_types/DateTimeInputMask.js.map +7 -0
- package/cjs/InputMask/mask_types/DictionaryInputMask.js +160 -136
- package/cjs/InputMask/mask_types/DictionaryInputMask.js.map +7 -0
- package/cjs/InputMask/mask_types/NumberInputMask.js +221 -187
- package/cjs/InputMask/mask_types/NumberInputMask.js.map +7 -0
- package/cjs/InputMask/mask_types/PhoneInputMask.js +172 -148
- package/cjs/InputMask/mask_types/PhoneInputMask.js.map +7 -0
- package/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +172 -148
- package/cjs/InputMask/mask_types/PhoneInternationalInputMask.js.map +7 -0
- package/cjs/InputMask/mask_types/SsnInputMask.js +169 -145
- package/cjs/InputMask/mask_types/SsnInputMask.js.map +7 -0
- package/cjs/InputMask/mask_types/UsZipCodeInputMask.js +155 -130
- package/cjs/InputMask/mask_types/UsZipCodeInputMask.js.map +7 -0
- package/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +166 -145
- package/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js.map +7 -0
- package/cjs/InputMask/mask_types/index.js +128 -119
- package/cjs/InputMask/mask_types/index.js.map +7 -0
- package/cjs/InputMask/props.js +73 -148
- package/cjs/InputMask/props.js.map +7 -0
- package/cjs/InputMask/types/index.js +27 -2
- package/cjs/InputMask/types/index.js.map +7 -0
- package/cjs/InputMask/utils/setCaretPosition.js +45 -14
- package/cjs/InputMask/utils/setCaretPosition.js.map +7 -0
- package/cjs/InputProtected/DSInputProtected.js +90 -86
- package/cjs/InputProtected/DSInputProtected.js.map +7 -0
- package/cjs/InputProtected/defaultProps.js +37 -10
- package/cjs/InputProtected/defaultProps.js.map +7 -0
- package/cjs/InputProtected/index.js +29 -14
- package/cjs/InputProtected/index.js.map +7 -0
- package/cjs/InputProtected/options.js +39 -11
- package/cjs/InputProtected/options.js.map +7 -0
- package/cjs/InputProtected/props.js +54 -22
- package/cjs/InputProtected/props.js.map +7 -0
- package/cjs/LargeInputText/DSLargeInputText.js +119 -122
- package/cjs/LargeInputText/DSLargeInputText.js.map +7 -0
- package/cjs/LargeInputText/defaultProps.js +44 -16
- package/cjs/LargeInputText/defaultProps.js.map +7 -0
- package/cjs/LargeInputText/index.js +37 -10
- package/cjs/LargeInputText/index.js.map +7 -0
- package/cjs/LargeInputText/props.js +62 -126
- package/cjs/LargeInputText/props.js.map +7 -0
- package/cjs/MenuItem/components/MenuItem/index.js +58 -50
- package/cjs/MenuItem/components/MenuItem/index.js.map +7 -0
- package/cjs/MenuItem/components/MenuItem/styled.js +43 -15
- package/cjs/MenuItem/components/MenuItem/styled.js.map +7 -0
- package/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js +68 -48
- package/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js.map +7 -0
- package/cjs/MenuItem/components/MultiMenuItem/styled.js +42 -15
- package/cjs/MenuItem/components/MultiMenuItem/styled.js.map +7 -0
- package/cjs/MenuItem/components/Section/index.js +50 -36
- package/cjs/MenuItem/components/Section/index.js.map +7 -0
- package/cjs/MenuItem/components/Section/props.js +38 -11
- package/cjs/MenuItem/components/Section/props.js.map +7 -0
- package/cjs/MenuItem/components/Section/styled.js +51 -20
- package/cjs/MenuItem/components/Section/styled.js.map +7 -0
- package/cjs/MenuItem/components/Separator/index.js +41 -27
- package/cjs/MenuItem/components/Separator/index.js.map +7 -0
- package/cjs/MenuItem/components/Separator/styled.js +50 -20
- package/cjs/MenuItem/components/Separator/styled.js.map +7 -0
- package/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js +67 -48
- package/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js.map +7 -0
- package/cjs/MenuItem/components/SubmenuItem/index.js +94 -95
- package/cjs/MenuItem/components/SubmenuItem/index.js.map +7 -0
- package/cjs/MenuItem/components/SubmenuItem/styled.js +48 -20
- package/cjs/MenuItem/components/SubmenuItem/styled.js.map +7 -0
- package/cjs/MenuItem/components/index.js +33 -22
- package/cjs/MenuItem/components/index.js.map +7 -0
- package/cjs/MenuItem/components/styled.js +95 -35
- package/cjs/MenuItem/components/styled.js.map +7 -0
- package/cjs/MenuItem/index.js +28 -22
- package/cjs/MenuItem/index.js.map +7 -0
- package/cjs/MenuItem/props.js +45 -18
- package/cjs/MenuItem/props.js.map +7 -0
- package/cjs/Radio/Circle.js +45 -24
- package/cjs/Radio/Circle.js.map +7 -0
- package/cjs/Radio/DSRadio.js +125 -171
- package/cjs/Radio/DSRadio.js.map +7 -0
- package/cjs/Radio/index.js +28 -10
- package/cjs/Radio/index.js.map +7 -0
- package/cjs/RadioGroup/DSRadioGroup.js +100 -95
- package/cjs/RadioGroup/DSRadioGroup.js.map +7 -0
- package/cjs/RadioGroup/defaultProps.js +37 -9
- package/cjs/RadioGroup/defaultProps.js.map +7 -0
- package/cjs/RadioGroup/index.js +28 -7
- package/cjs/RadioGroup/index.js.map +7 -0
- package/cjs/RadioGroup/props.js +50 -41
- package/cjs/RadioGroup/props.js.map +7 -0
- package/cjs/RequiredMark/RequiredMark.js +49 -30
- package/cjs/RequiredMark/RequiredMark.js.map +7 -0
- package/cjs/RequiredMark/index.js +28 -7
- package/cjs/RequiredMark/index.js.map +7 -0
- package/cjs/SearchBox/DSSearchBox.js +103 -86
- package/cjs/SearchBox/DSSearchBox.js.map +7 -0
- package/cjs/SearchBox/NavSearchBox.js +155 -152
- package/cjs/SearchBox/NavSearchBox.js.map +7 -0
- package/cjs/SearchBox/SButton.js +76 -33
- package/cjs/SearchBox/SButton.js.map +7 -0
- package/cjs/SearchBox/SearchBoxToggle.js +65 -56
- package/cjs/SearchBox/SearchBoxToggle.js.map +7 -0
- package/cjs/SearchBox/defaultProps.js +41 -13
- package/cjs/SearchBox/defaultProps.js.map +7 -0
- package/cjs/SearchBox/index.js +43 -15
- package/cjs/SearchBox/index.js.map +7 -0
- package/cjs/SearchBox/props.js +65 -94
- package/cjs/SearchBox/props.js.map +7 -0
- package/cjs/SearchBox/styled.js +39 -16
- package/cjs/SearchBox/styled.js.map +7 -0
- package/cjs/SearchBox/useSearch.js +54 -52
- package/cjs/SearchBox/useSearch.js.map +7 -0
- package/cjs/SearchBox/withSearchable.js +77 -103
- package/cjs/SearchBox/withSearchable.js.map +7 -0
- package/cjs/TextBox/DSTextBox.js +111 -176
- package/cjs/TextBox/DSTextBox.js.map +7 -0
- package/cjs/TextBox/index.js +37 -10
- package/cjs/TextBox/index.js.map +7 -0
- package/cjs/TimeInput/DSTimeInput.js +88 -122
- package/cjs/TimeInput/DSTimeInput.js.map +7 -0
- package/cjs/TimeInput/TimeInputImpl.js +85 -60
- package/cjs/TimeInput/TimeInputImpl.js.map +7 -0
- package/cjs/TimeInput/TimeInputs.js +250 -283
- package/cjs/TimeInput/TimeInputs.js.map +7 -0
- package/cjs/TimeInput/index.js +28 -12
- package/cjs/TimeInput/index.js.map +7 -0
- package/cjs/TimeInput/utils.js +98 -85
- package/cjs/TimeInput/utils.js.map +7 -0
- package/cjs/Toggle/DSToggle.js +82 -118
- package/cjs/Toggle/DSToggle.js.map +7 -0
- package/cjs/Toggle/DSToggleImpl.js +111 -183
- package/cjs/Toggle/DSToggleImpl.js.map +7 -0
- package/cjs/Toggle/DSToggleRender.js +110 -99
- package/cjs/Toggle/DSToggleRender.js.map +7 -0
- package/cjs/Toggle/index.js +37 -10
- package/cjs/Toggle/index.js.map +7 -0
- package/cjs/Toggle/props.js +47 -67
- package/cjs/Toggle/props.js.map +7 -0
- package/cjs/Toggle/toggleHelper.js +55 -38
- package/cjs/Toggle/toggleHelper.js.map +7 -0
- package/cjs/index.js +49 -120
- package/cjs/index.js.map +7 -0
- package/esm/Checkbox/DSCheckbox.js +112 -134
- package/esm/Checkbox/DSCheckbox.js.map +7 -0
- package/esm/Checkbox/defaultProps.js +7 -5
- package/esm/Checkbox/defaultProps.js.map +7 -0
- package/esm/Checkbox/elements/CheckMark.js +9 -7
- package/esm/Checkbox/elements/CheckMark.js.map +7 -0
- package/esm/Checkbox/index.js +3 -2
- package/esm/Checkbox/index.js.map +7 -0
- package/esm/Checkbox/props.js +22 -17
- package/esm/Checkbox/props.js.map +7 -0
- package/esm/CheckboxGroup/DSCheckboxGroup.js +72 -80
- package/esm/CheckboxGroup/DSCheckboxGroup.js.map +7 -0
- package/esm/CheckboxGroup/defaultProps.js +8 -5
- package/esm/CheckboxGroup/defaultProps.js.map +7 -0
- package/esm/CheckboxGroup/index.js +3 -1
- package/esm/CheckboxGroup/index.js.map +7 -0
- package/esm/CheckboxGroup/props.js +18 -35
- package/esm/CheckboxGroup/props.js.map +7 -0
- package/esm/ComboBox/DSComboBox.js +9 -4
- package/esm/ComboBox/DSComboBox.js.map +7 -0
- package/esm/ComboBox/index.js +12 -4
- package/esm/ComboBox/index.js.map +7 -0
- package/esm/ComboBox/v1/DSComboBox.js +239 -245
- package/esm/ComboBox/v1/DSComboBox.js.map +7 -0
- package/esm/ComboBox/v1/components/AllOption.js +13 -28
- package/esm/ComboBox/v1/components/AllOption.js.map +7 -0
- package/esm/ComboBox/v1/components/ClearIndicator.js +30 -34
- package/esm/ComboBox/v1/components/ClearIndicator.js.map +7 -0
- package/esm/ComboBox/v1/components/Control.js +15 -27
- package/esm/ComboBox/v1/components/Control.js.map +7 -0
- package/esm/ComboBox/v1/components/CustomOption.js +25 -39
- package/esm/ComboBox/v1/components/CustomOption.js.map +7 -0
- package/esm/ComboBox/v1/components/CustomOptionMulti.js +26 -42
- package/esm/ComboBox/v1/components/CustomOptionMulti.js.map +7 -0
- package/esm/ComboBox/v1/components/DropdownIndicator.js +35 -51
- package/esm/ComboBox/v1/components/DropdownIndicator.js.map +7 -0
- package/esm/ComboBox/v1/components/MenuList.js +39 -61
- package/esm/ComboBox/v1/components/MenuList.js.map +7 -0
- package/esm/ComboBox/v1/components/MultiSelectHeader.js +12 -12
- package/esm/ComboBox/v1/components/MultiSelectHeader.js.map +7 -0
- package/esm/ComboBox/v1/components/MultiValueLabel.js +13 -13
- package/esm/ComboBox/v1/components/MultiValueLabel.js.map +7 -0
- package/esm/ComboBox/v1/components/MultiValueRemove.js +17 -26
- package/esm/ComboBox/v1/components/MultiValueRemove.js.map +7 -0
- package/esm/ComboBox/v1/components/SelectMenu.js +41 -59
- package/esm/ComboBox/v1/components/SelectMenu.js.map +7 -0
- package/esm/ComboBox/v1/components/SingleValueLabel.js +17 -13
- package/esm/ComboBox/v1/components/SingleValueLabel.js.map +7 -0
- package/esm/ComboBox/v1/components/ValueContainer.js +14 -29
- package/esm/ComboBox/v1/components/ValueContainer.js.map +7 -0
- package/esm/ComboBox/v1/components/calculateWidth.js +7 -9
- package/esm/ComboBox/v1/components/calculateWidth.js.map +7 -0
- package/esm/ComboBox/v1/components/getoptions.js +5 -12
- package/esm/ComboBox/v1/components/getoptions.js.map +7 -0
- package/esm/ComboBox/v1/index.js +7 -3
- package/esm/ComboBox/v1/index.js.map +7 -0
- package/esm/ComboBox/v1/withSelectStringValueConverter.js +26 -54
- package/esm/ComboBox/v1/withSelectStringValueConverter.js.map +7 -0
- package/esm/ComboBox/v2/Combobox.js +286 -343
- package/esm/ComboBox/v2/Combobox.js.map +7 -0
- package/esm/ComboBox/v2/components/AllOption.js +13 -28
- package/esm/ComboBox/v2/components/AllOption.js.map +7 -0
- package/esm/ComboBox/v2/components/ClearIndicator.js +41 -56
- package/esm/ComboBox/v2/components/ClearIndicator.js.map +7 -0
- package/esm/ComboBox/v2/components/Content.js +20 -33
- package/esm/ComboBox/v2/components/Content.js.map +7 -0
- package/esm/ComboBox/v2/components/Control.js +15 -27
- package/esm/ComboBox/v2/components/Control.js.map +7 -0
- package/esm/ComboBox/v2/components/CustomOption.js +45 -76
- package/esm/ComboBox/v2/components/CustomOption.js.map +7 -0
- package/esm/ComboBox/v2/components/CustomOptionMulti.js +35 -57
- package/esm/ComboBox/v2/components/CustomOptionMulti.js.map +7 -0
- package/esm/ComboBox/v2/components/DropdownIndicator.js +47 -71
- package/esm/ComboBox/v2/components/DropdownIndicator.js.map +7 -0
- package/esm/ComboBox/v2/components/GroupHeading.js +27 -35
- package/esm/ComboBox/v2/components/GroupHeading.js.map +7 -0
- package/esm/ComboBox/v2/components/IndicatorSeparator.js +10 -19
- package/esm/ComboBox/v2/components/IndicatorSeparator.js.map +7 -0
- package/esm/ComboBox/v2/components/LoadingIndicator.js +18 -15
- package/esm/ComboBox/v2/components/LoadingIndicator.js.map +7 -0
- package/esm/ComboBox/v2/components/MenuList.js +57 -82
- package/esm/ComboBox/v2/components/MenuList.js.map +7 -0
- package/esm/ComboBox/v2/components/MultiSelectHeader.js +57 -49
- package/esm/ComboBox/v2/components/MultiSelectHeader.js.map +7 -0
- package/esm/ComboBox/v2/components/MultiValueLabel.js +13 -13
- package/esm/ComboBox/v2/components/MultiValueLabel.js.map +7 -0
- package/esm/ComboBox/v2/components/MultiValueRemove.js +23 -35
- package/esm/ComboBox/v2/components/MultiValueRemove.js.map +7 -0
- package/esm/ComboBox/v2/components/SelectMenu.js +28 -43
- package/esm/ComboBox/v2/components/SelectMenu.js.map +7 -0
- package/esm/ComboBox/v2/components/SingleValueLabel.js +17 -13
- package/esm/ComboBox/v2/components/SingleValueLabel.js.map +7 -0
- package/esm/ComboBox/v2/components/ValueContainer.js +20 -35
- package/esm/ComboBox/v2/components/ValueContainer.js.map +7 -0
- package/esm/ComboBox/v2/components/calculateWidth.js +8 -12
- package/esm/ComboBox/v2/components/calculateWidth.js.map +7 -0
- package/esm/ComboBox/v2/components/getoptions.js +5 -12
- package/esm/ComboBox/v2/components/getoptions.js.map +7 -0
- package/esm/ComboBox/v2/components/useMenuListHeight.js +13 -37
- package/esm/ComboBox/v2/components/useMenuListHeight.js.map +7 -0
- package/esm/ComboBox/v2/components/utils.js +6 -3
- package/esm/ComboBox/v2/components/utils.js.map +7 -0
- package/esm/ComboBox/v2/context.js +7 -5
- package/esm/ComboBox/v2/context.js.map +7 -0
- package/esm/ComboBox/v2/index.js +7 -1
- package/esm/ComboBox/v2/index.js.map +7 -0
- package/esm/ComboBox/v2/mockOptions.js +28 -18
- package/esm/ComboBox/v2/mockOptions.js.map +7 -0
- package/esm/ComboBox/v3/ComboBox.js +24 -0
- package/esm/ComboBox/v3/ComboBox.js.map +7 -0
- package/esm/ComboBox/v3/ComboBoxCTX.js +51 -0
- package/esm/ComboBox/v3/ComboBoxCTX.js.map +7 -0
- package/esm/ComboBox/v3/ComboboxDataTestids.js +16 -0
- package/esm/ComboBox/v3/ComboboxDataTestids.js.map +7 -0
- package/esm/ComboBox/v3/config/constants.js +13 -0
- package/esm/ComboBox/v3/config/constants.js.map +7 -0
- package/esm/ComboBox/v3/config/useComboBox.js +96 -0
- package/esm/ComboBox/v3/config/useComboBox.js.map +7 -0
- package/esm/ComboBox/v3/config/useGetPropsWithDefault.js +8 -0
- package/esm/ComboBox/v3/config/useGetPropsWithDefault.js.map +7 -0
- package/esm/ComboBox/v3/index.d.js +2 -0
- package/esm/ComboBox/v3/index.d.js.map +7 -0
- package/esm/ComboBox/v3/index.js +7 -0
- package/esm/ComboBox/v3/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js +21 -0
- package/esm/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js.map +7 -0
- package/esm/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js +19 -0
- package/esm/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js.map +7 -0
- package/esm/ComboBox/v3/parts/a11y-messages/index.js +8 -0
- package/esm/ComboBox/v3/parts/a11y-messages/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/a11y-messages/styled.js +12 -0
- package/esm/ComboBox/v3/parts/a11y-messages/styled.js.map +7 -0
- package/esm/ComboBox/v3/parts/container/Container.js +51 -0
- package/esm/ComboBox/v3/parts/container/Container.js.map +7 -0
- package/esm/ComboBox/v3/parts/container/index.js +6 -0
- package/esm/ComboBox/v3/parts/container/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/container/styled.js +22 -0
- package/esm/ComboBox/v3/parts/container/styled.js.map +7 -0
- package/esm/ComboBox/v3/parts/controls/Controls.js +57 -0
- package/esm/ComboBox/v3/parts/controls/Controls.js.map +7 -0
- package/esm/ComboBox/v3/parts/controls/index.js +6 -0
- package/esm/ComboBox/v3/parts/controls/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/controls/styled.js +72 -0
- package/esm/ComboBox/v3/parts/controls/styled.js.map +7 -0
- package/esm/ComboBox/v3/parts/controls-input/ControlsInput.js +44 -0
- package/esm/ComboBox/v3/parts/controls-input/ControlsInput.js.map +7 -0
- package/esm/ComboBox/v3/parts/controls-input/styled.js +42 -0
- package/esm/ComboBox/v3/parts/controls-input/styled.js.map +7 -0
- package/esm/ComboBox/v3/parts/controls-input/useControlsInput.js +62 -0
- package/esm/ComboBox/v3/parts/controls-input/useControlsInput.js.map +7 -0
- package/esm/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js +24 -0
- package/esm/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js.map +7 -0
- package/esm/ComboBox/v3/parts/dropdown-indicator/index.js +2 -0
- package/esm/ComboBox/v3/parts/dropdown-indicator/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/dropdown-indicator/styled.js +14 -0
- package/esm/ComboBox/v3/parts/dropdown-indicator/styled.js.map +7 -0
- package/esm/ComboBox/v3/parts/empty-state/index.js +16 -0
- package/esm/ComboBox/v3/parts/empty-state/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/empty-state/styled.js +11 -0
- package/esm/ComboBox/v3/parts/empty-state/styled.js.map +7 -0
- package/esm/ComboBox/v3/parts/header-list/HeaderList.js +99 -0
- package/esm/ComboBox/v3/parts/header-list/HeaderList.js.map +7 -0
- package/esm/ComboBox/v3/parts/header-list/index.js +6 -0
- package/esm/ComboBox/v3/parts/header-list/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/header-list/styled.js +74 -0
- package/esm/ComboBox/v3/parts/header-list/styled.js.map +7 -0
- package/esm/ComboBox/v3/parts/header-list/useHeaderListHandlers.js +72 -0
- package/esm/ComboBox/v3/parts/header-list/useHeaderListHandlers.js.map +7 -0
- package/esm/ComboBox/v3/parts/menu-list/MenuList.js +56 -0
- package/esm/ComboBox/v3/parts/menu-list/MenuList.js.map +7 -0
- package/esm/ComboBox/v3/parts/menu-list/index.js +6 -0
- package/esm/ComboBox/v3/parts/menu-list/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/menu-list/styled.js +21 -0
- package/esm/ComboBox/v3/parts/menu-list/styled.js.map +7 -0
- package/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js +72 -0
- package/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js.map +7 -0
- package/esm/ComboBox/v3/parts/menu-list/useMenuList.js +48 -0
- package/esm/ComboBox/v3/parts/menu-list/useMenuList.js.map +7 -0
- package/esm/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js +39 -0
- package/esm/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js.map +7 -0
- package/esm/ComboBox/v3/parts/multi-selected-values-container/index.js +6 -0
- package/esm/ComboBox/v3/parts/multi-selected-values-container/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/multi-selected-values-container/styled.js +19 -0
- package/esm/ComboBox/v3/parts/multi-selected-values-container/styled.js.map +7 -0
- package/esm/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js +56 -0
- package/esm/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js.map +7 -0
- package/esm/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js +19 -0
- package/esm/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js.map +7 -0
- package/esm/ComboBox/v3/parts/single-selected-value-container/index.js +6 -0
- package/esm/ComboBox/v3/parts/single-selected-value-container/index.js.map +7 -0
- package/esm/ComboBox/v3/parts/single-selected-value-container/styled.js +11 -0
- package/esm/ComboBox/v3/parts/single-selected-value-container/styled.js.map +7 -0
- package/esm/ComboBox/v3/propTypes.js +23 -0
- package/esm/ComboBox/v3/propTypes.js.map +7 -0
- package/esm/ComboBox/v3/tests/utils.js +61 -0
- package/esm/ComboBox/v3/tests/utils.js.map +7 -0
- package/esm/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +134 -0
- package/esm/ComboBox/v3/utils/hooks/useKeyboardNavigation.js.map +7 -0
- package/esm/ComboBox/v3/utils/hooks/useOnElementResize.js +27 -0
- package/esm/ComboBox/v3/utils/hooks/useOnElementResize.js.map +7 -0
- package/esm/ComboBox/v3/utils/listHelper.js +29 -0
- package/esm/ComboBox/v3/utils/listHelper.js.map +7 -0
- package/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +75 -70
- package/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +7 -0
- package/esm/ComboBoxFreeSolo/components/MultiValueLabel.js +36 -35
- package/esm/ComboBoxFreeSolo/components/MultiValueLabel.js.map +7 -0
- package/esm/ComboBoxFreeSolo/components/MultiValueRemove.js +24 -32
- package/esm/ComboBoxFreeSolo/components/MultiValueRemove.js.map +7 -0
- package/esm/ComboBoxFreeSolo/components/SingleValue.js +15 -26
- package/esm/ComboBoxFreeSolo/components/SingleValue.js.map +7 -0
- package/esm/ComboBoxFreeSolo/components/SingleValueRemove.js +37 -47
- package/esm/ComboBoxFreeSolo/components/SingleValueRemove.js.map +7 -0
- package/esm/ComboBoxFreeSolo/index.js +3 -1
- package/esm/ComboBoxFreeSolo/index.js.map +7 -0
- package/esm/DateInput/DSDateInput.js +61 -82
- package/esm/DateInput/DSDateInput.js.map +7 -0
- package/esm/DateInput/components/DateInputImpl.js +68 -61
- package/esm/DateInput/components/DateInputImpl.js.map +7 -0
- package/esm/DateInput/components/DateInputs.js +197 -285
- package/esm/DateInput/components/DateInputs.js.map +7 -0
- package/esm/DateInput/components/utils.js +98 -118
- package/esm/DateInput/components/utils.js.map +7 -0
- package/esm/DateInput/defaultProps.js +8 -6
- package/esm/DateInput/defaultProps.js.map +7 -0
- package/esm/DateInput/index.js +3 -2
- package/esm/DateInput/index.js.map +7 -0
- package/esm/DateInput/props.js +25 -79
- package/esm/DateInput/props.js.map +7 -0
- package/esm/DateInputV2/components/DSDateInput.js +44 -48
- package/esm/DateInputV2/components/DSDateInput.js.map +7 -0
- package/esm/DateInputV2/components/DateInputs.js +84 -110
- package/esm/DateInputV2/components/DateInputs.js.map +7 -0
- package/esm/DateInputV2/components/helpers.js +60 -60
- package/esm/DateInputV2/components/helpers.js.map +7 -0
- package/esm/DateInputV2/components/props.js +22 -55
- package/esm/DateInputV2/components/props.js.map +7 -0
- package/esm/DateInputV2/components/propsTypes.js +10 -7
- package/esm/DateInputV2/components/propsTypes.js.map +7 -0
- package/esm/DateInputV2/components/styled.js +68 -32
- package/esm/DateInputV2/components/styled.js.map +7 -0
- package/esm/DateInputV2/components/utils.js +132 -157
- package/esm/DateInputV2/components/utils.js.map +7 -0
- package/esm/DateInputV2/index.js +7 -2
- package/esm/DateInputV2/index.js.map +7 -0
- package/esm/ExpandableInput/DSExpandableInput.js +32 -32
- package/esm/ExpandableInput/DSExpandableInput.js.map +7 -0
- package/esm/ExpandableInput/ExpandableInputImpl.js +37 -71
- package/esm/ExpandableInput/ExpandableInputImpl.js.map +7 -0
- package/esm/ExpandableInput/index.js +3 -1
- package/esm/ExpandableInput/index.js.map +7 -0
- package/esm/FloatingLabelInput/DSFloatingLabelInput.js +54 -130
- package/esm/FloatingLabelInput/DSFloatingLabelInput.js.map +7 -0
- package/esm/FloatingLabelInput/FloatingLabelInputImpl.js +59 -100
- package/esm/FloatingLabelInput/FloatingLabelInputImpl.js.map +7 -0
- package/esm/FloatingLabelInput/getSvgPath.js +21 -23
- package/esm/FloatingLabelInput/getSvgPath.js.map +7 -0
- package/esm/FloatingLabelInput/index.js +3 -1
- package/esm/FloatingLabelInput/index.js.map +7 -0
- package/esm/FormItem/DSFormItemLayout.js +123 -155
- package/esm/FormItem/DSFormItemLayout.js.map +7 -0
- package/esm/FormItem/Error/DSError.js +18 -20
- package/esm/FormItem/Error/DSError.js.map +7 -0
- package/esm/FormItem/Feedback.js +16 -17
- package/esm/FormItem/Feedback.js.map +7 -0
- package/esm/FormItem/Label/DSLabel.js +40 -29
- package/esm/FormItem/Label/DSLabel.js.map +7 -0
- package/esm/FormItem/Suffix/Suffix.js +31 -18
- package/esm/FormItem/Suffix/Suffix.js.map +7 -0
- package/esm/FormItem/ValidationFieldWrapper.js +31 -76
- package/esm/FormItem/ValidationFieldWrapper.js.map +7 -0
- package/esm/FormItem/defaultProps.js +23 -16
- package/esm/FormItem/defaultProps.js.map +7 -0
- package/esm/FormItem/index.js +18 -3
- package/esm/FormItem/index.js.map +7 -0
- package/esm/FormItem/props.js +56 -122
- package/esm/FormItem/props.js.map +7 -0
- package/esm/FormItem/variants.js +11 -8
- package/esm/FormItem/variants.js.map +7 -0
- package/esm/Input/DSInput.js +68 -80
- package/esm/Input/DSInput.js.map +7 -0
- package/esm/Input/InputAddonWrapper.js +36 -75
- package/esm/Input/InputAddonWrapper.js.map +7 -0
- package/esm/Input/InputImpl.js +114 -216
- package/esm/Input/InputImpl.js.map +7 -0
- package/esm/Input/index.js +3 -2
- package/esm/Input/index.js.map +7 -0
- package/esm/InputGroup/AddonWrapper.js +17 -28
- package/esm/InputGroup/AddonWrapper.js.map +7 -0
- package/esm/InputGroup/DSInputGroup.js +30 -31
- package/esm/InputGroup/DSInputGroup.js.map +7 -0
- package/esm/InputGroup/defaultProps.js +6 -3
- package/esm/InputGroup/defaultProps.js.map +7 -0
- package/esm/InputGroup/index.js +8 -1
- package/esm/InputGroup/index.js.map +7 -0
- package/esm/InputGroup/props.js +16 -34
- package/esm/InputGroup/props.js.map +7 -0
- package/esm/InputMask/DSInputMask.js +55 -76
- package/esm/InputMask/DSInputMask.js.map +7 -0
- package/esm/InputMask/DSInputMaskDeprecated.js +132 -220
- package/esm/InputMask/DSInputMaskDeprecated.js.map +7 -0
- package/esm/InputMask/InputMaskContext.js +10 -13
- package/esm/InputMask/InputMaskContext.js.map +7 -0
- package/esm/InputMask/MaskPipes.js +7 -4
- package/esm/InputMask/MaskPipes.js.map +7 -0
- package/esm/InputMask/MaskTypes.js +47 -33
- package/esm/InputMask/MaskTypes.js.map +7 -0
- package/esm/InputMask/README.md +0 -0
- package/esm/InputMask/addons/AutoCorrectedDatePipe.js +18 -36
- package/esm/InputMask/addons/AutoCorrectedDatePipe.js.map +7 -0
- package/esm/InputMask/defaultProps.js +11 -9
- package/esm/InputMask/defaultProps.js.map +7 -0
- package/esm/InputMask/index.js +3 -3
- package/esm/InputMask/index.js.map +7 -0
- package/esm/InputMask/mask_types/DateInputMask.js +136 -134
- package/esm/InputMask/mask_types/DateInputMask.js.map +7 -0
- package/esm/InputMask/mask_types/DateTimeInputMask.js +142 -139
- package/esm/InputMask/mask_types/DateTimeInputMask.js.map +7 -0
- package/esm/InputMask/mask_types/DictionaryInputMask.js +127 -125
- package/esm/InputMask/mask_types/DictionaryInputMask.js.map +7 -0
- package/esm/InputMask/mask_types/NumberInputMask.js +188 -176
- package/esm/InputMask/mask_types/NumberInputMask.js.map +7 -0
- package/esm/InputMask/mask_types/PhoneInputMask.js +139 -137
- package/esm/InputMask/mask_types/PhoneInputMask.js.map +7 -0
- package/esm/InputMask/mask_types/PhoneInternationalInputMask.js +139 -137
- package/esm/InputMask/mask_types/PhoneInternationalInputMask.js.map +7 -0
- package/esm/InputMask/mask_types/SsnInputMask.js +136 -134
- package/esm/InputMask/mask_types/SsnInputMask.js.map +7 -0
- package/esm/InputMask/mask_types/UsZipCodeInputMask.js +122 -119
- package/esm/InputMask/mask_types/UsZipCodeInputMask.js.map +7 -0
- package/esm/InputMask/mask_types/ZipCodeSearchInputMask.js +133 -134
- package/esm/InputMask/mask_types/ZipCodeSearchInputMask.js.map +7 -0
- package/esm/InputMask/mask_types/index.js +99 -110
- package/esm/InputMask/mask_types/index.js.map +7 -0
- package/esm/InputMask/props.js +43 -143
- package/esm/InputMask/props.js.map +7 -0
- package/esm/InputMask/types/index.js +2 -1
- package/esm/InputMask/types/index.js.map +7 -0
- package/esm/InputMask/utils/setCaretPosition.js +16 -12
- package/esm/InputMask/utils/setCaretPosition.js.map +7 -0
- package/esm/InputProtected/DSInputProtected.js +49 -61
- package/esm/InputProtected/DSInputProtected.js.map +7 -0
- package/esm/InputProtected/defaultProps.js +7 -5
- package/esm/InputProtected/defaultProps.js.map +7 -0
- package/esm/InputProtected/index.js +4 -2
- package/esm/InputProtected/index.js.map +7 -0
- package/esm/InputProtected/options.js +10 -6
- package/esm/InputProtected/options.js.map +7 -0
- package/esm/InputProtected/props.js +25 -18
- package/esm/InputProtected/props.js.map +7 -0
- package/esm/LargeInputText/DSLargeInputText.js +92 -111
- package/esm/LargeInputText/DSLargeInputText.js.map +7 -0
- package/esm/LargeInputText/defaultProps.js +15 -12
- package/esm/LargeInputText/defaultProps.js.map +7 -0
- package/esm/LargeInputText/index.js +8 -1
- package/esm/LargeInputText/index.js.map +7 -0
- package/esm/LargeInputText/props.js +33 -122
- package/esm/LargeInputText/props.js.map +7 -0
- package/esm/MenuItem/components/MenuItem/index.js +25 -36
- package/esm/MenuItem/components/MenuItem/index.js.map +7 -0
- package/esm/MenuItem/components/MenuItem/styled.js +14 -7
- package/esm/MenuItem/components/MenuItem/styled.js.map +7 -0
- package/esm/MenuItem/components/MultiMenuItem/MultiMenuItem.js +36 -36
- package/esm/MenuItem/components/MultiMenuItem/MultiMenuItem.js.map +7 -0
- package/esm/MenuItem/components/MultiMenuItem/styled.js +13 -7
- package/esm/MenuItem/components/MultiMenuItem/styled.js.map +7 -0
- package/esm/MenuItem/components/Section/index.js +17 -23
- package/esm/MenuItem/components/Section/index.js.map +7 -0
- package/esm/MenuItem/components/Section/props.js +9 -6
- package/esm/MenuItem/components/Section/props.js.map +7 -0
- package/esm/MenuItem/components/Section/styled.js +22 -11
- package/esm/MenuItem/components/Section/styled.js.map +7 -0
- package/esm/MenuItem/components/Separator/index.js +12 -19
- package/esm/MenuItem/components/Separator/index.js.map +7 -0
- package/esm/MenuItem/components/Separator/styled.js +21 -11
- package/esm/MenuItem/components/Separator/styled.js.map +7 -0
- package/esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js +35 -36
- package/esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js.map +7 -0
- package/esm/MenuItem/components/SubmenuItem/index.js +58 -75
- package/esm/MenuItem/components/SubmenuItem/index.js.map +7 -0
- package/esm/MenuItem/components/SubmenuItem/styled.js +19 -11
- package/esm/MenuItem/components/SubmenuItem/styled.js.map +7 -0
- package/esm/MenuItem/components/index.js +8 -6
- package/esm/MenuItem/components/index.js.map +7 -0
- package/esm/MenuItem/components/styled.js +72 -26
- package/esm/MenuItem/components/styled.js.map +7 -0
- package/esm/MenuItem/index.js +3 -6
- package/esm/MenuItem/index.js.map +7 -0
- package/esm/MenuItem/props.js +14 -11
- package/esm/MenuItem/props.js.map +7 -0
- package/esm/Radio/Circle.js +16 -18
- package/esm/Radio/Circle.js.map +7 -0
- package/esm/Radio/DSRadio.js +95 -159
- package/esm/Radio/DSRadio.js.map +7 -0
- package/esm/Radio/index.js +3 -1
- package/esm/Radio/index.js.map +7 -0
- package/esm/RadioGroup/DSRadioGroup.js +69 -80
- package/esm/RadioGroup/DSRadioGroup.js.map +7 -0
- package/esm/RadioGroup/defaultProps.js +8 -5
- package/esm/RadioGroup/defaultProps.js.map +7 -0
- package/esm/RadioGroup/index.js +3 -1
- package/esm/RadioGroup/index.js.map +7 -0
- package/esm/RadioGroup/props.js +17 -33
- package/esm/RadioGroup/props.js.map +7 -0
- package/esm/RequiredMark/RequiredMark.js +20 -24
- package/esm/RequiredMark/RequiredMark.js.map +7 -0
- package/esm/RequiredMark/index.js +3 -1
- package/esm/RequiredMark/index.js.map +7 -0
- package/esm/SearchBox/DSSearchBox.js +70 -72
- package/esm/SearchBox/DSSearchBox.js.map +7 -0
- package/esm/SearchBox/NavSearchBox.js +124 -139
- package/esm/SearchBox/NavSearchBox.js.map +7 -0
- package/esm/SearchBox/SButton.js +47 -24
- package/esm/SearchBox/SButton.js.map +7 -0
- package/esm/SearchBox/SearchBoxToggle.js +36 -46
- package/esm/SearchBox/SearchBoxToggle.js.map +7 -0
- package/esm/SearchBox/defaultProps.js +12 -8
- package/esm/SearchBox/defaultProps.js.map +7 -0
- package/esm/SearchBox/index.js +14 -3
- package/esm/SearchBox/index.js.map +7 -0
- package/esm/SearchBox/props.js +36 -89
- package/esm/SearchBox/props.js.map +7 -0
- package/esm/SearchBox/styled.js +10 -8
- package/esm/SearchBox/styled.js.map +7 -0
- package/esm/SearchBox/useSearch.js +23 -46
- package/esm/SearchBox/useSearch.js.map +7 -0
- package/esm/SearchBox/withSearchable.js +46 -93
- package/esm/SearchBox/withSearchable.js.map +7 -0
- package/esm/TextBox/DSTextBox.js +81 -165
- package/esm/TextBox/DSTextBox.js.map +7 -0
- package/esm/TextBox/index.js +8 -1
- package/esm/TextBox/index.js.map +7 -0
- package/esm/TimeInput/DSTimeInput.js +58 -110
- package/esm/TimeInput/DSTimeInput.js.map +7 -0
- package/esm/TimeInput/TimeInputImpl.js +54 -50
- package/esm/TimeInput/TimeInputImpl.js.map +7 -0
- package/esm/TimeInput/TimeInputs.js +214 -238
- package/esm/TimeInput/TimeInputs.js.map +7 -0
- package/esm/TimeInput/index.js +3 -2
- package/esm/TimeInput/index.js.map +7 -0
- package/esm/TimeInput/utils.js +68 -59
- package/esm/TimeInput/utils.js.map +7 -0
- package/esm/Toggle/DSToggle.js +52 -107
- package/esm/Toggle/DSToggle.js.map +7 -0
- package/esm/Toggle/DSToggleImpl.js +83 -172
- package/esm/Toggle/DSToggleImpl.js.map +7 -0
- package/esm/Toggle/DSToggleRender.js +81 -91
- package/esm/Toggle/DSToggleRender.js.map +7 -0
- package/esm/Toggle/index.js +8 -1
- package/esm/Toggle/index.js.map +7 -0
- package/esm/Toggle/props.js +7 -48
- package/esm/Toggle/props.js.map +7 -0
- package/esm/Toggle/toggleHelper.js +26 -31
- package/esm/Toggle/toggleHelper.js.map +7 -0
- package/esm/index.js +24 -41
- package/esm/index.js.map +7 -0
- package/package.json +207 -23
- package/types/Checkbox/elements/CheckMark.d.ts +1 -1
- package/types/Checkbox/index.d.ts +0 -1
- package/types/CheckboxGroup/DSCheckboxGroup.d.ts +0 -1
- package/types/CheckboxGroup/index.d.ts +0 -1
- package/types/ComboBox/index.d.ts +2 -3
- package/types/ComboBox/v1/DSComboBox.d.ts +3 -2
- package/types/ComboBox/v1/components/ClearIndicator.d.ts +1 -0
- package/types/ComboBox/v1/components/Control.d.ts +1 -0
- package/types/ComboBox/v1/components/CustomOption.d.ts +1 -0
- package/types/ComboBox/v1/components/CustomOptionMulti.d.ts +1 -0
- package/types/ComboBox/v1/components/DropdownIndicator.d.ts +1 -0
- package/types/ComboBox/v1/components/MenuList.d.ts +1 -0
- package/types/ComboBox/v1/components/MultiSelectHeader.d.ts +1 -0
- package/types/ComboBox/v1/components/MultiValueLabel.d.ts +1 -0
- package/types/ComboBox/v1/components/MultiValueRemove.d.ts +1 -0
- package/types/ComboBox/v1/components/SelectMenu.d.ts +1 -0
- package/types/ComboBox/v1/components/SingleValueLabel.d.ts +1 -0
- package/types/ComboBox/v1/withSelectStringValueConverter.d.ts +1 -0
- package/types/ComboBox/v2/components/ClearIndicator.d.ts +1 -0
- package/types/ComboBox/v2/components/Content.d.ts +1 -0
- package/types/ComboBox/v2/components/Control.d.ts +1 -0
- package/types/ComboBox/v2/components/CustomOption.d.ts +1 -0
- package/types/ComboBox/v2/components/CustomOptionMulti.d.ts +1 -0
- package/types/ComboBox/v2/components/DropdownIndicator.d.ts +1 -0
- package/types/ComboBox/v2/components/GroupHeading.d.ts +1 -0
- package/types/ComboBox/v2/components/LoadingIndicator.d.ts +1 -0
- package/types/ComboBox/v2/components/MenuList.d.ts +1 -0
- package/types/ComboBox/v2/components/MultiSelectHeader.d.ts +1 -0
- package/types/ComboBox/v2/components/MultiValueLabel.d.ts +1 -0
- package/types/ComboBox/v2/components/MultiValueRemove.d.ts +1 -0
- package/types/ComboBox/v2/components/SelectMenu.d.ts +1 -0
- package/types/ComboBox/v2/components/SingleValueLabel.d.ts +1 -0
- package/types/ComboBox/v3/ComboBox.d.ts +62 -0
- package/types/ComboBox/v3/ComboBoxCTX.d.ts +6 -0
- package/types/ComboBox/v3/ComboboxDataTestids.d.ts +11 -0
- package/types/ComboBox/v3/config/constants.d.ts +8 -0
- package/types/ComboBox/v3/config/useComboBox.d.ts +2 -0
- package/types/ComboBox/v3/config/useGetPropsWithDefault.d.ts +2 -0
- package/types/ComboBox/v3/index.d.ts +1 -0
- package/types/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.d.ts +3 -0
- package/types/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.d.ts +3 -0
- package/types/ComboBox/v3/parts/a11y-messages/index.d.ts +2 -0
- package/types/ComboBox/v3/parts/a11y-messages/styled.d.ts +1 -0
- package/types/ComboBox/v3/parts/container/Container.d.ts +3 -0
- package/types/ComboBox/v3/parts/container/index.d.ts +1 -0
- package/types/ComboBox/v3/parts/container/styled.d.ts +3 -0
- package/types/ComboBox/v3/parts/controls/Controls.d.ts +3 -0
- package/types/ComboBox/v3/parts/controls/index.d.ts +1 -0
- package/types/ComboBox/v3/parts/controls/styled.d.ts +7 -0
- package/types/ComboBox/v3/parts/controls-input/ControlsInput.d.ts +3 -0
- package/types/ComboBox/v3/parts/controls-input/styled.d.ts +4 -0
- package/types/ComboBox/v3/parts/controls-input/useControlsInput.d.ts +12 -0
- package/types/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.d.ts +3 -0
- package/types/ComboBox/v3/parts/dropdown-indicator/index.d.ts +0 -0
- package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -0
- package/types/ComboBox/v3/parts/empty-state/index.d.ts +3 -0
- package/types/ComboBox/v3/parts/empty-state/styled.d.ts +2 -0
- package/types/ComboBox/v3/parts/header-list/HeaderList.d.ts +3 -0
- package/types/ComboBox/v3/parts/header-list/index.d.ts +1 -0
- package/types/ComboBox/v3/parts/header-list/styled.d.ts +7 -0
- package/types/ComboBox/v3/parts/header-list/useHeaderListHandlers.d.ts +12 -0
- package/types/ComboBox/v3/parts/menu-list/MenuList.d.ts +3 -0
- package/types/ComboBox/v3/parts/menu-list/index.d.ts +1 -0
- package/types/ComboBox/v3/parts/menu-list/styled.d.ts +10 -0
- package/types/ComboBox/v3/parts/menu-list/useItemRenderer.d.ts +2 -0
- package/types/ComboBox/v3/parts/menu-list/useMenuList.d.ts +2 -0
- package/types/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.d.ts +3 -0
- package/types/ComboBox/v3/parts/multi-selected-values-container/index.d.ts +1 -0
- package/types/ComboBox/v3/parts/multi-selected-values-container/styled.d.ts +3 -0
- package/types/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.d.ts +2 -0
- package/types/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.d.ts +3 -0
- package/types/ComboBox/v3/parts/single-selected-value-container/index.d.ts +1 -0
- package/types/ComboBox/v3/parts/single-selected-value-container/styled.d.ts +1 -0
- package/types/ComboBox/v3/propTypes.d.ts +51 -0
- package/types/ComboBox/v3/tests/combobox-general.test.d.ts +1 -0
- package/types/ComboBox/v3/tests/combobox-multi-select.test.d.ts +1 -0
- package/types/ComboBox/v3/tests/combobox-single-select.test.d.ts +1 -0
- package/types/ComboBox/v3/tests/combobox-special-keys.test.d.ts +1 -0
- package/types/ComboBox/v3/tests/utils.d.ts +22 -0
- package/types/ComboBox/v3/utils/hooks/useKeyboardNavigation.d.ts +4 -0
- package/types/ComboBox/v3/utils/hooks/useOnElementResize.d.ts +3 -0
- package/types/ComboBox/v3/utils/listHelper.d.ts +7 -0
- package/types/ComboBoxFreeSolo/ComboBoxFreeSolo.d.ts +1 -0
- package/types/ComboBoxFreeSolo/index.d.ts +1 -1
- package/types/DateInput/DSDateInput.d.ts +2 -2
- package/types/DateInput/components/DateInputImpl.d.ts +1 -0
- package/types/DateInput/components/DateInputs.d.ts +1 -0
- package/types/DateInput/index.d.ts +0 -1
- package/types/DateInputV2/components/DSDateInput.d.ts +1 -0
- package/types/DateInputV2/index.d.ts +0 -1
- package/types/ExpandableInput/DSExpandableInput.d.ts +1 -0
- package/types/ExpandableInput/ExpandableInputImpl.d.ts +3 -1
- package/types/ExpandableInput/index.d.ts +1 -1
- package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +6 -1
- package/types/FloatingLabelInput/FloatingLabelInputImpl.d.ts +1 -0
- package/types/FloatingLabelInput/getSvgPath.d.ts +1 -0
- package/types/FloatingLabelInput/index.d.ts +1 -1
- package/types/FormItem/DSFormItemLayout.d.ts +2 -2
- package/types/FormItem/Error/DSError.d.ts +1 -1
- package/types/FormItem/Feedback.d.ts +1 -0
- package/types/FormItem/Label/DSLabel.d.ts +1 -0
- package/types/FormItem/index.d.ts +1 -1
- package/types/Input/DSInput.d.ts +2 -2
- package/types/Input/InputAddonWrapper.d.ts +3 -1
- package/types/Input/InputImpl.d.ts +1 -0
- package/types/Input/index.d.ts +0 -1
- package/types/InputGroup/AddonWrapper.d.ts +3 -1
- package/types/InputGroup/DSInputGroup.d.ts +1 -1
- package/types/InputGroup/index.d.ts +1 -2
- package/types/InputMask/DSInputMaskDeprecated.d.ts +1 -0
- package/types/InputMask/index.d.ts +0 -1
- package/types/InputMask/mask_types/DateInputMask.d.ts +1 -0
- package/types/InputMask/mask_types/DateTimeInputMask.d.ts +1 -0
- package/types/InputMask/mask_types/DictionaryInputMask.d.ts +1 -0
- package/types/InputMask/mask_types/NumberInputMask.d.ts +1 -0
- package/types/InputMask/mask_types/PhoneInputMask.d.ts +1 -0
- package/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +1 -0
- package/types/InputMask/mask_types/SsnInputMask.d.ts +1 -0
- package/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +1 -0
- package/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +1 -0
- package/types/InputMask/utils/setCaretPosition.d.ts +1 -0
- package/types/InputProtected/index.d.ts +0 -1
- package/types/LargeInputText/DSLargeInputText.d.ts +1 -1
- package/types/LargeInputText/index.d.ts +1 -2
- package/types/Radio/Circle.d.ts +3 -2
- package/types/Radio/DSRadio.d.ts +1 -1
- package/types/Radio/index.d.ts +1 -2
- package/types/RadioGroup/DSRadioGroup.d.ts +1 -1
- package/types/RadioGroup/index.d.ts +1 -1
- package/types/RequiredMark/RequiredMark.d.ts +1 -0
- package/types/RequiredMark/index.d.ts +1 -1
- package/types/SearchBox/DSSearchBox.d.ts +1 -1
- package/types/SearchBox/index.d.ts +1 -1
- package/types/TextBox/DSTextBox.d.ts +1 -1
- package/types/TextBox/index.d.ts +1 -2
- package/types/TimeInput/DSTimeInput.d.ts +2 -2
- package/types/TimeInput/TimeInputImpl.d.ts +1 -0
- package/types/TimeInput/TimeInputs.d.ts +1 -0
- package/types/TimeInput/index.d.ts +0 -1
- package/types/TimeInput/utils.d.ts +1 -1
- package/types/Toggle/DSToggle.d.ts +1 -1
- package/types/Toggle/DSToggleImpl.d.ts +1 -0
- package/types/Toggle/DSToggleRender.d.ts +1 -0
- package/types/Toggle/index.d.ts +1 -2
- package/types/index.d.ts +4 -25
|
@@ -1,121 +1,130 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var mask_types_exports = {};
|
|
29
|
+
__export(mask_types_exports, {
|
|
30
|
+
OutOfTheBoxMaskTypes: () => OutOfTheBoxMaskTypes
|
|
31
|
+
});
|
|
32
|
+
var React = __toESM(require("react"));
|
|
33
|
+
var import_react = __toESM(require("react"));
|
|
34
|
+
var import_DateInputMask = require("./DateInputMask");
|
|
35
|
+
var import_DateTimeInputMask = require("./DateTimeInputMask");
|
|
36
|
+
var import_DictionaryInputMask = require("./DictionaryInputMask");
|
|
37
|
+
var import_NumberInputMask = require("./NumberInputMask");
|
|
38
|
+
var import_PhoneInputMask = require("./PhoneInputMask");
|
|
39
|
+
var import_PhoneInternationalInputMask = require("./PhoneInternationalInputMask");
|
|
40
|
+
var import_SsnInputMask = require("./SsnInputMask");
|
|
41
|
+
var import_UsZipCodeInputMask = require("./UsZipCodeInputMask");
|
|
42
|
+
var import_ZipCodeSearchInputMask = require("./ZipCodeSearchInputMask");
|
|
43
|
+
const dollarSign = "$";
|
|
44
|
+
const percentSign = "%";
|
|
45
|
+
const emptyString = "";
|
|
46
|
+
const comma = ",";
|
|
47
|
+
const period = ".";
|
|
41
48
|
const OutOfTheBoxMaskTypes = {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
49
|
+
"ds-mask-date": (props) => /* @__PURE__ */ import_react.default.createElement(import_DateInputMask.DateInputMask, {
|
|
50
|
+
...props
|
|
51
|
+
}),
|
|
52
|
+
"ds-mask-date-time": (props) => /* @__PURE__ */ import_react.default.createElement(import_DateTimeInputMask.DateTimeInputMask, {
|
|
53
|
+
...props
|
|
54
|
+
}),
|
|
55
|
+
"ds-mask-dictionary": ({ ignoreCase = true, ...rest }) => /* @__PURE__ */ import_react.default.createElement(import_DictionaryInputMask.DictionaryInputMask, {
|
|
56
|
+
ignoreCase,
|
|
57
|
+
...rest
|
|
58
|
+
}),
|
|
59
|
+
"ds-mask-number": ({
|
|
60
|
+
prefix = dollarSign,
|
|
61
|
+
suffix = emptyString,
|
|
62
|
+
includeThousandsSeparator = true,
|
|
63
|
+
thousandsSeparatorSymbol = comma,
|
|
64
|
+
allowDecimal = false,
|
|
65
|
+
decimalSymbol = period,
|
|
66
|
+
decimalLimit = 2,
|
|
67
|
+
requireDecimal = false,
|
|
68
|
+
allowNegative = false,
|
|
69
|
+
allowLeadingZeroes = false,
|
|
70
|
+
integerLimit = null,
|
|
71
|
+
...rest
|
|
72
|
+
}) => /* @__PURE__ */ import_react.default.createElement(import_NumberInputMask.NumberInputMask, {
|
|
73
|
+
prefix,
|
|
74
|
+
suffix,
|
|
75
|
+
includeThousandsSeparator,
|
|
76
|
+
thousandsSeparatorSymbol,
|
|
77
|
+
allowDecimal,
|
|
78
|
+
decimalSymbol,
|
|
79
|
+
decimalLimit,
|
|
80
|
+
requireDecimal,
|
|
81
|
+
allowNegative,
|
|
82
|
+
allowLeadingZeroes,
|
|
83
|
+
integerLimit,
|
|
84
|
+
...rest
|
|
85
|
+
}),
|
|
86
|
+
"ds-mask-percent": ({
|
|
87
|
+
prefix = emptyString,
|
|
88
|
+
suffix = percentSign,
|
|
89
|
+
includeThousandsSeparator = true,
|
|
90
|
+
thousandsSeparatorSymbol = comma,
|
|
91
|
+
allowDecimal = false,
|
|
92
|
+
decimalSymbol = period,
|
|
93
|
+
decimalLimit = 2,
|
|
94
|
+
requireDecimal = false,
|
|
95
|
+
allowNegative = false,
|
|
96
|
+
allowLeadingZeroes = false,
|
|
97
|
+
integerLimit = null,
|
|
98
|
+
...rest
|
|
99
|
+
}) => /* @__PURE__ */ import_react.default.createElement(import_NumberInputMask.NumberInputMask, {
|
|
100
|
+
prefix,
|
|
101
|
+
suffix,
|
|
102
|
+
includeThousandsSeparator,
|
|
103
|
+
thousandsSeparatorSymbol,
|
|
104
|
+
allowDecimal,
|
|
105
|
+
decimalSymbol,
|
|
106
|
+
decimalLimit,
|
|
107
|
+
requireDecimal,
|
|
108
|
+
allowNegative,
|
|
109
|
+
allowLeadingZeroes,
|
|
110
|
+
integerLimit,
|
|
111
|
+
...rest
|
|
112
|
+
}),
|
|
113
|
+
"ds-mask-phone": (props) => /* @__PURE__ */ import_react.default.createElement(import_PhoneInputMask.PhoneInputMask, {
|
|
114
|
+
...props
|
|
115
|
+
}),
|
|
116
|
+
"ds-mask-phone-international": (props) => /* @__PURE__ */ import_react.default.createElement(import_PhoneInternationalInputMask.PhoneInternationalInputMask, {
|
|
117
|
+
...props
|
|
118
|
+
}),
|
|
119
|
+
"ds-mask-ssn": (props) => /* @__PURE__ */ import_react.default.createElement(import_SsnInputMask.SsnInputMask, {
|
|
120
|
+
...props
|
|
121
|
+
}),
|
|
122
|
+
"ds-mask-us-zip-code": (props) => /* @__PURE__ */ import_react.default.createElement(import_UsZipCodeInputMask.UsZipCodeInputMask, {
|
|
123
|
+
...props
|
|
124
|
+
}),
|
|
125
|
+
"ds-mask-zip-code-search": (props) => /* @__PURE__ */ import_react.default.createElement(import_ZipCodeSearchInputMask.ZipCodeSearchInputMask, {
|
|
126
|
+
...props
|
|
127
|
+
})
|
|
119
128
|
};
|
|
120
|
-
|
|
121
|
-
|
|
129
|
+
module.exports = __toCommonJS(mask_types_exports);
|
|
130
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/InputMask/mask_types/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { DateInputMask } from './DateInputMask';\nimport { DateTimeInputMask } from './DateTimeInputMask';\nimport { DictionaryInputMask } from './DictionaryInputMask';\nimport { NumberInputMask } from './NumberInputMask';\nimport { PhoneInputMask } from './PhoneInputMask';\nimport { PhoneInternationalInputMask } from './PhoneInternationalInputMask';\nimport { SsnInputMask } from './SsnInputMask';\nimport { UsZipCodeInputMask } from './UsZipCodeInputMask';\nimport { ZipCodeSearchInputMask } from './ZipCodeSearchInputMask';\n\nconst dollarSign = '$';\nconst percentSign = '%';\nconst emptyString = '';\nconst comma = ',';\nconst period = '.';\n\nexport const OutOfTheBoxMaskTypes = {\n 'ds-mask-date': (props) => <DateInputMask {...props} />,\n 'ds-mask-date-time': (props) => <DateTimeInputMask {...props} />,\n 'ds-mask-dictionary': ({ ignoreCase = true, ...rest }) => (\n <DictionaryInputMask ignoreCase={ignoreCase} {...rest} />\n ),\n 'ds-mask-number': ({\n prefix = dollarSign,\n suffix = emptyString,\n includeThousandsSeparator = true,\n thousandsSeparatorSymbol = comma,\n allowDecimal = false,\n decimalSymbol = period,\n decimalLimit = 2,\n requireDecimal = false,\n allowNegative = false,\n allowLeadingZeroes = false,\n integerLimit = null,\n ...rest\n }) => (\n <NumberInputMask\n prefix={prefix}\n suffix={suffix}\n includeThousandsSeparator={includeThousandsSeparator}\n thousandsSeparatorSymbol={thousandsSeparatorSymbol}\n allowDecimal={allowDecimal}\n decimalSymbol={decimalSymbol}\n decimalLimit={decimalLimit}\n requireDecimal={requireDecimal}\n allowNegative={allowNegative}\n allowLeadingZeroes={allowLeadingZeroes}\n integerLimit={integerLimit}\n {...rest}\n />\n ),\n 'ds-mask-percent': ({\n prefix = emptyString,\n suffix = percentSign,\n includeThousandsSeparator = true,\n thousandsSeparatorSymbol = comma,\n allowDecimal = false,\n decimalSymbol = period,\n decimalLimit = 2,\n requireDecimal = false,\n allowNegative = false,\n allowLeadingZeroes = false,\n integerLimit = null,\n ...rest\n }) => (\n <NumberInputMask\n prefix={prefix}\n suffix={suffix}\n includeThousandsSeparator={includeThousandsSeparator}\n thousandsSeparatorSymbol={thousandsSeparatorSymbol}\n allowDecimal={allowDecimal}\n decimalSymbol={decimalSymbol}\n decimalLimit={decimalLimit}\n requireDecimal={requireDecimal}\n allowNegative={allowNegative}\n allowLeadingZeroes={allowLeadingZeroes}\n integerLimit={integerLimit}\n {...rest}\n />\n ),\n 'ds-mask-phone': (props) => <PhoneInputMask {...props} />,\n 'ds-mask-phone-international': (props) => (\n <PhoneInternationalInputMask {...props} />\n ),\n 'ds-mask-ssn': (props) => <SsnInputMask {...props} />,\n 'ds-mask-us-zip-code': (props) => <UsZipCodeInputMask {...props} />,\n 'ds-mask-zip-code-search': (props) => <ZipCodeSearchInputMask {...props} />,\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,2BAA8B;AAC9B,+BAAkC;AAClC,iCAAoC;AACpC,6BAAgC;AAChC,4BAA+B;AAC/B,yCAA4C;AAC5C,0BAA6B;AAC7B,gCAAmC;AACnC,oCAAuC;AAEvC,MAAM,aAAa;AACnB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,QAAQ;AACd,MAAM,SAAS;AAER,MAAM,uBAAuB;AAAA,EAClC,gBAAgB,CAAC,UAAU,mDAAC,oCAAD;AAAA,OAAmB;AAAA;AAAA,EAC9C,qBAAqB,CAAC,UAAU,mDAAC,4CAAD;AAAA,OAAuB;AAAA;AAAA,EACvD,sBAAsB,CAAC,EAAE,aAAa,SAAS,WAC7C,mDAAC,gDAAD;AAAA,IAAqB;AAAA,OAA4B;AAAA;AAAA,EAEnD,kBAAkB,CAAC;AAAA,IACjB,SAAS;AAAA,IACT,SAAS;AAAA,IACT,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,qBAAqB;AAAA,IACrB,eAAe;AAAA,OACZ;AAAA,QAEH,mDAAC,wCAAD;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,OACI;AAAA;AAAA,EAGR,mBAAmB,CAAC;AAAA,IAClB,SAAS;AAAA,IACT,SAAS;AAAA,IACT,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,qBAAqB;AAAA,IACrB,eAAe;AAAA,OACZ;AAAA,QAEH,mDAAC,wCAAD;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,OACI;AAAA;AAAA,EAGR,iBAAiB,CAAC,UAAU,mDAAC,sCAAD;AAAA,OAAoB;AAAA;AAAA,EAChD,+BAA+B,CAAC,UAC9B,mDAAC,gEAAD;AAAA,OAAiC;AAAA;AAAA,EAEnC,eAAe,CAAC,UAAU,mDAAC,kCAAD;AAAA,OAAkB;AAAA;AAAA,EAC5C,uBAAuB,CAAC,UAAU,mDAAC,8CAAD;AAAA,OAAwB;AAAA;AAAA,EAC1D,2BAA2B,CAAC,UAAU,mDAAC,sDAAD;AAAA,OAA4B;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/cjs/InputMask/props.js
CHANGED
|
@@ -1,150 +1,75 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var props_exports = {};
|
|
29
|
+
__export(props_exports, {
|
|
30
|
+
inputProps: () => inputProps
|
|
31
|
+
});
|
|
32
|
+
var React = __toESM(require("react"));
|
|
33
|
+
var import_react_desc = require("react-desc");
|
|
7
34
|
const inputProps = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
isShowElipsisActive: reactDesc.PropTypes.bool.description('Wheter to enable the ellipsis and tooltip functionality or not').defaultValue(true),
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Component that works as placeholder
|
|
50
|
-
*/
|
|
51
|
-
placeholder: reactDesc.PropTypes.node.description('Component that works as placeholder'),
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Allows a function that is triggered once a key is being pressed
|
|
55
|
-
*/
|
|
56
|
-
onKeyDown: reactDesc.PropTypes.func.description('Allows a function that is triggered once a key is being pressed'),
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Allows a function that is triggered once the input mask is clicked
|
|
60
|
-
*/
|
|
61
|
-
onClick: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask is clicked'),
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Allows a function that is triggered once the input mask changes
|
|
65
|
-
*/
|
|
66
|
-
onChange: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask changes'),
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Allows a function that is triggered once the input mask is focused
|
|
70
|
-
*/
|
|
71
|
-
onFocus: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask is focused'),
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Allows a function that is triggered once the input mask loses focus
|
|
75
|
-
*/
|
|
76
|
-
onBlur: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask loses focus'),
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Allows a function that is triggered once the input mask is pasted
|
|
80
|
-
*/
|
|
81
|
-
onPaste: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask is pasted'),
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Allows a function that is triggered once in the input mask a keyboard key is released
|
|
85
|
-
*/
|
|
86
|
-
onKeyUp: reactDesc.PropTypes.func.description('Allows a function that is triggered once in the input mask a keyboard key is released'),
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Default value once the component is initialized
|
|
90
|
-
*/
|
|
91
|
-
value: reactDesc.PropTypes.string.description('Default value once the component is initialized'),
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Whether the input mask has error or not
|
|
95
|
-
*/
|
|
96
|
-
hasError: reactDesc.PropTypes.bool.description('Whether the input mask has error or not'),
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Whether the input mask is read only or not
|
|
100
|
-
*/
|
|
101
|
-
readOnly: reactDesc.PropTypes.bool.description('Whether the input mask is read only or not'),
|
|
102
|
-
innerRef: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.func, reactDesc.PropTypes.shape({
|
|
103
|
-
current: reactDesc.PropTypes.any
|
|
104
|
-
})]).description('Whether the input mask is read only or not'),
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Type of input. Ex: 'text'
|
|
108
|
-
*/
|
|
109
|
-
type: reactDesc.PropTypes.string.description("Type of input. Ex: 'text'"),
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Whether the input mask is clearable or not
|
|
113
|
-
*/
|
|
114
|
-
clearable: reactDesc.PropTypes.bool.description('Whether the input mask is clearable or not'),
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Component to be added at the right side of the input
|
|
118
|
-
*/
|
|
119
|
-
leftComponent: reactDesc.PropTypes.node.description('Component to be added at the right side of the input'),
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Component to be added at the right side of the input
|
|
123
|
-
*/
|
|
124
|
-
rightComponent: reactDesc.PropTypes.node.description('Component to be added at the right side of the input'),
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Mask that has to match with the input information entered
|
|
128
|
-
* ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']
|
|
129
|
-
*/
|
|
130
|
-
mask: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.array, reactDesc.PropTypes.string, reactDesc.PropTypes.func]).description("Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']"),
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
Expects pipe functions. i.e. autoCorrectedDatePipe
|
|
134
|
-
link a docu de text-mask
|
|
135
|
-
*/
|
|
136
|
-
pipe: reactDesc.PropTypes.func.description('Expects pipe functions. i.e. autoCorrectedDatePipe'),
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Put a sufix after the input mask
|
|
140
|
-
*/
|
|
141
|
-
useSubfix: reactDesc.PropTypes.string.description('Put a sufix after the input mask'),
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* The placeholder character represents the fillable spot in the mask.
|
|
145
|
-
* The default placeholder character is underscore, _
|
|
146
|
-
*/
|
|
147
|
-
placeholderChar: reactDesc.PropTypes.string.description("The placeholder character represents the fillable spot in the mask.\n The default placeholder character is underscore, _.").defaultValue('_')
|
|
35
|
+
autoFocus: import_react_desc.PropTypes.bool.description("Should component focus automatically"),
|
|
36
|
+
style: import_react_desc.PropTypes.object.description("Set style for the input mask"),
|
|
37
|
+
disabled: import_react_desc.PropTypes.bool.description("Whether the input mask is disabled or not"),
|
|
38
|
+
disableTooltip: import_react_desc.PropTypes.bool.description("Whether to show a tooltip or not when text does not fit").defaultValue(true),
|
|
39
|
+
className: import_react_desc.PropTypes.string.description("css class"),
|
|
40
|
+
name: import_react_desc.PropTypes.string.description("html name prop for form"),
|
|
41
|
+
maxLength: import_react_desc.PropTypes.number.description("Max length for the input mask"),
|
|
42
|
+
minLength: import_react_desc.PropTypes.number.description("Min length for the input mask"),
|
|
43
|
+
fluidWidth: import_react_desc.PropTypes.bool.description("Whether to make the content of the input mask fit the container or not"),
|
|
44
|
+
isShowElipsisActive: import_react_desc.PropTypes.bool.description("Wheter to enable the ellipsis and tooltip functionality or not").defaultValue(true),
|
|
45
|
+
placeholder: import_react_desc.PropTypes.node.description("Component that works as placeholder"),
|
|
46
|
+
onKeyDown: import_react_desc.PropTypes.func.description("Allows a function that is triggered once a key is being pressed"),
|
|
47
|
+
onClick: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask is clicked"),
|
|
48
|
+
onChange: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask changes"),
|
|
49
|
+
onFocus: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask is focused"),
|
|
50
|
+
onBlur: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask loses focus"),
|
|
51
|
+
onPaste: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask is pasted"),
|
|
52
|
+
onKeyUp: import_react_desc.PropTypes.func.description("Allows a function that is triggered once in the input mask a keyboard key is released"),
|
|
53
|
+
value: import_react_desc.PropTypes.string.description("Default value once the component is initialized"),
|
|
54
|
+
hasError: import_react_desc.PropTypes.bool.description("Whether the input mask has error or not"),
|
|
55
|
+
readOnly: import_react_desc.PropTypes.bool.description("Whether the input mask is read only or not"),
|
|
56
|
+
innerRef: import_react_desc.PropTypes.oneOfType([
|
|
57
|
+
import_react_desc.PropTypes.func,
|
|
58
|
+
import_react_desc.PropTypes.shape({ current: import_react_desc.PropTypes.any })
|
|
59
|
+
]).description("Whether the input mask is read only or not"),
|
|
60
|
+
type: import_react_desc.PropTypes.string.description("Type of input. Ex: 'text'"),
|
|
61
|
+
clearable: import_react_desc.PropTypes.bool.description("Whether the input mask is clearable or not"),
|
|
62
|
+
leftComponent: import_react_desc.PropTypes.node.description("Component to be added at the right side of the input"),
|
|
63
|
+
rightComponent: import_react_desc.PropTypes.node.description("Component to be added at the right side of the input"),
|
|
64
|
+
mask: import_react_desc.PropTypes.oneOfType([
|
|
65
|
+
import_react_desc.PropTypes.array,
|
|
66
|
+
import_react_desc.PropTypes.string,
|
|
67
|
+
import_react_desc.PropTypes.func
|
|
68
|
+
]).description("Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']"),
|
|
69
|
+
pipe: import_react_desc.PropTypes.func.description("Expects pipe functions. i.e. autoCorrectedDatePipe"),
|
|
70
|
+
useSubfix: import_react_desc.PropTypes.string.description("Put a sufix after the input mask"),
|
|
71
|
+
placeholderChar: import_react_desc.PropTypes.string.description(`The placeholder character represents the fillable spot in the mask.
|
|
72
|
+
The default placeholder character is underscore, _.`).defaultValue("_")
|
|
148
73
|
};
|
|
149
|
-
|
|
150
|
-
|
|
74
|
+
module.exports = __toCommonJS(props_exports);
|
|
75
|
+
//# sourceMappingURL=props.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/InputMask/props.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import { PropTypes } from 'react-desc';\n\nexport const inputProps = {\n /** Should component focus automatically */\n autoFocus: PropTypes.bool.description('Should component focus automatically'),\n /**\n * Set style for the input mask\n */\n style: PropTypes.object.description('Set style for the input mask'),\n /**\n * Whether the input mask is disabled or not\n */\n disabled: PropTypes.bool.description(\n 'Whether the input mask is disabled or not',\n ),\n /** disableTooltip */\n disableTooltip: PropTypes.bool\n .description('Whether to show a tooltip or not when text does not fit')\n .defaultValue(true),\n /** css class */\n className: PropTypes.string.description('css class'),\n /** html name prop for form */\n name: PropTypes.string.description('html name prop for form'),\n /**\n * Max length for the input mask\n */\n maxLength: PropTypes.number.description('Max length for the input mask'),\n /**\n * Min length for the input mask\n */\n minLength: PropTypes.number.description('Min length for the input mask'),\n /**\n * Whether to make the content of the input mask fit the container or not\n */\n fluidWidth: PropTypes.bool.description(\n 'Whether to make the content of the input mask fit the container or not',\n ),\n /** isShowElipsisActive */\n isShowElipsisActive: PropTypes.bool\n .description(\n 'Wheter to enable the ellipsis and tooltip functionality or not',\n )\n .defaultValue(true),\n /**\n * Component that works as placeholder\n */\n placeholder: PropTypes.node.description(\n 'Component that works as placeholder',\n ),\n /**\n * Allows a function that is triggered once a key is being pressed\n */\n onKeyDown: PropTypes.func.description(\n 'Allows a function that is triggered once a key is being pressed',\n ),\n /**\n * Allows a function that is triggered once the input mask is clicked\n */\n onClick: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask is clicked',\n ),\n /**\n * Allows a function that is triggered once the input mask changes\n */\n onChange: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask changes',\n ),\n /**\n * Allows a function that is triggered once the input mask is focused\n */\n onFocus: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask is focused',\n ),\n /**\n * Allows a function that is triggered once the input mask loses focus\n */\n onBlur: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask loses focus',\n ),\n /**\n * Allows a function that is triggered once the input mask is pasted\n */\n onPaste: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask is pasted',\n ),\n /**\n * Allows a function that is triggered once in the input mask a keyboard key is released\n */\n onKeyUp: PropTypes.func.description(\n 'Allows a function that is triggered once in the input mask a keyboard key is released',\n ),\n /**\n * Default value once the component is initialized\n */\n value: PropTypes.string.description(\n 'Default value once the component is initialized',\n ),\n /**\n * Whether the input mask has error or not\n */\n hasError: PropTypes.bool.description(\n 'Whether the input mask has error or not',\n ),\n /**\n * Whether the input mask is read only or not\n */\n readOnly: PropTypes.bool.description(\n 'Whether the input mask is read only or not',\n ),\n innerRef: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.shape({ current: PropTypes.any }),\n ]).description('Whether the input mask is read only or not'),\n /**\n * Type of input. Ex: 'text'\n */\n type: PropTypes.string.description(\"Type of input. Ex: 'text'\"),\n /**\n * Whether the input mask is clearable or not\n */\n clearable: PropTypes.bool.description(\n 'Whether the input mask is clearable or not',\n ),\n /**\n * Component to be added at the right side of the input\n */\n leftComponent: PropTypes.node.description(\n 'Component to be added at the right side of the input',\n ),\n /**\n * Component to be added at the right side of the input\n */\n rightComponent: PropTypes.node.description(\n 'Component to be added at the right side of the input',\n ),\n /**\n * Mask that has to match with the input information entered\n * ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']\n */\n mask: PropTypes.oneOfType([\n PropTypes.array,\n PropTypes.string,\n PropTypes.func,\n ]).description(\n \"Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']\",\n ),\n /**\n Expects pipe functions. i.e. autoCorrectedDatePipe\n link a docu de text-mask\n */\n pipe: PropTypes.func.description(\n 'Expects pipe functions. i.e. autoCorrectedDatePipe',\n ),\n /**\n * Put a sufix after the input mask\n */\n useSubfix: PropTypes.string.description('Put a sufix after the input mask'),\n /**\n * The placeholder character represents the fillable spot in the mask.\n * The default placeholder character is underscore, _\n */\n placeholderChar: PropTypes.string\n .description(\n `The placeholder character represents the fillable spot in the mask.\n The default placeholder character is underscore, _.`,\n )\n .defaultValue('_'),\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAA0B;AAEnB,MAAM,aAAa;AAAA,EAExB,WAAW,4BAAU,KAAK,YAAY;AAAA,EAItC,OAAO,4BAAU,OAAO,YAAY;AAAA,EAIpC,UAAU,4BAAU,KAAK,YACvB;AAAA,EAGF,gBAAgB,4BAAU,KACvB,YAAY,2DACZ,aAAa;AAAA,EAEhB,WAAW,4BAAU,OAAO,YAAY;AAAA,EAExC,MAAM,4BAAU,OAAO,YAAY;AAAA,EAInC,WAAW,4BAAU,OAAO,YAAY;AAAA,EAIxC,WAAW,4BAAU,OAAO,YAAY;AAAA,EAIxC,YAAY,4BAAU,KAAK,YACzB;AAAA,EAGF,qBAAqB,4BAAU,KAC5B,YACC,kEAED,aAAa;AAAA,EAIhB,aAAa,4BAAU,KAAK,YAC1B;AAAA,EAKF,WAAW,4BAAU,KAAK,YACxB;AAAA,EAKF,SAAS,4BAAU,KAAK,YACtB;AAAA,EAKF,UAAU,4BAAU,KAAK,YACvB;AAAA,EAKF,SAAS,4BAAU,KAAK,YACtB;AAAA,EAKF,QAAQ,4BAAU,KAAK,YACrB;AAAA,EAKF,SAAS,4BAAU,KAAK,YACtB;AAAA,EAKF,SAAS,4BAAU,KAAK,YACtB;AAAA,EAKF,OAAO,4BAAU,OAAO,YACtB;AAAA,EAKF,UAAU,4BAAU,KAAK,YACvB;AAAA,EAKF,UAAU,4BAAU,KAAK,YACvB;AAAA,EAEF,UAAU,4BAAU,UAAU;AAAA,IAC5B,4BAAU;AAAA,IACV,4BAAU,MAAM,EAAE,SAAS,4BAAU;AAAA,KACpC,YAAY;AAAA,EAIf,MAAM,4BAAU,OAAO,YAAY;AAAA,EAInC,WAAW,4BAAU,KAAK,YACxB;AAAA,EAKF,eAAe,4BAAU,KAAK,YAC5B;AAAA,EAKF,gBAAgB,4BAAU,KAAK,YAC7B;AAAA,EAMF,MAAM,4BAAU,UAAU;AAAA,IACxB,4BAAU;AAAA,IACV,4BAAU;AAAA,IACV,4BAAU;AAAA,KACT,YACD;AAAA,EAMF,MAAM,4BAAU,KAAK,YACnB;AAAA,EAKF,WAAW,4BAAU,OAAO,YAAY;AAAA,EAKxC,iBAAiB,4BAAU,OACxB,YACC;AAAA,uDAGD,aAAa;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,2 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
9
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
10
|
+
for (let key of __getOwnPropNames(module2))
|
|
11
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
12
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
13
|
+
}
|
|
14
|
+
return target;
|
|
15
|
+
};
|
|
16
|
+
var __toESM = (module2, isNodeMode) => {
|
|
17
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
20
|
+
return (module2, temp) => {
|
|
21
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
22
|
+
};
|
|
23
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
24
|
+
var types_exports = {};
|
|
25
|
+
var React = __toESM(require("react"));
|
|
26
|
+
module.exports = __toCommonJS(types_exports);
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/InputMask/types/index.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["export type TCharsToAdd = [string, number][];\n\nexport type TLastkey = { code: number; key: string };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA,YAAuB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,17 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var setCaretPosition_exports = {};
|
|
29
|
+
__export(setCaretPosition_exports, {
|
|
30
|
+
default: () => setCaretPosition_default,
|
|
31
|
+
setCaretPosition: () => setCaretPosition
|
|
32
|
+
});
|
|
33
|
+
var React = __toESM(require("react"));
|
|
3
34
|
const setCaretPosition = (ctrl, pos) => {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
ctrl
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
range
|
|
11
|
-
range
|
|
12
|
-
range
|
|
13
|
-
range === null || range === void 0 ? void 0 : range.select();
|
|
35
|
+
if (ctrl?.setSelectionRange) {
|
|
36
|
+
ctrl?.focus();
|
|
37
|
+
ctrl?.setSelectionRange(pos, pos);
|
|
38
|
+
} else if (ctrl?.createTextRange) {
|
|
39
|
+
const range = ctrl?.createTextRange();
|
|
40
|
+
range?.collapse(true);
|
|
41
|
+
range?.moveEnd("character", pos);
|
|
42
|
+
range?.moveStart("character", pos);
|
|
43
|
+
range?.select();
|
|
14
44
|
}
|
|
15
45
|
};
|
|
16
|
-
|
|
17
|
-
module.exports =
|
|
46
|
+
var setCaretPosition_default = setCaretPosition;
|
|
47
|
+
module.exports = __toCommonJS(setCaretPosition_exports);
|
|
48
|
+
//# sourceMappingURL=setCaretPosition.js.map
|