@abdellatifui/react 3.2.182 → 3.2.185

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/nextgen.d.ts CHANGED
@@ -461,6 +461,7 @@ declare interface ExtendedAxiosInstance extends Socket {
461
461
  csid: string;
462
462
  pool: React.RefObject<InternalAxiosRequestConfig[]>;
463
463
  props: UseApiProps;
464
+ forceReloadApiMount: () => void;
464
465
  }
465
466
 
466
467
  export declare interface FilterState {
@@ -1034,13 +1035,14 @@ declare interface PanelProps_2 {
1034
1035
  export declare interface PropertiesItemProps {
1035
1036
  label: string;
1036
1037
  value: any;
1037
- type?: 'text' | 'number' | 'boolean' | 'date' | 'array' | 'object';
1038
- editable?: boolean;
1039
- onChange?: (value: any) => void;
1040
1038
  className?: string;
1039
+ border?: boolean;
1040
+ copy?: boolean;
1041
+ copyValue?: any;
1042
+ variant?: 'primary' | 'secondary';
1041
1043
  }
1042
1044
 
1043
- export declare const PropItem: (props: any) => JSX.Element;
1045
+ export declare const PropItem: (props: PropertiesItemProps) => JSX.Element;
1044
1046
 
1045
1047
  export declare const RadioGroup: ForwardRefExoticComponent<RefAttributes<unknown>>;
1046
1048
 
package/dist/nextgen.js CHANGED
@@ -23148,7 +23148,7 @@ const nf = cn({ name: "", onChange: () => {
23148
23148
  },
23149
23149
  (A) => (r && console.error("useApi : response interceptor error => ", A), Promise.reject(A))
23150
23150
  );
23151
- return P.socketio = E || {}, P.get = _(P.get.bind(P)), P.post = _(P.post.bind(P)), P.put = _(P.put.bind(P)), P.delete = _(P.delete.bind(P)), P.patch = _(P.patch.bind(P)), P.ready = S, P.socketioConnected = S, P.connected = S, P.csid = Tc, P.pool = b, P.props = e, Object.assign(P, {
23151
+ return P.socketio = E || {}, P.get = _(P.get.bind(P)), P.post = _(P.post.bind(P)), P.put = _(P.put.bind(P)), P.delete = _(P.delete.bind(P)), P.patch = _(P.patch.bind(P)), P.ready = S, P.socketioConnected = S, P.connected = S, P.csid = Tc, P.pool = b, P.props = e, P.forceReloadApiMount = j, Object.assign(P, {
23152
23152
  _cleanup: () => {
23153
23153
  P.interceptors.request.eject(v), P.interceptors.response.eject(R);
23154
23154
  }
@@ -23429,14 +23429,14 @@ const mS = xe("relative w-fit data-[state=active]:font-medium group", {
23429
23429
  }
23430
23430
  ) : null
23431
23431
  ] });
23432
- }), vS = xe("h-fit p-2 rounded relative pr-6 ease-in-out transition-all duration-75", {
23432
+ }), vS = xe("group h-fit p-2 outline-none rounded relative pr-6 ease-in-out transition-all duration-75", {
23433
23433
  variants: {
23434
23434
  variant: {
23435
23435
  primary: "bg-white hover:outline outline-blue-200 outline-[2px] [&_.css9231]:hover:visible",
23436
23436
  secondary: "bg-accent hover:outline outline-blue-200 outline-[2px] [&_.css9231]:hover:visible"
23437
23437
  },
23438
23438
  border: {
23439
- true: "border-[1px] border-blue-100"
23439
+ true: "border-px border-blue-100"
23440
23440
  },
23441
23441
  copy: {
23442
23442
  false: "[&_.css9231]:hidden"
@@ -23447,15 +23447,22 @@ const mS = xe("relative w-fit data-[state=active]:font-medium group", {
23447
23447
  variant: n = "primary",
23448
23448
  className: t,
23449
23449
  header: r = "",
23450
- value: o = "",
23451
- border: s = !1,
23450
+ border: o,
23451
+ value: s = "",
23452
23452
  copy: i = !0,
23453
- copyValue: a = null
23453
+ copyValue: a
23454
23454
  } = e;
23455
- return /* @__PURE__ */ c.jsxs("div", { className: V(vS({ variant: n, border: s, copy: i }), t), children: [
23456
- /* @__PURE__ */ c.jsx("div", { className: "absolute -right-[8px] z-40 -top-2 css9231 delay-75 invisible scale-[.65] ease-in-out transition-all duration-75", children: /* @__PURE__ */ c.jsx(Fd, { value: a || o, outline: !1 }) }),
23457
- /* @__PURE__ */ c.jsx("div", { className: "mr-[20px]", children: /* @__PURE__ */ c.jsx("p", { className: "select-none text-gray-500 text-[12px] font-Roboto", children: r }) }),
23458
- /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx(En, { className: "font-Roboto text-[14px]", children: o }) })
23455
+ return /* @__PURE__ */ c.jsxs("div", { className: V(vS({ variant: n, border: o, copy: i }), t), children: [
23456
+ /* @__PURE__ */ c.jsx("div", { className: "absolute -right-[8px] z-40 -top-2 scale-[.60]", children: /* @__PURE__ */ c.jsx("div", { className: "opacity-0 group-hover:opacity-100 transition-all duration-75 delay-75", children: /* @__PURE__ */ c.jsx(
23457
+ Fd,
23458
+ {
23459
+ className: "rounded-none!",
23460
+ value: a || s || "",
23461
+ outline: !1
23462
+ }
23463
+ ) }) }),
23464
+ /* @__PURE__ */ c.jsx("div", { className: "mr-[20px]", children: /* @__PURE__ */ c.jsx("p", { className: "select-none text-gray-500 text-[12px] font-aptos", children: r }) }),
23465
+ /* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx(En, { className: "font-Roboto text-xs font-semibold", children: s }) })
23459
23466
  ] });
23460
23467
  }, bS = xe("text-gray-600", {
23461
23468
  variants: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.2.182",
4
+ "version": "3.2.185",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [