@alexgorbatchev/shadcn 0.0.135 → 0.0.136

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.
@@ -295,7 +295,12 @@ function TreeItem({
295
295
  className: "flex shrink-0 items-center",
296
296
  children: marker
297
297
  }),
298
- (hasDescription || actions) && /* @__PURE__ */ jsxs("div", {
298
+ descriptionLabel && /* @__PURE__ */ jsx("span", {
299
+ id: descriptionId,
300
+ hidden: true,
301
+ children: descriptionLabel
302
+ }),
303
+ (description !== undefined && description !== null || actions) && /* @__PURE__ */ jsxs("div", {
299
304
  className: cn2("flex shrink-0 items-center gap-1 text-xs tabular-nums", faded),
300
305
  children: [
301
306
  description !== undefined && description !== null && /* @__PURE__ */ jsx("span", {
@@ -304,11 +309,6 @@ function TreeItem({
304
309
  "data-slot": "tree-item-description",
305
310
  children: description
306
311
  }),
307
- descriptionLabel && /* @__PURE__ */ jsx("span", {
308
- id: descriptionId,
309
- hidden: true,
310
- children: descriptionLabel
311
- }),
312
312
  actions && /* @__PURE__ */ jsx("div", {
313
313
  "aria-hidden": "true",
314
314
  "data-slot": "tree-item-actions",
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.135",
2054
+ version: "0.0.136",
2055
2055
  description: "Sharp, monospace React components with compact, comfortable, and touch 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.135",
3
+ "version": "0.0.136",
4
4
  "description": "Sharp, monospace React components with compact, comfortable, and touch densities.",
5
5
  "license": "MIT",
6
6
  "repository": {