@alexgorbatchev/shadcn 0.0.182 → 0.0.184

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/README.md CHANGED
@@ -296,7 +296,7 @@ Scrolling is intentional: cards, panels, dialogs, sheets, and floating surfaces
296
296
 
297
297
  `ThemeProvider` mounts the development-only `ScrollGuard`. Without a theme provider, mount `<ScrollGuard />` once in your app. Add `data-scroll="none"` to any HTML element to apply the same check. The guard throws a browser error identifying the element, axis, and scroll range when computed `overflow: auto` or `scroll` permits overflowing content to scroll. It checks the marked element itself, including portaled elements in the same document, after content and size changes; nested scroll viewports remain independent. Hidden and clipped overflow do not trigger it. Duplicate mounts share one observer per document, and the final unmount disconnects it. Pass `ownerDocument` to check an iframe's document; shadow roots require their own layout validation. The guard installs no observers when the consuming application's `NODE_ENV` is `"production"`.
298
298
 
299
- Every action shows a visible affordance at rest. Interactive control edges use the `input` token, which keeps 3:1 against the page in both themes; the `border` token is for decorative dividers and cards. A `ghost` Button is borderless only at the icon sizes (`icon`, `icon-xs`, `icon-sm`, `icon-lg`), where its icon identifies it; at the text sizes it keeps an `input` edge, and at `size="inline"` it takes the link colour. Use `variant="link"` for a borderless text action that should read as a link. `ToolbarButton` and `ToolbarLink` default to `variant="outline"`; pass `variant="ghost"` only for icon-only toolbar buttons. In a vertical `Toolbar`, each tool spans its group and starts its label at the shared leading edge, so a list of tools in a side panel lines up. Pressed toggles, toggle group items and toolbar buttons carry a primary edge. The Storybook test suites fail any story that renders a text-labelled Button or toolbar button with no border, no fill and no link styling.
299
+ Every action shows a visible affordance at rest. Interactive control edges use the `input` token, which keeps 3:1 against the page in both themes; the `border` token is for decorative dividers and cards. A `ghost` Button is borderless only at the icon sizes (`icon`, `icon-xs`, `icon-sm`, `icon-lg`), where its icon identifies it; at the text sizes it keeps an `input` edge, and at `size="inline"` it takes the link colour. A sortable `DataGridColumnHeader` is the exception: it keeps the header's colour and weight, and its sort icon identifies it as a control. Use `variant="link"` for a borderless text action that should read as a link. `ToolbarButton` and `ToolbarLink` default to `variant="outline"`; pass `variant="ghost"` only for icon-only toolbar buttons. In a vertical `Toolbar`, each tool spans its group and starts its label at the shared leading edge, so a list of tools in a side panel lines up. Pressed toggles, toggle group items and toolbar buttons carry a primary edge. The Storybook test suites fail any story that renders a text-labelled Button or toolbar button with no border, no fill and no link styling.
300
300
 
301
301
  `PanelHeader` heads a side panel or drawer: one row with the `title` heading (`h2` by default, `headingLevel={3}` for nested panels), an optional muted `count` and icon-button `actions` such as close, then an optional `toolbar` row holding the panel's primary and secondary actions, which wraps as one group. Pass `headingProps` for a ref, `id` or `tabIndex` when focus moves to the panel.
302
302
 
@@ -35,7 +35,7 @@ function Tabs2({ analytics, density, className, orientation = "horizontal", ...p
35
35
  var tabsListVariants2 = cva("group/tabs-list inline-flex w-fit items-center justify-center rounded-sm p-px text-muted-foreground group-data-[orientation=horizontal]/tabs:h-control group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none", {
36
36
  variants: {
37
37
  variant: {
38
- default: "bg-muted ring-1 ring-input/70 dark:bg-secondary",
38
+ default: "bg-secondary ring-1 ring-input/70",
39
39
  line: "gap-1 bg-transparent"
40
40
  }
41
41
  },
@@ -56,7 +56,7 @@ function TabsTrigger2({ density, className, ...props }) {
56
56
  return /* @__PURE__ */ jsx(TabsPrimitive.Tab, {
57
57
  "data-density": density,
58
58
  "data-slot": "tabs-trigger",
59
- className: (state) => cn2("relative inline-flex h-full flex-1 items-center justify-center gap-control-gap rounded-sm border border-transparent px-2 py-0.5 text-sm font-medium whitespace-nowrap text-muted-foreground transition-colors group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pe-1 has-data-[icon=inline-start]:ps-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-muted", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-end-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", typeof className === "function" ? className(state) : className),
59
+ className: (state) => cn2("relative inline-flex h-full flex-1 items-center justify-center gap-control-gap rounded-sm border border-transparent px-2 py-0.5 text-sm font-medium whitespace-nowrap text-muted-foreground transition-colors group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pe-1 has-data-[icon=inline-start]:ps-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:border-input data-active:bg-muted data-active:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-end-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", typeof className === "function" ? className(state) : className),
60
60
  ...props
61
61
  });
62
62
  }
@@ -887,7 +887,7 @@ function ActionBarRow2({
887
887
  }) {
888
888
  return /* @__PURE__ */ jsx9("div", {
889
889
  "data-slot": "action-bar-row",
890
- className: cn2("flex min-w-0 gap-x-4 gap-y-1 text-xs", wrap ? "flex-wrap" : "flex-nowrap", align === "end" ? "items-end" : "items-center", justify === "between" ? "justify-between" : justify === "end" ? "justify-end" : "justify-start", className),
890
+ className: cn2("flex min-w-0 gap-x-4 gap-y-1 text-xs", wrap ? "flex-wrap" : "flex-nowrap", align === "end" ? "items-end" : align === "start" ? "items-start" : "items-center", justify === "between" ? "justify-between" : justify === "end" ? "justify-end" : "justify-start", className),
891
891
  ...props
892
892
  });
893
893
  }
@@ -10,7 +10,7 @@ import {
10
10
  TableCell2,
11
11
  TableColumnGroup2,
12
12
  TableColumn2
13
- } from "./chunk-qn4a3gg4.js";
13
+ } from "./chunk-rf6x2h3k.js";
14
14
  import {
15
15
  OptionSelect2
16
16
  } from "./chunk-h45mqwpq.js";
@@ -343,8 +343,9 @@ function DataGridColumnHeader2({
343
343
  const sorted = column.getIsSorted();
344
344
  return column.getCanSort() ? /* @__PURE__ */ jsxs(Button2, {
345
345
  type: "button",
346
- variant: "ghost",
346
+ variant: "plain",
347
347
  size: "inline",
348
+ className: "underline-offset-4 hover:underline",
348
349
  onClick: column.getToggleSortingHandler(),
349
350
  children: [
350
351
  children,
@@ -89,7 +89,7 @@ function TableHead2({
89
89
  return /* @__PURE__ */ jsx("th", {
90
90
  "data-density": density,
91
91
  "data-slot": "table-head",
92
- className: cn2("h-control-lg px-control-x align-middle leading-(--ag-cell-leading) font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pe-0", alignmentClasses[textAlign], truncate && "truncate", visibleFrom && visibilityClasses[visibleFrom], className),
92
+ className: cn2("h-control-lg px-control-x align-middle leading-(--ag-cell-leading) font-semibold whitespace-nowrap text-foreground [&:has([role=checkbox])]:pe-0 [&_[data-slot=button]]:font-[weight:inherit]", alignmentClasses[textAlign], truncate && "truncate", visibleFrom && visibilityClasses[visibleFrom], className),
93
93
  ...props
94
94
  });
95
95
  }
@@ -2,7 +2,7 @@ import {
2
2
  Table2,
3
3
  TableHeader2,
4
4
  TableBody2
5
- } from "./chunk-qn4a3gg4.js";
5
+ } from "./chunk-rf6x2h3k.js";
6
6
 
7
7
  // src/components/virtual-table/VirtualTable.tsx
8
8
  import {
@@ -24,7 +24,7 @@ import {
24
24
  TableHead2,
25
25
  TableCell2,
26
26
  TableCaption2
27
- } from "./chunk-qn4a3gg4.js";
27
+ } from "./chunk-rf6x2h3k.js";
28
28
  import {
29
29
  safeHref
30
30
  } from "./chunk-xhtsnwnb.js";
@@ -20,8 +20,12 @@ declare function ActionBar({ sticky, stuck, surface, progress, className, childr
20
20
  interface IActionBarRowProps extends ComponentProps<"div"> {
21
21
  /** How the row distributes its items; `between` puts the last item, usually the primary action, at the end. */
22
22
  justify?: "start" | "between" | "end";
23
- /** `end` aligns items to the row's bottom, so an action lines up with the last line of a multi-line status. */
24
- align?: "center" | "end";
23
+ /**
24
+ * `end` aligns items to the row's bottom, so an action lines up with the last line of a multi-line status. `start`
25
+ * aligns them to the top, so an action shares the centre line of the first row of a status group that wraps, when
26
+ * that row's tallest item is the action's height.
27
+ */
28
+ align?: "center" | "start" | "end";
25
29
  /** Whether items wrap onto further lines; a one-row bar sets it false. */
26
30
  wrap?: boolean;
27
31
  }
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DataTable2
3
- } from "../../../chunk-t1xan6pw.js";
3
+ } from "../../../chunk-w868y7p1.js";
4
4
  import"../../../chunk-1wz92wgg.js";
5
- import"../../../chunk-qn4a3gg4.js";
5
+ import"../../../chunk-rf6x2h3k.js";
6
6
  import"../../../chunk-jc3cbwyg.js";
7
7
  import"../../../chunk-m4geb1s5.js";
8
8
  import"../../../chunk-cgj3ade2.js";
@@ -203,8 +203,8 @@ import"../../chunk-1wz92wgg.js";
203
203
  import"../../chunk-cgj3ade2.js";
204
204
  import {
205
205
  DataTable2
206
- } from "../../chunk-t1xan6pw.js";
207
- import"../../chunk-qn4a3gg4.js";
206
+ } from "../../chunk-w868y7p1.js";
207
+ import"../../chunk-rf6x2h3k.js";
208
208
  import {
209
209
  DaySeparator2
210
210
  } from "../../chunk-3j9enr2q.js";
@@ -7,7 +7,7 @@ import {
7
7
  DataGridColumnHeader2,
8
8
  DataGridFilter2,
9
9
  DataGridPagination2
10
- } from "../../chunk-pb7kvbty.js";
10
+ } from "../../chunk-r7ewxac3.js";
11
11
  import"../../chunk-7ny0vyek.js";
12
12
  import"../../chunk-8ssktt4b.js";
13
13
  import"../../chunk-en44w1pn.js";
@@ -17,7 +17,7 @@ import"../../chunk-jpvw9xqy.js";
17
17
  import {
18
18
  Button2
19
19
  } from "../../chunk-n63meq6q.js";
20
- import"../../chunk-qn4a3gg4.js";
20
+ import"../../chunk-rf6x2h3k.js";
21
21
  import"../../chunk-h45mqwpq.js";
22
22
  import"../../chunk-7jpsybag.js";
23
23
  import"../../chunk-t9ms87s9.js";
@@ -7,7 +7,7 @@ import {
7
7
  DragSource2,
8
8
  DropTarget2,
9
9
  Kanban2
10
- } from "../../chunk-c78ze1d9.js";
10
+ } from "../../chunk-5dew2cny.js";
11
11
  import"../../chunk-en44w1pn.js";
12
12
  import"../../chunk-cgj3ade2.js";
13
13
  import"../../chunk-7ny0vyek.js";
@@ -28,7 +28,7 @@ import {
28
28
  TableRow2,
29
29
  TableHead2,
30
30
  TableCell2
31
- } from "../../chunk-qn4a3gg4.js";
31
+ } from "../../chunk-rf6x2h3k.js";
32
32
  import"../../chunk-5mydsjp3.js";
33
33
 
34
34
  // src/components/gantt/Gantt.tsx
@@ -26,7 +26,7 @@ import {
26
26
  PaginationPrevious2,
27
27
  PaginationNext2,
28
28
  PaginationEllipsis2
29
- } from "../../chunk-swd03ayz.js";
29
+ } from "../../chunk-8eckv8n0.js";
30
30
  import {
31
31
  MenuPopup,
32
32
  MenuItem2,
@@ -100,7 +100,7 @@ import {
100
100
  TabsList2,
101
101
  TabsTrigger2,
102
102
  TabsContent2
103
- } from "../../chunk-c78ze1d9.js";
103
+ } from "../../chunk-5dew2cny.js";
104
104
  import"../../chunk-4e96tpw0.js";
105
105
  import {
106
106
  Checkbox2
@@ -150,7 +150,7 @@ import {
150
150
  TableHead2,
151
151
  TableCell2,
152
152
  TableCaption2
153
- } from "../../chunk-qn4a3gg4.js";
153
+ } from "../../chunk-rf6x2h3k.js";
154
154
  import"../../chunk-yz1ft8hs.js";
155
155
  import"../../chunk-m4geb1s5.js";
156
156
  import"../../chunk-9ecf92s6.js";
@@ -1,7 +1,7 @@
1
1
  import"../../chunk-en44w1pn.js";
2
2
  import {
3
3
  TableRow2
4
- } from "../../chunk-qn4a3gg4.js";
4
+ } from "../../chunk-rf6x2h3k.js";
5
5
  import {
6
6
  DataGridColumnFitContext,
7
7
  getDataGridColumnFit,
@@ -10,7 +10,7 @@ import {
10
10
  DataGridHeaderRows,
11
11
  DataGridCells2,
12
12
  DataGridColumns
13
- } from "../../chunk-pb7kvbty.js";
13
+ } from "../../chunk-r7ewxac3.js";
14
14
  import"../../chunk-7ny0vyek.js";
15
15
  import"../../chunk-8ssktt4b.js";
16
16
  import"../../chunk-e6hk39ev.js";
@@ -22,7 +22,7 @@ import"../../chunk-7jpsybag.js";
22
22
  import"../../chunk-t9ms87s9.js";
23
23
  import {
24
24
  VirtualTable2
25
- } from "../../chunk-wnkxd9km.js";
25
+ } from "../../chunk-scd23ktw.js";
26
26
  import"../../chunk-5mydsjp3.js";
27
27
 
28
28
  // src/components/virtual-data-grid/VirtualDataGrid.tsx
@@ -1,8 +1,8 @@
1
1
  import"../../chunk-en44w1pn.js";
2
- import"../../chunk-qn4a3gg4.js";
2
+ import"../../chunk-rf6x2h3k.js";
3
3
  import {
4
4
  VirtualTable2
5
- } from "../../chunk-wnkxd9km.js";
5
+ } from "../../chunk-scd23ktw.js";
6
6
  export {
7
7
  VirtualTable2 as VirtualTable
8
8
  };
package/dist/index.js CHANGED
@@ -188,7 +188,7 @@ import {
188
188
  DashboardLayout2,
189
189
  BillingUsage2,
190
190
  SelectionAction2
191
- } from "./chunk-swd03ayz.js";
191
+ } from "./chunk-8eckv8n0.js";
192
192
  import {
193
193
  statusDotVariants2,
194
194
  StatusDot2
@@ -225,7 +225,7 @@ import {
225
225
  useDropTarget2,
226
226
  DropTarget2,
227
227
  Kanban2
228
- } from "./chunk-c78ze1d9.js";
228
+ } from "./chunk-5dew2cny.js";
229
229
  import {
230
230
  NumberField2,
231
231
  NumberFieldGroup2,
@@ -287,7 +287,7 @@ import {
287
287
  TableColumnGroup2,
288
288
  TableColumn2,
289
289
  TableCaption2
290
- } from "./chunk-qn4a3gg4.js";
290
+ } from "./chunk-rf6x2h3k.js";
291
291
  import {
292
292
  ScrollArea2,
293
293
  ScrollBar2
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.182",
2054
+ version: "0.0.184",
2055
2055
  description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
2056
2056
  license: "MIT",
2057
2057
  repository: {
@@ -50,6 +50,14 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
50
50
  }
51
51
  ```
52
52
 
53
+ ### SortableHeaderMatchesPlainHeader
54
+
55
+ ```tsx
56
+ {
57
+ render: () => <Example pagination={false}/>
58
+ }
59
+ ```
60
+
53
61
  ### FilteredSelection
54
62
 
55
63
  ```tsx
@@ -10,7 +10,7 @@ Source: src/components/stories/forms/ControlBoundaries.stories.tsx
10
10
  ## Public imports
11
11
 
12
12
  ```tsx
13
- import { Button, ButtonGroup, Checkbox, Input, OptionCard, OptionCardGroup, RadioGroup, RadioGroupItem, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, ToolbarGroup, ToolbarLink } from "@alexgorbatchev/shadcn";
13
+ import { Button, ButtonGroup, Checkbox, Input, OptionCard, OptionCardGroup, RadioGroup, RadioGroupItem, Table, TableHead, TableHeader, TableRow, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, ToolbarGroup, ToolbarLink } from "@alexgorbatchev/shadcn";
14
14
  ```
15
15
 
16
16
  ## Supporting imports
@@ -18,7 +18,7 @@ import { Button, ButtonGroup, Checkbox, Input, OptionCard, OptionCardGroup, Radi
18
18
  ```tsx
19
19
  import { useState } from "react";
20
20
  import type { ReactElement } from "react";
21
- import { EllipsisIcon } from "lucide-react";
21
+ import { ChevronsUpDownIcon, EllipsisIcon } from "lucide-react";
22
22
  ```
23
23
 
24
24
  ## Default component
@@ -42,6 +42,26 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
42
42
  }
43
43
  ```
44
44
 
45
+ ### ActionOnFirstRowOfWrappedStatus
46
+
47
+ ```tsx
48
+ {
49
+ args: {
50
+ children: (<ActionBarRow justify="between" align="start" wrap={false}>
51
+ <div data-testid="status" className="flex w-40 flex-wrap items-center gap-2">
52
+ <Button type="button" variant="outline">
53
+ 7 of 11
54
+ </Button>
55
+ <Button type="button" variant="outline">
56
+ Next unanswered
57
+ </Button>
58
+ </div>
59
+ <Button type="button">I’m done</Button>
60
+ </ActionBarRow>),
61
+ }
62
+ }
63
+ ```
64
+
45
65
  ### StuckToTheBottom
46
66
 
47
67
  ```tsx
@@ -56,6 +56,24 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
56
56
  {}
57
57
  ```
58
58
 
59
+ ### SelectedFilledLight
60
+
61
+ ```tsx
62
+ {
63
+ args: { defaultValue: "overview" },
64
+ globals: { theme: "light" }
65
+ }
66
+ ```
67
+
68
+ ### SelectedFilledDark
69
+
70
+ ```tsx
71
+ {
72
+ args: { defaultValue: "overview" },
73
+ globals: { theme: "dark" }
74
+ }
75
+ ```
76
+
59
77
  ### Settings
60
78
 
61
79
  ```tsx
package/llms/setup.md CHANGED
@@ -296,7 +296,7 @@ Scrolling is intentional: cards, panels, dialogs, sheets, and floating surfaces
296
296
 
297
297
  `ThemeProvider` mounts the development-only `ScrollGuard`. Without a theme provider, mount `<ScrollGuard />` once in your app. Add `data-scroll="none"` to any HTML element to apply the same check. The guard throws a browser error identifying the element, axis, and scroll range when computed `overflow: auto` or `scroll` permits overflowing content to scroll. It checks the marked element itself, including portaled elements in the same document, after content and size changes; nested scroll viewports remain independent. Hidden and clipped overflow do not trigger it. Duplicate mounts share one observer per document, and the final unmount disconnects it. Pass `ownerDocument` to check an iframe's document; shadow roots require their own layout validation. The guard installs no observers when the consuming application's `NODE_ENV` is `"production"`.
298
298
 
299
- Every action shows a visible affordance at rest. Interactive control edges use the `input` token, which keeps 3:1 against the page in both themes; the `border` token is for decorative dividers and cards. A `ghost` Button is borderless only at the icon sizes (`icon`, `icon-xs`, `icon-sm`, `icon-lg`), where its icon identifies it; at the text sizes it keeps an `input` edge, and at `size="inline"` it takes the link colour. Use `variant="link"` for a borderless text action that should read as a link. `ToolbarButton` and `ToolbarLink` default to `variant="outline"`; pass `variant="ghost"` only for icon-only toolbar buttons. In a vertical `Toolbar`, each tool spans its group and starts its label at the shared leading edge, so a list of tools in a side panel lines up. Pressed toggles, toggle group items and toolbar buttons carry a primary edge. The Storybook test suites fail any story that renders a text-labelled Button or toolbar button with no border, no fill and no link styling.
299
+ Every action shows a visible affordance at rest. Interactive control edges use the `input` token, which keeps 3:1 against the page in both themes; the `border` token is for decorative dividers and cards. A `ghost` Button is borderless only at the icon sizes (`icon`, `icon-xs`, `icon-sm`, `icon-lg`), where its icon identifies it; at the text sizes it keeps an `input` edge, and at `size="inline"` it takes the link colour. A sortable `DataGridColumnHeader` is the exception: it keeps the header's colour and weight, and its sort icon identifies it as a control. Use `variant="link"` for a borderless text action that should read as a link. `ToolbarButton` and `ToolbarLink` default to `variant="outline"`; pass `variant="ghost"` only for icon-only toolbar buttons. In a vertical `Toolbar`, each tool spans its group and starts its label at the shared leading edge, so a list of tools in a side panel lines up. Pressed toggles, toggle group items and toolbar buttons carry a primary edge. The Storybook test suites fail any story that renders a text-labelled Button or toolbar button with no border, no fill and no link styling.
300
300
 
301
301
  `PanelHeader` heads a side panel or drawer: one row with the `title` heading (`h2` by default, `headingLevel={3}` for nested panels), an optional muted `count` and icon-button `actions` such as close, then an optional `toolbar` row holding the panel's primary and secondary actions, which wraps as one group. Pass `headingProps` for a ref, `id` or `tabIndex` when focus moves to the panel.
302
302
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexgorbatchev/shadcn",
3
- "version": "0.0.182",
3
+ "version": "0.0.184",
4
4
  "description": "Sharp, monospace React components with compact, comfortable, and touch densities.",
5
5
  "license": "MIT",
6
6
  "repository": {