@konstructio/ui 0.1.0-alpha.9 → 0.1.1-alpha.1

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 (167) hide show
  1. package/dist/DatePicker.css +1 -1
  2. package/dist/{Modal-CrG0m703.js → Modal-0oht63vU.js} +32 -32
  3. package/dist/assets/icons/components/Search.js +26 -0
  4. package/dist/assets/icons/components/Warning.js +22 -0
  5. package/dist/assets/icons/components/index.js +6 -0
  6. package/dist/{chevron-down-UW8ts6wI.js → chevron-down-CVce9Mvh.js} +2 -2
  7. package/dist/components/Alert/Alert.js +23 -25
  8. package/dist/components/Alert/Alert.variants.js +1 -1
  9. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  10. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  11. package/dist/components/AlertDialog/components/index.js +1 -1
  12. package/dist/components/AlertDialog/hooks/useAlertDialog.js +7 -7
  13. package/dist/components/Autocomplete/Autocomplete.variants.js +3 -4
  14. package/dist/components/Autocomplete/components/List/List.variants.js +3 -7
  15. package/dist/components/Autocomplete/hooks/useAutocomplete.js +38 -43
  16. package/dist/components/Autocomplete/hooks/useNavigationList.js +29 -37
  17. package/dist/components/Badge/Badge.js +40 -42
  18. package/dist/components/Badge/Badge.variants.js +1 -1
  19. package/dist/components/Breadcrumb/Breadcrumb.variants.js +1 -1
  20. package/dist/components/Breadcrumb/components/Item/Item.js +22 -21
  21. package/dist/components/Breadcrumb/components/Item/Item.variants.js +1 -1
  22. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
  23. package/dist/components/Button/Button.js +15 -15
  24. package/dist/components/Button/Button.variants.js +10 -77
  25. package/dist/components/Card/Card.variants.js +3 -5
  26. package/dist/components/Checkbox/Checkbox.js +48 -47
  27. package/dist/components/Checkbox/Checkbox.variants.js +3 -4
  28. package/dist/components/Command/Command.js +2 -2
  29. package/dist/components/Command/Command.variants.js +1 -1
  30. package/dist/components/Command/components/Command.js +1 -1
  31. package/dist/components/Command/components/CommandEmpty.js +1 -1
  32. package/dist/components/Command/components/CommandGroup.js +1 -1
  33. package/dist/components/Command/components/CommandInput.js +1 -1
  34. package/dist/components/Command/components/CommandItem.js +13 -13
  35. package/dist/components/Command/components/CommandList.js +1 -1
  36. package/dist/components/Command/components/CommandSeparator.js +1 -1
  37. package/dist/components/Command/components/DialogContent.js +1 -1
  38. package/dist/components/Command/components/DialogOverlay.js +1 -1
  39. package/dist/components/Datepicker/DatePicker.js +1496 -1577
  40. package/dist/components/Datepicker/DatePicker.variants.js +1 -1
  41. package/dist/components/Divider/Divider.variants.js +1 -1
  42. package/dist/components/Dropdown/Dropdown.js +28 -6
  43. package/dist/components/Dropdown/Dropdown.variants.js +43 -26
  44. package/dist/components/Dropdown/components/List/List.variants.js +1 -1
  45. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +5 -5
  46. package/dist/components/Dropdown/components/Wrapper.js +96 -86
  47. package/dist/components/Dropdown/contexts/dropdown.provider.js +12 -12
  48. package/dist/components/Dropdown/hooks/useDropdown.js +26 -30
  49. package/dist/components/Dropdown/hooks/useNavigationList.js +25 -31
  50. package/dist/components/DropdownButton/DropdownButton.js +135 -0
  51. package/dist/components/Filter/Filter.variants.js +1 -1
  52. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +47 -49
  53. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
  54. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +41 -42
  55. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +30 -30
  56. package/dist/components/Filter/components/ResetButton/ResetButton.js +22 -16
  57. package/dist/components/Input/Input.js +116 -109
  58. package/dist/components/Input/Input.variants.js +18 -5
  59. package/dist/components/Loading/Loading.js +2 -2
  60. package/dist/components/Loading/Loading.variants.js +1 -2
  61. package/dist/components/Modal/Modal.js +2 -2
  62. package/dist/components/Modal/components/Body/Body.js +1 -1
  63. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  64. package/dist/components/Modal/components/Header/Header.js +1 -1
  65. package/dist/components/Modal/components/Wrapper/Wrapper.js +2 -2
  66. package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +7 -9
  67. package/dist/components/Modal/components/index.js +1 -1
  68. package/dist/components/Modal/hooks/useModal.js +16 -17
  69. package/dist/components/NumberInput/NumberInput.js +91 -91
  70. package/dist/components/NumberInput/NumberInput.variants.js +1 -1
  71. package/dist/components/PieChart/PieChart.js +5138 -0
  72. package/dist/components/ProgressBar/ProgressBar.js +58 -26
  73. package/dist/components/ProgressBar/ProgressBar.variants.js +1 -1
  74. package/dist/components/Radio/Radio.js +64 -48
  75. package/dist/components/Radio/Radio.variants.js +3 -3
  76. package/dist/components/RadioCard/RadioCard.js +26 -23
  77. package/dist/components/RadioCard/RadioCard.variants.js +1 -1
  78. package/dist/components/RadioCardGroup/RadioCardGroup.js +28 -28
  79. package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +1 -1
  80. package/dist/components/RadioGroup/RadioGroup.js +37 -37
  81. package/dist/components/RadioGroup/RadioGroup.variants.js +1 -1
  82. package/dist/components/Range/Range.js +1 -1
  83. package/dist/components/Range/Range.variants.js +2 -3
  84. package/dist/components/Sidebar/Sidebar.js +4 -3
  85. package/dist/components/Sidebar/Sidebar.variants.js +1 -1
  86. package/dist/components/Sidebar/components/Footer/Footer.js +5 -4
  87. package/dist/components/Sidebar/components/Footer/Footer.variants.js +1 -1
  88. package/dist/components/Sidebar/components/Logo/Logo.js +6 -5
  89. package/dist/components/Sidebar/components/Logo/Logo.variants.js +1 -1
  90. package/dist/components/Sidebar/components/Navigation/Navigation.js +5 -4
  91. package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +1 -1
  92. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +14 -13
  93. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +1 -1
  94. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +13 -12
  95. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +1 -1
  96. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +5 -6
  97. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +1 -1
  98. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +9 -8
  99. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +1 -1
  100. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +15 -14
  101. package/dist/components/Slider/Slider.js +1 -1
  102. package/dist/components/Slider/Slider.variants.js +2 -8
  103. package/dist/components/Switch/Switch.js +54 -54
  104. package/dist/components/Switch/Switch.variants.js +2 -3
  105. package/dist/components/Table/Table.variants.js +1 -1
  106. package/dist/components/Tabs/Tabs.js +20 -16
  107. package/dist/components/Tabs/Tabs.variants.js +3 -5
  108. package/dist/components/Tabs/components/Content.js +10 -13
  109. package/dist/components/Tabs/components/List.js +9 -8
  110. package/dist/components/Tabs/components/Trigger.js +12 -16
  111. package/dist/components/Tabs/components/index.js +8 -0
  112. package/dist/components/Tag/Tag.js +1 -1
  113. package/dist/components/Tag/Tag.variants.js +1 -1
  114. package/dist/components/TagSelect/TagSelect.variants.js +1 -1
  115. package/dist/components/TagSelect/components/Item/Item.variants.js +1 -1
  116. package/dist/components/TagSelect/components/List/List.variants.js +1 -1
  117. package/dist/components/TagSelect/hooks/useTagSelect.js +14 -16
  118. package/dist/components/TextArea/TextArea.variants.js +4 -5
  119. package/dist/components/TimePicker/TimePicker.variants.js +6 -7
  120. package/dist/components/TimePicker/components/HoursList/HoursList.js +21 -26
  121. package/dist/components/TimePicker/components/MeridianList/MeridianList.js +19 -20
  122. package/dist/components/TimePicker/components/MinutesList/MinutesList.js +24 -25
  123. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +33 -34
  124. package/dist/components/TimePicker/components/WrapperList/WrapperList.variants.js +1 -1
  125. package/dist/components/Toast/Toast.js +223 -232
  126. package/dist/components/Toast/Toast.variants.js +8 -11
  127. package/dist/components/Tooltip/Tooltip.js +1 -1
  128. package/dist/components/Tooltip/Tooltip.variants.js +7 -14
  129. package/dist/components/Tooltip/hooks/useTooltip.js +8 -9
  130. package/dist/components/Typography/Typography.js +26 -31
  131. package/dist/components/Typography/Typography.variants.js +1 -1
  132. package/dist/components/index.js +78 -66
  133. package/dist/contexts/theme.provider.js +28 -29
  134. package/dist/{createLucideIcon-ByJ0JZvK.js → createLucideIcon-BpsAkT97.js} +4 -4
  135. package/dist/index-0ioNhtNM.js +10 -0
  136. package/dist/{index-CvfCCTEO.js → index-BAraV3ai.js} +7 -7
  137. package/dist/index-BXuxPoz7.js +435 -0
  138. package/dist/index-BfXxHr_2.js +125 -0
  139. package/dist/index-C1g_chDT.js +70 -0
  140. package/dist/{index-BCGvACM9.js → index-C9T9HQaa.js} +1 -1
  141. package/dist/{index-Bc1LNrRD.js → index-CZnD2QxM.js} +1 -1
  142. package/dist/index-CrBonFvu.js +144 -0
  143. package/dist/{index-rUBNhTeF.js → index-Cvx4lqTq.js} +2 -2
  144. package/dist/{index-BNmRGtA6.js → index-D29mdTf5.js} +3 -3
  145. package/dist/{index-Dkt8F6CZ.js → index-D3xzCzcO.js} +12 -12
  146. package/dist/index-DB2XhXHn.js +431 -0
  147. package/dist/{index-B5MIi2tR.js → index-DQH6odE9.js} +2 -3
  148. package/dist/index-Oq5GlCHP.js +131 -0
  149. package/dist/{index-Cs8Lv8Wj.js → index-bwWKd82e.js} +1 -1
  150. package/dist/{index--EmNlyHx.js → index-iXyXtdgP.js} +1 -1
  151. package/dist/index.d.ts +157 -9
  152. package/dist/index.js +88 -76
  153. package/dist/package.json +41 -37
  154. package/dist/styles.css +1 -1
  155. package/dist/ui/civo-theme.css +261 -241
  156. package/dist/ui/kubefirst-theme.css +4 -4
  157. package/dist/ui/theme.css +0 -2
  158. package/dist/{useBreadcrumb-DMERrNkJ.js → useBreadcrumb-B8DnuqkR.js} +254 -261
  159. package/dist/utils/index.js +25 -26
  160. package/package.json +41 -37
  161. package/dist/index-BNU3RH-3.js +0 -133
  162. package/dist/index-BvCZBMfr.js +0 -432
  163. package/dist/index-Cq1I1cG9.js +0 -129
  164. package/dist/index-DLYwlPRZ.js +0 -440
  165. package/dist/index-DNRcvRTB.js +0 -145
  166. package/dist/index-Dm-ooN_M.js +0 -71
  167. package/dist/index-DwYXX2sM.js +0 -13
@@ -1,5 +1,5 @@
1
- import { c as e } from "../../index-BNmRGtA6.js";
2
- const t = e([
1
+ import { c as a } from "../../index-D29mdTf5.js";
2
+ const e = a([
3
3
  "rounded-md",
4
4
  "shadow-md",
5
5
  "p-4",
@@ -14,10 +14,8 @@ const t = e([
14
14
  "data-[swipe=cancel]:translate-x-0",
15
15
  "data-[swipe=end]:animate-swipe-out",
16
16
  "shadow-purple-200",
17
- "border-purple-100",
18
- "colony:shadow-red-200",
19
- "colony:border-red-100"
20
- ]), o = e([
17
+ "border-purple-100"
18
+ ]), o = a([
21
19
  "fixed",
22
20
  "bottom-0",
23
21
  "right-0",
@@ -30,16 +28,15 @@ const t = e([
30
28
  "m-0",
31
29
  "z-50",
32
30
  "outline-none"
33
- ]), r = e([
31
+ ]), i = a([
34
32
  "top-2",
35
33
  "right-2",
36
34
  "w-4",
37
35
  "h-4",
38
- "text-kubefirst-primary",
39
- "colony:text-red-400"
36
+ "text-kubefirst-primary"
40
37
  ]);
41
38
  export {
42
- r as closeToastVariants,
43
- t as toastVariants,
39
+ i as closeToastVariants,
40
+ e as toastVariants,
44
41
  o as viewportToastVariants
45
42
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import { S as i } from "../../index-B5MIi2tR.js";
2
+ import { S as i } from "../../index-DQH6odE9.js";
3
3
  import { forwardRef as v, useRef as N, useImperativeHandle as w, useMemo as h, isValidElement as x } from "react";
4
4
  import { cn as o } from "../../utils/index.js";
5
5
  import { arrowVariants as R, tooltipVariants as V } from "./Tooltip.variants.js";
@@ -1,5 +1,5 @@
1
- import { c as r } from "../../index-BNmRGtA6.js";
2
- const o = r(
1
+ import { c as r } from "../../index-D29mdTf5.js";
2
+ const a = r(
3
3
  [
4
4
  "absolute",
5
5
  "w-max",
@@ -12,8 +12,7 @@ const o = r(
12
12
  "duration-250",
13
13
  "[&[data-visible='true']]:opacity-100",
14
14
  "delay-100",
15
- "bg-kubefirst-primary",
16
- "colony:bg-red-700"
15
+ "bg-kubefirst-primary"
17
16
  ],
18
17
  {
19
18
  variants: {
@@ -28,14 +27,8 @@ const o = r(
28
27
  position: "right"
29
28
  }
30
29
  }
31
- ), a = r(
32
- [
33
- "absolute",
34
- "w-0",
35
- "h-0",
36
- "border-kubefirst-primary",
37
- "colony:border-red-700"
38
- ],
30
+ ), o = r(
31
+ ["absolute", "w-0", "h-0", "border-kubefirst-primary"],
39
32
  {
40
33
  variants: {
41
34
  position: {
@@ -87,6 +80,6 @@ const o = r(
87
80
  }
88
81
  );
89
82
  export {
90
- a as arrowVariants,
91
- o as tooltipVariants
83
+ o as arrowVariants,
84
+ a as tooltipVariants
92
85
  };
@@ -1,14 +1,13 @@
1
- import { useRef as l, useState as i, useEffect as u } from "react";
2
- const c = () => {
3
- const e = l(null), [o, n] = i(!1);
4
- return u(() => {
5
- var s, r;
1
+ import { useRef as r, useState as o, useEffect as l } from "react";
2
+ const u = () => {
3
+ const e = r(null), [s, n] = o(!1);
4
+ return l(() => {
6
5
  const t = new AbortController();
7
- return (s = e.current) == null || s.addEventListener(
6
+ return e.current?.addEventListener(
8
7
  "mouseenter",
9
8
  () => n(!0),
10
9
  { signal: t.signal }
11
- ), (r = e.current) == null || r.addEventListener(
10
+ ), e.current?.addEventListener(
12
11
  "mouseleave",
13
12
  () => n(!1),
14
13
  { signal: t.signal }
@@ -16,10 +15,10 @@ const c = () => {
16
15
  t.abort();
17
16
  };
18
17
  }, []), {
19
- isVisible: o,
18
+ isVisible: s,
20
19
  componentRef: e
21
20
  };
22
21
  };
23
22
  export {
24
- c as useTooltip
23
+ u as useTooltip
25
24
  };
@@ -1,33 +1,28 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { cn as f } from "../../utils/index.js";
3
- import { typographyVariants as h } from "./Typography.variants.js";
4
- import { S as l } from "../../index-B5MIi2tR.js";
5
- const d = ({
6
- className: p,
7
- theme: m,
8
- children: s,
9
- variant: o,
10
- component: e,
11
- asChild: r = !1,
12
- ...t
13
- }) => {
14
- const y = r ? l : e ?? (o != null && o.includes("h") ? o : "p");
15
- return /* @__PURE__ */ c(
16
- y,
17
- {
18
- "data-theme": m,
19
- className: f(
20
- h({
21
- className: p,
22
- variant: o
23
- })
24
- ),
25
- ...t,
26
- children: s
27
- }
28
- );
29
- };
30
- d.displayName = "Typography";
1
+ import { jsx as y } from "react/jsx-runtime";
2
+ import { forwardRef as f } from "react";
3
+ import { cn as n } from "../../utils/index.js";
4
+ import { typographyVariants as c } from "./Typography.variants.js";
5
+ const h = f(
6
+ ({ className: r, theme: p, children: m, variant: o, component: t, ...e }, a) => {
7
+ const s = t ?? (o?.includes("h") ? o : "p");
8
+ return /* @__PURE__ */ y(
9
+ s,
10
+ {
11
+ ref: a,
12
+ "data-theme": p,
13
+ className: n(
14
+ c({
15
+ className: r,
16
+ variant: o
17
+ })
18
+ ),
19
+ ...e,
20
+ children: m
21
+ }
22
+ );
23
+ }
24
+ );
25
+ h.displayName = "Typography";
31
26
  export {
32
- d as Typography
27
+ h as Typography
33
28
  };
@@ -1,4 +1,4 @@
1
- import { c as t } from "../../index-BNmRGtA6.js";
1
+ import { c as t } from "../../index-D29mdTf5.js";
2
2
  const e = t([], {
3
3
  variants: {
4
4
  variant: {
@@ -3,82 +3,94 @@ import { AlertDialog as p } from "./AlertDialog/AlertDialog.js";
3
3
  import { Autocomplete as x } from "./Autocomplete/Autocomplete.js";
4
4
  import { Badge as a } from "./Badge/Badge.js";
5
5
  import { Breadcrumb as d } from "./Breadcrumb/Breadcrumb.js";
6
- import { Button as l } from "./Button/Button.js";
6
+ import { Button as n } from "./Button/Button.js";
7
7
  import { Card as u } from "./Card/Card.js";
8
- import { Checkbox as T } from "./Checkbox/Checkbox.js";
9
- import { DatePicker as S } from "./Datepicker/DatePicker.js";
10
- import { Divider as v } from "./Divider/Divider.js";
11
- import { Dropdown as N } from "./Dropdown/Dropdown.js";
12
- import { Filter as s } from "./Filter/Filter.js";
13
- import { Input as C } from "./Input/Input.js";
8
+ import { Checkbox as c } from "./Checkbox/Checkbox.js";
9
+ import { DatePicker as b } from "./Datepicker/DatePicker.js";
10
+ import { Divider as B } from "./Divider/Divider.js";
11
+ import { Dropdown as S } from "./Dropdown/Dropdown.js";
12
+ import { DropdownButton as N } from "./DropdownButton/DropdownButton.js";
13
+ import { Filter as h } from "./Filter/Filter.js";
14
+ import { Input as A } from "./Input/Input.js";
14
15
  import { Loading as k } from "./Loading/Loading.js";
15
- import { M as F } from "../Modal-CrG0m703.js";
16
+ import { M as G } from "../Modal-0oht63vU.js";
16
17
  import { NumberInput as M } from "./NumberInput/NumberInput.js";
17
- import { ProgressBar as y } from "./ProgressBar/ProgressBar.js";
18
- import { Radio as L } from "./Radio/Radio.js";
19
- import { RadioCard as j } from "./RadioCard/RadioCard.js";
20
- import { RadioCardGroup as z } from "./RadioCardGroup/RadioCardGroup.js";
21
- import { RadioGroup as H } from "./RadioGroup/RadioGroup.js";
22
- import { Range as K } from "./Range/Range.js";
23
- import { Sidebar as U } from "./Sidebar/Sidebar.js";
24
- import { Slider as W } from "./Slider/Slider.js";
25
- import { Switch as Y } from "./Switch/Switch.js";
26
- import { Table as _ } from "./Table/Table.js";
27
- import { Tag as oo } from "./Tag/Tag.js";
28
- import { TagSelect as eo } from "./TagSelect/TagSelect.js";
29
- import { TextArea as po } from "./TextArea/TextArea.js";
30
- import { TimePicker as xo } from "./TimePicker/TimePicker.js";
31
- import { Toast as ao } from "./Toast/Toast.js";
32
- import { Tooltip as go } from "./Tooltip/Tooltip.js";
33
- import { Typography as no } from "./Typography/Typography.js";
34
- import { BadgeMultiSelect as co } from "./Filter/components/BadgeDropdown/BadgeMultiSelect.js";
35
- import { DateFilterDropdown as Do } from "./Filter/components/DateFilterDropdown/DateFilterDropdown.js";
36
- import { Footer as bo } from "./Sidebar/components/Footer/Footer.js";
37
- import { Logo as Bo } from "./Sidebar/components/Logo/Logo.js";
38
- import { Navigation as Ro } from "./Sidebar/components/Navigation/Navigation.js";
39
- import { NavigationGroup as Ao } from "./Sidebar/components/NavigationGroup/NavigationGroup.js";
40
- import { NavigationOption as ho } from "./Sidebar/components/NavigationOption/NavigationOption.js";
41
- import { NavigationSeparator as wo } from "./Sidebar/components/NavigationSeparator/NavigationSeparator.js";
18
+ import { PieChart as I } from "./PieChart/PieChart.js";
19
+ import { ProgressBar as j } from "./ProgressBar/ProgressBar.js";
20
+ import { Radio as z } from "./Radio/Radio.js";
21
+ import { RadioCard as H } from "./RadioCard/RadioCard.js";
22
+ import { RadioCardGroup as K } from "./RadioCardGroup/RadioCardGroup.js";
23
+ import { RadioGroup as U } from "./RadioGroup/RadioGroup.js";
24
+ import { Range as W } from "./Range/Range.js";
25
+ import { Sidebar as Y } from "./Sidebar/Sidebar.js";
26
+ import { Slider as _ } from "./Slider/Slider.js";
27
+ import { Switch as oo } from "./Switch/Switch.js";
28
+ import { Table as eo } from "./Table/Table.js";
29
+ import { Tabs as po } from "./Tabs/Tabs.js";
30
+ import { Tag as xo } from "./Tag/Tag.js";
31
+ import { TagSelect as ao } from "./TagSelect/TagSelect.js";
32
+ import { TextArea as go } from "./TextArea/TextArea.js";
33
+ import { TimePicker as lo } from "./TimePicker/TimePicker.js";
34
+ import { Toast as To } from "./Toast/Toast.js";
35
+ import { Tooltip as Do } from "./Tooltip/Tooltip.js";
36
+ import { Typography as so } from "./Typography/Typography.js";
37
+ import { BadgeMultiSelect as Co } from "./Filter/components/BadgeDropdown/BadgeMultiSelect.js";
38
+ import { DateFilterDropdown as vo } from "./Filter/components/DateFilterDropdown/DateFilterDropdown.js";
39
+ import { Footer as Ro } from "./Sidebar/components/Footer/Footer.js";
40
+ import { Logo as wo } from "./Sidebar/components/Logo/Logo.js";
41
+ import { Navigation as Po } from "./Sidebar/components/Navigation/Navigation.js";
42
+ import { NavigationGroup as Fo } from "./Sidebar/components/NavigationGroup/NavigationGroup.js";
43
+ import { NavigationOption as Lo } from "./Sidebar/components/NavigationOption/NavigationOption.js";
44
+ import { NavigationSeparator as yo } from "./Sidebar/components/NavigationSeparator/NavigationSeparator.js";
45
+ import { Content as Oo } from "./Tabs/components/Content.js";
46
+ import { List as qo } from "./Tabs/components/List.js";
47
+ import { Trigger as Eo } from "./Tabs/components/Trigger.js";
42
48
  export {
43
49
  e as Alert,
44
50
  p as AlertDialog,
45
51
  x as Autocomplete,
46
52
  a as Badge,
47
- co as BadgeMultiSelect,
53
+ Co as BadgeMultiSelect,
48
54
  d as Breadcrumb,
49
- l as Button,
55
+ n as Button,
50
56
  u as Card,
51
- T as Checkbox,
52
- Do as DateFilterDropdown,
53
- S as DatePicker,
54
- v as Divider,
55
- N as Dropdown,
56
- s as Filter,
57
- bo as Footer,
58
- C as Input,
57
+ c as Checkbox,
58
+ Oo as Content,
59
+ vo as DateFilterDropdown,
60
+ b as DatePicker,
61
+ B as Divider,
62
+ S as Dropdown,
63
+ N as DropdownButton,
64
+ h as Filter,
65
+ Ro as Footer,
66
+ A as Input,
67
+ qo as List,
59
68
  k as Loading,
60
- Bo as Logo,
61
- F as Modal,
62
- Ro as Navigation,
63
- Ao as NavigationGroup,
64
- ho as NavigationOption,
65
- wo as NavigationSeparator,
69
+ wo as Logo,
70
+ G as Modal,
71
+ Po as Navigation,
72
+ Fo as NavigationGroup,
73
+ Lo as NavigationOption,
74
+ yo as NavigationSeparator,
66
75
  M as NumberInput,
67
- y as ProgressBar,
68
- L as Radio,
69
- j as RadioCard,
70
- z as RadioCardGroup,
71
- H as RadioGroup,
72
- K as Range,
73
- U as Sidebar,
74
- W as Slider,
75
- Y as Switch,
76
- _ as Table,
77
- oo as Tag,
78
- eo as TagSelect,
79
- po as TextArea,
80
- xo as TimePicker,
81
- ao as Toast,
82
- go as Tooltip,
83
- no as Typography
76
+ I as PieChart,
77
+ j as ProgressBar,
78
+ z as Radio,
79
+ H as RadioCard,
80
+ K as RadioCardGroup,
81
+ U as RadioGroup,
82
+ W as Range,
83
+ Y as Sidebar,
84
+ _ as Slider,
85
+ oo as Switch,
86
+ eo as Table,
87
+ po as Tabs,
88
+ xo as Tag,
89
+ ao as TagSelect,
90
+ go as TextArea,
91
+ lo as TimePicker,
92
+ To as Toast,
93
+ Do as Tooltip,
94
+ Eo as Trigger,
95
+ so as Typography
84
96
  };
@@ -3,85 +3,84 @@ import { useState as h, useEffect as g } from "react";
3
3
  import { isClient as l } from "../utils/index.js";
4
4
  import { ThemeContext as C } from "./theme.context.js";
5
5
  /*! js-cookie v3.0.5 | MIT */
6
- function p(n) {
6
+ function p(r) {
7
7
  for (var o = 1; o < arguments.length; o++) {
8
8
  var t = arguments[o];
9
9
  for (var f in t)
10
- n[f] = t[f];
10
+ r[f] = t[f];
11
11
  }
12
- return n;
12
+ return r;
13
13
  }
14
14
  var a = {
15
- read: function(n) {
16
- return n[0] === '"' && (n = n.slice(1, -1)), n.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
15
+ read: function(r) {
16
+ return r[0] === '"' && (r = r.slice(1, -1)), r.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
17
17
  },
18
- write: function(n) {
19
- return encodeURIComponent(n).replace(
18
+ write: function(r) {
19
+ return encodeURIComponent(r).replace(
20
20
  /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
21
21
  decodeURIComponent
22
22
  );
23
23
  }
24
24
  };
25
- function s(n, o) {
26
- function t(e, u, r) {
25
+ function s(r, o) {
26
+ function t(n, u, e) {
27
27
  if (!(typeof document > "u")) {
28
- r = p({}, o, r), typeof r.expires == "number" && (r.expires = new Date(Date.now() + r.expires * 864e5)), r.expires && (r.expires = r.expires.toUTCString()), e = encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
28
+ e = p({}, o, e), typeof e.expires == "number" && (e.expires = new Date(Date.now() + e.expires * 864e5)), e.expires && (e.expires = e.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
29
29
  var i = "";
30
- for (var c in r)
31
- r[c] && (i += "; " + c, r[c] !== !0 && (i += "=" + r[c].split(";")[0]));
32
- return document.cookie = e + "=" + n.write(u, e) + i;
30
+ for (var c in e)
31
+ e[c] && (i += "; " + c, e[c] !== !0 && (i += "=" + e[c].split(";")[0]));
32
+ return document.cookie = n + "=" + r.write(u, n) + i;
33
33
  }
34
34
  }
35
- function f(e) {
36
- if (!(typeof document > "u" || arguments.length && !e)) {
37
- for (var u = document.cookie ? document.cookie.split("; ") : [], r = {}, i = 0; i < u.length; i++) {
35
+ function f(n) {
36
+ if (!(typeof document > "u" || arguments.length && !n)) {
37
+ for (var u = document.cookie ? document.cookie.split("; ") : [], e = {}, i = 0; i < u.length; i++) {
38
38
  var c = u[i].split("="), m = c.slice(1).join("=");
39
39
  try {
40
40
  var d = decodeURIComponent(c[0]);
41
- if (r[d] = n.read(m, d), e === d)
41
+ if (e[d] = r.read(m, d), n === d)
42
42
  break;
43
43
  } catch {
44
44
  }
45
45
  }
46
- return e ? r[e] : r;
46
+ return n ? e[n] : e;
47
47
  }
48
48
  }
49
49
  return Object.create(
50
50
  {
51
51
  set: t,
52
52
  get: f,
53
- remove: function(e, u) {
53
+ remove: function(n, u) {
54
54
  t(
55
- e,
55
+ n,
56
56
  "",
57
57
  p({}, u, {
58
58
  expires: -1
59
59
  })
60
60
  );
61
61
  },
62
- withAttributes: function(e) {
63
- return s(this.converter, p({}, this.attributes, e));
62
+ withAttributes: function(n) {
63
+ return s(this.converter, p({}, this.attributes, n));
64
64
  },
65
- withConverter: function(e) {
66
- return s(p({}, this.converter, e), this.attributes);
65
+ withConverter: function(n) {
66
+ return s(p({}, this.converter, n), this.attributes);
67
67
  }
68
68
  },
69
69
  {
70
70
  attributes: { value: Object.freeze(o) },
71
- converter: { value: Object.freeze(n) }
71
+ converter: { value: Object.freeze(r) }
72
72
  }
73
73
  );
74
74
  }
75
75
  var x = s(a, { path: "/" });
76
76
  const R = ({
77
- children: n,
77
+ children: r,
78
78
  theme: o
79
79
  }) => {
80
80
  const [t, f] = h(() => o || (l ? x.get("konstruct-theme") : "kubefirst"));
81
81
  return g(() => {
82
- var e;
83
- (e = document.querySelector("body")) == null || e.setAttribute("data-theme", t);
84
- }, [t]), /* @__PURE__ */ v(C.Provider, { value: { theme: t, setTheme: f }, children: n });
82
+ document.querySelector("body")?.setAttribute("data-theme", t);
83
+ }, [t]), /* @__PURE__ */ v(C.Provider, { value: { theme: t, setTheme: f }, children: r });
85
84
  };
86
85
  export {
87
86
  R as ThemeProvider
@@ -1,6 +1,6 @@
1
1
  import { forwardRef as l, createElement as n } from "react";
2
2
  /**
3
- * @license lucide-react v0.513.0 - ISC
3
+ * @license lucide-react v0.542.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.
@@ -17,7 +17,7 @@ const w = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), h = (t)
17
17
  return !0;
18
18
  };
19
19
  /**
20
- * @license lucide-react v0.513.0 - ISC
20
+ * @license lucide-react v0.542.0 - ISC
21
21
  *
22
22
  * This source code is licensed under the ISC license.
23
23
  * See the LICENSE file in the root directory of this source tree.
@@ -34,7 +34,7 @@ var g = {
34
34
  strokeLinejoin: "round"
35
35
  };
36
36
  /**
37
- * @license lucide-react v0.513.0 - ISC
37
+ * @license lucide-react v0.542.0 - ISC
38
38
  *
39
39
  * This source code is licensed under the ISC license.
40
40
  * See the LICENSE file in the root directory of this source tree.
@@ -69,7 +69,7 @@ const A = l(
69
69
  )
70
70
  );
71
71
  /**
72
- * @license lucide-react v0.513.0 - ISC
72
+ * @license lucide-react v0.542.0 - ISC
73
73
  *
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
@@ -0,0 +1,10 @@
1
+ import * as e from "react";
2
+ function c(r) {
3
+ const t = e.useRef(r);
4
+ return e.useEffect(() => {
5
+ t.current = r;
6
+ }), e.useMemo(() => (...u) => t.current?.(...u), []);
7
+ }
8
+ export {
9
+ c as u
10
+ };
@@ -1,13 +1,13 @@
1
1
  import * as s from "react";
2
- import { c as K, b as I, a as L } from "./index-Cq1I1cG9.js";
3
- import { c as ce } from "./index-rUBNhTeF.js";
4
- import { u as ie } from "./index-B5MIi2tR.js";
5
- import { u as O } from "./index-Cs8Lv8Wj.js";
6
- import { P as C } from "./index-BCGvACM9.js";
7
- import { u as ue } from "./index-DwYXX2sM.js";
2
+ import { c as K, b as I, a as L } from "./index-BfXxHr_2.js";
3
+ import { c as ce } from "./index-Cvx4lqTq.js";
4
+ import { u as ie } from "./index-DQH6odE9.js";
5
+ import { u as O } from "./index-bwWKd82e.js";
6
+ import { P as C } from "./index-C9T9HQaa.js";
7
+ import { u as ue } from "./index-0ioNhtNM.js";
8
8
  import { u as k } from "./index-BdMNhZnh.js";
9
9
  import { jsx as l } from "react/jsx-runtime";
10
- import { P as le } from "./index-Dm-ooN_M.js";
10
+ import { P as le } from "./index-C1g_chDT.js";
11
11
  var N = "rovingFocusGroup.onEntryFocus", de = { bubbles: !1, cancelable: !0 }, h = "RovingFocusGroup", [D, V, fe] = ce(h), [ve, U] = K(
12
12
  h,
13
13
  [fe]