@thecb/components 9.2.7-beta.6 → 9.2.7-beta.8
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/dist/index.cjs.js +5 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/modal/Modal.js +2 -0
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV2.js +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -45780,7 +45780,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45780
45780
|
width: customWidth || "615px"
|
|
45781
45781
|
},
|
|
45782
45782
|
underlayClickExits: underlayClickExits,
|
|
45783
|
-
"aria-modal": true
|
|
45783
|
+
"aria-modal": true,
|
|
45784
|
+
"aria-name": modalHeaderText
|
|
45784
45785
|
}, initialFocus ? {
|
|
45785
45786
|
initialFocus: initialFocus
|
|
45786
45787
|
} : {}), /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -45874,7 +45875,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45874
45875
|
dataQa: closeButtonText,
|
|
45875
45876
|
extraStyles: buttonExtraStyles,
|
|
45876
45877
|
className: "modal-close-button",
|
|
45877
|
-
role: "button"
|
|
45878
|
+
role: "button",
|
|
45879
|
+
name: closeButtonText
|
|
45878
45880
|
}))))))))), children);
|
|
45879
45881
|
};
|
|
45880
45882
|
|
|
@@ -47943,7 +47945,7 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
47943
47945
|
toggleOpen: toggleTerms,
|
|
47944
47946
|
linkVariant: modalVariant,
|
|
47945
47947
|
title: modalTitle,
|
|
47946
|
-
initialFocus: "
|
|
47948
|
+
initialFocus: ".modal-close-button"
|
|
47947
47949
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
47948
47950
|
"aria-live": "polite",
|
|
47949
47951
|
"aria-atomic": true
|