@box/blueprint-web 12.47.0 → 12.48.1
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/lib-esm/combobox/combobox.js +10 -1
- package/dist/lib-esm/combobox/combobox.module.js +1 -1
- package/dist/lib-esm/index.css +259 -140
- package/dist/lib-esm/loading-indicator/loading-indicator.js +6 -0
- package/dist/lib-esm/loading-indicator/loading-indicator.module.js +1 -1
- package/dist/lib-esm/primitives/chips/chip.js +5 -0
- package/dist/lib-esm/primitives/chips/chip.module.js +1 -1
- package/dist/lib-esm/primitives/chips/chips-group.js +5 -0
- package/package.json +1 -1
|
@@ -2,6 +2,8 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
2
2
|
import { SelectItemCheck, SelectItem, ComboboxItem, useComboboxStore, useSelectStore, PopoverAnchor, Combobox as Combobox$1, ComboboxCancel, SelectList, ComboboxPopover } from '@ariakit/react';
|
|
3
3
|
import { SelectRenderer } from '@ariakit/react-core/select/select-renderer';
|
|
4
4
|
import { Checkmark, XMark } from '@box/blueprint-web-assets/icons/Fill';
|
|
5
|
+
import { CheckmarkCircle } from '@box/blueprint-web-assets/icons/Medium';
|
|
6
|
+
import { bpSize050 } from '@box/blueprint-web-assets/tokens/tokens';
|
|
5
7
|
import clsx from 'clsx';
|
|
6
8
|
import React__default, { forwardRef, useMemo, useRef, useCallback, useEffect } from 'react';
|
|
7
9
|
import { useBlueprintModernization } from '../blueprint-modernization-context/useBlueprintModernization.js';
|
|
@@ -449,6 +451,9 @@ const RootInner = ({
|
|
|
449
451
|
};
|
|
450
452
|
const Root = /*#__PURE__*/forwardRef(RootInner);
|
|
451
453
|
const Indicator = /*#__PURE__*/forwardRef((_, ref) => {
|
|
454
|
+
const {
|
|
455
|
+
enableModernizedComponents
|
|
456
|
+
} = useBlueprintModernization();
|
|
452
457
|
return jsx(SelectItemCheck, {
|
|
453
458
|
ref: ref,
|
|
454
459
|
className: styles.indicator,
|
|
@@ -457,7 +462,11 @@ const Indicator = /*#__PURE__*/forwardRef((_, ref) => {
|
|
|
457
462
|
width: 'none',
|
|
458
463
|
height: 'none'
|
|
459
464
|
},
|
|
460
|
-
children: jsx(
|
|
465
|
+
children: enableModernizedComponents ? jsx(CheckmarkCircle, {
|
|
466
|
+
className: styles.indicatorIcon,
|
|
467
|
+
height: bpSize050,
|
|
468
|
+
width: bpSize050
|
|
469
|
+
}) : jsx(Checkmark, {
|
|
461
470
|
className: styles.indicatorIcon
|
|
462
471
|
})
|
|
463
472
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"container":"bp_combobox_module_container--
|
|
2
|
+
var styles = {"container":"bp_combobox_module_container--2cc49","popover":"bp_combobox_module_popover--2cc49","disabled":"bp_combobox_module_disabled--2cc49","label":"bp_combobox_module_label--2cc49","hiddenLabel":"bp_combobox_module_hiddenLabel--2cc49","comboboxContainer":"bp_combobox_module_comboboxContainer--2cc49","withComboboxButtons":"bp_combobox_module_withComboboxButtons--2cc49","error":"bp_combobox_module_error--2cc49","textInputWrapper":"bp_combobox_module_textInputWrapper--2cc49","textInput":"bp_combobox_module_textInput--2cc49","errorIcon":"bp_combobox_module_errorIcon--2cc49","comboboxButtons":"bp_combobox_module_comboboxButtons--2cc49","withChips":"bp_combobox_module_withChips--2cc49","inlineError":"bp_combobox_module_inlineError--2cc49","option":"bp_combobox_module_option--2cc49","indicator":"bp_combobox_module_indicator--2cc49","indicatorIcon":"bp_combobox_module_indicatorIcon--2cc49","optionWithIndicator":"bp_combobox_module_optionWithIndicator--2cc49","loadingIndicator":"bp_combobox_module_loadingIndicator--2cc49","noResultOption":"bp_combobox_module_noResultOption--2cc49"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
package/dist/lib-esm/index.css
CHANGED
|
@@ -161,56 +161,85 @@
|
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
.bp_loading_indicator_module_crawler--
|
|
164
|
+
.bp_loading_indicator_module_crawler--47d03[data-modern=false]{
|
|
165
|
+
--loading-indicator-medium-size:1.5rem;
|
|
166
|
+
--loading-indicator-segment-width:0.125rem;
|
|
167
|
+
--loading-indicator-segment-height:0.625rem;
|
|
168
|
+
--loading-indicator-segment-border-radius:0.375rem;
|
|
169
|
+
--loading-indicator-segment-margin-left:0.125rem;
|
|
170
|
+
--loading-indicator-segment-offset:0.5rem;
|
|
171
|
+
--loading-indicator-segment-default-background:var(--box-blue-100);
|
|
172
|
+
--loading-indicator-segment-default-background-opacity-30:var(--box-blue-30);
|
|
173
|
+
--loading-indicator-segment-dark-background:var(--gray-black);
|
|
174
|
+
--loading-indicator-segment-dark-background-opacity-30:var(--gray-30);
|
|
175
|
+
--loading-indicator-segment-light-background:var(--gray-white);
|
|
176
|
+
--loading-indicator-segment-light-background-opacity-30:var(--white-opacity-30);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.bp_loading_indicator_module_crawler--47d03[data-modern=true]{
|
|
180
|
+
--loading-indicator-medium-size:1.5rem;
|
|
181
|
+
--loading-indicator-segment-width:0.125rem;
|
|
182
|
+
--loading-indicator-segment-height:0.625rem;
|
|
183
|
+
--loading-indicator-segment-border-radius:var(--bp-radius-12);
|
|
184
|
+
--loading-indicator-segment-margin-left:0.125rem;
|
|
185
|
+
--loading-indicator-segment-offset:0.5rem;
|
|
186
|
+
--loading-indicator-segment-default-background:var(--bp-surface-loading-indicator-surface);
|
|
187
|
+
--loading-indicator-segment-default-background-opacity-30:var(--bp-surface-loading-indicator-surface-tertiary);
|
|
188
|
+
--loading-indicator-segment-dark-background:var(--bp-surface-loading-indicator-surface-on-light);
|
|
189
|
+
--loading-indicator-segment-dark-background-opacity-30:var(--bp-surface-loading-indicator-surface-on-light-tertiary);
|
|
190
|
+
--loading-indicator-segment-light-background:var(--bp-surface-loading-indicator-surface-on-dark);
|
|
191
|
+
--loading-indicator-segment-light-background-opacity-30:var(--bp-surface-loading-indicator-surface-on-dark-tertiary);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.bp_loading_indicator_module_crawler--47d03{
|
|
165
195
|
align-items:center;
|
|
166
196
|
display:flex;
|
|
167
|
-
height:
|
|
197
|
+
height:var(--loading-indicator-medium-size);
|
|
168
198
|
justify-content:center;
|
|
169
199
|
left:0;
|
|
170
200
|
margin:0 auto;
|
|
171
201
|
position:absolute;
|
|
172
202
|
right:0;
|
|
173
203
|
white-space:nowrap;
|
|
174
|
-
width:
|
|
204
|
+
width:var(--loading-indicator-medium-size);
|
|
175
205
|
}
|
|
176
|
-
.bp_loading_indicator_module_crawler--
|
|
177
|
-
border-radius
|
|
206
|
+
.bp_loading_indicator_module_crawler--47d03 .bp_loading_indicator_module_segment--47d03{
|
|
207
|
+
border-radius:var(--loading-indicator-segment-border-radius);
|
|
178
208
|
display:inline-block;
|
|
179
|
-
height
|
|
180
|
-
width
|
|
209
|
+
height:var(--loading-indicator-segment-height);
|
|
210
|
+
width:var(--loading-indicator-segment-width);
|
|
181
211
|
}
|
|
182
|
-
.bp_loading_indicator_module_crawler--
|
|
212
|
+
.bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_small--47d03{
|
|
183
213
|
transform:scale(.6667);
|
|
184
214
|
}
|
|
185
|
-
.bp_loading_indicator_module_crawler--
|
|
215
|
+
.bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_large--47d03{
|
|
186
216
|
transform:scale(1.3334);
|
|
187
217
|
}
|
|
188
|
-
.bp_loading_indicator_module_crawler--
|
|
218
|
+
.bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_x-large--47d03{
|
|
189
219
|
transform:scale(2);
|
|
190
220
|
}
|
|
191
|
-
.bp_loading_indicator_module_crawler--
|
|
192
|
-
animation:bp_loading_indicator_module_segment-transform--
|
|
221
|
+
.bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_default--47d03 .bp_loading_indicator_module_segment--47d03{
|
|
222
|
+
animation:bp_loading_indicator_module_segment-transform--47d03 .66s ease-in-out infinite,bp_loading_indicator_module_segment-default--47d03 .66s ease-in-out infinite;
|
|
193
223
|
}
|
|
194
|
-
.bp_loading_indicator_module_crawler--
|
|
195
|
-
animation:bp_loading_indicator_module_segment-transform--
|
|
224
|
+
.bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_dark--47d03 .bp_loading_indicator_module_segment--47d03{
|
|
225
|
+
animation:bp_loading_indicator_module_segment-transform--47d03 .66s ease-in-out infinite,bp_loading_indicator_module_segment-dark--47d03 .66s ease-in-out infinite;
|
|
196
226
|
}
|
|
197
|
-
.bp_loading_indicator_module_crawler--
|
|
198
|
-
animation:bp_loading_indicator_module_segment-transform--
|
|
199
|
-
background-color:var(--gray-white);
|
|
227
|
+
.bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_light--47d03 .bp_loading_indicator_module_segment--47d03{
|
|
228
|
+
animation:bp_loading_indicator_module_segment-transform--47d03 .66s ease-in-out infinite,bp_loading_indicator_module_segment-light--47d03 .66s ease-in-out infinite;
|
|
200
229
|
}
|
|
201
230
|
|
|
202
|
-
.bp_loading_indicator_module_crawler--
|
|
231
|
+
.bp_loading_indicator_module_crawler--47d03 .bp_loading_indicator_module_segment--47d03:nth-child(2){
|
|
203
232
|
animation-delay:.1s;
|
|
204
|
-
margin-left
|
|
233
|
+
margin-left:var(--loading-indicator-segment-margin-left);
|
|
205
234
|
}
|
|
206
235
|
|
|
207
|
-
.bp_loading_indicator_module_crawler--
|
|
236
|
+
.bp_loading_indicator_module_crawler--47d03 .bp_loading_indicator_module_segment--47d03:last-child{
|
|
208
237
|
animation-delay:.2s;
|
|
209
|
-
left
|
|
210
|
-
margin-left
|
|
238
|
+
left:var(--loading-indicator-segment-offset);
|
|
239
|
+
margin-left:var(--loading-indicator-segment-margin-left);
|
|
211
240
|
}
|
|
212
241
|
|
|
213
|
-
@keyframes bp_loading_indicator_module_segment-transform--
|
|
242
|
+
@keyframes bp_loading_indicator_module_segment-transform--47d03{
|
|
214
243
|
0%,100%,80%{
|
|
215
244
|
transform:scaleY(1.2);
|
|
216
245
|
}
|
|
@@ -218,28 +247,28 @@
|
|
|
218
247
|
transform:scaleY(1.6);
|
|
219
248
|
}
|
|
220
249
|
}
|
|
221
|
-
@keyframes bp_loading_indicator_module_segment-dark--
|
|
250
|
+
@keyframes bp_loading_indicator_module_segment-dark--47d03{
|
|
222
251
|
0%,100%,80%{
|
|
223
|
-
background-color:var(--
|
|
252
|
+
background-color:var(--loading-indicator-segment-dark-background-opacity-30);
|
|
224
253
|
}
|
|
225
254
|
40%{
|
|
226
|
-
background-color:var(--
|
|
255
|
+
background-color:var(--loading-indicator-segment-dark-background);
|
|
227
256
|
}
|
|
228
257
|
}
|
|
229
|
-
@keyframes bp_loading_indicator_module_segment-default--
|
|
230
|
-
0%,100
|
|
231
|
-
background-color:var(--
|
|
258
|
+
@keyframes bp_loading_indicator_module_segment-default--47d03{
|
|
259
|
+
0%,100%{
|
|
260
|
+
background-color:var(--loading-indicator-segment-default-background-opacity-30);
|
|
232
261
|
}
|
|
233
262
|
40%{
|
|
234
|
-
background-color:var(--
|
|
263
|
+
background-color:var(--loading-indicator-segment-default-background);
|
|
235
264
|
}
|
|
236
265
|
}
|
|
237
|
-
@keyframes bp_loading_indicator_module_segment-light--
|
|
266
|
+
@keyframes bp_loading_indicator_module_segment-light--47d03{
|
|
238
267
|
0%,100%,80%{
|
|
239
|
-
opacity
|
|
268
|
+
background-color:var(--loading-indicator-segment-light-background-opacity-30);
|
|
240
269
|
}
|
|
241
270
|
40%{
|
|
242
|
-
|
|
271
|
+
background-color:var(--loading-indicator-segment-light-background);
|
|
243
272
|
}
|
|
244
273
|
}
|
|
245
274
|
.bp_base_button_module_button--77a2c[data-modern=true]{
|
|
@@ -2184,7 +2213,7 @@
|
|
|
2184
2213
|
margin-block-start:var(--text-area-container-row-gap);
|
|
2185
2214
|
}
|
|
2186
2215
|
|
|
2187
|
-
.bp_combobox_module_container--
|
|
2216
|
+
.bp_combobox_module_container--2cc49[data-modern=false]{
|
|
2188
2217
|
--max-lines:3;
|
|
2189
2218
|
--input-height:var(--space-5);
|
|
2190
2219
|
--chip-height:var(--space-7);
|
|
@@ -2239,7 +2268,7 @@
|
|
|
2239
2268
|
--combobox-button-spacing:var(--space-2);
|
|
2240
2269
|
}
|
|
2241
2270
|
|
|
2242
|
-
.bp_combobox_module_container--
|
|
2271
|
+
.bp_combobox_module_container--2cc49[data-modern=true]{
|
|
2243
2272
|
--max-lines:3;
|
|
2244
2273
|
--bp-innershadow-01:var(--innershadow-1);
|
|
2245
2274
|
--bp-input-height:var(--bp-space-050);
|
|
@@ -2300,7 +2329,7 @@
|
|
|
2300
2329
|
--combobox-button-spacing:var(--bp-space-020);
|
|
2301
2330
|
}
|
|
2302
2331
|
|
|
2303
|
-
.bp_combobox_module_popover--
|
|
2332
|
+
.bp_combobox_module_popover--2cc49[data-modern=false]{
|
|
2304
2333
|
--option-height:2.25rem;
|
|
2305
2334
|
--dropdown-max-height:12.5rem;
|
|
2306
2335
|
--combobox-popover-max-height:min(
|
|
@@ -2330,9 +2359,10 @@
|
|
|
2330
2359
|
--combobox-option-with-indicator-padding-inline:var(--space-10) var(--space-2);
|
|
2331
2360
|
--combobox-loading-indicator-position:unset;
|
|
2332
2361
|
--combobox-no-result-option-color:var(--text-text-on-light);
|
|
2362
|
+
--combobox-popover-backdrop-filter:;
|
|
2333
2363
|
}
|
|
2334
2364
|
|
|
2335
|
-
.bp_combobox_module_popover--
|
|
2365
|
+
.bp_combobox_module_popover--2cc49[data-modern=true]{
|
|
2336
2366
|
--option-height:2.25rem;
|
|
2337
2367
|
--dropdown-max-height:12.5rem;
|
|
2338
2368
|
--bp-dropshadow-03:var(--dropshadow-3);
|
|
@@ -2340,7 +2370,7 @@
|
|
|
2340
2370
|
var(--popover-available-height, var(--option-height)),
|
|
2341
2371
|
var(--dropdown-max-height)
|
|
2342
2372
|
);
|
|
2343
|
-
--combobox-popover-background-color:var(--bp-surface-menu-surface);
|
|
2373
|
+
--combobox-popover-background-color:var(--bp-surface-menu-surface-dropdown);
|
|
2344
2374
|
--combobox-popover-border:var(--bp-border-01) solid var(--bp-border-menu-border);
|
|
2345
2375
|
--combobox-popover-border-radius:var(--bp-radius-10);
|
|
2346
2376
|
--combobox-popover-padding-block:var(--bp-space-030);
|
|
@@ -2363,9 +2393,10 @@
|
|
|
2363
2393
|
--combobox-option-with-indicator-padding-inline:var(--bp-space-100) var(--bp-space-020);
|
|
2364
2394
|
--combobox-loading-indicator-position:unset;
|
|
2365
2395
|
--combobox-no-result-option-color:var(--bp-text-text-on-light);
|
|
2396
|
+
--combobox-popover-backdrop-filter:blur(16px);
|
|
2366
2397
|
}
|
|
2367
2398
|
|
|
2368
|
-
.bp_combobox_module_container--
|
|
2399
|
+
.bp_combobox_module_container--2cc49{
|
|
2369
2400
|
display:flex;
|
|
2370
2401
|
flex-direction:column;
|
|
2371
2402
|
font-family:var(--body-default-font-family);
|
|
@@ -2377,10 +2408,10 @@
|
|
|
2377
2408
|
text-decoration:var(--body-default-text-decoration);
|
|
2378
2409
|
text-transform:var(--body-default-text-case);
|
|
2379
2410
|
}
|
|
2380
|
-
.bp_combobox_module_container--
|
|
2411
|
+
.bp_combobox_module_container--2cc49.bp_combobox_module_disabled--2cc49{
|
|
2381
2412
|
opacity:60%;
|
|
2382
2413
|
}
|
|
2383
|
-
.bp_combobox_module_container--
|
|
2414
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_label--2cc49{
|
|
2384
2415
|
color:var(--combobox-label-color);
|
|
2385
2416
|
flex:0 0 fit-content;
|
|
2386
2417
|
font-family:var(--body-default-bold-font-family);
|
|
@@ -2393,10 +2424,10 @@
|
|
|
2393
2424
|
text-decoration:var(--body-default-bold-text-decoration);
|
|
2394
2425
|
text-transform:var(--body-default-bold-text-case);
|
|
2395
2426
|
}
|
|
2396
|
-
.bp_combobox_module_container--
|
|
2427
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_label--2cc49:not(.bp_combobox_module_hiddenLabel--2cc49){
|
|
2397
2428
|
margin-block-end:var(--combobox-label-margin-block-end);
|
|
2398
2429
|
}
|
|
2399
|
-
.bp_combobox_module_container--
|
|
2430
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49{
|
|
2400
2431
|
background-color:var(--combobox-container-background-color);
|
|
2401
2432
|
border-bottom:var(--combobox-container-border-bottom-width) solid var(--combobox-container-border-color);
|
|
2402
2433
|
border-left:var(--combobox-container-border-left-width) solid var(--combobox-container-border-color);
|
|
@@ -2413,15 +2444,15 @@
|
|
|
2413
2444
|
padding-inline:var(--combobox-container-padding-inline);
|
|
2414
2445
|
position:relative;
|
|
2415
2446
|
}
|
|
2416
|
-
.bp_combobox_module_container--
|
|
2447
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49.bp_combobox_module_withComboboxButtons--2cc49{
|
|
2417
2448
|
padding-inline-end:var(--combobox-container-padding-inline-end-with-buttons);
|
|
2418
2449
|
}
|
|
2419
|
-
.bp_combobox_module_container--
|
|
2450
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49:not(:disabled):has(input:focus){
|
|
2420
2451
|
background-color:var(--combobox-container-focus-background-color);
|
|
2421
2452
|
border:var(--combobox-container-focus-border);
|
|
2422
2453
|
padding-block:var(--combobox-container-focus-padding-block);
|
|
2423
2454
|
}
|
|
2424
|
-
.bp_combobox_module_container--
|
|
2455
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49:not(:disabled).bp_combobox_module_error--2cc49,.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49:not(:disabled):has([aria-invalid=true]){
|
|
2425
2456
|
background-color:var(--combobox-container-error-background-color);
|
|
2426
2457
|
border-bottom:var(--combobox-container-error-border-bottom-width) solid var(--combobox-container-error-border-color);
|
|
2427
2458
|
border-left:var(--combobox-container-error-border-left-width) solid var(--combobox-container-error-border-color);
|
|
@@ -2429,13 +2460,13 @@
|
|
|
2429
2460
|
border-top:var(--combobox-container-error-border-top-width) solid var(--combobox-container-error-border-color);
|
|
2430
2461
|
padding-block:var(--combobox-container-error-padding-block);
|
|
2431
2462
|
}
|
|
2432
|
-
.bp_combobox_module_container--
|
|
2463
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49 .bp_combobox_module_textInputWrapper--2cc49{
|
|
2433
2464
|
align-items:center;
|
|
2434
2465
|
display:flex;
|
|
2435
2466
|
flex:content;
|
|
2436
2467
|
gap:var(--combobox-text-input-wrapper-gap);
|
|
2437
2468
|
}
|
|
2438
|
-
.bp_combobox_module_container--
|
|
2469
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49 .bp_combobox_module_textInputWrapper--2cc49 .bp_combobox_module_textInput--2cc49{
|
|
2439
2470
|
background-color:var(--combobox-text-input-background-color);
|
|
2440
2471
|
border:none;
|
|
2441
2472
|
color:var(--combobox-text-input-color);
|
|
@@ -2452,31 +2483,32 @@
|
|
|
2452
2483
|
text-transform:var(--body-default-text-case);
|
|
2453
2484
|
width:100%;
|
|
2454
2485
|
}
|
|
2455
|
-
.bp_combobox_module_container--
|
|
2486
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49 .bp_combobox_module_textInputWrapper--2cc49 .bp_combobox_module_errorIcon--2cc49 path{
|
|
2456
2487
|
fill:var(--combobox-error-icon-fill);
|
|
2457
2488
|
}
|
|
2458
|
-
.bp_combobox_module_container--
|
|
2489
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49 .bp_combobox_module_textInputWrapper--2cc49 .bp_combobox_module_comboboxButtons--2cc49{
|
|
2459
2490
|
align-items:center;
|
|
2460
2491
|
display:flex;
|
|
2461
2492
|
position:absolute;
|
|
2462
2493
|
right:var(--combobox-button-spacing);
|
|
2463
2494
|
top:var(--combobox-button-spacing);
|
|
2464
2495
|
}
|
|
2465
|
-
.bp_combobox_module_container--
|
|
2496
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49.bp_combobox_module_withChips--2cc49{
|
|
2466
2497
|
max-height:var(--combobox-container-with-chips-max-height);
|
|
2467
2498
|
padding-block:var(--combobox-container-with-chips-padding-block);
|
|
2468
2499
|
}
|
|
2469
|
-
.bp_combobox_module_container--
|
|
2500
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49.bp_combobox_module_withChips--2cc49:not(:disabled).bp_combobox_module_error--2cc49{
|
|
2470
2501
|
padding-block:var(--combobox-container-with-chips-error-padding-block);
|
|
2471
2502
|
}
|
|
2472
|
-
.bp_combobox_module_container--
|
|
2503
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_comboboxContainer--2cc49.bp_combobox_module_withChips--2cc49:not(:disabled):has(input:focus){
|
|
2473
2504
|
padding-block:var(--combobox-container-with-chips-focus-padding-block);
|
|
2474
2505
|
}
|
|
2475
|
-
.bp_combobox_module_container--
|
|
2506
|
+
.bp_combobox_module_container--2cc49 .bp_combobox_module_inlineError--2cc49{
|
|
2476
2507
|
margin-block-start:var(--combobox-inline-error-margin-block-start);
|
|
2477
2508
|
}
|
|
2478
2509
|
|
|
2479
|
-
.bp_combobox_module_popover--
|
|
2510
|
+
.bp_combobox_module_popover--2cc49{
|
|
2511
|
+
backdrop-filter:var(--combobox-popover-backdrop-filter);
|
|
2480
2512
|
background-color:var(--combobox-popover-background-color);
|
|
2481
2513
|
border:var(--combobox-popover-border);
|
|
2482
2514
|
border-radius:var(--combobox-popover-border-radius);
|
|
@@ -2495,7 +2527,7 @@
|
|
|
2495
2527
|
text-transform:var(--body-default-text-case);
|
|
2496
2528
|
z-index:var(--z-index-popover);
|
|
2497
2529
|
}
|
|
2498
|
-
.bp_combobox_module_popover--
|
|
2530
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_option--2cc49{
|
|
2499
2531
|
border:var(--combobox-option-border);
|
|
2500
2532
|
border-radius:var(--combobox-option-border-radius);
|
|
2501
2533
|
box-sizing:border-box;
|
|
@@ -2509,21 +2541,21 @@
|
|
|
2509
2541
|
user-select:none;
|
|
2510
2542
|
width:100%;
|
|
2511
2543
|
}
|
|
2512
|
-
.bp_combobox_module_popover--
|
|
2544
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_option--2cc49[aria-disabled]{
|
|
2513
2545
|
opacity:var(--combobox-option-disabled-opacity);
|
|
2514
2546
|
}
|
|
2515
|
-
.bp_combobox_module_popover--
|
|
2547
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_option--2cc49[data-active-item]:not([aria-disabled]){
|
|
2516
2548
|
background-color:var(--combobox-option-active-background-color);
|
|
2517
2549
|
border:var(--combobox-option-active-border);
|
|
2518
2550
|
}
|
|
2519
|
-
.bp_combobox_module_popover--
|
|
2551
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_option--2cc49:active{
|
|
2520
2552
|
background-color:var(--combobox-option-hover-background-color);
|
|
2521
2553
|
border:var(--combobox-option-border);
|
|
2522
2554
|
}
|
|
2523
|
-
.bp_combobox_module_popover--
|
|
2555
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_option--2cc49:hover{
|
|
2524
2556
|
background-color:var(--combobox-option-hover-background-color);
|
|
2525
2557
|
}
|
|
2526
|
-
.bp_combobox_module_popover--
|
|
2558
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_option--2cc49 .bp_combobox_module_indicator--2cc49{
|
|
2527
2559
|
align-items:center;
|
|
2528
2560
|
display:flex;
|
|
2529
2561
|
height:var(--combobox-option-indicator-height);
|
|
@@ -2532,16 +2564,16 @@
|
|
|
2532
2564
|
position:absolute;
|
|
2533
2565
|
top:var(--combobox-option-indicator-top);
|
|
2534
2566
|
}
|
|
2535
|
-
.bp_combobox_module_popover--
|
|
2567
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_option--2cc49 .bp_combobox_module_indicator--2cc49 .bp_combobox_module_indicatorIcon--2cc49 path{
|
|
2536
2568
|
fill:var(--combobox-option-indicator-icon-fill);
|
|
2537
2569
|
}
|
|
2538
|
-
.bp_combobox_module_popover--
|
|
2570
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_optionWithIndicator--2cc49{
|
|
2539
2571
|
padding-inline:var(--combobox-option-with-indicator-padding-inline);
|
|
2540
2572
|
}
|
|
2541
|
-
.bp_combobox_module_popover--
|
|
2573
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_loadingIndicator--2cc49{
|
|
2542
2574
|
position:var(--combobox-loading-indicator-position);
|
|
2543
2575
|
}
|
|
2544
|
-
.bp_combobox_module_popover--
|
|
2576
|
+
.bp_combobox_module_popover--2cc49 .bp_combobox_module_noResultOption--2cc49{
|
|
2545
2577
|
color:var(--combobox-no-result-option-color);
|
|
2546
2578
|
-webkit-user-select:none;
|
|
2547
2579
|
user-select:none;
|
|
@@ -6090,65 +6122,144 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
6090
6122
|
.bp_base_text_input_module_textInputContainerOuter--74c72 .bp_base_text_input_module_inlineError--74c72,.bp_base_text_input_module_textInputContainerOuter--74c72 .bp_base_text_input_module_subtext--74c72{
|
|
6091
6123
|
margin-block-start:var(--text-input-inline-error-subtext-block-margin);
|
|
6092
6124
|
}
|
|
6093
|
-
.bp_chip_module_chip--
|
|
6125
|
+
.bp_chip_module_chip--d54cf[data-modern=false]{
|
|
6126
|
+
--chip-gap:var(--space-2);
|
|
6127
|
+
--chip-height:var(--size-8);
|
|
6128
|
+
--chip-radius:var(--radius-half);
|
|
6129
|
+
--chip-padding-inline:0;
|
|
6130
|
+
--chip-label-inline-padding:var(--space-4);
|
|
6131
|
+
--chip-item-inline-padding:var(--space-2);
|
|
6132
|
+
--chip-status-gap:var(--space-2);
|
|
6133
|
+
--chip-status-height:var(--size-5);
|
|
6134
|
+
--chip-status-padding:var(--space-2);
|
|
6135
|
+
--chip-status-background-default:var(--gray-10);
|
|
6136
|
+
--chip-status-radius:var(--radius-half);
|
|
6137
|
+
--chip-button-background:var(--surface-chip-button-surface);
|
|
6138
|
+
--chip-button-background-hover:var(--surface-chip-button-surface-hover);
|
|
6139
|
+
--chip-button-status-text-color:var(--text-text-on-dark);
|
|
6140
|
+
--chip-button-status-background:var(--box-blue-100);
|
|
6141
|
+
--chip-button-focus-box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
|
|
6142
|
+
--chip-button-outline-width:var(--border-2);
|
|
6143
|
+
--chip-button-outline-color:var(--outline-focus-on-light);
|
|
6144
|
+
--chip-single-select-background:var(--surface-filterchip-surface-single);
|
|
6145
|
+
--chip-single-select-background-hover:var(--surface-filterchip-surface-single-hover);
|
|
6146
|
+
--chip-single-select-background-selected:var(--surface-filterchip-surface-single-on);
|
|
6147
|
+
--chip-single-select-background-selected-hover:var(--surface-filterchip-surface-single-on-hover);
|
|
6148
|
+
--chip-single-select-text-color-selected:var(--text-text-on-dark);
|
|
6149
|
+
--chip-single-select-status-text-color-selected:var(--text-text-on-light);
|
|
6150
|
+
--chip-multi-select-background:var(--surface-filterchip-surface-multi);
|
|
6151
|
+
--chip-multi-select-background-hover:var(--surface-filterchip-surface-multi-hover);
|
|
6152
|
+
--chip-multi-select-background-selected:var(--surface-filterchip-surface-multi-on);
|
|
6153
|
+
--chip-multi-select-background-selected-hover:var(--surface-filterchip-surface-multi-on-hover);
|
|
6154
|
+
--chip-multi-select-text-color-selected:var(--text-cta-link);
|
|
6155
|
+
--chip-multi-select-status-text-color-selected:var(--text-text-on-dark);
|
|
6156
|
+
--chip-multi-select-status-background-selected:var(--box-blue-100);
|
|
6157
|
+
--chip-multi-select-icon-color:var(--icon-icon-on-light);
|
|
6158
|
+
--chip-multi-select-border-selected:var(--border-1) solid var(--border-filterchip-border-multi-on);
|
|
6159
|
+
--chip-multi-select-border-color-selected:var(--border-filterchip-border-multi-on);
|
|
6160
|
+
--chip-multi-select-focus-border-selected:var(--border-1) solid var(--gray-white);
|
|
6161
|
+
}
|
|
6162
|
+
|
|
6163
|
+
.bp_chip_module_chip--d54cf[data-modern=true]{
|
|
6164
|
+
--chip-gap:var(--bp-space-020);
|
|
6165
|
+
--chip-height:var(--bp-size-080);
|
|
6166
|
+
--chip-radius:var(--bp-radius-16);
|
|
6167
|
+
--chip-padding-inline:var(--bp-space-000);
|
|
6168
|
+
--chip-label-inline-padding:var(--bp-space-040);
|
|
6169
|
+
--chip-item-inline-padding:var(--bp-space-020);
|
|
6170
|
+
--chip-status-gap:var(--bp-space-020);
|
|
6171
|
+
--chip-status-height:var(--bp-size-050);
|
|
6172
|
+
--chip-status-padding:var(--bp-space-020);
|
|
6173
|
+
--chip-status-background-default:var(--bp-surface-status-surface-gray);
|
|
6174
|
+
--chip-status-radius:var(--bp-radius-16);
|
|
6175
|
+
--chip-button-background:var(--bp-surface-chip-button-surface);
|
|
6176
|
+
--chip-button-background-hover:var(--bp-surface-chip-button-surface-hover);
|
|
6177
|
+
--chip-button-status-text-color:var(--bp-text-text-on-dark);
|
|
6178
|
+
--chip-button-status-background:var(--bp-surface-status-surface-boxblue);
|
|
6179
|
+
--chip-button-focus-box-shadow:0 0 0 var(--bp-border-02) var(--bp-outline-focus-on-light);
|
|
6180
|
+
--chip-button-outline-width:var(--bp-border-02);
|
|
6181
|
+
--chip-button-outline-color:var(--bp-outline-focus-on-light);
|
|
6182
|
+
--chip-single-select-background:var(--bp-surface-filter-chip-surface-single);
|
|
6183
|
+
--chip-single-select-background-hover:var( --bp-surface-filter-chip-surface-single-hover);
|
|
6184
|
+
--chip-single-select-background-selected:var(--bp-surface-filter-chip-surface-single-on);
|
|
6185
|
+
--chip-single-select-background-selected-hover:var(--bp-surface-filter-chip-surface-single-on-hover);
|
|
6186
|
+
--chip-single-select-text-color-selected:var(--bp-text-text-on-dark);
|
|
6187
|
+
--chip-single-select-status-text-color-selected:var(--bp-text-text-on-light);
|
|
6188
|
+
--chip-multi-select-background:var(--bp-surface-filter-chip-surface-multi);
|
|
6189
|
+
--chip-multi-select-background-hover:var(--bp-surface-filter-chip-surface-multi-hover);
|
|
6190
|
+
--chip-multi-select-background-selected:var(--bp-surface-filter-chip-surface-multi-on);
|
|
6191
|
+
--chip-multi-select-background-selected-hover:var(--bp-surface-filter-chip-surface-multi-on-hover);
|
|
6192
|
+
--chip-multi-select-text-color-selected:var(--bp-text-cta-link);
|
|
6193
|
+
--chip-multi-select-status-text-color-selected:var(--bp-text-text-on-dark);
|
|
6194
|
+
--chip-multi-select-status-background-selected:var(--bp-surface-status-surface-boxblue);
|
|
6195
|
+
--chip-multi-select-icon-color:var(--bp-icon-icon-on-light);
|
|
6196
|
+
--chip-multi-select-border-selected:var(--bp-border-01) solid var(--bp-border-filter-chip-border-multi-on);
|
|
6197
|
+
--chip-multi-select-border-color-selected:var(--bp-border-filter-chip-border-multi-on);
|
|
6198
|
+
--chip-multi-select-focus-border-selected:var(--bp-border-01) solid var(--bp-gray-white);
|
|
6199
|
+
}
|
|
6200
|
+
|
|
6201
|
+
.bp_chip_module_chip--d54cf{
|
|
6094
6202
|
align-items:center;
|
|
6095
6203
|
border:none;
|
|
6096
|
-
border-radius:var(--radius
|
|
6204
|
+
border-radius:var(--chip-radius);
|
|
6097
6205
|
cursor:pointer;
|
|
6098
6206
|
display:flex;
|
|
6099
6207
|
font-family:var(--body-default-bold-font-family);
|
|
6100
6208
|
font-size:var(--body-default-bold-font-size);
|
|
6101
6209
|
font-weight:var(--body-default-bold-font-weight);
|
|
6102
|
-
gap:var(--
|
|
6103
|
-
height:var(--
|
|
6210
|
+
gap:var(--chip-gap);
|
|
6211
|
+
height:var(--chip-height);
|
|
6104
6212
|
letter-spacing:var(--body-default-bold-letter-spacing);
|
|
6105
6213
|
line-height:var(--body-default-bold-line-height);
|
|
6106
|
-
padding-inline:
|
|
6214
|
+
padding-inline:var(--chip-padding-inline);
|
|
6107
6215
|
-webkit-text-decoration:var(--body-default-bold-text-decoration);
|
|
6108
6216
|
text-decoration:var(--body-default-bold-text-decoration);
|
|
6109
6217
|
text-transform:var(--body-default-bold-text-case);
|
|
6110
6218
|
}
|
|
6111
|
-
.bp_chip_module_chip--
|
|
6112
|
-
margin-inline-start:var(--
|
|
6219
|
+
.bp_chip_module_chip--d54cf .bp_chip_module_labelText--d54cf:first-child{
|
|
6220
|
+
margin-inline-start:var(--chip-label-inline-padding);
|
|
6113
6221
|
}
|
|
6114
|
-
.bp_chip_module_chip--
|
|
6115
|
-
margin-inline-end:var(--
|
|
6222
|
+
.bp_chip_module_chip--d54cf .bp_chip_module_labelText--d54cf:last-child{
|
|
6223
|
+
margin-inline-end:var(--chip-label-inline-padding);
|
|
6116
6224
|
}
|
|
6117
|
-
.bp_chip_module_chip--
|
|
6118
|
-
margin-inline-start:var(--
|
|
6225
|
+
.bp_chip_module_chip--d54cf .bp_chip_module_chipStatus--d54cf:first-child,.bp_chip_module_chip--d54cf svg:first-child{
|
|
6226
|
+
margin-inline-start:var(--chip-item-inline-padding);
|
|
6119
6227
|
}
|
|
6120
|
-
.bp_chip_module_chip--
|
|
6121
|
-
margin-inline-end:var(--
|
|
6228
|
+
.bp_chip_module_chip--d54cf .bp_chip_module_chipStatus--d54cf:last-child,.bp_chip_module_chip--d54cf svg:last-child{
|
|
6229
|
+
margin-inline-end:var(--chip-item-inline-padding);
|
|
6122
6230
|
}
|
|
6123
|
-
.bp_chip_module_chip--
|
|
6231
|
+
.bp_chip_module_chip--d54cf:disabled{
|
|
6124
6232
|
cursor:default;
|
|
6125
6233
|
pointer-events:none;
|
|
6126
6234
|
}
|
|
6127
|
-
.bp_chip_module_chip--
|
|
6235
|
+
.bp_chip_module_chip--d54cf:disabled svg{
|
|
6236
|
+
opacity:.4;
|
|
6237
|
+
}
|
|
6238
|
+
.bp_chip_module_chip--d54cf .bp_chip_module_chipStatus--d54cf{
|
|
6128
6239
|
align-items:center;
|
|
6129
|
-
background-color:var(--
|
|
6130
|
-
border-radius:var(--radius
|
|
6240
|
+
background-color:var(--chip-status-background-default);
|
|
6241
|
+
border-radius:var(--chip-status-radius);
|
|
6131
6242
|
box-sizing:border-box;
|
|
6132
6243
|
display:flex;
|
|
6133
6244
|
flex-grow:0;
|
|
6134
6245
|
font-family:var(--label-bold-font-family);
|
|
6135
6246
|
font-size:var(--label-bold-font-size);
|
|
6136
6247
|
font-weight:var(--label-bold-font-weight);
|
|
6137
|
-
gap:var(--
|
|
6138
|
-
height:var(--
|
|
6248
|
+
gap:var(--chip-status-gap);
|
|
6249
|
+
height:var(--chip-status-height);
|
|
6139
6250
|
justify-content:center;
|
|
6140
6251
|
letter-spacing:var(--label-bold-letter-spacing);
|
|
6141
6252
|
line-height:var(--label-bold-line-height);
|
|
6142
|
-
padding:var(--
|
|
6253
|
+
padding:var(--chip-status-padding);
|
|
6143
6254
|
-webkit-text-decoration:var(--label-bold-text-decoration);
|
|
6144
6255
|
text-decoration:var(--label-bold-text-decoration);
|
|
6145
6256
|
text-transform:var(--label-bold-text-case);
|
|
6146
6257
|
}
|
|
6147
|
-
.bp_chip_module_chip--
|
|
6258
|
+
.bp_chip_module_chip--d54cf .bp_chip_module_labelText--d54cf{
|
|
6148
6259
|
white-space:nowrap;
|
|
6149
6260
|
}
|
|
6150
|
-
.bp_chip_module_chip--
|
|
6151
|
-
background-color:var(--
|
|
6261
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf{
|
|
6262
|
+
background-color:var(--chip-button-background);
|
|
6152
6263
|
font-family:var(--body-default-font-family);
|
|
6153
6264
|
font-size:var(--body-default-font-size);
|
|
6154
6265
|
font-weight:var(--body-default-font-weight);
|
|
@@ -6158,52 +6269,51 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
6158
6269
|
text-decoration:var(--body-default-text-decoration);
|
|
6159
6270
|
text-transform:var(--body-default-text-case);
|
|
6160
6271
|
}
|
|
6161
|
-
.bp_chip_module_chip--
|
|
6162
|
-
box-shadow:0 0 0 var(--
|
|
6272
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:focus-visible{
|
|
6273
|
+
box-shadow:0 0 0 var(--chip-button-outline-width) var(--chip-button-outline-width);
|
|
6163
6274
|
outline:none;
|
|
6164
6275
|
overflow:visible;
|
|
6165
6276
|
}
|
|
6166
|
-
.bp_chip_module_chip--
|
|
6167
|
-
background-color:var(--
|
|
6168
|
-
color:var(--
|
|
6277
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf .bp_chip_module_chipStatus--d54cf{
|
|
6278
|
+
background-color:var(--chip-button-status-background);
|
|
6279
|
+
color:var(--chip-button-status-text-color);
|
|
6169
6280
|
}
|
|
6170
|
-
.bp_chip_module_chip--
|
|
6171
|
-
box-shadow:
|
|
6281
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:focus-visible,.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf[data-active-item]{
|
|
6282
|
+
box-shadow:var(--chip-button-focus-box-shadow);
|
|
6172
6283
|
outline:none;
|
|
6173
6284
|
}
|
|
6174
|
-
.bp_chip_module_chip--
|
|
6285
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:disabled{
|
|
6175
6286
|
pointer-events:none;
|
|
6176
6287
|
}
|
|
6177
|
-
.bp_chip_module_chip--
|
|
6288
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:disabled .bp_chip_module_chipStatus--d54cf,.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:disabled svg{
|
|
6178
6289
|
opacity:.4;
|
|
6179
6290
|
}
|
|
6180
|
-
.bp_chip_module_chip--
|
|
6181
|
-
background-color:var(--
|
|
6291
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:hover:enabled{
|
|
6292
|
+
background-color:var(--chip-button-background-hover);
|
|
6182
6293
|
}
|
|
6183
|
-
.bp_chip_module_chip--
|
|
6184
|
-
background-color:var(--
|
|
6294
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf{
|
|
6295
|
+
background-color:var(--chip-single-select-background);
|
|
6185
6296
|
}
|
|
6186
|
-
.bp_chip_module_chip--
|
|
6187
|
-
background-color:var(--
|
|
6188
|
-
color:var(--
|
|
6297
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf[data-state=on]{
|
|
6298
|
+
background-color:var(--chip-single-select-background-selected);
|
|
6299
|
+
color:var(--chip-single-select-text-color-selected);
|
|
6189
6300
|
}
|
|
6190
|
-
.bp_chip_module_chip--
|
|
6191
|
-
background-color:var(--
|
|
6301
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf[data-state=on]:hover{
|
|
6302
|
+
background-color:var(--chip-single-select-background-selected-hover);
|
|
6192
6303
|
}
|
|
6193
|
-
.bp_chip_module_chip--
|
|
6194
|
-
color:var(--
|
|
6304
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf[data-state=on] .bp_chip_module_chipStatus--d54cf{
|
|
6305
|
+
color:var(--chip-single-select-status-text-color-selected);
|
|
6195
6306
|
}
|
|
6196
|
-
.bp_chip_module_chip--
|
|
6307
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf:focus-visible,.bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf[data-active-item]{
|
|
6197
6308
|
box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
|
|
6198
6309
|
outline:var(--border-1) solid var(--gray-white);
|
|
6199
6310
|
outline-offset:calc(var(--border-1)*-1);
|
|
6200
6311
|
}
|
|
6201
|
-
.bp_chip_module_chip--
|
|
6202
|
-
background-color:var(--
|
|
6312
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf:hover:not([data-state=on]){
|
|
6313
|
+
background-color:var(--chip-single-select-background-hover);
|
|
6203
6314
|
}
|
|
6204
|
-
.bp_chip_module_chip--
|
|
6205
|
-
background-color:var(--
|
|
6206
|
-
border:var(--border-1) solid var(--surface-filterchip-surface-multi);
|
|
6315
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf{
|
|
6316
|
+
background-color:var(--chip-multi-select-background);
|
|
6207
6317
|
font-family:var(--body-default-font-family);
|
|
6208
6318
|
font-size:var(--body-default-font-size);
|
|
6209
6319
|
font-weight:var(--body-default-font-weight);
|
|
@@ -6213,13 +6323,13 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
6213
6323
|
text-decoration:var(--body-default-text-decoration);
|
|
6214
6324
|
text-transform:var(--body-default-text-case);
|
|
6215
6325
|
}
|
|
6216
|
-
.bp_chip_module_chip--
|
|
6217
|
-
fill:var(--
|
|
6326
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf path{
|
|
6327
|
+
fill:var(--chip-multi-select-icon-color);
|
|
6218
6328
|
}
|
|
6219
|
-
.bp_chip_module_chip--
|
|
6220
|
-
background-color:var(--
|
|
6221
|
-
border:var(--
|
|
6222
|
-
color:var(--text-
|
|
6329
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on]{
|
|
6330
|
+
background-color:var(--chip-multi-select-background-selected);
|
|
6331
|
+
border:var(--chip-multi-select-border-selected);
|
|
6332
|
+
color:var(--chip-multi-select-text-color-selected);
|
|
6223
6333
|
font-family:var(--body-default-bold-font-family);
|
|
6224
6334
|
font-size:var(--body-default-bold-font-size);
|
|
6225
6335
|
font-weight:var(--body-default-bold-font-weight);
|
|
@@ -6229,32 +6339,31 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
6229
6339
|
text-decoration:var(--body-default-bold-text-decoration);
|
|
6230
6340
|
text-transform:var(--body-default-bold-text-case);
|
|
6231
6341
|
}
|
|
6232
|
-
.bp_chip_module_chip--
|
|
6233
|
-
fill:var(--text-
|
|
6342
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on] path{
|
|
6343
|
+
fill:var(--chip-multi-select-text-color-selected);
|
|
6234
6344
|
}
|
|
6235
|
-
.bp_chip_module_chip--
|
|
6236
|
-
background-color:var(--
|
|
6345
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on]:hover{
|
|
6346
|
+
background-color:var(--chip-multi-select-background-selected-hover);
|
|
6237
6347
|
}
|
|
6238
|
-
.bp_chip_module_chip--
|
|
6239
|
-
border:var(--border-
|
|
6348
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on]:focus-visible,.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on][data-active-item]{
|
|
6349
|
+
border:var(--chip-multi-select-focus-border-selected);
|
|
6240
6350
|
box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
|
|
6241
|
-
outline:var(--border-1) solid var(--
|
|
6351
|
+
outline:var(--border-1) solid var(--chip-multi-select-border-color-selected);
|
|
6242
6352
|
outline-offset:calc(var(--border-2)*-1);
|
|
6243
6353
|
}
|
|
6244
|
-
.bp_chip_module_chip--
|
|
6245
|
-
background-color:var(--
|
|
6246
|
-
color:var(--
|
|
6354
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on] .bp_chip_module_chipStatus--d54cf{
|
|
6355
|
+
background-color:var(--chip-multi-select-status-background-selected);
|
|
6356
|
+
color:var(--chip-multi-select-status-text-color-selected);
|
|
6247
6357
|
}
|
|
6248
|
-
.bp_chip_module_chip--
|
|
6358
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf:focus-visible:not([data-state=on]),.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-active-item]:not([data-state=on]){
|
|
6249
6359
|
box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
|
|
6250
6360
|
outline:var(--border-1) solid var(--gray-white);
|
|
6251
6361
|
outline-offset:calc(var(--border-1)*-1);
|
|
6252
6362
|
}
|
|
6253
|
-
.bp_chip_module_chip--
|
|
6254
|
-
background-color:var(--
|
|
6255
|
-
border:var(--border-1) solid var(--surface-filterchip-surface-multi-hover);
|
|
6363
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf:hover:not([data-state=on]){
|
|
6364
|
+
background-color:var(--chip-multi-select-background-hover);
|
|
6256
6365
|
}
|
|
6257
|
-
.bp_chip_module_chip--
|
|
6366
|
+
.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf span::before{
|
|
6258
6367
|
content:attr(data-text);
|
|
6259
6368
|
display:block;
|
|
6260
6369
|
font-family:var(--body-default-bold-font-family);
|
|
@@ -6270,20 +6379,30 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
6270
6379
|
visibility:hidden;
|
|
6271
6380
|
}
|
|
6272
6381
|
|
|
6273
|
-
.bp_chip_module_chipsGroup--
|
|
6382
|
+
.bp_chip_module_chipsGroup--d54cf[data-modern=false]{
|
|
6383
|
+
--chips-group-gap:var(--space-2);
|
|
6384
|
+
--chips-group-small-screen-padding:var(--space-5);
|
|
6385
|
+
}
|
|
6386
|
+
|
|
6387
|
+
.bp_chip_module_chipsGroup--d54cf[data-modern=true]{
|
|
6388
|
+
--chips-group-gap:var(--bp-space-020);
|
|
6389
|
+
--chips-group-small-screen-padding:var(--bp-space-050);
|
|
6390
|
+
}
|
|
6391
|
+
|
|
6392
|
+
.bp_chip_module_chipsGroup--d54cf{
|
|
6274
6393
|
display:flex;
|
|
6275
6394
|
flex-wrap:wrap;
|
|
6276
|
-
gap:var(--
|
|
6395
|
+
gap:var(--chips-group-gap);
|
|
6277
6396
|
}
|
|
6278
6397
|
@media (max-width: 767px){
|
|
6279
|
-
.bp_chip_module_chipsGroup--
|
|
6398
|
+
.bp_chip_module_chipsGroup--d54cf{
|
|
6280
6399
|
-ms-overflow-style:none;
|
|
6281
6400
|
flex-wrap:nowrap;
|
|
6282
6401
|
overflow-x:scroll;
|
|
6283
|
-
padding:var(--
|
|
6402
|
+
padding:var(--chips-group-small-screen-padding);
|
|
6284
6403
|
scrollbar-width:none;
|
|
6285
6404
|
}
|
|
6286
|
-
.bp_chip_module_chipsGroup--
|
|
6405
|
+
.bp_chip_module_chipsGroup--d54cf::-webkit-scrollbar{
|
|
6287
6406
|
display:none;
|
|
6288
6407
|
}
|
|
6289
6408
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { clsx } from 'clsx';
|
|
3
|
+
import 'react';
|
|
4
|
+
import { useBlueprintModernization } from '../blueprint-modernization-context/useBlueprintModernization.js';
|
|
3
5
|
import styles from './loading-indicator.module.js';
|
|
4
6
|
|
|
5
7
|
function LoadingIndicator(props) {
|
|
@@ -11,11 +13,15 @@ function LoadingIndicator(props) {
|
|
|
11
13
|
className = '',
|
|
12
14
|
...rest
|
|
13
15
|
} = props;
|
|
16
|
+
const {
|
|
17
|
+
enableModernizedComponents
|
|
18
|
+
} = useBlueprintModernization();
|
|
14
19
|
return jsxs("div", {
|
|
15
20
|
...rest,
|
|
16
21
|
"aria-label": ariaLabel,
|
|
17
22
|
"aria-live": ariaLive,
|
|
18
23
|
className: clsx(styles.crawler, styles[variant], styles[size], className),
|
|
24
|
+
"data-modern": enableModernizedComponents,
|
|
19
25
|
role: "status",
|
|
20
26
|
children: [jsx("div", {
|
|
21
27
|
className: styles.segment
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"crawler":"bp_loading_indicator_module_crawler--
|
|
2
|
+
var styles = {"crawler":"bp_loading_indicator_module_crawler--47d03","segment":"bp_loading_indicator_module_segment--47d03","small":"bp_loading_indicator_module_small--47d03","large":"bp_loading_indicator_module_large--47d03","x-large":"bp_loading_indicator_module_x-large--47d03","default":"bp_loading_indicator_module_default--47d03","segment-transform":"bp_loading_indicator_module_segment-transform--47d03","segment-default":"bp_loading_indicator_module_segment-default--47d03","dark":"bp_loading_indicator_module_dark--47d03","segment-dark":"bp_loading_indicator_module_segment-dark--47d03","light":"bp_loading_indicator_module_light--47d03","segment-light":"bp_loading_indicator_module_segment-light--47d03"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -2,6 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as ToggleGroup from '@radix-ui/react-toggle-group';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
+
import { useBlueprintModernization } from '../../blueprint-modernization-context/useBlueprintModernization.js';
|
|
5
6
|
import styles from './chip.module.js';
|
|
6
7
|
|
|
7
8
|
const Chip = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
@@ -10,10 +11,14 @@ const Chip = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
10
11
|
children,
|
|
11
12
|
...rest
|
|
12
13
|
} = props;
|
|
14
|
+
const {
|
|
15
|
+
enableModernizedComponents
|
|
16
|
+
} = useBlueprintModernization();
|
|
13
17
|
return jsx(ToggleGroup.Item, {
|
|
14
18
|
...rest,
|
|
15
19
|
ref: forwardedRef,
|
|
16
20
|
className: clsx(styles.chip, className),
|
|
21
|
+
"data-modern": enableModernizedComponents,
|
|
17
22
|
children: children
|
|
18
23
|
});
|
|
19
24
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"chip":"bp_chip_module_chip--
|
|
2
|
+
var styles = {"chip":"bp_chip_module_chip--d54cf","labelText":"bp_chip_module_labelText--d54cf","chipStatus":"bp_chip_module_chipStatus--d54cf","chipButton":"bp_chip_module_chipButton--d54cf","singleSelectChip":"bp_chip_module_singleSelectChip--d54cf","multiSelectChip":"bp_chip_module_multiSelectChip--d54cf","chipsGroup":"bp_chip_module_chipsGroup--d54cf"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -2,6 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as ToggleGroup from '@radix-ui/react-toggle-group';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
+
import { useBlueprintModernization } from '../../blueprint-modernization-context/useBlueprintModernization.js';
|
|
5
6
|
import styles from './chip.module.js';
|
|
6
7
|
|
|
7
8
|
/** Provides a container for Chips, this component handles keyboard navigation and chips selection state */
|
|
@@ -11,10 +12,14 @@ const ChipsGroup = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
11
12
|
children,
|
|
12
13
|
...rest
|
|
13
14
|
} = props;
|
|
15
|
+
const {
|
|
16
|
+
enableModernizedComponents
|
|
17
|
+
} = useBlueprintModernization();
|
|
14
18
|
return jsx(ToggleGroup.Root, {
|
|
15
19
|
...rest,
|
|
16
20
|
ref: forwardedRef,
|
|
17
21
|
className: clsx([styles.chipsGroup, className]),
|
|
22
|
+
"data-modern": enableModernizedComponents,
|
|
18
23
|
children: children
|
|
19
24
|
});
|
|
20
25
|
});
|