@krosoft/react 0.0.97 → 0.0.98
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/dist/{AppSubTitle-Bc8utqt7.js → AppSubTitle-Bt3_01sd.js} +1 -1
- package/dist/{AppTitle-QlMMlpbQ.js → AppTitle-cR9yMcWN.js} +6 -6
- package/dist/{AppVerticalTabs--Kb9OFa4.js → AppVerticalTabs-Br5Y27x2.js} +5 -5
- package/dist/{ConfirmationDialog-Bv-O4ui4.js → ConfirmationDialog-Bhboi93k.js} +6 -6
- package/dist/{DataTable-DWGao3TY.js → DataTable-7kgRjvT3.js} +229 -213
- package/dist/{ErrorAlert-DpOsMww8.js → ErrorAlert-D1laKrGq.js} +2 -2
- package/dist/{LoadingState-M_TV_5Ui.js → LoadingState-DiBl13bH.js} +1 -1
- package/dist/{MetricCard-BjTGW3b2.js → MetricCard-5xmlrXzH.js} +5 -5
- package/dist/{SearchInput-CKG1_3iS.js → SearchInput-CcCFcweT.js} +6 -6
- package/dist/{TableFilter-oBrNz-v_.js → TableFilter-Dd9SvVEF.js} +8 -8
- package/dist/{ThemeSelector-Bzxc7UEq.js → ThemeSelector-Cl2EWB-n.js} +3 -3
- package/dist/{Topbar-QKCJiWdO.js → Topbar-6UWKhkXJ.js} +3 -3
- package/dist/{alert-sHZy6NHC.js → alert-srKINZRG.js} +2 -2
- package/dist/{badge-C09fRxvd.js → badge-BmjaQmQ3.js} +2 -2
- package/dist/components/core/cards/index.js +1 -1
- package/dist/components/core/dialogs/index.js +2 -2
- package/dist/components/core/filters/index.js +1 -1
- package/dist/components/core/index.js +13 -13
- package/dist/components/core/inputs/index.js +1 -1
- package/dist/components/core/layouts/index.js +2 -2
- 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 +9 -1
- 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 +18 -18
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/index.js +6 -6
- package/dist/{ellipsis-vertical-BVxSFNOa.js → ellipsis-vertical-DHhj4CGv.js} +1 -1
- package/dist/{grip-vertical-CJ07_87Y.js → grip-vertical-PGZER0-H.js} +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +47 -2
- package/dist/helpers/supabase.helper.d.ts +75 -0
- package/dist/helpers/supabase.helper.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +46 -10
- package/dist/hooks/ui/useDataTable.d.ts +1 -1
- package/dist/hooks/ui/useDataTable.d.ts.map +1 -1
- package/dist/hooks/ui/useServerTable.d.ts +22 -0
- package/dist/hooks/ui/useServerTable.d.ts.map +1 -0
- package/dist/{index-DSyPHOLE.js → index-BSI9LuBZ.js} +1 -1
- package/dist/{loader-circle-GAYBtm3z.js → loader-circle-DEbczXZA.js} +1 -1
- package/dist/{select-zzSnHs9S.js → select-CDIMkakd.js} +3 -3
- package/dist/{toaster-B09ou5gw.js → toaster-Cz2Lbp2C.js} +4 -4
- package/dist/{toggle-group-iLf3T7oV.js → toggle-group-pAjKlGGO.js} +4 -4
- package/dist/{tooltip-CAu4DEhc.js → tooltip-mWS3Mix6.js} +2 -2
- package/dist/types/UseDataTableProps.d.ts +8 -0
- package/dist/types/UseDataTableProps.d.ts.map +1 -1
- package/dist/useDataTable-CxcA5S-s.js +126 -0
- package/dist/{useTheme-Bn8z_uxy.js → useTheme-BtR4Ahrp.js} +2 -2
- package/package.json +1 -1
- package/dist/useDataTable-CQpx3zTg.js +0 -91
- /package/dist/{index-gWiv5-6R.js → tailwind.helper-gWiv5-6R.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as l } from "react-i18next";
|
|
3
|
-
import { A as m } from "./AppTitle-
|
|
3
|
+
import { A as m } from "./AppTitle-cR9yMcWN.js";
|
|
4
4
|
function f({ titleKey: s, actions: t, className: o }) {
|
|
5
5
|
const { t: r } = l();
|
|
6
6
|
return /* @__PURE__ */ i("div", { className: "flex flex-col sm:flex-row sm:items-center justify-between gap-4", children: [
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as n, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { ax as c, aL as b, az as f, aG as h, aB as u } from "./toggle-group-
|
|
3
|
-
import "./alert-
|
|
4
|
-
import { c as m } from "./
|
|
5
|
-
import { B as p } from "./tooltip-
|
|
6
|
-
import "./select-
|
|
2
|
+
import { ax as c, aL as b, az as f, aG as h, aB as u } from "./toggle-group-pAjKlGGO.js";
|
|
3
|
+
import "./alert-srKINZRG.js";
|
|
4
|
+
import { c as m } from "./tailwind.helper-gWiv5-6R.js";
|
|
5
|
+
import { B as p } from "./tooltip-mWS3Mix6.js";
|
|
6
|
+
import "./select-CDIMkakd.js";
|
|
7
7
|
import "next-themes";
|
|
8
8
|
import "react";
|
|
9
9
|
import { u as x } from "./useMobile-DN1_OMDB.js";
|
|
10
10
|
import { useTranslation as N } from "react-i18next";
|
|
11
|
-
import { E as v } from "./ellipsis-vertical-
|
|
11
|
+
import { E as v } from "./ellipsis-vertical-DHhj4CGv.js";
|
|
12
12
|
function T({ actions: d, className: o }) {
|
|
13
13
|
const { t: i } = N(), t = x();
|
|
14
14
|
return !d || d.length === 0 ? null : t ? /* @__PURE__ */ n(c, { children: [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { I as v, M as g, J as y, bX as N, bZ as w, b_ as b, bY as T, bA as S } from "./toggle-group-
|
|
3
|
-
import { a as C, A as k } from "./AppTitle-
|
|
2
|
+
import { I as v, M as g, J as y, bX as N, bZ as w, b_ as b, bY as T, bA as S } from "./toggle-group-pAjKlGGO.js";
|
|
3
|
+
import { a as C, A as k } from "./AppTitle-cR9yMcWN.js";
|
|
4
4
|
import { useTranslation as x } from "react-i18next";
|
|
5
5
|
import { useSearchParams as f } from "react-router-dom";
|
|
6
|
-
import { c as A } from "./
|
|
7
|
-
import { S as P, h as j, i as M, a as z, c as L } from "./select-
|
|
8
|
-
import { c as V } from "./index-
|
|
6
|
+
import { c as A } from "./tailwind.helper-gWiv5-6R.js";
|
|
7
|
+
import { S as P, h as j, i as M, a as z, c as L } from "./select-CDIMkakd.js";
|
|
8
|
+
import { c as V } from "./index-BSI9LuBZ.js";
|
|
9
9
|
/**
|
|
10
10
|
* @license lucide-react v1.16.0 - ISC
|
|
11
11
|
*
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i, Fragment as U } from "react/jsx-runtime";
|
|
2
|
-
import { D as Y, b as Z, P as L, e as ee, h as re, c as le, a$ as ie, aW as ae, m as W, p as q, s as S, t as J, q as F, r as B, o as X, u as te, n as ne } from "./toggle-group-
|
|
3
|
-
import { A as se, a as oe } from "./alert-
|
|
4
|
-
import { B as k } from "./tooltip-
|
|
5
|
-
import { X as O } from "./select-
|
|
2
|
+
import { D as Y, b as Z, P as L, e as ee, h as re, c as le, a$ as ie, aW as ae, m as W, p as q, s as S, t as J, q as F, r as B, o as X, u as te, n as ne } from "./toggle-group-pAjKlGGO.js";
|
|
3
|
+
import { A as se, a as oe } from "./alert-srKINZRG.js";
|
|
4
|
+
import { B as k } from "./tooltip-mWS3Mix6.js";
|
|
5
|
+
import { X as O } from "./select-CDIMkakd.js";
|
|
6
6
|
import "next-themes";
|
|
7
7
|
import { useState as _, useEffect as de } from "react";
|
|
8
8
|
import { useTranslation as G } from "react-i18next";
|
|
9
|
-
import { c as z } from "./index-
|
|
10
|
-
import { E as ce } from "./ErrorAlert-
|
|
9
|
+
import { c as z } from "./index-BSI9LuBZ.js";
|
|
10
|
+
import { E as ce } from "./ErrorAlert-D1laKrGq.js";
|
|
11
11
|
/**
|
|
12
12
|
* @license lucide-react v1.16.0 - ISC
|
|
13
13
|
*
|