@alexgorbatchev/shadcn 0.0.159 → 0.0.161

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 min-h-0 w-full shrink-0", zoom === "fit" ? "aspect-[16/10]" : "h-[min(60dvh,32rem)]"),
981
+ className: cn2("flex w-full shrink-0 p-2", 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",
@@ -1112,7 +1112,7 @@ function ImageGallery({
1112
1112
  children: [
1113
1113
  /* @__PURE__ */ jsxs6("div", {
1114
1114
  "data-slot": "image-gallery-toolbar",
1115
- className: "flex shrink-0 flex-wrap items-center gap-control-gap *:shrink-0",
1115
+ className: "flex shrink-0 flex-wrap items-center gap-control-gap border-b border-border pb-2 *:shrink-0",
1116
1116
  children: [
1117
1117
  /* @__PURE__ */ jsx8(ImageZoomToggle, {
1118
1118
  zoom: compareZoom,
@@ -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 px-0.5 pt-1 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,
@@ -1548,7 +1548,7 @@ function ImageComparisonToolbar({
1548
1548
  density,
1549
1549
  "aria-label": `Comment on change ${activeRegionIndex + 1} of ${regionCount}`,
1550
1550
  onClick: onCommentActiveDifference,
1551
- children: "Comment"
1551
+ children: "Comment on change"
1552
1552
  })
1553
1553
  ]
1554
1554
  }),
@@ -1560,7 +1560,11 @@ function ImageComparisonToolbar({
1560
1560
  })
1561
1561
  ]
1562
1562
  }),
1563
- toolbar,
1563
+ toolbar && /* @__PURE__ */ jsx10("div", {
1564
+ "data-slot": "image-comparison-toolbar-extra",
1565
+ className: "flex min-w-0 flex-wrap items-center gap-2 @2xl:border-s @2xl:border-border @2xl:ps-2",
1566
+ children: toolbar
1567
+ }),
1564
1568
  sizeMismatch && /* @__PURE__ */ jsx10("p", {
1565
1569
  "data-slot": "image-comparison-size-mismatch",
1566
1570
  className: "w-full text-xs text-muted-foreground",
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.159",
2054
+ version: "0.0.161",
2055
2055
  description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
2056
2056
  license: "MIT",
2057
2057
  repository: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexgorbatchev/shadcn",
3
- "version": "0.0.159",
3
+ "version": "0.0.161",
4
4
  "description": "Sharp, monospace React components with compact, comfortable, and touch densities.",
5
5
  "license": "MIT",
6
6
  "repository": {