@alexgorbatchev/shadcn 0.0.178 → 0.0.179

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.
@@ -5,10 +5,10 @@ import {
5
5
  // src/components/image-viewer/FramedImage.tsx
6
6
  import { cva } from "class-variance-authority";
7
7
  import { jsx } from "react/jsx-runtime";
8
- var framedImageVariants = cva("rounded-xs border border-media-edge", {
8
+ var framedImageVariants = cva("rounded-xs border border-media-edge object-contain", {
9
9
  variants: {
10
10
  size: {
11
- intrinsic: "h-auto max-h-[70vh] w-auto max-w-full",
11
+ intrinsic: "h-auto max-h-[70vh] w-auto max-w-full self-start",
12
12
  fill: "block h-auto w-full"
13
13
  }
14
14
  },
@@ -35,7 +35,7 @@ import {
35
35
  } from "../../chunk-38barrma.js";
36
36
  import {
37
37
  FramedImage2
38
- } from "../../chunk-2jsgsjas.js";
38
+ } from "../../chunk-607s04df.js";
39
39
  import {
40
40
  Badge2
41
41
  } from "../../chunk-cgj3ade2.js";
@@ -168,7 +168,7 @@ import {
168
168
  } from "../../chunk-3ft0zbbf.js";
169
169
  import {
170
170
  FramedImage2
171
- } from "../../chunk-2jsgsjas.js";
171
+ } from "../../chunk-607s04df.js";
172
172
  import {
173
173
  componentDefinitions2
174
174
  } from "../../chunk-h1b1mqnc.js";
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.178",
2054
+ version: "0.0.179",
2055
2055
  description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
2056
2056
  license: "MIT",
2057
2057
  repository: {
@@ -57,6 +57,18 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
57
57
  }
58
58
  ```
59
59
 
60
+ ### TallInFlexColumn
61
+
62
+ ```tsx
63
+ {
64
+ args: { src: fixture_tallScreenshot, alt: "Tall page" },
65
+ render: (args) => (<figure className="flex w-full max-w-3xl flex-col gap-1">
66
+ <FramedImage {...args}/>
67
+ <figcaption>Caption</figcaption>
68
+ </figure>)
69
+ }
70
+ ```
71
+
60
72
  ### Fill
61
73
 
62
74
  ```tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexgorbatchev/shadcn",
3
- "version": "0.0.178",
3
+ "version": "0.0.179",
4
4
  "description": "Sharp, monospace React components with compact, comfortable, and touch densities.",
5
5
  "license": "MIT",
6
6
  "repository": {