@alexgorbatchev/shadcn 0.0.51 → 0.0.52

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.
@@ -4090,7 +4090,7 @@ function FilterBar2({
4090
4090
  "aria-label": filter.label,
4091
4091
  value: value[filter.id] ?? "",
4092
4092
  onValueChange: (next) => onValueChange({ ...value, [filter.id]: next }),
4093
- options: [{ value: "", label: filter.allLabel }, ...filter.options]
4093
+ options: [{ value: "", label: filter.allLabel ?? `All ${filter.label.toLowerCase()}` }, ...filter.options]
4094
4094
  }, filter.id)),
4095
4095
  /* @__PURE__ */ jsx43(Button2, {
4096
4096
  type: "button",
@@ -4,8 +4,8 @@ import type { IDensityProps } from "../density/types.js";
4
4
  type FilterDefinition = {
5
5
  id: string;
6
6
  label: string;
7
- /** Text of the choice that clears this filter, such as "All statuses" or "Any time". */
8
- allLabel: string;
7
+ /** Text of the choice that clears this filter, such as "All statuses" or "Any time". Defaults to "All {label}". */
8
+ allLabel?: string;
9
9
  options: readonly ILabelValue[];
10
10
  };
11
11
  type FilterBarProps = IDensityProps & {
@@ -31,7 +31,7 @@ import {
31
31
  DrawerHeader2,
32
32
  DrawerTitle2,
33
33
  DrawerDescription2
34
- } from "../../chunk-268pbhj1.js";
34
+ } from "../../chunk-zs390b72.js";
35
35
  import {
36
36
  MenuPopup,
37
37
  MenuItem2,
package/dist/index.js CHANGED
@@ -171,7 +171,7 @@ import {
171
171
  StatusTracker2,
172
172
  DashboardLayout2,
173
173
  BillingUsage2
174
- } from "./chunk-268pbhj1.js";
174
+ } from "./chunk-zs390b72.js";
175
175
  import {
176
176
  Tabs2,
177
177
  tabsListVariants2,
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.51",
2054
+ version: "0.0.52",
2055
2055
  description: "Sharp, monospace React components with compact and comfortable densities.",
2056
2056
  license: "MIT",
2057
2057
  repository: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexgorbatchev/shadcn",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "description": "Sharp, monospace React components with compact and comfortable densities.",
5
5
  "license": "MIT",
6
6
  "repository": {