@konstructio/ui 0.1.0-alpha.20 → 0.1.0-alpha.22

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 (33) hide show
  1. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  2. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  3. package/dist/components/AlertDialog/components/index.js +1 -1
  4. package/dist/components/Checkbox/Checkbox.js +1 -1
  5. package/dist/components/Command/Command.js +1 -1
  6. package/dist/components/Command/components/Command.js +1 -1
  7. package/dist/components/Command/components/CommandEmpty.js +1 -1
  8. package/dist/components/Command/components/CommandGroup.js +1 -1
  9. package/dist/components/Command/components/CommandInput.js +1 -1
  10. package/dist/components/Command/components/CommandItem.js +1 -1
  11. package/dist/components/Command/components/CommandList.js +1 -1
  12. package/dist/components/Command/components/CommandSeparator.js +1 -1
  13. package/dist/components/Command/components/DialogContent.js +1 -1
  14. package/dist/components/Command/components/DialogOverlay.js +1 -1
  15. package/dist/components/Dropdown/Dropdown.js +10 -6
  16. package/dist/components/Dropdown/Dropdown.variants.js +46 -25
  17. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +6 -4
  18. package/dist/components/Dropdown/components/Wrapper.js +101 -90
  19. package/dist/components/Input/Input.js +6 -4
  20. package/dist/components/Tabs/Tabs.js +1 -1
  21. package/dist/components/Tabs/components/Content.js +1 -1
  22. package/dist/components/Tabs/components/List.js +1 -1
  23. package/dist/components/Tabs/components/Trigger.js +1 -1
  24. package/dist/components/Toast/Toast.js +31 -36
  25. package/dist/{index-BNU3RH-3.js → index-CT6_TaZk.js} +1 -1
  26. package/dist/{index-CvfCCTEO.js → index-DdbImHmO.js} +1 -1
  27. package/dist/{index-DLYwlPRZ.js → index-aR9z1Fe3.js} +1 -1
  28. package/dist/{index-Dm-ooN_M.js → index-j2KyU-zG.js} +1 -1
  29. package/dist/{index-Dkt8F6CZ.js → index-oBRTQ54R.js} +1 -1
  30. package/dist/index.d.ts +6 -1
  31. package/dist/package.json +11 -11
  32. package/dist/styles.css +1 -1
  33. package/package.json +11 -11
@@ -1,5 +1,5 @@
1
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-BNU3RH-3.js";
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-CT6_TaZk.js";
3
3
  import { Button as l } from "../Button/Button.js";
4
4
  import { cn as t } from "../../utils/index.js";
5
5
  import { useAlertDialog as z } from "./hooks/useAlertDialog.js";
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { A as p } from "../../../index-BNU3RH-3.js";
2
+ import { A as p } from "../../../index-CT6_TaZk.js";
3
3
  import "../../Button/Button.js";
4
4
  import "../../../utils/index.js";
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { A as g } from "../../../index-BNU3RH-3.js";
1
+ import { A as g } from "../../../index-CT6_TaZk.js";
2
2
  export {
3
3
  g as AlertDialogTrigger
4
4
  };
@@ -4,7 +4,7 @@ import S, { forwardRef as z, useId as V, useCallback as X } from "react";
4
4
  import { u as L } from "../../index-B5MIi2tR.js";
5
5
  import { c as J, a as Q, b as j } from "../../index-Cq1I1cG9.js";
6
6
  import { u as Y, a as Z } from "../../index-Bc1LNrRD.js";
7
- import { P as ee } from "../../index-Dm-ooN_M.js";
7
+ import { P as ee } from "../../index-j2KyU-zG.js";
8
8
  import { P as w } from "../../index-BCGvACM9.js";
9
9
  import { cn as T } from "../../utils/index.js";
10
10
  import { checkboxVariants as te, labelVariants as re } from "./Checkbox.variants.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, jsxs as i } from "react/jsx-runtime";
2
- import { R as s, D as p } from "../../index-DLYwlPRZ.js";
2
+ import { R as s, D as p } from "../../index-aR9z1Fe3.js";
3
3
  import { V as l } from "../../index--EmNlyHx.js";
4
4
  import { cn as m } from "../../utils/index.js";
5
5
  import { wrapperVariants as f } from "./Command.variants.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-Dkt8F6CZ.js";
3
+ import { _ as o } from "../../../index-oBRTQ54R.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-Dkt8F6CZ.js";
3
+ import { _ as m } from "../../../index-oBRTQ54R.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-Dkt8F6CZ.js";
3
+ import { _ as o } from "../../../index-oBRTQ54R.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,5 +1,5 @@
1
1
  import { jsxs as y, jsx as c } from "react/jsx-runtime";
2
- import { _ as m } from "../../../index-Dkt8F6CZ.js";
2
+ import { _ as m } from "../../../index-oBRTQ54R.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";
@@ -1,6 +1,6 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
2
  import { forwardRef as i, useContext as p, useCallback as c } from "react";
3
- import { _ as r } from "../../../index-Dkt8F6CZ.js";
3
+ import { _ as r } from "../../../index-oBRTQ54R.js";
4
4
  import { cn as l } from "../../../utils/index.js";
5
5
  import { CommandContext as u } from "../contexts/Command.context.js";
6
6
  const f = i(({ className: a, onSelect: e, ...s }, o) => {
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as s } from "react";
3
- import { _ as o } from "../../../index-Dkt8F6CZ.js";
3
+ import { _ as o } from "../../../index-oBRTQ54R.js";
4
4
  import { cn as t } from "../../../utils/index.js";
5
5
  const e = s(({ className: m, ...r }, a) => /* @__PURE__ */ i(
6
6
  o.List,
@@ -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 r } from "../../../index-Dkt8F6CZ.js";
3
+ import { _ as r } from "../../../index-oBRTQ54R.js";
4
4
  import { cn as t } from "../../../utils/index.js";
5
5
  const s = p(({ className: o, ...a }, m) => /* @__PURE__ */ e(
6
6
  r.Separator,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as i } from "react";
3
- import { a as r, C as o, b as l } from "../../../index-DLYwlPRZ.js";
3
+ import { a as r, C as o, b as l } from "../../../index-aR9z1Fe3.js";
4
4
  import { cn as m } from "../../../utils/index.js";
5
5
  import { DialogOverlay as p } from "./DialogOverlay.js";
6
6
  import { X as c } from "../../../x-BPcqkRZd.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as d } from "react";
3
- import { O as a } from "../../../index-DLYwlPRZ.js";
3
+ import { O as a } from "../../../index-aR9z1Fe3.js";
4
4
  import { cn as i } from "../../../utils/index.js";
5
5
  const m = d(({ className: t, ...e }, o) => /* @__PURE__ */ s(
6
6
  a,
@@ -1,8 +1,12 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { forwardRef as t } from "react";
3
- import { DropdownProvider as d } from "./contexts/dropdown.provider.js";
4
- import { Wrapper as e } from "./components/Wrapper.js";
5
- const x = t(({ onChange: p, value: m, name: r, ...f }, i) => /* @__PURE__ */ o(d, { onChange: p, value: m, name: r, children: /* @__PURE__ */ o(e, { name: r, ref: i, ...f }) }));
1
+ import { jsx as t, jsxs as d } from "react/jsx-runtime";
2
+ import { forwardRef as m } from "react";
3
+ import { DropdownProvider as n } from "./contexts/dropdown.provider.js";
4
+ import { Wrapper as p } from "./components/Wrapper.js";
5
+ const h = m(({ onChange: r, value: e, error: s, helperText: l, name: o, ...a }, i) => /* @__PURE__ */ t(n, { onChange: r, value: e, name: o, children: /* @__PURE__ */ d("div", { className: "relative w-full", children: [
6
+ /* @__PURE__ */ t(p, { name: o, error: s, ref: i, ...a }),
7
+ s ? /* @__PURE__ */ t("span", { className: "text-xs text-red-700", children: s }) : null,
8
+ !s && l ? /* @__PURE__ */ t("span", { className: "text-xs text-slate-600", children: l }) : null
9
+ ] }) }));
6
10
  export {
7
- x as Dropdown
11
+ h as Dropdown
8
12
  };
@@ -1,27 +1,48 @@
1
1
  import { c as e } from "../../index-BNmRGtA6.js";
2
- const o = e([
3
- "border",
4
- "cursor-pointer",
5
- "ease-in-out",
6
- "flex",
7
- "items-center",
8
- "justify-between",
9
- "px-3",
10
- "py-1",
11
- "relative",
12
- "rounded-md",
13
- "transition-all",
14
- "w-full",
15
- "outline-none",
16
- "h-9",
17
- "border-gray-200",
18
- "aria-expanded:border-kubefirst-primary",
19
- "aria-expanded:text-kubefirst-secondary",
20
- "focus-visible:bg-zinc-50",
21
- "colony:aria-expanded:border-red-400",
22
- "colony:aria-expanded:text-red-400",
23
- "colony:focus-visible:bg-red-100"
24
- ]), a = e([
2
+ const a = e(
3
+ [
4
+ "border",
5
+ "cursor-pointer",
6
+ "ease-in-out",
7
+ "flex",
8
+ "items-center",
9
+ "justify-between",
10
+ "px-3",
11
+ "py-1",
12
+ "relative",
13
+ "rounded-md",
14
+ "transition-all",
15
+ "w-full",
16
+ "outline-none",
17
+ "h-9",
18
+ "border-gray-200",
19
+ "aria-expanded:border-kubefirst-primary",
20
+ "aria-expanded:text-kubefirst-secondary",
21
+ "focus-visible:bg-zinc-50",
22
+ "colony:aria-expanded:border-red-400",
23
+ "colony:aria-expanded:text-red-400",
24
+ "civo:aria-expanded:border-civo-primary",
25
+ "civo:aria-expanded:text-civo-primary"
26
+ ],
27
+ {
28
+ variants: {
29
+ hasError: {
30
+ true: [
31
+ "border-red-600",
32
+ "text-red-600",
33
+ "colony:aria-expanded:border-red-600",
34
+ "colony:aria-expanded:text-red-600",
35
+ "civo:aria-expanded:border-red-600",
36
+ "civo:aria-expanded:text-red-600"
37
+ ],
38
+ false: ""
39
+ }
40
+ },
41
+ defaultVariants: {
42
+ hasError: !1
43
+ }
44
+ }
45
+ ), d = e([
25
46
  "mb-1",
26
47
  "cursor-pointer",
27
48
  "text-[14px]",
@@ -29,6 +50,6 @@ const o = e([
29
50
  "tracking-[0.1px]"
30
51
  ]);
31
52
  export {
32
- o as dropdownVariants,
33
- a as labelVariants
53
+ a as dropdownVariants,
54
+ d as labelVariants
34
55
  };
@@ -1,5 +1,5 @@
1
1
  import { c as o } from "../../../../index-BNmRGtA6.js";
2
- const l = o([
2
+ const r = o([
3
3
  "cursor-pointer",
4
4
  "py-2",
5
5
  "px-2",
@@ -12,9 +12,11 @@ const l = o([
12
12
  "gap-3",
13
13
  "hover:bg-slate-50",
14
14
  "focus:bg-slate-50",
15
- "colony:focus:bg-red-100",
16
- "colony:hover:bg-red-100"
15
+ "colony:focus:bg-red-100/20",
16
+ "colony:hover:bg-red-100/20",
17
+ "civo:focus:bg-civo-primary/5",
18
+ "civo:hover:bg-civo-primary/5"
17
19
  ]);
18
20
  export {
19
- l as listItemVariants
21
+ r as listItemVariants
20
22
  };
@@ -1,124 +1,135 @@
1
- import { jsxs as m, jsx as a } from "react/jsx-runtime";
2
- import { forwardRef as W, useId as B, useRef as j, useImperativeHandle as G, useMemo as J, useEffect as N } from "react";
1
+ import { jsxs as u, jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as q, useId as B, useRef as j, useImperativeHandle as G, useMemo as J, useEffect as C } from "react";
3
3
  import { Loading as K } from "../../Loading/Loading.js";
4
- import { cn as p } from "../../../utils/index.js";
5
- import { labelVariants as Q, dropdownVariants as X } from "../Dropdown.variants.js";
6
- import { useDropdown as Y } from "../hooks/useDropdown.js";
7
- import { List as Z } from "./List/List.js";
8
- import { Typography as _ } from "../../Typography/Typography.js";
9
- import { C as q } from "../../../chevron-up-RLP4nX7V.js";
10
- import { useDropdownContext as V } from "../contexts/dropdown.hook.js";
11
- const de = W(
4
+ import { Typography as Q } from "../../Typography/Typography.js";
5
+ import { cn as s } from "../../../utils/index.js";
6
+ import { labelVariants as X, dropdownVariants as Y } from "../Dropdown.variants.js";
7
+ import { useDropdown as Z } from "../hooks/useDropdown.js";
8
+ import { List as _ } from "./List/List.js";
9
+ import { C as V } from "../../../chevron-up-RLP4nX7V.js";
10
+ import { useDropdownContext as ee } from "../contexts/dropdown.hook.js";
11
+ const fe = q(
12
12
  ({
13
13
  className: k,
14
- defaultValue: u,
15
- iconClassName: E,
16
- isLoading: C,
17
- label: x,
18
- labelClassName: D,
19
- listClassName: F,
20
- listItemClassName: M,
21
- name: i,
14
+ defaultValue: x,
15
+ error: d,
16
+ iconClassName: D,
17
+ isLoading: g,
18
+ label: h,
19
+ labelClassName: F,
20
+ listClassName: M,
21
+ listItemClassName: $,
22
+ name: f,
22
23
  options: r,
23
- placeholder: h,
24
- required: g,
25
- searchable: y = !1,
26
- theme: $,
27
- wrapperClassName: A
28
- }, H) => {
29
- const I = B(), s = j(null), R = j(null), { wrapperRef: l, wrapperInputRef: L, handleOpen: O, handleOpenIfClosed: P } = Y({ ulRef: R }), { isOpen: v, toggleOpen: z, value: o, setValue: b, setSearchTerm: w, searchTerm: S } = V(), c = i ? `${I}-${i}` : I;
30
- G(H, () => s.current, [s]);
24
+ placeholder: v,
25
+ isRequired: y,
26
+ searchable: I = !1,
27
+ theme: A,
28
+ wrapperClassName: H
29
+ }, P) => {
30
+ const L = B(), l = j(null), O = j(null), { wrapperRef: c, wrapperInputRef: R, handleOpen: z, handleOpenIfClosed: S } = Z({ ulRef: O }), { isOpen: b, toggleOpen: E, value: o, setValue: w, setSearchTerm: N, searchTerm: U } = ee(), i = f ? `${L}-${f}` : L;
31
+ G(P, () => l.current, [l]);
31
32
  const e = J(() => r.find(({ value: t }) => t === o), [r, o]);
32
- N(() => {
33
- s.current && (s.current.value = o ? e == null ? void 0 : e.value : "");
34
- }, [e, o]), N(() => {
35
- if (u && !o) {
36
- const t = r && r.find((n) => n.value === u);
37
- t && b(t.value);
33
+ C(() => {
34
+ l.current && (l.current.value = o ? e == null ? void 0 : e.value : "");
35
+ }, [e, o]), C(() => {
36
+ if (x && !o) {
37
+ const t = r && r.find((n) => n.value === x);
38
+ t && w(t.value);
38
39
  }
39
- }, [u, r, b, o]), N(() => {
40
+ }, [x, r, w, o]), C(() => {
40
41
  var n;
41
42
  const t = new AbortController();
42
- return (n = l.current) == null || n.addEventListener("focusout", (d) => {
43
+ return (n = c.current) == null || n.addEventListener("focusout", (m) => {
43
44
  var T;
44
- const f = d.relatedTarget;
45
- (!f || !((T = l.current) != null && T.contains(f))) && (z(!1), w(""));
45
+ const p = m.relatedTarget;
46
+ (!p || !((T = c.current) != null && T.contains(p))) && (E(!1), N(""));
46
47
  }), () => {
47
48
  t.abort();
48
49
  };
49
- }, [z, l, w]);
50
- const U = (t) => {
50
+ }, [E, c, N]);
51
+ const W = (t) => {
51
52
  const n = t.target.value;
52
- w(n);
53
- const d = r.find(
54
- (f) => f.value.toLowerCase() === n.toLowerCase()
53
+ N(n);
54
+ const m = r.find(
55
+ (p) => p.value.toLocaleLowerCase() === n.toLocaleLowerCase()
55
56
  );
56
- d && b(d.value);
57
+ m && w(m.value);
57
58
  };
58
- return /* @__PURE__ */ m(
59
+ return /* @__PURE__ */ u(
59
60
  "div",
60
61
  {
61
- ref: l,
62
- className: p("flex flex-col w-full relative", A),
63
- "data-theme": $,
62
+ ref: c,
63
+ className: s("flex flex-col w-full relative", H),
64
+ "data-theme": A,
64
65
  children: [
65
- x ? /* @__PURE__ */ m(
66
+ h ? /* @__PURE__ */ u(
66
67
  "label",
67
68
  {
68
- id: c,
69
- className: p(Q({ className: D })),
70
- htmlFor: c,
71
- onClick: P,
69
+ id: i,
70
+ className: s(X({ className: F })),
71
+ htmlFor: i,
72
+ onClick: S,
72
73
  children: [
73
- x,
74
- g ? /* @__PURE__ */ a("span", { className: "text-red-500 ml-1", children: "*" }) : null
74
+ h,
75
+ y ? /* @__PURE__ */ a("span", { className: "text-red-600 ml-1", children: "*" }) : null
75
76
  ]
76
77
  }
77
78
  ) : null,
78
- /* @__PURE__ */ m(
79
+ /* @__PURE__ */ u(
79
80
  "div",
80
81
  {
81
- ref: L,
82
- id: c,
83
- className: p(X({ className: k })),
82
+ ref: R,
83
+ id: i,
84
+ className: s(Y({ className: k, hasError: !!d })),
84
85
  role: "combobox",
85
- onClick: O,
86
- "aria-expanded": v,
86
+ onClick: z,
87
+ "aria-expanded": b,
87
88
  tabIndex: 0,
88
- "aria-labelledby": c,
89
+ "aria-labelledby": i,
89
90
  children: [
90
- /* @__PURE__ */ m("div", { className: "flex gap-3 items-center flex-1", children: [
91
+ /* @__PURE__ */ u("div", { className: "flex gap-3 items-center flex-1", children: [
91
92
  (e == null ? void 0 : e.leftIcon) && /* @__PURE__ */ a("span", { className: "w-4 h-4 flex justify-center items-center", children: e.leftIcon }),
92
- y ? /* @__PURE__ */ a(
93
+ I ? /* @__PURE__ */ a(
93
94
  "input",
94
95
  {
95
96
  type: "text",
96
- value: v ? S : (e == null ? void 0 : e.label) || "",
97
- onChange: U,
98
- placeholder: h,
99
- className: "flex-1 bg-transparent border-none outline-none text-zinc-700 text-base",
97
+ value: b ? U : (e == null ? void 0 : e.label) || "",
98
+ onChange: W,
99
+ placeholder: v,
100
+ className: s(
101
+ "flex-1 bg-transparent border-none outline-none text-zinc-700 text-base",
102
+ {
103
+ "text-red-700 placeholder:text-red-700": !!d
104
+ }
105
+ ),
100
106
  onClick: (t) => {
101
- t.stopPropagation(), O();
107
+ t.stopPropagation(), z();
102
108
  },
103
- "aria-label": x || h,
104
- "aria-labelledby": c
109
+ "aria-label": h || v,
110
+ "aria-labelledby": i
105
111
  }
106
112
  ) : /* @__PURE__ */ a(
107
- _,
113
+ Q,
108
114
  {
109
115
  variant: "body2",
110
- className: "flex-1 text-zinc-700 text-base",
111
- children: (e == null ? void 0 : e.label) || h
116
+ className: s("flex-1 text-zinc-700 text-base", {
117
+ "text-red-700": !!d
118
+ }),
119
+ children: (e == null ? void 0 : e.label) || v
112
120
  }
113
121
  )
114
122
  ] }),
115
- C ? /* @__PURE__ */ a(K, { className: "w-4 h-4 text-zinc-500" }) : /* @__PURE__ */ a(
116
- q,
123
+ g ? /* @__PURE__ */ a(K, { className: "w-4 h-4 text-zinc-500" }) : /* @__PURE__ */ a(
124
+ V,
117
125
  {
118
- "data-state": v ? "open" : "closed",
119
- className: p(
126
+ "data-state": b ? "open" : "closed",
127
+ className: s(
120
128
  "w-4 h-4 text-zinc-500 transition-all duration-50 data-[state=open]:rotate-0 data-[state=closed]:rotate-180",
121
- E
129
+ D,
130
+ {
131
+ "text-red-700": !!d
132
+ }
122
133
  )
123
134
  }
124
135
  )
@@ -128,26 +139,26 @@ const de = W(
128
139
  /* @__PURE__ */ a(
129
140
  "input",
130
141
  {
131
- ref: s,
142
+ ref: l,
132
143
  type: "text",
133
- name: i,
144
+ name: f,
134
145
  className: "hidden",
135
146
  "aria-hidden": "true",
136
- required: g
147
+ required: y
137
148
  }
138
149
  ),
139
150
  /* @__PURE__ */ a(
140
- Z,
151
+ _,
141
152
  {
142
- ref: R,
143
- className: F,
144
- itemClassName: M,
145
- name: i,
146
- wrapperRef: l,
147
- wrapperInputRef: L,
153
+ ref: O,
154
+ className: M,
155
+ itemClassName: $,
156
+ name: f,
157
+ wrapperRef: c,
158
+ wrapperInputRef: R,
148
159
  options: r,
149
- isLoading: !!C,
150
- searchable: y
160
+ isLoading: !!g,
161
+ searchable: I
151
162
  }
152
163
  )
153
164
  ]
@@ -156,5 +167,5 @@ const de = W(
156
167
  }
157
168
  );
158
169
  export {
159
- de as Wrapper
170
+ fe as Wrapper
160
171
  };
@@ -139,7 +139,7 @@ const C = v(
139
139
  children: [
140
140
  n,
141
141
  " ",
142
- o ? /* @__PURE__ */ s("span", { className: "text-red-600 text-xs mt-0.5", children: "*" }) : null
142
+ o && /* @__PURE__ */ s("span", { className: "text-red-600 text-xs mt-0.5", children: "*" })
143
143
  ]
144
144
  }
145
145
  ) : null,
@@ -149,7 +149,9 @@ const C = v(
149
149
  {
150
150
  className: d(
151
151
  "absolute left-2.5 top-1/2 -translate-y-[50%] text-slate-400",
152
- f && "text-red-600"
152
+ {
153
+ "text-red-700": f
154
+ }
153
155
  ),
154
156
  children: /* @__PURE__ */ s(I, { className: "w-5 h-5" })
155
157
  }
@@ -172,7 +174,7 @@ const C = v(
172
174
  ...j
173
175
  }
174
176
  ),
175
- f ? /* @__PURE__ */ s("i", { className: "absolute right-3 text-red-600 top-1/2 -translate-y-[50%]", children: /* @__PURE__ */ s(W, { className: "w-5 h-5" }) }) : null,
177
+ f ? /* @__PURE__ */ s("i", { className: "absolute right-3 text-red-700 top-1/2 -translate-y-[50%]", children: /* @__PURE__ */ s(W, { className: "w-5 h-5" }) }) : null,
176
178
  p === "password" && !r ? /* @__PURE__ */ s("i", { className: "absolute right-3 text-slate-400 top-1/2 -translate-y-[50%]", children: /* @__PURE__ */ s(
177
179
  P,
178
180
  {
@@ -181,7 +183,7 @@ const C = v(
181
183
  }
182
184
  ) }) : null
183
185
  ] }),
184
- r ? /* @__PURE__ */ s("span", { className: "text-xs text-red-600", children: r }) : null,
186
+ r ? /* @__PURE__ */ s("span", { className: "text-xs text-red-700", children: r }) : null,
185
187
  !r && w ? /* @__PURE__ */ s("span", { className: "text-xs text-slate-600", children: w }) : null
186
188
  ] });
187
189
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { R as n } from "../../index-CvfCCTEO.js";
2
+ import { R as n } from "../../index-DdbImHmO.js";
3
3
  import { cn as s } from "../../utils/index.js";
4
4
  import { rootVariants as p } from "./Tabs.variants.js";
5
5
  import { List as f } from "./components/List.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { C as m } from "../../../index-CvfCCTEO.js";
2
+ import { C as m } from "../../../index-DdbImHmO.js";
3
3
  import { cn as a } from "../../../utils/index.js";
4
4
  import { contentVariants as e } from "../Tabs.variants.js";
5
5
  const c = ({
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { L as n } from "../../../index-CvfCCTEO.js";
2
+ import { L as n } from "../../../index-DdbImHmO.js";
3
3
  import { cn as t } from "../../../utils/index.js";
4
4
  import { listVariants as a } from "../Tabs.variants.js";
5
5
  const p = ({
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { T as e } from "../../../index-CvfCCTEO.js";
2
+ import { T as e } from "../../../index-DdbImHmO.js";
3
3
  import { Typography as m } from "../../Typography/Typography.js";
4
4
  import { cn as n } from "../../../utils/index.js";
5
5
  import { triggerVariants as p } from "../Tabs.variants.js";