@box/blueprint-web 12.71.0 → 12.72.0
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/index.css +122 -101
- package/dist/lib-esm/inline-table/inline-table.module.js +1 -1
- package/dist/lib-esm/primitives/base-button/base-button.module.js +1 -1
- package/dist/lib-esm/time-picker/time-picker.module.js +1 -1
- package/dist/lib-esm/util-components/text-with-info-badge/text-with-info-badge.js +6 -0
- package/dist/lib-esm/util-components/text-with-info-badge/text-with-info-badge.module.js +1 -1
- package/package.json +1 -1
package/dist/lib-esm/index.css
CHANGED
|
@@ -272,13 +272,13 @@
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
.bp_base_button_module_button--
|
|
275
|
+
.bp_base_button_module_button--4c200[data-modern=true]{
|
|
276
276
|
--button-border-radius:var(--bp-radius-10);
|
|
277
277
|
}
|
|
278
|
-
.bp_base_button_module_button--
|
|
278
|
+
.bp_base_button_module_button--4c200[data-modern=true]:not(:disabled)[data-focus-visible]{
|
|
279
279
|
box-shadow:0 0 0 var(--border-1, 1px) var(--background-background), 0 0 0 var(--border-3) var(--bp-outline-focus-on-light);
|
|
280
280
|
}
|
|
281
|
-
.bp_base_button_module_button--
|
|
281
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_primary--4c200{
|
|
282
282
|
--button-color:var(--bp-text-text-on-dark);
|
|
283
283
|
--button-background:var(--bp-surface-surface-brand);
|
|
284
284
|
--button-border:var(--bp-border-01) solid var(--bp-surface-surface-brand);
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
--button-active-background:var(--bp-surface-surface-brand-pressed);
|
|
288
288
|
--button-active-border:var(--bp-border-01) solid var(--bp-surface-surface-brand-pressed);
|
|
289
289
|
}
|
|
290
|
-
.bp_base_button_module_button--
|
|
290
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_secondary--4c200{
|
|
291
291
|
--button-color:var(--bp-text-text-on-light);
|
|
292
292
|
--button-background:var(--bp-surface-cta-surface-secondary);
|
|
293
293
|
--button-border:var(--bp-border-01) solid var(--bp-border-cta-border-secondary);
|
|
@@ -297,57 +297,57 @@
|
|
|
297
297
|
--button-active-border:var(--bp-border-01) solid var(--bp-border-cta-border-secondary);
|
|
298
298
|
--button-backdrop-filter:blur(16px);
|
|
299
299
|
}
|
|
300
|
-
.bp_base_button_module_button--
|
|
300
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_tertiary--4c200{
|
|
301
301
|
--button-color:var(--bp-text-cta-link);
|
|
302
302
|
--button-background:var(--bp-surface-cta-surface-tertiary);
|
|
303
303
|
--button-focus-or-hover-background:var(--bp-surface-cta-surface-tertiary-hover);
|
|
304
304
|
--button-active-background:var(--bp-surface-cta-surface-tertiary-pressed);
|
|
305
305
|
--button-backdrop-filter:blur(16px);
|
|
306
306
|
}
|
|
307
|
-
.bp_base_button_module_button--
|
|
307
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_outline--4c200{
|
|
308
308
|
--button-color:var(--bp-text-text-on-light);
|
|
309
|
-
--button-background:var(--bp-surface-cta-surface-
|
|
309
|
+
--button-background:var(--bp-surface-cta-surface-secondary);
|
|
310
310
|
--button-border:var(--bp-border-01) solid var(--bp-border-cta-border-high-contrast);
|
|
311
|
-
--button-focus-or-hover-background:var(--bp-surface-cta-surface-
|
|
311
|
+
--button-focus-or-hover-background:var(--bp-surface-cta-surface-secondary-hover);
|
|
312
312
|
--button-focus-or-hover-border:var(--bp-border-01) solid var(--bp-border-cta-border-high-contrast);
|
|
313
|
-
--button-active-background:var(--bp-surface-cta-surface-
|
|
313
|
+
--button-active-background:var(--bp-surface-cta-surface-secondary-pressed);
|
|
314
314
|
--button-active-border:var(--bp-border-01) solid var(--bp-border-cta-border-high-contrast);
|
|
315
315
|
--button-backdrop-filter:blur(16px);
|
|
316
316
|
}
|
|
317
|
-
.bp_base_button_module_button--
|
|
317
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_small--4c200{
|
|
318
318
|
--button-small-gap:var(--bp-space-010);
|
|
319
319
|
--button-small-min-height:var(--bp-size-080);
|
|
320
|
-
--button-small-padding:0 var(--bp-size-
|
|
320
|
+
--button-small-padding:0 var(--bp-size-030);
|
|
321
321
|
}
|
|
322
|
-
.bp_base_button_module_button--
|
|
322
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_small--4c200.bp_base_button_module_isIconButton--4c200{
|
|
323
323
|
--icon-button-small-width:var(--bp-size-080);
|
|
324
324
|
--icon-button-small-height:var(--bp-size-080);
|
|
325
325
|
--icon-button-small-padding:0 calc((var(--bp-size-080) - var(--bp-size-040))/2);
|
|
326
326
|
}
|
|
327
|
-
.bp_base_button_module_button--
|
|
327
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_small--4c200.bp_base_button_module_isTextWithIconButton--4c200{
|
|
328
328
|
--button-small-padding:0 0.625rem 0 var(--bp-space-030);
|
|
329
329
|
}
|
|
330
|
-
.bp_base_button_module_button--
|
|
330
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_large--4c200{
|
|
331
331
|
--button-large-gap:var(--bp-space-020);
|
|
332
332
|
--button-large-min-height:var(--bp-size-100);
|
|
333
333
|
--button-large-padding:0 var(--bp-size-040);
|
|
334
334
|
}
|
|
335
|
-
.bp_base_button_module_button--
|
|
335
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_large--4c200.bp_base_button_module_isIconButton--4c200{
|
|
336
336
|
--icon-button-large-width:var(--bp-size-100);
|
|
337
337
|
--icon-button-large-height:var(--bp-size-100);
|
|
338
338
|
--icon-button-large-padding:0 calc((var(--bp-size-100) - var(--bp-size-050))/2);
|
|
339
339
|
}
|
|
340
|
-
.bp_base_button_module_button--
|
|
340
|
+
.bp_base_button_module_button--4c200[data-modern=true].bp_base_button_module_large--4c200.bp_base_button_module_isTextWithIconButton--4c200{
|
|
341
341
|
--button-large-padding:0 0.875rem 0 var(--bp-space-040);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
.bp_base_button_module_button--
|
|
344
|
+
.bp_base_button_module_button--4c200[data-modern=false]{
|
|
345
345
|
--button-border-radius:var(--radius-2);
|
|
346
346
|
}
|
|
347
|
-
.bp_base_button_module_button--
|
|
347
|
+
.bp_base_button_module_button--4c200[data-modern=false]:not(:disabled)[data-focus-visible]{
|
|
348
348
|
box-shadow:0 0 0 var(--border-1, 1px) var(--background-background), 0 0 0 var(--border-3) var(--outline-focus-on-light);
|
|
349
349
|
}
|
|
350
|
-
.bp_base_button_module_button--
|
|
350
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_primary--4c200{
|
|
351
351
|
--button-color:var(--text-text-brand-on-color);
|
|
352
352
|
--button-background:var(--surface-surface-brand);
|
|
353
353
|
--button-border:var(--border-1) solid var(--surface-surface-brand);
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
--button-active-background:var(--surface-surface-brand-pressed);
|
|
357
357
|
--button-active-border:var(--border-1) solid var(--surface-surface-brand-pressed);
|
|
358
358
|
}
|
|
359
|
-
.bp_base_button_module_button--
|
|
359
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_secondary--4c200{
|
|
360
360
|
--button-color:var(--text-text-on-light);
|
|
361
361
|
--button-background:var(--surface-cta-surface-secondary);
|
|
362
362
|
--button-border:var(--border-1) solid var(--border-cta-border-secondary);
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
--button-active-border:var(--border-1) solid var(--border-cta-border-secondary-pressed);
|
|
367
367
|
--button-backdrop-filter:none;
|
|
368
368
|
}
|
|
369
|
-
.bp_base_button_module_button--
|
|
369
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_tertiary--4c200{
|
|
370
370
|
--button-color:var(--text-cta-link);
|
|
371
371
|
--button-background:#0000;
|
|
372
372
|
--button-border:var(--border-1) solid #0000;
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
--button-active-background:var(--surface-cta-surface-tertiary-pressed);
|
|
375
375
|
--button-backdrop-filter:none;
|
|
376
376
|
}
|
|
377
|
-
.bp_base_button_module_button--
|
|
377
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_outline--4c200{
|
|
378
378
|
--button-color:var(--text-text-on-light);
|
|
379
379
|
--button-background:var(--surface-cta-surface-outline);
|
|
380
380
|
--button-border:var(--border-1) solid var(--border-cta-border-outline);
|
|
@@ -384,34 +384,34 @@
|
|
|
384
384
|
--button-active-border:var(--border-1) solid var(--border-cta-border-outline-pressed);
|
|
385
385
|
--button-backdrop-filter:none;
|
|
386
386
|
}
|
|
387
|
-
.bp_base_button_module_button--
|
|
387
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_small--4c200{
|
|
388
388
|
--button-small-gap:var(--space-1);
|
|
389
389
|
--button-small-min-height:var(--size-8);
|
|
390
390
|
--button-small-padding:0 var(--space-4);
|
|
391
391
|
}
|
|
392
|
-
.bp_base_button_module_button--
|
|
392
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_small--4c200.bp_base_button_module_isIconButton--4c200{
|
|
393
393
|
--icon-button-small-width:var(--size-8);
|
|
394
394
|
--icon-button-small-height:var(--size-8);
|
|
395
395
|
--icon-button-small-padding:0 calc((var(--space-8) - var(--space-4))/2);
|
|
396
396
|
}
|
|
397
|
-
.bp_base_button_module_button--
|
|
397
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_small--4c200.bp_base_button_module_isTextWithIconButton--4c200{
|
|
398
398
|
--button-small-padding:0 var(--space-3);
|
|
399
399
|
}
|
|
400
|
-
.bp_base_button_module_button--
|
|
400
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_large--4c200{
|
|
401
401
|
--button-large-gap:var(--space-2);
|
|
402
402
|
--button-large-min-height:var(--size-10);
|
|
403
403
|
--button-large-padding:0 var(--space-4);
|
|
404
404
|
}
|
|
405
|
-
.bp_base_button_module_button--
|
|
405
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_large--4c200.bp_base_button_module_isIconButton--4c200{
|
|
406
406
|
--icon-button-large-width:var(--size-10);
|
|
407
407
|
--icon-button-large-height:var(--size-10);
|
|
408
408
|
--icon-button-large-padding:0 calc((var(--space-10) - var(--space-5))/2);
|
|
409
409
|
}
|
|
410
|
-
.bp_base_button_module_button--
|
|
410
|
+
.bp_base_button_module_button--4c200[data-modern=false].bp_base_button_module_large--4c200.bp_base_button_module_isTextWithIconButton--4c200{
|
|
411
411
|
--button-large-padding:0 var(--space-4);
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
.bp_base_button_module_button--
|
|
414
|
+
.bp_base_button_module_button--4c200{
|
|
415
415
|
border-radius:var(--button-border-radius);
|
|
416
416
|
cursor:pointer;
|
|
417
417
|
font-family:var(--body-default-bold-font-family);
|
|
@@ -428,98 +428,98 @@
|
|
|
428
428
|
user-select:none;
|
|
429
429
|
white-space:nowrap;
|
|
430
430
|
}
|
|
431
|
-
.bp_base_button_module_button--
|
|
431
|
+
.bp_base_button_module_button--4c200,.bp_base_button_module_button--4c200 .bp_base_button_module_icon--4c200{
|
|
432
432
|
align-items:center;
|
|
433
433
|
display:flex;
|
|
434
434
|
}
|
|
435
|
-
.bp_base_button_module_button--
|
|
435
|
+
.bp_base_button_module_button--4c200:disabled{
|
|
436
436
|
opacity:.3;
|
|
437
437
|
}
|
|
438
|
-
.bp_base_button_module_button--
|
|
438
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_primary--4c200{
|
|
439
439
|
background:var(--button-background);
|
|
440
440
|
border:var(--button-border);
|
|
441
441
|
color:var(--button-color);
|
|
442
442
|
}
|
|
443
|
-
.bp_base_button_module_button--
|
|
443
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_primary--4c200:not(:disabled):hover,.bp_base_button_module_button--4c200.bp_base_button_module_primary--4c200:not(:disabled)[data-focus-visible]{
|
|
444
444
|
background:var(--button-focus-or-hover-background);
|
|
445
445
|
border:var(--button-focus-or-hover-border);
|
|
446
446
|
}
|
|
447
|
-
.bp_base_button_module_button--
|
|
447
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_primary--4c200:not(:disabled):active{
|
|
448
448
|
background:var(--button-active-background);
|
|
449
449
|
border:var(--button-active-border);
|
|
450
450
|
}
|
|
451
|
-
.bp_base_button_module_button--
|
|
451
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_secondary--4c200{
|
|
452
452
|
backdrop-filter:var(--button-backdrop-filter);
|
|
453
453
|
background:var(--button-background);
|
|
454
454
|
border:var(--button-border);
|
|
455
455
|
color:var(--button-color);
|
|
456
456
|
}
|
|
457
|
-
.bp_base_button_module_button--
|
|
457
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_secondary--4c200:not(:disabled):hover,.bp_base_button_module_button--4c200.bp_base_button_module_secondary--4c200:not(:disabled)[data-focus-visible]{
|
|
458
458
|
background:var(--button-focus-or-hover-background);
|
|
459
459
|
border:var(--button-focus-or-hover-border);
|
|
460
460
|
}
|
|
461
|
-
.bp_base_button_module_button--
|
|
461
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_secondary--4c200:not(:disabled):active{
|
|
462
462
|
background:var(--button-active-background);
|
|
463
463
|
border:var(--button-active-border);
|
|
464
464
|
}
|
|
465
|
-
.bp_base_button_module_button--
|
|
465
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_tertiary--4c200{
|
|
466
466
|
backdrop-filter:var(--button-backdrop-filter);
|
|
467
467
|
background:var(--button-background);
|
|
468
468
|
border:var(--button-border);
|
|
469
469
|
color:var(--button-color);
|
|
470
470
|
}
|
|
471
|
-
.bp_base_button_module_button--
|
|
471
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_tertiary--4c200:not(:disabled):hover,.bp_base_button_module_button--4c200.bp_base_button_module_tertiary--4c200:not(:disabled)[data-focus-visible]{
|
|
472
472
|
background:var(--button-focus-or-hover-background);
|
|
473
473
|
}
|
|
474
|
-
.bp_base_button_module_button--
|
|
474
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_tertiary--4c200:not(:disabled):active{
|
|
475
475
|
background:var(--button-active-background);
|
|
476
476
|
}
|
|
477
|
-
.bp_base_button_module_button--
|
|
477
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_outline--4c200{
|
|
478
478
|
backdrop-filter:var(--button-backdrop-filter);
|
|
479
479
|
background:var(--button-background);
|
|
480
480
|
border:var(--button-border);
|
|
481
481
|
color:var(--button-color);
|
|
482
482
|
}
|
|
483
|
-
.bp_base_button_module_button--
|
|
483
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_outline--4c200:not(:disabled):hover,.bp_base_button_module_button--4c200.bp_base_button_module_outline--4c200:not(:disabled)[data-focus-visible]{
|
|
484
484
|
background:var(--button-focus-or-hover-background);
|
|
485
485
|
border:var(--button-focus-or-hover-border);
|
|
486
486
|
}
|
|
487
|
-
.bp_base_button_module_button--
|
|
487
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_outline--4c200:not(:disabled):active{
|
|
488
488
|
background:var(--button-active-background);
|
|
489
489
|
border:var(--button-active-border);
|
|
490
490
|
}
|
|
491
|
-
.bp_base_button_module_button--
|
|
491
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_small--4c200{
|
|
492
492
|
gap:var(--button-small-gap);
|
|
493
493
|
min-height:var(--button-small-min-height);
|
|
494
494
|
padding:var(--button-small-padding);
|
|
495
495
|
}
|
|
496
|
-
.bp_base_button_module_button--
|
|
496
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_small--4c200.bp_base_button_module_isIconButton--4c200{
|
|
497
497
|
height:var(--icon-button-small-height);
|
|
498
498
|
min-height:unset;
|
|
499
499
|
padding:var(--icon-button-small-padding);
|
|
500
500
|
width:var(--icon-button-small-width);
|
|
501
501
|
}
|
|
502
|
-
.bp_base_button_module_button--
|
|
502
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_small--4c200.bp_base_button_module_isTextWithIconButton--4c200{
|
|
503
503
|
padding:var(--button-small-padding);
|
|
504
504
|
}
|
|
505
|
-
.bp_base_button_module_button--
|
|
505
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_large--4c200{
|
|
506
506
|
gap:var(--button-large-gap);
|
|
507
507
|
min-height:var(--button-large-min-height);
|
|
508
508
|
padding:var(--button-large-padding);
|
|
509
509
|
}
|
|
510
|
-
.bp_base_button_module_button--
|
|
510
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_large--4c200.bp_base_button_module_isIconButton--4c200{
|
|
511
511
|
height:var(--icon-button-large-height);
|
|
512
512
|
padding:var(--icon-button-large-padding);
|
|
513
513
|
width:var(--icon-button-large-width);
|
|
514
514
|
}
|
|
515
|
-
.bp_base_button_module_button--
|
|
515
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_large--4c200.bp_base_button_module_isTextWithIconButton--4c200{
|
|
516
516
|
padding:var(--button-large-padding);
|
|
517
517
|
}
|
|
518
|
-
.bp_base_button_module_button--
|
|
518
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_hide--4c200{
|
|
519
519
|
pointer-events:none;
|
|
520
520
|
position:relative;
|
|
521
521
|
}
|
|
522
|
-
.bp_base_button_module_button--
|
|
522
|
+
.bp_base_button_module_button--4c200.bp_base_button_module_hide--4c200 span{
|
|
523
523
|
color:#0000;
|
|
524
524
|
opacity:0;
|
|
525
525
|
}
|
|
@@ -1705,7 +1705,22 @@
|
|
|
1705
1705
|
outline:none;
|
|
1706
1706
|
overflow:visible;
|
|
1707
1707
|
}
|
|
1708
|
-
.bp_text_with_info_badge_module_text--
|
|
1708
|
+
.bp_text_with_info_badge_module_text--c50c3[data-modern=false]{
|
|
1709
|
+
--text-with-info-badge-color:var(--text-text-on-light);
|
|
1710
|
+
--text-with-info-badge-color-muted:var(--text-text-on-light-secondary);
|
|
1711
|
+
--text-with-info-badge-margin-left:var(--size-1);
|
|
1712
|
+
--text-with-info-badge-font-size:var(--size-4);
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
.bp_text_with_info_badge_module_text--c50c3[data-modern=true]{
|
|
1716
|
+
--text-with-info-badge-color:var(--bp-text-text-on-light);
|
|
1717
|
+
--text-with-info-badge-color-muted:var(--bp-text-text-on-light-secondary);
|
|
1718
|
+
--text-with-info-badge-margin-left:var(--bp-size-010);
|
|
1719
|
+
--text-with-info-badge-font-size:var(--bp-size-040);
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
.bp_text_with_info_badge_module_text--c50c3{
|
|
1723
|
+
color:var(--text-with-info-badge-color);
|
|
1709
1724
|
font-family:var(--body-default-font-family);
|
|
1710
1725
|
font-size:var(--body-default-font-size);
|
|
1711
1726
|
font-weight:var(--body-default-font-weight);
|
|
@@ -1716,19 +1731,19 @@
|
|
|
1716
1731
|
text-decoration:var(--body-default-text-decoration);
|
|
1717
1732
|
text-transform:var(--body-default-text-case);
|
|
1718
1733
|
}
|
|
1719
|
-
.bp_text_with_info_badge_module_text--
|
|
1720
|
-
color:var(--text-
|
|
1734
|
+
.bp_text_with_info_badge_module_text--c50c3.bp_text_with_info_badge_module_muted--c50c3{
|
|
1735
|
+
color:var(--text-with-info-badge-color-muted);
|
|
1721
1736
|
}
|
|
1722
|
-
.bp_text_with_info_badge_module_text--
|
|
1737
|
+
.bp_text_with_info_badge_module_text--c50c3 .bp_text_with_info_badge_module_badgeContainer--c50c3{
|
|
1723
1738
|
align-items:center;
|
|
1724
1739
|
display:inline-flex;
|
|
1725
1740
|
height:var(--body-default-line-height);
|
|
1726
1741
|
position:absolute;
|
|
1727
1742
|
}
|
|
1728
|
-
.bp_text_with_info_badge_module_text--
|
|
1743
|
+
.bp_text_with_info_badge_module_text--c50c3 .bp_text_with_info_badge_module_badgeContainer--c50c3 .bp_text_with_info_badge_module_badge--c50c3{
|
|
1729
1744
|
display:inline-flex;
|
|
1730
|
-
font-size:var(--size
|
|
1731
|
-
margin-left:var(--
|
|
1745
|
+
font-size:var(--text-with-info-badge-font-size);
|
|
1746
|
+
margin-left:var(--text-with-info-badge-margin-left);
|
|
1732
1747
|
}
|
|
1733
1748
|
.bp_legend_module_legendText--1e794{
|
|
1734
1749
|
font-weight:bold;
|
|
@@ -5915,11 +5930,12 @@
|
|
|
5915
5930
|
height:var(--icon-toogle-button-xsmall-size);
|
|
5916
5931
|
width:var(--icon-toogle-button-xsmall-size);
|
|
5917
5932
|
}
|
|
5918
|
-
table.bp_inline_table_module_inlineTable--
|
|
5933
|
+
table.bp_inline_table_module_inlineTable--f6f94[data-modern=false]{
|
|
5919
5934
|
--table-background:var(--gray-white);
|
|
5920
5935
|
--table-border:var(--border-1) solid var(--gray-10);
|
|
5921
5936
|
--table-border-radius:var(--radius-2);
|
|
5922
5937
|
--table-th-color:var(--text-text-on-light-secondary);
|
|
5938
|
+
--table-td-color:var(--text-text-on-light);
|
|
5923
5939
|
--table-cell-height:var(--size-12);
|
|
5924
5940
|
--table-action-cell-padding-block-start:var(--space-2);
|
|
5925
5941
|
--table-action-cell-padding-block-end:var(--space-2);
|
|
@@ -5928,20 +5944,21 @@ table.bp_inline_table_module_inlineTable--14908[data-modern=false]{
|
|
|
5928
5944
|
--table-cell-border:var(--border-1) solid var(--gray-10);
|
|
5929
5945
|
}
|
|
5930
5946
|
|
|
5931
|
-
table.bp_inline_table_module_inlineTable--
|
|
5947
|
+
table.bp_inline_table_module_inlineTable--f6f94{
|
|
5932
5948
|
background:var(--table-background);
|
|
5933
5949
|
border:var(--table-border);
|
|
5934
5950
|
border-collapse:initial;
|
|
5935
5951
|
border-radius:var(--table-border-radius);
|
|
5936
5952
|
border-spacing:0;
|
|
5937
5953
|
}
|
|
5938
|
-
table.bp_inline_table_module_inlineTable--
|
|
5954
|
+
table.bp_inline_table_module_inlineTable--f6f94.bp_inline_table_module_borderHidden--f6f94{
|
|
5939
5955
|
border:none;
|
|
5940
5956
|
}
|
|
5941
|
-
table.bp_inline_table_module_inlineTable--
|
|
5957
|
+
table.bp_inline_table_module_inlineTable--f6f94.bp_inline_table_module_fullSpan--f6f94{
|
|
5942
5958
|
width:100%;
|
|
5943
5959
|
}
|
|
5944
|
-
table.bp_inline_table_module_inlineTable--
|
|
5960
|
+
table.bp_inline_table_module_inlineTable--f6f94 td{
|
|
5961
|
+
color:var(--table-td-color);
|
|
5945
5962
|
font-family:var(--body-default-font-family);
|
|
5946
5963
|
font-size:var(--body-default-font-size);
|
|
5947
5964
|
font-weight:var(--body-default-font-weight);
|
|
@@ -5951,11 +5968,11 @@ table.bp_inline_table_module_inlineTable--14908 td{
|
|
|
5951
5968
|
text-decoration:var(--body-default-text-decoration);
|
|
5952
5969
|
text-transform:var(--body-default-text-case);
|
|
5953
5970
|
}
|
|
5954
|
-
table.bp_inline_table_module_inlineTable--
|
|
5971
|
+
table.bp_inline_table_module_inlineTable--f6f94 td.bp_inline_table_module_actionCell--f6f94{
|
|
5955
5972
|
padding-block-end:var(--table-action-cell-padding-block-end);
|
|
5956
5973
|
padding-block-start:var(--table-action-cell-padding-block-start);
|
|
5957
5974
|
}
|
|
5958
|
-
table.bp_inline_table_module_inlineTable--
|
|
5975
|
+
table.bp_inline_table_module_inlineTable--f6f94 th{
|
|
5959
5976
|
border-bottom:var(--table-cell-border);
|
|
5960
5977
|
color:var(--table-th-color);
|
|
5961
5978
|
font-family:var(--caption-default-font-family);
|
|
@@ -5968,24 +5985,25 @@ table.bp_inline_table_module_inlineTable--14908 th{
|
|
|
5968
5985
|
text-transform:var(--caption-default-text-case);
|
|
5969
5986
|
text-transform:uppercase;
|
|
5970
5987
|
}
|
|
5971
|
-
table.bp_inline_table_module_inlineTable--
|
|
5988
|
+
table.bp_inline_table_module_inlineTable--f6f94 td,table.bp_inline_table_module_inlineTable--f6f94 th{
|
|
5972
5989
|
height:var(--table-cell-height);
|
|
5973
5990
|
}
|
|
5974
|
-
table.bp_inline_table_module_inlineTable--
|
|
5991
|
+
table.bp_inline_table_module_inlineTable--f6f94 td:first-child,table.bp_inline_table_module_inlineTable--f6f94 th:first-child{
|
|
5975
5992
|
padding-inline-start:var(--table-cell-padding-inline-start);
|
|
5976
5993
|
}
|
|
5977
|
-
table.bp_inline_table_module_inlineTable--
|
|
5994
|
+
table.bp_inline_table_module_inlineTable--f6f94 td:last-child,table.bp_inline_table_module_inlineTable--f6f94 td:not(:only-child),table.bp_inline_table_module_inlineTable--f6f94 th:last-child,table.bp_inline_table_module_inlineTable--f6f94 th:not(:only-child){
|
|
5978
5995
|
padding-inline-end:var(--table-cell-padding-inline-end);
|
|
5979
5996
|
}
|
|
5980
|
-
table.bp_inline_table_module_inlineTable--
|
|
5997
|
+
table.bp_inline_table_module_inlineTable--f6f94 tr:not(:last-child) td{
|
|
5981
5998
|
border-block-end:var(--table-cell-border);
|
|
5982
5999
|
}
|
|
5983
6000
|
|
|
5984
|
-
table.bp_inline_table_module_inlineTable--
|
|
6001
|
+
table.bp_inline_table_module_inlineTable--f6f94[data-modern=true]{
|
|
5985
6002
|
--table-background:var(--bp-surface-inline-table-surface);
|
|
5986
6003
|
--table-border:var(--bp-border-01) solid var(--bp-border-inline-table-border);
|
|
5987
6004
|
--table-border-radius:var(--bp-radius-06);
|
|
5988
6005
|
--table-th-color:var(--bp-text-text-on-light-secondary);
|
|
6006
|
+
--table-td-color:var(--bp-text-text-on-light);
|
|
5989
6007
|
--table-cell-height:var(--bp-size-120);
|
|
5990
6008
|
--table-action-cell-padding-block-start:var(--bp-space-020);
|
|
5991
6009
|
--table-cell-padding-inline-default:var(--bp-space-020);
|
|
@@ -5994,13 +6012,13 @@ table.bp_inline_table_module_inlineTable--14908[data-modern=true]{
|
|
|
5994
6012
|
--table-cell-padding-inline-end:var(--bp-space-050);
|
|
5995
6013
|
--table-cell-border:var(--bp-border-01) solid var(--bp-border-divider-border);
|
|
5996
6014
|
}
|
|
5997
|
-
table.bp_inline_table_module_inlineTable--
|
|
6015
|
+
table.bp_inline_table_module_inlineTable--f6f94[data-modern=true] td,table.bp_inline_table_module_inlineTable--f6f94[data-modern=true] th{
|
|
5998
6016
|
padding-inline:var(--table-cell-padding-inline-default);
|
|
5999
6017
|
}
|
|
6000
|
-
table.bp_inline_table_module_inlineTable--
|
|
6018
|
+
table.bp_inline_table_module_inlineTable--f6f94[data-modern=true] td:first-child,table.bp_inline_table_module_inlineTable--f6f94[data-modern=true] th:first-child{
|
|
6001
6019
|
padding-inline-start:var(--table-cell-padding-inline-start);
|
|
6002
6020
|
}
|
|
6003
|
-
table.bp_inline_table_module_inlineTable--
|
|
6021
|
+
table.bp_inline_table_module_inlineTable--f6f94[data-modern=true] td:last-child,table.bp_inline_table_module_inlineTable--f6f94[data-modern=true] th:last-child{
|
|
6004
6022
|
padding-inline-end:var(--table-cell-padding-inline-end);
|
|
6005
6023
|
}
|
|
6006
6024
|
.bp_search_term_string_module_searchTerm--28ab8{
|
|
@@ -9324,8 +9342,9 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
9324
9342
|
border-color:var(--text-toggle-button-border-color-on-pressed);
|
|
9325
9343
|
}
|
|
9326
9344
|
|
|
9327
|
-
.bp_time_picker_module_timePicker--
|
|
9345
|
+
.bp_time_picker_module_timePicker--78e48[data-modern=false]{
|
|
9328
9346
|
--time-picker-label-margin-bottom:var(--space-2);
|
|
9347
|
+
--time-picker-label-color:var(--text-text-on-light);
|
|
9329
9348
|
--time-picker-height:var(--size-10);
|
|
9330
9349
|
--time-picker-background:var(--surface-input-surface);
|
|
9331
9350
|
--time-picker-outline:var(--border-1) solid var(--border-input-border);
|
|
@@ -9356,10 +9375,11 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
9356
9375
|
--time-picker-input-margin-right:calc(var(--time-picker-clear-button-size) + var(--time-picker-clear-button-right-offset));
|
|
9357
9376
|
}
|
|
9358
9377
|
|
|
9359
|
-
.bp_time_picker_module_timePicker--
|
|
9378
|
+
.bp_time_picker_module_timePicker--78e48[data-modern=true]{
|
|
9360
9379
|
--time-picker-label-margin-bottom:var(--bp-space-020);
|
|
9380
|
+
--time-picker-label-color:var(--bp-text-text-on-light);
|
|
9361
9381
|
--time-picker-height:var(--bp-size-100);
|
|
9362
|
-
--time-picker-background:var(--bp-surface-
|
|
9382
|
+
--time-picker-background:var(--bp-surface-time-picker-surface);
|
|
9363
9383
|
--time-picker-outline:var(--bp-border-01) solid var(--bp-border-input-border);
|
|
9364
9384
|
--time-picker-outline-hover:var(--bp-border-01) solid var(--bp-border-input-border-hover);
|
|
9365
9385
|
--time-picker-border-radius:var(--bp-radius-06);
|
|
@@ -9372,7 +9392,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
9372
9392
|
--time-picker-data-placeholder-color:var(--bp-text-text-on-light);
|
|
9373
9393
|
--time-picker-spin-button-margin:0 var(--bp-space-005);
|
|
9374
9394
|
--time-picker-spin-button-padding:var(--bp-space-005) var(--bp-space-010);
|
|
9375
|
-
--time-picker-input-segment-active-background:var(--bp-
|
|
9395
|
+
--time-picker-input-segment-active-background:var(--bp-surface-time-picker-surface-selected);
|
|
9376
9396
|
--time-picker-clear-button-size:var(--bp-size-040);
|
|
9377
9397
|
--time-picker-input-segment-active-text-color:var(--bp-text-text-on-dark);
|
|
9378
9398
|
--time-picker-clear-button-right-offset:var(--bp-size-110);
|
|
@@ -9388,16 +9408,17 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
9388
9408
|
--time-picker-input-margin-right:calc(var(--time-picker-clear-button-size) + var(--time-picker-clear-button-right-offset));
|
|
9389
9409
|
}
|
|
9390
9410
|
|
|
9391
|
-
.bp_time_picker_module_timePicker--
|
|
9411
|
+
.bp_time_picker_module_timePicker--78e48{
|
|
9392
9412
|
width:100%;
|
|
9393
9413
|
}
|
|
9394
|
-
.bp_time_picker_module_timePicker--
|
|
9414
|
+
.bp_time_picker_module_timePicker--78e48.bp_time_picker_module_disabled--78e48{
|
|
9395
9415
|
opacity:60%;
|
|
9396
9416
|
pointer-events:none;
|
|
9397
9417
|
-webkit-user-select:none;
|
|
9398
9418
|
user-select:none;
|
|
9399
9419
|
}
|
|
9400
|
-
.bp_time_picker_module_timePicker--
|
|
9420
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_label--78e48{
|
|
9421
|
+
color:var(--time-picker-label-color);
|
|
9401
9422
|
cursor:default;
|
|
9402
9423
|
display:block;
|
|
9403
9424
|
font-family:var(--body-default-bold-font-family);
|
|
@@ -9412,7 +9433,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
9412
9433
|
width:-moz-fit-content;
|
|
9413
9434
|
width:fit-content;
|
|
9414
9435
|
}
|
|
9415
|
-
.bp_time_picker_module_timePicker--
|
|
9436
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_group--78e48{
|
|
9416
9437
|
align-items:center;
|
|
9417
9438
|
background-color:var(--time-picker-background);
|
|
9418
9439
|
border-radius:var(--time-picker-border-radius);
|
|
@@ -9432,19 +9453,19 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
9432
9453
|
text-transform:var(--body-default-text-case);
|
|
9433
9454
|
width:100%;
|
|
9434
9455
|
}
|
|
9435
|
-
.bp_time_picker_module_timePicker--
|
|
9456
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_group--78e48:hover{
|
|
9436
9457
|
outline:var(--time-picker-outline-hover);
|
|
9437
9458
|
}
|
|
9438
|
-
.bp_time_picker_module_timePicker--
|
|
9459
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_group--78e48:focus-within{
|
|
9439
9460
|
outline:var(--time-picker-focus-outline);
|
|
9440
9461
|
}
|
|
9441
|
-
.bp_time_picker_module_timePicker--
|
|
9462
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_group--78e48.bp_time_picker_module_error--78e48:not(:focus-within){
|
|
9442
9463
|
outline:var(--time-picker-error-outline);
|
|
9443
9464
|
}
|
|
9444
|
-
.bp_time_picker_module_timePicker--
|
|
9465
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_group--78e48.bp_time_picker_module_error--78e48:focus-within{
|
|
9445
9466
|
outline:var(--time-picker-focus-outline);
|
|
9446
9467
|
}
|
|
9447
|
-
.bp_time_picker_module_timePicker--
|
|
9468
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_timeInput--78e48{
|
|
9448
9469
|
align-items:center;
|
|
9449
9470
|
display:inline-flex;
|
|
9450
9471
|
height:var(--time-picker-height);
|
|
@@ -9452,7 +9473,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
9452
9473
|
text-transform:uppercase;
|
|
9453
9474
|
white-space:nowrap;
|
|
9454
9475
|
}
|
|
9455
|
-
.bp_time_picker_module_timePicker--
|
|
9476
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_timeInputSegment--78e48{
|
|
9456
9477
|
border:unset;
|
|
9457
9478
|
border-radius:unset;
|
|
9458
9479
|
border-radius:var(--time-picker-input-segment-border-radius);
|
|
@@ -9464,27 +9485,27 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
9464
9485
|
transition:unset;
|
|
9465
9486
|
width:unset;
|
|
9466
9487
|
}
|
|
9467
|
-
.bp_time_picker_module_timePicker--
|
|
9488
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_timeInputSegment--78e48[data-placeholder]{
|
|
9468
9489
|
color:var(--time-picker-data-placeholder-color);
|
|
9469
9490
|
}
|
|
9470
|
-
.bp_time_picker_module_timePicker--
|
|
9491
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_timeInputSegment--78e48[role=spinbutton]{
|
|
9471
9492
|
border-radius:var(--time-picker-input-segment-border-radius);
|
|
9472
9493
|
margin:var(--time-picker-spin-button-margin);
|
|
9473
9494
|
padding:var(--time-picker-spin-button-padding);
|
|
9474
9495
|
}
|
|
9475
|
-
.bp_time_picker_module_timePicker--
|
|
9496
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_timeInputSegment--78e48:active,.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_timeInputSegment--78e48:focus{
|
|
9476
9497
|
background:var(--time-picker-input-segment-active-background);
|
|
9477
9498
|
caret-color:#0000;
|
|
9478
9499
|
color:var(--time-picker-input-segment-active-text-color);
|
|
9479
9500
|
outline:none;
|
|
9480
9501
|
}
|
|
9481
|
-
.bp_time_picker_module_timePicker--
|
|
9502
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_timeInputSegment--78e48:nth-child(1 of [role=spinbutton]){
|
|
9482
9503
|
margin-inline-start:0;
|
|
9483
9504
|
}
|
|
9484
|
-
.bp_time_picker_module_timePicker--
|
|
9505
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_timeInputSegment--78e48[data-type=literal] + [data-type=dayPeriod]{
|
|
9485
9506
|
margin-inline-start:calc(var(--space-1)*-1);
|
|
9486
9507
|
}
|
|
9487
|
-
.bp_time_picker_module_timePicker--
|
|
9508
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_clearButton--78e48{
|
|
9488
9509
|
align-items:center;
|
|
9489
9510
|
background-color:var(--time-picker-clear-button-background);
|
|
9490
9511
|
border:none;
|
|
@@ -9497,30 +9518,30 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
9497
9518
|
position:absolute;
|
|
9498
9519
|
right:var(--time-picker-clear-button-right-offset);
|
|
9499
9520
|
}
|
|
9500
|
-
.bp_time_picker_module_timePicker--
|
|
9521
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_clearButton--78e48:focus-visible,.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_clearButton--78e48[data-focus-visible]{
|
|
9501
9522
|
background-color:var(--time-picker-clear-button-active-background);
|
|
9502
9523
|
outline:var(--time-picker-clear-button-focus-outline);
|
|
9503
9524
|
}
|
|
9504
|
-
.bp_time_picker_module_timePicker--
|
|
9525
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_clearButton--78e48:hover{
|
|
9505
9526
|
background:var(--time-picker-clear-button-hover-background);
|
|
9506
9527
|
}
|
|
9507
|
-
.bp_time_picker_module_timePicker--
|
|
9528
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_clearButton--78e48:hover *{
|
|
9508
9529
|
fill:var(--time-picker-clear-button-hover-icon-color);
|
|
9509
9530
|
}
|
|
9510
|
-
.bp_time_picker_module_timePicker--
|
|
9531
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_clearButton--78e48:active{
|
|
9511
9532
|
background:var(--time-picker-clear-button-active-background);
|
|
9512
9533
|
}
|
|
9513
|
-
.bp_time_picker_module_timePicker--
|
|
9534
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_clearButton--78e48:active *{
|
|
9514
9535
|
fill:var(--time-picker-clear-button-active-icon-color);
|
|
9515
9536
|
}
|
|
9516
|
-
.bp_time_picker_module_timePicker--
|
|
9537
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_clearButton--78e48:disabled{
|
|
9517
9538
|
opacity:1;
|
|
9518
9539
|
}
|
|
9519
|
-
.bp_time_picker_module_timePicker--
|
|
9540
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_clockIcon--78e48{
|
|
9520
9541
|
position:absolute;
|
|
9521
9542
|
right:var(--time-picker-clock-icon-right-offset);
|
|
9522
9543
|
}
|
|
9523
|
-
.bp_time_picker_module_timePicker--
|
|
9544
|
+
.bp_time_picker_module_timePicker--78e48 .bp_time_picker_module_inlineError--78e48{
|
|
9524
9545
|
margin-block-start:var(--time-picker-inline-error-margin-top);
|
|
9525
9546
|
}
|
|
9526
9547
|
:root{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"inlineTable":"bp_inline_table_module_inlineTable--
|
|
2
|
+
var styles = {"inlineTable":"bp_inline_table_module_inlineTable--f6f94","borderHidden":"bp_inline_table_module_borderHidden--f6f94","fullSpan":"bp_inline_table_module_fullSpan--f6f94","actionCell":"bp_inline_table_module_actionCell--f6f94"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"button":"bp_base_button_module_button--
|
|
2
|
+
var styles = {"button":"bp_base_button_module_button--4c200","primary":"bp_base_button_module_primary--4c200","secondary":"bp_base_button_module_secondary--4c200","tertiary":"bp_base_button_module_tertiary--4c200","outline":"bp_base_button_module_outline--4c200","small":"bp_base_button_module_small--4c200","isIconButton":"bp_base_button_module_isIconButton--4c200","isTextWithIconButton":"bp_base_button_module_isTextWithIconButton--4c200","large":"bp_base_button_module_large--4c200","icon":"bp_base_button_module_icon--4c200","hide":"bp_base_button_module_hide--4c200"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"timePicker":"bp_time_picker_module_timePicker--
|
|
2
|
+
var styles = {"timePicker":"bp_time_picker_module_timePicker--78e48","disabled":"bp_time_picker_module_disabled--78e48","label":"bp_time_picker_module_label--78e48","group":"bp_time_picker_module_group--78e48","error":"bp_time_picker_module_error--78e48","timeInput":"bp_time_picker_module_timeInput--78e48","timeInputSegment":"bp_time_picker_module_timeInputSegment--78e48","clearButton":"bp_time_picker_module_clearButton--78e48","clockIcon":"bp_time_picker_module_clockIcon--78e48","inlineError":"bp_time_picker_module_inlineError--78e48"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { InfoBadge } from '@box/blueprint-web-assets/icons/Fill';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
|
+
import 'react';
|
|
5
|
+
import { useBlueprintModernization } from '../../blueprint-modernization-context/useBlueprintModernization.js';
|
|
4
6
|
import { Tooltip } from '../../tooltip/tooltip.js';
|
|
5
7
|
import { InteractiveIcon } from '../interactive-icon/interactive-icon.js';
|
|
6
8
|
import styles from './text-with-info-badge.module.js';
|
|
@@ -15,8 +17,12 @@ const TextWithInfoBadge = props => {
|
|
|
15
17
|
variant = 'default',
|
|
16
18
|
tooltipPosition = 'top'
|
|
17
19
|
} = props;
|
|
20
|
+
const {
|
|
21
|
+
enableModernizedComponents
|
|
22
|
+
} = useBlueprintModernization();
|
|
18
23
|
return jsxs("div", {
|
|
19
24
|
className: clsx(styles.text, styles[variant], className),
|
|
25
|
+
"data-modern": enableModernizedComponents,
|
|
20
26
|
id: id,
|
|
21
27
|
children: [children, infoText && infoBadgeAriaLabel && jsx("span", {
|
|
22
28
|
className: styles.badgeContainer,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"text":"bp_text_with_info_badge_module_text--
|
|
2
|
+
var styles = {"text":"bp_text_with_info_badge_module_text--c50c3","muted":"bp_text_with_info_badge_module_muted--c50c3","badgeContainer":"bp_text_with_info_badge_module_badgeContainer--c50c3","badge":"bp_text_with_info_badge_module_badge--c50c3"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|