izen-react-starter 2.2.0 → 2.2.2
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 +2 -1
- package/dist/{MIMHJGAX-D6lE7oii.js → MIMHJGAX-VtITUURj.js} +1 -1
- package/dist/{Q7LWSL4U-v0l_umPn.js → Q7LWSL4U-AOif19BX.js} +2 -2
- package/dist/{VLTTJS3N-BqFxuU2V.js → VLTTJS3N-DJEnO5wx.js} +2 -2
- package/dist/components/ui/input-otp.d.ts +2 -2
- package/dist/{index-BVgl5TkI.js → index-5a4S-xuA.js} +14594 -14573
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/utils.d.ts +32 -0
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/react-starter.js +98 -96
- package/dist/react-starter.umd.cjs +121 -121
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,8 +10,9 @@ A modern React component library built with Vite, TypeScript, and best practices
|
|
|
10
10
|
- 🛣️ **Routing Utilities**: Protected routes and navigation hooks
|
|
11
11
|
- 🎨 **Theme Provider**: Dark/light mode with system preference support
|
|
12
12
|
- 🌐 **API Service**: Axios-based service for data fetching and posting
|
|
13
|
-
- 🔄 **React Query Integration**: Built-in query client and provider
|
|
13
|
+
- 🔄 **React Query Integration**: Built-in query client and provider with automatic cache management
|
|
14
14
|
- 🔐 **RBAC System**: Fully configurable role-based access control - bring your own roles and resources
|
|
15
|
+
- 🚀 **API Utilities**: Generic axios configuration, interceptors, queries, and mutations with TypeScript support
|
|
15
16
|
- 🎣 **Custom Hooks**: Utility hooks like useIsMobile, useRouter, usePathname
|
|
16
17
|
- 🛠️ **Utility Functions**: Helper functions for common tasks (cn, debounce, throttle, etc.)
|
|
17
18
|
- 💾 **Cache Utilities**: React Query cache manipulation helpers
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ws = Object.defineProperty;
|
|
2
2
|
var xs = (e, t, n) => t in e ? ws(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Re = (e, t, n) => xs(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { b as $e, d as B, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as K, t as P, i as k, f as U, h as F, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as T, r as Cs, v as cn, w as qe, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Gr, K as Ts, L as Fs, M as ar, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as ie, V as qs, W as _s } from "./index-
|
|
4
|
+
import { b as $e, d as B, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as K, t as P, i as k, f as U, h as F, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as T, r as Cs, v as cn, w as qe, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Gr, K as Ts, L as Fs, M as ar, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as ie, V as qs, W as _s } from "./index-5a4S-xuA.js";
|
|
5
5
|
var Rs = (e) => e != null, zs = (e) => e.filter(Rs);
|
|
6
6
|
function Ks(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./MIMHJGAX-
|
|
2
|
-
import { g as d, c as f, a as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./MIMHJGAX-VtITUURj.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-5a4S-xuA.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./MIMHJGAX-
|
|
2
|
-
import { g as h, c as v, a as e } from "./index-
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./MIMHJGAX-VtITUURj.js";
|
|
2
|
+
import { g as h, c as v, a as e } from "./index-5a4S-xuA.js";
|
|
3
3
|
var C = (r) => {
|
|
4
4
|
const [t, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
2
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "maxLength" | "onChange" | "value" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
3
3
|
value?: string;
|
|
4
4
|
onChange?: (newValue: string) => unknown;
|
|
5
5
|
maxLength: number;
|
|
@@ -12,7 +12,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
|
|
|
12
12
|
} & {
|
|
13
13
|
render: (props: import('input-otp').RenderProps) => React.ReactNode;
|
|
14
14
|
children?: never;
|
|
15
|
-
} & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
15
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "maxLength" | "onChange" | "value" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
16
16
|
value?: string;
|
|
17
17
|
onChange?: (newValue: string) => unknown;
|
|
18
18
|
maxLength: number;
|