@konstructio/ui 0.1.2-alpha.40 → 0.1.2-alpha.43

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 (109) 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.variants.js +3 -2
  29. package/dist/components/Dropdown/components/List/List.js +1 -1
  30. package/dist/components/Dropdown/components/Wrapper.js +42 -28
  31. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  32. package/dist/components/Filter/Filter.variants.js +6 -5
  33. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +73 -46
  34. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +2 -2
  35. package/dist/components/Filter/components/ResetButton/ResetButton.js +28 -14
  36. package/dist/components/Input/Input.js +1 -1
  37. package/dist/components/Input/Input.variants.js +2 -2
  38. package/dist/components/Modal/Modal.js +1 -1
  39. package/dist/components/Modal/components/Body/Body.js +1 -1
  40. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  41. package/dist/components/Modal/components/Header/Header.js +1 -1
  42. package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -3
  43. package/dist/components/Modal/components/index.js +1 -1
  44. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +9 -9
  45. package/dist/components/NumberInput/NumberInput.js +2 -2
  46. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +358 -315
  47. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +1 -1
  48. package/dist/components/PhoneNumberInput/components/Wrapper.js +58 -58
  49. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +2 -2
  50. package/dist/components/PhoneNumberInput/utils/index.js +1 -1
  51. package/dist/components/PieChart/PieChart.js +4 -4
  52. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  53. package/dist/components/Range/Range.js +1 -1
  54. package/dist/components/Slider/Slider.js +1 -1
  55. package/dist/components/Switch/Switch.js +2 -2
  56. package/dist/components/Tabs/Tabs.js +1 -1
  57. package/dist/components/Tabs/Tabs.variants.js +3 -2
  58. package/dist/components/Tabs/components/Content.js +1 -1
  59. package/dist/components/Tabs/components/List.js +1 -1
  60. package/dist/components/Tabs/components/Trigger.js +1 -1
  61. package/dist/components/Tag/Tag.js +1 -1
  62. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +2 -2
  63. package/dist/components/TimePicker/TimePicker.js +1 -1
  64. package/dist/components/TimePicker/TimePicker.variants.js +20 -13
  65. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +23 -16
  66. package/dist/components/TimePicker/components/WrapperList/WrapperList.js +53 -45
  67. package/dist/components/Toast/Toast.js +8 -8
  68. package/dist/components/Tooltip/Tooltip.js +1 -1
  69. package/dist/components/Typography/Typography.js +11 -9
  70. package/dist/components/VirtualizedTable/VirtualizedTable.js +58 -54
  71. package/dist/components/VirtualizedTable/components/Actions/Actions.js +58 -26
  72. package/dist/components/VirtualizedTable/components/Body/Body.js +72 -46
  73. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +80 -77
  74. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +20 -20
  75. package/dist/components/VirtualizedTable/components/Filter/Filter.js +37 -40
  76. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +19 -18
  77. package/dist/components/VirtualizedTable/components/Header/Header.js +49 -31
  78. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +36 -23
  79. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +74 -35
  80. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +1 -1
  81. package/dist/components/index.js +1 -1
  82. package/dist/{index-mPY_8Y5v.js → index-AV6ZtGhy.js} +1 -1
  83. package/dist/{index-CigKKiZS.js → index-BG8O18ZY.js} +5 -3
  84. package/dist/{index-DrWQH0QF.js → index-BKjcReYh.js} +2 -2
  85. package/dist/{index--V_ZsiQe.js → index-BOE_3f_Z.js} +4 -4
  86. package/dist/{index-Dbt2vBmS.js → index-BlSRBdPy.js} +1 -1
  87. package/dist/{index-C3tHPg8y.js → index-BmVmDQGH.js} +2 -2
  88. package/dist/{index-BtQfgaSF.js → index-BvoZGpli.js} +2 -2
  89. package/dist/{index-2hB40Iuc.js → index-Byr10W8m.js} +6 -6
  90. package/dist/index-CPU02rhe.js +134 -0
  91. package/dist/{index-Ds6U2x4Z.js → index-CeZcoQDw.js} +11 -11
  92. package/dist/{index-CdwPV0FE.js → index-D9SSJ6om.js} +3 -3
  93. package/dist/{index-CIAmiWcw.js → index-DKfEnhKr.js} +2 -2
  94. package/dist/{index-CSFe9uC5.js → index-DMb4KD0b.js} +1 -1
  95. package/dist/{index-ohdbKsws.js → index-DtEcCIrM.js} +1 -1
  96. package/dist/{index-BbQkJE5L.js → index-Dy59FQl5.js} +1 -1
  97. package/dist/{index-DpW9ExsS.js → index-gSPwC-1I.js} +3 -3
  98. package/dist/{index-DH2Fnov1.js → index-vcSp8YRZ.js} +4 -4
  99. package/dist/index.d.ts +2 -1
  100. package/dist/index.js +1 -1
  101. package/dist/{libphonenumber-_7ZyKWA7.js → libphonenumber-FTwQ9nyV.js} +11 -11
  102. package/dist/package.json +21 -21
  103. package/dist/styles.css +1 -1
  104. package/dist/ui/civo-theme.css +11 -10
  105. package/dist/{x-DPU9OdYH.js → x-Eoa9FJjA.js} +1 -1
  106. package/package.json +21 -21
  107. package/dist/chevron-left-C4LEg1fH.js +0 -7
  108. package/dist/components/TimePicker/components/WrapperList/WrapperList.variants.js +0 -16
  109. package/dist/index-C65LtGuU.js +0 -137
@@ -22,8 +22,9 @@ const a = e(
22
22
  "aria-expanded:text-aurora-500",
23
23
  "kubefirst:aria-expanded:border-kubefirst-primary",
24
24
  "kubefirst:aria-expanded:text-kubefirst-secondary",
25
- "dark:border-slate-600",
26
- "dark:focus-visible:bg-slate-800"
25
+ "dark:border-metal-700",
26
+ "dark:focus-visible:bg-slate-800",
27
+ "dark:bg-metal-800"
27
28
  ],
28
29
  {
29
30
  variants: {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as V, jsx as r } from "react/jsx-runtime";
2
- import { S as Z } from "../../../../index-BtQfgaSF.js";
2
+ import { S as Z } from "../../../../index-BvoZGpli.js";
3
3
  import { d as B } from "../../../../debounce-BFejQm9P.js";
4
4
  import { forwardRef as G, useRef as C, useState as J, useImperativeHandle as K, useMemo as M, useEffect as Q } from "react";
5
5
  import { Loading as R } from "../../../Loading/Loading.js";
@@ -1,18 +1,18 @@
1
- import { jsxs as m, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as u, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as Z, useId as ee, useRef as C, useMemo as te, useImperativeHandle as ae, useEffect as re } from "react";
3
3
  import { S as ne } from "../../../loader-juvMSJ9L.js";
4
4
  import { Typography as se } from "../../Typography/Typography.js";
5
- import { cn as o } from "../../../utils/index.js";
5
+ import { cn as s } from "../../../utils/index.js";
6
6
  import { labelVariants as oe, inputVariants as le, dropdownVariants as ie } from "../Dropdown.variants.js";
7
7
  import { useDropdown as ce } from "../hooks/useDropdown.js";
8
8
  import { List as pe } from "./List/List.js";
9
- import { c as ue } from "../../../createLucideIcon-D4r5Phnh.js";
10
- import { C as me } from "../../../chevron-up-DrQr2Fwd.js";
9
+ import { c as me } from "../../../createLucideIcon-D4r5Phnh.js";
10
+ import { C as ue } from "../../../chevron-up-DrQr2Fwd.js";
11
11
  import { useDropdownContext as fe } from "../contexts/dropdown.hook.js";
12
12
  const de = [
13
13
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
14
14
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
15
- ], xe = ue("search", de), je = Z(
15
+ ], xe = me("search", de), je = Z(
16
16
  ({
17
17
  additionalOptions: b,
18
18
  className: z,
@@ -44,13 +44,13 @@ const de = [
44
44
  const I = ee(), l = C(null), L = C(null), A = C(0), {
45
45
  isOpen: i,
46
46
  searchTerm: B,
47
- value: s,
47
+ value: o,
48
48
  options: n,
49
49
  setValue: c,
50
50
  setSearchTerm: G,
51
51
  setCanFilter: J,
52
52
  toggleOpen: K
53
- } = fe(), e = te(() => n.find(({ value: a }) => a === s), [n, s]), { wrapperRef: Q, wrapperInputRef: V, handleOpen: j } = ce({
53
+ } = fe(), e = te(() => n.find(({ value: a }) => a === o), [n, o]), { wrapperRef: Q, wrapperInputRef: V, handleOpen: j } = ce({
54
54
  ulRef: L,
55
55
  inputRef: l,
56
56
  disabled: t,
@@ -58,31 +58,31 @@ const de = [
58
58
  onBlur: H
59
59
  }), p = d ? `${I}-${d}` : I;
60
60
  ae(q, () => l.current, [l]), re(() => {
61
- if (x && !s) {
62
- const a = n && n.find((u) => u.value === x);
61
+ if (x && !o) {
62
+ const a = n && n.find((m) => m.value === x);
63
63
  a && c(a.value);
64
64
  }
65
- }, [x, n, c, s]);
65
+ }, [x, n, c, o]);
66
66
  const X = (a) => {
67
- const u = a.target.value;
68
- J(!0), c(""), G(u ?? ""), P?.(u);
67
+ const m = a.target.value;
68
+ J(!0), c(""), G(m ?? ""), P?.(m);
69
69
  const O = n.find(
70
- (Y) => Y.value.toLocaleLowerCase() === u.toLocaleLowerCase()
70
+ (Y) => Y.value.toLocaleLowerCase() === m.toLocaleLowerCase()
71
71
  );
72
72
  c(O ? O.value : e?.value ?? "");
73
73
  };
74
- return /* @__PURE__ */ m(
74
+ return /* @__PURE__ */ u(
75
75
  "div",
76
76
  {
77
77
  ref: Q,
78
- className: o("flex flex-col w-full relative", W),
78
+ className: s("flex flex-col w-full relative", W),
79
79
  "data-theme": M,
80
80
  children: [
81
- v ? /* @__PURE__ */ m(
81
+ v ? /* @__PURE__ */ u(
82
82
  "label",
83
83
  {
84
84
  id: p,
85
- className: o(oe({ className: S })),
85
+ className: s(oe({ className: S })),
86
86
  htmlFor: p,
87
87
  onClick: () => !t && j(),
88
88
  children: [
@@ -91,12 +91,12 @@ const de = [
91
91
  ]
92
92
  }
93
93
  ) : null,
94
- /* @__PURE__ */ m(
94
+ /* @__PURE__ */ u(
95
95
  "div",
96
96
  {
97
97
  ref: V,
98
98
  id: p,
99
- className: o(
99
+ className: s(
100
100
  ie({ className: z, hasError: !!f, disabled: t })
101
101
  ),
102
102
  role: "combobox",
@@ -105,17 +105,31 @@ const de = [
105
105
  tabIndex: A.current,
106
106
  "aria-labelledby": p,
107
107
  children: [
108
- /* @__PURE__ */ m("div", { className: "flex gap-2.5 items-center flex-1", children: [
108
+ /* @__PURE__ */ u("div", { className: "flex gap-2.5 items-center flex-1", children: [
109
109
  e?.leftIcon && !N && /* @__PURE__ */ r("span", { className: "w-4 h-4 flex justify-center items-center dark:text-slate-50", children: e.leftIcon }),
110
- N && /* @__PURE__ */ r(xe, { className: "w-4 h-4 text-zinc-500 select-none dark:text-slate-300 dark:group-focus-within:text-slate-50 transition-colors duration-300" }),
110
+ N && /* @__PURE__ */ r(
111
+ xe,
112
+ {
113
+ className: s(
114
+ "w-4",
115
+ "h-4",
116
+ "text-zinc-500",
117
+ "select-none",
118
+ "transition-colors",
119
+ "duration-300",
120
+ "dark:text-metal-300",
121
+ "dark:group-focus-within:text-slate-50"
122
+ )
123
+ }
124
+ ),
111
125
  k ? /* @__PURE__ */ r(
112
126
  "input",
113
127
  {
114
128
  type: "text",
115
- value: i ? B : e?.label ?? s ?? "",
129
+ value: i ? B : e?.label ?? o ?? "",
116
130
  onChange: X,
117
131
  placeholder: w,
118
- className: o(le({ className: F }), {
132
+ className: s(le({ className: F }), {
119
133
  "text-red-700 placeholder:text-red-700": !!f
120
134
  }),
121
135
  onClick: (a) => {
@@ -130,11 +144,11 @@ const de = [
130
144
  tabIndex: -1,
131
145
  ...y
132
146
  }
133
- ) : /* @__PURE__ */ m(
147
+ ) : /* @__PURE__ */ u(
134
148
  se,
135
149
  {
136
150
  variant: "body2",
137
- className: o(
151
+ className: s(
138
152
  "flex-1 text-zinc-400 text-sm dark:text-slate-400 flex gap-2 items-center",
139
153
  {
140
154
  "text-red-700": !!f,
@@ -153,10 +167,10 @@ const de = [
153
167
  )
154
168
  ] }),
155
169
  g ? /* @__PURE__ */ r(ne, { className: "w-4 h-4 text-slate-400 animate-spin select-none" }) : !N && /* @__PURE__ */ r(
156
- me,
170
+ ue,
157
171
  {
158
172
  "data-state": i ? "open" : "closed",
159
- className: o(
173
+ className: s(
160
174
  "w-4 h-4 text-zinc-500 transition-all duration-100 data-[state=open]:rotate-0 data-[state=closed]:rotate-180 select-none dark:group-focus-within:text-slate-50",
161
175
  R,
162
176
  {
@@ -179,7 +193,7 @@ const de = [
179
193
  "aria-hidden": "true",
180
194
  required: h,
181
195
  inert: !0,
182
- defaultValue: e?.value ?? s ?? void 0,
196
+ defaultValue: e?.value ?? o ?? void 0,
183
197
  ...y
184
198
  }
185
199
  ),
@@ -2,7 +2,7 @@ import { jsxs as h, jsx as p } from "react/jsx-runtime";
2
2
  import v, { forwardRef as x, useState as C, useRef as w, useCallback as b, useEffect as E } from "react";
3
3
  import { cn as l } from "../../utils/index.js";
4
4
  import { Button as P } from "../Button/Button.js";
5
- import { P as c } from "../../index--V_ZsiQe.js";
5
+ import { P as c } from "../../index-BOE_3f_Z.js";
6
6
  function m() {
7
7
  return m = Object.assign || function(e) {
8
8
  for (var i = 1; i < arguments.length; i++) {
@@ -1,13 +1,14 @@
1
1
  import { c as t } from "../../index-D29mdTf5.js";
2
- const a = t(["flex", "gap-8", "items-center"]), n = t([
2
+ const a = t(["flex", "gap-8", "items-center"]), r = t([
3
3
  "flex",
4
4
  "items-center",
5
5
  "gap-1",
6
6
  "text-slate-500",
7
7
  "cursor-pointer",
8
8
  "text-sm",
9
- "w-max"
10
- ]), r = t([
9
+ "w-max",
10
+ "dark:text-metal-300"
11
+ ]), n = t([
11
12
  "text-slate-400",
12
13
  "h-5",
13
14
  "w-5",
@@ -16,7 +17,7 @@ const a = t(["flex", "gap-8", "items-center"]), n = t([
16
17
  "ease-in-out"
17
18
  ]);
18
19
  export {
19
- r as filterButtonIconVariants,
20
- n as filterButtonVariants,
20
+ n as filterButtonIconVariants,
21
+ r as filterButtonVariants,
21
22
  a as filterVariants
22
23
  };
@@ -1,90 +1,117 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
2
  import { Badge as o } from "../../../Badge/Badge.js";
3
3
  import { Button as m } from "../../../Button/Button.js";
4
- import { Checkbox as C } from "../../../Checkbox/Checkbox.js";
5
- import { cn as n } from "../../../../utils/index.js";
6
- import { filterButtonIconVariants as y, filterButtonVariants as N } from "../../Filter.variants.js";
7
- import { useBadgeMultiSelect as B } from "./BadgeMultiSelect.hook.js";
8
- import { C as O } from "../../../../chevron-down-DgT-uSF9.js";
4
+ import { Checkbox as k } from "../../../Checkbox/Checkbox.js";
5
+ import { cn as l } from "../../../../utils/index.js";
6
+ import { filterButtonIconVariants as C, filterButtonVariants as y } from "../../Filter.variants.js";
7
+ import { useBadgeMultiSelect as N } from "./BadgeMultiSelect.hook.js";
8
+ import { C as B } from "../../../../chevron-down-DgT-uSF9.js";
9
9
  const $ = ({
10
- options: i,
10
+ options: n,
11
11
  label: p,
12
- position: d = "left",
12
+ position: i = "left",
13
13
  onApply: f
14
14
  }) => {
15
15
  const {
16
16
  wrapperRef: h,
17
- isOpen: l,
17
+ isOpen: r,
18
18
  selectedOptions: u,
19
19
  selectedCount: c,
20
20
  handleOpen: g,
21
21
  handleResetOptions: b,
22
- handleApplyOptions: v,
23
- handleSelectOption: x
24
- } = B({ onApply: f });
25
- return i.length === 0 ? null : /* @__PURE__ */ a("div", { ref: h, className: "relative", children: [
26
- /* @__PURE__ */ a(
22
+ handleApplyOptions: x,
23
+ handleSelectOption: v
24
+ } = N({ onApply: f });
25
+ return n.length === 0 ? null : /* @__PURE__ */ t("div", { ref: h, className: "relative", children: [
26
+ /* @__PURE__ */ t(
27
27
  "button",
28
28
  {
29
- className: n(N(), {
30
- "text-slate-700": l
29
+ className: l(y(), {
30
+ "text-slate-700 dark:text-metal-50": r
31
31
  }),
32
32
  onClick: g,
33
33
  children: [
34
34
  p,
35
35
  c.length > 0 && /* @__PURE__ */ e(o, { label: c.length.toString() }),
36
36
  /* @__PURE__ */ e(
37
- O,
37
+ B,
38
38
  {
39
- className: n(y(), {
40
- "rotate-180": l,
41
- "text-blue-600": l
39
+ className: l(C(), {
40
+ "rotate-180": r,
41
+ "text-blue-600 dark:text-aurora-500": r
42
42
  })
43
43
  }
44
44
  )
45
45
  ]
46
46
  }
47
47
  ),
48
- l && /* @__PURE__ */ a(
48
+ r && /* @__PURE__ */ t(
49
49
  "div",
50
50
  {
51
- className: n(
52
- "absolute top-full mt-1 bg-white rounded-md shadow-md animate-in fade-in-0 z-10 border border-gray-200",
51
+ className: l(
52
+ "absolute",
53
+ "top-full",
54
+ "mt-1",
55
+ "bg-white",
56
+ "rounded-md",
57
+ "shadow-md",
58
+ "animate-in",
59
+ "fade-in-0",
60
+ "z-10",
61
+ "border",
62
+ "border-gray-200",
63
+ "dark:bg-metal-800",
64
+ "dark:border-metal-700",
53
65
  {
54
- "left-0": d === "left",
55
- "right-0": d === "right"
66
+ "left-0": i === "left",
67
+ "right-0": i === "right"
56
68
  }
57
69
  ),
58
70
  children: [
59
- /* @__PURE__ */ e("div", { className: "py-4", children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: i.map((t) => {
71
+ /* @__PURE__ */ e("div", { className: "py-4", children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: n.map((a) => {
60
72
  const s = !!u.find(
61
- (r) => r.id === t.id
73
+ (d) => d.id === a.id
62
74
  );
63
- return /* @__PURE__ */ a("div", { className: "flex gap-4 px-6", children: [
75
+ return /* @__PURE__ */ t("div", { className: "flex gap-4 px-6", children: [
64
76
  /* @__PURE__ */ e(
65
- C,
77
+ k,
66
78
  {
67
79
  defaultChecked: s,
68
- "data-label": t.id,
69
- onChange: (r) => x(t, r)
80
+ "data-label": a.id,
81
+ onChange: (d) => v(a, d)
70
82
  },
71
- `${t.id}-${s}`
83
+ `${a.id}-${s}`
72
84
  ),
73
- /* @__PURE__ */ e(o, { label: t.label, variant: t.variant })
74
- ] }, t.id);
85
+ /* @__PURE__ */ e(o, { label: a.label, variant: a.variant })
86
+ ] }, a.id);
75
87
  }) }) }),
76
- /* @__PURE__ */ a("div", { className: "flex justify-center items-center gap-4 py-4 border-t border-gray-200", children: [
77
- /* @__PURE__ */ e(
78
- m,
79
- {
80
- variant: "secondary",
81
- appearance: "compact",
82
- onClick: b,
83
- children: "Reset"
84
- }
85
- ),
86
- /* @__PURE__ */ e(m, { appearance: "compact", onClick: v, children: "Apply" })
87
- ] })
88
+ /* @__PURE__ */ t(
89
+ "div",
90
+ {
91
+ className: l(
92
+ "flex",
93
+ "justify-center",
94
+ "items-center",
95
+ "gap-4",
96
+ "py-4",
97
+ "border-t",
98
+ "border-gray-200",
99
+ "dark:border-metal-700"
100
+ ),
101
+ children: [
102
+ /* @__PURE__ */ e(
103
+ m,
104
+ {
105
+ variant: "secondary",
106
+ appearance: "compact",
107
+ onClick: b,
108
+ children: "Reset"
109
+ }
110
+ ),
111
+ /* @__PURE__ */ e(m, { appearance: "compact", onClick: x, children: "Apply" })
112
+ ]
113
+ }
114
+ )
88
115
  ]
89
116
  }
90
117
  )
@@ -22,9 +22,9 @@ const R = ({
22
22
  const e = new AbortController();
23
23
  return document.addEventListener(
24
24
  f.OPEN,
25
- (o) => {
25
+ ((o) => {
26
26
  o.detail !== t && a(!1);
27
- },
27
+ }),
28
28
  {
29
29
  signal: e.signal
30
30
  }
@@ -1,29 +1,43 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { useCallback as a } from "react";
3
- import { Button as m } from "../../../Button/Button.js";
4
- import { resetEvent as p } from "../../events/index.js";
5
- const u = ({
6
- disabled: e,
7
- onClick: t,
8
- ...r
2
+ import { useCallback as s } from "react";
3
+ import { Button as p } from "../../../Button/Button.js";
4
+ import { cn as m } from "../../../../utils/index.js";
5
+ import { resetEvent as c } from "../../events/index.js";
6
+ const b = ({
7
+ disabled: t,
8
+ className: e,
9
+ onClick: r,
10
+ ...a
9
11
  }) => {
10
- const o = a(() => {
11
- p(), t?.();
12
- }, [t]);
12
+ const o = s(() => {
13
+ c(), r?.();
14
+ }, [r]);
13
15
  return /* @__PURE__ */ n(
14
- m,
16
+ p,
15
17
  {
16
18
  type: "button",
17
19
  variant: "text",
18
20
  appearance: "compact",
19
21
  version: "alternate",
20
22
  onClick: o,
21
- disabled: e,
22
- ...r,
23
+ disabled: t,
24
+ className: m(
25
+ "text-aurora-500",
26
+ "hover:text-slate-700",
27
+ "disabled:text-aurora-500/60",
28
+ "bg-transparent",
29
+ "hover:bg-transparent",
30
+ "hover:text-aurora-500",
31
+ "border-transparent",
32
+ "dark:hover:text-aurora-500",
33
+ "dark:hover:bg-aurora-900",
34
+ e
35
+ ),
36
+ ...a,
23
37
  children: "Reset"
24
38
  }
25
39
  );
26
40
  };
27
41
  export {
28
- u as ResetButton
42
+ b as ResetButton
29
43
  };
@@ -4,7 +4,7 @@ import { cn as u } from "../../utils/index.js";
4
4
  import { inputVariants as $ } from "./Input.variants.js";
5
5
  import { SearchIcon as L } from "../../assets/icons/components/Search.js";
6
6
  import { Warning as T } from "../../assets/icons/components/Warning.js";
7
- import { P as i } from "../../index--V_ZsiQe.js";
7
+ import { P as i } from "../../index-BOE_3f_Z.js";
8
8
  function h() {
9
9
  return h = Object.assign || function(t) {
10
10
  for (var n = 1; n < arguments.length; n++) {
@@ -23,8 +23,8 @@ const a = r(
23
23
  "data-[error=false]:dark:focus:ring-aurora-500",
24
24
  "data-[error=false]:focus:ring-aurora-500",
25
25
  "data-[error=false]:kubefirst:focus:ring-kubefirst-primary",
26
- "dark:bg-slate-800",
27
- "dark:border-slate-600",
26
+ "dark:bg-metal-800",
27
+ "dark:border-metal-700",
28
28
  "dark:disabled:bg-slate-900",
29
29
  "dark:disabled:text-slate-400",
30
30
  "dark:text-slate-50",
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "react-dom";
4
- import { M as d } from "../../Modal-CtAG97Ts.js";
4
+ import { M as d } from "../../Modal-CjC-CIJ8.js";
5
5
  import "./components/Header/Header.js";
6
6
  import "./components/Body/Body.js";
7
7
  import "./components/Footer/Footer.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { S as n } from "../../../../index-BtQfgaSF.js";
2
+ import { S as n } from "../../../../index-BvoZGpli.js";
3
3
  import { cn as e } from "../../../../utils/index.js";
4
4
  const i = ({ children: o, asChild: t, className: m }) => /* @__PURE__ */ r(t ? n : "div", { className: e("flex-1", m), children: o });
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { S as n } from "../../../../index-BtQfgaSF.js";
2
+ import { S as n } from "../../../../index-BvoZGpli.js";
3
3
  import { cn as e } from "../../../../utils/index.js";
4
4
  const a = ({ children: o, asChild: r, className: t }) => /* @__PURE__ */ m(r ? n : "div", { className: e("border-zinc-200", t), children: o });
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { S as n } from "../../../../index-BtQfgaSF.js";
2
+ import { S as n } from "../../../../index-BvoZGpli.js";
3
3
  import { cn as e } from "../../../../utils/index.js";
4
4
  const a = ({ children: o, asChild: r, className: t }) => /* @__PURE__ */ m(r ? n : "div", { className: e("border-zinc-200", t), children: o });
5
5
  export {
@@ -1,11 +1,11 @@
1
1
  import "react/jsx-runtime";
2
- import "../../../../index-DrWQH0QF.js";
2
+ import "../../../../index-BKjcReYh.js";
3
3
  import "react";
4
4
  import "../../../../Combination-BtmnusWq.js";
5
- import { W as f } from "../../../../Modal-CtAG97Ts.js";
5
+ import { W as f } from "../../../../Modal-CjC-CIJ8.js";
6
6
  import "../../../../utils/index.js";
7
7
  import "./Wrapper.variants.js";
8
- import "../../../../x-DPU9OdYH.js";
8
+ import "../../../../x-Eoa9FJjA.js";
9
9
  export {
10
10
  f as Wrapper
11
11
  };
@@ -1,7 +1,7 @@
1
1
  import { Body as e } from "./Body/Body.js";
2
2
  import { Footer as t } from "./Footer/Footer.js";
3
3
  import { Header as m } from "./Header/Header.js";
4
- import { W as a } from "../../../Modal-CtAG97Ts.js";
4
+ import { W as a } from "../../../Modal-CjC-CIJ8.js";
5
5
  export {
6
6
  e as Body,
7
7
  t as Footer,
@@ -1,25 +1,25 @@
1
1
  import "../Item/Item.js";
2
- import { List as v } from "../List/List.js";
2
+ import { List as N } from "../List/List.js";
3
3
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
4
4
  import * as c from "react";
5
- import { forwardRef as b, useId as S, useImperativeHandle as C } from "react";
5
+ import { forwardRef as S, useId as b, useImperativeHandle as C } from "react";
6
6
  import { S as O } from "../../../../loader-juvMSJ9L.js";
7
7
  import { cn as t } from "../../../../utils/index.js";
8
8
  import { useMultiSelectDropdown as k } from "../../hooks/useMultiSelectDropdown.js";
9
9
  import { labelVariants as D, multiSelectDropdownVariants as M, wrapperVariants as R } from "../../MultiSelectDropdown.variants.js";
10
- import { C as y } from "../../../../chevron-up-CRyLc5Ml.js";
10
+ import { C as y } from "../../../../chevron-up-DEfvgPCw.js";
11
11
  import { useMultiSelectDropdown as I } from "../../contexts/MultiSelectDropdown.hook.js";
12
12
  import { Tag as V } from "../../../Tag/Tag.js";
13
- const j = (r) => /* @__PURE__ */ c.createElement("svg", { width: 9, height: 9, viewBox: "0 0 9 9", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ c.createElement("path", { d: "M8.16667 0.8225L7.34417 0L4.08333 3.26083L0.8225 0L0 0.8225L3.26083 4.08333L0 7.34417L0.8225 8.16667L4.08333 4.90583L7.34417 8.16667L8.16667 7.34417L4.90583 4.08333L8.16667 0.8225Z", fill: "#364153" })), E = b(
13
+ const j = (r) => /* @__PURE__ */ c.createElement("svg", { width: 9, height: 9, viewBox: "0 0 9 9", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ c.createElement("path", { d: "M8.16667 0.8225L7.34417 0L4.08333 3.26083L0.8225 0L0 0.8225L3.26083 4.08333L0 7.34417L0.8225 8.16667L4.08333 4.90583L7.34417 8.16667L8.16667 7.34417L4.90583 4.08333L8.16667 0.8225Z", fill: "#364153" })), E = S(
14
14
  ({ label: r, labelClassName: p, name: l, placeholder: d = "", theme: h, wrapperClassName: f }, u) => {
15
- const o = S(), {
15
+ const o = b(), {
16
16
  selectedOptions: n,
17
17
  isOpen: s,
18
18
  onOpen: w,
19
19
  onRemoveOption: L,
20
20
  inputRef: i,
21
21
  isLoading: g
22
- } = I(), { wrapperRef: x, handleOpen: N } = k();
22
+ } = I(), { wrapperRef: x, handleOpen: v } = k();
23
23
  return C(u, () => i.current, [i]), /* @__PURE__ */ m(
24
24
  "div",
25
25
  {
@@ -50,14 +50,14 @@ const j = (r) => /* @__PURE__ */ c.createElement("svg", { width: 9, height: 9, v
50
50
  id: l ?? o,
51
51
  className: t(M()),
52
52
  role: "combobox",
53
- onClick: N,
53
+ onClick: v,
54
54
  "aria-expanded": s,
55
55
  children: [
56
56
  n.length === 0 ? /* @__PURE__ */ e("span", { className: "text-base text-inherit select-none", children: d }) : /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2", children: n.map((a) => /* @__PURE__ */ e(
57
57
  V,
58
58
  {
59
59
  id: a.id,
60
- label: a.tagLabel || a.label || "",
60
+ label: a.value || a.tagLabel || "",
61
61
  color: a.tagColor || "gray-800",
62
62
  className: "select-none gap-2",
63
63
  rightIcon: /* @__PURE__ */ e(
@@ -93,7 +93,7 @@ const j = (r) => /* @__PURE__ */ c.createElement("svg", { width: 9, height: 9, v
93
93
  readOnly: !0
94
94
  }
95
95
  ),
96
- s ? /* @__PURE__ */ e(v, {}) : null
96
+ s ? /* @__PURE__ */ e(N, {}) : null
97
97
  ]
98
98
  }
99
99
  );
@@ -1,9 +1,9 @@
1
1
  import { jsxs as m, jsx as c } from "react/jsx-runtime";
2
- import { R as O } from "../../index-DrWQH0QF.js";
2
+ import { R as O } from "../../index-BKjcReYh.js";
3
3
  import f, { forwardRef as b, useId as N, useCallback as w } from "react";
4
4
  import { cn as y } from "../../utils/index.js";
5
5
  import { labelVariants as z, buttonVariants as j, numberInputVariants as _ } from "./NumberInput.variants.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 h() {
8
8
  return h = Object.assign || function(e) {
9
9
  for (var o = 1; o < arguments.length; o++) {