@alexgorbatchev/shadcn 0.0.159 → 0.0.160
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.
|
@@ -978,7 +978,7 @@ function CompareAllPane({
|
|
|
978
978
|
]
|
|
979
979
|
}),
|
|
980
980
|
/* @__PURE__ */ jsx8("div", {
|
|
981
|
-
className: cn2("flex
|
|
981
|
+
className: cn2("flex w-full shrink-0", zoom === "fit" ? "aspect-[16/10]" : "h-[min(60dvh,32rem)]"),
|
|
982
982
|
children: /* @__PURE__ */ jsx8(ImageViewport, {
|
|
983
983
|
label: item.label,
|
|
984
984
|
zoom,
|
|
@@ -1005,7 +1005,7 @@ function CompareAllPane({
|
|
|
1005
1005
|
}),
|
|
1006
1006
|
(item.description || footer !== undefined && footer !== null) && /* @__PURE__ */ jsxs6("div", {
|
|
1007
1007
|
"data-slot": "image-gallery-compare-footer",
|
|
1008
|
-
className: "flex shrink-0 flex-col gap-2 border-t border-border p-panel-sm",
|
|
1008
|
+
className: "flex flex-1 shrink-0 flex-col justify-between gap-2 border-t border-border p-panel-sm",
|
|
1009
1009
|
children: [
|
|
1010
1010
|
item.description && /* @__PURE__ */ jsx8("p", {
|
|
1011
1011
|
className: "text-xs text-muted-foreground",
|
|
@@ -1131,7 +1131,7 @@ function ImageGallery({
|
|
|
1131
1131
|
}),
|
|
1132
1132
|
/* @__PURE__ */ jsx8("div", {
|
|
1133
1133
|
"data-slot": "image-gallery-compare-grid",
|
|
1134
|
-
className: cn2("grid min-h-0 min-w-0 flex-1 content-start grid-cols-1 gap-3 overflow-y-auto pb-2", count === 2 ? "@2xl:grid-cols-2" : "@xl:grid-cols-2 @3xl:grid-cols-3"),
|
|
1134
|
+
className: cn2("grid min-h-0 min-w-0 flex-1 auto-rows-max content-start grid-cols-1 gap-3 overflow-y-auto p-0.5 pb-2", count === 2 ? "@2xl:grid-cols-2" : "@xl:grid-cols-2 @3xl:grid-cols-3"),
|
|
1135
1135
|
children: items.map((entry, entryIndex) => /* @__PURE__ */ jsx8(CompareAllPane, {
|
|
1136
1136
|
item: entry,
|
|
1137
1137
|
zoom: compareZoom,
|
package/dist/prototype.js
CHANGED
|
@@ -2051,7 +2051,7 @@ var program = new Command;
|
|
|
2051
2051
|
// package.json
|
|
2052
2052
|
var package_default = {
|
|
2053
2053
|
name: "@alexgorbatchev/shadcn",
|
|
2054
|
-
version: "0.0.
|
|
2054
|
+
version: "0.0.160",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|