@alexgorbatchev/shadcn 0.0.179 → 0.0.181
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/{chunk-4fdcjb73.js → chunk-swd03ayz.js} +2 -2
- package/dist/components/json-render/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/prototype.js +1 -1
- package/llms/components/data-display/Item.md +17 -0
- package/llms/components/navigation/Outline.md +13 -0
- package/package.json +1 -1
|
@@ -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
|
|
954
|
+
className: "min-w-0 font-medium break-words",
|
|
955
955
|
children: title
|
|
956
956
|
}),
|
|
957
957
|
meta != null && /* @__PURE__ */ jsx11("span", {
|
|
@@ -1878,7 +1878,7 @@ function ItemSeparator2({ density, className, ...props }) {
|
|
|
1878
1878
|
...props
|
|
1879
1879
|
});
|
|
1880
1880
|
}
|
|
1881
|
-
var itemVariants = cva2("group/item flex w-full flex-wrap items-center rounded-sm border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring [&:is(a,button)]:cursor-pointer [&:is(a,button)]:transition-colors [&:is(a,button)]:hover:bg-muted aria-[current=true]:border-primary aria-[current=true]:bg-muted/60", {
|
|
1881
|
+
var itemVariants = cva2("group/item flex w-full flex-wrap items-center rounded-sm border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring [&:is(a,button)]:cursor-pointer [&:is(a,button)]:text-start [&:is(a,button)]:transition-colors [&:is(a,button)]:hover:bg-muted aria-[current=true]:border-primary aria-[current=true]:bg-muted/60", {
|
|
1882
1882
|
variants: {
|
|
1883
1883
|
variant: {
|
|
1884
1884
|
default: "border-transparent",
|
package/dist/index.js
CHANGED
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.181",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|
|
@@ -549,6 +549,23 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
549
549
|
}
|
|
550
550
|
```
|
|
551
551
|
|
|
552
|
+
### InteractiveWrappedTitle
|
|
553
|
+
|
|
554
|
+
```tsx
|
|
555
|
+
{
|
|
556
|
+
render: () => (<div style={{ width: 280 }}>
|
|
557
|
+
<Item size="xs" variant="outline" render={<button type="button"/>}>
|
|
558
|
+
<ItemContent>
|
|
559
|
+
<ItemTitle wrap>Supply-chain vendor quotes and proofs of delivery for the hardware refresh</ItemTitle>
|
|
560
|
+
</ItemContent>
|
|
561
|
+
<ItemActions>
|
|
562
|
+
<ItemDescription>waiting 2 h</ItemDescription>
|
|
563
|
+
</ItemActions>
|
|
564
|
+
</Item>
|
|
565
|
+
</div>)
|
|
566
|
+
}
|
|
567
|
+
```
|
|
568
|
+
|
|
552
569
|
### InDropdown
|
|
553
570
|
|
|
554
571
|
```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
|
+
```
|