@banyan_cloud/roots 2.0.16 → 2.0.17

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/esm/index.js CHANGED
@@ -19177,7 +19177,7 @@ var HierarchyItem = function HierarchyItem(props) {
19177
19177
  children: [jsx(BaseCell, {
19178
19178
  flexible: true,
19179
19179
  size: 'auto',
19180
- className: classes(modules_6d03d164.header, !count && modules_6d03d164.headerNoCount),
19180
+ className: classes(modules_6d03d164.header, count === undefined && modules_6d03d164.headerNoCount),
19181
19181
  component1: iconPlacement === 'left' ? icon : undefined,
19182
19182
  component2: isSearching && open ? jsx("div", {
19183
19183
  className: modules_6d03d164.searchFieldWrapper,
@@ -19237,7 +19237,7 @@ var HierarchyItem = function HierarchyItem(props) {
19237
19237
  color: 'default',
19238
19238
  className: modules_6d03d164.searchWrapper,
19239
19239
  onClick: function onClick() {
19240
- onSearchStart === null || onSearchStart === void 0 || onSearchStart(); // trigger search state in parent
19240
+ onSearchStart === null || onSearchStart === void 0 || onSearchStart(); // trigger search state in parent
19241
19241
  },
19242
19242
  title: jsx(MagnifyingGlass, {
19243
19243
  className: modules_6d03d164.searchButton
@@ -19279,7 +19279,7 @@ var Title = function Title(_ref) {
19279
19279
  }), jsx("span", {
19280
19280
  className: modules_5e29d515['item-title'],
19281
19281
  children: title
19282
- }), rightComponent && jsx("span", {
19282
+ }), rightComponent !== undefined && Number(rightComponent) !== 0 && jsx("span", {
19283
19283
  className: modules_5e29d515['item-count'],
19284
19284
  children: jsx("span", {
19285
19285
  className: modules_5e29d515['count-bg'],