@thecb/components 8.4.10 → 8.4.11-beta.1

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
@@ -23992,7 +23992,10 @@ var Dropdown = function Dropdown(_ref8) {
23992
23992
  "aria-labelledby": ariaLabelledby,
23993
23993
  "aria-describedby": ariaDescribedby,
23994
23994
  "aria-expanded": isOpen,
23995
- autocomplete: autocompleteValue,
23995
+ "aria-live": "assertive",
23996
+ role: "combobox",
23997
+ disabled: disabled,
23998
+ autoComplete: autocompleteValue,
23996
23999
  background: isOpen ? themeValues.hoverColor : WHITE,
23997
24000
  borderRadius: "2px",
23998
24001
  borderSize: "1px",
@@ -24012,7 +24015,6 @@ var Dropdown = function Dropdown(_ref8) {
24012
24015
  },
24013
24016
  padding: "12px",
24014
24017
  placeholder: getSelection(),
24015
- role: "combobox",
24016
24018
  themeValues: themeValues,
24017
24019
  title: hasTitles ? getSelection() : null,
24018
24020
  type: "text",
@@ -24043,7 +24045,7 @@ var Dropdown = function Dropdown(_ref8) {
24043
24045
  id: focusedRef === optionRefs.current[i] ? "focused_option" : choice.value,
24044
24046
  key: choice.value,
24045
24047
  ref: optionRefs.current[i],
24046
- tabIndex: -1,
24048
+ tabIndex: 0,
24047
24049
  onClick: function onClick(e) {
24048
24050
  return handleItemSelection(e, choice, i);
24049
24051
  },
@@ -24155,6 +24157,8 @@ var fallbackValues$g = {
24155
24157
  hoverFocusStyles: hoverFocusStyles
24156
24158
  };
24157
24159
 
24160
+ var _excluded$o = ["fieldActions", "labelTextWhenNoError", "errorMessages", "options", "field", "showErrors", "onChange", "dropdownMaxHeight", "disabledValues", "disabled", "themeValues", "hasTitles", "autocompleteValue", "smoothScroll"];
24161
+
24158
24162
  var FormSelect = function FormSelect(_ref) {
24159
24163
  var fieldActions = _ref.fieldActions,
24160
24164
  labelTextWhenNoError = _ref.labelTextWhenNoError,
@@ -24171,7 +24175,8 @@ var FormSelect = function FormSelect(_ref) {
24171
24175
  hasTitles = _ref$hasTitles === void 0 ? false : _ref$hasTitles,
24172
24176
  autocompleteValue = _ref.autocompleteValue,
24173
24177
  _ref$smoothScroll = _ref.smoothScroll,
24174
- smoothScroll = _ref$smoothScroll === void 0 ? true : _ref$smoothScroll;
24178
+ smoothScroll = _ref$smoothScroll === void 0 ? true : _ref$smoothScroll,
24179
+ rest = _objectWithoutProperties(_ref, _excluded$o);
24175
24180
 
24176
24181
  var _useState = React.useState(false),
24177
24182
  _useState2 = _slicedToArray(_useState, 2),
@@ -24192,10 +24197,10 @@ var FormSelect = function FormSelect(_ref) {
24192
24197
  document.removeEventListener("mousedown", handleClickAway);
24193
24198
  };
24194
24199
  });
24195
- return /*#__PURE__*/React__default.createElement(SelectContainer, {
24200
+ return /*#__PURE__*/React__default.createElement(SelectContainer, _extends({
24196
24201
  ref: dropdownRef,
24197
24202
  disabled: disabled
24198
- }, /*#__PURE__*/React__default.createElement(Box, {
24203
+ }, rest), /*#__PURE__*/React__default.createElement(Box, {
24199
24204
  padding: "0",
24200
24205
  minWidth: "100%"
24201
24206
  }, /*#__PURE__*/React__default.createElement(Cluster, {
@@ -24209,8 +24214,8 @@ var FormSelect = function FormSelect(_ref) {
24209
24214
  extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }",
24210
24215
  id: createIdFromString(labelTextWhenNoError)
24211
24216
  }, labelTextWhenNoError))), /*#__PURE__*/React__default.createElement(Dropdown$1, {
24212
- ariaLabelledby: createIdFromString(labelTextWhenNoError),
24213
- ariaDescribedby: createIdFromString(labelTextWhenNoError, "error message"),
24217
+ "aria-labelledBy": createIdFromString(labelTextWhenNoError),
24218
+ "aria-describedBy": createIdFromString(labelTextWhenNoError, "error message"),
24214
24219
  maxHeight: dropdownMaxHeight,
24215
24220
  hasTitles: hasTitles,
24216
24221
  placeholder: options[0] ? options[0].text : "",
@@ -24227,22 +24232,22 @@ var FormSelect = function FormSelect(_ref) {
24227
24232
  onClick: function onClick() {
24228
24233
  return setOpen(!open);
24229
24234
  },
24230
- disabled: disabled,
24235
+ "aria-disabled": disabled,
24231
24236
  autocompleteValue: autocompleteValue,
24232
- smoothScroll: smoothScroll
24237
+ smoothScroll: smoothScroll,
24238
+ required: options.required
24233
24239
  }), /*#__PURE__*/React__default.createElement(Stack, {
24234
24240
  direction: "row",
24235
24241
  justify: "space-between",
24236
- "aria-live": "polite"
24237
- }, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
24242
+ "aria-live": "assertive"
24243
+ }, /*#__PURE__*/React__default.createElement(Text$1, {
24238
24244
  color: ERROR_COLOR,
24239
24245
  variant: "pXS",
24240
24246
  weight: themeValues.fontWeight,
24241
- extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }",
24242
- id: createIdFromString(labelTextWhenNoError, "error message")
24243
- }, errorMessages[field.errors[0]]) : /*#__PURE__*/React__default.createElement(Text$1, {
24244
- extraStyles: "height: ".concat(themeValues.lineHeight, ";")
24245
- })));
24247
+ extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }",
24248
+ id: createIdFromString(labelTextWhenNoError, "error message"),
24249
+ "aria-live": "assertive"
24250
+ }, field.hasErrors && field.dirty || field.hasErrors && showErrors ? errorMessages[field.errors[0]] : "")));
24246
24251
  };
24247
24252
 
24248
24253
  var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$g, "default");
@@ -24990,14 +24995,18 @@ var options = [{
24990
24995
  value: "ZW"
24991
24996
  }];
24992
24997
 
24998
+ var _excluded$p = ["labelTextWhenNoError", "errorMessages", "field", "fieldActions", "showErrors", "onChange"];
24999
+
24993
25000
  var CountryDropdown = function CountryDropdown(_ref) {
24994
25001
  var labelTextWhenNoError = _ref.labelTextWhenNoError,
24995
25002
  errorMessages = _ref.errorMessages,
24996
25003
  field = _ref.field,
24997
25004
  fieldActions = _ref.fieldActions,
24998
25005
  showErrors = _ref.showErrors,
24999
- onChange = _ref.onChange;
25000
- return /*#__PURE__*/React__default.createElement(FormSelect$1, {
25006
+ onChange = _ref.onChange,
25007
+ rest = _objectWithoutProperties(_ref, _excluded$p);
25008
+
25009
+ return /*#__PURE__*/React__default.createElement(FormSelect$1, _extends({
25001
25010
  options: options,
25002
25011
  field: field,
25003
25012
  fieldActions: fieldActions,
@@ -25005,8 +25014,9 @@ var CountryDropdown = function CountryDropdown(_ref) {
25005
25014
  errorMessages: errorMessages,
25006
25015
  showErrors: showErrors,
25007
25016
  onChange: onChange,
25008
- autocompleteValue: "country-name"
25009
- });
25017
+ autocompleteValue: "country-name",
25018
+ autoComplete: "country-name"
25019
+ }, rest));
25010
25020
  };
25011
25021
 
25012
25022
  var DetailText = styled__default.p.withConfig({
@@ -25072,7 +25082,7 @@ var mobileFallbackValues$1 = {
25072
25082
  };
25073
25083
  var MOBILE_BREAKPOINT$1 = 768;
25074
25084
 
25075
- var _excluded$o = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
25085
+ var _excluded$q = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
25076
25086
  /*
25077
25087
  New responsive text component for Detail elements
25078
25088
  (Block level text elements which are smaller than "Title" elements)
@@ -25122,7 +25132,7 @@ var Detail = function Detail(_ref) {
25122
25132
  as = _ref$as === void 0 ? "p" : _ref$as,
25123
25133
  dataQa = _ref.dataQa,
25124
25134
  children = _ref.children,
25125
- rest = _objectWithoutProperties(_ref, _excluded$o);
25135
+ rest = _objectWithoutProperties(_ref, _excluded$q);
25126
25136
 
25127
25137
  return /*#__PURE__*/React__default.createElement(DetailText, _extends({
25128
25138
  variant: variant,
@@ -25846,7 +25856,7 @@ var fallbackValues$k = {
25846
25856
  formFooterPanel: formFooterPanel
25847
25857
  };
25848
25858
 
25849
- var _excluded$p = ["showErrors", "themeValues"],
25859
+ var _excluded$r = ["showErrors", "themeValues"],
25850
25860
  _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "autocomplete", "extraStyles", "removeFromValue"];
25851
25861
  var InputField = styled__default.input.withConfig({
25852
25862
  displayName: "FormInput__InputField",
@@ -25880,7 +25890,7 @@ var InputField = styled__default.input.withConfig({
25880
25890
  var FormattedInputField = styled__default(function (_ref8) {
25881
25891
  var showErrors = _ref8.showErrors,
25882
25892
  themeValues = _ref8.themeValues,
25883
- props = _objectWithoutProperties(_ref8, _excluded$p);
25893
+ props = _objectWithoutProperties(_ref8, _excluded$r);
25884
25894
 
25885
25895
  return /*#__PURE__*/React__default.createElement(FormattedInput, props);
25886
25896
  }).withConfig({
@@ -26040,7 +26050,7 @@ var FormInput = function FormInput(_ref15) {
26040
26050
  }, props))), /*#__PURE__*/React__default.createElement(Stack, {
26041
26051
  direction: "row",
26042
26052
  justify: "space-between",
26043
- "aria-live": "polite"
26053
+ role: "alert"
26044
26054
  }, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
26045
26055
  color: ERROR_COLOR,
26046
26056
  variant: "pXS",
@@ -26056,7 +26066,7 @@ var FormInput = function FormInput(_ref15) {
26056
26066
 
26057
26067
  var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$k, "default");
26058
26068
 
26059
- var _excluded$q = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26069
+ var _excluded$s = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26060
26070
 
26061
26071
  var FormInputRow = function FormInputRow(_ref) {
26062
26072
  var _ref$breakpoint = _ref.breakpoint,
@@ -26066,7 +26076,7 @@ var FormInputRow = function FormInputRow(_ref) {
26066
26076
  largeChild = _ref.largeChild,
26067
26077
  largeChildSize = _ref.largeChildSize,
26068
26078
  children = _ref.children,
26069
- rest = _objectWithoutProperties(_ref, _excluded$q);
26079
+ rest = _objectWithoutProperties(_ref, _excluded$s);
26070
26080
 
26071
26081
  return /*#__PURE__*/React__default.createElement(Box, _extends({
26072
26082
  padding: "0"
@@ -26078,14 +26088,14 @@ var FormInputRow = function FormInputRow(_ref) {
26078
26088
  }, children));
26079
26089
  };
26080
26090
 
26081
- var _excluded$r = ["childGap", "bottomItem", "children"];
26091
+ var _excluded$t = ["childGap", "bottomItem", "children"];
26082
26092
 
26083
26093
  var FormInputColumn = function FormInputColumn(_ref) {
26084
26094
  var _ref$childGap = _ref.childGap,
26085
26095
  childGap = _ref$childGap === void 0 ? "0.5rem" : _ref$childGap,
26086
26096
  bottomItem = _ref.bottomItem,
26087
26097
  children = _ref.children,
26088
- rest = _objectWithoutProperties(_ref, _excluded$r);
26098
+ rest = _objectWithoutProperties(_ref, _excluded$t);
26089
26099
 
26090
26100
  return /*#__PURE__*/React__default.createElement(Stack, _extends({
26091
26101
  childGap: childGap,
@@ -26093,12 +26103,12 @@ var FormInputColumn = function FormInputColumn(_ref) {
26093
26103
  }, rest), children);
26094
26104
  };
26095
26105
 
26096
- var _excluded$s = ["themeValues", "children"];
26106
+ var _excluded$u = ["themeValues", "children"];
26097
26107
 
26098
26108
  var FormContainer = function FormContainer(_ref) {
26099
26109
  var themeValues = _ref.themeValues,
26100
26110
  children = _ref.children,
26101
- rest = _objectWithoutProperties(_ref, _excluded$s);
26111
+ rest = _objectWithoutProperties(_ref, _excluded$u);
26102
26112
 
26103
26113
  var _useContext = React.useContext(styled.ThemeContext),
26104
26114
  isMobile = _useContext.isMobile;
@@ -26363,7 +26373,7 @@ var fallbackValues$o = {
26363
26373
  fontSize: fontSize$8
26364
26374
  };
26365
26375
 
26366
- var _excluded$t = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
26376
+ var _excluded$v = ["themeValues", "weight", "color", "margin", "textAlign", "extraStyles", "className", "variant", "as", "dataQa", "children"];
26367
26377
 
26368
26378
  var Heading = function Heading(_ref) {
26369
26379
  var themeValues = _ref.themeValues,
@@ -26383,7 +26393,7 @@ var Heading = function Heading(_ref) {
26383
26393
  as = _ref$as === void 0 ? variant : _ref$as,
26384
26394
  dataQa = _ref.dataQa,
26385
26395
  children = _ref.children,
26386
- rest = _objectWithoutProperties(_ref, _excluded$t);
26396
+ rest = _objectWithoutProperties(_ref, _excluded$v);
26387
26397
 
26388
26398
  return /*#__PURE__*/React__default.createElement(HeadingText, _extends({
26389
26399
  variant: variant,
@@ -26674,7 +26684,7 @@ var Loading = function Loading() {
26674
26684
  })))));
26675
26685
  };
26676
26686
 
26677
- var _excluded$u = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
26687
+ var _excluded$w = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
26678
26688
 
26679
26689
  var NavFooter = function NavFooter(_ref) {
26680
26690
  var leftContent = _ref.leftContent,
@@ -26690,7 +26700,7 @@ var NavFooter = function NavFooter(_ref) {
26690
26700
  footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
26691
26701
  isMobile = _ref.isMobile,
26692
26702
  footerWidth = _ref.footerWidth,
26693
- rest = _objectWithoutProperties(_ref, _excluded$u);
26703
+ rest = _objectWithoutProperties(_ref, _excluded$w);
26694
26704
 
26695
26705
  return /*#__PURE__*/React__default.createElement(Box, _extends({
26696
26706
  padding: footerPadding,
@@ -26722,7 +26732,7 @@ var NavFooter = function NavFooter(_ref) {
26722
26732
  }, rightContent)))))));
26723
26733
  };
26724
26734
 
26725
- var _excluded$v = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
26735
+ var _excluded$x = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
26726
26736
 
26727
26737
  var NavHeader = function NavHeader(_ref) {
26728
26738
  var leftContent = _ref.leftContent,
@@ -26732,7 +26742,7 @@ var NavHeader = function NavHeader(_ref) {
26732
26742
  isMobile = _ref.isMobile,
26733
26743
  backgroundColor = _ref.backgroundColor,
26734
26744
  headerWidth = _ref.headerWidth,
26735
- rest = _objectWithoutProperties(_ref, _excluded$v);
26745
+ rest = _objectWithoutProperties(_ref, _excluded$x);
26736
26746
 
26737
26747
  return /*#__PURE__*/React__default.createElement(Box, _extends({
26738
26748
  padding: "0 16px 4px",
@@ -38507,7 +38517,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
38507
38517
  return extraStyles;
38508
38518
  });
38509
38519
 
38510
- var _excluded$w = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
38520
+ var _excluded$y = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
38511
38521
 
38512
38522
  var TableRow = function TableRow(_ref) {
38513
38523
  var children = _ref.children,
@@ -38517,7 +38527,7 @@ var TableRow = function TableRow(_ref) {
38517
38527
  hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
38518
38528
  onClick = _ref.onClick,
38519
38529
  themeValues = _ref.themeValues,
38520
- props = _objectWithoutProperties(_ref, _excluded$w);
38530
+ props = _objectWithoutProperties(_ref, _excluded$y);
38521
38531
 
38522
38532
  return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
38523
38533
  onClick: onClick,
@@ -40358,6 +40368,7 @@ var AddressForm = function AddressForm(_ref) {
40358
40368
  }, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(CountryDropdown, {
40359
40369
  labelTextWhenNoError: "Country",
40360
40370
  errorMessages: countryErrorMessages,
40371
+ "aria-label": "country",
40361
40372
  field: fields.country,
40362
40373
  onChange: function onChange(value) {
40363
40374
  actions.fields.country.set(value); // temporary measure to not dirty fields until
@@ -40375,13 +40386,15 @@ var AddressForm = function AddressForm(_ref) {
40375
40386
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40376
40387
  labelTextWhenNoError: "Address",
40377
40388
  errorMessages: street1ErrorMessages,
40389
+ required: true,
40390
+ "aria-label": "address line 1",
40378
40391
  field: fields.street1,
40379
40392
  fieldActions: actions.fields.street1,
40380
40393
  showErrors: showErrors,
40381
40394
  onKeyDown: function onKeyDown(e) {
40382
40395
  return e.key === "Enter" && handleSubmit(e);
40383
40396
  },
40384
- autocomplete: "address-line1"
40397
+ autoComplete: "address-line1"
40385
40398
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40386
40399
  labelTextWhenNoError: "Apt, Suite, Unit, Floor, etc. (Optional)",
40387
40400
  field: fields.street2,
@@ -40390,9 +40403,11 @@ var AddressForm = function AddressForm(_ref) {
40390
40403
  onKeyDown: function onKeyDown(e) {
40391
40404
  return e.key === "Enter" && handleSubmit(e);
40392
40405
  },
40393
- autocomplete: "address-line2"
40406
+ autoComplete: "address-line2"
40394
40407
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40395
40408
  labelTextWhenNoError: "City",
40409
+ "aria-label": "city",
40410
+ required: true,
40396
40411
  errorMessages: cityErrorMessages,
40397
40412
  field: fields.city,
40398
40413
  fieldActions: actions.fields.city,
@@ -40400,7 +40415,7 @@ var AddressForm = function AddressForm(_ref) {
40400
40415
  onKeyDown: function onKeyDown(e) {
40401
40416
  return e.key === "Enter" && handleSubmit(e);
40402
40417
  },
40403
- autocomplete: "address-level2"
40418
+ autoComplete: "address-level2"
40404
40419
  }), /*#__PURE__*/React__default.createElement(FormStateDropdown, {
40405
40420
  labelTextWhenNoError: isUS ? "State" : "State or Province",
40406
40421
  errorMessages: stateProvinceErrorMessages,
@@ -40411,7 +40426,9 @@ var AddressForm = function AddressForm(_ref) {
40411
40426
  onKeyDown: function onKeyDown(e) {
40412
40427
  return e.key === "Enter" && handleSubmit(e);
40413
40428
  },
40414
- autocomplete: "address-level1"
40429
+ autoComplete: "address-level1",
40430
+ "aria-label": isUS ? "State" : "State or Province",
40431
+ required: true
40415
40432
  }), /*#__PURE__*/React__default.createElement(FormInput$1, {
40416
40433
  isNum: isUS,
40417
40434
  formatter: isUS ? zipFormat : null,
@@ -40423,7 +40440,7 @@ var AddressForm = function AddressForm(_ref) {
40423
40440
  onKeyDown: function onKeyDown(e) {
40424
40441
  return e.key === "Enter" && handleSubmit(e);
40425
40442
  },
40426
- autocomplete: "postal-code"
40443
+ autoComplete: "postal-code"
40427
40444
  }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
40428
40445
  name: "address checkbox",
40429
40446
  title: "Save address to wallet",
@@ -48142,7 +48159,7 @@ var fallbackValues$N = {
48142
48159
  labeledAmountTotal: labeledAmountTotal
48143
48160
  };
48144
48161
 
48145
- var _excluded$x = ["amount"],
48162
+ var _excluded$z = ["amount"],
48146
48163
  _excluded2$1 = ["amount"];
48147
48164
 
48148
48165
  var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
@@ -48352,7 +48369,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
48352
48369
  return fee.amount > 0;
48353
48370
  }).map(function (_ref5) {
48354
48371
  var amount = _ref5.amount,
48355
- rest = _objectWithoutProperties(_ref5, _excluded$x);
48372
+ rest = _objectWithoutProperties(_ref5, _excluded$z);
48356
48373
 
48357
48374
  return _objectSpread2(_objectSpread2({}, rest), {}, {
48358
48375
  amount: displayCurrency(amount)
@@ -48786,12 +48803,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
48786
48803
  }, errorMessage)))));
48787
48804
  };
48788
48805
 
48789
- var _excluded$y = ["version"];
48806
+ var _excluded$A = ["version"];
48790
48807
 
48791
48808
  var TermsAndConditions = function TermsAndConditions(_ref) {
48792
48809
  var _ref$version = _ref.version,
48793
48810
  version = _ref$version === void 0 ? "v1" : _ref$version,
48794
- rest = _objectWithoutProperties(_ref, _excluded$y);
48811
+ rest = _objectWithoutProperties(_ref, _excluded$A);
48795
48812
 
48796
48813
  var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
48797
48814
  return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);