@thecb/components 9.2.11-beta.0 → 9.2.11

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
@@ -47776,8 +47776,6 @@ var fallbackValues$P = {
47776
47776
  modalLinkHoverFocus: modalLinkHoverFocus$2
47777
47777
  };
47778
47778
 
47779
- var TermsAndConditionsModalLinkId = "terms-and-conditions-link";
47780
-
47781
47779
  var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
47782
47780
  var link = _ref.link,
47783
47781
  _ref$title = _ref.title,
@@ -47818,7 +47816,6 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
47818
47816
  toggleOpen(false);
47819
47817
  }
47820
47818
  }, /*#__PURE__*/React__default.createElement(Text$1, {
47821
- id: TermsAndConditionsModalLinkId,
47822
47819
  variant: linkVariant,
47823
47820
  onClick: function onClick() {
47824
47821
  return toggleOpen(true);
@@ -47869,6 +47866,8 @@ var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
47869
47866
  })))));
47870
47867
  };
47871
47868
 
47869
+ var TermsAndConditionsTitleDivId = "terms-and-conditions-title";
47870
+
47872
47871
  var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
47873
47872
  var _ref$showCheckbox = _ref.showCheckbox,
47874
47873
  showCheckbox = _ref$showCheckbox === void 0 ? true : _ref$showCheckbox,
@@ -47932,7 +47931,7 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
47932
47931
  onChange: onCheck,
47933
47932
  checkboxMargin: checkboxMargin,
47934
47933
  extraStyles: "align-self: flex-start;",
47935
- labelledById: TermsAndConditionsModalLinkId
47934
+ labelledById: TermsAndConditionsTitleDivId
47936
47935
  }), /*#__PURE__*/React__default.createElement(Stack, {
47937
47936
  childGap: "0.25rem",
47938
47937
  fullHeight: true
@@ -47940,7 +47939,8 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
47940
47939
  justify: "flex-start",
47941
47940
  align: "center",
47942
47941
  nowrap: true,
47943
- extraStyles: "padding-right: 2px; > div > * { margin: 4px 2px; };"
47942
+ extraStyles: "padding-right: 2px; > div > * { margin: 4px 2px; };",
47943
+ id: TermsAndConditionsTitleDivId
47944
47944
  }, description && /*#__PURE__*/React__default.createElement(Text$1, {
47945
47945
  color: CHARADE_GREY
47946
47946
  }, description), terms && /*#__PURE__*/React__default.createElement(TermsAndConditionsModal$1, {