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

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 (179) hide show
  1. package/dist/{Combination-VYaRRJBZ.js → Combination-BtmnusWq.js} +141 -138
  2. package/dist/DatePicker.css +1 -1
  3. package/dist/Modal-CtAG97Ts.js +99 -0
  4. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  5. package/dist/chevron-down-DgT-uSF9.js +5 -0
  6. package/dist/chevron-left-C4LEg1fH.js +7 -0
  7. package/dist/chevron-up-CRyLc5Ml.js +54 -0
  8. package/dist/chevron-up-DrQr2Fwd.js +5 -0
  9. package/dist/components/Alert/Alert.js +2 -2
  10. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  11. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  12. package/dist/components/AlertDialog/components/index.js +1 -1
  13. package/dist/components/Badge/Badge.js +42 -44
  14. package/dist/components/Badge/Badge.variants.js +8 -6
  15. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  16. package/dist/components/Breadcrumb/components/Item/Item.js +24 -23
  17. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
  18. package/dist/components/Button/Button.js +1 -1
  19. package/dist/components/Button/Button.variants.js +1 -1
  20. package/dist/components/Card/Card.variants.js +5 -9
  21. package/dist/components/Checkbox/Checkbox.js +6 -6
  22. package/dist/components/Command/Command.js +2 -2
  23. package/dist/components/Command/components/Command.js +1 -1
  24. package/dist/components/Command/components/CommandEmpty.js +1 -1
  25. package/dist/components/Command/components/CommandGroup.js +1 -1
  26. package/dist/components/Command/components/CommandInput.js +2 -2
  27. package/dist/components/Command/components/CommandItem.js +1 -1
  28. package/dist/components/Command/components/CommandList.js +1 -1
  29. package/dist/components/Command/components/CommandSeparator.js +1 -1
  30. package/dist/components/Command/components/DialogContent.js +2 -2
  31. package/dist/components/Command/components/DialogOverlay.js +1 -1
  32. package/dist/components/Datepicker/DatePicker.js +1243 -1191
  33. package/dist/components/Divider/Divider.variants.js +1 -1
  34. package/dist/components/Dropdown/Dropdown.js +37 -31
  35. package/dist/components/Dropdown/Dropdown.variants.js +9 -4
  36. package/dist/components/Dropdown/components/List/List.js +128 -59
  37. package/dist/components/Dropdown/components/ListItem/ListItem.js +90 -39
  38. package/dist/components/Dropdown/components/Wrapper.js +141 -134
  39. package/dist/components/Dropdown/constants/index.js +4 -0
  40. package/dist/components/Dropdown/constants/pagination.js +4 -0
  41. package/dist/components/Dropdown/contexts/dropdown.context.js +17 -0
  42. package/dist/components/Dropdown/contexts/dropdown.provider.js +48 -20
  43. package/dist/components/Dropdown/hooks/useDropdown.js +74 -29
  44. package/dist/components/Dropdown/hooks/useNavigationList.js +27 -39
  45. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  46. package/dist/components/Filter/Filter.variants.js +2 -2
  47. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
  48. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +1 -1
  49. package/dist/components/Input/Input.js +1 -1
  50. package/dist/components/Input/Input.variants.js +2 -1
  51. package/dist/components/Loading/Loading.js +1 -7
  52. package/dist/components/Modal/Modal.js +2 -2
  53. package/dist/components/Modal/components/Body/Body.js +1 -1
  54. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  55. package/dist/components/Modal/components/Header/Header.js +1 -1
  56. package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -4
  57. package/dist/components/Modal/components/index.js +1 -1
  58. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +34 -0
  59. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +34 -0
  60. package/dist/components/MultiSelectDropdown/components/Item/Item.js +38 -0
  61. package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +38 -0
  62. package/dist/components/MultiSelectDropdown/components/List/List.js +37 -0
  63. package/dist/components/MultiSelectDropdown/components/List/List.variants.js +23 -0
  64. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +105 -0
  65. package/dist/components/MultiSelectDropdown/components/index.js +8 -0
  66. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.context.js +21 -0
  67. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.js +13 -0
  68. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +138 -0
  69. package/dist/components/MultiSelectDropdown/contexts/index.js +6 -0
  70. package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +32 -0
  71. package/dist/components/NumberInput/NumberInput.js +2 -2
  72. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +8 -0
  73. package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +46 -0
  74. package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +27 -0
  75. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +629 -0
  76. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +36 -0
  77. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +45 -0
  78. package/dist/components/PhoneNumberInput/components/Wrapper.js +625 -0
  79. package/dist/components/PhoneNumberInput/components/index.js +6 -0
  80. package/dist/components/PhoneNumberInput/contexts/index.js +8 -0
  81. package/dist/components/PhoneNumberInput/contexts/phone-number.context.js +28 -0
  82. package/dist/components/PhoneNumberInput/contexts/phone-number.hook.js +13 -0
  83. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +6144 -0
  84. package/dist/components/PhoneNumberInput/utils/index.js +11 -0
  85. package/dist/components/PieChart/PieChart.js +647 -664
  86. package/dist/components/RadioCard/RadioCard.variants.js +1 -6
  87. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  88. package/dist/components/Range/Range.js +1 -1
  89. package/dist/components/Sidebar/Sidebar.variants.js +2 -2
  90. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +29 -28
  91. package/dist/components/Slider/Slider.js +1 -1
  92. package/dist/components/Switch/Switch.js +8 -8
  93. package/dist/components/Switch/Switch.variants.js +4 -4
  94. package/dist/components/Tabs/Tabs.js +1 -1
  95. package/dist/components/Tabs/Tabs.variants.js +1 -1
  96. package/dist/components/Tabs/components/Content.js +1 -1
  97. package/dist/components/Tabs/components/List.js +1 -1
  98. package/dist/components/Tabs/components/Trigger.js +1 -1
  99. package/dist/components/Tag/Tag.js +1 -1
  100. package/dist/components/Tag/Tag.variants.js +1 -0
  101. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +49 -98
  102. package/dist/components/TimePicker/TimePicker.variants.js +2 -2
  103. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +2 -2
  104. package/dist/components/Toast/Toast.js +283 -255
  105. package/dist/components/Toast/Toast.variants.js +37 -24
  106. package/dist/components/Tooltip/Tooltip.js +15 -14
  107. package/dist/components/Tooltip/Tooltip.variants.js +5 -4
  108. package/dist/components/Typography/Typography.variants.js +18 -23
  109. package/dist/components/VirtualizedTable/VirtualizedTable.js +121 -0
  110. package/dist/components/VirtualizedTable/VirtualizedTable.variants.js +5 -0
  111. package/dist/components/VirtualizedTable/assets/chevron-down.js +25 -0
  112. package/dist/components/VirtualizedTable/assets/chevron-up.js +25 -0
  113. package/dist/components/VirtualizedTable/assets/index.js +6 -0
  114. package/dist/components/VirtualizedTable/components/Actions/Actions.js +72 -0
  115. package/dist/components/VirtualizedTable/components/Body/Body.js +51 -0
  116. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +165 -0
  117. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +34 -0
  118. package/dist/components/VirtualizedTable/components/Filter/Filter.js +93 -0
  119. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +48 -0
  120. package/dist/components/VirtualizedTable/components/Header/Header.js +84 -0
  121. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +53 -0
  122. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +67 -0
  123. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +34 -0
  124. package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +27 -0
  125. package/dist/components/VirtualizedTable/components/index.js +16 -0
  126. package/dist/components/VirtualizedTable/constants/index.js +5 -0
  127. package/dist/components/VirtualizedTable/constants/pagination.js +5 -0
  128. package/dist/components/VirtualizedTable/contexts/index.js +8 -0
  129. package/dist/components/VirtualizedTable/contexts/table.context.js +32 -0
  130. package/dist/components/VirtualizedTable/contexts/table.hook.js +11 -0
  131. package/dist/components/VirtualizedTable/contexts/table.provider.js +85 -0
  132. package/dist/components/index.js +88 -80
  133. package/dist/contexts/theme.provider.js +0 -1
  134. package/dist/{createLucideIcon-DbC6TvM5.js → createLucideIcon-D4r5Phnh.js} +0 -24
  135. package/dist/debounce-BFejQm9P.js +200 -0
  136. package/dist/ellipsis-vertical-BVPtjl5f.js +9 -0
  137. package/dist/{index-h-Ul0anl.js → index--V_ZsiQe.js} +1 -22
  138. package/dist/index-2hB40Iuc.js +1873 -0
  139. package/dist/index-BZPx6jYI.js +8 -0
  140. package/dist/{index-bwWKd82e.js → index-BbQkJE5L.js} +1 -1
  141. package/dist/index-BtQfgaSF.js +60 -0
  142. package/dist/index-C3tHPg8y.js +662 -0
  143. package/dist/index-C65LtGuU.js +137 -0
  144. package/dist/index-CIAmiWcw.js +200 -0
  145. package/dist/index-CSFe9uC5.js +14 -0
  146. package/dist/index-CSWGJT-v.js +1722 -0
  147. package/dist/{index-D3xzCzcO.js → index-CdwPV0FE.js} +4 -4
  148. package/dist/index-CigKKiZS.js +91 -0
  149. package/dist/{index-BAraV3ai.js → index-DH2Fnov1.js} +11 -12
  150. package/dist/index-DLcqcWxM.js +29 -0
  151. package/dist/index-Dbt2vBmS.js +136 -0
  152. package/dist/{index-DB2XhXHn.js → index-DpW9ExsS.js} +7 -7
  153. package/dist/index-DrWQH0QF.js +55 -0
  154. package/dist/index-Ds6U2x4Z.js +479 -0
  155. package/dist/{index-C1g_chDT.js → index-mPY_8Y5v.js} +2 -2
  156. package/dist/index-ohdbKsws.js +27 -0
  157. package/dist/index.d.ts +232 -23
  158. package/dist/index.js +112 -102
  159. package/dist/libphonenumber-_7ZyKWA7.js +11549 -0
  160. package/dist/loader-juvMSJ9L.js +5 -0
  161. package/dist/package.json +48 -34
  162. package/dist/styles.css +1 -1
  163. package/dist/ui/civo-theme.css +191 -167
  164. package/dist/{useBreadcrumb-B8DnuqkR.js → useBreadcrumb-BAHbGQ_O.js} +0 -10
  165. package/dist/utils/index.js +534 -501
  166. package/dist/{x-BPcqkRZd.js → x-DPU9OdYH.js} +1 -1
  167. package/package.json +48 -34
  168. package/dist/Modal-V67Uz78z.js +0 -98
  169. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  170. package/dist/chevron-down-BLZPftpV.js +0 -11
  171. package/dist/index-BXuxPoz7.js +0 -435
  172. package/dist/index-BfXxHr_2.js +0 -125
  173. package/dist/index-C9T9HQaa.js +0 -423
  174. package/dist/index-CZnD2QxM.js +0 -32
  175. package/dist/index-CrBonFvu.js +0 -144
  176. package/dist/index-Cvx4lqTq.js +0 -47
  177. package/dist/index-DQH6odE9.js +0 -82
  178. package/dist/index-Oq5GlCHP.js +0 -131
  179. package/dist/index-iXyXtdgP.js +0 -31
@@ -0,0 +1,8 @@
1
+ var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function l(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ export {
6
+ o as c,
7
+ l as g
8
+ };
@@ -0,0 +1,5 @@
1
+ import { c as o } from "./createLucideIcon-D4r5Phnh.js";
2
+ const n = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], e = o("chevron-down", n);
3
+ export {
4
+ e as C
5
+ };
@@ -0,0 +1,7 @@
1
+ import { c as o } from "./createLucideIcon-D4r5Phnh.js";
2
+ const e = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], n = o("chevron-right", e);
3
+ const t = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], h = o("chevron-left", t);
4
+ export {
5
+ h as C,
6
+ n as a
7
+ };
@@ -0,0 +1,54 @@
1
+ import l, { forwardRef as c } from "react";
2
+ import { P as a } from "./index--V_ZsiQe.js";
3
+ function p() {
4
+ return p = Object.assign || function(e) {
5
+ for (var o = 1; o < arguments.length; o++) {
6
+ var t = arguments[o];
7
+ for (var r in t)
8
+ Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
9
+ }
10
+ return e;
11
+ }, p.apply(this, arguments);
12
+ }
13
+ function u(e, o) {
14
+ if (e == null) return {};
15
+ var t = v(e, o), r, n;
16
+ if (Object.getOwnPropertySymbols) {
17
+ var i = Object.getOwnPropertySymbols(e);
18
+ for (n = 0; n < i.length; n++)
19
+ r = i[n], !(o.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (t[r] = e[r]);
20
+ }
21
+ return t;
22
+ }
23
+ function v(e, o) {
24
+ if (e == null) return {};
25
+ var t = {}, r = Object.keys(e), n, i;
26
+ for (i = 0; i < r.length; i++)
27
+ n = r[i], !(o.indexOf(n) >= 0) && (t[n] = e[n]);
28
+ return t;
29
+ }
30
+ var s = c(function(e, o) {
31
+ var t = e.color, r = t === void 0 ? "currentColor" : t, n = e.size, i = n === void 0 ? 24 : n, f = u(e, ["color", "size"]);
32
+ return /* @__PURE__ */ l.createElement("svg", p({
33
+ ref: o,
34
+ xmlns: "http://www.w3.org/2000/svg",
35
+ width: i,
36
+ height: i,
37
+ viewBox: "0 0 24 24",
38
+ fill: "none",
39
+ stroke: r,
40
+ strokeWidth: "2",
41
+ strokeLinecap: "round",
42
+ strokeLinejoin: "round"
43
+ }, f), /* @__PURE__ */ l.createElement("polyline", {
44
+ points: "18 15 12 9 6 15"
45
+ }));
46
+ });
47
+ s.propTypes = {
48
+ color: a.string,
49
+ size: a.oneOfType([a.string, a.number])
50
+ };
51
+ s.displayName = "ChevronUp";
52
+ export {
53
+ s as C
54
+ };
@@ -0,0 +1,5 @@
1
+ import { c as o } from "./createLucideIcon-D4r5Phnh.js";
2
+ const c = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], n = o("chevron-up", c);
3
+ export {
4
+ n as C
5
+ };
@@ -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-iXyXtdgP.js";
3
+ import { V as k } from "../../index-DrWQH0QF.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-BPcqkRZd.js";
6
+ import { X as y } from "../../x-DPU9OdYH.js";
7
7
  const R = ({
8
8
  theme: i,
9
9
  type: o,
@@ -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-Oq5GlCHP.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-C65LtGuU.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-Oq5GlCHP.js";
2
+ import { A as p } from "../../../index-C65LtGuU.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-Oq5GlCHP.js";
1
+ import { A as g } from "../../../index-C65LtGuU.js";
2
2
  export {
3
3
  g as AlertDialogTrigger
4
4
  };
@@ -1,70 +1,68 @@
1
- import { jsxs as l, jsx as s } from "react/jsx-runtime";
2
- import { useRef as f, useState as h, useCallback as g, useEffect as v } from "react";
3
- import { cn as c } from "../../utils/index.js";
4
- import { buttonDismissVariants as w, badgeVariants as x } from "./Badge.variants.js";
5
- import { c as y } from "../../createLucideIcon-DbC6TvM5.js";
6
- /**
7
- * @license lucide-react v0.544.0 - ISC
8
- *
9
- * This source code is licensed under the ISC license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */
12
- const M = [
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";
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 = [
13
9
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
14
10
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
15
- ], Z = y("x", M), N = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3cpath%20d='M7.05002%201.45002C7.05002%201.17155%206.9394%200.904476%206.74249%200.707562C6.54557%200.510649%206.2785%200.400024%206.00002%200.400024C5.72155%200.400024%205.45448%200.510649%205.25756%200.707562C5.06065%200.904476%204.95002%201.17155%204.95002%201.45002C4.95002%201.7285%205.06065%201.99557%205.25756%202.19249C5.45448%202.3894%205.72155%202.50002%206.00002%202.50002C6.2785%202.50002%206.54557%202.3894%206.74249%202.19249C6.9394%201.99557%207.05002%201.7285%207.05002%201.45002ZM7.05002%2010.55C7.05002%2010.2715%206.9394%2010.0045%206.74249%209.80756C6.54557%209.61065%206.2785%209.50002%206.00002%209.50002C5.72155%209.50002%205.45448%209.61065%205.25756%209.80756C5.06065%2010.0045%204.95002%2010.2715%204.95002%2010.55C4.95002%2010.8285%205.06065%2011.0956%205.25756%2011.2925C5.45448%2011.4894%205.72155%2011.6%206.00002%2011.6C6.2785%2011.6%206.54557%2011.4894%206.74249%2011.2925C6.9394%2011.0956%207.05002%2010.8285%207.05002%2010.55ZM1.45002%207.05002C1.7285%207.05002%201.99557%206.9394%202.19249%206.74249C2.3894%206.54557%202.50002%206.2785%202.50002%206.00002C2.50002%205.72155%202.3894%205.45448%202.19249%205.25756C1.99557%205.06065%201.7285%204.95002%201.45002%204.95002C1.17155%204.95002%200.904476%205.06065%200.707562%205.25756C0.510649%205.45448%200.400024%205.72155%200.400024%206.00002C0.400024%206.2785%200.510649%206.54557%200.707562%206.74249C0.904476%206.9394%201.17155%207.05002%201.45002%207.05002ZM11.6%206.00002C11.6%205.72155%2011.4894%205.45448%2011.2925%205.25756C11.0956%205.06065%2010.8285%204.95002%2010.55%204.95002C10.2715%204.95002%2010.0045%205.06065%209.80756%205.25756C9.61065%205.45448%209.50002%205.72155%209.50002%206.00002C9.50002%206.2785%209.61065%206.54557%209.80756%206.74249C10.0045%206.9394%2010.2715%207.05002%2010.55%207.05002C10.8285%207.05002%2011.0956%206.9394%2011.2925%206.74249C11.4894%206.54557%2011.6%206.2785%2011.6%206.00002ZM3.52596%209.9594C3.62349%209.86187%203.70085%209.74609%203.75363%209.61867C3.80641%209.49124%203.83358%209.35467%203.83358%209.21674C3.83358%209.07882%203.80641%208.94225%203.75363%208.81482C3.70085%208.6874%203.62349%208.57161%203.52596%208.47409C3.42844%208.37656%203.31265%208.2992%203.18523%208.24642C3.0578%208.19364%202.92123%208.16647%202.78331%208.16647C2.50476%208.16647%202.23761%208.27712%202.04065%208.47409C1.84368%208.67105%201.73303%208.93819%201.73303%209.21674C1.73303%209.49529%201.84368%209.76243%202.04065%209.9594C2.23761%2010.1564%202.50476%2010.267%202.78331%2010.267C3.06186%2010.267%203.329%2010.1564%203.52596%209.9594ZM3.52596%203.52377C3.62833%203.42738%203.7103%203.31141%203.76701%203.18274C3.82371%203.05407%203.85399%202.91532%203.85605%202.77472C3.85812%202.63413%203.83192%202.49455%203.77902%202.36427C3.72611%202.23399%203.64758%202.11566%203.54808%202.01631C3.44858%201.91695%203.33014%201.8386%203.19978%201.78589C3.06942%201.73318%202.92981%201.70718%202.78921%201.70945C2.64862%201.71172%202.50992%201.74221%202.38133%201.7991C2.25274%201.85599%202.13689%201.93814%202.04065%202.04065C1.84368%202.23761%201.73303%202.50476%201.73303%202.78331C1.73303%203.06186%201.84368%203.329%202.04065%203.52596C2.23761%203.72293%202.50476%203.83358%202.78331%203.83358C3.06186%203.83358%203.329%203.72293%203.52596%203.52596V3.52377ZM8.47409%209.9594C8.57161%2010.0569%208.6874%2010.1343%208.81482%2010.1871C8.94225%2010.2399%209.07882%2010.267%209.21674%2010.267C9.35467%2010.267%209.49124%2010.2399%209.61867%2010.1871C9.74609%2010.1343%209.86187%2010.0569%209.9594%209.9594C10.0569%209.86187%2010.1343%209.74609%2010.1871%209.61867C10.2399%209.49124%2010.267%209.35467%2010.267%209.21674C10.267%209.07882%2010.2399%208.94225%2010.1871%208.81482C10.1343%208.6874%2010.0569%208.57161%209.9594%208.47409C9.86187%208.37656%209.74609%208.2992%209.61867%208.24642C9.49124%208.19364%209.35467%208.16647%209.21674%208.16647C9.07882%208.16647%208.94225%208.19364%208.81482%208.24642C8.6874%208.2992%208.57161%208.37656%208.47409%208.47409C8.37656%208.57161%208.2992%208.6874%208.24642%208.81482C8.19364%208.94225%208.16647%209.07882%208.16647%209.21674C8.16647%209.35467%208.19364%209.49124%208.24642%209.61867C8.2992%209.74609%208.37656%209.86187%208.47409%209.9594Z'%20fill='currentColor'%20/%3e%3c/svg%3e", B = ({
16
- className: d,
17
- dismissible: m = !1,
18
- label: a,
19
- loading: r = !1,
20
- size: o,
21
- variant: i,
11
+ ], j = D("x", L), B = ({
12
+ className: u,
13
+ dismissible: p = !1,
14
+ label: r,
15
+ leftIcon: o,
16
+ loading: i = !1,
17
+ size: n,
18
+ variant: l,
22
19
  onClick: e,
23
- onDismiss: n
20
+ onDismiss: m
24
21
  }) => {
25
- const C = f(null), [u, p] = h("visible"), b = g(
26
- (t) => {
27
- t.stopPropagation(), n?.(), p("hidden");
22
+ const s = v(null), [b, f] = y("visible"), h = g(
23
+ (a) => {
24
+ a.stopPropagation(), m?.(), f("hidden");
28
25
  },
29
- [n]
26
+ [m]
30
27
  );
31
- return v(() => {
32
- const t = new AbortController();
33
- return C.current?.addEventListener(
28
+ return N(() => {
29
+ const a = new AbortController();
30
+ return s.current?.addEventListener(
34
31
  "animationend",
35
32
  () => {
36
- C.current?.style.setProperty("display", "none"), C.current?.remove();
33
+ s.current?.style.setProperty("display", "none"), s.current?.remove();
37
34
  },
38
- { signal: t.signal }
39
- ), () => t.abort();
40
- }, []), /* @__PURE__ */ l(
35
+ { signal: a.signal }
36
+ ), () => a.abort();
37
+ }, []), /* @__PURE__ */ c(
41
38
  "span",
42
39
  {
43
- ref: C,
44
- className: c(
45
- x({ variant: i, size: o, className: d }),
40
+ ref: s,
41
+ className: d(
42
+ w({ variant: l, size: n, className: u }),
46
43
  e && "cursor-pointer"
47
44
  ),
48
45
  role: e ? "button" : void 0,
49
46
  onClick: e,
50
47
  tabIndex: e ? 0 : void 0,
51
- "aria-label": e ? `${a} badge` : void 0,
52
- "aria-busy": r,
48
+ "aria-label": e ? `${r} badge` : void 0,
49
+ "aria-busy": i,
53
50
  "aria-live": "polite",
54
- "data-state": u,
51
+ "data-state": b,
55
52
  children: [
56
- r && /* @__PURE__ */ s(N, { className: "h-3 w-3 animate-spin animate-duration-time-2" }),
57
- a,
58
- m && /* @__PURE__ */ l(
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,
55
+ r,
56
+ p && /* @__PURE__ */ c(
59
57
  "button",
60
58
  {
61
59
  type: "button",
62
- className: c(w({ size: o, variant: i })),
63
- onClick: b,
60
+ className: d(S({ size: n, variant: l })),
61
+ onClick: h,
64
62
  "aria-label": "Dismiss",
65
63
  children: [
66
- /* @__PURE__ */ s(Z, { className: "h-full w-full" }),
67
- /* @__PURE__ */ s("span", { className: "sr-only", children: "Dismiss" })
64
+ /* @__PURE__ */ t(j, { className: "h-full w-full" }),
65
+ /* @__PURE__ */ t("span", { className: "sr-only", children: "Dismiss" })
68
66
  ]
69
67
  }
70
68
  )
@@ -1,5 +1,5 @@
1
- import { c as e } from "../../index-D29mdTf5.js";
2
- const a = e(
1
+ import { c as t } from "../../index-D29mdTf5.js";
2
+ const a = t(
3
3
  [
4
4
  "flex",
5
5
  "items-center",
@@ -21,10 +21,11 @@ const a = e(
21
21
  danger: ["bg-red-100", "text-red-800"],
22
22
  info: ["bg-blue-100", "text-blue-800"],
23
23
  success: ["bg-green-100", "text-green-800"],
24
- warning: ["bg-yellow-100", "text-yellow-800"]
24
+ warning: ["bg-yellow-100", "text-yellow-800"],
25
+ violet: ["bg-violet-50", "text-violet-800"]
25
26
  },
26
27
  size: {
27
- default: "text-sm leading-[16px]"
28
+ default: "text-sm leading-4"
28
29
  }
29
30
  },
30
31
  defaultVariants: {
@@ -32,7 +33,7 @@ const a = e(
32
33
  size: "default"
33
34
  }
34
35
  }
35
- ), n = e(
36
+ ), n = t(
36
37
  [
37
38
  "rounded-full",
38
39
  "inline-flex",
@@ -50,7 +51,8 @@ const a = e(
50
51
  danger: ["text-red-700"],
51
52
  info: ["text-blue-700"],
52
53
  success: ["text-green-700"],
53
- warning: ["text-yellow-700"]
54
+ warning: ["text-yellow-700"],
55
+ violet: ["text-violet-700"]
54
56
  },
55
57
  size: {
56
58
  default: ["h-3.5", "w-3.5"]
@@ -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-h-Ul0anl.js";
6
+ import { P as l } from "../../index--V_ZsiQe.js";
7
7
  function m() {
8
8
  return m = Object.assign || function(r) {
9
9
  for (var o = 1; o < arguments.length; o++) {
@@ -1,46 +1,47 @@
1
- import { jsx as a, Fragment as p } from "react/jsx-runtime";
1
+ import { jsx as e, Fragment as p } from "react/jsx-runtime";
2
2
  import { cn as m } from "../../../../utils/index.js";
3
- import { u as f, L as h } from "../../../../useBreadcrumb-B8DnuqkR.js";
4
- import { breadcrumbLinkVariants as o, breadcrumbLabelVariants as b } from "./Item.variants.js";
3
+ import { u as h, L as b } from "../../../../useBreadcrumb-BAHbGQ_O.js";
4
+ import { breadcrumbLinkVariants as d, breadcrumbLabelVariants as k } from "./Item.variants.js";
5
5
  const g = ({
6
6
  isActive: r,
7
7
  isLast: t,
8
8
  label: n,
9
- target: i,
9
+ target: s,
10
10
  theme: c,
11
- to: e,
12
- component: d = "a"
11
+ to: a,
12
+ component: l = "a"
13
13
  }) => {
14
- const { isInsideRouter: l } = f(), s = (u) => {
15
- e === "#" && u.preventDefault();
16
- };
17
- return /* @__PURE__ */ a(
14
+ const { isInsideRouter: u } = h(), o = (f) => {
15
+ a === "#" && f.preventDefault();
16
+ }, i = l;
17
+ return /* @__PURE__ */ e(
18
18
  "li",
19
19
  {
20
20
  "aria-current": t ? "page" : void 0,
21
21
  className: "group font-medium text-inherit",
22
22
  "data-theme": c,
23
- children: e ? /* @__PURE__ */ a(p, { children: l ? /* @__PURE__ */ a(
24
- h,
23
+ children: a ? /* @__PURE__ */ e(p, { children: u ? /* @__PURE__ */ e(
24
+ b,
25
25
  {
26
- to: e,
27
- target: i,
28
- className: m(o({ isActive: r })),
26
+ to: a,
27
+ target: s,
28
+ className: m(d({ isActive: r })),
29
29
  "aria-disabled": r ? "true" : "false",
30
- onClick: s,
30
+ onClick: o,
31
31
  children: n
32
32
  }
33
- ) : /* @__PURE__ */ a(
34
- d,
33
+ ) : /* @__PURE__ */ e(
34
+ i,
35
35
  {
36
- href: e,
37
- target: i,
38
- className: m(o({ isActive: r })),
36
+ href: i === "a" ? a : void 0,
37
+ to: i !== "a" ? a : void 0,
38
+ target: s,
39
+ className: m(d({ isActive: r })),
39
40
  "aria-disabled": r ? "true" : "false",
40
- onClick: s,
41
+ onClick: o,
41
42
  children: n
42
43
  }
43
- ) }) : /* @__PURE__ */ a("span", { className: m(b({ isActive: r })), children: n })
44
+ ) }) : /* @__PURE__ */ e("span", { className: m(k({ isActive: r })), children: n })
44
45
  }
45
46
  );
46
47
  };
@@ -1,4 +1,4 @@
1
- import { u } from "../../../useBreadcrumb-B8DnuqkR.js";
1
+ import { u } from "../../../useBreadcrumb-BAHbGQ_O.js";
2
2
  export {
3
3
  u as useBreadcrumb
4
4
  };
@@ -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-DQH6odE9.js";
3
+ import { S as l } from "../../index-BtQfgaSF.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(
@@ -66,7 +66,7 @@ const t = r(
66
66
  "py-1",
67
67
  "h-auto",
68
68
  "text-[0.8125rem]",
69
- "leading-[1.375rem]",
69
+ "leading-5.5",
70
70
  "h-[30px]"
71
71
  ]
72
72
  }
@@ -1,5 +1,5 @@
1
1
  import { c as r } from "../../index-D29mdTf5.js";
2
- const o = r(
2
+ const a = r(
3
3
  ["border", "border-slate-200", "rounded-xl"],
4
4
  {
5
5
  variants: {
@@ -13,16 +13,12 @@ const o = r(
13
13
  }
14
14
  }
15
15
  }
16
- ), a = r(
16
+ ), o = r(
17
17
  ["border", "border-4", "p-3", "text-card-foreground", "rounded-xl"],
18
18
  {
19
19
  variants: {
20
20
  isActive: {
21
- true: [
22
- "border-kubefirst-primary",
23
- "shadow",
24
- "civo:border-civo-primary"
25
- ],
21
+ true: ["border-aurora-500", "shadow"],
26
22
  false: "border-transparent"
27
23
  },
28
24
  canHover: {
@@ -45,6 +41,6 @@ const o = r(
45
41
  }
46
42
  );
47
43
  export {
48
- o as cardBaseVariants,
49
- a as cardVariants
44
+ a as cardBaseVariants,
45
+ o as cardVariants
50
46
  };
@@ -1,15 +1,15 @@
1
1
  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
- import { u as L } from "../../index-DQH6odE9.js";
5
- import { c as J, a as Q, b as j } from "../../index-BfXxHr_2.js";
6
- import { u as Y, a as Z } from "../../index-CZnD2QxM.js";
7
- import { P as ee } from "../../index-C1g_chDT.js";
8
- import { P as w } from "../../index-C9T9HQaa.js";
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";
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";
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-h-Ul0anl.js";
12
+ import { P as y } from "../../index--V_ZsiQe.js";
13
13
  function R() {
14
14
  return R = Object.assign || function(e) {
15
15
  for (var a = 1; a < arguments.length; a++) {
@@ -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-BXuxPoz7.js";
3
- import { V as l } from "../../index-iXyXtdgP.js";
2
+ import { R as s, D as p } from "../../index-Ds6U2x4Z.js";
3
+ import { V as l } from "../../index-DrWQH0QF.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-D3xzCzcO.js";
3
+ import { _ as o } from "../../../index-CdwPV0FE.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-D3xzCzcO.js";
3
+ import { _ as m } from "../../../index-CdwPV0FE.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-D3xzCzcO.js";
3
+ import { _ as o } from "../../../index-CdwPV0FE.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-D3xzCzcO.js";
2
+ import { _ as m } from "../../../index-CdwPV0FE.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-h-Ul0anl.js";
6
+ import { P as a } from "../../../index--V_ZsiQe.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-D3xzCzcO.js";
3
+ import { _ as o } from "../../../index-CdwPV0FE.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) => {
@@ -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-D3xzCzcO.js";
3
+ import { _ as o } from "../../../index-CdwPV0FE.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-D3xzCzcO.js";
3
+ import { _ as r } from "../../../index-CdwPV0FE.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,9 +1,9 @@
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-BXuxPoz7.js";
3
+ import { a as r, C as o, b as l } from "../../../index-Ds6U2x4Z.js";
4
4
  import { cn as m } from "../../../utils/index.js";
5
5
  import { DialogOverlay as p } from "./DialogOverlay.js";
6
- import { X as c } from "../../../x-BPcqkRZd.js";
6
+ import { X as c } from "../../../x-DPU9OdYH.js";
7
7
  const f = i(({ className: e, children: s, ...n }, d) => /* @__PURE__ */ t(r, { children: [
8
8
  /* @__PURE__ */ a(p, {}),
9
9
  /* @__PURE__ */ t(
@@ -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-BXuxPoz7.js";
3
+ import { O as a } from "../../../index-Ds6U2x4Z.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,