@cuemath/leap 2.9.11 → 2.9.12-j2

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 (401) 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 +12 -1
  10. package/dist/assets/lottie/lottie.js.map +1 -1
  11. package/dist/features/auth/account-selector/account-selector-styled.js +37 -0
  12. package/dist/features/auth/account-selector/account-selector-styled.js.map +1 -0
  13. package/dist/features/auth/account-selector/account-selector.js +90 -0
  14. package/dist/features/auth/account-selector/account-selector.js.map +1 -0
  15. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +12 -0
  16. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +1 -0
  17. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +11 -0
  18. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -0
  19. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +17 -0
  20. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -0
  21. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +20 -0
  22. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +1 -0
  23. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +29 -0
  24. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +1 -0
  25. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +8 -0
  26. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +1 -0
  27. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +25 -0
  28. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +1 -0
  29. package/dist/features/auth/comps/resend-otp/resend-otp.js +38 -0
  30. package/dist/features/auth/comps/resend-otp/resend-otp.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 +23 -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 +67 -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 +89 -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 +60 -0
  42. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +1 -0
  43. package/dist/features/auth/login/login-constants.js +12 -0
  44. package/dist/features/auth/login/login-constants.js.map +1 -0
  45. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +31 -0
  46. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +1 -0
  47. package/dist/features/auth/login/social-login-methods/social-login-methods.js +46 -0
  48. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +1 -0
  49. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +50 -0
  50. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -0
  51. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +129 -0
  52. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -0
  53. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +27 -0
  54. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +1 -0
  55. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +76 -0
  56. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +1 -0
  57. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +38 -0
  58. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +1 -0
  59. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +85 -0
  60. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -0
  61. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +86 -0
  62. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +1 -0
  63. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +58 -0
  64. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +1 -0
  65. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +31 -0
  66. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +1 -0
  67. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +30 -0
  68. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +1 -0
  69. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +11 -0
  70. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +1 -0
  71. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +33 -0
  72. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -0
  73. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-code-button.js +33 -0
  74. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-code-button.js.map +1 -0
  75. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-list-menu.js +28 -0
  76. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-list-menu.js.map +1 -0
  77. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input-styled.js +29 -0
  78. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input-styled.js.map +1 -0
  79. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input.js +67 -0
  80. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input.js.map +1 -0
  81. package/dist/features/auth/signup/signup-constants.js +1022 -0
  82. package/dist/features/auth/signup/signup-constants.js.map +1 -0
  83. package/dist/features/auth/signup/signup-methods/signup-methods.js +68 -0
  84. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +1 -0
  85. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +19 -0
  86. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +1 -0
  87. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +62 -0
  88. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +1 -0
  89. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +24 -0
  90. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +1 -0
  91. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +87 -0
  92. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +1 -0
  93. package/dist/features/ui/animated-arc/animated-arc.js +7 -7
  94. package/dist/features/ui/animated-arc/animated-arc.js.map +1 -1
  95. package/dist/index.d.ts +236 -0
  96. package/dist/index.js +523 -481
  97. package/dist/index.js.map +1 -1
  98. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +332 -0
  99. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  100. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +370 -0
  101. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  102. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +252 -0
  103. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +1 -0
  104. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +24 -0
  105. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +1 -0
  106. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +192 -0
  107. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  108. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +19 -0
  109. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  110. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +129 -0
  111. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  112. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +129 -0
  113. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  114. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  115. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  116. package/dist/node_modules/date-fns/subYears.js +9 -0
  117. package/dist/node_modules/date-fns/subYears.js.map +1 -0
  118. package/dist/node_modules/react-datepicker/dist/index.es.js +2700 -0
  119. package/dist/node_modules/react-datepicker/dist/index.es.js.map +1 -0
  120. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
  121. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
  122. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +8 -0
  123. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
  124. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +518 -0
  125. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
  126. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +60 -0
  127. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
  128. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +53 -0
  129. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
  130. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +19 -0
  131. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
  132. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +12 -0
  133. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
  134. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +21 -0
  135. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
  136. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +11 -0
  137. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +1 -0
  138. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +10 -0
  139. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +1 -0
  140. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +10 -0
  141. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +1 -0
  142. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +11 -0
  143. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +1 -0
  144. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +21 -0
  145. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +1 -0
  146. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +9 -0
  147. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +1 -0
  148. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +9 -0
  149. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +1 -0
  150. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +9 -0
  151. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +1 -0
  152. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +9 -0
  153. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +1 -0
  154. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +10 -0
  155. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +1 -0
  156. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +9 -0
  157. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +1 -0
  158. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +17 -0
  159. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
  160. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +14 -0
  161. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +1 -0
  162. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +15 -0
  163. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +1 -0
  164. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +14 -0
  165. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +1 -0
  166. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +23 -0
  167. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +1 -0
  168. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +10 -0
  169. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +1 -0
  170. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +10 -0
  171. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +1 -0
  172. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +12 -0
  173. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +1 -0
  174. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +10 -0
  175. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +1 -0
  176. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +60 -0
  177. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +1 -0
  178. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +9 -0
  179. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +1 -0
  180. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +9 -0
  181. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +1 -0
  182. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +12 -0
  183. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +1 -0
  184. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +11 -0
  185. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +1 -0
  186. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +9 -0
  187. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +1 -0
  188. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +9 -0
  189. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +1 -0
  190. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +10 -0
  191. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +1 -0
  192. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +13 -0
  193. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +1 -0
  194. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +16 -0
  195. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +1 -0
  196. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +9 -0
  197. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +1 -0
  198. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +9 -0
  199. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +1 -0
  200. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +10 -0
  201. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +1 -0
  202. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +9 -0
  203. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +1 -0
  204. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +9 -0
  205. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +1 -0
  206. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +13 -0
  207. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +1 -0
  208. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +18 -0
  209. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +1 -0
  210. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +9 -0
  211. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +1 -0
  212. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +9 -0
  213. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +1 -0
  214. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +9 -0
  215. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +1 -0
  216. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +8 -0
  217. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +1 -0
  218. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +9 -0
  219. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +1 -0
  220. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +15 -0
  221. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +1 -0
  222. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +14 -0
  223. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +1 -0
  224. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +15 -0
  225. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +1 -0
  226. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +14 -0
  227. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +1 -0
  228. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +10 -0
  229. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +1 -0
  230. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +13 -0
  231. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +1 -0
  232. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
  233. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +32 -0
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +156 -0
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +111 -0
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +22 -0
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +1 -0
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +15 -0
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +1 -0
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +15 -0
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +1 -0
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +23 -0
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +1 -0
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +42 -0
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +1 -0
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +50 -0
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +1 -0
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +50 -0
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -0
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +50 -0
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -0
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +62 -0
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +1 -0
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -0
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +46 -0
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +1 -0
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +50 -0
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -0
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +31 -0
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +1 -0
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +22 -0
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -0
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +23 -0
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -0
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +33 -0
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -0
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +33 -0
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -0
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +34 -0
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -0
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -0
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +100 -0
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -0
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +49 -0
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -0
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +49 -0
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -0
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +50 -0
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -0
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +41 -0
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -0
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +75 -0
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -0
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +49 -0
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -0
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +70 -0
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -0
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +33 -0
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -0
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +72 -0
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -0
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -0
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +33 -0
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -0
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +75 -0
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -0
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +72 -0
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -0
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -0
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +23 -0
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -0
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +23 -0
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -0
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +50 -0
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +1 -0
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +68 -0
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +1 -0
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +104 -0
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +1 -0
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +88 -0
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +1 -0
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +123 -0
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +1 -0
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +13 -0
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +1 -0
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +10 -0
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +1 -0
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +12 -0
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +1 -0
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +11 -0
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +1 -0
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +10 -0
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +1 -0
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +14 -0
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +1 -0
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +11 -0
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +1 -0
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +10 -0
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +1 -0
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +11 -0
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +1 -0
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +11 -0
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +1 -0
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +10 -0
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +1 -0
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +9 -0
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +1 -0
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +12 -0
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +10 -0
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +1 -0
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +10 -0
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +1 -0
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +12 -0
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +1 -0
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +14 -0
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +1 -0
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +10 -0
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +1 -0
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +9 -0
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +1 -0
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +9 -0
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +1 -0
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +9 -0
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +1 -0
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +9 -0
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +1 -0
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +9 -0
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +1 -0
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +9 -0
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +1 -0
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +19 -0
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +1 -0
  382. package/dist/static/avatar-selected.860ee923.json +1 -0
  383. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +1 -0
  384. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +1 -0
  385. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  386. package/dist/static/dob.9ce3c15b.json +1 -0
  387. package/dist/static/error.cbe1ddde.json +1 -0
  388. package/dist/static/grade.b3730524.json +1 -0
  389. package/dist/static/key.d6846476.json +1 -0
  390. package/dist/static/mail.c30e8708.json +1 -0
  391. package/dist/static/otp.2d08f874.json +1 -0
  392. package/dist/static/otp.a3029760.json +1 -0
  393. package/dist/static/parent-avatar.772d53e0.json +1 -0
  394. package/dist/static/phone-number.0be312ea.json +1 -0
  395. package/dist/static/phone-number.84f55562.json +1 -0
  396. package/dist/static/student-avatar.524226bd.json +1 -0
  397. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +1 -0
  398. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +1 -0
  399. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +1 -0
  400. package/dist/static/username.9e034d51.json +1 -0
  401. package/package.json +3 -2
@@ -0,0 +1,38 @@
1
+ import o from "styled-components";
2
+ import e from "../../../ui/layout/flex-view.js";
3
+ const r = o.input`
4
+ width: 100%;
5
+ max-width: 330px;
6
+ padding: 0;
7
+ line-height: 40px;
8
+ text-transform: ${({ textTransform: t }) => t || "none"};
9
+ border: none;
10
+ outline: none;
11
+ background-color: transparent;
12
+ font-size: 32px;
13
+ text-align: ${({ align: t }) => t ?? "center"};
14
+ caret-color: ${({ theme: t }) => t.colors.WHITE};
15
+ color: ${({ theme: t }) => t.colors.WHITE};
16
+ font-family: 'Athletics-Light';
17
+ color: ${({ color: t }) => t};
18
+
19
+ &::placeholder {
20
+ font-family: 'Athletics-Light';
21
+ font-size: 32px;
22
+ }
23
+ &::-webkit-outer-spin-button,
24
+ &::-webkit-inner-spin-button {
25
+ -webkit-appearance: none;
26
+ }
27
+ `;
28
+ o(e)`
29
+ width: 100%;
30
+ `;
31
+ const p = o(e)`
32
+ position: relative;
33
+ `;
34
+ export {
35
+ r as CustomInput,
36
+ p as PasswordInputWrapper
37
+ };
38
+ //# sourceMappingURL=custom-input-field-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-input-field-styled.js","sources":["../../../../../src/features/auth/signup/custom-input-field/custom-input-field-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const CustomInput = styled.input<{ color: string; align?: string; textTransform?: string }>`\n width: 100%;\n max-width: 330px;\n padding: 0;\n line-height: 40px;\n text-transform: ${({ textTransform }) => textTransform || 'none'};\n border: none;\n outline: none;\n background-color: transparent;\n font-size: 32px;\n text-align: ${({ align }) => align ?? 'center'};\n caret-color: ${({ theme }) => theme.colors.WHITE};\n color: ${({ theme }) => theme.colors.WHITE};\n font-family: 'Athletics-Light';\n color: ${({ color }) => color};\n\n &::placeholder {\n font-family: 'Athletics-Light';\n font-size: 32px;\n }\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n`;\n\nexport const CountryCodeSelector = styled(FlexView)`\n width: 100%;\n`;\n\nexport const PasswordInputWrapper = styled(FlexView)`\n position: relative;\n`;\n"],"names":["CustomInput","styled","textTransform","align","theme","color","FlexView","PasswordInputWrapper"],"mappings":";;AAIO,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,oBAKd,CAAC,EAAE,eAAAC,QAAoBA,KAAiB,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKlD,CAAC,EAAE,OAAAC,QAAYA,KAAS,QAAQ;AAAA,iBAC/B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA,WACvC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA,WAEjC,CAAC,EAAE,OAAAC,EAAM,MAAMA,CAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAYIJ,EAAOK,CAAQ;AAAA;AAAA;AAIrC,MAAAC,IAAuBN,EAAOK,CAAQ;AAAA;AAAA;"}
@@ -0,0 +1,85 @@
1
+ import { jsx as o, jsxs as W } from "react/jsx-runtime";
2
+ import { useState as y, useCallback as x, useMemo as $ } from "react";
3
+ import { useTheme as D } from "styled-components";
4
+ import E from "../../../../assets/line-icons/icons/eye.js";
5
+ import F from "../../../../assets/line-icons/icons/striked-eye.js";
6
+ import H from "../../../ui/buttons/clickable/clickable.js";
7
+ import P from "../../../ui/layout/flex-view.js";
8
+ import { CustomInput as j, PasswordInputWrapper as G } from "./custom-input-field-styled.js";
9
+ import { InputWrapper as K } from "./input-wrapper/input-wrapper.js";
10
+ const R = ({
11
+ value: n,
12
+ onChange: c,
13
+ error: i,
14
+ helperText: b,
15
+ onEnter: r,
16
+ isLoading: g,
17
+ isValid: p,
18
+ type: t = "text",
19
+ placeholder: u,
20
+ actionElement: k,
21
+ maxLength: m,
22
+ width: a,
23
+ textTransform: d,
24
+ textAlign: f = "center"
25
+ }) => {
26
+ const s = D(), [l, T] = y(!1), w = x(
27
+ (e) => {
28
+ e.key === "Enter" && (r == null || r());
29
+ },
30
+ [r]
31
+ ), h = $(() => t === "password" ? l ? "text" : "password" : t, [t, l]), I = $(() => i ? s.colors.RED : p ? s.colors.GREEN_4 : s.colors.WHITE, [i, p, s.colors]), C = x(
32
+ () => /* @__PURE__ */ o(
33
+ j,
34
+ {
35
+ value: n,
36
+ onChange: (e) => c(e.target.value),
37
+ autoFocus: !0,
38
+ placeholder: u,
39
+ color: I,
40
+ autoCapitalize: "none",
41
+ textTransform: d,
42
+ type: h,
43
+ onKeyDown: w,
44
+ maxLength: m,
45
+ align: f
46
+ }
47
+ ),
48
+ [
49
+ w,
50
+ I,
51
+ h,
52
+ m,
53
+ c,
54
+ u,
55
+ f,
56
+ d,
57
+ n
58
+ ]
59
+ );
60
+ return /* @__PURE__ */ o(
61
+ K,
62
+ {
63
+ helperText: i || b,
64
+ isLoading: g,
65
+ actionElement: k,
66
+ children: t === "password" ? /* @__PURE__ */ W(
67
+ G,
68
+ {
69
+ $width: a ?? 220,
70
+ $alignItems: "center",
71
+ $flexDirection: "row",
72
+ $flexGapX: 0.5,
73
+ children: [
74
+ C(),
75
+ /* @__PURE__ */ o(H, { label: "password-toggle", onClick: () => T((e) => !e), children: l ? /* @__PURE__ */ o(E, { color: "WHITE", width: 24, height: 24 }) : /* @__PURE__ */ o(F, { color: "WHITE", width: 24, height: 24 }) })
76
+ ]
77
+ }
78
+ ) : /* @__PURE__ */ o(P, { $width: a ?? "100%", $flex: 1, children: C() })
79
+ }
80
+ );
81
+ }, B = R;
82
+ export {
83
+ B as default
84
+ };
85
+ //# sourceMappingURL=custom-input-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-input-field.js","sources":["../../../../../src/features/auth/signup/custom-input-field/custom-input-field.tsx"],"sourcesContent":["import type { ICustomInputFieldProps } from './custom-input-field-types';\n\nimport { useCallback, useMemo, useState, type FC, type KeyboardEvent } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport EyeIcon from '../../../../assets/line-icons/icons/eye';\nimport StrikedEyeIcon from '../../../../assets/line-icons/icons/striked-eye';\nimport Clickable from '../../../ui/buttons/clickable/clickable';\nimport FlexView from '../../../ui/layout/flex-view';\nimport * as Styled from './custom-input-field-styled';\nimport { InputWrapper } from './input-wrapper/input-wrapper';\n\nconst CustomInputField: FC<ICustomInputFieldProps> = ({\n value,\n onChange,\n error,\n helperText,\n onEnter,\n isLoading,\n isValid,\n type = 'text',\n placeholder,\n actionElement,\n maxLength,\n width,\n textTransform,\n textAlign = 'center',\n}) => {\n const theme = useTheme();\n const [isPasswordVisible, setIsPasswordVisible] = useState(false);\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent<HTMLInputElement>) => {\n if (event.key === 'Enter') {\n onEnter?.();\n }\n },\n [onEnter],\n );\n\n const inputType = useMemo(() => {\n if (type === 'password') return isPasswordVisible ? 'text' : 'password';\n\n return type;\n }, [type, isPasswordVisible]);\n\n const inputColor = useMemo(() => {\n if (error) return theme.colors.RED;\n\n if (isValid) return theme.colors.GREEN_4;\n\n return theme.colors.WHITE;\n }, [error, isValid, theme.colors]);\n\n const renderInput = useCallback(\n () => (\n <Styled.CustomInput\n value={value}\n onChange={event => onChange(event.target.value)}\n autoFocus\n placeholder={placeholder}\n color={inputColor}\n autoCapitalize=\"none\"\n textTransform={textTransform}\n type={inputType}\n onKeyDown={handleKeyDown}\n maxLength={maxLength}\n align={textAlign}\n />\n ),\n [\n handleKeyDown,\n inputColor,\n inputType,\n maxLength,\n onChange,\n placeholder,\n textAlign,\n textTransform,\n value,\n ],\n );\n\n return (\n <InputWrapper\n helperText={error || helperText}\n isLoading={isLoading}\n actionElement={actionElement}\n >\n {type === 'password' ? (\n <Styled.PasswordInputWrapper\n $width={width ?? 220}\n $alignItems=\"center\"\n $flexDirection=\"row\"\n $flexGapX={0.5}\n >\n {renderInput()}\n <Clickable label=\"password-toggle\" onClick={() => setIsPasswordVisible(prev => !prev)}>\n {isPasswordVisible ? (\n <EyeIcon color=\"WHITE\" width={24} height={24} />\n ) : (\n <StrikedEyeIcon color=\"WHITE\" width={24} height={24} />\n )}\n </Clickable>\n </Styled.PasswordInputWrapper>\n ) : (\n <FlexView $width={width ?? '100%'} $flex={1}>\n {renderInput()}\n </FlexView>\n )}\n </InputWrapper>\n );\n};\n\nexport default CustomInputField;\n"],"names":["CustomInputField","value","onChange","error","helperText","onEnter","isLoading","isValid","type","placeholder","actionElement","maxLength","width","textTransform","textAlign","theme","useTheme","isPasswordVisible","setIsPasswordVisible","useState","handleKeyDown","useCallback","event","inputType","useMemo","inputColor","renderInput","jsx","Styled.CustomInput","InputWrapper","jsxs","Styled.PasswordInputWrapper","Clickable","prev","EyeIcon","StrikedEyeIcon","FlexView","CustomInputField$1"],"mappings":";;;;;;;;;AAYA,MAAMA,IAA+C,CAAC;AAAA,EACpD,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,aAAAC;AAAA,EACA,eAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,eAAAC;AAAA,EACA,WAAAC,IAAY;AACd,MAAM;AACJ,QAAMC,IAAQC,KACR,CAACC,GAAmBC,CAAoB,IAAIC,EAAS,EAAK,GAE1DC,IAAgBC;AAAA,IACpB,CAACC,MAA2C;AACtC,MAAAA,EAAM,QAAQ,YACNjB,KAAA,QAAAA;AAAA,IAEd;AAAA,IACA,CAACA,CAAO;AAAA,EAAA,GAGJkB,IAAYC,EAAQ,MACpBhB,MAAS,aAAmBS,IAAoB,SAAS,aAEtDT,GACN,CAACA,GAAMS,CAAiB,CAAC,GAEtBQ,IAAaD,EAAQ,MACrBrB,IAAcY,EAAM,OAAO,MAE3BR,IAAgBQ,EAAM,OAAO,UAE1BA,EAAM,OAAO,OACnB,CAACZ,GAAOI,GAASQ,EAAM,MAAM,CAAC,GAE3BW,IAAcL;AAAA,IAClB,MACE,gBAAAM;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,OAAA3B;AAAA,QACA,UAAU,CAAAqB,MAASpB,EAASoB,EAAM,OAAO,KAAK;AAAA,QAC9C,WAAS;AAAA,QACT,aAAAb;AAAA,QACA,OAAOgB;AAAA,QACP,gBAAe;AAAA,QACf,eAAAZ;AAAA,QACA,MAAMU;AAAA,QACN,WAAWH;AAAA,QACX,WAAAT;AAAA,QACA,OAAOG;AAAA,MAAA;AAAA,IACT;AAAA,IAEF;AAAA,MACEM;AAAA,MACAK;AAAA,MACAF;AAAA,MACAZ;AAAA,MACAT;AAAA,MACAO;AAAA,MACAK;AAAA,MACAD;AAAA,MACAZ;AAAA,IACF;AAAA,EAAA;AAIA,SAAA,gBAAA0B;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,YAAY1B,KAASC;AAAA,MACrB,WAAAE;AAAA,MACA,eAAAI;AAAA,MAEC,gBAAS,aACR,gBAAAoB;AAAA,QAACC;AAAAA,QAAA;AAAA,UACC,QAAQnB,KAAS;AAAA,UACjB,aAAY;AAAA,UACZ,gBAAe;AAAA,UACf,WAAW;AAAA,UAEV,UAAA;AAAA,YAAYc,EAAA;AAAA,YACZ,gBAAAC,EAAAK,GAAA,EAAU,OAAM,mBAAkB,SAAS,MAAMd,EAAqB,CAAAe,MAAQ,CAACA,CAAI,GACjF,UAAAhB,IACE,gBAAAU,EAAAO,GAAA,EAAQ,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,IAE9C,gBAAAP,EAACQ,GAAe,EAAA,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,GAEzD;AAAA,UAAA;AAAA,QAAA;AAAA,MACF,sBAECC,GAAS,EAAA,QAAQxB,KAAS,QAAQ,OAAO,GACvC,UAAAc,EACH,EAAA,CAAA;AAAA,IAAA;AAAA,EAAA;AAIR,GAEAW,IAAerC;"}
@@ -0,0 +1,86 @@
1
+ import r from "styled-components";
2
+ const a = r.div`
3
+ .react-datepicker {
4
+ font-family: UntitledSans-Medium;
5
+ font-size: 14px;
6
+ background-color: ${({ theme: e }) => e.colors.BLACK_3};
7
+ border: 1px solid ${({ theme: e }) => e.colors.BLACK_5};
8
+ padding: 16px;
9
+ border-radius: 8px;
10
+ transition: all 0.3s ease-in-out;
11
+ }
12
+
13
+ .react-datepicker__aria-live {
14
+ display: none;
15
+ }
16
+ .react-datepicker__header {
17
+ color: ${({ theme: e }) => e.colors.WHITE};
18
+ text-align: center;
19
+ }
20
+
21
+ .react-datepicker__month-wrapper {
22
+ display: flex;
23
+ }
24
+ .react-datepicker__month-text {
25
+ color: ${({ theme: e }) => e.colors.WHITE_T_38};
26
+ cursor: pointer;
27
+ padding: 8px;
28
+ border-radius: 4px;
29
+ &:hover {
30
+ color: ${({ theme: e }) => e.colors.WHITE};
31
+ }
32
+ }
33
+ .react-datepicker__month-text--disabled {
34
+ color: ${({ theme: e }) => e.colors.WHITE_T_10};
35
+ cursor: not-allowed;
36
+ &:hover {
37
+ color: ${({ theme: e }) => e.colors.WHITE_T_10};
38
+ }
39
+ }
40
+ .react-datepicker__month-text--selected {
41
+ color: ${({ theme: e }) => e.colors.WHITE};
42
+ }
43
+
44
+ .react-datepicker__navigation--previous {
45
+ background: url('/path/to/your/custom-left-arrow.svg') no-repeat center;
46
+ width: 20px;
47
+ height: 20px;
48
+ border: none;
49
+ background-size: contain;
50
+ }
51
+
52
+ .react-datepicker__navigation--next {
53
+ background: url('/path/to/your/custom-right-arrow.svg') no-repeat center;
54
+ width: 20px;
55
+ height: 20px;
56
+ border: none;
57
+ background-size: contain;
58
+ }
59
+
60
+ .react-datepicker__navigation-icon::before {
61
+ content: none;
62
+ }
63
+
64
+ .react-datepicker__input-container input {
65
+ max-width: 320px;
66
+ padding: 0;
67
+ line-height: 40px;
68
+ border: none;
69
+ outline: none;
70
+ background-color: transparent;
71
+ font-size: 32px;
72
+ text-align: center;
73
+ caret-color: ${({ theme: e }) => e.colors.WHITE};
74
+ color: ${({ theme: e, color: o }) => o || e.colors.WHITE};
75
+ font-family: 'Athletics-Light';
76
+
77
+ &::placeholder {
78
+ font-family: 'Athletics-Light';
79
+ font-size: 32px;
80
+ }
81
+ }
82
+ `;
83
+ export {
84
+ a as StyledDatePickerWrapper
85
+ };
86
+ //# sourceMappingURL=date-picker-input-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-picker-input-styled.js","sources":["../../../../../../src/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nexport const StyledDatePickerWrapper = styled.div`\n .react-datepicker {\n font-family: UntitledSans-Medium;\n font-size: 14px;\n background-color: ${({ theme }) => theme.colors.BLACK_3};\n border: 1px solid ${({ theme }) => theme.colors.BLACK_5};\n padding: 16px;\n border-radius: 8px;\n transition: all 0.3s ease-in-out;\n }\n\n .react-datepicker__aria-live {\n display: none;\n }\n .react-datepicker__header {\n color: ${({ theme }) => theme.colors.WHITE};\n text-align: center;\n }\n\n .react-datepicker__month-wrapper {\n display: flex;\n }\n .react-datepicker__month-text {\n color: ${({ theme }) => theme.colors.WHITE_T_38};\n cursor: pointer;\n padding: 8px;\n border-radius: 4px;\n &:hover {\n color: ${({ theme }) => theme.colors.WHITE};\n }\n }\n .react-datepicker__month-text--disabled {\n color: ${({ theme }) => theme.colors.WHITE_T_10};\n cursor: not-allowed;\n &:hover {\n color: ${({ theme }) => theme.colors.WHITE_T_10};\n }\n }\n .react-datepicker__month-text--selected {\n color: ${({ theme }) => theme.colors.WHITE};\n }\n\n .react-datepicker__navigation--previous {\n background: url('/path/to/your/custom-left-arrow.svg') no-repeat center;\n width: 20px;\n height: 20px;\n border: none;\n background-size: contain;\n }\n\n .react-datepicker__navigation--next {\n background: url('/path/to/your/custom-right-arrow.svg') no-repeat center;\n width: 20px;\n height: 20px;\n border: none;\n background-size: contain;\n }\n\n .react-datepicker__navigation-icon::before {\n content: none;\n }\n\n .react-datepicker__input-container input {\n max-width: 320px;\n padding: 0;\n line-height: 40px;\n border: none;\n outline: none;\n background-color: transparent;\n font-size: 32px;\n text-align: center;\n caret-color: ${({ theme }) => theme.colors.WHITE};\n color: ${({ theme, color }) => color || theme.colors.WHITE};\n font-family: 'Athletics-Light';\n\n &::placeholder {\n font-family: 'Athletics-Light';\n font-size: 32px;\n }\n }\n`;\n"],"names":["StyledDatePickerWrapper","styled","theme","color"],"mappings":";AAEO,MAAMA,IAA0BC,EAAO;AAAA;AAAA;AAAA;AAAA,wBAItB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA,wBACnC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAU9C,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAQjC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,eAKpC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;AAAA,aAInC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,UAAU;AAAA;AAAA;AAAA,eAGpC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA,aAIxC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAgC3B,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA,aACvC,CAAC,EAAE,OAAAA,GAAO,OAAAC,EAAA,MAAYA,KAASD,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -0,0 +1,58 @@
1
+ import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
+ import f from "../../../../../node_modules/react-datepicker/dist/index.es.js";
3
+ import { useTheme as h } from "styled-components";
4
+ import I from "../../../../../assets/line-icons/icons/left.js";
5
+ import T from "../../../../../assets/line-icons/icons/right.js";
6
+ import l from "../../../../ui/buttons/clickable/clickable.js";
7
+ import u from "../../../../ui/layout/flex-view.js";
8
+ import k from "../../../../ui/text/text.js";
9
+ import { InputWrapper as w } from "../input-wrapper/input-wrapper.js";
10
+ import { StyledDatePickerWrapper as x } from "./date-picker-input-styled.js";
11
+ import { subYears as c } from "../../../../../node_modules/date-fns/subYears.js";
12
+ const y = ({ value: a, onChange: m, error: n }) => {
13
+ const o = h();
14
+ return /* @__PURE__ */ e(w, { helperText: n, children: /* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(
15
+ f,
16
+ {
17
+ selected: a,
18
+ showMonthYearPicker: !0,
19
+ showPopperArrow: !1,
20
+ dateFormat: "MM/yyyy",
21
+ placeholderText: "MM / YYYY",
22
+ onChange: (r) => m(r),
23
+ minDate: c(/* @__PURE__ */ new Date(), 22),
24
+ maxDate: c(/* @__PURE__ */ new Date(), 2),
25
+ renderCustomHeader: ({
26
+ date: r,
27
+ decreaseYear: p,
28
+ increaseYear: s,
29
+ prevYearButtonDisabled: t,
30
+ nextYearButtonDisabled: i
31
+ }) => /* @__PURE__ */ d(u, { $alignItems: "center", $flexDirection: "row", $justifyContent: "space-between", children: [
32
+ /* @__PURE__ */ e(
33
+ l,
34
+ {
35
+ onClick: p,
36
+ label: "increase-year",
37
+ disabled: t,
38
+ children: /* @__PURE__ */ e(I, { color: o.colors[t ? "WHITE_T_10" : "WHITE"] })
39
+ }
40
+ ),
41
+ /* @__PURE__ */ e(k, { $renderAs: "ub2-bold", $color: "WHITE", children: r.getFullYear() }),
42
+ /* @__PURE__ */ e(
43
+ l,
44
+ {
45
+ onClick: s,
46
+ label: "decrease-year",
47
+ disabled: i,
48
+ children: /* @__PURE__ */ e(T, { color: o.colors[i ? "WHITE_T_10" : "WHITE"] })
49
+ }
50
+ )
51
+ ] })
52
+ }
53
+ ) }) });
54
+ }, _ = y;
55
+ export {
56
+ _ as default
57
+ };
58
+ //# sourceMappingURL=date-picker-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-picker-input.js","sources":["../../../../../../src/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.tsx"],"sourcesContent":["import type { IDatePickerInputProps } from './date-picker-input-types';\n\nimport { subYears } from 'date-fns';\nimport { type FC } from 'react';\nimport DatePicker from 'react-datepicker';\nimport { useTheme } from 'styled-components';\n\nimport LeftIcon from '../../../../../assets/line-icons/icons/left';\nimport RightIcon from '../../../../../assets/line-icons/icons/right';\nimport Clickable from '../../../../ui/buttons/clickable/clickable';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport { InputWrapper } from '../input-wrapper/input-wrapper';\nimport * as Styled from './date-picker-input-styled';\n\nconst DatePickerInput: FC<IDatePickerInputProps> = ({ value, onChange, error }) => {\n const theme = useTheme();\n\n return (\n <InputWrapper helperText={error}>\n <Styled.StyledDatePickerWrapper>\n <DatePicker\n selected={value}\n showMonthYearPicker\n showPopperArrow={false}\n dateFormat=\"MM/yyyy\"\n placeholderText=\"MM / YYYY\"\n onChange={date => onChange(date)}\n minDate={subYears(new Date(), 22)}\n maxDate={subYears(new Date(), 2)}\n renderCustomHeader={({\n date,\n decreaseYear,\n increaseYear,\n prevYearButtonDisabled,\n nextYearButtonDisabled,\n }) => (\n <FlexView $alignItems=\"center\" $flexDirection=\"row\" $justifyContent=\"space-between\">\n <Clickable\n onClick={decreaseYear}\n label=\"increase-year\"\n disabled={prevYearButtonDisabled}\n >\n <LeftIcon color={theme.colors[prevYearButtonDisabled ? 'WHITE_T_10' : 'WHITE']} />\n </Clickable>\n <Text $renderAs=\"ub2-bold\" $color=\"WHITE\">\n {date.getFullYear()}\n </Text>\n <Clickable\n onClick={increaseYear}\n label=\"decrease-year\"\n disabled={nextYearButtonDisabled}\n >\n <RightIcon color={theme.colors[nextYearButtonDisabled ? 'WHITE_T_10' : 'WHITE']} />\n </Clickable>\n </FlexView>\n )}\n />\n </Styled.StyledDatePickerWrapper>\n </InputWrapper>\n );\n};\n\nexport default DatePickerInput;\n"],"names":["DatePickerInput","value","onChange","error","theme","useTheme","InputWrapper","jsx","Styled.StyledDatePickerWrapper","DatePicker","date","subYears","decreaseYear","increaseYear","prevYearButtonDisabled","nextYearButtonDisabled","FlexView","Clickable","LeftIcon","Text","RightIcon","DatePickerInput$1"],"mappings":";;;;;;;;;;;AAeA,MAAMA,IAA6C,CAAC,EAAE,OAAAC,GAAO,UAAAC,GAAU,OAAAC,QAAY;AACjF,QAAMC,IAAQC;AAEd,2BACGC,GAAa,EAAA,YAAYH,GACxB,UAAC,gBAAAI,EAAAC,GAAA,EACC,UAAA,gBAAAD;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,UAAUR;AAAA,MACV,qBAAmB;AAAA,MACnB,iBAAiB;AAAA,MACjB,YAAW;AAAA,MACX,iBAAgB;AAAA,MAChB,UAAU,CAAQS,MAAAR,EAASQ,CAAI;AAAA,MAC/B,SAASC,EAAa,oBAAA,KAAA,GAAQ,EAAE;AAAA,MAChC,SAASA,EAAa,oBAAA,KAAA,GAAQ,CAAC;AAAA,MAC/B,oBAAoB,CAAC;AAAA,QACnB,MAAAD;AAAA,QACA,cAAAE;AAAA,QACA,cAAAC;AAAA,QACA,wBAAAC;AAAA,QACA,wBAAAC;AAAA,MAAA,wBAECC,GAAS,EAAA,aAAY,UAAS,gBAAe,OAAM,iBAAgB,iBAClE,UAAA;AAAA,QAAA,gBAAAT;AAAA,UAACU;AAAA,UAAA;AAAA,YACC,SAASL;AAAA,YACT,OAAM;AAAA,YACN,UAAUE;AAAA,YAEV,UAAA,gBAAAP,EAACW,KAAS,OAAOd,EAAM,OAAOU,IAAyB,eAAe,OAAO,GAAG;AAAA,UAAA;AAAA,QAClF;AAAA,QACA,gBAAAP,EAACY,KAAK,WAAU,YAAW,QAAO,SAC/B,UAAAT,EAAK,eACR;AAAA,QACA,gBAAAH;AAAA,UAACU;AAAA,UAAA;AAAA,YACC,SAASJ;AAAA,YACT,OAAM;AAAA,YACN,UAAUE;AAAA,YAEV,UAAA,gBAAAR,EAACa,KAAU,OAAOhB,EAAM,OAAOW,IAAyB,eAAe,OAAO,GAAG;AAAA,UAAA;AAAA,QACnF;AAAA,MAAA,GACF;AAAA,IAAA;AAAA,EAAA,EAGN,CAAA,EACF,CAAA;AAEJ,GAEAM,IAAerB;"}
@@ -0,0 +1,31 @@
1
+ import c from "styled-components";
2
+ import s from "../../../../ui/layout/flex-view.js";
3
+ const p = c(s)`
4
+ max-width: 264px;
5
+ `, x = c(s)(({ selected: r, theme: o }) => {
6
+ const t = o.colors[r ? "WHITE" : "REAL_BLACK"], l = o.colors[r ? "REAL_BLACK" : "WHITE_T_38"], n = o.colors.WHITE, d = o.colors.REAL_BLACK, i = o.colors.WHITE;
7
+ return `
8
+ cursor: pointer;
9
+ transition: all 0.3s ease;
10
+ background-color: ${t};
11
+ border-width: 2px;
12
+
13
+ > div {
14
+ color: ${l};
15
+ }
16
+
17
+ &:hover {
18
+ background-color: ${n};
19
+ border-color: ${i};
20
+
21
+ > div {
22
+ color: ${d};
23
+ }
24
+ }
25
+ `;
26
+ });
27
+ export {
28
+ x as GradeItem,
29
+ p as GradeListWrapper
30
+ };
31
+ //# sourceMappingURL=grade-input-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grade-input-styled.js","sources":["../../../../../../src/features/auth/signup/custom-input-field/grade-input/grade-input-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nexport const GradeListWrapper = styled(FlexView)`\n max-width: 264px;\n`;\n\nexport const GradeItem = styled(FlexView)<{ selected: boolean }>(({ selected, theme }) => {\n const bgColor = theme.colors[selected ? 'WHITE' : 'REAL_BLACK'];\n const textColor = theme.colors[selected ? 'REAL_BLACK' : 'WHITE_T_38'];\n const hoverBg = theme.colors.WHITE;\n const hoverText = theme.colors.REAL_BLACK;\n const hoverBorder = theme.colors.WHITE;\n\n return `\n cursor: pointer;\n transition: all 0.3s ease;\n background-color: ${bgColor};\n border-width: 2px;\n\n > div {\n color: ${textColor};\n }\n\n &:hover {\n background-color: ${hoverBg};\n border-color: ${hoverBorder};\n\n > div {\n color: ${hoverText};\n }\n }\n `;\n});\n"],"names":["GradeListWrapper","styled","FlexView","GradeItem","selected","theme","bgColor","textColor","hoverBg","hoverText","hoverBorder"],"mappings":";;AAIa,MAAAA,IAAmBC,EAAOC,CAAQ;AAAA;AAAA,GAIlCC,IAAYF,EAAOC,CAAQ,EAAyB,CAAC,EAAE,UAAAE,GAAU,OAAAC,QAAY;AACxF,QAAMC,IAAUD,EAAM,OAAOD,IAAW,UAAU,YAAY,GACxDG,IAAYF,EAAM,OAAOD,IAAW,eAAe,YAAY,GAC/DI,IAAUH,EAAM,OAAO,OACvBI,IAAYJ,EAAM,OAAO,YACzBK,IAAcL,EAAM,OAAO;AAE1B,SAAA;AAAA;AAAA;AAAA,0BAGiBC,CAAO;AAAA;AAAA;AAAA;AAAA,iBAIhBC,CAAS;AAAA;AAAA;AAAA;AAAA,4BAIEC,CAAO;AAAA,wBACXE,CAAW;AAAA;AAAA;AAAA,mBAGhBD,CAAS;AAAA;AAAA;AAAA;AAI5B,CAAC;"}
@@ -0,0 +1,30 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import a from "../../../../ui/text/text.js";
3
+ import { STUDENT_GRADE_OPTIONS as c } from "../../signup-constants.js";
4
+ import { InputWrapper as p } from "../input-wrapper/input-wrapper.js";
5
+ import { GradeListWrapper as $, GradeItem as l } from "./grade-input-styled.js";
6
+ const m = ({ value: n, onChange: d, error: i }) => /* @__PURE__ */ r(p, { helperText: i, children: /* @__PURE__ */ r($, { $flexDirection: "row", $flexWrap: !0, $flexGapX: 1, children: [...c].map(({ label: o, value: e }) => {
7
+ const t = e === n;
8
+ return /* @__PURE__ */ r(
9
+ l,
10
+ {
11
+ selected: t,
12
+ onClick: () => d(e),
13
+ $borderRadius: 48,
14
+ $gutter: 13,
15
+ $gap: 6,
16
+ $alignItems: "center",
17
+ $justifyContent: "center",
18
+ $background: t ? "WHITE" : "REAL_BLACK",
19
+ $borderColor: t ? "WHITE" : "BLACK_5",
20
+ $width: e === "-1" ? 96 : 40,
21
+ $height: 40,
22
+ children: /* @__PURE__ */ r(a, { $align: "center", $renderAs: "ab1", children: o })
23
+ },
24
+ e
25
+ );
26
+ }) }) }), x = m;
27
+ export {
28
+ x as default
29
+ };
30
+ //# sourceMappingURL=grade-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grade-input.js","sources":["../../../../../../src/features/auth/signup/custom-input-field/grade-input/grade-input.tsx"],"sourcesContent":["import type { ICustomInputFieldProps } from '../custom-input-field-types';\nimport type { FC } from 'react';\n\nimport Text from '../../../../ui/text/text';\nimport { STUDENT_GRADE_OPTIONS } from '../../signup-constants';\nimport { InputWrapper } from '../input-wrapper/input-wrapper';\nimport * as Styled from './grade-input-styled';\n\nconst GradeInput: FC<ICustomInputFieldProps> = ({ value, onChange, error }) => {\n return (\n <InputWrapper helperText={error}>\n <Styled.GradeListWrapper $flexDirection=\"row\" $flexWrap $flexGapX={1}>\n {[...STUDENT_GRADE_OPTIONS].map(({ label, value: optionVal }) => {\n const isSelected = optionVal === value;\n\n return (\n <Styled.GradeItem\n key={optionVal}\n selected={isSelected}\n onClick={() => onChange(optionVal)}\n $borderRadius={48}\n $gutter={13}\n $gap={6}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $background={isSelected ? 'WHITE' : 'REAL_BLACK'}\n $borderColor={isSelected ? 'WHITE' : 'BLACK_5'}\n $width={optionVal === '-1' ? 96 : 40}\n $height={40}\n >\n <Text $align=\"center\" $renderAs=\"ab1\">\n {label}\n </Text>\n </Styled.GradeItem>\n );\n })}\n </Styled.GradeListWrapper>\n </InputWrapper>\n );\n};\n\nexport default GradeInput;\n"],"names":["GradeInput","value","onChange","error","jsx","InputWrapper","Styled.GradeListWrapper","STUDENT_GRADE_OPTIONS","label","optionVal","isSelected","Styled.GradeItem","Text","GradeInput$1"],"mappings":";;;;;AAQA,MAAMA,IAAyC,CAAC,EAAE,OAAAC,GAAO,UAAAC,GAAU,OAAAC,QAE/D,gBAAAC,EAACC,GAAa,EAAA,YAAYF,GACxB,UAAA,gBAAAC,EAACE,GAAA,EAAwB,gBAAe,OAAM,WAAS,IAAC,WAAW,GAChE,UAAA,CAAC,GAAGC,CAAqB,EAAE,IAAI,CAAC,EAAE,OAAAC,GAAO,OAAOC,EAAA,MAAgB;AAC/D,QAAMC,IAAaD,MAAcR;AAG/B,SAAA,gBAAAG;AAAA,IAACO;AAAAA,IAAA;AAAA,MAEC,UAAUD;AAAA,MACV,SAAS,MAAMR,EAASO,CAAS;AAAA,MACjC,eAAe;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,MACN,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,aAAaC,IAAa,UAAU;AAAA,MACpC,cAAcA,IAAa,UAAU;AAAA,MACrC,QAAQD,MAAc,OAAO,KAAK;AAAA,MAClC,SAAS;AAAA,MAET,4BAACG,GAAK,EAAA,QAAO,UAAS,WAAU,OAC7B,UACHJ,GAAA;AAAA,IAAA;AAAA,IAfKC;AAAA,EAAA;AAgBP,CAEH,GACH,EACF,CAAA,GAIJI,IAAeb;"}
@@ -0,0 +1,11 @@
1
+ import o from "styled-components";
2
+ import t from "../../../../ui/layout/flex-view.js";
3
+ const r = o(t)`
4
+ position: absolute;
5
+ top: 56px;
6
+ max-width: 100%;
7
+ `;
8
+ export {
9
+ r as ContentWrapper
10
+ };
11
+ //# sourceMappingURL=input-wrapper-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-wrapper-styled.js","sources":["../../../../../../src/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nexport const ContentWrapper = styled(FlexView)`\n position: absolute;\n top: 56px;\n max-width: 100%;\n`;\n"],"names":["ContentWrapper","styled","FlexView"],"mappings":";;AAIa,MAAAA,IAAiBC,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;"}
@@ -0,0 +1,33 @@
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
+ import { LOTTIE as h } from "../../../../../assets/lottie/lottie.js";
3
+ import r from "../../../../ui/layout/flex-view.js";
4
+ import p from "../../../../ui/lottie-animation/lottie-animation.js";
5
+ import i from "../../../../ui/separator/separator.js";
6
+ import $ from "../../../../ui/text/text.js";
7
+ import { ContentWrapper as l } from "./input-wrapper-styled.js";
8
+ const j = ({
9
+ children: m,
10
+ helperText: n,
11
+ actionElement: o,
12
+ isLoading: c
13
+ }) => /* @__PURE__ */ t(r, { $flex: 1, $gutterX: 2, $alignItems: "center", $justifyContent: "center", $width: "100%", children: [
14
+ m,
15
+ /* @__PURE__ */ t(l, { $alignItems: "center", $justifyContent: "center", children: [
16
+ n && /* @__PURE__ */ t(r, { $gutterX: 3.5, children: [
17
+ /* @__PURE__ */ e($, { $renderAs: "ub2", $color: "WHITE_T_60", $align: "center", $whiteSpace: "pre-line", children: n }),
18
+ /* @__PURE__ */ e(i, { heightX: 0.5 })
19
+ ] }),
20
+ o && /* @__PURE__ */ t(r, { $justifyContent: "center", $alignItems: "center", children: [
21
+ o,
22
+ /* @__PURE__ */ e(i, { heightX: 1 })
23
+ ] }),
24
+ c && /* @__PURE__ */ t(r, { children: [
25
+ /* @__PURE__ */ e(i, { heightX: 2 }),
26
+ /* @__PURE__ */ e(p, { src: h.SPINNER_WHITE, height: 20, width: 40 })
27
+ ] })
28
+ ] })
29
+ ] });
30
+ export {
31
+ j as InputWrapper
32
+ };
33
+ //# sourceMappingURL=input-wrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-wrapper.js","sources":["../../../../../../src/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.tsx"],"sourcesContent":["import type { IInputWrapperProps } from './input-wrapper-types';\n\nimport { LOTTIE } from '../../../../../assets/lottie/lottie';\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 './input-wrapper-styled';\n\nexport const InputWrapper = ({\n children,\n helperText,\n actionElement,\n isLoading,\n}: IInputWrapperProps) => {\n return (\n <FlexView $flex={1} $gutterX={2} $alignItems=\"center\" $justifyContent=\"center\" $width=\"100%\">\n {children}\n <Styled.ContentWrapper $alignItems=\"center\" $justifyContent=\"center\">\n {helperText && (\n <FlexView $gutterX={3.5}>\n <Text $renderAs=\"ub2\" $color=\"WHITE_T_60\" $align=\"center\" $whiteSpace=\"pre-line\">\n {helperText}\n </Text>\n <Separator heightX={0.5} />\n </FlexView>\n )}\n {actionElement && (\n <FlexView $justifyContent=\"center\" $alignItems=\"center\">\n {actionElement}\n <Separator heightX={1} />\n </FlexView>\n )}\n {isLoading && (\n <FlexView>\n <Separator heightX={2} />\n <LottieAnimation src={LOTTIE.SPINNER_WHITE} height={20} width={40} />\n </FlexView>\n )}\n </Styled.ContentWrapper>\n </FlexView>\n );\n};\n"],"names":["InputWrapper","children","helperText","actionElement","isLoading","jsxs","FlexView","Styled.ContentWrapper","jsx","Text","Separator","LottieAnimation","LOTTIE"],"mappings":";;;;;;;AASO,MAAMA,IAAe,CAAC;AAAA,EAC3B,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,WAAAC;AACF,MAEI,gBAAAC,EAACC,GAAS,EAAA,OAAO,GAAG,UAAU,GAAG,aAAY,UAAS,iBAAgB,UAAS,QAAO,QACnF,UAAA;AAAA,EAAAL;AAAA,oBACAM,GAAA,EAAsB,aAAY,UAAS,iBAAgB,UACzD,UAAA;AAAA,IACCL,KAAA,gBAAAG,EAACC,GAAS,EAAA,UAAU,KAClB,UAAA;AAAA,MAAC,gBAAAE,EAAAC,GAAA,EAAK,WAAU,OAAM,QAAO,cAAa,QAAO,UAAS,aAAY,YACnE,UACHP,EAAA,CAAA;AAAA,MACA,gBAAAM,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,IAAA,GAC3B;AAAA,IAEDP,KACE,gBAAAE,EAAAC,GAAA,EAAS,iBAAgB,UAAS,aAAY,UAC5C,UAAA;AAAA,MAAAH;AAAA,MACD,gBAAAK,EAACE,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,IAAA,GACzB;AAAA,IAEDN,uBACEE,GACC,EAAA,UAAA;AAAA,MAAC,gBAAAE,EAAAE,GAAA,EAAU,SAAS,EAAG,CAAA;AAAA,MACvB,gBAAAF,EAACG,KAAgB,KAAKC,EAAO,eAAe,QAAQ,IAAI,OAAO,IAAI;AAAA,IAAA,GACrE;AAAA,EAAA,GAEJ;AACF,EAAA,CAAA;"}
@@ -0,0 +1,33 @@
1
+ import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
+ import n from "../../../../../../assets/line-icons/icons/chevron-down.js";
3
+ import i from "../../../../../ui/layout/flex-view.js";
4
+ import d from "../../../../../ui/text/text.js";
5
+ import { CountryCodeButton as $ } from "../phone-input-styled.js";
6
+ const C = ({
7
+ value: t,
8
+ menuVisible: e
9
+ }) => /* @__PURE__ */ o(
10
+ $,
11
+ {
12
+ $background: "BLACK_5",
13
+ $borderRadius: 4,
14
+ $gutterX: 0.5,
15
+ $gap: 5,
16
+ $alignItems: "center",
17
+ $justifyContent: "space-between",
18
+ $borderColor: e ? "WHITE_T_38" : "BLACK_5",
19
+ $flexDirection: "row",
20
+ $flexGap: 2,
21
+ children: [
22
+ /* @__PURE__ */ o(d, { $renderAs: "ab1", $color: "WHITE", children: [
23
+ "+",
24
+ t
25
+ ] }),
26
+ /* @__PURE__ */ r(i, { $width: 20, children: /* @__PURE__ */ r(n, { width: 20, height: 20, color: "WHITE" }) })
27
+ ]
28
+ }
29
+ );
30
+ export {
31
+ C as default
32
+ };
33
+ //# sourceMappingURL=country-code-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country-code-button.js","sources":["../../../../../../../src/features/auth/signup/custom-input-field/phone-input/country-selector/country-code-button.tsx"],"sourcesContent":["import type { FC } from 'react';\n\nimport ChevronDownIcon from '../../../../../../assets/line-icons/icons/chevron-down';\nimport FlexView from '../../../../../ui/layout/flex-view';\nimport Text from '../../../../../ui/text/text';\nimport * as Styled from '../phone-input-styled';\n\nconst CountryCodeButton: FC<{ value?: string; menuVisible?: boolean }> = ({\n value,\n menuVisible,\n}) => {\n return (\n <Styled.CountryCodeButton\n $background=\"BLACK_5\"\n $borderRadius={4}\n $gutterX={0.5}\n $gap={5}\n $alignItems=\"center\"\n $justifyContent=\"space-between\"\n $borderColor={menuVisible ? 'WHITE_T_38' : 'BLACK_5'}\n $flexDirection=\"row\"\n $flexGap={2}\n >\n <Text $renderAs=\"ab1\" $color=\"WHITE\">\n +{value}\n </Text>\n <FlexView $width={20}>\n <ChevronDownIcon width={20} height={20} color=\"WHITE\" />\n </FlexView>\n </Styled.CountryCodeButton>\n );\n};\n\nexport default CountryCodeButton;\n"],"names":["CountryCodeButton","value","menuVisible","jsxs","Styled.CountryCodeButton","Text","jsx","FlexView","ChevronDownIcon"],"mappings":";;;;;AAOA,MAAMA,IAAmE,CAAC;AAAA,EACxE,OAAAC;AAAA,EACA,aAAAC;AACF,MAEI,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,aAAY;AAAA,IACZ,eAAe;AAAA,IACf,UAAU;AAAA,IACV,MAAM;AAAA,IACN,aAAY;AAAA,IACZ,iBAAgB;AAAA,IAChB,cAAcF,IAAc,eAAe;AAAA,IAC3C,gBAAe;AAAA,IACf,UAAU;AAAA,IAEV,UAAA;AAAA,MAAA,gBAAAC,EAACE,GAAK,EAAA,WAAU,OAAM,QAAO,SAAQ,UAAA;AAAA,QAAA;AAAA,QACjCJ;AAAA,MAAA,GACJ;AAAA,MACC,gBAAAK,EAAAC,GAAA,EAAS,QAAQ,IAChB,UAAC,gBAAAD,EAAAE,GAAA,EAAgB,OAAO,IAAI,QAAQ,IAAI,OAAM,QAAQ,CAAA,GACxD;AAAA,IAAA;AAAA,EAAA;AAAA;"}
@@ -0,0 +1,28 @@
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import a from "../../../../../ui/text/text.js";
3
+ import { MenuWrapper as s, MenuItem as p, Icon as u } from "../phone-input-styled.js";
4
+ const g = ({ options: o, selectedCountry: t, onChange: n }) => /* @__PURE__ */ e(s, { $widthX: 10, $gapX: 0.5, $background: "BLACK_2", $borderColor: "BLACK_5", children: o.map((i) => {
5
+ const { id: r, value: c, icon: d, code: $ } = i;
6
+ return /* @__PURE__ */ l(
7
+ p,
8
+ {
9
+ $gutterX: 0.5,
10
+ $gapX: 0.75,
11
+ onClick: () => n({ code: $, id: r }),
12
+ $width: "100%",
13
+ $flexDirection: "row",
14
+ $alignItems: "center",
15
+ $flexGap: 8,
16
+ $isSelected: t.id === r,
17
+ children: [
18
+ /* @__PURE__ */ e(u, { src: d }),
19
+ /* @__PURE__ */ e(a, { $renderAs: "ab3", $color: "WHITE", children: c })
20
+ ]
21
+ },
22
+ r
23
+ );
24
+ }) });
25
+ export {
26
+ g as default
27
+ };
28
+ //# sourceMappingURL=country-list-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country-list-menu.js","sources":["../../../../../../../src/features/auth/signup/custom-input-field/phone-input/country-selector/country-list-menu.tsx"],"sourcesContent":["import type { ICountryListMenuProps } from '../phone-input-types';\nimport type { FC } from 'react';\n\nimport Text from '../../../../../ui/text/text';\nimport * as Styled from '../phone-input-styled';\n\nconst CountryListMenu: FC<ICountryListMenuProps> = ({ options, selectedCountry, onChange }) => {\n return (\n <Styled.MenuWrapper $widthX={10} $gapX={0.5} $background={'BLACK_2'} $borderColor={'BLACK_5'}>\n {options.map(option => {\n const { id, value, icon, code } = option;\n\n return (\n <Styled.MenuItem\n key={id}\n $gutterX={0.5}\n $gapX={0.75}\n onClick={() => onChange({ code, id })}\n $width=\"100%\"\n $flexDirection=\"row\"\n $alignItems=\"center\"\n $flexGap={8}\n $isSelected={selectedCountry.id === id}\n >\n <Styled.Icon src={icon} />\n <Text $renderAs=\"ab3\" $color={'WHITE'}>\n {value}\n </Text>\n </Styled.MenuItem>\n );\n })}\n </Styled.MenuWrapper>\n );\n};\n\nexport default CountryListMenu;\n"],"names":["CountryListMenu","options","selectedCountry","onChange","jsx","Styled.MenuWrapper","option","id","value","icon","code","jsxs","Styled.MenuItem","Styled.Icon","Text"],"mappings":";;;AAMA,MAAMA,IAA6C,CAAC,EAAE,SAAAC,GAAS,iBAAAC,GAAiB,UAAAC,QAE3E,gBAAAC,EAAAC,GAAA,EAAmB,SAAS,IAAI,OAAO,KAAK,aAAa,WAAW,cAAc,WAChF,UAAAJ,EAAQ,IAAI,CAAUK,MAAA;AACrB,QAAM,EAAE,IAAAC,GAAI,OAAAC,GAAO,MAAAC,GAAM,MAAAC,MAASJ;AAGhC,SAAA,gBAAAK;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,UAAU;AAAA,MACV,OAAO;AAAA,MACP,SAAS,MAAMT,EAAS,EAAE,MAAAO,GAAM,IAAAH,GAAI;AAAA,MACpC,QAAO;AAAA,MACP,gBAAe;AAAA,MACf,aAAY;AAAA,MACZ,UAAU;AAAA,MACV,aAAaL,EAAgB,OAAOK;AAAA,MAEpC,UAAA;AAAA,QAAA,gBAAAH,EAACS,GAAA,EAAY,KAAKJ,EAAM,CAAA;AAAA,0BACvBK,GAAK,EAAA,WAAU,OAAM,QAAQ,SAC3B,UACHN,GAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAbKD;AAAA,EAAA;AAgBV,CAAA,EACH,CAAA;"}
@@ -0,0 +1,29 @@
1
+ import r from "styled-components";
2
+ import o from "../../../../ui/layout/flex-view.js";
3
+ const i = r(o)`
4
+ border-radius: 2px;
5
+ max-height: 220px;
6
+ overflow-y: scroll;
7
+ width: 271px;
8
+ `, c = r(o)(({ theme: t, $isSelected: n }) => `
9
+ cursor: pointer;
10
+ background: ${n ? t.colors.BLACK_5 : "transparent"};
11
+ &:hover {
12
+ background: ${t.colors.BLACK_5};
13
+ }
14
+ `), d = r.img`
15
+ width: 20px;
16
+ height: 20px;
17
+ `, s = r(o)`
18
+ cursor: pointer;
19
+ padding-right: 4px;
20
+ max-width: 100px;
21
+ min-width: 80px;
22
+ `;
23
+ export {
24
+ s as CountryCodeButton,
25
+ d as Icon,
26
+ c as MenuItem,
27
+ i as MenuWrapper
28
+ };
29
+ //# sourceMappingURL=phone-input-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-input-styled.js","sources":["../../../../../../src/features/auth/signup/custom-input-field/phone-input/phone-input-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nexport const MenuWrapper = styled(FlexView)`\n border-radius: 2px;\n max-height: 220px;\n overflow-y: scroll;\n width: 271px;\n`;\n\nexport const MenuItem = styled(FlexView)<{ $isSelected: boolean }>(({ theme, $isSelected }) => {\n return `\n cursor: pointer;\n background: ${$isSelected ? theme.colors.BLACK_5 : 'transparent'};\n &:hover {\n background: ${theme.colors.BLACK_5};\n }\n `;\n});\n\nexport const Icon = styled.img`\n width: 20px;\n height: 20px;\n`;\n\nexport const CountryCodeButton = styled(FlexView)`\n cursor: pointer;\n padding-right: 4px;\n max-width: 100px;\n min-width: 80px;\n`;\n"],"names":["MenuWrapper","styled","FlexView","MenuItem","theme","$isSelected","Icon","CountryCodeButton"],"mappings":";;AAIa,MAAAA,IAAcC,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,GAO7BC,IAAWF,EAAOC,CAAQ,EAA4B,CAAC,EAAE,OAAAE,GAAO,aAAAC,QACpE;AAAA;AAAA,oBAEWA,IAAcD,EAAM,OAAO,UAAU,aAAa;AAAA;AAAA,0BAE5CA,EAAM,OAAO,OAAO;AAAA;AAAA,IAG7C,GAEYE,IAAOL,EAAO;AAAA;AAAA;AAAA,GAKdM,IAAoBN,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -0,0 +1,67 @@
1
+ import { jsx as e, jsxs as C } from "react/jsx-runtime";
2
+ import { useState as x, useCallback as l } from "react";
3
+ import { useTheme as y } from "styled-components";
4
+ import { InputWrapper as b } from "../../../../circle-games/sign-up/comp/input-wrapper/input-wrapper.js";
5
+ import g from "../../../../ui/context-menu/context-menu.js";
6
+ import n from "../../../../ui/layout/flex-view.js";
7
+ import w from "../../../../ui/separator/separator.js";
8
+ import { COUNTRY_CODE_MAP as I } from "../../signup-constants.js";
9
+ import { CustomInput as M } from "../custom-input-field-styled.js";
10
+ import D from "./country-selector/country-code-button.js";
11
+ import V from "./country-selector/country-list-menu.js";
12
+ const T = ({
13
+ error: i,
14
+ value: u,
15
+ onChange: a,
16
+ selectedCountry: r,
17
+ onCountryChange: p,
18
+ onEnter: o
19
+ }) => {
20
+ var m;
21
+ const s = y(), [f, h] = x(!1), c = l(
22
+ (t) => {
23
+ t.key === "Enter" && (o == null || o());
24
+ },
25
+ [o]
26
+ ), d = l((t) => {
27
+ h(t);
28
+ }, []);
29
+ return /* @__PURE__ */ e(b, { helperText: i, children: /* @__PURE__ */ C(n, { $flexDirection: "row", children: [
30
+ /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e(
31
+ g,
32
+ {
33
+ startLeft: !0,
34
+ targetElement: /* @__PURE__ */ e(D, { value: r.code, menuVisible: f }),
35
+ menuElement: /* @__PURE__ */ e(
36
+ V,
37
+ {
38
+ options: I,
39
+ onChange: p,
40
+ selectedCountry: r
41
+ }
42
+ ),
43
+ menuOffset: 5,
44
+ menuZIndex: 1,
45
+ onMenuVisibilityChange: d
46
+ }
47
+ ) }),
48
+ /* @__PURE__ */ e(w, { width: 8 }),
49
+ /* @__PURE__ */ e(n, { $width: 224, children: /* @__PURE__ */ e(
50
+ M,
51
+ {
52
+ value: u,
53
+ onChange: (t) => a(t.target.value),
54
+ placeholder: "00000 00000",
55
+ type: "number",
56
+ align: "left",
57
+ autoCapitalize: "none",
58
+ color: (m = s.colors) == null ? void 0 : m[i ? "RED" : "WHITE"],
59
+ onKeyDown: c
60
+ }
61
+ ) })
62
+ ] }) });
63
+ }, _ = T;
64
+ export {
65
+ _ as default
66
+ };
67
+ //# sourceMappingURL=phone-input.js.map