@banyan_cloud/roots 1.0.132 → 1.0.133

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/cjs/index.js CHANGED
@@ -111294,7 +111294,7 @@ var Toggle = /*#__PURE__*/React.forwardRef(function Toggle(props, ref) {
111294
111294
  leftComponent = item.leftComponent,
111295
111295
  rightComponent = item.rightComponent,
111296
111296
  itemClassName = item.className;
111297
- var isActive = inputValue.indexOf(itemValue) !== -1 && !allSelected;
111297
+ var isActive = inputValue === itemValue && !allSelected;
111298
111298
  return /*#__PURE__*/jsxRuntime.jsx(Button, {
111299
111299
  size: "auto",
111300
111300
  "data-elem": "toggle",