@x-plat/design-system 0.5.53 → 0.5.55

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.
Files changed (39) hide show
  1. package/dist/components/Accordion/index.css +2 -2
  2. package/dist/components/Alert/index.css +3 -3
  3. package/dist/components/Avatar/index.css +3 -3
  4. package/dist/components/Badge/index.css +3 -3
  5. package/dist/components/Box/index.css +1 -1
  6. package/dist/components/Breadcrumb/index.css +1 -1
  7. package/dist/components/Calendar/index.css +2 -2
  8. package/dist/components/CardTab/index.css +3 -3
  9. package/dist/components/Chart/index.css +9 -9
  10. package/dist/components/ChatInput/index.css +3 -3
  11. package/dist/components/Chip/index.css +3 -3
  12. package/dist/components/DatePicker/index.css +6 -6
  13. package/dist/components/Drawer/index.css +2 -2
  14. package/dist/components/Dropdown/index.css +1 -1
  15. package/dist/components/Editor/index.css +9 -9
  16. package/dist/components/EmptyState/index.css +3 -3
  17. package/dist/components/FileUpload/index.css +3 -3
  18. package/dist/components/HtmlTypeWriter/index.css +3 -3
  19. package/dist/components/IconButton/index.css +3 -3
  20. package/dist/components/ImageSelector/index.css +2 -2
  21. package/dist/components/Pagination/index.css +9 -9
  22. package/dist/components/Progress/index.css +1 -1
  23. package/dist/components/Select/index.cjs +1 -1
  24. package/dist/components/Select/index.css +10 -10
  25. package/dist/components/Select/index.js +1 -1
  26. package/dist/components/Steps/index.css +4 -4
  27. package/dist/components/Tab/index.css +4 -4
  28. package/dist/components/Table/index.css +3 -3
  29. package/dist/components/Tag/index.css +6 -6
  30. package/dist/components/Toast/index.css +3 -3
  31. package/dist/components/Tooltip/index.css +4 -4
  32. package/dist/components/Video/index.css +4 -4
  33. package/dist/components/index.cjs +1 -1
  34. package/dist/components/index.css +102 -102
  35. package/dist/components/index.js +1 -1
  36. package/dist/index.cjs +1 -1
  37. package/dist/index.css +102 -102
  38. package/dist/index.js +1 -1
  39. package/package.json +1 -1
@@ -21,7 +21,7 @@
21
21
  background: none;
22
22
  border: none;
23
23
  cursor: pointer;
24
- font-size: 14px;
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: 14px;
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: 14px;
10
- line-height: 1.5;
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: 18px;
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: 11px;
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: 14px;
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: 18px;
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: 9px;
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: 13px;
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: 11px;
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: 14px;
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);
@@ -15,7 +15,7 @@
15
15
  display: flex;
16
16
  align-items: center;
17
17
  gap: var(--spacing-space-1);
18
- font-size: 14px;
18
+ font-size: var(--semantic-typo-label-2-m-size);
19
19
  }
20
20
  .lib-xplat-breadcrumb .link {
21
21
  color: var(--semantic-text-muted);
@@ -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: 16px;
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: 9px;
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: 13px;
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: 14px;
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: 16px;
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: 13px;
15
- line-height: 18px;
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: 12px;
20
- line-height: 18px;
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: 10px;
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: 12px;
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: 11px;
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: 12px;
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: 14px;
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: 14px;
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: 18px;
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: 22px;
25
+ font-size: var(--semantic-typo-heading-1-m-size);
26
26
  }
27
27
  .lib-xplat-icon-button:disabled {
28
28
  cursor: not-allowed;
@@ -9,15 +9,15 @@
9
9
  }
10
10
  .lib-xplat-chip.sm {
11
11
  padding: 1px var(--spacing-space-2);
12
- font-size: 12px;
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: 14px;
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: 16px;
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);
@@ -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: 16px;
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: 12px;
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: 14px;
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: 16px;
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: 18px;
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: 16px;
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: 16px;
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: 22px;
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;
@@ -34,7 +34,7 @@
34
34
  padding: var(--spacing-space-2) 14px;
35
35
  border: none;
36
36
  background: none;
37
- font-size: 14px;
37
+ font-size: var(--semantic-typo-label-2-m-size);
38
38
  color: var(--semantic-text-strong);
39
39
  cursor: pointer;
40
40
  text-align: left;
@@ -83,13 +83,13 @@
83
83
  margin-top: 0;
84
84
  }
85
85
  .lib-xplat-editor__editable h1 {
86
- font-size: 28px;
86
+ font-size: var(--semantic-typo-title-1-m-size);
87
87
  }
88
88
  .lib-xplat-editor__editable h2 {
89
- font-size: 22px;
89
+ font-size: var(--semantic-typo-heading-1-m-size);
90
90
  }
91
91
  .lib-xplat-editor__editable h3 {
92
- font-size: 18px;
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: 13px;
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: 13px;
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: 13px;
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: 12px;
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: 13px;
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: 12px;
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: 48px;
17
+ font-size: var(--semantic-typo-display-1-b-size);
18
18
  }
19
19
  .lib-xplat-empty-state .empty-title {
20
- font-size: 15px;
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: 13px;
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: 32px;
32
+ font-size: var(--semantic-typo-display-2-sb-size);
33
33
  }
34
34
  .lib-xplat-file-upload .upload-label {
35
- font-size: 14px;
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: 12px;
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: 16px;
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: 28px;
15
+ font-size: var(--semantic-typo-title-1-m-size);
16
16
  }
17
17
  .lib-xplat-htmlTypewriter h4 {
18
- font-size: 20px;
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: 14px;
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: 18px;
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: 22px;
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: 14px;
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: 24px;
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: 12px;
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: 12px;
15
+ font-size: var(--semantic-typo-caption-2-r-size);
16
16
  }
17
17
  .lib-xplat-pagination.sm .page-btn svg {
18
- font-size: 14px;
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: 16px;
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: 16px;
28
+ font-size: var(--semantic-typo-label-1-m-size);
29
29
  }
30
30
  .lib-xplat-pagination.lg .page-btn svg {
31
- font-size: 20px;
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: 14px;
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: 14px;
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: 16px;
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);
@@ -41,7 +41,7 @@
41
41
  background-color: var(--semantic-surface-info-default);
42
42
  }
43
43
  .lib-xplat-progress .label {
44
- font-size: 12px;
44
+ font-size: var(--semantic-typo-caption-2-r-size);
45
45
  font-weight: 500;
46
46
  color: var(--semantic-text-subtle);
47
47
  min-width: 36px;
@@ -1229,7 +1229,7 @@ var SelectRoot = (props) => {
1229
1229
  mounted && /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(Portal_default, { children: /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
1230
1230
  "div",
1231
1231
  {
1232
- className: clsx_default("lib-xplat-select-content", position.direction, stateClass),
1232
+ className: clsx_default("lib-xplat-select-content", size, position.direction, stateClass),
1233
1233
  ref: contentRef,
1234
1234
  style: { ...position.position, width: triggerRef.current?.offsetWidth },
1235
1235
  role: "listbox",
@@ -26,16 +26,6 @@
26
26
  font-size: var(--semantic-typo-body-1-m-size);
27
27
  line-height: var(--semantic-typo-body-1-m-lh);
28
28
  }
29
- .lib-xplat-select.sm .select-content .select-item {
30
- padding: var(--spacing-space-2) var(--spacing-space-2);
31
- font-size: var(--semantic-typo-label-2-m-size);
32
- line-height: var(--semantic-typo-label-2-m-lh);
33
- }
34
- .lib-xplat-select.lg .select-content .select-item {
35
- padding: var(--spacing-space-2) var(--spacing-space-4);
36
- font-size: var(--semantic-typo-body-1-m-size);
37
- line-height: var(--semantic-typo-body-1-m-lh);
38
- }
39
29
  .lib-xplat-select .select-trigger {
40
30
  cursor: pointer;
41
31
  user-select: none;
@@ -139,6 +129,16 @@
139
129
  opacity: 0;
140
130
  transform: translateY(8px);
141
131
  }
132
+ .lib-xplat-select-content.sm .select-item {
133
+ padding: var(--spacing-space-2) var(--spacing-space-2);
134
+ font-size: var(--semantic-typo-label-2-m-size);
135
+ line-height: var(--semantic-typo-label-2-m-lh);
136
+ }
137
+ .lib-xplat-select-content.lg .select-item {
138
+ padding: var(--spacing-space-2) var(--spacing-space-4);
139
+ font-size: var(--semantic-typo-body-1-m-size);
140
+ line-height: var(--semantic-typo-body-1-m-lh);
141
+ }
142
142
  .lib-xplat-select-content .select-item {
143
143
  padding: var(--spacing-space-2) var(--spacing-space-3);
144
144
  font-size: var(--semantic-typo-label-1-m-size);
@@ -1192,7 +1192,7 @@ var SelectRoot = (props) => {
1192
1192
  mounted && /* @__PURE__ */ jsx297(Portal_default, { children: /* @__PURE__ */ jsx297(
1193
1193
  "div",
1194
1194
  {
1195
- className: clsx_default("lib-xplat-select-content", position.direction, stateClass),
1195
+ className: clsx_default("lib-xplat-select-content", size, position.direction, stateClass),
1196
1196
  ref: contentRef,
1197
1197
  style: { ...position.position, width: triggerRef.current?.offsetWidth },
1198
1198
  role: "listbox",
@@ -27,14 +27,14 @@
27
27
  display: flex;
28
28
  align-items: center;
29
29
  justify-content: center;
30
- font-size: 13px;
30
+ font-size: var(--semantic-typo-caption-1-r-size);
31
31
  font-weight: 600;
32
32
  flex-shrink: 0;
33
33
  z-index: 1;
34
34
  transition: background-color 0.2s, color 0.2s;
35
35
  }
36
36
  .lib-xplat-steps .step-circle svg {
37
- font-size: 16px;
37
+ font-size: var(--semantic-typo-label-1-m-size);
38
38
  }
39
39
  .lib-xplat-steps .step-content {
40
40
  display: flex;
@@ -44,12 +44,12 @@
44
44
  text-align: center;
45
45
  }
46
46
  .lib-xplat-steps .step-title {
47
- font-size: 13px;
47
+ font-size: var(--semantic-typo-caption-1-r-size);
48
48
  font-weight: 500;
49
49
  color: var(--semantic-text-strong);
50
50
  }
51
51
  .lib-xplat-steps .step-description {
52
- font-size: 12px;
52
+ font-size: var(--semantic-typo-caption-2-r-size);
53
53
  color: var(--semantic-text-muted);
54
54
  margin-top: 2px;
55
55
  }