tf-checkout-react 1.0.102 → 1.0.103

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.
Files changed (75) hide show
  1. package/dist/images/done.svg +3 -3
  2. package/dist/tf-checkout-react.cjs.development.js +4 -0
  3. package/dist/tf-checkout-react.cjs.development.js.map +1 -1
  4. package/dist/tf-checkout-react.cjs.production.min.js +1 -1
  5. package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
  6. package/dist/tf-checkout-react.esm.js +4 -0
  7. package/dist/tf-checkout-react.esm.js.map +1 -1
  8. package/package.json +89 -89
  9. package/src/.d.ts +2 -2
  10. package/src/api/index.ts +278 -278
  11. package/src/assets/images/done.svg +3 -3
  12. package/src/components/billing-info-container/index.tsx +799 -796
  13. package/src/components/billing-info-container/style.css +105 -105
  14. package/src/components/billing-info-container/utils.ts +224 -224
  15. package/src/components/common/CheckboxField.tsx +41 -41
  16. package/src/components/common/CustomField.tsx +84 -84
  17. package/src/components/common/FormikPhoneNumberField.tsx +51 -51
  18. package/src/components/common/Loader.tsx +9 -9
  19. package/src/components/common/RadioField.tsx +35 -35
  20. package/src/components/common/SelectField.tsx +80 -80
  21. package/src/components/common/SnackbarAlert.tsx +53 -53
  22. package/src/components/common/index.tsx +4 -4
  23. package/src/components/confirmModal/index.tsx +51 -51
  24. package/src/components/confirmModal/style.css +21 -21
  25. package/src/components/confirmationContainer/config.ts +72 -72
  26. package/src/components/confirmationContainer/index.tsx +197 -197
  27. package/src/components/confirmationContainer/social-buttons.tsx +94 -94
  28. package/src/components/confirmationContainer/style.css +202 -202
  29. package/src/components/countdown/index.tsx +89 -89
  30. package/src/components/countdown/style.css +9 -9
  31. package/src/components/index.ts +7 -7
  32. package/src/components/loginModal/index.tsx +209 -209
  33. package/src/components/loginModal/style.css +71 -71
  34. package/src/components/myTicketsContainer/index.tsx +196 -196
  35. package/src/components/myTicketsContainer/row.tsx +41 -41
  36. package/src/components/myTicketsContainer/style.css +39 -39
  37. package/src/components/myTicketsContainer/tableConfig.tsx +34 -34
  38. package/src/components/orderDetailsContainer/index.tsx +249 -249
  39. package/src/components/orderDetailsContainer/style.css +72 -72
  40. package/src/components/orderDetailsContainer/ticketsTable.tsx +124 -124
  41. package/src/components/paymentContainer/index.tsx +284 -284
  42. package/src/components/registerModal/index.tsx +190 -190
  43. package/src/components/stripePayment/index.tsx +253 -253
  44. package/src/components/stripePayment/style.css +59 -59
  45. package/src/components/ticketResale/index.tsx +56 -56
  46. package/src/components/ticketResaleModal/index.tsx +210 -210
  47. package/src/components/ticketResaleModal/style.css +28 -28
  48. package/src/components/ticketsContainer/PromoCodeSection.tsx +99 -99
  49. package/src/components/ticketsContainer/ReferralLogic.tsx +33 -33
  50. package/src/components/ticketsContainer/TicketRow.tsx +83 -83
  51. package/src/components/ticketsContainer/TicketsSection.tsx +81 -81
  52. package/src/components/ticketsContainer/index.tsx +430 -430
  53. package/src/components/ticketsContainer/style.css +181 -181
  54. package/src/components/ticketsContainer/utils.ts +11 -11
  55. package/src/components/timerWidget/index.tsx +70 -70
  56. package/src/components/timerWidget/style.css +26 -26
  57. package/src/components/waitingList/index.tsx +178 -178
  58. package/src/components/waitingList/style.css +26 -26
  59. package/src/env.ts +20 -20
  60. package/src/index.ts +13 -13
  61. package/src/normalizers/index.ts +45 -45
  62. package/src/types/billing-info-data.ts +37 -37
  63. package/src/types/payment-field.ts +7 -7
  64. package/src/types/referral-promotion.ts +7 -7
  65. package/src/utils/createCheckoutDataBodyWithDefaultHolder.ts +59 -59
  66. package/src/utils/downloadPDF.tsx +30 -30
  67. package/src/utils/formikErrorFocus.ts +24 -24
  68. package/src/utils/getImage.ts +14 -14
  69. package/src/utils/getQueryVariable.ts +13 -13
  70. package/src/utils/index.ts +5 -5
  71. package/src/utils/setConfigs.ts +26 -26
  72. package/src/utils/showZero.tsx +10 -10
  73. package/src/validators/index.ts +20 -20
  74. package/src/.DS_Store +0 -0
  75. package/src/components/.DS_Store +0 -0
@@ -1,3 +1,3 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M10 20C15.5228 20 20 15.5228 20 10C20 4.47717 15.5228 0 10 0C4.47717 0 0 4.47717 0 10C0 15.5228 4.47717 20 10 20ZM8.14661 15.8678L16.8782 6.39722C16.9561 6.31335 17 6.19922 17 6.08008C17 5.96094 16.9561 5.8468 16.8782 5.76282L16.3016 5.12854C16.1386 4.95715 15.8796 4.95715 15.7167 5.12854L7.85004 13.661L4.28326 9.79236C4.20593 9.70776 4.10071 9.66016 3.99084 9.66016C3.9353 9.66016 3.88086 9.67236 3.83069 9.69531C3.78168 9.71777 3.73663 9.75061 3.69843 9.79236L3.12183 10.4177C3.07635 10.4667 3.04248 10.5259 3.02216 10.5905C3.00763 10.6365 3 10.6853 3 10.735C3 10.8541 3.04388 10.9683 3.12183 11.0521L7.56177 15.8678C7.6391 15.9524 7.74438 16 7.85419 16C7.96399 16 8.06927 15.9524 8.14661 15.8678Z" fill="#569F44"/>
3
- </svg>
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M10 20C15.5228 20 20 15.5228 20 10C20 4.47717 15.5228 0 10 0C4.47717 0 0 4.47717 0 10C0 15.5228 4.47717 20 10 20ZM8.14661 15.8678L16.8782 6.39722C16.9561 6.31335 17 6.19922 17 6.08008C17 5.96094 16.9561 5.8468 16.8782 5.76282L16.3016 5.12854C16.1386 4.95715 15.8796 4.95715 15.7167 5.12854L7.85004 13.661L4.28326 9.79236C4.20593 9.70776 4.10071 9.66016 3.99084 9.66016C3.9353 9.66016 3.88086 9.67236 3.83069 9.69531C3.78168 9.71777 3.73663 9.75061 3.69843 9.79236L3.12183 10.4177C3.07635 10.4667 3.04248 10.5259 3.02216 10.5905C3.00763 10.6365 3 10.6853 3 10.735C3 10.8541 3.04388 10.9683 3.12183 11.0521L7.56177 15.8678C7.6391 15.9524 7.74438 16 7.85419 16C7.96399 16 8.06927 15.9524 8.14661 15.8678Z" fill="#569F44"/>
3
+ </svg>
@@ -3027,6 +3027,10 @@ var BillingInfoContainer = function BillingInfoContainer(_ref3) {
3027
3027
  el.required = flagRequirePhone;
3028
3028
  }
3029
3029
 
3030
+ if (el.name === 'street_address') {
3031
+ el.required = true;
3032
+ }
3033
+
3030
3034
  return true;
3031
3035
  }), function (element) {
3032
3036
  return ['password', 'confirmPassword', 'password-info'].includes(element.name) && isLoggedIn ? null : React__default.createElement(React__default.Fragment, {