@elliemae/ds-form 3.0.0-alpha.0 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/CheckboxGroup/DSCheckboxGroup.js +29 -15
- package/dist/cjs/CheckboxGroup/DSCheckboxGroup.js.map +1 -1
- package/dist/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js +65 -22
- package/dist/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +2 -2
- package/dist/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js +19 -5
- package/dist/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js.map +1 -1
- package/dist/cjs/ComboBoxFreeSolo/components/SingleValue.js +15 -3
- package/dist/cjs/ComboBoxFreeSolo/components/SingleValue.js.map +1 -1
- package/dist/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js +20 -7
- package/dist/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js.map +1 -1
- package/dist/cjs/DateInput/DSDateInput.js +46 -14
- package/dist/cjs/DateInput/DSDateInput.js.map +1 -1
- package/dist/cjs/DateInput/components/DateInputImpl.js +17 -4
- package/dist/cjs/DateInput/components/DateInputImpl.js.map +1 -1
- package/dist/cjs/DateInput/components/DateInputs.js +23 -9
- package/dist/cjs/DateInput/components/DateInputs.js.map +1 -1
- package/dist/cjs/DateInputV2/components/DateInputs.js +23 -9
- package/dist/cjs/DateInputV2/components/DateInputs.js.map +1 -1
- package/dist/cjs/ExpandableInput/ExpandableInputImpl.js +19 -3
- package/dist/cjs/ExpandableInput/ExpandableInputImpl.js.map +1 -1
- package/dist/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +17 -4
- package/dist/cjs/FloatingLabelInput/FloatingLabelInputImpl.js.map +1 -1
- package/dist/cjs/FormItem/DSFormItemLayout.js +118 -56
- package/dist/cjs/FormItem/DSFormItemLayout.js.map +1 -1
- package/dist/cjs/FormItem/ValidationFieldWrapper.js +19 -3
- package/dist/cjs/FormItem/ValidationFieldWrapper.js.map +1 -1
- package/dist/cjs/InputGroup/AddonWrapper.js +17 -4
- package/dist/cjs/InputGroup/AddonWrapper.js.map +1 -1
- package/dist/cjs/InputMask/DSInputMask.js +51 -19
- package/dist/cjs/InputMask/DSInputMask.js.map +1 -1
- package/dist/cjs/InputMask/DSInputMaskDeprecated.js +62 -11
- package/dist/cjs/InputMask/DSInputMaskDeprecated.js.map +1 -1
- package/dist/cjs/InputMask/MaskTypes.js +17 -3
- package/dist/cjs/InputMask/MaskTypes.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/DateInputMask.js +97 -37
- package/dist/cjs/InputMask/mask_types/DateInputMask.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/DateTimeInputMask.js +97 -37
- package/dist/cjs/InputMask/mask_types/DateTimeInputMask.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/DictionaryInputMask.js +103 -40
- package/dist/cjs/InputMask/mask_types/DictionaryInputMask.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/NumberInputMask.js +121 -49
- package/dist/cjs/InputMask/mask_types/NumberInputMask.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/PhoneInputMask.js +97 -37
- package/dist/cjs/InputMask/mask_types/PhoneInputMask.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +97 -37
- package/dist/cjs/InputMask/mask_types/PhoneInternationalInputMask.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/SsnInputMask.js +97 -37
- package/dist/cjs/InputMask/mask_types/SsnInputMask.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/UsZipCodeInputMask.js +97 -37
- package/dist/cjs/InputMask/mask_types/UsZipCodeInputMask.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +97 -37
- package/dist/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js.map +1 -1
- package/dist/cjs/InputMask/mask_types/index.js +119 -79
- package/dist/cjs/InputMask/mask_types/index.js.map +1 -1
- package/dist/cjs/InputProtected/DSInputProtected.js +51 -14
- package/dist/cjs/InputProtected/DSInputProtected.js.map +1 -1
- package/dist/cjs/LargeInputText/DSLargeInputText.js +19 -3
- package/dist/cjs/LargeInputText/DSLargeInputText.js.map +1 -1
- package/dist/cjs/Radio/DSRadio.js +65 -23
- package/dist/cjs/Radio/DSRadio.js.map +1 -1
- package/dist/cjs/RadioGroup/DSRadioGroup.js +29 -15
- package/dist/cjs/RadioGroup/DSRadioGroup.js.map +1 -1
- package/dist/cjs/TimeInput/DSTimeInput.js +40 -8
- package/dist/cjs/TimeInput/DSTimeInput.js.map +1 -1
- package/dist/cjs/TimeInput/TimeInputImpl.js +17 -4
- package/dist/cjs/TimeInput/TimeInputImpl.js.map +1 -1
- package/dist/cjs/TimeInput/TimeInputs.js +25 -12
- package/dist/cjs/TimeInput/TimeInputs.js.map +1 -1
- package/dist/cjs/Toggle/DSToggle.js +66 -25
- package/dist/cjs/Toggle/DSToggle.js.map +1 -1
- package/dist/cjs/Toggle/DSToggleImpl.js +22 -7
- package/dist/cjs/Toggle/DSToggleImpl.js.map +1 -1
- package/dist/cjs/Toggle/DSToggleRender.js +24 -10
- package/dist/cjs/Toggle/DSToggleRender.js.map +1 -1
- package/dist/esm/CheckboxGroup/DSCheckboxGroup.js +31 -15
- package/dist/esm/CheckboxGroup/DSCheckboxGroup.js.map +1 -1
- package/dist/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +67 -22
- package/dist/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +2 -2
- package/dist/esm/ComboBoxFreeSolo/components/MultiValueRemove.js +21 -5
- package/dist/esm/ComboBoxFreeSolo/components/MultiValueRemove.js.map +1 -1
- package/dist/esm/ComboBoxFreeSolo/components/SingleValue.js +17 -3
- package/dist/esm/ComboBoxFreeSolo/components/SingleValue.js.map +1 -1
- package/dist/esm/ComboBoxFreeSolo/components/SingleValueRemove.js +22 -7
- package/dist/esm/ComboBoxFreeSolo/components/SingleValueRemove.js.map +1 -1
- package/dist/esm/DateInput/DSDateInput.js +48 -14
- package/dist/esm/DateInput/DSDateInput.js.map +1 -1
- package/dist/esm/DateInput/components/DateInputImpl.js +19 -4
- package/dist/esm/DateInput/components/DateInputImpl.js.map +1 -1
- package/dist/esm/DateInput/components/DateInputs.js +25 -9
- package/dist/esm/DateInput/components/DateInputs.js.map +1 -1
- package/dist/esm/DateInputV2/components/DateInputs.js +25 -9
- package/dist/esm/DateInputV2/components/DateInputs.js.map +1 -1
- package/dist/esm/ExpandableInput/ExpandableInputImpl.js +21 -3
- package/dist/esm/ExpandableInput/ExpandableInputImpl.js.map +1 -1
- package/dist/esm/FloatingLabelInput/FloatingLabelInputImpl.js +19 -4
- package/dist/esm/FloatingLabelInput/FloatingLabelInputImpl.js.map +1 -1
- package/dist/esm/FormItem/DSFormItemLayout.js +120 -56
- package/dist/esm/FormItem/DSFormItemLayout.js.map +1 -1
- package/dist/esm/FormItem/ValidationFieldWrapper.js +21 -3
- package/dist/esm/FormItem/ValidationFieldWrapper.js.map +1 -1
- package/dist/esm/InputGroup/AddonWrapper.js +19 -4
- package/dist/esm/InputGroup/AddonWrapper.js.map +1 -1
- package/dist/esm/InputMask/DSInputMask.js +53 -19
- package/dist/esm/InputMask/DSInputMask.js.map +1 -1
- package/dist/esm/InputMask/DSInputMaskDeprecated.js +64 -11
- package/dist/esm/InputMask/DSInputMaskDeprecated.js.map +1 -1
- package/dist/esm/InputMask/MaskTypes.js +19 -3
- package/dist/esm/InputMask/MaskTypes.js.map +1 -1
- package/dist/esm/InputMask/mask_types/DateInputMask.js +99 -37
- package/dist/esm/InputMask/mask_types/DateInputMask.js.map +1 -1
- package/dist/esm/InputMask/mask_types/DateTimeInputMask.js +99 -37
- package/dist/esm/InputMask/mask_types/DateTimeInputMask.js.map +1 -1
- package/dist/esm/InputMask/mask_types/DictionaryInputMask.js +105 -40
- package/dist/esm/InputMask/mask_types/DictionaryInputMask.js.map +1 -1
- package/dist/esm/InputMask/mask_types/NumberInputMask.js +123 -49
- package/dist/esm/InputMask/mask_types/NumberInputMask.js.map +1 -1
- package/dist/esm/InputMask/mask_types/PhoneInputMask.js +99 -37
- package/dist/esm/InputMask/mask_types/PhoneInputMask.js.map +1 -1
- package/dist/esm/InputMask/mask_types/PhoneInternationalInputMask.js +99 -37
- package/dist/esm/InputMask/mask_types/PhoneInternationalInputMask.js.map +1 -1
- package/dist/esm/InputMask/mask_types/SsnInputMask.js +99 -37
- package/dist/esm/InputMask/mask_types/SsnInputMask.js.map +1 -1
- package/dist/esm/InputMask/mask_types/UsZipCodeInputMask.js +99 -37
- package/dist/esm/InputMask/mask_types/UsZipCodeInputMask.js.map +1 -1
- package/dist/esm/InputMask/mask_types/ZipCodeSearchInputMask.js +99 -37
- package/dist/esm/InputMask/mask_types/ZipCodeSearchInputMask.js.map +1 -1
- package/dist/esm/InputMask/mask_types/index.js +121 -79
- package/dist/esm/InputMask/mask_types/index.js.map +1 -1
- package/dist/esm/InputProtected/DSInputProtected.js +53 -14
- package/dist/esm/InputProtected/DSInputProtected.js.map +1 -1
- package/dist/esm/LargeInputText/DSLargeInputText.js +21 -3
- package/dist/esm/LargeInputText/DSLargeInputText.js.map +1 -1
- package/dist/esm/Radio/DSRadio.js +67 -23
- package/dist/esm/Radio/DSRadio.js.map +1 -1
- package/dist/esm/RadioGroup/DSRadioGroup.js +31 -15
- package/dist/esm/RadioGroup/DSRadioGroup.js.map +1 -1
- package/dist/esm/TimeInput/DSTimeInput.js +42 -8
- package/dist/esm/TimeInput/DSTimeInput.js.map +1 -1
- package/dist/esm/TimeInput/TimeInputImpl.js +19 -4
- package/dist/esm/TimeInput/TimeInputImpl.js.map +1 -1
- package/dist/esm/TimeInput/TimeInputs.js +27 -12
- package/dist/esm/TimeInput/TimeInputs.js.map +1 -1
- package/dist/esm/Toggle/DSToggle.js +68 -25
- package/dist/esm/Toggle/DSToggle.js.map +1 -1
- package/dist/esm/Toggle/DSToggleImpl.js +24 -7
- package/dist/esm/Toggle/DSToggleImpl.js.map +1 -1
- package/dist/esm/Toggle/DSToggleRender.js +26 -10
- package/dist/esm/Toggle/DSToggleRender.js.map +1 -1
- package/package.json +13 -12
- package/dist/types/Checkbox/DSCheckbox.d.ts +0 -0
- package/dist/types/Checkbox/defaultProps.d.ts +0 -0
- package/dist/types/Checkbox/elements/CheckMark.d.ts +0 -0
- package/dist/types/Checkbox/index.d.ts +0 -1
- package/dist/types/Checkbox/props.d.ts +0 -0
- package/dist/types/Checkbox/tests/DSCheckbox.events.test.d.ts +0 -0
- package/dist/types/CheckboxGroup/DSCheckboxGroup.d.ts +0 -72
- package/dist/types/CheckboxGroup/defaultProps.d.ts +0 -14
- package/dist/types/CheckboxGroup/index.d.ts +0 -1
- package/dist/types/CheckboxGroup/props.d.ts +0 -57
- package/dist/types/CheckboxGroup/tests/DSCheckboxGroup.events.test.d.ts +0 -1
- package/dist/types/ComboBox/DSComboBox.d.ts +0 -1
- package/dist/types/ComboBox/index.d.ts +0 -1
- package/dist/types/ComboBox/v1/DSComboBox.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/AllOption.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/ClearIndicator.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/Control.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/CustomOption.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/CustomOptionMulti.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/DropdownIndicator.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/MenuList.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/MultiSelectHeader.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/MultiValueLabel.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/MultiValueRemove.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/SelectMenu.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/SingleValueLabel.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/ValueContainer.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/calculateWidth.d.ts +0 -0
- package/dist/types/ComboBox/v1/components/getoptions.d.ts +0 -0
- package/dist/types/ComboBox/v1/index.d.ts +0 -1
- package/dist/types/ComboBox/v1/withSelectStringValueConverter.d.ts +0 -0
- package/dist/types/ComboBox/v2/Combobox.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/AllOption.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/ClearIndicator.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/Content.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/Control.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/CustomOption.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/CustomOptionMulti.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/DropdownIndicator.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/GroupHeading.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/IndicatorSeparator.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/LoadingIndicator.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/MenuList.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/MultiSelectHeader.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/MultiValueLabel.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/MultiValueRemove.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/SelectMenu.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/SingleValueLabel.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/ValueContainer.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/calculateWidth.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/getoptions.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/tests/ClearIndicator.test.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/useMenuListHeight.d.ts +0 -0
- package/dist/types/ComboBox/v2/components/utils.d.ts +0 -0
- package/dist/types/ComboBox/v2/context.d.ts +0 -0
- package/dist/types/ComboBox/v2/index.d.ts +0 -0
- package/dist/types/ComboBox/v2/mockOptions.d.ts +0 -0
- package/dist/types/ComboBox/v2/tests/Combobox.test.d.ts +0 -0
- package/dist/types/ComboBox/v2/withSelectStringValueConverter.d.ts +0 -0
- package/dist/types/ComboBox/v3/ComboBox.d.ts +0 -0
- package/dist/types/ComboBox/v3/ComboBoxCTX.d.ts +0 -0
- package/dist/types/ComboBox/v3/ComboboxDataTestids.d.ts +0 -0
- package/dist/types/ComboBox/v3/config/constants.d.ts +0 -0
- package/dist/types/ComboBox/v3/config/useComboBox.d.ts +0 -0
- package/dist/types/ComboBox/v3/config/useGetPropsWithDefault.d.ts +0 -0
- package/dist/types/ComboBox/v3/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/container/Container.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/container/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/container/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/controls/Controls.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/controls/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/controls/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/controls-input/ControlsInput.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/controls-input/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/controls-input/useControlsInput.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/dropdown-indicator/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/empty-state/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/empty-state/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/header-list/HeaderList.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/header-list/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/header-list/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/header-list/useHeaderListHandlers.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/menu-list/MenuList.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/menu-list/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/menu-list/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/menu-list/useItemRenderer.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/menu-list/useMenuList.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/single-selected-value-container/index.d.ts +0 -0
- package/dist/types/ComboBox/v3/parts/single-selected-value-container/styled.d.ts +0 -0
- package/dist/types/ComboBox/v3/propTypes.d.ts +0 -0
- package/dist/types/ComboBox/v3/tests/combobox-general.test.d.ts +0 -0
- package/dist/types/ComboBox/v3/tests/combobox-multi-select.test.d.ts +0 -0
- package/dist/types/ComboBox/v3/tests/combobox-single-select.test.d.ts +0 -0
- package/dist/types/ComboBox/v3/tests/combobox-special-keys.test.d.ts +0 -0
- package/dist/types/ComboBox/v3/tests/utils.d.ts +0 -0
- package/dist/types/ComboBox/v3/utils/hooks/useKeyboardNavigation.d.ts +0 -0
- package/dist/types/ComboBox/v3/utils/hooks/useOnElementResize.d.ts +0 -0
- package/dist/types/ComboBox/v3/utils/listHelper.d.ts +0 -0
- package/dist/types/ComboBoxFreeSolo/ComboBoxFreeSolo.d.ts +0 -78
- package/dist/types/ComboBoxFreeSolo/components/MultiValueLabel.d.ts +0 -6
- package/dist/types/ComboBoxFreeSolo/components/MultiValueRemove.d.ts +0 -6
- package/dist/types/ComboBoxFreeSolo/components/SingleValue.d.ts +0 -3
- package/dist/types/ComboBoxFreeSolo/components/SingleValueRemove.d.ts +0 -6
- package/dist/types/ComboBoxFreeSolo/index.d.ts +0 -1
- package/dist/types/DateInput/DSDateInput.d.ts +0 -143
- package/dist/types/DateInput/components/DateInputImpl.d.ts +0 -41
- package/dist/types/DateInput/components/DateInputs.d.ts +0 -41
- package/dist/types/DateInput/components/utils.d.ts +0 -40
- package/dist/types/DateInput/defaultProps.d.ts +0 -18
- package/dist/types/DateInput/index.d.ts +0 -1
- package/dist/types/DateInput/props.d.ts +0 -173
- package/dist/types/DateInput/tests/DSDateInput.events.test.d.ts +0 -1
- package/dist/types/DateInputV2/components/DSDateInput.d.ts +0 -97
- package/dist/types/DateInputV2/components/DateInputs.d.ts +0 -33
- package/dist/types/DateInputV2/components/helpers.d.ts +0 -1
- package/dist/types/DateInputV2/components/props.d.ts +0 -104
- package/dist/types/DateInputV2/components/propsTypes.d.ts +0 -21
- package/dist/types/DateInputV2/components/styled.d.ts +0 -5
- package/dist/types/DateInputV2/components/utils.d.ts +0 -42
- package/dist/types/DateInputV2/index.d.ts +0 -2
- package/dist/types/DateInputV2/tests/DateInput.test.d.ts +0 -1
- package/dist/types/ExpandableInput/DSExpandableInput.d.ts +0 -16
- package/dist/types/ExpandableInput/ExpandableInputImpl.d.ts +0 -7
- package/dist/types/ExpandableInput/index.d.ts +0 -1
- package/dist/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +0 -44
- package/dist/types/FloatingLabelInput/FloatingLabelInputImpl.d.ts +0 -27
- package/dist/types/FloatingLabelInput/getSvgPath.d.ts +0 -10
- package/dist/types/FloatingLabelInput/index.d.ts +0 -1
- package/dist/types/FormItem/DSFormItemLayout.d.ts +0 -335
- package/dist/types/FormItem/Error/DSError.d.ts +0 -31
- package/dist/types/FormItem/Feedback.d.ts +0 -7
- package/dist/types/FormItem/Label/DSLabel.d.ts +0 -24
- package/dist/types/FormItem/Suffix/Suffix.d.ts +0 -4
- package/dist/types/FormItem/ValidationFieldWrapper.d.ts +0 -19
- package/dist/types/FormItem/defaultProps.d.ts +0 -52
- package/dist/types/FormItem/index.d.ts +0 -2
- package/dist/types/FormItem/props.d.ts +0 -270
- package/dist/types/FormItem/tests/DSFormItem.events.test.d.ts +0 -1
- package/dist/types/FormItem/variants.d.ts +0 -8
- package/dist/types/Input/DSInput.d.ts +0 -0
- package/dist/types/Input/InputAddonWrapper.d.ts +0 -0
- package/dist/types/Input/InputImpl.d.ts +0 -0
- package/dist/types/Input/index.d.ts +0 -1
- package/dist/types/Input/tests/Input.test.d.ts +0 -0
- package/dist/types/InputGroup/AddonWrapper.d.ts +0 -8
- package/dist/types/InputGroup/DSInputGroup.d.ts +0 -72
- package/dist/types/InputGroup/defaultProps.d.ts +0 -8
- package/dist/types/InputGroup/index.d.ts +0 -1
- package/dist/types/InputGroup/props.d.ts +0 -60
- package/dist/types/InputGroup/tests/DSInputGroup.events.test.d.ts +0 -1
- package/dist/types/InputMask/DSInputMask.d.ts +0 -218
- package/dist/types/InputMask/DSInputMaskDeprecated.d.ts +0 -18
- package/dist/types/InputMask/InputMaskContext.d.ts +0 -18
- package/dist/types/InputMask/MaskPipes.d.ts +0 -18
- package/dist/types/InputMask/MaskTypes.d.ts +0 -15
- package/dist/types/InputMask/addons/AutoCorrectedDatePipe.d.ts +0 -8
- package/dist/types/InputMask/defaultProps.d.ts +0 -28
- package/dist/types/InputMask/index.d.ts +0 -1
- package/dist/types/InputMask/mask_types/DateInputMask.d.ts +0 -75
- package/dist/types/InputMask/mask_types/DateTimeInputMask.d.ts +0 -75
- package/dist/types/InputMask/mask_types/DictionaryInputMask.d.ts +0 -81
- package/dist/types/InputMask/mask_types/NumberInputMask.d.ts +0 -99
- package/dist/types/InputMask/mask_types/PhoneInputMask.d.ts +0 -75
- package/dist/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +0 -75
- package/dist/types/InputMask/mask_types/SsnInputMask.d.ts +0 -75
- package/dist/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +0 -75
- package/dist/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +0 -75
- package/dist/types/InputMask/mask_types/index.d.ts +0 -42
- package/dist/types/InputMask/props.d.ts +0 -254
- package/dist/types/InputMask/tests/DSInputMask.test.d.ts +0 -1
- package/dist/types/InputMask/tests/NumberInputMask.test.d.ts +0 -1
- package/dist/types/InputMask/tests/events/DateInputMask.events.test.d.ts +0 -1
- package/dist/types/InputMask/tests/events/DateTimeInputMask.events.test.d.ts +0 -1
- package/dist/types/InputMask/tests/events/NumberInputMask.events.test.d.ts +0 -1
- package/dist/types/InputMask/tests/events/PercentInputMask.events.test.d.ts +0 -1
- package/dist/types/InputMask/tests/events/PhoneInputMask.events.test.d.ts +0 -1
- package/dist/types/InputMask/tests/events/PhoneInternationalInputMask.events.test.d.ts +0 -1
- package/dist/types/InputMask/tests/events/SsnInputMask.events.test.d.ts +0 -1
- package/dist/types/InputMask/tests/events/UsZipCodeInputMask.events.test.d.ts +0 -1
- package/dist/types/InputMask/tests/events/ZipCodeSearchInputMask.events.test.d.ts +0 -1
- package/dist/types/InputMask/types/index.d.ts +0 -5
- package/dist/types/InputMask/utils/setCaretPosition.d.ts +0 -3
- package/dist/types/InputProtected/DSInputProtected.d.ts +0 -70
- package/dist/types/InputProtected/defaultProps.d.ts +0 -4
- package/dist/types/InputProtected/index.d.ts +0 -2
- package/dist/types/InputProtected/options.d.ts +0 -8
- package/dist/types/InputProtected/props.d.ts +0 -49
- package/dist/types/InputProtected/tests/DSInputProtected.events.test.d.ts +0 -1
- package/dist/types/InputProtected/tests/DSInputProtected.test.d.ts +0 -1
- package/dist/types/LargeInputText/DSLargeInputText.d.ts +0 -233
- package/dist/types/LargeInputText/defaultProps.d.ts +0 -31
- package/dist/types/LargeInputText/index.d.ts +0 -1
- package/dist/types/LargeInputText/props.d.ts +0 -231
- package/dist/types/LargeInputText/tests/DSLargeInputText.events.test.d.ts +0 -1
- package/dist/types/LargeInputText/tests/DSLargeInputText.test.d.ts +0 -1
- package/dist/types/MenuItem/components/MenuItem/index.d.ts +0 -0
- package/dist/types/MenuItem/components/MenuItem/styled.d.ts +0 -0
- package/dist/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +0 -0
- package/dist/types/MenuItem/components/MultiMenuItem/styled.d.ts +0 -0
- package/dist/types/MenuItem/components/Section/index.d.ts +0 -0
- package/dist/types/MenuItem/components/Section/props.d.ts +0 -0
- package/dist/types/MenuItem/components/Section/styled.d.ts +0 -0
- package/dist/types/MenuItem/components/Separator/index.d.ts +0 -0
- package/dist/types/MenuItem/components/Separator/styled.d.ts +0 -0
- package/dist/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +0 -0
- package/dist/types/MenuItem/components/SubmenuItem/index.d.ts +0 -0
- package/dist/types/MenuItem/components/SubmenuItem/styled.d.ts +0 -0
- package/dist/types/MenuItem/components/index.d.ts +0 -0
- package/dist/types/MenuItem/components/styled.d.ts +0 -0
- package/dist/types/MenuItem/index.d.ts +0 -0
- package/dist/types/MenuItem/props.d.ts +0 -0
- package/dist/types/Radio/Circle.d.ts +0 -8
- package/dist/types/Radio/DSRadio.d.ts +0 -157
- package/dist/types/Radio/index.d.ts +0 -1
- package/dist/types/RadioGroup/DSRadioGroup.d.ts +0 -72
- package/dist/types/RadioGroup/defaultProps.d.ts +0 -12
- package/dist/types/RadioGroup/index.d.ts +0 -1
- package/dist/types/RadioGroup/props.d.ts +0 -56
- package/dist/types/RadioGroup/tests/DSRadioGroup.events.test.d.ts +0 -1
- package/dist/types/RequiredMark/RequiredMark.d.ts +0 -7
- package/dist/types/RequiredMark/index.d.ts +0 -1
- package/dist/types/SearchBox/DSSearchBox.d.ts +0 -0
- package/dist/types/SearchBox/NavSearchBox.d.ts +0 -0
- package/dist/types/SearchBox/SButton.d.ts +0 -0
- package/dist/types/SearchBox/SearchBoxToggle.d.ts +0 -0
- package/dist/types/SearchBox/defaultProps.d.ts +0 -0
- package/dist/types/SearchBox/index.d.ts +0 -1
- package/dist/types/SearchBox/props.d.ts +0 -0
- package/dist/types/SearchBox/styled.d.ts +0 -0
- package/dist/types/SearchBox/tests/DSNavSearchBox.events.test.d.ts +0 -0
- package/dist/types/SearchBox/tests/DSSearchBox.events.test.d.ts +0 -0
- package/dist/types/SearchBox/tests/DSSearchBox.test.d.ts +0 -0
- package/dist/types/SearchBox/useSearch.d.ts +0 -0
- package/dist/types/SearchBox/withSearchable.d.ts +0 -0
- package/dist/types/TextBox/DSTextBox.d.ts +0 -0
- package/dist/types/TextBox/index.d.ts +0 -1
- package/dist/types/TextBox/tests/DSTextBox.test.d.ts +0 -0
- package/dist/types/TimeInput/DSTimeInput.d.ts +0 -122
- package/dist/types/TimeInput/TimeInputImpl.d.ts +0 -56
- package/dist/types/TimeInput/TimeInputs.d.ts +0 -18
- package/dist/types/TimeInput/index.d.ts +0 -1
- package/dist/types/TimeInput/utils.d.ts +0 -39
- package/dist/types/Toggle/DSToggle.d.ts +0 -134
- package/dist/types/Toggle/DSToggleImpl.d.ts +0 -57
- package/dist/types/Toggle/DSToggleRender.d.ts +0 -33
- package/dist/types/Toggle/index.d.ts +0 -1
- package/dist/types/Toggle/props.d.ts +0 -47
- package/dist/types/Toggle/toggleHelper.d.ts +0 -24
- package/dist/types/index.d.ts +0 -21
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { DateInputImpl } from './components/DateInputImpl';
|
|
4
|
-
declare const DSDateInput: {
|
|
5
|
-
({ innerRef, className, style, onFocus, onBlur, onClear, onChange, onKeyDown, onError, format, value, clearable, disabled, yearMaxRange, yearMinRange, containerProps, INTERNAL_V2_NO_MUTATION, }: {
|
|
6
|
-
innerRef: any;
|
|
7
|
-
className: any;
|
|
8
|
-
style: any;
|
|
9
|
-
onFocus: any;
|
|
10
|
-
onBlur: any;
|
|
11
|
-
onClear: any;
|
|
12
|
-
onChange: any;
|
|
13
|
-
onKeyDown: any;
|
|
14
|
-
onError: any;
|
|
15
|
-
format: any;
|
|
16
|
-
value: any;
|
|
17
|
-
clearable: any;
|
|
18
|
-
disabled: any;
|
|
19
|
-
yearMaxRange: any;
|
|
20
|
-
yearMinRange: any;
|
|
21
|
-
containerProps: any;
|
|
22
|
-
INTERNAL_V2_NO_MUTATION: any;
|
|
23
|
-
}): JSX.Element;
|
|
24
|
-
propTypes: {
|
|
25
|
-
containerProps: {
|
|
26
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
-
};
|
|
29
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
-
};
|
|
31
|
-
innerRef: {
|
|
32
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
-
};
|
|
35
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
|
-
};
|
|
37
|
-
className: {
|
|
38
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
-
};
|
|
41
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
|
-
};
|
|
43
|
-
style: {
|
|
44
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
45
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
-
};
|
|
47
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
48
|
-
};
|
|
49
|
-
onBlur: {
|
|
50
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
51
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
|
-
};
|
|
53
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
54
|
-
};
|
|
55
|
-
onFocus: {
|
|
56
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
57
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
-
};
|
|
59
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
60
|
-
};
|
|
61
|
-
onClear: {
|
|
62
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
63
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
|
-
};
|
|
65
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
66
|
-
};
|
|
67
|
-
onKeyDown: {
|
|
68
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
69
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
-
};
|
|
71
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
72
|
-
};
|
|
73
|
-
onChange: {
|
|
74
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
75
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
76
|
-
};
|
|
77
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
78
|
-
};
|
|
79
|
-
onError: {
|
|
80
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
81
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
82
|
-
};
|
|
83
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
84
|
-
};
|
|
85
|
-
format: {
|
|
86
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
87
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
88
|
-
};
|
|
89
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
90
|
-
};
|
|
91
|
-
value: {
|
|
92
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
93
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
94
|
-
};
|
|
95
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
96
|
-
};
|
|
97
|
-
clearable: {
|
|
98
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
99
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
100
|
-
};
|
|
101
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
102
|
-
};
|
|
103
|
-
disabled: {
|
|
104
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
105
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
106
|
-
};
|
|
107
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
108
|
-
};
|
|
109
|
-
yearMaxRange: {
|
|
110
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
111
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
112
|
-
};
|
|
113
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
114
|
-
};
|
|
115
|
-
yearMinRange: {
|
|
116
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
117
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
118
|
-
};
|
|
119
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
defaultProps: {
|
|
123
|
-
className: string;
|
|
124
|
-
style: {};
|
|
125
|
-
onFocus: () => null;
|
|
126
|
-
onBlur: () => null;
|
|
127
|
-
onClear: () => null;
|
|
128
|
-
onChange: () => null;
|
|
129
|
-
onKeyDown: () => null;
|
|
130
|
-
onError: () => null;
|
|
131
|
-
format: string;
|
|
132
|
-
value: string;
|
|
133
|
-
clearable: boolean;
|
|
134
|
-
disabled: boolean;
|
|
135
|
-
yearMaxRange: number;
|
|
136
|
-
yearMinRange: number;
|
|
137
|
-
containerProps: {};
|
|
138
|
-
INTERNAL_V2_NO_MUTATION: boolean;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
declare const DSDateInputWithSchema: any;
|
|
142
|
-
export { DateInputImpl, DSDateInputWithSchema, DSDateInput };
|
|
143
|
-
export default DSDateInput;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
declare const DateInputImpl: {
|
|
4
|
-
({ format, innerRef, onBlur, onChange, onKeyDown, onError, className, value, disabled, yearMaxRange, yearMinRange, onFocus, INTERNAL_V2_NO_MUTATION, }: {
|
|
5
|
-
format: any;
|
|
6
|
-
innerRef: any;
|
|
7
|
-
onBlur: any;
|
|
8
|
-
onChange: any;
|
|
9
|
-
onKeyDown: any;
|
|
10
|
-
onError: any;
|
|
11
|
-
className: any;
|
|
12
|
-
value: any;
|
|
13
|
-
disabled: any;
|
|
14
|
-
yearMaxRange: any;
|
|
15
|
-
yearMinRange: any;
|
|
16
|
-
onFocus: any;
|
|
17
|
-
INTERNAL_V2_NO_MUTATION: any;
|
|
18
|
-
}): JSX.Element;
|
|
19
|
-
propTypes: {
|
|
20
|
-
innerRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
|
|
21
|
-
current: PropTypes.Requireable<any>;
|
|
22
|
-
}>>;
|
|
23
|
-
onBlur: PropTypes.Requireable<boolean>;
|
|
24
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
25
|
-
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
26
|
-
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
-
format: PropTypes.Requireable<string>;
|
|
28
|
-
showMonth: PropTypes.Requireable<boolean>;
|
|
29
|
-
className: PropTypes.Requireable<string>;
|
|
30
|
-
showDay: PropTypes.Requireable<boolean>;
|
|
31
|
-
showYear: PropTypes.Requireable<boolean>;
|
|
32
|
-
step: PropTypes.Requireable<number>;
|
|
33
|
-
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
34
|
-
yearMaxRange: PropTypes.Requireable<number>;
|
|
35
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
36
|
-
yearMinRange: PropTypes.Requireable<number>;
|
|
37
|
-
value: PropTypes.Requireable<unknown>;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export { DateInputImpl };
|
|
41
|
-
export default DateInputImpl;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
declare const DateInputs: {
|
|
4
|
-
({ innerRef, onBlur, onChange, onCustomKeyDown, onError, format, showMonth, showDay, showYear, step, yearMaxRange, disabled, yearMinRange, time, INTERNAL_V2_NO_MUTATION, }: {
|
|
5
|
-
innerRef: any;
|
|
6
|
-
onBlur: any;
|
|
7
|
-
onChange: any;
|
|
8
|
-
onCustomKeyDown: any;
|
|
9
|
-
onError: any;
|
|
10
|
-
format?: string | undefined;
|
|
11
|
-
showMonth?: boolean | undefined;
|
|
12
|
-
showDay?: boolean | undefined;
|
|
13
|
-
showYear?: boolean | undefined;
|
|
14
|
-
step?: number | undefined;
|
|
15
|
-
yearMaxRange: any;
|
|
16
|
-
disabled: any;
|
|
17
|
-
yearMinRange: any;
|
|
18
|
-
time: any;
|
|
19
|
-
INTERNAL_V2_NO_MUTATION: any;
|
|
20
|
-
}): JSX.Element;
|
|
21
|
-
propTypes: {
|
|
22
|
-
innerRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
|
|
23
|
-
current: PropTypes.Requireable<any>;
|
|
24
|
-
}>>;
|
|
25
|
-
onBlur: PropTypes.Requireable<boolean>;
|
|
26
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
-
onCustomKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
28
|
-
onError: PropTypes.Requireable<(...args: any[]) => any>;
|
|
29
|
-
format: PropTypes.Requireable<string>;
|
|
30
|
-
showMonth: PropTypes.Requireable<boolean>;
|
|
31
|
-
showDay: PropTypes.Requireable<boolean>;
|
|
32
|
-
showYear: PropTypes.Requireable<boolean>;
|
|
33
|
-
step: PropTypes.Requireable<number>;
|
|
34
|
-
yearMaxRange: PropTypes.Requireable<number>;
|
|
35
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
36
|
-
yearMinRange: PropTypes.Requireable<number>;
|
|
37
|
-
time: PropTypes.Requireable<unknown>;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export { DateInputs };
|
|
41
|
-
export default DateInputs;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export declare const isArrowIncrementDecrement: (key: any) => boolean;
|
|
2
|
-
export declare const setNativeValue: (element: any, value: any) => void;
|
|
3
|
-
export declare const formatDay: (format: any, value: any) => string;
|
|
4
|
-
export declare const formatYear: (format: any, value: any) => string;
|
|
5
|
-
export declare const formatMonth: (format: any, value: any) => string;
|
|
6
|
-
export declare const parseTimeNumberFromText: (stringValue: any) => number | null;
|
|
7
|
-
export declare const triggerOnBlur: (blurEvent: any, onBlur?: () => void) => void;
|
|
8
|
-
export declare const focusNextInput: (currentEl: any) => void;
|
|
9
|
-
export declare const focusPreviousInput: (currentEl: any) => void;
|
|
10
|
-
export declare const getValidTimeNumber: ({ min, max }: {
|
|
11
|
-
min: any;
|
|
12
|
-
max: any;
|
|
13
|
-
}, number: any, valueString?: string, onError?: () => null) => any;
|
|
14
|
-
export declare const shouldFocusNextInput: (max: any, number: number | undefined, stringValue: any) => boolean;
|
|
15
|
-
export declare const getDateValuesFromTime: (time: any, format: any) => {
|
|
16
|
-
month?: undefined;
|
|
17
|
-
day?: undefined;
|
|
18
|
-
year?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
month: string;
|
|
21
|
-
day: string;
|
|
22
|
-
year: string;
|
|
23
|
-
};
|
|
24
|
-
export declare const resetTimeValues: () => {
|
|
25
|
-
month: string;
|
|
26
|
-
day: string;
|
|
27
|
-
year: string;
|
|
28
|
-
};
|
|
29
|
-
export declare const onInputFocus: (e: any) => void;
|
|
30
|
-
export declare const getNextTimeValue: (value: any, target: any, yearMinRange: any, yearMaxRange: any, step?: number, incrementing?: boolean) => number;
|
|
31
|
-
export declare const focusNextInputIfNeeded: (currentEl: any, max: any, number: any, stringValue: any, currentKey: any) => void;
|
|
32
|
-
export declare const commonInputProps: (digits: number | undefined, onKeyDown: any, placeholder: any) => {
|
|
33
|
-
pattern: string;
|
|
34
|
-
placeholder: any;
|
|
35
|
-
type: string;
|
|
36
|
-
onKeyDown: any;
|
|
37
|
-
onFocus: (e: any) => void;
|
|
38
|
-
};
|
|
39
|
-
export declare const handleCompletedDate: (time: any, date: any, show: any, INTERNAL_V2_NO_MUTATION: any) => any;
|
|
40
|
-
export declare const isTimeCompletelySet: (date: any, show: any, range: any) => boolean;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const defaultProps: {
|
|
2
|
-
className: string;
|
|
3
|
-
style: {};
|
|
4
|
-
onFocus: () => null;
|
|
5
|
-
onBlur: () => null;
|
|
6
|
-
onClear: () => null;
|
|
7
|
-
onChange: () => null;
|
|
8
|
-
onKeyDown: () => null;
|
|
9
|
-
onError: () => null;
|
|
10
|
-
format: string;
|
|
11
|
-
value: string;
|
|
12
|
-
clearable: boolean;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
yearMaxRange: number;
|
|
15
|
-
yearMinRange: number;
|
|
16
|
-
containerProps: {};
|
|
17
|
-
INTERNAL_V2_NO_MUTATION: boolean;
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DSDateInput';
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
export declare const props: {
|
|
3
|
-
/** props injected to date input wrapper node */
|
|
4
|
-
containerProps: {
|
|
5
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
-
};
|
|
8
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
9
|
-
* Triggers the onFocus when the component gets the focus
|
|
10
|
-
*/
|
|
11
|
-
};
|
|
12
|
-
/** inner ref for input wrapper */
|
|
13
|
-
innerRef: {
|
|
14
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
-
};
|
|
17
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
18
|
-
* Triggers the onFocus when the component gets the focus
|
|
19
|
-
*/
|
|
20
|
-
};
|
|
21
|
-
/** class for input */
|
|
22
|
-
className: {
|
|
23
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
-
};
|
|
26
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
27
|
-
* Triggers the onFocus when the component gets the focus
|
|
28
|
-
*/
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Set style for the date input
|
|
32
|
-
*/
|
|
33
|
-
style: {
|
|
34
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
35
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
-
};
|
|
37
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
38
|
-
* Triggers the onFocus when the component gets the focus
|
|
39
|
-
*/
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Triggers the onBlur when focus moves out of date input
|
|
43
|
-
*/
|
|
44
|
-
onBlur: {
|
|
45
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
-
};
|
|
48
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
49
|
-
* Triggers the onFocus when the component gets the focus
|
|
50
|
-
*/
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Triggers the onFocus when the component gets the focus
|
|
54
|
-
*/
|
|
55
|
-
onFocus: {
|
|
56
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
57
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
-
};
|
|
59
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
60
|
-
* Triggers the onFocus when the component gets the focus
|
|
61
|
-
*/
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Triggers the onClear
|
|
65
|
-
*/
|
|
66
|
-
onClear: {
|
|
67
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
68
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
69
|
-
};
|
|
70
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
71
|
-
* Triggers the onFocus when the component gets the focus
|
|
72
|
-
*/
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Triggers the onKeyDown
|
|
76
|
-
*/
|
|
77
|
-
onKeyDown: {
|
|
78
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
79
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
80
|
-
};
|
|
81
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
82
|
-
* Triggers the onFocus when the component gets the focus
|
|
83
|
-
*/
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Allows a function that is triggered once the date input changes
|
|
87
|
-
*/
|
|
88
|
-
onChange: {
|
|
89
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
90
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
91
|
-
};
|
|
92
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
93
|
-
* Triggers the onFocus when the component gets the focus
|
|
94
|
-
*/
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Triggers the onError once one input date is wrong
|
|
98
|
-
*/
|
|
99
|
-
onError: {
|
|
100
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
101
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
102
|
-
};
|
|
103
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
104
|
-
* Triggers the onFocus when the component gets the focus
|
|
105
|
-
*/
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* Format type for date input
|
|
109
|
-
*/
|
|
110
|
-
format: {
|
|
111
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
112
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
113
|
-
};
|
|
114
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
115
|
-
* Triggers the onFocus when the component gets the focus
|
|
116
|
-
*/
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* Default value once the component is initialized
|
|
120
|
-
*/
|
|
121
|
-
value: {
|
|
122
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
123
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
124
|
-
};
|
|
125
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
126
|
-
* Triggers the onFocus when the component gets the focus
|
|
127
|
-
*/
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* Whether the date input is clearable or not
|
|
131
|
-
*/
|
|
132
|
-
clearable: {
|
|
133
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
134
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
135
|
-
};
|
|
136
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
137
|
-
* Triggers the onFocus when the component gets the focus
|
|
138
|
-
*/
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* Whether the date input is disabled or not
|
|
142
|
-
*/
|
|
143
|
-
disabled: {
|
|
144
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
145
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
146
|
-
};
|
|
147
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
148
|
-
* Triggers the onFocus when the component gets the focus
|
|
149
|
-
*/
|
|
150
|
-
};
|
|
151
|
-
/**
|
|
152
|
-
* Max year that can be accepted by the date input
|
|
153
|
-
*/
|
|
154
|
-
yearMaxRange: {
|
|
155
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
156
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
157
|
-
};
|
|
158
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
159
|
-
* Triggers the onFocus when the component gets the focus
|
|
160
|
-
*/
|
|
161
|
-
};
|
|
162
|
-
/**
|
|
163
|
-
* Min year that can be accepted by the date input
|
|
164
|
-
*/
|
|
165
|
-
yearMinRange: {
|
|
166
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
167
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
168
|
-
};
|
|
169
|
-
isRequired: import("react-desc").PropTypesDescValue; /**
|
|
170
|
-
* Triggers the onFocus when the component gets the focus
|
|
171
|
-
*/
|
|
172
|
-
};
|
|
173
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
declare const DSDateInputV2: {
|
|
4
|
-
({ onFocus, onBlur, onChange, onDateChange, onKeyDown, onError, value, disabled, containerProps, tabIndex, innerRef, }: {
|
|
5
|
-
onFocus: any;
|
|
6
|
-
onBlur: any;
|
|
7
|
-
onChange: any;
|
|
8
|
-
onDateChange: any;
|
|
9
|
-
onKeyDown: any;
|
|
10
|
-
onError: any;
|
|
11
|
-
value: any;
|
|
12
|
-
disabled: any;
|
|
13
|
-
containerProps: any;
|
|
14
|
-
tabIndex: any;
|
|
15
|
-
innerRef: any;
|
|
16
|
-
}): JSX.Element;
|
|
17
|
-
defaultProps: {
|
|
18
|
-
onFocus: (...args: any[]) => void;
|
|
19
|
-
onBlur: (...args: any[]) => void;
|
|
20
|
-
onChange: (...args: any[]) => void;
|
|
21
|
-
onDateChange: (...args: any[]) => void;
|
|
22
|
-
onKeyDown: (...args: any[]) => void;
|
|
23
|
-
onError: (...args: any[]) => void;
|
|
24
|
-
value: string;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
containerProps: {};
|
|
27
|
-
};
|
|
28
|
-
propTypes: {
|
|
29
|
-
containerProps: {
|
|
30
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
-
};
|
|
33
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
|
-
};
|
|
35
|
-
onBlur: {
|
|
36
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
37
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
-
};
|
|
39
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
40
|
-
};
|
|
41
|
-
onFocus: {
|
|
42
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
43
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
-
};
|
|
45
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
46
|
-
};
|
|
47
|
-
onKeyDown: {
|
|
48
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
49
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
-
};
|
|
51
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
52
|
-
};
|
|
53
|
-
onChange: {
|
|
54
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
-
};
|
|
57
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
|
-
};
|
|
59
|
-
onDateChange: {
|
|
60
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
61
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
62
|
-
};
|
|
63
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
64
|
-
};
|
|
65
|
-
onError: {
|
|
66
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
67
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
-
};
|
|
69
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
70
|
-
};
|
|
71
|
-
value: {
|
|
72
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
73
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
74
|
-
};
|
|
75
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
76
|
-
};
|
|
77
|
-
disabled: {
|
|
78
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
79
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
80
|
-
};
|
|
81
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
82
|
-
};
|
|
83
|
-
tabIndex: {
|
|
84
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
85
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
|
-
};
|
|
87
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
declare const DSDateInputV2WithSchema: {
|
|
92
|
-
(props?: unknown): JSX.Element;
|
|
93
|
-
propTypes: unknown;
|
|
94
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
95
|
-
};
|
|
96
|
-
export { DSDateInputV2, DSDateInputV2WithSchema };
|
|
97
|
-
export default DSDateInputV2;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const DateInputs: {
|
|
3
|
-
({ onBlur, onChange, onDateChange, disabled, onCustomKeyDown, time, tabIndex, innerRef }: {
|
|
4
|
-
onBlur: any;
|
|
5
|
-
onChange: any;
|
|
6
|
-
onDateChange: any;
|
|
7
|
-
disabled: any;
|
|
8
|
-
onCustomKeyDown: any;
|
|
9
|
-
time: any;
|
|
10
|
-
tabIndex: any;
|
|
11
|
-
innerRef: any;
|
|
12
|
-
}): JSX.Element;
|
|
13
|
-
propTypes: {
|
|
14
|
-
innerRef: import("prop-types").Requireable<((...args: any[]) => any) | import("prop-types").InferProps<{
|
|
15
|
-
current: import("prop-types").Requireable<any>;
|
|
16
|
-
}>>;
|
|
17
|
-
onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
18
|
-
onChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
19
|
-
onDateChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
20
|
-
onCustomKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
21
|
-
onError: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
22
|
-
format: import("prop-types").Requireable<string>;
|
|
23
|
-
showMonth: import("prop-types").Requireable<boolean>;
|
|
24
|
-
showDay: import("prop-types").Requireable<boolean>;
|
|
25
|
-
showYear: import("prop-types").Requireable<boolean>;
|
|
26
|
-
step: import("prop-types").Requireable<number>;
|
|
27
|
-
yearMaxRange: import("prop-types").Requireable<number>;
|
|
28
|
-
disabled: import("prop-types").Requireable<boolean>;
|
|
29
|
-
yearMinRange: import("prop-types").Requireable<number>;
|
|
30
|
-
time: import("prop-types").Requireable<string>;
|
|
31
|
-
tabIndex: import("prop-types").Requireable<string | number>;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const onKeyDownHelper: (event: any, handlers: any) => void;
|