@camstack/ui-library 1.1.8 → 1.1.9
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/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21474,15 +21474,15 @@ function ImageDetailModal({ url, alt, open, onOpenChange }) {
|
|
|
21474
21474
|
]
|
|
21475
21475
|
})]
|
|
21476
21476
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
21477
|
-
className: "
|
|
21477
|
+
className: "max-h-[78vh] overflow-auto rounded border border-border bg-gradient-to-b from-surface-hover to-surface p-6",
|
|
21478
21478
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
21479
21479
|
src: url,
|
|
21480
21480
|
alt,
|
|
21481
21481
|
style: {
|
|
21482
|
-
|
|
21483
|
-
|
|
21482
|
+
width: `${scale * 100}%`,
|
|
21483
|
+
maxWidth: "none"
|
|
21484
21484
|
},
|
|
21485
|
-
className: "
|
|
21485
|
+
className: "mx-auto block h-auto transition-[width] duration-150"
|
|
21486
21486
|
})
|
|
21487
21487
|
})]
|
|
21488
21488
|
})
|
package/dist/index.js
CHANGED
|
@@ -21450,15 +21450,15 @@ function ImageDetailModal({ url, alt, open, onOpenChange }) {
|
|
|
21450
21450
|
]
|
|
21451
21451
|
})]
|
|
21452
21452
|
}), /* @__PURE__ */ jsx("div", {
|
|
21453
|
-
className: "
|
|
21453
|
+
className: "max-h-[78vh] overflow-auto rounded border border-border bg-gradient-to-b from-surface-hover to-surface p-6",
|
|
21454
21454
|
children: /* @__PURE__ */ jsx("img", {
|
|
21455
21455
|
src: url,
|
|
21456
21456
|
alt,
|
|
21457
21457
|
style: {
|
|
21458
|
-
|
|
21459
|
-
|
|
21458
|
+
width: `${scale * 100}%`,
|
|
21459
|
+
maxWidth: "none"
|
|
21460
21460
|
},
|
|
21461
|
-
className: "
|
|
21461
|
+
className: "mx-auto block h-auto transition-[width] duration-150"
|
|
21462
21462
|
})
|
|
21463
21463
|
})]
|
|
21464
21464
|
})
|