@cuemath/leap 3.0.15 → 3.0.17-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 (422) hide show
  1. package/dist/assets/illustrations/illustrations.js +3 -0
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/illustrations/loader-1.svg.js +6 -0
  4. package/dist/assets/illustrations/loader-1.svg.js.map +1 -0
  5. package/dist/assets/line-icons/icons/apple-icon.js +48 -0
  6. package/dist/assets/line-icons/icons/apple-icon.js.map +1 -0
  7. package/dist/assets/line-icons/icons/google-icon.js +42 -0
  8. package/dist/assets/line-icons/icons/google-icon.js.map +1 -0
  9. package/dist/assets/lottie/lottie.js +11 -0
  10. package/dist/assets/lottie/lottie.js.map +1 -1
  11. package/dist/features/auth/account-selector/account-selector.js +43 -0
  12. package/dist/features/auth/account-selector/account-selector.js.map +1 -0
  13. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +12 -0
  14. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +1 -0
  15. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +12 -0
  16. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -0
  17. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +18 -0
  18. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -0
  19. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +21 -0
  20. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +1 -0
  21. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +29 -0
  22. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +1 -0
  23. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +9 -0
  24. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +1 -0
  25. package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js +24 -0
  26. package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js.map +1 -0
  27. package/dist/features/auth/comps/resend-otp/resend-otp.js +65 -0
  28. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -0
  29. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +23 -0
  30. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -0
  31. package/dist/features/auth/comps/tabs/tabs-styled.js +23 -0
  32. package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -0
  33. package/dist/features/auth/comps/tabs/tabs.js +9 -0
  34. package/dist/features/auth/comps/tabs/tabs.js.map +1 -0
  35. package/dist/features/auth/forgot-password/forgot-password-styled.js +12 -0
  36. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -0
  37. package/dist/features/auth/forgot-password/otp-form/otp-form.js +66 -0
  38. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +1 -0
  39. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +101 -0
  40. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +1 -0
  41. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +68 -0
  42. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +1 -0
  43. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +12 -0
  44. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -0
  45. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +100 -0
  46. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +1 -0
  47. package/dist/features/auth/login/login-constants.js +14 -0
  48. package/dist/features/auth/login/login-constants.js.map +1 -0
  49. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +32 -0
  50. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +1 -0
  51. package/dist/features/auth/login/social-login-methods/social-login-methods.js +47 -0
  52. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +1 -0
  53. package/dist/features/auth/login/username-password-form/username-password-form.js +98 -0
  54. package/dist/features/auth/login/username-password-form/username-password-form.js.map +1 -0
  55. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +56 -0
  56. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -0
  57. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +131 -0
  58. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -0
  59. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +53 -0
  60. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +1 -0
  61. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js +34 -0
  62. package/dist/features/auth/signup/custom-input-field/country-selector/country-code-button.js.map +1 -0
  63. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js +98 -0
  64. package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +1 -0
  65. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js +57 -0
  66. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector-styled.js.map +1 -0
  67. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +26 -0
  68. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +1 -0
  69. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +30 -0
  70. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +1 -0
  71. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +100 -0
  72. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -0
  73. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +88 -0
  74. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +1 -0
  75. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +43 -0
  76. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +1 -0
  77. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +31 -0
  78. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +1 -0
  79. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +31 -0
  80. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +1 -0
  81. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +11 -0
  82. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +1 -0
  83. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +29 -0
  84. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -0
  85. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js +9 -0
  86. package/dist/features/auth/signup/custom-input-field/password-toggle/password-toggle.js.map +1 -0
  87. package/dist/features/auth/signup/signup-constants.js +1031 -0
  88. package/dist/features/auth/signup/signup-constants.js.map +1 -0
  89. package/dist/features/auth/signup/signup-methods/signup-methods.js +69 -0
  90. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +1 -0
  91. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +19 -0
  92. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +1 -0
  93. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +62 -0
  94. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +1 -0
  95. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +24 -0
  96. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +1 -0
  97. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +85 -0
  98. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +1 -0
  99. package/dist/features/auth/user-list/user-item/user-item-styled.js +21 -0
  100. package/dist/features/auth/user-list/user-item/user-item-styled.js.map +1 -0
  101. package/dist/features/auth/user-list/user-item/user-item.js +48 -0
  102. package/dist/features/auth/user-list/user-item/user-item.js.map +1 -0
  103. package/dist/features/auth/user-list/user-list-styled.js +19 -0
  104. package/dist/features/auth/user-list/user-list-styled.js.map +1 -0
  105. package/dist/features/auth/user-list/user-list.js +56 -0
  106. package/dist/features/auth/user-list/user-list.js.map +1 -0
  107. package/dist/features/communication/pub-sub/constants.js +1 -0
  108. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  109. package/dist/features/homework/homework-card.js +135 -143
  110. package/dist/features/homework/homework-card.js.map +1 -1
  111. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +65 -64
  112. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  113. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +20 -20
  114. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -1
  115. package/dist/index.d.ts +294 -2
  116. package/dist/index.js +367 -321
  117. package/dist/index.js.map +1 -1
  118. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +332 -0
  119. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  120. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +370 -0
  121. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  122. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +252 -0
  123. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +1 -0
  124. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +24 -0
  125. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +1 -0
  126. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +192 -0
  127. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  128. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +19 -0
  129. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  130. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +129 -0
  131. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  132. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +129 -0
  133. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  134. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  135. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  136. package/dist/node_modules/date-fns/subYears.js +9 -0
  137. package/dist/node_modules/date-fns/subYears.js.map +1 -0
  138. package/dist/node_modules/react-datepicker/dist/index.es.js +2700 -0
  139. package/dist/node_modules/react-datepicker/dist/index.es.js.map +1 -0
  140. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
  141. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
  142. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +8 -0
  143. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
  144. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +518 -0
  145. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
  146. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +60 -0
  147. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
  148. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +53 -0
  149. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
  150. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +19 -0
  151. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
  152. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +12 -0
  153. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
  154. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +21 -0
  155. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
  156. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +11 -0
  157. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +1 -0
  158. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +10 -0
  159. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +1 -0
  160. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +10 -0
  161. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +1 -0
  162. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +11 -0
  163. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +1 -0
  164. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +21 -0
  165. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +1 -0
  166. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +9 -0
  167. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +1 -0
  168. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +9 -0
  169. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +1 -0
  170. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +9 -0
  171. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +1 -0
  172. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +9 -0
  173. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +1 -0
  174. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +10 -0
  175. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +1 -0
  176. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +9 -0
  177. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +1 -0
  178. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +17 -0
  179. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
  180. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +14 -0
  181. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +1 -0
  182. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +15 -0
  183. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +1 -0
  184. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +14 -0
  185. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +1 -0
  186. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +23 -0
  187. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +1 -0
  188. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +10 -0
  189. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +1 -0
  190. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +10 -0
  191. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +1 -0
  192. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +12 -0
  193. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +1 -0
  194. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +10 -0
  195. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +1 -0
  196. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +60 -0
  197. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +1 -0
  198. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +9 -0
  199. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +1 -0
  200. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +9 -0
  201. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +1 -0
  202. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +12 -0
  203. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +1 -0
  204. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +11 -0
  205. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +1 -0
  206. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +9 -0
  207. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +1 -0
  208. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +9 -0
  209. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +1 -0
  210. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +10 -0
  211. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +1 -0
  212. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +13 -0
  213. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +1 -0
  214. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +16 -0
  215. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +1 -0
  216. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +9 -0
  217. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +1 -0
  218. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +9 -0
  219. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +1 -0
  220. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +10 -0
  221. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +1 -0
  222. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +9 -0
  223. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +1 -0
  224. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +9 -0
  225. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +1 -0
  226. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +13 -0
  227. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +1 -0
  228. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +18 -0
  229. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +1 -0
  230. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +9 -0
  231. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +1 -0
  232. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +9 -0
  233. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +1 -0
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +9 -0
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +1 -0
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +8 -0
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +1 -0
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +9 -0
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +1 -0
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +15 -0
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +1 -0
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +14 -0
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +1 -0
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +15 -0
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +1 -0
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +14 -0
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +1 -0
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +10 -0
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +1 -0
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +13 -0
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +1 -0
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +32 -0
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +156 -0
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +111 -0
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +22 -0
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +1 -0
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +15 -0
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +1 -0
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +15 -0
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +1 -0
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +23 -0
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +1 -0
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +42 -0
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +1 -0
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +50 -0
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +1 -0
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +50 -0
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -0
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +50 -0
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -0
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +62 -0
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +1 -0
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -0
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +46 -0
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +1 -0
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +50 -0
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -0
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +31 -0
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +1 -0
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +22 -0
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -0
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +23 -0
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -0
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +33 -0
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -0
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +33 -0
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -0
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +34 -0
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -0
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -0
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +100 -0
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -0
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +49 -0
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -0
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +49 -0
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -0
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +50 -0
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -0
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +41 -0
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -0
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +75 -0
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -0
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +49 -0
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -0
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +70 -0
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -0
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +33 -0
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -0
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +72 -0
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -0
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -0
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +33 -0
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -0
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +75 -0
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -0
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +72 -0
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -0
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -0
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +23 -0
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -0
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +23 -0
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -0
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +50 -0
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +1 -0
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +68 -0
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +1 -0
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +104 -0
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +1 -0
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +88 -0
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +1 -0
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +123 -0
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +1 -0
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +13 -0
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +1 -0
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +10 -0
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +1 -0
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +12 -0
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +1 -0
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +11 -0
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +1 -0
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +10 -0
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +1 -0
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +14 -0
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +1 -0
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +11 -0
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +1 -0
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +10 -0
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +1 -0
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +11 -0
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +1 -0
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +11 -0
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +1 -0
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +10 -0
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +1 -0
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +9 -0
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +1 -0
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +12 -0
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +10 -0
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +1 -0
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +10 -0
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +1 -0
  382. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +12 -0
  383. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +1 -0
  384. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +14 -0
  385. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +1 -0
  386. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +10 -0
  387. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +1 -0
  388. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +9 -0
  389. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +1 -0
  390. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +9 -0
  391. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +1 -0
  392. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +9 -0
  393. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +1 -0
  394. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +9 -0
  395. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +1 -0
  396. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +9 -0
  397. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +1 -0
  398. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +9 -0
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +1 -0
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +19 -0
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +1 -0
  402. package/dist/static/avatar-selected.860ee923.json +1 -0
  403. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +1 -0
  404. package/dist/static/cuemath-app-qr-code.4beefe48.svg +1 -0
  405. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +1 -0
  406. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  407. package/dist/static/dob.9ce3c15b.json +1 -0
  408. package/dist/static/error.cbe1ddde.json +1 -0
  409. package/dist/static/grade.b3730524.json +1 -0
  410. package/dist/static/key.d6846476.json +1 -0
  411. package/dist/static/mail.c30e8708.json +1 -0
  412. package/dist/static/otp.2d08f874.json +1 -0
  413. package/dist/static/otp.a3029760.json +1 -0
  414. package/dist/static/parent-avatar.772d53e0.json +1 -0
  415. package/dist/static/phone-number.0be312ea.json +1 -0
  416. package/dist/static/phone-number.84f55562.json +1 -0
  417. package/dist/static/student-avatar.524226bd.json +1 -0
  418. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +1 -0
  419. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +1 -0
  420. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +1 -0
  421. package/dist/static/username.9e034d51.json +1 -0
  422. package/package.json +3 -2
@@ -0,0 +1,101 @@
1
+ import { jsx as r, jsxs as d } from "react/jsx-runtime";
2
+ import { memo as h, useCallback as i } from "react";
3
+ import P from "../../../ui/buttons/button/button.js";
4
+ import n from "../../../ui/inputs/text-input/text-input.js";
5
+ import m from "../../../ui/layout/flex-view.js";
6
+ import b from "../../../ui/separator/separator.js";
7
+ import p from "../../comps/input-status-icon/input-status-icon.js";
8
+ import { FormWrapper as C } from "../forgot-password-styled.js";
9
+ const y = ({
10
+ onSubmit: l,
11
+ onChange: e,
12
+ formData: o,
13
+ errors: s,
14
+ isSubmitDisabled: w,
15
+ isProcessing: u,
16
+ isValid: t = !1
17
+ }) => {
18
+ const c = t && o.password === o.confirmPassword, f = i(
19
+ (a) => {
20
+ e("password", a.target.value);
21
+ },
22
+ [e]
23
+ ), g = i(
24
+ (a) => {
25
+ e("confirmPassword", a.target.value);
26
+ },
27
+ [e]
28
+ );
29
+ return /* @__PURE__ */ r(
30
+ m,
31
+ {
32
+ $gutterX: 2,
33
+ $gapX: 1.5,
34
+ $alignItems: "center",
35
+ $justifyContent: "center",
36
+ $background: "BLACK_2",
37
+ $height: 308,
38
+ children: /* @__PURE__ */ d(C, { onSubmit: l, children: [
39
+ /* @__PURE__ */ d(m, { children: [
40
+ /* @__PURE__ */ r(
41
+ n,
42
+ {
43
+ type: "password",
44
+ renderAs: s.password ? "error-dark" : "primary-dark",
45
+ autoComplete: "new-password",
46
+ label: "New Password",
47
+ value: o.password,
48
+ onChange: f,
49
+ width: 330,
50
+ autoFocus: !0,
51
+ required: !0,
52
+ shape: "borderLess",
53
+ errorMessage: s.password,
54
+ siblingElement: /* @__PURE__ */ r(p, { isError: !!s.password, isValid: t, isLoading: !1 })
55
+ }
56
+ ),
57
+ /* @__PURE__ */ r(b, { height: 36 }),
58
+ /* @__PURE__ */ r(
59
+ n,
60
+ {
61
+ type: "password",
62
+ renderAs: s.confirmPassword ? "error-dark" : "primary-dark",
63
+ autoComplete: "new-password",
64
+ label: "Re-enter Password",
65
+ value: o.confirmPassword,
66
+ onChange: g,
67
+ width: 330,
68
+ required: !0,
69
+ shape: "borderLess",
70
+ errorMessage: s.confirmPassword,
71
+ siblingElement: /* @__PURE__ */ r(
72
+ p,
73
+ {
74
+ isError: !!s.confirmPassword,
75
+ isValid: c,
76
+ isLoading: !1
77
+ }
78
+ )
79
+ }
80
+ )
81
+ ] }),
82
+ /* @__PURE__ */ r(
83
+ P,
84
+ {
85
+ size: "small",
86
+ renderAs: "secondary-dark",
87
+ type: "submit",
88
+ label: "Continue",
89
+ width: 336,
90
+ busy: u,
91
+ disabled: w
92
+ }
93
+ )
94
+ ] })
95
+ }
96
+ );
97
+ }, I = h(y);
98
+ export {
99
+ I as default
100
+ };
101
+ //# sourceMappingURL=reset-password-form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password-form.js","sources":["../../../../../src/features/auth/forgot-password/reset-password-form/reset-password-form.tsx"],"sourcesContent":["import type { IResetPasswordFormProps } from './reset-password-form-types';\n\nimport { type ChangeEvent, memo, useCallback } 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 * as Styled from '../forgot-password-styled';\n\nconst ResetPasswordForm = ({\n onSubmit,\n onChange,\n formData,\n errors,\n isSubmitDisabled,\n isProcessing,\n isValid = false,\n}: IResetPasswordFormProps) => {\n const isConfirmPasswordValid = isValid && formData.password === formData.confirmPassword;\n\n const handlePasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('password', e.target.value);\n },\n [onChange],\n );\n\n const handleConfirmPasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('confirmPassword', e.target.value);\n },\n [onChange],\n );\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 <Styled.FormWrapper onSubmit={onSubmit}>\n <FlexView>\n <TextInput\n type={'password'}\n renderAs={errors.password ? 'error-dark' : 'primary-dark'}\n autoComplete=\"new-password\"\n label=\"New Password\"\n value={formData.password}\n onChange={handlePasswordChange}\n width={330}\n autoFocus\n required\n shape=\"borderLess\"\n errorMessage={errors.password}\n siblingElement={\n <InputStatusIcon isError={!!errors.password} isValid={isValid} isLoading={false} />\n }\n />\n <Separator height={36} />\n <TextInput\n type=\"password\"\n renderAs={errors.confirmPassword ? 'error-dark' : 'primary-dark'}\n autoComplete=\"new-password\"\n label=\"Re-enter Password\"\n value={formData.confirmPassword}\n onChange={handleConfirmPasswordChange}\n width={330}\n required\n shape=\"borderLess\"\n errorMessage={errors.confirmPassword}\n siblingElement={\n <InputStatusIcon\n isError={!!errors.confirmPassword}\n isValid={isConfirmPasswordValid}\n isLoading={false}\n />\n }\n />\n </FlexView>\n <Button\n size=\"small\"\n renderAs=\"secondary-dark\"\n type=\"submit\"\n label=\"Continue\"\n width={336}\n busy={isProcessing}\n disabled={isSubmitDisabled}\n />\n </Styled.FormWrapper>\n </FlexView>\n );\n};\n\nexport default memo(ResetPasswordForm);\n"],"names":["ResetPasswordForm","onSubmit","onChange","formData","errors","isSubmitDisabled","isProcessing","isValid","isConfirmPasswordValid","handlePasswordChange","useCallback","e","handleConfirmPasswordChange","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Separator","Button","resetPasswordForm","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAAoB,CAAC;AAAA,EACzB,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,kBAAAC;AAAA,EACA,cAAAC;AAAA,EACA,SAAAC,IAAU;AACZ,MAA+B;AAC7B,QAAMC,IAAyBD,KAAWJ,EAAS,aAAaA,EAAS,iBAEnEM,IAAuBC;AAAA,IAC3B,CAACC,MAAqC;AAC3B,MAAAT,EAAA,YAAYS,EAAE,OAAO,KAAK;AAAA,IACrC;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA,GAGLU,IAA8BF;AAAA,IAClC,CAACC,MAAqC;AAC3B,MAAAT,EAAA,mBAAmBS,EAAE,OAAO,KAAK;AAAA,IAC5C;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAW;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAf,GAClB,UAAA;AAAA,QAAA,gBAAAc,EAACD,GACC,EAAA,UAAA;AAAA,UAAA,gBAAAD;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAM;AAAA,cACN,UAAUb,EAAO,WAAW,eAAe;AAAA,cAC3C,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAUM;AAAA,cACV,OAAO;AAAA,cACP,WAAS;AAAA,cACT,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcL,EAAO;AAAA,cACrB,gBACG,gBAAAS,EAAAK,GAAA,EAAgB,SAAS,CAAC,CAACd,EAAO,UAAU,SAAAG,GAAkB,WAAW,GAAO,CAAA;AAAA,YAAA;AAAA,UAErF;AAAA,UACA,gBAAAM,EAACM,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,UACvB,gBAAAN;AAAA,YAACI;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,UAAUb,EAAO,kBAAkB,eAAe;AAAA,cAClD,cAAa;AAAA,cACb,OAAM;AAAA,cACN,OAAOD,EAAS;AAAA,cAChB,UAAUS;AAAA,cACV,OAAO;AAAA,cACP,UAAQ;AAAA,cACR,OAAM;AAAA,cACN,cAAcR,EAAO;AAAA,cACrB,gBACE,gBAAAS;AAAA,gBAACK;AAAA,gBAAA;AAAA,kBACC,SAAS,CAAC,CAACd,EAAO;AAAA,kBAClB,SAASI;AAAA,kBACT,WAAW;AAAA,gBAAA;AAAA,cACb;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,QACA,gBAAAK;AAAA,UAACO;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,OAAO;AAAA,YACP,MAAMd;AAAA,YACN,UAAUD;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEegB,IAAAC,EAAKtB,CAAiB;"}
@@ -0,0 +1,68 @@
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import { memo as p, useCallback as f } from "react";
3
+ import c from "../../../ui/buttons/button/button.js";
4
+ import g from "../../../ui/inputs/text-input/text-input.js";
5
+ import h from "../../../ui/layout/flex-view.js";
6
+ import b from "../../comps/input-status-icon/input-status-icon.js";
7
+ import { FormWrapper as I } from "../forgot-password-styled.js";
8
+ const $ = ({
9
+ onSubmit: i,
10
+ onChange: t,
11
+ value: o,
12
+ error: r,
13
+ isSubmitDisabled: s,
14
+ isProcessing: n,
15
+ isValid: a = !1,
16
+ label: m
17
+ }) => {
18
+ const d = f(
19
+ (u) => {
20
+ t("identifier", u.target.value);
21
+ },
22
+ [t]
23
+ );
24
+ return /* @__PURE__ */ e(
25
+ h,
26
+ {
27
+ $gutterX: 2,
28
+ $gapX: 1.5,
29
+ $alignItems: "center",
30
+ $justifyContent: "center",
31
+ $background: "BLACK_2",
32
+ $height: 308,
33
+ children: /* @__PURE__ */ l(I, { onSubmit: i, children: [
34
+ /* @__PURE__ */ e(
35
+ g,
36
+ {
37
+ renderAs: r ? "error-dark" : "primary-dark",
38
+ autoFocus: !0,
39
+ label: m,
40
+ value: o,
41
+ onChange: d,
42
+ width: 330,
43
+ required: !0,
44
+ shape: "borderLess",
45
+ errorMessage: r,
46
+ siblingElement: /* @__PURE__ */ e(b, { isError: !!r, isValid: a, isLoading: !1 })
47
+ }
48
+ ),
49
+ /* @__PURE__ */ e(
50
+ c,
51
+ {
52
+ size: "small",
53
+ renderAs: "secondary-dark",
54
+ type: "submit",
55
+ label: "Get Verification Code",
56
+ width: 336,
57
+ busy: n,
58
+ disabled: s
59
+ }
60
+ )
61
+ ] })
62
+ }
63
+ );
64
+ }, A = p($);
65
+ export {
66
+ A as default
67
+ };
68
+ //# sourceMappingURL=user-identifier-form.js.map
@@ -0,0 +1 @@
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';\n\nimport { memo, useCallback, 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}: ISingleFieldFormProps) => {\n const handleInputChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('identifier', e.target.value);\n },\n [onChange],\n );\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 <Styled.FormWrapper onSubmit={onSubmit}>\n <TextInput\n renderAs={error ? 'error-dark' : 'primary-dark'}\n autoFocus\n label={label}\n value={value}\n onChange={handleInputChange}\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 memo(UserIdentifierForm);\n"],"names":["UserIdentifierForm","onSubmit","onChange","value","error","isSubmitDisabled","isProcessing","isValid","label","handleInputChange","useCallback","e","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Button","userIdentifierForm","memo"],"mappings":";;;;;;;AAUA,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;AACF,MAA6B;AAC3B,QAAMC,IAAoBC;AAAA,IACxB,CAACC,MAAqC;AAC3B,MAAAT,EAAA,cAAcS,EAAE,OAAO,KAAK;AAAA,IACvC;AAAA,IACA,CAACT,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAU;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAY;AAAA,MACZ,SAAS;AAAA,MAET,UAAC,gBAAAC,EAAAC,GAAA,EAAmB,UAAAd,GAClB,UAAA;AAAA,QAAA,gBAAAW;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,UAAUZ,IAAQ,eAAe;AAAA,YACjC,WAAS;AAAA,YACT,OAAAI;AAAA,YACA,OAAAL;AAAA,YACA,UAAUM;AAAA,YACV,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,OAAM;AAAA,YACN,cAAcL;AAAA,YACd,kCAAiBa,GAAgB,EAAA,SAAS,CAAC,CAACb,GAAO,SAAAG,GAAkB,WAAW,IAAO;AAAA,UAAA;AAAA,QACzF;AAAA,QACA,gBAAAK;AAAA,UAACM;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAS;AAAA,YACT,MAAK;AAAA,YACL,OAAM;AAAA,YACN,OAAO;AAAA,YACP,MAAMZ;AAAA,YACN,UAAUD;AAAA,UAAA;AAAA,QACZ;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA;AAGN,GAEec,IAAAC,EAAKpB,CAAkB;"}
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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;"}
@@ -0,0 +1,100 @@
1
+ import { jsx as e, jsxs as n, Fragment as x } from "react/jsx-runtime";
2
+ import { memo as C, useCallback as c } from "react";
3
+ import E from "../../../ui/buttons/button/button.js";
4
+ import u from "../../../ui/inputs/text-input/text-input.js";
5
+ import s from "../../../ui/layout/flex-view.js";
6
+ import l from "../../../ui/separator/separator.js";
7
+ import p from "../../comps/input-status-icon/input-status-icon.js";
8
+ import v from "../../comps/resend-otp/resend-otp.js";
9
+ import { FormWrapper as A } from "./identifier-otp-form-styled.js";
10
+ const S = ({
11
+ identifier: f,
12
+ otp: m,
13
+ errors: r,
14
+ isOtpVerified: i,
15
+ isLoading: o,
16
+ isSubmitDisabled: h,
17
+ showOtpInput: t,
18
+ onChange: a,
19
+ onSubmit: g,
20
+ onSendOtp: b
21
+ }) => {
22
+ const k = t ? "success-dark" : "primary-dark", $ = i ? "success-dark" : "primary-dark", y = c(
23
+ (d) => {
24
+ a("identifier", d.target.value);
25
+ },
26
+ [a]
27
+ ), F = c(
28
+ (d) => {
29
+ a("otp", d.target.value);
30
+ },
31
+ [a]
32
+ );
33
+ return /* @__PURE__ */ e(s, { $gutterX: 2, $gapX: 1.5, $background: "BLACK_2", $height: 308, children: /* @__PURE__ */ n(A, { onSubmit: g, children: [
34
+ /* @__PURE__ */ n(s, { $alignItems: "center", $justifyContent: "center", children: [
35
+ /* @__PURE__ */ e(
36
+ u,
37
+ {
38
+ renderAs: r.identifier ? "error-dark" : k,
39
+ autoFocus: !0,
40
+ label: "Email or Phone",
41
+ value: f,
42
+ onChange: y,
43
+ width: 330,
44
+ required: !0,
45
+ shape: "borderLess",
46
+ errorMessage: r.identifier,
47
+ disabled: t,
48
+ siblingElement: /* @__PURE__ */ e(p, { isValid: t, isError: !!r.identifier })
49
+ }
50
+ ),
51
+ t && /* @__PURE__ */ n(x, { children: [
52
+ /* @__PURE__ */ e(l, { height: 36 }),
53
+ /* @__PURE__ */ e(
54
+ u,
55
+ {
56
+ type: "password",
57
+ renderAs: r.otp ? "error-dark" : $,
58
+ autoComplete: "password",
59
+ label: "Verification code",
60
+ value: m,
61
+ onChange: F,
62
+ width: 330,
63
+ required: !0,
64
+ autoFocus: !0,
65
+ shape: "borderLess",
66
+ errorMessage: r.otp,
67
+ disabled: i || m.length === 4 && o,
68
+ siblingElement: /* @__PURE__ */ e(
69
+ p,
70
+ {
71
+ isLoading: o,
72
+ isValid: i,
73
+ isError: !!r.otp
74
+ }
75
+ )
76
+ }
77
+ ),
78
+ /* @__PURE__ */ e(l, { heightX: 1.25 }),
79
+ /* @__PURE__ */ e(s, { $alignItems: "flex-end", $width: "100%", children: /* @__PURE__ */ e(v, { onResendOTP: b, disabled: i }) }),
80
+ /* @__PURE__ */ e(l, { heightX: 2 })
81
+ ] })
82
+ ] }),
83
+ /* @__PURE__ */ e(
84
+ E,
85
+ {
86
+ size: "small",
87
+ renderAs: "secondary-dark",
88
+ type: "submit",
89
+ label: t ? "Log In" : "Get Verification Code",
90
+ width: 336,
91
+ busy: !t && o,
92
+ disabled: h
93
+ }
94
+ )
95
+ ] }) });
96
+ }, P = C(S);
97
+ export {
98
+ P as default
99
+ };
100
+ //# sourceMappingURL=identifier-otp-form.js.map
@@ -0,0 +1 @@
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, memo, useCallback } 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 const handleIdentifierChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('identifier', e.target.value);\n },\n [onChange],\n );\n\n const handleOtpChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('otp', e.target.value);\n },\n [onChange],\n );\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={handleIdentifierChange}\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={handleOtpChange}\n width={330}\n required\n autoFocus\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 memo(IdentifierOtpForm);\n"],"names":["IdentifierOtpForm","identifier","otp","errors","isOtpVerified","isLoading","isSubmitDisabled","showOtpInput","onChange","onSubmit","onSendOtp","identifierStatusVariant","otpStatusVariant","handleIdentifierChange","useCallback","e","handleOtpChange","jsx","FlexView","jsxs","Styled.FormWrapper","TextInput","InputStatusIcon","Fragment","Separator","ResendOTP","Button","identifierOtpForm","memo"],"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,gBAEpDS,IAAyBC;AAAA,IAC7B,CAACC,MAAqC;AAC3B,MAAAP,EAAA,cAAcO,EAAE,OAAO,KAAK;AAAA,IACvC;AAAA,IACA,CAACP,CAAQ;AAAA,EAAA,GAGLQ,IAAkBF;AAAA,IACtB,CAACC,MAAqC;AAC3B,MAAAP,EAAA,OAAOO,EAAE,OAAO,KAAK;AAAA,IAChC;AAAA,IACA,CAACP,CAAQ;AAAA,EAAA;AAGX,SACG,gBAAAS,EAAAC,GAAA,EAAS,UAAU,GAAG,OAAO,KAAK,aAAY,WAAU,SAAS,KAChE,UAAA,gBAAAC,EAACC,GAAA,EAAmB,UAAAX,GAClB,UAAA;AAAA,IAAA,gBAAAU,EAACD,GAAS,EAAA,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,MAAA,gBAAAD;AAAA,QAACI;AAAA,QAAA;AAAA,UACC,UAAUlB,EAAO,aAAa,eAAeQ;AAAA,UAC7C,WAAS;AAAA,UACT,OAAM;AAAA,UACN,OAAOV;AAAA,UACP,UAAUY;AAAA,UACV,OAAO;AAAA,UACP,UAAQ;AAAA,UACR,OAAM;AAAA,UACN,cAAcV,EAAO;AAAA,UACrB,UAAUI;AAAA,UACV,kCACGe,GAAgB,EAAA,SAASf,GAAc,SAAS,CAAC,CAACJ,EAAO,YAAY;AAAA,QAAA;AAAA,MAE1E;AAAA,MACCI,KAEG,gBAAAY,EAAAI,GAAA,EAAA,UAAA;AAAA,QAAC,gBAAAN,EAAAO,GAAA,EAAU,QAAQ,GAAI,CAAA;AAAA,QACvB,gBAAAP;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,UAAUlB,EAAO,MAAM,eAAeS;AAAA,YACtC,cAAa;AAAA,YACb,OAAM;AAAA,YACN,OAAOV;AAAA,YACP,UAAUc;AAAA,YACV,OAAO;AAAA,YACP,UAAQ;AAAA,YACR,WAAS;AAAA,YACT,OAAM;AAAA,YACN,cAAcb,EAAO;AAAA,YACrB,UAAUC,KAAkBF,EAAI,WAAW,KAAKG;AAAA,YAChD,gBACE,gBAAAY;AAAA,cAACK;AAAA,cAAA;AAAA,gBACC,WAAAjB;AAAA,gBACA,SAASD;AAAA,gBACT,SAAS,CAAC,CAACD,EAAO;AAAA,cAAA;AAAA,YACpB;AAAA,UAAA;AAAA,QAEJ;AAAA,QACA,gBAAAc,EAACO,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,QACzB,gBAAAP,EAAAC,GAAA,EAAS,aAAY,YAAW,QAAO,QACtC,UAAC,gBAAAD,EAAAQ,GAAA,EAAU,aAAaf,GAAW,UAAUN,EAAe,CAAA,GAC9D;AAAA,QACA,gBAAAa,EAACO,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,MAAA,GACzB;AAAA,IAAA,GAEJ;AAAA,IACA,gBAAAP;AAAA,MAACS;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,UAAS;AAAA,QACT,MAAK;AAAA,QACL,OAAOnB,IAAe,WAAW;AAAA,QACjC,OAAO;AAAA,QACP,MAAM,CAACA,KAAgBF;AAAA,QACvB,UAAUC;AAAA,MAAA;AAAA,IACZ;AAAA,EAAA,EACF,CAAA,EACF,CAAA;AAEJ,GAEeqB,IAAAC,EAAK5B,CAAiB;"}
@@ -0,0 +1,14 @@
1
+ const e = [
2
+ {
3
+ id: "username",
4
+ label: "Username"
5
+ },
6
+ {
7
+ id: "identifier",
8
+ label: "Email/Phone"
9
+ }
10
+ ];
11
+ export {
12
+ e as AUTH_TABS
13
+ };
14
+ //# sourceMappingURL=login-constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login-constants.js","sources":["../../../../src/features/auth/login/login-constants.ts"],"sourcesContent":["import type { TAuthTabKeys } from './login-types';\n\ninterface IAuthTab {\n id: TAuthTabKeys;\n label: string;\n}\n\nexport const AUTH_TABS: IAuthTab[] = [\n {\n id: 'username',\n label: 'Username',\n },\n {\n id: 'identifier',\n label: 'Email/Phone',\n },\n];\n"],"names":["AUTH_TABS"],"mappings":"AAOO,MAAMA,IAAwB;AAAA,EACnC;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AACF;"}
@@ -0,0 +1,32 @@
1
+ import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
+ import { memo as a } from "react";
3
+ import e from "../../../ui/buttons/button/button.js";
4
+ import i from "../../../ui/layout/flex-view.js";
5
+ import c from "../../../ui/separator/separator.js";
6
+ const s = ({ onRetryLogin: t, onGoToSignup: r }) => /* @__PURE__ */ n(i, { $alignItems: "center", $justifyContent: "center", children: [
7
+ /* @__PURE__ */ o(
8
+ e,
9
+ {
10
+ size: "small",
11
+ renderAs: "secondary-dark",
12
+ label: "Create a new account",
13
+ width: 232,
14
+ onClick: r
15
+ }
16
+ ),
17
+ /* @__PURE__ */ o(c, { heightX: 1 }),
18
+ /* @__PURE__ */ o(
19
+ e,
20
+ {
21
+ size: "small",
22
+ renderAs: "secondary-dark",
23
+ label: "Try another Login method",
24
+ width: 232,
25
+ onClick: t
26
+ }
27
+ )
28
+ ] }), h = a(s);
29
+ export {
30
+ h as default
31
+ };
32
+ //# sourceMappingURL=social-account-not-found.js.map
@@ -0,0 +1 @@
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 { memo } from 'react';\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 memo(SocialAccountNotFound);\n"],"names":["SocialAccountNotFound","onRetryLogin","onGoToSignup","jsxs","FlexView","jsx","Button","Separator","socialAccountNotFound","memo"],"mappings":";;;;;AAQA,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,GAIWO,IAAAC,EAAKT,CAAqB;"}
@@ -0,0 +1,47 @@
1
+ import { jsxs as a, jsx as i } from "react/jsx-runtime";
2
+ import { memo as r } from "react";
3
+ import c from "../../../../assets/line-icons/icons/apple-icon.js";
4
+ import d from "../../../../assets/line-icons/icons/google-icon.js";
5
+ import s from "../../../ui/buttons/button/button.js";
6
+ import p from "../../../ui/layout/flex-view.js";
7
+ const m = ({
8
+ onGoogleLogin: n,
9
+ onAppleLogin: t,
10
+ loadingProvider: o
11
+ }) => {
12
+ const e = o === "google", l = o === "apple";
13
+ return /* @__PURE__ */ a(p, { $flexGapX: 1, $flexDirection: "row", $justifyContent: "space-between", $width: 336, children: [
14
+ /* @__PURE__ */ i(
15
+ s,
16
+ {
17
+ renderAs: "secondary-dark",
18
+ Icon: d,
19
+ width: 160,
20
+ label: "",
21
+ analyticsLabel: "google_login",
22
+ onClick: n,
23
+ size: "small",
24
+ busy: e,
25
+ disabled: e
26
+ }
27
+ ),
28
+ /* @__PURE__ */ i(
29
+ s,
30
+ {
31
+ renderAs: "secondary-dark",
32
+ size: "small",
33
+ width: 160,
34
+ Icon: c,
35
+ label: "",
36
+ analyticsLabel: "apple_login",
37
+ onClick: t,
38
+ busy: l,
39
+ disabled: l
40
+ }
41
+ )
42
+ ] });
43
+ }, w = r(m);
44
+ export {
45
+ w as default
46
+ };
47
+ //# sourceMappingURL=social-login-methods.js.map
@@ -0,0 +1 @@
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 { memo } 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 memo(SocialLoginMethods);\n"],"names":["SocialLoginMethods","onGoogleLogin","onAppleLogin","loadingProvider","isLoadingGoogle","isLoadingApple","jsxs","FlexView","jsx","Button","GoogleIcon","AppleIcon","socialLoginMethods","memo"],"mappings":";;;;;;AAUA,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,GAEeO,IAAAC,EAAKb,CAAkB;"}
@@ -0,0 +1,98 @@
1
+ import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
+ import { memo as f, useCallback as l } from "react";
3
+ import w from "../../../ui/buttons/button/button.js";
4
+ import $ from "../../../ui/buttons/text-button/text-button.js";
5
+ import u from "../../../ui/inputs/text-input/text-input.js";
6
+ import s from "../../../ui/layout/flex-view.js";
7
+ import a from "../../../ui/separator/separator.js";
8
+ import y from "../../comps/input-status-icon/input-status-icon.js";
9
+ const C = ({
10
+ username: i,
11
+ password: m,
12
+ errors: r,
13
+ isLoading: d,
14
+ onChange: t,
15
+ onSubmit: p,
16
+ onForgotPassword: h
17
+ }) => {
18
+ const c = d || !i.trim() || !m.trim(), g = l(
19
+ (o) => {
20
+ t("username", o.target.value);
21
+ },
22
+ [t]
23
+ ), b = l(
24
+ (o) => {
25
+ t("password", o.target.value);
26
+ },
27
+ [t]
28
+ );
29
+ return /* @__PURE__ */ n(
30
+ s,
31
+ {
32
+ $gutterX: 2,
33
+ $gapX: 1.5,
34
+ $alignItems: "center",
35
+ $justifyContent: "center",
36
+ $background: "BLACK_2",
37
+ $height: 308,
38
+ children: [
39
+ /* @__PURE__ */ e(a, { heightX: 0.5 }),
40
+ /* @__PURE__ */ n("form", { onSubmit: p, children: [
41
+ /* @__PURE__ */ n(s, { $alignItems: "center", $justifyContent: "center", children: [
42
+ /* @__PURE__ */ e(
43
+ u,
44
+ {
45
+ renderAs: r.username ? "error-dark" : "primary-dark",
46
+ autoFocus: !0,
47
+ autoComplete: "username",
48
+ label: "Username",
49
+ value: i,
50
+ onChange: g,
51
+ width: 330,
52
+ required: !0,
53
+ shape: "borderLess",
54
+ errorMessage: r.username
55
+ }
56
+ ),
57
+ /* @__PURE__ */ e(a, { height: 36 }),
58
+ /* @__PURE__ */ e(
59
+ u,
60
+ {
61
+ type: "password",
62
+ renderAs: r.password ? "error-dark" : "primary-dark",
63
+ autoComplete: "password",
64
+ label: "Password",
65
+ value: m,
66
+ onChange: b,
67
+ width: 330,
68
+ required: !0,
69
+ shape: "borderLess",
70
+ errorMessage: r.password,
71
+ siblingElement: /* @__PURE__ */ e(y, { isError: !!r.password })
72
+ }
73
+ )
74
+ ] }),
75
+ /* @__PURE__ */ e(a, { heightX: 1.25 }),
76
+ /* @__PURE__ */ e(s, { $alignItems: "flex-end", children: /* @__PURE__ */ e($, { label: "Forgot Password?", onClick: h, color: "WHITE_T_60" }) }),
77
+ /* @__PURE__ */ e(a, { heightX: 2 }),
78
+ /* @__PURE__ */ e(s, { $justifyContent: "center", children: /* @__PURE__ */ e(
79
+ w,
80
+ {
81
+ size: "small",
82
+ renderAs: "secondary-dark",
83
+ type: "submit",
84
+ label: "Log in",
85
+ width: 336,
86
+ busy: d,
87
+ disabled: c
88
+ }
89
+ ) })
90
+ ] })
91
+ ]
92
+ }
93
+ );
94
+ }, A = f(C);
95
+ export {
96
+ A as default
97
+ };
98
+ //# sourceMappingURL=username-password-form.js.map
@@ -0,0 +1 @@
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, memo, useCallback } 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 const handleUsernameChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('username', e.target.value);\n },\n [onChange],\n );\n\n const handlePasswordChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n onChange('password', e.target.value);\n },\n [onChange],\n );\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={handleUsernameChange}\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={handlePasswordChange}\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 memo(UsernamePasswordForm);\n"],"names":["UsernamePasswordForm","username","password","errors","isLoading","onChange","onSubmit","onForgotPassword","isSubmitDisabled","handleUsernameChange","useCallback","e","handlePasswordChange","jsxs","FlexView","jsx","Separator","TextInput","InputStatusIcon","TextButton","Button","usernamePasswordForm","memo"],"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,QAE9DO,IAAuBC;AAAA,IAC3B,CAACC,MAAqC;AAC3B,MAAAN,EAAA,YAAYM,EAAE,OAAO,KAAK;AAAA,IACrC;AAAA,IACA,CAACN,CAAQ;AAAA,EAAA,GAGLO,IAAuBF;AAAA,IAC3B,CAACC,MAAqC;AAC3B,MAAAN,EAAA,YAAYM,EAAE,OAAO,KAAK;AAAA,IACrC;AAAA,IACA,CAACN,CAAQ;AAAA,EAAA;AAIT,SAAA,gBAAAQ;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,UAAAP,GACJ,UAAA;AAAA,UAAA,gBAAAO,EAACC,GAAS,EAAA,aAAY,UAAS,iBAAgB,UAC7C,UAAA;AAAA,YAAA,gBAAAC;AAAA,cAACE;AAAA,cAAA;AAAA,gBACC,UAAUd,EAAO,WAAW,eAAe;AAAA,gBAC3C,WAAS;AAAA,gBACT,cAAa;AAAA,gBACb,OAAM;AAAA,gBACN,OAAOF;AAAA,gBACP,UAAUQ;AAAA,gBACV,OAAO;AAAA,gBACP,UAAQ;AAAA,gBACR,OAAM;AAAA,gBACN,cAAcN,EAAO;AAAA,cAAA;AAAA,YACvB;AAAA,YACA,gBAAAY,EAACC,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,YACvB,gBAAAD;AAAA,cAACE;AAAA,cAAA;AAAA,gBACC,MAAK;AAAA,gBACL,UAAUd,EAAO,WAAW,eAAe;AAAA,gBAC3C,cAAa;AAAA,gBACb,OAAM;AAAA,gBACN,OAAOD;AAAA,gBACP,UAAUU;AAAA,gBACV,OAAO;AAAA,gBACP,UAAQ;AAAA,gBACR,OAAM;AAAA,gBACN,cAAcT,EAAO;AAAA,gBACrB,gBAAiB,gBAAAY,EAAAG,GAAA,EAAgB,SAAS,CAAC,CAACf,EAAO,UAAU;AAAA,cAAA;AAAA,YAC/D;AAAA,UAAA,GACF;AAAA,UACA,gBAAAY,EAACC,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,UACzB,gBAAAD,EAAAD,GAAA,EAAS,aAAY,YACpB,UAAC,gBAAAC,EAAAI,GAAA,EAAW,OAAM,oBAAmB,SAASZ,GAAkB,OAAM,aAAa,CAAA,GACrF;AAAA,UACA,gBAAAQ,EAACC,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,UACvB,gBAAAD,EAACD,GAAS,EAAA,iBAAgB,UACxB,UAAA,gBAAAC;AAAA,YAACK;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,UAAS;AAAA,cACT,MAAK;AAAA,cACL,OAAM;AAAA,cACN,OAAO;AAAA,cACP,MAAMhB;AAAA,cACN,UAAUI;AAAA,YAAA;AAAA,UAAA,GAEd;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEea,IAAAC,EAAKtB,CAAoB;"}
@@ -0,0 +1,56 @@
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
@@ -0,0 +1 @@
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;"}