@cypress-design/react-modal 0.2.0 → 0.2.1
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/Modal.tsx +8 -5
- package/dist/Modal.d.ts.map +1 -1
- package/dist/index.es.mjs +2 -2
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -31079,12 +31079,12 @@ var Modal = function (_a) {
|
|
|
31079
31079
|
return (show &&
|
|
31080
31080
|
reactDomExports.createPortal(React__namespace.createElement("div", null,
|
|
31081
31081
|
React__namespace.createElement("div", { className: ClassBackDrop, onClick: function () { return onClose === null || onClose === void 0 ? void 0 : onClose(); } }),
|
|
31082
|
-
React__namespace.createElement("div", { className: ClassModalContainer, tabIndex: -1, "aria-modal": "true", role: "
|
|
31082
|
+
React__namespace.createElement("div", { className: ClassModalContainer, tabIndex: -1, "aria-modal": "true", "aria-labelledby": "cy_modal_label", role: "dialog" },
|
|
31083
31083
|
React__namespace.createElement("div", { className: clsx(ClassModal, fullscreen
|
|
31084
31084
|
? ClassModalFullscreenDimensions
|
|
31085
31085
|
: ClassModalStandardDimensions) },
|
|
31086
31086
|
React__namespace.createElement("div", { className: ClassTitleBox },
|
|
31087
|
-
React__namespace.createElement("div", { className: ClassTitle }, title),
|
|
31087
|
+
React__namespace.createElement("div", { id: "cy_modal_label", className: ClassTitle }, title),
|
|
31088
31088
|
helpLink ? React__namespace.createElement("div", { className: ClassHelpLinkDash }) : null,
|
|
31089
31089
|
helpLink ? (React__namespace.createElement("a", { href: helpLink, className: ClassHelpLink },
|
|
31090
31090
|
"Need help",
|