@thecb/components 9.2.7-beta.3 → 9.2.7-beta.4
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 +6 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV1.js +1 -0
- package/src/components/molecules/terms-and-conditions/TermsAndConditionsControlV2.js +1 -0
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +1 -0
package/dist/index.esm.js
CHANGED
|
@@ -47813,7 +47813,8 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
47813
47813
|
weight: themeValues.fontWeight,
|
|
47814
47814
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47815
47815
|
extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
|
|
47816
|
-
role: "button"
|
|
47816
|
+
role: "button",
|
|
47817
|
+
className: "modal-trigger"
|
|
47817
47818
|
}, link));
|
|
47818
47819
|
};
|
|
47819
47820
|
|
|
@@ -47848,7 +47849,8 @@ var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
|
|
|
47848
47849
|
terms: terms,
|
|
47849
47850
|
isOpen: showTerms,
|
|
47850
47851
|
toggleOpen: toggleShowTerms,
|
|
47851
|
-
linkVariant: linkVariant
|
|
47852
|
+
linkVariant: linkVariant,
|
|
47853
|
+
initialFocus: "[role=\"button\"]:not(.modal-trigger)"
|
|
47852
47854
|
})))));
|
|
47853
47855
|
};
|
|
47854
47856
|
|
|
@@ -47931,7 +47933,8 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
47931
47933
|
isOpen: showTerms,
|
|
47932
47934
|
toggleOpen: toggleTerms,
|
|
47933
47935
|
linkVariant: modalVariant,
|
|
47934
|
-
title: modalTitle
|
|
47936
|
+
title: modalTitle,
|
|
47937
|
+
initialFocus: "[role=\"button\"]:not(.modal-trigger)"
|
|
47935
47938
|
})), /*#__PURE__*/React.createElement("div", {
|
|
47936
47939
|
"aria-live": "polite",
|
|
47937
47940
|
"aria-atomic": true
|