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

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 (59) hide show
  1. package/dist/components/AlertDialog/AlertDialog.js +39 -37
  2. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  3. package/dist/components/AlertDialog/components/index.js +1 -1
  4. package/dist/components/Badge/Badge.js +23 -26
  5. package/dist/components/Badge/Badge.variants.js +1 -1
  6. package/dist/components/Button/Button.variants.js +108 -98
  7. package/dist/components/Checkbox/Checkbox.js +104 -100
  8. package/dist/components/Checkbox/Checkbox.variants.js +30 -7
  9. package/dist/components/Filter/Filter.js +1 -1
  10. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +9 -10
  11. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +76 -43
  12. package/dist/components/Filter/components/ResetButton/ResetButton.js +21 -32
  13. package/dist/components/Filter/events/index.js +3 -3
  14. package/dist/components/ImageUpload/ImageUpload.js +221 -0
  15. package/dist/components/ImageUpload/ImageUpload.variants.js +109 -0
  16. package/dist/components/Input/Input.variants.js +10 -2
  17. package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +4 -4
  18. package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +16 -7
  19. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +92 -74
  20. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +53 -29
  21. package/dist/components/PhoneNumberInput/components/Wrapper.js +139 -120
  22. package/dist/components/Select/Select.js +48 -0
  23. package/dist/components/{Dropdown/Dropdown.variants.js → Select/Select.variants.js} +3 -3
  24. package/dist/components/{Dropdown → Select}/components/List/List.js +48 -43
  25. package/dist/components/{Dropdown → Select}/components/List/List.variants.js +8 -5
  26. package/dist/components/{Dropdown → Select}/components/ListItem/ListItem.js +20 -20
  27. package/dist/components/{Dropdown → Select}/components/ListItem/ListItem.variants.js +3 -2
  28. package/dist/components/{Dropdown → Select}/components/Wrapper.js +70 -70
  29. package/dist/components/Select/contexts/index.js +6 -0
  30. package/dist/components/{Dropdown/contexts/dropdown.context.js → Select/contexts/select.context.js} +2 -2
  31. package/dist/components/Select/contexts/select.hook.js +11 -0
  32. package/dist/components/Select/contexts/select.provider.js +58 -0
  33. package/dist/components/{Dropdown → Select}/hooks/useNavigationList.js +3 -3
  34. package/dist/components/{Dropdown/hooks/useDropdown.js → Select/hooks/useSelect.js} +33 -33
  35. package/dist/components/Switch/Switch.js +153 -125
  36. package/dist/components/Switch/Switch.variants.js +15 -6
  37. package/dist/components/Typography/Typography.js +25 -27
  38. package/dist/components/Typography/Typography.variants.js +2 -2
  39. package/dist/components/VirtualizedTable/components/Actions/Actions.js +14 -14
  40. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +10 -10
  41. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +1 -1
  42. package/dist/components/index.js +77 -74
  43. package/dist/{index-CPU02rhe.js → index-D6KzX_ef.js} +13 -12
  44. package/dist/index.d.ts +106 -60
  45. package/dist/index.js +109 -106
  46. package/dist/package.json +4 -4
  47. package/dist/styles.css +1 -1
  48. package/dist/ui/civo-theme.css +6 -5
  49. package/dist/ui/theme.css +27 -0
  50. package/dist/x-BXShoIAM.js +8 -0
  51. package/package.json +4 -4
  52. package/dist/components/Dropdown/Dropdown.js +0 -48
  53. package/dist/components/Dropdown/contexts/dropdown.hook.js +0 -13
  54. package/dist/components/Dropdown/contexts/dropdown.provider.js +0 -58
  55. package/dist/components/Dropdown/contexts/index.js +0 -6
  56. /package/dist/components/{Dropdown → Select}/components/EmptyList.js +0 -0
  57. /package/dist/components/{Dropdown → Select}/components/index.js +0 -0
  58. /package/dist/components/{Dropdown → Select}/constants/index.js +0 -0
  59. /package/dist/components/{Dropdown → Select}/constants/pagination.js +0 -0
@@ -1,13 +1,13 @@
1
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";
2
+ import { R as j, A as T, P as w, O as K, C as P, T as z, D as B, a as E, b as S } from "../../index-D6KzX_ef.js";
3
+ import { useRef as q, useState as F, useEffect as G } from "react";
4
4
  import { Button as s } from "../Button/Button.js";
5
5
  import { cn as n } from "../../utils/index.js";
6
- import { useAlertDialog as G } from "./hooks/useAlertDialog.js";
7
- const H = ({
6
+ import { useAlertDialog as H } from "./hooks/useAlertDialog.js";
7
+ const I = ({
8
8
  buttonCancel: {
9
- className: o,
10
- text: i = "Cancel",
9
+ className: i,
10
+ text: o = "Cancel",
11
11
  ...c
12
12
  } = {},
13
13
  buttonConfirm: {
@@ -16,38 +16,40 @@ const H = ({
16
16
  ...f
17
17
  } = {},
18
18
  buttonTriggerClassName: p,
19
- buttonTriggerText: u,
20
- description: h,
21
- showCancelButton: x = !0,
19
+ buttonTriggerVariant: u,
20
+ buttonTriggerText: h,
21
+ description: x,
22
+ showCancelButton: b = !0,
22
23
  theme: a,
23
- title: b,
24
- wrapperClassName: g,
25
- onConfirm: C,
26
- ...N
24
+ title: g,
25
+ wrapperClassName: C,
26
+ onConfirm: N,
27
+ ...y
27
28
  }) => {
28
- const r = S(null), [y, k] = q(null), { isOpen: A, handleCancel: D, handleConfirm: O, handleOpen: v } = G({
29
- onConfirm: C
29
+ const r = q(null), [k, A] = F(null), { isOpen: D, handleCancel: O, handleConfirm: v, handleOpen: R } = H({
30
+ onConfirm: N
30
31
  });
31
- return F(() => {
32
+ return G(() => {
32
33
  if (!r.current || a)
33
34
  return;
34
35
  const l = r.current.closest("[data-theme]");
35
- l && k(l);
36
- }, []), /* @__PURE__ */ t(R, { open: A, ...N, children: [
36
+ l && A(l);
37
+ }, []), /* @__PURE__ */ t(j, { open: D, ...y, children: [
37
38
  /* @__PURE__ */ e(
38
- j,
39
+ T,
39
40
  {
40
41
  ref: r,
41
42
  className: p,
42
- text: u,
43
+ variant: u,
44
+ text: h,
43
45
  "data-theme": a,
44
- onOpen: v
46
+ onOpen: R
45
47
  }
46
48
  ),
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(w, { container: k, children: [
50
+ /* @__PURE__ */ e(K, { className: "bg-black opacity-70 dark:opacity-85 inset-0 fixed animate-in fade-in-0" }),
49
51
  /* @__PURE__ */ t(
50
- K,
52
+ P,
51
53
  {
52
54
  "data-theme": a,
53
55
  className: n(
@@ -60,7 +62,7 @@ const H = ({
60
62
  "-translate-x-2/4",
61
63
  "flex",
62
64
  "flex-col",
63
- "gap-8",
65
+ "gap-6",
64
66
  "p-8",
65
67
  "animate-in",
66
68
  "fade-in-0",
@@ -70,30 +72,30 @@ const H = ({
70
72
  "dark:bg-metal-800",
71
73
  "dark:border-metal-700",
72
74
  "dark:border-slate-700",
73
- g
75
+ C
74
76
  ),
75
77
  children: [
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(
78
+ /* @__PURE__ */ e(z, { className: "text-base text-slate-700 font-semibold", children: g }),
79
+ /* @__PURE__ */ e(B, { className: "text-sm text-slate-800", children: x }),
80
+ /* @__PURE__ */ t("div", { className: "flex flex-row gap-2 justify-end", children: [
81
+ b && /* @__PURE__ */ e(E, { asChild: !0, children: /* @__PURE__ */ e(
80
82
  s,
81
83
  {
82
84
  type: "button",
83
85
  variant: "secondary",
84
- className: n(o),
85
- onClick: D,
86
+ className: n(i),
87
+ onClick: O,
86
88
  ...c,
87
- children: i
89
+ children: o
88
90
  }
89
91
  ) }),
90
- /* @__PURE__ */ e(E, { asChild: !0, children: /* @__PURE__ */ e(
92
+ /* @__PURE__ */ e(S, { asChild: !0, children: /* @__PURE__ */ e(
91
93
  s,
92
94
  {
93
95
  type: "button",
94
96
  variant: "primary",
95
97
  className: n(d),
96
- onClick: O,
98
+ onClick: v,
97
99
  ...f,
98
100
  children: m
99
101
  }
@@ -105,7 +107,7 @@ const H = ({
105
107
  ] })
106
108
  ] });
107
109
  };
108
- H.displayName = "KonstructAlertDialog";
110
+ I.displayName = "KonstructAlertDialog";
109
111
  export {
110
- H as AlertDialog
112
+ I as AlertDialog
111
113
  };
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { A as e } from "../../../index-CPU02rhe.js";
2
+ import { A as e } from "../../../index-D6KzX_ef.js";
3
3
  import "react";
4
4
  import "../../Button/Button.js";
5
5
  import "../../../utils/index.js";
@@ -1,4 +1,4 @@
1
- import { A as g } from "../../../index-CPU02rhe.js";
1
+ import { A as g } from "../../../index-D6KzX_ef.js";
2
2
  export {
3
3
  g as AlertDialogTrigger
4
4
  };
@@ -1,32 +1,29 @@
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
- import { cn as d } from "../../utils/index.js";
5
- import { buttonDismissVariants as w, badgeVariants as V } from "./Badge.variants.js";
1
+ import { jsxs as d, jsx as a } from "react/jsx-runtime";
2
+ import { useRef as v, useState as y, useCallback as N, useEffect as S } from "react";
3
+ import { S as w } from "../../loader-juvMSJ9L.js";
4
+ import { cn as u } from "../../utils/index.js";
5
+ import { buttonDismissVariants as x, badgeVariants as V } from "./Badge.variants.js";
6
6
  import { S as D } from "../../index-BvoZGpli.js";
7
- import { c as L } from "../../createLucideIcon-D4r5Phnh.js";
8
- const j = [
9
- ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
10
- ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
11
- ], E = L("x", j), M = ({
12
- className: u,
7
+ import { X as j } from "../../x-BXShoIAM.js";
8
+ const X = ({
9
+ className: c,
13
10
  dismissible: p = !1,
14
11
  isSelectable: b = !0,
15
12
  label: r,
16
- leftIcon: o,
17
- loading: n = !1,
18
- size: i,
13
+ leftIcon: i,
14
+ loading: o = !1,
15
+ size: n,
19
16
  variant: l,
20
17
  onClick: e,
21
18
  onDismiss: m
22
19
  }) => {
23
- const s = y(null), [f, h] = g("visible"), v = N(
20
+ const s = v(null), [f, h] = y("visible"), g = N(
24
21
  (t) => {
25
22
  t.stopPropagation(), m?.(), h("hidden");
26
23
  },
27
24
  [m]
28
25
  );
29
- return x(() => {
26
+ return S(() => {
30
27
  const t = new AbortController();
31
28
  return s.current?.addEventListener(
32
29
  "animationend",
@@ -35,11 +32,11 @@ const j = [
35
32
  },
36
33
  { signal: t.signal }
37
34
  ), () => t.abort();
38
- }, []), /* @__PURE__ */ c(
35
+ }, []), /* @__PURE__ */ d(
39
36
  "span",
40
37
  {
41
38
  ref: s,
42
- className: d(V({ variant: l, size: i, className: u }), {
39
+ className: u(V({ variant: l, size: n, className: c }), {
43
40
  "select-none": !b,
44
41
  "cursor-pointer": e
45
42
  }),
@@ -47,22 +44,22 @@ const j = [
47
44
  onClick: e,
48
45
  tabIndex: e ? 0 : void 0,
49
46
  "aria-label": e ? `${r} badge` : void 0,
50
- "aria-busy": n,
47
+ "aria-busy": o,
51
48
  "aria-live": "polite",
52
49
  "data-state": f,
53
50
  children: [
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,
51
+ o && /* @__PURE__ */ a(w, { className: "h-3 w-3 animate-spin animate-duration-time-2" }),
52
+ i ? /* @__PURE__ */ a(D, { className: "h-3 w-3", children: i }) : null,
56
53
  r,
57
- p && /* @__PURE__ */ c(
54
+ p && /* @__PURE__ */ d(
58
55
  "button",
59
56
  {
60
57
  type: "button",
61
- className: d(w({ size: i, variant: l })),
62
- onClick: v,
58
+ className: u(x({ size: n, variant: l })),
59
+ onClick: g,
63
60
  "aria-label": "Dismiss",
64
61
  children: [
65
- /* @__PURE__ */ a(E, { className: "h-full w-full" }),
62
+ /* @__PURE__ */ a(j, { className: "h-full w-full" }),
66
63
  /* @__PURE__ */ a("span", { className: "sr-only", children: "Dismiss" })
67
64
  ]
68
65
  }
@@ -72,5 +69,5 @@ const j = [
72
69
  );
73
70
  };
74
71
  export {
75
- M as Badge
72
+ X as Badge
76
73
  };
@@ -61,7 +61,7 @@ const a = e(
61
61
  ]
62
62
  },
63
63
  size: {
64
- default: "text-sm leading-4"
64
+ default: "text-xs leading-4"
65
65
  }
66
66
  },
67
67
  defaultVariants: {
@@ -1,6 +1,7 @@
1
1
  import { c as r } from "../../index-D29mdTf5.js";
2
- const t = r(
2
+ const a = r(
3
3
  [
4
+ "select-none",
4
5
  "border",
5
6
  "cursor-pointer",
6
7
  "disabled:pointer-events-none",
@@ -9,7 +10,7 @@ const t = r(
9
10
  "focus-visible:ring-1",
10
11
  "focus-visible:ring-ring",
11
12
  "font-semibold",
12
- "gap-[7px]",
13
+ "gap-2",
13
14
  "inline-flex",
14
15
  "items-center",
15
16
  "justify-center",
@@ -20,22 +21,24 @@ const t = r(
20
21
  "px-4",
21
22
  "py-2",
22
23
  "text-sm",
24
+ "bg-aurora-500",
25
+ "border-aurora-500",
26
+ "text-metal-900",
27
+ "focus-visible:bg-aurora-400",
28
+ "hover:bg-aurora-400",
29
+ "hover:border-aurora-400",
23
30
  "kubefirst:border-kubefirst-primary",
24
31
  "kubefirst:bg-kubefirst-primary",
25
32
  "kubefirst:hover:bg-kubefirst-secondary",
26
33
  "kubefirst:hover:border-kubefirst-secondary",
27
- "kubefirst:text-white",
28
- "bg-aurora-500",
29
- "border-aurora-500",
30
- "text-slate-700",
31
- "hover:bg-aurora-400",
32
- "hover:border-aurora-400"
34
+ "kubefirst:text-white"
33
35
  ],
34
36
  {
35
37
  variants: {
36
38
  variant: {
37
39
  primary: "",
38
40
  secondary: ["bg-white"],
41
+ tertiary: [],
39
42
  danger: [
40
43
  "border-red-700",
41
44
  "bg-red-700",
@@ -43,7 +46,18 @@ const t = r(
43
46
  "hover:bg-red-800",
44
47
  "hover:border-red-800"
45
48
  ],
46
- text: ["bg-transparent", "border-transparent", "text-slate-500"]
49
+ link: [
50
+ "bg-transparent",
51
+ "border-transparent",
52
+ "text-blue-600",
53
+ "hover:underline",
54
+ "hover:text-blue-700",
55
+ "hover:bg-transparent",
56
+ "hover:border-transparent",
57
+ "dark:text-aurora-500",
58
+ "dark:hover:text-aurora-500",
59
+ "focus-visible:bg-transparent"
60
+ ]
47
61
  },
48
62
  shape: {
49
63
  circle: ["rounded-full", "p-1"]
@@ -61,21 +75,29 @@ const t = r(
61
75
  large: ""
62
76
  },
63
77
  appearance: {
64
- compact: [
65
- "px-2",
66
- "py-1",
67
- "h-auto",
68
- "text-[0.8125rem]",
69
- "leading-5.5",
70
- "h-[30px]"
71
- ]
78
+ compact: ["px-2", "py-1", "text-[13px]", "leading-5.5", "h-7.5"]
72
79
  }
73
80
  },
74
81
  compoundVariants: [
82
+ {
83
+ variant: "primary",
84
+ disabled: !0,
85
+ class: [
86
+ "text-metal-900",
87
+ "bg-aurora-500",
88
+ "border-transparent",
89
+ "kubefirst:bg-zinc-200",
90
+ "kubefirst:border-zinc-200",
91
+ "kubefirst:text-zinc-500",
92
+ "text-gray-700",
93
+ "opacity-45"
94
+ ]
95
+ },
75
96
  {
76
97
  variant: "secondary",
77
98
  disabled: !1,
78
99
  class: [
100
+ "transition-colors",
79
101
  "bg-white",
80
102
  "hover:bg-white",
81
103
  "text-slate-700",
@@ -83,9 +105,11 @@ const t = r(
83
105
  "hover:text-slate-700",
84
106
  "hover:border-slate-300",
85
107
  "hover:bg-slate-50",
108
+ "focus-visible:bg-slate-50",
86
109
  "dark:bg-transparent",
87
110
  "dark:text-aurora-500",
88
111
  "dark:border-aurora-500",
112
+ "dark:focus-visible:bg-aurora-900",
89
113
  "dark:hover:bg-aurora-900",
90
114
  "dark:hover:border-aurora-500",
91
115
  "dark:hover:text-aurora-500",
@@ -98,38 +122,62 @@ const t = r(
98
122
  ]
99
123
  },
100
124
  {
101
- variant: "primary",
125
+ variant: "secondary",
102
126
  disabled: !0,
103
127
  class: [
104
- "kubefirst:bg-zinc-200",
105
- "kubefirst:border-zinc-200",
128
+ "kubefirst:bg-white",
129
+ "kubefirst:border-zinc-500",
106
130
  "kubefirst:text-zinc-500",
107
- "text-gray-700",
131
+ "border-slate-300",
132
+ "bg-white",
133
+ "text-slate-700",
134
+ "dark:bg-aurora-900",
135
+ "dark:border-aurora-500",
136
+ "dark:text-aurora-500",
108
137
  "opacity-45"
109
138
  ]
110
139
  },
111
140
  {
112
- variant: "secondary",
141
+ variant: "tertiary",
142
+ disabled: !1,
143
+ class: [
144
+ "transition-colors",
145
+ "bg-transparent",
146
+ "border-transparent",
147
+ "text-slate-700",
148
+ "hover:bg-aurora-100",
149
+ "focus-visible:bg-aurora-100",
150
+ "hover:text-slate-700",
151
+ "hover:border-transparent",
152
+ "dark:bg-transparent",
153
+ "dark:text-metal-100",
154
+ "dark:border-transparent",
155
+ "dark:focus-visible:bg-green-400/15",
156
+ "dark:hover:bg-green-400/15",
157
+ "dark:hover:border-transparent",
158
+ "dark:hover:text-metal-100",
159
+ "dark:focus-visible:hover:bg-green-400/15"
160
+ ]
161
+ },
162
+ {
163
+ variant: "tertiary",
113
164
  disabled: !0,
114
165
  class: [
115
- "kubefirst:bg-white",
116
- "kubefirst:border-zinc-500",
117
- "kubefirst:text-zinc-500",
118
- "border-slate-300/45",
166
+ "border-transparent",
119
167
  "bg-white",
120
- "text-slate-700/45"
168
+ "text-slate-700",
169
+ "opacity-45",
170
+ "dark:bg-transparent",
171
+ "dark:border-transparent",
172
+ "dark:text-metal-100"
121
173
  ]
122
174
  },
123
175
  {
124
176
  variant: "danger",
125
177
  version: "alternate",
126
178
  class: [
127
- "kubefirst:border-red-700",
128
- "kubefirst:text-red-700",
129
- "kubefirst:bg-white",
130
- "kubefirst:hover:bg-red-50",
131
- "border-red-700",
132
179
  "text-red-700",
180
+ "border-red-700",
133
181
  "bg-white",
134
182
  "hover:bg-red-50"
135
183
  ]
@@ -137,57 +185,22 @@ const t = r(
137
185
  {
138
186
  variant: "danger",
139
187
  disabled: !0,
140
- class: ["text-white", "bg-red-700/45", "border-transparent"]
141
- },
142
- {
143
- variant: "text",
144
- disabled: !1,
145
- version: "default",
146
- class: [
147
- "kubefirst:hover:border-transparent",
148
- "kubefirst:hover:text-kubefirst-primary",
149
- "kubefirst:text-kubefirst-primary",
150
- "kubefirst:hover:bg-purple-50",
151
- "kubefirst:bg-white",
152
- "kubefirst:border-transparent",
153
- "bg-white",
154
- "border-transparent",
155
- "text-slate-700",
156
- "hover:border-transparent",
157
- "hover:text-aurora-500",
158
- "hover:bg-transparent"
159
- ]
160
- },
161
- {
162
- variant: "text",
163
- disabled: !1,
164
- version: "alternate",
165
188
  class: [
189
+ "text-red-700",
190
+ "border-red-700",
166
191
  "bg-white",
167
- "border-transparent",
168
- "text-aurora-500",
169
- "hover:border-transparent",
170
- "hover:text-aurora-500",
171
- "hover:bg-aurora-50",
172
- "kubefirst:hover:border-transparent",
173
- "kubefirst:text-kubefirst-primary",
174
- "kubefirst:border-transparent",
175
- "kubefirst:bg-white",
176
- "kubefirst:hover:text-kubefirst-primary",
177
- "kubefirst:hover:bg-purple-50"
192
+ "hover:bg-red-50",
193
+ "opacity-45"
178
194
  ]
179
195
  },
180
196
  {
181
- variant: "text",
197
+ variant: "link",
182
198
  disabled: !0,
183
- version: ["default", "alternate"],
184
199
  class: [
185
- "kubefirst:bg-white",
186
- "kubefirst:border-white",
187
- "kubefirst:text-zinc-400",
188
- "bg-white",
189
- "border-white",
190
- "text-slate-700/45"
200
+ "bg-transparent",
201
+ "border-transparent",
202
+ "text-blue-600",
203
+ "opacity-45"
191
204
  ]
192
205
  },
193
206
  {
@@ -197,30 +210,21 @@ const t = r(
197
210
  class: [
198
211
  "w-8",
199
212
  "h-8",
200
- "text-slate-400",
213
+ "text-slate-500",
201
214
  "bg-transparent",
202
215
  "border-transparent",
203
216
  "hover:border-transparent",
204
- "hover:bg-aurora-500/5",
217
+ "hover:bg-aurora-50",
218
+ "focus-visible:bg-aurora-50",
205
219
  "hover:text-slate-800",
220
+ "focus-visible:text-slate-800",
206
221
  "[&>svg]:w-5",
207
222
  "[&>svg]:h-5",
208
- "dark:text-slate-400",
223
+ "dark:text-metal-400",
224
+ "dark:focus-visible:text-aurora-500",
209
225
  "dark:hover:text-aurora-500",
210
- "dark:hover:bg-aurora-900",
211
- "kubefirst:text-slate-400",
212
- "kubefirst:bg-transparent",
213
- "kubefirst:border-transparent",
214
- "kubefirst:hover:border-transparent",
215
- "kubefirst:hover:bg-kubefirst-primary/5",
216
- "kubefirst:hover:text-kubefirst-primary",
217
- "kubefirst-dark:text-slate-400",
218
- "kubefirst-dark:bg-transparent",
219
- "kubefirst-dark:border-transparent",
220
- "kubefirst-dark:hover:border-transparent",
221
- "kubefirst-dark:hover:bg-kubefirst-primary/5",
222
- "kubefirst-dark:hover:text-kubefirst-primary",
223
- "kubefirst-dark:hover:bg-kubefirst-primary/25"
226
+ "dark:hover:bg-green-400/15",
227
+ "dark:focus-visible:bg-green-400/15"
224
228
  ]
225
229
  },
226
230
  {
@@ -236,11 +240,15 @@ const t = r(
236
240
  disabled: !1,
237
241
  class: [
238
242
  "text-red-700",
243
+ "focus-visible:text-red-700",
239
244
  "hover:text-red-700",
245
+ "focus-visible:bg-red-50",
240
246
  "hover:bg-red-50",
241
- "dark:text-red-700",
247
+ "dark:text-red-500",
242
248
  "dark:hover:text-red-500",
243
- "dark:hover:bg-red-700/25"
249
+ "dark:focus-visible:text-red-500",
250
+ "dark:hover:bg-red-950/55",
251
+ "dark:focus-visible:bg-red-950/55"
244
252
  ]
245
253
  },
246
254
  {
@@ -248,13 +256,15 @@ const t = r(
248
256
  size: ["medium", "large"],
249
257
  disabled: !0,
250
258
  class: [
251
- "text-slate-400",
259
+ "opacity-45",
260
+ "text-slate-500",
252
261
  "bg-transparent",
253
262
  "border-transparent",
254
263
  "w-8",
255
264
  "h-8",
256
265
  "[&>svg]:w-5",
257
- "[&>svg]:h-5"
266
+ "[&>svg]:h-5",
267
+ "dark:text-metal-400"
258
268
  ]
259
269
  },
260
270
  {
@@ -273,5 +283,5 @@ const t = r(
273
283
  }
274
284
  );
275
285
  export {
276
- t as buttonVariants
286
+ a as buttonVariants
277
287
  };