@thecb/components 9.2.7-beta.3 → 9.2.7-beta.5

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 CHANGED
@@ -47821,7 +47821,8 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
47821
47821
  weight: themeValues.fontWeight,
47822
47822
  hoverStyles: themeValues.modalLinkHoverFocus,
47823
47823
  extraStyles: "display: inline-block; width: fit-content; cursor: pointer",
47824
- role: "button"
47824
+ role: "button",
47825
+ className: "modal-trigger"
47825
47826
  }, link));
47826
47827
  };
47827
47828
 
@@ -47856,7 +47857,8 @@ var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
47856
47857
  terms: terms,
47857
47858
  isOpen: showTerms,
47858
47859
  toggleOpen: toggleShowTerms,
47859
- linkVariant: linkVariant
47860
+ linkVariant: linkVariant,
47861
+ initialFocus: "[role=\"button\"]:not(.modal-trigger)"
47860
47862
  })))));
47861
47863
  };
47862
47864
 
@@ -47939,7 +47941,8 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
47939
47941
  isOpen: showTerms,
47940
47942
  toggleOpen: toggleTerms,
47941
47943
  linkVariant: modalVariant,
47942
- title: modalTitle
47944
+ title: modalTitle,
47945
+ initialFocus: "[role=\"button\"]:not(.modal-trigger)"
47943
47946
  })), /*#__PURE__*/React__default.createElement("div", {
47944
47947
  "aria-live": "polite",
47945
47948
  "aria-atomic": true