@x-plat/design-system 0.5.52 → 0.5.54
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 +2 -2
- package/dist/components/Alert/index.css +3 -3
- package/dist/components/Avatar/index.css +3 -3
- package/dist/components/Badge/index.css +3 -3
- package/dist/components/Box/index.css +1 -1
- package/dist/components/Breadcrumb/index.css +1 -1
- package/dist/components/Calendar/index.css +2 -2
- package/dist/components/CardTab/index.css +3 -3
- package/dist/components/Chart/index.css +9 -9
- package/dist/components/ChatInput/index.css +5 -5
- package/dist/components/CheckBox/index.css +8 -2
- package/dist/components/Chip/index.css +3 -3
- package/dist/components/DatePicker/index.css +7 -7
- package/dist/components/Drawer/index.css +2 -2
- package/dist/components/Dropdown/index.css +1 -1
- package/dist/components/Editor/index.css +9 -9
- package/dist/components/EmptyState/index.css +3 -3
- package/dist/components/FileUpload/index.css +3 -3
- package/dist/components/HtmlTypeWriter/index.css +3 -3
- package/dist/components/IconButton/index.css +3 -3
- package/dist/components/ImageSelector/index.css +2 -2
- package/dist/components/Input/index.css +1 -1
- package/dist/components/Pagination/index.css +9 -9
- package/dist/components/Progress/index.css +1 -1
- package/dist/components/Radio/index.css +8 -2
- package/dist/components/Select/index.css +3 -2
- package/dist/components/Steps/index.css +4 -4
- package/dist/components/Tab/index.css +4 -4
- package/dist/components/Table/index.css +3 -3
- package/dist/components/Tag/index.css +6 -6
- package/dist/components/Toast/index.css +3 -3
- package/dist/components/Tooltip/index.css +4 -4
- package/dist/components/Video/index.css +4 -4
- package/dist/components/index.css +114 -101
- package/dist/index.css +114 -101
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
background: none;
|
|
22
22
|
border: none;
|
|
23
23
|
cursor: pointer;
|
|
24
|
-
font-size:
|
|
24
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
25
25
|
font-weight: 500;
|
|
26
26
|
color: var(--semantic-text-strong);
|
|
27
27
|
text-align: left;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
.lib-xplat-accordion .accordion-content {
|
|
49
49
|
padding: 0 var(--spacing-space-4) 14px;
|
|
50
|
-
font-size:
|
|
50
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
51
51
|
color: var(--semantic-text-subtle);
|
|
52
52
|
line-height: 1.6;
|
|
53
53
|
}
|
|
@@ -6,8 +6,8 @@
|
|
|
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-size:
|
|
10
|
-
line-height:
|
|
9
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
10
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
11
11
|
border: 1px solid;
|
|
12
12
|
}
|
|
13
13
|
.lib-xplat-alert .content {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
background: none;
|
|
18
18
|
border: none;
|
|
19
19
|
cursor: pointer;
|
|
20
|
-
font-size:
|
|
20
|
+
font-size: var(--semantic-typo-body-1-m-size);
|
|
21
21
|
line-height: 1;
|
|
22
22
|
margin-left: var(--spacing-space-2);
|
|
23
23
|
padding: 0;
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
.lib-xplat-avatar.sm {
|
|
12
12
|
width: var(--spacing-control-height-sm);
|
|
13
13
|
height: var(--spacing-control-height-sm);
|
|
14
|
-
font-size:
|
|
14
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
15
15
|
}
|
|
16
16
|
.lib-xplat-avatar.md {
|
|
17
17
|
width: var(--spacing-control-height-md);
|
|
18
18
|
height: var(--spacing-control-height-md);
|
|
19
|
-
font-size:
|
|
19
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
20
20
|
}
|
|
21
21
|
.lib-xplat-avatar.lg {
|
|
22
22
|
width: var(--spacing-control-height-lg);
|
|
23
23
|
height: var(--spacing-control-height-lg);
|
|
24
|
-
font-size:
|
|
24
|
+
font-size: var(--semantic-typo-body-1-m-size);
|
|
25
25
|
}
|
|
26
26
|
.lib-xplat-avatar img {
|
|
27
27
|
width: 100%;
|
|
@@ -6,7 +6,7 @@
|
|
|
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-size:
|
|
9
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
10
10
|
padding: 0 var(--spacing-space-1);
|
|
11
11
|
}
|
|
12
12
|
.lib-xplat-badge.sm .badge-indicator.dot {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
.lib-xplat-badge.lg .badge-indicator {
|
|
17
17
|
min-width: var(--spacing-space-6);
|
|
18
18
|
height: var(--spacing-space-6);
|
|
19
|
-
font-size:
|
|
19
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
20
20
|
padding: 0 var(--spacing-space-2);
|
|
21
21
|
}
|
|
22
22
|
.lib-xplat-badge.lg .badge-indicator.dot {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
justify-content: center;
|
|
34
34
|
border-radius: var(--spacing-radius-full);
|
|
35
35
|
color: var(--semantic-text-inverse);
|
|
36
|
-
font-size:
|
|
36
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
37
37
|
font-weight: 600;
|
|
38
38
|
line-height: 1;
|
|
39
39
|
min-width: var(--spacing-space-4);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
.lib-xplat-box > .box-title {
|
|
28
28
|
font-weight: 600;
|
|
29
|
-
font-size:
|
|
29
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
30
30
|
color: var(--semantic-text-strong);
|
|
31
31
|
padding: var(--spacing-space-3) var(--spacing-space-4);
|
|
32
32
|
border-bottom: 1px solid var(--semantic-border-subtle);
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
background-color: var(--semantic-surface-neutral-disabled);
|
|
47
47
|
}
|
|
48
48
|
.lib-xplat-calendar .calendar-nav svg {
|
|
49
|
-
font-size:
|
|
49
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
50
50
|
}
|
|
51
51
|
.lib-xplat-calendar .calendar-today-btn {
|
|
52
52
|
margin-left: auto;
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
cursor: pointer;
|
|
154
154
|
}
|
|
155
155
|
.lib-xplat-calendar .calendar-event-more {
|
|
156
|
-
font-size:
|
|
156
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
157
157
|
color: var(--semantic-text-muted);
|
|
158
158
|
line-height: 1;
|
|
159
159
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
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-size:
|
|
49
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
50
50
|
}
|
|
51
51
|
.lib-xplat-card-tab.sm .card-tab-body {
|
|
52
52
|
padding: var(--spacing-space-4);
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
.lib-xplat-card-tab.md .card-tab-trigger {
|
|
58
58
|
--tab-py: 6px;
|
|
59
59
|
padding: 6px var(--spacing-space-4);
|
|
60
|
-
font-size:
|
|
60
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
61
61
|
}
|
|
62
62
|
.lib-xplat-card-tab.md .card-tab-body {
|
|
63
63
|
padding: var(--spacing-space-5);
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
.lib-xplat-card-tab.lg .card-tab-trigger {
|
|
69
69
|
--tab-py: var(--spacing-space-2);
|
|
70
70
|
padding: var(--spacing-space-2) var(--spacing-space-5);
|
|
71
|
-
font-size:
|
|
71
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
72
72
|
}
|
|
73
73
|
.lib-xplat-card-tab.lg .card-tab-body {
|
|
74
74
|
padding: var(--spacing-space-6);
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
animation: tooltip-show 120ms ease-out;
|
|
12
12
|
}
|
|
13
13
|
.lib-xplat-tooltip .tooltip-title {
|
|
14
|
-
font-size:
|
|
15
|
-
line-height:
|
|
14
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
15
|
+
line-height: var(--semantic-typo-caption-1-r-lh);
|
|
16
16
|
font-weight: 400;
|
|
17
17
|
}
|
|
18
18
|
.lib-xplat-tooltip .tooltip-desc {
|
|
19
|
-
font-size:
|
|
20
|
-
line-height:
|
|
19
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
20
|
+
line-height: var(--semantic-typo-caption-2-r-lh);
|
|
21
21
|
font-weight: 400;
|
|
22
22
|
}
|
|
23
23
|
.lib-xplat-tooltip.dark {
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
stroke-width: 1;
|
|
68
68
|
}
|
|
69
69
|
.lib-xplat-chart .chart-axis-label {
|
|
70
|
-
font-size:
|
|
70
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
71
71
|
fill: var(--semantic-text-muted);
|
|
72
72
|
}
|
|
73
73
|
.lib-xplat-chart .chart-pie-label {
|
|
74
|
-
font-size:
|
|
74
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
75
75
|
font-weight: 600;
|
|
76
76
|
fill: var(--semantic-text-inverse);
|
|
77
77
|
pointer-events: none;
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
transition: cx 0.05s, cy 0.05s;
|
|
136
136
|
}
|
|
137
137
|
.lib-xplat-chart .chart-crosshair-label {
|
|
138
|
-
font-size:
|
|
138
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
139
139
|
font-weight: 500;
|
|
140
140
|
color: var(--semantic-text-strong);
|
|
141
141
|
text-align: center;
|
|
@@ -181,11 +181,11 @@
|
|
|
181
181
|
flex-direction: column;
|
|
182
182
|
}
|
|
183
183
|
.lib-xplat-chart .chart-legend-label {
|
|
184
|
-
font-size:
|
|
184
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
185
185
|
color: var(--semantic-text-muted);
|
|
186
186
|
}
|
|
187
187
|
.lib-xplat-chart .chart-legend-value {
|
|
188
|
-
font-size:
|
|
188
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
189
189
|
font-weight: 600;
|
|
190
190
|
color: var(--semantic-text-strong);
|
|
191
191
|
}
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
.lib-xplat-icon-button.sm {
|
|
13
13
|
width: var(--spacing-control-height-sm);
|
|
14
14
|
height: var(--spacing-control-height-sm);
|
|
15
|
-
font-size:
|
|
15
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
16
16
|
}
|
|
17
17
|
.lib-xplat-icon-button.md {
|
|
18
18
|
width: var(--spacing-control-height-md);
|
|
19
19
|
height: var(--spacing-control-height-md);
|
|
20
|
-
font-size:
|
|
20
|
+
font-size: var(--semantic-typo-body-1-m-size);
|
|
21
21
|
}
|
|
22
22
|
.lib-xplat-icon-button.lg {
|
|
23
23
|
width: var(--spacing-control-height-lg);
|
|
24
24
|
height: var(--spacing-control-height-lg);
|
|
25
|
-
font-size:
|
|
25
|
+
font-size: var(--semantic-typo-heading-1-m-size);
|
|
26
26
|
}
|
|
27
27
|
.lib-xplat-icon-button:disabled {
|
|
28
28
|
cursor: not-allowed;
|
|
@@ -109,8 +109,8 @@
|
|
|
109
109
|
max-height: 200px;
|
|
110
110
|
overflow-y: auto;
|
|
111
111
|
padding: 4px 0;
|
|
112
|
-
font-size:
|
|
113
|
-
line-height:
|
|
112
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
113
|
+
line-height: var(--semantic-typo-label-1-m-lh);
|
|
114
114
|
color: var(--semantic-text-strong);
|
|
115
115
|
background: transparent;
|
|
116
116
|
}
|
|
@@ -24,10 +24,16 @@
|
|
|
24
24
|
height: var(--spacing-space-6);
|
|
25
25
|
}
|
|
26
26
|
.lib-xplat-checkbox.sm > .label {
|
|
27
|
-
font-size:
|
|
27
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
28
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
29
|
+
}
|
|
30
|
+
.lib-xplat-checkbox.md > .label {
|
|
31
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
32
|
+
line-height: var(--semantic-typo-label-1-m-lh);
|
|
28
33
|
}
|
|
29
34
|
.lib-xplat-checkbox.lg > .label {
|
|
30
|
-
font-size:
|
|
35
|
+
font-size: var(--semantic-typo-body-1-m-size);
|
|
36
|
+
line-height: var(--semantic-typo-body-1-m-lh);
|
|
31
37
|
}
|
|
32
38
|
.lib-xplat-checkbox > .checkbox {
|
|
33
39
|
display: flex;
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
}
|
|
10
10
|
.lib-xplat-chip.sm {
|
|
11
11
|
padding: 1px var(--spacing-space-2);
|
|
12
|
-
font-size:
|
|
12
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
13
13
|
}
|
|
14
14
|
.lib-xplat-chip.md {
|
|
15
15
|
padding: 2px var(--spacing-space-3);
|
|
16
|
-
font-size:
|
|
16
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
17
17
|
}
|
|
18
18
|
.lib-xplat-chip.lg {
|
|
19
19
|
padding: var(--spacing-space-1) var(--spacing-space-4);
|
|
20
|
-
font-size:
|
|
20
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
21
21
|
}
|
|
22
22
|
.lib-xplat-chip.primary {
|
|
23
23
|
color: var(--semantic-text-inverse);
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
color: var(--semantic-text-error);
|
|
194
194
|
}
|
|
195
195
|
.lib-xplat-input-wrap .lib-xplat-input-validation-wrap > .lib-xplat-input-validation > .icon {
|
|
196
|
-
font-size:
|
|
196
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
/* src/components/Modal/modal.scss */
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
background-color: var(--semantic-surface-neutral-disabled);
|
|
317
317
|
}
|
|
318
318
|
.lib-xplat-datepicker .datepicker-nav svg {
|
|
319
|
-
font-size:
|
|
319
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
320
320
|
}
|
|
321
321
|
.lib-xplat-datepicker .datepicker-weekdays {
|
|
322
322
|
display: grid;
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
.lib-xplat-datepicker .datepicker-range-label {
|
|
429
429
|
display: block;
|
|
430
430
|
text-align: center;
|
|
431
|
-
font-size:
|
|
431
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
432
432
|
font-weight: 500;
|
|
433
433
|
color: var(--semantic-text-muted);
|
|
434
434
|
margin-bottom: var(--spacing-space-2);
|
|
@@ -509,15 +509,15 @@
|
|
|
509
509
|
}
|
|
510
510
|
.lib-xplat-tab.sm {
|
|
511
511
|
height: var(--spacing-control-height-sm);
|
|
512
|
-
font-size:
|
|
512
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
513
513
|
}
|
|
514
514
|
.lib-xplat-tab.md {
|
|
515
515
|
height: var(--spacing-control-height-md);
|
|
516
|
-
font-size:
|
|
516
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
517
517
|
}
|
|
518
518
|
.lib-xplat-tab.lg {
|
|
519
519
|
height: var(--spacing-control-height-lg);
|
|
520
|
-
font-size:
|
|
520
|
+
font-size: var(--semantic-typo-body-1-m-size);
|
|
521
521
|
}
|
|
522
522
|
.lib-xplat-tab.type-default {
|
|
523
523
|
width: 100%;
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
justify-content: center;
|
|
556
556
|
white-space: nowrap;
|
|
557
557
|
padding: 0 var(--spacing-space-3);
|
|
558
|
-
font-size:
|
|
558
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
559
559
|
font-weight: 500;
|
|
560
560
|
height: 100%;
|
|
561
561
|
background: none;
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
border-bottom: 1px solid var(--semantic-border-default);
|
|
59
59
|
}
|
|
60
60
|
.lib-xplat-drawer .drawer-title {
|
|
61
|
-
font-size:
|
|
61
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
62
62
|
font-weight: 600;
|
|
63
63
|
color: var(--semantic-text-strong);
|
|
64
64
|
}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
background: none;
|
|
67
67
|
border: none;
|
|
68
68
|
cursor: pointer;
|
|
69
|
-
font-size:
|
|
69
|
+
font-size: var(--semantic-typo-heading-1-m-size);
|
|
70
70
|
line-height: 1;
|
|
71
71
|
color: var(--semantic-icon-strong);
|
|
72
72
|
padding: 0;
|
|
@@ -83,13 +83,13 @@
|
|
|
83
83
|
margin-top: 0;
|
|
84
84
|
}
|
|
85
85
|
.lib-xplat-editor__editable h1 {
|
|
86
|
-
font-size:
|
|
86
|
+
font-size: var(--semantic-typo-title-1-m-size);
|
|
87
87
|
}
|
|
88
88
|
.lib-xplat-editor__editable h2 {
|
|
89
|
-
font-size:
|
|
89
|
+
font-size: var(--semantic-typo-heading-1-m-size);
|
|
90
90
|
}
|
|
91
91
|
.lib-xplat-editor__editable h3 {
|
|
92
|
-
font-size:
|
|
92
|
+
font-size: var(--semantic-typo-body-1-m-size);
|
|
93
93
|
}
|
|
94
94
|
.lib-xplat-editor__editable p {
|
|
95
95
|
margin: var(--spacing-space-2) 0;
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"SF Mono",
|
|
130
130
|
Menlo,
|
|
131
131
|
monospace;
|
|
132
|
-
font-size:
|
|
132
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
133
133
|
line-height: 1.5;
|
|
134
134
|
overflow-x: auto;
|
|
135
135
|
white-space: pre-wrap;
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"SF Mono",
|
|
144
144
|
Menlo,
|
|
145
145
|
monospace;
|
|
146
|
-
font-size:
|
|
146
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
147
147
|
color: var(--semantic-text-strong);
|
|
148
148
|
}
|
|
149
149
|
.lib-xplat-editor__editable a {
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
background: transparent;
|
|
186
186
|
color: var(--semantic-text-strong);
|
|
187
187
|
font-family: inherit;
|
|
188
|
-
font-size:
|
|
188
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
189
189
|
text-align: left;
|
|
190
190
|
cursor: pointer;
|
|
191
191
|
}
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
}
|
|
200
200
|
.lib-xplat-editor__slash-item .hint {
|
|
201
201
|
color: var(--semantic-text-muted);
|
|
202
|
-
font-size:
|
|
202
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
203
203
|
}
|
|
204
204
|
.lib-xplat-editor__link-popover {
|
|
205
205
|
position: absolute;
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
background: var(--semantic-surface-neutral-default);
|
|
222
222
|
color: var(--semantic-text-strong);
|
|
223
223
|
font-family: inherit;
|
|
224
|
-
font-size:
|
|
224
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
225
225
|
outline: none;
|
|
226
226
|
}
|
|
227
227
|
.lib-xplat-editor__link-popover input:focus {
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
background: var(--semantic-surface-neutral-default);
|
|
235
235
|
color: var(--semantic-text-strong);
|
|
236
236
|
font-family: inherit;
|
|
237
|
-
font-size:
|
|
237
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
238
238
|
cursor: pointer;
|
|
239
239
|
}
|
|
240
240
|
.lib-xplat-editor__link-popover button:hover {
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
margin-bottom: var(--spacing-space-4);
|
|
15
15
|
}
|
|
16
16
|
.lib-xplat-empty-state .empty-icon svg {
|
|
17
|
-
font-size:
|
|
17
|
+
font-size: var(--semantic-typo-display-1-b-size);
|
|
18
18
|
}
|
|
19
19
|
.lib-xplat-empty-state .empty-title {
|
|
20
|
-
font-size:
|
|
20
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
21
21
|
font-weight: 500;
|
|
22
22
|
color: var(--semantic-text-subtle);
|
|
23
23
|
margin: 0;
|
|
24
24
|
}
|
|
25
25
|
.lib-xplat-empty-state .empty-description {
|
|
26
|
-
font-size:
|
|
26
|
+
font-size: var(--semantic-typo-caption-1-r-size);
|
|
27
27
|
color: var(--semantic-text-muted);
|
|
28
28
|
margin: var(--spacing-space-2) 0 0;
|
|
29
29
|
max-width: 320px;
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
margin-bottom: var(--spacing-space-3);
|
|
30
30
|
}
|
|
31
31
|
.lib-xplat-file-upload .upload-icon svg {
|
|
32
|
-
font-size:
|
|
32
|
+
font-size: var(--semantic-typo-display-2-sb-size);
|
|
33
33
|
}
|
|
34
34
|
.lib-xplat-file-upload .upload-label {
|
|
35
|
-
font-size:
|
|
35
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
36
36
|
font-weight: 500;
|
|
37
37
|
color: var(--semantic-text-subtle);
|
|
38
38
|
margin: 0;
|
|
39
39
|
}
|
|
40
40
|
.lib-xplat-file-upload .upload-description {
|
|
41
|
-
font-size:
|
|
41
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
42
42
|
color: var(--semantic-text-muted);
|
|
43
43
|
margin: var(--spacing-space-1) 0 0;
|
|
44
44
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* src/components/HtmlTypeWriter/htmlTypeWriter.scss */
|
|
2
2
|
.lib-xplat-htmlTypewriter {
|
|
3
3
|
width: 100%;
|
|
4
|
-
font-size:
|
|
4
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
5
5
|
}
|
|
6
6
|
.lib-xplat-htmlTypewriter h1,
|
|
7
7
|
.lib-xplat-htmlTypewriter h2,
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
font-weight: 600;
|
|
13
13
|
}
|
|
14
14
|
.lib-xplat-htmlTypewriter h3 {
|
|
15
|
-
font-size:
|
|
15
|
+
font-size: var(--semantic-typo-title-1-m-size);
|
|
16
16
|
}
|
|
17
17
|
.lib-xplat-htmlTypewriter h4 {
|
|
18
|
-
font-size:
|
|
18
|
+
font-size: var(--semantic-typo-heading-1-m-size);
|
|
19
19
|
}
|
|
20
20
|
.lib-xplat-htmlTypewriter hr {
|
|
21
21
|
color: var(--semantic-border-default);
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
.lib-xplat-icon-button.sm {
|
|
13
13
|
width: var(--spacing-control-height-sm);
|
|
14
14
|
height: var(--spacing-control-height-sm);
|
|
15
|
-
font-size:
|
|
15
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
16
16
|
}
|
|
17
17
|
.lib-xplat-icon-button.md {
|
|
18
18
|
width: var(--spacing-control-height-md);
|
|
19
19
|
height: var(--spacing-control-height-md);
|
|
20
|
-
font-size:
|
|
20
|
+
font-size: var(--semantic-typo-body-1-m-size);
|
|
21
21
|
}
|
|
22
22
|
.lib-xplat-icon-button.lg {
|
|
23
23
|
width: var(--spacing-control-height-lg);
|
|
24
24
|
height: var(--spacing-control-height-lg);
|
|
25
|
-
font-size:
|
|
25
|
+
font-size: var(--semantic-typo-heading-1-m-size);
|
|
26
26
|
}
|
|
27
27
|
.lib-xplat-icon-button:disabled {
|
|
28
28
|
cursor: not-allowed;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
.lib-xplat-imageselector > .content .skeleton > .label {
|
|
53
53
|
margin-top: var(--spacing-space-1);
|
|
54
|
-
font-size:
|
|
54
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
55
55
|
color: var(--semantic-text-muted);
|
|
56
56
|
}
|
|
57
57
|
.lib-xplat-imageselector > .content .skeleton:hover > .icon-wrapper {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
transform: translate(-50%, -50%);
|
|
68
68
|
display: flex;
|
|
69
69
|
gap: 0.5em;
|
|
70
|
-
font-size:
|
|
70
|
+
font-size: var(--semantic-typo-title-2-m-size);
|
|
71
71
|
background-color: var(--semantic-surface-neutral-strong);
|
|
72
72
|
padding: var(--spacing-space-1) var(--spacing-space-3);
|
|
73
73
|
align-items: center;
|
|
@@ -7,28 +7,28 @@
|
|
|
7
7
|
.lib-xplat-pagination.sm .dots {
|
|
8
8
|
width: var(--spacing-control-height-xs);
|
|
9
9
|
height: var(--spacing-control-height-xs);
|
|
10
|
-
font-size:
|
|
10
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
11
11
|
}
|
|
12
12
|
.lib-xplat-pagination.sm .page-btn {
|
|
13
13
|
min-width: var(--spacing-control-height-xs);
|
|
14
14
|
height: var(--spacing-control-height-xs);
|
|
15
|
-
font-size:
|
|
15
|
+
font-size: var(--semantic-typo-caption-2-r-size);
|
|
16
16
|
}
|
|
17
17
|
.lib-xplat-pagination.sm .page-btn svg {
|
|
18
|
-
font-size:
|
|
18
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
19
19
|
}
|
|
20
20
|
.lib-xplat-pagination.lg .dots {
|
|
21
21
|
width: var(--spacing-control-height-md);
|
|
22
22
|
height: var(--spacing-control-height-md);
|
|
23
|
-
font-size:
|
|
23
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
24
24
|
}
|
|
25
25
|
.lib-xplat-pagination.lg .page-btn {
|
|
26
26
|
min-width: var(--spacing-control-height-md);
|
|
27
27
|
height: var(--spacing-control-height-md);
|
|
28
|
-
font-size:
|
|
28
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
29
29
|
}
|
|
30
30
|
.lib-xplat-pagination.lg .page-btn svg {
|
|
31
|
-
font-size:
|
|
31
|
+
font-size: var(--semantic-typo-heading-1-m-size);
|
|
32
32
|
}
|
|
33
33
|
.lib-xplat-pagination .dots {
|
|
34
34
|
display: flex;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
justify-content: center;
|
|
37
37
|
width: var(--spacing-control-height-sm);
|
|
38
38
|
height: var(--spacing-control-height-sm);
|
|
39
|
-
font-size:
|
|
39
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
40
40
|
color: var(--semantic-text-muted);
|
|
41
41
|
user-select: none;
|
|
42
42
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
border: none;
|
|
51
51
|
border-radius: var(--spacing-radius-md);
|
|
52
52
|
background: none;
|
|
53
|
-
font-size:
|
|
53
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
54
54
|
cursor: pointer;
|
|
55
55
|
color: var(--semantic-text-subtle);
|
|
56
56
|
transition: background-color 0.2s, color 0.2s;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
font-weight: 600;
|
|
68
68
|
}
|
|
69
69
|
.lib-xplat-pagination .page-btn svg {
|
|
70
|
-
font-size:
|
|
70
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
71
71
|
}
|
|
72
72
|
.lib-xplat-pagination.brand .page-btn.active {
|
|
73
73
|
background-color: var(--semantic-surface-brand-default);
|
|
@@ -19,12 +19,17 @@
|
|
|
19
19
|
height: var(--spacing-space-2);
|
|
20
20
|
}
|
|
21
21
|
.lib-xplat-radio.sm > span {
|
|
22
|
-
font-size:
|
|
22
|
+
font-size: var(--semantic-typo-label-2-m-size);
|
|
23
|
+
line-height: var(--semantic-typo-label-2-m-lh);
|
|
23
24
|
}
|
|
24
25
|
.lib-xplat-radio.md > .circle {
|
|
25
26
|
width: var(--spacing-space-5);
|
|
26
27
|
height: var(--spacing-space-5);
|
|
27
28
|
}
|
|
29
|
+
.lib-xplat-radio.md > span {
|
|
30
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
31
|
+
line-height: var(--semantic-typo-label-1-m-lh);
|
|
32
|
+
}
|
|
28
33
|
.lib-xplat-radio.lg > .circle {
|
|
29
34
|
width: var(--spacing-space-6);
|
|
30
35
|
height: var(--spacing-space-6);
|
|
@@ -34,7 +39,8 @@
|
|
|
34
39
|
height: var(--spacing-space-4);
|
|
35
40
|
}
|
|
36
41
|
.lib-xplat-radio.lg > span {
|
|
37
|
-
font-size:
|
|
42
|
+
font-size: var(--semantic-typo-body-1-m-size);
|
|
43
|
+
line-height: var(--semantic-typo-body-1-m-lh);
|
|
38
44
|
}
|
|
39
45
|
.lib-xplat-radio > .circle {
|
|
40
46
|
border: 2px solid var(--semantic-border-strong);
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
transform: rotate(180deg);
|
|
103
103
|
}
|
|
104
104
|
.lib-xplat-select .select-trigger .select-trigger-icon svg {
|
|
105
|
-
font-size:
|
|
105
|
+
font-size: var(--semantic-typo-body-1-m-size);
|
|
106
106
|
}
|
|
107
107
|
.lib-xplat-select-content {
|
|
108
108
|
position: fixed;
|
|
@@ -141,7 +141,8 @@
|
|
|
141
141
|
}
|
|
142
142
|
.lib-xplat-select-content .select-item {
|
|
143
143
|
padding: var(--spacing-space-2) var(--spacing-space-3);
|
|
144
|
-
font-size:
|
|
144
|
+
font-size: var(--semantic-typo-label-1-m-size);
|
|
145
|
+
line-height: var(--semantic-typo-label-1-m-lh);
|
|
145
146
|
cursor: pointer;
|
|
146
147
|
transition: background-color 0.15s ease;
|
|
147
148
|
outline: none;
|