@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.esm.js CHANGED
@@ -47768,8 +47768,6 @@ var fallbackValues$P = {
47768
47768
  modalLinkHoverFocus: modalLinkHoverFocus$2
47769
47769
  };
47770
47770
 
47771
- var TermsAndConditionsModalLinkId = "terms-and-conditions-link";
47772
-
47773
47771
  var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
47774
47772
  var link = _ref.link,
47775
47773
  _ref$title = _ref.title,
@@ -47810,7 +47808,6 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
47810
47808
  toggleOpen(false);
47811
47809
  }
47812
47810
  }, /*#__PURE__*/React.createElement(Text$1, {
47813
- id: TermsAndConditionsModalLinkId,
47814
47811
  variant: linkVariant,
47815
47812
  onClick: function onClick() {
47816
47813
  return toggleOpen(true);
@@ -47861,6 +47858,8 @@ var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
47861
47858
  })))));
47862
47859
  };
47863
47860
 
47861
+ var TermsAndConditionsTitleDivId = "terms-and-conditions-title";
47862
+
47864
47863
  var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
47865
47864
  var _ref$showCheckbox = _ref.showCheckbox,
47866
47865
  showCheckbox = _ref$showCheckbox === void 0 ? true : _ref$showCheckbox,
@@ -47924,7 +47923,7 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
47924
47923
  onChange: onCheck,
47925
47924
  checkboxMargin: checkboxMargin,
47926
47925
  extraStyles: "align-self: flex-start;",
47927
- labelledById: TermsAndConditionsModalLinkId
47926
+ labelledById: TermsAndConditionsTitleDivId
47928
47927
  }), /*#__PURE__*/React.createElement(Stack, {
47929
47928
  childGap: "0.25rem",
47930
47929
  fullHeight: true
@@ -47932,7 +47931,8 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
47932
47931
  justify: "flex-start",
47933
47932
  align: "center",
47934
47933
  nowrap: true,
47935
- extraStyles: "padding-right: 2px; > div > * { margin: 4px 2px; };"
47934
+ extraStyles: "padding-right: 2px; > div > * { margin: 4px 2px; };",
47935
+ id: TermsAndConditionsTitleDivId
47936
47936
  }, description && /*#__PURE__*/React.createElement(Text$1, {
47937
47937
  color: CHARADE_GREY
47938
47938
  }, description), terms && /*#__PURE__*/React.createElement(TermsAndConditionsModal$1, {