@banyan_cloud/roots 1.0.89 → 1.0.90
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 +3 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -109993,12 +109993,13 @@ var Toggle = /*#__PURE__*/forwardRef(function Toggle(props, ref) {
|
|
|
109993
109993
|
var title = item.title,
|
|
109994
109994
|
itemValue = item.value,
|
|
109995
109995
|
leftComponent = item.leftComponent,
|
|
109996
|
-
rightComponent = item.rightComponent
|
|
109996
|
+
rightComponent = item.rightComponent,
|
|
109997
|
+
itemClassName = item.className;
|
|
109997
109998
|
var isActive = inputValue.indexOf(itemValue) !== -1 && !allSelected;
|
|
109998
109999
|
return /*#__PURE__*/jsx(Button, {
|
|
109999
110000
|
size: "auto",
|
|
110000
110001
|
"data-elem": "toggle",
|
|
110001
|
-
className: classes(modules_a2cdc77c['toggle-button'], isActive ? modules_a2cdc77c.active : ''),
|
|
110002
|
+
className: classes(modules_a2cdc77c['toggle-button'], isActive ? modules_a2cdc77c.active : '', itemClassName),
|
|
110002
110003
|
onClick: function onClick() {
|
|
110003
110004
|
onButtonClick(itemValue, isActive);
|
|
110004
110005
|
},
|