@rocket.chat/fuselage 0.32.0-dev.60 → 0.32.0-dev.61
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.
|
@@ -5873,7 +5873,6 @@ var Button = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function Button(_
|
|
|
5873
5873
|
(warning && 'warning') ||
|
|
5874
5874
|
(danger && 'danger') ||
|
|
5875
5875
|
(secondary && 'secondary');
|
|
5876
|
-
console.log(variant);
|
|
5877
5876
|
if (variant) {
|
|
5878
5877
|
return _a = {},
|
|
5879
5878
|
_a["rcx-button--" + [variant].filter(Boolean).join('-')] = true,
|
|
@@ -5881,7 +5880,7 @@ var Button = (0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function Button(_
|
|
|
5881
5880
|
}
|
|
5882
5881
|
return {};
|
|
5883
5882
|
}, [primary, secondary, danger, warning, success]);
|
|
5884
|
-
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_1__["default"], __assign({ animated: true, is: is, "rcx-button": true }, kindAndVariantProps, { "rcx-button--small": small, "rcx-button--square": square, "rcx-button--small-square": small && square, "rcx-button--tiny-square": tiny && square, "rcx-button--mini-square": mini && square, ref: ref }, extraProps, props)));
|
|
5883
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_Box__WEBPACK_IMPORTED_MODULE_1__["default"], __assign({ animated: true, is: is, type: 'button', "rcx-button": true }, kindAndVariantProps, { "rcx-button--small": small, "rcx-button--square": square, "rcx-button--small-square": small && square, "rcx-button--tiny-square": tiny && square, "rcx-button--mini-square": mini && square, ref: ref }, extraProps, props)));
|
|
5885
5884
|
});
|
|
5886
5885
|
/* harmony default export */ __webpack_exports__["default"] = (Button);
|
|
5887
5886
|
|