@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-form",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Form",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -159,10 +159,6 @@
|
|
|
159
159
|
"import": "./esm/MenuItem/components/styled.js",
|
|
160
160
|
"require": "./cjs/MenuItem/components/styled.js"
|
|
161
161
|
},
|
|
162
|
-
"./MenuItem/components/SingleMenuItem/styled": {
|
|
163
|
-
"import": "./esm/MenuItem/components/SingleMenuItem/styled.js",
|
|
164
|
-
"require": "./cjs/MenuItem/components/SingleMenuItem/styled.js"
|
|
165
|
-
},
|
|
166
162
|
"./MenuItem/components/SingleMenuItem/SingleMenuItem": {
|
|
167
163
|
"import": "./esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js",
|
|
168
164
|
"require": "./cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js"
|
|
@@ -940,22 +936,28 @@
|
|
|
940
936
|
"build": "node ../../scripts/build/build.js"
|
|
941
937
|
},
|
|
942
938
|
"dependencies": {
|
|
943
|
-
"@elliemae/ds-button": "2.0.0-rc.
|
|
944
|
-
"@elliemae/ds-circular-progress-indicator": "2.0.0-rc.
|
|
945
|
-
"@elliemae/ds-classnames": "2.0.0-rc.
|
|
946
|
-
"@elliemae/ds-
|
|
947
|
-
"@elliemae/ds-
|
|
948
|
-
"@elliemae/ds-
|
|
949
|
-
"@elliemae/ds-
|
|
950
|
-
"@elliemae/ds-
|
|
951
|
-
"@elliemae/ds-
|
|
952
|
-
"@elliemae/ds-
|
|
953
|
-
"@elliemae/ds-
|
|
954
|
-
"@elliemae/ds-
|
|
955
|
-
"@elliemae/ds-
|
|
956
|
-
"@elliemae/ds-
|
|
957
|
-
"@elliemae/ds-
|
|
958
|
-
"@elliemae/ds-
|
|
939
|
+
"@elliemae/ds-button": "2.0.0-rc.9",
|
|
940
|
+
"@elliemae/ds-circular-progress-indicator": "2.0.0-rc.9",
|
|
941
|
+
"@elliemae/ds-classnames": "2.0.0-rc.9",
|
|
942
|
+
"@elliemae/ds-controlled-form": "2.0.0-rc.9",
|
|
943
|
+
"@elliemae/ds-dropdownmenu": "2.0.0-rc.9",
|
|
944
|
+
"@elliemae/ds-form": "2.0.0-rc.9",
|
|
945
|
+
"@elliemae/ds-grid": "2.0.0-rc.9",
|
|
946
|
+
"@elliemae/ds-icon": "2.0.0-rc.9",
|
|
947
|
+
"@elliemae/ds-icons": "2.0.0-rc.9",
|
|
948
|
+
"@elliemae/ds-menu": "2.0.0-rc.9",
|
|
949
|
+
"@elliemae/ds-overlay": "2.0.0-rc.9",
|
|
950
|
+
"@elliemae/ds-pills": "2.0.0-rc.9",
|
|
951
|
+
"@elliemae/ds-popper": "2.0.0-rc.9",
|
|
952
|
+
"@elliemae/ds-popperjs": "2.0.0-rc.9",
|
|
953
|
+
"@elliemae/ds-props-helpers": "2.0.0-rc.9",
|
|
954
|
+
"@elliemae/ds-separator": "2.0.0-rc.9",
|
|
955
|
+
"@elliemae/ds-shared": "2.0.0-rc.9",
|
|
956
|
+
"@elliemae/ds-system": "2.0.0-rc.9",
|
|
957
|
+
"@elliemae/ds-text-wrapper": "2.0.0-rc.9",
|
|
958
|
+
"@elliemae/ds-tooltip": "2.0.0-rc.9",
|
|
959
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.9",
|
|
960
|
+
"@elliemae/ds-utilities": "2.0.0-rc.9",
|
|
959
961
|
"memoize-one": "~5.1.1",
|
|
960
962
|
"moment": "~2.29.1",
|
|
961
963
|
"prop-types": "~15.7.2",
|
|
@@ -963,20 +965,26 @@
|
|
|
963
965
|
"react-measure": "~2.5.2",
|
|
964
966
|
"react-popper": "~1.3.11",
|
|
965
967
|
"react-select": "~4.3.0",
|
|
966
|
-
"react-virtual": "~2.
|
|
968
|
+
"react-virtual": "~2.3.2",
|
|
967
969
|
"react-window": "~1.8.6",
|
|
968
970
|
"resize-observer": "~1.0.2",
|
|
969
971
|
"text-mask-core": "5.1.2",
|
|
970
972
|
"uid": "~2.0.0"
|
|
971
973
|
},
|
|
972
974
|
"devDependencies": {
|
|
973
|
-
"
|
|
975
|
+
"@testing-library/dom": "~8.11.1",
|
|
976
|
+
"@testing-library/jest-dom": "~5.15.0",
|
|
977
|
+
"@testing-library/react": "~12.1.2",
|
|
978
|
+
"@testing-library/user-event": "~13.5.0",
|
|
979
|
+
"styled-components": "~5.3.3",
|
|
980
|
+
"styled-system": "~5.1.5"
|
|
974
981
|
},
|
|
975
982
|
"peerDependencies": {
|
|
976
983
|
"lodash": "^4.17.21",
|
|
977
984
|
"react": "~17.0.2",
|
|
978
985
|
"react-dom": "^17.0.2",
|
|
979
|
-
"styled-components": "^5.3.3"
|
|
986
|
+
"styled-components": "^5.3.3",
|
|
987
|
+
"styled-system": "^5.1.5"
|
|
980
988
|
},
|
|
981
989
|
"publishConfig": {
|
|
982
990
|
"access": "public",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { CHECKBOX_VARIANT } from '@elliemae/ds-shared/prop-types';
|
|
3
4
|
declare const DSCheckbox: {
|
|
@@ -18,18 +19,63 @@ declare const DSCheckbox: {
|
|
|
18
19
|
name: any;
|
|
19
20
|
}): JSX.Element;
|
|
20
21
|
propTypes: {
|
|
21
|
-
containerProps:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
containerProps: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
labelText: {
|
|
29
|
+
defaultValue<T = unknown>(arg: T): {
|
|
30
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
htmlFor: {
|
|
35
|
+
defaultValue<T = unknown>(arg: T): {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
hasError: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
readOnly: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
checked: {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
value: {
|
|
53
|
+
defaultValue<T = unknown>(arg: T): {
|
|
54
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
55
|
+
};
|
|
56
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
variant: {
|
|
59
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
children: {
|
|
62
|
+
defaultValue<T = unknown>(arg: T): {
|
|
63
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
64
|
+
};
|
|
65
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
67
|
+
onChange: {
|
|
68
|
+
defaultValue<T = unknown>(arg: T): {
|
|
69
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
71
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
72
|
+
};
|
|
73
|
+
name: {
|
|
74
|
+
defaultValue<T = unknown>(arg: T): {
|
|
75
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
76
|
+
};
|
|
77
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
78
|
+
};
|
|
33
79
|
};
|
|
34
80
|
defaultProps: {
|
|
35
81
|
hasError: boolean;
|
|
@@ -43,6 +89,25 @@ declare const DSCheckbox: {
|
|
|
43
89
|
name: string;
|
|
44
90
|
};
|
|
45
91
|
};
|
|
46
|
-
declare const CheckboxWithSchema:
|
|
92
|
+
declare const CheckboxWithSchema: {
|
|
93
|
+
(props?: {
|
|
94
|
+
[x: string]: any;
|
|
95
|
+
labelText?: undefined;
|
|
96
|
+
className?: undefined;
|
|
97
|
+
htmlFor?: undefined;
|
|
98
|
+
hasError: any;
|
|
99
|
+
readOnly: any;
|
|
100
|
+
disabled: any;
|
|
101
|
+
checked: any;
|
|
102
|
+
onChange: any;
|
|
103
|
+
variant: any;
|
|
104
|
+
children: any;
|
|
105
|
+
containerProps: any;
|
|
106
|
+
innerRef: any;
|
|
107
|
+
name: any;
|
|
108
|
+
} | undefined): JSX.Element;
|
|
109
|
+
propTypes: unknown;
|
|
110
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
111
|
+
};
|
|
47
112
|
export { DSCheckbox, CHECKBOX_VARIANT, CheckboxWithSchema };
|
|
48
113
|
export default DSCheckbox;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const CheckMark: import("styled-components").StyledComponent<"span",
|
|
1
|
+
declare const CheckMark: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
2
2
|
export default CheckMark;
|
|
@@ -1,14 +1,60 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const checkboxProps: {
|
|
2
|
-
containerProps:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
containerProps: {
|
|
4
|
+
defaultValue<T = unknown>(arg: T): {
|
|
5
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
6
|
+
};
|
|
7
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
8
|
+
};
|
|
9
|
+
labelText: {
|
|
10
|
+
defaultValue<T = unknown>(arg: T): {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
htmlFor: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
hasError: {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
readOnly: {
|
|
25
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
checked: {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
value: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
variant: {
|
|
40
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
children: {
|
|
43
|
+
defaultValue<T = unknown>(arg: T): {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
onChange: {
|
|
49
|
+
defaultValue<T = unknown>(arg: T): {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
name: {
|
|
55
|
+
defaultValue<T = unknown>(arg: T): {
|
|
56
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
14
60
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSCheckboxGroup: {
|
|
3
4
|
({ onChange, activeValue, children, disabled, orientation, truncateText, labelProps, containerProps, }: {
|
|
@@ -11,12 +12,42 @@ declare const DSCheckboxGroup: {
|
|
|
11
12
|
containerProps: any;
|
|
12
13
|
}): JSX.Element;
|
|
13
14
|
propTypes: {
|
|
14
|
-
onChange:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
onChange: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
activeValue: {
|
|
22
|
+
defaultValue<T = unknown>(arg: T): {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
children: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
orientation: {
|
|
40
|
+
defaultValue<T = unknown>(arg: T): {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
labelProps: {
|
|
46
|
+
defaultValue<T = unknown>(arg: T): {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
20
51
|
};
|
|
21
52
|
defaultProps: {
|
|
22
53
|
onChange: () => null;
|
|
@@ -33,6 +64,19 @@ declare const DSCheckboxGroup: {
|
|
|
33
64
|
containerProps: {};
|
|
34
65
|
};
|
|
35
66
|
};
|
|
36
|
-
declare const DSCheckboxGroupWithSchema:
|
|
67
|
+
declare const DSCheckboxGroupWithSchema: {
|
|
68
|
+
(props?: {
|
|
69
|
+
onChange: any;
|
|
70
|
+
activeValue: any;
|
|
71
|
+
children: any;
|
|
72
|
+
disabled: any;
|
|
73
|
+
orientation: any;
|
|
74
|
+
truncateText: any;
|
|
75
|
+
labelProps: any;
|
|
76
|
+
containerProps: any;
|
|
77
|
+
} | undefined): JSX.Element;
|
|
78
|
+
propTypes: unknown;
|
|
79
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
80
|
+
};
|
|
37
81
|
export { DSCheckboxGroup, DSCheckboxGroupWithSchema };
|
|
38
82
|
export default DSCheckboxGroup;
|
|
@@ -1,26 +1,57 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const props: {
|
|
2
3
|
/**
|
|
3
4
|
* Allows a function that is triggered once the checkbox group changes
|
|
4
5
|
*/
|
|
5
|
-
onChange:
|
|
6
|
+
onChange: {
|
|
7
|
+
defaultValue<T = unknown>(arg: T): {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
6
12
|
/**
|
|
7
13
|
* Default active value
|
|
8
14
|
*/
|
|
9
|
-
activeValue:
|
|
15
|
+
activeValue: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
10
21
|
/**
|
|
11
22
|
* Checkbox group items to show of type DSCheckbox
|
|
12
23
|
*/
|
|
13
|
-
children:
|
|
24
|
+
children: {
|
|
25
|
+
defaultValue<T = unknown>(arg: T): {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
14
30
|
/**
|
|
15
31
|
* Whether the checkbox group is disabled or not
|
|
16
32
|
*/
|
|
17
|
-
disabled:
|
|
33
|
+
disabled: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
18
39
|
/**
|
|
19
40
|
* ['horizontal', 'vertical']
|
|
20
41
|
*/
|
|
21
|
-
orientation:
|
|
42
|
+
orientation: {
|
|
43
|
+
defaultValue<T = unknown>(arg: T): {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
22
48
|
/**
|
|
23
49
|
* label props
|
|
24
50
|
*/
|
|
25
|
-
labelProps:
|
|
51
|
+
labelProps: {
|
|
52
|
+
defaultValue<T = unknown>(arg: T): {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
26
57
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
declare const DSComboBox2: {
|
|
3
4
|
new (props: {} | Readonly<{}>): {
|
|
@@ -60,6 +61,60 @@ declare const DSComboBox2: {
|
|
|
60
61
|
} | null;
|
|
61
62
|
contextType?: React.Context<any> | undefined;
|
|
62
63
|
};
|
|
63
|
-
declare const ComboBoxWithSchema:
|
|
64
|
+
declare const ComboBoxWithSchema: {
|
|
65
|
+
(props?: {
|
|
66
|
+
[x: string]: any;
|
|
67
|
+
hideSelectedOptions?: boolean | undefined;
|
|
68
|
+
autoFocus?: boolean | undefined;
|
|
69
|
+
className?: string | undefined;
|
|
70
|
+
hasError?: boolean | undefined;
|
|
71
|
+
onFocus?: ((...args: any[]) => void) | undefined;
|
|
72
|
+
onBlur?: ((...args: any[]) => void) | undefined;
|
|
73
|
+
onChange?: ((...args: any[]) => void) | undefined;
|
|
74
|
+
onChangeV2?: ((...args: any[]) => void) | undefined;
|
|
75
|
+
filterOption?: any;
|
|
76
|
+
onClickDropdownIndicator?: ((...args: any[]) => void) | undefined;
|
|
77
|
+
onInputKeyDown?: ((...args: any[]) => void) | undefined;
|
|
78
|
+
onInputChange?: ((...args: any[]) => void) | undefined;
|
|
79
|
+
isRtl?: boolean | undefined;
|
|
80
|
+
isFocused?: undefined;
|
|
81
|
+
isMulti?: boolean | undefined;
|
|
82
|
+
isFreeSolo: any;
|
|
83
|
+
selectAllDisabled?: boolean | undefined;
|
|
84
|
+
formatCreateLabel: any;
|
|
85
|
+
createOptionPosition: any;
|
|
86
|
+
value?: null | undefined;
|
|
87
|
+
options?: never[] | undefined;
|
|
88
|
+
clearable?: boolean | undefined;
|
|
89
|
+
searchable?: boolean | undefined;
|
|
90
|
+
disabled?: boolean | undefined;
|
|
91
|
+
placeholder?: string | undefined;
|
|
92
|
+
valueProperty?: string | undefined;
|
|
93
|
+
labelProperty?: string | undefined;
|
|
94
|
+
noOptionsMessage?: string | undefined;
|
|
95
|
+
loading?: boolean | undefined;
|
|
96
|
+
menuIsOpen?: undefined;
|
|
97
|
+
onMenuClose?: ((...args: any[]) => void) | undefined;
|
|
98
|
+
inlineMenu?: boolean | undefined;
|
|
99
|
+
components?: {} | undefined;
|
|
100
|
+
measureRef: any;
|
|
101
|
+
contentRect: any;
|
|
102
|
+
readOnly?: boolean | undefined;
|
|
103
|
+
returnValue?: boolean | undefined;
|
|
104
|
+
expandMenuToContainer?: boolean | undefined;
|
|
105
|
+
expandMenuOutsideContainer?: boolean | undefined;
|
|
106
|
+
customMenuItemOptions?: {
|
|
107
|
+
useTruncatedText: boolean;
|
|
108
|
+
itemSize: number;
|
|
109
|
+
} | undefined;
|
|
110
|
+
containerProps?: {} | undefined;
|
|
111
|
+
maxOptions: any;
|
|
112
|
+
zIndex?: number | undefined;
|
|
113
|
+
componentsStyle: any;
|
|
114
|
+
keepTypedValue?: boolean | undefined;
|
|
115
|
+
} | undefined): JSX.Element;
|
|
116
|
+
propTypes: unknown;
|
|
117
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
118
|
+
};
|
|
64
119
|
export { DSComboBox2, ComboBoxWithSchema };
|
|
65
120
|
export default DSComboBox2;
|
|
@@ -1,25 +1,62 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import type { ComboBoxPropsT } from './index.d';
|
|
3
4
|
declare const DSComboBox: {
|
|
4
5
|
(props: ComboBoxPropsT): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
placeholder:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
placeholder: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
selectedValues: {
|
|
14
|
+
defaultValue<T = unknown>(arg: T): {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
autoFocus: {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
hasError: {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
onChange: {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
onSelectAll: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
onFilter: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
onCreate: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
onClearAll: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
onMenuOpen: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
inputMinWidth: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
menuMinWidth: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
menuMaxHeight: {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
withToggle: {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
22
55
|
};
|
|
23
56
|
};
|
|
24
|
-
declare const DSComboBoxWithSchema:
|
|
57
|
+
declare const DSComboBoxWithSchema: {
|
|
58
|
+
(props?: ComboBoxPropsT | undefined): JSX.Element;
|
|
59
|
+
propTypes: unknown;
|
|
60
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
61
|
+
};
|
|
25
62
|
export { DSComboBox, DSComboBoxWithSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const StyledA11ySelectedValues: import("styled-components").StyledComponent<"span",
|
|
1
|
+
export declare const StyledA11ySelectedValues: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const StyledContainerWithPopper: import("styled-components").StyledComponent<"div",
|
|
2
|
-
export declare const StyledContainerInline: import("styled-components").StyledComponent<"div",
|
|
3
|
-
export declare const StyledPopperWrapper: import("styled-components").StyledComponent<"div",
|
|
1
|
+
export declare const StyledContainerWithPopper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const StyledContainerInline: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const StyledPopperWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ComboBoxPropsT } from '../../index.d';
|
|
3
|
-
export declare const StyledControlsWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
4
|
-
export declare const StyledSelection: import("styled-components").StyledComponent<"div",
|
|
5
|
-
export declare const StyledHeaderActionsWrapper: import("styled-components").StyledComponent<"div",
|
|
6
|
-
export declare const StyleDropdownIndicator: import("styled-components").StyledComponent<"div",
|
|
7
|
-
export declare const StyleHeaderActionsSeparator: import("styled-components").StyledComponent<"span",
|
|
3
|
+
export declare const StyledControlsWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, Pick<ComboBoxPropsT, "hasError" | "inline">, never>;
|
|
4
|
+
export declare const StyledSelection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const StyledHeaderActionsWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const StyleDropdownIndicator: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const StyleHeaderActionsSeparator: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const StyledInput: import("styled-components").StyledComponent<"input",
|
|
2
|
-
export declare const StyledInputPlaceHolder: import("styled-components").StyledComponent<"div",
|
|
3
|
-
export declare const StyledInputWidthReference: import("styled-components").StyledComponent<"span",
|
|
4
|
-
export declare const StyledInputWrapper: import("styled-components").StyledComponent<"div",
|
|
1
|
+
export declare const StyledInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const StyledInputPlaceHolder: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const StyledInputWidthReference: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const StyledInputWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,60 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const StyledDropDownButton: import("styled-components").StyledComponent<{
|
|
3
|
-
({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
innerRef: any;
|
|
6
|
-
disabled: any;
|
|
7
|
-
buttonType: any;
|
|
8
|
-
fluidWidth: any;
|
|
9
|
-
size: any;
|
|
10
|
-
labelText: any;
|
|
11
|
-
icon: any;
|
|
12
|
-
onBlur: any;
|
|
13
|
-
onClick: any;
|
|
14
|
-
onKeyPress: any;
|
|
15
|
-
leftIcon: any;
|
|
16
|
-
tabIndex: any;
|
|
17
|
-
variant: any;
|
|
18
|
-
intent: any;
|
|
19
|
-
containerProps: any;
|
|
20
|
-
className: any;
|
|
21
|
-
as: any;
|
|
22
|
-
type: any;
|
|
23
|
-
}): JSX.Element;
|
|
24
|
-
defaultProps: {
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
fluidWidth: boolean;
|
|
27
|
-
labelText: string;
|
|
28
|
-
icon: null;
|
|
29
|
-
onBlur: () => null;
|
|
30
|
-
onClick: () => null;
|
|
31
|
-
onKeyPress: () => null;
|
|
32
|
-
leftIcon: null;
|
|
33
|
-
tabIndex: number;
|
|
34
|
-
variant: string;
|
|
35
|
-
containerProps: {};
|
|
36
|
-
as: string;
|
|
37
|
-
type: string;
|
|
38
|
-
};
|
|
39
|
-
propTypes: {
|
|
40
|
-
tabIndex: any;
|
|
41
|
-
className: any;
|
|
42
|
-
'aria-disabled': any;
|
|
43
|
-
as: any;
|
|
44
|
-
disabled: any;
|
|
45
|
-
fluidWidth: any;
|
|
46
|
-
labelText: any;
|
|
47
|
-
icon: any;
|
|
48
|
-
leftIcon: any;
|
|
49
|
-
buttonType: any;
|
|
50
|
-
size: any;
|
|
51
|
-
type: any;
|
|
52
|
-
variant: any;
|
|
53
|
-
innerRef: any;
|
|
54
|
-
onBlur: any;
|
|
55
|
-
intent: any;
|
|
56
|
-
containerProps: any;
|
|
57
|
-
onClick: any;
|
|
58
|
-
onKeyPress: any;
|
|
59
|
-
};
|
|
60
|
-
}, any, {}, never>;
|
|
1
|
+
export declare const StyledDropDownButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
|