@x-plat/design-system 0.4.5 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist/components/Accordion/index.cjs +294 -294
  2. package/dist/components/Accordion/index.css +11 -11
  3. package/dist/components/Accordion/index.d.cts +0 -1
  4. package/dist/components/Accordion/index.d.ts +0 -1
  5. package/dist/components/Accordion/index.js +491 -491
  6. package/dist/components/Alert/index.cjs +2 -2
  7. package/dist/components/Alert/index.css +19 -19
  8. package/dist/components/Alert/index.d.cts +0 -1
  9. package/dist/components/Alert/index.d.ts +0 -1
  10. package/dist/components/Alert/index.js +2 -2
  11. package/dist/components/Avatar/index.cjs +11 -6
  12. package/dist/components/Avatar/index.css +41 -11
  13. package/dist/components/Avatar/index.d.cts +1 -3
  14. package/dist/components/Avatar/index.d.ts +1 -3
  15. package/dist/components/Avatar/index.js +11 -6
  16. package/dist/components/Badge/index.cjs +4 -6
  17. package/dist/components/Badge/index.css +32 -19
  18. package/dist/components/Badge/index.d.cts +3 -3
  19. package/dist/components/Badge/index.d.ts +3 -3
  20. package/dist/components/Badge/index.js +4 -6
  21. package/dist/components/Breadcrumb/index.cjs +2 -18
  22. package/dist/components/Breadcrumb/index.css +6 -6
  23. package/dist/components/Breadcrumb/index.d.cts +0 -1
  24. package/dist/components/Breadcrumb/index.d.ts +0 -1
  25. package/dist/components/Breadcrumb/index.js +2 -18
  26. package/dist/components/Button/index.cjs +1 -4
  27. package/dist/components/Button/index.css +67 -23
  28. package/dist/components/Button/index.d.cts +2 -3
  29. package/dist/components/Button/index.d.ts +2 -3
  30. package/dist/components/Button/index.js +1 -4
  31. package/dist/components/Calendar/index.cjs +306 -307
  32. package/dist/components/Calendar/index.css +51 -52
  33. package/dist/components/Calendar/index.d.cts +3 -4
  34. package/dist/components/Calendar/index.d.ts +3 -4
  35. package/dist/components/Calendar/index.js +503 -504
  36. package/dist/components/Card/index.cjs +2 -18
  37. package/dist/components/Card/index.css +6 -6
  38. package/dist/components/Card/index.d.cts +0 -4
  39. package/dist/components/Card/index.d.ts +0 -4
  40. package/dist/components/Card/index.js +2 -18
  41. package/dist/components/CardTab/index.cjs +4 -5
  42. package/dist/components/CardTab/index.css +28 -28
  43. package/dist/components/CardTab/index.d.cts +0 -2
  44. package/dist/components/CardTab/index.d.ts +0 -2
  45. package/dist/components/CardTab/index.js +4 -5
  46. package/dist/components/Chart/index.cjs +228 -14548
  47. package/dist/components/Chart/index.css +57 -0
  48. package/dist/components/Chart/index.d.cts +3 -2
  49. package/dist/components/Chart/index.d.ts +3 -2
  50. package/dist/components/Chart/index.js +219 -14541
  51. package/dist/components/CheckBox/index.cjs +301 -297
  52. package/dist/components/CheckBox/index.css +50 -27
  53. package/dist/components/CheckBox/index.d.cts +3 -3
  54. package/dist/components/CheckBox/index.d.ts +3 -3
  55. package/dist/components/CheckBox/index.js +486 -482
  56. package/dist/components/Chip/index.cjs +2 -5
  57. package/dist/components/Chip/index.css +35 -23
  58. package/dist/components/Chip/index.d.cts +2 -4
  59. package/dist/components/Chip/index.d.ts +2 -4
  60. package/dist/components/Chip/index.js +2 -5
  61. package/dist/components/DatePicker/index.cjs +348 -359
  62. package/dist/components/DatePicker/index.css +175 -122
  63. package/dist/components/DatePicker/index.d.cts +2 -3
  64. package/dist/components/DatePicker/index.d.ts +2 -3
  65. package/dist/components/DatePicker/index.js +525 -536
  66. package/dist/components/Divider/index.cjs +2 -2
  67. package/dist/components/Divider/index.css +2 -2
  68. package/dist/components/Divider/index.d.cts +0 -1
  69. package/dist/components/Divider/index.d.ts +0 -1
  70. package/dist/components/Divider/index.js +2 -2
  71. package/dist/components/Drawer/index.css +7 -7
  72. package/dist/components/Dropdown/index.cjs +2 -2
  73. package/dist/components/Dropdown/index.css +10 -10
  74. package/dist/components/Dropdown/index.d.cts +0 -1
  75. package/dist/components/Dropdown/index.d.ts +0 -1
  76. package/dist/components/Dropdown/index.js +2 -2
  77. package/dist/components/EmptyState/index.cjs +2 -18
  78. package/dist/components/EmptyState/index.css +8 -9
  79. package/dist/components/EmptyState/index.d.cts +0 -1
  80. package/dist/components/EmptyState/index.d.ts +0 -1
  81. package/dist/components/EmptyState/index.js +2 -18
  82. package/dist/components/FileUpload/index.cjs +280 -281
  83. package/dist/components/FileUpload/index.css +13 -14
  84. package/dist/components/FileUpload/index.d.cts +0 -1
  85. package/dist/components/FileUpload/index.d.ts +0 -1
  86. package/dist/components/FileUpload/index.js +476 -477
  87. package/dist/components/HtmlTypeWriter/index.cjs +10 -10
  88. package/dist/components/HtmlTypeWriter/index.css +3 -3
  89. package/dist/components/HtmlTypeWriter/index.js +10 -10
  90. package/dist/components/ImageSelector/index.cjs +309 -309
  91. package/dist/components/ImageSelector/index.css +15 -15
  92. package/dist/components/ImageSelector/index.js +477 -477
  93. package/dist/components/Input/index.cjs +6 -7
  94. package/dist/components/Input/index.css +37 -26
  95. package/dist/components/Input/index.d.cts +2 -2
  96. package/dist/components/Input/index.d.ts +2 -2
  97. package/dist/components/Input/index.js +6 -7
  98. package/dist/components/Modal/index.css +5 -4
  99. package/dist/components/Pagination/index.cjs +303 -305
  100. package/dist/components/Pagination/index.css +37 -26
  101. package/dist/components/Pagination/index.d.cts +3 -3
  102. package/dist/components/Pagination/index.d.ts +3 -3
  103. package/dist/components/Pagination/index.js +500 -502
  104. package/dist/components/PopOver/index.css +3 -3
  105. package/dist/components/Progress/index.cjs +4 -6
  106. package/dist/components/Progress/index.css +23 -9
  107. package/dist/components/Progress/index.d.cts +3 -3
  108. package/dist/components/Progress/index.d.ts +3 -3
  109. package/dist/components/Progress/index.js +4 -6
  110. package/dist/components/Radio/index.cjs +4 -7
  111. package/dist/components/Radio/index.css +61 -29
  112. package/dist/components/Radio/index.d.cts +3 -3
  113. package/dist/components/Radio/index.d.ts +3 -3
  114. package/dist/components/Radio/index.js +4 -7
  115. package/dist/components/Select/index.cjs +294 -294
  116. package/dist/components/Select/index.css +46 -40
  117. package/dist/components/Select/index.d.cts +0 -1
  118. package/dist/components/Select/index.d.ts +0 -1
  119. package/dist/components/Select/index.js +491 -491
  120. package/dist/components/Skeleton/index.cjs +2 -2
  121. package/dist/components/Skeleton/index.css +3 -3
  122. package/dist/components/Skeleton/index.d.cts +0 -1
  123. package/dist/components/Skeleton/index.d.ts +0 -1
  124. package/dist/components/Skeleton/index.js +2 -2
  125. package/dist/components/Spinner/index.cjs +2 -4
  126. package/dist/components/Spinner/index.css +22 -8
  127. package/dist/components/Spinner/index.d.cts +3 -3
  128. package/dist/components/Spinner/index.d.ts +3 -3
  129. package/dist/components/Spinner/index.js +2 -4
  130. package/dist/components/Steps/index.cjs +296 -298
  131. package/dist/components/Steps/index.css +77 -22
  132. package/dist/components/Steps/index.d.cts +3 -3
  133. package/dist/components/Steps/index.d.ts +3 -3
  134. package/dist/components/Steps/index.js +481 -483
  135. package/dist/components/Swiper/index.cjs +2 -3
  136. package/dist/components/Swiper/index.css +10 -10
  137. package/dist/components/Swiper/index.d.cts +0 -1
  138. package/dist/components/Swiper/index.d.ts +0 -1
  139. package/dist/components/Swiper/index.js +2 -3
  140. package/dist/components/Switch/index.cjs +4 -7
  141. package/dist/components/Switch/index.css +58 -26
  142. package/dist/components/Switch/index.d.cts +3 -3
  143. package/dist/components/Switch/index.d.ts +3 -3
  144. package/dist/components/Switch/index.js +4 -7
  145. package/dist/components/Tab/index.css +15 -15
  146. package/dist/components/Table/index.cjs +22 -31
  147. package/dist/components/Table/index.css +15 -15
  148. package/dist/components/Table/index.d.cts +2 -8
  149. package/dist/components/Table/index.d.ts +2 -8
  150. package/dist/components/Table/index.js +22 -31
  151. package/dist/components/Tag/index.cjs +305 -293
  152. package/dist/components/Tag/index.css +58 -17
  153. package/dist/components/Tag/index.d.cts +5 -3
  154. package/dist/components/Tag/index.d.ts +5 -3
  155. package/dist/components/Tag/index.js +492 -480
  156. package/dist/components/TextArea/index.cjs +2 -2
  157. package/dist/components/TextArea/index.css +20 -9
  158. package/dist/components/TextArea/index.d.cts +2 -1
  159. package/dist/components/TextArea/index.d.ts +2 -1
  160. package/dist/components/TextArea/index.js +2 -2
  161. package/dist/components/Toast/index.css +22 -22
  162. package/dist/components/Tooltip/index.cjs +1 -3
  163. package/dist/components/Tooltip/index.css +6 -6
  164. package/dist/components/Tooltip/index.d.cts +1 -2
  165. package/dist/components/Tooltip/index.d.ts +1 -2
  166. package/dist/components/Tooltip/index.js +1 -3
  167. package/dist/components/Video/index.cjs +1 -3
  168. package/dist/components/Video/index.css +5 -5
  169. package/dist/components/Video/index.d.cts +0 -2
  170. package/dist/components/Video/index.d.ts +0 -2
  171. package/dist/components/Video/index.js +1 -3
  172. package/dist/components/index.cjs +1604 -15950
  173. package/dist/components/index.css +2167 -1061
  174. package/dist/components/index.d.cts +1 -2
  175. package/dist/components/index.d.ts +1 -2
  176. package/dist/components/index.js +1478 -15826
  177. package/dist/index.cjs +2941 -17269
  178. package/dist/index.css +2164 -1058
  179. package/dist/index.d.cts +3 -3
  180. package/dist/index.d.ts +3 -3
  181. package/dist/index.js +2837 -17169
  182. package/dist/layout/Grid/FullGrid/index.cjs +9 -18
  183. package/dist/layout/Grid/FullGrid/index.d.cts +1 -1
  184. package/dist/layout/Grid/FullGrid/index.d.ts +1 -1
  185. package/dist/layout/Grid/FullGrid/index.js +9 -18
  186. package/dist/layout/Grid/FullScreen/index.cjs +9 -18
  187. package/dist/layout/Grid/FullScreen/index.d.cts +3 -3
  188. package/dist/layout/Grid/FullScreen/index.d.ts +3 -3
  189. package/dist/layout/Grid/FullScreen/index.js +9 -18
  190. package/dist/layout/Grid/index.cjs +34 -20
  191. package/dist/layout/Grid/index.js +34 -20
  192. package/dist/layout/index.cjs +34 -20
  193. package/dist/layout/index.css +1000 -295
  194. package/dist/layout/index.js +34 -20
  195. package/dist/tokens/index.cjs +1861 -1970
  196. package/dist/tokens/index.d.cts +209 -192
  197. package/dist/tokens/index.d.ts +209 -192
  198. package/dist/tokens/index.js +2048 -2159
  199. package/package.json +2 -4
  200. package/dist/colors-CY4JXVHj.d.cts +0 -137
  201. package/dist/colors-CY4JXVHj.d.ts +0 -137
  202. package/dist/layout/Grid/GapGrid/index.cjs +0 -32
  203. package/dist/layout/Grid/GapGrid/index.d.cts +0 -12
  204. package/dist/layout/Grid/GapGrid/index.d.ts +0 -12
  205. package/dist/layout/Grid/GapGrid/index.js +0 -11
@@ -57,7 +57,7 @@ var clsx_default = clsx;
57
57
  var import_jsx_runtime = require("react/jsx-runtime");
58
58
  var TextArea = import_react.default.forwardRef(
59
59
  (props, ref) => {
60
- const { value, onChange, className, disabled, ...textareaProps } = props;
60
+ const { value, onChange, disabled, ...textareaProps } = props;
61
61
  const localRef = import_react.default.useRef(null);
62
62
  const setRefs = (el) => {
63
63
  localRef.current = el;
@@ -85,7 +85,7 @@ var TextArea = import_react.default.forwardRef(
85
85
  const nextHeight = Math.min(el.scrollHeight, 400);
86
86
  el.style.height = `${nextHeight}px`;
87
87
  }, [value]);
88
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: clsx_default("lib-xplat-textarea-wrapper", className), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
88
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "lib-xplat-textarea-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
89
89
  "div",
90
90
  {
91
91
  className: clsx_default(
@@ -2,30 +2,41 @@
2
2
  .lib-xplat-textarea-wrapper {
3
3
  display: flex;
4
4
  flex-direction: column;
5
- gap: 0.5rem;
5
+ gap: var(--spacing-space-2);
6
6
  }
7
7
  .lib-xplat-textarea-wrapper .lib-xplat-textarea {
8
8
  display: flex;
9
9
  align-items: center;
10
- border: 1px solid var(--xplat-neutral-300);
11
- border-radius: 0.5rem;
12
- min-height: 2.5rem;
10
+ border: 1px solid var(--semantic-border-default);
11
+ border-radius: var(--spacing-radius-md);
12
+ min-height: var(--spacing-control-height-md);
13
13
  overflow: hidden;
14
- background-color: var(--xplat-white);
14
+ background-color: var(--semantic-surface-neutral-default);
15
15
  width: 100%;
16
+ transition: border-color 0.15s, box-shadow 0.15s;
17
+ }
18
+ .lib-xplat-textarea-wrapper .lib-xplat-textarea:hover:not(.disabled):not(:focus-within) {
19
+ border-color: var(--semantic-border-strong);
20
+ }
21
+ .lib-xplat-textarea-wrapper .lib-xplat-textarea:focus-within {
22
+ border-color: var(--semantic-interaction-focus-ring);
23
+ box-shadow: 0 0 0 2px var(--semantic-interaction-overlay-10);
24
+ }
25
+ .lib-xplat-textarea-wrapper .lib-xplat-textarea:has(> textarea:not(:placeholder-shown)):not(:focus-within) {
26
+ border-color: var(--semantic-border-strong);
16
27
  }
17
28
  .lib-xplat-textarea-wrapper .lib-xplat-textarea.disabled {
18
- background-color: var(--xplat-neutral-100);
29
+ background-color: var(--semantic-surface-neutral-disabled);
19
30
  cursor: not-allowed;
20
31
  }
21
32
  .lib-xplat-textarea-wrapper .lib-xplat-textarea > textarea {
22
33
  border: none;
23
34
  outline: none;
24
35
  flex: 1;
25
- padding-left: 1rem;
26
- padding-right: 1rem;
36
+ padding-left: var(--spacing-space-4);
37
+ padding-right: var(--spacing-space-4);
27
38
  width: 100%;
28
- color: var(--xplat-neutral-700);
39
+ color: var(--semantic-text-subtle);
29
40
  resize: none;
30
41
  height: 1.5em;
31
42
  }
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { T as TextareaAttributes } from '../../attributes-DJIWir_0.cjs';
3
3
 
4
- declare const TextArea: React.ForwardRefExoticComponent<TextareaAttributes & React.RefAttributes<HTMLTextAreaElement>>;
4
+ type TextareaProps = Omit<TextareaAttributes, "className">;
5
+ declare const TextArea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
5
6
 
6
7
  export { TextArea };
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { T as TextareaAttributes } from '../../attributes-DJIWir_0.js';
3
3
 
4
- declare const TextArea: React.ForwardRefExoticComponent<TextareaAttributes & React.RefAttributes<HTMLTextAreaElement>>;
4
+ type TextareaProps = Omit<TextareaAttributes, "className">;
5
+ declare const TextArea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
5
6
 
6
7
  export { TextArea };
@@ -21,7 +21,7 @@ var clsx_default = clsx;
21
21
  import { jsx } from "react/jsx-runtime";
22
22
  var TextArea = React.forwardRef(
23
23
  (props, ref) => {
24
- const { value, onChange, className, disabled, ...textareaProps } = props;
24
+ const { value, onChange, disabled, ...textareaProps } = props;
25
25
  const localRef = React.useRef(null);
26
26
  const setRefs = (el) => {
27
27
  localRef.current = el;
@@ -49,7 +49,7 @@ var TextArea = React.forwardRef(
49
49
  const nextHeight = Math.min(el.scrollHeight, 400);
50
50
  el.style.height = `${nextHeight}px`;
51
51
  }, [value]);
52
- return /* @__PURE__ */ jsx("div", { className: clsx_default("lib-xplat-textarea-wrapper", className), children: /* @__PURE__ */ jsx(
52
+ return /* @__PURE__ */ jsx("div", { className: "lib-xplat-textarea-wrapper", children: /* @__PURE__ */ jsx(
53
53
  "div",
54
54
  {
55
55
  className: clsx_default(
@@ -8,41 +8,41 @@
8
8
  pointer-events: none;
9
9
  }
10
10
  .lib-xplat-toast-container.top {
11
- top: 16px;
11
+ top: var(--spacing-space-4);
12
12
  left: 50%;
13
13
  transform: translateX(-50%);
14
14
  align-items: center;
15
15
  }
16
16
  .lib-xplat-toast-container.bottom {
17
- bottom: 16px;
17
+ bottom: var(--spacing-space-4);
18
18
  left: 50%;
19
19
  transform: translateX(-50%);
20
20
  align-items: center;
21
21
  }
22
22
  .lib-xplat-toast-container.top-left {
23
- top: 16px;
24
- left: 16px;
23
+ top: var(--spacing-space-4);
24
+ left: var(--spacing-space-4);
25
25
  align-items: flex-start;
26
26
  }
27
27
  .lib-xplat-toast-container.top-right {
28
- top: 16px;
29
- right: 16px;
28
+ top: var(--spacing-space-4);
29
+ right: var(--spacing-space-4);
30
30
  align-items: flex-end;
31
31
  }
32
32
  .lib-xplat-toast-container.bottom-left {
33
- bottom: 16px;
34
- left: 16px;
33
+ bottom: var(--spacing-space-4);
34
+ left: var(--spacing-space-4);
35
35
  align-items: flex-start;
36
36
  }
37
37
  .lib-xplat-toast-container.bottom-right {
38
- bottom: 16px;
39
- right: 16px;
38
+ bottom: var(--spacing-space-4);
39
+ right: var(--spacing-space-4);
40
40
  align-items: flex-end;
41
41
  }
42
42
  .lib-xplat-toast-wrapper {
43
43
  overflow: hidden;
44
44
  transition: max-height 0.3s ease, margin-bottom 0.3s ease;
45
- margin-bottom: 8px;
45
+ margin-bottom: var(--spacing-space-2);
46
46
  }
47
47
  .lib-xplat-toast-wrapper.exit {
48
48
  margin-bottom: 0;
@@ -50,9 +50,9 @@
50
50
  .lib-xplat-toast {
51
51
  display: flex;
52
52
  align-items: center;
53
- gap: 8px;
54
- padding: 0.75rem 1rem;
55
- border-radius: 0.5rem;
53
+ gap: var(--spacing-space-2);
54
+ padding: var(--spacing-space-3) var(--spacing-space-4);
55
+ border-radius: var(--spacing-radius-md);
56
56
  font-size: 14px;
57
57
  line-height: 1.5;
58
58
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
@@ -84,20 +84,20 @@
84
84
  opacity: 1;
85
85
  }
86
86
  .lib-xplat-toast.info {
87
- background-color: var(--xplat-lightblue-600);
88
- color: var(--xplat-white);
87
+ background-color: var(--semantic-surface-info-default);
88
+ color: var(--semantic-text-inverse);
89
89
  }
90
90
  .lib-xplat-toast.success {
91
- background-color: var(--xplat-green-600);
92
- color: var(--xplat-white);
91
+ background-color: var(--semantic-surface-success-default);
92
+ color: var(--semantic-text-inverse);
93
93
  }
94
94
  .lib-xplat-toast.warning {
95
- background-color: var(--xplat-yellow-500);
96
- color: var(--xplat-white);
95
+ background-color: var(--semantic-surface-warning-default);
96
+ color: var(--semantic-text-inverse);
97
97
  }
98
98
  .lib-xplat-toast.error {
99
- background-color: var(--xplat-red-600);
100
- color: var(--xplat-white);
99
+ background-color: var(--semantic-surface-error-default);
100
+ color: var(--semantic-text-inverse);
101
101
  }
102
102
  @keyframes lib-xplat-toast-enter {
103
103
  from {
@@ -58,15 +58,13 @@ var import_jsx_runtime = require("react/jsx-runtime");
58
58
  var Tooltip = (props) => {
59
59
  const {
60
60
  type = "primary",
61
- color = "xplat-neutral-900",
62
61
  description,
63
62
  children
64
63
  } = props;
65
64
  const iconRef = import_react.default.useRef(null);
66
- const colorClass = color;
67
65
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "lib-xplat-tooltip", children: [
68
66
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "tooltip-content", ref: iconRef, children: children || "Tooltip" }),
69
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: clsx_default("tooltip-wrapper", colorClass, type), children: description })
67
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: clsx_default("tooltip-wrapper", type), children: description })
70
68
  ] });
71
69
  };
72
70
  Tooltip.displayName = "Tooltip";
@@ -13,20 +13,20 @@
13
13
  left: 50%;
14
14
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
15
15
  white-space: nowrap;
16
- border-radius: 0.25rem;
17
- padding: 6px 10px;
16
+ border-radius: var(--spacing-radius-sm);
17
+ padding: var(--spacing-space-2) var(--spacing-space-2);
18
18
  opacity: 0;
19
19
  pointer-events: none;
20
20
  bottom: 100%;
21
21
  transition: opacity 0.12s ease, transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
22
22
  }
23
23
  .lib-xplat-tooltip > .tooltip-wrapper.primary {
24
- color: var(--xplat-white);
25
- background-color: var(--ds-color);
24
+ color: var(--semantic-text-inverse);
25
+ background-color: var(--semantic-surface-neutral-strong);
26
26
  }
27
27
  .lib-xplat-tooltip > .tooltip-wrapper.secondary {
28
- background-color: var(--xplat-white);
29
- color: var(--ds-color);
28
+ background-color: var(--semantic-surface-neutral-default);
29
+ color: var(--semantic-text-strong);
30
30
  }
31
31
  .lib-xplat-tooltip.tooltip-bottom > .tooltip-wrapper {
32
32
  top: 100%;
@@ -1,8 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
- import { a as ColorProps } from '../../colors-CY4JXVHj.cjs';
4
3
 
5
- interface TooltipProps extends ColorProps {
4
+ interface TooltipProps {
6
5
  type?: "primary" | "secondary";
7
6
  description: React.ReactNode;
8
7
  children?: React.ReactNode;
@@ -1,8 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
- import { a as ColorProps } from '../../colors-CY4JXVHj.js';
4
3
 
5
- interface TooltipProps extends ColorProps {
4
+ interface TooltipProps {
6
5
  type?: "primary" | "secondary";
7
6
  description: React.ReactNode;
8
7
  children?: React.ReactNode;
@@ -22,15 +22,13 @@ import { jsx, jsxs } from "react/jsx-runtime";
22
22
  var Tooltip = (props) => {
23
23
  const {
24
24
  type = "primary",
25
- color = "xplat-neutral-900",
26
25
  description,
27
26
  children
28
27
  } = props;
29
28
  const iconRef = React.useRef(null);
30
- const colorClass = color;
31
29
  return /* @__PURE__ */ jsxs("div", { className: "lib-xplat-tooltip", children: [
32
30
  /* @__PURE__ */ jsx("div", { className: "tooltip-content", ref: iconRef, children: children || "Tooltip" }),
33
- /* @__PURE__ */ jsx("div", { className: clsx_default("tooltip-wrapper", colorClass, type), children: description })
31
+ /* @__PURE__ */ jsx("div", { className: clsx_default("tooltip-wrapper", type), children: description })
34
32
  ] });
35
33
  };
36
34
  Tooltip.displayName = "Tooltip";
@@ -181,7 +181,6 @@ var Video = import_react.default.forwardRef((props, ref) => {
181
181
  muted,
182
182
  loop,
183
183
  playsInline,
184
- className,
185
184
  onPlay,
186
185
  onPause,
187
186
  ...rest
@@ -222,8 +221,7 @@ var Video = import_react.default.forwardRef((props, ref) => {
222
221
  {
223
222
  className: clsx_default(
224
223
  "lib-xplat-video",
225
- showCustomOverlay && "custom-overlay",
226
- className
224
+ showCustomOverlay && "custom-overlay"
227
225
  ),
228
226
  children: [
229
227
  /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
@@ -2,9 +2,9 @@
2
2
  .lib-xplat-video {
3
3
  position: relative;
4
4
  width: 100%;
5
- border-radius: 0.25rem;
5
+ border-radius: var(--spacing-radius-sm);
6
6
  overflow: hidden;
7
- background-color: var(--xplat-neutral-900);
7
+ background-color: var(--semantic-surface-neutral-strong);
8
8
  }
9
9
  .lib-xplat-video > video {
10
10
  display: block;
@@ -30,7 +30,7 @@
30
30
  background: transparent;
31
31
  cursor: pointer;
32
32
  padding: 0;
33
- color: var(--xplat-white);
33
+ color: var(--semantic-icon-inverse);
34
34
  transition: opacity 0.2s ease, background-color 0.2s ease;
35
35
  }
36
36
  .lib-xplat-video.custom-overlay > .play-overlay::before {
@@ -46,7 +46,7 @@
46
46
  opacity: 1;
47
47
  }
48
48
  .lib-xplat-video.custom-overlay > .play-overlay:focus-visible {
49
- outline: 2px solid var(--xplat-blue-500);
49
+ outline: 2px solid var(--semantic-interaction-focus-ring);
50
50
  outline-offset: 2px;
51
51
  }
52
52
  .lib-xplat-video.custom-overlay > .play-overlay > .play-icon {
@@ -55,7 +55,7 @@
55
55
  display: flex;
56
56
  align-items: center;
57
57
  justify-content: center;
58
- font-size: 4rem;
58
+ font-size: 64px;
59
59
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
60
60
  }
61
61
  .lib-xplat-video.custom-overlay > .play-overlay.is-playing {
@@ -7,8 +7,6 @@ interface VideoProps extends Omit<React.VideoHTMLAttributes<HTMLVideoElement>, "
7
7
  poster?: string;
8
8
  /** 네이티브 컨트롤 표시 여부. false면 커스텀 재생/일시정지 오버레이만 표시 */
9
9
  controls?: boolean;
10
- /** 추가 스타일링용 클래스 */
11
- className?: string;
12
10
  }
13
11
  declare const Video: React.ForwardRefExoticComponent<VideoProps & React.RefAttributes<HTMLVideoElement>>;
14
12
 
@@ -7,8 +7,6 @@ interface VideoProps extends Omit<React.VideoHTMLAttributes<HTMLVideoElement>, "
7
7
  poster?: string;
8
8
  /** 네이티브 컨트롤 표시 여부. false면 커스텀 재생/일시정지 오버레이만 표시 */
9
9
  controls?: boolean;
10
- /** 추가 스타일링용 클래스 */
11
- className?: string;
12
10
  }
13
11
  declare const Video: React.ForwardRefExoticComponent<VideoProps & React.RefAttributes<HTMLVideoElement>>;
14
12
 
@@ -145,7 +145,6 @@ var Video = React.forwardRef((props, ref) => {
145
145
  muted,
146
146
  loop,
147
147
  playsInline,
148
- className,
149
148
  onPlay,
150
149
  onPause,
151
150
  ...rest
@@ -186,8 +185,7 @@ var Video = React.forwardRef((props, ref) => {
186
185
  {
187
186
  className: clsx_default(
188
187
  "lib-xplat-video",
189
- showCustomOverlay && "custom-overlay",
190
- className
188
+ showCustomOverlay && "custom-overlay"
191
189
  ),
192
190
  children: [
193
191
  /* @__PURE__ */ jsx29(