@zendeskgarden/react-dropdowns 9.0.0-next.11 → 9.0.0-next.12
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 +0 -1
- package/dist/esm/elements/combobox/Field.js +0 -1
- package/dist/esm/elements/combobox/Hint.js +0 -1
- package/dist/esm/elements/combobox/Label.js +0 -1
- package/dist/esm/elements/combobox/Listbox.js +0 -1
- package/dist/esm/elements/combobox/Message.js +0 -1
- package/dist/esm/elements/combobox/OptGroup.js +0 -1
- package/dist/esm/elements/combobox/Option.js +0 -1
- package/dist/esm/elements/combobox/OptionMeta.js +0 -1
- package/dist/esm/elements/combobox/Tag.js +0 -1
- package/dist/esm/elements/menu/Item.js +0 -1
- package/dist/esm/elements/menu/ItemGroup.js +0 -1
- package/dist/esm/elements/menu/ItemMeta.js +0 -1
- package/dist/esm/elements/menu/Menu.js +2 -33
- package/dist/esm/elements/menu/MenuList.js +0 -1
- package/dist/esm/elements/menu/Separator.js +0 -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 +122 -134
- package/dist/typings/views/index.d.ts +0 -1
- package/package.json +7 -7
- package/dist/esm/views/menu/StyledButton.js +0 -23
- package/dist/typings/views/menu/StyledButton.d.ts +0 -20
package/dist/index.cjs.js
CHANGED
|
@@ -14,13 +14,13 @@ var reactTheming = require('@zendeskgarden/react-theming');
|
|
|
14
14
|
var reactForms = require('@zendeskgarden/react-forms');
|
|
15
15
|
var polished = require('polished');
|
|
16
16
|
var reactTags = require('@zendeskgarden/react-tags');
|
|
17
|
-
var reactButtons = require('@zendeskgarden/react-buttons');
|
|
18
17
|
var reactDom$1 = require('react-dom');
|
|
19
18
|
var reactDom = require('@floating-ui/react-dom');
|
|
20
19
|
var containerUtilities = require('@zendeskgarden/container-utilities');
|
|
21
20
|
var reactTooltips = require('@zendeskgarden/react-tooltips');
|
|
22
21
|
var reactMergeRefs = require('react-merge-refs');
|
|
23
22
|
var containerMenu = require('@zendeskgarden/container-menu');
|
|
23
|
+
var reactButtons = require('@zendeskgarden/react-buttons');
|
|
24
24
|
|
|
25
25
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
26
26
|
|
|
@@ -80,87 +80,87 @@ const useFieldContext = () => {
|
|
|
80
80
|
return context;
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
const COMPONENT_ID$
|
|
83
|
+
const COMPONENT_ID$u = 'dropdowns.combobox.label';
|
|
84
84
|
const StyledLabel = styled__default.default(reactForms.Field.Label).attrs({
|
|
85
|
-
'data-garden-id': COMPONENT_ID$
|
|
86
|
-
'data-garden-version': '9.0.0-next.
|
|
85
|
+
'data-garden-id': COMPONENT_ID$u,
|
|
86
|
+
'data-garden-version': '9.0.0-next.12'
|
|
87
87
|
}).withConfig({
|
|
88
88
|
displayName: "StyledLabel",
|
|
89
89
|
componentId: "sc-az6now-0"
|
|
90
|
-
})(["vertical-align:revert;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
90
|
+
})(["vertical-align:revert;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$u, props));
|
|
91
91
|
StyledLabel.defaultProps = {
|
|
92
92
|
theme: reactTheming.DEFAULT_THEME
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
const COMPONENT_ID$
|
|
95
|
+
const COMPONENT_ID$t = 'dropdowns.combobox.hint';
|
|
96
96
|
const StyledHint = styled__default.default(reactForms.Field.Hint).attrs({
|
|
97
|
-
'data-garden-id': COMPONENT_ID$
|
|
98
|
-
'data-garden-version': '9.0.0-next.
|
|
97
|
+
'data-garden-id': COMPONENT_ID$t,
|
|
98
|
+
'data-garden-version': '9.0.0-next.12'
|
|
99
99
|
}).withConfig({
|
|
100
100
|
displayName: "StyledHint",
|
|
101
101
|
componentId: "sc-106qvqx-0"
|
|
102
|
-
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
102
|
+
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$t, props));
|
|
103
103
|
StyledHint.defaultProps = {
|
|
104
104
|
theme: reactTheming.DEFAULT_THEME
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
const COMPONENT_ID$
|
|
107
|
+
const COMPONENT_ID$s = 'dropdowns.combobox.message';
|
|
108
108
|
const StyledMessage = styled__default.default(reactForms.Field.Message).attrs({
|
|
109
|
-
'data-garden-id': COMPONENT_ID$
|
|
110
|
-
'data-garden-version': '9.0.0-next.
|
|
109
|
+
'data-garden-id': COMPONENT_ID$s,
|
|
110
|
+
'data-garden-version': '9.0.0-next.12'
|
|
111
111
|
}).withConfig({
|
|
112
112
|
displayName: "StyledMessage",
|
|
113
113
|
componentId: "sc-jux8m5-0"
|
|
114
|
-
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
114
|
+
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$s, props));
|
|
115
115
|
StyledMessage.defaultProps = {
|
|
116
116
|
theme: reactTheming.DEFAULT_THEME
|
|
117
117
|
};
|
|
118
118
|
|
|
119
|
-
const COMPONENT_ID$
|
|
119
|
+
const COMPONENT_ID$r = 'dropdowns.combobox';
|
|
120
120
|
const sizeStyles$a = props => {
|
|
121
121
|
const minWidth = `${props.isCompact ? 100 : 144}px`;
|
|
122
122
|
const marginTop = `${props.theme.space.base * (props.isCompact ? 1 : 2)}px`;
|
|
123
123
|
return styled.css(["min-width:", ";", ":not([hidden]) + &&,", " + &&,", " + &&,&& + ", ",&& + ", "{margin-top:", ";}"], minWidth, StyledLabel, StyledHint, StyledMessage, StyledHint, StyledMessage, marginTop);
|
|
124
124
|
};
|
|
125
125
|
const StyledCombobox = styled__default.default.div.attrs({
|
|
126
|
-
'data-garden-id': COMPONENT_ID$
|
|
127
|
-
'data-garden-version': '9.0.0-next.
|
|
126
|
+
'data-garden-id': COMPONENT_ID$r,
|
|
127
|
+
'data-garden-version': '9.0.0-next.12'
|
|
128
128
|
}).withConfig({
|
|
129
129
|
displayName: "StyledCombobox",
|
|
130
130
|
componentId: "sc-13eybg8-0"
|
|
131
|
-
})(["", ";", ";"], sizeStyles$a, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
131
|
+
})(["", ";", ";"], sizeStyles$a, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$r, props));
|
|
132
132
|
StyledCombobox.defaultProps = {
|
|
133
133
|
theme: reactTheming.DEFAULT_THEME
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
const COMPONENT_ID$
|
|
136
|
+
const COMPONENT_ID$q = 'dropdowns.combobox.container';
|
|
137
137
|
const StyledContainer = styled__default.default.div.attrs({
|
|
138
|
-
'data-garden-id': COMPONENT_ID$
|
|
139
|
-
'data-garden-version': '9.0.0-next.
|
|
138
|
+
'data-garden-id': COMPONENT_ID$q,
|
|
139
|
+
'data-garden-version': '9.0.0-next.12'
|
|
140
140
|
}).withConfig({
|
|
141
141
|
displayName: "StyledContainer",
|
|
142
142
|
componentId: "sc-14i9jid-0"
|
|
143
|
-
})(["display:flex;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
143
|
+
})(["display:flex;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$q, props));
|
|
144
144
|
StyledContainer.defaultProps = {
|
|
145
145
|
theme: reactTheming.DEFAULT_THEME
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
const COMPONENT_ID$
|
|
148
|
+
const COMPONENT_ID$p = 'dropdowns.combobox.field';
|
|
149
149
|
const StyledField = styled__default.default.div.attrs({
|
|
150
|
-
'data-garden-id': COMPONENT_ID$
|
|
151
|
-
'data-garden-version': '9.0.0-next.
|
|
150
|
+
'data-garden-id': COMPONENT_ID$p,
|
|
151
|
+
'data-garden-version': '9.0.0-next.12'
|
|
152
152
|
}).withConfig({
|
|
153
153
|
displayName: "StyledField",
|
|
154
154
|
componentId: "sc-zc57xl-0"
|
|
155
|
-
})(["direction:", ";", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
155
|
+
})(["direction:", ";", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$p, props));
|
|
156
156
|
StyledField.defaultProps = {
|
|
157
157
|
theme: reactTheming.DEFAULT_THEME
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
-
const COMPONENT_ID$
|
|
160
|
+
const COMPONENT_ID$o = 'dropdowns.combobox.floating';
|
|
161
161
|
const StyledFloatingListbox = styled__default.default.div.attrs({
|
|
162
|
-
'data-garden-id': COMPONENT_ID$
|
|
163
|
-
'data-garden-version': '9.0.0-next.
|
|
162
|
+
'data-garden-id': COMPONENT_ID$o,
|
|
163
|
+
'data-garden-version': '9.0.0-next.12'
|
|
164
164
|
}).withConfig({
|
|
165
165
|
displayName: "StyledFloatingListbox",
|
|
166
166
|
componentId: "sc-1cp6spf-0"
|
|
@@ -169,12 +169,12 @@ const StyledFloatingListbox = styled__default.default.div.attrs({
|
|
|
169
169
|
hidden: props.isHidden,
|
|
170
170
|
animationModifier: '[data-garden-animate="true"]',
|
|
171
171
|
zIndex: props.zIndex
|
|
172
|
-
}), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
172
|
+
}), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$o, props));
|
|
173
173
|
StyledFloatingListbox.defaultProps = {
|
|
174
174
|
theme: reactTheming.DEFAULT_THEME
|
|
175
175
|
};
|
|
176
176
|
|
|
177
|
-
const COMPONENT_ID$
|
|
177
|
+
const COMPONENT_ID$n = 'dropdowns.combobox.input';
|
|
178
178
|
const colorStyles$8 = props => {
|
|
179
179
|
const placeholderColor = reactTheming.getColorV8('neutralHue', 400, props.theme);
|
|
180
180
|
return styled.css(["background-color:inherit;color:inherit;&::placeholder{opacity:1;color:", ";}"], placeholderColor);
|
|
@@ -194,33 +194,33 @@ const sizeStyles$9 = props => {
|
|
|
194
194
|
return styled.css(["min-width:", ";height:", "px;line-height:", ";font-size:", ";&&{margin-top:", ";margin-bottom:", ";}"], minWidth, height, lineHeight, fontSize, margin, margin);
|
|
195
195
|
};
|
|
196
196
|
const StyledInput = styled__default.default.input.attrs({
|
|
197
|
-
'data-garden-id': COMPONENT_ID$
|
|
198
|
-
'data-garden-version': '9.0.0-next.
|
|
197
|
+
'data-garden-id': COMPONENT_ID$n,
|
|
198
|
+
'data-garden-version': '9.0.0-next.12'
|
|
199
199
|
}).withConfig({
|
|
200
200
|
displayName: "StyledInput",
|
|
201
201
|
componentId: "sc-1lkqdg-0"
|
|
202
|
-
})(["flex-basis:0;flex-grow:1;border:none;padding:0;font-family:inherit;&:focus{outline:none;}", ";", ";&[hidden]{display:revert;", "}&[aria-hidden='true']{display:none;}", ";"], sizeStyles$9, colorStyles$8, props => props.isEditable && polished.hideVisually(), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
202
|
+
})(["flex-basis:0;flex-grow:1;border:none;padding:0;font-family:inherit;&:focus{outline:none;}", ";", ";&[hidden]{display:revert;", "}&[aria-hidden='true']{display:none;}", ";"], sizeStyles$9, colorStyles$8, props => props.isEditable && polished.hideVisually(), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$n, props));
|
|
203
203
|
StyledInput.defaultProps = {
|
|
204
204
|
theme: reactTheming.DEFAULT_THEME
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
const COMPONENT_ID$
|
|
207
|
+
const COMPONENT_ID$m = 'dropdowns.combobox.input_group';
|
|
208
208
|
const sizeStyles$8 = props => {
|
|
209
209
|
const margin = props.theme.shadowWidths.sm;
|
|
210
210
|
return styled.css(["margin:-", ";min-width:0;& > *{margin:", ";}"], margin, margin);
|
|
211
211
|
};
|
|
212
212
|
const StyledInputGroup = styled__default.default.div.attrs({
|
|
213
|
-
'data-garden-id': COMPONENT_ID$
|
|
214
|
-
'data-garden-version': '9.0.0-next.
|
|
213
|
+
'data-garden-id': COMPONENT_ID$m,
|
|
214
|
+
'data-garden-version': '9.0.0-next.12'
|
|
215
215
|
}).withConfig({
|
|
216
216
|
displayName: "StyledInputGroup",
|
|
217
217
|
componentId: "sc-yx3q7u-0"
|
|
218
|
-
})(["display:flex;flex-grow:1;flex-wrap:wrap;", ";", ";"], sizeStyles$8, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
218
|
+
})(["display:flex;flex-grow:1;flex-wrap:wrap;", ";", ";"], sizeStyles$8, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$m, props));
|
|
219
219
|
StyledInputGroup.defaultProps = {
|
|
220
220
|
theme: reactTheming.DEFAULT_THEME
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
const COMPONENT_ID$
|
|
223
|
+
const COMPONENT_ID$l = 'dropdowns.combobox.trigger';
|
|
224
224
|
const colorStyles$7 = props => {
|
|
225
225
|
const SHADE = 600;
|
|
226
226
|
let hue = 'neutralHue';
|
|
@@ -292,17 +292,17 @@ const sizeStyles$7 = props => {
|
|
|
292
292
|
return styled.css(["padding:", " ", ";min-height:", ";max-height:", ";font-size:", ";"], verticalPadding, horizontalPadding, minHeight, maxHeight, props.theme.fontSizes.md);
|
|
293
293
|
};
|
|
294
294
|
const StyledTrigger = styled__default.default.div.attrs({
|
|
295
|
-
'data-garden-id': COMPONENT_ID$
|
|
296
|
-
'data-garden-version': '9.0.0-next.
|
|
295
|
+
'data-garden-id': COMPONENT_ID$l,
|
|
296
|
+
'data-garden-version': '9.0.0-next.12'
|
|
297
297
|
}).withConfig({
|
|
298
298
|
displayName: "StyledTrigger",
|
|
299
299
|
componentId: "sc-116nftk-0"
|
|
300
|
-
})(["overflow-y:auto;transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out;border:", ";border-radius:", ";cursor:", ";box-sizing:border-box;", ";&:focus{outline:none;}", ";&[aria-disabled='true']{cursor:default;}", ";"], props => props.isBare ? 'none' : props.theme.borders.sm, props => props.isBare ? '0' : props.theme.borderRadii.md, props => !props.isAutocomplete && props.isEditable ? 'text' : 'pointer', sizeStyles$7, colorStyles$7, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
300
|
+
})(["overflow-y:auto;transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out;border:", ";border-radius:", ";cursor:", ";box-sizing:border-box;", ";&:focus{outline:none;}", ";&[aria-disabled='true']{cursor:default;}", ";"], props => props.isBare ? 'none' : props.theme.borders.sm, props => props.isBare ? '0' : props.theme.borderRadii.md, props => !props.isAutocomplete && props.isEditable ? 'text' : 'pointer', sizeStyles$7, colorStyles$7, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$l, props));
|
|
301
301
|
StyledTrigger.defaultProps = {
|
|
302
302
|
theme: reactTheming.DEFAULT_THEME
|
|
303
303
|
};
|
|
304
304
|
|
|
305
|
-
const COMPONENT_ID$
|
|
305
|
+
const COMPONENT_ID$k = 'dropdowns.combobox.input_icon';
|
|
306
306
|
const colorStyles$6 = props => {
|
|
307
307
|
const color = reactTheming.getColorV8('neutralHue', 600, props.theme);
|
|
308
308
|
const focusColor = reactTheming.getColorV8('neutralHue', 700, props.theme);
|
|
@@ -322,17 +322,17 @@ const sizeStyles$6 = props => {
|
|
|
322
322
|
return styled.css(["top:", ";margin-", ":", ";width:", ";height:", ";"], position, side, margin, size, size);
|
|
323
323
|
};
|
|
324
324
|
const StyledInputIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
|
|
325
|
-
'data-garden-id': COMPONENT_ID$
|
|
326
|
-
'data-garden-version': '9.0.0-next.
|
|
325
|
+
'data-garden-id': COMPONENT_ID$k,
|
|
326
|
+
'data-garden-version': '9.0.0-next.12'
|
|
327
327
|
}).withConfig({
|
|
328
328
|
displayName: "StyledInputIcon",
|
|
329
329
|
componentId: "sc-gqbs1s-0"
|
|
330
|
-
})(["position:sticky;flex-shrink:0;transform:", ";transition:transform 0.25s ease-in-out,color 0.25s ease-in-out;", ";", ";", ";"], props => props.$isRotated && `rotate(${props.theme.rtl ? '-' : '+'}180deg)`, sizeStyles$6, colorStyles$6, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
330
|
+
})(["position:sticky;flex-shrink:0;transform:", ";transition:transform 0.25s ease-in-out,color 0.25s ease-in-out;", ";", ";", ";"], props => props.$isRotated && `rotate(${props.theme.rtl ? '-' : '+'}180deg)`, sizeStyles$6, colorStyles$6, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$k, props));
|
|
331
331
|
StyledInputIcon.defaultProps = {
|
|
332
332
|
theme: reactTheming.DEFAULT_THEME
|
|
333
333
|
};
|
|
334
334
|
|
|
335
|
-
const COMPONENT_ID$
|
|
335
|
+
const COMPONENT_ID$j = 'dropdowns.combobox.option';
|
|
336
336
|
const colorStyles$5 = props => {
|
|
337
337
|
let backgroundColor;
|
|
338
338
|
let boxShadow;
|
|
@@ -359,41 +359,41 @@ const sizeStyles$5 = props => {
|
|
|
359
359
|
return styled.css(["box-sizing:border-box;padding:", " ", ";min-height:", "px;line-height:", ";"], paddingVertical, paddingHorizontal, minHeight, lineHeight);
|
|
360
360
|
};
|
|
361
361
|
const StyledOption = styled__default.default.li.attrs({
|
|
362
|
-
'data-garden-id': COMPONENT_ID$
|
|
363
|
-
'data-garden-version': '9.0.0-next.
|
|
362
|
+
'data-garden-id': COMPONENT_ID$j,
|
|
363
|
+
'data-garden-version': '9.0.0-next.12'
|
|
364
364
|
}).withConfig({
|
|
365
365
|
displayName: "StyledOption",
|
|
366
366
|
componentId: "sc-jl4wn6-0"
|
|
367
|
-
})(["display:flex;position:relative;transition:color 0.25s ease-in-out;cursor:", ";overflow-wrap:anywhere;font-weight:", ";user-select:none;&:focus{outline:none;}", ";", ";&[aria-disabled='true']{cursor:default;}&[aria-hidden='true']{", ";}", ";"], props => props.$type === 'group' || props.$type === 'header' ? 'default' : 'pointer', props => props.$type === 'header' || props.$type === 'previous' ? props.theme.fontWeights.semibold : props.theme.fontWeights.regular, sizeStyles$5, colorStyles$5, polished.hideVisually(), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
367
|
+
})(["display:flex;position:relative;transition:color 0.25s ease-in-out;cursor:", ";overflow-wrap:anywhere;font-weight:", ";user-select:none;&:focus{outline:none;}", ";", ";&[aria-disabled='true']{cursor:default;}&[aria-hidden='true']{", ";}", ";"], props => props.$type === 'group' || props.$type === 'header' ? 'default' : 'pointer', props => props.$type === 'header' || props.$type === 'previous' ? props.theme.fontWeights.semibold : props.theme.fontWeights.regular, sizeStyles$5, colorStyles$5, polished.hideVisually(), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$j, props));
|
|
368
368
|
StyledOption.defaultProps = {
|
|
369
369
|
theme: reactTheming.DEFAULT_THEME
|
|
370
370
|
};
|
|
371
371
|
|
|
372
|
-
const COMPONENT_ID$
|
|
372
|
+
const COMPONENT_ID$i = 'dropdowns.combobox.option.content';
|
|
373
373
|
const StyledOptionContent = styled__default.default.div.attrs({
|
|
374
|
-
'data-garden-id': COMPONENT_ID$
|
|
375
|
-
'data-garden-version': '9.0.0-next.
|
|
374
|
+
'data-garden-id': COMPONENT_ID$i,
|
|
375
|
+
'data-garden-version': '9.0.0-next.12'
|
|
376
376
|
}).withConfig({
|
|
377
377
|
displayName: "StyledOptionContent",
|
|
378
378
|
componentId: "sc-121ujpu-0"
|
|
379
|
-
})(["display:flex;flex-direction:column;flex-grow:1;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
379
|
+
})(["display:flex;flex-direction:column;flex-grow:1;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$i, props));
|
|
380
380
|
StyledOptionContent.defaultProps = {
|
|
381
381
|
theme: reactTheming.DEFAULT_THEME
|
|
382
382
|
};
|
|
383
383
|
|
|
384
|
-
const COMPONENT_ID$
|
|
384
|
+
const COMPONENT_ID$h = 'dropdowns.combobox.optgroup';
|
|
385
385
|
const StyledOptGroup = styled__default.default.ul.attrs({
|
|
386
|
-
'data-garden-id': COMPONENT_ID$
|
|
387
|
-
'data-garden-version': '9.0.0-next.
|
|
386
|
+
'data-garden-id': COMPONENT_ID$h,
|
|
387
|
+
'data-garden-version': '9.0.0-next.12'
|
|
388
388
|
}).withConfig({
|
|
389
389
|
displayName: "StyledOptGroup",
|
|
390
390
|
componentId: "sc-1kavqsx-0"
|
|
391
|
-
})(["margin:0;padding:0;list-style-type:none;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
391
|
+
})(["margin:0;padding:0;list-style-type:none;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$h, props));
|
|
392
392
|
StyledOptGroup.defaultProps = {
|
|
393
393
|
theme: reactTheming.DEFAULT_THEME
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
-
const COMPONENT_ID$
|
|
396
|
+
const COMPONENT_ID$g = 'dropdowns.combobox.separator';
|
|
397
397
|
const colorStyles$4 = props => {
|
|
398
398
|
const backgroundColor = reactTheming.getColorV8('neutralHue', 200, props.theme);
|
|
399
399
|
return styled.css(["background-color:", ";"], backgroundColor);
|
|
@@ -404,25 +404,25 @@ const sizeStyles$4 = props => {
|
|
|
404
404
|
return styled.css(["margin:", " 0;height:", ";"], margin, height);
|
|
405
405
|
};
|
|
406
406
|
const StyledListboxSeparator = styled__default.default.li.attrs({
|
|
407
|
-
'data-garden-id': COMPONENT_ID$
|
|
408
|
-
'data-garden-version': '9.0.0-next.
|
|
407
|
+
'data-garden-id': COMPONENT_ID$g,
|
|
408
|
+
'data-garden-version': '9.0.0-next.12'
|
|
409
409
|
}).withConfig({
|
|
410
410
|
displayName: "StyledListboxSeparator",
|
|
411
411
|
componentId: "sc-1p6toh2-0"
|
|
412
|
-
})(["cursor:default;", ";", ";", ";"], sizeStyles$4, colorStyles$4, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
412
|
+
})(["cursor:default;", ";", ";", ";"], sizeStyles$4, colorStyles$4, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$g, props));
|
|
413
413
|
StyledListboxSeparator.defaultProps = {
|
|
414
414
|
theme: reactTheming.DEFAULT_THEME
|
|
415
415
|
};
|
|
416
416
|
|
|
417
|
-
const COMPONENT_ID$
|
|
417
|
+
const COMPONENT_ID$f = 'dropdowns.combobox.listbox';
|
|
418
418
|
const sizeStyles$3 = props => {
|
|
419
419
|
const padding = props.theme.space.base;
|
|
420
420
|
const minHeight = props.minHeight === undefined ? `${getMinHeight(props) + padding * 2}px` : props.minHeight;
|
|
421
421
|
return styled.css(["min-height:", ";max-height:", ";&&&{padding-top:", "px;padding-bottom:", "px;}"], minHeight, props.maxHeight, padding, padding);
|
|
422
422
|
};
|
|
423
423
|
const StyledListbox = styled__default.default.ul.attrs({
|
|
424
|
-
'data-garden-id': COMPONENT_ID$
|
|
425
|
-
'data-garden-version': '9.0.0-next.
|
|
424
|
+
'data-garden-id': COMPONENT_ID$f,
|
|
425
|
+
'data-garden-version': '9.0.0-next.12'
|
|
426
426
|
}).withConfig({
|
|
427
427
|
displayName: "StyledListbox",
|
|
428
428
|
componentId: "sc-1k13ba7-0"
|
|
@@ -431,7 +431,7 @@ StyledListbox.defaultProps = {
|
|
|
431
431
|
theme: reactTheming.DEFAULT_THEME
|
|
432
432
|
};
|
|
433
433
|
|
|
434
|
-
const COMPONENT_ID$
|
|
434
|
+
const COMPONENT_ID$e = 'dropdowns.combobox.option.icon';
|
|
435
435
|
const sizeStyles$2 = props => {
|
|
436
436
|
const size = props.theme.iconSizes.md;
|
|
437
437
|
const marginTop = polished.math(`(${props.theme.lineHeights.md} - ${size}) / 2`);
|
|
@@ -439,17 +439,17 @@ const sizeStyles$2 = props => {
|
|
|
439
439
|
return styled.css(["margin-top:", ";margin-", ":", ";width:", ";height:", ";"], marginTop, props.theme.rtl ? 'left' : 'right', marginHorizontal, size, size);
|
|
440
440
|
};
|
|
441
441
|
const StyledOptionIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
|
|
442
|
-
'data-garden-id': COMPONENT_ID$
|
|
443
|
-
'data-garden-version': '9.0.0-next.
|
|
442
|
+
'data-garden-id': COMPONENT_ID$e,
|
|
443
|
+
'data-garden-version': '9.0.0-next.12'
|
|
444
444
|
}).withConfig({
|
|
445
445
|
displayName: "StyledOptionIcon",
|
|
446
446
|
componentId: "sc-qsab3y-0"
|
|
447
|
-
})(["flex-shrink:0;", ";", ";"], sizeStyles$2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
447
|
+
})(["flex-shrink:0;", ";", ";"], sizeStyles$2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$e, props));
|
|
448
448
|
StyledOptionIcon.defaultProps = {
|
|
449
449
|
theme: reactTheming.DEFAULT_THEME
|
|
450
450
|
};
|
|
451
451
|
|
|
452
|
-
const COMPONENT_ID$
|
|
452
|
+
const COMPONENT_ID$d = 'dropdowns.combobox.option.meta';
|
|
453
453
|
const colorStyles$3 = props => {
|
|
454
454
|
const color = reactTheming.getColorV8('neutralHue', props.isDisabled ? 400 : 600, props.theme);
|
|
455
455
|
return styled.css(["color:", ";"], color);
|
|
@@ -460,17 +460,17 @@ const sizeStyles$1 = props => {
|
|
|
460
460
|
return styled.css(["line-height:", ";font-size:", ";"], lineHeight, fontSize);
|
|
461
461
|
};
|
|
462
462
|
const StyledOptionMeta = styled__default.default.div.attrs({
|
|
463
|
-
'data-garden-id': COMPONENT_ID$
|
|
464
|
-
'data-garden-version': '9.0.0-next.
|
|
463
|
+
'data-garden-id': COMPONENT_ID$d,
|
|
464
|
+
'data-garden-version': '9.0.0-next.12'
|
|
465
465
|
}).withConfig({
|
|
466
466
|
displayName: "StyledOptionMeta",
|
|
467
467
|
componentId: "sc-j6pu10-0"
|
|
468
|
-
})(["transition:color 0.25s ease-in-out;font-weight:", ";", ";", ";", ";"], props => props.theme.fontWeights.regular, sizeStyles$1, colorStyles$3, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
468
|
+
})(["transition:color 0.25s ease-in-out;font-weight:", ";", ";", ";", ";"], props => props.theme.fontWeights.regular, sizeStyles$1, colorStyles$3, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$d, props));
|
|
469
469
|
StyledOptionMeta.defaultProps = {
|
|
470
470
|
theme: reactTheming.DEFAULT_THEME
|
|
471
471
|
};
|
|
472
472
|
|
|
473
|
-
const COMPONENT_ID$
|
|
473
|
+
const COMPONENT_ID$c = 'dropdowns.combobox.option.type_icon';
|
|
474
474
|
const colorStyles$2 = props => {
|
|
475
475
|
const opacity = props.$type && props.$type !== 'danger' ? 1 : 0;
|
|
476
476
|
let color;
|
|
@@ -496,36 +496,36 @@ const sizeStyles = props => {
|
|
|
496
496
|
return styled.css(["top:", ";", ":", ";width:", ";height:", ";"], top, side, position, size, size);
|
|
497
497
|
};
|
|
498
498
|
const StyledOptionTypeIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
|
|
499
|
-
'data-garden-id': COMPONENT_ID$
|
|
500
|
-
'data-garden-version': '9.0.0-next.
|
|
499
|
+
'data-garden-id': COMPONENT_ID$c,
|
|
500
|
+
'data-garden-version': '9.0.0-next.12'
|
|
501
501
|
}).withConfig({
|
|
502
502
|
displayName: "StyledOptionTypeIcon",
|
|
503
503
|
componentId: "sc-xpink2-0"
|
|
504
|
-
})(["position:absolute;transform:", ";transition:opacity 0.1s ease-in-out;", ";", ";", ";"], props => props.theme.rtl && (props.$type === 'next' || props.$type === 'previous') && 'rotate(180deg)', sizeStyles, colorStyles$2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
504
|
+
})(["position:absolute;transform:", ";transition:opacity 0.1s ease-in-out;", ";", ";", ";"], props => props.theme.rtl && (props.$type === 'next' || props.$type === 'previous') && 'rotate(180deg)', sizeStyles, colorStyles$2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$c, props));
|
|
505
505
|
StyledOptionTypeIcon.defaultProps = {
|
|
506
506
|
theme: reactTheming.DEFAULT_THEME
|
|
507
507
|
};
|
|
508
508
|
|
|
509
|
-
const COMPONENT_ID$
|
|
509
|
+
const COMPONENT_ID$b = 'dropdowns.combobox.tag';
|
|
510
510
|
const StyledTag = styled__default.default(reactTags.Tag).attrs({
|
|
511
|
-
'data-garden-id': COMPONENT_ID$
|
|
512
|
-
'data-garden-version': '9.0.0-next.
|
|
511
|
+
'data-garden-id': COMPONENT_ID$b,
|
|
512
|
+
'data-garden-version': '9.0.0-next.12'
|
|
513
513
|
}).withConfig({
|
|
514
514
|
displayName: "StyledTag",
|
|
515
515
|
componentId: "sc-1alam0r-0"
|
|
516
|
-
})(["&[aria-disabled='true']{color:", ";}&[hidden]{display:revert;", "}", ";"], props => props.hue ? undefined : reactTheming.getColorV8('neutralHue', 400, props.theme), polished.hideVisually(), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
516
|
+
})(["&[aria-disabled='true']{color:", ";}&[hidden]{display:revert;", "}", ";"], props => props.hue ? undefined : reactTheming.getColorV8('neutralHue', 400, props.theme), polished.hideVisually(), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$b, props));
|
|
517
517
|
StyledTag.defaultProps = {
|
|
518
518
|
theme: reactTheming.DEFAULT_THEME
|
|
519
519
|
};
|
|
520
520
|
|
|
521
|
-
const COMPONENT_ID$
|
|
521
|
+
const COMPONENT_ID$a = 'dropdowns.combobox.value';
|
|
522
522
|
const colorStyles$1 = props => {
|
|
523
523
|
const foregroundColor = props.isPlaceholder && reactTheming.getColorV8('neutralHue', 400, props.theme);
|
|
524
524
|
return styled.css(["color:", ";"], foregroundColor);
|
|
525
525
|
};
|
|
526
526
|
const StyledValue = styled__default.default.div.attrs({
|
|
527
|
-
'data-garden-id': COMPONENT_ID$
|
|
528
|
-
'data-garden-version': '9.0.0-next.
|
|
527
|
+
'data-garden-id': COMPONENT_ID$a,
|
|
528
|
+
'data-garden-version': '9.0.0-next.12'
|
|
529
529
|
}).withConfig({
|
|
530
530
|
displayName: "StyledValue",
|
|
531
531
|
componentId: "sc-t719sx-0"
|
|
@@ -534,32 +534,32 @@ const StyledValue = styled__default.default.div.attrs({
|
|
|
534
534
|
return 'default';
|
|
535
535
|
}
|
|
536
536
|
return props.isEditable && !props.isAutocomplete ? 'text' : 'pointer';
|
|
537
|
-
}, sizeStyles$9, colorStyles$1, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
537
|
+
}, sizeStyles$9, colorStyles$1, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$a, props));
|
|
538
538
|
StyledValue.defaultProps = {
|
|
539
539
|
theme: reactTheming.DEFAULT_THEME
|
|
540
540
|
};
|
|
541
541
|
|
|
542
|
-
const COMPONENT_ID$
|
|
542
|
+
const COMPONENT_ID$9 = 'dropdowns.combobox.tags_button';
|
|
543
543
|
const colorStyles = props => {
|
|
544
544
|
const color = reactTheming.getColorV8('primaryHue', 600, props.theme);
|
|
545
545
|
return styled.css(["color:", ";&:disabled{color:inherit;}"], color);
|
|
546
546
|
};
|
|
547
547
|
const StyledTagsButton = styled__default.default(StyledValue).attrs({
|
|
548
548
|
as: 'button',
|
|
549
|
-
'data-garden-id': COMPONENT_ID$
|
|
550
|
-
'data-garden-version': '9.0.0-next.
|
|
549
|
+
'data-garden-id': COMPONENT_ID$9,
|
|
550
|
+
'data-garden-version': '9.0.0-next.12'
|
|
551
551
|
}).withConfig({
|
|
552
552
|
displayName: "StyledTagsButton",
|
|
553
553
|
componentId: "sc-6q5w33-0"
|
|
554
|
-
})(["display:inline-flex;flex:0 1 auto;align-items:center;border:none;background-color:transparent;cursor:pointer;min-width:auto;font-family:inherit;&:hover{text-decoration:underline;}", ";&:disabled{cursor:default;text-decoration:none;}", ";"], colorStyles, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
554
|
+
})(["display:inline-flex;flex:0 1 auto;align-items:center;border:none;background-color:transparent;cursor:pointer;min-width:auto;font-family:inherit;&:hover{text-decoration:underline;}", ";&:disabled{cursor:default;text-decoration:none;}", ";"], colorStyles, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$9, props));
|
|
555
555
|
StyledTagsButton.defaultProps = {
|
|
556
556
|
theme: reactTheming.DEFAULT_THEME
|
|
557
557
|
};
|
|
558
558
|
|
|
559
|
-
const COMPONENT_ID$
|
|
559
|
+
const COMPONENT_ID$8 = 'dropdowns.menu';
|
|
560
560
|
const StyledMenu = styled__default.default(StyledListbox).attrs({
|
|
561
|
-
'data-garden-id': COMPONENT_ID$
|
|
562
|
-
'data-garden-version': '9.0.0-next.
|
|
561
|
+
'data-garden-id': COMPONENT_ID$8,
|
|
562
|
+
'data-garden-version': '9.0.0-next.12'
|
|
563
563
|
}).withConfig({
|
|
564
564
|
displayName: "StyledMenu",
|
|
565
565
|
componentId: "sc-f77ntu-0"
|
|
@@ -567,111 +567,99 @@ const StyledMenu = styled__default.default(StyledListbox).attrs({
|
|
|
567
567
|
size: `${props.theme.space.base * 2}px`,
|
|
568
568
|
inset: '2px',
|
|
569
569
|
animationModifier: '[data-garden-animate-arrow="true"]'
|
|
570
|
-
}), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
570
|
+
}), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$8, props));
|
|
571
571
|
StyledMenu.defaultProps = {
|
|
572
572
|
theme: reactTheming.DEFAULT_THEME
|
|
573
573
|
};
|
|
574
574
|
|
|
575
|
-
const COMPONENT_ID$
|
|
575
|
+
const COMPONENT_ID$7 = 'dropdowns.menu.floating';
|
|
576
576
|
const StyledFloatingMenu = styled__default.default(StyledFloatingListbox).attrs({
|
|
577
|
-
'data-garden-id': COMPONENT_ID$
|
|
578
|
-
'data-garden-version': '9.0.0-next.
|
|
577
|
+
'data-garden-id': COMPONENT_ID$7,
|
|
578
|
+
'data-garden-version': '9.0.0-next.12'
|
|
579
579
|
}).withConfig({
|
|
580
580
|
displayName: "StyledFloatingMenu",
|
|
581
581
|
componentId: "sc-1rc7ahb-0"
|
|
582
|
-
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
582
|
+
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$7, props));
|
|
583
583
|
StyledFloatingMenu.defaultProps = {
|
|
584
584
|
theme: reactTheming.DEFAULT_THEME
|
|
585
585
|
};
|
|
586
586
|
|
|
587
|
-
const COMPONENT_ID$
|
|
587
|
+
const COMPONENT_ID$6 = 'dropdowns.menu.item';
|
|
588
588
|
const StyledItem = styled__default.default(StyledOption).attrs({
|
|
589
|
-
'data-garden-id': COMPONENT_ID$
|
|
590
|
-
'data-garden-version': '9.0.0-next.
|
|
589
|
+
'data-garden-id': COMPONENT_ID$6,
|
|
590
|
+
'data-garden-version': '9.0.0-next.12'
|
|
591
591
|
}).withConfig({
|
|
592
592
|
displayName: "StyledItem",
|
|
593
593
|
componentId: "sc-1jp99dq-0"
|
|
594
|
-
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
594
|
+
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$6, props));
|
|
595
595
|
StyledItem.defaultProps = {
|
|
596
596
|
theme: reactTheming.DEFAULT_THEME
|
|
597
597
|
};
|
|
598
598
|
|
|
599
|
-
const COMPONENT_ID$
|
|
599
|
+
const COMPONENT_ID$5 = 'dropdowns.menu.item.content';
|
|
600
600
|
const StyledItemContent = styled__default.default(StyledOptionContent).attrs({
|
|
601
|
-
'data-garden-id': COMPONENT_ID$
|
|
602
|
-
'data-garden-version': '9.0.0-next.
|
|
601
|
+
'data-garden-id': COMPONENT_ID$5,
|
|
602
|
+
'data-garden-version': '9.0.0-next.12'
|
|
603
603
|
}).withConfig({
|
|
604
604
|
displayName: "StyledItemContent",
|
|
605
605
|
componentId: "sc-1opglsb-0"
|
|
606
|
-
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
606
|
+
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$5, props));
|
|
607
607
|
StyledItemContent.defaultProps = {
|
|
608
608
|
theme: reactTheming.DEFAULT_THEME
|
|
609
609
|
};
|
|
610
610
|
|
|
611
|
-
const COMPONENT_ID$
|
|
611
|
+
const COMPONENT_ID$4 = 'dropdowns.menu.item_group';
|
|
612
612
|
const StyledItemGroup = styled__default.default(StyledOptGroup).attrs({
|
|
613
|
-
'data-garden-id': COMPONENT_ID$
|
|
614
|
-
'data-garden-version': '9.0.0-next.
|
|
613
|
+
'data-garden-id': COMPONENT_ID$4,
|
|
614
|
+
'data-garden-version': '9.0.0-next.12'
|
|
615
615
|
}).withConfig({
|
|
616
616
|
displayName: "StyledItemGroup",
|
|
617
617
|
componentId: "sc-1umk3cg-0"
|
|
618
|
-
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
618
|
+
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$4, props));
|
|
619
619
|
StyledItemGroup.defaultProps = {
|
|
620
620
|
theme: reactTheming.DEFAULT_THEME
|
|
621
621
|
};
|
|
622
622
|
|
|
623
|
-
const COMPONENT_ID$
|
|
623
|
+
const COMPONENT_ID$3 = 'dropdowns.menu.item.icon';
|
|
624
624
|
const StyledItemIcon = styled__default.default(StyledOptionIcon).attrs({
|
|
625
|
-
'data-garden-id': COMPONENT_ID$
|
|
626
|
-
'data-garden-version': '9.0.0-next.
|
|
625
|
+
'data-garden-id': COMPONENT_ID$3,
|
|
626
|
+
'data-garden-version': '9.0.0-next.12'
|
|
627
627
|
}).withConfig({
|
|
628
628
|
displayName: "StyledItemIcon",
|
|
629
629
|
componentId: "sc-w9orqb-0"
|
|
630
|
-
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
630
|
+
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$3, props));
|
|
631
631
|
StyledItemIcon.defaultProps = {
|
|
632
632
|
theme: reactTheming.DEFAULT_THEME
|
|
633
633
|
};
|
|
634
634
|
|
|
635
|
-
const COMPONENT_ID$
|
|
635
|
+
const COMPONENT_ID$2 = 'dropdowns.menu.item.meta';
|
|
636
636
|
const StyledItemMeta = styled__default.default(StyledOptionMeta).attrs({
|
|
637
|
-
'data-garden-id': COMPONENT_ID$
|
|
638
|
-
'data-garden-version': '9.0.0-next.
|
|
637
|
+
'data-garden-id': COMPONENT_ID$2,
|
|
638
|
+
'data-garden-version': '9.0.0-next.12'
|
|
639
639
|
}).withConfig({
|
|
640
640
|
displayName: "StyledItemMeta",
|
|
641
641
|
componentId: "sc-1unw3x1-0"
|
|
642
|
-
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
642
|
+
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$2, props));
|
|
643
643
|
StyledItemMeta.defaultProps = {
|
|
644
644
|
theme: reactTheming.DEFAULT_THEME
|
|
645
645
|
};
|
|
646
646
|
|
|
647
|
-
const COMPONENT_ID$
|
|
647
|
+
const COMPONENT_ID$1 = 'dropdowns.menu.item.type_icon';
|
|
648
648
|
const StyledItemTypeIcon = styled__default.default(StyledOptionTypeIcon).attrs({
|
|
649
|
-
'data-garden-id': COMPONENT_ID$
|
|
650
|
-
'data-garden-version': '9.0.0-next.
|
|
649
|
+
'data-garden-id': COMPONENT_ID$1,
|
|
650
|
+
'data-garden-version': '9.0.0-next.12'
|
|
651
651
|
}).withConfig({
|
|
652
652
|
displayName: "StyledItemTypeIcon",
|
|
653
653
|
componentId: "sc-1pll3nu-0"
|
|
654
|
-
})(["", "[aria-checked='true'] > &{opacity:1;}", ";"], StyledItem, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$
|
|
654
|
+
})(["", "[aria-checked='true'] > &{opacity:1;}", ";"], StyledItem, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$1, props));
|
|
655
655
|
StyledItemTypeIcon.defaultProps = {
|
|
656
656
|
theme: reactTheming.DEFAULT_THEME
|
|
657
657
|
};
|
|
658
658
|
|
|
659
|
-
const COMPONENT_ID$1 = 'dropdowns.menu.button';
|
|
660
|
-
const StyledButton = styled__default.default(reactButtons.Button).attrs({
|
|
661
|
-
'data-garden-id': COMPONENT_ID$1,
|
|
662
|
-
'data-garden-version': '9.0.0-next.11'
|
|
663
|
-
}).withConfig({
|
|
664
|
-
displayName: "StyledButton",
|
|
665
|
-
componentId: "sc-5hs2jg-0"
|
|
666
|
-
})(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$1, props));
|
|
667
|
-
StyledButton.defaultProps = {
|
|
668
|
-
theme: reactTheming.DEFAULT_THEME
|
|
669
|
-
};
|
|
670
|
-
|
|
671
659
|
const COMPONENT_ID = 'dropdowns.menu.separator';
|
|
672
660
|
const StyledSeparator = styled__default.default(StyledListboxSeparator).attrs({
|
|
673
661
|
'data-garden-id': COMPONENT_ID,
|
|
674
|
-
'data-garden-version': '9.0.0-next.
|
|
662
|
+
'data-garden-version': '9.0.0-next.12'
|
|
675
663
|
}).withConfig({
|
|
676
664
|
displayName: "StyledSeparator",
|
|
677
665
|
componentId: "sc-8kqwen-0"
|
|
@@ -1721,7 +1709,7 @@ const Menu = React.forwardRef((_ref, ref) => {
|
|
|
1721
1709
|
}),
|
|
1722
1710
|
ref: reactMergeRefs.mergeRefs([triggerRef, ref])
|
|
1723
1711
|
};
|
|
1724
|
-
const trigger = typeof button === 'function' ? button(triggerProps) : React__namespace.default.createElement(
|
|
1712
|
+
const trigger = typeof button === 'function' ? button(triggerProps) : React__namespace.default.createElement(reactButtons.Button, triggerProps, button, React__namespace.default.createElement(reactButtons.Button.EndIcon, {
|
|
1725
1713
|
isRotated: isExpanded
|
|
1726
1714
|
}, React__namespace.default.createElement(SvgChevronDownStroke, null)));
|
|
1727
1715
|
const contextValue = React.useMemo(() => ({
|