@rocket.chat/fuselage 0.44.0 → 0.44.2
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/CHANGELOG.md +12 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
- package/dist/fuselage.css +1 -1
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +2 -1
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +1 -1
|
@@ -2679,7 +2679,7 @@ var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
|
2679
2679
|
var appendClassName_1 = __webpack_require__(/*! ../../helpers/appendClassName */ "./src/helpers/appendClassName.ts");
|
|
2680
2680
|
var patchChildren_1 = __webpack_require__(/*! ../../helpers/patchChildren */ "./src/helpers/patchChildren.ts");
|
|
2681
2681
|
exports.ButtonGroup = (0, react_1.forwardRef)(function ButtonGroup(_a, ref) {
|
|
2682
|
-
var _b = _a.align, align = _b === void 0 ? 'start' : _b, children = _a.children, stretch = _a.stretch, vertical = _a.vertical, wrap = _a.wrap, small = _a.small, large = _a.large, props = __rest(_a, ["align", "children", "stretch", "vertical", "wrap", "small", "large"]);
|
|
2682
|
+
var _b = _a.align, align = _b === void 0 ? 'start' : _b, children = _a.children, stretch = _a.stretch, vertical = _a.vertical, wrap = _a.wrap, small = _a.small, large = _a.large, className = _a.className, props = __rest(_a, ["align", "children", "stretch", "vertical", "wrap", "small", "large", "className"]);
|
|
2683
2683
|
return (react_1.default.createElement("div", __assign({ ref: ref, className: [
|
|
2684
2684
|
'rcx-button-group',
|
|
2685
2685
|
stretch && 'rcx-button-group--stretch',
|
|
@@ -2688,6 +2688,7 @@ exports.ButtonGroup = (0, react_1.forwardRef)(function ButtonGroup(_a, ref) {
|
|
|
2688
2688
|
small && 'rcx-button-group--small',
|
|
2689
2689
|
large && 'rcx-button-group--large',
|
|
2690
2690
|
wrap && 'rcx-button-group--wrap',
|
|
2691
|
+
className,
|
|
2691
2692
|
]
|
|
2692
2693
|
.filter(Boolean)
|
|
2693
2694
|
.join(' '), role: 'group' }, props), (0, patchChildren_1.patchChildren)(children, function (childProps) { return ({
|