indicator-ui 0.0.26 → 0.0.27

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
@@ -7056,7 +7056,7 @@ function CascadeBlock({ options, onClick, label, supportingText, noWrapper = fal
7056
7056
  return undefined;
7057
7057
  }
7058
7058
  });
7059
- if (count === totalCount) {
7059
+ if (count === totalCount && totalCount !== 0) {
7060
7060
  return 'all';
7061
7061
  }
7062
7062
  else if (count === 0) {
@@ -7120,7 +7120,7 @@ function CascadeSelector({ value, options, onChange, multiple }) {
7120
7120
  ]);
7121
7121
  }
7122
7122
  };
7123
- return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_CascadeBlock__WEBPACK_IMPORTED_MODULE_1__.CascadeBlock, { options: options, noWrapper: true, onClick: handleClick, value: getValue() }) }));
7123
+ return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_CascadeBlock__WEBPACK_IMPORTED_MODULE_1__.CascadeBlock, { options: options, noWrapper: true, onClick: handleClick, value: getValue() });
7124
7124
  }
7125
7125
 
7126
7126