@elliemae/ds-form 2.0.1 → 2.1.0-rc.10
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 +4 -4
- package/cjs/CheckboxGroup/DSCheckboxGroup.js +2 -2
- package/cjs/ComboBox/index.js +0 -3
- package/cjs/ComboBox/v1/DSComboBox.js +2 -2
- package/cjs/ComboBox/v1/components/AllOption.js +2 -2
- package/cjs/ComboBox/v1/components/Control.js +2 -2
- package/cjs/ComboBox/v1/components/CustomOption.js +2 -2
- package/cjs/ComboBox/v1/components/CustomOptionMulti.js +2 -2
- package/cjs/ComboBox/v1/components/DropdownIndicator.js +2 -2
- package/cjs/ComboBox/v1/components/MenuList.js +2 -2
- package/cjs/ComboBox/v1/components/MultiValueRemove.js +2 -2
- package/cjs/ComboBox/v1/components/SelectMenu.js +2 -2
- package/cjs/ComboBox/v1/components/ValueContainer.js +2 -2
- package/cjs/ComboBox/v1/withSelectStringValueConverter.js +2 -2
- package/cjs/ComboBox/v2/Combobox.js +2 -2
- package/cjs/ComboBox/v2/components/AllOption.js +2 -2
- package/cjs/ComboBox/v2/components/ClearIndicator.js +2 -2
- package/cjs/ComboBox/v2/components/Content.js +2 -2
- package/cjs/ComboBox/v2/components/Control.js +2 -2
- package/cjs/ComboBox/v2/components/CustomOption.js +2 -2
- package/cjs/ComboBox/v2/components/CustomOptionMulti.js +2 -2
- package/cjs/ComboBox/v2/components/DropdownIndicator.js +2 -2
- package/cjs/ComboBox/v2/components/GroupHeading.js +2 -2
- package/cjs/ComboBox/v2/components/IndicatorSeparator.js +2 -2
- package/cjs/ComboBox/v2/components/MenuList.js +2 -2
- package/cjs/ComboBox/v2/components/MultiValueRemove.js +2 -2
- package/cjs/ComboBox/v2/components/SelectMenu.js +2 -2
- package/cjs/ComboBox/v2/components/ValueContainer.js +2 -2
- package/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js +2 -3
- package/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js +2 -2
- package/cjs/ComboBoxFreeSolo/components/SingleValue.js +2 -2
- package/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js +2 -2
- package/cjs/DateInput/DSDateInput.js +2 -2
- package/cjs/DateInput/components/DateInputImpl.js +2 -2
- package/cjs/DateInput/components/DateInputs.js +2 -2
- package/cjs/DateInputV2/components/DateInputs.js +2 -2
- package/cjs/ExpandableInput/ExpandableInputImpl.js +2 -2
- package/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +2 -2
- package/cjs/FormItem/DSFormItemLayout.js +2 -2
- package/cjs/FormItem/ValidationFieldWrapper.js +2 -2
- package/cjs/Input/DSInput.js +2 -2
- package/cjs/Input/InputAddonWrapper.js +2 -2
- package/cjs/Input/InputImpl.js +2 -2
- package/cjs/InputGroup/AddonWrapper.js +2 -2
- package/cjs/InputMask/DSInputMask.js +2 -2
- package/cjs/InputMask/DSInputMaskDeprecated.js +2 -2
- package/cjs/InputMask/MaskTypes.js +2 -2
- package/cjs/InputMask/mask_types/DateInputMask.js +2 -2
- package/cjs/InputMask/mask_types/DateTimeInputMask.js +2 -2
- package/cjs/InputMask/mask_types/DictionaryInputMask.js +2 -2
- package/cjs/InputMask/mask_types/NumberInputMask.js +2 -2
- package/cjs/InputMask/mask_types/PhoneInputMask.js +2 -2
- package/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +2 -2
- package/cjs/InputMask/mask_types/SsnInputMask.js +2 -2
- package/cjs/InputMask/mask_types/UsZipCodeInputMask.js +2 -2
- package/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +2 -2
- package/cjs/InputMask/mask_types/index.js +2 -2
- package/cjs/InputProtected/DSInputProtected.js +2 -2
- package/cjs/LargeInputText/DSLargeInputText.js +2 -2
- package/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js +2 -1
- package/cjs/MenuItem/components/Section/styled.js +2 -2
- package/cjs/MenuItem/components/Separator/styled.js +2 -2
- package/cjs/MenuItem/components/SubmenuItem/index.js +3 -3
- package/cjs/MenuItem/components/styled.js +4 -9
- package/cjs/Radio/DSRadio.js +11 -6
- package/cjs/RadioGroup/DSRadioGroup.js +2 -2
- package/cjs/SearchBox/SearchBoxToggle.js +2 -2
- package/cjs/SearchBox/withSearchable.js +2 -2
- package/cjs/TextBox/DSTextBox.js +2 -2
- package/cjs/TimeInput/DSTimeInput.js +2 -2
- package/cjs/TimeInput/TimeInputImpl.js +2 -2
- package/cjs/TimeInput/TimeInputs.js +2 -2
- package/cjs/Toggle/DSToggle.js +2 -2
- package/cjs/Toggle/DSToggleImpl.js +2 -2
- package/cjs/Toggle/DSToggleRender.js +2 -2
- package/cjs/index.js +0 -2
- package/esm/Checkbox/DSCheckbox.js +4 -4
- package/esm/CheckboxGroup/DSCheckboxGroup.js +2 -2
- package/esm/ComboBox/index.js +0 -1
- package/esm/ComboBox/v1/DSComboBox.js +2 -2
- package/esm/ComboBox/v1/components/AllOption.js +2 -2
- package/esm/ComboBox/v1/components/Control.js +2 -2
- package/esm/ComboBox/v1/components/CustomOption.js +2 -2
- package/esm/ComboBox/v1/components/CustomOptionMulti.js +2 -2
- package/esm/ComboBox/v1/components/DropdownIndicator.js +2 -2
- package/esm/ComboBox/v1/components/MenuList.js +2 -2
- package/esm/ComboBox/v1/components/MultiValueRemove.js +2 -2
- package/esm/ComboBox/v1/components/SelectMenu.js +2 -2
- package/esm/ComboBox/v1/components/ValueContainer.js +2 -2
- package/esm/ComboBox/v1/withSelectStringValueConverter.js +2 -2
- package/esm/ComboBox/v2/Combobox.js +2 -2
- package/esm/ComboBox/v2/components/AllOption.js +2 -2
- package/esm/ComboBox/v2/components/ClearIndicator.js +2 -2
- package/esm/ComboBox/v2/components/Content.js +2 -2
- package/esm/ComboBox/v2/components/Control.js +2 -2
- package/esm/ComboBox/v2/components/CustomOption.js +2 -2
- package/esm/ComboBox/v2/components/CustomOptionMulti.js +2 -2
- package/esm/ComboBox/v2/components/DropdownIndicator.js +2 -2
- package/esm/ComboBox/v2/components/GroupHeading.js +2 -2
- package/esm/ComboBox/v2/components/IndicatorSeparator.js +2 -2
- package/esm/ComboBox/v2/components/MenuList.js +2 -2
- package/esm/ComboBox/v2/components/MultiValueRemove.js +2 -2
- package/esm/ComboBox/v2/components/SelectMenu.js +2 -2
- package/esm/ComboBox/v2/components/ValueContainer.js +2 -2
- package/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +2 -3
- package/esm/ComboBoxFreeSolo/components/MultiValueRemove.js +2 -2
- package/esm/ComboBoxFreeSolo/components/SingleValue.js +2 -2
- package/esm/ComboBoxFreeSolo/components/SingleValueRemove.js +2 -2
- package/esm/DateInput/DSDateInput.js +2 -2
- package/esm/DateInput/components/DateInputImpl.js +2 -2
- package/esm/DateInput/components/DateInputs.js +2 -2
- package/esm/DateInputV2/components/DateInputs.js +2 -2
- package/esm/ExpandableInput/ExpandableInputImpl.js +2 -2
- package/esm/FloatingLabelInput/FloatingLabelInputImpl.js +2 -2
- package/esm/FormItem/DSFormItemLayout.js +2 -2
- package/esm/FormItem/ValidationFieldWrapper.js +2 -2
- package/esm/Input/DSInput.js +2 -2
- package/esm/Input/InputAddonWrapper.js +2 -2
- package/esm/Input/InputImpl.js +2 -2
- package/esm/InputGroup/AddonWrapper.js +2 -2
- package/esm/InputMask/DSInputMask.js +2 -2
- package/esm/InputMask/DSInputMaskDeprecated.js +2 -2
- package/esm/InputMask/MaskTypes.js +2 -2
- package/esm/InputMask/mask_types/DateInputMask.js +2 -2
- package/esm/InputMask/mask_types/DateTimeInputMask.js +2 -2
- package/esm/InputMask/mask_types/DictionaryInputMask.js +2 -2
- package/esm/InputMask/mask_types/NumberInputMask.js +2 -2
- package/esm/InputMask/mask_types/PhoneInputMask.js +2 -2
- package/esm/InputMask/mask_types/PhoneInternationalInputMask.js +2 -2
- package/esm/InputMask/mask_types/SsnInputMask.js +2 -2
- package/esm/InputMask/mask_types/UsZipCodeInputMask.js +2 -2
- package/esm/InputMask/mask_types/ZipCodeSearchInputMask.js +2 -2
- package/esm/InputMask/mask_types/index.js +2 -2
- package/esm/InputProtected/DSInputProtected.js +2 -2
- package/esm/LargeInputText/DSLargeInputText.js +2 -2
- package/esm/MenuItem/components/MultiMenuItem/MultiMenuItem.js +2 -1
- package/esm/MenuItem/components/Section/styled.js +2 -2
- package/esm/MenuItem/components/Separator/styled.js +2 -2
- package/esm/MenuItem/components/SubmenuItem/index.js +3 -3
- package/esm/MenuItem/components/styled.js +5 -9
- package/esm/Radio/DSRadio.js +11 -6
- package/esm/RadioGroup/DSRadioGroup.js +2 -2
- package/esm/SearchBox/SearchBoxToggle.js +2 -2
- package/esm/SearchBox/withSearchable.js +2 -2
- package/esm/TextBox/DSTextBox.js +2 -2
- package/esm/TimeInput/DSTimeInput.js +2 -2
- package/esm/TimeInput/TimeInputImpl.js +2 -2
- package/esm/TimeInput/TimeInputs.js +2 -2
- package/esm/Toggle/DSToggle.js +2 -2
- package/esm/Toggle/DSToggleImpl.js +2 -2
- package/esm/Toggle/DSToggleRender.js +2 -2
- package/esm/index.js +0 -1
- package/package.json +23 -207
- package/types/Checkbox/DSCheckbox.d.ts +36 -47
- package/types/Checkbox/props.d.ts +14 -14
- package/types/CheckboxGroup/DSCheckboxGroup.d.ts +12 -12
- package/types/CheckboxGroup/props.d.ts +12 -12
- package/types/ComboBox/index.d.ts +0 -1
- package/types/DateInput/DSDateInput.d.ts +32 -32
- package/types/DateInput/props.d.ts +64 -32
- package/types/DateInputV2/components/DSDateInput.d.ts +20 -20
- package/types/DateInputV2/components/props.d.ts +20 -20
- package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +38 -38
- package/types/FormItem/DSFormItemLayout.d.ts +112 -112
- package/types/FormItem/Error/DSError.d.ts +4 -4
- package/types/FormItem/defaultProps.d.ts +38 -38
- package/types/FormItem/props.d.ts +74 -74
- package/types/InputGroup/DSInputGroup.d.ts +14 -14
- package/types/InputGroup/props.d.ts +14 -14
- package/types/InputMask/DSInputMask.d.ts +54 -54
- package/types/InputMask/props.d.ts +54 -54
- package/types/InputProtected/DSInputProtected.d.ts +12 -12
- package/types/InputProtected/props.d.ts +12 -12
- package/types/LargeInputText/DSLargeInputText.d.ts +54 -54
- package/types/LargeInputText/props.d.ts +54 -54
- package/types/MenuItem/components/SubmenuItem/styled.d.ts +1 -1
- package/types/MenuItem/components/styled.d.ts +5 -3
- package/types/MenuItem/props.d.ts +4 -3
- package/types/Radio/DSRadio.d.ts +56 -46
- package/types/RadioGroup/DSRadioGroup.d.ts +12 -12
- package/types/RadioGroup/props.d.ts +12 -12
- package/types/SearchBox/DSSearchBox.d.ts +40 -40
- package/types/SearchBox/NavSearchBox.d.ts +24 -7
- package/types/SearchBox/SButton.d.ts +4 -4
- package/types/SearchBox/props.d.ts +44 -44
- package/types/TextBox/DSTextBox.d.ts +38 -38
- package/types/TimeInput/DSTimeInput.d.ts +22 -22
- package/types/Toggle/DSToggle.d.ts +22 -22
- package/cjs/ComboBox/v3/ComboBox.js +0 -33
- package/cjs/ComboBox/v3/ComboBoxCTX.js +0 -55
- package/cjs/ComboBox/v3/ComboboxDataTestids.js +0 -17
- package/cjs/ComboBox/v3/config/constants.js +0 -14
- package/cjs/ComboBox/v3/config/useComboBox.js +0 -122
- package/cjs/ComboBox/v3/config/useGetPropsWithDefault.js +0 -11
- package/cjs/ComboBox/v3/index.d.js +0 -2
- package/cjs/ComboBox/v3/index.js +0 -10
- package/cjs/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js +0 -33
- package/cjs/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js +0 -28
- package/cjs/ComboBox/v3/parts/a11y-messages/index.js +0 -11
- package/cjs/ComboBox/v3/parts/a11y-messages/styled.js +0 -15
- package/cjs/ComboBox/v3/parts/container/Container.js +0 -67
- package/cjs/ComboBox/v3/parts/container/index.js +0 -9
- package/cjs/ComboBox/v3/parts/container/styled.js +0 -23
- package/cjs/ComboBox/v3/parts/controls/Controls.js +0 -71
- package/cjs/ComboBox/v3/parts/controls/index.js +0 -9
- package/cjs/ComboBox/v3/parts/controls/styled.js +0 -65
- package/cjs/ComboBox/v3/parts/controls-input/ControlsInput.js +0 -67
- package/cjs/ComboBox/v3/parts/controls-input/styled.js +0 -27
- package/cjs/ComboBox/v3/parts/controls-input/useControlsInput.js +0 -77
- package/cjs/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js +0 -33
- package/cjs/ComboBox/v3/parts/dropdown-indicator/index.js +0 -2
- package/cjs/ComboBox/v3/parts/dropdown-indicator/styled.js +0 -17
- package/cjs/ComboBox/v3/parts/empty-state/index.js +0 -27
- package/cjs/ComboBox/v3/parts/empty-state/styled.js +0 -19
- package/cjs/ComboBox/v3/parts/header-list/HeaderList.js +0 -113
- package/cjs/ComboBox/v3/parts/header-list/index.js +0 -9
- package/cjs/ComboBox/v3/parts/header-list/styled.js +0 -58
- package/cjs/ComboBox/v3/parts/header-list/useHeaderListHandlers.js +0 -73
- package/cjs/ComboBox/v3/parts/menu-list/MenuList.js +0 -81
- package/cjs/ComboBox/v3/parts/menu-list/index.js +0 -9
- package/cjs/ComboBox/v3/parts/menu-list/styled.js +0 -33
- package/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js +0 -105
- package/cjs/ComboBox/v3/parts/menu-list/useMenuList.js +0 -61
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js +0 -63
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/index.js +0 -9
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/styled.js +0 -23
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js +0 -71
- package/cjs/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js +0 -28
- package/cjs/ComboBox/v3/parts/single-selected-value-container/index.js +0 -9
- package/cjs/ComboBox/v3/parts/single-selected-value-container/styled.js +0 -15
- package/cjs/ComboBox/v3/propTypes.js +0 -25
- package/cjs/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +0 -152
- package/cjs/ComboBox/v3/utils/hooks/useOnElementResize.js +0 -37
- package/cjs/ComboBox/v3/utils/listHelper.js +0 -39
- package/esm/ComboBox/v3/ComboBox.js +0 -24
- package/esm/ComboBox/v3/ComboBoxCTX.js +0 -49
- package/esm/ComboBox/v3/ComboboxDataTestids.js +0 -13
- package/esm/ComboBox/v3/config/constants.js +0 -10
- package/esm/ComboBox/v3/config/useComboBox.js +0 -114
- package/esm/ComboBox/v3/config/useGetPropsWithDefault.js +0 -7
- package/esm/ComboBox/v3/index.d.js +0 -1
- package/esm/ComboBox/v3/index.js +0 -1
- package/esm/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js +0 -25
- package/esm/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js +0 -20
- package/esm/ComboBox/v3/parts/a11y-messages/index.js +0 -2
- package/esm/ComboBox/v3/parts/a11y-messages/styled.js +0 -7
- package/esm/ComboBox/v3/parts/container/Container.js +0 -59
- package/esm/ComboBox/v3/parts/container/index.js +0 -1
- package/esm/ComboBox/v3/parts/container/styled.js +0 -13
- package/esm/ComboBox/v3/parts/controls/Controls.js +0 -63
- package/esm/ComboBox/v3/parts/controls/index.js +0 -1
- package/esm/ComboBox/v3/parts/controls/styled.js +0 -52
- package/esm/ComboBox/v3/parts/controls-input/ControlsInput.js +0 -59
- package/esm/ComboBox/v3/parts/controls-input/styled.js +0 -16
- package/esm/ComboBox/v3/parts/controls-input/useControlsInput.js +0 -73
- package/esm/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js +0 -26
- package/esm/ComboBox/v3/parts/dropdown-indicator/index.js +0 -1
- package/esm/ComboBox/v3/parts/dropdown-indicator/styled.js +0 -8
- package/esm/ComboBox/v3/parts/empty-state/index.js +0 -19
- package/esm/ComboBox/v3/parts/empty-state/styled.js +0 -10
- package/esm/ComboBox/v3/parts/header-list/HeaderList.js +0 -105
- package/esm/ComboBox/v3/parts/header-list/index.js +0 -1
- package/esm/ComboBox/v3/parts/header-list/styled.js +0 -41
- package/esm/ComboBox/v3/parts/header-list/useHeaderListHandlers.js +0 -69
- package/esm/ComboBox/v3/parts/menu-list/MenuList.js +0 -73
- package/esm/ComboBox/v3/parts/menu-list/index.js +0 -1
- package/esm/ComboBox/v3/parts/menu-list/styled.js +0 -23
- package/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js +0 -97
- package/esm/ComboBox/v3/parts/menu-list/useMenuList.js +0 -57
- package/esm/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js +0 -54
- package/esm/ComboBox/v3/parts/multi-selected-values-container/index.js +0 -1
- package/esm/ComboBox/v3/parts/multi-selected-values-container/styled.js +0 -13
- package/esm/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js +0 -67
- package/esm/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js +0 -20
- package/esm/ComboBox/v3/parts/single-selected-value-container/index.js +0 -1
- package/esm/ComboBox/v3/parts/single-selected-value-container/styled.js +0 -7
- package/esm/ComboBox/v3/propTypes.js +0 -21
- package/esm/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +0 -148
- package/esm/ComboBox/v3/utils/hooks/useOnElementResize.js +0 -33
- package/esm/ComboBox/v3/utils/listHelper.js +0 -30
- package/types/ComboBox/v3/ComboBox.d.ts +0 -62
- package/types/ComboBox/v3/ComboBoxCTX.d.ts +0 -6
- package/types/ComboBox/v3/ComboboxDataTestids.d.ts +0 -11
- package/types/ComboBox/v3/config/constants.d.ts +0 -8
- package/types/ComboBox/v3/config/useComboBox.d.ts +0 -2
- package/types/ComboBox/v3/config/useGetPropsWithDefault.d.ts +0 -2
- package/types/ComboBox/v3/index.d.ts +0 -1
- package/types/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.d.ts +0 -3
- package/types/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.d.ts +0 -3
- package/types/ComboBox/v3/parts/a11y-messages/index.d.ts +0 -2
- package/types/ComboBox/v3/parts/a11y-messages/styled.d.ts +0 -1
- package/types/ComboBox/v3/parts/container/Container.d.ts +0 -3
- package/types/ComboBox/v3/parts/container/index.d.ts +0 -1
- package/types/ComboBox/v3/parts/container/styled.d.ts +0 -3
- package/types/ComboBox/v3/parts/controls/Controls.d.ts +0 -3
- package/types/ComboBox/v3/parts/controls/index.d.ts +0 -1
- package/types/ComboBox/v3/parts/controls/styled.d.ts +0 -7
- package/types/ComboBox/v3/parts/controls-input/ControlsInput.d.ts +0 -3
- package/types/ComboBox/v3/parts/controls-input/styled.d.ts +0 -4
- package/types/ComboBox/v3/parts/controls-input/useControlsInput.d.ts +0 -12
- package/types/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.d.ts +0 -3
- package/types/ComboBox/v3/parts/dropdown-indicator/index.d.ts +0 -0
- package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +0 -1
- package/types/ComboBox/v3/parts/empty-state/index.d.ts +0 -3
- package/types/ComboBox/v3/parts/empty-state/styled.d.ts +0 -2
- package/types/ComboBox/v3/parts/header-list/HeaderList.d.ts +0 -3
- package/types/ComboBox/v3/parts/header-list/index.d.ts +0 -1
- package/types/ComboBox/v3/parts/header-list/styled.d.ts +0 -7
- package/types/ComboBox/v3/parts/header-list/useHeaderListHandlers.d.ts +0 -12
- package/types/ComboBox/v3/parts/menu-list/MenuList.d.ts +0 -3
- package/types/ComboBox/v3/parts/menu-list/index.d.ts +0 -1
- package/types/ComboBox/v3/parts/menu-list/styled.d.ts +0 -10
- package/types/ComboBox/v3/parts/menu-list/useItemRenderer.d.ts +0 -2
- package/types/ComboBox/v3/parts/menu-list/useMenuList.d.ts +0 -2
- package/types/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.d.ts +0 -3
- package/types/ComboBox/v3/parts/multi-selected-values-container/index.d.ts +0 -1
- package/types/ComboBox/v3/parts/multi-selected-values-container/styled.d.ts +0 -3
- package/types/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.d.ts +0 -2
- package/types/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.d.ts +0 -3
- package/types/ComboBox/v3/parts/single-selected-value-container/index.d.ts +0 -1
- package/types/ComboBox/v3/parts/single-selected-value-container/styled.d.ts +0 -1
- package/types/ComboBox/v3/propTypes.d.ts +0 -51
- package/types/ComboBox/v3/tests/combobox-general.test.d.ts +0 -1
- package/types/ComboBox/v3/tests/combobox-multi-select.test.d.ts +0 -1
- package/types/ComboBox/v3/tests/combobox-single-select.test.d.ts +0 -1
- package/types/ComboBox/v3/tests/combobox-special-keys.test.d.ts +0 -1
- package/types/ComboBox/v3/tests/utils.d.ts +0 -22
- package/types/ComboBox/v3/utils/hooks/useKeyboardNavigation.d.ts +0 -4
- package/types/ComboBox/v3/utils/hooks/useOnElementResize.d.ts +0 -3
- package/types/ComboBox/v3/utils/listHelper.d.ts +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
2
|
/// <reference types="react" />
|
|
3
|
-
import {
|
|
3
|
+
import { SizingProps } from '@xstyled/styled-components';
|
|
4
4
|
export interface MenuItemT {
|
|
5
5
|
dsId: string;
|
|
6
6
|
value: string;
|
|
@@ -21,9 +21,10 @@ export interface MenuItemT {
|
|
|
21
21
|
onKeyDown?: React.KeyboardEventHandler;
|
|
22
22
|
wrapperStyles?: Record<string, unknown>;
|
|
23
23
|
withVirtualization?: boolean;
|
|
24
|
-
minWidth?:
|
|
25
|
-
maxHeight?:
|
|
24
|
+
minWidth?: SizingProps['minWidth'];
|
|
25
|
+
maxHeight?: SizingProps['maxHeight'];
|
|
26
26
|
render?: (props: MenuItemT) => JSX.Element;
|
|
27
|
+
tabIndex?: number;
|
|
27
28
|
dataTestid: string;
|
|
28
29
|
}
|
|
29
30
|
export declare const defaultProps: MenuItemT;
|
package/types/Radio/DSRadio.d.ts
CHANGED
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import * as CSS from 'csstype';
|
|
4
|
+
interface DSRadioT {
|
|
5
|
+
[x: string]: unknown;
|
|
6
|
+
innerRef?: React.MutableRefObject<HTMLInputElement>;
|
|
7
|
+
containerProps?: {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
};
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSS.Properties;
|
|
12
|
+
labelText?: string;
|
|
13
|
+
htmlFor?: string;
|
|
14
|
+
hasError?: boolean;
|
|
15
|
+
readOnly?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
checked?: boolean;
|
|
18
|
+
value?: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLSpanElement>;
|
|
21
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
22
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
23
|
+
tabIndex?: number;
|
|
24
|
+
}
|
|
3
25
|
declare const DSRadio: {
|
|
4
|
-
({ containerProps, className, style, labelText, htmlFor, hasError, readOnly, disabled, checked, value, name, onChange, children, tabIndex, ...otherProps }:
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
containerProps: any;
|
|
7
|
-
className: any;
|
|
8
|
-
style: any;
|
|
9
|
-
labelText: any;
|
|
10
|
-
htmlFor: any;
|
|
11
|
-
hasError: any;
|
|
12
|
-
readOnly: any;
|
|
13
|
-
disabled: any;
|
|
14
|
-
checked: any;
|
|
15
|
-
value: any;
|
|
16
|
-
name: any;
|
|
17
|
-
onChange: any;
|
|
18
|
-
children: any;
|
|
19
|
-
tabIndex: any;
|
|
20
|
-
}): JSX.Element;
|
|
26
|
+
({ containerProps, className, style, labelText, htmlFor, hasError, readOnly, disabled, checked, value, name, onChange, children, tabIndex, ...otherProps }: DSRadioT): JSX.Element;
|
|
21
27
|
defaultProps: {
|
|
22
28
|
containerProps: {};
|
|
23
29
|
className: string;
|
|
@@ -33,115 +39,119 @@ declare const DSRadio: {
|
|
|
33
39
|
propTypes: {
|
|
34
40
|
/** Injected props to wrapper element of component */
|
|
35
41
|
containerProps: {
|
|
36
|
-
defaultValue
|
|
42
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
37
43
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
44
|
};
|
|
39
|
-
isRequired: import("react-desc").
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
40
46
|
};
|
|
41
47
|
/** css class prop */
|
|
42
48
|
className: {
|
|
43
|
-
defaultValue
|
|
49
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
44
50
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
51
|
};
|
|
46
|
-
isRequired: import("react-desc").
|
|
52
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
47
53
|
};
|
|
48
54
|
/** name property to manage form */
|
|
49
55
|
name: {
|
|
50
|
-
defaultValue
|
|
56
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
51
57
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
58
|
};
|
|
53
|
-
isRequired: import("react-desc").
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
54
60
|
};
|
|
55
61
|
/**
|
|
56
62
|
* Displayable label for the radio
|
|
57
63
|
*/
|
|
58
64
|
labelText: {
|
|
59
|
-
defaultValue
|
|
65
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
60
66
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
67
|
};
|
|
62
|
-
isRequired: import("react-desc").
|
|
68
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
63
69
|
};
|
|
64
70
|
/** HTMLFOR property to manage form */
|
|
65
71
|
htmlFor: {
|
|
66
|
-
defaultValue
|
|
72
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
67
73
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
74
|
};
|
|
69
|
-
isRequired: import("react-desc").
|
|
75
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
70
76
|
};
|
|
71
77
|
/**
|
|
72
78
|
* Whether the radio has error or not
|
|
73
79
|
*/
|
|
74
80
|
hasError: {
|
|
75
|
-
defaultValue
|
|
81
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
76
82
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
83
|
};
|
|
78
|
-
isRequired: import("react-desc").
|
|
84
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
79
85
|
};
|
|
80
86
|
/**
|
|
81
87
|
* Whether the radio is read only or not
|
|
82
88
|
*/
|
|
83
89
|
readOnly: {
|
|
84
|
-
defaultValue
|
|
90
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
85
91
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
92
|
};
|
|
87
|
-
isRequired: import("react-desc").
|
|
93
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
88
94
|
};
|
|
89
95
|
/**
|
|
90
96
|
* Whether the radio is disabled or not
|
|
91
97
|
*/
|
|
92
98
|
disabled: {
|
|
93
|
-
defaultValue
|
|
99
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
94
100
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
95
101
|
};
|
|
96
|
-
isRequired: import("react-desc").
|
|
102
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
97
103
|
};
|
|
98
104
|
/**
|
|
99
105
|
* Whether the radio is checked or not
|
|
100
106
|
*/
|
|
101
107
|
checked: {
|
|
102
|
-
defaultValue
|
|
108
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
103
109
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
104
110
|
};
|
|
105
|
-
isRequired: import("react-desc").
|
|
111
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
106
112
|
};
|
|
107
113
|
/**
|
|
108
114
|
* Value that takes the checkbox if it is checked
|
|
109
115
|
*/
|
|
110
|
-
value:
|
|
116
|
+
value: import("react-desc").PropTypesDescValue;
|
|
111
117
|
/**
|
|
112
118
|
* Allows a function that is triggered once the radio changes
|
|
113
119
|
*/
|
|
114
120
|
onChange: {
|
|
115
|
-
defaultValue
|
|
121
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
116
122
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
117
123
|
};
|
|
118
|
-
isRequired: import("react-desc").
|
|
124
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
119
125
|
};
|
|
120
126
|
/**
|
|
121
127
|
* Optional, if you want a checkbox customized
|
|
122
128
|
*/
|
|
123
129
|
children: {
|
|
124
|
-
defaultValue
|
|
130
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
125
131
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
126
132
|
};
|
|
127
|
-
isRequired: import("react-desc").
|
|
133
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
128
134
|
};
|
|
129
135
|
/** HTML tabindex to manage focus */
|
|
130
136
|
tabIndex: {
|
|
131
|
-
defaultValue
|
|
137
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
132
138
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
133
139
|
};
|
|
134
|
-
isRequired: import("react-desc").
|
|
140
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
135
141
|
};
|
|
136
142
|
/** style override object */
|
|
137
143
|
style: {
|
|
138
|
-
defaultValue
|
|
144
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
139
145
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
140
146
|
};
|
|
141
|
-
isRequired: import("react-desc").
|
|
147
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
142
148
|
};
|
|
143
149
|
};
|
|
144
150
|
};
|
|
145
|
-
declare const DSRadioWithSchema:
|
|
151
|
+
declare const DSRadioWithSchema: {
|
|
152
|
+
(props?: DSRadioT | undefined): JSX.Element;
|
|
153
|
+
propTypes: unknown;
|
|
154
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
155
|
+
};
|
|
146
156
|
export { DSRadioWithSchema };
|
|
147
157
|
export default DSRadio;
|
|
@@ -13,41 +13,41 @@ declare const DSRadioGroup: {
|
|
|
13
13
|
}): JSX.Element;
|
|
14
14
|
propTypes: {
|
|
15
15
|
containerProps: {
|
|
16
|
-
defaultValue
|
|
16
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
17
17
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
18
|
};
|
|
19
|
-
isRequired: import("react-desc").
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
20
20
|
};
|
|
21
21
|
onChange: {
|
|
22
|
-
defaultValue
|
|
22
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
23
23
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
24
|
};
|
|
25
|
-
isRequired: import("react-desc").
|
|
25
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
26
26
|
};
|
|
27
27
|
activeValue: {
|
|
28
|
-
defaultValue
|
|
28
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
29
29
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
30
|
};
|
|
31
|
-
isRequired: import("react-desc").
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
32
32
|
};
|
|
33
33
|
children: any;
|
|
34
34
|
orientation: {
|
|
35
|
-
defaultValue
|
|
35
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
36
36
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
37
|
};
|
|
38
|
-
isRequired: import("react-desc").
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
39
39
|
};
|
|
40
40
|
disabled: {
|
|
41
|
-
defaultValue
|
|
41
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
42
42
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
43
|
};
|
|
44
|
-
isRequired: import("react-desc").
|
|
44
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
45
45
|
};
|
|
46
46
|
labelProps: {
|
|
47
|
-
defaultValue
|
|
47
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
48
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
49
|
};
|
|
50
|
-
isRequired: import("react-desc").
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
defaultProps: {
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
export declare const props: {
|
|
3
3
|
/** Inject props to component wrapper */
|
|
4
4
|
containerProps: {
|
|
5
|
-
defaultValue
|
|
5
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
6
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
7
|
};
|
|
8
|
-
isRequired: import("react-desc").
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Allows a function that is triggered once the radio group changes
|
|
12
12
|
*/
|
|
13
13
|
onChange: {
|
|
14
|
-
defaultValue
|
|
14
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
15
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
16
|
};
|
|
17
|
-
isRequired: import("react-desc").
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* Selected default active value
|
|
21
21
|
*/
|
|
22
22
|
activeValue: {
|
|
23
|
-
defaultValue
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
24
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
25
|
};
|
|
26
|
-
isRequired: import("react-desc").
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* Radio group items to show of type DSRadio
|
|
@@ -33,24 +33,24 @@ export declare const props: {
|
|
|
33
33
|
* ['horizontal', 'vertical']
|
|
34
34
|
*/
|
|
35
35
|
orientation: {
|
|
36
|
-
defaultValue
|
|
36
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
37
37
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
38
|
};
|
|
39
|
-
isRequired: import("react-desc").
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* Whether the radio group is disabled or not
|
|
43
43
|
*/
|
|
44
44
|
disabled: {
|
|
45
|
-
defaultValue
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
46
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
47
|
};
|
|
48
|
-
isRequired: import("react-desc").
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
49
49
|
};
|
|
50
50
|
labelProps: {
|
|
51
|
-
defaultValue
|
|
51
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
52
52
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
53
|
};
|
|
54
|
-
isRequired: import("react-desc").
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
55
55
|
};
|
|
56
56
|
};
|
|
@@ -24,124 +24,124 @@ declare const DSSearchBox: {
|
|
|
24
24
|
}): JSX.Element;
|
|
25
25
|
propTypes: {
|
|
26
26
|
containerProps: {
|
|
27
|
-
defaultValue
|
|
27
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
28
28
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
29
|
};
|
|
30
|
-
isRequired: import("react-desc").
|
|
30
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
31
31
|
};
|
|
32
32
|
className: {
|
|
33
|
-
defaultValue
|
|
33
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
34
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
35
|
};
|
|
36
|
-
isRequired: import("react-desc").
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
37
|
};
|
|
38
38
|
innerRef: {
|
|
39
|
-
defaultValue
|
|
39
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
40
40
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
41
|
};
|
|
42
|
-
isRequired: import("react-desc").
|
|
42
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
43
43
|
};
|
|
44
44
|
style: {
|
|
45
|
-
defaultValue
|
|
45
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
46
46
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
47
|
};
|
|
48
|
-
isRequired: import("react-desc").
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
49
49
|
};
|
|
50
50
|
property: {
|
|
51
|
-
defaultValue
|
|
51
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
52
52
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
53
|
};
|
|
54
|
-
isRequired: import("react-desc").
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
55
55
|
};
|
|
56
56
|
placeholder: {
|
|
57
|
-
defaultValue
|
|
57
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
58
58
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
59
|
};
|
|
60
|
-
isRequired: import("react-desc").
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
61
61
|
};
|
|
62
62
|
searchOnEnter: {
|
|
63
|
-
defaultValue
|
|
63
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
64
64
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
65
|
};
|
|
66
|
-
isRequired: import("react-desc").
|
|
66
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
67
67
|
};
|
|
68
68
|
clearOnSearch: {
|
|
69
|
-
defaultValue
|
|
69
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
70
70
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
71
71
|
};
|
|
72
|
-
isRequired: import("react-desc").
|
|
72
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
73
73
|
};
|
|
74
74
|
onClearButtonClick: {
|
|
75
|
-
defaultValue
|
|
75
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
76
76
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
77
|
};
|
|
78
|
-
isRequired: import("react-desc").
|
|
78
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
79
79
|
};
|
|
80
80
|
onKeyUp: {
|
|
81
|
-
defaultValue
|
|
81
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
82
82
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
83
83
|
};
|
|
84
|
-
isRequired: import("react-desc").
|
|
84
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
85
85
|
};
|
|
86
86
|
onSearch: {
|
|
87
|
-
defaultValue
|
|
87
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
88
88
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
89
89
|
};
|
|
90
|
-
isRequired: import("react-desc").
|
|
90
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
91
91
|
};
|
|
92
92
|
onSearchButtonClick: {
|
|
93
|
-
defaultValue
|
|
93
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
94
94
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
95
95
|
};
|
|
96
|
-
isRequired: import("react-desc").
|
|
96
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
97
97
|
};
|
|
98
98
|
onChange: {
|
|
99
|
-
defaultValue
|
|
99
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
100
100
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
101
101
|
};
|
|
102
|
-
isRequired: import("react-desc").
|
|
102
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
103
103
|
};
|
|
104
104
|
onBlur: {
|
|
105
|
-
defaultValue
|
|
105
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
106
106
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
107
107
|
};
|
|
108
|
-
isRequired: import("react-desc").
|
|
108
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
109
109
|
};
|
|
110
110
|
value: {
|
|
111
|
-
defaultValue
|
|
111
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
112
112
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
113
113
|
};
|
|
114
|
-
isRequired: import("react-desc").
|
|
114
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
115
115
|
};
|
|
116
116
|
showIcon: {
|
|
117
|
-
defaultValue
|
|
117
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
118
118
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
119
119
|
};
|
|
120
|
-
isRequired: import("react-desc").
|
|
120
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
121
121
|
};
|
|
122
122
|
disabled: {
|
|
123
|
-
defaultValue
|
|
123
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
124
124
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
125
125
|
};
|
|
126
|
-
isRequired: import("react-desc").
|
|
126
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
127
127
|
};
|
|
128
128
|
disableButton: {
|
|
129
|
-
defaultValue
|
|
129
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
130
130
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
131
131
|
};
|
|
132
|
-
isRequired: import("react-desc").
|
|
132
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
133
133
|
};
|
|
134
134
|
readOnly: {
|
|
135
|
-
defaultValue
|
|
135
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
136
136
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
137
137
|
};
|
|
138
|
-
isRequired: import("react-desc").
|
|
138
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
139
139
|
};
|
|
140
140
|
clearable: {
|
|
141
|
-
defaultValue
|
|
141
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
142
142
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
143
143
|
};
|
|
144
|
-
isRequired: import("react-desc").
|
|
144
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
147
|
defaultProps: {
|
|
@@ -1,15 +1,32 @@
|
|
|
1
1
|
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface PropsT {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (val: string) => void;
|
|
6
|
+
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
7
|
+
onNext: () => void;
|
|
8
|
+
onPrevious: () => void;
|
|
9
|
+
onClear: () => void;
|
|
10
|
+
currentResultIndex: number;
|
|
11
|
+
totalResults: number;
|
|
12
|
+
placeholder: {
|
|
13
|
+
defaultValue(arg: import('react-desc').ReactDescPossibleDefaultValues): {
|
|
14
|
+
deprecated: import('react-desc').PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
isRequired: import('react-desc').PropTypesDescValue;
|
|
17
|
+
};
|
|
18
|
+
autoFocus: boolean;
|
|
19
|
+
}
|
|
3
20
|
declare const NavSearchBox: {
|
|
4
|
-
(props:
|
|
21
|
+
(props: PropsT): JSX.Element;
|
|
5
22
|
propTypes: {
|
|
6
23
|
value: any;
|
|
7
24
|
onChange: any;
|
|
8
25
|
onBlur: {
|
|
9
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
10
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
28
|
};
|
|
12
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
13
30
|
};
|
|
14
31
|
onNext: any;
|
|
15
32
|
onPrevious: any;
|
|
@@ -17,10 +34,10 @@ declare const NavSearchBox: {
|
|
|
17
34
|
currentResultIndex: any;
|
|
18
35
|
totalResults: any;
|
|
19
36
|
placeholder: {
|
|
20
|
-
defaultValue
|
|
37
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
21
38
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
39
|
};
|
|
23
|
-
isRequired: import("react-desc").
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
24
41
|
};
|
|
25
42
|
};
|
|
26
43
|
defaultProps: {
|
|
@@ -29,7 +46,7 @@ declare const NavSearchBox: {
|
|
|
29
46
|
};
|
|
30
47
|
};
|
|
31
48
|
declare const DSNavSearchBoxWithSchema: {
|
|
32
|
-
(props?:
|
|
49
|
+
(props?: PropsT | undefined): JSX.Element;
|
|
33
50
|
propTypes: unknown;
|
|
34
51
|
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
35
52
|
};
|
|
@@ -14,16 +14,16 @@ declare const SButton: {
|
|
|
14
14
|
icon: any;
|
|
15
15
|
/** disable button */
|
|
16
16
|
disabled: {
|
|
17
|
-
defaultValue
|
|
17
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
18
18
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
19
|
};
|
|
20
|
-
isRequired: import("react-desc").
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
21
21
|
};
|
|
22
22
|
dataTestid: {
|
|
23
|
-
defaultValue
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
24
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
25
|
};
|
|
26
|
-
isRequired: import("react-desc").
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
};
|