@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.
- package/dist/lib-esm/badge/base-badge.d.ts +6 -1
- package/dist/lib-esm/badge/base-badge.js +9 -1
- package/dist/lib-esm/badge/base-badge.module.js +1 -1
- package/dist/lib-esm/badge/numeric-badge.js +36 -2
- package/dist/lib-esm/components.css +103 -79
- package/dist/lib-esm/index.css +103 -79
- package/dist/lib-esm/toolbar/toolbar.module.js +1 -1
- package/dist/lib-esm/utils/use-one-shot-animation.d.ts +35 -0
- package/dist/lib-esm/utils/use-one-shot-animation.js +112 -0
- package/package.json +3 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type AnimationEventHandler } from 'react';
|
|
1
2
|
import { type BadgeProps } from './types';
|
|
2
3
|
export type BaseBadgeProps = Omit<BadgeProps, 'children'> & {
|
|
3
4
|
/** The color of the badge background. */
|
|
@@ -5,5 +6,9 @@ export type BaseBadgeProps = Omit<BadgeProps, 'children'> & {
|
|
|
5
6
|
className?: string;
|
|
6
7
|
/** The child element to display in the badge: string for NumericBadge and svg for IconBadge). */
|
|
7
8
|
children?: React.ReactElement;
|
|
9
|
+
'data-bp-animated'?: 'true' | 'false';
|
|
10
|
+
'data-bp-animation-generation'?: number;
|
|
11
|
+
'data-state'?: 'idle' | 'playing';
|
|
12
|
+
onAnimationEnd?: AnimationEventHandler<HTMLDivElement>;
|
|
8
13
|
};
|
|
9
|
-
export declare const BaseBadge: ({ backgroundColor, className, children, size, offset }: BaseBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const BaseBadge: ({ backgroundColor, className, children, size, offset, "data-bp-animated": dataBpAnimated, "data-bp-animation-generation": dataBpAnimationGeneration, "data-state": dataState, onAnimationEnd, }: BaseBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,11 +8,19 @@ const BaseBadge = ({
|
|
|
8
8
|
className,
|
|
9
9
|
children,
|
|
10
10
|
size,
|
|
11
|
-
offset
|
|
11
|
+
offset,
|
|
12
|
+
'data-bp-animated': dataBpAnimated,
|
|
13
|
+
'data-bp-animation-generation': dataBpAnimationGeneration,
|
|
14
|
+
'data-state': dataState,
|
|
15
|
+
onAnimationEnd
|
|
12
16
|
}) => {
|
|
13
17
|
const offsetStyle = mapValues(offset, value => Number.isInteger(value) ? `${value}px` : `0`);
|
|
14
18
|
return jsx("div", {
|
|
15
19
|
className: clsx(className, styles.badge, styles[`${size}SizeBadge`]),
|
|
20
|
+
"data-bp-animated": dataBpAnimated,
|
|
21
|
+
"data-bp-animation-generation": dataBpAnimationGeneration,
|
|
22
|
+
"data-state": dataState,
|
|
23
|
+
onAnimationEnd: onAnimationEnd,
|
|
16
24
|
style: {
|
|
17
25
|
backgroundColor,
|
|
18
26
|
...offsetStyle
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"badgeContainer":"bp_base_badge_module_badgeContainer--
|
|
2
|
+
var styles = {"badgeContainer":"bp_base_badge_module_badgeContainer--44c64","badge":"bp_base_badge_module_badge--44c64","smallSizeBadge":"bp_base_badge_module_smallSizeBadge--44c64","mediumSizeBadge":"bp_base_badge_module_mediumSizeBadge--44c64","largeSizeBadge":"bp_base_badge_module_largeSizeBadge--44c64","xlargeSizeBadge":"bp_base_badge_module_xlargeSizeBadge--44c64","xxlargeSizeBadge":"bp_base_badge_module_xxlargeSizeBadge--44c64","iconBadge":"bp_base_badge_module_iconBadge--44c64","interactiveWrapper":"bp_base_badge_module_interactiveWrapper--44c64","statusBadge":"bp_base_badge_module_statusBadge--44c64","numericBadge":"bp_base_badge_module_numericBadge--44c64","bpNumericBadgePopIn":"bp_base_badge_module_bpNumericBadgePopIn--44c64","numericBadgeSingleDigit":"bp_base_badge_module_numericBadgeSingleDigit--44c64","numericBadgeMoreDigits":"bp_base_badge_module_numericBadgeMoreDigits--44c64"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { WatermelonRed110 } from '@box/blueprint-web-assets/tokens/tokens';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { forwardRef, Children, cloneElement } from 'react';
|
|
4
|
+
import { forwardRef, useState, useCallback, Children, cloneElement } from 'react';
|
|
5
|
+
import '../blueprint-configuration-context/blueprint-configuration-context.js';
|
|
6
|
+
import '../blueprint-configuration-context/consts.js';
|
|
7
|
+
import { useBlueprintConfiguration } from '../blueprint-configuration-context/useBlueprintConfiguration.js';
|
|
5
8
|
import { Text } from '../text/text.js';
|
|
9
|
+
import { useOneShotAnimation, ONE_SHOT_ANIMATION_GENERATION_ATTRIBUTE } from '../utils/use-one-shot-animation.js';
|
|
6
10
|
import { useUniqueId } from '../utils/useUniqueId.js';
|
|
7
11
|
import { BaseBadge } from './base-badge.js';
|
|
8
12
|
import styles from './base-badge.module.js';
|
|
@@ -14,6 +18,32 @@ const NumericBadge = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
14
18
|
offset,
|
|
15
19
|
render
|
|
16
20
|
} = props;
|
|
21
|
+
const {
|
|
22
|
+
componentsWithAnimationEnabled
|
|
23
|
+
} = useBlueprintConfiguration();
|
|
24
|
+
const isAnimationEnabled = componentsWithAnimationEnabled.includes('NumericBadge');
|
|
25
|
+
const {
|
|
26
|
+
animationState,
|
|
27
|
+
animationGeneration,
|
|
28
|
+
onAnimationEnd
|
|
29
|
+
} = useOneShotAnimation(value, isAnimationEnabled);
|
|
30
|
+
// First paint must play enter: the hook's initial trigger is idle and does not
|
|
31
|
+
// auto-play on mount. Flip to entered on animationend so idle does not loop.
|
|
32
|
+
const [hasEntered, setHasEntered] = useState(false);
|
|
33
|
+
const handleAnimationEnd = useCallback(event => {
|
|
34
|
+
if (event.target !== event.currentTarget) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
// A completion from the previous keyed node must not finish this generation.
|
|
38
|
+
if (event.currentTarget.getAttribute(ONE_SHOT_ANIMATION_GENERATION_ATTRIBUTE) !== String(animationGeneration)) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
if (!hasEntered) {
|
|
42
|
+
setHasEntered(true);
|
|
43
|
+
}
|
|
44
|
+
onAnimationEnd(event);
|
|
45
|
+
}, [animationGeneration, hasEntered, onAnimationEnd]);
|
|
46
|
+
const animationDataState = isAnimationEnabled && (!hasEntered || animationState === 'playing') ? 'playing' : 'idle';
|
|
17
47
|
const valueId = useUniqueId('numeric-badge-value');
|
|
18
48
|
// In the case of a deeply nested child (e.g., the child is wrapped by a tooltip), the render prop must be passed instead of children to correctly apply aria-describedby.
|
|
19
49
|
let badgeChild;
|
|
@@ -36,7 +66,11 @@ const NumericBadge = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
36
66
|
[styles.numericBadgeMoreDigits]: value.length > 1,
|
|
37
67
|
[styles.numericBadgeSingleDigit]: value.length === 1
|
|
38
68
|
}),
|
|
69
|
+
"data-bp-animated": isAnimationEnabled ? 'true' : 'false',
|
|
70
|
+
"data-bp-animation-generation": animationGeneration,
|
|
71
|
+
"data-state": animationDataState,
|
|
39
72
|
offset: offset,
|
|
73
|
+
onAnimationEnd: handleAnimationEnd,
|
|
40
74
|
size: "medium",
|
|
41
75
|
children: jsx(Text, {
|
|
42
76
|
as: "span",
|
|
@@ -45,7 +79,7 @@ const NumericBadge = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
45
79
|
variant: "labelBold",
|
|
46
80
|
children: value
|
|
47
81
|
})
|
|
48
|
-
})]
|
|
82
|
+
}, animationGeneration)]
|
|
49
83
|
});
|
|
50
84
|
});
|
|
51
85
|
|
|
@@ -2542,12 +2542,12 @@
|
|
|
2542
2542
|
transition:none;
|
|
2543
2543
|
}
|
|
2544
2544
|
}
|
|
2545
|
-
.bp_base_badge_module_badgeContainer--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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
|
-
.
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
13504
|
+
.bp_toolbar_module_scrollButtonWrapper--9b5b1.bp_toolbar_module_hidden--9b5b1{
|
|
13481
13505
|
display:none;
|
|
13482
13506
|
}
|
|
13483
13507
|
|
|
13484
|
-
.bp_toolbar_module_scrollableChildrenWrapper--
|
|
13508
|
+
.bp_toolbar_module_scrollableChildrenWrapper--9b5b1{
|
|
13485
13509
|
-ms-overflow-style:none;
|
|
13486
13510
|
scrollbar-width:none;
|
|
13487
13511
|
}
|
|
13488
|
-
.bp_toolbar_module_scrollableChildrenWrapper--
|
|
13512
|
+
.bp_toolbar_module_scrollableChildrenWrapper--9b5b1::-webkit-scrollbar{
|
|
13489
13513
|
display:none;
|
|
13490
13514
|
}
|
|
13491
|
-
.bp_toolbar_module_scrollableChildrenWrapper--
|
|
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--
|
|
13526
|
+
.bp_toolbar_module_scrollableChildrenWrapper--9b5b1 > *{
|
|
13503
13527
|
flex:none;
|
|
13504
13528
|
}
|
|
13505
13529
|
|
|
13506
|
-
.bp_toolbar_module_separator--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
13733
|
+
.bp_toolbar_module_toolbarInputErrorIconHidden--9b5b1{
|
|
13710
13734
|
visibility:hidden;
|
|
13711
13735
|
}
|
|
13712
13736
|
|
|
13713
|
-
.bp_toolbar_module_toolbarTextToggleItem--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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--
|
|
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
|
|
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--
|
|
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--
|
|
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{
|