@abdellatifui/react 3.0.28 → 3.0.30

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.
@@ -1,4 +1,4 @@
1
- import { g as _f, c as gf } from "./index-dqPesx2S.js";
1
+ import { g as _f, c as gf } from "./index-DugcxZT2.js";
2
2
  function yf(ea, Sc) {
3
3
  for (var Gr = 0; Gr < Sc.length; Gr++) {
4
4
  const Ni = Sc[Gr];
package/dist/nextgen.d.ts CHANGED
@@ -270,6 +270,18 @@ export declare const ScrolBarStyle: (props: any) => JSX.Element;
270
270
 
271
271
  export declare const ScrollArea: ForwardRefExoticComponent<RefAttributes<unknown>>;
272
272
 
273
+ export declare type ShadcnTabsProps = {
274
+ tabs: Tab[];
275
+ onChange?: (tab: Tab, value: string) => void;
276
+ className?: string;
277
+ size?: 'full' | string;
278
+ body?: boolean;
279
+ outline?: boolean;
280
+ center?: boolean;
281
+ border?: boolean;
282
+ full?: boolean;
283
+ };
284
+
273
285
  export declare const Spinner: ForwardRefExoticComponent<RefAttributes<unknown>>;
274
286
 
275
287
  export declare const SpinnerDialog: ForwardRefExoticComponent<RefAttributes<unknown>>;
@@ -288,6 +300,16 @@ declare interface SwitchProps2 extends default_2.ComponentPropsWithoutRef {
288
300
  defaultChecked: boolean;
289
301
  }
290
302
 
303
+ export declare type Tab = {
304
+ label: string;
305
+ value: string;
306
+ content?: ReactNode;
307
+ default?: boolean;
308
+ onSelected?: (tab: Tab, value: string) => void;
309
+ data?: unknown;
310
+ updateTableRows?: (rows: unknown[]) => void;
311
+ };
312
+
291
313
  declare interface TableProps {
292
314
  tid: string | number;
293
315
  dataset: any[];
@@ -333,7 +355,7 @@ declare interface TableProps {
333
355
  onMultiRowSelection?: (params: any, rows: any[]) => void;
334
356
  }
335
357
 
336
- export declare const Tabs: ForwardRefExoticComponent<RefAttributes<unknown>>;
358
+ export declare const Tabs: ForwardRefExoticComponent<ShadcnTabsProps & RefAttributes<HTMLDivElement>>;
337
359
 
338
360
  export declare const TextArea: ForwardRefExoticComponent<RefAttributes<unknown>>;
339
361
 
package/dist/nextgen.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e as s, f as o, G as t, l as n, A as r, B as l, T as i, m as u, w as p, r as d, C as c, z as m, D as S, a8 as T, F as g, y as B, a9 as I, E as b, _ as A, H as C, h as x, q as M, I as y, x as D, L as f, M as H, v as h, j as v, k as G, a2 as N, N as w, a5 as F, a4 as L, P, Y as R, R as z, K as V, d as W, s as k, n as q, o as E, $ as j, a as J, i as K, t as O, Q, X as U, Z as X, J as Y, a7 as Z, a6 as _, S as $, V as aa, W as ea, ab as sa, b as oa, ad as ta, p as na, ah as ra, ag as la, U as ia, ae as ua, af as pa, ac as da, O as ca, a3 as ma, aa as Sa, u as Ta, a0 as ga, a1 as Ba } from "./index-dqPesx2S.js";
1
+ import { e as s, f as o, G as t, l as n, A as r, B as l, T as i, m as u, w as p, r as d, C as c, z as m, D as S, a8 as T, F as g, y as B, a9 as I, E as b, _ as A, H as C, h as x, q as M, I as y, x as D, L as f, M as H, v as h, j as v, k as G, a2 as N, N as w, a5 as F, a4 as L, P, Y as R, R as z, K as V, d as W, s as k, n as q, o as E, $ as j, a as J, i as K, t as O, Q, X as U, Z as X, J as Y, a7 as Z, a6 as _, S as $, V as aa, W as ea, ab as sa, b as oa, ad as ta, p as na, ah as ra, ag as la, U as ia, ae as ua, af as pa, ac as da, O as ca, a3 as ma, aa as Sa, u as Ta, a0 as ga, a1 as Ba } from "./index-DugcxZT2.js";
2
2
  export * from "lucide-react";
3
3
  export {
4
4
  s as AccordionGroup,