@alexgorbatchev/shadcn 0.0.178 → 0.0.180

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
  },
@@ -951,7 +951,7 @@ function OutlineSection2({ title, meta, children }) {
951
951
  children: [
952
952
  /* @__PURE__ */ jsx11("p", {
953
953
  id: titleId,
954
- className: "min-w-0 truncate font-medium",
954
+ className: "min-w-0 font-medium break-words",
955
955
  children: title
956
956
  }),
957
957
  meta != null && /* @__PURE__ */ jsx11("span", {
@@ -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";
@@ -26,7 +26,7 @@ import {
26
26
  PaginationPrevious2,
27
27
  PaginationNext2,
28
28
  PaginationEllipsis2
29
- } from "../../chunk-4fdcjb73.js";
29
+ } from "../../chunk-q1t6k1sr.js";
30
30
  import {
31
31
  MenuPopup,
32
32
  MenuItem2,
@@ -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/index.js CHANGED
@@ -188,7 +188,7 @@ import {
188
188
  DashboardLayout2,
189
189
  BillingUsage2,
190
190
  SelectionAction2
191
- } from "./chunk-4fdcjb73.js";
191
+ } from "./chunk-q1t6k1sr.js";
192
192
  import {
193
193
  statusDotVariants2,
194
194
  StatusDot2
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.180",
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
@@ -40,3 +40,16 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
40
40
  }
41
41
  }
42
42
  ```
43
+
44
+ ### LongSectionTitle
45
+
46
+ ```tsx
47
+ {
48
+ args: {
49
+ className: "w-56",
50
+ children: (<OutlineSection title="Q7 · Supply-chain vendor quotes and proofs of concept">
51
+ <OutlineItem label="What dependency data may go to vendors?" state="Not answered" onSelect={fn()}/>
52
+ </OutlineSection>),
53
+ }
54
+ }
55
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexgorbatchev/shadcn",
3
- "version": "0.0.178",
3
+ "version": "0.0.180",
4
4
  "description": "Sharp, monospace React components with compact, comfortable, and touch densities.",
5
5
  "license": "MIT",
6
6
  "repository": {