@box/blueprint-web 18.8.0 → 18.9.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.
@@ -2542,12 +2542,12 @@
2542
2542
  transition:none;
2543
2543
  }
2544
2544
  }
2545
- .bp_base_badge_module_badgeContainer--cc070{
2545
+ .bp_base_badge_module_badgeContainer--44c64{
2546
2546
  display:inline-flex;
2547
2547
  position:relative;
2548
2548
  }
2549
2549
 
2550
- .bp_base_badge_module_badge--cc070{
2550
+ .bp_base_badge_module_badge--44c64{
2551
2551
  align-items:center;
2552
2552
  border:var(--border-2) solid var(--border-badge-border);
2553
2553
  border-radius:var(--radius-half);
@@ -2559,37 +2559,37 @@
2559
2559
  user-select:none;
2560
2560
  }
2561
2561
 
2562
- .bp_base_badge_module_smallSizeBadge--cc070{
2562
+ .bp_base_badge_module_smallSizeBadge--44c64{
2563
2563
  height:var(--size-2);
2564
2564
  min-width:var(--size-2);
2565
2565
  }
2566
2566
 
2567
- .bp_base_badge_module_mediumSizeBadge--cc070{
2567
+ .bp_base_badge_module_mediumSizeBadge--44c64{
2568
2568
  height:var(--size-3);
2569
2569
  min-width:var(--size-3);
2570
2570
  }
2571
2571
 
2572
- .bp_base_badge_module_largeSizeBadge--cc070{
2572
+ .bp_base_badge_module_largeSizeBadge--44c64{
2573
2573
  height:var(--size-4);
2574
2574
  min-width:var(--size-4);
2575
2575
  }
2576
2576
 
2577
- .bp_base_badge_module_xlargeSizeBadge--cc070{
2577
+ .bp_base_badge_module_xlargeSizeBadge--44c64{
2578
2578
  height:var(--size-5);
2579
2579
  min-width:var(--size-5);
2580
2580
  }
2581
2581
 
2582
- .bp_base_badge_module_xxlargeSizeBadge--cc070{
2582
+ .bp_base_badge_module_xxlargeSizeBadge--44c64{
2583
2583
  height:var(--size-6);
2584
2584
  min-width:var(--size-6);
2585
2585
  }
2586
2586
 
2587
- .bp_base_badge_module_iconBadge--cc070{
2587
+ .bp_base_badge_module_iconBadge--44c64{
2588
2588
  bottom:-5%;
2589
2589
  right:-5%;
2590
2590
  }
2591
2591
 
2592
- .bp_base_badge_module_interactiveWrapper--cc070{
2592
+ .bp_base_badge_module_interactiveWrapper--44c64{
2593
2593
  border:var(--border-2) solid #0000;
2594
2594
  border-radius:50%;
2595
2595
  bottom:calc(-5% - var(--border-2)/2);
@@ -2597,22 +2597,22 @@
2597
2597
  position:absolute;
2598
2598
  right:calc(-5% - var(--border-2)/2);
2599
2599
  }
2600
- .bp_base_badge_module_interactiveWrapper--cc070.bp_base_badge_module_smallSizeBadge--cc070{
2600
+ .bp_base_badge_module_interactiveWrapper--44c64.bp_base_badge_module_smallSizeBadge--44c64{
2601
2601
  width:var(--size-2);
2602
2602
  }
2603
- .bp_base_badge_module_interactiveWrapper--cc070.bp_base_badge_module_mediumSizeBadge--cc070{
2603
+ .bp_base_badge_module_interactiveWrapper--44c64.bp_base_badge_module_mediumSizeBadge--44c64{
2604
2604
  width:var(--size-3);
2605
2605
  }
2606
- .bp_base_badge_module_interactiveWrapper--cc070.bp_base_badge_module_largeSizeBadge--cc070{
2606
+ .bp_base_badge_module_interactiveWrapper--44c64.bp_base_badge_module_largeSizeBadge--44c64{
2607
2607
  width:var(--size-4);
2608
2608
  }
2609
- .bp_base_badge_module_interactiveWrapper--cc070.bp_base_badge_module_xlargeSizeBadge--cc070{
2609
+ .bp_base_badge_module_interactiveWrapper--44c64.bp_base_badge_module_xlargeSizeBadge--44c64{
2610
2610
  width:var(--size-5);
2611
2611
  }
2612
- .bp_base_badge_module_interactiveWrapper--cc070.bp_base_badge_module_xxlargeSizeBadge--cc070{
2612
+ .bp_base_badge_module_interactiveWrapper--44c64.bp_base_badge_module_xxlargeSizeBadge--44c64{
2613
2613
  width:var(--size-6);
2614
2614
  }
2615
- .bp_base_badge_module_interactiveWrapper--cc070::before{
2615
+ .bp_base_badge_module_interactiveWrapper--44c64::before{
2616
2616
  content:"";
2617
2617
  left:calc(var(--size-6)*-1/4);
2618
2618
  min-height:var(--size-6);
@@ -2621,36 +2621,60 @@
2621
2621
  top:calc(var(--size-6)*-1/4);
2622
2622
  }
2623
2623
 
2624
- .bp_base_badge_module_statusBadge--cc070{
2624
+ .bp_base_badge_module_statusBadge--44c64{
2625
2625
  bottom:-20%;
2626
2626
  right:-20%;
2627
2627
  }
2628
2628
 
2629
- .bp_base_badge_module_statusBadge--cc070.bp_base_badge_module_largeSizeBadge--cc070{
2629
+ .bp_base_badge_module_statusBadge--44c64.bp_base_badge_module_largeSizeBadge--44c64{
2630
2630
  bottom:-22%;
2631
2631
  right:-22%;
2632
2632
  }
2633
2633
 
2634
- .bp_base_badge_module_statusBadge--cc070.bp_base_badge_module_xlargeSizeBadge--cc070{
2634
+ .bp_base_badge_module_statusBadge--44c64.bp_base_badge_module_xlargeSizeBadge--44c64{
2635
2635
  bottom:-15%;
2636
2636
  right:-15%;
2637
2637
  }
2638
2638
 
2639
- .bp_base_badge_module_statusBadge--cc070.bp_base_badge_module_xxlargeSizeBadge--cc070{
2639
+ .bp_base_badge_module_statusBadge--44c64.bp_base_badge_module_xxlargeSizeBadge--44c64{
2640
2640
  bottom:-4%;
2641
2641
  right:-4%;
2642
2642
  }
2643
2643
 
2644
- .bp_base_badge_module_numericBadge--cc070{
2644
+ .bp_base_badge_module_numericBadge--44c64{
2645
+ --bp-badge-enter-x:calc(var(--bp-space-010)*-1);
2646
+ --bp-badge-enter-y:var(--bp-space-010);
2645
2647
  left:60%;
2646
2648
  top:0;
2647
2649
  }
2648
2650
 
2649
- .bp_base_badge_module_numericBadgeSingleDigit--cc070{
2651
+ .bp_base_badge_module_numericBadge--44c64[data-bp-animated=true][data-state=playing]{
2652
+ animation-duration:var(--bp-duration-medium);
2653
+ animation-fill-mode:both;
2654
+ animation-name:bp_base_badge_module_bpNumericBadgePopIn--44c64;
2655
+ animation-timing-function:var(--bp-curve-large-on);
2656
+ }
2657
+ @media (prefers-reduced-motion: reduce){
2658
+ .bp_base_badge_module_numericBadge--44c64[data-bp-animated=true][data-state=playing]{
2659
+ animation:none;
2660
+ }
2661
+ }
2662
+
2663
+ @keyframes bp_base_badge_module_bpNumericBadgePopIn--44c64{
2664
+ from{
2665
+ opacity:var(--bp-opacity-hidden);
2666
+ transform:translate(var(--bp-badge-enter-x), var(--bp-badge-enter-y)) scale(.5);
2667
+ }
2668
+ to{
2669
+ opacity:var(--bp-opacity-visible);
2670
+ transform:none;
2671
+ }
2672
+ }
2673
+ .bp_base_badge_module_numericBadgeSingleDigit--44c64{
2650
2674
  padding:1px;
2651
2675
  }
2652
2676
 
2653
- .bp_base_badge_module_numericBadgeMoreDigits--cc070{
2677
+ .bp_base_badge_module_numericBadgeMoreDigits--44c64{
2654
2678
  padding:1px 3px;
2655
2679
  }
2656
2680
  .bp_icon_button_module_iconButton--17523[data-bp-animated=true]{
@@ -13312,11 +13336,11 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13312
13336
  .bp_time_picker_module_timePicker--98be8 .bp_time_picker_module_inlineError--98be8{
13313
13337
  margin-block-start:var(--time-picker-inline-error-margin-top);
13314
13338
  }
13315
- .bp_toolbar_module_dropdownIndicator--2bb58.bp_toolbar_module_invertCaret--2bb58{
13339
+ .bp_toolbar_module_dropdownIndicator--9b5b1.bp_toolbar_module_invertCaret--9b5b1{
13316
13340
  transform:rotate(.5turn);
13317
13341
  }
13318
13342
 
13319
- .bp_toolbar_module_toolbarRoot--2bb58{
13343
+ .bp_toolbar_module_toolbarRoot--9b5b1{
13320
13344
  --box-shadow:0 4px 12px 0 #0000001a;
13321
13345
  --toolbar-root-gap:var(--bp-space-010);
13322
13346
  --toolbar-root-padding:var(--bp-space-010);
@@ -13346,11 +13370,11 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13346
13370
  gap:var(--toolbar-root-gap);
13347
13371
  padding:var(--toolbar-root-padding);
13348
13372
  }
13349
- .bp_toolbar_module_toolbarRoot--2bb58.bp_toolbar_module_ScrollableToolbarWithReducedPadding--2bb58{
13373
+ .bp_toolbar_module_toolbarRoot--9b5b1.bp_toolbar_module_ScrollableToolbarWithReducedPadding--9b5b1{
13350
13374
  --toolbar-root-padding:0;
13351
13375
  }
13352
13376
 
13353
- .bp_toolbar_module_toolbarItem--2bb58{
13377
+ .bp_toolbar_module_toolbarItem--9b5b1{
13354
13378
  --toolbar-item-min-width:var(--bp-size-080);
13355
13379
  --toolbar-item-min-height:var(--bp-size-080);
13356
13380
  --toolbar-item-text-indent:var(--bp-space-010);
@@ -13412,10 +13436,10 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13412
13436
  -webkit-user-select:none;
13413
13437
  user-select:none;
13414
13438
  }
13415
- .bp_toolbar_module_toolbarItem--2bb58[data-state=on]:hover .bp_toolbar_module_dropdownIndicator--2bb58{
13439
+ .bp_toolbar_module_toolbarItem--9b5b1[data-state=on]:hover .bp_toolbar_module_dropdownIndicator--9b5b1{
13416
13440
  transform:rotate(1turn);
13417
13441
  }
13418
- .bp_toolbar_module_toolbarItem--2bb58.bp_toolbar_module_toolbarButton--2bb58,.bp_toolbar_module_toolbarItem--2bb58.bp_toolbar_module_toolbarTextToggleItem--2bb58{
13442
+ .bp_toolbar_module_toolbarItem--9b5b1.bp_toolbar_module_toolbarButton--9b5b1,.bp_toolbar_module_toolbarItem--9b5b1.bp_toolbar_module_toolbarTextToggleItem--9b5b1{
13419
13443
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
13420
13444
  font-size:var(--bp-font-size-06);
13421
13445
  font-style:normal;
@@ -13423,7 +13447,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13423
13447
  letter-spacing:var(--bp-font-letter-spacing-01);
13424
13448
  line-height:var(--bp-font-line-height-05);
13425
13449
  }
13426
- :where(body.is-inter-font) .bp_toolbar_module_toolbarItem--2bb58.bp_toolbar_module_toolbarButton--2bb58,:where(body.is-inter-font) .bp_toolbar_module_toolbarItem--2bb58.bp_toolbar_module_toolbarTextToggleItem--2bb58{
13450
+ :where(body.is-inter-font) .bp_toolbar_module_toolbarItem--9b5b1.bp_toolbar_module_toolbarButton--9b5b1,:where(body.is-inter-font) .bp_toolbar_module_toolbarItem--9b5b1.bp_toolbar_module_toolbarTextToggleItem--9b5b1{
13427
13451
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
13428
13452
  font-size:1rem;
13429
13453
  font-style:normal;
@@ -13434,7 +13458,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13434
13458
  text-transform:none;
13435
13459
  }
13436
13460
 
13437
- .bp_toolbar_module_toolbarItem--2bb58.bp_toolbar_module_toolbarLink--2bb58{
13461
+ .bp_toolbar_module_toolbarItem--9b5b1.bp_toolbar_module_toolbarLink--9b5b1{
13438
13462
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
13439
13463
  font-size:var(--bp-font-size-05);
13440
13464
  font-style:normal;
@@ -13442,7 +13466,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13442
13466
  letter-spacing:var(--bp-font-letter-spacing-01);
13443
13467
  line-height:var(--bp-font-line-height-04);
13444
13468
  }
13445
- :where(body.is-inter-font) .bp_toolbar_module_toolbarItem--2bb58.bp_toolbar_module_toolbarLink--2bb58{
13469
+ :where(body.is-inter-font) .bp_toolbar_module_toolbarItem--9b5b1.bp_toolbar_module_toolbarLink--9b5b1{
13446
13470
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
13447
13471
  font-size:.875rem;
13448
13472
  font-style:normal;
@@ -13453,42 +13477,42 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13453
13477
  text-transform:none;
13454
13478
  }
13455
13479
 
13456
- .bp_toolbar_module_toolbarItem--2bb58[data-disabled]{
13480
+ .bp_toolbar_module_toolbarItem--9b5b1[data-disabled]{
13457
13481
  background:var(--toolbar-item-background);
13458
13482
  opacity:var(--toolbar-item-disabled-opacity);
13459
13483
  pointer-events:none;
13460
13484
  }
13461
- .bp_toolbar_module_toolbarItem--2bb58:not([data-disabled]):focus-visible{
13485
+ .bp_toolbar_module_toolbarItem--9b5b1:not([data-disabled]):focus-visible{
13462
13486
  box-shadow:0 0 0 var(--border-1, 1px) var(--background-background), 0 0 0 var(--border-3) var(--toolbar-item-focus-outline);
13463
13487
  }
13464
- .bp_toolbar_module_toolbarItem--2bb58:not([data-disabled]):hover{
13488
+ .bp_toolbar_module_toolbarItem--9b5b1:not([data-disabled]):hover{
13465
13489
  background:var(--toolbar-button-color, var(--toolbar-item-off-hover-background));
13466
13490
  border:var(--toolbar-item-off-hover-border);
13467
13491
  color:var(--toolbar-item-text-color-hover);
13468
13492
  }
13469
- .bp_toolbar_module_toolbarItem--2bb58:not([data-disabled]):active,.bp_toolbar_module_toolbarItem--2bb58:not([data-disabled])[data-active]{
13493
+ .bp_toolbar_module_toolbarItem--9b5b1:not([data-disabled]):active,.bp_toolbar_module_toolbarItem--9b5b1:not([data-disabled])[data-active]{
13470
13494
  background:var(--toolbar-button-color, var(--toolbar-item-off-pressed-background));
13471
13495
  border:var(--toolbar-item-off-pressed-border);
13472
13496
  color:var(--toolbar-item-text-color-active);
13473
13497
  }
13474
13498
 
13475
- .bp_toolbar_module_scrollButtonWrapper--2bb58{
13499
+ .bp_toolbar_module_scrollButtonWrapper--9b5b1{
13476
13500
  align-items:center;
13477
13501
  display:flex;
13478
13502
  gap:var(--toolbar-scroll-button-gap);
13479
13503
  }
13480
- .bp_toolbar_module_scrollButtonWrapper--2bb58.bp_toolbar_module_hidden--2bb58{
13504
+ .bp_toolbar_module_scrollButtonWrapper--9b5b1.bp_toolbar_module_hidden--9b5b1{
13481
13505
  display:none;
13482
13506
  }
13483
13507
 
13484
- .bp_toolbar_module_scrollableChildrenWrapper--2bb58{
13508
+ .bp_toolbar_module_scrollableChildrenWrapper--9b5b1{
13485
13509
  -ms-overflow-style:none;
13486
13510
  scrollbar-width:none;
13487
13511
  }
13488
- .bp_toolbar_module_scrollableChildrenWrapper--2bb58::-webkit-scrollbar{
13512
+ .bp_toolbar_module_scrollableChildrenWrapper--9b5b1::-webkit-scrollbar{
13489
13513
  display:none;
13490
13514
  }
13491
- .bp_toolbar_module_scrollableChildrenWrapper--2bb58{
13515
+ .bp_toolbar_module_scrollableChildrenWrapper--9b5b1{
13492
13516
  align-items:center;
13493
13517
  display:flex;
13494
13518
  flex-grow:1;
@@ -13499,53 +13523,53 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13499
13523
  scroll-padding:var(--toolbar-scrollable-children-scroll-padding);
13500
13524
  white-space:nowrap;
13501
13525
  }
13502
- .bp_toolbar_module_scrollableChildrenWrapper--2bb58 > *{
13526
+ .bp_toolbar_module_scrollableChildrenWrapper--9b5b1 > *{
13503
13527
  flex:none;
13504
13528
  }
13505
13529
 
13506
- .bp_toolbar_module_separator--2bb58{
13530
+ .bp_toolbar_module_separator--9b5b1{
13507
13531
  background-color:var(--toolbar-separator-background);
13508
13532
  border-radius:var(--toolbar-separator-border-radius);
13509
13533
  height:var(--toolbar-separator-height);
13510
13534
  width:1px;
13511
13535
  }
13512
13536
 
13513
- .bp_toolbar_module_toggleGroup--2bb58{
13537
+ .bp_toolbar_module_toggleGroup--9b5b1{
13514
13538
  --toolbar-toggle-group-gap:var(--bp-space-010);
13515
13539
  display:flex;
13516
13540
  gap:var(--toolbar-toggle-group-gap);
13517
13541
  }
13518
13542
 
13519
- .bp_toolbar_module_toolbarToggle--2bb58[data-state=on]{
13543
+ .bp_toolbar_module_toolbarToggle--9b5b1[data-state=on]{
13520
13544
  background:var(--toolbar-toggle-on-pressed-background);
13521
13545
  border:var(--toolbar-toggle-on-pressed-border);
13522
13546
  }
13523
- .bp_toolbar_module_toolbarToggle--2bb58[data-state=on] svg *{
13547
+ .bp_toolbar_module_toolbarToggle--9b5b1[data-state=on] svg *{
13524
13548
  fill:var(--toolbar-toggle-icon-fill);
13525
13549
  }
13526
- .bp_toolbar_module_toolbarToggle--2bb58[data-state=on]:not([data-disabled]):hover{
13550
+ .bp_toolbar_module_toolbarToggle--9b5b1[data-state=on]:not([data-disabled]):hover{
13527
13551
  background:var(--toolbar-toggle-on-hover-background);
13528
13552
  border:var(--toolbar-toggle-on-hover-border);
13529
13553
  }
13530
- .bp_toolbar_module_toolbarToggle--2bb58[data-state=on]:not([data-disabled]):active,.bp_toolbar_module_toolbarToggle--2bb58[data-state=on]:not([data-disabled])[data-active]{
13554
+ .bp_toolbar_module_toolbarToggle--9b5b1[data-state=on]:not([data-disabled]):active,.bp_toolbar_module_toolbarToggle--9b5b1[data-state=on]:not([data-disabled])[data-active]{
13531
13555
  background:var(--toolbar-toggle-on-active-background);
13532
13556
  border:var(--toolbar-toggle-on-active-border);
13533
13557
  }
13534
13558
 
13535
- .bp_toolbar_module_triggerButtonSelectedWithColor--2bb58:active,.bp_toolbar_module_triggerButtonSelectedWithColor--2bb58[data-active]{
13559
+ .bp_toolbar_module_triggerButtonSelectedWithColor--9b5b1:active,.bp_toolbar_module_triggerButtonSelectedWithColor--9b5b1[data-active]{
13536
13560
  background-color:var(--toolbar-button-color);
13537
13561
  opacity:var(--trigger-button-active-opacity, 1);
13538
13562
  }
13539
- .bp_toolbar_module_triggerButtonSelectedWithColor--2bb58[data-state=on] .bp_toolbar_module_dropdownIndicator--2bb58 path{
13563
+ .bp_toolbar_module_triggerButtonSelectedWithColor--9b5b1[data-state=on] .bp_toolbar_module_dropdownIndicator--9b5b1 path{
13540
13564
  fill:var(--icon-icon-on-light);
13541
13565
  }
13542
- .bp_toolbar_module_triggerButtonSelectedWithColor--2bb58[data-state=on]:hover{
13566
+ .bp_toolbar_module_triggerButtonSelectedWithColor--9b5b1[data-state=on]:hover{
13543
13567
  background-color:var(--toolbar-button-color);
13544
13568
  border-color:var(--toolbar-button-color);
13545
13569
  opacity:var(--trigger-button-hover-opacity);
13546
13570
  }
13547
13571
 
13548
- .bp_toolbar_module_toolbarIcon--2bb58{
13572
+ .bp_toolbar_module_toolbarIcon--9b5b1{
13549
13573
  align-items:center;
13550
13574
  display:flex;
13551
13575
  height:var(--toolbar-icon-height);
@@ -13553,27 +13577,27 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13553
13577
  width:var(--toolbar-icon-width);
13554
13578
  }
13555
13579
 
13556
- .bp_toolbar_module_toolbarLink--2bb58{
13580
+ .bp_toolbar_module_toolbarLink--9b5b1{
13557
13581
  color:var(--toolbar-link-color);
13558
13582
  max-width:var(--toolbar-link-max-width);
13559
13583
  padding-inline:var(--toolbar-link-padding-inline);
13560
13584
  text-decoration:none;
13561
13585
  text-indent:unset;
13562
13586
  }
13563
- .bp_toolbar_module_toolbarLink--2bb58.bp_toolbar_module_toolbarItem--2bb58:hover{
13587
+ .bp_toolbar_module_toolbarLink--9b5b1.bp_toolbar_module_toolbarItem--9b5b1:hover{
13564
13588
  background:var(--toolbar-button-color, var(--toolbar-item-background));
13565
13589
  border:var(--toolbar-item-border);
13566
13590
  color:var(--toolbar-link-hover-color);
13567
13591
  text-decoration:underline;
13568
13592
  }
13569
- .bp_toolbar_module_toolbarLink--2bb58.bp_toolbar_module_toolbarItem--2bb58:active{
13593
+ .bp_toolbar_module_toolbarLink--9b5b1.bp_toolbar_module_toolbarItem--9b5b1:active{
13570
13594
  background:var(--toolbar-button-color, var(--toolbar-item-background));
13571
13595
  border:var(--toolbar-item-border);
13572
13596
  color:var(--toolbar-link-pressed-color);
13573
13597
  text-decoration:underline;
13574
13598
  }
13575
13599
 
13576
- .bp_toolbar_module_toolbarLinkText--2bb58{
13600
+ .bp_toolbar_module_toolbarLinkText--9b5b1{
13577
13601
  display:block;
13578
13602
  min-width:0;
13579
13603
  overflow:hidden;
@@ -13581,7 +13605,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13581
13605
  white-space:nowrap;
13582
13606
  }
13583
13607
 
13584
- .bp_toolbar_module_toolbarInputContainer--2bb58{
13608
+ .bp_toolbar_module_toolbarInputContainer--9b5b1{
13585
13609
  --toolbar-input-height:var(--bp-size-080);
13586
13610
  --toolbar-input-padding-block:var(--bp-space-020);
13587
13611
  --toolbar-input-padding-inline:var(--bp-space-030);
@@ -13611,7 +13635,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13611
13635
  position:relative;
13612
13636
  }
13613
13637
 
13614
- .bp_toolbar_module_toolbarInput--2bb58{
13638
+ .bp_toolbar_module_toolbarInput--9b5b1{
13615
13639
  background:var(--toolbar-input-background);
13616
13640
  border:var(--toolbar-input-border-width) solid var(--toolbar-input-border-color);
13617
13641
  border-radius:var(--toolbar-input-border-radius);
@@ -13632,7 +13656,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13632
13656
  padding-inline:var(--toolbar-input-padding-inline);
13633
13657
  width:100%;
13634
13658
  }
13635
- :where(body.is-inter-font) .bp_toolbar_module_toolbarInput--2bb58{
13659
+ :where(body.is-inter-font) .bp_toolbar_module_toolbarInput--9b5b1{
13636
13660
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
13637
13661
  font-size:1rem;
13638
13662
  font-style:normal;
@@ -13643,7 +13667,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13643
13667
  text-transform:none;
13644
13668
  }
13645
13669
 
13646
- .bp_toolbar_module_toolbarInput--2bb58::placeholder{
13670
+ .bp_toolbar_module_toolbarInput--9b5b1::placeholder{
13647
13671
  color:var(--toolbar-input-placeholder-color);
13648
13672
  font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
13649
13673
  font-size:var(--bp-font-size-05);
@@ -13653,7 +13677,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13653
13677
  line-height:var(--bp-font-line-height-04);
13654
13678
  opacity:1;
13655
13679
  }
13656
- :where(body.is-inter-font) .bp_toolbar_module_toolbarInput--2bb58::placeholder{
13680
+ :where(body.is-inter-font) .bp_toolbar_module_toolbarInput--9b5b1::placeholder{
13657
13681
  font-family:"Inter Variable", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
13658
13682
  font-size:.875rem;
13659
13683
  font-style:normal;
@@ -13664,12 +13688,12 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13664
13688
  text-transform:none;
13665
13689
  }
13666
13690
 
13667
- .bp_toolbar_module_toolbarInput--2bb58:focus-visible{
13691
+ .bp_toolbar_module_toolbarInput--9b5b1:focus-visible{
13668
13692
  --toolbar-input-border-offset:calc(var(--toolbar-input-focus-border-width) - var(--toolbar-input-border-width));
13669
13693
  border:var(--toolbar-input-focus-border-width) solid var(--toolbar-input-border-color-focus);
13670
13694
  padding-inline-start:calc(var(--toolbar-input-padding-inline) - var(--toolbar-input-border-offset));
13671
13695
  }
13672
- .bp_toolbar_module_toolbarInput--2bb58:disabled{
13696
+ .bp_toolbar_module_toolbarInput--9b5b1:disabled{
13673
13697
  background:var(--toolbar-input-disabled-background);
13674
13698
  border-color:var(--toolbar-input-disabled-border-color);
13675
13699
  box-shadow:var(--toolbar-input-box-shadow);
@@ -13677,25 +13701,25 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13677
13701
  cursor:default;
13678
13702
  opacity:.5;
13679
13703
  }
13680
- .bp_toolbar_module_toolbarInput--2bb58:has(+ .bp_toolbar_module_toolbarInputErrorIcon--2bb58){
13704
+ .bp_toolbar_module_toolbarInput--9b5b1:has(+ .bp_toolbar_module_toolbarInputErrorIcon--9b5b1){
13681
13705
  padding-inline-end:var(--toolbar-input-icon-end-pad);
13682
13706
  }
13683
- .bp_toolbar_module_toolbarInput--2bb58:hover:not(:disabled, :focus-visible, .bp_toolbar_module_toolbarInputError--2bb58){
13707
+ .bp_toolbar_module_toolbarInput--9b5b1:hover:not(:disabled, :focus-visible, .bp_toolbar_module_toolbarInputError--9b5b1){
13684
13708
  border-color:var(--toolbar-input-hover-border-color);
13685
13709
  }
13686
13710
 
13687
- .bp_toolbar_module_toolbarInput--2bb58.bp_toolbar_module_toolbarInputError--2bb58{
13711
+ .bp_toolbar_module_toolbarInput--9b5b1.bp_toolbar_module_toolbarInputError--9b5b1{
13688
13712
  --toolbar-input-error-border-offset:calc(var(--toolbar-input-error-border-width) - var(--toolbar-input-border-width));
13689
13713
  border:var(--toolbar-input-error-border-width) solid var(--toolbar-input-error-border-color);
13690
13714
  padding-inline:calc(var(--toolbar-input-padding-inline) - var(--toolbar-input-error-border-offset)) calc(var(--toolbar-input-icon-end-pad) - var(--toolbar-input-error-border-offset));
13691
13715
  }
13692
- .bp_toolbar_module_toolbarInput--2bb58.bp_toolbar_module_toolbarInputError--2bb58:focus-visible{
13716
+ .bp_toolbar_module_toolbarInput--9b5b1.bp_toolbar_module_toolbarInputError--9b5b1:focus-visible{
13693
13717
  --toolbar-input-border-offset:calc(var(--toolbar-input-focus-border-width) - var(--toolbar-input-border-width));
13694
13718
  border:var(--toolbar-input-focus-border-width) solid var(--toolbar-input-border-color-focus);
13695
13719
  padding-inline:calc(var(--toolbar-input-padding-inline) - var(--toolbar-input-border-offset)) calc(var(--toolbar-input-icon-end-pad) - var(--toolbar-input-border-offset));
13696
13720
  }
13697
13721
 
13698
- .bp_toolbar_module_toolbarInputErrorIcon--2bb58{
13722
+ .bp_toolbar_module_toolbarInputErrorIcon--9b5b1{
13699
13723
  color:var(--toolbar-input-error-border-color);
13700
13724
  height:var(--toolbar-input-icon-size);
13701
13725
  inset-inline-end:var(--toolbar-input-icon-padding);
@@ -13706,44 +13730,44 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13706
13730
  width:var(--toolbar-input-icon-size);
13707
13731
  }
13708
13732
 
13709
- .bp_toolbar_module_toolbarInputErrorIconHidden--2bb58{
13733
+ .bp_toolbar_module_toolbarInputErrorIconHidden--9b5b1{
13710
13734
  visibility:hidden;
13711
13735
  }
13712
13736
 
13713
- .bp_toolbar_module_toolbarTextToggleItem--2bb58{
13737
+ .bp_toolbar_module_toolbarTextToggleItem--9b5b1{
13714
13738
  border:var(--toolbar-text-toggle-off-border);
13715
13739
  color:var(--toolbar-text-toggle-color);
13716
13740
  padding-inline:var(--toolbar-text-toggle-padding-inline);
13717
13741
  text-indent:unset;
13718
13742
  white-space:nowrap;
13719
13743
  }
13720
- .bp_toolbar_module_toolbarTextToggleItem--2bb58:not([data-disabled]):hover{
13744
+ .bp_toolbar_module_toolbarTextToggleItem--9b5b1:not([data-disabled]):hover{
13721
13745
  background:var(--toolbar-text-toggle-hover-background);
13722
13746
  border-color:var(--toolbar-text-toggle-hover-border-color);
13723
13747
  color:var(--toolbar-text-toggle-hover-color);
13724
13748
  }
13725
- .bp_toolbar_module_toolbarTextToggleItem--2bb58:not([data-disabled]):active{
13749
+ .bp_toolbar_module_toolbarTextToggleItem--9b5b1:not([data-disabled]):active{
13726
13750
  background:var(--toolbar-text-toggle-active-background);
13727
13751
  border-color:var(--toolbar-text-toggle-active-border-color);
13728
13752
  color:var(--toolbar-text-toggle-active-color);
13729
13753
  }
13730
- .bp_toolbar_module_toolbarTextToggleItem--2bb58[aria-checked=true]{
13754
+ .bp_toolbar_module_toolbarTextToggleItem--9b5b1[aria-checked=true]{
13731
13755
  background:var(--toolbar-text-toggle-checked-background);
13732
13756
  border:var(--toolbar-text-toggle-checked-border);
13733
13757
  color:var(--toolbar-text-toggle-checked-color);
13734
13758
  }
13735
- .bp_toolbar_module_toolbarTextToggleItem--2bb58[aria-checked=true]:not([data-disabled]):hover{
13759
+ .bp_toolbar_module_toolbarTextToggleItem--9b5b1[aria-checked=true]:not([data-disabled]):hover{
13736
13760
  background:var(--toolbar-text-toggle-checked-hover-background);
13737
13761
  border-color:var(--toolbar-text-toggle-checked-hover-border-color);
13738
13762
  color:var(--toolbar-text-toggle-checked-color);
13739
13763
  }
13740
- .bp_toolbar_module_toolbarTextToggleItem--2bb58[aria-checked=true]:not([data-disabled]):active{
13764
+ .bp_toolbar_module_toolbarTextToggleItem--9b5b1[aria-checked=true]:not([data-disabled]):active{
13741
13765
  background:var(--toolbar-text-toggle-checked-active-background);
13742
13766
  border-color:var(--toolbar-text-toggle-checked-active-border-color);
13743
13767
  color:var(--toolbar-text-toggle-checked-color);
13744
13768
  }
13745
13769
 
13746
- .bp_toolbar_module_toolbarRoot--2bb58[data-color-scheme=dark]{
13770
+ .bp_toolbar_module_toolbarRoot--9b5b1[data-color-scheme=dark]{
13747
13771
  --box-shadow:0 4px 12px 0 #0006;
13748
13772
  --toolbar-root-background:var(--bp-gray-100);
13749
13773
  --toolbar-root-border:var(--bp-border-01) solid var(--bp-white-opacity-12);
@@ -13752,11 +13776,11 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13752
13776
  --toolbar-link-hover-color:var(--bp-white-opacity-80);
13753
13777
  --toolbar-link-pressed-color:var(--bp-white-opacity-70);
13754
13778
  }
13755
- .bp_toolbar_module_toolbarRoot--2bb58[data-color-scheme=dark] .bp_toolbar_module_toolbarItem--2bb58{
13779
+ .bp_toolbar_module_toolbarRoot--9b5b1[data-color-scheme=dark] .bp_toolbar_module_toolbarItem--9b5b1{
13756
13780
  --background-background:var(--bp-gray-100);
13757
13781
  --toolbar-item-background:var(--bp-surface-cta-surface-icon-on-dark);
13758
13782
  --toolbar-item-off-hover-background:var(--bp-surface-cta-surface-icon-on-dark-hover);
13759
- --toolbar-item-off-hover-border:var(--bp-border-01) solid var(--bp-surface-cta-surface-icon-on-dark-hover);
13783
+ --toolbar-item-off-hover-border:var(--bp-border-01) solid #0000;
13760
13784
  --toolbar-item-off-pressed-background:var(--bp-surface-cta-surface-icon-on-dark-pressed);
13761
13785
  --toolbar-item-off-pressed-border:var(--bp-border-01) solid var(--bp-surface-cta-surface-icon-on-dark-pressed);
13762
13786
  --toolbar-item-text-color:var(--bp-icon-cta-icon-on-dark);
@@ -13786,7 +13810,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13786
13810
  --toolbar-text-toggle-checked-active-background:var(--bp-light-blue-opacity-20);
13787
13811
  --toolbar-text-toggle-checked-active-border-color:var(--bp-light-blue-opacity-30);
13788
13812
  }
13789
- .bp_toolbar_module_toolbarRoot--2bb58[data-color-scheme=dark] .bp_toolbar_module_toolbarInputContainer--2bb58{
13813
+ .bp_toolbar_module_toolbarRoot--9b5b1[data-color-scheme=dark] .bp_toolbar_module_toolbarInputContainer--9b5b1{
13790
13814
  --toolbar-input-background:var(--bp-white-opacity-08);
13791
13815
  --toolbar-input-border-color:var(--bp-white-opacity-12);
13792
13816
  --toolbar-input-color:var(--bp-text-text-on-dark);
@@ -13796,7 +13820,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
13796
13820
  --toolbar-input-disabled-border-color:var(--bp-white-opacity-08);
13797
13821
  --toolbar-input-hover-border-color:var(--bp-white-opacity-20);
13798
13822
  }
13799
- .bp_toolbar_module_toolbarRoot--2bb58[data-color-scheme=dark] .bp_toolbar_module_triggerButtonSelectedWithColor--2bb58[data-state=on] .bp_toolbar_module_dropdownIndicator--2bb58 path{
13823
+ .bp_toolbar_module_toolbarRoot--9b5b1[data-color-scheme=dark] .bp_toolbar_module_triggerButtonSelectedWithColor--9b5b1[data-state=on] .bp_toolbar_module_dropdownIndicator--9b5b1 path{
13800
13824
  fill:var(--bp-light-blue-100);
13801
13825
  }
13802
13826
  :root{
@@ -1,4 +1,4 @@
1
1
  import '../index.css';
2
- var styles = {"dropdownIndicator":"bp_toolbar_module_dropdownIndicator--2bb58","invertCaret":"bp_toolbar_module_invertCaret--2bb58","toolbarRoot":"bp_toolbar_module_toolbarRoot--2bb58","ScrollableToolbarWithReducedPadding":"bp_toolbar_module_ScrollableToolbarWithReducedPadding--2bb58","toolbarItem":"bp_toolbar_module_toolbarItem--2bb58","toolbarButton":"bp_toolbar_module_toolbarButton--2bb58","toolbarTextToggleItem":"bp_toolbar_module_toolbarTextToggleItem--2bb58","toolbarLink":"bp_toolbar_module_toolbarLink--2bb58","scrollButtonWrapper":"bp_toolbar_module_scrollButtonWrapper--2bb58","hidden":"bp_toolbar_module_hidden--2bb58","scrollableChildrenWrapper":"bp_toolbar_module_scrollableChildrenWrapper--2bb58","separator":"bp_toolbar_module_separator--2bb58","toggleGroup":"bp_toolbar_module_toggleGroup--2bb58","toolbarToggle":"bp_toolbar_module_toolbarToggle--2bb58","triggerButtonSelectedWithColor":"bp_toolbar_module_triggerButtonSelectedWithColor--2bb58","toolbarIcon":"bp_toolbar_module_toolbarIcon--2bb58","toolbarLinkText":"bp_toolbar_module_toolbarLinkText--2bb58","toolbarInputContainer":"bp_toolbar_module_toolbarInputContainer--2bb58","toolbarInput":"bp_toolbar_module_toolbarInput--2bb58","toolbarInputErrorIcon":"bp_toolbar_module_toolbarInputErrorIcon--2bb58","toolbarInputError":"bp_toolbar_module_toolbarInputError--2bb58","toolbarInputErrorIconHidden":"bp_toolbar_module_toolbarInputErrorIconHidden--2bb58"};
2
+ var styles = {"dropdownIndicator":"bp_toolbar_module_dropdownIndicator--9b5b1","invertCaret":"bp_toolbar_module_invertCaret--9b5b1","toolbarRoot":"bp_toolbar_module_toolbarRoot--9b5b1","ScrollableToolbarWithReducedPadding":"bp_toolbar_module_ScrollableToolbarWithReducedPadding--9b5b1","toolbarItem":"bp_toolbar_module_toolbarItem--9b5b1","toolbarButton":"bp_toolbar_module_toolbarButton--9b5b1","toolbarTextToggleItem":"bp_toolbar_module_toolbarTextToggleItem--9b5b1","toolbarLink":"bp_toolbar_module_toolbarLink--9b5b1","scrollButtonWrapper":"bp_toolbar_module_scrollButtonWrapper--9b5b1","hidden":"bp_toolbar_module_hidden--9b5b1","scrollableChildrenWrapper":"bp_toolbar_module_scrollableChildrenWrapper--9b5b1","separator":"bp_toolbar_module_separator--9b5b1","toggleGroup":"bp_toolbar_module_toggleGroup--9b5b1","toolbarToggle":"bp_toolbar_module_toolbarToggle--9b5b1","triggerButtonSelectedWithColor":"bp_toolbar_module_triggerButtonSelectedWithColor--9b5b1","toolbarIcon":"bp_toolbar_module_toolbarIcon--9b5b1","toolbarLinkText":"bp_toolbar_module_toolbarLinkText--9b5b1","toolbarInputContainer":"bp_toolbar_module_toolbarInputContainer--9b5b1","toolbarInput":"bp_toolbar_module_toolbarInput--9b5b1","toolbarInputErrorIcon":"bp_toolbar_module_toolbarInputErrorIcon--9b5b1","toolbarInputError":"bp_toolbar_module_toolbarInputError--9b5b1","toolbarInputErrorIconHidden":"bp_toolbar_module_toolbarInputErrorIconHidden--9b5b1"};
3
3
 
4
4
  export { styles as default };
@@ -0,0 +1,35 @@
1
+ import { type AnimationEvent } from 'react';
2
+ export type OneShotAnimationState = 'idle' | 'playing';
3
+ /**
4
+ * Stamp this on the animated node together with `key={animationGeneration}`.
5
+ * A completion whose stamp does not match the current generation is ignored.
6
+ */
7
+ export declare const ONE_SHOT_ANIMATION_GENERATION_ATTRIBUTE = "data-bp-animation-generation";
8
+ /**
9
+ * Replays a CSS animation when `trigger` changes by `Object.is`.
10
+ *
11
+ * CSS will not restart while `data-state` stays `'playing'`, so this hook
12
+ * sets `'playing'` on a trigger change and returns to `'idle'` on
13
+ * `animationend`.
14
+ *
15
+ * Each accepted trigger change bumps `animationGeneration`. When remounting is
16
+ * safe, key the animated node with that value and set
17
+ * `data-bp-animation-generation` to the same number so an `animationend` from
18
+ * the previous node cannot idle the new one.
19
+ *
20
+ * If the trigger changes while already playing, the hook goes to `'idle'` first,
21
+ * then `'playing'` again. Use that path when the node must stay mounted (for
22
+ * example a text field that should keep focus and input). The idle update is
23
+ * flushed before paint; a follow-up effect sets `'playing'`.
24
+ *
25
+ * A same-value resubmit (for example the same validation error twice) does not
26
+ * change `trigger` by `Object.is`, so it will not replay. Pass a nonce as
27
+ * `trigger` when you need another play without a value change.
28
+ *
29
+ * A rerender that keeps the same `trigger` after idle does not auto-play.
30
+ */
31
+ export declare function useOneShotAnimation(trigger: unknown, isEnabled: boolean): {
32
+ animationState: OneShotAnimationState;
33
+ animationGeneration: number;
34
+ onAnimationEnd: (event: AnimationEvent) => void;
35
+ };