@abdellatifui/react 3.2.182 → 3.2.184
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.css +1 -1
- package/dist/nextgen.d.ts +5 -4
- package/dist/nextgen.js +16 -9
- package/package.json +1 -1
package/dist/nextgen.d.ts
CHANGED
|
@@ -1034,13 +1034,14 @@ declare interface PanelProps_2 {
|
|
|
1034
1034
|
export declare interface PropertiesItemProps {
|
|
1035
1035
|
label: string;
|
|
1036
1036
|
value: any;
|
|
1037
|
-
type?: 'text' | 'number' | 'boolean' | 'date' | 'array' | 'object';
|
|
1038
|
-
editable?: boolean;
|
|
1039
|
-
onChange?: (value: any) => void;
|
|
1040
1037
|
className?: string;
|
|
1038
|
+
border?: boolean;
|
|
1039
|
+
copy?: boolean;
|
|
1040
|
+
copyValue?: any;
|
|
1041
|
+
variant?: 'primary' | 'secondary';
|
|
1041
1042
|
}
|
|
1042
1043
|
|
|
1043
|
-
export declare const PropItem: (props:
|
|
1044
|
+
export declare const PropItem: (props: PropertiesItemProps) => JSX.Element;
|
|
1044
1045
|
|
|
1045
1046
|
export declare const RadioGroup: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
1046
1047
|
|
package/dist/nextgen.js
CHANGED
|
@@ -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-
|
|
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
|
-
|
|
23451
|
-
|
|
23450
|
+
border: o,
|
|
23451
|
+
value: s = "",
|
|
23452
23452
|
copy: i = !0,
|
|
23453
|
-
copyValue: a
|
|
23453
|
+
copyValue: a
|
|
23454
23454
|
} = e;
|
|
23455
|
-
return /* @__PURE__ */ c.jsxs("div", { className: V(vS({ variant: n, border:
|
|
23456
|
-
/* @__PURE__ */ c.jsx("div", { className: "absolute -right-[8px] z-40 -top-2
|
|
23457
|
-
|
|
23458
|
-
|
|
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: {
|