@elliemae/ds-form 3.17.0-next.2 → 3.17.0-next.21
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/types/Checkbox/index.d.ts +1 -0
- package/dist/types/CheckboxGroup/DSCheckboxGroup.d.ts +46 -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 +26 -0
- package/dist/types/CheckboxGroup/tests/DSCheckboxGroup.events.test.d.ts +1 -0
- package/dist/types/ComboBox/index.d.ts +1 -0
- package/dist/types/ComboBoxFreeSolo/ComboBoxFreeSolo.d.ts +78 -0
- package/dist/types/ComboBoxFreeSolo/components/MultiValueLabel.d.ts +5 -0
- package/dist/types/ComboBoxFreeSolo/components/MultiValueRemove.d.ts +5 -0
- package/dist/types/ComboBoxFreeSolo/components/SingleValue.d.ts +2 -0
- package/dist/types/ComboBoxFreeSolo/components/SingleValueRemove.d.ts +5 -0
- package/dist/types/ComboBoxFreeSolo/index.d.ts +1 -0
- package/dist/types/DateInput/DSDateInput.d.ts +62 -0
- package/dist/types/DateInput/components/DateInputImpl.d.ts +40 -0
- package/dist/types/DateInput/components/DateInputs.d.ts +40 -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 +60 -0
- package/dist/types/DateInput/tests/DSDateInput.events.test.d.ts +1 -0
- package/dist/types/DateInputV2/components/DSDateInput.d.ts +54 -0
- package/dist/types/DateInputV2/components/DateInputs.d.ts +32 -0
- package/dist/types/DateInputV2/components/helpers.d.ts +1 -0
- package/dist/types/DateInputV2/components/props.d.ts +53 -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 +15 -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 +43 -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 +180 -0
- package/dist/types/FormItem/Error/DSError.d.ts +19 -0
- package/dist/types/FormItem/Feedback.d.ts +6 -0
- package/dist/types/FormItem/Label/DSLabel.d.ts +23 -0
- package/dist/types/FormItem/Suffix/Suffix.d.ts +5 -0
- package/dist/types/FormItem/ValidationFieldWrapper.d.ts +19 -0
- package/dist/types/FormItem/defaultProps.d.ts +51 -0
- package/dist/types/FormItem/index.d.ts +2 -0
- package/dist/types/FormItem/props.d.ts +80 -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 +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 +1 -0
- package/dist/types/Input/tests/Input.test.d.ts +0 -0
- package/dist/types/InputGroup/AddonWrapper.d.ts +8 -0
- package/dist/types/InputGroup/DSInputGroup.d.ts +40 -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 +24 -0
- package/dist/types/InputGroup/tests/DSInputGroup.events.test.d.ts +1 -0
- package/dist/types/InputMask/DSInputMask.d.ts +85 -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 +36 -0
- package/dist/types/InputMask/mask_types/DateTimeInputMask.d.ts +36 -0
- package/dist/types/InputMask/mask_types/DictionaryInputMask.d.ts +39 -0
- package/dist/types/InputMask/mask_types/NumberInputMask.d.ts +48 -0
- package/dist/types/InputMask/mask_types/PhoneInputMask.d.ts +36 -0
- package/dist/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +36 -0
- package/dist/types/InputMask/mask_types/SsnInputMask.d.ts +36 -0
- package/dist/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +36 -0
- package/dist/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +36 -0
- package/dist/types/InputMask/mask_types/index.d.ts +41 -0
- package/dist/types/InputMask/props.d.ts +112 -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 +41 -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 +14 -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 +127 -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 +95 -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 +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 +8 -0
- package/dist/types/Radio/DSRadio.d.ts +87 -0
- package/dist/types/Radio/index.d.ts +1 -0
- package/dist/types/RadioGroup/DSRadioGroup.d.ts +46 -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 +25 -0
- package/dist/types/RadioGroup/tests/DSRadioGroup.events.test.d.ts +1 -0
- package/dist/types/RequiredMark/RequiredMark.d.ts +6 -0
- package/dist/types/RequiredMark/index.d.ts +1 -0
- package/dist/types/SearchBox/index.d.ts +1 -0
- package/dist/types/TextBox/index.d.ts +1 -0
- package/dist/types/TimeInput/DSTimeInput.d.ts +71 -0
- package/dist/types/TimeInput/TimeInputImpl.d.ts +55 -0
- package/dist/types/TimeInput/TimeInputs.d.ts +17 -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 +86 -0
- package/dist/types/Toggle/DSToggleImpl.d.ts +61 -0
- package/dist/types/Toggle/DSToggleRender.d.ts +32 -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 +21 -0
- package/package.json +15 -15
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export declare const inputProps: {
|
|
2
|
+
/** Should component focus automatically */
|
|
3
|
+
autoFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
4
|
+
/**
|
|
5
|
+
* Set style for the input mask
|
|
6
|
+
*/
|
|
7
|
+
style: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the input mask is disabled or not
|
|
10
|
+
*/
|
|
11
|
+
disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
12
|
+
/** disableTooltip */
|
|
13
|
+
disableTooltip: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
14
|
+
/** css class */
|
|
15
|
+
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
16
|
+
/** html name prop for form */
|
|
17
|
+
name: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
18
|
+
/**
|
|
19
|
+
* Max length for the input mask
|
|
20
|
+
*/
|
|
21
|
+
maxLength: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
22
|
+
/**
|
|
23
|
+
* Min length for the input mask
|
|
24
|
+
*/
|
|
25
|
+
minLength: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
26
|
+
/**
|
|
27
|
+
* Whether to make the content of the input mask fit the container or not
|
|
28
|
+
*/
|
|
29
|
+
fluidWidth: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
30
|
+
/** isShowElipsisActive */
|
|
31
|
+
isShowElipsisActive: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
32
|
+
/**
|
|
33
|
+
* Component that works as placeholder
|
|
34
|
+
*/
|
|
35
|
+
placeholder: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
36
|
+
/**
|
|
37
|
+
* Allows a function that is triggered once a key is being pressed
|
|
38
|
+
*/
|
|
39
|
+
onKeyDown: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
40
|
+
/**
|
|
41
|
+
* Allows a function that is triggered once the input mask is clicked
|
|
42
|
+
*/
|
|
43
|
+
onClick: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
44
|
+
/**
|
|
45
|
+
* Allows a function that is triggered once the input mask changes
|
|
46
|
+
*/
|
|
47
|
+
onChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
48
|
+
/**
|
|
49
|
+
* Allows a function that is triggered once the input mask is focused
|
|
50
|
+
*/
|
|
51
|
+
onFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
52
|
+
/**
|
|
53
|
+
* Allows a function that is triggered once the input mask loses focus
|
|
54
|
+
*/
|
|
55
|
+
onBlur: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
56
|
+
/**
|
|
57
|
+
* Allows a function that is triggered once the input mask is pasted
|
|
58
|
+
*/
|
|
59
|
+
onPaste: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
60
|
+
/**
|
|
61
|
+
* Allows a function that is triggered once in the input mask a keyboard key is released
|
|
62
|
+
*/
|
|
63
|
+
onKeyUp: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
64
|
+
/**
|
|
65
|
+
* Default value once the component is initialized
|
|
66
|
+
*/
|
|
67
|
+
value: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
68
|
+
/**
|
|
69
|
+
* Whether the input mask has error or not
|
|
70
|
+
*/
|
|
71
|
+
hasError: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the input mask is read only or not
|
|
74
|
+
*/
|
|
75
|
+
readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
76
|
+
innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
77
|
+
/**
|
|
78
|
+
* Type of input. Ex: 'text'
|
|
79
|
+
*/
|
|
80
|
+
type: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
81
|
+
/**
|
|
82
|
+
* Whether the input mask is clearable or not
|
|
83
|
+
*/
|
|
84
|
+
clearable: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
85
|
+
/**
|
|
86
|
+
* Component to be added at the right side of the input
|
|
87
|
+
*/
|
|
88
|
+
leftComponent: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
89
|
+
/**
|
|
90
|
+
* Component to be added at the right side of the input
|
|
91
|
+
*/
|
|
92
|
+
rightComponent: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
93
|
+
/**
|
|
94
|
+
* Mask that has to match with the input information entered
|
|
95
|
+
* ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']
|
|
96
|
+
*/
|
|
97
|
+
mask: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
98
|
+
/**
|
|
99
|
+
Expects pipe functions. i.e. autoCorrectedDatePipe
|
|
100
|
+
link a docu de text-mask
|
|
101
|
+
*/
|
|
102
|
+
pipe: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
103
|
+
/**
|
|
104
|
+
* Put a sufix after the input mask
|
|
105
|
+
*/
|
|
106
|
+
useSubfix: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
107
|
+
/**
|
|
108
|
+
* The placeholder character represents the fillable spot in the mask.
|
|
109
|
+
* The default placeholder character is underscore, _
|
|
110
|
+
*/
|
|
111
|
+
placeholderChar: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
112
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const DSInputProtected: {
|
|
2
|
+
({ leftAddon, rightAddon, onChange, value, readOnly, mask, type, placeholderChar, ...rest }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
leftAddon: any;
|
|
5
|
+
rightAddon: any;
|
|
6
|
+
onChange: any;
|
|
7
|
+
value: any;
|
|
8
|
+
readOnly: any;
|
|
9
|
+
mask: any;
|
|
10
|
+
type: any;
|
|
11
|
+
placeholderChar?: undefined;
|
|
12
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
13
|
+
propTypes: {
|
|
14
|
+
leftAddon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
15
|
+
rightAddon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
16
|
+
onChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
17
|
+
value: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
18
|
+
readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
19
|
+
mask: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
20
|
+
type: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
21
|
+
placeholderChar: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
22
|
+
};
|
|
23
|
+
defaultProps: {
|
|
24
|
+
rightAddon: string;
|
|
25
|
+
mask: (data: any) => any[];
|
|
26
|
+
};
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
29
|
+
declare const DSInputProtectedWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
leftAddon: any;
|
|
32
|
+
rightAddon: any;
|
|
33
|
+
onChange: any;
|
|
34
|
+
value: any;
|
|
35
|
+
readOnly: any;
|
|
36
|
+
mask: any;
|
|
37
|
+
type: any;
|
|
38
|
+
placeholderChar?: undefined;
|
|
39
|
+
}>;
|
|
40
|
+
export { DSInputProtectedWithSchema, DSInputProtected };
|
|
41
|
+
export default DSInputProtected;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const inputProtectedProps: {
|
|
2
|
+
leftAddon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
3
|
+
rightAddon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
4
|
+
onChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
5
|
+
value: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
6
|
+
readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
7
|
+
mask: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
8
|
+
type: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
9
|
+
/**
|
|
10
|
+
* PlaceholderChar: The placeholder character represents the fillable spot in the mask.
|
|
11
|
+
* The default placeholder character is underscore, _.
|
|
12
|
+
*/
|
|
13
|
+
placeholderChar: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
declare const DSLargeInputText: {
|
|
2
|
+
({ containerProps, autoFocus, className, disabled, name, id, maxLength, minLength, placeholder, onClick, onChange, onFocus, onBlur, onKeyUp, onKeyDown, onPaste, value, hasError, required, readOnly, resize, innerRef, ariaLabel, ariaAutocomplete, role, characterLimitCounter, rows, errorLimit, tabIndex, }: {
|
|
3
|
+
containerProps: any;
|
|
4
|
+
autoFocus: any;
|
|
5
|
+
className: any;
|
|
6
|
+
disabled: any;
|
|
7
|
+
name: any;
|
|
8
|
+
id: any;
|
|
9
|
+
maxLength: any;
|
|
10
|
+
minLength: any;
|
|
11
|
+
placeholder: any;
|
|
12
|
+
onClick: any;
|
|
13
|
+
onChange: any;
|
|
14
|
+
onFocus: any;
|
|
15
|
+
onBlur: any;
|
|
16
|
+
onKeyUp: any;
|
|
17
|
+
onKeyDown: any;
|
|
18
|
+
onPaste: any;
|
|
19
|
+
value: any;
|
|
20
|
+
hasError: any;
|
|
21
|
+
required: any;
|
|
22
|
+
readOnly: any;
|
|
23
|
+
resize: any;
|
|
24
|
+
innerRef: any;
|
|
25
|
+
ariaLabel: any;
|
|
26
|
+
ariaAutocomplete: any;
|
|
27
|
+
role: any;
|
|
28
|
+
characterLimitCounter: any;
|
|
29
|
+
rows: any;
|
|
30
|
+
errorLimit: any;
|
|
31
|
+
tabIndex: any;
|
|
32
|
+
}): import("react/jsx-runtime.js").JSX.Element;
|
|
33
|
+
propTypes: {
|
|
34
|
+
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
35
|
+
autoFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
36
|
+
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
37
|
+
disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
38
|
+
name: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
39
|
+
id: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
40
|
+
maxLength: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
41
|
+
minLength: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
42
|
+
placeholder: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
43
|
+
onClick: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
44
|
+
onChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
45
|
+
onFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
46
|
+
onBlur: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
47
|
+
onKeyUp: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
48
|
+
onKeyDown: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
49
|
+
onPaste: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
50
|
+
value: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
51
|
+
hasError: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
52
|
+
required: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
53
|
+
readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
54
|
+
resize: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
55
|
+
innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
56
|
+
ariaLabel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
57
|
+
ariaAutocomplete: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
58
|
+
role: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
59
|
+
characterLimitCounter: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
60
|
+
tabIndex: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
61
|
+
};
|
|
62
|
+
defaultProps: {
|
|
63
|
+
containerProps: {};
|
|
64
|
+
autoFocus: boolean;
|
|
65
|
+
className: string;
|
|
66
|
+
disabled: boolean;
|
|
67
|
+
name: string;
|
|
68
|
+
id: null;
|
|
69
|
+
maxLength: null;
|
|
70
|
+
minLength: number;
|
|
71
|
+
placeholder: string;
|
|
72
|
+
onClick: () => null;
|
|
73
|
+
onChange: () => null;
|
|
74
|
+
onFocus: () => null;
|
|
75
|
+
onBlur: () => null;
|
|
76
|
+
onKeyUp: () => null;
|
|
77
|
+
onKeyDown: () => null;
|
|
78
|
+
onPaste: () => null;
|
|
79
|
+
value: string;
|
|
80
|
+
hasError: boolean;
|
|
81
|
+
required: boolean;
|
|
82
|
+
readOnly: boolean;
|
|
83
|
+
resize: string;
|
|
84
|
+
innerRef: null;
|
|
85
|
+
ariaLabel: string;
|
|
86
|
+
ariaAutocomplete: string;
|
|
87
|
+
role: string;
|
|
88
|
+
characterLimitCounter: number;
|
|
89
|
+
rows: number;
|
|
90
|
+
errorLimit: string;
|
|
91
|
+
tabIndex: string;
|
|
92
|
+
};
|
|
93
|
+
displayName: string;
|
|
94
|
+
};
|
|
95
|
+
declare const DSLargeInputTextWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<{
|
|
96
|
+
containerProps: any;
|
|
97
|
+
autoFocus: any;
|
|
98
|
+
className: any;
|
|
99
|
+
disabled: any;
|
|
100
|
+
name: any;
|
|
101
|
+
id: any;
|
|
102
|
+
maxLength: any;
|
|
103
|
+
minLength: any;
|
|
104
|
+
placeholder: any;
|
|
105
|
+
onClick: any;
|
|
106
|
+
onChange: any;
|
|
107
|
+
onFocus: any;
|
|
108
|
+
onBlur: any;
|
|
109
|
+
onKeyUp: any;
|
|
110
|
+
onKeyDown: any;
|
|
111
|
+
onPaste: any;
|
|
112
|
+
value: any;
|
|
113
|
+
hasError: any;
|
|
114
|
+
required: any;
|
|
115
|
+
readOnly: any;
|
|
116
|
+
resize: any;
|
|
117
|
+
innerRef: any;
|
|
118
|
+
ariaLabel: any;
|
|
119
|
+
ariaAutocomplete: any;
|
|
120
|
+
role: any;
|
|
121
|
+
characterLimitCounter: any;
|
|
122
|
+
rows: any;
|
|
123
|
+
errorLimit: any;
|
|
124
|
+
tabIndex: any;
|
|
125
|
+
}>;
|
|
126
|
+
export { DSLargeInputTextWithSchema, DSLargeInputText };
|
|
127
|
+
export default DSLargeInputText;
|
|
@@ -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.js';
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare const props: {
|
|
2
|
+
/** Injected props to wrapper element of component */
|
|
3
|
+
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
4
|
+
/**
|
|
5
|
+
* Whether uses auto focus or not
|
|
6
|
+
*/
|
|
7
|
+
autoFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
8
|
+
/** CSS class */
|
|
9
|
+
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
10
|
+
/**
|
|
11
|
+
* Whether is disabled or not
|
|
12
|
+
*/
|
|
13
|
+
disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
14
|
+
/** HTML form name property */
|
|
15
|
+
name: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
16
|
+
/** HTML id */
|
|
17
|
+
id: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
18
|
+
/**
|
|
19
|
+
* Max length for text to be entered
|
|
20
|
+
*/
|
|
21
|
+
maxLength: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
22
|
+
/**
|
|
23
|
+
* Min length for text to be entered
|
|
24
|
+
*/
|
|
25
|
+
minLength: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
26
|
+
/**
|
|
27
|
+
* Placeholder for the text
|
|
28
|
+
*/
|
|
29
|
+
placeholder: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
30
|
+
/**
|
|
31
|
+
* Allows a function that is triggered once the input text is clicked
|
|
32
|
+
*/
|
|
33
|
+
onClick: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
34
|
+
/**
|
|
35
|
+
* Allows a function that is triggered once the input text changes
|
|
36
|
+
*/
|
|
37
|
+
onChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
38
|
+
/**
|
|
39
|
+
* Allows a function that is triggered once the input text is focused
|
|
40
|
+
*/
|
|
41
|
+
onFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
42
|
+
/**
|
|
43
|
+
* Allows a function that is triggered once the input text loses focus
|
|
44
|
+
*/
|
|
45
|
+
onBlur: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
46
|
+
/**
|
|
47
|
+
* Allows a function that is triggered once in the input a keyboard key is released
|
|
48
|
+
*/
|
|
49
|
+
onKeyUp: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
50
|
+
/**
|
|
51
|
+
* Allows a function that is triggered once a key is being pressed
|
|
52
|
+
*/
|
|
53
|
+
onKeyDown: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
54
|
+
/**
|
|
55
|
+
* Allows a function that is triggered once the input text is pasted
|
|
56
|
+
*/
|
|
57
|
+
onPaste: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
58
|
+
/**
|
|
59
|
+
* Default value once the component is initialized
|
|
60
|
+
*/
|
|
61
|
+
value: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the input text has error or not
|
|
64
|
+
*/
|
|
65
|
+
hasError: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
66
|
+
/**
|
|
67
|
+
* Whether the input text is required or not
|
|
68
|
+
*/
|
|
69
|
+
required: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
70
|
+
/**
|
|
71
|
+
* Whether the input text is read only or not
|
|
72
|
+
*/
|
|
73
|
+
readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
74
|
+
/**
|
|
75
|
+
* Whether the input text style is vertical or not
|
|
76
|
+
*/
|
|
77
|
+
resize: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
78
|
+
/** ref forwarded to component */
|
|
79
|
+
innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
80
|
+
/** a11y aria label */
|
|
81
|
+
ariaLabel: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
82
|
+
ariaAutocomplete: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
83
|
+
/**
|
|
84
|
+
* Type of input. Ex: textbox
|
|
85
|
+
*/
|
|
86
|
+
role: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
87
|
+
/**
|
|
88
|
+
* it will show a counter/limit if the value is greater than 0
|
|
89
|
+
*/
|
|
90
|
+
characterLimitCounter: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
91
|
+
/**
|
|
92
|
+
* Tab index html property.
|
|
93
|
+
*/
|
|
94
|
+
tabIndex: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
95
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DSRadioT {
|
|
3
|
+
[x: string]: unknown;
|
|
4
|
+
innerRef?: React.MutableRefObject<HTMLInputElement>;
|
|
5
|
+
containerProps?: {
|
|
6
|
+
[x: string]: unknown;
|
|
7
|
+
};
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
labelText?: string;
|
|
11
|
+
htmlFor?: string;
|
|
12
|
+
hasError?: boolean;
|
|
13
|
+
readOnly?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
checked?: boolean;
|
|
16
|
+
value?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLSpanElement>;
|
|
19
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
20
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
21
|
+
tabIndex?: number;
|
|
22
|
+
}
|
|
23
|
+
declare const DSRadio: {
|
|
24
|
+
({ containerProps, className, style, labelText, htmlFor, hasError, readOnly, disabled, checked, value, name, onChange, children, tabIndex, innerRef, ...otherProps }: DSRadioT): import("react/jsx-runtime.js").JSX.Element;
|
|
25
|
+
defaultProps: {
|
|
26
|
+
containerProps: {};
|
|
27
|
+
className: string;
|
|
28
|
+
hasError: boolean;
|
|
29
|
+
readOnly: boolean;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
checked: boolean;
|
|
32
|
+
name: string;
|
|
33
|
+
onChange: () => null;
|
|
34
|
+
children: null;
|
|
35
|
+
tabIndex: number;
|
|
36
|
+
};
|
|
37
|
+
propTypes: {
|
|
38
|
+
/** Injected props to wrapper element of component */
|
|
39
|
+
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
40
|
+
/** css class prop */
|
|
41
|
+
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
42
|
+
/** name property to manage form */
|
|
43
|
+
name: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
44
|
+
/**
|
|
45
|
+
* Displayable label for the radio
|
|
46
|
+
*/
|
|
47
|
+
labelText: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
48
|
+
/** HTMLFOR property to manage form */
|
|
49
|
+
htmlFor: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the radio has error or not
|
|
52
|
+
*/
|
|
53
|
+
hasError: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the radio is read only or not
|
|
56
|
+
*/
|
|
57
|
+
readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the radio is disabled or not
|
|
60
|
+
*/
|
|
61
|
+
disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the radio is checked or not
|
|
64
|
+
*/
|
|
65
|
+
checked: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
66
|
+
/**
|
|
67
|
+
* Value that takes the checkbox if it is checked
|
|
68
|
+
*/
|
|
69
|
+
value: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
70
|
+
/**
|
|
71
|
+
* Allows a function that is triggered once the radio changes
|
|
72
|
+
*/
|
|
73
|
+
onChange: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
74
|
+
/**
|
|
75
|
+
* Optional, if you want a checkbox customized
|
|
76
|
+
*/
|
|
77
|
+
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
78
|
+
/** HTML tabindex to manage focus */
|
|
79
|
+
tabIndex: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
80
|
+
/** style override object */
|
|
81
|
+
style: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
82
|
+
};
|
|
83
|
+
displayName: string;
|
|
84
|
+
};
|
|
85
|
+
declare const DSRadioWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSRadioT>;
|
|
86
|
+
export { DSRadio, DSRadioWithSchema };
|
|
87
|
+
export default DSRadio;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DSRadio.js';
|