@krosoft/react 0.0.96 → 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.
Files changed (59) hide show
  1. package/dist/{AppSubTitle-Bc8utqt7.js → AppSubTitle-Bt3_01sd.js} +1 -1
  2. package/dist/{AppTitle-QlMMlpbQ.js → AppTitle-cR9yMcWN.js} +6 -6
  3. package/dist/{AppVerticalTabs--Kb9OFa4.js → AppVerticalTabs-Br5Y27x2.js} +5 -5
  4. package/dist/{ConfirmationDialog-Bv-O4ui4.js → ConfirmationDialog-Bhboi93k.js} +6 -6
  5. package/dist/{DataTable-DWGao3TY.js → DataTable-7kgRjvT3.js} +229 -213
  6. package/dist/{ErrorAlert-DpOsMww8.js → ErrorAlert-D1laKrGq.js} +2 -2
  7. package/dist/{LoadingState-M_TV_5Ui.js → LoadingState-DiBl13bH.js} +1 -1
  8. package/dist/{MetricCard-BjTGW3b2.js → MetricCard-5xmlrXzH.js} +5 -5
  9. package/dist/{SearchInput-CvBCMaFl.js → SearchInput-CcCFcweT.js} +221 -205
  10. package/dist/{TableFilter-TsVYIJlw.js → TableFilter-Dd9SvVEF.js} +8 -8
  11. package/dist/{ThemeSelector-Bzxc7UEq.js → ThemeSelector-Cl2EWB-n.js} +3 -3
  12. package/dist/{Topbar-QKCJiWdO.js → Topbar-6UWKhkXJ.js} +3 -3
  13. package/dist/{alert-sHZy6NHC.js → alert-srKINZRG.js} +2 -2
  14. package/dist/{badge-C09fRxvd.js → badge-BmjaQmQ3.js} +2 -2
  15. package/dist/components/core/cards/index.js +1 -1
  16. package/dist/components/core/dialogs/index.js +2 -2
  17. package/dist/components/core/filters/index.js +1 -1
  18. package/dist/components/core/index.js +13 -13
  19. package/dist/components/core/inputs/SearchableSelect.d.ts +3 -1
  20. package/dist/components/core/inputs/SearchableSelect.d.ts.map +1 -1
  21. package/dist/components/core/inputs/index.js +1 -1
  22. package/dist/components/core/layouts/index.js +2 -2
  23. package/dist/components/core/navbar/index.js +1 -1
  24. package/dist/components/core/states/index.js +2 -2
  25. package/dist/components/core/table/DataTable.d.ts +9 -1
  26. package/dist/components/core/table/DataTable.d.ts.map +1 -1
  27. package/dist/components/core/table/index.js +1 -1
  28. package/dist/components/core/tabs/index.js +1 -1
  29. package/dist/components/core/theme/index.js +1 -1
  30. package/dist/components/index.js +18 -18
  31. package/dist/components/ui/button.d.ts +1 -1
  32. package/dist/components/ui/index.js +6 -6
  33. package/dist/{ellipsis-vertical-BVxSFNOa.js → ellipsis-vertical-DHhj4CGv.js} +1 -1
  34. package/dist/{grip-vertical-CJ07_87Y.js → grip-vertical-PGZER0-H.js} +1 -1
  35. package/dist/helpers/index.d.ts +1 -0
  36. package/dist/helpers/index.d.ts.map +1 -1
  37. package/dist/helpers/index.js +47 -2
  38. package/dist/helpers/supabase.helper.d.ts +75 -0
  39. package/dist/helpers/supabase.helper.d.ts.map +1 -0
  40. package/dist/hooks/index.d.ts +1 -0
  41. package/dist/hooks/index.d.ts.map +1 -1
  42. package/dist/hooks/index.js +46 -10
  43. package/dist/hooks/ui/useDataTable.d.ts +1 -1
  44. package/dist/hooks/ui/useDataTable.d.ts.map +1 -1
  45. package/dist/hooks/ui/useServerTable.d.ts +22 -0
  46. package/dist/hooks/ui/useServerTable.d.ts.map +1 -0
  47. package/dist/{index-DSyPHOLE.js → index-BSI9LuBZ.js} +1 -1
  48. package/dist/{loader-circle-GAYBtm3z.js → loader-circle-DEbczXZA.js} +1 -1
  49. package/dist/{select-zzSnHs9S.js → select-CDIMkakd.js} +3 -3
  50. package/dist/{toaster-B09ou5gw.js → toaster-Cz2Lbp2C.js} +4 -4
  51. package/dist/{toggle-group-iLf3T7oV.js → toggle-group-pAjKlGGO.js} +4 -4
  52. package/dist/{tooltip-CAu4DEhc.js → tooltip-mWS3Mix6.js} +2 -2
  53. package/dist/types/UseDataTableProps.d.ts +8 -0
  54. package/dist/types/UseDataTableProps.d.ts.map +1 -1
  55. package/dist/useDataTable-CxcA5S-s.js +126 -0
  56. package/dist/{useTheme-Bn8z_uxy.js → useTheme-BtR4Ahrp.js} +2 -2
  57. package/package.json +1 -1
  58. package/dist/useDataTable-CQpx3zTg.js +0 -91
  59. /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-QlMMlpbQ.js";
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-iLf3T7oV.js";
3
- import "./alert-sHZy6NHC.js";
4
- import { c as m } from "./index-gWiv5-6R.js";
5
- import { B as p } from "./tooltip-CAu4DEhc.js";
6
- import "./select-zzSnHs9S.js";
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-BVxSFNOa.js";
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-iLf3T7oV.js";
3
- import { a as C, A as k } from "./AppTitle-QlMMlpbQ.js";
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 "./index-gWiv5-6R.js";
7
- import { S as P, h as j, i as M, a as z, c as L } from "./select-zzSnHs9S.js";
8
- import { c as V } from "./index-DSyPHOLE.js";
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-iLf3T7oV.js";
3
- import { A as se, a as oe } from "./alert-sHZy6NHC.js";
4
- import { B as k } from "./tooltip-CAu4DEhc.js";
5
- import { X as O } from "./select-zzSnHs9S.js";
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-DSyPHOLE.js";
10
- import { E as ce } from "./ErrorAlert-DpOsMww8.js";
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
  *