@zendeskgarden/react-dropdowns 9.0.0-next.22 → 9.0.0-next.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/elements/combobox/Combobox.js +4 -4
- package/dist/esm/elements/combobox/Listbox.js +1 -1
- package/dist/esm/elements/combobox/OptGroup.js +2 -2
- package/dist/esm/elements/combobox/Option.js +1 -1
- package/dist/esm/elements/menu/Item.js +1 -1
- package/dist/esm/elements/menu/ItemGroup.js +2 -2
- package/dist/esm/elements/menu/MenuList.js +1 -1
- package/dist/esm/views/combobox/StyledCombobox.js +1 -1
- package/dist/esm/views/combobox/StyledContainer.js +1 -1
- package/dist/esm/views/combobox/StyledField.js +1 -1
- package/dist/esm/views/combobox/StyledFloatingListbox.js +1 -1
- package/dist/esm/views/combobox/StyledHint.js +1 -1
- package/dist/esm/views/combobox/StyledInput.js +1 -1
- package/dist/esm/views/combobox/StyledInputGroup.js +1 -1
- package/dist/esm/views/combobox/StyledInputIcon.js +1 -1
- package/dist/esm/views/combobox/StyledLabel.js +1 -1
- package/dist/esm/views/combobox/StyledListbox.js +1 -1
- package/dist/esm/views/combobox/StyledListboxSeparator.js +1 -1
- package/dist/esm/views/combobox/StyledMessage.js +1 -1
- package/dist/esm/views/combobox/StyledOptGroup.js +1 -1
- package/dist/esm/views/combobox/StyledOption.js +1 -1
- package/dist/esm/views/combobox/StyledOptionContent.js +1 -1
- package/dist/esm/views/combobox/StyledOptionIcon.js +1 -1
- package/dist/esm/views/combobox/StyledOptionMeta.js +1 -1
- package/dist/esm/views/combobox/StyledOptionTypeIcon.js +1 -1
- package/dist/esm/views/combobox/StyledTag.js +1 -1
- package/dist/esm/views/combobox/StyledTagsButton.js +1 -1
- package/dist/esm/views/combobox/StyledTrigger.js +1 -1
- package/dist/esm/views/combobox/StyledValue.js +1 -1
- package/dist/esm/views/menu/StyledFloatingMenu.js +1 -1
- package/dist/esm/views/menu/StyledItem.js +1 -1
- package/dist/esm/views/menu/StyledItemContent.js +1 -1
- package/dist/esm/views/menu/StyledItemGroup.js +1 -1
- package/dist/esm/views/menu/StyledItemIcon.js +1 -1
- package/dist/esm/views/menu/StyledItemMeta.js +1 -1
- package/dist/esm/views/menu/StyledItemTypeIcon.js +1 -1
- package/dist/esm/views/menu/StyledMenu.js +1 -1
- package/dist/esm/views/menu/StyledSeparator.js +1 -1
- package/dist/index.cjs.js +43 -43
- package/dist/typings/context/useComboboxContext.d.ts +12 -13
- package/dist/typings/context/useFieldContext.d.ts +6 -6
- package/dist/typings/context/useItemContext.d.ts +2 -3
- package/dist/typings/context/useItemGroupContext.d.ts +2 -3
- package/dist/typings/context/useMenuContext.d.ts +10 -11
- package/dist/typings/context/useOptionContext.d.ts +2 -3
- package/dist/typings/elements/combobox/Field.d.ts +3 -1
- package/dist/typings/elements/combobox/Option.d.ts +3 -1
- package/dist/typings/elements/combobox/Tag.d.ts +3 -1
- package/dist/typings/elements/combobox/TagAvatar.d.ts +0 -1
- package/dist/typings/elements/combobox/utils.d.ts +2 -2
- package/dist/typings/elements/menu/Item.d.ts +3 -1
- package/dist/typings/elements/menu/utils.d.ts +2 -2
- package/dist/typings/views/combobox/StyledHint.d.ts +0 -1
- package/dist/typings/views/combobox/StyledInputIcon.d.ts +0 -1
- package/dist/typings/views/combobox/StyledLabel.d.ts +0 -1
- package/dist/typings/views/combobox/StyledMessage.d.ts +0 -1
- package/dist/typings/views/combobox/StyledOptionIcon.d.ts +0 -1
- package/dist/typings/views/combobox/StyledOptionTypeIcon.d.ts +0 -1
- package/dist/typings/views/combobox/StyledTag.d.ts +2 -6
- package/dist/typings/views/menu/StyledItemIcon.d.ts +0 -1
- package/dist/typings/views/menu/StyledItemTypeIcon.d.ts +0 -1
- package/package.json +11 -11
|
@@ -242,10 +242,10 @@ const Combobox = forwardRef((_ref, ref) => {
|
|
|
242
242
|
tabIndex: -1
|
|
243
243
|
}, props, {
|
|
244
244
|
ref: ref
|
|
245
|
-
}), React__default.createElement(StyledTrigger, triggerProps, React__default.createElement(StyledContainer, null, startIcon && React__default.createElement(StyledInputIcon, {
|
|
245
|
+
}), React__default.createElement(StyledTrigger, triggerProps, React__default.createElement(StyledContainer, null, !!startIcon && React__default.createElement(StyledInputIcon, {
|
|
246
246
|
$isLabelHovered: isLabelHovered,
|
|
247
247
|
$isCompact: isCompact
|
|
248
|
-
}, startIcon), React__default.createElement(StyledInputGroup, null, isMultiselectable && Array.isArray(selection) && React__default.createElement(TagGroup, {
|
|
248
|
+
}, startIcon), React__default.createElement(StyledInputGroup, null, !!isMultiselectable && Array.isArray(selection) && React__default.createElement(TagGroup, {
|
|
249
249
|
isDisabled: isDisabled,
|
|
250
250
|
isExpanded: isTagGroupExpanded,
|
|
251
251
|
maxTags: maxTags,
|
|
@@ -272,11 +272,11 @@ const Combobox = forwardRef((_ref, ref) => {
|
|
|
272
272
|
}, renderValue ? renderValue({
|
|
273
273
|
selection,
|
|
274
274
|
inputValue
|
|
275
|
-
}) : inputValue || placeholder), React__default.createElement(StyledInput, inputProps)), (hasChevron || endIcon) && React__default.createElement(StyledInputIcon, {
|
|
275
|
+
}) : inputValue || placeholder), React__default.createElement(StyledInput, inputProps)), !!(hasChevron || endIcon) && React__default.createElement(StyledInputIcon, {
|
|
276
276
|
$isCompact: isCompact,
|
|
277
277
|
$isEnd: true,
|
|
278
278
|
$isLabelHovered: isLabelHovered,
|
|
279
|
-
$isRotated: hasChevron && isExpanded
|
|
279
|
+
$isRotated: !!(hasChevron && isExpanded)
|
|
280
280
|
}, hasChevron ? React__default.createElement(SvgChevronDownStroke, null) : endIcon))), React__default.createElement(Listbox, Object.assign({
|
|
281
281
|
appendToNode: listboxAppendToNode,
|
|
282
282
|
isCompact: isCompact,
|
|
@@ -138,7 +138,7 @@ const Listbox = forwardRef((_ref, ref) => {
|
|
|
138
138
|
}
|
|
139
139
|
}, props, {
|
|
140
140
|
ref: ref
|
|
141
|
-
}), isVisible && children));
|
|
141
|
+
}), !!isVisible && children));
|
|
142
142
|
return appendToNode ? createPortal(Node, appendToNode) : Node;
|
|
143
143
|
});
|
|
144
144
|
Listbox.displayName = 'Listbox';
|
|
@@ -69,11 +69,11 @@ const OptGroup = forwardRef((_ref, ref) => {
|
|
|
69
69
|
role: "none"
|
|
70
70
|
}, props, {
|
|
71
71
|
ref: ref
|
|
72
|
-
}), React__default.createElement(StyledOptionContent, null, (content || legend) && React__default.createElement(StyledOption, {
|
|
72
|
+
}), React__default.createElement(StyledOptionContent, null, !!(content || legend) && React__default.createElement(StyledOption, {
|
|
73
73
|
as: "div",
|
|
74
74
|
isCompact: isCompact,
|
|
75
75
|
$type: "header"
|
|
76
|
-
}, icon && React__default.createElement(StyledOptionTypeIcon, {
|
|
76
|
+
}, !!icon && React__default.createElement(StyledOptionTypeIcon, {
|
|
77
77
|
$isCompact: isCompact,
|
|
78
78
|
$type: "header"
|
|
79
79
|
}, icon), content || legend), React__default.createElement(StyledOptGroup, Object.assign({
|
|
@@ -114,7 +114,7 @@ const OptionComponent = forwardRef((_ref, ref) => {
|
|
|
114
114
|
}, props, optionProps), React__default.createElement(StyledOptionTypeIcon, {
|
|
115
115
|
$isCompact: isCompact,
|
|
116
116
|
$type: type
|
|
117
|
-
}, renderActionIcon(type)), icon && React__default.createElement(StyledOptionIcon, {
|
|
117
|
+
}, renderActionIcon(type)), !!icon && React__default.createElement(StyledOptionIcon, {
|
|
118
118
|
$isDisabled: isDisabled,
|
|
119
119
|
$type: type
|
|
120
120
|
}, icon), React__default.createElement(StyledOptionContent, null, children || label || value)));
|
|
@@ -120,7 +120,7 @@ const ItemComponent = forwardRef((_ref, ref) => {
|
|
|
120
120
|
}), React__default.createElement(StyledItemTypeIcon, {
|
|
121
121
|
$isCompact: isCompact,
|
|
122
122
|
$type: type
|
|
123
|
-
}, renderActionIcon(type)), icon && React__default.createElement(StyledItemIcon, {
|
|
123
|
+
}, renderActionIcon(type)), !!icon && React__default.createElement(StyledItemIcon, {
|
|
124
124
|
$isDisabled: isDisabled,
|
|
125
125
|
$type: type
|
|
126
126
|
}, icon), React__default.createElement(StyledItemContent, null, children || label)));
|
|
@@ -72,11 +72,11 @@ const ItemGroup = forwardRef((_ref, ref) => {
|
|
|
72
72
|
}, props, {
|
|
73
73
|
role: "none",
|
|
74
74
|
ref: ref
|
|
75
|
-
}), React__default.createElement(StyledItemContent, null, (content || legend) && React__default.createElement(StyledItem, {
|
|
75
|
+
}), React__default.createElement(StyledItemContent, null, !!(content || legend) && React__default.createElement(StyledItem, {
|
|
76
76
|
as: "div",
|
|
77
77
|
isCompact: isCompact,
|
|
78
78
|
$type: "header"
|
|
79
|
-
}, icon && React__default.createElement(StyledItemTypeIcon, {
|
|
79
|
+
}, !!icon && React__default.createElement(StyledItemTypeIcon, {
|
|
80
80
|
$isCompact: isCompact,
|
|
81
81
|
$type: "header"
|
|
82
82
|
}, icon), content || legend), React__default.createElement(StyledItemGroup, Object.assign({
|
|
@@ -145,7 +145,7 @@ const MenuList = forwardRef((_ref, ref) => {
|
|
|
145
145
|
}
|
|
146
146
|
}, props, {
|
|
147
147
|
ref: ref
|
|
148
|
-
}), isVisible && children));
|
|
148
|
+
}), !!isVisible && children));
|
|
149
149
|
return appendToNode ? createPortal(Node, appendToNode) : Node;
|
|
150
150
|
});
|
|
151
151
|
MenuList.displayName = 'MenuList';
|
|
@@ -18,7 +18,7 @@ const sizeStyles = props => {
|
|
|
18
18
|
};
|
|
19
19
|
const StyledCombobox = styled.div.attrs({
|
|
20
20
|
'data-garden-id': COMPONENT_ID,
|
|
21
|
-
'data-garden-version': '9.0.0-next.
|
|
21
|
+
'data-garden-version': '9.0.0-next.23'
|
|
22
22
|
}).withConfig({
|
|
23
23
|
displayName: "StyledCombobox",
|
|
24
24
|
componentId: "sc-13eybg8-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'dropdowns.combobox.container';
|
|
11
11
|
const StyledContainer = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.23'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledContainer",
|
|
16
16
|
componentId: "sc-14i9jid-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'dropdowns.combobox.field';
|
|
11
11
|
const StyledField = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.23'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledField",
|
|
16
16
|
componentId: "sc-zc57xl-0"
|
|
@@ -10,7 +10,7 @@ import { menuStyles, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgard
|
|
|
10
10
|
const COMPONENT_ID = 'dropdowns.combobox.floating';
|
|
11
11
|
const StyledFloatingListbox = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.23'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledFloatingListbox",
|
|
16
16
|
componentId: "sc-1cp6spf-0"
|
|
@@ -11,7 +11,7 @@ import { Field } from '@zendeskgarden/react-forms';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.combobox.hint';
|
|
12
12
|
const StyledHint = styled(Field.Hint).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledHint",
|
|
17
17
|
componentId: "sc-106qvqx-0"
|
|
@@ -35,7 +35,7 @@ const sizeStyles = props => {
|
|
|
35
35
|
};
|
|
36
36
|
const StyledInput = styled.input.attrs({
|
|
37
37
|
'data-garden-id': COMPONENT_ID,
|
|
38
|
-
'data-garden-version': '9.0.0-next.
|
|
38
|
+
'data-garden-version': '9.0.0-next.23'
|
|
39
39
|
}).withConfig({
|
|
40
40
|
displayName: "StyledInput",
|
|
41
41
|
componentId: "sc-1lkqdg-0"
|
|
@@ -14,7 +14,7 @@ const sizeStyles = props => {
|
|
|
14
14
|
};
|
|
15
15
|
const StyledInputGroup = styled.div.attrs({
|
|
16
16
|
'data-garden-id': COMPONENT_ID,
|
|
17
|
-
'data-garden-version': '9.0.0-next.
|
|
17
|
+
'data-garden-version': '9.0.0-next.23'
|
|
18
18
|
}).withConfig({
|
|
19
19
|
displayName: "StyledInputGroup",
|
|
20
20
|
componentId: "sc-yx3q7u-0"
|
|
@@ -50,7 +50,7 @@ const sizeStyles = props => {
|
|
|
50
50
|
};
|
|
51
51
|
const StyledInputIcon = styled(StyledBaseIcon).attrs({
|
|
52
52
|
'data-garden-id': COMPONENT_ID,
|
|
53
|
-
'data-garden-version': '9.0.0-next.
|
|
53
|
+
'data-garden-version': '9.0.0-next.23'
|
|
54
54
|
}).withConfig({
|
|
55
55
|
displayName: "StyledInputIcon",
|
|
56
56
|
componentId: "sc-gqbs1s-0"
|
|
@@ -11,7 +11,7 @@ import { Field } from '@zendeskgarden/react-forms';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.combobox.label';
|
|
12
12
|
const StyledLabel = styled(Field.Label).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledLabel",
|
|
17
17
|
componentId: "sc-az6now-0"
|
|
@@ -19,7 +19,7 @@ const sizeStyles = props => {
|
|
|
19
19
|
};
|
|
20
20
|
const StyledListbox = styled.ul.attrs({
|
|
21
21
|
'data-garden-id': COMPONENT_ID,
|
|
22
|
-
'data-garden-version': '9.0.0-next.
|
|
22
|
+
'data-garden-version': '9.0.0-next.23'
|
|
23
23
|
}).withConfig({
|
|
24
24
|
displayName: "StyledListbox",
|
|
25
25
|
componentId: "sc-1k13ba7-0"
|
|
@@ -25,7 +25,7 @@ const sizeStyles = props => {
|
|
|
25
25
|
};
|
|
26
26
|
const StyledListboxSeparator = styled.li.attrs({
|
|
27
27
|
'data-garden-id': COMPONENT_ID,
|
|
28
|
-
'data-garden-version': '9.0.0-next.
|
|
28
|
+
'data-garden-version': '9.0.0-next.23'
|
|
29
29
|
}).withConfig({
|
|
30
30
|
displayName: "StyledListboxSeparator",
|
|
31
31
|
componentId: "sc-1p6toh2-0"
|
|
@@ -11,7 +11,7 @@ import { Field } from '@zendeskgarden/react-forms';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.combobox.message';
|
|
12
12
|
const StyledMessage = styled(Field.Message).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledMessage",
|
|
17
17
|
componentId: "sc-jux8m5-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'dropdowns.combobox.optgroup';
|
|
11
11
|
const StyledOptGroup = styled.ul.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.23'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledOptGroup",
|
|
16
16
|
componentId: "sc-1kavqsx-0"
|
|
@@ -57,7 +57,7 @@ const sizeStyles = props => {
|
|
|
57
57
|
};
|
|
58
58
|
const StyledOption = styled.li.attrs({
|
|
59
59
|
'data-garden-id': COMPONENT_ID,
|
|
60
|
-
'data-garden-version': '9.0.0-next.
|
|
60
|
+
'data-garden-version': '9.0.0-next.23'
|
|
61
61
|
}).withConfig({
|
|
62
62
|
displayName: "StyledOption",
|
|
63
63
|
componentId: "sc-jl4wn6-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
10
10
|
const COMPONENT_ID = 'dropdowns.combobox.option.content';
|
|
11
11
|
const StyledOptionContent = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.23'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledOptionContent",
|
|
16
16
|
componentId: "sc-121ujpu-0"
|
|
@@ -39,7 +39,7 @@ const sizeStyles = props => {
|
|
|
39
39
|
};
|
|
40
40
|
const StyledOptionIcon = styled(StyledBaseIcon).attrs({
|
|
41
41
|
'data-garden-id': COMPONENT_ID,
|
|
42
|
-
'data-garden-version': '9.0.0-next.
|
|
42
|
+
'data-garden-version': '9.0.0-next.23'
|
|
43
43
|
}).withConfig({
|
|
44
44
|
displayName: "StyledOptionIcon",
|
|
45
45
|
componentId: "sc-qsab3y-0"
|
|
@@ -27,7 +27,7 @@ const sizeStyles = props => {
|
|
|
27
27
|
};
|
|
28
28
|
const StyledOptionMeta = styled.div.attrs({
|
|
29
29
|
'data-garden-id': COMPONENT_ID,
|
|
30
|
-
'data-garden-version': '9.0.0-next.
|
|
30
|
+
'data-garden-version': '9.0.0-next.23'
|
|
31
31
|
}).withConfig({
|
|
32
32
|
displayName: "StyledOptionMeta",
|
|
33
33
|
componentId: "sc-j6pu10-0"
|
|
@@ -46,7 +46,7 @@ const sizeStyles = props => {
|
|
|
46
46
|
};
|
|
47
47
|
const StyledOptionTypeIcon = styled(StyledBaseIcon).attrs({
|
|
48
48
|
'data-garden-id': COMPONENT_ID,
|
|
49
|
-
'data-garden-version': '9.0.0-next.
|
|
49
|
+
'data-garden-version': '9.0.0-next.23'
|
|
50
50
|
}).withConfig({
|
|
51
51
|
displayName: "StyledOptionTypeIcon",
|
|
52
52
|
componentId: "sc-xpink2-0"
|
|
@@ -12,7 +12,7 @@ import { Tag } from '@zendeskgarden/react-tags';
|
|
|
12
12
|
const COMPONENT_ID = 'dropdowns.combobox.tag';
|
|
13
13
|
const StyledTag = styled(Tag).attrs({
|
|
14
14
|
'data-garden-id': COMPONENT_ID,
|
|
15
|
-
'data-garden-version': '9.0.0-next.
|
|
15
|
+
'data-garden-version': '9.0.0-next.23'
|
|
16
16
|
}).withConfig({
|
|
17
17
|
displayName: "StyledTag",
|
|
18
18
|
componentId: "sc-1alam0r-0"
|
|
@@ -22,7 +22,7 @@ const colorStyles = _ref => {
|
|
|
22
22
|
const StyledTagsButton = styled(StyledValue).attrs({
|
|
23
23
|
as: 'button',
|
|
24
24
|
'data-garden-id': COMPONENT_ID,
|
|
25
|
-
'data-garden-version': '9.0.0-next.
|
|
25
|
+
'data-garden-version': '9.0.0-next.23'
|
|
26
26
|
}).withConfig({
|
|
27
27
|
displayName: "StyledTagsButton",
|
|
28
28
|
componentId: "sc-6q5w33-0"
|
|
@@ -113,7 +113,7 @@ const sizeStyles = props => {
|
|
|
113
113
|
};
|
|
114
114
|
const StyledTrigger = styled.div.attrs({
|
|
115
115
|
'data-garden-id': COMPONENT_ID,
|
|
116
|
-
'data-garden-version': '9.0.0-next.
|
|
116
|
+
'data-garden-version': '9.0.0-next.23'
|
|
117
117
|
}).withConfig({
|
|
118
118
|
displayName: "StyledTrigger",
|
|
119
119
|
componentId: "sc-116nftk-0"
|
|
@@ -22,7 +22,7 @@ const colorStyles = _ref => {
|
|
|
22
22
|
};
|
|
23
23
|
const StyledValue = styled.div.attrs({
|
|
24
24
|
'data-garden-id': COMPONENT_ID,
|
|
25
|
-
'data-garden-version': '9.0.0-next.
|
|
25
|
+
'data-garden-version': '9.0.0-next.23'
|
|
26
26
|
}).withConfig({
|
|
27
27
|
displayName: "StyledValue",
|
|
28
28
|
componentId: "sc-t719sx-0"
|
|
@@ -11,7 +11,7 @@ import { StyledFloatingListbox } from '../combobox/StyledFloatingListbox.js';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.menu.floating';
|
|
12
12
|
const StyledFloatingMenu = styled(StyledFloatingListbox).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledFloatingMenu",
|
|
17
17
|
componentId: "sc-1rc7ahb-0"
|
|
@@ -11,7 +11,7 @@ import { StyledOption } from '../combobox/StyledOption.js';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.menu.item';
|
|
12
12
|
const StyledItem = styled(StyledOption).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledItem",
|
|
17
17
|
componentId: "sc-1jp99dq-0"
|
|
@@ -11,7 +11,7 @@ import { StyledOptionContent } from '../combobox/StyledOptionContent.js';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.menu.item.content';
|
|
12
12
|
const StyledItemContent = styled(StyledOptionContent).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledItemContent",
|
|
17
17
|
componentId: "sc-1opglsb-0"
|
|
@@ -11,7 +11,7 @@ import { StyledOptGroup } from '../combobox/StyledOptGroup.js';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.menu.item_group';
|
|
12
12
|
const StyledItemGroup = styled(StyledOptGroup).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledItemGroup",
|
|
17
17
|
componentId: "sc-1umk3cg-0"
|
|
@@ -11,7 +11,7 @@ import { StyledOptionIcon } from '../combobox/StyledOptionIcon.js';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.menu.item.icon';
|
|
12
12
|
const StyledItemIcon = styled(StyledOptionIcon).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledItemIcon",
|
|
17
17
|
componentId: "sc-w9orqb-0"
|
|
@@ -11,7 +11,7 @@ import { StyledOptionMeta } from '../combobox/StyledOptionMeta.js';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.menu.item.meta';
|
|
12
12
|
const StyledItemMeta = styled(StyledOptionMeta).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledItemMeta",
|
|
17
17
|
componentId: "sc-1unw3x1-0"
|
|
@@ -12,7 +12,7 @@ import { StyledItem } from './StyledItem.js';
|
|
|
12
12
|
const COMPONENT_ID = 'dropdowns.menu.item.type_icon';
|
|
13
13
|
const StyledItemTypeIcon = styled(StyledOptionTypeIcon).attrs({
|
|
14
14
|
'data-garden-id': COMPONENT_ID,
|
|
15
|
-
'data-garden-version': '9.0.0-next.
|
|
15
|
+
'data-garden-version': '9.0.0-next.23'
|
|
16
16
|
}).withConfig({
|
|
17
17
|
displayName: "StyledItemTypeIcon",
|
|
18
18
|
componentId: "sc-1pll3nu-0"
|
|
@@ -11,7 +11,7 @@ import { StyledListbox } from '../combobox/StyledListbox.js';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.menu';
|
|
12
12
|
const StyledMenu = styled(StyledListbox).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledMenu",
|
|
17
17
|
componentId: "sc-f77ntu-0"
|
|
@@ -11,7 +11,7 @@ import { StyledListboxSeparator } from '../combobox/StyledListboxSeparator.js';
|
|
|
11
11
|
const COMPONENT_ID = 'dropdowns.menu.separator';
|
|
12
12
|
const StyledSeparator = styled(StyledListboxSeparator).attrs({
|
|
13
13
|
'data-garden-id': COMPONENT_ID,
|
|
14
|
-
'data-garden-version': '9.0.0-next.
|
|
14
|
+
'data-garden-version': '9.0.0-next.23'
|
|
15
15
|
}).withConfig({
|
|
16
16
|
displayName: "StyledSeparator",
|
|
17
17
|
componentId: "sc-8kqwen-0"
|
package/dist/index.cjs.js
CHANGED
|
@@ -83,7 +83,7 @@ const useFieldContext = () => {
|
|
|
83
83
|
const COMPONENT_ID$u = 'dropdowns.combobox.label';
|
|
84
84
|
const StyledLabel = styled__default.default(reactForms.Field.Label).attrs({
|
|
85
85
|
'data-garden-id': COMPONENT_ID$u,
|
|
86
|
-
'data-garden-version': '9.0.0-next.
|
|
86
|
+
'data-garden-version': '9.0.0-next.23'
|
|
87
87
|
}).withConfig({
|
|
88
88
|
displayName: "StyledLabel",
|
|
89
89
|
componentId: "sc-az6now-0"
|
|
@@ -95,7 +95,7 @@ StyledLabel.defaultProps = {
|
|
|
95
95
|
const COMPONENT_ID$t = 'dropdowns.combobox.hint';
|
|
96
96
|
const StyledHint = styled__default.default(reactForms.Field.Hint).attrs({
|
|
97
97
|
'data-garden-id': COMPONENT_ID$t,
|
|
98
|
-
'data-garden-version': '9.0.0-next.
|
|
98
|
+
'data-garden-version': '9.0.0-next.23'
|
|
99
99
|
}).withConfig({
|
|
100
100
|
displayName: "StyledHint",
|
|
101
101
|
componentId: "sc-106qvqx-0"
|
|
@@ -107,7 +107,7 @@ StyledHint.defaultProps = {
|
|
|
107
107
|
const COMPONENT_ID$s = 'dropdowns.combobox.message';
|
|
108
108
|
const StyledMessage = styled__default.default(reactForms.Field.Message).attrs({
|
|
109
109
|
'data-garden-id': COMPONENT_ID$s,
|
|
110
|
-
'data-garden-version': '9.0.0-next.
|
|
110
|
+
'data-garden-version': '9.0.0-next.23'
|
|
111
111
|
}).withConfig({
|
|
112
112
|
displayName: "StyledMessage",
|
|
113
113
|
componentId: "sc-jux8m5-0"
|
|
@@ -124,7 +124,7 @@ const sizeStyles$a = props => {
|
|
|
124
124
|
};
|
|
125
125
|
const StyledCombobox = styled__default.default.div.attrs({
|
|
126
126
|
'data-garden-id': COMPONENT_ID$r,
|
|
127
|
-
'data-garden-version': '9.0.0-next.
|
|
127
|
+
'data-garden-version': '9.0.0-next.23'
|
|
128
128
|
}).withConfig({
|
|
129
129
|
displayName: "StyledCombobox",
|
|
130
130
|
componentId: "sc-13eybg8-0"
|
|
@@ -136,7 +136,7 @@ StyledCombobox.defaultProps = {
|
|
|
136
136
|
const COMPONENT_ID$q = 'dropdowns.combobox.container';
|
|
137
137
|
const StyledContainer = styled__default.default.div.attrs({
|
|
138
138
|
'data-garden-id': COMPONENT_ID$q,
|
|
139
|
-
'data-garden-version': '9.0.0-next.
|
|
139
|
+
'data-garden-version': '9.0.0-next.23'
|
|
140
140
|
}).withConfig({
|
|
141
141
|
displayName: "StyledContainer",
|
|
142
142
|
componentId: "sc-14i9jid-0"
|
|
@@ -148,7 +148,7 @@ StyledContainer.defaultProps = {
|
|
|
148
148
|
const COMPONENT_ID$p = 'dropdowns.combobox.field';
|
|
149
149
|
const StyledField = styled__default.default.div.attrs({
|
|
150
150
|
'data-garden-id': COMPONENT_ID$p,
|
|
151
|
-
'data-garden-version': '9.0.0-next.
|
|
151
|
+
'data-garden-version': '9.0.0-next.23'
|
|
152
152
|
}).withConfig({
|
|
153
153
|
displayName: "StyledField",
|
|
154
154
|
componentId: "sc-zc57xl-0"
|
|
@@ -160,7 +160,7 @@ StyledField.defaultProps = {
|
|
|
160
160
|
const COMPONENT_ID$o = 'dropdowns.combobox.floating';
|
|
161
161
|
const StyledFloatingListbox = styled__default.default.div.attrs({
|
|
162
162
|
'data-garden-id': COMPONENT_ID$o,
|
|
163
|
-
'data-garden-version': '9.0.0-next.
|
|
163
|
+
'data-garden-version': '9.0.0-next.23'
|
|
164
164
|
}).withConfig({
|
|
165
165
|
displayName: "StyledFloatingListbox",
|
|
166
166
|
componentId: "sc-1cp6spf-0"
|
|
@@ -201,7 +201,7 @@ const sizeStyles$9 = props => {
|
|
|
201
201
|
};
|
|
202
202
|
const StyledInput = styled__default.default.input.attrs({
|
|
203
203
|
'data-garden-id': COMPONENT_ID$n,
|
|
204
|
-
'data-garden-version': '9.0.0-next.
|
|
204
|
+
'data-garden-version': '9.0.0-next.23'
|
|
205
205
|
}).withConfig({
|
|
206
206
|
displayName: "StyledInput",
|
|
207
207
|
componentId: "sc-1lkqdg-0"
|
|
@@ -217,7 +217,7 @@ const sizeStyles$8 = props => {
|
|
|
217
217
|
};
|
|
218
218
|
const StyledInputGroup = styled__default.default.div.attrs({
|
|
219
219
|
'data-garden-id': COMPONENT_ID$m,
|
|
220
|
-
'data-garden-version': '9.0.0-next.
|
|
220
|
+
'data-garden-version': '9.0.0-next.23'
|
|
221
221
|
}).withConfig({
|
|
222
222
|
displayName: "StyledInputGroup",
|
|
223
223
|
componentId: "sc-yx3q7u-0"
|
|
@@ -330,7 +330,7 @@ const sizeStyles$7 = props => {
|
|
|
330
330
|
};
|
|
331
331
|
const StyledTrigger = styled__default.default.div.attrs({
|
|
332
332
|
'data-garden-id': COMPONENT_ID$l,
|
|
333
|
-
'data-garden-version': '9.0.0-next.
|
|
333
|
+
'data-garden-version': '9.0.0-next.23'
|
|
334
334
|
}).withConfig({
|
|
335
335
|
displayName: "StyledTrigger",
|
|
336
336
|
componentId: "sc-116nftk-0"
|
|
@@ -379,7 +379,7 @@ const sizeStyles$6 = props => {
|
|
|
379
379
|
};
|
|
380
380
|
const StyledInputIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
|
|
381
381
|
'data-garden-id': COMPONENT_ID$k,
|
|
382
|
-
'data-garden-version': '9.0.0-next.
|
|
382
|
+
'data-garden-version': '9.0.0-next.23'
|
|
383
383
|
}).withConfig({
|
|
384
384
|
displayName: "StyledInputIcon",
|
|
385
385
|
componentId: "sc-gqbs1s-0"
|
|
@@ -437,7 +437,7 @@ const sizeStyles$5 = props => {
|
|
|
437
437
|
};
|
|
438
438
|
const StyledOption = styled__default.default.li.attrs({
|
|
439
439
|
'data-garden-id': COMPONENT_ID$j,
|
|
440
|
-
'data-garden-version': '9.0.0-next.
|
|
440
|
+
'data-garden-version': '9.0.0-next.23'
|
|
441
441
|
}).withConfig({
|
|
442
442
|
displayName: "StyledOption",
|
|
443
443
|
componentId: "sc-jl4wn6-0"
|
|
@@ -449,7 +449,7 @@ StyledOption.defaultProps = {
|
|
|
449
449
|
const COMPONENT_ID$i = 'dropdowns.combobox.option.content';
|
|
450
450
|
const StyledOptionContent = styled__default.default.div.attrs({
|
|
451
451
|
'data-garden-id': COMPONENT_ID$i,
|
|
452
|
-
'data-garden-version': '9.0.0-next.
|
|
452
|
+
'data-garden-version': '9.0.0-next.23'
|
|
453
453
|
}).withConfig({
|
|
454
454
|
displayName: "StyledOptionContent",
|
|
455
455
|
componentId: "sc-121ujpu-0"
|
|
@@ -461,7 +461,7 @@ StyledOptionContent.defaultProps = {
|
|
|
461
461
|
const COMPONENT_ID$h = 'dropdowns.combobox.optgroup';
|
|
462
462
|
const StyledOptGroup = styled__default.default.ul.attrs({
|
|
463
463
|
'data-garden-id': COMPONENT_ID$h,
|
|
464
|
-
'data-garden-version': '9.0.0-next.
|
|
464
|
+
'data-garden-version': '9.0.0-next.23'
|
|
465
465
|
}).withConfig({
|
|
466
466
|
displayName: "StyledOptGroup",
|
|
467
467
|
componentId: "sc-1kavqsx-0"
|
|
@@ -488,7 +488,7 @@ const sizeStyles$4 = props => {
|
|
|
488
488
|
};
|
|
489
489
|
const StyledListboxSeparator = styled__default.default.li.attrs({
|
|
490
490
|
'data-garden-id': COMPONENT_ID$g,
|
|
491
|
-
'data-garden-version': '9.0.0-next.
|
|
491
|
+
'data-garden-version': '9.0.0-next.23'
|
|
492
492
|
}).withConfig({
|
|
493
493
|
displayName: "StyledListboxSeparator",
|
|
494
494
|
componentId: "sc-1p6toh2-0"
|
|
@@ -505,7 +505,7 @@ const sizeStyles$3 = props => {
|
|
|
505
505
|
};
|
|
506
506
|
const StyledListbox = styled__default.default.ul.attrs({
|
|
507
507
|
'data-garden-id': COMPONENT_ID$f,
|
|
508
|
-
'data-garden-version': '9.0.0-next.
|
|
508
|
+
'data-garden-version': '9.0.0-next.23'
|
|
509
509
|
}).withConfig({
|
|
510
510
|
displayName: "StyledListbox",
|
|
511
511
|
componentId: "sc-1k13ba7-0"
|
|
@@ -545,7 +545,7 @@ const sizeStyles$2 = props => {
|
|
|
545
545
|
};
|
|
546
546
|
const StyledOptionIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
|
|
547
547
|
'data-garden-id': COMPONENT_ID$e,
|
|
548
|
-
'data-garden-version': '9.0.0-next.
|
|
548
|
+
'data-garden-version': '9.0.0-next.23'
|
|
549
549
|
}).withConfig({
|
|
550
550
|
displayName: "StyledOptionIcon",
|
|
551
551
|
componentId: "sc-qsab3y-0"
|
|
@@ -574,7 +574,7 @@ const sizeStyles$1 = props => {
|
|
|
574
574
|
};
|
|
575
575
|
const StyledOptionMeta = styled__default.default.div.attrs({
|
|
576
576
|
'data-garden-id': COMPONENT_ID$d,
|
|
577
|
-
'data-garden-version': '9.0.0-next.
|
|
577
|
+
'data-garden-version': '9.0.0-next.23'
|
|
578
578
|
}).withConfig({
|
|
579
579
|
displayName: "StyledOptionMeta",
|
|
580
580
|
componentId: "sc-j6pu10-0"
|
|
@@ -620,7 +620,7 @@ const sizeStyles = props => {
|
|
|
620
620
|
};
|
|
621
621
|
const StyledOptionTypeIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
|
|
622
622
|
'data-garden-id': COMPONENT_ID$c,
|
|
623
|
-
'data-garden-version': '9.0.0-next.
|
|
623
|
+
'data-garden-version': '9.0.0-next.23'
|
|
624
624
|
}).withConfig({
|
|
625
625
|
displayName: "StyledOptionTypeIcon",
|
|
626
626
|
componentId: "sc-xpink2-0"
|
|
@@ -632,7 +632,7 @@ StyledOptionTypeIcon.defaultProps = {
|
|
|
632
632
|
const COMPONENT_ID$b = 'dropdowns.combobox.tag';
|
|
633
633
|
const StyledTag = styled__default.default(reactTags.Tag).attrs({
|
|
634
634
|
'data-garden-id': COMPONENT_ID$b,
|
|
635
|
-
'data-garden-version': '9.0.0-next.
|
|
635
|
+
'data-garden-version': '9.0.0-next.23'
|
|
636
636
|
}).withConfig({
|
|
637
637
|
displayName: "StyledTag",
|
|
638
638
|
componentId: "sc-1alam0r-0"
|
|
@@ -658,7 +658,7 @@ const colorStyles$1 = _ref => {
|
|
|
658
658
|
};
|
|
659
659
|
const StyledValue = styled__default.default.div.attrs({
|
|
660
660
|
'data-garden-id': COMPONENT_ID$a,
|
|
661
|
-
'data-garden-version': '9.0.0-next.
|
|
661
|
+
'data-garden-version': '9.0.0-next.23'
|
|
662
662
|
}).withConfig({
|
|
663
663
|
displayName: "StyledValue",
|
|
664
664
|
componentId: "sc-t719sx-0"
|
|
@@ -686,7 +686,7 @@ const colorStyles = _ref => {
|
|
|
686
686
|
const StyledTagsButton = styled__default.default(StyledValue).attrs({
|
|
687
687
|
as: 'button',
|
|
688
688
|
'data-garden-id': COMPONENT_ID$9,
|
|
689
|
-
'data-garden-version': '9.0.0-next.
|
|
689
|
+
'data-garden-version': '9.0.0-next.23'
|
|
690
690
|
}).withConfig({
|
|
691
691
|
displayName: "StyledTagsButton",
|
|
692
692
|
componentId: "sc-6q5w33-0"
|
|
@@ -698,7 +698,7 @@ StyledTagsButton.defaultProps = {
|
|
|
698
698
|
const COMPONENT_ID$8 = 'dropdowns.menu';
|
|
699
699
|
const StyledMenu = styled__default.default(StyledListbox).attrs({
|
|
700
700
|
'data-garden-id': COMPONENT_ID$8,
|
|
701
|
-
'data-garden-version': '9.0.0-next.
|
|
701
|
+
'data-garden-version': '9.0.0-next.23'
|
|
702
702
|
}).withConfig({
|
|
703
703
|
displayName: "StyledMenu",
|
|
704
704
|
componentId: "sc-f77ntu-0"
|
|
@@ -714,7 +714,7 @@ StyledMenu.defaultProps = {
|
|
|
714
714
|
const COMPONENT_ID$7 = 'dropdowns.menu.floating';
|
|
715
715
|
const StyledFloatingMenu = styled__default.default(StyledFloatingListbox).attrs({
|
|
716
716
|
'data-garden-id': COMPONENT_ID$7,
|
|
717
|
-
'data-garden-version': '9.0.0-next.
|
|
717
|
+
'data-garden-version': '9.0.0-next.23'
|
|
718
718
|
}).withConfig({
|
|
719
719
|
displayName: "StyledFloatingMenu",
|
|
720
720
|
componentId: "sc-1rc7ahb-0"
|
|
@@ -726,7 +726,7 @@ StyledFloatingMenu.defaultProps = {
|
|
|
726
726
|
const COMPONENT_ID$6 = 'dropdowns.menu.item';
|
|
727
727
|
const StyledItem = styled__default.default(StyledOption).attrs({
|
|
728
728
|
'data-garden-id': COMPONENT_ID$6,
|
|
729
|
-
'data-garden-version': '9.0.0-next.
|
|
729
|
+
'data-garden-version': '9.0.0-next.23'
|
|
730
730
|
}).withConfig({
|
|
731
731
|
displayName: "StyledItem",
|
|
732
732
|
componentId: "sc-1jp99dq-0"
|
|
@@ -738,7 +738,7 @@ StyledItem.defaultProps = {
|
|
|
738
738
|
const COMPONENT_ID$5 = 'dropdowns.menu.item.content';
|
|
739
739
|
const StyledItemContent = styled__default.default(StyledOptionContent).attrs({
|
|
740
740
|
'data-garden-id': COMPONENT_ID$5,
|
|
741
|
-
'data-garden-version': '9.0.0-next.
|
|
741
|
+
'data-garden-version': '9.0.0-next.23'
|
|
742
742
|
}).withConfig({
|
|
743
743
|
displayName: "StyledItemContent",
|
|
744
744
|
componentId: "sc-1opglsb-0"
|
|
@@ -750,7 +750,7 @@ StyledItemContent.defaultProps = {
|
|
|
750
750
|
const COMPONENT_ID$4 = 'dropdowns.menu.item_group';
|
|
751
751
|
const StyledItemGroup = styled__default.default(StyledOptGroup).attrs({
|
|
752
752
|
'data-garden-id': COMPONENT_ID$4,
|
|
753
|
-
'data-garden-version': '9.0.0-next.
|
|
753
|
+
'data-garden-version': '9.0.0-next.23'
|
|
754
754
|
}).withConfig({
|
|
755
755
|
displayName: "StyledItemGroup",
|
|
756
756
|
componentId: "sc-1umk3cg-0"
|
|
@@ -762,7 +762,7 @@ StyledItemGroup.defaultProps = {
|
|
|
762
762
|
const COMPONENT_ID$3 = 'dropdowns.menu.item.icon';
|
|
763
763
|
const StyledItemIcon = styled__default.default(StyledOptionIcon).attrs({
|
|
764
764
|
'data-garden-id': COMPONENT_ID$3,
|
|
765
|
-
'data-garden-version': '9.0.0-next.
|
|
765
|
+
'data-garden-version': '9.0.0-next.23'
|
|
766
766
|
}).withConfig({
|
|
767
767
|
displayName: "StyledItemIcon",
|
|
768
768
|
componentId: "sc-w9orqb-0"
|
|
@@ -774,7 +774,7 @@ StyledItemIcon.defaultProps = {
|
|
|
774
774
|
const COMPONENT_ID$2 = 'dropdowns.menu.item.meta';
|
|
775
775
|
const StyledItemMeta = styled__default.default(StyledOptionMeta).attrs({
|
|
776
776
|
'data-garden-id': COMPONENT_ID$2,
|
|
777
|
-
'data-garden-version': '9.0.0-next.
|
|
777
|
+
'data-garden-version': '9.0.0-next.23'
|
|
778
778
|
}).withConfig({
|
|
779
779
|
displayName: "StyledItemMeta",
|
|
780
780
|
componentId: "sc-1unw3x1-0"
|
|
@@ -786,7 +786,7 @@ StyledItemMeta.defaultProps = {
|
|
|
786
786
|
const COMPONENT_ID$1 = 'dropdowns.menu.item.type_icon';
|
|
787
787
|
const StyledItemTypeIcon = styled__default.default(StyledOptionTypeIcon).attrs({
|
|
788
788
|
'data-garden-id': COMPONENT_ID$1,
|
|
789
|
-
'data-garden-version': '9.0.0-next.
|
|
789
|
+
'data-garden-version': '9.0.0-next.23'
|
|
790
790
|
}).withConfig({
|
|
791
791
|
displayName: "StyledItemTypeIcon",
|
|
792
792
|
componentId: "sc-1pll3nu-0"
|
|
@@ -798,7 +798,7 @@ StyledItemTypeIcon.defaultProps = {
|
|
|
798
798
|
const COMPONENT_ID = 'dropdowns.menu.separator';
|
|
799
799
|
const StyledSeparator = styled__default.default(StyledListboxSeparator).attrs({
|
|
800
800
|
'data-garden-id': COMPONENT_ID,
|
|
801
|
-
'data-garden-version': '9.0.0-next.
|
|
801
|
+
'data-garden-version': '9.0.0-next.23'
|
|
802
802
|
}).withConfig({
|
|
803
803
|
displayName: "StyledSeparator",
|
|
804
804
|
componentId: "sc-8kqwen-0"
|
|
@@ -902,7 +902,7 @@ const Listbox = React.forwardRef((_ref, ref) => {
|
|
|
902
902
|
}
|
|
903
903
|
}, props, {
|
|
904
904
|
ref: ref
|
|
905
|
-
}), isVisible && children));
|
|
905
|
+
}), !!isVisible && children));
|
|
906
906
|
return appendToNode ? reactDom$1.createPortal(Node, appendToNode) : Node;
|
|
907
907
|
});
|
|
908
908
|
Listbox.displayName = 'Listbox';
|
|
@@ -1216,10 +1216,10 @@ const Combobox = React.forwardRef((_ref, ref) => {
|
|
|
1216
1216
|
tabIndex: -1
|
|
1217
1217
|
}, props, {
|
|
1218
1218
|
ref: ref
|
|
1219
|
-
}), React__namespace.default.createElement(StyledTrigger, triggerProps, React__namespace.default.createElement(StyledContainer, null, startIcon && React__namespace.default.createElement(StyledInputIcon, {
|
|
1219
|
+
}), React__namespace.default.createElement(StyledTrigger, triggerProps, React__namespace.default.createElement(StyledContainer, null, !!startIcon && React__namespace.default.createElement(StyledInputIcon, {
|
|
1220
1220
|
$isLabelHovered: isLabelHovered,
|
|
1221
1221
|
$isCompact: isCompact
|
|
1222
|
-
}, startIcon), React__namespace.default.createElement(StyledInputGroup, null, isMultiselectable && Array.isArray(selection) && React__namespace.default.createElement(TagGroup, {
|
|
1222
|
+
}, startIcon), React__namespace.default.createElement(StyledInputGroup, null, !!isMultiselectable && Array.isArray(selection) && React__namespace.default.createElement(TagGroup, {
|
|
1223
1223
|
isDisabled: isDisabled,
|
|
1224
1224
|
isExpanded: isTagGroupExpanded,
|
|
1225
1225
|
maxTags: maxTags,
|
|
@@ -1246,11 +1246,11 @@ const Combobox = React.forwardRef((_ref, ref) => {
|
|
|
1246
1246
|
}, renderValue ? renderValue({
|
|
1247
1247
|
selection,
|
|
1248
1248
|
inputValue
|
|
1249
|
-
}) : inputValue || placeholder), React__namespace.default.createElement(StyledInput, inputProps)), (hasChevron || endIcon) && React__namespace.default.createElement(StyledInputIcon, {
|
|
1249
|
+
}) : inputValue || placeholder), React__namespace.default.createElement(StyledInput, inputProps)), !!(hasChevron || endIcon) && React__namespace.default.createElement(StyledInputIcon, {
|
|
1250
1250
|
$isCompact: isCompact,
|
|
1251
1251
|
$isEnd: true,
|
|
1252
1252
|
$isLabelHovered: isLabelHovered,
|
|
1253
|
-
$isRotated: hasChevron && isExpanded
|
|
1253
|
+
$isRotated: !!(hasChevron && isExpanded)
|
|
1254
1254
|
}, hasChevron ? React__namespace.default.createElement(SvgChevronDownStroke, null) : endIcon))), React__namespace.default.createElement(Listbox, Object.assign({
|
|
1255
1255
|
appendToNode: listboxAppendToNode,
|
|
1256
1256
|
isCompact: isCompact,
|
|
@@ -1547,7 +1547,7 @@ const OptionComponent = React.forwardRef((_ref, ref) => {
|
|
|
1547
1547
|
}, props, optionProps), React__namespace.default.createElement(StyledOptionTypeIcon, {
|
|
1548
1548
|
$isCompact: isCompact,
|
|
1549
1549
|
$type: type
|
|
1550
|
-
}, renderActionIcon(type)), icon && React__namespace.default.createElement(StyledOptionIcon, {
|
|
1550
|
+
}, renderActionIcon(type)), !!icon && React__namespace.default.createElement(StyledOptionIcon, {
|
|
1551
1551
|
$isDisabled: isDisabled,
|
|
1552
1552
|
$type: type
|
|
1553
1553
|
}, icon), React__namespace.default.createElement(StyledOptionContent, null, children || label || value)));
|
|
@@ -1594,11 +1594,11 @@ const OptGroup = React.forwardRef((_ref, ref) => {
|
|
|
1594
1594
|
role: "none"
|
|
1595
1595
|
}, props, {
|
|
1596
1596
|
ref: ref
|
|
1597
|
-
}), React__namespace.default.createElement(StyledOptionContent, null, (content || legend) && React__namespace.default.createElement(StyledOption, {
|
|
1597
|
+
}), React__namespace.default.createElement(StyledOptionContent, null, !!(content || legend) && React__namespace.default.createElement(StyledOption, {
|
|
1598
1598
|
as: "div",
|
|
1599
1599
|
isCompact: isCompact,
|
|
1600
1600
|
$type: "header"
|
|
1601
|
-
}, icon && React__namespace.default.createElement(StyledOptionTypeIcon, {
|
|
1601
|
+
}, !!icon && React__namespace.default.createElement(StyledOptionTypeIcon, {
|
|
1602
1602
|
$isCompact: isCompact,
|
|
1603
1603
|
$type: "header"
|
|
1604
1604
|
}, icon), content || legend), React__namespace.default.createElement(StyledOptGroup, Object.assign({
|
|
@@ -1771,7 +1771,7 @@ const MenuList = React.forwardRef((_ref, ref) => {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
}, props, {
|
|
1773
1773
|
ref: ref
|
|
1774
|
-
}), isVisible && children));
|
|
1774
|
+
}), !!isVisible && children));
|
|
1775
1775
|
return appendToNode ? reactDom$1.createPortal(Node, appendToNode) : Node;
|
|
1776
1776
|
});
|
|
1777
1777
|
MenuList.displayName = 'MenuList';
|
|
@@ -1934,11 +1934,11 @@ const ItemGroup = React.forwardRef((_ref, ref) => {
|
|
|
1934
1934
|
}, props, {
|
|
1935
1935
|
role: "none",
|
|
1936
1936
|
ref: ref
|
|
1937
|
-
}), React__namespace.default.createElement(StyledItemContent, null, (content || legend) && React__namespace.default.createElement(StyledItem, {
|
|
1937
|
+
}), React__namespace.default.createElement(StyledItemContent, null, !!(content || legend) && React__namespace.default.createElement(StyledItem, {
|
|
1938
1938
|
as: "div",
|
|
1939
1939
|
isCompact: isCompact,
|
|
1940
1940
|
$type: "header"
|
|
1941
|
-
}, icon && React__namespace.default.createElement(StyledItemTypeIcon, {
|
|
1941
|
+
}, !!icon && React__namespace.default.createElement(StyledItemTypeIcon, {
|
|
1942
1942
|
$isCompact: isCompact,
|
|
1943
1943
|
$type: "header"
|
|
1944
1944
|
}, icon), content || legend), React__namespace.default.createElement(StyledItemGroup, Object.assign({
|
|
@@ -2048,7 +2048,7 @@ const ItemComponent = React.forwardRef((_ref, ref) => {
|
|
|
2048
2048
|
}), React__namespace.default.createElement(StyledItemTypeIcon, {
|
|
2049
2049
|
$isCompact: isCompact,
|
|
2050
2050
|
$type: type
|
|
2051
|
-
}, renderActionIcon(type)), icon && React__namespace.default.createElement(StyledItemIcon, {
|
|
2051
|
+
}, renderActionIcon(type)), !!icon && React__namespace.default.createElement(StyledItemIcon, {
|
|
2052
2052
|
$isDisabled: isDisabled,
|
|
2053
2053
|
$type: type
|
|
2054
2054
|
}, icon), React__namespace.default.createElement(StyledItemContent, null, children || label)));
|
|
@@ -4,22 +4,21 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
import { IUseComboboxReturnValue } from '@zendeskgarden/container-combobox';
|
|
9
8
|
export declare const ComboboxContext: import("react").Context<{
|
|
10
|
-
activeValue: IUseComboboxReturnValue[
|
|
11
|
-
getOptionProps: IUseComboboxReturnValue[
|
|
12
|
-
getOptGroupProps: IUseComboboxReturnValue[
|
|
13
|
-
getTagProps: IUseComboboxReturnValue[
|
|
14
|
-
isCompact?: boolean
|
|
15
|
-
removeSelection: IUseComboboxReturnValue[
|
|
9
|
+
activeValue: IUseComboboxReturnValue["activeValue"];
|
|
10
|
+
getOptionProps: IUseComboboxReturnValue["getOptionProps"];
|
|
11
|
+
getOptGroupProps: IUseComboboxReturnValue["getOptGroupProps"];
|
|
12
|
+
getTagProps: IUseComboboxReturnValue["getTagProps"];
|
|
13
|
+
isCompact?: boolean;
|
|
14
|
+
removeSelection: IUseComboboxReturnValue["removeSelection"];
|
|
16
15
|
} | undefined>;
|
|
17
16
|
declare const useComboboxContext: () => {
|
|
18
|
-
activeValue: IUseComboboxReturnValue[
|
|
19
|
-
getOptionProps: IUseComboboxReturnValue[
|
|
20
|
-
getOptGroupProps: IUseComboboxReturnValue[
|
|
21
|
-
getTagProps: IUseComboboxReturnValue[
|
|
22
|
-
isCompact?: boolean
|
|
23
|
-
removeSelection: IUseComboboxReturnValue[
|
|
17
|
+
activeValue: IUseComboboxReturnValue["activeValue"];
|
|
18
|
+
getOptionProps: IUseComboboxReturnValue["getOptionProps"];
|
|
19
|
+
getOptGroupProps: IUseComboboxReturnValue["getOptGroupProps"];
|
|
20
|
+
getTagProps: IUseComboboxReturnValue["getTagProps"];
|
|
21
|
+
isCompact?: boolean;
|
|
22
|
+
removeSelection: IUseComboboxReturnValue["removeSelection"];
|
|
24
23
|
};
|
|
25
24
|
export default useComboboxContext;
|
|
@@ -6,27 +6,27 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLAttributes, LabelHTMLAttributes } from 'react';
|
|
8
8
|
export declare const FieldContext: import("react").Context<{
|
|
9
|
-
labelProps?: LabelHTMLAttributes<HTMLLabelElement
|
|
9
|
+
labelProps?: LabelHTMLAttributes<HTMLLabelElement>;
|
|
10
10
|
setLabelProps: (labelProps?: LabelHTMLAttributes<HTMLLabelElement>) => void;
|
|
11
11
|
hasHint: boolean;
|
|
12
12
|
setHasHint: (hasHint: boolean) => void;
|
|
13
|
-
hintProps?: HTMLAttributes<HTMLDivElement
|
|
13
|
+
hintProps?: HTMLAttributes<HTMLDivElement>;
|
|
14
14
|
setHintProps: (hintProps?: HTMLAttributes<HTMLDivElement>) => void;
|
|
15
15
|
hasMessage: boolean;
|
|
16
16
|
setHasMessage: (hasMessage: boolean) => void;
|
|
17
|
-
messageProps?: HTMLAttributes<HTMLDivElement
|
|
17
|
+
messageProps?: HTMLAttributes<HTMLDivElement>;
|
|
18
18
|
setMessageProps: (messageProps?: HTMLAttributes<HTMLDivElement>) => void;
|
|
19
19
|
} | undefined>;
|
|
20
20
|
declare const useFieldContext: () => {
|
|
21
|
-
labelProps?: LabelHTMLAttributes<HTMLLabelElement
|
|
21
|
+
labelProps?: LabelHTMLAttributes<HTMLLabelElement>;
|
|
22
22
|
setLabelProps: (labelProps?: LabelHTMLAttributes<HTMLLabelElement>) => void;
|
|
23
23
|
hasHint: boolean;
|
|
24
24
|
setHasHint: (hasHint: boolean) => void;
|
|
25
|
-
hintProps?: HTMLAttributes<HTMLDivElement
|
|
25
|
+
hintProps?: HTMLAttributes<HTMLDivElement>;
|
|
26
26
|
setHintProps: (hintProps?: HTMLAttributes<HTMLDivElement>) => void;
|
|
27
27
|
hasMessage: boolean;
|
|
28
28
|
setHasMessage: (hasMessage: boolean) => void;
|
|
29
|
-
messageProps?: HTMLAttributes<HTMLDivElement
|
|
29
|
+
messageProps?: HTMLAttributes<HTMLDivElement>;
|
|
30
30
|
setMessageProps: (messageProps?: HTMLAttributes<HTMLDivElement>) => void;
|
|
31
31
|
};
|
|
32
32
|
export default useFieldContext;
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
export declare const ItemContext: import("react").Context<{
|
|
9
|
-
isDisabled?: boolean
|
|
8
|
+
isDisabled?: boolean;
|
|
10
9
|
} | undefined>;
|
|
11
10
|
declare const useItemContext: () => {
|
|
12
|
-
isDisabled?: boolean
|
|
11
|
+
isDisabled?: boolean;
|
|
13
12
|
};
|
|
14
13
|
export default useItemContext;
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
import { ISelectedItem } from '@zendeskgarden/container-menu';
|
|
9
8
|
export declare const ItemGroupContext: import("react").Context<{
|
|
10
|
-
type?: ISelectedItem[
|
|
9
|
+
type?: ISelectedItem["type"];
|
|
11
10
|
}>;
|
|
12
11
|
declare const useItemGroupContext: () => {
|
|
13
|
-
type?: ISelectedItem[
|
|
12
|
+
type?: ISelectedItem["type"];
|
|
14
13
|
};
|
|
15
14
|
export default useItemGroupContext;
|
|
@@ -4,20 +4,19 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
import { IUseMenuReturnValue } from '@zendeskgarden/container-menu';
|
|
9
8
|
export declare const MenuContext: import("react").Context<{
|
|
10
|
-
isCompact?: boolean
|
|
11
|
-
focusedValue?: string | null
|
|
12
|
-
getItemGroupProps: IUseMenuReturnValue[
|
|
13
|
-
getItemProps: IUseMenuReturnValue[
|
|
14
|
-
getSeparatorProps: IUseMenuReturnValue[
|
|
9
|
+
isCompact?: boolean;
|
|
10
|
+
focusedValue?: string | null;
|
|
11
|
+
getItemGroupProps: IUseMenuReturnValue["getItemGroupProps"];
|
|
12
|
+
getItemProps: IUseMenuReturnValue["getItemProps"];
|
|
13
|
+
getSeparatorProps: IUseMenuReturnValue["getSeparatorProps"];
|
|
15
14
|
} | undefined>;
|
|
16
15
|
declare const useMenuContext: () => {
|
|
17
|
-
isCompact?: boolean
|
|
18
|
-
focusedValue?: string | null
|
|
19
|
-
getItemGroupProps: IUseMenuReturnValue[
|
|
20
|
-
getItemProps: IUseMenuReturnValue[
|
|
21
|
-
getSeparatorProps: IUseMenuReturnValue[
|
|
16
|
+
isCompact?: boolean;
|
|
17
|
+
focusedValue?: string | null;
|
|
18
|
+
getItemGroupProps: IUseMenuReturnValue["getItemGroupProps"];
|
|
19
|
+
getItemProps: IUseMenuReturnValue["getItemProps"];
|
|
20
|
+
getSeparatorProps: IUseMenuReturnValue["getSeparatorProps"];
|
|
22
21
|
};
|
|
23
22
|
export default useMenuContext;
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
export declare const OptionContext: import("react").Context<{
|
|
9
|
-
isDisabled?: boolean
|
|
8
|
+
isDisabled?: boolean;
|
|
10
9
|
} | undefined>;
|
|
11
10
|
declare const useOptionContext: () => {
|
|
12
|
-
isDisabled?: boolean
|
|
11
|
+
isDisabled?: boolean;
|
|
13
12
|
};
|
|
14
13
|
export default useOptionContext;
|
|
@@ -8,11 +8,13 @@ import React from 'react';
|
|
|
8
8
|
import { Hint } from './Hint';
|
|
9
9
|
import { Label } from './Label';
|
|
10
10
|
import { Message } from './Message';
|
|
11
|
+
declare const FieldComponent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
11
12
|
/**
|
|
12
13
|
* @extends HTMLAttributes<HTMLDivElement>
|
|
13
14
|
*/
|
|
14
|
-
export declare const Field:
|
|
15
|
+
export declare const Field: typeof FieldComponent & {
|
|
15
16
|
Hint: typeof Hint;
|
|
16
17
|
Label: typeof Label;
|
|
17
18
|
Message: typeof Message;
|
|
18
19
|
};
|
|
20
|
+
export {};
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { IOptionProps } from '../../types';
|
|
9
9
|
import { OptionMeta } from './OptionMeta';
|
|
10
|
+
declare const OptionComponent: React.ForwardRefExoticComponent<IOptionProps & React.RefAttributes<HTMLLIElement>>;
|
|
10
11
|
/**
|
|
11
12
|
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
12
13
|
*/
|
|
13
|
-
export declare const Option:
|
|
14
|
+
export declare const Option: typeof OptionComponent & {
|
|
14
15
|
Meta: typeof OptionMeta;
|
|
15
16
|
};
|
|
17
|
+
export {};
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { ITagProps } from '../../types';
|
|
9
9
|
import { TagAvatar } from './TagAvatar';
|
|
10
|
+
declare const TagComponent: React.ForwardRefExoticComponent<ITagProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
11
|
/**
|
|
11
12
|
* @extends HTMLAttributes<HTMLDivElement>
|
|
12
13
|
*/
|
|
13
|
-
export declare const Tag:
|
|
14
|
+
export declare const Tag: typeof TagComponent & {
|
|
14
15
|
Avatar: typeof TagAvatar;
|
|
15
16
|
};
|
|
17
|
+
export {};
|
|
@@ -24,7 +24,7 @@ export declare const toOption: (props: IOptionProps) => IOption;
|
|
|
24
24
|
*
|
|
25
25
|
* @returns A valid `IUseComboboxProps['options']` data structure.
|
|
26
26
|
*/
|
|
27
|
-
export declare const toOptions: (children: ReactNode, optionTagProps: Record<string, IOptionProps[
|
|
27
|
+
export declare const toOptions: (children: ReactNode, optionTagProps: Record<string, IOptionProps["tagProps"]>) => (IOption | {
|
|
28
28
|
options: IOption[];
|
|
29
|
-
label?: string
|
|
29
|
+
label?: string;
|
|
30
30
|
})[];
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { IItemProps } from '../../types';
|
|
9
9
|
import { ItemMeta } from './ItemMeta';
|
|
10
|
+
declare const ItemComponent: React.ForwardRefExoticComponent<IItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
10
11
|
/**
|
|
11
12
|
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
12
13
|
*/
|
|
13
|
-
export declare const Item:
|
|
14
|
+
export declare const Item: typeof ItemComponent & {
|
|
14
15
|
Meta: typeof ItemMeta;
|
|
15
16
|
};
|
|
17
|
+
export {};
|
|
@@ -15,7 +15,7 @@ import { ReactNode } from 'react';
|
|
|
15
15
|
* @returns A valid `useMenu` item object.
|
|
16
16
|
*/
|
|
17
17
|
export declare const toItem: (props: IItemProps & {
|
|
18
|
-
selectionType?: IItemGroupProps[
|
|
18
|
+
selectionType?: IItemGroupProps["type"];
|
|
19
19
|
}) => IMenuItemBase;
|
|
20
20
|
/**
|
|
21
21
|
* Convert an array of `Item` and `ItemGroup` children to a valid `items`
|
|
@@ -26,4 +26,4 @@ export declare const toItem: (props: IItemProps & {
|
|
|
26
26
|
*
|
|
27
27
|
* @returns A valid `IUseMenuProps['items']` data structure.
|
|
28
28
|
*/
|
|
29
|
-
export declare const toItems: (children: ReactNode, type?:
|
|
29
|
+
export declare const toItems: (children: ReactNode, type?: "radio" | "checkbox") => MenuItem[];
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
export declare const StyledHint: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
9
8
|
'data-garden-id': string;
|
|
10
9
|
'data-garden-version': string;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
import { ThemeProps, DefaultTheme } from 'styled-components';
|
|
9
8
|
interface IStyledInputIconProps extends ThemeProps<DefaultTheme> {
|
|
10
9
|
$isCompact?: boolean;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
export declare const StyledLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-forms").ILabelProps & import("react").RefAttributes<HTMLLabelElement>>, import("styled-components").DefaultTheme, {
|
|
9
8
|
'data-garden-id': string;
|
|
10
9
|
'data-garden-version': string;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
export declare const StyledMessage: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-forms").IMessageProps & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
9
8
|
'data-garden-id': string;
|
|
10
9
|
'data-garden-version': string;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
import { ThemeProps, DefaultTheme } from 'styled-components';
|
|
9
8
|
import { OptionType } from '../../types';
|
|
10
9
|
export interface IStyledOptionIconProps extends ThemeProps<DefaultTheme> {
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
import { ThemeProps, DefaultTheme } from 'styled-components';
|
|
9
8
|
import { OptionType } from '../../types';
|
|
10
9
|
export interface IStyledOptionTypeIconProps extends ThemeProps<DefaultTheme> {
|
|
@@ -4,13 +4,9 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
export declare const StyledTag: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-tags").ITagProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
9
|
-
Avatar:
|
|
10
|
-
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
Close: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
Avatar: typeof import("packages/tags/dist/typings/elements/Avatar").Avatar;
|
|
9
|
+
Close: typeof import("packages/tags/dist/typings/elements/Close").Close;
|
|
14
10
|
}, import("styled-components").DefaultTheme, {
|
|
15
11
|
'data-garden-id': string;
|
|
16
12
|
'data-garden-version': string;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
export declare const StyledItemIcon: import("styled-components").StyledComponent<({ children, theme, ...props }: any) => import("react").DetailedReactHTMLElement<any, HTMLElement>, import("styled-components").DefaultTheme, {
|
|
9
8
|
'data-garden-id': string;
|
|
10
9
|
'data-garden-version': string;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
7
|
export declare const StyledItemTypeIcon: import("styled-components").StyledComponent<({ children, theme, ...props }: any) => import("react").DetailedReactHTMLElement<any, HTMLElement>, import("styled-components").DefaultTheme, {
|
|
9
8
|
'data-garden-id': string;
|
|
10
9
|
'data-garden-version': string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-dropdowns",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.23",
|
|
4
4
|
"description": "Components related to dropdowns in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -23,25 +23,25 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@floating-ui/react-dom": "^2.0.0",
|
|
25
25
|
"@zendeskgarden/container-combobox": "^2.0.0",
|
|
26
|
-
"@zendeskgarden/container-menu": "^0.
|
|
26
|
+
"@zendeskgarden/container-menu": "^0.4.0",
|
|
27
27
|
"@zendeskgarden/container-utilities": "^2.0.0",
|
|
28
|
-
"@zendeskgarden/react-buttons": "^9.0.0-next.
|
|
29
|
-
"@zendeskgarden/react-forms": "^9.0.0-next.
|
|
30
|
-
"@zendeskgarden/react-tags": "^9.0.0-next.
|
|
31
|
-
"@zendeskgarden/react-tooltips": "^9.0.0-next.
|
|
28
|
+
"@zendeskgarden/react-buttons": "^9.0.0-next.23",
|
|
29
|
+
"@zendeskgarden/react-forms": "^9.0.0-next.23",
|
|
30
|
+
"@zendeskgarden/react-tags": "^9.0.0-next.23",
|
|
31
|
+
"@zendeskgarden/react-tooltips": "^9.0.0-next.23",
|
|
32
32
|
"polished": "^4.3.1",
|
|
33
33
|
"prop-types": "^15.7.2",
|
|
34
34
|
"react-merge-refs": "^2.0.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@zendeskgarden/react-theming": ">=9.0.0-next",
|
|
38
|
-
"react": "
|
|
39
|
-
"react-dom": "
|
|
38
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
39
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
40
40
|
"styled-components": "^5.3.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@zendeskgarden/react-theming": "^9.0.0-next.
|
|
44
|
-
"@zendeskgarden/svg-icons": "7.
|
|
43
|
+
"@zendeskgarden/react-theming": "^9.0.0-next.23",
|
|
44
|
+
"@zendeskgarden/svg-icons": "7.2.0"
|
|
45
45
|
},
|
|
46
46
|
"keywords": [
|
|
47
47
|
"components",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"zendeskgarden:src": "src/index.ts",
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "5e7d2ed69a1615e09406a3f9285359346bb90cc7"
|
|
58
58
|
}
|