@x-plat/design-system 0.5.54 → 0.5.58

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 (43) 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 +2 -2
  4. package/dist/components/Box/index.css +1 -1
  5. package/dist/components/Breadcrumb/index.css +1 -1
  6. package/dist/components/Button/index.css +6 -6
  7. package/dist/components/Calendar/index.css +1 -1
  8. package/dist/components/CardTab/index.css +2 -2
  9. package/dist/components/Chart/index.css +1 -1
  10. package/dist/components/ChatInput/index.css +4 -4
  11. package/dist/components/CheckBox/index.css +5 -5
  12. package/dist/components/Chip/index.css +2 -2
  13. package/dist/components/DatePicker/index.css +20 -18
  14. package/dist/components/Drawer/index.css +1 -1
  15. package/dist/components/Dropdown/index.css +1 -1
  16. package/dist/components/Editor/index.css +1 -1
  17. package/dist/components/EmptyState/index.css +1 -1
  18. package/dist/components/FileUpload/index.css +1 -1
  19. package/dist/components/HtmlTypeWriter/index.css +1 -1
  20. package/dist/components/IconButton/index.css +2 -2
  21. package/dist/components/ImageSelector/index.css +1 -1
  22. package/dist/components/Input/index.css +9 -7
  23. package/dist/components/Pagination/index.css +6 -6
  24. package/dist/components/Radio/index.css +6 -6
  25. package/dist/components/Select/index.cjs +8 -3
  26. package/dist/components/Select/index.css +29 -24
  27. package/dist/components/Select/index.js +8 -3
  28. package/dist/components/Steps/index.css +1 -1
  29. package/dist/components/Swiper/index.cjs +1 -0
  30. package/dist/components/Swiper/index.css +5 -0
  31. package/dist/components/Swiper/index.js +1 -0
  32. package/dist/components/Tab/index.css +4 -4
  33. package/dist/components/Table/index.css +2 -2
  34. package/dist/components/Tag/index.css +2 -2
  35. package/dist/components/TextArea/index.css +2 -2
  36. package/dist/components/Toast/index.css +3 -3
  37. package/dist/components/index.cjs +9 -3
  38. package/dist/components/index.css +107 -95
  39. package/dist/components/index.js +9 -3
  40. package/dist/index.cjs +9 -3
  41. package/dist/index.css +107 -95
  42. package/dist/index.js +9 -3
  43. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -9552,10 +9552,11 @@ var SelectItem = (props) => {
9552
9552
  ctx?.close();
9553
9553
  onClick?.();
9554
9554
  };
9555
+ const isSelected = value !== void 0 ? ctx?.selectedValue === value : ctx?.selectedLabel === children;
9555
9556
  return /* @__PURE__ */ (0, import_jsx_runtime334.jsx)(
9556
9557
  "div",
9557
9558
  {
9558
- className: clsx_default("select-item", disabled && "disabled"),
9559
+ className: clsx_default("select-item", disabled && "disabled", isSelected && "is-selected"),
9559
9560
  onClick: handleClick,
9560
9561
  role: "menuitem",
9561
9562
  tabIndex: disabled ? void 0 : 0,
@@ -9591,12 +9592,14 @@ var SelectRoot = (props) => {
9591
9592
  const isControlled = valueProp !== void 0;
9592
9593
  const [isOpen, setOpen] = import_react31.default.useState(false);
9593
9594
  const [uncontrolledLabel, setUncontrolledLabel] = import_react31.default.useState(null);
9595
+ const [uncontrolledValue, setUncontrolledValue] = import_react31.default.useState(void 0);
9594
9596
  const controlledLabel = import_react31.default.useMemo(() => {
9595
9597
  if (!isControlled) return null;
9596
9598
  const match = itemChildren.find((child) => child.props.value === valueProp);
9597
9599
  return match ? match.props.children : null;
9598
9600
  }, [isControlled, valueProp, itemChildren]);
9599
9601
  const selectedLabel = isControlled ? controlledLabel : uncontrolledLabel;
9602
+ const selectedValue = isControlled ? valueProp : uncontrolledValue;
9600
9603
  const triggerRef = import_react31.default.useRef(null);
9601
9604
  const contentRef = import_react31.default.useRef(null);
9602
9605
  const [mounted, setMounted] = import_react31.default.useState(false);
@@ -9623,6 +9626,7 @@ var SelectRoot = (props) => {
9623
9626
  (label, itemValue) => {
9624
9627
  if (!isControlled) {
9625
9628
  setUncontrolledLabel(label);
9629
+ setUncontrolledValue(itemValue);
9626
9630
  }
9627
9631
  onChange?.(itemValue, label);
9628
9632
  },
@@ -9635,12 +9639,13 @@ var SelectRoot = (props) => {
9635
9639
  visible,
9636
9640
  triggerRef,
9637
9641
  selectedLabel,
9642
+ selectedValue,
9638
9643
  setSelected,
9639
9644
  open,
9640
9645
  close,
9641
9646
  toggle
9642
9647
  }),
9643
- [isOpen, mounted, visible, selectedLabel, setSelected, open, close, toggle]
9648
+ [isOpen, mounted, visible, selectedLabel, selectedValue, setSelected, open, close, toggle]
9644
9649
  );
9645
9650
  const stateClass = visible ? "visible" : "exit";
9646
9651
  const handleTriggerClick = (e) => {
@@ -9708,7 +9713,7 @@ var SelectRoot = (props) => {
9708
9713
  mounted && /* @__PURE__ */ (0, import_jsx_runtime335.jsx)(Portal_default, { children: /* @__PURE__ */ (0, import_jsx_runtime335.jsx)(
9709
9714
  "div",
9710
9715
  {
9711
- className: clsx_default("lib-xplat-select-content", position.direction, stateClass),
9716
+ className: clsx_default("lib-xplat-select-content", size, position.direction, stateClass),
9712
9717
  ref: contentRef,
9713
9718
  style: { ...position.position, width: triggerRef.current?.offsetWidth },
9714
9719
  role: "listbox",
@@ -10070,6 +10075,7 @@ var Swiper = (props) => {
10070
10075
  className: "lib-xplat-swiper__viewport",
10071
10076
  onMouseDown: handleDragStart,
10072
10077
  onTouchStart: handleDragStart,
10078
+ onDragStart: (e) => e.preventDefault(),
10073
10079
  children: /* @__PURE__ */ (0, import_jsx_runtime339.jsx)(
10074
10080
  "div",
10075
10081
  {
package/dist/index.css CHANGED
@@ -1642,7 +1642,7 @@
1642
1642
  background: none;
1643
1643
  border: none;
1644
1644
  cursor: pointer;
1645
- font-size: var(--semantic-typo-label-2-m-size);
1645
+ font-size: var(--semantic-typo-caption-1-r-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: var(--semantic-typo-label-2-m-size);
1671
+ font-size: var(--semantic-typo-caption-1-r-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: var(--semantic-typo-label-2-m-size);
1688
- line-height: var(--semantic-typo-label-2-m-lh);
1687
+ font-size: var(--semantic-typo-caption-1-r-size);
1688
+ line-height: var(--semantic-typo-caption-1-r-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: var(--semantic-typo-body-1-m-size);
1698
+ font-size: var(--semantic-typo-label-1-m-size);
1699
1699
  line-height: 1;
1700
1700
  margin-left: var(--spacing-space-2);
1701
1701
  padding: 0;
@@ -1756,12 +1756,12 @@
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: var(--semantic-typo-label-2-m-size);
1759
+ font-size: var(--semantic-typo-caption-1-r-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: var(--semantic-typo-body-1-m-size);
1764
+ font-size: var(--semantic-typo-label-1-m-size);
1765
1765
  }
1766
1766
  .lib-xplat-avatar img {
1767
1767
  width: 100%;
@@ -1908,7 +1908,7 @@
1908
1908
  }
1909
1909
  .lib-xplat-box > .box-title {
1910
1910
  font-weight: 600;
1911
- font-size: var(--semantic-typo-label-2-m-size);
1911
+ font-size: var(--semantic-typo-caption-1-r-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: var(--semantic-typo-label-2-m-size);
1956
+ font-size: var(--semantic-typo-caption-1-r-size);
1957
1957
  }
1958
1958
  .lib-xplat-breadcrumb .link {
1959
1959
  color: var(--semantic-text-muted);
@@ -1994,20 +1994,20 @@
1994
1994
  .lib-xplat-button.sm {
1995
1995
  height: var(--spacing-control-height-sm);
1996
1996
  padding: 0 var(--spacing-space-3);
1997
- font-size: var(--semantic-typo-label-2-m-size);
1998
- line-height: var(--semantic-typo-label-2-m-lh);
1997
+ font-size: var(--semantic-typo-caption-1-r-size);
1998
+ line-height: var(--semantic-typo-caption-1-r-lh);
1999
1999
  }
2000
2000
  .lib-xplat-button.md {
2001
2001
  height: var(--spacing-control-height-md);
2002
2002
  padding: 0 var(--spacing-space-4);
2003
- font-size: var(--semantic-typo-label-1-m-size);
2004
- line-height: var(--semantic-typo-label-1-m-lh);
2003
+ font-size: var(--semantic-typo-label-2-m-size);
2004
+ line-height: var(--semantic-typo-label-2-m-lh);
2005
2005
  }
2006
2006
  .lib-xplat-button.lg {
2007
2007
  height: var(--spacing-control-height-lg);
2008
2008
  padding: 0 var(--spacing-space-6);
2009
- font-size: var(--semantic-typo-body-1-m-size);
2010
- line-height: var(--semantic-typo-body-1-m-lh);
2009
+ font-size: var(--semantic-typo-label-1-m-size);
2010
+ line-height: var(--semantic-typo-label-1-m-lh);
2011
2011
  }
2012
2012
  .lib-xplat-button:disabled {
2013
2013
  cursor: not-allowed;
@@ -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: var(--semantic-typo-label-1-m-size);
2125
+ font-size: var(--semantic-typo-label-2-m-size);
2126
2126
  }
2127
2127
  .lib-xplat-calendar .calendar-today-btn {
2128
2128
  margin-left: auto;
@@ -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: var(--semantic-typo-label-2-m-size);
2323
+ font-size: var(--semantic-typo-caption-1-r-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: var(--semantic-typo-label-1-m-size);
2334
+ font-size: var(--semantic-typo-label-2-m-size);
2335
2335
  }
2336
2336
  .lib-xplat-card-tab.lg .card-tab-body {
2337
2337
  padding: var(--spacing-space-6);
@@ -2527,7 +2527,7 @@
2527
2527
  color: var(--semantic-text-muted);
2528
2528
  }
2529
2529
  .lib-xplat-chart .chart-legend-value {
2530
- font-size: var(--semantic-typo-label-2-m-size);
2530
+ font-size: var(--semantic-typo-caption-1-r-size);
2531
2531
  font-weight: 600;
2532
2532
  color: var(--semantic-text-strong);
2533
2533
  }
@@ -2571,12 +2571,12 @@
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: var(--semantic-typo-label-2-m-size);
2574
+ font-size: var(--semantic-typo-caption-1-r-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: var(--semantic-typo-body-1-m-size);
2579
+ font-size: var(--semantic-typo-label-1-m-size);
2580
2580
  }
2581
2581
  .lib-xplat-icon-button.lg {
2582
2582
  width: var(--spacing-control-height-lg);
@@ -2668,8 +2668,8 @@
2668
2668
  max-height: 200px;
2669
2669
  overflow-y: auto;
2670
2670
  padding: 4px 0;
2671
- font-size: var(--semantic-typo-label-1-m-size);
2672
- line-height: var(--semantic-typo-label-1-m-lh);
2671
+ font-size: var(--semantic-typo-label-2-m-size);
2672
+ line-height: var(--semantic-typo-label-2-m-lh);
2673
2673
  color: var(--semantic-text-strong);
2674
2674
  background: transparent;
2675
2675
  }
@@ -2707,17 +2707,17 @@
2707
2707
  height: var(--spacing-space-6);
2708
2708
  }
2709
2709
  .lib-xplat-checkbox.sm > .label {
2710
+ font-size: var(--semantic-typo-caption-1-r-size);
2711
+ line-height: var(--semantic-typo-caption-1-r-lh);
2712
+ }
2713
+ .lib-xplat-checkbox.md > .label {
2710
2714
  font-size: var(--semantic-typo-label-2-m-size);
2711
2715
  line-height: var(--semantic-typo-label-2-m-lh);
2712
2716
  }
2713
- .lib-xplat-checkbox.md > .label {
2717
+ .lib-xplat-checkbox.lg > .label {
2714
2718
  font-size: var(--semantic-typo-label-1-m-size);
2715
2719
  line-height: var(--semantic-typo-label-1-m-lh);
2716
2720
  }
2717
- .lib-xplat-checkbox.lg > .label {
2718
- font-size: var(--semantic-typo-body-1-m-size);
2719
- line-height: var(--semantic-typo-body-1-m-lh);
2720
- }
2721
2721
  .lib-xplat-checkbox > .checkbox {
2722
2722
  display: flex;
2723
2723
  align-items: center;
@@ -2800,11 +2800,11 @@
2800
2800
  }
2801
2801
  .lib-xplat-chip.md {
2802
2802
  padding: 2px var(--spacing-space-3);
2803
- font-size: var(--semantic-typo-label-2-m-size);
2803
+ font-size: var(--semantic-typo-caption-1-r-size);
2804
2804
  }
2805
2805
  .lib-xplat-chip.lg {
2806
2806
  padding: var(--spacing-space-1) var(--spacing-space-4);
2807
- font-size: var(--semantic-typo-label-1-m-size);
2807
+ font-size: var(--semantic-typo-label-2-m-size);
2808
2808
  }
2809
2809
  .lib-xplat-chip.primary {
2810
2810
  color: var(--semantic-text-inverse);
@@ -2866,18 +2866,18 @@
2866
2866
  }
2867
2867
  .lib-xplat-input-wrap .lib-xplat-input.sm {
2868
2868
  height: var(--spacing-control-height-sm);
2869
- font-size: var(--semantic-typo-label-2-m-size);
2870
- line-height: var(--semantic-typo-label-2-m-lh);
2869
+ font-size: var(--semantic-typo-caption-1-r-size);
2870
+ line-height: var(--semantic-typo-caption-1-r-lh);
2871
2871
  }
2872
2872
  .lib-xplat-input-wrap .lib-xplat-input.md {
2873
2873
  height: var(--spacing-control-height-md);
2874
- font-size: var(--semantic-typo-label-1-m-size);
2875
- line-height: var(--semantic-typo-label-1-m-lh);
2874
+ font-size: var(--semantic-typo-label-2-m-size);
2875
+ line-height: var(--semantic-typo-label-2-m-lh);
2876
2876
  }
2877
2877
  .lib-xplat-input-wrap .lib-xplat-input.lg {
2878
2878
  height: var(--spacing-control-height-lg);
2879
- font-size: var(--semantic-typo-body-1-m-size);
2880
- line-height: var(--semantic-typo-body-1-m-lh);
2879
+ font-size: var(--semantic-typo-label-1-m-size);
2880
+ line-height: var(--semantic-typo-label-1-m-lh);
2881
2881
  }
2882
2882
  .lib-xplat-input-wrap .lib-xplat-input.disabled {
2883
2883
  background-color: var(--semantic-surface-neutral-disabled);
@@ -2891,6 +2891,8 @@
2891
2891
  padding-right: var(--spacing-space-2);
2892
2892
  width: 100%;
2893
2893
  color: var(--semantic-text-subtle);
2894
+ font-size: inherit;
2895
+ font-family: inherit;
2894
2896
  }
2895
2897
  .lib-xplat-input-wrap .lib-xplat-input > input :disabled {
2896
2898
  cursor: not-allowed;
@@ -2935,7 +2937,7 @@
2935
2937
  color: var(--semantic-text-error);
2936
2938
  }
2937
2939
  .lib-xplat-input-wrap .lib-xplat-input-validation-wrap > .lib-xplat-input-validation > .icon {
2938
- font-size: var(--semantic-typo-label-1-m-size);
2940
+ font-size: var(--semantic-typo-label-2-m-size);
2939
2941
  }
2940
2942
 
2941
2943
  /* src/components/Modal/modal.scss */
@@ -3058,7 +3060,7 @@
3058
3060
  background-color: var(--semantic-surface-neutral-disabled);
3059
3061
  }
3060
3062
  .lib-xplat-datepicker .datepicker-nav svg {
3061
- font-size: var(--semantic-typo-label-1-m-size);
3063
+ font-size: var(--semantic-typo-label-2-m-size);
3062
3064
  }
3063
3065
  .lib-xplat-datepicker .datepicker-weekdays {
3064
3066
  display: grid;
@@ -3251,15 +3253,15 @@
3251
3253
  }
3252
3254
  .lib-xplat-tab.sm {
3253
3255
  height: var(--spacing-control-height-sm);
3254
- font-size: var(--semantic-typo-label-2-m-size);
3256
+ font-size: var(--semantic-typo-caption-1-r-size);
3255
3257
  }
3256
3258
  .lib-xplat-tab.md {
3257
3259
  height: var(--spacing-control-height-md);
3258
- font-size: var(--semantic-typo-label-1-m-size);
3260
+ font-size: var(--semantic-typo-label-2-m-size);
3259
3261
  }
3260
3262
  .lib-xplat-tab.lg {
3261
3263
  height: var(--spacing-control-height-lg);
3262
- font-size: var(--semantic-typo-body-1-m-size);
3264
+ font-size: var(--semantic-typo-label-1-m-size);
3263
3265
  }
3264
3266
  .lib-xplat-tab.type-default {
3265
3267
  width: 100%;
@@ -3297,7 +3299,7 @@
3297
3299
  justify-content: center;
3298
3300
  white-space: nowrap;
3299
3301
  padding: 0 var(--spacing-space-3);
3300
- font-size: var(--semantic-typo-label-1-m-size);
3302
+ font-size: var(--semantic-typo-label-2-m-size);
3301
3303
  font-weight: 500;
3302
3304
  height: 100%;
3303
3305
  background: none;
@@ -3396,7 +3398,7 @@
3396
3398
  border-bottom: 1px solid var(--semantic-border-default);
3397
3399
  }
3398
3400
  .lib-xplat-drawer .drawer-title {
3399
- font-size: var(--semantic-typo-label-1-m-size);
3401
+ font-size: var(--semantic-typo-label-2-m-size);
3400
3402
  font-weight: 600;
3401
3403
  color: var(--semantic-text-strong);
3402
3404
  }
@@ -3455,7 +3457,7 @@
3455
3457
  padding: var(--spacing-space-2) 14px;
3456
3458
  border: none;
3457
3459
  background: none;
3458
- font-size: var(--semantic-typo-label-2-m-size);
3460
+ font-size: var(--semantic-typo-caption-1-r-size);
3459
3461
  color: var(--semantic-text-strong);
3460
3462
  cursor: pointer;
3461
3463
  text-align: left;
@@ -3566,7 +3568,7 @@
3566
3568
  font-size: var(--semantic-typo-heading-1-m-size);
3567
3569
  }
3568
3570
  .lib-xplat-editor__editable h3 {
3569
- font-size: var(--semantic-typo-body-1-m-size);
3571
+ font-size: var(--semantic-typo-label-1-m-size);
3570
3572
  }
3571
3573
  .lib-xplat-editor__editable p {
3572
3574
  margin: var(--spacing-space-2) 0;
@@ -3742,7 +3744,7 @@
3742
3744
  font-size: var(--semantic-typo-display-1-b-size);
3743
3745
  }
3744
3746
  .lib-xplat-empty-state .empty-title {
3745
- font-size: var(--semantic-typo-label-2-m-size);
3747
+ font-size: var(--semantic-typo-caption-1-r-size);
3746
3748
  font-weight: 500;
3747
3749
  color: var(--semantic-text-subtle);
3748
3750
  margin: 0;
@@ -3791,7 +3793,7 @@
3791
3793
  font-size: var(--semantic-typo-display-2-sb-size);
3792
3794
  }
3793
3795
  .lib-xplat-file-upload .upload-label {
3794
- font-size: var(--semantic-typo-label-2-m-size);
3796
+ font-size: var(--semantic-typo-caption-1-r-size);
3795
3797
  font-weight: 500;
3796
3798
  color: var(--semantic-text-subtle);
3797
3799
  margin: 0;
@@ -3805,7 +3807,7 @@
3805
3807
  /* src/components/HtmlTypeWriter/htmlTypeWriter.scss */
3806
3808
  .lib-xplat-htmlTypewriter {
3807
3809
  width: 100%;
3808
- font-size: var(--semantic-typo-label-1-m-size);
3810
+ font-size: var(--semantic-typo-label-2-m-size);
3809
3811
  }
3810
3812
  .lib-xplat-htmlTypewriter h1,
3811
3813
  .lib-xplat-htmlTypewriter h2,
@@ -3880,7 +3882,7 @@
3880
3882
  }
3881
3883
  .lib-xplat-imageselector > .content .skeleton > .label {
3882
3884
  margin-top: var(--spacing-space-1);
3883
- font-size: var(--semantic-typo-label-2-m-size);
3885
+ font-size: var(--semantic-typo-caption-1-r-size);
3884
3886
  color: var(--semantic-text-muted);
3885
3887
  }
3886
3888
  .lib-xplat-imageselector > .content .skeleton:hover > .icon-wrapper {
@@ -3931,17 +3933,17 @@
3931
3933
  font-size: var(--semantic-typo-caption-2-r-size);
3932
3934
  }
3933
3935
  .lib-xplat-pagination.sm .page-btn svg {
3934
- font-size: var(--semantic-typo-label-2-m-size);
3936
+ font-size: var(--semantic-typo-caption-1-r-size);
3935
3937
  }
3936
3938
  .lib-xplat-pagination.lg .dots {
3937
3939
  width: var(--spacing-control-height-md);
3938
3940
  height: var(--spacing-control-height-md);
3939
- font-size: var(--semantic-typo-label-1-m-size);
3941
+ font-size: var(--semantic-typo-label-2-m-size);
3940
3942
  }
3941
3943
  .lib-xplat-pagination.lg .page-btn {
3942
3944
  min-width: var(--spacing-control-height-md);
3943
3945
  height: var(--spacing-control-height-md);
3944
- font-size: var(--semantic-typo-label-1-m-size);
3946
+ font-size: var(--semantic-typo-label-2-m-size);
3945
3947
  }
3946
3948
  .lib-xplat-pagination.lg .page-btn svg {
3947
3949
  font-size: var(--semantic-typo-heading-1-m-size);
@@ -3952,7 +3954,7 @@
3952
3954
  justify-content: center;
3953
3955
  width: var(--spacing-control-height-sm);
3954
3956
  height: var(--spacing-control-height-sm);
3955
- font-size: var(--semantic-typo-label-2-m-size);
3957
+ font-size: var(--semantic-typo-caption-1-r-size);
3956
3958
  color: var(--semantic-text-muted);
3957
3959
  user-select: none;
3958
3960
  }
@@ -3966,7 +3968,7 @@
3966
3968
  border: none;
3967
3969
  border-radius: var(--spacing-radius-md);
3968
3970
  background: none;
3969
- font-size: var(--semantic-typo-label-2-m-size);
3971
+ font-size: var(--semantic-typo-caption-1-r-size);
3970
3972
  cursor: pointer;
3971
3973
  color: var(--semantic-text-subtle);
3972
3974
  transition: background-color 0.2s, color 0.2s;
@@ -3983,7 +3985,7 @@
3983
3985
  font-weight: 600;
3984
3986
  }
3985
3987
  .lib-xplat-pagination .page-btn svg {
3986
- font-size: var(--semantic-typo-label-1-m-size);
3988
+ font-size: var(--semantic-typo-label-2-m-size);
3987
3989
  }
3988
3990
  .lib-xplat-pagination.brand .page-btn.active {
3989
3991
  background-color: var(--semantic-surface-brand-default);
@@ -4102,16 +4104,16 @@
4102
4104
  height: var(--spacing-space-2);
4103
4105
  }
4104
4106
  .lib-xplat-radio.sm > span {
4105
- font-size: var(--semantic-typo-label-2-m-size);
4106
- line-height: var(--semantic-typo-label-2-m-lh);
4107
+ font-size: var(--semantic-typo-caption-1-r-size);
4108
+ line-height: var(--semantic-typo-caption-1-r-lh);
4107
4109
  }
4108
4110
  .lib-xplat-radio.md > .circle {
4109
4111
  width: var(--spacing-space-5);
4110
4112
  height: var(--spacing-space-5);
4111
4113
  }
4112
4114
  .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
+ font-size: var(--semantic-typo-label-2-m-size);
4116
+ line-height: var(--semantic-typo-label-2-m-lh);
4115
4117
  }
4116
4118
  .lib-xplat-radio.lg > .circle {
4117
4119
  width: var(--spacing-space-6);
@@ -4122,8 +4124,8 @@
4122
4124
  height: var(--spacing-space-4);
4123
4125
  }
4124
4126
  .lib-xplat-radio.lg > span {
4125
- font-size: var(--semantic-typo-body-1-m-size);
4126
- line-height: var(--semantic-typo-body-1-m-lh);
4127
+ font-size: var(--semantic-typo-label-1-m-size);
4128
+ line-height: var(--semantic-typo-label-1-m-lh);
4127
4129
  }
4128
4130
  .lib-xplat-radio > .circle {
4129
4131
  border: 2px solid var(--semantic-border-strong);
@@ -4195,38 +4197,29 @@
4195
4197
  z-index: 1;
4196
4198
  }
4197
4199
  .lib-xplat-select.sm .select-trigger {
4198
- min-height: var(--spacing-control-height-sm);
4199
- padding: var(--spacing-space-1) var(--spacing-space-2);
4200
- font-size: var(--semantic-typo-label-2-m-size);
4201
- line-height: var(--semantic-typo-label-2-m-lh);
4200
+ height: var(--spacing-control-height-sm);
4201
+ padding: 0 var(--spacing-space-2);
4202
+ font-size: var(--semantic-typo-caption-1-r-size);
4203
+ line-height: var(--semantic-typo-caption-1-r-lh);
4202
4204
  }
4203
4205
  .lib-xplat-select.md .select-trigger {
4204
- min-height: var(--spacing-control-height-md);
4205
- padding: var(--spacing-space-2) var(--spacing-space-3);
4206
- font-size: var(--semantic-typo-label-1-m-size);
4207
- line-height: var(--semantic-typo-label-1-m-lh);
4208
- }
4209
- .lib-xplat-select.lg .select-trigger {
4210
- min-height: var(--spacing-control-height-lg);
4211
- padding: var(--spacing-space-2) var(--spacing-space-4);
4212
- font-size: var(--semantic-typo-body-1-m-size);
4213
- line-height: var(--semantic-typo-body-1-m-lh);
4214
- }
4215
- .lib-xplat-select.sm .select-content .select-item {
4216
- padding: var(--spacing-space-2) var(--spacing-space-2);
4206
+ height: var(--spacing-control-height-md);
4207
+ padding: 0 var(--spacing-space-3);
4217
4208
  font-size: var(--semantic-typo-label-2-m-size);
4218
4209
  line-height: var(--semantic-typo-label-2-m-lh);
4219
4210
  }
4220
- .lib-xplat-select.lg .select-content .select-item {
4221
- padding: var(--spacing-space-2) var(--spacing-space-4);
4222
- font-size: var(--semantic-typo-body-1-m-size);
4223
- line-height: var(--semantic-typo-body-1-m-lh);
4211
+ .lib-xplat-select.lg .select-trigger {
4212
+ height: var(--spacing-control-height-lg);
4213
+ padding: 0 var(--spacing-space-4);
4214
+ font-size: var(--semantic-typo-label-1-m-size);
4215
+ line-height: var(--semantic-typo-label-1-m-lh);
4224
4216
  }
4225
4217
  .lib-xplat-select .select-trigger {
4226
4218
  cursor: pointer;
4227
4219
  user-select: none;
4228
4220
  outline: none;
4229
4221
  display: flex;
4222
+ font-weight: var(--semantic-typo-label-1-m-weight);
4230
4223
  align-items: center;
4231
4224
  justify-content: space-between;
4232
4225
  gap: var(--spacing-space-2);
@@ -4288,7 +4281,7 @@
4288
4281
  transform: rotate(180deg);
4289
4282
  }
4290
4283
  .lib-xplat-select .select-trigger .select-trigger-icon svg {
4291
- font-size: var(--semantic-typo-body-1-m-size);
4284
+ font-size: var(--semantic-typo-label-1-m-size);
4292
4285
  }
4293
4286
  .lib-xplat-select-content {
4294
4287
  position: fixed;
@@ -4325,14 +4318,28 @@
4325
4318
  opacity: 0;
4326
4319
  transform: translateY(8px);
4327
4320
  }
4328
- .lib-xplat-select-content .select-item {
4329
- padding: var(--spacing-space-2) var(--spacing-space-3);
4321
+ .lib-xplat-select-content.sm .select-item {
4322
+ padding: var(--spacing-space-2) var(--spacing-space-2);
4323
+ font-size: var(--semantic-typo-caption-1-r-size);
4324
+ line-height: var(--semantic-typo-caption-1-r-lh);
4325
+ }
4326
+ .lib-xplat-select-content.lg .select-item {
4327
+ padding: var(--spacing-space-2) var(--spacing-space-4);
4330
4328
  font-size: var(--semantic-typo-label-1-m-size);
4331
4329
  line-height: var(--semantic-typo-label-1-m-lh);
4330
+ }
4331
+ .lib-xplat-select-content .select-item {
4332
+ padding: var(--spacing-space-2) var(--spacing-space-3);
4333
+ font-size: var(--semantic-typo-label-2-m-size);
4334
+ line-height: var(--semantic-typo-label-2-m-lh);
4335
+ font-weight: var(--semantic-typo-label-1-m-weight);
4332
4336
  cursor: pointer;
4333
4337
  transition: background-color 0.15s ease;
4334
4338
  outline: none;
4335
4339
  }
4340
+ .lib-xplat-select-content .select-item.is-selected {
4341
+ font-weight: var(--semantic-typo-label-1-sb-weight);
4342
+ }
4336
4343
  .lib-xplat-select-content .select-item:hover:not(.disabled) {
4337
4344
  background-color: var(--semantic-surface-neutral-subtle);
4338
4345
  }
@@ -4467,7 +4474,7 @@
4467
4474
  transition: background-color 0.2s, color 0.2s;
4468
4475
  }
4469
4476
  .lib-xplat-steps .step-circle svg {
4470
- font-size: var(--semantic-typo-label-1-m-size);
4477
+ font-size: var(--semantic-typo-label-2-m-size);
4471
4478
  }
4472
4479
  .lib-xplat-steps .step-content {
4473
4480
  display: flex;
@@ -4579,6 +4586,11 @@
4579
4586
  flex-shrink: 0;
4580
4587
  overflow: hidden;
4581
4588
  }
4589
+ .lib-xplat-swiper__slide img {
4590
+ -webkit-user-drag: none;
4591
+ user-drag: none;
4592
+ pointer-events: none;
4593
+ }
4582
4594
  .lib-xplat-swiper__progress {
4583
4595
  margin-top: var(--spacing-space-4);
4584
4596
  display: flex;
@@ -4753,14 +4765,14 @@
4753
4765
  .lib-xplat-table-wrapper.md > .lib-xplat-table > tbody > tr > th,
4754
4766
  .lib-xplat-table-wrapper.md > .lib-xplat-table > tbody > tr > td {
4755
4767
  padding: var(--spacing-space-2) var(--spacing-space-3);
4756
- font-size: var(--semantic-typo-label-2-m-size);
4768
+ font-size: var(--semantic-typo-caption-1-r-size);
4757
4769
  }
4758
4770
  .lib-xplat-table-wrapper.lg > .lib-xplat-table > thead > tr > th,
4759
4771
  .lib-xplat-table-wrapper.lg > .lib-xplat-table > thead > tr > td,
4760
4772
  .lib-xplat-table-wrapper.lg > .lib-xplat-table > tbody > tr > th,
4761
4773
  .lib-xplat-table-wrapper.lg > .lib-xplat-table > tbody > tr > td {
4762
4774
  padding: var(--spacing-space-3) var(--spacing-space-4);
4763
- font-size: var(--semantic-typo-label-1-m-size);
4775
+ font-size: var(--semantic-typo-label-2-m-size);
4764
4776
  }
4765
4777
  .lib-xplat-table-wrapper > .lib-xplat-table {
4766
4778
  width: 100%;
@@ -5041,7 +5053,7 @@
5041
5053
  .lib-xplat-tag.lg {
5042
5054
  gap: var(--spacing-space-1);
5043
5055
  padding: var(--spacing-space-1) var(--spacing-space-2);
5044
- font-size: var(--semantic-typo-label-2-m-size);
5056
+ font-size: var(--semantic-typo-caption-1-r-size);
5045
5057
  }
5046
5058
  .lib-xplat-tag.neutral {
5047
5059
  color: var(--semantic-text-muted);
@@ -5117,7 +5129,7 @@
5117
5129
  font-size: var(--semantic-typo-caption-2-r-size);
5118
5130
  }
5119
5131
  .lib-xplat-tag.lg .tag-close svg {
5120
- font-size: var(--semantic-typo-label-2-m-size);
5132
+ font-size: var(--semantic-typo-caption-1-r-size);
5121
5133
  }
5122
5134
 
5123
5135
  /* src/components/TextArea/textArea.scss */
@@ -5161,8 +5173,8 @@
5161
5173
  color: var(--semantic-text-subtle);
5162
5174
  resize: none;
5163
5175
  height: 1.5em;
5164
- font-size: var(--semantic-typo-label-1-m-size);
5165
- line-height: var(--semantic-typo-label-1-m-lh);
5176
+ font-size: var(--semantic-typo-label-2-m-size);
5177
+ line-height: var(--semantic-typo-label-2-m-lh);
5166
5178
  font-family: inherit;
5167
5179
  }
5168
5180
  .lib-xplat-textarea-wrapper .lib-xplat-textarea > textarea:disabled {
@@ -5224,8 +5236,8 @@
5224
5236
  gap: var(--spacing-space-2);
5225
5237
  padding: var(--spacing-space-3) var(--spacing-space-4);
5226
5238
  border-radius: var(--spacing-radius-md);
5227
- font-size: var(--semantic-typo-label-2-m-size);
5228
- line-height: var(--semantic-typo-label-2-m-lh);
5239
+ font-size: var(--semantic-typo-caption-1-r-size);
5240
+ line-height: var(--semantic-typo-caption-1-r-lh);
5229
5241
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
5230
5242
  pointer-events: auto;
5231
5243
  animation: lib-xplat-toast-enter 0.2s ease;
@@ -5244,7 +5256,7 @@
5244
5256
  background: none;
5245
5257
  border: none;
5246
5258
  cursor: pointer;
5247
- font-size: var(--semantic-typo-body-1-m-size);
5259
+ font-size: var(--semantic-typo-label-1-m-size);
5248
5260
  line-height: 1;
5249
5261
  padding: 0;
5250
5262
  opacity: 0.6;