@x-plat/design-system 0.4.4 → 0.4.6

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 (137) hide show
  1. package/dist/components/Accordion/index.cjs +294 -294
  2. package/dist/components/Accordion/index.d.cts +0 -1
  3. package/dist/components/Accordion/index.d.ts +0 -1
  4. package/dist/components/Accordion/index.js +488 -488
  5. package/dist/components/Alert/index.cjs +2 -2
  6. package/dist/components/Alert/index.d.cts +0 -1
  7. package/dist/components/Alert/index.d.ts +0 -1
  8. package/dist/components/Alert/index.js +2 -2
  9. package/dist/components/Avatar/index.cjs +2 -3
  10. package/dist/components/Avatar/index.d.cts +0 -1
  11. package/dist/components/Avatar/index.d.ts +0 -1
  12. package/dist/components/Avatar/index.js +2 -3
  13. package/dist/components/Badge/index.cjs +2 -3
  14. package/dist/components/Badge/index.d.cts +0 -1
  15. package/dist/components/Badge/index.d.ts +0 -1
  16. package/dist/components/Badge/index.js +2 -3
  17. package/dist/components/Breadcrumb/index.cjs +2 -18
  18. package/dist/components/Breadcrumb/index.d.cts +0 -1
  19. package/dist/components/Breadcrumb/index.d.ts +0 -1
  20. package/dist/components/Breadcrumb/index.js +2 -18
  21. package/dist/components/Button/index.cjs +1 -2
  22. package/dist/components/Button/index.d.cts +1 -1
  23. package/dist/components/Button/index.d.ts +1 -1
  24. package/dist/components/Button/index.js +1 -2
  25. package/dist/components/Calendar/index.cjs +300 -301
  26. package/dist/components/Calendar/index.d.cts +0 -1
  27. package/dist/components/Calendar/index.d.ts +0 -1
  28. package/dist/components/Calendar/index.js +494 -495
  29. package/dist/components/Card/index.cjs +2 -18
  30. package/dist/components/Card/index.css +1 -2
  31. package/dist/components/Card/index.d.cts +0 -4
  32. package/dist/components/Card/index.d.ts +0 -4
  33. package/dist/components/Card/index.js +2 -18
  34. package/dist/components/CardTab/index.cjs +4 -5
  35. package/dist/components/CardTab/index.d.cts +0 -2
  36. package/dist/components/CardTab/index.d.ts +0 -2
  37. package/dist/components/CardTab/index.js +4 -5
  38. package/dist/components/CheckBox/index.cjs +293 -294
  39. package/dist/components/CheckBox/index.d.cts +1 -2
  40. package/dist/components/CheckBox/index.d.ts +1 -2
  41. package/dist/components/CheckBox/index.js +475 -476
  42. package/dist/components/Chip/index.cjs +2 -3
  43. package/dist/components/Chip/index.d.cts +0 -1
  44. package/dist/components/Chip/index.d.ts +0 -1
  45. package/dist/components/Chip/index.js +2 -3
  46. package/dist/components/DatePicker/index.cjs +346 -323
  47. package/dist/components/DatePicker/index.css +43 -0
  48. package/dist/components/DatePicker/index.js +520 -497
  49. package/dist/components/Divider/index.cjs +2 -2
  50. package/dist/components/Divider/index.d.cts +0 -1
  51. package/dist/components/Divider/index.d.ts +0 -1
  52. package/dist/components/Divider/index.js +2 -2
  53. package/dist/components/Dropdown/index.cjs +2 -2
  54. package/dist/components/Dropdown/index.d.cts +0 -1
  55. package/dist/components/Dropdown/index.d.ts +0 -1
  56. package/dist/components/Dropdown/index.js +2 -2
  57. package/dist/components/EmptyState/index.cjs +2 -18
  58. package/dist/components/EmptyState/index.d.cts +0 -1
  59. package/dist/components/EmptyState/index.d.ts +0 -1
  60. package/dist/components/EmptyState/index.js +2 -18
  61. package/dist/components/FileUpload/index.cjs +280 -281
  62. package/dist/components/FileUpload/index.d.cts +0 -1
  63. package/dist/components/FileUpload/index.d.ts +0 -1
  64. package/dist/components/FileUpload/index.js +473 -474
  65. package/dist/components/ImageSelector/index.cjs +309 -309
  66. package/dist/components/ImageSelector/index.js +474 -474
  67. package/dist/components/Input/index.cjs +6 -7
  68. package/dist/components/Input/index.d.cts +2 -2
  69. package/dist/components/Input/index.d.ts +2 -2
  70. package/dist/components/Input/index.js +6 -7
  71. package/dist/components/Pagination/index.cjs +300 -301
  72. package/dist/components/Pagination/index.d.cts +0 -1
  73. package/dist/components/Pagination/index.d.ts +0 -1
  74. package/dist/components/Pagination/index.js +494 -495
  75. package/dist/components/PopOver/index.css +3 -0
  76. package/dist/components/Progress/index.cjs +2 -3
  77. package/dist/components/Progress/index.d.cts +0 -1
  78. package/dist/components/Progress/index.d.ts +0 -1
  79. package/dist/components/Progress/index.js +2 -3
  80. package/dist/components/Radio/index.cjs +1 -3
  81. package/dist/components/Radio/index.d.cts +1 -2
  82. package/dist/components/Radio/index.d.ts +1 -2
  83. package/dist/components/Radio/index.js +1 -3
  84. package/dist/components/Select/index.cjs +294 -294
  85. package/dist/components/Select/index.d.cts +0 -1
  86. package/dist/components/Select/index.d.ts +0 -1
  87. package/dist/components/Select/index.js +488 -488
  88. package/dist/components/Skeleton/index.cjs +2 -2
  89. package/dist/components/Skeleton/index.d.cts +0 -1
  90. package/dist/components/Skeleton/index.d.ts +0 -1
  91. package/dist/components/Skeleton/index.js +2 -2
  92. package/dist/components/Spinner/index.cjs +2 -3
  93. package/dist/components/Spinner/index.d.cts +0 -1
  94. package/dist/components/Spinner/index.d.ts +0 -1
  95. package/dist/components/Spinner/index.js +2 -3
  96. package/dist/components/Steps/index.cjs +294 -295
  97. package/dist/components/Steps/index.d.cts +0 -1
  98. package/dist/components/Steps/index.d.ts +0 -1
  99. package/dist/components/Steps/index.js +476 -477
  100. package/dist/components/Swiper/index.cjs +2 -3
  101. package/dist/components/Swiper/index.d.cts +0 -1
  102. package/dist/components/Swiper/index.d.ts +0 -1
  103. package/dist/components/Swiper/index.js +2 -3
  104. package/dist/components/Switch/index.cjs +2 -4
  105. package/dist/components/Switch/index.d.cts +0 -1
  106. package/dist/components/Switch/index.d.ts +0 -1
  107. package/dist/components/Switch/index.js +2 -4
  108. package/dist/components/Table/index.cjs +22 -28
  109. package/dist/components/Table/index.d.cts +1 -6
  110. package/dist/components/Table/index.d.ts +1 -6
  111. package/dist/components/Table/index.js +22 -28
  112. package/dist/components/Tag/index.cjs +288 -289
  113. package/dist/components/Tag/index.d.cts +0 -1
  114. package/dist/components/Tag/index.d.ts +0 -1
  115. package/dist/components/Tag/index.js +472 -473
  116. package/dist/components/TextArea/index.cjs +2 -2
  117. package/dist/components/TextArea/index.d.cts +2 -1
  118. package/dist/components/TextArea/index.d.ts +2 -1
  119. package/dist/components/TextArea/index.js +2 -2
  120. package/dist/components/Video/index.cjs +1 -3
  121. package/dist/components/Video/index.d.cts +0 -2
  122. package/dist/components/Video/index.d.ts +0 -2
  123. package/dist/components/Video/index.js +1 -3
  124. package/dist/components/index.cjs +807 -809
  125. package/dist/components/index.css +47 -2
  126. package/dist/components/index.js +944 -946
  127. package/dist/index.cjs +2076 -2078
  128. package/dist/index.css +73 -2
  129. package/dist/index.js +2276 -2278
  130. package/dist/layout/Header/index.css +11 -0
  131. package/dist/layout/Layout/index.css +15 -0
  132. package/dist/layout/index.css +26 -0
  133. package/dist/tokens/index.cjs +1846 -1846
  134. package/dist/tokens/index.d.cts +187 -187
  135. package/dist/tokens/index.d.ts +187 -187
  136. package/dist/tokens/index.js +2037 -2037
  137. package/package.json +1 -1
@@ -43,11 +43,11 @@ var clsx_default = clsx;
43
43
  // src/components/Alert/Alert.tsx
44
44
  var import_jsx_runtime = require("react/jsx-runtime");
45
45
  var Alert = (props) => {
46
- const { type = "info", children, onClose, className } = props;
46
+ const { type = "info", children, onClose } = props;
47
47
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
48
48
  "div",
49
49
  {
50
- className: clsx_default("lib-xplat-alert", type, className),
50
+ className: clsx_default("lib-xplat-alert", type),
51
51
  role: "alert",
52
52
  children: [
53
53
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "content", children }),
@@ -5,7 +5,6 @@ interface AlertProps {
5
5
  type?: AlertType;
6
6
  children: React.ReactNode;
7
7
  onClose?: () => void;
8
- className?: string;
9
8
  }
10
9
  declare const Alert: React.FC<AlertProps>;
11
10
 
@@ -5,7 +5,6 @@ interface AlertProps {
5
5
  type?: AlertType;
6
6
  children: React.ReactNode;
7
7
  onClose?: () => void;
8
- className?: string;
9
8
  }
10
9
  declare const Alert: React.FC<AlertProps>;
11
10
 
@@ -17,11 +17,11 @@ var clsx_default = clsx;
17
17
  // src/components/Alert/Alert.tsx
18
18
  import { jsx, jsxs } from "react/jsx-runtime";
19
19
  var Alert = (props) => {
20
- const { type = "info", children, onClose, className } = props;
20
+ const { type = "info", children, onClose } = props;
21
21
  return /* @__PURE__ */ jsxs(
22
22
  "div",
23
23
  {
24
- className: clsx_default("lib-xplat-alert", type, className),
24
+ className: clsx_default("lib-xplat-alert", type),
25
25
  role: "alert",
26
26
  children: [
27
27
  /* @__PURE__ */ jsx("div", { className: "content", children }),
@@ -48,12 +48,11 @@ var Avatar = (props) => {
48
48
  alt,
49
49
  name,
50
50
  size = "md",
51
- color = "xplat-blue-500",
52
- className
51
+ color = "xplat-blue-500"
53
52
  } = props;
54
53
  const colorClass = color;
55
54
  const initials = name ? name.split(" ").map((s) => s[0]).join("").slice(0, 2).toUpperCase() : "";
56
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: clsx_default("lib-xplat-avatar", size, className), children: src ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src, alt: alt || name || "avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: clsx_default("fallback", colorClass), children: initials || /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" }) }) }) });
55
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: clsx_default("lib-xplat-avatar", size), children: src ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src, alt: alt || name || "avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: clsx_default("fallback", colorClass), children: initials || /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" }) }) }) });
57
56
  };
58
57
  Avatar.displayName = "Avatar";
59
58
  var Avatar_default = Avatar;
@@ -7,7 +7,6 @@ interface AvatarProps extends ColorProps {
7
7
  alt?: string;
8
8
  name?: string;
9
9
  size?: AvatarSize;
10
- className?: string;
11
10
  }
12
11
  declare const Avatar: {
13
12
  (props: AvatarProps): react_jsx_runtime.JSX.Element;
@@ -7,7 +7,6 @@ interface AvatarProps extends ColorProps {
7
7
  alt?: string;
8
8
  name?: string;
9
9
  size?: AvatarSize;
10
- className?: string;
11
10
  }
12
11
  declare const Avatar: {
13
12
  (props: AvatarProps): react_jsx_runtime.JSX.Element;
@@ -22,12 +22,11 @@ var Avatar = (props) => {
22
22
  alt,
23
23
  name,
24
24
  size = "md",
25
- color = "xplat-blue-500",
26
- className
25
+ color = "xplat-blue-500"
27
26
  } = props;
28
27
  const colorClass = color;
29
28
  const initials = name ? name.split(" ").map((s) => s[0]).join("").slice(0, 2).toUpperCase() : "";
30
- return /* @__PURE__ */ jsx("div", { className: clsx_default("lib-xplat-avatar", size, className), children: src ? /* @__PURE__ */ jsx("img", { src, alt: alt || name || "avatar" }) : /* @__PURE__ */ jsx("div", { className: clsx_default("fallback", colorClass), children: initials || /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" }) }) }) });
29
+ return /* @__PURE__ */ jsx("div", { className: clsx_default("lib-xplat-avatar", size), children: src ? /* @__PURE__ */ jsx("img", { src, alt: alt || name || "avatar" }) : /* @__PURE__ */ jsx("div", { className: clsx_default("fallback", colorClass), children: initials || /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" }) }) }) });
31
30
  };
32
31
  Avatar.displayName = "Avatar";
33
32
  var Avatar_default = Avatar;
@@ -49,13 +49,12 @@ var Badge = (props) => {
49
49
  maxCount = 99,
50
50
  dot = false,
51
51
  size = "md",
52
- color = "xplat-red-500",
53
- className
52
+ color = "xplat-red-500"
54
53
  } = props;
55
54
  const colorClass = color;
56
55
  const showBadge = dot || count !== void 0 && count > 0;
57
56
  const displayCount = count !== void 0 && count > maxCount ? `${maxCount}+` : count;
58
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: clsx_default("lib-xplat-badge", size, className), children: [
57
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: clsx_default("lib-xplat-badge", size), children: [
59
58
  children,
60
59
  showBadge && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: clsx_default("badge-indicator", colorClass, { dot }), children: !dot && displayCount })
61
60
  ] });
@@ -9,7 +9,6 @@ interface BadgeProps extends ColorProps {
9
9
  maxCount?: number;
10
10
  dot?: boolean;
11
11
  size?: BadgeSize;
12
- className?: string;
13
12
  }
14
13
  declare const Badge: {
15
14
  (props: BadgeProps): react_jsx_runtime.JSX.Element;
@@ -9,7 +9,6 @@ interface BadgeProps extends ColorProps {
9
9
  maxCount?: number;
10
10
  dot?: boolean;
11
11
  size?: BadgeSize;
12
- className?: string;
13
12
  }
14
13
  declare const Badge: {
15
14
  (props: BadgeProps): react_jsx_runtime.JSX.Element;
@@ -23,13 +23,12 @@ var Badge = (props) => {
23
23
  maxCount = 99,
24
24
  dot = false,
25
25
  size = "md",
26
- color = "xplat-red-500",
27
- className
26
+ color = "xplat-red-500"
28
27
  } = props;
29
28
  const colorClass = color;
30
29
  const showBadge = dot || count !== void 0 && count > 0;
31
30
  const displayCount = count !== void 0 && count > maxCount ? `${maxCount}+` : count;
32
- return /* @__PURE__ */ jsxs("div", { className: clsx_default("lib-xplat-badge", size, className), children: [
31
+ return /* @__PURE__ */ jsxs("div", { className: clsx_default("lib-xplat-badge", size), children: [
33
32
  children,
34
33
  showBadge && /* @__PURE__ */ jsx("span", { className: clsx_default("badge-indicator", colorClass, { dot }), children: !dot && displayCount })
35
34
  ] });
@@ -24,27 +24,11 @@ __export(Breadcrumb_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(Breadcrumb_exports);
26
26
 
27
- // ../../node_modules/clsx/dist/clsx.mjs
28
- function r(e) {
29
- var t, f, n = "";
30
- if ("string" == typeof e || "number" == typeof e) n += e;
31
- else if ("object" == typeof e) if (Array.isArray(e)) {
32
- var o = e.length;
33
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
34
- } else for (f in e) e[f] && (n && (n += " "), n += f);
35
- return n;
36
- }
37
- function clsx() {
38
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
39
- return n;
40
- }
41
- var clsx_default = clsx;
42
-
43
27
  // src/components/Breadcrumb/Breadcrumb.tsx
44
28
  var import_jsx_runtime = require("react/jsx-runtime");
45
29
  var Breadcrumb = (props) => {
46
- const { items, separator = "/", className } = props;
47
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", { className: clsx_default("lib-xplat-breadcrumb", className), "aria-label": "\uACBD\uB85C", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ol", { children: items.map((item, index) => {
30
+ const { items, separator = "/" } = props;
31
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", { className: "lib-xplat-breadcrumb", "aria-label": "\uACBD\uB85C", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ol", { children: items.map((item, index) => {
48
32
  const isLast = index === items.length - 1;
49
33
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", { children: [
50
34
  isLast ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "current", "aria-current": "page", children: item.label }) : item.href ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { href: item.href, className: "link", children: item.label }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { className: "link", onClick: item.onClick, children: item.label }),
@@ -8,7 +8,6 @@ interface BreadcrumbItem {
8
8
  interface BreadcrumbProps {
9
9
  items: BreadcrumbItem[];
10
10
  separator?: React.ReactNode;
11
- className?: string;
12
11
  }
13
12
  declare const Breadcrumb: React.FC<BreadcrumbProps>;
14
13
 
@@ -8,7 +8,6 @@ interface BreadcrumbItem {
8
8
  interface BreadcrumbProps {
9
9
  items: BreadcrumbItem[];
10
10
  separator?: React.ReactNode;
11
- className?: string;
12
11
  }
13
12
  declare const Breadcrumb: React.FC<BreadcrumbProps>;
14
13
 
@@ -1,24 +1,8 @@
1
- // ../../node_modules/clsx/dist/clsx.mjs
2
- function r(e) {
3
- var t, f, n = "";
4
- if ("string" == typeof e || "number" == typeof e) n += e;
5
- else if ("object" == typeof e) if (Array.isArray(e)) {
6
- var o = e.length;
7
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
8
- } else for (f in e) e[f] && (n && (n += " "), n += f);
9
- return n;
10
- }
11
- function clsx() {
12
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
13
- return n;
14
- }
15
- var clsx_default = clsx;
16
-
17
1
  // src/components/Breadcrumb/Breadcrumb.tsx
18
2
  import { jsx, jsxs } from "react/jsx-runtime";
19
3
  var Breadcrumb = (props) => {
20
- const { items, separator = "/", className } = props;
21
- return /* @__PURE__ */ jsx("nav", { className: clsx_default("lib-xplat-breadcrumb", className), "aria-label": "\uACBD\uB85C", children: /* @__PURE__ */ jsx("ol", { children: items.map((item, index) => {
4
+ const { items, separator = "/" } = props;
5
+ return /* @__PURE__ */ jsx("nav", { className: "lib-xplat-breadcrumb", "aria-label": "\uACBD\uB85C", children: /* @__PURE__ */ jsx("ol", { children: items.map((item, index) => {
22
6
  const isLast = index === items.length - 1;
23
7
  return /* @__PURE__ */ jsxs("li", { children: [
24
8
  isLast ? /* @__PURE__ */ jsx("span", { className: "current", "aria-current": "page", children: item.label }) : item.href ? /* @__PURE__ */ jsx("a", { href: item.href, className: "link", children: item.label }) : /* @__PURE__ */ jsx("button", { className: "link", onClick: item.onClick, children: item.label }),
@@ -49,14 +49,13 @@ var Button = (props) => {
49
49
  size = "md",
50
50
  color = "xplat-black",
51
51
  disabled,
52
- className,
53
52
  ...rest
54
53
  } = props;
55
54
  const colorClass = color;
56
55
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
57
56
  "button",
58
57
  {
59
- className: clsx_default("lib-xplat-button", type, size, colorClass, className),
58
+ className: clsx_default("lib-xplat-button", type, size, colorClass),
60
59
  disabled,
61
60
  ...rest,
62
61
  children
@@ -5,7 +5,7 @@ import { a as ColorProps } from '../../colors-CY4JXVHj.cjs';
5
5
 
6
6
  type ButtonType = "primary" | "secondary";
7
7
  type ButtonSize = "sm" | "md" | "lg";
8
- interface ButtonProps extends ButtonAttributes, ColorProps {
8
+ interface ButtonProps extends Omit<ButtonAttributes, "className">, ColorProps {
9
9
  children: React.ReactNode;
10
10
  type?: ButtonType;
11
11
  size?: ButtonSize;
@@ -5,7 +5,7 @@ import { a as ColorProps } from '../../colors-CY4JXVHj.js';
5
5
 
6
6
  type ButtonType = "primary" | "secondary";
7
7
  type ButtonSize = "sm" | "md" | "lg";
8
- interface ButtonProps extends ButtonAttributes, ColorProps {
8
+ interface ButtonProps extends Omit<ButtonAttributes, "className">, ColorProps {
9
9
  children: React.ReactNode;
10
10
  type?: ButtonType;
11
11
  size?: ButtonSize;
@@ -23,14 +23,13 @@ var Button = (props) => {
23
23
  size = "md",
24
24
  color = "xplat-black",
25
25
  disabled,
26
- className,
27
26
  ...rest
28
27
  } = props;
29
28
  const colorClass = color;
30
29
  return /* @__PURE__ */ jsx(
31
30
  "button",
32
31
  {
33
- className: clsx_default("lib-xplat-button", type, size, colorClass, className),
32
+ className: clsx_default("lib-xplat-button", type, size, colorClass),
34
33
  disabled,
35
34
  ...rest,
36
35
  children