@konstructio/ui 0.1.2-alpha.41 → 0.1.2-alpha.44

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 (113) hide show
  1. package/dist/{Modal-CtAG97Ts.js → Modal-CjC-CIJ8.js} +2 -2
  2. package/dist/chevron-right-DYvXLeql.js +7 -0
  3. package/dist/{chevron-up-CRyLc5Ml.js → chevron-up-DEfvgPCw.js} +1 -1
  4. package/dist/components/Alert/Alert.js +2 -2
  5. package/dist/components/AlertDialog/AlertDialog.js +75 -49
  6. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +3 -2
  7. package/dist/components/AlertDialog/components/index.js +1 -1
  8. package/dist/components/Badge/Badge.js +31 -30
  9. package/dist/components/Badge/Badge.variants.js +53 -16
  10. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  11. package/dist/components/Breadcrumb/Breadcrumb.variants.js +3 -3
  12. package/dist/components/Breadcrumb/components/Item/Item.variants.js +25 -14
  13. package/dist/components/Button/Button.js +1 -1
  14. package/dist/components/Card/Card.variants.js +4 -5
  15. package/dist/components/Checkbox/Checkbox.js +4 -4
  16. package/dist/components/Checkbox/Checkbox.variants.js +5 -1
  17. package/dist/components/Command/Command.js +2 -2
  18. package/dist/components/Command/components/Command.js +1 -1
  19. package/dist/components/Command/components/CommandEmpty.js +1 -1
  20. package/dist/components/Command/components/CommandGroup.js +1 -1
  21. package/dist/components/Command/components/CommandInput.js +2 -2
  22. package/dist/components/Command/components/CommandItem.js +1 -1
  23. package/dist/components/Command/components/CommandList.js +1 -1
  24. package/dist/components/Command/components/CommandSeparator.js +1 -1
  25. package/dist/components/Command/components/DialogContent.js +2 -2
  26. package/dist/components/Command/components/DialogOverlay.js +1 -1
  27. package/dist/components/Datepicker/DatePicker.js +1231 -1047
  28. package/dist/components/Dropdown/Dropdown.js +13 -13
  29. package/dist/components/Dropdown/Dropdown.variants.js +7 -6
  30. package/dist/components/Dropdown/components/List/List.js +42 -20
  31. package/dist/components/Dropdown/components/List/List.variants.js +5 -5
  32. package/dist/components/Dropdown/components/ListItem/ListItem.js +20 -20
  33. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +2 -2
  34. package/dist/components/Dropdown/components/Wrapper.js +60 -46
  35. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  36. package/dist/components/Filter/Filter.variants.js +6 -5
  37. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +73 -46
  38. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +2 -2
  39. package/dist/components/Filter/components/ResetButton/ResetButton.js +28 -14
  40. package/dist/components/Input/Input.js +1 -1
  41. package/dist/components/Input/Input.variants.js +2 -2
  42. package/dist/components/Modal/Modal.js +1 -1
  43. package/dist/components/Modal/components/Body/Body.js +1 -1
  44. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  45. package/dist/components/Modal/components/Header/Header.js +1 -1
  46. package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -3
  47. package/dist/components/Modal/components/index.js +1 -1
  48. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
  49. package/dist/components/NumberInput/NumberInput.js +2 -2
  50. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +358 -315
  51. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +1 -1
  52. package/dist/components/PhoneNumberInput/components/Wrapper.js +58 -58
  53. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +2 -2
  54. package/dist/components/PhoneNumberInput/utils/index.js +1 -1
  55. package/dist/components/PieChart/PieChart.js +4 -4
  56. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  57. package/dist/components/Range/Range.js +1 -1
  58. package/dist/components/Slider/Slider.js +1 -1
  59. package/dist/components/Switch/Switch.js +2 -2
  60. package/dist/components/Tabs/Tabs.js +1 -1
  61. package/dist/components/Tabs/Tabs.variants.js +3 -2
  62. package/dist/components/Tabs/components/Content.js +1 -1
  63. package/dist/components/Tabs/components/List.js +1 -1
  64. package/dist/components/Tabs/components/Trigger.js +1 -1
  65. package/dist/components/Tag/Tag.js +1 -1
  66. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +2 -2
  67. package/dist/components/TimePicker/TimePicker.js +1 -1
  68. package/dist/components/TimePicker/TimePicker.variants.js +20 -13
  69. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +23 -16
  70. package/dist/components/TimePicker/components/WrapperList/WrapperList.js +53 -45
  71. package/dist/components/Toast/Toast.js +8 -8
  72. package/dist/components/Tooltip/Tooltip.js +1 -1
  73. package/dist/components/Typography/Typography.js +11 -9
  74. package/dist/components/VirtualizedTable/VirtualizedTable.js +58 -54
  75. package/dist/components/VirtualizedTable/components/Actions/Actions.js +58 -26
  76. package/dist/components/VirtualizedTable/components/Body/Body.js +72 -46
  77. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +80 -77
  78. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +20 -20
  79. package/dist/components/VirtualizedTable/components/Filter/Filter.js +37 -40
  80. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +19 -18
  81. package/dist/components/VirtualizedTable/components/Header/Header.js +49 -31
  82. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +36 -23
  83. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +74 -35
  84. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +1 -1
  85. package/dist/components/index.js +1 -1
  86. package/dist/{index-mPY_8Y5v.js → index-AV6ZtGhy.js} +1 -1
  87. package/dist/{index-CigKKiZS.js → index-BG8O18ZY.js} +5 -3
  88. package/dist/{index-DrWQH0QF.js → index-BKjcReYh.js} +2 -2
  89. package/dist/{index--V_ZsiQe.js → index-BOE_3f_Z.js} +4 -4
  90. package/dist/{index-Dbt2vBmS.js → index-BlSRBdPy.js} +1 -1
  91. package/dist/{index-C3tHPg8y.js → index-BmVmDQGH.js} +2 -2
  92. package/dist/{index-BtQfgaSF.js → index-BvoZGpli.js} +2 -2
  93. package/dist/{index-2hB40Iuc.js → index-Byr10W8m.js} +6 -6
  94. package/dist/index-CPU02rhe.js +134 -0
  95. package/dist/{index-Ds6U2x4Z.js → index-CeZcoQDw.js} +11 -11
  96. package/dist/{index-CdwPV0FE.js → index-D9SSJ6om.js} +3 -3
  97. package/dist/{index-CIAmiWcw.js → index-DKfEnhKr.js} +2 -2
  98. package/dist/{index-CSFe9uC5.js → index-DMb4KD0b.js} +1 -1
  99. package/dist/{index-ohdbKsws.js → index-DtEcCIrM.js} +1 -1
  100. package/dist/{index-BbQkJE5L.js → index-Dy59FQl5.js} +1 -1
  101. package/dist/{index-DpW9ExsS.js → index-gSPwC-1I.js} +3 -3
  102. package/dist/{index-DH2Fnov1.js → index-vcSp8YRZ.js} +4 -4
  103. package/dist/index.d.ts +2 -1
  104. package/dist/index.js +1 -1
  105. package/dist/{libphonenumber-_7ZyKWA7.js → libphonenumber-FTwQ9nyV.js} +11 -11
  106. package/dist/package.json +21 -21
  107. package/dist/styles.css +1 -1
  108. package/dist/ui/civo-theme.css +11 -10
  109. package/dist/{x-DPU9OdYH.js → x-Eoa9FJjA.js} +1 -1
  110. package/package.json +21 -21
  111. package/dist/chevron-left-C4LEg1fH.js +0 -7
  112. package/dist/components/TimePicker/components/WrapperList/WrapperList.variants.js +0 -16
  113. package/dist/index-C65LtGuU.js +0 -137
@@ -4,11 +4,11 @@ import { Header as w } from "./components/Modal/components/Header/Header.js";
4
4
  import { jsx as t, jsxs as f } from "react/jsx-runtime";
5
5
  import { Children as i, isValidElement as s, useEffect as A } from "react";
6
6
  import { createPortal as N } from "react-dom";
7
- import { R } from "./index-DrWQH0QF.js";
7
+ import { R } from "./index-BKjcReYh.js";
8
8
  import { R as k } from "./Combination-BtmnusWq.js";
9
9
  import { cn as p } from "./utils/index.js";
10
10
  import { buttonCloseVariants as x, modalVariants as B } from "./components/Modal/components/Wrapper/Wrapper.variants.js";
11
- import { X as E } from "./x-DPU9OdYH.js";
11
+ import { X as E } from "./x-Eoa9FJjA.js";
12
12
  const F = ({
13
13
  buttonCloseClassName: m,
14
14
  children: e,
@@ -0,0 +1,7 @@
1
+ import { c as o } from "./createLucideIcon-D4r5Phnh.js";
2
+ const e = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], n = o("chevron-left", e);
3
+ const t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], h = o("chevron-right", t);
4
+ export {
5
+ n as C,
6
+ h as a
7
+ };
@@ -1,5 +1,5 @@
1
1
  import l, { forwardRef as c } from "react";
2
- import { P as a } from "./index--V_ZsiQe.js";
2
+ import { P as a } from "./index-BOE_3f_Z.js";
3
3
  function p() {
4
4
  return p = Object.assign || function(e) {
5
5
  for (var o = 1; o < arguments.length; o++) {
@@ -1,9 +1,9 @@
1
1
  import { jsx as l, jsxs as s } from "react/jsx-runtime";
2
2
  import { useRef as f, useState as h, useMemo as b, isValidElement as C, useCallback as V, useEffect as v } from "react";
3
- import { V as k } from "../../index-DrWQH0QF.js";
3
+ import { V as k } from "../../index-BKjcReYh.js";
4
4
  import { cn as a } from "../../utils/index.js";
5
5
  import { closeButtonVariants as w, alertVariants as x } from "./Alert.variants.js";
6
- import { X as y } from "../../x-DPU9OdYH.js";
6
+ import { X as y } from "../../x-Eoa9FJjA.js";
7
7
  const R = ({
8
8
  theme: i,
9
9
  type: o,
@@ -1,76 +1,101 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { R as A, A as D, P as v, O as j, C as k, T, D as w, a as P, b as R } from "../../index-C65LtGuU.js";
3
- import { Button as l } from "../Button/Button.js";
4
- import { cn as t } from "../../utils/index.js";
5
- import { useAlertDialog as z } from "./hooks/useAlertDialog.js";
6
- const G = ({
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
+ import { R, A as j, P as T, O as w, C as K, T as P, D as z, a as B, b as E } from "../../index-CPU02rhe.js";
3
+ import { useRef as S, useState as q, useEffect as F } from "react";
4
+ import { Button as s } from "../Button/Button.js";
5
+ import { cn as n } from "../../utils/index.js";
6
+ import { useAlertDialog as G } from "./hooks/useAlertDialog.js";
7
+ const H = ({
7
8
  buttonCancel: {
8
- className: s,
9
+ className: o,
9
10
  text: i = "Cancel",
10
- ...r
11
+ ...c
11
12
  } = {},
12
13
  buttonConfirm: {
13
- className: o,
14
- text: c = "OK",
15
- ...m
14
+ className: d,
15
+ text: m = "OK",
16
+ ...f
16
17
  } = {},
17
- buttonTriggerClassName: d,
18
- buttonTriggerText: p,
19
- description: f,
20
- showCancelButton: h = !0,
21
- theme: n,
22
- title: x,
23
- wrapperClassName: u,
18
+ buttonTriggerClassName: p,
19
+ buttonTriggerText: u,
20
+ description: h,
21
+ showCancelButton: x = !0,
22
+ theme: a,
23
+ title: b,
24
+ wrapperClassName: g,
24
25
  onConfirm: C,
25
- ...b
26
+ ...N
26
27
  }) => {
27
- const { isOpen: N, handleCancel: g, handleConfirm: y, handleOpen: O } = z({
28
+ const r = S(null), [y, k] = q(null), { isOpen: A, handleCancel: D, handleConfirm: O, handleOpen: v } = G({
28
29
  onConfirm: C
29
30
  });
30
- return /* @__PURE__ */ a(A, { open: N, ...b, children: [
31
+ return F(() => {
32
+ if (!r.current || a)
33
+ return;
34
+ const l = r.current.closest("[data-theme]");
35
+ l && k(l);
36
+ }, []), /* @__PURE__ */ t(R, { open: A, ...N, children: [
31
37
  /* @__PURE__ */ e(
32
- D,
38
+ j,
33
39
  {
34
- className: d,
35
- text: p,
36
- "data-theme": n,
37
- onOpen: O
40
+ ref: r,
41
+ className: p,
42
+ text: u,
43
+ "data-theme": a,
44
+ onOpen: v
38
45
  }
39
46
  ),
40
- /* @__PURE__ */ a(v, { children: [
41
- /* @__PURE__ */ e(j, { className: "bg-black opacity-70 inset-0 fixed animate-in fade-in-0" }),
42
- /* @__PURE__ */ a(
43
- k,
47
+ /* @__PURE__ */ t(T, { container: y, children: [
48
+ /* @__PURE__ */ e(w, { className: "bg-black opacity-70 dark:opacity-85 inset-0 fixed animate-in fade-in-0" }),
49
+ /* @__PURE__ */ t(
50
+ K,
44
51
  {
45
- "data-theme": n,
46
- className: t(
47
- "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-8 animate-in fade-in-0 zoom-in-85",
48
- u
52
+ "data-theme": a,
53
+ className: n(
54
+ "bg-white",
55
+ "rounded-md",
56
+ "fixed",
57
+ "top-1/2",
58
+ "left-1/2",
59
+ "-translate-y-2/4",
60
+ "-translate-x-2/4",
61
+ "flex",
62
+ "flex-col",
63
+ "gap-8",
64
+ "p-8",
65
+ "animate-in",
66
+ "fade-in-0",
67
+ "zoom-in-85",
68
+ "border",
69
+ "border-transparent",
70
+ "dark:bg-metal-800",
71
+ "dark:border-metal-700",
72
+ "dark:border-slate-700",
73
+ g
49
74
  ),
50
75
  children: [
51
- /* @__PURE__ */ e(T, { className: "text-base text-slate-700 font-semibold", children: x }),
52
- /* @__PURE__ */ e(w, { className: "text-sm text-slate-800", children: f }),
53
- /* @__PURE__ */ a("div", { className: "flex flex-row gap-5 justify-end", children: [
54
- h && /* @__PURE__ */ e(P, { asChild: !0, children: /* @__PURE__ */ e(
55
- l,
76
+ /* @__PURE__ */ e(P, { className: "text-base text-slate-700 font-semibold", children: b }),
77
+ /* @__PURE__ */ e(z, { className: "text-sm text-slate-800", children: h }),
78
+ /* @__PURE__ */ t("div", { className: "flex flex-row gap-5 justify-end", children: [
79
+ x && /* @__PURE__ */ e(B, { asChild: !0, children: /* @__PURE__ */ e(
80
+ s,
56
81
  {
57
82
  type: "button",
58
83
  variant: "secondary",
59
- className: t(s),
60
- onClick: g,
61
- ...r,
84
+ className: n(o),
85
+ onClick: D,
86
+ ...c,
62
87
  children: i
63
88
  }
64
89
  ) }),
65
- /* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ e(
66
- l,
90
+ /* @__PURE__ */ e(E, { asChild: !0, children: /* @__PURE__ */ e(
91
+ s,
67
92
  {
68
93
  type: "button",
69
94
  variant: "primary",
70
- className: t(o),
71
- onClick: y,
72
- ...m,
73
- children: c
95
+ className: n(d),
96
+ onClick: O,
97
+ ...f,
98
+ children: m
74
99
  }
75
100
  ) })
76
101
  ] })
@@ -80,6 +105,7 @@ const G = ({
80
105
  ] })
81
106
  ] });
82
107
  };
108
+ H.displayName = "KonstructAlertDialog";
83
109
  export {
84
- G as AlertDialog
110
+ H as AlertDialog
85
111
  };
@@ -1,7 +1,8 @@
1
1
  import "react/jsx-runtime";
2
- import { A as p } from "../../../index-C65LtGuU.js";
2
+ import { A as e } from "../../../index-CPU02rhe.js";
3
+ import "react";
3
4
  import "../../Button/Button.js";
4
5
  import "../../../utils/index.js";
5
6
  export {
6
- p as AlertDialogTrigger
7
+ e as AlertDialogTrigger
7
8
  };
@@ -1,4 +1,4 @@
1
- import { A as g } from "../../../index-C65LtGuU.js";
1
+ import { A as g } from "../../../index-CPU02rhe.js";
2
2
  export {
3
3
  g as AlertDialogTrigger
4
4
  };
@@ -1,68 +1,69 @@
1
- import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
- import { useRef as v, useState as y, useCallback as g, useEffect as N } from "react";
3
- import { S as x } from "../../loader-juvMSJ9L.js";
1
+ import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
+ import { useRef as y, useState as g, useCallback as N, useEffect as x } from "react";
3
+ import { S } from "../../loader-juvMSJ9L.js";
4
4
  import { cn as d } from "../../utils/index.js";
5
- import { buttonDismissVariants as S, badgeVariants as w } from "./Badge.variants.js";
6
- import { S as V } from "../../index-BtQfgaSF.js";
7
- import { c as D } from "../../createLucideIcon-D4r5Phnh.js";
8
- const L = [
5
+ import { buttonDismissVariants as w, badgeVariants as V } from "./Badge.variants.js";
6
+ import { S as D } from "../../index-BvoZGpli.js";
7
+ import { c as L } from "../../createLucideIcon-D4r5Phnh.js";
8
+ const j = [
9
9
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
10
10
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
11
- ], j = D("x", L), B = ({
11
+ ], E = L("x", j), M = ({
12
12
  className: u,
13
13
  dismissible: p = !1,
14
+ isSelectable: b = !0,
14
15
  label: r,
15
16
  leftIcon: o,
16
- loading: i = !1,
17
- size: n,
17
+ loading: n = !1,
18
+ size: i,
18
19
  variant: l,
19
20
  onClick: e,
20
21
  onDismiss: m
21
22
  }) => {
22
- const s = v(null), [b, f] = y("visible"), h = g(
23
- (a) => {
24
- a.stopPropagation(), m?.(), f("hidden");
23
+ const s = y(null), [f, h] = g("visible"), v = N(
24
+ (t) => {
25
+ t.stopPropagation(), m?.(), h("hidden");
25
26
  },
26
27
  [m]
27
28
  );
28
- return N(() => {
29
- const a = new AbortController();
29
+ return x(() => {
30
+ const t = new AbortController();
30
31
  return s.current?.addEventListener(
31
32
  "animationend",
32
33
  () => {
33
34
  s.current?.style.setProperty("display", "none"), s.current?.remove();
34
35
  },
35
- { signal: a.signal }
36
- ), () => a.abort();
36
+ { signal: t.signal }
37
+ ), () => t.abort();
37
38
  }, []), /* @__PURE__ */ c(
38
39
  "span",
39
40
  {
40
41
  ref: s,
41
- className: d(
42
- w({ variant: l, size: n, className: u }),
43
- e && "cursor-pointer"
44
- ),
42
+ className: d(V({ variant: l, size: i, className: u }), {
43
+ "select-none": !b,
44
+ "cursor-pointer": e
45
+ }),
45
46
  role: e ? "button" : void 0,
46
47
  onClick: e,
47
48
  tabIndex: e ? 0 : void 0,
48
49
  "aria-label": e ? `${r} badge` : void 0,
49
- "aria-busy": i,
50
+ "aria-busy": n,
50
51
  "aria-live": "polite",
51
- "data-state": b,
52
+ "data-state": f,
52
53
  children: [
53
- i && /* @__PURE__ */ t(x, { className: "h-3 w-3 animate-spin animate-duration-time-2" }),
54
- o ? /* @__PURE__ */ t(V, { className: "h-3 w-3", children: o }) : null,
54
+ n && /* @__PURE__ */ a(S, { className: "h-3 w-3 animate-spin animate-duration-time-2" }),
55
+ o ? /* @__PURE__ */ a(D, { className: "h-3 w-3", children: o }) : null,
55
56
  r,
56
57
  p && /* @__PURE__ */ c(
57
58
  "button",
58
59
  {
59
60
  type: "button",
60
- className: d(S({ size: n, variant: l })),
61
- onClick: h,
61
+ className: d(w({ size: i, variant: l })),
62
+ onClick: v,
62
63
  "aria-label": "Dismiss",
63
64
  children: [
64
- /* @__PURE__ */ t(j, { className: "h-full w-full" }),
65
- /* @__PURE__ */ t("span", { className: "sr-only", children: "Dismiss" })
65
+ /* @__PURE__ */ a(E, { className: "h-full w-full" }),
66
+ /* @__PURE__ */ a("span", { className: "sr-only", children: "Dismiss" })
66
67
  ]
67
68
  }
68
69
  )
@@ -71,5 +72,5 @@ const L = [
71
72
  );
72
73
  };
73
74
  export {
74
- B as Badge
75
+ M as Badge
75
76
  };
@@ -1,5 +1,5 @@
1
- import { c as t } from "../../index-D29mdTf5.js";
2
- const a = t(
1
+ import { c as e } from "../../index-D29mdTf5.js";
2
+ const a = e(
3
3
  [
4
4
  "flex",
5
5
  "items-center",
@@ -17,12 +17,48 @@ const a = t(
17
17
  {
18
18
  variants: {
19
19
  variant: {
20
- default: ["bg-gray-100", "text-gray-800"],
21
- danger: ["bg-red-100", "text-red-800"],
22
- info: ["bg-blue-100", "text-blue-800"],
23
- success: ["bg-green-100", "text-green-800"],
24
- warning: ["bg-yellow-100", "text-yellow-800"],
25
- violet: ["bg-violet-50", "text-violet-800"]
20
+ default: [
21
+ "bg-gray-100",
22
+ "text-gray-800",
23
+ "dark:text-gray-300",
24
+ "dark:bg-gray-300/15"
25
+ ],
26
+ danger: [
27
+ "bg-red-100",
28
+ "text-red-800",
29
+ "dark:text-red-400",
30
+ "dark:bg-red-400/10"
31
+ ],
32
+ info: [
33
+ "bg-blue-100",
34
+ "text-blue-800",
35
+ "dark:text-sky-400",
36
+ "dark:bg-sky-400/10"
37
+ ],
38
+ success: [
39
+ "bg-green-100",
40
+ "text-green-800",
41
+ "dark:text-green-400",
42
+ "dark:bg-green-400/10"
43
+ ],
44
+ warning: [
45
+ "bg-yellow-100",
46
+ "text-yellow-800",
47
+ "dark:text-amber-300",
48
+ "dark:bg-amber-300/10"
49
+ ],
50
+ violet: [
51
+ "bg-violet-50",
52
+ "text-violet-800",
53
+ "dark:text-purple-400",
54
+ "dark:bg-purple-400/8"
55
+ ],
56
+ orange: [
57
+ "bg-orange-50",
58
+ "text-orange-800",
59
+ "dark:text-orange-400",
60
+ "dark:bg-orange-400/10"
61
+ ]
26
62
  },
27
63
  size: {
28
64
  default: "text-sm leading-4"
@@ -33,7 +69,7 @@ const a = t(
33
69
  size: "default"
34
70
  }
35
71
  }
36
- ), n = t(
72
+ ), r = e(
37
73
  [
38
74
  "rounded-full",
39
75
  "inline-flex",
@@ -47,12 +83,13 @@ const a = t(
47
83
  {
48
84
  variants: {
49
85
  variant: {
50
- default: ["text-gray-700"],
51
- danger: ["text-red-700"],
52
- info: ["text-blue-700"],
53
- success: ["text-green-700"],
54
- warning: ["text-yellow-700"],
55
- violet: ["text-violet-700"]
86
+ default: ["text-gray-700", "dark:text-gray-300"],
87
+ danger: ["text-red-700", "dark:text-red-400"],
88
+ info: ["text-blue-700", "dark:text-sky-400"],
89
+ success: ["text-green-700", "dark:text-green-400"],
90
+ warning: ["text-yellow-700", "dark:text-amber-300"],
91
+ violet: ["text-violet-700", "dark:text-purple-400"],
92
+ orange: ["text-orange-800", "dark:text-orange-400"]
56
93
  },
57
94
  size: {
58
95
  default: ["h-3.5", "w-3.5"]
@@ -66,5 +103,5 @@ const a = t(
66
103
  );
67
104
  export {
68
105
  a as badgeVariants,
69
- n as buttonDismissVariants
106
+ r as buttonDismissVariants
70
107
  };
@@ -3,7 +3,7 @@ import u, { forwardRef as b, useId as v, Fragment as y } from "react";
3
3
  import { cn as h } from "../../utils/index.js";
4
4
  import { breadcrumbVariants as O, breadcrumbWrapperVariants as j } from "./Breadcrumb.variants.js";
5
5
  import { Item as w } from "./components/Item/Item.js";
6
- import { P as l } from "../../index--V_ZsiQe.js";
6
+ import { P as l } from "../../index-BOE_3f_Z.js";
7
7
  function m() {
8
8
  return m = Object.assign || function(r) {
9
9
  for (var o = 1; o < arguments.length; o++) {
@@ -1,6 +1,6 @@
1
1
  import { c as e } from "../../index-D29mdTf5.js";
2
- const r = e([
3
- "text-slate-500",
2
+ const t = e([
3
+ "text-gray-600",
4
4
  "text-md",
5
5
  "flex",
6
6
  "gap-2",
@@ -8,5 +8,5 @@ const r = e([
8
8
  ]), a = e(["flex", "gap-1", "items-center"]);
9
9
  export {
10
10
  a as breadcrumbVariants,
11
- r as breadcrumbWrapperVariants
11
+ t as breadcrumbWrapperVariants
12
12
  };
@@ -1,6 +1,12 @@
1
1
  import { c as e } from "../../../../index-D29mdTf5.js";
2
- const r = e(
3
- ["text-sm", "leading-5", "text-gray-400"],
2
+ const s = e(
3
+ [
4
+ "text-sm",
5
+ "leading-5",
6
+ "text-gray-400",
7
+ "font-semibold",
8
+ "dark:text-gray-400"
9
+ ],
4
10
  {
5
11
  variants: {
6
12
  isActive: {
@@ -23,7 +29,8 @@ const r = e(
23
29
  "group-[&:has(:focus-visible)]:rounded-xs",
24
30
  "group-hover:rounded-xs",
25
31
  "hover:no-underline",
26
- "hover:text-gray-500"
32
+ "hover:text-gray-500",
33
+ "dark:hover:text-gray-300"
27
34
  ]
28
35
  },
29
36
  {
@@ -37,23 +44,27 @@ const r = e(
37
44
  "group-[&:has(:focus-visible)]:rounded-xs",
38
45
  "group-hover:rounded-xs",
39
46
  "hover:no-underline",
40
- "hover:text-gray-500"
47
+ "hover:text-gray-500",
48
+ "dark:hover:text-gray-300"
41
49
  ]
42
50
  }
43
51
  ]
44
52
  }
45
- ), o = e(["text-sm", "leading-5"], {
46
- variants: {
47
- isActive: {
48
- true: "text-gray-500",
49
- false: ["text-gray-400", "cursor-default"]
53
+ ), o = e(
54
+ ["text-sm", "leading-5", "font-semibold"],
55
+ {
56
+ variants: {
57
+ isActive: {
58
+ true: ["text-gray-600", "dark:text-gray-300"],
59
+ false: ["text-gray-400", "cursor-default"]
60
+ }
61
+ },
62
+ defaultVariants: {
63
+ isActive: !0
50
64
  }
51
- },
52
- defaultVariants: {
53
- isActive: !0
54
65
  }
55
- });
66
+ );
56
67
  export {
57
68
  o as breadcrumbLabelVariants,
58
- r as breadcrumbLinkVariants
69
+ s as breadcrumbLinkVariants
59
70
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { forwardRef as c } from "react";
3
- import { S as l } from "../../index-BtQfgaSF.js";
3
+ import { S as l } from "../../index-BvoZGpli.js";
4
4
  import { cn as x } from "../../utils/index.js";
5
5
  import { buttonVariants as B } from "./Button.variants.js";
6
6
  const C = c(
@@ -1,6 +1,6 @@
1
1
  import { c as r } from "../../index-D29mdTf5.js";
2
- const a = r(
3
- ["border", "border-slate-200", "rounded-xl"],
2
+ const e = r(
3
+ ["rounded-xl", "border", "border-gray-200", "dark:border-metal-700"],
4
4
  {
5
5
  variants: {
6
6
  isActive: {
@@ -25,8 +25,7 @@ const a = r(
25
25
  true: [
26
26
  "cursor-pointer",
27
27
  "border-transparent",
28
- "group-hover:border-kubefirst-primary",
29
- "civo:group-hover:border-civo-primary"
28
+ "group-hover:border-aurora-500"
30
29
  ],
31
30
  false: ""
32
31
  }
@@ -41,6 +40,6 @@ const a = r(
41
40
  }
42
41
  );
43
42
  export {
44
- a as cardBaseVariants,
43
+ e as cardBaseVariants,
45
44
  o as cardVariants
46
45
  };
@@ -2,14 +2,14 @@ import { jsx as u, jsxs as B, Fragment as U } from "react/jsx-runtime";
2
2
  import * as h from "react";
3
3
  import S, { forwardRef as z, useId as V, useCallback as X } from "react";
4
4
  import { u as L } from "../../index-DLcqcWxM.js";
5
- import { c as J, P as w, a as Q, b as j } from "../../index-CIAmiWcw.js";
5
+ import { c as J, P as w, a as Q, b as j } from "../../index-DKfEnhKr.js";
6
6
  import { u as Y } from "../../index-BZPx6jYI.js";
7
- import { u as Z } from "../../index-ohdbKsws.js";
8
- import { P as ee } from "../../index-mPY_8Y5v.js";
7
+ import { u as Z } from "../../index-DtEcCIrM.js";
8
+ import { P as ee } from "../../index-AV6ZtGhy.js";
9
9
  import { cn as T } from "../../utils/index.js";
10
10
  import { checkboxVariants as te, labelVariants as re } from "./Checkbox.variants.js";
11
11
  import { useToggle as oe } from "../../hooks/useToggle.js";
12
- import { P as y } from "../../index--V_ZsiQe.js";
12
+ import { P as y } from "../../index-BOE_3f_Z.js";
13
13
  function R() {
14
14
  return R = Object.assign || function(e) {
15
15
  for (var a = 1; a < arguments.length; a++) {
@@ -39,7 +39,11 @@ const e = r(
39
39
  variant: "default"
40
40
  }
41
41
  }
42
- ), a = r(["cursor-pointer", "text-slate-800"]);
42
+ ), a = r([
43
+ "cursor-pointer",
44
+ "text-slate-800",
45
+ "dark:text-slate-50"
46
+ ]);
43
47
  export {
44
48
  e as checkboxVariants,
45
49
  a as labelVariants
@@ -1,6 +1,6 @@
1
1
  import { jsx as o, jsxs as i } from "react/jsx-runtime";
2
- import { R as s, D as p } from "../../index-Ds6U2x4Z.js";
3
- import { V as l } from "../../index-DrWQH0QF.js";
2
+ import { R as s, D as p } from "../../index-CeZcoQDw.js";
3
+ import { V as l } from "../../index-BKjcReYh.js";
4
4
  import { cn as m } from "../../utils/index.js";
5
5
  import { wrapperVariants as f } from "./Command.variants.js";
6
6
  import { DialogContent as c } from "./components/DialogContent.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { forwardRef as p } from "react";
3
- import { _ as o } from "../../../index-CdwPV0FE.js";
3
+ import { _ as o } from "../../../index-D9SSJ6om.js";
4
4
  const s = p(({ className: r, children: a, ...e }, i) => /* @__PURE__ */ m(o, { ref: i, className: r, ...e, children: /* @__PURE__ */ m("div", { className: "w-[500px]", children: a }) }));
5
5
  s.displayName = o.displayName;
6
6
  export {
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as p } from "react";
3
- import { _ as m } from "../../../index-CdwPV0FE.js";
3
+ import { _ as m } from "../../../index-D9SSJ6om.js";
4
4
  const r = p((t, e) => /* @__PURE__ */ o(
5
5
  m.Empty,
6
6
  {
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as p } from "react";
3
- import { _ as o } from "../../../index-CdwPV0FE.js";
3
+ import { _ as o } from "../../../index-D9SSJ6om.js";
4
4
  import { cn as a } from "../../../utils/index.js";
5
5
  const t = p(({ className: r, ...m }, d) => /* @__PURE__ */ e(
6
6
  o.Group,
@@ -1,9 +1,9 @@
1
1
  import { jsxs as y, jsx as c } from "react/jsx-runtime";
2
- import { _ as m } from "../../../index-CdwPV0FE.js";
2
+ import { _ as m } from "../../../index-D9SSJ6om.js";
3
3
  import s, { forwardRef as u } from "react";
4
4
  import { cn as f } from "../../../utils/index.js";
5
5
  import { searchInconInputVariants as v, inputVariants as g } from "../Command.variants.js";
6
- import { P as a } from "../../../index--V_ZsiQe.js";
6
+ import { P as a } from "../../../index-BOE_3f_Z.js";
7
7
  function p() {
8
8
  return p = Object.assign || function(r) {
9
9
  for (var n = 1; n < arguments.length; n++) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
2
  import { forwardRef as i, useContext as c, useCallback as l } from "react";
3
- import { _ as o } from "../../../index-CdwPV0FE.js";
3
+ import { _ as o } from "../../../index-D9SSJ6om.js";
4
4
  import { cn as p } from "../../../utils/index.js";
5
5
  import { CommandContext as u } from "../contexts/Command.context.js";
6
6
  const f = i(({ className: n, onSelect: e, ...r }, a) => {