@box/blueprint-web 11.12.0 → 12.0.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/avatar/avatar.d.ts +0 -4
- package/dist/lib-esm/avatar/avatar.js +2 -12
- package/dist/lib-esm/avatar/avatar.module.js +1 -1
- package/dist/lib-esm/avatar/consts.d.ts +0 -1
- package/dist/lib-esm/avatar/consts.js +2 -9
- package/dist/lib-esm/avatar/types.d.ts +0 -5
- package/dist/lib-esm/index.css +148 -139
- package/dist/lib-esm/input-chip/input-chip.js +20 -5
- package/dist/lib-esm/loading-indicator/loading-indicator.module.js +1 -1
- package/dist/lib-esm/modal/modal-close.js +7 -6
- package/dist/lib-esm/modal/modal-content.d.ts +2 -0
- package/dist/lib-esm/modal/modal-content.js +2 -0
- package/dist/lib-esm/modal/modal-scrollable-container.js +1 -1
- package/dist/lib-esm/modal/modal.d.ts +2 -0
- package/dist/lib-esm/modal/modal.module.js +1 -1
- package/dist/lib-esm/primitives/base-text-input/base-text-input.js +3 -3
- package/dist/lib-esm/side-panel/side-panel.module.js +1 -1
- package/package.json +1 -1
|
@@ -2,28 +2,24 @@ export declare const Avatar: import("react").ForwardRefExoticComponent<(Omit<Omi
|
|
|
2
2
|
ref?: ((instance: HTMLImageElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLImageElement> | null | undefined;
|
|
3
3
|
} & {
|
|
4
4
|
anonymous?: boolean;
|
|
5
|
-
children?: import("react").ReactElement;
|
|
6
5
|
size?: import("./types").AvatarSize;
|
|
7
6
|
text?: string;
|
|
8
7
|
} & Required<Pick<import("./types").Image, keyof import("./types").Image>> & Omit<import("./types").Image, keyof import("./types").Image> & Required<Pick<import("./types").WithColor, "color">> & Partial<Record<"colorIndex", never>> & Omit<import("./types").WithColor, keyof import("./types").WithColor>, "ref"> | Omit<Omit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
|
|
9
8
|
ref?: ((instance: HTMLImageElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLImageElement> | null | undefined;
|
|
10
9
|
} & {
|
|
11
10
|
anonymous?: boolean;
|
|
12
|
-
children?: import("react").ReactElement;
|
|
13
11
|
size?: import("./types").AvatarSize;
|
|
14
12
|
text?: string;
|
|
15
13
|
} & Required<Pick<import("./types").Image, keyof import("./types").Image>> & Omit<import("./types").Image, keyof import("./types").Image> & Required<Pick<import("./types").WithColor, "colorIndex">> & Partial<Record<"color", never>> & Omit<import("./types").WithColor, keyof import("./types").WithColor>, "ref"> | Omit<Omit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
|
|
16
14
|
ref?: ((instance: HTMLImageElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLImageElement> | null | undefined;
|
|
17
15
|
} & {
|
|
18
16
|
anonymous?: boolean;
|
|
19
|
-
children?: import("react").ReactElement;
|
|
20
17
|
size?: import("./types").AvatarSize;
|
|
21
18
|
text?: string;
|
|
22
19
|
} & Partial<Record<keyof import("./types").Image, never>> & Omit<import("./types").Image, keyof import("./types").Image> & Required<Pick<import("./types").WithColor, "color">> & Partial<Record<"colorIndex", never>> & Omit<import("./types").WithColor, keyof import("./types").WithColor>, "ref"> | Omit<Omit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
|
|
23
20
|
ref?: ((instance: HTMLImageElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLImageElement> | null | undefined;
|
|
24
21
|
} & {
|
|
25
22
|
anonymous?: boolean;
|
|
26
|
-
children?: import("react").ReactElement;
|
|
27
23
|
size?: import("./types").AvatarSize;
|
|
28
24
|
text?: string;
|
|
29
25
|
} & Partial<Record<keyof import("./types").Image, never>> & Omit<import("./types").Image, keyof import("./types").Image> & Required<Pick<import("./types").WithColor, "colorIndex">> & Partial<Record<"color", never>> & Omit<import("./types").WithColor, keyof import("./types").WithColor>, "ref">) & import("react").RefAttributes<HTMLImageElement>>;
|
|
@@ -2,15 +2,14 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Avatar as Avatar$1 } from '@box/blueprint-web-assets/icons/Line';
|
|
3
3
|
import { GrayBlack } from '@box/blueprint-web-assets/tokens/tokens';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
-
import { forwardRef, useState, useEffect
|
|
5
|
+
import { forwardRef, useState, useEffect } from 'react';
|
|
6
6
|
import styles from './avatar.module.js';
|
|
7
|
-
import { colors, anonymousAvatarIconSizes
|
|
7
|
+
import { colors, anonymousAvatarIconSizes } from './consts.js';
|
|
8
8
|
|
|
9
9
|
const Avatar = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
10
10
|
const {
|
|
11
11
|
alt,
|
|
12
12
|
anonymous,
|
|
13
|
-
children,
|
|
14
13
|
className,
|
|
15
14
|
color,
|
|
16
15
|
colorIndex,
|
|
@@ -29,12 +28,6 @@ const Avatar = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
29
28
|
}, [src]);
|
|
30
29
|
const backgroundColor = color || colors[(colorIndex || 0) % colors.length];
|
|
31
30
|
const anonymousAvatarIconSize = anonymousAvatarIconSizes[size];
|
|
32
|
-
const child = children && Children.only(children);
|
|
33
|
-
const badgeSize = badgeSizes[size];
|
|
34
|
-
const badge = child && /*#__PURE__*/cloneElement(child, {
|
|
35
|
-
height: badgeSize,
|
|
36
|
-
width: badgeSize
|
|
37
|
-
});
|
|
38
31
|
const imageIsLoading = !!src && !imageIsLoaded;
|
|
39
32
|
const shouldShowText = !anonymous && text && !imageIsLoaded;
|
|
40
33
|
const shouldShowAnonymousAvatar = anonymous || imageIsLoading && !text;
|
|
@@ -70,9 +63,6 @@ const Avatar = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
70
63
|
onLoad?.(event);
|
|
71
64
|
},
|
|
72
65
|
src: src
|
|
73
|
-
}), badge && jsx("div", {
|
|
74
|
-
className: styles.badge,
|
|
75
|
-
children: badge
|
|
76
66
|
})]
|
|
77
67
|
});
|
|
78
68
|
return jsx("div", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"avatar":"bp_avatar_module_avatar--
|
|
2
|
+
var styles = {"avatar":"bp_avatar_module_avatar--05bbb","text":"bp_avatar_module_text--05bbb","small":"bp_avatar_module_small--05bbb","length-1":"bp_avatar_module_length-1--05bbb","length-2":"bp_avatar_module_length-2--05bbb","medium":"bp_avatar_module_medium--05bbb","large":"bp_avatar_module_large--05bbb","length-3":"bp_avatar_module_length-3--05bbb","length-4":"bp_avatar_module_length-4--05bbb","xlarge":"bp_avatar_module_xlarge--05bbb","xxlarge":"bp_avatar_module_xxlarge--05bbb","badge":"bp_avatar_module_badge--05bbb","image":"bp_avatar_module_image--05bbb","loading":"bp_avatar_module_loading--05bbb","anonymousAvatar":"bp_avatar_module_anonymousAvatar--05bbb"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type AvatarSize, type Color } from './types';
|
|
2
2
|
export declare const anonymousAvatarIconSizes: Record<AvatarSize, string>;
|
|
3
3
|
export declare const AvatarSizes: readonly ["small", "medium", "large", "xlarge", "xxlarge"];
|
|
4
|
-
export declare const badgeSizes: Record<AvatarSize, string>;
|
|
5
4
|
export declare const colorsMap: Record<string, Color>;
|
|
6
5
|
export declare const colors: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Size3, Size4, Size5, Size7, Size9, BoxBlue50, DarkBlue50, Yellow50, GreenLight50, Yellorange50, LightBlue50, WatermelonRed50, PurpleRain50, Orange50, Grimace50
|
|
1
|
+
import { Size3, Size4, Size5, Size7, Size9, BoxBlue50, DarkBlue50, Yellow50, GreenLight50, Yellorange50, LightBlue50, WatermelonRed50, PurpleRain50, Orange50, Grimace50 } from '@box/blueprint-web-assets/tokens/tokens';
|
|
2
2
|
|
|
3
3
|
const anonymousAvatarIconSizes = {
|
|
4
4
|
small: Size3,
|
|
@@ -7,13 +7,6 @@ const anonymousAvatarIconSizes = {
|
|
|
7
7
|
xlarge: Size7,
|
|
8
8
|
xxlarge: Size9
|
|
9
9
|
};
|
|
10
|
-
const badgeSizes = {
|
|
11
|
-
small: Size2,
|
|
12
|
-
medium: Size3,
|
|
13
|
-
large: Size3,
|
|
14
|
-
xlarge: Size4,
|
|
15
|
-
xxlarge: Size6
|
|
16
|
-
};
|
|
17
10
|
const colorsMap = {
|
|
18
11
|
BoxBlue50,
|
|
19
12
|
DarkBlue50,
|
|
@@ -28,4 +21,4 @@ const colorsMap = {
|
|
|
28
21
|
};
|
|
29
22
|
const colors = Object.values(colorsMap);
|
|
30
23
|
|
|
31
|
-
export { anonymousAvatarIconSizes,
|
|
24
|
+
export { anonymousAvatarIconSizes, colors, colorsMap };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type BoxBlue50, type DarkBlue50, type GreenLight50, type Grimace50, type LightBlue50, type Orange50, type PurpleRain50, type WatermelonRed50, type Yellorange50, type Yellow50 } from '@box/blueprint-web-assets/tokens/tokens';
|
|
2
|
-
import { type ReactElement } from 'react';
|
|
3
2
|
import { type RequireAllOrNone, type RequireExactlyOne } from 'type-fest';
|
|
4
3
|
import { type AvatarSizes } from './consts';
|
|
5
4
|
export type AvatarSize = (typeof AvatarSizes)[number];
|
|
@@ -23,10 +22,6 @@ export interface WithColor {
|
|
|
23
22
|
export type AvatarProps = React.ComponentPropsWithRef<'img'> & {
|
|
24
23
|
/** Whether to display the anonymous user image */
|
|
25
24
|
anonymous?: boolean;
|
|
26
|
-
/** The badge element. This prop will be removed in a future major release. Please use IconBadge or StatusBadge components instead.
|
|
27
|
-
* @deprecated
|
|
28
|
-
*/
|
|
29
|
-
children?: ReactElement;
|
|
30
25
|
/** The size of the avatar */
|
|
31
26
|
size?: AvatarSize;
|
|
32
27
|
/** The text to display, e.g. the user initial or the number of users editing the document.
|
package/dist/lib-esm/index.css
CHANGED
|
@@ -120,52 +120,56 @@
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.bp_loading_indicator_module_crawler--
|
|
123
|
+
.bp_loading_indicator_module_crawler--2f1df{
|
|
124
|
+
align-items:center;
|
|
125
|
+
display:flex;
|
|
126
|
+
height:1.5rem;
|
|
127
|
+
justify-content:center;
|
|
124
128
|
left:0;
|
|
125
129
|
margin:0 auto;
|
|
126
130
|
position:absolute;
|
|
127
131
|
right:0;
|
|
128
132
|
white-space:nowrap;
|
|
129
|
-
width
|
|
133
|
+
width:1.5rem;
|
|
130
134
|
}
|
|
131
|
-
.bp_loading_indicator_module_crawler--
|
|
135
|
+
.bp_loading_indicator_module_crawler--2f1df .bp_loading_indicator_module_segment--2f1df{
|
|
132
136
|
border-radius:.375rem;
|
|
133
137
|
display:inline-block;
|
|
134
138
|
height:.625rem;
|
|
135
139
|
width:.125rem;
|
|
136
140
|
}
|
|
137
|
-
.bp_loading_indicator_module_crawler--
|
|
138
|
-
transform:scale(.
|
|
141
|
+
.bp_loading_indicator_module_crawler--2f1df.bp_loading_indicator_module_small--2f1df{
|
|
142
|
+
transform:scale(.6667);
|
|
139
143
|
}
|
|
140
|
-
.bp_loading_indicator_module_crawler--
|
|
141
|
-
transform:scale(1.
|
|
144
|
+
.bp_loading_indicator_module_crawler--2f1df.bp_loading_indicator_module_large--2f1df{
|
|
145
|
+
transform:scale(1.3334);
|
|
142
146
|
}
|
|
143
|
-
.bp_loading_indicator_module_crawler--
|
|
147
|
+
.bp_loading_indicator_module_crawler--2f1df.bp_loading_indicator_module_x-large--2f1df{
|
|
144
148
|
transform:scale(2);
|
|
145
149
|
}
|
|
146
|
-
.bp_loading_indicator_module_crawler--
|
|
147
|
-
animation:bp_loading_indicator_module_segment-transform--
|
|
150
|
+
.bp_loading_indicator_module_crawler--2f1df.bp_loading_indicator_module_default--2f1df .bp_loading_indicator_module_segment--2f1df{
|
|
151
|
+
animation:bp_loading_indicator_module_segment-transform--2f1df .66s ease-in-out infinite,bp_loading_indicator_module_segment-default--2f1df .66s ease-in-out infinite;
|
|
148
152
|
}
|
|
149
|
-
.bp_loading_indicator_module_crawler--
|
|
150
|
-
animation:bp_loading_indicator_module_segment-transform--
|
|
153
|
+
.bp_loading_indicator_module_crawler--2f1df.bp_loading_indicator_module_dark--2f1df .bp_loading_indicator_module_segment--2f1df{
|
|
154
|
+
animation:bp_loading_indicator_module_segment-transform--2f1df .66s ease-in-out infinite,bp_loading_indicator_module_segment-dark--2f1df .66s ease-in-out infinite;
|
|
151
155
|
}
|
|
152
|
-
.bp_loading_indicator_module_crawler--
|
|
153
|
-
animation:bp_loading_indicator_module_segment-transform--
|
|
156
|
+
.bp_loading_indicator_module_crawler--2f1df.bp_loading_indicator_module_light--2f1df .bp_loading_indicator_module_segment--2f1df{
|
|
157
|
+
animation:bp_loading_indicator_module_segment-transform--2f1df .66s ease-in-out infinite,bp_loading_indicator_module_segment-light--2f1df .66s ease-in-out infinite;
|
|
154
158
|
background-color:var(--gray-white);
|
|
155
159
|
}
|
|
156
160
|
|
|
157
|
-
.bp_loading_indicator_module_crawler--
|
|
161
|
+
.bp_loading_indicator_module_crawler--2f1df .bp_loading_indicator_module_segment--2f1df:nth-child(2){
|
|
158
162
|
animation-delay:.1s;
|
|
159
163
|
margin-left:.125rem;
|
|
160
164
|
}
|
|
161
165
|
|
|
162
|
-
.bp_loading_indicator_module_crawler--
|
|
166
|
+
.bp_loading_indicator_module_crawler--2f1df .bp_loading_indicator_module_segment--2f1df:last-child{
|
|
163
167
|
animation-delay:.2s;
|
|
164
168
|
left:.5rem;
|
|
165
169
|
margin-left:.125rem;
|
|
166
170
|
}
|
|
167
171
|
|
|
168
|
-
@keyframes bp_loading_indicator_module_segment-transform--
|
|
172
|
+
@keyframes bp_loading_indicator_module_segment-transform--2f1df{
|
|
169
173
|
0%,100%,80%{
|
|
170
174
|
transform:scaleY(1.2);
|
|
171
175
|
}
|
|
@@ -173,7 +177,7 @@
|
|
|
173
177
|
transform:scaleY(1.6);
|
|
174
178
|
}
|
|
175
179
|
}
|
|
176
|
-
@keyframes bp_loading_indicator_module_segment-dark--
|
|
180
|
+
@keyframes bp_loading_indicator_module_segment-dark--2f1df{
|
|
177
181
|
0%,100%,80%{
|
|
178
182
|
background-color:var(--gray-30);
|
|
179
183
|
}
|
|
@@ -181,7 +185,7 @@
|
|
|
181
185
|
background-color:var(--gray-black);
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
|
-
@keyframes bp_loading_indicator_module_segment-default--
|
|
188
|
+
@keyframes bp_loading_indicator_module_segment-default--2f1df{
|
|
185
189
|
0%,100%,80%{
|
|
186
190
|
background-color:var(--box-blue-30);
|
|
187
191
|
}
|
|
@@ -189,7 +193,7 @@
|
|
|
189
193
|
background-color:var(--box-blue-100);
|
|
190
194
|
}
|
|
191
195
|
}
|
|
192
|
-
@keyframes bp_loading_indicator_module_segment-light--
|
|
196
|
+
@keyframes bp_loading_indicator_module_segment-light--2f1df{
|
|
193
197
|
0%,100%,80%{
|
|
194
198
|
opacity:.3;
|
|
195
199
|
}
|
|
@@ -735,7 +739,7 @@
|
|
|
735
739
|
transform:rotate(180deg);
|
|
736
740
|
}
|
|
737
741
|
|
|
738
|
-
.bp_avatar_module_avatar--
|
|
742
|
+
.bp_avatar_module_avatar--05bbb{
|
|
739
743
|
all:unset;
|
|
740
744
|
align-items:center;
|
|
741
745
|
background-color:var(--gray-10);
|
|
@@ -753,15 +757,7 @@
|
|
|
753
757
|
text-decoration:var(--body-default-bold-text-decoration);
|
|
754
758
|
text-transform:var(--body-default-bold-text-case);
|
|
755
759
|
}
|
|
756
|
-
.bp_avatar_module_avatar--
|
|
757
|
-
background-color:var(--gray-white);
|
|
758
|
-
border:var(--border-2) solid var(--gray-white);
|
|
759
|
-
border-radius:50%;
|
|
760
|
-
bottom:-.125rem;
|
|
761
|
-
display:flex;
|
|
762
|
-
position:absolute;
|
|
763
|
-
}
|
|
764
|
-
.bp_avatar_module_avatar--b2c43 .bp_avatar_module_text--b2c43{
|
|
760
|
+
.bp_avatar_module_avatar--05bbb .bp_avatar_module_text--05bbb{
|
|
765
761
|
align-items:center;
|
|
766
762
|
border-radius:50%;
|
|
767
763
|
display:flex;
|
|
@@ -769,14 +765,14 @@
|
|
|
769
765
|
justify-content:center;
|
|
770
766
|
width:100%;
|
|
771
767
|
}
|
|
772
|
-
.bp_avatar_module_avatar--
|
|
768
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_small--05bbb{
|
|
773
769
|
height:var(--size-6);
|
|
774
770
|
width:var(--size-6);
|
|
775
771
|
}
|
|
776
|
-
.bp_avatar_module_avatar--
|
|
772
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_small--05bbb .bp_avatar_module_text--05bbb{
|
|
777
773
|
font-size:.5rem;
|
|
778
774
|
}
|
|
779
|
-
.bp_avatar_module_avatar--
|
|
775
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_small--05bbb .bp_avatar_module_length-1--05bbb.bp_avatar_module_text--05bbb,.bp_avatar_module_avatar--05bbb.bp_avatar_module_small--05bbb .bp_avatar_module_length-2--05bbb.bp_avatar_module_text--05bbb{
|
|
780
776
|
font-family:var(--label-bold-font-family);
|
|
781
777
|
font-size:var(--label-bold-font-size);
|
|
782
778
|
font-weight:var(--label-bold-font-weight);
|
|
@@ -786,14 +782,11 @@
|
|
|
786
782
|
text-decoration:var(--label-bold-text-decoration);
|
|
787
783
|
text-transform:var(--label-bold-text-case);
|
|
788
784
|
}
|
|
789
|
-
.bp_avatar_module_avatar--
|
|
790
|
-
right:-.25rem;
|
|
791
|
-
}
|
|
792
|
-
.bp_avatar_module_avatar--b2c43.bp_avatar_module_medium--b2c43{
|
|
785
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_medium--05bbb{
|
|
793
786
|
height:var(--size-7);
|
|
794
787
|
width:var(--size-7);
|
|
795
788
|
}
|
|
796
|
-
.bp_avatar_module_avatar--
|
|
789
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_medium--05bbb .bp_avatar_module_text--05bbb{
|
|
797
790
|
font-family:var(--label-bold-font-family);
|
|
798
791
|
font-size:var(--label-bold-font-size);
|
|
799
792
|
font-weight:var(--label-bold-font-weight);
|
|
@@ -803,20 +796,17 @@
|
|
|
803
796
|
text-decoration:var(--label-bold-text-decoration);
|
|
804
797
|
text-transform:var(--label-bold-text-case);
|
|
805
798
|
}
|
|
806
|
-
.bp_avatar_module_avatar--
|
|
799
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_medium--05bbb .bp_avatar_module_length-1--05bbb.bp_avatar_module_text--05bbb,.bp_avatar_module_avatar--05bbb.bp_avatar_module_medium--05bbb .bp_avatar_module_length-2--05bbb.bp_avatar_module_text--05bbb{
|
|
807
800
|
font-size:.8125rem;
|
|
808
801
|
}
|
|
809
|
-
.bp_avatar_module_avatar--
|
|
810
|
-
right:-.375rem;
|
|
811
|
-
}
|
|
812
|
-
.bp_avatar_module_avatar--b2c43.bp_avatar_module_large--b2c43{
|
|
802
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_large--05bbb{
|
|
813
803
|
height:var(--size-8);
|
|
814
804
|
width:var(--size-8);
|
|
815
805
|
}
|
|
816
|
-
.bp_avatar_module_avatar--
|
|
806
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_large--05bbb .bp_avatar_module_text--05bbb{
|
|
817
807
|
font-size:.5rem;
|
|
818
808
|
}
|
|
819
|
-
.bp_avatar_module_avatar--
|
|
809
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_large--05bbb .bp_avatar_module_length-1--05bbb.bp_avatar_module_text--05bbb,.bp_avatar_module_avatar--05bbb.bp_avatar_module_large--05bbb .bp_avatar_module_length-2--05bbb.bp_avatar_module_text--05bbb{
|
|
820
810
|
font-family:var(--body-default-bold-font-family);
|
|
821
811
|
font-size:var(--body-default-bold-font-size);
|
|
822
812
|
font-weight:var(--body-default-bold-font-weight);
|
|
@@ -826,10 +816,10 @@
|
|
|
826
816
|
text-decoration:var(--body-default-bold-text-decoration);
|
|
827
817
|
text-transform:var(--body-default-bold-text-case);
|
|
828
818
|
}
|
|
829
|
-
.bp_avatar_module_avatar--
|
|
819
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_large--05bbb .bp_avatar_module_length-3--05bbb.bp_avatar_module_text--05bbb{
|
|
830
820
|
font-size:.6875rem;
|
|
831
821
|
}
|
|
832
|
-
.bp_avatar_module_avatar--
|
|
822
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_large--05bbb .bp_avatar_module_length-4--05bbb.bp_avatar_module_text--05bbb{
|
|
833
823
|
font-family:var(--label-bold-font-family);
|
|
834
824
|
font-size:var(--label-bold-font-size);
|
|
835
825
|
font-weight:var(--label-bold-font-weight);
|
|
@@ -839,17 +829,14 @@
|
|
|
839
829
|
text-decoration:var(--label-bold-text-decoration);
|
|
840
830
|
text-transform:var(--label-bold-text-case);
|
|
841
831
|
}
|
|
842
|
-
.bp_avatar_module_avatar--
|
|
843
|
-
right:-.25rem;
|
|
844
|
-
}
|
|
845
|
-
.bp_avatar_module_avatar--b2c43.bp_avatar_module_xlarge--b2c43{
|
|
832
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_xlarge--05bbb{
|
|
846
833
|
height:var(--size-11);
|
|
847
834
|
width:var(--size-11);
|
|
848
835
|
}
|
|
849
|
-
.bp_avatar_module_avatar--
|
|
836
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_xlarge--05bbb .bp_avatar_module_text--05bbb{
|
|
850
837
|
font-size:1rem;
|
|
851
838
|
}
|
|
852
|
-
.bp_avatar_module_avatar--
|
|
839
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_xlarge--05bbb .bp_avatar_module_length-1--05bbb.bp_avatar_module_text--05bbb,.bp_avatar_module_avatar--05bbb.bp_avatar_module_xlarge--05bbb .bp_avatar_module_length-2--05bbb.bp_avatar_module_text--05bbb{
|
|
853
840
|
font-family:var(--title-x-large-font-family);
|
|
854
841
|
font-size:var(--title-x-large-font-size);
|
|
855
842
|
font-weight:var(--title-x-large-font-weight);
|
|
@@ -859,49 +846,46 @@
|
|
|
859
846
|
text-decoration:var(--title-x-large-text-decoration);
|
|
860
847
|
text-transform:var(--title-x-large-text-case);
|
|
861
848
|
}
|
|
862
|
-
.bp_avatar_module_avatar--
|
|
863
|
-
right:-.375rem;
|
|
864
|
-
}
|
|
865
|
-
.bp_avatar_module_avatar--b2c43.bp_avatar_module_xxlarge--b2c43{
|
|
849
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_xxlarge--05bbb{
|
|
866
850
|
height:var(--size-20);
|
|
867
851
|
width:var(--size-20);
|
|
868
852
|
}
|
|
869
|
-
.bp_avatar_module_avatar--
|
|
853
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_xxlarge--05bbb .bp_avatar_module_text--05bbb{
|
|
870
854
|
font-size:1.25rem;
|
|
871
855
|
}
|
|
872
|
-
.bp_avatar_module_avatar--
|
|
856
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_xxlarge--05bbb .bp_avatar_module_length-1--05bbb.bp_avatar_module_text--05bbb,.bp_avatar_module_avatar--05bbb.bp_avatar_module_xxlarge--05bbb .bp_avatar_module_length-2--05bbb.bp_avatar_module_text--05bbb{
|
|
873
857
|
font-size:2rem;
|
|
874
858
|
}
|
|
875
|
-
.bp_avatar_module_avatar--
|
|
859
|
+
.bp_avatar_module_avatar--05bbb.bp_avatar_module_xxlarge--05bbb .bp_avatar_module_badge--05bbb{
|
|
876
860
|
right:-.375rem;
|
|
877
861
|
}
|
|
878
|
-
.bp_avatar_module_avatar--
|
|
862
|
+
.bp_avatar_module_avatar--05bbb .bp_avatar_module_image--05bbb{
|
|
879
863
|
border-radius:50%;
|
|
880
864
|
height:100%;
|
|
881
865
|
object-fit:cover;
|
|
882
866
|
width:100%;
|
|
883
867
|
}
|
|
884
|
-
.bp_avatar_module_avatar--
|
|
868
|
+
.bp_avatar_module_avatar--05bbb .bp_avatar_module_image--05bbb.bp_avatar_module_loading--05bbb{
|
|
885
869
|
height:0;
|
|
886
870
|
width:0;
|
|
887
871
|
}
|
|
888
872
|
|
|
889
|
-
.bp_avatar_module_anonymousAvatar--
|
|
873
|
+
.bp_avatar_module_anonymousAvatar--05bbb{
|
|
890
874
|
align-items:center;
|
|
891
875
|
display:flex;
|
|
892
876
|
justify-content:center;
|
|
893
877
|
}
|
|
894
878
|
|
|
895
|
-
[data-button-wrapper]:hover .bp_avatar_module_avatar--
|
|
879
|
+
[data-button-wrapper]:hover .bp_avatar_module_avatar--05bbb{
|
|
896
880
|
box-shadow:0 0 0 0 var(--background-background), 0 0 0 var(--border-3) var(--border-avatar-border-hover);
|
|
897
881
|
cursor:pointer;
|
|
898
882
|
}
|
|
899
883
|
|
|
900
|
-
[data-button-wrapper]:active .bp_avatar_module_avatar--
|
|
884
|
+
[data-button-wrapper]:active .bp_avatar_module_avatar--05bbb{
|
|
901
885
|
box-shadow:0 0 0 0 var(--background-background), 0 0 0 var(--border-3) var(--border-avatar-border-pressed);
|
|
902
886
|
}
|
|
903
887
|
|
|
904
|
-
[data-button-wrapper][data-focus-visible] .bp_avatar_module_avatar--
|
|
888
|
+
[data-button-wrapper][data-focus-visible] .bp_avatar_module_avatar--05bbb{
|
|
905
889
|
box-shadow:0 0 0 var(--border-1, 1px) var(--background-background), 0 0 0 var(--border-3) var(--outline-focus-on-light);
|
|
906
890
|
}
|
|
907
891
|
|
|
@@ -4377,7 +4361,7 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
4377
4361
|
display:inline;
|
|
4378
4362
|
}
|
|
4379
4363
|
|
|
4380
|
-
.bp_modal_module_overlay--
|
|
4364
|
+
.bp_modal_module_overlay--eb249{
|
|
4381
4365
|
background-color:var(--black-opacity-80);
|
|
4382
4366
|
bottom:0;
|
|
4383
4367
|
display:grid;
|
|
@@ -4389,76 +4373,95 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
4389
4373
|
z-index:370;
|
|
4390
4374
|
}
|
|
4391
4375
|
@media (width > 459px){
|
|
4392
|
-
.bp_modal_module_overlay--
|
|
4376
|
+
.bp_modal_module_overlay--eb249{
|
|
4393
4377
|
place-items:center;
|
|
4394
4378
|
}
|
|
4395
4379
|
}
|
|
4396
4380
|
|
|
4397
|
-
.bp_modal_module_content--
|
|
4398
|
-
animation:bp_modal_module_popup_bounce_in--
|
|
4381
|
+
.bp_modal_module_content--eb249{
|
|
4382
|
+
animation:bp_modal_module_popup_bounce_in--eb249 var(--animation-duration-3);
|
|
4399
4383
|
background-color:var(--gray-white);
|
|
4400
4384
|
display:flex;
|
|
4401
4385
|
flex-direction:column;
|
|
4402
4386
|
height:100vh;
|
|
4403
|
-
overflow:
|
|
4387
|
+
overflow-y:auto;
|
|
4404
4388
|
position:relative;
|
|
4405
4389
|
}
|
|
4390
|
+
@media (width > 374px){
|
|
4391
|
+
.bp_modal_module_content--eb249{
|
|
4392
|
+
overflow:hidden;
|
|
4393
|
+
}
|
|
4394
|
+
}
|
|
4406
4395
|
@media (width > 459px){
|
|
4407
|
-
.bp_modal_module_content--
|
|
4396
|
+
.bp_modal_module_content--eb249{
|
|
4408
4397
|
border-radius:var(--radius-4);
|
|
4409
4398
|
height:auto;
|
|
4410
4399
|
margin:0 var(--space-8);
|
|
4411
4400
|
max-height:calc(100vh - var(--space-8)*2);
|
|
4412
4401
|
min-width:calc(460px - var(--space-8)*2);
|
|
4413
4402
|
}
|
|
4414
|
-
.bp_modal_module_content--
|
|
4403
|
+
.bp_modal_module_content--eb249.bp_modal_module_smallSizeModal--eb249{
|
|
4415
4404
|
max-width:460px;
|
|
4416
4405
|
}
|
|
4417
|
-
.bp_modal_module_content--
|
|
4406
|
+
.bp_modal_module_content--eb249.bp_modal_module_mediumSizeModal--eb249{
|
|
4418
4407
|
max-width:540px;
|
|
4419
4408
|
}
|
|
4420
|
-
.bp_modal_module_content--
|
|
4409
|
+
.bp_modal_module_content--eb249.bp_modal_module_largeSizeModal--eb249{
|
|
4421
4410
|
max-width:620px;
|
|
4422
4411
|
}
|
|
4423
|
-
.bp_modal_module_content--
|
|
4412
|
+
.bp_modal_module_content--eb249.bp_modal_module_xlargeSizeModal--eb249{
|
|
4424
4413
|
max-width:768px;
|
|
4425
4414
|
}
|
|
4426
4415
|
}
|
|
4427
4416
|
|
|
4428
|
-
.
|
|
4417
|
+
.bp_modal_module_scrollableContainer--eb249{
|
|
4418
|
+
flex-grow:1;
|
|
4419
|
+
}
|
|
4420
|
+
@media (width > 374px){
|
|
4421
|
+
.bp_modal_module_scrollableContainer--eb249{
|
|
4422
|
+
overflow-y:auto;
|
|
4423
|
+
}
|
|
4424
|
+
}
|
|
4425
|
+
|
|
4426
|
+
.bp_modal_module_content--eb249 .bp_modal_module_close--eb249{
|
|
4429
4427
|
color:var(--gray-65);
|
|
4430
|
-
position:
|
|
4428
|
+
position:fixed;
|
|
4431
4429
|
right:var(--space-4);
|
|
4432
4430
|
top:var(--space-4);
|
|
4433
4431
|
}
|
|
4432
|
+
@media (width > 374px){
|
|
4433
|
+
.bp_modal_module_content--eb249 .bp_modal_module_close--eb249{
|
|
4434
|
+
position:absolute;
|
|
4435
|
+
}
|
|
4436
|
+
}
|
|
4434
4437
|
|
|
4435
|
-
.bp_modal_module_close--
|
|
4438
|
+
.bp_modal_module_close--eb249.bp_modal_module_onColor--eb249{
|
|
4436
4439
|
background-color:var(--surface-cta-surface-tertiary);
|
|
4437
4440
|
}
|
|
4438
|
-
.bp_modal_module_close--
|
|
4441
|
+
.bp_modal_module_close--eb249.bp_modal_module_onColor--eb249:hover{
|
|
4439
4442
|
background-color:var(--surface-cta-surface-icon-hover);
|
|
4440
4443
|
}
|
|
4441
|
-
.bp_modal_module_close--
|
|
4444
|
+
.bp_modal_module_close--eb249.bp_modal_module_onColor--eb249:active{
|
|
4442
4445
|
background-color:var(--surface-cta-surface-icon-pressed);
|
|
4443
4446
|
}
|
|
4444
4447
|
|
|
4445
|
-
.bp_modal_module_content--
|
|
4448
|
+
.bp_modal_module_content--eb249 .bp_modal_module_backButton--eb249{
|
|
4446
4449
|
color:var(--gray-65);
|
|
4447
4450
|
margin-block-start:var(--space-4);
|
|
4448
4451
|
margin-inline-start:var(--space-4);
|
|
4449
4452
|
}
|
|
4450
4453
|
@media (width > 459px){
|
|
4451
|
-
.bp_modal_module_content--
|
|
4454
|
+
.bp_modal_module_content--eb249 .bp_modal_module_backButton--eb249{
|
|
4452
4455
|
height:var(--size-10);
|
|
4453
4456
|
width:var(--size-10);
|
|
4454
4457
|
}
|
|
4455
4458
|
}
|
|
4456
4459
|
|
|
4457
|
-
.bp_modal_module_modalHeader--
|
|
4460
|
+
.bp_modal_module_modalHeader--eb249{
|
|
4458
4461
|
display:flex;
|
|
4459
4462
|
}
|
|
4460
4463
|
|
|
4461
|
-
.bp_modal_module_modalTitle--
|
|
4464
|
+
.bp_modal_module_modalTitle--eb249{
|
|
4462
4465
|
display:flex;
|
|
4463
4466
|
flex-direction:column;
|
|
4464
4467
|
gap:var(--space-2);
|
|
@@ -4466,29 +4469,24 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
4466
4469
|
padding:var(--space-5) var(--space-12) var(--space-5) var(--space-4);
|
|
4467
4470
|
}
|
|
4468
4471
|
@media (width > 459px){
|
|
4469
|
-
.bp_modal_module_modalTitle--
|
|
4472
|
+
.bp_modal_module_modalTitle--eb249{
|
|
4470
4473
|
padding:var(--space-6) var(--space-16) var(--space-6) var(--space-6);
|
|
4471
4474
|
}
|
|
4472
4475
|
}
|
|
4473
4476
|
|
|
4474
|
-
.bp_modal_module_body--
|
|
4477
|
+
.bp_modal_module_body--eb249{
|
|
4475
4478
|
padding:var(--space-6) var(--space-4) var(--space-4);
|
|
4476
4479
|
}
|
|
4477
4480
|
@media (width > 459px){
|
|
4478
|
-
.bp_modal_module_body--
|
|
4481
|
+
.bp_modal_module_body--eb249{
|
|
4479
4482
|
padding:var(--space-6) var(--space-6) var(--space-4);
|
|
4480
4483
|
}
|
|
4481
4484
|
}
|
|
4482
4485
|
|
|
4483
|
-
.
|
|
4484
|
-
flex-grow:1;
|
|
4485
|
-
overflow-y:auto;
|
|
4486
|
-
}
|
|
4487
|
-
|
|
4488
|
-
.bp_modal_module_headerDividerLine--9041f{
|
|
4486
|
+
.bp_modal_module_headerDividerLine--eb249{
|
|
4489
4487
|
position:relative;
|
|
4490
4488
|
}
|
|
4491
|
-
.bp_modal_module_headerDividerLine--
|
|
4489
|
+
.bp_modal_module_headerDividerLine--eb249::after{
|
|
4492
4490
|
border-bottom:var(--border-1) solid var(--border-divider-border);
|
|
4493
4491
|
bottom:0;
|
|
4494
4492
|
content:"";
|
|
@@ -4497,16 +4495,16 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
4497
4495
|
right:var(--space-4);
|
|
4498
4496
|
}
|
|
4499
4497
|
@media (width > 459px){
|
|
4500
|
-
.bp_modal_module_headerDividerLine--
|
|
4498
|
+
.bp_modal_module_headerDividerLine--eb249::after{
|
|
4501
4499
|
left:var(--space-6);
|
|
4502
4500
|
right:var(--space-6);
|
|
4503
4501
|
}
|
|
4504
4502
|
}
|
|
4505
4503
|
|
|
4506
|
-
.bp_modal_module_footerDividerLine--
|
|
4504
|
+
.bp_modal_module_footerDividerLine--eb249{
|
|
4507
4505
|
position:relative;
|
|
4508
4506
|
}
|
|
4509
|
-
.bp_modal_module_footerDividerLine--
|
|
4507
|
+
.bp_modal_module_footerDividerLine--eb249::before{
|
|
4510
4508
|
border-bottom:var(--border-1) solid var(--border-divider-border);
|
|
4511
4509
|
content:"";
|
|
4512
4510
|
left:var(--space-4);
|
|
@@ -4515,28 +4513,28 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
|
|
|
4515
4513
|
top:0;
|
|
4516
4514
|
}
|
|
4517
4515
|
@media (width > 459px){
|
|
4518
|
-
.bp_modal_module_footerDividerLine--
|
|
4516
|
+
.bp_modal_module_footerDividerLine--eb249::before{
|
|
4519
4517
|
left:var(--space-6);
|
|
4520
4518
|
right:var(--space-6);
|
|
4521
4519
|
}
|
|
4522
4520
|
}
|
|
4523
4521
|
|
|
4524
|
-
.bp_modal_module_footer--
|
|
4522
|
+
.bp_modal_module_footer--eb249{
|
|
4525
4523
|
display:flex;
|
|
4526
4524
|
justify-content:flex-end;
|
|
4527
4525
|
padding:var(--space-4);
|
|
4528
4526
|
}
|
|
4529
4527
|
@media (width > 459px){
|
|
4530
|
-
.bp_modal_module_footer--
|
|
4528
|
+
.bp_modal_module_footer--eb249{
|
|
4531
4529
|
padding:var(--space-6);
|
|
4532
4530
|
}
|
|
4533
4531
|
}
|
|
4534
4532
|
|
|
4535
|
-
.bp_modal_module_footerButton--
|
|
4533
|
+
.bp_modal_module_footerButton--eb249 + .bp_modal_module_footerButton--eb249{
|
|
4536
4534
|
margin-inline-start:var(--space-3);
|
|
4537
4535
|
}
|
|
4538
4536
|
|
|
4539
|
-
@keyframes bp_modal_module_popup_bounce_in--
|
|
4537
|
+
@keyframes bp_modal_module_popup_bounce_in--eb249{
|
|
4540
4538
|
0%{
|
|
4541
4539
|
transform:scale3d(.1, .1, 1);
|
|
4542
4540
|
}
|
|
@@ -6097,7 +6095,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
6097
6095
|
transform:translateY(-50%);
|
|
6098
6096
|
}
|
|
6099
6097
|
|
|
6100
|
-
.bp_side_panel_module_content--
|
|
6098
|
+
.bp_side_panel_module_content--bbdff{
|
|
6101
6099
|
background-color:var(--gray-white);
|
|
6102
6100
|
border-inline-start:var(--border-1) solid var(--border-divider-border);
|
|
6103
6101
|
display:flex;
|
|
@@ -6107,14 +6105,15 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
6107
6105
|
margin-inline-start:auto;
|
|
6108
6106
|
max-width:100%;
|
|
6109
6107
|
min-width:100%;
|
|
6110
|
-
overflow:
|
|
6108
|
+
overflow-y:auto;
|
|
6111
6109
|
}
|
|
6112
|
-
@media
|
|
6113
|
-
.bp_side_panel_module_content--
|
|
6110
|
+
@media (width > 374px){
|
|
6111
|
+
.bp_side_panel_module_content--bbdff{
|
|
6114
6112
|
min-width:320px;
|
|
6113
|
+
overflow:hidden;
|
|
6115
6114
|
}
|
|
6116
6115
|
}
|
|
6117
|
-
.bp_side_panel_module_content--
|
|
6116
|
+
.bp_side_panel_module_content--bbdff .bp_side_panel_module_header--bbdff{
|
|
6118
6117
|
align-items:center;
|
|
6119
6118
|
background-color:var(--surface-surface);
|
|
6120
6119
|
border-bottom:var(--border-1) solid var(--border-divider-border);
|
|
@@ -6126,62 +6125,77 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
6126
6125
|
transition-timing-function:cubic-bezier(0, 0, .6, 1);
|
|
6127
6126
|
word-break:break-word;
|
|
6128
6127
|
}
|
|
6129
|
-
.bp_side_panel_module_content--
|
|
6128
|
+
.bp_side_panel_module_content--bbdff .bp_side_panel_module_headerShadow--bbdff{
|
|
6130
6129
|
box-shadow:var(--dropshadow-3);
|
|
6131
6130
|
}
|
|
6132
6131
|
|
|
6133
|
-
.
|
|
6132
|
+
.bp_side_panel_module_scrollableContainer--bbdff{
|
|
6133
|
+
flex-grow:1;
|
|
6134
|
+
}
|
|
6135
|
+
@media (width > 374px){
|
|
6136
|
+
.bp_side_panel_module_scrollableContainer--bbdff{
|
|
6137
|
+
overflow-y:auto;
|
|
6138
|
+
}
|
|
6139
|
+
}
|
|
6140
|
+
|
|
6141
|
+
.bp_side_panel_module_persistentContent--bbdff{
|
|
6142
|
+
overflow:hidden;
|
|
6134
6143
|
position:relative;
|
|
6135
6144
|
}
|
|
6145
|
+
.bp_side_panel_module_persistentContent--bbdff .bp_side_panel_module_scrollableContainer--bbdff{
|
|
6146
|
+
flex-grow:1;
|
|
6147
|
+
overflow-y:auto;
|
|
6148
|
+
}
|
|
6136
6149
|
|
|
6137
|
-
.bp_side_panel_module_contentAnimatedSlideIn--
|
|
6150
|
+
.bp_side_panel_module_contentAnimatedSlideIn--bbdff{
|
|
6138
6151
|
animation-duration:.2s;
|
|
6139
|
-
animation-name:bp_side_panel_module_slideIn--
|
|
6152
|
+
animation-name:bp_side_panel_module_slideIn--bbdff;
|
|
6140
6153
|
animation-timing-function:cubic-bezier(0, 0, .6, 1);
|
|
6141
6154
|
}
|
|
6142
6155
|
|
|
6143
|
-
.bp_side_panel_module_contentAnimatedSlideOut--
|
|
6156
|
+
.bp_side_panel_module_contentAnimatedSlideOut--bbdff[data-state=closed]{
|
|
6144
6157
|
animation-duration:.2s;
|
|
6145
|
-
animation-name:bp_side_panel_module_slideOut--
|
|
6158
|
+
animation-name:bp_side_panel_module_slideOut--bbdff;
|
|
6146
6159
|
animation-timing-function:cubic-bezier(0, 0, .6, 1);
|
|
6147
6160
|
}
|
|
6148
6161
|
|
|
6149
|
-
.bp_side_panel_module_contentNormal--
|
|
6162
|
+
.bp_side_panel_module_contentNormal--bbdff{
|
|
6150
6163
|
width:360px;
|
|
6151
6164
|
}
|
|
6152
6165
|
|
|
6153
|
-
.bp_side_panel_module_contentLarge--
|
|
6166
|
+
.bp_side_panel_module_contentLarge--bbdff{
|
|
6154
6167
|
width:420px;
|
|
6155
6168
|
}
|
|
6156
6169
|
|
|
6157
|
-
.bp_side_panel_module_dropShadowContent--
|
|
6170
|
+
.bp_side_panel_module_dropShadowContent--bbdff{
|
|
6158
6171
|
box-shadow:var(--dropshadow-3);
|
|
6159
6172
|
}
|
|
6160
6173
|
|
|
6161
|
-
.bp_side_panel_module_content--
|
|
6174
|
+
.bp_side_panel_module_content--bbdff .bp_side_panel_module_close--bbdff{
|
|
6162
6175
|
color:var(--gray-65);
|
|
6163
|
-
position:
|
|
6176
|
+
position:fixed;
|
|
6164
6177
|
right:var(--space-4);
|
|
6165
|
-
top:var(--space-
|
|
6178
|
+
top:var(--space-4);
|
|
6166
6179
|
}
|
|
6167
|
-
@media
|
|
6168
|
-
.bp_side_panel_module_content--
|
|
6169
|
-
|
|
6180
|
+
@media (width > 374px){
|
|
6181
|
+
.bp_side_panel_module_content--bbdff .bp_side_panel_module_close--bbdff{
|
|
6182
|
+
position:absolute;
|
|
6183
|
+
top:var(--space-5);
|
|
6170
6184
|
}
|
|
6171
6185
|
}
|
|
6172
6186
|
|
|
6173
|
-
.bp_side_panel_module_overlayContent--
|
|
6187
|
+
.bp_side_panel_module_overlayContent--bbdff{
|
|
6174
6188
|
box-shadow:var(--dropshadow-3);
|
|
6175
6189
|
position:fixed;
|
|
6176
6190
|
right:0;
|
|
6177
6191
|
top:0;
|
|
6178
6192
|
z-index:300;
|
|
6179
6193
|
}
|
|
6180
|
-
.bp_side_panel_module_overlayContent--
|
|
6194
|
+
.bp_side_panel_module_overlayContent--bbdff .bp_side_panel_module_header--bbdff{
|
|
6181
6195
|
padding:var(--space-5) var(--space-14) var(--space-5) var(--space-4);
|
|
6182
6196
|
}
|
|
6183
6197
|
|
|
6184
|
-
.bp_side_panel_module_overlay--
|
|
6198
|
+
.bp_side_panel_module_overlay--bbdff{
|
|
6185
6199
|
background-color:var(--black-opacity-80);
|
|
6186
6200
|
bottom:0;
|
|
6187
6201
|
display:flex;
|
|
@@ -6192,20 +6206,15 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
6192
6206
|
top:0;
|
|
6193
6207
|
z-index:300;
|
|
6194
6208
|
}
|
|
6195
|
-
.bp_side_panel_module_overlay--
|
|
6209
|
+
.bp_side_panel_module_overlay--bbdff .bp_side_panel_module_content--bbdff .bp_side_panel_module_header--bbdff{
|
|
6196
6210
|
padding:var(--space-6) var(--space-14) var(--space-6) var(--space-4);
|
|
6197
6211
|
}
|
|
6198
6212
|
|
|
6199
|
-
.bp_side_panel_module_dropShadowOverlay--
|
|
6213
|
+
.bp_side_panel_module_dropShadowOverlay--bbdff{
|
|
6200
6214
|
background-color:initial;
|
|
6201
6215
|
}
|
|
6202
6216
|
|
|
6203
|
-
.
|
|
6204
|
-
flex-grow:1;
|
|
6205
|
-
overflow-y:auto;
|
|
6206
|
-
}
|
|
6207
|
-
|
|
6208
|
-
.bp_side_panel_module_footer--43761{
|
|
6217
|
+
.bp_side_panel_module_footer--bbdff{
|
|
6209
6218
|
background-color:var(--surface-surface);
|
|
6210
6219
|
display:flex;
|
|
6211
6220
|
justify-content:flex-end;
|
|
@@ -6215,19 +6224,19 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
6215
6224
|
transition-timing-function:cubic-bezier(0, 0, .6, 1);
|
|
6216
6225
|
}
|
|
6217
6226
|
|
|
6218
|
-
.bp_side_panel_module_footerShadow--
|
|
6227
|
+
.bp_side_panel_module_footerShadow--bbdff{
|
|
6219
6228
|
box-shadow:var(--dropshadow-3-inverse);
|
|
6220
6229
|
}
|
|
6221
6230
|
|
|
6222
|
-
.bp_side_panel_module_footerButton--
|
|
6231
|
+
.bp_side_panel_module_footerButton--bbdff{
|
|
6223
6232
|
margin-inline-start:var(--space-2);
|
|
6224
6233
|
}
|
|
6225
6234
|
|
|
6226
|
-
.bp_side_panel_module_footerButton--
|
|
6235
|
+
.bp_side_panel_module_footerButton--bbdff + .bp_side_panel_module_footerButton--bbdff{
|
|
6227
6236
|
margin-inline-start:var(--space-3);
|
|
6228
6237
|
}
|
|
6229
6238
|
|
|
6230
|
-
@keyframes bp_side_panel_module_slideIn--
|
|
6239
|
+
@keyframes bp_side_panel_module_slideIn--bbdff{
|
|
6231
6240
|
from{
|
|
6232
6241
|
inset-inline-end:-100%;
|
|
6233
6242
|
}
|
|
@@ -6235,7 +6244,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
|
|
|
6235
6244
|
inset-inline-end:0;
|
|
6236
6245
|
}
|
|
6237
6246
|
}
|
|
6238
|
-
@keyframes bp_side_panel_module_slideOut--
|
|
6247
|
+
@keyframes bp_side_panel_module_slideOut--bbdff{
|
|
6239
6248
|
from{
|
|
6240
6249
|
inset-inline-end:0;
|
|
6241
6250
|
}
|
|
@@ -17,11 +17,26 @@ const InputChip = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
17
17
|
...buttonProps
|
|
18
18
|
} = props;
|
|
19
19
|
// Clone avatar element to override its props
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
const withSmallAvatarSize = element => {
|
|
21
|
+
const cloneAvatarWithSmallSize = el => /*#__PURE__*/React__default.cloneElement(el, {
|
|
22
|
+
...el.props,
|
|
23
|
+
className: clsx(el.props.className, styles.avatar),
|
|
24
|
+
size: 'small',
|
|
25
|
+
'aria-hidden': 'true'
|
|
26
|
+
});
|
|
27
|
+
// If the avatar is wrapped by an IconBadge, apply size to both the IconBadge and the Avatar
|
|
28
|
+
if (/*#__PURE__*/React__default.isValidElement(element.props.children)) {
|
|
29
|
+
const adaptedChild = cloneAvatarWithSmallSize(element.props.children);
|
|
30
|
+
return /*#__PURE__*/React__default.cloneElement(element, {
|
|
31
|
+
...element.props,
|
|
32
|
+
size: 'small',
|
|
33
|
+
children: adaptedChild
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
// Avatar without an IconBadge, apply size directly to the Avatar
|
|
37
|
+
return cloneAvatarWithSmallSize(element);
|
|
38
|
+
};
|
|
39
|
+
const avatar = avatarProp ? withSmallAvatarSize(avatarProp) : null;
|
|
25
40
|
const handleKeyDown = event => {
|
|
26
41
|
if (onDelete && DELETE_TRIGGER_KEYS.includes(event.code)) {
|
|
27
42
|
onDelete();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"crawler":"bp_loading_indicator_module_crawler--
|
|
2
|
+
var styles = {"crawler":"bp_loading_indicator_module_crawler--2f1df","segment":"bp_loading_indicator_module_segment--2f1df","small":"bp_loading_indicator_module_small--2f1df","large":"bp_loading_indicator_module_large--2f1df","x-large":"bp_loading_indicator_module_x-large--2f1df","default":"bp_loading_indicator_module_default--2f1df","segment-transform":"bp_loading_indicator_module_segment-transform--2f1df","segment-default":"bp_loading_indicator_module_segment-default--2f1df","dark":"bp_loading_indicator_module_dark--2f1df","segment-dark":"bp_loading_indicator_module_segment-dark--2f1df","light":"bp_loading_indicator_module_light--2f1df","segment-light":"bp_loading_indicator_module_segment-light--2f1df"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -7,6 +7,9 @@ import { IconButton } from '../primitives/icon-button/icon-button.js';
|
|
|
7
7
|
import { useMedia } from '../utils/useMedia.js';
|
|
8
8
|
import styles from './modal.module.js';
|
|
9
9
|
|
|
10
|
+
const smallViewportProps = {
|
|
11
|
+
variant: 'small-utility'
|
|
12
|
+
};
|
|
10
13
|
/**
|
|
11
14
|
* The button that closes the modal.
|
|
12
15
|
*/
|
|
@@ -22,10 +25,7 @@ const ModalClose = /*#__PURE__*/forwardRef(({
|
|
|
22
25
|
// TODO: change to media query tokens
|
|
23
26
|
const breakpoint = 459;
|
|
24
27
|
const isMobile = useMedia(`(max-width: ${breakpoint}px)`);
|
|
25
|
-
|
|
26
|
-
if (size === 'large' && isMobile) {
|
|
27
|
-
iconButtonSize = 'small';
|
|
28
|
-
}
|
|
28
|
+
const finalProps = isMobile ? smallViewportProps : {};
|
|
29
29
|
return jsx(RadixDialog.Close, {
|
|
30
30
|
ref: forwardedRef,
|
|
31
31
|
"aria-label": ariaLabel,
|
|
@@ -34,10 +34,11 @@ const ModalClose = /*#__PURE__*/forwardRef(({
|
|
|
34
34
|
...rest,
|
|
35
35
|
"aria-label": ariaLabel,
|
|
36
36
|
className: clsx(styles.close, {
|
|
37
|
-
[styles.onColor]: variant === 'onColor'
|
|
37
|
+
[styles.onColor]: variant === 'onColor' && !isMobile
|
|
38
38
|
}, className),
|
|
39
39
|
icon: icon,
|
|
40
|
-
size:
|
|
40
|
+
size: size,
|
|
41
|
+
...finalProps
|
|
41
42
|
})
|
|
42
43
|
});
|
|
43
44
|
});
|
|
@@ -4,4 +4,6 @@ import * as RadixDialog from '@radix-ui/react-dialog';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const ModalContent: import("react").ForwardRefExoticComponent<RadixDialog.DialogContentProps & Pick<RadixDialog.DialogPortalProps, "container"> & {
|
|
6
6
|
size: "small" | "medium" | "large" | "xlarge";
|
|
7
|
+
} & {
|
|
8
|
+
'data-testid'?: string;
|
|
7
9
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -12,6 +12,7 @@ const ModalContent = /*#__PURE__*/forwardRef(({
|
|
|
12
12
|
children,
|
|
13
13
|
container,
|
|
14
14
|
className,
|
|
15
|
+
'data-testid': dataTestId = 'modal-content-container',
|
|
15
16
|
size,
|
|
16
17
|
...props
|
|
17
18
|
}, forwardedRef) => jsx(RadixDialog.Portal, {
|
|
@@ -23,6 +24,7 @@ const ModalContent = /*#__PURE__*/forwardRef(({
|
|
|
23
24
|
ref: forwardedRef,
|
|
24
25
|
asChild: asChild,
|
|
25
26
|
className: clsx(styles.content, styles[`${size}SizeModal`], className),
|
|
27
|
+
"data-testid": dataTestId,
|
|
26
28
|
children: children
|
|
27
29
|
})
|
|
28
30
|
})
|
|
@@ -13,7 +13,7 @@ import styles from './modal.module.js';
|
|
|
13
13
|
const ModalScrollableContainer = /*#__PURE__*/forwardRef(({
|
|
14
14
|
children,
|
|
15
15
|
className,
|
|
16
|
-
'data-testid': dataTestId = 'modal-container',
|
|
16
|
+
'data-testid': dataTestId = 'modal-scrollable-container',
|
|
17
17
|
...rest
|
|
18
18
|
}, forwardedRef) => {
|
|
19
19
|
const {
|
|
@@ -27,6 +27,8 @@ export declare const Modal: (({ children, modal, ...props }: ModalProps) => impo
|
|
|
27
27
|
Close: import("react").ForwardRefExoticComponent<import("./types").ModalCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
28
28
|
Content: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogContentProps & Pick<import("@radix-ui/react-dialog").DialogPortalProps, "container"> & {
|
|
29
29
|
size: "small" | "medium" | "large" | "xlarge";
|
|
30
|
+
} & {
|
|
31
|
+
'data-testid'?: string;
|
|
30
32
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
31
33
|
Footer: import("react").ForwardRefExoticComponent<import("./types").ModalFooterProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
32
34
|
PrimaryButton: import("react").ForwardRefExoticComponent<(Omit<import("../primitives/base-button").BaseButtonInterface & Required<Pick<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading>> & Omit<import("../primitives/base-button").Loading, keyof import("../primitives/base-button").Loading> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"overlay":"bp_modal_module_overlay--
|
|
2
|
+
var styles = {"overlay":"bp_modal_module_overlay--eb249","content":"bp_modal_module_content--eb249","popup_bounce_in":"bp_modal_module_popup_bounce_in--eb249","smallSizeModal":"bp_modal_module_smallSizeModal--eb249","mediumSizeModal":"bp_modal_module_mediumSizeModal--eb249","largeSizeModal":"bp_modal_module_largeSizeModal--eb249","xlargeSizeModal":"bp_modal_module_xlargeSizeModal--eb249","scrollableContainer":"bp_modal_module_scrollableContainer--eb249","close":"bp_modal_module_close--eb249","onColor":"bp_modal_module_onColor--eb249","backButton":"bp_modal_module_backButton--eb249","modalHeader":"bp_modal_module_modalHeader--eb249","modalTitle":"bp_modal_module_modalTitle--eb249","body":"bp_modal_module_body--eb249","headerDividerLine":"bp_modal_module_headerDividerLine--eb249","footerDividerLine":"bp_modal_module_footerDividerLine--eb249","footer":"bp_modal_module_footer--eb249","footerButton":"bp_modal_module_footerButton--eb249"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -64,17 +64,17 @@ const BaseTextInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
64
64
|
}), [endIcon]);
|
|
65
65
|
const Label = useLabelable(label, inputId, required);
|
|
66
66
|
return jsxs("div", {
|
|
67
|
-
className: clsx(
|
|
67
|
+
className: clsx(styles.textInputContainerOuter, {
|
|
68
68
|
[styles.disabled]: disabled,
|
|
69
69
|
[styles.error]: shouldMarkError
|
|
70
|
-
}),
|
|
70
|
+
}, className),
|
|
71
71
|
children: [jsx(Label, {
|
|
72
72
|
className: clsx([styles.label], {
|
|
73
73
|
[styles.hidden]: hideLabel
|
|
74
74
|
}),
|
|
75
75
|
hideLabel: hideLabel
|
|
76
76
|
}), jsxs("div", {
|
|
77
|
-
className:
|
|
77
|
+
className: styles.textInputContainer,
|
|
78
78
|
style: {
|
|
79
79
|
'--end-icon-width': endIconWidth ? `${endIconWidth}px` : '0px',
|
|
80
80
|
'--start-icon-width': startIconWidth ? `${startIconWidth}px` : '0px'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"content":"bp_side_panel_module_content--
|
|
2
|
+
var styles = {"content":"bp_side_panel_module_content--bbdff","header":"bp_side_panel_module_header--bbdff","headerShadow":"bp_side_panel_module_headerShadow--bbdff","scrollableContainer":"bp_side_panel_module_scrollableContainer--bbdff","persistentContent":"bp_side_panel_module_persistentContent--bbdff","contentAnimatedSlideIn":"bp_side_panel_module_contentAnimatedSlideIn--bbdff","slideIn":"bp_side_panel_module_slideIn--bbdff","contentAnimatedSlideOut":"bp_side_panel_module_contentAnimatedSlideOut--bbdff","slideOut":"bp_side_panel_module_slideOut--bbdff","contentNormal":"bp_side_panel_module_contentNormal--bbdff","contentLarge":"bp_side_panel_module_contentLarge--bbdff","dropShadowContent":"bp_side_panel_module_dropShadowContent--bbdff","close":"bp_side_panel_module_close--bbdff","overlayContent":"bp_side_panel_module_overlayContent--bbdff","overlay":"bp_side_panel_module_overlay--bbdff","dropShadowOverlay":"bp_side_panel_module_dropShadowOverlay--bbdff","footer":"bp_side_panel_module_footer--bbdff","footerShadow":"bp_side_panel_module_footerShadow--bbdff","footerButton":"bp_side_panel_module_footerButton--bbdff"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|