@cuemath/leap 3.0.11-j → 3.0.12-as1

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 (431) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -3
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/lottie/lottie.js +0 -11
  4. package/dist/assets/lottie/lottie.js.map +1 -1
  5. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +2 -2
  6. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -1
  7. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +30 -30
  8. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
  9. package/dist/features/chapters-v2/chapter-details/chapter-details.js +35 -35
  10. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
  11. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +44 -44
  12. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -1
  13. package/dist/features/homework/homework-card.js +145 -131
  14. package/dist/features/homework/homework-card.js.map +1 -1
  15. package/dist/features/journey/hooks/use-chapter-journey.js +28 -28
  16. package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -1
  17. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +40 -38
  18. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  19. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +53 -50
  20. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  21. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +64 -62
  22. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  23. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +44 -42
  24. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  25. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +39 -37
  26. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  27. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +38 -31
  28. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -1
  29. package/dist/index.d.ts +2 -279
  30. package/dist/index.js +505 -551
  31. package/dist/index.js.map +1 -1
  32. package/package.json +2 -3
  33. package/dist/assets/illustrations/loader-1.svg.js +0 -6
  34. package/dist/assets/illustrations/loader-1.svg.js.map +0 -1
  35. package/dist/assets/line-icons/icons/apple-icon.js +0 -48
  36. package/dist/assets/line-icons/icons/apple-icon.js.map +0 -1
  37. package/dist/assets/line-icons/icons/google-icon.js +0 -42
  38. package/dist/assets/line-icons/icons/google-icon.js.map +0 -1
  39. package/dist/features/auth/account-selector/account-selector-styled.js +0 -37
  40. package/dist/features/auth/account-selector/account-selector-styled.js.map +0 -1
  41. package/dist/features/auth/account-selector/account-selector.js +0 -90
  42. package/dist/features/auth/account-selector/account-selector.js.map +0 -1
  43. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +0 -12
  44. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +0 -1
  45. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +0 -11
  46. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +0 -1
  47. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +0 -17
  48. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +0 -1
  49. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +0 -20
  50. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +0 -1
  51. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +0 -29
  52. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
  53. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -8
  54. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
  55. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -25
  56. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
  57. package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -47
  58. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
  59. package/dist/features/auth/comps/tabs/tabs-styled.js +0 -23
  60. package/dist/features/auth/comps/tabs/tabs-styled.js.map +0 -1
  61. package/dist/features/auth/comps/tabs/tabs.js +0 -23
  62. package/dist/features/auth/comps/tabs/tabs.js.map +0 -1
  63. package/dist/features/auth/forgot-password/forgot-password-styled.js +0 -12
  64. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +0 -1
  65. package/dist/features/auth/forgot-password/otp-form/otp-form.js +0 -67
  66. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +0 -1
  67. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +0 -89
  68. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +0 -1
  69. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +0 -60
  70. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +0 -1
  71. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +0 -12
  72. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +0 -1
  73. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +0 -88
  74. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +0 -1
  75. package/dist/features/auth/login/login-constants.js +0 -12
  76. package/dist/features/auth/login/login-constants.js.map +0 -1
  77. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +0 -31
  78. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +0 -1
  79. package/dist/features/auth/login/social-login-methods/social-login-methods.js +0 -46
  80. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +0 -1
  81. package/dist/features/auth/login/username-password-form/username-password-form.js +0 -87
  82. package/dist/features/auth/login/username-password-form/username-password-form.js.map +0 -1
  83. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -56
  84. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
  85. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -131
  86. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
  87. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +0 -27
  88. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
  89. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -76
  90. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
  91. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js +0 -33
  92. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js.map +0 -1
  93. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js +0 -98
  94. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +0 -1
  95. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js +0 -57
  96. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js.map +0 -1
  97. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +0 -26
  98. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +0 -1
  99. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +0 -30
  100. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +0 -1
  101. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +0 -93
  102. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +0 -1
  103. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +0 -88
  104. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +0 -1
  105. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +0 -58
  106. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +0 -1
  107. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +0 -31
  108. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +0 -1
  109. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +0 -30
  110. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +0 -1
  111. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +0 -11
  112. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +0 -1
  113. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +0 -33
  114. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +0 -1
  115. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js +0 -9
  116. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js.map +0 -1
  117. package/dist/features/auth/signup/signup-constants.js +0 -1031
  118. package/dist/features/auth/signup/signup-constants.js.map +0 -1
  119. package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -68
  120. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
  121. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
  122. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
  123. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -62
  124. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
  125. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
  126. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
  127. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -87
  128. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
  129. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
  130. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  131. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
  132. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  133. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
  134. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  135. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
  136. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  137. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
  138. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  139. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
  140. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  141. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
  142. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  143. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  144. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  145. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  146. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  147. package/dist/node_modules/date-fns/subYears.js +0 -9
  148. package/dist/node_modules/date-fns/subYears.js.map +0 -1
  149. package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
  150. package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
  151. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  152. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
  153. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
  154. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
  155. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
  156. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
  157. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
  158. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
  159. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
  160. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
  161. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
  162. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
  163. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
  164. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
  165. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
  166. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
  167. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
  168. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
  169. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
  170. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
  171. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
  172. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
  173. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
  174. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
  175. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
  176. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
  177. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
  178. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
  179. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
  180. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
  181. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
  182. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
  183. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
  184. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
  185. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
  186. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
  187. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
  188. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
  189. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
  190. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
  191. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  192. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
  193. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
  194. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
  195. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
  196. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
  197. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
  198. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
  199. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
  200. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
  201. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
  202. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
  203. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
  204. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
  205. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
  206. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
  207. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
  208. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
  209. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
  210. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
  211. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
  212. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
  213. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
  214. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
  215. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
  216. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
  217. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
  218. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
  219. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
  220. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
  221. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
  222. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
  223. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
  224. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
  225. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
  226. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
  227. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
  228. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
  229. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
  230. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
  231. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
  232. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
  233. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
  382. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
  383. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
  384. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
  385. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
  386. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
  387. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
  388. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
  389. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
  390. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
  391. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
  392. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
  393. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
  394. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
  395. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
  396. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
  397. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
  398. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
  402. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
  403. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
  404. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
  405. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
  406. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
  407. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
  408. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
  409. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
  410. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
  411. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
  412. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
  413. package/dist/static/avatar-selected.860ee923.json +0 -1
  414. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
  415. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
  416. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  417. package/dist/static/dob.9ce3c15b.json +0 -1
  418. package/dist/static/error.cbe1ddde.json +0 -1
  419. package/dist/static/grade.b3730524.json +0 -1
  420. package/dist/static/key.d6846476.json +0 -1
  421. package/dist/static/mail.c30e8708.json +0 -1
  422. package/dist/static/otp.2d08f874.json +0 -1
  423. package/dist/static/otp.a3029760.json +0 -1
  424. package/dist/static/parent-avatar.772d53e0.json +0 -1
  425. package/dist/static/phone-number.0be312ea.json +0 -1
  426. package/dist/static/phone-number.84f55562.json +0 -1
  427. package/dist/static/student-avatar.524226bd.json +0 -1
  428. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
  429. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
  430. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
  431. package/dist/static/username.9e034d51.json +0 -1
@@ -1,60 +0,0 @@
1
- import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
- import l from "../../../ui/buttons/button/button.js";
3
- import f from "../../../ui/inputs/text-input/text-input.js";
4
- import c from "../../../ui/layout/flex-view.js";
5
- import g from "../../comps/input-status-icon/input-status-icon.js";
6
- import { FormWrapper as h } from "../forgot-password-styled.js";
7
- const b = ({
8
- onSubmit: o,
9
- onChange: i,
10
- value: s,
11
- error: e,
12
- isSubmitDisabled: n,
13
- isProcessing: a,
14
- isValid: m = !1,
15
- label: d,
16
- field: t
17
- }) => /* @__PURE__ */ r(
18
- c,
19
- {
20
- $gutterX: 2,
21
- $gapX: 1.5,
22
- $alignItems: "center",
23
- $justifyContent: "center",
24
- $background: "BLACK_2",
25
- $height: 308,
26
- children: /* @__PURE__ */ p(h, { onSubmit: o, children: [
27
- /* @__PURE__ */ r(
28
- f,
29
- {
30
- renderAs: e ? "error-dark" : "primary-dark",
31
- autoFocus: !0,
32
- label: d,
33
- value: s,
34
- onChange: (u) => t && i(t, u.target.value),
35
- width: 330,
36
- required: !0,
37
- shape: "borderLess",
38
- errorMessage: e,
39
- siblingElement: /* @__PURE__ */ r(g, { isError: !!e, isValid: m, isLoading: !1 })
40
- }
41
- ),
42
- /* @__PURE__ */ r(
43
- l,
44
- {
45
- size: "small",
46
- renderAs: "secondary-dark",
47
- type: "submit",
48
- label: "Get Verification Code",
49
- width: 336,
50
- busy: a,
51
- disabled: n
52
- }
53
- )
54
- ] })
55
- }
56
- ), C = b;
57
- export {
58
- C as default
59
- };
60
- //# sourceMappingURL=user-identifier-form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-identifier-form.js","sources":["../../../../../src/features/auth/forgot-password/user-identifier-form/user-identifier-form.tsx"],"sourcesContent":["import type { ISingleFieldFormProps } from '../forgot-password-types';\nimport type { ChangeEvent } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport * as Styled from '../forgot-password-styled';\n\nconst UserIdentifierForm = ({\n onSubmit,\n onChange,\n value,\n error,\n isSubmitDisabled,\n isProcessing,\n isValid = false,\n label,\n field,\n}: ISingleFieldFormProps) => {\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Styled.FormWrapper onSubmit={onSubmit}>\n <TextInput\n renderAs={error ? 'error-dark' : 'primary-dark'}\n autoFocus\n label={label}\n value={value}\n onChange={(e: ChangeEvent<HTMLInputElement>) => field && onChange(field, e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={error}\n siblingElement={<InputStatusIcon isError={!!error} isValid={isValid} isLoading={false} />}\n />\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Get Verification Code\"\n width={336}\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default UserIdentifierForm;\n"],"names":["UserIdentifierForm","onSubmit","onChange","value","error","isSubmitDisabled","isProcessing","isValid","label","field","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","e","InputStatusIcon","Button","UserIdentifierForm$1"],"mappings":";;;;;;AASA,MAAMA,IAAqB,CAAC;AAAA,EAC1B,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,OAAAC;AAAA,EACA,OAAAC;AACF,MAEI,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,UAAU;AAAA,IACV,OAAO;AAAA,IACP,aAAY;AAAA,IACZ,iBAAgB;AAAA,IAChB,aAAY;AAAA,IACZ,SAAS;AAAA,IAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAZ,GAClB,UAAA;AAAA,MAAA,gBAAAS;AAAA,QAACI;AAAA,QAAA;AAAA,UACC,UAAUV,IAAQ,eAAe;AAAA,UACjC,WAAS;AAAA,UACT,OAAAI;AAAA,UACA,OAAAL;AAAA,UACA,UAAU,CAACY,MAAqCN,KAASP,EAASO,GAAOM,EAAE,OAAO,KAAK;AAAA,UACvF,OAAO;AAAA,UACP,UAAQ;AAAA,UACR,OAAM;AAAA,UACN,cAAcX;AAAA,UACd,kCAAiBY,GAAgB,EAAA,SAAS,CAAC,CAACZ,GAAO,SAAAG,GAAkB,WAAW,IAAO;AAAA,QAAA;AAAA,MACzF;AAAA,MACA,gBAAAG;AAAA,QAACO;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,UAAS;AAAA,UACT,MAAK;AAAA,UACL,OAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAMX;AAAA,UACN,UAAUD;AAAA,QAAA;AAAA,MACZ;AAAA,IAAA,GACF;AAAA,EAAA;AAAA,GAKNa,IAAelB;"}
@@ -1,12 +0,0 @@
1
- import e from "styled-components";
2
- const t = e.form`
3
- display: flex;
4
- flex-direction: column;
5
- justify-content: space-between;
6
- margin-top: 8px;
7
- flex: 1;
8
- `;
9
- export {
10
- t as FormWrapper
11
- };
12
- //# sourceMappingURL=identifier-otp-form-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"identifier-otp-form-styled.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nconst FormWrapper = styled.form`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: 8px;\n flex: 1;\n`;\n\nexport { FormWrapper };\n"],"names":["FormWrapper","styled"],"mappings":";AAEA,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -1,88 +0,0 @@
1
- import { jsx as e, jsxs as o, Fragment as k } from "react/jsx-runtime";
2
- import y from "../../../ui/buttons/button/button.js";
3
- import c from "../../../ui/inputs/text-input/text-input.js";
4
- import n from "../../../ui/layout/flex-view.js";
5
- import s from "../../../ui/separator/separator.js";
6
- import u from "../../comps/input-status-icon/input-status-icon.js";
7
- import x from "../../comps/resend-otp/resend-otp.js";
8
- import { FormWrapper as F } from "./identifier-otp-form-styled.js";
9
- const C = ({
10
- identifier: f,
11
- otp: l,
12
- errors: r,
13
- isOtpVerified: i,
14
- isLoading: a,
15
- isSubmitDisabled: g,
16
- showOtpInput: t,
17
- onChange: m,
18
- onSubmit: h,
19
- onSendOtp: p
20
- }) => {
21
- const b = t ? "success-dark" : "primary-dark", $ = i ? "success-dark" : "primary-dark";
22
- return /* @__PURE__ */ e(n, { $gutterX: 2, $gapX: 1.5, $background: "BLACK_2", $height: 308, children: /* @__PURE__ */ o(F, { onSubmit: h, children: [
23
- /* @__PURE__ */ o(n, { $alignItems: "center", $justifyContent: "center", children: [
24
- /* @__PURE__ */ e(
25
- c,
26
- {
27
- renderAs: r.identifier ? "error-dark" : b,
28
- autoFocus: !0,
29
- label: "Email or Phone",
30
- value: f,
31
- onChange: (d) => m("identifier", d.target.value),
32
- width: 330,
33
- required: !0,
34
- shape: "borderLess",
35
- errorMessage: r.identifier,
36
- disabled: t,
37
- siblingElement: /* @__PURE__ */ e(u, { isValid: t, isError: !!r.identifier })
38
- }
39
- ),
40
- t && /* @__PURE__ */ o(k, { children: [
41
- /* @__PURE__ */ e(s, { height: 36 }),
42
- /* @__PURE__ */ e(
43
- c,
44
- {
45
- type: "password",
46
- renderAs: r.otp ? "error-dark" : $,
47
- autoComplete: "password",
48
- label: "Verification code",
49
- value: l,
50
- onChange: (d) => m("otp", d.target.value),
51
- width: 330,
52
- required: !0,
53
- shape: "borderLess",
54
- errorMessage: r.otp,
55
- disabled: i || l.length === 4 && a,
56
- siblingElement: /* @__PURE__ */ e(
57
- u,
58
- {
59
- isLoading: a,
60
- isValid: i,
61
- isError: !!r.otp
62
- }
63
- )
64
- }
65
- ),
66
- /* @__PURE__ */ e(s, { heightX: 1.25 }),
67
- /* @__PURE__ */ e(n, { $alignItems: "flex-end", $width: "100%", children: /* @__PURE__ */ e(x, { onResendOTP: p, disabled: i }) }),
68
- /* @__PURE__ */ e(s, { heightX: 2 })
69
- ] })
70
- ] }),
71
- /* @__PURE__ */ e(
72
- y,
73
- {
74
- size: "small",
75
- renderAs: "secondary-dark",
76
- type: "submit",
77
- label: t ? "Log In" : "Get Verification Code",
78
- width: 336,
79
- busy: !t && a,
80
- disabled: g
81
- }
82
- )
83
- ] }) });
84
- }, P = C;
85
- export {
86
- P as default
87
- };
88
- //# sourceMappingURL=identifier-otp-form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"identifier-otp-form.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form.tsx"],"sourcesContent":["// In @cuemath/leap/src/components/IdentifierOtpForm.tsx\n\nimport type { IIdentifierOtpFormProps } from './identifier-otp-form-types';\n\nimport React, { type ChangeEvent } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\nimport ResendOTP from '../../comps/resend-otp/resend-otp';\nimport * as Styled from './identifier-otp-form-styled';\n\nconst IdentifierOtpForm: React.FC<IIdentifierOtpFormProps> = ({\n identifier,\n otp,\n errors,\n isOtpVerified,\n isLoading,\n isSubmitDisabled,\n showOtpInput,\n onChange,\n onSubmit,\n onSendOtp,\n}) => {\n const identifierStatusVariant = showOtpInput ? 'success-dark' : 'primary-dark';\n const otpStatusVariant = isOtpVerified ? 'success-dark' : 'primary-dark';\n\n return (\n <FlexView $gutterX={2} $gapX={1.5} $background=\"BLACK_2\" $height={308}>\n <Styled.FormWrapper onSubmit={onSubmit}>\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <TextInput\n renderAs={errors.identifier ? 'error-dark' : identifierStatusVariant}\n autoFocus\n label=\"Email or Phone\"\n value={identifier}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('identifier', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.identifier}\n disabled={showOtpInput}\n siblingElement={\n <InputStatusIcon isValid={showOtpInput} isError={!!errors.identifier} />\n }\n />\n {showOtpInput && (\n <>\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.otp ? 'error-dark' : otpStatusVariant}\n autoComplete=\"password\"\n label=\"Verification code\"\n value={otp}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('otp', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.otp}\n disabled={isOtpVerified || (otp.length === 4 && isLoading)}\n siblingElement={\n <InputStatusIcon\n isLoading={isLoading}\n isValid={isOtpVerified}\n isError={!!errors.otp}\n />\n }\n />\n <Separator heightX={1.25} />\n <FlexView $alignItems=\"flex-end\" $width=\"100%\">\n <ResendOTP onResendOTP={onSendOtp} disabled={isOtpVerified} />\n </FlexView>\n <Separator heightX={2} />\n </>\n )}\n </FlexView>\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label={showOtpInput ? 'Log In' : 'Get Verification Code'}\n width={336}\n busy={!showOtpInput && isLoading}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default IdentifierOtpForm;\n"],"names":["IdentifierOtpForm","identifier","otp","errors","isOtpVerified","isLoading","isSubmitDisabled","showOtpInput","onChange","onSubmit","onSendOtp","identifierStatusVariant","otpStatusVariant","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","e","InputStatusIcon","Fragment","Separator","ResendOTP","Button","IdentifierOtpForm$1"],"mappings":";;;;;;;;AAcA,MAAMA,IAAuD,CAAC;AAAA,EAC5D,YAAAC;AAAA,EACA,KAAAC;AAAA,EACA,QAAAC;AAAA,EACA,eAAAC;AAAA,EACA,WAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AACF,MAAM;AACE,QAAAC,IAA0BJ,IAAe,iBAAiB,gBAC1DK,IAAmBR,IAAgB,iBAAiB;AAE1D,SACG,gBAAAS,EAAAC,GAAA,EAAS,UAAU,GAAG,OAAO,KAAK,aAAY,WAAU,SAAS,KAChE,UAAA,gBAAAC,EAACC,GAAA,EAAmB,UAAAP,GAClB,UAAA;AAAA,IAAA,gBAAAM,EAACD,GAAS,EAAA,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,MAAA,gBAAAD;AAAA,QAACI;AAAA,QAAA;AAAA,UACC,UAAUd,EAAO,aAAa,eAAeQ;AAAA,UAC7C,WAAS;AAAA,UACT,OAAM;AAAA,UACN,OAAOV;AAAA,UACP,UAAU,CAACiB,MAAqCV,EAAS,cAAcU,EAAE,OAAO,KAAK;AAAA,UACrF,OAAO;AAAA,UACP,UAAQ;AAAA,UACR,OAAM;AAAA,UACN,cAAcf,EAAO;AAAA,UACrB,UAAUI;AAAA,UACV,kCACGY,GAAgB,EAAA,SAASZ,GAAc,SAAS,CAAC,CAACJ,EAAO,YAAY;AAAA,QAAA;AAAA,MAE1E;AAAA,MACCI,KAEG,gBAAAQ,EAAAK,GAAA,EAAA,UAAA;AAAA,QAAC,gBAAAP,EAAAQ,GAAA,EAAU,QAAQ,GAAI,CAAA;AAAA,QACvB,gBAAAR;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAUd,EAAO,MAAM,eAAeS;AAAA,YACtC,cAAa;AAAA,YACb,OAAM;AAAA,YACN,OAAOV;AAAA,YACP,UAAU,CAACgB,MAAqCV,EAAS,OAAOU,EAAE,OAAO,KAAK;AAAA,YAC9E,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,cAAcf,EAAO;AAAA,YACrB,UAAUC,KAAkBF,EAAI,WAAW,KAAKG;AAAA,YAChD,gBACE,gBAAAQ;AAAA,cAACM;AAAA,cAAA;AAAA,gBACC,WAAAd;AAAA,gBACA,SAASD;AAAA,gBACT,SAAS,CAAC,CAACD,EAAO;AAAA,cAAA;AAAA,YACpB;AAAA,UAAA;AAAA,QAEJ;AAAA,QACA,gBAAAU,EAACQ,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,QACzB,gBAAAR,EAAAC,GAAA,EAAS,aAAY,YAAW,QAAO,QACtC,UAAC,gBAAAD,EAAAS,GAAA,EAAU,aAAaZ,GAAW,UAAUN,EAAe,CAAA,GAC9D;AAAA,QACA,gBAAAS,EAACQ,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,MAAA,GACzB;AAAA,IAAA,GAEJ;AAAA,IACA,gBAAAR;AAAA,MAACU;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,UAAS;AAAA,QACT,MAAK;AAAA,QACL,OAAOhB,IAAe,WAAW;AAAA,QACjC,OAAO;AAAA,QACP,MAAM,CAACA,KAAgBF;AAAA,QACvB,UAAUC;AAAA,MAAA;AAAA,IACZ;AAAA,EAAA,EACF,CAAA,EACF,CAAA;AAEJ,GAEAkB,IAAexB;"}
@@ -1,12 +0,0 @@
1
- const e = {
2
- username: {
3
- label: "Username"
4
- },
5
- identifier: {
6
- label: "Email/Phone"
7
- }
8
- };
9
- export {
10
- e as AUTH_TABS
11
- };
12
- //# sourceMappingURL=login-constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"login-constants.js","sources":["../../../../src/features/auth/login/login-constants.ts"],"sourcesContent":["import type { ITabConfig } from '../comps/tabs/tabs-types';\nimport type { TAuthTabKeys } from './login-types';\n\nexport const AUTH_TABS: ITabConfig<TAuthTabKeys> = {\n username: {\n label: 'Username',\n },\n identifier: {\n label: 'Email/Phone',\n },\n};\n"],"names":["AUTH_TABS"],"mappings":"AAGO,MAAMA,IAAsC;AAAA,EACjD,UAAU;AAAA,IACR,OAAO;AAAA,EACT;AAAA,EACA,YAAY;AAAA,IACV,OAAO;AAAA,EACT;AACF;"}
@@ -1,31 +0,0 @@
1
- import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import e from "../../../ui/buttons/button/button.js";
3
- import a from "../../../ui/layout/flex-view.js";
4
- import i from "../../../ui/separator/separator.js";
5
- const c = ({ onRetryLogin: t, onGoToSignup: r }) => /* @__PURE__ */ n(a, { $alignItems: "center", $justifyContent: "center", children: [
6
- /* @__PURE__ */ o(
7
- e,
8
- {
9
- size: "small",
10
- renderAs: "secondary-dark",
11
- label: "Create a new account",
12
- width: 232,
13
- onClick: r
14
- }
15
- ),
16
- /* @__PURE__ */ o(i, { heightX: 1 }),
17
- /* @__PURE__ */ o(
18
- e,
19
- {
20
- size: "small",
21
- renderAs: "secondary-dark",
22
- label: "Try another Login method",
23
- width: 232,
24
- onClick: t
25
- }
26
- )
27
- ] }), u = c;
28
- export {
29
- u as default
30
- };
31
- //# sourceMappingURL=social-account-not-found.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"social-account-not-found.js","sources":["../../../../../src/features/auth/login/social-account-not-found/social-account-not-found.tsx"],"sourcesContent":["import type { ISocialAccountNotFoundProps } from './social-account-not-found-types';\n\nimport Button from '../../../ui/buttons/button/button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\n\nconst SocialAccountNotFound = ({ onRetryLogin, onGoToSignup }: ISocialAccountNotFoundProps) => {\n return (\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n label=\"Create a new account\"\n width={232}\n onClick={onGoToSignup}\n />\n <Separator heightX={1} />\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n label=\"Try another Login method\"\n width={232}\n onClick={onRetryLogin}\n />\n </FlexView>\n );\n};\n\nexport default SocialAccountNotFound;\n"],"names":["SocialAccountNotFound","onRetryLogin","onGoToSignup","jsxs","FlexView","jsx","Button","Separator","SocialAccountNotFound$1"],"mappings":";;;;AAMA,MAAMA,IAAwB,CAAC,EAAE,cAAAC,GAAc,cAAAC,QAE1C,gBAAAC,EAAAC,GAAA,EAAS,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,EAAA,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,UAAS;AAAA,MACT,OAAM;AAAA,MACN,OAAO;AAAA,MACP,SAASJ;AAAA,IAAA;AAAA,EACX;AAAA,EACA,gBAAAG,EAACE,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,EACvB,gBAAAF;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,UAAS;AAAA,MACT,OAAM;AAAA,MACN,OAAO;AAAA,MACP,SAASL;AAAA,IAAA;AAAA,EACX;AACF,EAAA,CAAA,GAIJO,IAAeR;"}
@@ -1,46 +0,0 @@
1
- import { jsxs as a, jsx as i } from "react/jsx-runtime";
2
- import r from "../../../../assets/line-icons/icons/apple-icon.js";
3
- import c from "../../../../assets/line-icons/icons/google-icon.js";
4
- import n from "../../../ui/buttons/button/button.js";
5
- import d from "../../../ui/layout/flex-view.js";
6
- const p = ({
7
- onGoogleLogin: s,
8
- onAppleLogin: t,
9
- loadingProvider: o
10
- }) => {
11
- const e = o === "google", l = o === "apple";
12
- return /* @__PURE__ */ a(d, { $flexGapX: 1, $flexDirection: "row", $justifyContent: "space-between", $width: 336, children: [
13
- /* @__PURE__ */ i(
14
- n,
15
- {
16
- renderAs: "secondary-dark",
17
- Icon: c,
18
- width: 160,
19
- label: "",
20
- analyticsLabel: "google_login",
21
- onClick: s,
22
- size: "small",
23
- busy: e,
24
- disabled: e
25
- }
26
- ),
27
- /* @__PURE__ */ i(
28
- n,
29
- {
30
- renderAs: "secondary-dark",
31
- size: "small",
32
- width: 160,
33
- Icon: r,
34
- label: "",
35
- analyticsLabel: "apple_login",
36
- onClick: t,
37
- busy: l,
38
- disabled: l
39
- }
40
- )
41
- ] });
42
- }, h = p;
43
- export {
44
- h as default
45
- };
46
- //# sourceMappingURL=social-login-methods.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"social-login-methods.js","sources":["../../../../../src/features/auth/login/social-login-methods/social-login-methods.tsx"],"sourcesContent":["import type { ISocialLoginMethodsProps } from './social-login-methods-types';\nimport type { FC } from 'react';\n\nimport AppleIcon from '../../../../assets/line-icons/icons/apple-icon';\nimport GoogleIcon from '../../../../assets/line-icons/icons/google-icon';\nimport Button from '../../../ui/buttons/button/button';\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst SocialLoginMethods: FC<ISocialLoginMethodsProps> = ({\n onGoogleLogin,\n onAppleLogin,\n loadingProvider,\n}) => {\n const isLoadingGoogle = loadingProvider === 'google';\n const isLoadingApple = loadingProvider === 'apple';\n\n return (\n <FlexView $flexGapX={1} $flexDirection=\"row\" $justifyContent=\"space-between\" $width={336}>\n <Button\n renderAs=\"secondary-dark\"\n Icon={GoogleIcon}\n width={160}\n label=\"\"\n analyticsLabel=\"google_login\"\n onClick={onGoogleLogin}\n size=\"small\"\n busy={isLoadingGoogle}\n disabled={isLoadingGoogle}\n />\n <Button\n renderAs=\"secondary-dark\"\n size=\"small\"\n width={160}\n Icon={AppleIcon}\n label=\"\"\n analyticsLabel=\"apple_login\"\n onClick={onAppleLogin}\n busy={isLoadingApple}\n disabled={isLoadingApple}\n />\n </FlexView>\n );\n};\n\nexport default SocialLoginMethods;\n"],"names":["SocialLoginMethods","onGoogleLogin","onAppleLogin","loadingProvider","isLoadingGoogle","isLoadingApple","jsxs","FlexView","jsx","Button","GoogleIcon","AppleIcon","SocialLoginMethods$1"],"mappings":";;;;;AAQA,MAAMA,IAAmD,CAAC;AAAA,EACxD,eAAAC;AAAA,EACA,cAAAC;AAAA,EACA,iBAAAC;AACF,MAAM;AACJ,QAAMC,IAAkBD,MAAoB,UACtCE,IAAiBF,MAAoB;AAGzC,SAAA,gBAAAG,EAACC,KAAS,WAAW,GAAG,gBAAe,OAAM,iBAAgB,iBAAgB,QAAQ,KACnF,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,UAAS;AAAA,QACT,MAAMC;AAAA,QACN,OAAO;AAAA,QACP,OAAM;AAAA,QACN,gBAAe;AAAA,QACf,SAAST;AAAA,QACT,MAAK;AAAA,QACL,MAAMG;AAAA,QACN,UAAUA;AAAA,MAAA;AAAA,IACZ;AAAA,IACA,gBAAAI;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,UAAS;AAAA,QACT,MAAK;AAAA,QACL,OAAO;AAAA,QACP,MAAME;AAAA,QACN,OAAM;AAAA,QACN,gBAAe;AAAA,QACf,SAAST;AAAA,QACT,MAAMG;AAAA,QACN,UAAUA;AAAA,MAAA;AAAA,IACZ;AAAA,EACF,EAAA,CAAA;AAEJ,GAEAO,IAAeZ;"}
@@ -1,87 +0,0 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import c from "../../../ui/buttons/button/button.js";
3
- import g from "../../../ui/buttons/text-button/text-button.js";
4
- import l from "../../../ui/inputs/text-input/text-input.js";
5
- import t from "../../../ui/layout/flex-view.js";
6
- import s from "../../../ui/separator/separator.js";
7
- import b from "../../comps/input-status-icon/input-status-icon.js";
8
- const f = ({
9
- username: n,
10
- password: i,
11
- errors: r,
12
- isLoading: m,
13
- onChange: d,
14
- onSubmit: u,
15
- onForgotPassword: p
16
- }) => {
17
- const h = m || !n.trim() || !i.trim();
18
- return /* @__PURE__ */ a(
19
- t,
20
- {
21
- $gutterX: 2,
22
- $gapX: 1.5,
23
- $alignItems: "center",
24
- $justifyContent: "center",
25
- $background: "BLACK_2",
26
- $height: 308,
27
- children: [
28
- /* @__PURE__ */ e(s, { heightX: 0.5 }),
29
- /* @__PURE__ */ a("form", { onSubmit: u, children: [
30
- /* @__PURE__ */ a(t, { $alignItems: "center", $justifyContent: "center", children: [
31
- /* @__PURE__ */ e(
32
- l,
33
- {
34
- renderAs: r.username ? "error-dark" : "primary-dark",
35
- autoFocus: !0,
36
- autoComplete: "username",
37
- label: "Username",
38
- value: n,
39
- onChange: (o) => d("username", o.target.value),
40
- width: 330,
41
- required: !0,
42
- shape: "borderLess",
43
- errorMessage: r.username
44
- }
45
- ),
46
- /* @__PURE__ */ e(s, { height: 36 }),
47
- /* @__PURE__ */ e(
48
- l,
49
- {
50
- type: "password",
51
- renderAs: r.password ? "error-dark" : "primary-dark",
52
- autoComplete: "password",
53
- label: "Password",
54
- value: i,
55
- onChange: (o) => d("password", o.target.value),
56
- width: 330,
57
- required: !0,
58
- shape: "borderLess",
59
- errorMessage: r.password,
60
- siblingElement: /* @__PURE__ */ e(b, { isError: !!r.password })
61
- }
62
- )
63
- ] }),
64
- /* @__PURE__ */ e(s, { heightX: 1.25 }),
65
- /* @__PURE__ */ e(t, { $alignItems: "flex-end", children: /* @__PURE__ */ e(g, { label: "Forgot Password?", onClick: p, color: "WHITE_T_60" }) }),
66
- /* @__PURE__ */ e(s, { heightX: 2 }),
67
- /* @__PURE__ */ e(t, { $justifyContent: "center", children: /* @__PURE__ */ e(
68
- c,
69
- {
70
- size: "small",
71
- renderAs: "secondary-dark",
72
- type: "submit",
73
- label: "Log in",
74
- width: 336,
75
- busy: m,
76
- disabled: h
77
- }
78
- ) })
79
- ] })
80
- ]
81
- }
82
- );
83
- }, j = f;
84
- export {
85
- j as default
86
- };
87
- //# sourceMappingURL=username-password-form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"username-password-form.js","sources":["../../../../../src/features/auth/login/username-password-form/username-password-form.tsx"],"sourcesContent":["import type { IUsernamePasswordFormProps } from './username-password-form-types';\n\nimport { type ChangeEvent, type FC } from 'react';\n\nimport Button from '../../../ui/buttons/button/button';\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport TextInput from '../../../ui/inputs/text-input/text-input';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport InputStatusIcon from '../../comps/input-status-icon/input-status-icon';\n\nconst UsernamePasswordForm: FC<IUsernamePasswordFormProps> = ({\n username,\n password,\n errors,\n isLoading,\n onChange,\n onSubmit,\n onForgotPassword,\n}) => {\n const isSubmitDisabled = isLoading || !username.trim() || !password.trim();\n\n return (\n <FlexView\n $gutterX={2}\n $gapX={1.5}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background=\"BLACK_2\"\n $height={308}\n >\n <Separator heightX={0.5} />\n <form onSubmit={onSubmit}>\n <FlexView $alignItems=\"center\" $justifyContent=\"center\">\n <TextInput\n renderAs={errors.username ? 'error-dark' : 'primary-dark'}\n autoFocus\n autoComplete=\"username\"\n label=\"Username\"\n value={username}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('username', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.username}\n />\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.password ? 'error-dark' : 'primary-dark'}\n autoComplete=\"password\"\n label=\"Password\"\n value={password}\n onChange={(e: ChangeEvent<HTMLInputElement>) => onChange('password', e.target.value)}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.password}\n siblingElement={<InputStatusIcon isError={!!errors.password} />}\n />\n </FlexView>\n <Separator heightX={1.25} />\n <FlexView $alignItems=\"flex-end\">\n <TextButton label=\"Forgot Password?\" onClick={onForgotPassword} color=\"WHITE_T_60\" />\n </FlexView>\n <Separator heightX={2} />\n <FlexView $justifyContent=\"center\">\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Log in\"\n width={336}\n busy={isLoading}\n disabled={isSubmitDisabled}\n />\n </FlexView>\n </form>\n </FlexView>\n );\n};\n\nexport default UsernamePasswordForm;\n"],"names":["UsernamePasswordForm","username","password","errors","isLoading","onChange","onSubmit","onForgotPassword","isSubmitDisabled","jsxs","FlexView","jsx","Separator","TextInput","e","InputStatusIcon","TextButton","Button","UsernamePasswordForm$1"],"mappings":";;;;;;;AAWA,MAAMA,IAAuD,CAAC;AAAA,EAC5D,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,kBAAAC;AACF,MAAM;AACE,QAAAC,IAAmBJ,KAAa,CAACH,EAAS,UAAU,CAACC,EAAS;AAGlE,SAAA,gBAAAO;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAA;AAAA,QAAC,gBAAAC,EAAAC,GAAA,EAAU,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAH,EAAC,UAAK,UAAAH,GACJ,UAAA;AAAA,UAAA,gBAAAG,EAACC,GAAS,EAAA,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,YAAA,gBAAAC;AAAA,cAACE;AAAA,cAAA;AAAA,gBACC,UAAUV,EAAO,WAAW,eAAe;AAAA,gBAC3C,WAAS;AAAA,gBACT,cAAa;AAAA,gBACb,OAAM;AAAA,gBACN,OAAOF;AAAA,gBACP,UAAU,CAACa,MAAqCT,EAAS,YAAYS,EAAE,OAAO,KAAK;AAAA,gBACnF,OAAO;AAAA,gBACP,UAAQ;AAAA,gBACR,OAAM;AAAA,gBACN,cAAcX,EAAO;AAAA,cAAA;AAAA,YACvB;AAAA,YACA,gBAAAQ,EAACC,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,YACvB,gBAAAD;AAAA,cAACE;AAAA,cAAA;AAAA,gBACC,MAAK;AAAA,gBACL,UAAUV,EAAO,WAAW,eAAe;AAAA,gBAC3C,cAAa;AAAA,gBACb,OAAM;AAAA,gBACN,OAAOD;AAAA,gBACP,UAAU,CAACY,MAAqCT,EAAS,YAAYS,EAAE,OAAO,KAAK;AAAA,gBACnF,OAAO;AAAA,gBACP,UAAQ;AAAA,gBACR,OAAM;AAAA,gBACN,cAAcX,EAAO;AAAA,gBACrB,gBAAiB,gBAAAQ,EAAAI,GAAA,EAAgB,SAAS,CAAC,CAACZ,EAAO,UAAU;AAAA,cAAA;AAAA,YAC/D;AAAA,UAAA,GACF;AAAA,UACA,gBAAAQ,EAACC,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,UACzB,gBAAAD,EAAAD,GAAA,EAAS,aAAY,YACpB,UAAC,gBAAAC,EAAAK,GAAA,EAAW,OAAM,oBAAmB,SAAST,GAAkB,OAAM,aAAa,CAAA,GACrF;AAAA,UACA,gBAAAI,EAACC,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,UACvB,gBAAAD,EAACD,GAAS,EAAA,iBAAgB,UACxB,UAAA,gBAAAC;AAAA,YAACM;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,UAAS;AAAA,cACT,MAAK;AAAA,cACL,OAAM;AAAA,cACN,OAAO;AAAA,cACP,MAAMb;AAAA,cACN,UAAUI;AAAA,YAAA;AAAA,UAAA,GAEd;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEAU,IAAelB;"}
@@ -1,56 +0,0 @@
1
- import t from "styled-components";
2
- import i from "../../../ui/layout/flex-view.js";
3
- const n = t(i)`
4
- position: relative;
5
- `, s = t(i)`
6
- position: absolute;
7
- border-radius: 100%;
8
- top: 216px;
9
- border: ${({ theme: o }) => `2px solid ${o.colors.BLACK_5}`};
10
- `, p = t(i)`
11
- opacity: ${({ $isVisible: o }) => o ? 1 : 0};
12
- transition: opacity 0.5s ease-in-out;
13
- `, l = t.div`
14
- position: relative;
15
- `;
16
- t(i)`
17
- position: relative;
18
- overflow: hidden;
19
- background: ${({ theme: o }) => o.colors.BLACK_2};
20
- border-radius: 100%;
21
- flex-shrink: 0;
22
- display: flex;
23
- align-items: center;
24
- justify-content: center;
25
- color: ${({ theme: o }) => o.colors.WHITE};
26
- `;
27
- t.div`
28
- position: absolute;
29
- width: 100%;
30
- height: 100%;
31
- z-index: 2;
32
- `;
33
- const a = t(i)`
34
- position: absolute;
35
- top: 55%;
36
- right: 24px;
37
- `, c = t(i)`
38
- position: absolute;
39
- top: 55%;
40
- left: 24px;
41
- button {
42
- background-color: ${({ theme: o }) => o.colors.BLACK_1};
43
- svg {
44
- color: ${({ theme: o }) => o.colors.WHITE};
45
- }
46
- }
47
- `;
48
- export {
49
- s as CircularStepContainer,
50
- n as Container,
51
- p as ContentWrapper,
52
- l as InputContainer,
53
- a as NextButtonWrapper,
54
- c as PrevButtonWrapper
55
- };
56
- //# sourceMappingURL=circular-step-wrapper-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"circular-step-wrapper-styled.js","sources":["../../../../../src/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst Container = styled(FlexView)`\n position: relative;\n`;\n\nconst CircularStepContainer = styled(FlexView)`\n position: absolute;\n border-radius: 100%;\n top: 216px;\n border: ${({ theme }) => `2px solid ${theme.colors.BLACK_5}`};\n`;\n\nconst ContentWrapper = styled(FlexView)<{ $isVisible: boolean }>`\n opacity: ${({ $isVisible }) => ($isVisible ? 1 : 0)};\n transition: opacity 0.5s ease-in-out;\n`;\n\nconst InputContainer = styled.div`\n position: relative;\n`;\n\nconst CircularProgressContainer = styled(FlexView)<{\n isVerticallyCentered?: boolean;\n}>`\n position: relative;\n overflow: hidden;\n background: ${({ theme }) => theme.colors.BLACK_2};\n border-radius: 100%;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ${({ theme }) => theme.colors.WHITE};\n`;\n\nexport const CircularProgress = styled.div`\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 2;\n`;\n\nconst NextButtonWrapper = styled(FlexView)`\n position: absolute;\n top: 55%;\n right: 24px;\n`;\nconst PrevButtonWrapper = styled(FlexView)`\n position: absolute;\n top: 55%;\n left: 24px;\n button {\n background-color: ${({ theme }) => theme.colors.BLACK_1};\n svg {\n color: ${({ theme }) => theme.colors.WHITE};\n }\n }\n`;\n\nexport {\n NextButtonWrapper,\n PrevButtonWrapper,\n InputContainer,\n Container,\n CircularStepContainer,\n CircularProgressContainer,\n ContentWrapper,\n};\n"],"names":["Container","styled","FlexView","CircularStepContainer","theme","ContentWrapper","$isVisible","InputContainer","NextButtonWrapper","PrevButtonWrapper"],"mappings":";;AAIM,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,GAI3BC,IAAwBF,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,YAIjC,CAAC,EAAE,OAAAE,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA,GAGxDC,IAAiBJ,EAAOC,CAAQ;AAAA,aACzB,CAAC,EAAE,YAAAI,EAAA,MAAkBA,IAAa,IAAI,CAAE;AAAA;AAAA,GAI/CC,IAAiBN,EAAO;AAAA;AAAA;AAIIA,EAAOC,CAAQ;AAAA;AAAA;AAAA,gBAKjC,CAAC,EAAE,OAAAE,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAMxC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAGZH,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAOjC,MAAAO,IAAoBP,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,GAKnCO,IAAoBR,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,wBAKjB,CAAC,EAAE,OAAAE,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA,eAE5C,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;"}
@@ -1,131 +0,0 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as b, useRef as c, useState as $, useCallback as E, useEffect as H, useImperativeHandle as B, useLayoutEffect as T } from "react";
3
- import j from "../../../../assets/line-icons/icons/back2.js";
4
- import P from "../../../../assets/line-icons/icons/next2.js";
5
- import z from "../../../ui/animated-arc/animated-arc.js";
6
- import C from "../../../ui/buttons/icon-button/icon-button.js";
7
- import F from "../../../ui/layout/flex-view.js";
8
- import M from "../../../ui/lottie-animation/lottie-animation.js";
9
- import N from "../../../ui/separator/separator.js";
10
- import O from "../../../ui/text/text.js";
11
- import { Container as V, CircularStepContainer as X, ContentWrapper as D, InputContainer as K, PrevButtonWrapper as Y, NextButtonWrapper as _ } from "./circular-step-wrapper-styled.js";
12
- const q = {
13
- autoplay: !1,
14
- loop: !1,
15
- renderer: "canvas",
16
- rendererSettings: {
17
- preserveAspectRatio: "xMidYMin slice"
18
- }
19
- }, G = b(
20
- ({
21
- children: g,
22
- onGoBack: y,
23
- onNext: I,
24
- label: a,
25
- showNext: x,
26
- showPrevious: A,
27
- animation: r,
28
- introFrames: S,
29
- outroFrames: w,
30
- isNextLoading: s,
31
- progressAngle: l
32
- }, R) => {
33
- const t = c(null), o = c(null), [u, k] = $(), [v, m] = $(!1), i = c(null), L = E(() => {
34
- r && t.current && (t.current.playSegments(S, !0), m(!0));
35
- }, [r]);
36
- return H(() => () => {
37
- i.current && clearTimeout(i.current);
38
- }, [r]), B(R, () => ({
39
- playOutroAndFadeOut: async () => new Promise((W) => {
40
- var f, p;
41
- const d = () => {
42
- var h;
43
- W(), (h = t.current) == null || h.removeEventListener("complete", d);
44
- };
45
- (f = t.current) == null || f.playSegments(w, !0), i.current = setTimeout(() => m(!1), 400), (p = t.current) == null || p.addEventListener("complete", d);
46
- })
47
- })), T(() => {
48
- o.current && k(o.current.offsetHeight);
49
- }, []), /* @__PURE__ */ n(
50
- V,
51
- {
52
- $flex: 1,
53
- $flexDirection: "column",
54
- $alignItems: "center",
55
- $justifyContent: "center",
56
- $width: "100%",
57
- $height: "100%",
58
- ref: o,
59
- children: [
60
- u && /* @__PURE__ */ e(
61
- M,
62
- {
63
- width: 1280,
64
- height: u,
65
- src: r,
66
- ref: t,
67
- onRender: L,
68
- settings: q
69
- }
70
- ),
71
- /* @__PURE__ */ n(
72
- X,
73
- {
74
- $width: 400,
75
- $height: 400,
76
- $background: "REAL_BLACK",
77
- $alignItems: "center",
78
- $justifyContent: "center",
79
- children: [
80
- l && /* @__PURE__ */ e(
81
- z,
82
- {
83
- radius: 200,
84
- strokeWidth: 2,
85
- color: "WHITE",
86
- targetAngle: l,
87
- mode: "fade",
88
- duration: 1
89
- }
90
- ),
91
- /* @__PURE__ */ n(D, { $isVisible: v, $width: "100%", children: [
92
- a ? /* @__PURE__ */ n(F, { $gutterX: 3.5, children: [
93
- /* @__PURE__ */ e(O, { $renderAs: "ab2", $color: "WHITE", $align: "center", children: a }),
94
- /* @__PURE__ */ e(N, { heightX: 1 })
95
- ] }) : null,
96
- /* @__PURE__ */ e(K, { children: g })
97
- ] })
98
- ]
99
- }
100
- ),
101
- A && /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e(
102
- C,
103
- {
104
- Icon: j,
105
- renderAs: "secondary-dark",
106
- analyticsLabel: "Prev",
107
- onClick: y,
108
- disabled: s,
109
- size: "small"
110
- }
111
- ) }),
112
- x && /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(
113
- C,
114
- {
115
- size: "small",
116
- Icon: P,
117
- renderAs: "secondary-dark",
118
- analyticsLabel: "Next",
119
- onClick: I,
120
- busy: s
121
- }
122
- ) })
123
- ]
124
- }
125
- );
126
- }
127
- ), ae = G;
128
- export {
129
- ae as default
130
- };
131
- //# sourceMappingURL=circular-step-wrapper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"circular-step-wrapper.js","sources":["../../../../../src/features/auth/signup/circular-step-wrapper/circular-step-wrapper.tsx"],"sourcesContent":["import type { ILottieAnimationRef } from '../../../ui/lottie-animation/types';\nimport type { ICircularStepRef, ICircularStepWrapperProps } from './circular-step-wrapper-types';\n\nimport {\n forwardRef,\n useCallback,\n useEffect,\n useImperativeHandle,\n useLayoutEffect,\n useRef,\n useState,\n type Ref,\n} from 'react';\n\nimport Back2Icon from '../../../../assets/line-icons/icons/back2';\nimport Next2Icon from '../../../../assets/line-icons/icons/next2';\nimport AnimatedArc from '../../../ui/animated-arc/animated-arc';\nimport IconButton from '../../../ui/buttons/icon-button/icon-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport LottieAnimation from '../../../ui/lottie-animation/lottie-animation';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport * as Styled from './circular-step-wrapper-styled';\n\nconst animationSettings = {\n autoplay: false,\n loop: false,\n renderer: 'canvas',\n rendererSettings: {\n preserveAspectRatio: 'xMidYMin slice',\n },\n};\n\nconst CircularStepWrapper = forwardRef<ICircularStepRef, ICircularStepWrapperProps>(\n (\n {\n children,\n onGoBack,\n onNext,\n label,\n showNext,\n showPrevious,\n animation,\n introFrames,\n outroFrames,\n isNextLoading,\n progressAngle,\n },\n ref: Ref<ICircularStepRef>,\n ) => {\n const animationRef = useRef<ILottieAnimationRef | null>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n const [containerHeight, setContainerHeight] = useState<number | undefined>();\n const [showContent, setShowContent] = useState(false);\n const timeoutRef = useRef<NodeJS.Timeout | null>(null);\n\n const onLottieRender = useCallback(() => {\n if (animation && animationRef.current) {\n animationRef.current.playSegments(introFrames, true);\n setShowContent(true);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [animation]);\n\n useEffect(() => {\n return () => {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n }\n };\n }, [animation]);\n\n useImperativeHandle(ref, () => ({\n playOutroAndFadeOut: async () => {\n return new Promise<void>(resolve => {\n const handleComplete = () => {\n resolve();\n animationRef.current?.removeEventListener('complete', handleComplete);\n };\n\n animationRef.current?.playSegments(outroFrames, true);\n timeoutRef.current = setTimeout(() => setShowContent(false), 400);\n animationRef.current?.addEventListener('complete', handleComplete);\n });\n },\n }));\n\n useLayoutEffect(() => {\n if (containerRef.current) {\n setContainerHeight(containerRef.current.offsetHeight);\n }\n }, []);\n\n return (\n <Styled.Container\n $flex={1}\n $flexDirection=\"column\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n ref={containerRef}\n >\n {containerHeight && (\n <LottieAnimation\n width={1280}\n height={containerHeight}\n src={animation}\n ref={animationRef}\n onRender={onLottieRender}\n settings={animationSettings}\n />\n )}\n <Styled.CircularStepContainer\n $width={400}\n $height={400}\n $background=\"REAL_BLACK\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n >\n {progressAngle && (\n <AnimatedArc\n radius={200}\n strokeWidth={2}\n color=\"WHITE\"\n targetAngle={progressAngle}\n mode=\"fade\"\n duration={1}\n />\n )}\n <Styled.ContentWrapper $isVisible={showContent} $width=\"100%\">\n {label ? (\n <FlexView $gutterX={3.5}>\n <Text $renderAs=\"ab2\" $color=\"WHITE\" $align=\"center\">\n {label}\n </Text>\n <Separator heightX={1} />\n </FlexView>\n ) : null}\n <Styled.InputContainer>{children}</Styled.InputContainer>\n </Styled.ContentWrapper>\n </Styled.CircularStepContainer>\n {showPrevious && (\n <Styled.PrevButtonWrapper>\n <IconButton\n Icon={Back2Icon}\n renderAs=\"secondary-dark\"\n analyticsLabel=\"Prev\"\n onClick={onGoBack}\n disabled={isNextLoading}\n size=\"small\"\n />\n </Styled.PrevButtonWrapper>\n )}\n {showNext && (\n <Styled.NextButtonWrapper>\n <IconButton\n size=\"small\"\n Icon={Next2Icon}\n renderAs=\"secondary-dark\"\n analyticsLabel=\"Next\"\n onClick={onNext}\n busy={isNextLoading}\n />\n </Styled.NextButtonWrapper>\n )}\n </Styled.Container>\n );\n },\n);\n\nexport default CircularStepWrapper;\n"],"names":["animationSettings","CircularStepWrapper","forwardRef","children","onGoBack","onNext","label","showNext","showPrevious","animation","introFrames","outroFrames","isNextLoading","progressAngle","ref","animationRef","useRef","containerRef","containerHeight","setContainerHeight","useState","showContent","setShowContent","timeoutRef","onLottieRender","useCallback","useEffect","useImperativeHandle","resolve","handleComplete","_a","_b","useLayoutEffect","jsxs","Styled.Container","jsx","LottieAnimation","Styled.CircularStepContainer","AnimatedArc","Styled.ContentWrapper","FlexView","Text","Separator","Styled.InputContainer","Styled.PrevButtonWrapper","IconButton","Back2Icon","Styled.NextButtonWrapper","Next2Icon","CircularStepWrapper$1"],"mappings":";;;;;;;;;;;AAwBA,MAAMA,IAAoB;AAAA,EACxB,UAAU;AAAA,EACV,MAAM;AAAA,EACN,UAAU;AAAA,EACV,kBAAkB;AAAA,IAChB,qBAAqB;AAAA,EACvB;AACF,GAEMC,IAAsBC;AAAA,EAC1B,CACE;AAAA,IACE,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,QAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,IACA,WAAAC;AAAA,IACA,aAAAC;AAAA,IACA,aAAAC;AAAA,IACA,eAAAC;AAAA,IACA,eAAAC;AAAA,KAEFC,MACG;AACG,UAAAC,IAAeC,EAAmC,IAAI,GACtDC,IAAeD,EAAuB,IAAI,GAC1C,CAACE,GAAiBC,CAAkB,IAAIC,EAA6B,GACrE,CAACC,GAAaC,CAAc,IAAIF,EAAS,EAAK,GAC9CG,IAAaP,EAA8B,IAAI,GAE/CQ,IAAiBC,EAAY,MAAM;AACnC,MAAAhB,KAAaM,EAAa,YACfA,EAAA,QAAQ,aAAaL,GAAa,EAAI,GACnDY,EAAe,EAAI;AAAA,IACrB,GAEC,CAACb,CAAS,CAAC;AAEd,WAAAiB,EAAU,MACD,MAAM;AACX,MAAIH,EAAW,WACb,aAAaA,EAAW,OAAO;AAAA,IACjC,GAED,CAACd,CAAS,CAAC,GAEdkB,EAAoBb,GAAK,OAAO;AAAA,MAC9B,qBAAqB,YACZ,IAAI,QAAc,CAAWc,MAAA;;AAClC,cAAMC,IAAiB,MAAM;;AACnB,UAAAD,MACKE,IAAAf,EAAA,YAAA,QAAAe,EAAS,oBAAoB,YAAYD;AAAA,QAAc;AAGzD,SAAAC,IAAAf,EAAA,YAAA,QAAAe,EAAS,aAAanB,GAAa,KAChDY,EAAW,UAAU,WAAW,MAAMD,EAAe,EAAK,GAAG,GAAG,IACnDS,IAAAhB,EAAA,YAAA,QAAAgB,EAAS,iBAAiB,YAAYF;AAAA,MAAc,CAClE;AAAA,IAEH,EAAA,GAEFG,EAAgB,MAAM;AACpB,MAAIf,EAAa,WACIE,EAAAF,EAAa,QAAQ,YAAY;AAAA,IAExD,GAAG,CAAE,CAAA,GAGH,gBAAAgB;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,gBAAe;AAAA,QACf,aAAY;AAAA,QACZ,iBAAgB;AAAA,QAChB,QAAO;AAAA,QACP,SAAQ;AAAA,QACR,KAAKjB;AAAA,QAEJ,UAAA;AAAA,UACCC,KAAA,gBAAAiB;AAAA,YAACC;AAAA,YAAA;AAAA,cACC,OAAO;AAAA,cACP,QAAQlB;AAAA,cACR,KAAKT;AAAA,cACL,KAAKM;AAAA,cACL,UAAUS;AAAA,cACV,UAAUxB;AAAA,YAAA;AAAA,UACZ;AAAA,UAEF,gBAAAiC;AAAA,YAACI;AAAAA,YAAA;AAAA,cACC,QAAQ;AAAA,cACR,SAAS;AAAA,cACT,aAAY;AAAA,cACZ,aAAY;AAAA,cACZ,iBAAgB;AAAA,cAEf,UAAA;AAAA,gBACCxB,KAAA,gBAAAsB;AAAA,kBAACG;AAAA,kBAAA;AAAA,oBACC,QAAQ;AAAA,oBACR,aAAa;AAAA,oBACb,OAAM;AAAA,oBACN,aAAazB;AAAA,oBACb,MAAK;AAAA,oBACL,UAAU;AAAA,kBAAA;AAAA,gBACZ;AAAA,kCAED0B,GAAA,EAAsB,YAAYlB,GAAa,QAAO,QACpD,UAAA;AAAA,kBACCf,IAAA,gBAAA2B,EAACO,GAAS,EAAA,UAAU,KAClB,UAAA;AAAA,oBAAA,gBAAAL,EAACM,KAAK,WAAU,OAAM,QAAO,SAAQ,QAAO,UACzC,UACHnC,EAAA,CAAA;AAAA,oBACA,gBAAA6B,EAACO,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,kBAAA,EAAA,CACzB,IACE;AAAA,kBACH,gBAAAP,EAAAQ,GAAA,EAAuB,UAAAxC,GAAS;AAAA,gBAAA,GACnC;AAAA,cAAA;AAAA,YAAA;AAAA,UACF;AAAA,UACCK,KACC,gBAAA2B,EAACS,GAAA,EACC,UAAA,gBAAAT;AAAA,YAACU;AAAA,YAAA;AAAA,cACC,MAAMC;AAAA,cACN,UAAS;AAAA,cACT,gBAAe;AAAA,cACf,SAAS1C;AAAA,cACT,UAAUQ;AAAA,cACV,MAAK;AAAA,YAAA;AAAA,UAAA,GAET;AAAA,UAEDL,KACC,gBAAA4B,EAACY,GAAA,EACC,UAAA,gBAAAZ;AAAA,YAACU;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,MAAMG;AAAA,cACN,UAAS;AAAA,cACT,gBAAe;AAAA,cACf,SAAS3C;AAAA,cACT,MAAMO;AAAA,YAAA;AAAA,UAAA,GAEV;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAIR;AACF,GAEAqC,KAAehD;"}
@@ -1,27 +0,0 @@
1
- import s from "styled-components";
2
- import i from "../../../ui/layout/flex-view.js";
3
- const d = s(i)`
4
- max-width: 200px;
5
- cursor: pointer;
6
- transition: background-color 0.3s ease;
7
- position: relative;
8
- border-left: 1px solid ${({ theme: o }) => o.colors.BLACK_5};
9
- border-bottom: 1px solid ${({ theme: o }) => o.colors.BLACK_5};
10
-
11
- &:hover {
12
- background-color: ${({ theme: o }) => o.colors.BLACK_2};
13
- }
14
-
15
- ${({ index: o, theme: r }) => o < 5 && `border-top: 1px solid ${r.colors.BLACK_5};`}
16
-
17
- ${({ index: o, isLastItem: r, theme: e }) => ((o + 1) % 5 === 0 || r) && `border-right: 1px solid ${e.colors.BLACK_5};`}
18
- `, p = s.div`
19
- display: inline-grid;
20
- grid-template-columns: repeat(${({ itemCount: o }) => o < 5 ? o : 5}, 200px);
21
- grid-auto-rows: 200px;
22
- `;
23
- export {
24
- d as AccountCard,
25
- p as UserAccountsWrapper
26
- };
27
- //# sourceMappingURL=claim-user-account-styled.js.map