@rocket.chat/fuselage 0.49.0 → 0.50.0
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 +14 -0
- package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarHeader.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarTitle.d.ts.map +1 -1
- package/dist/fuselage.css +1 -1
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +6 -6
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +1 -1
|
@@ -3834,7 +3834,7 @@ var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
|
3834
3834
|
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
3835
3835
|
var Contextualbar = function (_a) {
|
|
3836
3836
|
var children = _a.children, width = _a.width, position = _a.position, _b = _a.bg, bg = _b === void 0 ? 'room' : _b, props = __rest(_a, ["children", "width", "position", "bg"]);
|
|
3837
|
-
return (react_1.default.createElement(__1.Box, __assign({ "rcx-vertical-bar": true, bg: bg, display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 5 }, props), children));
|
|
3837
|
+
return (react_1.default.createElement(__1.Box, __assign({ "rcx-vertical-bar": true, bg: bg, color: 'default', display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 5 }, props), children));
|
|
3838
3838
|
};
|
|
3839
3839
|
exports["default"] = (0, react_1.memo)(Contextualbar);
|
|
3840
3840
|
|
|
@@ -4186,7 +4186,7 @@ var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
|
4186
4186
|
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4187
4187
|
var ContextualbarFooter = (0, react_1.forwardRef)(function ContextualbarFooter(_a, ref) {
|
|
4188
4188
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
4189
|
-
return (react_1.default.createElement(__1.Box, __assign({
|
|
4189
|
+
return (react_1.default.createElement(__1.Box, __assign({ ref: ref, p: 24 }, props), children));
|
|
4190
4190
|
});
|
|
4191
4191
|
exports["default"] = (0, react_1.memo)(ContextualbarFooter);
|
|
4192
4192
|
|
|
@@ -4254,8 +4254,8 @@ var Box_1 = __importDefault(__webpack_require__(/*! ../Box */ "./src/components/
|
|
|
4254
4254
|
var Margins_1 = __importDefault(__webpack_require__(/*! ../Margins */ "./src/components/Margins/index.ts"));
|
|
4255
4255
|
var ContextualbarHeader = function (_a) {
|
|
4256
4256
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
4257
|
-
return (react_1.default.createElement(Box_1.default, __assign({ display: 'flex', alignItems: 'center', height: 'x56',
|
|
4258
|
-
react_1.default.createElement(Box_1.default, { marginInline: 'neg-x4', display: 'flex', alignItems: 'center', justifyContent: 'space-between',
|
|
4257
|
+
return (react_1.default.createElement(Box_1.default, __assign({ display: 'flex', alignItems: 'center', height: 'x56', pi: 24, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', flexShrink: 0 }, props),
|
|
4258
|
+
react_1.default.createElement(Box_1.default, { marginInline: 'neg-x4', display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexGrow: 1, height: '100%', overflow: 'hidden' },
|
|
4259
4259
|
react_1.default.createElement(Margins_1.default, { inline: 'x4' }, children))));
|
|
4260
4260
|
};
|
|
4261
4261
|
exports["default"] = (0, react_1.memo)(ContextualbarHeader);
|
|
@@ -4358,7 +4358,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
4358
4358
|
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4359
4359
|
var _1 = __webpack_require__(/*! . */ "./src/components/Contextualbar/index.ts");
|
|
4360
4360
|
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4361
|
-
var ContextualbarSkeleton = function (props) { return (react_1.default.createElement(_1.Contextualbar, __assign({}, props
|
|
4361
|
+
var ContextualbarSkeleton = function (props) { return (react_1.default.createElement(_1.Contextualbar, __assign({}, props),
|
|
4362
4362
|
react_1.default.createElement(_1.ContextualbarHeader, null,
|
|
4363
4363
|
react_1.default.createElement(__1.Skeleton, { width: '100%' })),
|
|
4364
4364
|
react_1.default.createElement(__1.Box, { p: 24 },
|
|
@@ -4415,7 +4415,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
4415
4415
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4416
4416
|
var react_1 = __importStar(__webpack_require__(/*! react */ "react"));
|
|
4417
4417
|
var __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
|
|
4418
|
-
var ContextualbarTitle = function (props) { return (react_1.default.createElement(__1.Box, __assign({ flexShrink: 1, flexGrow: 1, withTruncatedText: true }, props))); };
|
|
4418
|
+
var ContextualbarTitle = function (props) { return (react_1.default.createElement(__1.Box, __assign({ flexShrink: 1, flexGrow: 1, fontScale: 'h4', withTruncatedText: true }, props))); };
|
|
4419
4419
|
exports["default"] = (0, react_1.memo)(ContextualbarTitle);
|
|
4420
4420
|
|
|
4421
4421
|
|