@elliemae/ds-form 2.0.0-rc.5 → 2.0.0-rc.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/cjs/ComboBox/v3/ComboBox.js +1 -1
- package/cjs/ComboBox/v3/ComboBoxCTX.js +0 -1
- package/cjs/ComboBox/v3/parts/controls/styled.js +18 -18
- package/cjs/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js +0 -3
- package/cjs/ComboBox/v3/parts/dropdown-indicator/styled.js +1 -1
- package/cjs/ComboBox/v3/parts/header-list/HeaderList.js +39 -36
- package/cjs/ComboBox/v3/parts/header-list/styled.js +10 -3
- package/cjs/ComboBox/v3/parts/header-list/useHeaderListHandlers.js +3 -4
- package/cjs/ComboBox/v3/parts/menu-list/MenuList.js +11 -6
- package/cjs/ComboBox/v3/parts/menu-list/styled.js +6 -5
- package/cjs/ComboBox/v3/parts/menu-list/useMenuList.js +3 -2
- package/cjs/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js +13 -7
- package/cjs/ComboBox/v3/propTypes.js +12 -13
- package/cjs/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +11 -11
- package/cjs/MenuItem/components/MenuItem/index.js +1 -1
- package/cjs/MenuItem/components/Section/index.js +1 -1
- package/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js +4 -5
- package/cjs/MenuItem/components/SubmenuItem/index.js +1 -1
- package/cjs/MenuItem/components/styled.js +7 -2
- package/esm/ComboBox/v3/ComboBox.js +1 -1
- package/esm/ComboBox/v3/ComboBoxCTX.js +0 -1
- package/esm/ComboBox/v3/parts/controls/styled.js +18 -19
- package/esm/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js +0 -3
- package/esm/ComboBox/v3/parts/dropdown-indicator/styled.js +1 -1
- package/esm/ComboBox/v3/parts/header-list/HeaderList.js +40 -37
- package/esm/ComboBox/v3/parts/header-list/styled.js +10 -5
- package/esm/ComboBox/v3/parts/header-list/useHeaderListHandlers.js +3 -4
- package/esm/ComboBox/v3/parts/menu-list/MenuList.js +11 -6
- package/esm/ComboBox/v3/parts/menu-list/styled.js +6 -5
- package/esm/ComboBox/v3/parts/menu-list/useMenuList.js +3 -2
- package/esm/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js +13 -7
- package/esm/ComboBox/v3/propTypes.js +12 -13
- package/esm/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +11 -11
- package/esm/MenuItem/components/MenuItem/index.js +1 -1
- package/esm/MenuItem/components/Section/index.js +1 -1
- package/esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js +4 -5
- package/esm/MenuItem/components/SubmenuItem/index.js +1 -1
- package/esm/MenuItem/components/styled.js +7 -3
- package/package.json +32 -24
- package/types/Checkbox/DSCheckbox.d.ts +78 -13
- package/types/Checkbox/elements/CheckMark.d.ts +1 -1
- package/types/Checkbox/props.d.ts +58 -12
- package/types/CheckboxGroup/DSCheckboxGroup.d.ts +51 -7
- package/types/CheckboxGroup/props.d.ts +37 -6
- package/types/ComboBox/v2/Combobox.d.ts +56 -1
- package/types/ComboBox/v3/ComboBox.d.ts +54 -17
- package/types/ComboBox/v3/parts/a11y-messages/styled.d.ts +1 -1
- package/types/ComboBox/v3/parts/container/styled.d.ts +3 -3
- package/types/ComboBox/v3/parts/controls/styled.d.ts +5 -5
- package/types/ComboBox/v3/parts/controls-input/styled.d.ts +4 -4
- package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -60
- package/types/ComboBox/v3/parts/empty-state/styled.d.ts +2 -2
- package/types/ComboBox/v3/parts/header-list/styled.d.ts +7 -210
- package/types/ComboBox/v3/parts/menu-list/styled.d.ts +5 -3
- package/types/ComboBox/v3/parts/multi-selected-values-container/styled.d.ts +3 -3
- package/types/ComboBox/v3/parts/single-selected-value-container/styled.d.ts +1 -1
- package/types/ComboBox/v3/propTypes.d.ts +49 -16
- package/types/DateInput/DSDateInput.d.ts +97 -16
- package/types/DateInput/props.d.ts +97 -16
- package/types/DateInputV2/components/DSDateInput.d.ts +72 -5
- package/types/DateInputV2/components/props.d.ts +61 -10
- package/types/DateInputV2/components/styled.d.ts +4 -4
- package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +118 -20
- package/types/FormItem/DSFormItemLayout.d.ts +390 -60
- package/types/FormItem/Error/DSError.d.ts +21 -3
- package/types/FormItem/Suffix/Suffix.d.ts +3 -3
- package/types/FormItem/defaultProps.d.ts +118 -20
- package/types/FormItem/props.d.ts +229 -39
- package/types/InputGroup/DSInputGroup.d.ts +56 -8
- package/types/InputGroup/props.d.ts +43 -7
- package/types/InputMask/DSInputMask.d.ts +172 -30
- package/types/InputMask/mask_types/DateInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/DateTimeInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/DictionaryInputMask.d.ts +37 -36
- package/types/InputMask/mask_types/NumberInputMask.d.ts +46 -45
- package/types/InputMask/mask_types/PhoneInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/SsnInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +34 -33
- package/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +34 -33
- package/types/InputMask/props.d.ts +172 -30
- package/types/InputProtected/DSInputProtected.d.ts +56 -7
- package/types/InputProtected/props.d.ts +43 -8
- package/types/LargeInputText/DSLargeInputText.d.ts +163 -27
- package/types/LargeInputText/props.d.ts +163 -27
- package/types/MenuItem/components/MenuItem/index.d.ts +12 -3
- package/types/MenuItem/components/MenuItem/styled.d.ts +1 -1
- package/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +12 -3
- package/types/MenuItem/components/MultiMenuItem/styled.d.ts +1 -1
- package/types/MenuItem/components/Section/index.d.ts +4 -1
- package/types/MenuItem/components/Section/props.d.ts +4 -1
- package/types/MenuItem/components/Section/styled.d.ts +2 -2
- package/types/MenuItem/components/Separator/styled.d.ts +2 -2
- package/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +7 -2
- package/types/MenuItem/components/SubmenuItem/index.d.ts +12 -3
- package/types/MenuItem/components/SubmenuItem/styled.d.ts +2 -2
- package/types/MenuItem/components/styled.d.ts +3 -3
- package/types/MenuItem/props.d.ts +7 -2
- package/types/Radio/Circle.d.ts +1 -1
- package/types/Radio/DSRadio.d.ts +79 -13
- package/types/RadioGroup/DSRadioGroup.d.ts +51 -7
- package/types/RadioGroup/props.d.ts +37 -6
- package/types/SearchBox/DSSearchBox.d.ts +146 -21
- package/types/SearchBox/NavSearchBox.d.ts +18 -3
- package/types/SearchBox/SButton.d.ts +13 -2
- package/types/SearchBox/props.d.ts +133 -22
- package/types/SearchBox/styled.d.ts +1 -49
- package/types/TextBox/DSTextBox.d.ts +146 -21
- package/types/TimeInput/DSTimeInput.d.ts +83 -12
- package/types/TimeInput/utils.d.ts +1 -1
- package/types/Toggle/DSToggle.d.ts +84 -12
- package/cjs/MenuItem/components/SingleMenuItem/styled.js +0 -19
- package/esm/MenuItem/components/SingleMenuItem/styled.js +0 -10
- package/types/MenuItem/components/SingleMenuItem/styled.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const UsZipCodeInputMask: {
|
|
3
4
|
({ focus, setFocus, setRawMask, cursorPosition, setCursorPosition, lastkey, setLastkey, setRawValue, style, disabled, className, name, maxLength, minLength, fluidWidth, placeholder, onKeyDown, onClick, onChange, onFocus, onBlur, onPaste, onKeyUp, hasError, readOnly, type, innerRef, clearable, leftComponent, rightComponent, value, ...rest }: {
|
|
@@ -35,39 +36,39 @@ declare const UsZipCodeInputMask: {
|
|
|
35
36
|
value: any;
|
|
36
37
|
}): JSX.Element;
|
|
37
38
|
propTypes: {
|
|
38
|
-
focus:
|
|
39
|
-
setFocus:
|
|
40
|
-
setRawMask:
|
|
41
|
-
cursorPosition:
|
|
42
|
-
setCursorPosition:
|
|
43
|
-
lastkey:
|
|
44
|
-
setLastkey:
|
|
45
|
-
setRawValue:
|
|
46
|
-
style:
|
|
47
|
-
disabled:
|
|
48
|
-
className:
|
|
49
|
-
name:
|
|
50
|
-
maxLength:
|
|
51
|
-
minLength:
|
|
52
|
-
fluidWidth:
|
|
53
|
-
placeholder:
|
|
54
|
-
value:
|
|
55
|
-
onChange:
|
|
56
|
-
onKeyDown:
|
|
57
|
-
leftComponent:
|
|
58
|
-
rightComponent:
|
|
59
|
-
onFocus:
|
|
60
|
-
onBlur:
|
|
61
|
-
onPaste:
|
|
62
|
-
onKeyUp:
|
|
63
|
-
hasError:
|
|
64
|
-
readOnly:
|
|
65
|
-
onClick:
|
|
66
|
-
clearable:
|
|
67
|
-
type:
|
|
68
|
-
innerRef:
|
|
69
|
-
mask:
|
|
70
|
-
placeholderChar:
|
|
39
|
+
focus: import("react-desc").PropTypesDescValue;
|
|
40
|
+
setFocus: import("react-desc").PropTypesDescValue;
|
|
41
|
+
setRawMask: import("react-desc").PropTypesDescValue;
|
|
42
|
+
cursorPosition: import("react-desc").PropTypesDescValue;
|
|
43
|
+
setCursorPosition: import("react-desc").PropTypesDescValue;
|
|
44
|
+
lastkey: import("react-desc").PropTypesDescValue;
|
|
45
|
+
setLastkey: import("react-desc").PropTypesDescValue;
|
|
46
|
+
setRawValue: import("react-desc").PropTypesDescValue;
|
|
47
|
+
style: import("react-desc").PropTypesDescValue;
|
|
48
|
+
disabled: import("react-desc").PropTypesDescValue;
|
|
49
|
+
className: import("react-desc").PropTypesDescValue;
|
|
50
|
+
name: import("react-desc").PropTypesDescValue;
|
|
51
|
+
maxLength: import("react-desc").PropTypesDescValue;
|
|
52
|
+
minLength: import("react-desc").PropTypesDescValue;
|
|
53
|
+
fluidWidth: import("react-desc").PropTypesDescValue;
|
|
54
|
+
placeholder: import("react-desc").PropTypesDescValue;
|
|
55
|
+
value: import("react-desc").PropTypesDescValue;
|
|
56
|
+
onChange: import("react-desc").PropTypesDescValue;
|
|
57
|
+
onKeyDown: import("react-desc").PropTypesDescValue;
|
|
58
|
+
leftComponent: import("react-desc").PropTypesDescValue;
|
|
59
|
+
rightComponent: import("react-desc").PropTypesDescValue;
|
|
60
|
+
onFocus: import("react-desc").PropTypesDescValue;
|
|
61
|
+
onBlur: import("react-desc").PropTypesDescValue;
|
|
62
|
+
onPaste: import("react-desc").PropTypesDescValue;
|
|
63
|
+
onKeyUp: import("react-desc").PropTypesDescValue;
|
|
64
|
+
hasError: import("react-desc").PropTypesDescValue;
|
|
65
|
+
readOnly: import("react-desc").PropTypesDescValue;
|
|
66
|
+
onClick: import("react-desc").PropTypesDescValue;
|
|
67
|
+
clearable: import("react-desc").PropTypesDescValue;
|
|
68
|
+
type: import("react-desc").PropTypesDescValue;
|
|
69
|
+
innerRef: import("react-desc").PropTypesDescValue;
|
|
70
|
+
mask: import("react-desc").PropTypesDescValue;
|
|
71
|
+
placeholderChar: import("react-desc").PropTypesDescValue;
|
|
71
72
|
};
|
|
72
73
|
};
|
|
73
74
|
export default UsZipCodeInputMask;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const ZipCodeSearchInputMask: {
|
|
3
4
|
({ focus, setFocus, setRawMask, cursorPosition, setCursorPosition, lastkey, setLastkey, setRawValue, style, disabled, className, name, maxLength, minLength, fluidWidth, placeholder, onKeyDown, onClick, onChange, onFocus, onBlur, onPaste, onKeyUp, hasError, readOnly, type, innerRef, clearable, leftComponent, rightComponent, value, ...rest }: {
|
|
@@ -35,39 +36,39 @@ declare const ZipCodeSearchInputMask: {
|
|
|
35
36
|
value: any;
|
|
36
37
|
}): JSX.Element;
|
|
37
38
|
propTypes: {
|
|
38
|
-
focus:
|
|
39
|
-
setFocus:
|
|
40
|
-
setRawMask:
|
|
41
|
-
cursorPosition:
|
|
42
|
-
setCursorPosition:
|
|
43
|
-
lastkey:
|
|
44
|
-
setLastkey:
|
|
45
|
-
setRawValue:
|
|
46
|
-
style:
|
|
47
|
-
disabled:
|
|
48
|
-
className:
|
|
49
|
-
name:
|
|
50
|
-
maxLength:
|
|
51
|
-
minLength:
|
|
52
|
-
fluidWidth:
|
|
53
|
-
placeholder:
|
|
54
|
-
value:
|
|
55
|
-
onChange:
|
|
56
|
-
onKeyDown:
|
|
57
|
-
leftComponent:
|
|
58
|
-
rightComponent:
|
|
59
|
-
onFocus:
|
|
60
|
-
onBlur:
|
|
61
|
-
onPaste:
|
|
62
|
-
onKeyUp:
|
|
63
|
-
hasError:
|
|
64
|
-
readOnly:
|
|
65
|
-
onClick:
|
|
66
|
-
clearable:
|
|
67
|
-
type:
|
|
68
|
-
innerRef:
|
|
69
|
-
mask:
|
|
70
|
-
placeholderChar:
|
|
39
|
+
focus: import("react-desc").PropTypesDescValue;
|
|
40
|
+
setFocus: import("react-desc").PropTypesDescValue;
|
|
41
|
+
setRawMask: import("react-desc").PropTypesDescValue;
|
|
42
|
+
cursorPosition: import("react-desc").PropTypesDescValue;
|
|
43
|
+
setCursorPosition: import("react-desc").PropTypesDescValue;
|
|
44
|
+
lastkey: import("react-desc").PropTypesDescValue;
|
|
45
|
+
setLastkey: import("react-desc").PropTypesDescValue;
|
|
46
|
+
setRawValue: import("react-desc").PropTypesDescValue;
|
|
47
|
+
style: import("react-desc").PropTypesDescValue;
|
|
48
|
+
disabled: import("react-desc").PropTypesDescValue;
|
|
49
|
+
className: import("react-desc").PropTypesDescValue;
|
|
50
|
+
name: import("react-desc").PropTypesDescValue;
|
|
51
|
+
maxLength: import("react-desc").PropTypesDescValue;
|
|
52
|
+
minLength: import("react-desc").PropTypesDescValue;
|
|
53
|
+
fluidWidth: import("react-desc").PropTypesDescValue;
|
|
54
|
+
placeholder: import("react-desc").PropTypesDescValue;
|
|
55
|
+
value: import("react-desc").PropTypesDescValue;
|
|
56
|
+
onChange: import("react-desc").PropTypesDescValue;
|
|
57
|
+
onKeyDown: import("react-desc").PropTypesDescValue;
|
|
58
|
+
leftComponent: import("react-desc").PropTypesDescValue;
|
|
59
|
+
rightComponent: import("react-desc").PropTypesDescValue;
|
|
60
|
+
onFocus: import("react-desc").PropTypesDescValue;
|
|
61
|
+
onBlur: import("react-desc").PropTypesDescValue;
|
|
62
|
+
onPaste: import("react-desc").PropTypesDescValue;
|
|
63
|
+
onKeyUp: import("react-desc").PropTypesDescValue;
|
|
64
|
+
hasError: import("react-desc").PropTypesDescValue;
|
|
65
|
+
readOnly: import("react-desc").PropTypesDescValue;
|
|
66
|
+
onClick: import("react-desc").PropTypesDescValue;
|
|
67
|
+
clearable: import("react-desc").PropTypesDescValue;
|
|
68
|
+
type: import("react-desc").PropTypesDescValue;
|
|
69
|
+
innerRef: import("react-desc").PropTypesDescValue;
|
|
70
|
+
mask: import("react-desc").PropTypesDescValue;
|
|
71
|
+
placeholderChar: import("react-desc").PropTypesDescValue;
|
|
71
72
|
};
|
|
72
73
|
};
|
|
73
74
|
export default ZipCodeSearchInputMask;
|
|
@@ -1,112 +1,254 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const inputProps: {
|
|
2
3
|
/** Should component focus automatically */
|
|
3
|
-
autoFocus:
|
|
4
|
+
autoFocus: {
|
|
5
|
+
defaultValue<T = unknown>(arg: T): {
|
|
6
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
+
};
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
4
10
|
/**
|
|
5
11
|
* Set style for the input mask
|
|
6
12
|
*/
|
|
7
|
-
style:
|
|
13
|
+
style: {
|
|
14
|
+
defaultValue<T = unknown>(arg: T): {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
8
19
|
/**
|
|
9
20
|
* Whether the input mask is disabled or not
|
|
10
21
|
*/
|
|
11
|
-
disabled:
|
|
22
|
+
disabled: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
12
28
|
/** disableTooltip */
|
|
13
|
-
disableTooltip:
|
|
29
|
+
disableTooltip: {
|
|
30
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
14
32
|
/** css class */
|
|
15
|
-
className:
|
|
33
|
+
className: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
16
39
|
/** html name prop for form */
|
|
17
|
-
name:
|
|
40
|
+
name: {
|
|
41
|
+
defaultValue<T = unknown>(arg: T): {
|
|
42
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
44
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
18
46
|
/**
|
|
19
47
|
* Max length for the input mask
|
|
20
48
|
*/
|
|
21
|
-
maxLength:
|
|
49
|
+
maxLength: {
|
|
50
|
+
defaultValue<T = unknown>(arg: T): {
|
|
51
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
53
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
22
55
|
/**
|
|
23
56
|
* Min length for the input mask
|
|
24
57
|
*/
|
|
25
|
-
minLength:
|
|
58
|
+
minLength: {
|
|
59
|
+
defaultValue<T = unknown>(arg: T): {
|
|
60
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
62
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
63
|
+
};
|
|
26
64
|
/**
|
|
27
65
|
* Whether to make the content of the input mask fit the container or not
|
|
28
66
|
*/
|
|
29
|
-
fluidWidth:
|
|
67
|
+
fluidWidth: {
|
|
68
|
+
defaultValue<T = unknown>(arg: T): {
|
|
69
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
71
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
72
|
+
};
|
|
30
73
|
/** isShowElipsisActive */
|
|
31
|
-
isShowElipsisActive:
|
|
74
|
+
isShowElipsisActive: {
|
|
75
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
76
|
+
};
|
|
32
77
|
/**
|
|
33
78
|
* Component that works as placeholder
|
|
34
79
|
*/
|
|
35
|
-
placeholder:
|
|
80
|
+
placeholder: {
|
|
81
|
+
defaultValue<T = unknown>(arg: T): {
|
|
82
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
83
|
+
};
|
|
84
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
85
|
+
};
|
|
36
86
|
/**
|
|
37
87
|
* Allows a function that is triggered once a key is being pressed
|
|
38
88
|
*/
|
|
39
|
-
onKeyDown:
|
|
89
|
+
onKeyDown: {
|
|
90
|
+
defaultValue<T = unknown>(arg: T): {
|
|
91
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
92
|
+
};
|
|
93
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
94
|
+
};
|
|
40
95
|
/**
|
|
41
96
|
* Allows a function that is triggered once the input mask is clicked
|
|
42
97
|
*/
|
|
43
|
-
onClick:
|
|
98
|
+
onClick: {
|
|
99
|
+
defaultValue<T = unknown>(arg: T): {
|
|
100
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
101
|
+
};
|
|
102
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
103
|
+
};
|
|
44
104
|
/**
|
|
45
105
|
* Allows a function that is triggered once the input mask changes
|
|
46
106
|
*/
|
|
47
|
-
onChange:
|
|
107
|
+
onChange: {
|
|
108
|
+
defaultValue<T = unknown>(arg: T): {
|
|
109
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
110
|
+
};
|
|
111
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
112
|
+
};
|
|
48
113
|
/**
|
|
49
114
|
* Allows a function that is triggered once the input mask is focused
|
|
50
115
|
*/
|
|
51
|
-
onFocus:
|
|
116
|
+
onFocus: {
|
|
117
|
+
defaultValue<T = unknown>(arg: T): {
|
|
118
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
119
|
+
};
|
|
120
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
121
|
+
};
|
|
52
122
|
/**
|
|
53
123
|
* Allows a function that is triggered once the input mask loses focus
|
|
54
124
|
*/
|
|
55
|
-
onBlur:
|
|
125
|
+
onBlur: {
|
|
126
|
+
defaultValue<T = unknown>(arg: T): {
|
|
127
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
128
|
+
};
|
|
129
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
130
|
+
};
|
|
56
131
|
/**
|
|
57
132
|
* Allows a function that is triggered once the input mask is pasted
|
|
58
133
|
*/
|
|
59
|
-
onPaste:
|
|
134
|
+
onPaste: {
|
|
135
|
+
defaultValue<T = unknown>(arg: T): {
|
|
136
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
137
|
+
};
|
|
138
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
139
|
+
};
|
|
60
140
|
/**
|
|
61
141
|
* Allows a function that is triggered once in the input mask a keyboard key is released
|
|
62
142
|
*/
|
|
63
|
-
onKeyUp:
|
|
143
|
+
onKeyUp: {
|
|
144
|
+
defaultValue<T = unknown>(arg: T): {
|
|
145
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
146
|
+
};
|
|
147
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
148
|
+
};
|
|
64
149
|
/**
|
|
65
150
|
* Default value once the component is initialized
|
|
66
151
|
*/
|
|
67
|
-
value:
|
|
152
|
+
value: {
|
|
153
|
+
defaultValue<T = unknown>(arg: T): {
|
|
154
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
155
|
+
};
|
|
156
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
157
|
+
};
|
|
68
158
|
/**
|
|
69
159
|
* Whether the input mask has error or not
|
|
70
160
|
*/
|
|
71
|
-
hasError:
|
|
161
|
+
hasError: {
|
|
162
|
+
defaultValue<T = unknown>(arg: T): {
|
|
163
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
164
|
+
};
|
|
165
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
166
|
+
};
|
|
72
167
|
/**
|
|
73
168
|
* Whether the input mask is read only or not
|
|
74
169
|
*/
|
|
75
|
-
readOnly:
|
|
76
|
-
|
|
170
|
+
readOnly: {
|
|
171
|
+
defaultValue<T = unknown>(arg: T): {
|
|
172
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
173
|
+
};
|
|
174
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
175
|
+
};
|
|
176
|
+
innerRef: {
|
|
177
|
+
defaultValue<T = unknown>(arg: T): {
|
|
178
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
179
|
+
};
|
|
180
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
181
|
+
};
|
|
77
182
|
/**
|
|
78
183
|
* Type of input. Ex: 'text'
|
|
79
184
|
*/
|
|
80
|
-
type:
|
|
185
|
+
type: {
|
|
186
|
+
defaultValue<T = unknown>(arg: T): {
|
|
187
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
188
|
+
};
|
|
189
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
190
|
+
};
|
|
81
191
|
/**
|
|
82
192
|
* Whether the input mask is clearable or not
|
|
83
193
|
*/
|
|
84
|
-
clearable:
|
|
194
|
+
clearable: {
|
|
195
|
+
defaultValue<T = unknown>(arg: T): {
|
|
196
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
197
|
+
};
|
|
198
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
199
|
+
};
|
|
85
200
|
/**
|
|
86
201
|
* Component to be added at the right side of the input
|
|
87
202
|
*/
|
|
88
|
-
leftComponent:
|
|
203
|
+
leftComponent: {
|
|
204
|
+
defaultValue<T = unknown>(arg: T): {
|
|
205
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
206
|
+
};
|
|
207
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
208
|
+
};
|
|
89
209
|
/**
|
|
90
210
|
* Component to be added at the right side of the input
|
|
91
211
|
*/
|
|
92
|
-
rightComponent:
|
|
212
|
+
rightComponent: {
|
|
213
|
+
defaultValue<T = unknown>(arg: T): {
|
|
214
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
215
|
+
};
|
|
216
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
217
|
+
};
|
|
93
218
|
/**
|
|
94
219
|
* Mask that has to match with the input information entered
|
|
95
220
|
* ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']
|
|
96
221
|
*/
|
|
97
|
-
mask:
|
|
222
|
+
mask: {
|
|
223
|
+
defaultValue<T = unknown>(arg: T): {
|
|
224
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
225
|
+
};
|
|
226
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
227
|
+
};
|
|
98
228
|
/**
|
|
99
229
|
Expects pipe functions. i.e. autoCorrectedDatePipe
|
|
100
230
|
link a docu de text-mask
|
|
101
231
|
*/
|
|
102
|
-
pipe:
|
|
232
|
+
pipe: {
|
|
233
|
+
defaultValue<T = unknown>(arg: T): {
|
|
234
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
235
|
+
};
|
|
236
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
237
|
+
};
|
|
103
238
|
/**
|
|
104
239
|
* Put a sufix after the input mask
|
|
105
240
|
*/
|
|
106
|
-
useSubfix:
|
|
241
|
+
useSubfix: {
|
|
242
|
+
defaultValue<T = unknown>(arg: T): {
|
|
243
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
244
|
+
};
|
|
245
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
246
|
+
};
|
|
107
247
|
/**
|
|
108
248
|
* The placeholder character represents the fillable spot in the mask.
|
|
109
249
|
* The default placeholder character is underscore, _
|
|
110
250
|
*/
|
|
111
|
-
placeholderChar:
|
|
251
|
+
placeholderChar: {
|
|
252
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
253
|
+
};
|
|
112
254
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSInputProtected: {
|
|
3
4
|
({ leftAddon, rightAddon, onChange, value, readOnly, mask, type, placeholderChar, ...rest }: {
|
|
@@ -12,6 +13,57 @@ declare const DSInputProtected: {
|
|
|
12
13
|
placeholderChar?: undefined;
|
|
13
14
|
}): JSX.Element;
|
|
14
15
|
propTypes: {
|
|
16
|
+
leftAddon: {
|
|
17
|
+
defaultValue<T = unknown>(arg: T): {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
rightAddon: {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
onChange: {
|
|
26
|
+
defaultValue<T = unknown>(arg: T): {
|
|
27
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
+
};
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
value: {
|
|
32
|
+
defaultValue<T = unknown>(arg: T): {
|
|
33
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
readOnly: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
mask: {
|
|
41
|
+
defaultValue<T = unknown>(arg: T): {
|
|
42
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
44
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
type: {
|
|
47
|
+
defaultValue<T = unknown>(arg: T): {
|
|
48
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
placeholderChar: {
|
|
53
|
+
defaultValue<T = unknown>(arg: T): {
|
|
54
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
55
|
+
};
|
|
56
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
defaultProps: {
|
|
60
|
+
rightAddon: string;
|
|
61
|
+
mask: (data: any) => any[];
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
declare const DSInputProtectedWithSchema: {
|
|
65
|
+
(props?: {
|
|
66
|
+
[x: string]: any;
|
|
15
67
|
leftAddon: any;
|
|
16
68
|
rightAddon: any;
|
|
17
69
|
onChange: any;
|
|
@@ -19,13 +71,10 @@ declare const DSInputProtected: {
|
|
|
19
71
|
readOnly: any;
|
|
20
72
|
mask: any;
|
|
21
73
|
type: any;
|
|
22
|
-
placeholderChar
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
mask: (data: any) => any[];
|
|
27
|
-
};
|
|
74
|
+
placeholderChar?: undefined;
|
|
75
|
+
} | undefined): JSX.Element;
|
|
76
|
+
propTypes: unknown;
|
|
77
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
28
78
|
};
|
|
29
|
-
declare const DSInputProtectedWithSchema: any;
|
|
30
79
|
export { DSInputProtectedWithSchema, DSInputProtected };
|
|
31
80
|
export default DSInputProtected;
|
|
@@ -1,14 +1,49 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const inputProtectedProps: {
|
|
2
|
-
leftAddon:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
leftAddon: {
|
|
4
|
+
defaultValue<T = unknown>(arg: T): {
|
|
5
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
6
|
+
};
|
|
7
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
8
|
+
};
|
|
9
|
+
rightAddon: {
|
|
10
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
12
|
+
onChange: {
|
|
13
|
+
defaultValue<T = unknown>(arg: T): {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
value: {
|
|
19
|
+
defaultValue<T = unknown>(arg: T): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
readOnly: {
|
|
25
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
mask: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
type: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
9
39
|
/**
|
|
10
40
|
* PlaceholderChar: The placeholder character represents the fillable spot in the mask.
|
|
11
41
|
* The default placeholder character is underscore, _.
|
|
12
42
|
*/
|
|
13
|
-
placeholderChar:
|
|
43
|
+
placeholderChar: {
|
|
44
|
+
defaultValue<T = unknown>(arg: T): {
|
|
45
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
14
49
|
};
|