@thangph2146/nextjs-editor 1.0.5 → 1.0.7
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 +15 -26
- package/dist/editor-utilities-raw.css +17 -16
- package/dist/editor-utilities-scoped.css +17 -16
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1341 -1342
- package/package.json +90 -89
package/dist/index.js
CHANGED
|
@@ -2709,29 +2709,29 @@ function ImageComponent({
|
|
|
2709
2709
|
className: "max-w-[96vw] max-h-[96vh] w-[96vw] h-[96vh] overflow-hidden flex flex-col p-0 gap-0 rounded-xl border shadow-2xl",
|
|
2710
2710
|
"aria-describedby": "view-original-image-desc",
|
|
2711
2711
|
children: [
|
|
2712
|
-
/* @__PURE__ */ jsx19(DialogHeader, { className: "shrink-0 px-
|
|
2712
|
+
/* @__PURE__ */ jsx19(DialogHeader, { className: "shrink-0 px-4 pt-3 pb-3 pr-12 border-b border-border/50 bg-muted/20 rounded-t-xl", children: /* @__PURE__ */ jsx19(DialogTitle, { className: "text-sm font-semibold", children: "Xem h\xECnh g\u1ED1c" }) }),
|
|
2713
2713
|
/* @__PURE__ */ jsx19(
|
|
2714
2714
|
"div",
|
|
2715
2715
|
{
|
|
2716
2716
|
id: "view-original-image-desc",
|
|
2717
|
-
className: "flex-1 min-h-
|
|
2717
|
+
className: "flex-1 min-h-0 overflow-auto flex items-center justify-center p-4 bg-black/10",
|
|
2718
2718
|
children: /* @__PURE__ */ jsx19(
|
|
2719
2719
|
"img",
|
|
2720
2720
|
{
|
|
2721
2721
|
src,
|
|
2722
2722
|
alt: altText || "H\xECnh g\u1ED1c",
|
|
2723
|
-
className: "
|
|
2723
|
+
className: "max-w-full max-h-full w-auto h-auto object-contain rounded-lg select-none"
|
|
2724
2724
|
}
|
|
2725
2725
|
)
|
|
2726
2726
|
}
|
|
2727
2727
|
),
|
|
2728
|
-
/* @__PURE__ */ jsx19(DialogFooter, { className: "shrink-0 flex-row justify-center gap-2 px-
|
|
2728
|
+
/* @__PURE__ */ jsx19(DialogFooter, { className: "shrink-0 flex-row justify-center gap-2 px-4 py-3 border-t border-border/50 bg-muted/20 rounded-b-xl", children: /* @__PURE__ */ jsx19(
|
|
2729
2729
|
Button,
|
|
2730
2730
|
{
|
|
2731
2731
|
variant: "outline",
|
|
2732
|
-
size: "
|
|
2732
|
+
size: "sm",
|
|
2733
2733
|
asChild: true,
|
|
2734
|
-
className: "gap-2
|
|
2734
|
+
className: "gap-2",
|
|
2735
2735
|
children: /* @__PURE__ */ jsxs9(
|
|
2736
2736
|
"a",
|
|
2737
2737
|
{
|