@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.
Files changed (36) 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 +5 -5
  11. package/dist/components/CheckBox/index.css +8 -2
  12. package/dist/components/Chip/index.css +3 -3
  13. package/dist/components/DatePicker/index.css +7 -7
  14. package/dist/components/Drawer/index.css +2 -2
  15. package/dist/components/Dropdown/index.css +1 -1
  16. package/dist/components/Editor/index.css +9 -9
  17. package/dist/components/EmptyState/index.css +3 -3
  18. package/dist/components/FileUpload/index.css +3 -3
  19. package/dist/components/HtmlTypeWriter/index.css +3 -3
  20. package/dist/components/IconButton/index.css +3 -3
  21. package/dist/components/ImageSelector/index.css +2 -2
  22. package/dist/components/Input/index.css +1 -1
  23. package/dist/components/Pagination/index.css +9 -9
  24. package/dist/components/Progress/index.css +1 -1
  25. package/dist/components/Radio/index.css +8 -2
  26. package/dist/components/Select/index.css +3 -2
  27. package/dist/components/Steps/index.css +4 -4
  28. package/dist/components/Tab/index.css +4 -4
  29. package/dist/components/Table/index.css +3 -3
  30. package/dist/components/Tag/index.css +6 -6
  31. package/dist/components/Toast/index.css +3 -3
  32. package/dist/components/Tooltip/index.css +4 -4
  33. package/dist/components/Video/index.css +4 -4
  34. package/dist/components/index.css +114 -101
  35. package/dist/index.css +114 -101
  36. package/package.json +1 -1
@@ -1642,7 +1642,7 @@
1642
1642
  background: none;
1643
1643
  border: none;
1644
1644
  cursor: pointer;
1645
- font-size: 14px;
1645
+ font-size: var(--semantic-typo-label-2-m-size);
1646
1646
  font-weight: 500;
1647
1647
  color: var(--semantic-text-strong);
1648
1648
  text-align: left;
@@ -1668,7 +1668,7 @@
1668
1668
  }
1669
1669
  .lib-xplat-accordion .accordion-content {
1670
1670
  padding: 0 var(--spacing-space-4) 14px;
1671
- font-size: 14px;
1671
+ font-size: var(--semantic-typo-label-2-m-size);
1672
1672
  color: var(--semantic-text-subtle);
1673
1673
  line-height: 1.6;
1674
1674
  }
@@ -1684,8 +1684,8 @@
1684
1684
  justify-content: space-between;
1685
1685
  padding: var(--spacing-space-3) var(--spacing-space-4);
1686
1686
  border-radius: var(--spacing-radius-md);
1687
- font-size: 14px;
1688
- line-height: 1.5;
1687
+ font-size: var(--semantic-typo-label-2-m-size);
1688
+ line-height: var(--semantic-typo-label-2-m-lh);
1689
1689
  border: 1px solid;
1690
1690
  }
1691
1691
  .lib-xplat-alert .content {
@@ -1695,7 +1695,7 @@
1695
1695
  background: none;
1696
1696
  border: none;
1697
1697
  cursor: pointer;
1698
- font-size: 18px;
1698
+ font-size: var(--semantic-typo-body-1-m-size);
1699
1699
  line-height: 1;
1700
1700
  margin-left: var(--spacing-space-2);
1701
1701
  padding: 0;
@@ -1751,17 +1751,17 @@
1751
1751
  .lib-xplat-avatar.sm {
1752
1752
  width: var(--spacing-control-height-sm);
1753
1753
  height: var(--spacing-control-height-sm);
1754
- font-size: 11px;
1754
+ font-size: var(--semantic-typo-caption-2-r-size);
1755
1755
  }
1756
1756
  .lib-xplat-avatar.md {
1757
1757
  width: var(--spacing-control-height-md);
1758
1758
  height: var(--spacing-control-height-md);
1759
- font-size: 14px;
1759
+ font-size: var(--semantic-typo-label-2-m-size);
1760
1760
  }
1761
1761
  .lib-xplat-avatar.lg {
1762
1762
  width: var(--spacing-control-height-lg);
1763
1763
  height: var(--spacing-control-height-lg);
1764
- font-size: 18px;
1764
+ font-size: var(--semantic-typo-body-1-m-size);
1765
1765
  }
1766
1766
  .lib-xplat-avatar img {
1767
1767
  width: 100%;
@@ -1823,7 +1823,7 @@
1823
1823
  .lib-xplat-badge.sm .badge-indicator {
1824
1824
  min-width: var(--spacing-space-4);
1825
1825
  height: var(--spacing-space-4);
1826
- font-size: 9px;
1826
+ font-size: var(--semantic-typo-caption-2-r-size);
1827
1827
  padding: 0 var(--spacing-space-1);
1828
1828
  }
1829
1829
  .lib-xplat-badge.sm .badge-indicator.dot {
@@ -1833,7 +1833,7 @@
1833
1833
  .lib-xplat-badge.lg .badge-indicator {
1834
1834
  min-width: var(--spacing-space-6);
1835
1835
  height: var(--spacing-space-6);
1836
- font-size: 13px;
1836
+ font-size: var(--semantic-typo-caption-1-r-size);
1837
1837
  padding: 0 var(--spacing-space-2);
1838
1838
  }
1839
1839
  .lib-xplat-badge.lg .badge-indicator.dot {
@@ -1850,7 +1850,7 @@
1850
1850
  justify-content: center;
1851
1851
  border-radius: var(--spacing-radius-full);
1852
1852
  color: var(--semantic-text-inverse);
1853
- font-size: 11px;
1853
+ font-size: var(--semantic-typo-caption-2-r-size);
1854
1854
  font-weight: 600;
1855
1855
  line-height: 1;
1856
1856
  min-width: var(--spacing-space-4);
@@ -1908,7 +1908,7 @@
1908
1908
  }
1909
1909
  .lib-xplat-box > .box-title {
1910
1910
  font-weight: 600;
1911
- font-size: 14px;
1911
+ font-size: var(--semantic-typo-label-2-m-size);
1912
1912
  color: var(--semantic-text-strong);
1913
1913
  padding: var(--spacing-space-3) var(--spacing-space-4);
1914
1914
  border-bottom: 1px solid var(--semantic-border-subtle);
@@ -1953,7 +1953,7 @@
1953
1953
  display: flex;
1954
1954
  align-items: center;
1955
1955
  gap: var(--spacing-space-1);
1956
- font-size: 14px;
1956
+ font-size: var(--semantic-typo-label-2-m-size);
1957
1957
  }
1958
1958
  .lib-xplat-breadcrumb .link {
1959
1959
  color: var(--semantic-text-muted);
@@ -2122,7 +2122,7 @@
2122
2122
  background-color: var(--semantic-surface-neutral-disabled);
2123
2123
  }
2124
2124
  .lib-xplat-calendar .calendar-nav svg {
2125
- font-size: 16px;
2125
+ font-size: var(--semantic-typo-label-1-m-size);
2126
2126
  }
2127
2127
  .lib-xplat-calendar .calendar-today-btn {
2128
2128
  margin-left: auto;
@@ -2229,7 +2229,7 @@
2229
2229
  cursor: pointer;
2230
2230
  }
2231
2231
  .lib-xplat-calendar .calendar-event-more {
2232
- font-size: 9px;
2232
+ font-size: var(--semantic-typo-caption-2-r-size);
2233
2233
  color: var(--semantic-text-muted);
2234
2234
  line-height: 1;
2235
2235
  }
@@ -2309,7 +2309,7 @@
2309
2309
  .lib-xplat-card-tab.sm .card-tab-trigger {
2310
2310
  --tab-py: var(--spacing-space-1);
2311
2311
  padding: var(--spacing-space-1) var(--spacing-space-3);
2312
- font-size: 13px;
2312
+ font-size: var(--semantic-typo-caption-1-r-size);
2313
2313
  }
2314
2314
  .lib-xplat-card-tab.sm .card-tab-body {
2315
2315
  padding: var(--spacing-space-4);
@@ -2320,7 +2320,7 @@
2320
2320
  .lib-xplat-card-tab.md .card-tab-trigger {
2321
2321
  --tab-py: 6px;
2322
2322
  padding: 6px var(--spacing-space-4);
2323
- font-size: 14px;
2323
+ font-size: var(--semantic-typo-label-2-m-size);
2324
2324
  }
2325
2325
  .lib-xplat-card-tab.md .card-tab-body {
2326
2326
  padding: var(--spacing-space-5);
@@ -2331,7 +2331,7 @@
2331
2331
  .lib-xplat-card-tab.lg .card-tab-trigger {
2332
2332
  --tab-py: var(--spacing-space-2);
2333
2333
  padding: var(--spacing-space-2) var(--spacing-space-5);
2334
- font-size: 16px;
2334
+ font-size: var(--semantic-typo-label-1-m-size);
2335
2335
  }
2336
2336
  .lib-xplat-card-tab.lg .card-tab-body {
2337
2337
  padding: var(--spacing-space-6);
@@ -2353,13 +2353,13 @@
2353
2353
  animation: tooltip-show 120ms ease-out;
2354
2354
  }
2355
2355
  .lib-xplat-tooltip .tooltip-title {
2356
- font-size: 13px;
2357
- line-height: 18px;
2356
+ font-size: var(--semantic-typo-caption-1-r-size);
2357
+ line-height: var(--semantic-typo-caption-1-r-lh);
2358
2358
  font-weight: 400;
2359
2359
  }
2360
2360
  .lib-xplat-tooltip .tooltip-desc {
2361
- font-size: 12px;
2362
- line-height: 18px;
2361
+ font-size: var(--semantic-typo-caption-2-r-size);
2362
+ line-height: var(--semantic-typo-caption-2-r-lh);
2363
2363
  font-weight: 400;
2364
2364
  }
2365
2365
  .lib-xplat-tooltip.dark {
@@ -2409,11 +2409,11 @@
2409
2409
  stroke-width: 1;
2410
2410
  }
2411
2411
  .lib-xplat-chart .chart-axis-label {
2412
- font-size: 10px;
2412
+ font-size: var(--semantic-typo-caption-2-r-size);
2413
2413
  fill: var(--semantic-text-muted);
2414
2414
  }
2415
2415
  .lib-xplat-chart .chart-pie-label {
2416
- font-size: 12px;
2416
+ font-size: var(--semantic-typo-caption-2-r-size);
2417
2417
  font-weight: 600;
2418
2418
  fill: var(--semantic-text-inverse);
2419
2419
  pointer-events: none;
@@ -2477,7 +2477,7 @@
2477
2477
  transition: cx 0.05s, cy 0.05s;
2478
2478
  }
2479
2479
  .lib-xplat-chart .chart-crosshair-label {
2480
- font-size: 11px;
2480
+ font-size: var(--semantic-typo-caption-2-r-size);
2481
2481
  font-weight: 500;
2482
2482
  color: var(--semantic-text-strong);
2483
2483
  text-align: center;
@@ -2523,11 +2523,11 @@
2523
2523
  flex-direction: column;
2524
2524
  }
2525
2525
  .lib-xplat-chart .chart-legend-label {
2526
- font-size: 12px;
2526
+ font-size: var(--semantic-typo-caption-2-r-size);
2527
2527
  color: var(--semantic-text-muted);
2528
2528
  }
2529
2529
  .lib-xplat-chart .chart-legend-value {
2530
- font-size: 14px;
2530
+ font-size: var(--semantic-typo-label-2-m-size);
2531
2531
  font-weight: 600;
2532
2532
  color: var(--semantic-text-strong);
2533
2533
  }
@@ -2571,17 +2571,17 @@
2571
2571
  .lib-xplat-icon-button.sm {
2572
2572
  width: var(--spacing-control-height-sm);
2573
2573
  height: var(--spacing-control-height-sm);
2574
- font-size: 14px;
2574
+ font-size: var(--semantic-typo-label-2-m-size);
2575
2575
  }
2576
2576
  .lib-xplat-icon-button.md {
2577
2577
  width: var(--spacing-control-height-md);
2578
2578
  height: var(--spacing-control-height-md);
2579
- font-size: 18px;
2579
+ font-size: var(--semantic-typo-body-1-m-size);
2580
2580
  }
2581
2581
  .lib-xplat-icon-button.lg {
2582
2582
  width: var(--spacing-control-height-lg);
2583
2583
  height: var(--spacing-control-height-lg);
2584
- font-size: 22px;
2584
+ font-size: var(--semantic-typo-heading-1-m-size);
2585
2585
  }
2586
2586
  .lib-xplat-icon-button:disabled {
2587
2587
  cursor: not-allowed;
@@ -2668,8 +2668,8 @@
2668
2668
  max-height: 200px;
2669
2669
  overflow-y: auto;
2670
2670
  padding: 4px 0;
2671
- font-size: 16px;
2672
- line-height: 24px;
2671
+ font-size: var(--semantic-typo-label-1-m-size);
2672
+ line-height: var(--semantic-typo-label-1-m-lh);
2673
2673
  color: var(--semantic-text-strong);
2674
2674
  background: transparent;
2675
2675
  }
@@ -2707,10 +2707,16 @@
2707
2707
  height: var(--spacing-space-6);
2708
2708
  }
2709
2709
  .lib-xplat-checkbox.sm > .label {
2710
- font-size: 14px;
2710
+ font-size: var(--semantic-typo-label-2-m-size);
2711
+ line-height: var(--semantic-typo-label-2-m-lh);
2712
+ }
2713
+ .lib-xplat-checkbox.md > .label {
2714
+ font-size: var(--semantic-typo-label-1-m-size);
2715
+ line-height: var(--semantic-typo-label-1-m-lh);
2711
2716
  }
2712
2717
  .lib-xplat-checkbox.lg > .label {
2713
- font-size: 18px;
2718
+ font-size: var(--semantic-typo-body-1-m-size);
2719
+ line-height: var(--semantic-typo-body-1-m-lh);
2714
2720
  }
2715
2721
  .lib-xplat-checkbox > .checkbox {
2716
2722
  display: flex;
@@ -2790,15 +2796,15 @@
2790
2796
  }
2791
2797
  .lib-xplat-chip.sm {
2792
2798
  padding: 1px var(--spacing-space-2);
2793
- font-size: 12px;
2799
+ font-size: var(--semantic-typo-caption-2-r-size);
2794
2800
  }
2795
2801
  .lib-xplat-chip.md {
2796
2802
  padding: 2px var(--spacing-space-3);
2797
- font-size: 14px;
2803
+ font-size: var(--semantic-typo-label-2-m-size);
2798
2804
  }
2799
2805
  .lib-xplat-chip.lg {
2800
2806
  padding: var(--spacing-space-1) var(--spacing-space-4);
2801
- font-size: 16px;
2807
+ font-size: var(--semantic-typo-label-1-m-size);
2802
2808
  }
2803
2809
  .lib-xplat-chip.primary {
2804
2810
  color: var(--semantic-text-inverse);
@@ -2929,7 +2935,7 @@
2929
2935
  color: var(--semantic-text-error);
2930
2936
  }
2931
2937
  .lib-xplat-input-wrap .lib-xplat-input-validation-wrap > .lib-xplat-input-validation > .icon {
2932
- font-size: 16px;
2938
+ font-size: var(--semantic-typo-label-1-m-size);
2933
2939
  }
2934
2940
 
2935
2941
  /* src/components/Modal/modal.scss */
@@ -3052,7 +3058,7 @@
3052
3058
  background-color: var(--semantic-surface-neutral-disabled);
3053
3059
  }
3054
3060
  .lib-xplat-datepicker .datepicker-nav svg {
3055
- font-size: 16px;
3061
+ font-size: var(--semantic-typo-label-1-m-size);
3056
3062
  }
3057
3063
  .lib-xplat-datepicker .datepicker-weekdays {
3058
3064
  display: grid;
@@ -3164,7 +3170,7 @@
3164
3170
  .lib-xplat-datepicker .datepicker-range-label {
3165
3171
  display: block;
3166
3172
  text-align: center;
3167
- font-size: 12px;
3173
+ font-size: var(--semantic-typo-caption-2-r-size);
3168
3174
  font-weight: 500;
3169
3175
  color: var(--semantic-text-muted);
3170
3176
  margin-bottom: var(--spacing-space-2);
@@ -3245,15 +3251,15 @@
3245
3251
  }
3246
3252
  .lib-xplat-tab.sm {
3247
3253
  height: var(--spacing-control-height-sm);
3248
- font-size: 14px;
3254
+ font-size: var(--semantic-typo-label-2-m-size);
3249
3255
  }
3250
3256
  .lib-xplat-tab.md {
3251
3257
  height: var(--spacing-control-height-md);
3252
- font-size: 16px;
3258
+ font-size: var(--semantic-typo-label-1-m-size);
3253
3259
  }
3254
3260
  .lib-xplat-tab.lg {
3255
3261
  height: var(--spacing-control-height-lg);
3256
- font-size: 18px;
3262
+ font-size: var(--semantic-typo-body-1-m-size);
3257
3263
  }
3258
3264
  .lib-xplat-tab.type-default {
3259
3265
  width: 100%;
@@ -3291,7 +3297,7 @@
3291
3297
  justify-content: center;
3292
3298
  white-space: nowrap;
3293
3299
  padding: 0 var(--spacing-space-3);
3294
- font-size: 16px;
3300
+ font-size: var(--semantic-typo-label-1-m-size);
3295
3301
  font-weight: 500;
3296
3302
  height: 100%;
3297
3303
  background: none;
@@ -3390,7 +3396,7 @@
3390
3396
  border-bottom: 1px solid var(--semantic-border-default);
3391
3397
  }
3392
3398
  .lib-xplat-drawer .drawer-title {
3393
- font-size: 16px;
3399
+ font-size: var(--semantic-typo-label-1-m-size);
3394
3400
  font-weight: 600;
3395
3401
  color: var(--semantic-text-strong);
3396
3402
  }
@@ -3398,7 +3404,7 @@
3398
3404
  background: none;
3399
3405
  border: none;
3400
3406
  cursor: pointer;
3401
- font-size: 22px;
3407
+ font-size: var(--semantic-typo-heading-1-m-size);
3402
3408
  line-height: 1;
3403
3409
  color: var(--semantic-icon-strong);
3404
3410
  padding: 0;
@@ -3449,7 +3455,7 @@
3449
3455
  padding: var(--spacing-space-2) 14px;
3450
3456
  border: none;
3451
3457
  background: none;
3452
- font-size: 14px;
3458
+ font-size: var(--semantic-typo-label-2-m-size);
3453
3459
  color: var(--semantic-text-strong);
3454
3460
  cursor: pointer;
3455
3461
  text-align: left;
@@ -3554,13 +3560,13 @@
3554
3560
  margin-top: 0;
3555
3561
  }
3556
3562
  .lib-xplat-editor__editable h1 {
3557
- font-size: 28px;
3563
+ font-size: var(--semantic-typo-title-1-m-size);
3558
3564
  }
3559
3565
  .lib-xplat-editor__editable h2 {
3560
- font-size: 22px;
3566
+ font-size: var(--semantic-typo-heading-1-m-size);
3561
3567
  }
3562
3568
  .lib-xplat-editor__editable h3 {
3563
- font-size: 18px;
3569
+ font-size: var(--semantic-typo-body-1-m-size);
3564
3570
  }
3565
3571
  .lib-xplat-editor__editable p {
3566
3572
  margin: var(--spacing-space-2) 0;
@@ -3600,7 +3606,7 @@
3600
3606
  "SF Mono",
3601
3607
  Menlo,
3602
3608
  monospace;
3603
- font-size: 13px;
3609
+ font-size: var(--semantic-typo-caption-1-r-size);
3604
3610
  line-height: 1.5;
3605
3611
  overflow-x: auto;
3606
3612
  white-space: pre-wrap;
@@ -3614,7 +3620,7 @@
3614
3620
  "SF Mono",
3615
3621
  Menlo,
3616
3622
  monospace;
3617
- font-size: 13px;
3623
+ font-size: var(--semantic-typo-caption-1-r-size);
3618
3624
  color: var(--semantic-text-strong);
3619
3625
  }
3620
3626
  .lib-xplat-editor__editable a {
@@ -3656,7 +3662,7 @@
3656
3662
  background: transparent;
3657
3663
  color: var(--semantic-text-strong);
3658
3664
  font-family: inherit;
3659
- font-size: 13px;
3665
+ font-size: var(--semantic-typo-caption-1-r-size);
3660
3666
  text-align: left;
3661
3667
  cursor: pointer;
3662
3668
  }
@@ -3670,7 +3676,7 @@
3670
3676
  }
3671
3677
  .lib-xplat-editor__slash-item .hint {
3672
3678
  color: var(--semantic-text-muted);
3673
- font-size: 12px;
3679
+ font-size: var(--semantic-typo-caption-2-r-size);
3674
3680
  }
3675
3681
  .lib-xplat-editor__link-popover {
3676
3682
  position: absolute;
@@ -3692,7 +3698,7 @@
3692
3698
  background: var(--semantic-surface-neutral-default);
3693
3699
  color: var(--semantic-text-strong);
3694
3700
  font-family: inherit;
3695
- font-size: 13px;
3701
+ font-size: var(--semantic-typo-caption-1-r-size);
3696
3702
  outline: none;
3697
3703
  }
3698
3704
  .lib-xplat-editor__link-popover input:focus {
@@ -3705,7 +3711,7 @@
3705
3711
  background: var(--semantic-surface-neutral-default);
3706
3712
  color: var(--semantic-text-strong);
3707
3713
  font-family: inherit;
3708
- font-size: 12px;
3714
+ font-size: var(--semantic-typo-caption-2-r-size);
3709
3715
  cursor: pointer;
3710
3716
  }
3711
3717
  .lib-xplat-editor__link-popover button:hover {
@@ -3733,16 +3739,16 @@
3733
3739
  margin-bottom: var(--spacing-space-4);
3734
3740
  }
3735
3741
  .lib-xplat-empty-state .empty-icon svg {
3736
- font-size: 48px;
3742
+ font-size: var(--semantic-typo-display-1-b-size);
3737
3743
  }
3738
3744
  .lib-xplat-empty-state .empty-title {
3739
- font-size: 15px;
3745
+ font-size: var(--semantic-typo-label-2-m-size);
3740
3746
  font-weight: 500;
3741
3747
  color: var(--semantic-text-subtle);
3742
3748
  margin: 0;
3743
3749
  }
3744
3750
  .lib-xplat-empty-state .empty-description {
3745
- font-size: 13px;
3751
+ font-size: var(--semantic-typo-caption-1-r-size);
3746
3752
  color: var(--semantic-text-muted);
3747
3753
  margin: var(--spacing-space-2) 0 0;
3748
3754
  max-width: 320px;
@@ -3782,16 +3788,16 @@
3782
3788
  margin-bottom: var(--spacing-space-3);
3783
3789
  }
3784
3790
  .lib-xplat-file-upload .upload-icon svg {
3785
- font-size: 32px;
3791
+ font-size: var(--semantic-typo-display-2-sb-size);
3786
3792
  }
3787
3793
  .lib-xplat-file-upload .upload-label {
3788
- font-size: 14px;
3794
+ font-size: var(--semantic-typo-label-2-m-size);
3789
3795
  font-weight: 500;
3790
3796
  color: var(--semantic-text-subtle);
3791
3797
  margin: 0;
3792
3798
  }
3793
3799
  .lib-xplat-file-upload .upload-description {
3794
- font-size: 12px;
3800
+ font-size: var(--semantic-typo-caption-2-r-size);
3795
3801
  color: var(--semantic-text-muted);
3796
3802
  margin: var(--spacing-space-1) 0 0;
3797
3803
  }
@@ -3799,7 +3805,7 @@
3799
3805
  /* src/components/HtmlTypeWriter/htmlTypeWriter.scss */
3800
3806
  .lib-xplat-htmlTypewriter {
3801
3807
  width: 100%;
3802
- font-size: 16px;
3808
+ font-size: var(--semantic-typo-label-1-m-size);
3803
3809
  }
3804
3810
  .lib-xplat-htmlTypewriter h1,
3805
3811
  .lib-xplat-htmlTypewriter h2,
@@ -3810,10 +3816,10 @@
3810
3816
  font-weight: 600;
3811
3817
  }
3812
3818
  .lib-xplat-htmlTypewriter h3 {
3813
- font-size: 28px;
3819
+ font-size: var(--semantic-typo-title-1-m-size);
3814
3820
  }
3815
3821
  .lib-xplat-htmlTypewriter h4 {
3816
- font-size: 20px;
3822
+ font-size: var(--semantic-typo-heading-1-m-size);
3817
3823
  }
3818
3824
  .lib-xplat-htmlTypewriter hr {
3819
3825
  color: var(--semantic-border-default);
@@ -3874,7 +3880,7 @@
3874
3880
  }
3875
3881
  .lib-xplat-imageselector > .content .skeleton > .label {
3876
3882
  margin-top: var(--spacing-space-1);
3877
- font-size: 14px;
3883
+ font-size: var(--semantic-typo-label-2-m-size);
3878
3884
  color: var(--semantic-text-muted);
3879
3885
  }
3880
3886
  .lib-xplat-imageselector > .content .skeleton:hover > .icon-wrapper {
@@ -3890,7 +3896,7 @@
3890
3896
  transform: translate(-50%, -50%);
3891
3897
  display: flex;
3892
3898
  gap: 0.5em;
3893
- font-size: 24px;
3899
+ font-size: var(--semantic-typo-title-2-m-size);
3894
3900
  background-color: var(--semantic-surface-neutral-strong);
3895
3901
  padding: var(--spacing-space-1) var(--spacing-space-3);
3896
3902
  align-items: center;
@@ -3917,28 +3923,28 @@
3917
3923
  .lib-xplat-pagination.sm .dots {
3918
3924
  width: var(--spacing-control-height-xs);
3919
3925
  height: var(--spacing-control-height-xs);
3920
- font-size: 12px;
3926
+ font-size: var(--semantic-typo-caption-2-r-size);
3921
3927
  }
3922
3928
  .lib-xplat-pagination.sm .page-btn {
3923
3929
  min-width: var(--spacing-control-height-xs);
3924
3930
  height: var(--spacing-control-height-xs);
3925
- font-size: 12px;
3931
+ font-size: var(--semantic-typo-caption-2-r-size);
3926
3932
  }
3927
3933
  .lib-xplat-pagination.sm .page-btn svg {
3928
- font-size: 14px;
3934
+ font-size: var(--semantic-typo-label-2-m-size);
3929
3935
  }
3930
3936
  .lib-xplat-pagination.lg .dots {
3931
3937
  width: var(--spacing-control-height-md);
3932
3938
  height: var(--spacing-control-height-md);
3933
- font-size: 16px;
3939
+ font-size: var(--semantic-typo-label-1-m-size);
3934
3940
  }
3935
3941
  .lib-xplat-pagination.lg .page-btn {
3936
3942
  min-width: var(--spacing-control-height-md);
3937
3943
  height: var(--spacing-control-height-md);
3938
- font-size: 16px;
3944
+ font-size: var(--semantic-typo-label-1-m-size);
3939
3945
  }
3940
3946
  .lib-xplat-pagination.lg .page-btn svg {
3941
- font-size: 20px;
3947
+ font-size: var(--semantic-typo-heading-1-m-size);
3942
3948
  }
3943
3949
  .lib-xplat-pagination .dots {
3944
3950
  display: flex;
@@ -3946,7 +3952,7 @@
3946
3952
  justify-content: center;
3947
3953
  width: var(--spacing-control-height-sm);
3948
3954
  height: var(--spacing-control-height-sm);
3949
- font-size: 14px;
3955
+ font-size: var(--semantic-typo-label-2-m-size);
3950
3956
  color: var(--semantic-text-muted);
3951
3957
  user-select: none;
3952
3958
  }
@@ -3960,7 +3966,7 @@
3960
3966
  border: none;
3961
3967
  border-radius: var(--spacing-radius-md);
3962
3968
  background: none;
3963
- font-size: 14px;
3969
+ font-size: var(--semantic-typo-label-2-m-size);
3964
3970
  cursor: pointer;
3965
3971
  color: var(--semantic-text-subtle);
3966
3972
  transition: background-color 0.2s, color 0.2s;
@@ -3977,7 +3983,7 @@
3977
3983
  font-weight: 600;
3978
3984
  }
3979
3985
  .lib-xplat-pagination .page-btn svg {
3980
- font-size: 16px;
3986
+ font-size: var(--semantic-typo-label-1-m-size);
3981
3987
  }
3982
3988
  .lib-xplat-pagination.brand .page-btn.active {
3983
3989
  background-color: var(--semantic-surface-brand-default);
@@ -4068,7 +4074,7 @@
4068
4074
  background-color: var(--semantic-surface-info-default);
4069
4075
  }
4070
4076
  .lib-xplat-progress .label {
4071
- font-size: 12px;
4077
+ font-size: var(--semantic-typo-caption-2-r-size);
4072
4078
  font-weight: 500;
4073
4079
  color: var(--semantic-text-subtle);
4074
4080
  min-width: 36px;
@@ -4096,12 +4102,17 @@
4096
4102
  height: var(--spacing-space-2);
4097
4103
  }
4098
4104
  .lib-xplat-radio.sm > span {
4099
- font-size: 14px;
4105
+ font-size: var(--semantic-typo-label-2-m-size);
4106
+ line-height: var(--semantic-typo-label-2-m-lh);
4100
4107
  }
4101
4108
  .lib-xplat-radio.md > .circle {
4102
4109
  width: var(--spacing-space-5);
4103
4110
  height: var(--spacing-space-5);
4104
4111
  }
4112
+ .lib-xplat-radio.md > span {
4113
+ font-size: var(--semantic-typo-label-1-m-size);
4114
+ line-height: var(--semantic-typo-label-1-m-lh);
4115
+ }
4105
4116
  .lib-xplat-radio.lg > .circle {
4106
4117
  width: var(--spacing-space-6);
4107
4118
  height: var(--spacing-space-6);
@@ -4111,7 +4122,8 @@
4111
4122
  height: var(--spacing-space-4);
4112
4123
  }
4113
4124
  .lib-xplat-radio.lg > span {
4114
- font-size: 18px;
4125
+ font-size: var(--semantic-typo-body-1-m-size);
4126
+ line-height: var(--semantic-typo-body-1-m-lh);
4115
4127
  }
4116
4128
  .lib-xplat-radio > .circle {
4117
4129
  border: 2px solid var(--semantic-border-strong);
@@ -4276,7 +4288,7 @@
4276
4288
  transform: rotate(180deg);
4277
4289
  }
4278
4290
  .lib-xplat-select .select-trigger .select-trigger-icon svg {
4279
- font-size: 20px;
4291
+ font-size: var(--semantic-typo-body-1-m-size);
4280
4292
  }
4281
4293
  .lib-xplat-select-content {
4282
4294
  position: fixed;
@@ -4315,7 +4327,8 @@
4315
4327
  }
4316
4328
  .lib-xplat-select-content .select-item {
4317
4329
  padding: var(--spacing-space-2) var(--spacing-space-3);
4318
- font-size: 14px;
4330
+ font-size: var(--semantic-typo-label-1-m-size);
4331
+ line-height: var(--semantic-typo-label-1-m-lh);
4319
4332
  cursor: pointer;
4320
4333
  transition: background-color 0.15s ease;
4321
4334
  outline: none;
@@ -4447,14 +4460,14 @@
4447
4460
  display: flex;
4448
4461
  align-items: center;
4449
4462
  justify-content: center;
4450
- font-size: 13px;
4463
+ font-size: var(--semantic-typo-caption-1-r-size);
4451
4464
  font-weight: 600;
4452
4465
  flex-shrink: 0;
4453
4466
  z-index: 1;
4454
4467
  transition: background-color 0.2s, color 0.2s;
4455
4468
  }
4456
4469
  .lib-xplat-steps .step-circle svg {
4457
- font-size: 16px;
4470
+ font-size: var(--semantic-typo-label-1-m-size);
4458
4471
  }
4459
4472
  .lib-xplat-steps .step-content {
4460
4473
  display: flex;
@@ -4464,12 +4477,12 @@
4464
4477
  text-align: center;
4465
4478
  }
4466
4479
  .lib-xplat-steps .step-title {
4467
- font-size: 13px;
4480
+ font-size: var(--semantic-typo-caption-1-r-size);
4468
4481
  font-weight: 500;
4469
4482
  color: var(--semantic-text-strong);
4470
4483
  }
4471
4484
  .lib-xplat-steps .step-description {
4472
- font-size: 12px;
4485
+ font-size: var(--semantic-typo-caption-2-r-size);
4473
4486
  color: var(--semantic-text-muted);
4474
4487
  margin-top: 2px;
4475
4488
  }
@@ -4733,21 +4746,21 @@
4733
4746
  .lib-xplat-table-wrapper.sm > .lib-xplat-table > tbody > tr > th,
4734
4747
  .lib-xplat-table-wrapper.sm > .lib-xplat-table > tbody > tr > td {
4735
4748
  padding: var(--spacing-space-1) var(--spacing-space-2);
4736
- font-size: 12px;
4749
+ font-size: var(--semantic-typo-caption-2-r-size);
4737
4750
  }
4738
4751
  .lib-xplat-table-wrapper.md > .lib-xplat-table > thead > tr > th,
4739
4752
  .lib-xplat-table-wrapper.md > .lib-xplat-table > thead > tr > td,
4740
4753
  .lib-xplat-table-wrapper.md > .lib-xplat-table > tbody > tr > th,
4741
4754
  .lib-xplat-table-wrapper.md > .lib-xplat-table > tbody > tr > td {
4742
4755
  padding: var(--spacing-space-2) var(--spacing-space-3);
4743
- font-size: 14px;
4756
+ font-size: var(--semantic-typo-label-2-m-size);
4744
4757
  }
4745
4758
  .lib-xplat-table-wrapper.lg > .lib-xplat-table > thead > tr > th,
4746
4759
  .lib-xplat-table-wrapper.lg > .lib-xplat-table > thead > tr > td,
4747
4760
  .lib-xplat-table-wrapper.lg > .lib-xplat-table > tbody > tr > th,
4748
4761
  .lib-xplat-table-wrapper.lg > .lib-xplat-table > tbody > tr > td {
4749
4762
  padding: var(--spacing-space-3) var(--spacing-space-4);
4750
- font-size: 16px;
4763
+ font-size: var(--semantic-typo-label-1-m-size);
4751
4764
  }
4752
4765
  .lib-xplat-table-wrapper > .lib-xplat-table {
4753
4766
  width: 100%;
@@ -5018,17 +5031,17 @@
5018
5031
  .lib-xplat-tag.sm {
5019
5032
  gap: var(--spacing-space-1);
5020
5033
  padding: 1px var(--spacing-space-2);
5021
- font-size: 11px;
5034
+ font-size: var(--semantic-typo-caption-2-r-size);
5022
5035
  }
5023
5036
  .lib-xplat-tag.md {
5024
5037
  gap: var(--spacing-space-1);
5025
5038
  padding: 2px var(--spacing-space-2);
5026
- font-size: 12px;
5039
+ font-size: var(--semantic-typo-caption-2-r-size);
5027
5040
  }
5028
5041
  .lib-xplat-tag.lg {
5029
5042
  gap: var(--spacing-space-1);
5030
5043
  padding: var(--spacing-space-1) var(--spacing-space-2);
5031
- font-size: 14px;
5044
+ font-size: var(--semantic-typo-label-2-m-size);
5032
5045
  }
5033
5046
  .lib-xplat-tag.neutral {
5034
5047
  color: var(--semantic-text-muted);
@@ -5098,13 +5111,13 @@
5098
5111
  opacity: 1;
5099
5112
  }
5100
5113
  .lib-xplat-tag.sm .tag-close svg {
5101
- font-size: 10px;
5114
+ font-size: var(--semantic-typo-caption-2-r-size);
5102
5115
  }
5103
5116
  .lib-xplat-tag.md .tag-close svg {
5104
- font-size: 12px;
5117
+ font-size: var(--semantic-typo-caption-2-r-size);
5105
5118
  }
5106
5119
  .lib-xplat-tag.lg .tag-close svg {
5107
- font-size: 14px;
5120
+ font-size: var(--semantic-typo-label-2-m-size);
5108
5121
  }
5109
5122
 
5110
5123
  /* src/components/TextArea/textArea.scss */
@@ -5211,8 +5224,8 @@
5211
5224
  gap: var(--spacing-space-2);
5212
5225
  padding: var(--spacing-space-3) var(--spacing-space-4);
5213
5226
  border-radius: var(--spacing-radius-md);
5214
- font-size: 14px;
5215
- line-height: 1.5;
5227
+ font-size: var(--semantic-typo-label-2-m-size);
5228
+ line-height: var(--semantic-typo-label-2-m-lh);
5216
5229
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
5217
5230
  pointer-events: auto;
5218
5231
  animation: lib-xplat-toast-enter 0.2s ease;
@@ -5231,7 +5244,7 @@
5231
5244
  background: none;
5232
5245
  border: none;
5233
5246
  cursor: pointer;
5234
- font-size: 18px;
5247
+ font-size: var(--semantic-typo-body-1-m-size);
5235
5248
  line-height: 1;
5236
5249
  padding: 0;
5237
5250
  opacity: 0.6;
@@ -5318,7 +5331,7 @@
5318
5331
  position: relative;
5319
5332
  z-index: 1;
5320
5333
  display: flex;
5321
- font-size: 64px;
5334
+ font-size: var(--semantic-typo-display-1-b-size);
5322
5335
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
5323
5336
  }
5324
5337
  .lib-xplat-video > .center-play.is-playing {
@@ -5389,7 +5402,7 @@
5389
5402
  .lib-xplat-video .rate-group .rate-btn {
5390
5403
  width: auto;
5391
5404
  padding: 0 var(--spacing-space-2);
5392
- font-size: 12px;
5405
+ font-size: var(--semantic-typo-caption-2-r-size);
5393
5406
  font-weight: 600;
5394
5407
  font-variant-numeric: tabular-nums;
5395
5408
  }
@@ -5413,7 +5426,7 @@
5413
5426
  text-align: left;
5414
5427
  cursor: pointer;
5415
5428
  border-radius: var(--spacing-radius-xs);
5416
- font-size: 12px;
5429
+ font-size: var(--semantic-typo-caption-2-r-size);
5417
5430
  font-variant-numeric: tabular-nums;
5418
5431
  }
5419
5432
  .lib-xplat-video .rate-group .rate-menu .rate-item:hover {
@@ -5424,7 +5437,7 @@
5424
5437
  font-weight: 600;
5425
5438
  }
5426
5439
  .lib-xplat-video .time {
5427
- font-size: 12px;
5440
+ font-size: var(--semantic-typo-caption-2-r-size);
5428
5441
  font-variant-numeric: tabular-nums;
5429
5442
  white-space: nowrap;
5430
5443
  }