@alexgorbatchev/shadcn 0.0.180 → 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.
|
@@ -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
|