@krosoft/react 0.0.232 → 0.0.234

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 (55) hide show
  1. package/dist/{AppActions-BG2sgghh.js → AppActions-BFwztl-1.js} +2 -2
  2. package/dist/{AppSubTitle-C3K23xXb.js → AppSubTitle-BTN0YAc7.js} +1 -1
  3. package/dist/{AppVerticalTabs-B05oTb_4.js → AppVerticalTabs-B7XXtAVj.js} +19 -18
  4. package/dist/{ConfirmationDialog-JR14pbWt.js → ConfirmationDialog-Dj4WdnHg.js} +5 -5
  5. package/dist/{DataTable-BHcadDqz.js → DataTable-CjrR27Di.js} +3 -3
  6. package/dist/{ErrorAlert-BZGt1hH3.js → ErrorAlert-B99Xb_Hg.js} +1 -1
  7. package/dist/{ErrorState-0Op-bIn7.js → ErrorState-CkeS_IBT.js} +1 -1
  8. package/dist/{GenericForm-C6iW17Kx.js → GenericForm-CydibLHU.js} +6 -6
  9. package/dist/{ImageInput-XRiPLRM6.js → ImageInput-DoOOvvth.js} +3 -3
  10. package/dist/{KpiCardsLayout-Be1LHbN7.js → KpiCardsLayout-Ca6otKVw.js} +5 -5
  11. package/dist/{LanguageSelector-C3WSlVQx.js → LanguageSelector-D5Ly1SFC.js} +1 -1
  12. package/dist/{MultiSelect-DCocjZB4.js → MultiSelect-DbH7LrsD.js} +3 -3
  13. package/dist/{PieChart-Cf6q_Pxe.js → PieChart-uozNJtEx.js} +1 -1
  14. package/dist/{SearchInput-rza2llpC.js → SearchInput-DIZ5Yt6L.js} +4 -4
  15. package/dist/{SkeletonCards-vsneHkXf.js → SkeletonCards-B9C4cNMr.js} +2 -2
  16. package/dist/{TableFilter-CBNO2K6p.js → TableFilter-CmEVF5Bo.js} +25 -25
  17. package/dist/{ThemeSelector-J-ZsBnI8.js → ThemeSelector-DKhn02V2.js} +2 -2
  18. package/dist/Topbar-Clby5_uj.js +431 -0
  19. package/dist/components/core/cards/index.js +1 -1
  20. package/dist/components/core/charts/index.js +1 -1
  21. package/dist/components/core/dialogs/index.js +3 -3
  22. package/dist/components/core/filters/index.js +1 -1
  23. package/dist/components/core/forms/index.js +1 -1
  24. package/dist/components/core/index.js +52 -51
  25. package/dist/components/core/inputs/index.js +3 -3
  26. package/dist/components/core/language/index.js +1 -1
  27. package/dist/components/core/layouts/index.js +3 -3
  28. package/dist/components/core/navbar/NotificationsBell.d.ts +72 -0
  29. package/dist/components/core/navbar/NotificationsBell.d.ts.map +1 -0
  30. package/dist/components/core/navbar/index.d.ts +2 -0
  31. package/dist/components/core/navbar/index.d.ts.map +1 -1
  32. package/dist/components/core/navbar/index.js +5 -4
  33. package/dist/components/core/states/index.js +2 -2
  34. package/dist/components/core/table/index.js +1 -1
  35. package/dist/components/core/tabs/index.js +1 -1
  36. package/dist/components/core/theme/index.js +1 -1
  37. package/dist/components/index.js +236 -235
  38. package/dist/components/ui/index.js +104 -104
  39. package/dist/hooks/behavior/index.js +1 -1
  40. package/dist/hooks/index.js +2 -2
  41. package/dist/hooks/ui/index.js +1 -1
  42. package/dist/i18n/index.js +2 -2
  43. package/dist/i18n/krosoftLocales.d.ts +14 -0
  44. package/dist/i18n/krosoftLocales.d.ts.map +1 -1
  45. package/dist/sheet-XYI-ezvY.js +292 -0
  46. package/dist/{toaster-B1J0puB_.js → toaster-CyzB1m5z.js} +26 -26
  47. package/dist/{toggle-group-DLLrEwv2.js → toggle-group-iZqnrTj7.js} +519 -566
  48. package/dist/{useDateFnsLocale-gHocxHFa.js → useDateFnsLocale-D6VExZ8U.js} +1 -1
  49. package/dist/useKrosoftTranslation-BTp46G94.js +47 -0
  50. package/dist/{usePage-CLeciGbD.js → usePage-BQm6tdJD.js} +1 -1
  51. package/dist/{useTheme-Bs43Wf48.js → useTheme-DS6ZjdzM.js} +1 -1
  52. package/package.json +1 -1
  53. package/dist/Topbar-Dkgmpwp8.js +0 -319
  54. package/dist/sheet-DUrRR7MT.js +0 -245
  55. package/dist/useKrosoftTranslation-DRD49kc-.js +0 -45
@@ -1,18 +1,18 @@
1
- import * as p from "@radix-ui/react-aspect-ratio";
1
+ import * as m from "@radix-ui/react-aspect-ratio";
2
2
  import * as s from "@radix-ui/react-collapsible";
3
- import { jsx as t, jsxs as a } from "react/jsx-runtime";
4
- import { GripVertical as f, XIcon as m } from "lucide-react";
3
+ import { jsx as o, jsxs as a } from "react/jsx-runtime";
4
+ import { GripVertical as f, XIcon as p } from "lucide-react";
5
5
  import * as i from "react-resizable-panels";
6
6
  import { c as l } from "./tailwind.helper-B6yFEsav.js";
7
7
  import { useTheme as g } from "next-themes";
8
8
  import { Toaster as b } from "sonner";
9
9
  import { u as d } from "./useToast-BFTk4lWz.js";
10
- import { br as h, bn as v, bs as T, bq as x, bp as z, bt as C } from "./toggle-group-DLLrEwv2.js";
11
- const B = p.Root, G = s.Root, V = s.CollapsibleTrigger, $ = s.CollapsibleContent, k = ({ className: o, ...r }) => /* @__PURE__ */ t(i.Group, { className: l(o), ...r }), q = i.Panel, D = ({
12
- withHandle: o,
10
+ import { bm as h, bi as v, bn as T, bl as x, bk as z, bo as C } from "./toggle-group-iZqnrTj7.js";
11
+ const B = m.Root, G = s.Root, k = s.CollapsibleTrigger, V = s.CollapsibleContent, $ = ({ className: t, ...r }) => /* @__PURE__ */ o(i.Group, { className: l(t), ...r }), D = i.Panel, H = ({
12
+ withHandle: t,
13
13
  className: r,
14
14
  ...e
15
- }) => /* @__PURE__ */ t(
15
+ }) => /* @__PURE__ */ o(
16
16
  i.Separator,
17
17
  {
18
18
  className: l(
@@ -20,16 +20,16 @@ const B = p.Root, G = s.Root, V = s.CollapsibleTrigger, $ = s.CollapsibleContent
20
20
  r
21
21
  ),
22
22
  ...e,
23
- children: o && /* @__PURE__ */ t("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ t(f, { className: "h-2.5 w-2.5" }) })
23
+ children: t && /* @__PURE__ */ o("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ o(f, { className: "h-2.5 w-2.5" }) })
24
24
  }
25
- ), H = ({ ...o }) => {
25
+ ), I = ({ ...t }) => {
26
26
  const { theme: r = "system" } = g();
27
- return /* @__PURE__ */ t(
27
+ return /* @__PURE__ */ o(
28
28
  b,
29
29
  {
30
30
  theme: r,
31
31
  className: "toaster group",
32
- icons: { close: /* @__PURE__ */ t(m, { className: "size-4" }) },
32
+ icons: { close: /* @__PURE__ */ o(p, { className: "size-4" }) },
33
33
  toastOptions: {
34
34
  classNames: {
35
35
  toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
@@ -42,34 +42,34 @@ const B = p.Root, G = s.Root, V = s.CollapsibleTrigger, $ = s.CollapsibleContent
42
42
  closeButton: "!static !order-last !size-6 !transform-none !rounded-control !border-0 !bg-transparent !text-foreground/60 !opacity-100 hover:!bg-muted hover:!text-foreground focus-visible:!ring-2 focus-visible:!ring-ring"
43
43
  }
44
44
  },
45
- ...o
45
+ ...t
46
46
  }
47
47
  );
48
48
  };
49
- function I() {
50
- const { toasts: o } = d();
49
+ function O() {
50
+ const { toasts: t } = d();
51
51
  return /* @__PURE__ */ a(h, { children: [
52
- o.map(function({ id: r, title: e, description: n, action: c, ...u }) {
52
+ t.map(function({ id: r, title: e, description: n, action: c, ...u }) {
53
53
  return /* @__PURE__ */ a(v, { ...u, children: [
54
54
  /* @__PURE__ */ a("div", { className: "grid gap-1", children: [
55
- e && /* @__PURE__ */ t(T, { children: e }),
56
- n && /* @__PURE__ */ t(x, { children: n })
55
+ e && /* @__PURE__ */ o(T, { children: e }),
56
+ n && /* @__PURE__ */ o(x, { children: n })
57
57
  ] }),
58
58
  c,
59
- /* @__PURE__ */ t(z, {})
59
+ /* @__PURE__ */ o(z, {})
60
60
  ] }, r);
61
61
  }),
62
- /* @__PURE__ */ t(C, {})
62
+ /* @__PURE__ */ o(C, {})
63
63
  ] });
64
64
  }
65
65
  export {
66
66
  B as A,
67
67
  G as C,
68
- D as R,
69
- H as T,
70
- $ as a,
71
- V as b,
72
- q as c,
73
- k as d,
74
- I as e
68
+ H as R,
69
+ I as T,
70
+ V as a,
71
+ k as b,
72
+ D as c,
73
+ $ as d,
74
+ O as e
75
75
  };