@krosoft/react 0.0.170 → 0.0.171
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.
- package/README.md +27 -1
- package/dist/{AppActions-DCYt9I0e.js → AppActions-CwPaiNx1.js} +5 -5
- package/dist/{AppSubTitle-DhioA5bv.js → AppSubTitle-6JLlE8Vf.js} +1 -1
- package/dist/{AppVerticalTabs-DujFNh9f.js → AppVerticalTabs-BkZkxL_K.js} +4 -4
- package/dist/{ConfirmationDialog-CCZPbD4x.js → ConfirmationDialog-t5QtNOQO.js} +10 -10
- package/dist/{DataTable-28eGRJvy.js → DataTable-C1l3CLr1.js} +92 -86
- package/dist/{ErrorAlert-DH1onuyt.js → ErrorAlert-SrIcU1mM.js} +1 -1
- package/dist/{ErrorState-vU8d4CwD.js → ErrorState-CmaxuJyW.js} +2 -2
- package/dist/{GenericForm-EohJXOt8.js → GenericForm-DXclmweK.js} +8 -8
- package/dist/{ImageInput-Bbxr8vpu.js → ImageInput-BqoCekqh.js} +18 -18
- package/dist/KpiCardsLayout-BhEoJhJ9.js +49 -0
- package/dist/{MetricCard-rL1mIA58.js → MetricCard-C7kgpgRl.js} +8 -8
- package/dist/{MultiSelect-B72dsN-1.js → MultiSelect-BFdaRnIO.js} +8 -8
- package/dist/{SearchInput-rRYNQ8fq.js → SearchInput-Dg5Aw2lv.js} +29 -29
- package/dist/{SkeletonCards-BgsWWMun.js → SkeletonCards-DemfjUfD.js} +6 -6
- package/dist/{TableFilter-BfWYeTv_.js → TableFilter-WWNz4Nua.js} +9 -9
- package/dist/{ThemeSelector-CQ3fSDJ2.js → ThemeSelector-BwrbKW-4.js} +2 -2
- package/dist/{Topbar-DMyjbOTI.js → Topbar-D55ou5Uk.js} +7 -7
- package/dist/{alert-B78CiTYe.js → alert-B9F1N9Qk.js} +6 -6
- package/dist/components/core/cards/index.js +2 -2
- package/dist/components/core/dialogs/index.js +2 -2
- package/dist/components/core/filters/index.js +1 -1
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +18 -18
- package/dist/components/core/inputs/index.js +3 -3
- package/dist/components/core/layouts/index.js +3 -3
- package/dist/components/core/navbar/index.js +1 -1
- package/dist/components/core/states/index.js +2 -2
- package/dist/components/core/table/DataTable.d.ts.map +1 -1
- package/dist/components/core/table/index.js +1 -1
- package/dist/components/core/tabs/index.js +1 -1
- package/dist/components/core/theme/index.js +1 -1
- package/dist/components/index.js +24 -24
- package/dist/components/ui/index.js +7 -7
- package/dist/hooks/behavior/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/{select-MWzbMBAS.js → select-BwcXfUqZ.js} +2 -2
- package/dist/{sheet-Gop1cIaU.js → sheet-DOncI9p6.js} +5 -5
- package/dist/skeleton-BX4RcsiK.js +8 -0
- package/dist/tailwind/index.d.ts +2 -0
- package/dist/tailwind/index.d.ts.map +1 -1
- package/dist/tailwind/index.js +10 -2
- package/dist/{toaster-DTcdwmkK.js → toaster-S0xacBVZ.js} +1 -1
- package/dist/{toggle-group-DY9wl0HW.js → toggle-group-DC5hqQ4H.js} +33 -33
- package/dist/{tooltip-BWyFpIxo.js → tooltip-OY3E8Lo0.js} +14 -14
- package/dist/{usePage-CWu-cjzK.js → usePage-u2gRhvQ0.js} +1 -1
- package/package.json +1 -1
- package/dist/KpiCardsLayout-DBqGhp0I.js +0 -49
- package/dist/skeleton-8o8eJd3P.js +0 -8
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "./toggle-group-DY9wl0HW.js";
|
|
3
|
-
import "./alert-B78CiTYe.js";
|
|
4
|
-
import "@radix-ui/react-aspect-ratio";
|
|
5
|
-
import { B as l } from "./tooltip-BWyFpIxo.js";
|
|
6
|
-
import "@radix-ui/react-collapsible";
|
|
7
|
-
import "./sheet-Gop1cIaU.js";
|
|
8
|
-
import { ArrowLeftIcon as c } from "lucide-react";
|
|
9
|
-
import "react-resizable-panels";
|
|
10
|
-
import "clsx";
|
|
11
|
-
import "tailwind-merge";
|
|
12
|
-
import "./select-MWzbMBAS.js";
|
|
13
|
-
import "next-themes";
|
|
14
|
-
import "sonner";
|
|
15
|
-
import "react";
|
|
16
|
-
import { A as f } from "./AppActions-DCYt9I0e.js";
|
|
17
|
-
import { A as u } from "./AppTitle-uboDuil4.js";
|
|
18
|
-
import { u as d } from "./useDocumentTitle-WNwdPz-I.js";
|
|
19
|
-
import { useTranslation as x } from "react-i18next";
|
|
20
|
-
import "@krosoft/core/helpers";
|
|
21
|
-
import { b as g, a as h } from "./SkeletonCards-BgsWWMun.js";
|
|
22
|
-
import { E as A } from "./ErrorState-vU8d4CwD.js";
|
|
23
|
-
function M({
|
|
24
|
-
icon: e,
|
|
25
|
-
titleKey: t,
|
|
26
|
-
descriptionKey: i,
|
|
27
|
-
actions: a,
|
|
28
|
-
onBack: s,
|
|
29
|
-
renderPreActions: m,
|
|
30
|
-
className: p
|
|
31
|
-
}) {
|
|
32
|
-
const { t: n } = x();
|
|
33
|
-
return d(n(t)), /* @__PURE__ */ o("div", { className: "flex flex-col sm:flex-row sm:items-center justify-between gap-4", children: [
|
|
34
|
-
/* @__PURE__ */ o("div", { className: "flex items-center gap-4", children: [
|
|
35
|
-
s && /* @__PURE__ */ r(l, { variant: "ghost", size: "icon", onClick: s, className: "rounded-2xl", children: /* @__PURE__ */ r(c, { className: "h-4 w-4" }) }),
|
|
36
|
-
e && /* @__PURE__ */ r("div", { className: "size-12 bg-blue-100 rounded-lg flex items-center justify-center", children: /* @__PURE__ */ r(e, { className: "h-6 w-6 text-blue-600" }) }),
|
|
37
|
-
/* @__PURE__ */ r(u, { titleKey: t, descriptionKey: i })
|
|
38
|
-
] }),
|
|
39
|
-
/* @__PURE__ */ o("div", { className: "flex items-center gap-4", children: [
|
|
40
|
-
m && m(),
|
|
41
|
-
/* @__PURE__ */ r(f, { actions: a, className: p })
|
|
42
|
-
] })
|
|
43
|
-
] });
|
|
44
|
-
}
|
|
45
|
-
const O = ({ stats: e, isLoading: t, error: i }) => t ? /* @__PURE__ */ r(g, { count: 4 }) : i ? /* @__PURE__ */ r(A, { message: i.message }) : /* @__PURE__ */ r(h, { stats: e });
|
|
46
|
-
export {
|
|
47
|
-
M as A,
|
|
48
|
-
O as K
|
|
49
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as r } from "./tailwind.helper-B6yFEsav.js";
|
|
3
|
-
function a({ className: e, ...m }) {
|
|
4
|
-
return /* @__PURE__ */ o("div", { className: r("animate-pulse rounded-md bg-muted", e), ...m });
|
|
5
|
-
}
|
|
6
|
-
export {
|
|
7
|
-
a as S
|
|
8
|
-
};
|