@elliemae/ds-pills 2.0.2 → 2.1.0-rc.3
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/components/types/DropdownPill.js +2 -2
- package/esm/components/types/DropdownPill.js +2 -2
- package/package.json +15 -15
- package/types/deprecated/DropdownPill.d.ts +12 -12
- package/types/deprecated/LabeledDropdownPills.d.ts +16 -16
- package/types/deprecated/LabeledPills.d.ts +8 -8
- package/types/deprecated/OverflowPill.d.ts +4 -4
- package/types/deprecated/Pill.d.ts +10 -10
- package/types/deprecated/PillGroup.d.ts +8 -8
- package/types/deprecated/ReadOnlyPill.d.ts +10 -10
- package/types/deprecated/RemovablePill.d.ts +8 -8
- package/types/props.d.ts +2 -2
|
@@ -65,8 +65,8 @@ const DropdownPill = /*#__PURE__*/React__default["default"].memo(_ref => {
|
|
|
65
65
|
if (dropdownProps.onClickOutside) dropdownProps.onClickOutside(e);
|
|
66
66
|
},
|
|
67
67
|
wrapperStyles: {
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
w: '100%',
|
|
69
|
+
h: '100%'
|
|
70
70
|
},
|
|
71
71
|
children: /*#__PURE__*/_jsx__default["default"](PillButton.DSPillButton, {
|
|
72
72
|
className: "ds-pill-focus-point",
|
|
@@ -55,8 +55,8 @@ const DropdownPill = /*#__PURE__*/React.memo(_ref => {
|
|
|
55
55
|
if (dropdownProps.onClickOutside) dropdownProps.onClickOutside(e);
|
|
56
56
|
},
|
|
57
57
|
wrapperStyles: {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
w: '100%',
|
|
59
|
+
h: '100%'
|
|
60
60
|
},
|
|
61
61
|
children: /*#__PURE__*/_jsx(DSPillButton, {
|
|
62
62
|
className: "ds-pill-focus-point",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-pills",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-rc.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Pills",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -144,20 +144,20 @@
|
|
|
144
144
|
"build": "node ../../scripts/build/build.js"
|
|
145
145
|
},
|
|
146
146
|
"dependencies": {
|
|
147
|
-
"@elliemae/ds-button": "2.0.
|
|
148
|
-
"@elliemae/ds-classnames": "2.0.
|
|
149
|
-
"@elliemae/ds-dropdownmenu": "2.0.
|
|
150
|
-
"@elliemae/ds-form": "2.0.
|
|
151
|
-
"@elliemae/ds-grid": "2.0.
|
|
152
|
-
"@elliemae/ds-icons": "2.0.
|
|
153
|
-
"@elliemae/ds-modal": "2.0.
|
|
154
|
-
"@elliemae/ds-popover": "2.0.
|
|
155
|
-
"@elliemae/ds-props-helpers": "2.0.
|
|
156
|
-
"@elliemae/ds-shared": "2.0.
|
|
157
|
-
"@elliemae/ds-system": "2.0.
|
|
158
|
-
"@elliemae/ds-tooltip": "2.0.
|
|
159
|
-
"@elliemae/ds-truncated-tooltip-text": "2.0.
|
|
160
|
-
"@elliemae/ds-utilities": "2.0.
|
|
147
|
+
"@elliemae/ds-button": "2.1.0-rc.3",
|
|
148
|
+
"@elliemae/ds-classnames": "2.1.0-rc.3",
|
|
149
|
+
"@elliemae/ds-dropdownmenu": "2.1.0-rc.3",
|
|
150
|
+
"@elliemae/ds-form": "2.1.0-rc.3",
|
|
151
|
+
"@elliemae/ds-grid": "2.1.0-rc.3",
|
|
152
|
+
"@elliemae/ds-icons": "2.1.0-rc.3",
|
|
153
|
+
"@elliemae/ds-modal": "2.1.0-rc.3",
|
|
154
|
+
"@elliemae/ds-popover": "2.1.0-rc.3",
|
|
155
|
+
"@elliemae/ds-props-helpers": "2.1.0-rc.3",
|
|
156
|
+
"@elliemae/ds-shared": "2.1.0-rc.3",
|
|
157
|
+
"@elliemae/ds-system": "2.1.0-rc.3",
|
|
158
|
+
"@elliemae/ds-tooltip": "2.1.0-rc.3",
|
|
159
|
+
"@elliemae/ds-truncated-tooltip-text": "2.1.0-rc.3",
|
|
160
|
+
"@elliemae/ds-utilities": "2.1.0-rc.3",
|
|
161
161
|
"prop-types": "~15.7.2",
|
|
162
162
|
"react-desc": "~4.1.3",
|
|
163
163
|
"uid": "~2.0.0"
|
|
@@ -14,47 +14,47 @@ declare namespace DropdownPill {
|
|
|
14
14
|
var propTypes: {
|
|
15
15
|
/** props injected to component wrapper */
|
|
16
16
|
containerProps: {
|
|
17
|
-
defaultValue
|
|
17
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
18
18
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
19
|
};
|
|
20
|
-
isRequired: import("react-desc").
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
21
21
|
};
|
|
22
22
|
/** labeled pill text label */
|
|
23
23
|
label: any;
|
|
24
24
|
/** pill variant */
|
|
25
25
|
variant: {
|
|
26
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
28
|
};
|
|
29
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
30
|
};
|
|
31
31
|
/** html focus border */
|
|
32
32
|
tabIndex: {
|
|
33
|
-
defaultValue
|
|
33
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
34
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
35
|
};
|
|
36
|
-
isRequired: import("react-desc").
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
37
|
};
|
|
38
38
|
/** close menu on item selection */
|
|
39
39
|
closeMenuOnItemSelection: {
|
|
40
|
-
defaultValue
|
|
40
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
41
41
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
42
|
};
|
|
43
|
-
isRequired: import("react-desc").
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
44
44
|
};
|
|
45
45
|
/** pill max width */
|
|
46
46
|
maxWidth: {
|
|
47
|
-
defaultValue
|
|
47
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
48
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
49
|
};
|
|
50
|
-
isRequired: import("react-desc").
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
51
|
};
|
|
52
52
|
/** pill min width */
|
|
53
53
|
minWidth: {
|
|
54
|
-
defaultValue
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
55
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
56
|
};
|
|
57
|
-
isRequired: import("react-desc").
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -16,61 +16,61 @@ declare namespace LabeledDropdownPills {
|
|
|
16
16
|
var propTypes: {
|
|
17
17
|
/** pill type */
|
|
18
18
|
type: {
|
|
19
|
-
defaultValue
|
|
19
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
20
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
21
|
};
|
|
22
|
-
isRequired: import("react-desc").
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
23
|
};
|
|
24
24
|
/** focus next group callback */
|
|
25
25
|
onFocusNextGroup: {
|
|
26
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
28
|
};
|
|
29
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
30
|
};
|
|
31
31
|
/** focus prev group callback */
|
|
32
32
|
onFocusPreviousGroup: {
|
|
33
|
-
defaultValue
|
|
33
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
34
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
35
|
};
|
|
36
|
-
isRequired: import("react-desc").
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
37
|
};
|
|
38
38
|
/** focus group set callback */
|
|
39
39
|
onFocusGroupSet: {
|
|
40
|
-
defaultValue
|
|
40
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
41
41
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
42
|
};
|
|
43
|
-
isRequired: import("react-desc").
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
44
44
|
};
|
|
45
45
|
/** pill max width */
|
|
46
46
|
maxWidth: {
|
|
47
|
-
defaultValue
|
|
47
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
48
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
49
|
};
|
|
50
|
-
isRequired: import("react-desc").
|
|
50
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
51
|
};
|
|
52
52
|
/** pill min width */
|
|
53
53
|
minWidth: {
|
|
54
|
-
defaultValue
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
55
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
56
|
};
|
|
57
|
-
isRequired: import("react-desc").
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
58
|
};
|
|
59
59
|
/** fixed pill */
|
|
60
60
|
fixed: {
|
|
61
|
-
defaultValue
|
|
61
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
62
62
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
63
|
};
|
|
64
|
-
isRequired: import("react-desc").
|
|
64
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
65
65
|
};
|
|
66
66
|
/** pill label text */
|
|
67
67
|
label: any;
|
|
68
68
|
/** pill value */
|
|
69
69
|
value: {
|
|
70
|
-
defaultValue
|
|
70
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
71
71
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
72
72
|
};
|
|
73
|
-
isRequired: import("react-desc").
|
|
73
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
76
|
}
|
|
@@ -16,31 +16,31 @@ declare namespace LabeledPills {
|
|
|
16
16
|
children: any;
|
|
17
17
|
/** addon component to left */
|
|
18
18
|
leftAddon: {
|
|
19
|
-
defaultValue
|
|
19
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
20
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
21
|
};
|
|
22
|
-
isRequired: import("react-desc").
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
23
|
};
|
|
24
24
|
/** focus next group callback */
|
|
25
25
|
onFocusNextGroup: {
|
|
26
|
-
defaultValue
|
|
26
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
27
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
28
|
};
|
|
29
|
-
isRequired: import("react-desc").
|
|
29
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
30
|
};
|
|
31
31
|
/** focus prev group callback */
|
|
32
32
|
onFocusPreviousGroup: {
|
|
33
|
-
defaultValue
|
|
33
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
34
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
35
|
};
|
|
36
|
-
isRequired: import("react-desc").
|
|
36
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
37
|
};
|
|
38
38
|
/** focus group set callback */
|
|
39
39
|
onFocusGroupSet: {
|
|
40
|
-
defaultValue
|
|
40
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
41
41
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
42
|
};
|
|
43
|
-
isRequired: import("react-desc").
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
}
|
|
@@ -9,19 +9,19 @@ declare namespace OverflowPill {
|
|
|
9
9
|
var propTypes: {
|
|
10
10
|
/** props to inject to pill wrapper */
|
|
11
11
|
containerProps: {
|
|
12
|
-
defaultValue
|
|
12
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
13
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
14
|
};
|
|
15
|
-
isRequired: import("react-desc").
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
16
|
};
|
|
17
17
|
/** pill text label */
|
|
18
18
|
label: any;
|
|
19
19
|
/** overflow pills options */
|
|
20
20
|
options: {
|
|
21
|
-
defaultValue
|
|
21
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
22
22
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
23
|
};
|
|
24
|
-
isRequired: import("react-desc").
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
}
|
|
@@ -13,40 +13,40 @@ declare namespace Pill {
|
|
|
13
13
|
var propTypes: {
|
|
14
14
|
/** props to inject to pill wrapper */
|
|
15
15
|
containerProps: {
|
|
16
|
-
defaultValue
|
|
16
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
17
17
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
18
|
};
|
|
19
|
-
isRequired: import("react-desc").
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
20
20
|
};
|
|
21
21
|
/** pill text label */
|
|
22
22
|
label: any;
|
|
23
23
|
/** pill size */
|
|
24
24
|
size: {
|
|
25
|
-
defaultValue
|
|
25
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
26
26
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
27
|
};
|
|
28
|
-
isRequired: import("react-desc").
|
|
28
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
29
29
|
};
|
|
30
30
|
/** pill variant */
|
|
31
31
|
variant: {
|
|
32
|
-
defaultValue
|
|
32
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
33
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
34
|
};
|
|
35
|
-
isRequired: import("react-desc").
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
36
|
};
|
|
37
37
|
/** addon component to left */
|
|
38
38
|
leftAddon: {
|
|
39
|
-
defaultValue
|
|
39
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
40
40
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
41
|
};
|
|
42
|
-
isRequired: import("react-desc").
|
|
42
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
43
43
|
};
|
|
44
44
|
/** addon component to right */
|
|
45
45
|
rightAddon: {
|
|
46
|
-
defaultValue
|
|
46
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
47
47
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
48
|
};
|
|
49
|
-
isRequired: import("react-desc").
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -12,31 +12,31 @@ declare const PillGroup: {
|
|
|
12
12
|
propTypes: {
|
|
13
13
|
/** props injected to component wrapper */
|
|
14
14
|
containerProps: {
|
|
15
|
-
defaultValue
|
|
15
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
16
16
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
17
|
};
|
|
18
|
-
isRequired: import("react-desc").
|
|
18
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
19
19
|
};
|
|
20
20
|
/** focus next group callback */
|
|
21
21
|
onFocusNextGroup: {
|
|
22
|
-
defaultValue
|
|
22
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
23
23
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
24
|
};
|
|
25
|
-
isRequired: import("react-desc").
|
|
25
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
26
26
|
};
|
|
27
27
|
/** focus prev group callback */
|
|
28
28
|
onFocusPreviousGroup: {
|
|
29
|
-
defaultValue
|
|
29
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
30
30
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
31
|
};
|
|
32
|
-
isRequired: import("react-desc").
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
33
33
|
};
|
|
34
34
|
/** focus group set callback */
|
|
35
35
|
onFocusGroupSet: {
|
|
36
|
-
defaultValue
|
|
36
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
37
37
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
38
|
};
|
|
39
|
-
isRequired: import("react-desc").
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
40
40
|
};
|
|
41
41
|
/** pill components */
|
|
42
42
|
children: any;
|
|
@@ -12,39 +12,39 @@ declare const ReadOnlyPill: {
|
|
|
12
12
|
propTypes: {
|
|
13
13
|
/** props injected to component wrapper */
|
|
14
14
|
containerProps: {
|
|
15
|
-
defaultValue
|
|
15
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
16
16
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
17
|
};
|
|
18
|
-
isRequired: import("react-desc").
|
|
18
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
19
19
|
};
|
|
20
20
|
/** labeled pill text label */
|
|
21
21
|
label: any;
|
|
22
22
|
/** addon component to left */
|
|
23
23
|
leftAddon: {
|
|
24
|
-
defaultValue
|
|
24
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
25
25
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
26
26
|
};
|
|
27
|
-
isRequired: import("react-desc").
|
|
27
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
28
28
|
};
|
|
29
29
|
/** read only pill modal content */
|
|
30
30
|
modalContent: {
|
|
31
|
-
defaultValue
|
|
31
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
32
32
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
33
|
};
|
|
34
|
-
isRequired: import("react-desc").
|
|
34
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
35
35
|
};
|
|
36
36
|
/** read only pill modal title */
|
|
37
37
|
modalTitle: {
|
|
38
|
-
defaultValue
|
|
38
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
39
39
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
40
|
};
|
|
41
|
-
isRequired: import("react-desc").
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
42
42
|
};
|
|
43
43
|
tooltipText: {
|
|
44
|
-
defaultValue
|
|
44
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
45
45
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
46
|
};
|
|
47
|
-
isRequired: import("react-desc").
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
};
|
|
@@ -11,33 +11,33 @@ declare namespace RemovablePill {
|
|
|
11
11
|
var propTypes: {
|
|
12
12
|
/** props injected to component wrapper */
|
|
13
13
|
containerProps: {
|
|
14
|
-
defaultValue
|
|
14
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
15
15
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
16
|
};
|
|
17
|
-
isRequired: import("react-desc").
|
|
17
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
18
18
|
};
|
|
19
19
|
/** labeled pill text label */
|
|
20
20
|
label: any;
|
|
21
21
|
/** remove click callback */
|
|
22
22
|
onRemove: {
|
|
23
|
-
defaultValue
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
24
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
25
|
};
|
|
26
|
-
isRequired: import("react-desc").
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
27
27
|
};
|
|
28
28
|
/** pill size */
|
|
29
29
|
size: {
|
|
30
|
-
defaultValue
|
|
30
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
31
31
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
32
|
};
|
|
33
|
-
isRequired: import("react-desc").
|
|
33
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
34
34
|
};
|
|
35
35
|
/** addon component to left */
|
|
36
36
|
leftAddon: {
|
|
37
|
-
defaultValue
|
|
37
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
38
38
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
39
|
};
|
|
40
|
-
isRequired: import("react-desc").
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
}
|
package/types/props.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
2
|
export declare const DSPillV2PropTypes: {
|
|
3
|
-
label: import("react-desc").
|
|
4
|
-
type: import("react-desc").
|
|
3
|
+
label: import("react-desc").PropTypesDescValue;
|
|
4
|
+
type: import("react-desc").PropTypesDescValue;
|
|
5
5
|
innerRef: {
|
|
6
6
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
7
|
};
|