@konstructio/ui 0.0.8 → 0.0.10

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 (41) hide show
  1. package/dist/{Modal-Ca3bkvvt.js → Modal-L73dmnHv.js} +240 -235
  2. package/dist/components/AlertDialog/AlertDialog.js +37 -30
  3. package/dist/components/AlertDialog/AlertDialog.types.d.ts +7 -2
  4. package/dist/components/Autocomplete/Autocomplete.js +42 -37
  5. package/dist/components/Autocomplete/components/List/List.js +60 -0
  6. package/dist/components/Autocomplete/components/{List.types.d.ts → List/List.types.d.ts} +3 -3
  7. package/dist/components/Autocomplete/components/{List.variants.js → List/List.variants.js} +1 -1
  8. package/dist/components/Autocomplete/components/index.d.ts +1 -0
  9. package/dist/components/Autocomplete/components/index.js +4 -0
  10. package/dist/components/Breadcrumb/Breadcrumb.js +44 -39
  11. package/dist/components/Card/Card.js +30 -25
  12. package/dist/components/Checkbox/Checkbox.js +56 -51
  13. package/dist/components/Dropdown/components/ListItem/ListItem.js +18 -17
  14. package/dist/components/Dropdown/components/Wrapper.js +15 -15
  15. package/dist/components/Input/Input.js +4 -4
  16. package/dist/components/Modal/Modal.js +1 -1
  17. package/dist/components/Modal/components/Footer/Footer.js +5 -4
  18. package/dist/components/Modal/components/Header/Header.js +4 -3
  19. package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -3
  20. package/dist/components/Modal/components/index.js +1 -1
  21. package/dist/components/NumberInput/NumberInput.js +78 -69
  22. package/dist/components/ProgressBar/ProgressBar.js +6 -6
  23. package/dist/components/Radio/Radio.js +21 -18
  24. package/dist/components/RadioGroup/RadioGroup.js +26 -22
  25. package/dist/components/RadioGroup/RadioGroup.types.d.ts +4 -3
  26. package/dist/components/Range/Range.js +40 -40
  27. package/dist/components/Slider/Slider.js +25 -25
  28. package/dist/components/Switch/Switch.js +30 -30
  29. package/dist/components/Tag/Tag.js +5 -4
  30. package/dist/components/TagSelect/TagSelect.js +24 -24
  31. package/dist/components/TextArea/TextArea.js +17 -16
  32. package/dist/components/Toast/Toast.js +103 -97
  33. package/dist/components/Tooltip/Tooltip.js +12 -12
  34. package/dist/components/index.js +1 -1
  35. package/dist/index.js +1 -1
  36. package/dist/package.json +16 -3
  37. package/package.json +16 -3
  38. package/dist/components/Autocomplete/components/List.js +0 -57
  39. /package/dist/components/Autocomplete/components/{List.d.ts → List/List.d.ts} +0 -0
  40. /package/dist/components/Autocomplete/components/{List.types.js → List/List.types.js} +0 -0
  41. /package/dist/components/Autocomplete/components/{List.variants.d.ts → List/List.variants.d.ts} +0 -0
@@ -1,47 +1,54 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { R as h, A as f, P as x, O as g, C as u, T as C, D as b, a as y, b as O } from "../../AlertDialogTrigger-D4Tm_9M0.js";
2
+ import { R as C, A as b, P as y, O as N, C as O, T as A, D, a as T, b as v } from "../../AlertDialogTrigger-D4Tm_9M0.js";
3
3
  import "../../contexts/theme.context.js";
4
- import { useTheme as A } from "../../contexts/theme.hook.js";
4
+ import { useTheme as j } from "../../contexts/theme.hook.js";
5
5
  import "react";
6
6
  import "../../js.cookie-OLEfuq_g.js";
7
- import { Button as a } from "../Button/Button.js";
8
- import { useAlertDialog as D } from "./hooks/useAlertDialog.js";
9
- const B = ({
10
- buttonText: l,
11
- theme: n,
12
- title: o,
13
- description: i,
14
- onConfirm: s
7
+ import { cn as r } from "../../utils/index.js";
8
+ import { Button as l } from "../Button/Button.js";
9
+ import { useAlertDialog as k } from "./hooks/useAlertDialog.js";
10
+ const G = ({
11
+ buttonCancelClassName: o,
12
+ buttonCancelText: i = "Cancel",
13
+ buttonConfirmClassName: s,
14
+ buttonConfirmText: c = "OK",
15
+ buttonText: m,
16
+ description: d,
17
+ theme: a,
18
+ title: p,
19
+ onConfirm: h
15
20
  }) => {
16
- const { theme: r } = A(), { isOpen: c, handleCancel: d, handleConfirm: m, handleOpen: p } = D({
17
- onConfirm: s
21
+ const { theme: n } = j(), { isOpen: f, handleCancel: x, handleConfirm: g, handleOpen: u } = k({
22
+ onConfirm: h
18
23
  });
19
- return /* @__PURE__ */ t(h, { open: c, children: [
20
- /* @__PURE__ */ e(f, { text: l, theme: n, onOpen: p }),
21
- /* @__PURE__ */ t(x, { children: [
22
- /* @__PURE__ */ e(g, { className: "bg-black opacity-75 inset-0 fixed" }),
23
- /* @__PURE__ */ t(u, { className: "bg-white rounded-md fixed top-1/2 left-1/2 -translate-y-2/4 -translate-x-2/4 flex flex-col gap-8 p-6", children: [
24
- /* @__PURE__ */ e(C, { className: "font-bold text-center text-2xl", children: o }),
25
- /* @__PURE__ */ e(b, { children: i }),
24
+ return /* @__PURE__ */ t(C, { open: f, children: [
25
+ /* @__PURE__ */ e(b, { text: m, theme: a, onOpen: u }),
26
+ /* @__PURE__ */ t(y, { children: [
27
+ /* @__PURE__ */ e(N, { className: "bg-black opacity-75 inset-0 fixed" }),
28
+ /* @__PURE__ */ t(O, { className: "bg-white rounded-md fixed top-1/2 left-1/2 -translate-y-2/4 -translate-x-2/4 flex flex-col gap-8 p-6", children: [
29
+ /* @__PURE__ */ e(A, { className: "font-bold text-center text-2xl", children: p }),
30
+ /* @__PURE__ */ e(D, { children: d }),
26
31
  /* @__PURE__ */ t("div", { className: "flex flex-row gap-5 justify-end", children: [
27
- /* @__PURE__ */ e(y, { asChild: !0, children: /* @__PURE__ */ e(
28
- a,
32
+ /* @__PURE__ */ e(T, { asChild: !0, children: /* @__PURE__ */ e(
33
+ l,
29
34
  {
30
35
  type: "button",
31
- theme: n ?? r,
36
+ theme: a ?? n,
32
37
  variant: "secondary",
33
- onClick: d,
34
- children: "Cancel"
38
+ className: r(o),
39
+ onClick: x,
40
+ children: i
35
41
  }
36
42
  ) }),
37
- /* @__PURE__ */ e(O, { asChild: !0, children: /* @__PURE__ */ e(
38
- a,
43
+ /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(
44
+ l,
39
45
  {
40
46
  type: "button",
41
- theme: n ?? r,
47
+ theme: a ?? n,
42
48
  variant: "danger",
43
- onClick: m,
44
- children: "OK"
49
+ className: r(s),
50
+ onClick: g,
51
+ children: c
45
52
  }
46
53
  ) })
47
54
  ] })
@@ -50,5 +57,5 @@ const B = ({
50
57
  ] });
51
58
  };
52
59
  export {
53
- B as AlertDialog
60
+ G as AlertDialog
54
61
  };
@@ -2,10 +2,15 @@ import { PropsWithChildren } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import { buttonAlertDialogVariants } from './AlertDialog.variants';
4
4
  export interface AlertDialogProps extends PropsWithChildren, VariantProps<typeof buttonAlertDialogVariants> {
5
- className?: string;
5
+ buttonCancelClassName?: string;
6
+ buttonCancelText?: string;
7
+ buttonConfirmClassName?: string;
8
+ buttonConfirmText?: string;
6
9
  buttonText?: string;
7
- title?: string;
10
+ className?: string;
8
11
  description?: string;
12
+ o?: string;
13
+ title?: string;
9
14
  onConfirm?: () => void;
10
15
  }
11
16
  export type UseAlertiDialogProps = {
@@ -1,44 +1,47 @@
1
- import { jsxs as C, jsx as t } from "react/jsx-runtime";
2
- import { forwardRef as R, useRef as p, useId as A, useImperativeHandle as O } from "react";
1
+ import { jsxs as R, jsx as t } from "react/jsx-runtime";
2
+ import { forwardRef as A, useRef as p, useId as O, useImperativeHandle as T } from "react";
3
3
  import "../../contexts/theme.context.js";
4
- import { useTheme as T } from "../../contexts/theme.hook.js";
4
+ import { useTheme as V } from "../../contexts/theme.hook.js";
5
5
  import "../../js.cookie-OLEfuq_g.js";
6
- import { useAutocomplete as V } from "./hooks/useAutocomplete.js";
7
- import { List as g } from "./components/List.js";
8
- import { labelVariants as j, autocompleteVariants as y } from "./Autocomplete.variants.js";
9
- const I = R(
6
+ import { cn as c } from "../../utils/index.js";
7
+ import { useAutocomplete as g } from "./hooks/useAutocomplete.js";
8
+ import { List as j } from "./components/List/List.js";
9
+ import { labelVariants as y, autocompleteVariants as I } from "./Autocomplete.variants.js";
10
+ const k = A(
10
11
  ({
11
- autoComplete: c = "off",
12
+ autoComplete: u = "off",
12
13
  className: a,
13
14
  label: n,
14
- labelClassName: u,
15
+ labelClassName: d,
15
16
  name: l,
16
- options: d,
17
+ options: f,
17
18
  placeHolderEmptyValues: h = "No values...",
18
- placeHolderEmptyValuesClassName: f,
19
- placeholder: x,
20
- theme: w,
19
+ placeHolderEmptyValuesClassName: x,
20
+ placeholder: w,
21
+ theme: N,
21
22
  variant: r,
22
- onChange: N
23
- }, b) => {
24
- const s = p(null), o = p(null), i = A(), { theme: v } = T(), m = w ?? v;
25
- O(b, () => o.current, [o]);
26
- const e = V({
27
- options: d,
23
+ onChange: b
24
+ }, v) => {
25
+ const s = p(null), o = p(null), i = O(), { theme: C } = V(), m = N ?? C;
26
+ T(v, () => o.current, [o]);
27
+ const e = g({
28
+ options: f,
28
29
  inputRef: o,
29
30
  wrapperRef: s,
30
- onChange: N
31
+ onChange: b
31
32
  });
32
- return /* @__PURE__ */ C("div", { ref: s, className: "relative flex flex-col", children: [
33
+ return /* @__PURE__ */ R("div", { ref: s, className: "relative flex flex-col", children: [
33
34
  n ? /* @__PURE__ */ t(
34
35
  "label",
35
36
  {
36
37
  htmlFor: l ?? i,
37
- className: j({
38
- theme: m,
39
- variant: r,
40
- className: u
41
- }),
38
+ className: c(
39
+ y({
40
+ theme: m,
41
+ variant: r,
42
+ className: d
43
+ })
44
+ ),
42
45
  children: n
43
46
  }
44
47
  ) : null,
@@ -50,27 +53,29 @@ const I = R(
50
53
  type: "text",
51
54
  name: l,
52
55
  role: "combobox",
53
- autoComplete: c,
54
- className: y({
55
- theme: m,
56
- variant: r,
57
- className: a
58
- }),
56
+ autoComplete: u,
57
+ className: c(
58
+ I({
59
+ theme: m,
60
+ variant: r,
61
+ className: a
62
+ })
63
+ ),
59
64
  onChange: e.handleChange,
60
65
  value: e.value,
61
- placeholder: x,
66
+ placeholder: w,
62
67
  "aria-expanded": e.showOptions ? "true" : "false"
63
68
  }
64
69
  ),
65
70
  e.showOptions && /* @__PURE__ */ t("div", { className: "absolute z-10 top-full w-full rounded-md mt-1 border shadow-sm", children: /* @__PURE__ */ t(
66
- g,
71
+ j,
67
72
  {
68
73
  className: a,
69
74
  inputRef: o,
70
75
  wrapperRef: s,
71
76
  options: e.newOptions,
72
77
  placeholder: h,
73
- placeholderClassName: f,
78
+ placeholderClassName: x,
74
79
  variant: r,
75
80
  theme: m,
76
81
  onClick: e.handleSelectValue
@@ -79,7 +84,7 @@ const I = R(
79
84
  ] });
80
85
  }
81
86
  );
82
- I.displayName = "Autocomplete";
87
+ k.displayName = "Autocomplete";
83
88
  export {
84
- I as Autocomplete
89
+ k as Autocomplete
85
90
  };
@@ -0,0 +1,60 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { useRef as u } from "react";
3
+ import { cn as l } from "../../../../utils/index.js";
4
+ import { useNavigationUlList as b } from "../../hooks/useNavigationList.js";
5
+ import { emptyListVariants as N, listVariants as d, listItemVariants as x, buttonVariants as V } from "./List.variants.js";
6
+ const R = ({
7
+ className: e,
8
+ inputRef: a,
9
+ options: o,
10
+ placeholder: m,
11
+ placeholderClassName: c,
12
+ variant: t,
13
+ theme: r,
14
+ wrapperRef: f,
15
+ onClick: p
16
+ }) => {
17
+ const n = u(null);
18
+ return b({ ulRef: n, inputRef: a, wrapperRef: f, options: o }), o.length === 0 ? /* @__PURE__ */ s(
19
+ "span",
20
+ {
21
+ className: l(
22
+ N({
23
+ theme: r,
24
+ variant: t,
25
+ className: c
26
+ })
27
+ ),
28
+ children: m
29
+ }
30
+ ) : /* @__PURE__ */ s(
31
+ "ul",
32
+ {
33
+ ref: n,
34
+ role: "listbox",
35
+ className: l(d({ variant: t, theme: r, className: e })),
36
+ children: o.map(({ value: i }) => /* @__PURE__ */ s(
37
+ "li",
38
+ {
39
+ role: "option",
40
+ tabIndex: 0,
41
+ className: l(x({ theme: r, variant: t })),
42
+ children: /* @__PURE__ */ s(
43
+ "button",
44
+ {
45
+ type: "button",
46
+ role: "button",
47
+ className: l(V({ theme: r, variant: t })),
48
+ onClick: () => p(i),
49
+ children: i
50
+ }
51
+ )
52
+ },
53
+ i
54
+ ))
55
+ }
56
+ );
57
+ };
58
+ export {
59
+ R as List
60
+ };
@@ -1,7 +1,7 @@
1
- import { ComponentRef, ReactNode, RefObject } from 'react';
2
1
  import { VariantProps } from 'class-variance-authority';
3
- import { Option } from '../Autocomplete.types';
4
- import { autocompleteVariants } from '../Autocomplete.variants';
2
+ import { ComponentRef, ReactNode, RefObject } from 'react';
3
+ import { Option } from '../../Autocomplete.types';
4
+ import { autocompleteVariants } from '../../Autocomplete.variants';
5
5
  export interface Props extends VariantProps<typeof autocompleteVariants> {
6
6
  className?: string;
7
7
  inputRef: RefObject<ComponentRef<'input'> | null>;
@@ -1,4 +1,4 @@
1
- import { c as t } from "../../../index-BNmRGtA6.js";
1
+ import { c as t } from "../../../../index-BNmRGtA6.js";
2
2
  const a = t(["max-h-[250px]", "overflow-y-auto"], {
3
3
  variants: {
4
4
  variant: {
@@ -0,0 +1 @@
1
+ export * from './List/List';
@@ -0,0 +1,4 @@
1
+ import { List as t } from "./List/List.js";
2
+ export {
3
+ t as List
4
+ };
@@ -1,24 +1,25 @@
1
- import { jsx as a, jsxs as v, Fragment as g } from "react/jsx-runtime";
2
- import u, { forwardRef as b, Fragment as y } from "react";
1
+ import { jsx as a, jsxs as g, Fragment as b } from "react/jsx-runtime";
2
+ import d, { forwardRef as y, Fragment as O } from "react";
3
3
  import "../../contexts/theme.context.js";
4
- import { useTheme as O } from "../../contexts/theme.hook.js";
4
+ import { useTheme as j } from "../../contexts/theme.hook.js";
5
5
  import "../../js.cookie-OLEfuq_g.js";
6
- import { breadcrumbVariants as j, breadcrumbItemVariants as w, chevronVariants as x } from "./Breadcrumb.variants.js";
7
- import { u as P, L as k } from "../../useBreadcrumb-DxYsZvj_.js";
8
- import { P as m } from "../../index-D68N8v8R.js";
9
- function h() {
10
- return h = Object.assign || function(e) {
6
+ import { cn as h } from "../../utils/index.js";
7
+ import { breadcrumbVariants as w, breadcrumbItemVariants as x, chevronVariants as P } from "./Breadcrumb.variants.js";
8
+ import { u as k, L as N } from "../../useBreadcrumb-DxYsZvj_.js";
9
+ import { P as c } from "../../index-D68N8v8R.js";
10
+ function f() {
11
+ return f = Object.assign || function(e) {
11
12
  for (var n = 1; n < arguments.length; n++) {
12
13
  var t = arguments[n];
13
14
  for (var r in t)
14
15
  Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
15
16
  }
16
17
  return e;
17
- }, h.apply(this, arguments);
18
+ }, f.apply(this, arguments);
18
19
  }
19
- function N(e, n) {
20
+ function T(e, n) {
20
21
  if (e == null) return {};
21
- var t = T(e, n), r, o;
22
+ var t = L(e, n), r, o;
22
23
  if (Object.getOwnPropertySymbols) {
23
24
  var i = Object.getOwnPropertySymbols(e);
24
25
  for (o = 0; o < i.length; o++)
@@ -26,16 +27,16 @@ function N(e, n) {
26
27
  }
27
28
  return t;
28
29
  }
29
- function T(e, n) {
30
+ function L(e, n) {
30
31
  if (e == null) return {};
31
32
  var t = {}, r = Object.keys(e), o, i;
32
33
  for (i = 0; i < r.length; i++)
33
34
  o = r[i], !(n.indexOf(o) >= 0) && (t[o] = e[o]);
34
35
  return t;
35
36
  }
36
- var f = b(function(e, n) {
37
- var t = e.color, r = t === void 0 ? "currentColor" : t, o = e.size, i = o === void 0 ? 24 : o, s = N(e, ["color", "size"]);
38
- return /* @__PURE__ */ u.createElement("svg", h({
37
+ var p = y(function(e, n) {
38
+ var t = e.color, r = t === void 0 ? "currentColor" : t, o = e.size, i = o === void 0 ? 24 : o, s = T(e, ["color", "size"]);
39
+ return /* @__PURE__ */ d.createElement("svg", f({
39
40
  ref: n,
40
41
  xmlns: "http://www.w3.org/2000/svg",
41
42
  width: i,
@@ -46,60 +47,64 @@ var f = b(function(e, n) {
46
47
  strokeWidth: "2",
47
48
  strokeLinecap: "round",
48
49
  strokeLinejoin: "round"
49
- }, s), /* @__PURE__ */ u.createElement("polyline", {
50
+ }, s), /* @__PURE__ */ d.createElement("polyline", {
50
51
  points: "9 18 15 12 9 6"
51
52
  }));
52
53
  });
53
- f.propTypes = {
54
- color: m.string,
55
- size: m.oneOfType([m.string, m.number])
54
+ p.propTypes = {
55
+ color: c.string,
56
+ size: c.oneOfType([c.string, c.number])
56
57
  };
57
- f.displayName = "ChevronRight";
58
- const I = ({
58
+ p.displayName = "ChevronRight";
59
+ const W = ({
59
60
  className: e,
60
61
  size: n,
61
62
  steps: t,
62
63
  theme: r
63
64
  }) => {
64
- const { theme: o } = O(), { isInsideRouter: i } = P(), s = r ?? o;
65
+ const { theme: o } = j(), { isInsideRouter: i } = k(), s = r ?? o;
65
66
  return /* @__PURE__ */ a("nav", { "aria-label": "breadcrumb", children: /* @__PURE__ */ a(
66
67
  "ol",
67
68
  {
68
- className: j({ theme: s, className: e, size: n }),
69
- children: t.map(({ label: l, to: c, target: p }, d) => /* @__PURE__ */ v(y, { children: [
69
+ className: h(
70
+ w({ theme: s, className: e, size: n })
71
+ ),
72
+ children: t.map(({ label: m, to: l, target: u }, v) => /* @__PURE__ */ g(O, { children: [
70
73
  /* @__PURE__ */ a(
71
74
  "li",
72
75
  {
73
- className: w({ theme: s, size: n }),
74
- children: c ? /* @__PURE__ */ a(g, { children: i ? /* @__PURE__ */ a(
75
- k,
76
+ className: h(
77
+ x({ theme: s, size: n })
78
+ ),
79
+ children: l ? /* @__PURE__ */ a(b, { children: i ? /* @__PURE__ */ a(
80
+ N,
76
81
  {
77
- to: c,
78
- target: p,
82
+ to: l,
83
+ target: u,
79
84
  className: "hover:underline hover:underline-offset-2",
80
- children: l
85
+ children: m
81
86
  }
82
87
  ) : /* @__PURE__ */ a(
83
88
  "a",
84
89
  {
85
- href: c,
86
- target: p,
90
+ href: l,
91
+ target: u,
87
92
  className: "hover:underline hover:underline-offset-2",
88
- children: l
93
+ children: m
89
94
  }
90
- ) }) : /* @__PURE__ */ a("span", { "aria-current": "page", children: l })
95
+ ) }) : /* @__PURE__ */ a("span", { "aria-current": "page", children: m })
91
96
  }
92
97
  ),
93
- d !== t.length - 1 && /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(
94
- f,
98
+ v !== t.length - 1 && /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(
99
+ p,
95
100
  {
96
- className: x({ size: n, theme: s })
101
+ className: h(P({ size: n, theme: s }))
97
102
  }
98
103
  ) })
99
- ] }, l))
104
+ ] }, m))
100
105
  }
101
106
  ) });
102
107
  };
103
108
  export {
104
- I as Breadcrumb
109
+ W as Breadcrumb
105
110
  };
@@ -1,39 +1,44 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { forwardRef as p } from "react";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { forwardRef as c } from "react";
3
3
  import "../../contexts/theme.context.js";
4
- import { useTheme as c } from "../../contexts/theme.hook.js";
4
+ import { useTheme as f } from "../../contexts/theme.hook.js";
5
5
  import "../../js.cookie-OLEfuq_g.js";
6
- import { cardBaseVariants as f, cardVariants as n } from "./Card.variants.js";
7
- const h = p(
8
- ({ className: o, theme: r, isActive: m, canHover: a, wrapperClassName: s, ...i }, d) => {
9
- const { theme: e } = c();
10
- return /* @__PURE__ */ t(
6
+ import { cn as t } from "../../utils/index.js";
7
+ import { cardBaseVariants as n, cardVariants as h } from "./Card.variants.js";
8
+ const l = c(
9
+ ({ className: s, theme: r, isActive: m, canHover: a, wrapperClassName: i, ...d }, p) => {
10
+ const { theme: e } = f();
11
+ return /* @__PURE__ */ o(
11
12
  "div",
12
13
  {
13
- className: f({
14
- canHover: a,
15
- className: s,
16
- isActive: m,
17
- theme: r ?? e
18
- }),
19
- children: /* @__PURE__ */ t(
14
+ className: t(
15
+ n({
16
+ canHover: a,
17
+ className: i,
18
+ isActive: m,
19
+ theme: r ?? e
20
+ })
21
+ ),
22
+ children: /* @__PURE__ */ o(
20
23
  "div",
21
24
  {
22
- ref: d,
23
- className: n({
24
- className: o,
25
- theme: r ?? e,
26
- isActive: m,
27
- canHover: a
28
- }),
29
- ...i
25
+ ref: p,
26
+ className: t(
27
+ h({
28
+ className: s,
29
+ theme: r ?? e,
30
+ isActive: m,
31
+ canHover: a
32
+ })
33
+ ),
34
+ ...d
30
35
  }
31
36
  )
32
37
  }
33
38
  );
34
39
  }
35
40
  );
36
- h.displayName = "Card";
41
+ l.displayName = "Card";
37
42
  export {
38
- h as Card
43
+ l as Card
39
44
  };