@x-plat/design-system 0.6.0 → 0.7.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/components/Accordion/index.css +10 -3
- package/dist/components/Alert/index.css +7 -0
- package/dist/components/AutoResizeTextArea/index.css +3 -0
- package/dist/components/Avatar/index.css +13 -1
- package/dist/components/Badge/index.css +13 -2
- package/dist/components/Box/index.css +8 -5
- package/dist/components/Breadcrumb/index.css +5 -1
- package/dist/components/Button/index.css +10 -1
- package/dist/components/Calendar/index.cjs +1 -1
- package/dist/components/Calendar/index.css +10 -6
- package/dist/components/Calendar/index.js +1 -1
- package/dist/components/CardTab/index.css +14 -2
- package/dist/components/Chart/index.css +32 -11
- package/dist/components/ChatInput/index.css +6 -0
- package/dist/components/CheckBox/index.css +10 -1
- package/dist/components/Chip/index.css +12 -0
- package/dist/components/DatePicker/index.css +51 -12
- package/dist/components/Drawer/index.css +14 -7
- package/dist/components/Dropdown/index.css +5 -1
- package/dist/components/Editor/index.css +49 -10
- package/dist/components/EmptyState/index.css +9 -2
- package/dist/components/FileUpload/index.css +9 -2
- package/dist/components/HtmlTypeWriter/index.cjs +2 -0
- package/dist/components/HtmlTypeWriter/index.css +13 -1
- package/dist/components/HtmlTypeWriter/index.d.cts +3 -3
- package/dist/components/HtmlTypeWriter/index.d.ts +3 -3
- package/dist/components/HtmlTypeWriter/index.js +1 -0
- package/dist/components/ImageSelector/index.css +8 -0
- package/dist/components/Input/index.css +12 -0
- package/dist/components/Modal/index.css +1 -1
- package/dist/components/Pagination/index.css +25 -1
- package/dist/components/PopOver/index.css +1 -1
- package/dist/components/Progress/index.css +5 -2
- package/dist/components/Radio/index.css +9 -0
- package/dist/components/Select/index.css +20 -3
- package/dist/components/Skeleton/index.cjs +6 -6
- package/dist/components/Skeleton/index.js +6 -6
- package/dist/components/Steps/index.css +14 -4
- package/dist/components/Switch/index.css +1 -1
- package/dist/components/Tab/index.css +16 -1
- package/dist/components/Table/index.cjs +4 -1
- package/dist/components/Table/index.css +12 -0
- package/dist/components/Table/index.d.cts +2 -0
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/Table/index.js +4 -1
- package/dist/components/Tag/index.css +12 -0
- package/dist/components/TextArea/index.css +9 -0
- package/dist/components/Toast/index.css +8 -1
- package/dist/components/Tooltip/index.css +8 -4
- package/dist/components/Video/index.css +31 -20
- package/dist/components/index.cjs +253 -248
- package/dist/components/index.css +532 -147
- package/dist/components/index.d.cts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +226 -222
- package/dist/index.cjs +253 -248
- package/dist/index.css +535 -150
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +226 -222
- package/dist/layout/Header/index.css +2 -2
- package/dist/layout/Layout/index.css +1 -1
- package/dist/layout/index.css +43 -3
- package/guidelines/components/accordion.md +1 -1
- package/guidelines/components/avatar.md +1 -1
- package/guidelines/components/card.md +1 -1
- package/guidelines/components/chart.md +1 -1
- package/guidelines/components/data-display.md +4 -4
- package/guidelines/components/dropdown.md +1 -1
- package/guidelines/components/file-media.md +3 -3
- package/guidelines/components/html-typewriter.md +1 -1
- package/guidelines/components/navigation.md +144 -20
- package/guidelines/components/swiper.md +2 -2
- package/package.json +1 -1
|
@@ -21,8 +21,11 @@
|
|
|
21
21
|
background: none;
|
|
22
22
|
border: none;
|
|
23
23
|
cursor: pointer;
|
|
24
|
-
font-
|
|
25
|
-
font-
|
|
24
|
+
font-family: var(--semantic-typo-caption-1-m-font);
|
|
25
|
+
font-size: var(--semantic-typo-caption-1-m-size);
|
|
26
|
+
line-height: var(--semantic-typo-caption-1-m-lh);
|
|
27
|
+
font-weight: var(--semantic-typo-caption-1-m-weight);
|
|
28
|
+
letter-spacing: var(--semantic-typo-caption-1-m-ls);
|
|
26
29
|
color: var(--semantic-text-primary);
|
|
27
30
|
text-align: left;
|
|
28
31
|
transition: background-color 0.2s;
|
|
@@ -47,9 +50,13 @@
|
|
|
47
50
|
}
|
|
48
51
|
.lib-xplat-accordion .accordion-content {
|
|
49
52
|
padding: 0 var(--spacing-space-4) 14px;
|
|
53
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
50
54
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
51
|
-
|
|
55
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
56
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
57
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
52
58
|
line-height: 1.6;
|
|
59
|
+
color: var(--semantic-text-secondary);
|
|
53
60
|
}
|
|
54
61
|
.lib-xplat-accordion .accordion-item.open .chevron {
|
|
55
62
|
transform: rotate(180deg);
|
|
@@ -6,8 +6,11 @@
|
|
|
6
6
|
justify-content: space-between;
|
|
7
7
|
padding: var(--spacing-space-3) var(--spacing-space-4);
|
|
8
8
|
border-radius: var(--spacing-radius-md);
|
|
9
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
9
10
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
10
11
|
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
12
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
13
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
11
14
|
border: 1px solid;
|
|
12
15
|
}
|
|
13
16
|
.lib-xplat-alert .content {
|
|
@@ -17,7 +20,11 @@
|
|
|
17
20
|
background: none;
|
|
18
21
|
border: none;
|
|
19
22
|
cursor: pointer;
|
|
23
|
+
font-family: var(--semantic-typo-label-1-m-font);
|
|
20
24
|
font-size: var(--semantic-typo-label-1-m-size);
|
|
25
|
+
line-height: var(--semantic-typo-label-1-m-lh);
|
|
26
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
27
|
+
letter-spacing: var(--semantic-typo-label-1-m-ls);
|
|
21
28
|
line-height: 1;
|
|
22
29
|
margin-left: var(--spacing-space-2);
|
|
23
30
|
padding: 0;
|
|
@@ -37,8 +37,11 @@
|
|
|
37
37
|
width: 100%;
|
|
38
38
|
color: var(--semantic-text-secondary);
|
|
39
39
|
resize: none;
|
|
40
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
40
41
|
font-size: var(--semantic-typo-label-2-m-size);
|
|
41
42
|
line-height: var(--semantic-typo-label-2-m-lh);
|
|
43
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
44
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
42
45
|
font-family: inherit;
|
|
43
46
|
}
|
|
44
47
|
.lib-xplat-auto-resize-textarea-wrapper .lib-xplat-auto-resize-textarea > textarea:disabled {
|
|
@@ -11,17 +11,29 @@
|
|
|
11
11
|
.lib-xplat-avatar.sm {
|
|
12
12
|
width: var(--spacing-control-height-sm);
|
|
13
13
|
height: var(--spacing-control-height-sm);
|
|
14
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
14
15
|
font-size: var(--semantic-typo-caption-2-r-size);
|
|
16
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
17
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
18
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
15
19
|
}
|
|
16
20
|
.lib-xplat-avatar.md {
|
|
17
21
|
width: var(--spacing-control-height-md);
|
|
18
22
|
height: var(--spacing-control-height-md);
|
|
23
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
19
24
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
25
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
26
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
27
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
20
28
|
}
|
|
21
29
|
.lib-xplat-avatar.lg {
|
|
22
30
|
width: var(--spacing-control-height-lg);
|
|
23
31
|
height: var(--spacing-control-height-lg);
|
|
32
|
+
font-family: var(--semantic-typo-label-1-m-font);
|
|
24
33
|
font-size: var(--semantic-typo-label-1-m-size);
|
|
34
|
+
line-height: var(--semantic-typo-label-1-m-lh);
|
|
35
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
36
|
+
letter-spacing: var(--semantic-typo-label-1-m-ls);
|
|
25
37
|
}
|
|
26
38
|
.lib-xplat-avatar img {
|
|
27
39
|
width: 100%;
|
|
@@ -34,7 +46,7 @@
|
|
|
34
46
|
display: flex;
|
|
35
47
|
align-items: center;
|
|
36
48
|
justify-content: center;
|
|
37
|
-
font-weight:
|
|
49
|
+
font-weight: var(--semantic-typo-label-1-sb-weight);
|
|
38
50
|
background-color: var(--semantic-surface-neutral-secondary);
|
|
39
51
|
color: var(--semantic-text-tertiary);
|
|
40
52
|
}
|
|
@@ -6,7 +6,11 @@
|
|
|
6
6
|
.lib-xplat-badge.sm .badge-indicator {
|
|
7
7
|
min-width: var(--spacing-space-4);
|
|
8
8
|
height: var(--spacing-space-4);
|
|
9
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
9
10
|
font-size: var(--semantic-typo-caption-2-r-size);
|
|
11
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
12
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
13
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
10
14
|
padding: 0 var(--spacing-space-1);
|
|
11
15
|
}
|
|
12
16
|
.lib-xplat-badge.sm .badge-indicator.dot {
|
|
@@ -16,7 +20,11 @@
|
|
|
16
20
|
.lib-xplat-badge.lg .badge-indicator {
|
|
17
21
|
min-width: var(--spacing-space-6);
|
|
18
22
|
height: var(--spacing-space-6);
|
|
23
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
19
24
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
25
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
26
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
27
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
20
28
|
padding: 0 var(--spacing-space-2);
|
|
21
29
|
}
|
|
22
30
|
.lib-xplat-badge.lg .badge-indicator.dot {
|
|
@@ -33,8 +41,11 @@
|
|
|
33
41
|
justify-content: center;
|
|
34
42
|
border-radius: var(--spacing-radius-full);
|
|
35
43
|
color: var(--semantic-text-inverse);
|
|
36
|
-
font-
|
|
37
|
-
font-
|
|
44
|
+
font-family: var(--semantic-typo-caption-2-sb-font);
|
|
45
|
+
font-size: var(--semantic-typo-caption-2-sb-size);
|
|
46
|
+
line-height: var(--semantic-typo-caption-2-sb-lh);
|
|
47
|
+
font-weight: var(--semantic-typo-caption-2-sb-weight);
|
|
48
|
+
letter-spacing: var(--semantic-typo-caption-2-sb-ls);
|
|
38
49
|
line-height: 1;
|
|
39
50
|
min-width: var(--spacing-space-4);
|
|
40
51
|
height: var(--spacing-space-4);
|
|
@@ -13,20 +13,23 @@
|
|
|
13
13
|
}
|
|
14
14
|
.lib-xplat-box.outlined {
|
|
15
15
|
border: 1px solid var(--semantic-border-primary);
|
|
16
|
-
box-shadow:
|
|
16
|
+
box-shadow: var(--semantic-shadow-sm);
|
|
17
17
|
}
|
|
18
18
|
.lib-xplat-box.elevated {
|
|
19
19
|
border: none;
|
|
20
|
-
box-shadow:
|
|
20
|
+
box-shadow: var(--semantic-shadow-lg);
|
|
21
21
|
}
|
|
22
22
|
.lib-xplat-box.flat {
|
|
23
23
|
border: none;
|
|
24
24
|
background-color: var(--semantic-surface-neutral-secondary);
|
|
25
|
-
box-shadow:
|
|
25
|
+
box-shadow: var(--semantic-shadow-sm);
|
|
26
26
|
}
|
|
27
27
|
.lib-xplat-box > .box-title {
|
|
28
|
-
font-
|
|
29
|
-
font-size: var(--semantic-typo-caption-1-
|
|
28
|
+
font-family: var(--semantic-typo-caption-1-sb-font);
|
|
29
|
+
font-size: var(--semantic-typo-caption-1-sb-size);
|
|
30
|
+
line-height: var(--semantic-typo-caption-1-sb-lh);
|
|
31
|
+
font-weight: var(--semantic-typo-caption-1-sb-weight);
|
|
32
|
+
letter-spacing: var(--semantic-typo-caption-1-sb-ls);
|
|
30
33
|
color: var(--semantic-text-primary);
|
|
31
34
|
padding: var(--spacing-space-3) var(--spacing-space-4);
|
|
32
35
|
border-bottom: 1px solid var(--semantic-border-secondary);
|
|
@@ -15,7 +15,11 @@
|
|
|
15
15
|
display: flex;
|
|
16
16
|
align-items: center;
|
|
17
17
|
gap: var(--spacing-space-1);
|
|
18
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
18
19
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
20
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
21
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
22
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
19
23
|
}
|
|
20
24
|
.lib-xplat-breadcrumb .link {
|
|
21
25
|
color: var(--semantic-text-tertiary);
|
|
@@ -32,7 +36,7 @@
|
|
|
32
36
|
}
|
|
33
37
|
.lib-xplat-breadcrumb .current {
|
|
34
38
|
color: var(--semantic-text-primary);
|
|
35
|
-
font-weight:
|
|
39
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
36
40
|
}
|
|
37
41
|
.lib-xplat-breadcrumb .separator {
|
|
38
42
|
color: var(--semantic-icon-secondary);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
gap: var(--spacing-space-2);
|
|
8
8
|
white-space: nowrap;
|
|
9
9
|
border-radius: var(--spacing-radius-md);
|
|
10
|
-
font-weight:
|
|
10
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
border: 1px solid transparent;
|
|
13
13
|
transition: background-color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
@@ -15,20 +15,29 @@
|
|
|
15
15
|
.lib-xplat-button.sm {
|
|
16
16
|
height: var(--spacing-control-height-sm);
|
|
17
17
|
padding: 0 var(--spacing-space-3);
|
|
18
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
18
19
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
19
20
|
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
21
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
22
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
20
23
|
}
|
|
21
24
|
.lib-xplat-button.md {
|
|
22
25
|
height: var(--spacing-control-height-md);
|
|
23
26
|
padding: 0 var(--spacing-space-4);
|
|
27
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
24
28
|
font-size: var(--semantic-typo-label-2-m-size);
|
|
25
29
|
line-height: var(--semantic-typo-label-2-m-lh);
|
|
30
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
31
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
26
32
|
}
|
|
27
33
|
.lib-xplat-button.lg {
|
|
28
34
|
height: var(--spacing-control-height-lg);
|
|
29
35
|
padding: 0 var(--spacing-space-6);
|
|
36
|
+
font-family: var(--semantic-typo-label-1-m-font);
|
|
30
37
|
font-size: var(--semantic-typo-label-1-m-size);
|
|
31
38
|
line-height: var(--semantic-typo-label-1-m-lh);
|
|
39
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
40
|
+
letter-spacing: var(--semantic-typo-label-1-m-ls);
|
|
32
41
|
}
|
|
33
42
|
.lib-xplat-button:disabled {
|
|
34
43
|
cursor: not-allowed;
|
|
@@ -1114,7 +1114,7 @@ var DayCell = import_react2.default.memo(
|
|
|
1114
1114
|
"span",
|
|
1115
1115
|
{
|
|
1116
1116
|
className: "calendar-event-dot",
|
|
1117
|
-
style: { backgroundColor: event.color ?? "var(--
|
|
1117
|
+
style: { backgroundColor: event.color ?? "var(--semantic-surface-brand-default)" },
|
|
1118
1118
|
title: event.label,
|
|
1119
1119
|
onClick: (e) => {
|
|
1120
1120
|
e.stopPropagation();
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
.lib-xplat-calendar .calendar-title {
|
|
17
17
|
font-size: clamp(14px, 3cqi, 20px);
|
|
18
|
-
font-weight:
|
|
18
|
+
font-weight: var(--semantic-typo-label-1-sb-weight);
|
|
19
19
|
color: var(--semantic-text-primary);
|
|
20
20
|
min-width: 120px;
|
|
21
21
|
text-align: center;
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
.lib-xplat-calendar .calendar-weekday {
|
|
71
71
|
text-align: center;
|
|
72
72
|
font-size: clamp(11px, 2cqi, 14px);
|
|
73
|
-
font-weight:
|
|
73
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
74
74
|
padding: var(--spacing-space-2) 0;
|
|
75
75
|
color: var(--semantic-text-tertiary);
|
|
76
76
|
}
|
|
@@ -116,14 +116,14 @@
|
|
|
116
116
|
color: var(--semantic-text-disabled);
|
|
117
117
|
}
|
|
118
118
|
.lib-xplat-calendar .calendar-day.today .calendar-day-number {
|
|
119
|
-
font-weight:
|
|
119
|
+
font-weight: var(--semantic-typo-display-1-b-weight);
|
|
120
120
|
color: var(--semantic-surface-brand-default);
|
|
121
121
|
}
|
|
122
122
|
.lib-xplat-calendar .calendar-day.selected {
|
|
123
123
|
box-shadow: inset 0 0 0 1.5px var(--calendar-selected-color, var(--semantic-text-tertiary));
|
|
124
124
|
}
|
|
125
125
|
.lib-xplat-calendar .calendar-day.selected .calendar-day-number {
|
|
126
|
-
font-weight:
|
|
126
|
+
font-weight: var(--semantic-typo-display-1-b-weight);
|
|
127
127
|
}
|
|
128
128
|
.lib-xplat-calendar .calendar-day.selected:hover {
|
|
129
129
|
background-color: color-mix(in srgb, var(--calendar-selected-color, var(--semantic-text-tertiary)) 10%, transparent);
|
|
@@ -153,9 +153,13 @@
|
|
|
153
153
|
cursor: pointer;
|
|
154
154
|
}
|
|
155
155
|
.lib-xplat-calendar .calendar-event-more {
|
|
156
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
156
157
|
font-size: var(--semantic-typo-caption-2-r-size);
|
|
157
|
-
|
|
158
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
159
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
160
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
158
161
|
line-height: 1;
|
|
162
|
+
color: var(--semantic-text-tertiary);
|
|
159
163
|
}
|
|
160
164
|
.lib-xplat-calendar .calendar-picker-grid {
|
|
161
165
|
display: grid;
|
|
@@ -182,5 +186,5 @@
|
|
|
182
186
|
.lib-xplat-calendar .calendar-picker-cell.active {
|
|
183
187
|
background-color: var(--semantic-surface-neutral-tertiary);
|
|
184
188
|
color: var(--semantic-text-inverse);
|
|
185
|
-
font-weight:
|
|
189
|
+
font-weight: var(--semantic-typo-label-1-sb-weight);
|
|
186
190
|
}
|
|
@@ -1075,7 +1075,7 @@ var DayCell = React2.memo(
|
|
|
1075
1075
|
"span",
|
|
1076
1076
|
{
|
|
1077
1077
|
className: "calendar-event-dot",
|
|
1078
|
-
style: { backgroundColor: event.color ?? "var(--
|
|
1078
|
+
style: { backgroundColor: event.color ?? "var(--semantic-surface-brand-default)" },
|
|
1079
1079
|
title: event.label,
|
|
1080
1080
|
onClick: (e) => {
|
|
1081
1081
|
e.stopPropagation();
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
border-radius: var(--spacing-radius-md) var(--spacing-radius-md) 0 0;
|
|
18
18
|
background-color: var(--semantic-surface-neutral-disabled);
|
|
19
19
|
color: var(--semantic-text-tertiary);
|
|
20
|
-
font-weight:
|
|
20
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
21
21
|
transition: background-color 0.2s, color 0.2s;
|
|
22
22
|
}
|
|
23
23
|
.lib-xplat-card-tab .card-tab-trigger:hover:not(.active) {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
.lib-xplat-card-tab .card-tab-trigger.active {
|
|
28
28
|
background-color: var(--semantic-surface-neutral-primary);
|
|
29
29
|
color: var(--semantic-text-primary);
|
|
30
|
-
font-weight:
|
|
30
|
+
font-weight: var(--semantic-typo-label-1-sb-weight);
|
|
31
31
|
z-index: 1;
|
|
32
32
|
margin-bottom: -1px;
|
|
33
33
|
padding-bottom: calc(var(--tab-py) + 1px);
|
|
@@ -46,7 +46,11 @@
|
|
|
46
46
|
.lib-xplat-card-tab.sm .card-tab-trigger {
|
|
47
47
|
--tab-py: var(--spacing-space-1);
|
|
48
48
|
padding: var(--spacing-space-1) var(--spacing-space-3);
|
|
49
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
49
50
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
51
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
52
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
53
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
50
54
|
}
|
|
51
55
|
.lib-xplat-card-tab.sm .card-tab-body {
|
|
52
56
|
padding: var(--spacing-space-4);
|
|
@@ -57,7 +61,11 @@
|
|
|
57
61
|
.lib-xplat-card-tab.md .card-tab-trigger {
|
|
58
62
|
--tab-py: 6px;
|
|
59
63
|
padding: 6px var(--spacing-space-4);
|
|
64
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
60
65
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
66
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
67
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
68
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
61
69
|
}
|
|
62
70
|
.lib-xplat-card-tab.md .card-tab-body {
|
|
63
71
|
padding: var(--spacing-space-5);
|
|
@@ -68,7 +76,11 @@
|
|
|
68
76
|
.lib-xplat-card-tab.lg .card-tab-trigger {
|
|
69
77
|
--tab-py: var(--spacing-space-2);
|
|
70
78
|
padding: var(--spacing-space-2) var(--spacing-space-5);
|
|
79
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
71
80
|
font-size: var(--semantic-typo-label-2-m-size);
|
|
81
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
82
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
83
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
72
84
|
}
|
|
73
85
|
.lib-xplat-card-tab.lg .card-tab-body {
|
|
74
86
|
padding: var(--spacing-space-6);
|
|
@@ -11,18 +11,22 @@
|
|
|
11
11
|
animation: tooltip-show 120ms ease-out;
|
|
12
12
|
}
|
|
13
13
|
.lib-xplat-tooltip .tooltip-title {
|
|
14
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
14
15
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
15
16
|
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
16
|
-
font-weight:
|
|
17
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
18
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
17
19
|
}
|
|
18
20
|
.lib-xplat-tooltip .tooltip-desc {
|
|
21
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
19
22
|
font-size: var(--semantic-typo-caption-2-r-size);
|
|
20
23
|
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
21
|
-
font-weight:
|
|
24
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
25
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
22
26
|
}
|
|
23
27
|
.lib-xplat-tooltip.dark {
|
|
24
28
|
background-color: var(--semantic-surface-neutral-tertiary);
|
|
25
|
-
box-shadow:
|
|
29
|
+
box-shadow: var(--semantic-shadow-md);
|
|
26
30
|
}
|
|
27
31
|
.lib-xplat-tooltip.dark .tooltip-title,
|
|
28
32
|
.lib-xplat-tooltip.dark .tooltip-desc {
|
|
@@ -30,7 +34,7 @@
|
|
|
30
34
|
}
|
|
31
35
|
.lib-xplat-tooltip.light {
|
|
32
36
|
background-color: var(--semantic-surface-neutral-primary);
|
|
33
|
-
box-shadow:
|
|
37
|
+
box-shadow: var(--semantic-shadow-md);
|
|
34
38
|
}
|
|
35
39
|
.lib-xplat-tooltip.light .tooltip-title,
|
|
36
40
|
.lib-xplat-tooltip.light .tooltip-desc {
|
|
@@ -67,12 +71,19 @@
|
|
|
67
71
|
stroke-width: 1;
|
|
68
72
|
}
|
|
69
73
|
.lib-xplat-chart .chart-axis-label {
|
|
74
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
70
75
|
font-size: var(--semantic-typo-caption-2-r-size);
|
|
76
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
77
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
78
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
71
79
|
fill: var(--semantic-text-tertiary);
|
|
72
80
|
}
|
|
73
81
|
.lib-xplat-chart .chart-pie-label {
|
|
74
|
-
font-
|
|
75
|
-
font-
|
|
82
|
+
font-family: var(--semantic-typo-caption-2-sb-font);
|
|
83
|
+
font-size: var(--semantic-typo-caption-2-sb-size);
|
|
84
|
+
line-height: var(--semantic-typo-caption-2-sb-lh);
|
|
85
|
+
font-weight: var(--semantic-typo-caption-2-sb-weight);
|
|
86
|
+
letter-spacing: var(--semantic-typo-caption-2-sb-ls);
|
|
76
87
|
fill: var(--semantic-text-inverse);
|
|
77
88
|
pointer-events: none;
|
|
78
89
|
opacity: 1;
|
|
@@ -119,7 +130,7 @@
|
|
|
119
130
|
.lib-xplat-chart .chart-slice:hover {
|
|
120
131
|
opacity: 1 !important;
|
|
121
132
|
transform: scale(1.03);
|
|
122
|
-
filter: brightness(1.05) drop-shadow(0 2px 6px
|
|
133
|
+
filter: brightness(1.05) drop-shadow(0 2px 6px var(--semantic-interaction-overlay-25));
|
|
123
134
|
}
|
|
124
135
|
.lib-xplat-chart .chart-area {
|
|
125
136
|
opacity: 1;
|
|
@@ -135,8 +146,11 @@
|
|
|
135
146
|
transition: cx 0.05s, cy 0.05s;
|
|
136
147
|
}
|
|
137
148
|
.lib-xplat-chart .chart-crosshair-label {
|
|
138
|
-
font-
|
|
139
|
-
font-
|
|
149
|
+
font-family: var(--semantic-typo-caption-2-m-font);
|
|
150
|
+
font-size: var(--semantic-typo-caption-2-m-size);
|
|
151
|
+
line-height: var(--semantic-typo-caption-2-m-lh);
|
|
152
|
+
font-weight: var(--semantic-typo-caption-2-m-weight);
|
|
153
|
+
letter-spacing: var(--semantic-typo-caption-2-m-ls);
|
|
140
154
|
color: var(--semantic-text-primary);
|
|
141
155
|
text-align: center;
|
|
142
156
|
white-space: nowrap;
|
|
@@ -181,12 +195,19 @@
|
|
|
181
195
|
flex-direction: column;
|
|
182
196
|
}
|
|
183
197
|
.lib-xplat-chart .chart-legend-label {
|
|
198
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
184
199
|
font-size: var(--semantic-typo-caption-2-r-size);
|
|
200
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
201
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
202
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
185
203
|
color: var(--semantic-text-tertiary);
|
|
186
204
|
}
|
|
187
205
|
.lib-xplat-chart .chart-legend-value {
|
|
188
|
-
font-
|
|
189
|
-
font-
|
|
206
|
+
font-family: var(--semantic-typo-caption-1-sb-font);
|
|
207
|
+
font-size: var(--semantic-typo-caption-1-sb-size);
|
|
208
|
+
line-height: var(--semantic-typo-caption-1-sb-lh);
|
|
209
|
+
font-weight: var(--semantic-typo-caption-1-sb-weight);
|
|
210
|
+
letter-spacing: var(--semantic-typo-caption-1-sb-ls);
|
|
190
211
|
color: var(--semantic-text-primary);
|
|
191
212
|
}
|
|
192
213
|
@keyframes chart-bar-grow {
|
|
@@ -115,8 +115,11 @@
|
|
|
115
115
|
width: 100%;
|
|
116
116
|
color: var(--semantic-text-secondary);
|
|
117
117
|
resize: none;
|
|
118
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
118
119
|
font-size: var(--semantic-typo-label-2-m-size);
|
|
119
120
|
line-height: var(--semantic-typo-label-2-m-lh);
|
|
121
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
122
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
120
123
|
font-family: inherit;
|
|
121
124
|
}
|
|
122
125
|
.lib-xplat-auto-resize-textarea-wrapper .lib-xplat-auto-resize-textarea > textarea:disabled {
|
|
@@ -156,8 +159,11 @@
|
|
|
156
159
|
max-height: 200px;
|
|
157
160
|
overflow-y: auto;
|
|
158
161
|
padding: 4px 0;
|
|
162
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
159
163
|
font-size: var(--semantic-typo-label-2-m-size);
|
|
160
164
|
line-height: var(--semantic-typo-label-2-m-lh);
|
|
165
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
166
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
161
167
|
color: var(--semantic-text-primary);
|
|
162
168
|
background: transparent;
|
|
163
169
|
}
|
|
@@ -26,16 +26,25 @@
|
|
|
26
26
|
height: var(--spacing-space-6);
|
|
27
27
|
}
|
|
28
28
|
.lib-xplat-checkbox.sm > .label {
|
|
29
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
29
30
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
30
31
|
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
32
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
33
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
31
34
|
}
|
|
32
35
|
.lib-xplat-checkbox.md > .label {
|
|
36
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
33
37
|
font-size: var(--semantic-typo-label-2-m-size);
|
|
34
38
|
line-height: var(--semantic-typo-label-2-m-lh);
|
|
39
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
40
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
35
41
|
}
|
|
36
42
|
.lib-xplat-checkbox.lg > .label {
|
|
43
|
+
font-family: var(--semantic-typo-label-1-m-font);
|
|
37
44
|
font-size: var(--semantic-typo-label-1-m-size);
|
|
38
45
|
line-height: var(--semantic-typo-label-1-m-lh);
|
|
46
|
+
font-weight: var(--semantic-typo-label-1-m-weight);
|
|
47
|
+
letter-spacing: var(--semantic-typo-label-1-m-ls);
|
|
39
48
|
}
|
|
40
49
|
.lib-xplat-checkbox > .checkbox {
|
|
41
50
|
display: flex;
|
|
@@ -100,5 +109,5 @@
|
|
|
100
109
|
}
|
|
101
110
|
.lib-xplat-checkbox > .label {
|
|
102
111
|
color: var(--semantic-text-primary);
|
|
103
|
-
font-weight:
|
|
112
|
+
font-weight: var(--semantic-typo-body-2-r-weight);
|
|
104
113
|
}
|
|
@@ -9,15 +9,27 @@
|
|
|
9
9
|
}
|
|
10
10
|
.lib-xplat-chip.sm {
|
|
11
11
|
padding: 1px var(--spacing-space-2);
|
|
12
|
+
font-family: var(--semantic-typo-caption-2-r-font);
|
|
12
13
|
font-size: var(--semantic-typo-caption-2-r-size);
|
|
14
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
15
|
+
font-weight: var(--semantic-typo-caption-2-r-weight);
|
|
16
|
+
letter-spacing: var(--semantic-typo-caption-2-r-ls);
|
|
13
17
|
}
|
|
14
18
|
.lib-xplat-chip.md {
|
|
15
19
|
padding: 2px var(--spacing-space-3);
|
|
20
|
+
font-family: var(--semantic-typo-caption-1-r-font);
|
|
16
21
|
font-size: var(--semantic-typo-caption-1-r-size);
|
|
22
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
23
|
+
font-weight: var(--semantic-typo-caption-1-r-weight);
|
|
24
|
+
letter-spacing: var(--semantic-typo-caption-1-r-ls);
|
|
17
25
|
}
|
|
18
26
|
.lib-xplat-chip.lg {
|
|
19
27
|
padding: var(--spacing-space-1) var(--spacing-space-4);
|
|
28
|
+
font-family: var(--semantic-typo-label-2-m-font);
|
|
20
29
|
font-size: var(--semantic-typo-label-2-m-size);
|
|
30
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
31
|
+
font-weight: var(--semantic-typo-label-2-m-weight);
|
|
32
|
+
letter-spacing: var(--semantic-typo-label-2-m-ls);
|
|
21
33
|
}
|
|
22
34
|
.lib-xplat-chip.primary {
|
|
23
35
|
color: var(--semantic-text-inverse);
|