@thecb/components 9.2.4-beta.14 → 9.2.4-beta.15

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
@@ -40446,7 +40446,9 @@ var EmailForm = function EmailForm(_ref) {
40446
40446
  handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
40447
40447
  showWalletCheckbox = _ref.showWalletCheckbox,
40448
40448
  saveToWallet = _ref.saveToWallet,
40449
- walletCheckboxMarked = _ref.walletCheckboxMarked;
40449
+ walletCheckboxMarked = _ref.walletCheckboxMarked,
40450
+ _ref$isRequired = _ref.isRequired,
40451
+ isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
40450
40452
 
40451
40453
  if (clearOnDismount) {
40452
40454
  React.useEffect(function () {
@@ -40475,7 +40477,8 @@ var EmailForm = function EmailForm(_ref) {
40475
40477
  },
40476
40478
  isEmail: true,
40477
40479
  autocompleteValue: "email",
40478
- dataQa: "Email address"
40480
+ dataQa: "Email address",
40481
+ isRequired: isRequired
40479
40482
  }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
40480
40483
  name: "email checkbox",
40481
40484
  title: "Save email address to wallet",
@@ -48495,7 +48498,9 @@ var PhoneForm = function PhoneForm(_ref) {
48495
48498
  handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
48496
48499
  showWalletCheckbox = _ref.showWalletCheckbox,
48497
48500
  saveToWallet = _ref.saveToWallet,
48498
- walletCheckboxMarked = _ref.walletCheckboxMarked;
48501
+ walletCheckboxMarked = _ref.walletCheckboxMarked,
48502
+ _ref$isRequired = _ref.isRequired,
48503
+ isRequired = _ref$isRequired === void 0 ? false : _ref$isRequired;
48499
48504
 
48500
48505
  if (clearOnDismount) {
48501
48506
  React.useEffect(function () {
@@ -48522,7 +48527,8 @@ var PhoneForm = function PhoneForm(_ref) {
48522
48527
  },
48523
48528
  autocompleteValue: "tel-national",
48524
48529
  dataQa: "Phone number",
48525
- isNum: true
48530
+ isNum: true,
48531
+ isRequired: isRequired
48526
48532
  }), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
48527
48533
  name: "phone checkbox",
48528
48534
  title: "Save phone number to wallet",