@konstructio/ui 0.1.2-alpha.2 → 0.1.2-alpha.20

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 (110) hide show
  1. package/dist/{Modal-V67Uz78z.js → Modal-B8jrP02v.js} +20 -20
  2. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  3. package/dist/{chevron-down-BLZPftpV.js → chevron-down-J5nS1Tu0.js} +2 -2
  4. package/dist/chevron-right-DeMVrnIg.js +19 -0
  5. package/dist/components/Alert/Alert.js +2 -2
  6. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  7. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  8. package/dist/components/AlertDialog/components/index.js +1 -1
  9. package/dist/components/Badge/Badge.js +31 -28
  10. package/dist/components/Badge/Badge.variants.js +7 -5
  11. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  12. package/dist/components/Breadcrumb/components/Item/Item.js +24 -23
  13. package/dist/components/Button/Button.variants.js +1 -1
  14. package/dist/components/Checkbox/Checkbox.js +5 -4
  15. package/dist/components/Checkbox/Checkbox.variants.js +5 -4
  16. package/dist/components/Command/Command.js +2 -2
  17. package/dist/components/Command/components/Command.js +1 -1
  18. package/dist/components/Command/components/CommandEmpty.js +1 -1
  19. package/dist/components/Command/components/CommandGroup.js +1 -1
  20. package/dist/components/Command/components/CommandInput.js +2 -2
  21. package/dist/components/Command/components/CommandItem.js +1 -1
  22. package/dist/components/Command/components/CommandList.js +1 -1
  23. package/dist/components/Command/components/CommandSeparator.js +1 -1
  24. package/dist/components/Command/components/DialogContent.js +2 -2
  25. package/dist/components/Command/components/DialogOverlay.js +1 -1
  26. package/dist/components/Datepicker/DatePicker.js +545 -543
  27. package/dist/components/Dropdown/Dropdown.js +36 -24
  28. package/dist/components/Dropdown/Dropdown.variants.js +32 -9
  29. package/dist/components/Dropdown/components/List/List.js +64 -45
  30. package/dist/components/Dropdown/components/List/List.variants.js +9 -7
  31. package/dist/components/Dropdown/components/ListItem/ListItem.js +70 -24
  32. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +9 -7
  33. package/dist/components/Dropdown/components/Wrapper.js +154 -108
  34. package/dist/components/Dropdown/contexts/dropdown.context.js +9 -8
  35. package/dist/components/Dropdown/contexts/dropdown.provider.js +20 -19
  36. package/dist/components/Dropdown/hooks/useDropdown.js +30 -27
  37. package/dist/components/Dropdown/hooks/useNavigationList.js +32 -28
  38. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  39. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
  40. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +1 -1
  41. package/dist/components/Input/Input.js +1 -1
  42. package/dist/components/Loading/Loading.js +2 -2
  43. package/dist/components/Modal/Modal.js +2 -2
  44. package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -3
  45. package/dist/components/Modal/components/index.js +1 -1
  46. package/dist/components/NumberInput/NumberInput.js +2 -2
  47. package/dist/components/PieChart/PieChart.js +649 -648
  48. package/dist/components/Range/Range.js +1 -1
  49. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +29 -28
  50. package/dist/components/Skeleton/Skeleton.js +42 -0
  51. package/dist/components/Slider/Slider.js +1 -1
  52. package/dist/components/Switch/Switch.js +6 -5
  53. package/dist/components/Tabs/Tabs.js +1 -1
  54. package/dist/components/Tabs/Tabs.variants.js +45 -24
  55. package/dist/components/Tabs/components/Content.js +1 -1
  56. package/dist/components/Tabs/components/List.js +1 -1
  57. package/dist/components/Tabs/components/Trigger.js +9 -8
  58. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +98 -49
  59. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +1 -1
  60. package/dist/components/Toast/Toast.js +57 -55
  61. package/dist/components/VirtualizedTable/VirtualizedTable.js +121 -0
  62. package/dist/components/VirtualizedTable/VirtualizedTable.variants.js +5 -0
  63. package/dist/components/VirtualizedTable/assets/chevron-down.js +25 -0
  64. package/dist/components/VirtualizedTable/assets/chevron-up.js +25 -0
  65. package/dist/components/VirtualizedTable/assets/index.js +6 -0
  66. package/dist/components/VirtualizedTable/components/Actions/Actions.js +40 -0
  67. package/dist/components/VirtualizedTable/components/Body/Body.js +26 -0
  68. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +165 -0
  69. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +34 -0
  70. package/dist/components/VirtualizedTable/components/Filter/Filter.js +88 -0
  71. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +48 -0
  72. package/dist/components/VirtualizedTable/components/Header/Header.js +82 -0
  73. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +45 -0
  74. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +1871 -0
  75. package/dist/components/VirtualizedTable/components/index.js +14 -0
  76. package/dist/components/VirtualizedTable/constants/index.js +5 -0
  77. package/dist/components/VirtualizedTable/constants/pagination.js +5 -0
  78. package/dist/components/VirtualizedTable/contexts/index.js +8 -0
  79. package/dist/components/VirtualizedTable/contexts/table.context.js +31 -0
  80. package/dist/components/VirtualizedTable/contexts/table.hook.js +11 -0
  81. package/dist/components/VirtualizedTable/contexts/table.provider.js +84 -0
  82. package/dist/components/index.js +44 -40
  83. package/dist/{createLucideIcon-DbC6TvM5.js → createLucideIcon-DGhJ8Z4k.js} +4 -4
  84. package/dist/debounce-BFejQm9P.js +200 -0
  85. package/dist/ellipsis-vertical-DpnVYRxI.js +15 -0
  86. package/dist/{index-D3xzCzcO.js → index-0XtjXVpJ.js} +2 -2
  87. package/dist/index-BAEWsOG1.js +27 -0
  88. package/dist/index-BVRIAMfe.js +36 -0
  89. package/dist/index-BZPx6jYI.js +8 -0
  90. package/dist/{index-Oq5GlCHP.js → index-Bn4c-gww.js} +1 -1
  91. package/dist/index-CffpTFMi.js +137 -0
  92. package/dist/{index-BAraV3ai.js → index-DQJhMz8c.js} +1 -1
  93. package/dist/index-DdXGVVBv.js +15 -0
  94. package/dist/index-Dx2grAuN.js +1742 -0
  95. package/dist/{index-h-Ul0anl.js → index-N2OStZoU.js} +1 -1
  96. package/dist/{index-BXuxPoz7.js → index-amYX3uxF.js} +18 -17
  97. package/dist/{index-DB2XhXHn.js → index-l3NwplN0.js} +11 -10
  98. package/dist/{index-iXyXtdgP.js → index-sp5ZfG6g.js} +1 -1
  99. package/dist/index.d.ts +121 -10
  100. package/dist/index.js +41 -37
  101. package/dist/package.json +33 -25
  102. package/dist/styles.css +1 -1
  103. package/dist/ui/civo-theme.css +191 -167
  104. package/dist/{x-BPcqkRZd.js → x-4F_5p77m.js} +1 -1
  105. package/package.json +33 -25
  106. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  107. package/dist/chevron-up-RLP4nX7V.js +0 -54
  108. package/dist/index-C9T9HQaa.js +0 -423
  109. package/dist/index-CZnD2QxM.js +0 -32
  110. package/dist/index-CrBonFvu.js +0 -144
@@ -1,15 +1,15 @@
1
1
  import { Body as b } from "./components/Modal/components/Body/Body.js";
2
2
  import { Footer as g } from "./components/Modal/components/Footer/Footer.js";
3
3
  import { Header as v } from "./components/Modal/components/Header/Header.js";
4
- import { jsx as n, jsxs as p } from "react/jsx-runtime";
4
+ import { jsx as n, jsxs as f } from "react/jsx-runtime";
5
5
  import { Children as i, isValidElement as s, useEffect as w } from "react";
6
- import { r as x } from "./index-C9T9HQaa.js";
7
- import { R as A } from "./index-iXyXtdgP.js";
8
- import { R as E } from "./Combination-VYaRRJBZ.js";
9
- import { cn as f } from "./utils/index.js";
10
- import { buttonCloseVariants as N, modalVariants as R } from "./components/Modal/components/Wrapper/Wrapper.variants.js";
11
- import { X as k } from "./x-BPcqkRZd.js";
12
- const B = ({
6
+ import { createPortal as A } from "react-dom";
7
+ import { R as N } from "./index-sp5ZfG6g.js";
8
+ import { R } from "./Combination-VYaRRJBZ.js";
9
+ import { cn as p } from "./utils/index.js";
10
+ import { buttonCloseVariants as k, modalVariants as x } from "./components/Modal/components/Wrapper/Wrapper.variants.js";
11
+ import { X as B } from "./x-4F_5p77m.js";
12
+ const E = ({
13
13
  children: e,
14
14
  theme: t,
15
15
  className: m,
@@ -27,7 +27,7 @@ const B = ({
27
27
  o.type
28
28
  )
29
29
  );
30
- return /* @__PURE__ */ n(E, { children: /* @__PURE__ */ p(
30
+ return /* @__PURE__ */ n(R, { children: /* @__PURE__ */ f(
31
31
  "div",
32
32
  {
33
33
  className: "fixed inset-0 grid place-content-center",
@@ -41,11 +41,11 @@ const B = ({
41
41
  role: "presentation"
42
42
  }
43
43
  ),
44
- /* @__PURE__ */ p(
44
+ /* @__PURE__ */ f(
45
45
  "div",
46
46
  {
47
- className: f(
48
- R({
47
+ className: p(
48
+ x({
49
49
  className: m
50
50
  })
51
51
  ),
@@ -53,18 +53,18 @@ const B = ({
53
53
  "aria-modal": "true",
54
54
  children: [
55
55
  l,
56
- /* @__PURE__ */ p(
56
+ /* @__PURE__ */ f(
57
57
  "button",
58
58
  {
59
- className: f(
60
- N({
59
+ className: p(
60
+ k({
61
61
  className: d
62
62
  })
63
63
  ),
64
64
  onClick: a,
65
65
  children: [
66
- /* @__PURE__ */ n(k, {}),
67
- /* @__PURE__ */ n(A, { children: "Dismiss modal" })
66
+ /* @__PURE__ */ n(B, {}),
67
+ /* @__PURE__ */ n(N, { children: "Dismiss modal" })
68
68
  ]
69
69
  }
70
70
  ),
@@ -85,8 +85,8 @@ const B = ({
85
85
  }), () => {
86
86
  a.abort();
87
87
  };
88
- }, [t]), e ? x.createPortal(
89
- /* @__PURE__ */ n(B, { ...d, onClose: t }),
88
+ }, [t]), e ? A(
89
+ /* @__PURE__ */ n(E, { ...d, onClose: t }),
90
90
  m || document.body
91
91
  ) : null);
92
92
  r.Header = v;
@@ -94,5 +94,5 @@ r.Body = b;
94
94
  r.Footer = g;
95
95
  export {
96
96
  r as M,
97
- B as W
97
+ E as W
98
98
  };
@@ -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
+ };
@@ -1,6 +1,6 @@
1
- import { c as o } from "./createLucideIcon-DbC6TvM5.js";
1
+ import { c as o } from "./createLucideIcon-DGhJ8Z4k.js";
2
2
  /**
3
- * @license lucide-react v0.544.0 - ISC
3
+ * @license lucide-react v0.548.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
@@ -0,0 +1,19 @@
1
+ import { c as o } from "./createLucideIcon-DGhJ8Z4k.js";
2
+ /**
3
+ * @license lucide-react v0.548.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], n = o("chevron-left", e);
9
+ /**
10
+ * @license lucide-react v0.548.0 - ISC
11
+ *
12
+ * This source code is licensed under the ISC license.
13
+ * See the LICENSE file in the root directory of this source tree.
14
+ */
15
+ const t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], h = o("chevron-right", t);
16
+ export {
17
+ n as C,
18
+ h as a
19
+ };
@@ -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-sp5ZfG6g.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-4F_5p77m.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-Bn4c-gww.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-Bn4c-gww.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-Bn4c-gww.js";
2
2
  export {
3
3
  g as AlertDialogTrigger
4
4
  };
@@ -1,34 +1,36 @@
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";
1
+ import { jsxs as c, jsx as s } from "react/jsx-runtime";
2
+ import { useRef as h, useState as g, useCallback as v, useEffect as w } from "react";
3
+ import { cn as m } from "../../utils/index.js";
4
+ import { buttonDismissVariants as x, badgeVariants as y } from "./Badge.variants.js";
5
+ import { S as M } from "../../index-DQH6odE9.js";
6
+ import { c as N } from "../../createLucideIcon-DGhJ8Z4k.js";
6
7
  /**
7
- * @license lucide-react v0.544.0 - ISC
8
+ * @license lucide-react v0.548.0 - ISC
8
9
  *
9
10
  * This source code is licensed under the ISC license.
10
11
  * See the LICENSE file in the root directory of this source tree.
11
12
  */
12
- const M = [
13
+ const Z = [
13
14
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
14
15
  ["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
+ ], V = N("x", Z), D = "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", P = ({
16
17
  className: d,
17
- dismissible: m = !1,
18
+ dismissible: u = !1,
18
19
  label: a,
19
- loading: r = !1,
20
- size: o,
21
- variant: i,
20
+ leftIcon: r,
21
+ loading: o = !1,
22
+ size: i,
23
+ variant: n,
22
24
  onClick: e,
23
- onDismiss: n
25
+ onDismiss: l
24
26
  }) => {
25
- const C = f(null), [u, p] = h("visible"), b = g(
27
+ const C = h(null), [p, b] = g("visible"), f = v(
26
28
  (t) => {
27
- t.stopPropagation(), n?.(), p("hidden");
29
+ t.stopPropagation(), l?.(), b("hidden");
28
30
  },
29
- [n]
31
+ [l]
30
32
  );
31
- return v(() => {
33
+ return w(() => {
32
34
  const t = new AbortController();
33
35
  return C.current?.addEventListener(
34
36
  "animationend",
@@ -37,33 +39,34 @@ const M = [
37
39
  },
38
40
  { signal: t.signal }
39
41
  ), () => t.abort();
40
- }, []), /* @__PURE__ */ l(
42
+ }, []), /* @__PURE__ */ c(
41
43
  "span",
42
44
  {
43
45
  ref: C,
44
- className: c(
45
- x({ variant: i, size: o, className: d }),
46
+ className: m(
47
+ y({ variant: n, size: i, className: d }),
46
48
  e && "cursor-pointer"
47
49
  ),
48
50
  role: e ? "button" : void 0,
49
51
  onClick: e,
50
52
  tabIndex: e ? 0 : void 0,
51
53
  "aria-label": e ? `${a} badge` : void 0,
52
- "aria-busy": r,
54
+ "aria-busy": o,
53
55
  "aria-live": "polite",
54
- "data-state": u,
56
+ "data-state": p,
55
57
  children: [
56
- r && /* @__PURE__ */ s(N, { className: "h-3 w-3 animate-spin animate-duration-time-2" }),
58
+ o && /* @__PURE__ */ s(D, { className: "h-3 w-3 animate-spin animate-duration-time-2" }),
59
+ r ? /* @__PURE__ */ s(M, { className: "h-3 w-3", children: r }) : null,
57
60
  a,
58
- m && /* @__PURE__ */ l(
61
+ u && /* @__PURE__ */ c(
59
62
  "button",
60
63
  {
61
64
  type: "button",
62
- className: c(w({ size: o, variant: i })),
63
- onClick: b,
65
+ className: m(x({ size: i, variant: n })),
66
+ onClick: f,
64
67
  "aria-label": "Dismiss",
65
68
  children: [
66
- /* @__PURE__ */ s(Z, { className: "h-full w-full" }),
69
+ /* @__PURE__ */ s(V, { className: "h-full w-full" }),
67
70
  /* @__PURE__ */ s("span", { className: "sr-only", children: "Dismiss" })
68
71
  ]
69
72
  }
@@ -73,5 +76,5 @@ const M = [
73
76
  );
74
77
  };
75
78
  export {
76
- B as Badge
79
+ P as Badge
77
80
  };
@@ -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,7 +21,8 @@ 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
28
  default: "text-sm leading-[16px]"
@@ -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-N2OStZoU.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-B8DnuqkR.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
  };
@@ -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
  }
@@ -3,13 +3,14 @@ import * as h from "react";
3
3
  import S, { forwardRef as z, useId as V, useCallback as X } from "react";
4
4
  import { u as L } from "../../index-DQH6odE9.js";
5
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";
6
+ import { u as Y } from "../../index-BZPx6jYI.js";
7
+ import { u as Z } from "../../index-BAEWsOG1.js";
7
8
  import { P as ee } from "../../index-C1g_chDT.js";
8
- import { P as w } from "../../index-C9T9HQaa.js";
9
+ import { P as w } from "../../index-BVRIAMfe.js";
9
10
  import { cn as T } from "../../utils/index.js";
10
11
  import { checkboxVariants as te, labelVariants as re } from "./Checkbox.variants.js";
11
12
  import { useToggle as oe } from "../../hooks/useToggle.js";
12
- import { P as y } from "../../index-h-Ul0anl.js";
13
+ import { P as y } from "../../index-N2OStZoU.js";
13
14
  function R() {
14
15
  return R = Object.assign || function(e) {
15
16
  for (var a = 1; a < arguments.length; a++) {
@@ -59,7 +60,7 @@ I.propTypes = {
59
60
  size: y.oneOfType([y.string, y.number])
60
61
  };
61
62
  I.displayName = "Check";
62
- var P = "Checkbox", [ce, ye] = J(P), [se, N] = ce(P);
63
+ var P = "Checkbox", [ce, Pe] = J(P), [se, N] = ce(P);
63
64
  function ie(e) {
64
65
  const {
65
66
  __scopeCheckbox: a,
@@ -1,5 +1,5 @@
1
1
  import { c as r } from "../../index-D29mdTf5.js";
2
- const t = r(
2
+ const e = r(
3
3
  [
4
4
  "cursor-pointer",
5
5
  "border",
@@ -10,9 +10,10 @@ const t = r(
10
10
  "justify-center",
11
11
  "items-center",
12
12
  "transition-all",
13
- "text-white",
13
+ "text-slate-800",
14
14
  "border-zinc-400",
15
- "kubefirst:border-kubefirst-primary"
15
+ "kubefirst:border-kubefirst-primary",
16
+ "kubefirst:text-white"
16
17
  ],
17
18
  {
18
19
  variants: {
@@ -40,6 +41,6 @@ const t = r(
40
41
  }
41
42
  ), a = r(["cursor-pointer", "text-slate-800"]);
42
43
  export {
43
- t as checkboxVariants,
44
+ e as checkboxVariants,
44
45
  a as labelVariants
45
46
  };
@@ -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-amYX3uxF.js";
3
+ import { V as l } from "../../index-sp5ZfG6g.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-0XtjXVpJ.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-0XtjXVpJ.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-0XtjXVpJ.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-0XtjXVpJ.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-N2OStZoU.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-0XtjXVpJ.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-0XtjXVpJ.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-0XtjXVpJ.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-amYX3uxF.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-4F_5p77m.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-amYX3uxF.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,