@elliemae/ds-form 2.3.0-alpha.8 → 2.3.0-alpha.9
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/ComboBox/v3/parts/menu-list/useItemRenderer.js +4 -4
- package/dist/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js.map +2 -2
- package/dist/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js +1 -1
- package/dist/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js.map +1 -1
- package/dist/types/Checkbox/DSCheckbox.d.ts +102 -0
- package/dist/types/Checkbox/defaultProps.d.ts +11 -0
- package/dist/types/Checkbox/elements/CheckMark.d.ts +2 -0
- package/dist/types/Checkbox/index.d.ts +1 -0
- package/dist/types/Checkbox/props.d.ts +60 -0
- package/dist/types/Checkbox/tests/DSCheckbox.events.test.d.ts +1 -0
- package/dist/types/CheckboxGroup/DSCheckboxGroup.d.ts +72 -0
- package/dist/types/CheckboxGroup/defaultProps.d.ts +14 -0
- package/dist/types/CheckboxGroup/index.d.ts +1 -0
- package/dist/types/CheckboxGroup/props.d.ts +57 -0
- package/dist/types/CheckboxGroup/tests/DSCheckboxGroup.events.test.d.ts +1 -0
- package/dist/types/ComboBox/DSComboBox.d.ts +3 -0
- package/dist/types/ComboBox/index.d.ts +2 -0
- package/dist/types/ComboBox/v1/DSComboBox.d.ts +67 -0
- package/dist/types/ComboBox/v1/components/AllOption.d.ts +6 -0
- package/dist/types/ComboBox/v1/components/ClearIndicator.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/Control.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/CustomOption.d.ts +9 -0
- package/dist/types/ComboBox/v1/components/CustomOptionMulti.d.ts +9 -0
- package/dist/types/ComboBox/v1/components/DropdownIndicator.d.ts +21 -0
- package/dist/types/ComboBox/v1/components/MenuList.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/MultiSelectHeader.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/MultiValueLabel.d.ts +6 -0
- package/dist/types/ComboBox/v1/components/MultiValueRemove.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/SelectMenu.d.ts +4 -0
- package/dist/types/ComboBox/v1/components/SingleValueLabel.d.ts +12 -0
- package/dist/types/ComboBox/v1/components/ValueContainer.d.ts +6 -0
- package/dist/types/ComboBox/v1/components/calculateWidth.d.ts +1 -0
- package/dist/types/ComboBox/v1/components/getoptions.d.ts +6 -0
- package/dist/types/ComboBox/v1/index.d.ts +2 -0
- package/dist/types/ComboBox/v1/withSelectStringValueConverter.d.ts +64 -0
- package/dist/types/ComboBox/v2/Combobox.d.ts +70 -0
- package/dist/types/ComboBox/v2/components/AllOption.d.ts +6 -0
- package/dist/types/ComboBox/v2/components/ClearIndicator.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/Content.d.ts +15 -0
- package/dist/types/ComboBox/v2/components/Control.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/CustomOption.d.ts +9 -0
- package/dist/types/ComboBox/v2/components/CustomOptionMulti.d.ts +9 -0
- package/dist/types/ComboBox/v2/components/DropdownIndicator.d.ts +24 -0
- package/dist/types/ComboBox/v2/components/GroupHeading.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/IndicatorSeparator.d.ts +5 -0
- package/dist/types/ComboBox/v2/components/LoadingIndicator.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/MenuList.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/MultiSelectHeader.d.ts +10 -0
- package/dist/types/ComboBox/v2/components/MultiValueLabel.d.ts +6 -0
- package/dist/types/ComboBox/v2/components/MultiValueRemove.d.ts +7 -0
- package/dist/types/ComboBox/v2/components/SelectMenu.d.ts +4 -0
- package/dist/types/ComboBox/v2/components/SingleValueLabel.d.ts +12 -0
- package/dist/types/ComboBox/v2/components/ValueContainer.d.ts +6 -0
- package/dist/types/ComboBox/v2/components/calculateWidth.d.ts +1 -0
- package/dist/types/ComboBox/v2/components/getoptions.d.ts +6 -0
- package/dist/types/ComboBox/v2/components/tests/ClearIndicator.test.d.ts +1 -0
- package/dist/types/ComboBox/v2/components/useMenuListHeight.d.ts +1 -0
- package/dist/types/ComboBox/v2/components/utils.d.ts +1 -0
- package/dist/types/ComboBox/v2/context.d.ts +2 -0
- package/dist/types/ComboBox/v2/index.d.ts +2 -0
- package/dist/types/ComboBox/v2/mockOptions.d.ts +5 -0
- package/dist/types/ComboBox/v2/tests/Combobox.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/ComboBox.d.ts +62 -0
- package/dist/types/ComboBox/v3/ComboBoxCTX.d.ts +6 -0
- package/dist/types/ComboBox/v3/ComboboxDataTestids.d.ts +11 -0
- package/dist/types/ComboBox/v3/config/constants.d.ts +8 -0
- package/dist/types/ComboBox/v3/config/useComboBox.d.ts +2 -0
- package/dist/types/ComboBox/v3/config/useGetPropsWithDefault.d.ts +2 -0
- package/dist/types/ComboBox/v3/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/index.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/a11y-messages/styled.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/container/Container.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/container/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/container/styled.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/controls/Controls.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/controls/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/controls/styled.d.ts +7 -0
- package/dist/types/ComboBox/v3/parts/controls-input/ControlsInput.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/controls-input/styled.d.ts +4 -0
- package/dist/types/ComboBox/v3/parts/controls-input/useControlsInput.d.ts +12 -0
- package/dist/types/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.d.ts +3 -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 +1 -0
- package/dist/types/ComboBox/v3/parts/empty-state/index.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/empty-state/styled.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/header-list/HeaderList.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/header-list/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/header-list/styled.d.ts +7 -0
- package/dist/types/ComboBox/v3/parts/header-list/useHeaderListHandlers.d.ts +12 -0
- package/dist/types/ComboBox/v3/parts/menu-list/MenuList.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/menu-list/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/menu-list/styled.d.ts +10 -0
- package/dist/types/ComboBox/v3/parts/menu-list/useItemRenderer.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/menu-list/useMenuList.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/styled.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.d.ts +2 -0
- package/dist/types/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.d.ts +3 -0
- package/dist/types/ComboBox/v3/parts/single-selected-value-container/index.d.ts +1 -0
- package/dist/types/ComboBox/v3/parts/single-selected-value-container/styled.d.ts +1 -0
- package/dist/types/ComboBox/v3/propTypes.d.ts +51 -0
- package/dist/types/ComboBox/v3/tests/combobox-general.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/tests/combobox-multi-select.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/tests/combobox-single-select.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/tests/combobox-special-keys.test.d.ts +1 -0
- package/dist/types/ComboBox/v3/tests/utils.d.ts +22 -0
- package/dist/types/ComboBox/v3/utils/hooks/useKeyboardNavigation.d.ts +4 -0
- package/dist/types/ComboBox/v3/utils/hooks/useOnElementResize.d.ts +3 -0
- package/dist/types/ComboBox/v3/utils/listHelper.d.ts +7 -0
- package/dist/types/ComboBoxFreeSolo/ComboBoxFreeSolo.d.ts +78 -0
- package/dist/types/ComboBoxFreeSolo/components/MultiValueLabel.d.ts +6 -0
- package/dist/types/ComboBoxFreeSolo/components/MultiValueRemove.d.ts +6 -0
- package/dist/types/ComboBoxFreeSolo/components/SingleValue.d.ts +3 -0
- package/dist/types/ComboBoxFreeSolo/components/SingleValueRemove.d.ts +6 -0
- package/dist/types/ComboBoxFreeSolo/index.d.ts +1 -0
- package/dist/types/DateInput/DSDateInput.d.ts +143 -0
- package/dist/types/DateInput/components/DateInputImpl.d.ts +41 -0
- package/dist/types/DateInput/components/DateInputs.d.ts +41 -0
- package/dist/types/DateInput/components/utils.d.ts +40 -0
- package/dist/types/DateInput/defaultProps.d.ts +18 -0
- package/dist/types/DateInput/index.d.ts +1 -0
- package/dist/types/DateInput/props.d.ts +173 -0
- package/dist/types/DateInput/tests/DSDateInput.events.test.d.ts +1 -0
- package/dist/types/DateInputV2/components/DSDateInput.d.ts +97 -0
- package/dist/types/DateInputV2/components/DateInputs.d.ts +33 -0
- package/dist/types/DateInputV2/components/helpers.d.ts +1 -0
- package/dist/types/DateInputV2/components/props.d.ts +104 -0
- package/dist/types/DateInputV2/components/propsTypes.d.ts +21 -0
- package/dist/types/DateInputV2/components/styled.d.ts +5 -0
- package/dist/types/DateInputV2/components/utils.d.ts +42 -0
- package/dist/types/DateInputV2/index.d.ts +2 -0
- package/dist/types/DateInputV2/tests/DateInput.test.d.ts +1 -0
- package/dist/types/ExpandableInput/DSExpandableInput.d.ts +16 -0
- package/dist/types/ExpandableInput/ExpandableInputImpl.d.ts +7 -0
- package/dist/types/ExpandableInput/index.d.ts +1 -0
- package/dist/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +193 -0
- package/dist/types/FloatingLabelInput/FloatingLabelInputImpl.d.ts +27 -0
- package/dist/types/FloatingLabelInput/getSvgPath.d.ts +10 -0
- package/dist/types/FloatingLabelInput/index.d.ts +1 -0
- package/dist/types/FormItem/DSFormItemLayout.d.ts +479 -0
- package/dist/types/FormItem/Error/DSError.d.ts +31 -0
- package/dist/types/FormItem/Feedback.d.ts +7 -0
- package/dist/types/FormItem/Label/DSLabel.d.ts +24 -0
- package/dist/types/FormItem/Suffix/Suffix.d.ts +4 -0
- package/dist/types/FormItem/ValidationFieldWrapper.d.ts +19 -0
- package/dist/types/FormItem/defaultProps.d.ts +197 -0
- package/dist/types/FormItem/index.d.ts +2 -0
- package/dist/types/FormItem/props.d.ts +270 -0
- package/dist/types/FormItem/tests/DSFormItem.events.test.d.ts +1 -0
- package/dist/types/FormItem/variants.d.ts +8 -0
- package/dist/types/Input/DSInput.d.ts +32 -0
- package/dist/types/Input/InputAddonWrapper.d.ts +15 -0
- package/dist/types/Input/InputImpl.d.ts +74 -0
- package/dist/types/Input/index.d.ts +1 -0
- package/dist/types/Input/tests/Input.test.d.ts +1 -0
- package/dist/types/InputGroup/AddonWrapper.d.ts +8 -0
- package/dist/types/InputGroup/DSInputGroup.d.ts +72 -0
- package/dist/types/InputGroup/defaultProps.d.ts +8 -0
- package/dist/types/InputGroup/index.d.ts +1 -0
- package/dist/types/InputGroup/props.d.ts +60 -0
- package/dist/types/InputGroup/tests/DSInputGroup.events.test.d.ts +1 -0
- package/dist/types/InputMask/DSInputMask.d.ts +218 -0
- package/dist/types/InputMask/DSInputMaskDeprecated.d.ts +18 -0
- package/dist/types/InputMask/InputMaskContext.d.ts +18 -0
- package/dist/types/InputMask/MaskPipes.d.ts +18 -0
- package/dist/types/InputMask/MaskTypes.d.ts +15 -0
- package/dist/types/InputMask/addons/AutoCorrectedDatePipe.d.ts +8 -0
- package/dist/types/InputMask/defaultProps.d.ts +28 -0
- package/dist/types/InputMask/index.d.ts +1 -0
- package/dist/types/InputMask/mask_types/DateInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/DateTimeInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/DictionaryInputMask.d.ts +81 -0
- package/dist/types/InputMask/mask_types/NumberInputMask.d.ts +99 -0
- package/dist/types/InputMask/mask_types/PhoneInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/SsnInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +75 -0
- package/dist/types/InputMask/mask_types/index.d.ts +42 -0
- package/dist/types/InputMask/props.d.ts +254 -0
- package/dist/types/InputMask/tests/DSInputMask.test.d.ts +1 -0
- package/dist/types/InputMask/tests/NumberInputMask.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/DateInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/DateTimeInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/NumberInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/PercentInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/PhoneInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/PhoneInternationalInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/SsnInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/UsZipCodeInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/tests/events/ZipCodeSearchInputMask.events.test.d.ts +1 -0
- package/dist/types/InputMask/types/index.d.ts +5 -0
- package/dist/types/InputMask/utils/setCaretPosition.d.ts +3 -0
- package/dist/types/InputProtected/DSInputProtected.d.ts +70 -0
- package/dist/types/InputProtected/defaultProps.d.ts +4 -0
- package/dist/types/InputProtected/index.d.ts +2 -0
- package/dist/types/InputProtected/options.d.ts +8 -0
- package/dist/types/InputProtected/props.d.ts +49 -0
- package/dist/types/InputProtected/tests/DSInputProtected.events.test.d.ts +1 -0
- package/dist/types/InputProtected/tests/DSInputProtected.test.d.ts +1 -0
- package/dist/types/LargeInputText/DSLargeInputText.d.ts +233 -0
- package/dist/types/LargeInputText/defaultProps.d.ts +31 -0
- package/dist/types/LargeInputText/index.d.ts +1 -0
- package/dist/types/LargeInputText/props.d.ts +231 -0
- package/dist/types/LargeInputText/tests/DSLargeInputText.events.test.d.ts +1 -0
- package/dist/types/LargeInputText/tests/DSLargeInputText.test.d.ts +1 -0
- package/dist/types/MenuItem/components/MenuItem/index.d.ts +20 -0
- package/dist/types/MenuItem/components/MenuItem/styled.d.ts +1 -0
- package/dist/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +21 -0
- package/dist/types/MenuItem/components/MultiMenuItem/styled.d.ts +1 -0
- package/dist/types/MenuItem/components/Section/index.d.ts +12 -0
- package/dist/types/MenuItem/components/Section/props.d.ts +14 -0
- package/dist/types/MenuItem/components/Section/styled.d.ts +2 -0
- package/dist/types/MenuItem/components/Separator/index.d.ts +8 -0
- package/dist/types/MenuItem/components/Separator/styled.d.ts +2 -0
- package/dist/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +16 -0
- package/dist/types/MenuItem/components/SubmenuItem/index.d.ts +20 -0
- package/dist/types/MenuItem/components/index.d.ts +6 -0
- package/dist/types/MenuItem/index.d.ts +1 -0
- package/dist/types/MenuItem/props.d.ts +38 -0
- package/dist/types/Radio/Circle.d.ts +8 -0
- package/dist/types/Radio/DSRadio.d.ts +157 -0
- package/dist/types/Radio/index.d.ts +1 -0
- package/dist/types/RadioGroup/DSRadioGroup.d.ts +72 -0
- package/dist/types/RadioGroup/defaultProps.d.ts +12 -0
- package/dist/types/RadioGroup/index.d.ts +1 -0
- package/dist/types/RadioGroup/props.d.ts +56 -0
- package/dist/types/RadioGroup/tests/DSRadioGroup.events.test.d.ts +1 -0
- package/dist/types/RequiredMark/RequiredMark.d.ts +7 -0
- package/dist/types/RequiredMark/index.d.ts +1 -0
- package/dist/types/SearchBox/DSSearchBox.d.ts +176 -0
- package/dist/types/SearchBox/NavSearchBox.d.ts +53 -0
- package/dist/types/SearchBox/SButton.d.ts +30 -0
- package/dist/types/SearchBox/SearchBoxToggle.d.ts +13 -0
- package/dist/types/SearchBox/defaultProps.d.ts +26 -0
- package/dist/types/SearchBox/index.d.ts +3 -0
- package/dist/types/SearchBox/props.d.ts +173 -0
- package/dist/types/SearchBox/styled.d.ts +1 -0
- package/dist/types/SearchBox/tests/DSNavSearchBox.events.test.d.ts +1 -0
- package/dist/types/SearchBox/tests/DSSearchBox.events.test.d.ts +1 -0
- package/dist/types/SearchBox/tests/DSSearchBox.test.d.ts +1 -0
- package/dist/types/SearchBox/useSearch.d.ts +9 -0
- package/dist/types/TextBox/DSTextBox.d.ts +207 -0
- package/dist/types/TextBox/index.d.ts +1 -0
- package/dist/types/TextBox/tests/DSTextBox.test.d.ts +1 -0
- package/dist/types/TimeInput/DSTimeInput.d.ts +122 -0
- package/dist/types/TimeInput/TimeInputImpl.d.ts +56 -0
- package/dist/types/TimeInput/TimeInputs.d.ts +18 -0
- package/dist/types/TimeInput/index.d.ts +1 -0
- package/dist/types/TimeInput/utils.d.ts +39 -0
- package/dist/types/Toggle/DSToggle.d.ts +134 -0
- package/dist/types/Toggle/DSToggleImpl.d.ts +57 -0
- package/dist/types/Toggle/DSToggleRender.d.ts +33 -0
- package/dist/types/Toggle/index.d.ts +1 -0
- package/dist/types/Toggle/props.d.ts +47 -0
- package/dist/types/Toggle/toggleHelper.d.ts +24 -0
- package/dist/types/index.d.ts +22 -0
- package/package.json +23 -23
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const defaultProps: {
|
|
2
|
+
containerProps: {};
|
|
3
|
+
autoFocus: boolean;
|
|
4
|
+
className: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
name: string;
|
|
7
|
+
id: null;
|
|
8
|
+
maxLength: null;
|
|
9
|
+
minLength: number;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
onClick: () => null;
|
|
12
|
+
onChange: () => null;
|
|
13
|
+
onFocus: () => null;
|
|
14
|
+
onBlur: () => null;
|
|
15
|
+
onKeyUp: () => null;
|
|
16
|
+
onKeyDown: () => null;
|
|
17
|
+
onPaste: () => null;
|
|
18
|
+
value: string;
|
|
19
|
+
hasError: boolean;
|
|
20
|
+
required: boolean;
|
|
21
|
+
readOnly: boolean;
|
|
22
|
+
resize: string;
|
|
23
|
+
innerRef: null;
|
|
24
|
+
ariaLabel: string;
|
|
25
|
+
ariaAutocomplete: string;
|
|
26
|
+
role: string;
|
|
27
|
+
characterLimitCounter: number;
|
|
28
|
+
rows: number;
|
|
29
|
+
errorLimit: string;
|
|
30
|
+
tabIndex: string;
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, DSLargeInputTextWithSchema, DSLargeInputText } from './DSLargeInputText';
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
export declare const props: {
|
|
3
|
+
/** Injected props to wrapper element of component */
|
|
4
|
+
containerProps: {
|
|
5
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
+
};
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Whether uses auto focus or not
|
|
12
|
+
*/
|
|
13
|
+
autoFocus: {
|
|
14
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
18
|
+
};
|
|
19
|
+
/** CSS class */
|
|
20
|
+
className: {
|
|
21
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Whether is disabled or not
|
|
28
|
+
*/
|
|
29
|
+
disabled: {
|
|
30
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
|
+
};
|
|
35
|
+
/** HTML form name property */
|
|
36
|
+
name: {
|
|
37
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
41
|
+
};
|
|
42
|
+
/** HTML id */
|
|
43
|
+
id: {
|
|
44
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
45
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Max length for text to be entered
|
|
51
|
+
*/
|
|
52
|
+
maxLength: {
|
|
53
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
54
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
55
|
+
};
|
|
56
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Min length for text to be entered
|
|
60
|
+
*/
|
|
61
|
+
minLength: {
|
|
62
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
63
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
|
+
};
|
|
65
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Placeholder for the text
|
|
69
|
+
*/
|
|
70
|
+
placeholder: {
|
|
71
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
72
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
73
|
+
};
|
|
74
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Allows a function that is triggered once the input text is clicked
|
|
78
|
+
*/
|
|
79
|
+
onClick: {
|
|
80
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
81
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
82
|
+
};
|
|
83
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Allows a function that is triggered once the input text 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
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Allows a function that is triggered once the input text is focused
|
|
96
|
+
*/
|
|
97
|
+
onFocus: {
|
|
98
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
99
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
100
|
+
};
|
|
101
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Allows a function that is triggered once the input text loses focus
|
|
105
|
+
*/
|
|
106
|
+
onBlur: {
|
|
107
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
108
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
109
|
+
};
|
|
110
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Allows a function that is triggered once in the input a keyboard key is released
|
|
114
|
+
*/
|
|
115
|
+
onKeyUp: {
|
|
116
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
117
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
118
|
+
};
|
|
119
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Allows a function that is triggered once a key is being pressed
|
|
123
|
+
*/
|
|
124
|
+
onKeyDown: {
|
|
125
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
126
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
127
|
+
};
|
|
128
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Allows a function that is triggered once the input text is pasted
|
|
132
|
+
*/
|
|
133
|
+
onPaste: {
|
|
134
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
135
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
136
|
+
};
|
|
137
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Default value once the component is initialized
|
|
141
|
+
*/
|
|
142
|
+
value: {
|
|
143
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
144
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
145
|
+
};
|
|
146
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Whether the input text has error or not
|
|
150
|
+
*/
|
|
151
|
+
hasError: {
|
|
152
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
153
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
154
|
+
};
|
|
155
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Whether the input text is required or not
|
|
159
|
+
*/
|
|
160
|
+
required: {
|
|
161
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
162
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
163
|
+
};
|
|
164
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Whether the input text is read only or not
|
|
168
|
+
*/
|
|
169
|
+
readOnly: {
|
|
170
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
171
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
172
|
+
};
|
|
173
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Whether the input text style is vertical or not
|
|
177
|
+
*/
|
|
178
|
+
resize: {
|
|
179
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
180
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
181
|
+
};
|
|
182
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
183
|
+
};
|
|
184
|
+
/** ref forwarded to component */
|
|
185
|
+
innerRef: {
|
|
186
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
187
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
188
|
+
};
|
|
189
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
190
|
+
};
|
|
191
|
+
/** a11y aria label */
|
|
192
|
+
ariaLabel: {
|
|
193
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
194
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
195
|
+
};
|
|
196
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
197
|
+
};
|
|
198
|
+
ariaAutocomplete: {
|
|
199
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
200
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
201
|
+
};
|
|
202
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Type of input. Ex: textbox
|
|
206
|
+
*/
|
|
207
|
+
role: {
|
|
208
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
209
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
210
|
+
};
|
|
211
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* it will show a counter/limit if the value is greater than 0
|
|
215
|
+
*/
|
|
216
|
+
characterLimitCounter: {
|
|
217
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
218
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
219
|
+
};
|
|
220
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Tab index html property.
|
|
224
|
+
*/
|
|
225
|
+
tabIndex: {
|
|
226
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
227
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
228
|
+
};
|
|
229
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { MenuItemT } from '../../props';
|
|
4
|
+
declare const MenuItem: {
|
|
5
|
+
(props: MenuItemT): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
value: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const MenuItemWithSchema: {
|
|
16
|
+
(props?: unknown): JSX.Element;
|
|
17
|
+
propTypes: unknown;
|
|
18
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
19
|
+
};
|
|
20
|
+
export { MenuItem, MenuItemWithSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledItemLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { MenuItemT } from '../../props';
|
|
4
|
+
declare const MultiMenuItem: {
|
|
5
|
+
(props: MenuItemT): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
value: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
defaultProps: MenuItemT;
|
|
15
|
+
};
|
|
16
|
+
declare const MultiMenuItemWithSchema: {
|
|
17
|
+
(props?: unknown): JSX.Element;
|
|
18
|
+
propTypes: unknown;
|
|
19
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
20
|
+
};
|
|
21
|
+
export { MultiMenuItem, MultiMenuItemWithSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledItemContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { MenuSectionItemT } from './props';
|
|
4
|
+
declare const Section: {
|
|
5
|
+
(props: MenuSectionItemT): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
label: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export { Section };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
export interface MenuSectionItemT {
|
|
4
|
+
label: string;
|
|
5
|
+
wrapperStyles?: Record<string, unknown>;
|
|
6
|
+
innerRef?: React.RefObject<HTMLLIElement> | ((_ref: HTMLLIElement) => void);
|
|
7
|
+
render?: (props: MenuSectionItemT) => JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
export declare const defaultProps: MenuSectionItemT;
|
|
10
|
+
export declare const itemProps: {
|
|
11
|
+
label: {
|
|
12
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const StyledGroupLabel: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const StyledSectionWrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SeparatorProps {
|
|
3
|
+
wrapperStyles: Record<string, unknown>;
|
|
4
|
+
innerRef: React.RefObject<HTMLLIElement> | ((_ref: HTMLLIElement) => void);
|
|
5
|
+
render?: (props: SeparatorProps) => JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
declare const Separator: (props: SeparatorProps) => JSX.Element;
|
|
8
|
+
export { Separator };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const StyledSeparator: import("styled-components").StyledComponent<"hr", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const StyledSeparatorWrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { MenuItemT } from '../../props';
|
|
4
|
+
declare const SingleMenuItem: {
|
|
5
|
+
(props: MenuItemT): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
value: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
defaultProps: MenuItemT;
|
|
15
|
+
};
|
|
16
|
+
export { SingleMenuItem };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference path="../../../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { MenuItemT } from '../../props';
|
|
4
|
+
declare const SubmenuItem: {
|
|
5
|
+
(props: MenuItemT): JSX.Element;
|
|
6
|
+
propTypes: {
|
|
7
|
+
value: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
label: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const SubmenuItemWithSchema: {
|
|
16
|
+
(props?: unknown): JSX.Element;
|
|
17
|
+
propTypes: unknown;
|
|
18
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
19
|
+
};
|
|
20
|
+
export { SubmenuItem, SubmenuItemWithSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { SizingProps } from '@xstyled/styled-components';
|
|
4
|
+
export interface MenuItemT {
|
|
5
|
+
dsId: string;
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
onClick: (value: any) => void;
|
|
9
|
+
onKeyUp: () => void;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
isFocus: boolean;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
rightAddon?: 'chevron' | 'ellipsis';
|
|
15
|
+
options?: unknown[];
|
|
16
|
+
innerRef?: React.RefObject<HTMLLIElement> | ((_ref: HTMLLIElement) => void);
|
|
17
|
+
selectedOptions?: unknown[];
|
|
18
|
+
onMouseDown?: React.MouseEventHandler;
|
|
19
|
+
onMouseEnter?: React.MouseEventHandler;
|
|
20
|
+
onMouseLeave?: React.MouseEventHandler;
|
|
21
|
+
onKeyDown?: React.KeyboardEventHandler;
|
|
22
|
+
wrapperStyles?: Record<string, unknown>;
|
|
23
|
+
withVirtualization?: boolean;
|
|
24
|
+
minWidth?: SizingProps['minWidth'];
|
|
25
|
+
maxHeight?: SizingProps['maxHeight'];
|
|
26
|
+
render?: (props: MenuItemT) => JSX.Element;
|
|
27
|
+
tabIndex?: number;
|
|
28
|
+
dataTestid: string;
|
|
29
|
+
}
|
|
30
|
+
export declare const defaultProps: MenuItemT;
|
|
31
|
+
export declare const itemProps: {
|
|
32
|
+
value: {
|
|
33
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
35
|
+
label: {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
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
|
+
}
|
|
25
|
+
declare const DSRadio: {
|
|
26
|
+
({ containerProps, className, style, labelText, htmlFor, hasError, readOnly, disabled, checked, value, name, onChange, children, tabIndex, ...otherProps }: DSRadioT): JSX.Element;
|
|
27
|
+
defaultProps: {
|
|
28
|
+
containerProps: {};
|
|
29
|
+
className: string;
|
|
30
|
+
hasError: boolean;
|
|
31
|
+
readOnly: boolean;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
checked: boolean;
|
|
34
|
+
name: string;
|
|
35
|
+
onChange: () => null;
|
|
36
|
+
children: null;
|
|
37
|
+
tabIndex: number;
|
|
38
|
+
};
|
|
39
|
+
propTypes: {
|
|
40
|
+
/** Injected props to wrapper element of component */
|
|
41
|
+
containerProps: {
|
|
42
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
43
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
46
|
+
};
|
|
47
|
+
/** css class prop */
|
|
48
|
+
className: {
|
|
49
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
53
|
+
};
|
|
54
|
+
/** name property to manage form */
|
|
55
|
+
name: {
|
|
56
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
57
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Displayable label for the radio
|
|
63
|
+
*/
|
|
64
|
+
labelText: {
|
|
65
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
66
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
67
|
+
};
|
|
68
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
69
|
+
};
|
|
70
|
+
/** HTMLFOR property to manage form */
|
|
71
|
+
htmlFor: {
|
|
72
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
73
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
74
|
+
};
|
|
75
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Whether the radio has error or not
|
|
79
|
+
*/
|
|
80
|
+
hasError: {
|
|
81
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
82
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
83
|
+
};
|
|
84
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Whether the radio is read only or not
|
|
88
|
+
*/
|
|
89
|
+
readOnly: {
|
|
90
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
91
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
92
|
+
};
|
|
93
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Whether the radio is disabled or not
|
|
97
|
+
*/
|
|
98
|
+
disabled: {
|
|
99
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
100
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
101
|
+
};
|
|
102
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Whether the radio is checked or not
|
|
106
|
+
*/
|
|
107
|
+
checked: {
|
|
108
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
109
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
110
|
+
};
|
|
111
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Value that takes the checkbox if it is checked
|
|
115
|
+
*/
|
|
116
|
+
value: import("react-desc").PropTypesDescValue;
|
|
117
|
+
/**
|
|
118
|
+
* Allows a function that is triggered once the radio changes
|
|
119
|
+
*/
|
|
120
|
+
onChange: {
|
|
121
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
122
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
123
|
+
};
|
|
124
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Optional, if you want a checkbox customized
|
|
128
|
+
*/
|
|
129
|
+
children: {
|
|
130
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
131
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
132
|
+
};
|
|
133
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
134
|
+
};
|
|
135
|
+
/** HTML tabindex to manage focus */
|
|
136
|
+
tabIndex: {
|
|
137
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
138
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
139
|
+
};
|
|
140
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
141
|
+
};
|
|
142
|
+
/** style override object */
|
|
143
|
+
style: {
|
|
144
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
145
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
146
|
+
};
|
|
147
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
declare const DSRadioWithSchema: {
|
|
152
|
+
(props?: unknown): JSX.Element;
|
|
153
|
+
propTypes: unknown;
|
|
154
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
155
|
+
};
|
|
156
|
+
export { DSRadio, DSRadioWithSchema };
|
|
157
|
+
export default DSRadio;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DSRadio';
|