@umami/react-zen 0.159.0 → 0.160.0

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/index.js CHANGED
@@ -31847,7 +31847,12 @@ function SidebarItem({
31847
31847
  ...props,
31848
31848
  backgroundColor: isSelected && itemBackgroundColor,
31849
31849
  hoverBackgroundColor: itemBackgroundColor,
31850
- className: (0, import_classnames46.default)(Sidebar_default.item, className, isSelected && Sidebar_default.selected),
31850
+ className: (0, import_classnames46.default)(
31851
+ Sidebar_default.item,
31852
+ className,
31853
+ isSelected && Sidebar_default.selected,
31854
+ isCollapsed && Sidebar_default.collapsed
31855
+ ),
31851
31856
  children: [
31852
31857
  icon && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon2, { size: "sm", children: icon }),
31853
31858
  label && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Text, { className: (0, import_classnames46.default)(Sidebar_default.label), children: label }),
package/dist/index.mjs CHANGED
@@ -31735,7 +31735,12 @@ function SidebarItem({
31735
31735
  ...props,
31736
31736
  backgroundColor: isSelected && itemBackgroundColor,
31737
31737
  hoverBackgroundColor: itemBackgroundColor,
31738
- className: (0, import_classnames46.default)(Sidebar_default.item, className, isSelected && Sidebar_default.selected),
31738
+ className: (0, import_classnames46.default)(
31739
+ Sidebar_default.item,
31740
+ className,
31741
+ isSelected && Sidebar_default.selected,
31742
+ isCollapsed && Sidebar_default.collapsed
31743
+ ),
31739
31744
  children: [
31740
31745
  icon && /* @__PURE__ */ jsx61(Icon2, { size: "sm", children: icon }),
31741
31746
  label && /* @__PURE__ */ jsx61(Text, { className: (0, import_classnames46.default)(Sidebar_default.label), children: label }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/react-zen",
3
- "version": "0.159.0",
3
+ "version": "0.160.0",
4
4
  "description": "Modern, minimalist React component library",
5
5
  "author": "Umami <hello@umami.is>",
6
6
  "license": "MIT",