@elliemae/ds-form 2.0.0-rc.7 → 2.0.1-rc.0
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/v1/DSComboBox.js +18 -22
- package/cjs/ComboBox/v1/withSelectStringValueConverter.js +3 -4
- package/cjs/ComboBox/v3/ComboBoxCTX.js +16 -17
- package/cjs/ComboBox/v3/config/useComboBox.js +6 -6
- package/cjs/ComboBox/v3/parts/container/Container.js +1 -1
- package/cjs/ComboBox/v3/parts/controls-input/ControlsInput.js +5 -3
- package/cjs/ComboBox/v3/parts/controls-input/useControlsInput.js +8 -8
- package/cjs/ComboBox/v3/parts/header-list/HeaderList.js +5 -3
- package/cjs/ComboBox/v3/parts/menu-list/MenuList.js +7 -8
- package/cjs/ComboBox/v3/parts/menu-list/styled.js +8 -4
- package/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js +10 -9
- package/cjs/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +5 -5
- package/cjs/ComboBox/v3/utils/hooks/useOnElementResize.js +4 -4
- package/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +4 -7
- package/cjs/FormItem/ValidationFieldWrapper.js +2 -3
- package/cjs/Input/InputAddonWrapper.js +2 -3
- package/cjs/Input/InputImpl.js +16 -18
- package/cjs/InputGroup/AddonWrapper.js +4 -6
- package/cjs/InputMask/DSInputMaskDeprecated.js +10 -12
- package/cjs/SearchBox/NavSearchBox.js +5 -1
- package/cjs/SearchBox/withSearchable.js +3 -5
- package/cjs/Toggle/DSToggleImpl.js +28 -28
- package/esm/ComboBox/v1/DSComboBox.js +17 -21
- package/esm/ComboBox/v1/withSelectStringValueConverter.js +3 -4
- package/esm/ComboBox/v3/ComboBoxCTX.js +5 -6
- package/esm/ComboBox/v3/config/useComboBox.js +6 -6
- package/esm/ComboBox/v3/parts/container/Container.js +1 -1
- package/esm/ComboBox/v3/parts/controls-input/ControlsInput.js +5 -3
- package/esm/ComboBox/v3/parts/controls-input/useControlsInput.js +8 -8
- package/esm/ComboBox/v3/parts/header-list/HeaderList.js +5 -3
- package/esm/ComboBox/v3/parts/menu-list/MenuList.js +8 -9
- package/esm/ComboBox/v3/parts/menu-list/styled.js +8 -4
- package/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js +10 -9
- package/esm/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +5 -5
- package/esm/ComboBox/v3/utils/hooks/useOnElementResize.js +4 -4
- package/esm/FloatingLabelInput/FloatingLabelInputImpl.js +4 -7
- package/esm/FormItem/ValidationFieldWrapper.js +2 -3
- package/esm/Input/InputAddonWrapper.js +2 -3
- package/esm/Input/InputImpl.js +15 -17
- package/esm/InputGroup/AddonWrapper.js +5 -7
- package/esm/InputMask/DSInputMaskDeprecated.js +10 -12
- package/esm/SearchBox/NavSearchBox.js +5 -1
- package/esm/SearchBox/withSearchable.js +2 -4
- package/esm/Toggle/DSToggleImpl.js +28 -28
- package/package.json +31 -23
- package/types/Checkbox/DSCheckbox.d.ts +78 -13
- 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 -16
- package/types/ComboBox/v3/parts/controls-input/useControlsInput.d.ts +3 -3
- package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -60
- package/types/ComboBox/v3/parts/header-list/styled.d.ts +4 -208
- package/types/ComboBox/v3/parts/menu-list/styled.d.ts +4 -3
- package/types/ComboBox/v3/parts/menu-list/useItemRenderer.d.ts +1 -1
- package/types/ComboBox/v3/propTypes.d.ts +49 -15
- package/types/ComboBox/v3/utils/hooks/useKeyboardNavigation.d.ts +4 -1
- package/types/ComboBox/v3/utils/listHelper.d.ts +1 -1
- 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/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/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/MultiMenuItem/MultiMenuItem.d.ts +12 -3
- package/types/MenuItem/components/Section/index.d.ts +4 -1
- package/types/MenuItem/components/Section/props.d.ts +4 -1
- package/types/MenuItem/components/SingleMenuItem/SingleMenuItem.d.ts +7 -2
- package/types/MenuItem/components/SubmenuItem/index.d.ts +12 -3
- package/types/MenuItem/props.d.ts +7 -2
- 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/index.d.ts +1 -1
- 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/ComboBox/v3/utils/hooks/useOnWindowResize.js +0 -31
- package/esm/ComboBox/v3/utils/hooks/useOnWindowResize.js +0 -27
- package/types/ComboBox/v3/utils/hooks/useOnWindowResize.d.ts +0 -5
package/types/Radio/DSRadio.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSRadio: {
|
|
3
4
|
({ containerProps, className, style, labelText, htmlFor, hasError, readOnly, disabled, checked, value, name, onChange, children, tabIndex, ...otherProps }: {
|
|
@@ -31,33 +32,78 @@ declare const DSRadio: {
|
|
|
31
32
|
};
|
|
32
33
|
propTypes: {
|
|
33
34
|
/** Injected props to wrapper element of component */
|
|
34
|
-
containerProps:
|
|
35
|
+
containerProps: {
|
|
36
|
+
defaultValue<T = unknown>(arg: T): {
|
|
37
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
35
41
|
/** css class prop */
|
|
36
|
-
className:
|
|
42
|
+
className: {
|
|
43
|
+
defaultValue<T = unknown>(arg: T): {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
37
48
|
/** name property to manage form */
|
|
38
|
-
name:
|
|
49
|
+
name: {
|
|
50
|
+
defaultValue<T = unknown>(arg: T): {
|
|
51
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
53
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
39
55
|
/**
|
|
40
56
|
* Displayable label for the radio
|
|
41
57
|
*/
|
|
42
|
-
labelText:
|
|
58
|
+
labelText: {
|
|
59
|
+
defaultValue<T = unknown>(arg: T): {
|
|
60
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
62
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
63
|
+
};
|
|
43
64
|
/** HTMLFOR property to manage form */
|
|
44
|
-
htmlFor:
|
|
65
|
+
htmlFor: {
|
|
66
|
+
defaultValue<T = unknown>(arg: T): {
|
|
67
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
45
71
|
/**
|
|
46
72
|
* Whether the radio has error or not
|
|
47
73
|
*/
|
|
48
|
-
hasError:
|
|
74
|
+
hasError: {
|
|
75
|
+
defaultValue<T = unknown>(arg: T): {
|
|
76
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
78
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
79
|
+
};
|
|
49
80
|
/**
|
|
50
81
|
* Whether the radio is read only or not
|
|
51
82
|
*/
|
|
52
|
-
readOnly:
|
|
83
|
+
readOnly: {
|
|
84
|
+
defaultValue<T = unknown>(arg: T): {
|
|
85
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
|
+
};
|
|
87
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
88
|
+
};
|
|
53
89
|
/**
|
|
54
90
|
* Whether the radio is disabled or not
|
|
55
91
|
*/
|
|
56
|
-
disabled:
|
|
92
|
+
disabled: {
|
|
93
|
+
defaultValue<T = unknown>(arg: T): {
|
|
94
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
95
|
+
};
|
|
96
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
97
|
+
};
|
|
57
98
|
/**
|
|
58
99
|
* Whether the radio is checked or not
|
|
59
100
|
*/
|
|
60
|
-
checked:
|
|
101
|
+
checked: {
|
|
102
|
+
defaultValue<T = unknown>(arg: T): {
|
|
103
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
104
|
+
};
|
|
105
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
106
|
+
};
|
|
61
107
|
/**
|
|
62
108
|
* Value that takes the checkbox if it is checked
|
|
63
109
|
*/
|
|
@@ -65,15 +111,35 @@ declare const DSRadio: {
|
|
|
65
111
|
/**
|
|
66
112
|
* Allows a function that is triggered once the radio changes
|
|
67
113
|
*/
|
|
68
|
-
onChange:
|
|
114
|
+
onChange: {
|
|
115
|
+
defaultValue<T = unknown>(arg: T): {
|
|
116
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
117
|
+
};
|
|
118
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
119
|
+
};
|
|
69
120
|
/**
|
|
70
121
|
* Optional, if you want a checkbox customized
|
|
71
122
|
*/
|
|
72
|
-
children:
|
|
123
|
+
children: {
|
|
124
|
+
defaultValue<T = unknown>(arg: T): {
|
|
125
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
126
|
+
};
|
|
127
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
128
|
+
};
|
|
73
129
|
/** HTML tabindex to manage focus */
|
|
74
|
-
tabIndex:
|
|
130
|
+
tabIndex: {
|
|
131
|
+
defaultValue<T = unknown>(arg: T): {
|
|
132
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
133
|
+
};
|
|
134
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
135
|
+
};
|
|
75
136
|
/** style override object */
|
|
76
|
-
style:
|
|
137
|
+
style: {
|
|
138
|
+
defaultValue<T = unknown>(arg: T): {
|
|
139
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
140
|
+
};
|
|
141
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
142
|
+
};
|
|
77
143
|
};
|
|
78
144
|
};
|
|
79
145
|
declare const DSRadioWithSchema: any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSRadioGroup: {
|
|
3
4
|
({ containerProps, onChange, activeValue, children, orientation, disabled, truncateText, labelProps, }: {
|
|
@@ -11,13 +12,43 @@ declare const DSRadioGroup: {
|
|
|
11
12
|
labelProps: any;
|
|
12
13
|
}): JSX.Element;
|
|
13
14
|
propTypes: {
|
|
14
|
-
containerProps:
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
containerProps: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
onChange: {
|
|
22
|
+
defaultValue<T = unknown>(arg: T): {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
activeValue: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
17
33
|
children: any;
|
|
18
|
-
orientation:
|
|
19
|
-
|
|
20
|
-
|
|
34
|
+
orientation: {
|
|
35
|
+
defaultValue<T = unknown>(arg: T): {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
disabled: {
|
|
41
|
+
defaultValue<T = unknown>(arg: T): {
|
|
42
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
44
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
labelProps: {
|
|
47
|
+
defaultValue<T = unknown>(arg: T): {
|
|
48
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
21
52
|
};
|
|
22
53
|
defaultProps: {
|
|
23
54
|
containerProps: {};
|
|
@@ -32,6 +63,19 @@ declare const DSRadioGroup: {
|
|
|
32
63
|
};
|
|
33
64
|
};
|
|
34
65
|
};
|
|
35
|
-
declare const DSRadioGroupWithSchema:
|
|
66
|
+
declare const DSRadioGroupWithSchema: {
|
|
67
|
+
(props?: {
|
|
68
|
+
containerProps: any;
|
|
69
|
+
onChange: any;
|
|
70
|
+
activeValue: any;
|
|
71
|
+
children: any;
|
|
72
|
+
orientation: any;
|
|
73
|
+
disabled: any;
|
|
74
|
+
truncateText: any;
|
|
75
|
+
labelProps: any;
|
|
76
|
+
} | undefined): JSX.Element;
|
|
77
|
+
propTypes: unknown;
|
|
78
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
79
|
+
};
|
|
36
80
|
export { DSRadioGroupWithSchema };
|
|
37
81
|
export default DSRadioGroup;
|
|
@@ -1,14 +1,30 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const props: {
|
|
2
3
|
/** Inject props to component wrapper */
|
|
3
|
-
containerProps:
|
|
4
|
+
containerProps: {
|
|
5
|
+
defaultValue<T = unknown>(arg: T): {
|
|
6
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
+
};
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
4
10
|
/**
|
|
5
11
|
* Allows a function that is triggered once the radio group changes
|
|
6
12
|
*/
|
|
7
|
-
onChange:
|
|
13
|
+
onChange: {
|
|
14
|
+
defaultValue<T = unknown>(arg: T): {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
8
19
|
/**
|
|
9
20
|
* Selected default active value
|
|
10
21
|
*/
|
|
11
|
-
activeValue:
|
|
22
|
+
activeValue: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
12
28
|
/**
|
|
13
29
|
* Radio group items to show of type DSRadio
|
|
14
30
|
*/
|
|
@@ -16,10 +32,25 @@ export declare const props: {
|
|
|
16
32
|
/**
|
|
17
33
|
* ['horizontal', 'vertical']
|
|
18
34
|
*/
|
|
19
|
-
orientation:
|
|
35
|
+
orientation: {
|
|
36
|
+
defaultValue<T = unknown>(arg: T): {
|
|
37
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
20
41
|
/**
|
|
21
42
|
* Whether the radio group is disabled or not
|
|
22
43
|
*/
|
|
23
|
-
disabled:
|
|
24
|
-
|
|
44
|
+
disabled: {
|
|
45
|
+
defaultValue<T = unknown>(arg: T): {
|
|
46
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
labelProps: {
|
|
51
|
+
defaultValue<T = unknown>(arg: T): {
|
|
52
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
55
|
+
};
|
|
25
56
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSSearchBox: {
|
|
3
4
|
({ className, clearable, containerProps, disableButton, disabled, innerRef, onBlur, onChange, onKeyUp, onSearch, onClearButtonClick, placeholder, property, readOnly, searchOnEnter, onSearchButtonClick, showIcon, style, value, }: {
|
|
@@ -22,26 +23,126 @@ declare const DSSearchBox: {
|
|
|
22
23
|
value: any;
|
|
23
24
|
}): JSX.Element;
|
|
24
25
|
propTypes: {
|
|
25
|
-
containerProps:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
26
|
+
containerProps: {
|
|
27
|
+
defaultValue<T = unknown>(arg: T): {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
className: {
|
|
33
|
+
defaultValue<T = unknown>(arg: T): {
|
|
34
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
+
};
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
innerRef: {
|
|
39
|
+
defaultValue<T = unknown>(arg: T): {
|
|
40
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
44
|
+
style: {
|
|
45
|
+
defaultValue<T = unknown>(arg: T): {
|
|
46
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
49
|
+
};
|
|
50
|
+
property: {
|
|
51
|
+
defaultValue<T = unknown>(arg: T): {
|
|
52
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
55
|
+
};
|
|
56
|
+
placeholder: {
|
|
57
|
+
defaultValue<T = unknown>(arg: T): {
|
|
58
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
62
|
+
searchOnEnter: {
|
|
63
|
+
defaultValue<T = unknown>(arg: T): {
|
|
64
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
|
+
};
|
|
66
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
67
|
+
};
|
|
68
|
+
clearOnSearch: {
|
|
69
|
+
defaultValue<T = unknown>(arg: T): {
|
|
70
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
71
|
+
};
|
|
72
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
73
|
+
};
|
|
74
|
+
onClearButtonClick: {
|
|
75
|
+
defaultValue<T = unknown>(arg: T): {
|
|
76
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
78
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
79
|
+
};
|
|
80
|
+
onKeyUp: {
|
|
81
|
+
defaultValue<T = unknown>(arg: T): {
|
|
82
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
83
|
+
};
|
|
84
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
85
|
+
};
|
|
86
|
+
onSearch: {
|
|
87
|
+
defaultValue<T = unknown>(arg: T): {
|
|
88
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
89
|
+
};
|
|
90
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
91
|
+
};
|
|
92
|
+
onSearchButtonClick: {
|
|
93
|
+
defaultValue<T = unknown>(arg: T): {
|
|
94
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
95
|
+
};
|
|
96
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
97
|
+
};
|
|
98
|
+
onChange: {
|
|
99
|
+
defaultValue<T = unknown>(arg: T): {
|
|
100
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
101
|
+
};
|
|
102
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
103
|
+
};
|
|
104
|
+
onBlur: {
|
|
105
|
+
defaultValue<T = unknown>(arg: T): {
|
|
106
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
107
|
+
};
|
|
108
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
109
|
+
};
|
|
110
|
+
value: {
|
|
111
|
+
defaultValue<T = unknown>(arg: T): {
|
|
112
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
113
|
+
};
|
|
114
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
115
|
+
};
|
|
116
|
+
showIcon: {
|
|
117
|
+
defaultValue<T = unknown>(arg: T): {
|
|
118
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
119
|
+
};
|
|
120
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
121
|
+
};
|
|
122
|
+
disabled: {
|
|
123
|
+
defaultValue<T = unknown>(arg: T): {
|
|
124
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
125
|
+
};
|
|
126
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
127
|
+
};
|
|
128
|
+
disableButton: {
|
|
129
|
+
defaultValue<T = unknown>(arg: T): {
|
|
130
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
131
|
+
};
|
|
132
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
133
|
+
};
|
|
134
|
+
readOnly: {
|
|
135
|
+
defaultValue<T = unknown>(arg: T): {
|
|
136
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
137
|
+
};
|
|
138
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
139
|
+
};
|
|
140
|
+
clearable: {
|
|
141
|
+
defaultValue<T = unknown>(arg: T): {
|
|
142
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
143
|
+
};
|
|
144
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
145
|
+
};
|
|
45
146
|
};
|
|
46
147
|
defaultProps: {
|
|
47
148
|
className: string;
|
|
@@ -66,6 +167,30 @@ declare const DSSearchBox: {
|
|
|
66
167
|
value: undefined;
|
|
67
168
|
};
|
|
68
169
|
};
|
|
69
|
-
declare const SearchBoxWithSchema:
|
|
170
|
+
declare const SearchBoxWithSchema: {
|
|
171
|
+
(props?: {
|
|
172
|
+
className: any;
|
|
173
|
+
clearable: any;
|
|
174
|
+
containerProps: any;
|
|
175
|
+
disableButton: any;
|
|
176
|
+
disabled: any;
|
|
177
|
+
innerRef: any;
|
|
178
|
+
onBlur: any;
|
|
179
|
+
onChange: any;
|
|
180
|
+
onKeyUp: any;
|
|
181
|
+
onSearch: any;
|
|
182
|
+
onClearButtonClick: any;
|
|
183
|
+
placeholder: any;
|
|
184
|
+
property: any;
|
|
185
|
+
readOnly: any;
|
|
186
|
+
searchOnEnter: any;
|
|
187
|
+
onSearchButtonClick: any;
|
|
188
|
+
showIcon: any;
|
|
189
|
+
style: any;
|
|
190
|
+
value: any;
|
|
191
|
+
} | undefined): JSX.Element;
|
|
192
|
+
propTypes: unknown;
|
|
193
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
194
|
+
};
|
|
70
195
|
export { SearchBoxWithSchema };
|
|
71
196
|
export default DSSearchBox;
|
|
@@ -1,21 +1,36 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const NavSearchBox: {
|
|
3
4
|
(props: any): JSX.Element;
|
|
4
5
|
propTypes: {
|
|
5
6
|
value: any;
|
|
6
7
|
onChange: any;
|
|
7
|
-
onBlur:
|
|
8
|
+
onBlur: {
|
|
9
|
+
defaultValue<T = unknown>(arg: T): {
|
|
10
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
12
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
8
14
|
onNext: any;
|
|
9
15
|
onPrevious: any;
|
|
10
16
|
onClear: any;
|
|
11
17
|
currentResultIndex: any;
|
|
12
18
|
totalResults: any;
|
|
13
|
-
placeholder:
|
|
19
|
+
placeholder: {
|
|
20
|
+
defaultValue<T = unknown>(arg: T): {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
23
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
14
25
|
};
|
|
15
26
|
defaultProps: {
|
|
16
27
|
placeholder: string;
|
|
17
28
|
currentResultIndex: number;
|
|
18
29
|
};
|
|
19
30
|
};
|
|
20
|
-
declare const DSNavSearchBoxWithSchema:
|
|
31
|
+
declare const DSNavSearchBoxWithSchema: {
|
|
32
|
+
(props?: any): JSX.Element;
|
|
33
|
+
propTypes: unknown;
|
|
34
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
35
|
+
};
|
|
21
36
|
export { NavSearchBox, DSNavSearchBoxWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const SButton: {
|
|
3
4
|
({ icon, disabled, onClick, dataTestid }: {
|
|
@@ -12,8 +13,18 @@ declare const SButton: {
|
|
|
12
13
|
/** ds icon to render inside button */
|
|
13
14
|
icon: any;
|
|
14
15
|
/** disable button */
|
|
15
|
-
disabled:
|
|
16
|
-
|
|
16
|
+
disabled: {
|
|
17
|
+
defaultValue<T = unknown>(arg: T): {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
dataTestid: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
17
28
|
};
|
|
18
29
|
};
|
|
19
30
|
export { SButton };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as SearchBoxToggle } from './SearchBoxToggle';
|
|
2
2
|
export { default, SearchBoxWithSchema } from './DSSearchBox';
|
|
3
|
-
export { NavSearchBox as DSNavSearchBox, DSNavSearchBoxWithSchema
|
|
3
|
+
export { NavSearchBox as DSNavSearchBox, DSNavSearchBoxWithSchema } from './NavSearchBox';
|