@rocket.chat/fuselage 0.32.0-dev.424 → 0.32.0-dev.425
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.
|
@@ -8778,7 +8778,7 @@ exports.Modal = (0, react_1.forwardRef)(function (_a, ref) {
|
|
|
8778
8778
|
className: 'rcx-modal__inner',
|
|
8779
8779
|
elevation: '2',
|
|
8780
8780
|
};
|
|
8781
|
-
return (react_1.default.createElement(Box_1.default, __assign({ is: 'dialog', "rcx-modal": true, ref: ref }, props), wrapperFunction
|
|
8781
|
+
return (react_1.default.createElement(Box_1.default, __assign({ is: 'dialog', "aria-modal": 'true', "rcx-modal": true, ref: ref }, props), wrapperFunction
|
|
8782
8782
|
? wrapperFunction(wrapperProps)
|
|
8783
8783
|
: (0, react_1.createElement)(wrapper, wrapperProps)));
|
|
8784
8784
|
});
|
|
@@ -9267,7 +9267,7 @@ var react_1 = __importDefault(__webpack_require__(/*! react */ "react"));
|
|
|
9267
9267
|
var Box_1 = __importDefault(__webpack_require__(/*! ../Box */ "./src/components/Box/index.tsx"));
|
|
9268
9268
|
var ModalTitle = function (_a) {
|
|
9269
9269
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
9270
|
-
return (react_1.default.createElement(Box_1.default, __assign({ "rcx-modal__title": true }, props), children));
|
|
9270
|
+
return (react_1.default.createElement(Box_1.default, __assign({ is: 'h2', "rcx-modal__title": true }, props), children));
|
|
9271
9271
|
};
|
|
9272
9272
|
exports.ModalTitle = ModalTitle;
|
|
9273
9273
|
|