@cuemath/leap 2.9.2-as2 → 2.9.2-j1

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 (641) hide show
  1. package/dist/assets/illustrations/illustrations.js +3 -9
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/apple-icon.js +48 -0
  4. package/dist/assets/line-icons/icons/apple-icon.js.map +1 -0
  5. package/dist/assets/line-icons/icons/bin2.js +8 -7
  6. package/dist/assets/line-icons/icons/bin2.js.map +1 -1
  7. package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
  8. package/dist/assets/line-icons/icons/chevron-right.js.map +1 -1
  9. package/dist/assets/line-icons/icons/google-icon.js +42 -0
  10. package/dist/assets/line-icons/icons/google-icon.js.map +1 -0
  11. package/dist/assets/lottie/lottie.js +10 -8
  12. package/dist/assets/lottie/lottie.js.map +1 -1
  13. package/dist/constants/api.js +2 -3
  14. package/dist/constants/api.js.map +1 -1
  15. package/dist/features/auth/account-selector/account-selector-styled.js +26 -0
  16. package/dist/features/auth/account-selector/account-selector-styled.js.map +1 -0
  17. package/dist/features/auth/account-selector/account-selector.js +75 -0
  18. package/dist/features/auth/account-selector/account-selector.js.map +1 -0
  19. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +12 -0
  20. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +1 -0
  21. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +11 -0
  22. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -0
  23. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +24 -0
  24. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -0
  25. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +29 -0
  26. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +1 -0
  27. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +8 -0
  28. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +1 -0
  29. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +26 -0
  30. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +1 -0
  31. package/dist/features/auth/comps/resend-otp/resend-otp.js +41 -0
  32. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -0
  33. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +48 -0
  34. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -0
  35. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +115 -0
  36. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -0
  37. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +16 -0
  38. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +1 -0
  39. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +71 -0
  40. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +1 -0
  41. package/dist/features/auth/signup/custom-input/custom-input-styled.js +38 -0
  42. package/dist/features/auth/signup/custom-input/custom-input-styled.js.map +1 -0
  43. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js +79 -0
  44. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js.map +1 -0
  45. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js +54 -0
  46. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js.map +1 -0
  47. package/dist/features/auth/signup/custom-input/email-input/email-input.js +30 -0
  48. package/dist/features/auth/signup/custom-input/email-input/email-input.js.map +1 -0
  49. package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js +31 -0
  50. package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js.map +1 -0
  51. package/dist/features/auth/signup/custom-input/grade-input/grade-input.js +30 -0
  52. package/dist/features/auth/signup/custom-input/grade-input/grade-input.js.map +1 -0
  53. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js +19 -0
  54. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js.map +1 -0
  55. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js +33 -0
  56. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js.map +1 -0
  57. package/dist/features/auth/signup/custom-input/otp-input/otp-input.js +41 -0
  58. package/dist/features/auth/signup/custom-input/otp-input/otp-input.js.map +1 -0
  59. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js +33 -0
  60. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js.map +1 -0
  61. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js +28 -0
  62. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js.map +1 -0
  63. package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js +29 -0
  64. package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js.map +1 -0
  65. package/dist/features/auth/signup/custom-input/phone-input/phone-input.js +64 -0
  66. package/dist/features/auth/signup/custom-input/phone-input/phone-input.js.map +1 -0
  67. package/dist/features/auth/signup/custom-input/student-password/student-password.js +53 -0
  68. package/dist/features/auth/signup/custom-input/student-password/student-password.js.map +1 -0
  69. package/dist/features/auth/signup/custom-input/student-username/student-username.js +38 -0
  70. package/dist/features/auth/signup/custom-input/student-username/student-username.js.map +1 -0
  71. package/dist/features/auth/signup/signup-constants.js +1022 -0
  72. package/dist/features/auth/signup/signup-constants.js.map +1 -0
  73. package/dist/features/auth/signup/signup-methods/signup-methods.js +58 -0
  74. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +1 -0
  75. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +19 -0
  76. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +1 -0
  77. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +61 -0
  78. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +1 -0
  79. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +24 -0
  80. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +1 -0
  81. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +87 -0
  82. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +1 -0
  83. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +33 -99
  84. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  85. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +49 -92
  86. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  87. package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
  88. package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
  89. package/dist/features/chapters/chapters-list/chapters-list.js +70 -64
  90. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  91. package/dist/features/communication/pub-sub/constants.js +2 -5
  92. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  93. package/dist/features/milestone/create/api/goal-submit.js +1 -1
  94. package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
  95. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +49 -42
  96. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
  97. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +4 -12
  98. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
  99. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +105 -128
  100. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  101. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +92 -0
  102. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +1 -0
  103. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +25 -0
  104. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +1 -0
  105. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +20 -14
  106. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
  107. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +50 -26
  108. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
  109. package/dist/features/milestone/create/milestone-create.js +43 -49
  110. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  111. package/dist/features/milestone/create/utils/index.js +38 -33
  112. package/dist/features/milestone/create/utils/index.js.map +1 -1
  113. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
  114. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
  115. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
  116. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
  117. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +53 -51
  118. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
  119. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +40 -42
  120. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
  121. package/dist/features/milestone/edit/goal-edit-container.js +62 -64
  122. package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
  123. package/dist/features/milestone/edit/goal-edit-helpers.js +53 -50
  124. package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
  125. package/dist/features/milestone/edit/milestone-edit-container.js +52 -54
  126. package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
  127. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
  128. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
  129. package/dist/features/milestone/milestone-list-container/api/get-milestones.js +17 -9
  130. package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
  131. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
  132. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
  133. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +104 -136
  134. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  135. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +13 -0
  136. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +1 -0
  137. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +38 -0
  138. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +1 -0
  139. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +123 -107
  140. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
  141. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +175 -155
  142. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
  143. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +10 -24
  144. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
  145. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +86 -80
  146. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  147. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +22 -10
  148. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
  149. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +53 -0
  150. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +1 -0
  151. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +37 -70
  152. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
  153. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +176 -114
  154. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  155. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +25 -0
  156. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +1 -0
  157. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +16 -29
  158. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
  159. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +23 -19
  160. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
  161. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +35 -23
  162. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
  163. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +100 -96
  164. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  165. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
  166. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
  167. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +112 -114
  168. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  169. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +18 -16
  170. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
  171. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +71 -0
  172. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +1 -0
  173. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +31 -0
  174. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +1 -0
  175. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +34 -6
  176. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +1 -1
  177. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +79 -0
  178. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +1 -0
  179. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +18 -0
  180. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +1 -0
  181. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +51 -0
  182. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +1 -0
  183. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +11 -0
  184. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +1 -0
  185. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +135 -0
  186. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +1 -0
  187. package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
  188. package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
  189. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +3 -4
  190. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
  191. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +29 -30
  192. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  193. package/dist/features/ui/constants/z-index.js +1 -1
  194. package/dist/features/ui/constants/z-index.js.map +1 -1
  195. package/dist/features/ui/context-menu/context-menu-styled.js +14 -28
  196. package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
  197. package/dist/features/ui/context-menu/context-menu.js +19 -32
  198. package/dist/features/ui/context-menu/context-menu.js.map +1 -1
  199. package/dist/features/ui/image/image.js +12 -12
  200. package/dist/features/ui/image/image.js.map +1 -1
  201. package/dist/features/ui/lottie-animation/helper.js +6 -5
  202. package/dist/features/ui/lottie-animation/helper.js.map +1 -1
  203. package/dist/features/ui/lottie-animation/lottie-animation.js +37 -28
  204. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  205. package/dist/features/ui/text/text.js +29 -27
  206. package/dist/features/ui/text/text.js.map +1 -1
  207. package/dist/features/ui/theme/button.js +107 -22
  208. package/dist/features/ui/theme/button.js.map +1 -1
  209. package/dist/index.d.ts +201 -280
  210. package/dist/index.js +506 -500
  211. package/dist/index.js.map +1 -1
  212. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +332 -0
  213. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  214. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +370 -0
  215. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  216. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +252 -0
  217. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +1 -0
  218. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +24 -0
  219. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +1 -0
  220. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +192 -0
  221. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  222. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +19 -0
  223. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  224. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +129 -0
  225. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  226. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +129 -0
  227. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  228. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  229. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  230. package/dist/node_modules/date-fns/subYears.js +9 -0
  231. package/dist/node_modules/date-fns/subYears.js.map +1 -0
  232. package/dist/node_modules/react-datepicker/dist/index.es.js +2700 -0
  233. package/dist/node_modules/react-datepicker/dist/index.es.js.map +1 -0
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +8 -0
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +518 -0
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +60 -0
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +53 -0
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +19 -0
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +12 -0
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +21 -0
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +11 -0
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +1 -0
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +10 -0
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +1 -0
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +10 -0
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +1 -0
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +11 -0
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +1 -0
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +21 -0
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +1 -0
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +9 -0
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +1 -0
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +9 -0
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +1 -0
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +9 -0
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +1 -0
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +9 -0
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +1 -0
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +10 -0
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +1 -0
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +9 -0
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +1 -0
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +17 -0
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +14 -0
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +1 -0
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +15 -0
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +1 -0
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +14 -0
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +1 -0
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +23 -0
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +1 -0
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +10 -0
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +1 -0
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +10 -0
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +1 -0
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +12 -0
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +1 -0
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +10 -0
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +1 -0
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +60 -0
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +1 -0
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +9 -0
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +1 -0
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +9 -0
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +1 -0
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +12 -0
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +1 -0
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +11 -0
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +1 -0
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +9 -0
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +1 -0
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +9 -0
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +1 -0
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +10 -0
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +1 -0
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +13 -0
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +1 -0
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +16 -0
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +1 -0
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +9 -0
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +1 -0
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +9 -0
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +1 -0
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +10 -0
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +1 -0
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +9 -0
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +1 -0
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +9 -0
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +1 -0
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +13 -0
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +1 -0
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +18 -0
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +1 -0
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +9 -0
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +1 -0
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +9 -0
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +1 -0
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +9 -0
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +1 -0
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +8 -0
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +1 -0
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +9 -0
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +1 -0
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +15 -0
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +1 -0
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +14 -0
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +1 -0
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +15 -0
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +1 -0
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +14 -0
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +1 -0
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +10 -0
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +1 -0
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +13 -0
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +1 -0
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +32 -0
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +156 -0
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +111 -0
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +22 -0
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +1 -0
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +15 -0
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +1 -0
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +15 -0
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +1 -0
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +23 -0
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +1 -0
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +42 -0
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +1 -0
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +50 -0
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +1 -0
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +50 -0
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +1 -0
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +50 -0
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +1 -0
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +62 -0
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +1 -0
  382. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
  383. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +1 -0
  384. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +46 -0
  385. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +1 -0
  386. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +50 -0
  387. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +1 -0
  388. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +31 -0
  389. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +1 -0
  390. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +22 -0
  391. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +1 -0
  392. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +23 -0
  393. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +1 -0
  394. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +33 -0
  395. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +1 -0
  396. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +33 -0
  397. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +1 -0
  398. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +34 -0
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +1 -0
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +1 -0
  402. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +100 -0
  403. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +1 -0
  404. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +49 -0
  405. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +1 -0
  406. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +49 -0
  407. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +1 -0
  408. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +50 -0
  409. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +1 -0
  410. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +41 -0
  411. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +1 -0
  412. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +75 -0
  413. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +1 -0
  414. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +49 -0
  415. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +1 -0
  416. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +70 -0
  417. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +1 -0
  418. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +33 -0
  419. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +1 -0
  420. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +72 -0
  421. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +1 -0
  422. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
  423. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +1 -0
  424. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +33 -0
  425. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +1 -0
  426. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +75 -0
  427. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +1 -0
  428. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +72 -0
  429. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +1 -0
  430. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
  431. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +1 -0
  432. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +23 -0
  433. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +1 -0
  434. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +23 -0
  435. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +1 -0
  436. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +50 -0
  437. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +1 -0
  438. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +68 -0
  439. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +1 -0
  440. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +104 -0
  441. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +1 -0
  442. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +88 -0
  443. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +1 -0
  444. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +123 -0
  445. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +1 -0
  446. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +13 -0
  447. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +1 -0
  448. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +10 -0
  449. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +1 -0
  450. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +12 -0
  451. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +1 -0
  452. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +11 -0
  453. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +1 -0
  454. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +10 -0
  455. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +1 -0
  456. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +14 -0
  457. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +1 -0
  458. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +11 -0
  459. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +1 -0
  460. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +10 -0
  461. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +1 -0
  462. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +11 -0
  463. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +1 -0
  464. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +11 -0
  465. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +1 -0
  466. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +10 -0
  467. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +1 -0
  468. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +9 -0
  469. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +1 -0
  470. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +12 -0
  471. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
  472. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +10 -0
  473. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +1 -0
  474. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +10 -0
  475. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +1 -0
  476. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +12 -0
  477. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +1 -0
  478. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +14 -0
  479. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +1 -0
  480. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +10 -0
  481. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +1 -0
  482. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +9 -0
  483. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +1 -0
  484. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +9 -0
  485. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +1 -0
  486. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +9 -0
  487. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +1 -0
  488. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +9 -0
  489. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +1 -0
  490. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +9 -0
  491. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +1 -0
  492. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +9 -0
  493. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +1 -0
  494. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +19 -0
  495. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +1 -0
  496. package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
  497. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  498. package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
  499. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  500. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
  501. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  502. package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
  503. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  504. package/dist/static/avatar-selected.860ee923.json +1 -0
  505. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +1 -0
  506. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +1 -0
  507. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  508. package/dist/static/dob.9ce3c15b.json +1 -0
  509. package/dist/static/grade.b3730524.json +1 -0
  510. package/dist/static/key.d6846476.json +1 -0
  511. package/dist/static/mail.c30e8708.json +1 -0
  512. package/dist/static/otp.2d08f874.json +1 -0
  513. package/dist/static/otp.a3029760.json +1 -0
  514. package/dist/static/parent-avatar.772d53e0.json +1 -0
  515. package/dist/static/phone-number.0be312ea.json +1 -0
  516. package/dist/static/phone-number.84f55562.json +1 -0
  517. package/dist/static/student-avatar.524226bd.json +1 -0
  518. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +1 -0
  519. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +1 -0
  520. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +1 -0
  521. package/dist/static/username.9e034d51.json +1 -0
  522. package/package.json +3 -2
  523. package/dist/assets/line-icons/icons/alarm.js +0 -41
  524. package/dist/assets/line-icons/icons/alarm.js.map +0 -1
  525. package/dist/assets/line-icons/icons/dart.js +0 -23
  526. package/dist/assets/line-icons/icons/dart.js.map +0 -1
  527. package/dist/assets/line-icons/icons/exclamation.js +0 -26
  528. package/dist/assets/line-icons/icons/exclamation.js.map +0 -1
  529. package/dist/assets/line-icons/icons/home2.js +0 -25
  530. package/dist/assets/line-icons/icons/home2.js.map +0 -1
  531. package/dist/assets/line-icons/icons/important.js +0 -23
  532. package/dist/assets/line-icons/icons/important.js.map +0 -1
  533. package/dist/assets/line-icons/icons/puzzle.js +0 -25
  534. package/dist/assets/line-icons/icons/puzzle.js.map +0 -1
  535. package/dist/assets/line-icons/icons/recap.js +0 -32
  536. package/dist/assets/line-icons/icons/recap.js.map +0 -1
  537. package/dist/assets/line-icons/icons/skip-colored.js +0 -43
  538. package/dist/assets/line-icons/icons/skip-colored.js.map +0 -1
  539. package/dist/assets/line-icons/icons/status.js +0 -41
  540. package/dist/assets/line-icons/icons/status.js.map +0 -1
  541. package/dist/assets/line-icons/icons/testtube.js +0 -33
  542. package/dist/assets/line-icons/icons/testtube.js.map +0 -1
  543. package/dist/features/chapters-v2/api/chapter.js +0 -10
  544. package/dist/features/chapters-v2/api/chapter.js.map +0 -1
  545. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +0 -112
  546. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +0 -1
  547. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +0 -26
  548. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +0 -1
  549. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +0 -73
  550. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +0 -1
  551. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +0 -90
  552. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +0 -1
  553. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +0 -97
  554. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +0 -1
  555. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +0 -52
  556. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +0 -1
  557. package/dist/features/chapters-v2/chapter-details/chapter-details.js +0 -103
  558. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +0 -1
  559. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js +0 -13
  560. package/dist/features/chapters-v2/comps/node-card/border-path-animation.js.map +0 -1
  561. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +0 -153
  562. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +0 -1
  563. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +0 -16
  564. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +0 -1
  565. package/dist/features/chapters-v2/comps/node-card/node-card.js +0 -12
  566. package/dist/features/chapters-v2/comps/node-card/node-card.js.map +0 -1
  567. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +0 -32
  568. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +0 -1
  569. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +0 -31
  570. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +0 -1
  571. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +0 -171
  572. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +0 -1
  573. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +0 -192
  574. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +0 -1
  575. package/dist/features/chapters-v2/comps/tag/tag-styled.js +0 -13
  576. package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +0 -1
  577. package/dist/features/chapters-v2/comps/tag/tag.js +0 -28
  578. package/dist/features/chapters-v2/comps/tag/tag.js.map +0 -1
  579. package/dist/features/chapters-v2/constants/block-constants.js +0 -20
  580. package/dist/features/chapters-v2/constants/block-constants.js.map +0 -1
  581. package/dist/features/chapters-v2/constants/node-constants.js +0 -14
  582. package/dist/features/chapters-v2/constants/node-constants.js.map +0 -1
  583. package/dist/features/chapters-v2/utils/index.js +0 -41
  584. package/dist/features/chapters-v2/utils/index.js.map +0 -1
  585. package/dist/features/chapters-v2/utils/node-card-utils.js +0 -144
  586. package/dist/features/chapters-v2/utils/node-card-utils.js.map +0 -1
  587. package/dist/features/homework/card-menu-options.js +0 -38
  588. package/dist/features/homework/card-menu-options.js.map +0 -1
  589. package/dist/features/homework/card-title.js +0 -15
  590. package/dist/features/homework/card-title.js.map +0 -1
  591. package/dist/features/homework/homework-card-view.js +0 -131
  592. package/dist/features/homework/homework-card-view.js.map +0 -1
  593. package/dist/features/homework/homework-card.js +0 -206
  594. package/dist/features/homework/homework-card.js.map +0 -1
  595. package/dist/features/homework/hw-card-list/api/get-homeworks.js +0 -10
  596. package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +0 -1
  597. package/dist/features/homework/hw-card-list/hw-card-list-styled.js +0 -71
  598. package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +0 -1
  599. package/dist/features/homework/hw-card-list/hw-card-list.js +0 -182
  600. package/dist/features/homework/hw-card-list/hw-card-list.js.map +0 -1
  601. package/dist/features/homework/node-progress.js +0 -29
  602. package/dist/features/homework/node-progress.js.map +0 -1
  603. package/dist/features/homework/styles.js +0 -130
  604. package/dist/features/homework/styles.js.map +0 -1
  605. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +0 -165
  606. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +0 -1
  607. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +0 -25
  608. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +0 -1
  609. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +0 -85
  610. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +0 -1
  611. package/dist/features/recent-chapters/api/get-recent-chapters.js +0 -9
  612. package/dist/features/recent-chapters/api/get-recent-chapters.js.map +0 -1
  613. package/dist/features/recent-chapters/recent-chapters-styled.js +0 -16
  614. package/dist/features/recent-chapters/recent-chapters-styled.js.map +0 -1
  615. package/dist/features/recent-chapters/recent-chapters.js +0 -34
  616. package/dist/features/recent-chapters/recent-chapters.js.map +0 -1
  617. package/dist/features/sheet-v2/resource-list/resource-list.js +0 -39
  618. package/dist/features/sheet-v2/resource-list/resource-list.js.map +0 -1
  619. package/dist/node_modules/date-fns/differenceInDays.js +0 -17
  620. package/dist/node_modules/date-fns/differenceInDays.js.map +0 -1
  621. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
  622. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
  623. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
  624. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
  625. package/dist/static/chapter-header-bg-2.c8d96894.svg +0 -1
  626. package/dist/static/competitive-arena.b9c40801.json +0 -1
  627. package/dist/static/learn.71b13323.json +0 -1
  628. package/dist/static/node-custom-test-bg.d3b757be.svg +0 -1
  629. package/dist/static/node-learn-bg.b61f815c.svg +0 -1
  630. package/dist/static/node-practice-bg.16cbaf2a.svg +0 -1
  631. package/dist/static/node-project-bg.e6a33e28.svg +0 -1
  632. package/dist/static/node-puzzle-bg.3422135c.svg +0 -1
  633. package/dist/static/node-recap-bg.546154e4.svg +0 -1
  634. package/dist/static/node-test-prep-bg.42c0b9c4.svg +0 -1
  635. package/dist/static/node-video-bg.3df3f73a.svg +0 -1
  636. package/dist/static/practice.158dd488.json +0 -1
  637. package/dist/static/project.eb665827.json +0 -1
  638. package/dist/static/puzzle.b298c7e4.json +0 -1
  639. package/dist/static/recap.0dd2c1e2.json +0 -1
  640. package/dist/static/test.803d6036.json +0 -1
  641. package/dist/static/video.b41451e2.json +0 -1
@@ -1,7 +1,7 @@
1
1
  const _ = {
2
2
  CHAPTER_CROWN_ICON: 4,
3
3
  CHAPTER_PLUS_ICON: 2,
4
- CHAPTER_PROGRESS_SVG: 2,
4
+ CHAPTER_PROGRESS_SVG: 1,
5
5
  LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1,
6
6
  LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2,
7
7
  MODAL: 20,
@@ -1 +1 @@
1
- {"version":3,"file":"z-index.js","sources":["../../../../src/features/ui/constants/z-index.ts"],"sourcesContent":["const ZINDEX = {\n CHAPTER_CROWN_ICON: 4,\n CHAPTER_PLUS_ICON: 2,\n CHAPTER_PROGRESS_SVG: 2,\n LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1,\n LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2,\n MODAL: 20,\n SAT_SUMMARY_SCORE: 25, //* SAT_SUMMARY_SCORE > MODAL\n CANVAS_SCRIBBLING: 26, //* CANVAS_SCRIBBLING > Learnosity\n TILE_CONTAINER: 30, //whiteboard\n QUESTION_TIPS: -1,\n DESMOS_CALCULATOR: 2,\n GOAL_CHAPTER_SHEETS_MENU: 4,\n} as const;\n\nexport { ZINDEX };\n"],"names":["ZINDEX"],"mappings":"AAAA,MAAMA,IAAS;AAAA,EACb,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,iCAAiC;AAAA,EACjC,mCAAmC;AAAA,EACnC,OAAO;AAAA,EACP,mBAAmB;AAAA;AAAA,EACnB,mBAAmB;AAAA;AAAA,EACnB,gBAAgB;AAAA;AAAA,EAChB,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,0BAA0B;AAC5B;"}
1
+ {"version":3,"file":"z-index.js","sources":["../../../../src/features/ui/constants/z-index.ts"],"sourcesContent":["const ZINDEX = {\n CHAPTER_CROWN_ICON: 4,\n CHAPTER_PLUS_ICON: 2,\n CHAPTER_PROGRESS_SVG: 1,\n LPAR_SHEET_ITEM_BOTTOM_DASH_BOX: 1,\n LPAR_SHEET_ITEM_TOP_VERTICAL_ICON: 2,\n MODAL: 20,\n SAT_SUMMARY_SCORE: 25, //* SAT_SUMMARY_SCORE > MODAL\n CANVAS_SCRIBBLING: 26, //* CANVAS_SCRIBBLING > Learnosity\n TILE_CONTAINER: 30, //whiteboard\n QUESTION_TIPS: -1,\n DESMOS_CALCULATOR: 2,\n GOAL_CHAPTER_SHEETS_MENU: 4,\n} as const;\n\nexport { ZINDEX };\n"],"names":["ZINDEX"],"mappings":"AAAA,MAAMA,IAAS;AAAA,EACb,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,iCAAiC;AAAA,EACjC,mCAAmC;AAAA,EACnC,OAAO;AAAA,EACP,mBAAmB;AAAA;AAAA,EACnB,mBAAmB;AAAA;AAAA,EACnB,gBAAgB;AAAA;AAAA,EAChB,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,0BAA0B;AAC5B;"}
@@ -1,41 +1,27 @@
1
- import o from "styled-components";
2
- const d = o.div`
3
- width: auto;
1
+ import e from "styled-components";
2
+ const s = e.div`
3
+ width: fit-content;
4
4
  height: fit-content;
5
5
  position: relative;
6
6
  border-radius: 50%;
7
- `, f = o.div(
8
- ({
9
- $visible: t,
10
- $menuOffset: a,
11
- $startLeft: i,
12
- $menuZIndex: s,
13
- $placeTop: e,
14
- $menuWidth: r,
15
- $menuWidthX: n,
16
- theme: p
17
- }) => {
18
- const { layout: u } = p;
19
- return `
7
+ `, p = e.div(
8
+ ({ $visible: t, $menuOffset: o, $startLeft: n, $menuZIndex: i, $placeTop: r }) => `
20
9
  position: absolute;
21
- width: ${r ? `${r}` : "auto"}${typeof r == "number" ? "px" : ""};
22
- ${n ? `width: ${n * u.gutter}px;` : ""}
23
- top: calc(${e ? "0% -" : "100% +"} ${a ?? 0}px);
24
- ${i ? "left: 0" : "right: 0"};
25
- z-index: ${s ?? "unset"};
10
+ top: calc(${r ? "0% -" : "100% +"} ${o ?? 0}px);
11
+ ${n ? "left: 0" : "right: 0"};
12
+ z-index: ${i ?? "unset"};
26
13
 
27
14
  transform-origin: top;
28
- transform: scaleY(${t ? 1 : 0}) rotate(${e ? 180 : 0}deg);
15
+ transform: scaleY(${t ? 1 : 0}) rotate(${r ? 180 : 0}deg);
29
16
  opacity: ${t ? 1 : 0};
30
17
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
31
- `;
32
- }
33
- ), $ = o.div(({ $placeTop: t }) => `
18
+ `
19
+ ), d = e.div(({ $placeTop: t }) => `
34
20
  transform: rotate(${t ? 180 : 0}deg);
35
21
  `);
36
22
  export {
37
- $ as MenuElementWrapper,
38
- f as OptionsMenuWrapper,
39
- d as TargetElementWrapper
23
+ d as MenuElementWrapper,
24
+ p as OptionsMenuWrapper,
25
+ s as TargetElementWrapper
40
26
  };
41
27
  //# sourceMappingURL=context-menu-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-menu-styled.js","sources":["../../../../src/features/ui/context-menu/context-menu-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nconst TargetElementWrapper = styled.div`\n width: auto;\n height: fit-content;\n position: relative;\n border-radius: 50%;\n`;\n\ninterface IOptionsMenuWrapperProps {\n $visible: boolean;\n $startLeft?: boolean;\n $menuOffset?: number;\n $menuZIndex?: number;\n $placeTop?: boolean;\n $menuWidth?: number | string;\n $menuWidthX?: number;\n}\n\nconst OptionsMenuWrapper = styled.div<IOptionsMenuWrapperProps>(\n ({\n $visible,\n $menuOffset,\n $startLeft,\n $menuZIndex,\n $placeTop,\n $menuWidth,\n $menuWidthX,\n theme,\n }) => {\n const { layout } = theme;\n\n return `\n position: absolute;\n width: ${$menuWidth ? `${$menuWidth}` : 'auto'}${typeof $menuWidth === 'number' ? 'px' : ''};\n ${$menuWidthX ? `width: ${$menuWidthX * layout.gutter}px;` : ''}\n top: calc(${$placeTop ? '0% -' : '100% +'} ${$menuOffset ?? 0}px);\n ${$startLeft ? 'left: 0' : 'right: 0'};\n z-index: ${$menuZIndex ?? 'unset'};\n\n transform-origin: top;\n transform: scaleY(${$visible ? 1 : 0}) rotate(${$placeTop ? 180 : 0}deg);\n opacity: ${$visible ? 1 : 0};\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n `;\n },\n);\n\ninterface IMenuElementWrapperProps {\n $placeTop?: boolean;\n}\n\nconst MenuElementWrapper = styled.div<IMenuElementWrapperProps>(({ $placeTop }) => {\n return `\n transform: rotate(${$placeTop ? 180 : 0}deg);\n `;\n});\n\nexport { TargetElementWrapper, OptionsMenuWrapper, MenuElementWrapper };\n"],"names":["TargetElementWrapper","styled","OptionsMenuWrapper","$visible","$menuOffset","$startLeft","$menuZIndex","$placeTop","$menuWidth","$menuWidthX","theme","layout","MenuElementWrapper"],"mappings":";AAEA,MAAMA,IAAuBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GAiB9BC,IAAqBD,EAAO;AAAA,EAChC,CAAC;AAAA,IACC,UAAAE;AAAA,IACA,aAAAC;AAAA,IACA,YAAAC;AAAA,IACA,aAAAC;AAAA,IACA,WAAAC;AAAA,IACA,YAAAC;AAAA,IACA,aAAAC;AAAA,IACA,OAAAC;AAAA,EAAA,MACI;AACE,UAAA,EAAE,QAAAC,EAAW,IAAAD;AAEZ,WAAA;AAAA;AAAA,aAEEF,IAAa,GAAGA,CAAU,KAAK,MAAM,GAAG,OAAOA,KAAe,WAAW,OAAO,EAAE;AAAA,MACzFC,IAAc,UAAUA,IAAcE,EAAO,MAAM,QAAQ,EAAE;AAAA,gBACnDJ,IAAY,SAAS,QAAQ,IAAIH,KAAe,CAAC;AAAA,MAC3DC,IAAa,YAAY,UAAU;AAAA,eAC1BC,KAAe,OAAO;AAAA;AAAA;AAAA,wBAGbH,IAAW,IAAI,CAAC,YAAYI,IAAY,MAAM,CAAC;AAAA,eACxDJ,IAAW,IAAI,CAAC;AAAA;AAAA;AAAA,EAG7B;AACF,GAMMS,IAAqBX,EAAO,IAA8B,CAAC,EAAE,WAAAM,QAC1D;AAAA,wBACeA,IAAY,MAAM,CAAC;AAAA,GAE1C;"}
1
+ {"version":3,"file":"context-menu-styled.js","sources":["../../../../src/features/ui/context-menu/context-menu-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nconst TargetElementWrapper = styled.div`\n width: fit-content;\n height: fit-content;\n position: relative;\n border-radius: 50%;\n`;\n\ninterface IOptionsMenuWrapperProps {\n $visible: boolean;\n $startLeft?: boolean;\n $menuOffset?: number;\n $menuZIndex?: number;\n $placeTop?: boolean;\n}\n\nconst OptionsMenuWrapper = styled.div<IOptionsMenuWrapperProps>(\n ({ $visible, $menuOffset, $startLeft, $menuZIndex, $placeTop }) => {\n return `\n position: absolute;\n top: calc(${$placeTop ? '0% -' : '100% +'} ${$menuOffset ?? 0}px);\n ${$startLeft ? 'left: 0' : 'right: 0'};\n z-index: ${$menuZIndex ?? 'unset'};\n\n transform-origin: top;\n transform: scaleY(${$visible ? 1 : 0}) rotate(${$placeTop ? 180 : 0}deg);\n opacity: ${$visible ? 1 : 0};\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n `;\n },\n);\n\ninterface IMenuElementWrapperProps {\n $placeTop?: boolean;\n}\n\nconst MenuElementWrapper = styled.div<IMenuElementWrapperProps>(({ $placeTop }) => {\n return `\n transform: rotate(${$placeTop ? 180 : 0}deg);\n `;\n});\n\nexport { TargetElementWrapper, OptionsMenuWrapper, MenuElementWrapper };\n"],"names":["TargetElementWrapper","styled","OptionsMenuWrapper","$visible","$menuOffset","$startLeft","$menuZIndex","$placeTop","MenuElementWrapper"],"mappings":";AAEA,MAAMA,IAAuBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GAe9BC,IAAqBD,EAAO;AAAA,EAChC,CAAC,EAAE,UAAAE,GAAU,aAAAC,GAAa,YAAAC,GAAY,aAAAC,GAAa,WAAAC,QAC1C;AAAA;AAAA,gBAEKA,IAAY,SAAS,QAAQ,IAAIH,KAAe,CAAC;AAAA,MAC3DC,IAAa,YAAY,UAAU;AAAA,eAC1BC,KAAe,OAAO;AAAA;AAAA;AAAA,wBAGbH,IAAW,IAAI,CAAC,YAAYI,IAAY,MAAM,CAAC;AAAA,eACxDJ,IAAW,IAAI,CAAC;AAAA;AAAA;AAI/B,GAMMK,IAAqBP,EAAO,IAA8B,CAAC,EAAE,WAAAM,QAC1D;AAAA,wBACeA,IAAY,MAAM,CAAC;AAAA,GAE1C;"}
@@ -1,42 +1,29 @@
1
- import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
- import { memo as $, useRef as d } from "react";
3
- import x from "../hooks/use-context-menu-click-handler.js";
1
+ import { jsxs as u, jsx as r } from "react/jsx-runtime";
2
+ import { memo as a, useRef as f, isValidElement as d, cloneElement as x } from "react";
3
+ import $ from "../hooks/use-context-menu-click-handler.js";
4
4
  import { TargetElementWrapper as C, OptionsMenuWrapper as M, MenuElementWrapper as h } from "./context-menu-styled.js";
5
- const W = $(
6
- ({
7
- targetElement: r,
8
- menuElement: o,
9
- menuOffset: i,
10
- startLeft: m,
11
- menuZIndex: u,
12
- placeTop: e,
13
- menuWidth: l,
14
- menuWidthX: s,
15
- handleOnMenuClick: p
16
- }) => {
17
- const n = d(null), { menuVisible: c, onMenuClick: f } = x(
18
- n,
19
- p
20
- );
21
- return /* @__PURE__ */ a(C, { ref: n, onClick: f, children: [
22
- r,
23
- /* @__PURE__ */ t(
5
+ const k = a(
6
+ ({ targetElement: e, menuElement: i, menuOffset: l, startLeft: s, menuZIndex: m, placeTop: n }) => {
7
+ const t = f(null), { menuVisible: o, onMenuClick: c } = $(t), p = d(e) ? x(e, {
8
+ menuVisible: o
9
+ }) : e;
10
+ return /* @__PURE__ */ u(C, { ref: t, onClick: c, children: [
11
+ p,
12
+ /* @__PURE__ */ r(
24
13
  M,
25
14
  {
26
- $menuOffset: i,
27
- $visible: c,
28
- $startLeft: m,
29
- $menuZIndex: u,
30
- $placeTop: e,
31
- $menuWidth: l,
32
- $menuWidthX: s,
33
- children: /* @__PURE__ */ t(h, { $placeTop: e, children: o })
15
+ $menuOffset: l,
16
+ $visible: o,
17
+ $startLeft: s,
18
+ $menuZIndex: m,
19
+ $placeTop: n,
20
+ children: /* @__PURE__ */ r(h, { $placeTop: n, children: i })
34
21
  }
35
22
  )
36
23
  ] });
37
24
  }
38
- ), O = W;
25
+ ), j = k;
39
26
  export {
40
- O as default
27
+ j as default
41
28
  };
42
29
  //# sourceMappingURL=context-menu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-menu.js","sources":["../../../../src/features/ui/context-menu/context-menu.tsx"],"sourcesContent":["import type { IContextMenuProps } from './context-menu-types';\nimport type { FC } from 'react';\n\nimport { memo, useRef } from 'react';\n\nimport useContextMenuClickHandler from '../hooks/use-context-menu-click-handler';\nimport * as Styled from './context-menu-styled';\n\nconst ContextMenu: FC<IContextMenuProps> = memo(\n ({\n targetElement,\n menuElement,\n menuOffset,\n startLeft,\n menuZIndex,\n placeTop,\n menuWidth,\n menuWidthX,\n handleOnMenuClick,\n }) => {\n const containerRef = useRef<HTMLDivElement>(null);\n\n const { menuVisible, onMenuClick } = useContextMenuClickHandler(\n containerRef,\n handleOnMenuClick,\n );\n\n return (\n <Styled.TargetElementWrapper ref={containerRef} onClick={onMenuClick}>\n {targetElement}\n\n <Styled.OptionsMenuWrapper\n $menuOffset={menuOffset}\n $visible={menuVisible}\n $startLeft={startLeft}\n $menuZIndex={menuZIndex}\n $placeTop={placeTop}\n $menuWidth={menuWidth}\n $menuWidthX={menuWidthX}\n >\n <Styled.MenuElementWrapper $placeTop={placeTop}>{menuElement}</Styled.MenuElementWrapper>\n </Styled.OptionsMenuWrapper>\n </Styled.TargetElementWrapper>\n );\n },\n);\n\nexport default ContextMenu;\n"],"names":["ContextMenu","memo","targetElement","menuElement","menuOffset","startLeft","menuZIndex","placeTop","menuWidth","menuWidthX","handleOnMenuClick","containerRef","useRef","menuVisible","onMenuClick","useContextMenuClickHandler","Styled.TargetElementWrapper","jsx","Styled.OptionsMenuWrapper","Styled.MenuElementWrapper","ContextMenu$1"],"mappings":";;;;AAQA,MAAMA,IAAqCC;AAAA,EACzC,CAAC;AAAA,IACC,eAAAC;AAAA,IACA,aAAAC;AAAA,IACA,YAAAC;AAAA,IACA,WAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC;AAAA,IACA,YAAAC;AAAA,IACA,mBAAAC;AAAA,EAAA,MACI;AACE,UAAAC,IAAeC,EAAuB,IAAI,GAE1C,EAAE,aAAAC,GAAa,aAAAC,EAAA,IAAgBC;AAAA,MACnCJ;AAAA,MACAD;AAAA,IAAA;AAGF,6BACGM,GAAA,EAA4B,KAAKL,GAAc,SAASG,GACtD,UAAA;AAAA,MAAAZ;AAAA,MAED,gBAAAe;AAAA,QAACC;AAAAA,QAAA;AAAA,UACC,aAAad;AAAA,UACb,UAAUS;AAAA,UACV,YAAYR;AAAA,UACZ,aAAaC;AAAA,UACb,WAAWC;AAAA,UACX,YAAYC;AAAA,UACZ,aAAaC;AAAA,UAEb,4BAACU,GAAA,EAA0B,WAAWZ,GAAW,UAAYJ,GAAA;AAAA,QAAA;AAAA,MAC/D;AAAA,IACF,EAAA,CAAA;AAAA,EAEJ;AACF,GAEAiB,IAAepB;"}
1
+ {"version":3,"file":"context-menu.js","sources":["../../../../src/features/ui/context-menu/context-menu.tsx"],"sourcesContent":["import type { IContextMenuProps } from './context-menu-types';\nimport type { FC } from 'react';\n\nimport { cloneElement, isValidElement, memo, useRef } from 'react';\n\nimport useContextMenuClickHandler from '../hooks/use-context-menu-click-handler';\nimport * as Styled from './context-menu-styled';\n\nconst ContextMenu: FC<IContextMenuProps> = memo(\n ({ targetElement, menuElement, menuOffset, startLeft, menuZIndex, placeTop }) => {\n const containerRef = useRef<HTMLDivElement>(null);\n\n const { menuVisible, onMenuClick } = useContextMenuClickHandler(containerRef);\n\n const enhancedTargetElement = isValidElement(targetElement)\n ? cloneElement(targetElement as React.ReactElement<{ menuVisible?: boolean }>, {\n menuVisible,\n })\n : targetElement;\n\n return (\n <Styled.TargetElementWrapper ref={containerRef} onClick={onMenuClick}>\n {enhancedTargetElement}\n\n <Styled.OptionsMenuWrapper\n $menuOffset={menuOffset}\n $visible={menuVisible}\n $startLeft={startLeft}\n $menuZIndex={menuZIndex}\n $placeTop={placeTop}\n >\n <Styled.MenuElementWrapper $placeTop={placeTop}>{menuElement}</Styled.MenuElementWrapper>\n </Styled.OptionsMenuWrapper>\n </Styled.TargetElementWrapper>\n );\n },\n);\n\nexport default ContextMenu;\n"],"names":["ContextMenu","memo","targetElement","menuElement","menuOffset","startLeft","menuZIndex","placeTop","containerRef","useRef","menuVisible","onMenuClick","useContextMenuClickHandler","enhancedTargetElement","isValidElement","cloneElement","Styled.TargetElementWrapper","jsx","Styled.OptionsMenuWrapper","Styled.MenuElementWrapper","ContextMenu$1"],"mappings":";;;;AAQA,MAAMA,IAAqCC;AAAA,EACzC,CAAC,EAAE,eAAAC,GAAe,aAAAC,GAAa,YAAAC,GAAY,WAAAC,GAAW,YAAAC,GAAY,UAAAC,QAAe;AACzE,UAAAC,IAAeC,EAAuB,IAAI,GAE1C,EAAE,aAAAC,GAAa,aAAAC,EAAY,IAAIC,EAA2BJ,CAAY,GAEtEK,IAAwBC,EAAeZ,CAAa,IACtDa,EAAab,GAAgE;AAAA,MAC3E,aAAAQ;AAAA,IACD,CAAA,IACDR;AAEJ,6BACGc,GAAA,EAA4B,KAAKR,GAAc,SAASG,GACtD,UAAA;AAAA,MAAAE;AAAA,MAED,gBAAAI;AAAA,QAACC;AAAAA,QAAA;AAAA,UACC,aAAad;AAAA,UACb,UAAUM;AAAA,UACV,YAAYL;AAAA,UACZ,aAAaC;AAAA,UACb,WAAWC;AAAA,UAEX,4BAACY,GAAA,EAA0B,WAAWZ,GAAW,UAAYJ,GAAA;AAAA,QAAA;AAAA,MAC/D;AAAA,IACF,EAAA,CAAA;AAAA,EAEJ;AACF,GAEAiB,IAAepB;"}
@@ -1,30 +1,30 @@
1
1
  import { jsxs as h, jsx as e } from "react/jsx-runtime";
2
2
  import { memo as g, useState as f } from "react";
3
3
  import t from "styled-components";
4
- import { skeletonLoadingAnimation as p } from "../constants/style.js";
4
+ import { skeletonLoadingAnimation as c } from "../constants/style.js";
5
5
  import i from "../layout/flex-view.js";
6
- const L = t(i)`
7
- animation: ${p} 2s linear infinite;
6
+ const p = t(i)`
7
+ animation: ${c} 2s linear infinite;
8
8
  position: absolute;
9
9
  left: 0;
10
10
  right: 0;
11
11
  top: 0;
12
12
  bottom: 0;
13
- `, c = t(i)`
13
+ `, L = t(i)`
14
14
  overflow: hidden;
15
15
  position: relative;
16
- `, v = g(
17
- ({ borderRadius: r = 0, borderColor: n, withLoader: a, ...o }) => {
16
+ `, u = g(
17
+ ({ borderRadius: n = 0, borderColor: r, withLoader: a, ...o }) => {
18
18
  const { width: s, height: d } = o, [m, l] = f(!0);
19
19
  return /* @__PURE__ */ h(
20
- c,
20
+ L,
21
21
  {
22
22
  $width: s,
23
23
  $height: d,
24
- $borderColor: n,
25
- $borderRadius: r,
24
+ $borderColor: r,
25
+ $borderRadius: n,
26
26
  children: [
27
- m && a && /* @__PURE__ */ e(L, { $inherit: !0 }),
27
+ m && a && /* @__PURE__ */ e(p, { $inherit: !0 }),
28
28
  /* @__PURE__ */ e("img", { onLoad: () => {
29
29
  l(!1);
30
30
  }, ...o })
@@ -32,8 +32,8 @@ const L = t(i)`
32
32
  }
33
33
  );
34
34
  }
35
- );
35
+ ), F = u;
36
36
  export {
37
- v as default
37
+ F as default
38
38
  };
39
39
  //# sourceMappingURL=image.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"image.js","sources":["../../../../src/features/ui/image/image.tsx"],"sourcesContent":["import type { IImageProps } from './image-types';\n\nimport { useState, memo } from 'react';\nimport styled from 'styled-components';\n\nimport { skeletonLoadingAnimation } from '../constants/style';\nimport FlexView from '../layout/flex-view';\n\nconst LoadingFlexView = styled(FlexView)`\n animation: ${skeletonLoadingAnimation} 2s linear infinite;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n`;\n\nconst ImageWrapper = styled(FlexView)`\n overflow: hidden;\n position: relative;\n`;\n\nconst Image: React.FC<IImageProps> = memo(\n ({ borderRadius = 0, borderColor, withLoader, ...props }) => {\n const { width, height } = props;\n const [isLoading, setIsLoading] = useState(true);\n const handleImgLoaded = () => {\n setIsLoading(false);\n };\n const showLoader = isLoading && withLoader;\n\n return (\n <ImageWrapper\n $width={width}\n $height={height}\n $borderColor={borderColor}\n $borderRadius={borderRadius}\n >\n {showLoader && <LoadingFlexView $inherit={true} />}\n <img onLoad={handleImgLoaded} {...props} />\n </ImageWrapper>\n );\n },\n);\n\nexport default Image;\n"],"names":["LoadingFlexView","styled","FlexView","skeletonLoadingAnimation","ImageWrapper","Image","memo","borderRadius","borderColor","withLoader","props","width","height","isLoading","setIsLoading","useState","jsxs","jsx"],"mappings":";;;;;AAQA,MAAMA,IAAkBC,EAAOC,CAAQ;AAAA,eACxBC,CAAwB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQjCC,IAAeH,EAAOC,CAAQ;AAAA;AAAA;AAAA,GAK9BG,IAA+BC;AAAA,EACnC,CAAC,EAAE,cAAAC,IAAe,GAAG,aAAAC,GAAa,YAAAC,GAAY,GAAGC,QAAY;AACrD,UAAA,EAAE,OAAAC,GAAO,QAAAC,EAAW,IAAAF,GACpB,CAACG,GAAWC,CAAY,IAAIC,EAAS,EAAI;AAO7C,WAAA,gBAAAC;AAAA,MAACZ;AAAA,MAAA;AAAA,QACC,QAAQO;AAAA,QACR,SAASC;AAAA,QACT,cAAcJ;AAAA,QACd,eAAeD;AAAA,QAEd,UAAA;AAAA,UATcM,KAAaJ,KASb,gBAAAQ,EAACjB,GAAgB,EAAA,UAAU,GAAM,CAAA;AAAA,UAC/C,gBAAAiB,EAAA,OAAA,EAAI,QAbe,MAAM;AAC5B,YAAAH,EAAa,EAAK;AAAA,UAAA,GAYe,GAAGJ,EAAO,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAG/C;AACF;"}
1
+ {"version":3,"file":"image.js","sources":["../../../../src/features/ui/image/image.tsx"],"sourcesContent":["import type { IImageProps } from './image-types';\n\nimport { useState, memo } from 'react';\nimport styled from 'styled-components';\n\nimport { skeletonLoadingAnimation } from '../constants/style';\nimport FlexView from '../layout/flex-view';\n\nconst LoadingFlexView = styled(FlexView)`\n animation: ${skeletonLoadingAnimation} 2s linear infinite;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n`;\n\nconst ImageWrapper = styled(FlexView)`\n overflow: hidden;\n position: relative;\n`;\n\nconst Image: React.FC<IImageProps> = memo(\n ({ borderRadius = 0, borderColor, withLoader, ...props }) => {\n const { width, height } = props;\n const [isLoading, setIsLoading] = useState(true);\n const handleImgLoaded = () => {\n setIsLoading(false);\n };\n const showLoader = isLoading && withLoader;\n\n return (\n <ImageWrapper\n $width={width}\n $height={height}\n $borderColor={borderColor}\n $borderRadius={borderRadius}\n >\n {showLoader && <LoadingFlexView $inherit={true} />}\n <img onLoad={handleImgLoaded} {...props} />\n </ImageWrapper>\n );\n },\n);\n\nexport default Image;\n"],"names":["LoadingFlexView","styled","FlexView","skeletonLoadingAnimation","ImageWrapper","Image","memo","borderRadius","borderColor","withLoader","props","width","height","isLoading","setIsLoading","useState","jsxs","jsx","Image$1"],"mappings":";;;;;AAQA,MAAMA,IAAkBC,EAAOC,CAAQ;AAAA,eACxBC,CAAwB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQjCC,IAAeH,EAAOC,CAAQ;AAAA;AAAA;AAAA,GAK9BG,IAA+BC;AAAA,EACnC,CAAC,EAAE,cAAAC,IAAe,GAAG,aAAAC,GAAa,YAAAC,GAAY,GAAGC,QAAY;AACrD,UAAA,EAAE,OAAAC,GAAO,QAAAC,EAAW,IAAAF,GACpB,CAACG,GAAWC,CAAY,IAAIC,EAAS,EAAI;AAO7C,WAAA,gBAAAC;AAAA,MAACZ;AAAA,MAAA;AAAA,QACC,QAAQO;AAAA,QACR,SAASC;AAAA,QACT,cAAcJ;AAAA,QACd,eAAeD;AAAA,QAEd,UAAA;AAAA,UATcM,KAAaJ,KASb,gBAAAQ,EAACjB,GAAgB,EAAA,UAAU,GAAM,CAAA;AAAA,UAC/C,gBAAAiB,EAAA,OAAA,EAAI,QAbe,MAAM;AAC5B,YAAAH,EAAa,EAAK;AAAA,UAAA,GAYe,GAAGJ,EAAO,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAG/C;AACF,GAEAQ,IAAeb;"}
@@ -1,13 +1,14 @@
1
- const c = async (o) => {
1
+ const o = /* @__PURE__ */ new Map(), h = async (t) => {
2
+ if (o.has(t)) return o.get(t);
2
3
  let e = null;
3
4
  try {
4
- e = await fetch(o).then((t) => t.json()).catch(() => null);
5
- } catch (t) {
6
- console.log("Error while fetching the lottie: ", t);
5
+ e = await fetch(t).then((n) => n.json()).catch(() => null), e && o.set(t, e);
6
+ } catch (n) {
7
+ console.log("Error while fetching the lottie: ", n);
7
8
  }
8
9
  return e;
9
10
  };
10
11
  export {
11
- c as fetchLottie
12
+ h as fetchLottie
12
13
  };
13
14
  //# sourceMappingURL=helper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper.js","sources":["../../../../src/features/ui/lottie-animation/helper.ts"],"sourcesContent":["import type { AnimationItem } from 'lottie-web';\n\nexport const fetchLottie = async (lottieSrc: string): Promise<AnimationItem | null> => {\n let lottieJson: AnimationItem | null = null;\n\n try {\n lottieJson = await fetch(lottieSrc)\n .then(res => res.json())\n .catch(() => null);\n } catch (error) {\n /* eslint-disable no-console */\n console.log('Error while fetching the lottie: ', error);\n }\n\n return lottieJson;\n};\n"],"names":["fetchLottie","lottieSrc","lottieJson","res","error"],"mappings":"AAEa,MAAAA,IAAc,OAAOC,MAAqD;AACrF,MAAIC,IAAmC;AAEnC,MAAA;AACF,IAAAA,IAAa,MAAM,MAAMD,CAAS,EAC/B,KAAK,CAAAE,MAAOA,EAAI,KAAA,CAAM,EACtB,MAAM,MAAM,IAAI;AAAA,WACZC,GAAO;AAEN,YAAA,IAAI,qCAAqCA,CAAK;AAAA,EACxD;AAEO,SAAAF;AACT;"}
1
+ {"version":3,"file":"helper.js","sources":["../../../../src/features/ui/lottie-animation/helper.ts"],"sourcesContent":["import type { AnimationItem } from 'lottie-web';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst lottieCache = new Map<string, any>();\n\nexport const fetchLottie = async (lottieSrc: string): Promise<AnimationItem | null> => {\n if (lottieCache.has(lottieSrc)) return lottieCache.get(lottieSrc);\n\n let lottieJson: AnimationItem | null = null;\n\n try {\n lottieJson = await fetch(lottieSrc)\n .then(res => res.json())\n .catch(() => null);\n if (lottieJson) {\n lottieCache.set(lottieSrc, lottieJson);\n }\n } catch (error) {\n /* eslint-disable no-console */\n console.log('Error while fetching the lottie: ', error);\n }\n\n return lottieJson;\n};\n"],"names":["lottieCache","fetchLottie","lottieSrc","lottieJson","res","error"],"mappings":"AAGA,MAAMA,wBAAkB,OAEXC,IAAc,OAAOC,MAAqD;AACrF,MAAIF,EAAY,IAAIE,CAAS,EAAU,QAAAF,EAAY,IAAIE,CAAS;AAEhE,MAAIC,IAAmC;AAEnC,MAAA;AACF,IAAAA,IAAa,MAAM,MAAMD,CAAS,EAC/B,KAAK,CAAAE,MAAOA,EAAI,KAAA,CAAM,EACtB,MAAM,MAAM,IAAI,GACfD,KACUH,EAAA,IAAIE,GAAWC,CAAU;AAAA,WAEhCE,GAAO;AAEN,YAAA,IAAI,qCAAqCA,CAAK;AAAA,EACxD;AAEO,SAAAF;AACT;"}
@@ -1,51 +1,60 @@
1
- import { jsx as L } from "react/jsx-runtime";
2
- import w from "lottie-web";
3
- import { memo as y, forwardRef as b, useRef as c, useImperativeHandle as A, useEffect as E } from "react";
1
+ import { jsx as E } from "react/jsx-runtime";
2
+ import g from "lottie-web";
3
+ import { memo as w, forwardRef as y, useRef as u, useImperativeHandle as b, useEffect as A } from "react";
4
4
  import I from "../layout/flex-view.js";
5
5
  import { fetchLottie as $ } from "./helper.js";
6
- const x = b((p, h) => {
6
+ const x = y((v, p) => {
7
7
  const {
8
- src: s,
9
- width: v = "100%",
10
- height: g = "100%",
11
- settings: u,
12
- eventListener: r,
13
- onRender: i,
14
- animateOnIntersect: o
15
- } = p, n = c(null), t = c(null), a = c(null);
16
- return A(
17
- h,
8
+ src: m,
9
+ width: L = "100%",
10
+ height: h = "100%",
11
+ settings: l,
12
+ eventListener: n,
13
+ onRender: a,
14
+ animateOnIntersect: c
15
+ } = v, o = u(null), r = u(null), s = u(null);
16
+ return b(
17
+ p,
18
18
  () => ({
19
- playSegments: (m, e) => {
20
- t.current && t.current.playSegments(m, e);
19
+ playSegments: (i, e) => {
20
+ var t;
21
+ return (t = r.current) == null ? void 0 : t.playSegments(i, e);
22
+ },
23
+ addEventListener: (i, e) => {
24
+ var t;
25
+ return (t = r.current) == null ? void 0 : t.addEventListener(i, e);
26
+ },
27
+ removeEventListener: (i, e) => {
28
+ var t;
29
+ return (t = r.current) == null ? void 0 : t.removeEventListener(i, e);
21
30
  }
22
31
  }),
23
32
  []
24
- ), E(() => ((async () => {
33
+ ), A(() => ((async () => {
25
34
  try {
26
- const e = await $(s);
27
- n.current && (t.current = w.loadAnimation({
28
- container: n.current,
35
+ const e = await $(m);
36
+ o.current && (r.current = g.loadAnimation({
37
+ container: o.current,
29
38
  animationData: e,
30
39
  renderer: "svg",
31
40
  loop: !0,
32
41
  autoplay: !0,
33
- ...u
34
- }), o && (a.current = new IntersectionObserver(
35
- ([l]) => {
42
+ ...l
43
+ }), c && (s.current = new IntersectionObserver(
44
+ ([t]) => {
36
45
  var f, d;
37
- l && l.isIntersecting ? (f = t.current) == null || f.play() : (d = t.current) == null || d.pause();
46
+ t && t.isIntersecting ? (f = r.current) == null || f.play() : (d = r.current) == null || d.pause();
38
47
  },
39
48
  { threshold: 0 }
40
- ), n.current && a.current.observe(n.current)), i == null || i(), r && t.current.addEventListener(r.name, r.callback));
49
+ ), o.current && s.current.observe(o.current)), a == null || a(), n && r.current.addEventListener(n.name, n.callback));
41
50
  } catch (e) {
42
51
  throw Error(`Error loading Lottie animation: ${e}`);
43
52
  }
44
53
  })(), () => {
45
54
  var e;
46
- t.current && (r && t.current.removeEventListener(r.name, r.callback), o && ((e = a.current) == null || e.disconnect()), t.current.destroy());
47
- }), [s, r, i, o, u]), /* @__PURE__ */ L(I, { ref: n, $width: v, $height: g });
48
- }), F = y(x);
55
+ r.current && (n && r.current.removeEventListener(n.name, n.callback), c && ((e = s.current) == null || e.disconnect()), r.current.destroy());
56
+ }), [m, n, a, c, l]), /* @__PURE__ */ E(I, { ref: o, $width: L, $height: h });
57
+ }), F = w(x);
49
58
  export {
50
59
  F as default
51
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"lottie-animation.js","sources":["../../../../src/features/ui/lottie-animation/lottie-animation.tsx"],"sourcesContent":["import type { ILottieAnimationProps, ILottieAnimationRef } from './types';\nimport type { AnimationItem, AnimationSegment } from 'lottie-web';\n\nimport lottie from 'lottie-web';\nimport { forwardRef, memo, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport FlexView from '../layout/flex-view';\nimport { fetchLottie } from './helper';\n\nconst LottieAnimation = forwardRef<ILottieAnimationRef, ILottieAnimationProps>((props, ref) => {\n const {\n src,\n width = '100%',\n height = '100%',\n settings,\n eventListener,\n onRender,\n animateOnIntersect,\n } = props;\n\n const container = useRef<HTMLDivElement>(null);\n const animationInstance = useRef<AnimationItem | null>(null);\n const intersectionObserver = useRef<IntersectionObserver | null>(null);\n\n useImperativeHandle(\n ref,\n () => ({\n playSegments: (segments: AnimationSegment, forceFlag?: boolean) => {\n if (animationInstance.current) {\n animationInstance.current.playSegments(segments, forceFlag);\n }\n },\n }),\n [],\n );\n\n useEffect(() => {\n const loadAnimation = async () => {\n try {\n const animationData = await fetchLottie(src);\n\n if (container.current) {\n animationInstance.current = lottie.loadAnimation({\n container: container.current,\n animationData,\n renderer: 'svg',\n loop: true,\n autoplay: true,\n ...settings,\n });\n\n if (animateOnIntersect) {\n intersectionObserver.current = new IntersectionObserver(\n ([entry]) => {\n if (entry && entry.isIntersecting) {\n animationInstance.current?.play();\n } else {\n animationInstance.current?.pause();\n }\n },\n { threshold: 0 },\n );\n\n if (container.current) {\n intersectionObserver.current.observe(container.current);\n }\n }\n\n onRender?.();\n if (eventListener) {\n animationInstance.current.addEventListener(eventListener.name, eventListener.callback);\n }\n }\n } catch (error) {\n throw Error(`Error loading Lottie animation: ${error}`);\n }\n };\n\n loadAnimation();\n\n return () => {\n if (animationInstance.current) {\n if (eventListener) {\n animationInstance.current.removeEventListener(eventListener.name, eventListener.callback);\n }\n\n if (animateOnIntersect) {\n intersectionObserver.current?.disconnect();\n }\n animationInstance.current.destroy();\n }\n };\n }, [src, eventListener, onRender, animateOnIntersect, settings]);\n\n return <FlexView ref={container} $width={width} $height={height} />;\n});\n\nexport default memo(LottieAnimation);\n"],"names":["LottieAnimation","forwardRef","props","ref","src","width","height","settings","eventListener","onRender","animateOnIntersect","container","useRef","animationInstance","intersectionObserver","useImperativeHandle","segments","forceFlag","useEffect","animationData","fetchLottie","lottie","entry","_a","_b","error","FlexView","LottieAnimation$1","memo"],"mappings":";;;;;AASA,MAAMA,IAAkBC,EAAuD,CAACC,GAAOC,MAAQ;AACvF,QAAA;AAAA,IACJ,KAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,QAAAC,IAAS;AAAA,IACT,UAAAC;AAAA,IACA,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAAC;AAAA,EACE,IAAAR,GAEES,IAAYC,EAAuB,IAAI,GACvCC,IAAoBD,EAA6B,IAAI,GACrDE,IAAuBF,EAAoC,IAAI;AAErE,SAAAG;AAAA,IACEZ;AAAA,IACA,OAAO;AAAA,MACL,cAAc,CAACa,GAA4BC,MAAwB;AACjE,QAAIJ,EAAkB,WACFA,EAAA,QAAQ,aAAaG,GAAUC,CAAS;AAAA,MAE9D;AAAA,IAAA;AAAA,IAEF,CAAC;AAAA,EAAA,GAGHC,EAAU,QACc,YAAY;AAC5B,QAAA;AACI,YAAAC,IAAgB,MAAMC,EAAYhB,CAAG;AAE3C,MAAIO,EAAU,YACME,EAAA,UAAUQ,EAAO,cAAc;AAAA,QAC/C,WAAWV,EAAU;AAAA,QACrB,eAAAQ;AAAA,QACA,UAAU;AAAA,QACV,MAAM;AAAA,QACN,UAAU;AAAA,QACV,GAAGZ;AAAA,MAAA,CACJ,GAEGG,MACFI,EAAqB,UAAU,IAAI;AAAA,QACjC,CAAC,CAACQ,CAAK,MAAM;;AACP,UAAAA,KAASA,EAAM,kBACjBC,IAAAV,EAAkB,YAAlB,QAAAU,EAA2B,UAE3BC,IAAAX,EAAkB,YAAlB,QAAAW,EAA2B;AAAA,QAE/B;AAAA,QACA,EAAE,WAAW,EAAE;AAAA,MAAA,GAGbb,EAAU,WACSG,EAAA,QAAQ,QAAQH,EAAU,OAAO,IAI/CF,KAAA,QAAAA,KACPD,KACFK,EAAkB,QAAQ,iBAAiBL,EAAc,MAAMA,EAAc,QAAQ;AAAA,aAGlFiB,GAAO;AACR,YAAA,MAAM,mCAAmCA,CAAK,EAAE;AAAA,IACxD;AAAA,EAAA,MAKK,MAAM;;AACX,IAAIZ,EAAkB,YAChBL,KACFK,EAAkB,QAAQ,oBAAoBL,EAAc,MAAMA,EAAc,QAAQ,GAGtFE,OACFa,IAAAT,EAAqB,YAArB,QAAAS,EAA8B,eAEhCV,EAAkB,QAAQ;EAC5B,IAED,CAACT,GAAKI,GAAeC,GAAUC,GAAoBH,CAAQ,CAAC,qBAEvDmB,GAAS,EAAA,KAAKf,GAAW,QAAQN,GAAO,SAASC,EAAQ,CAAA;AACnE,CAAC,GAEcqB,IAAAC,EAAK5B,CAAe;"}
1
+ {"version":3,"file":"lottie-animation.js","sources":["../../../../src/features/ui/lottie-animation/lottie-animation.tsx"],"sourcesContent":["import type { ILottieAnimationProps, ILottieAnimationRef } from './types';\nimport type { AnimationEventName, AnimationItem } from 'lottie-web';\n\nimport lottie from 'lottie-web';\nimport { forwardRef, memo, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport FlexView from '../layout/flex-view';\nimport { fetchLottie } from './helper';\n\nconst LottieAnimation = forwardRef<ILottieAnimationRef, ILottieAnimationProps>((props, ref) => {\n const {\n src,\n width = '100%',\n height = '100%',\n settings,\n eventListener,\n onRender,\n animateOnIntersect,\n } = props;\n\n const container = useRef<HTMLDivElement>(null);\n const animationInstance = useRef<AnimationItem | null>(null);\n const intersectionObserver = useRef<IntersectionObserver | null>(null);\n\n useImperativeHandle(\n ref,\n () => ({\n playSegments: (segments: [number, number], forceFlag?: boolean) =>\n animationInstance.current?.playSegments(segments, forceFlag),\n addEventListener: (eventName: string, callback: () => void) =>\n animationInstance.current?.addEventListener(eventName as AnimationEventName, callback),\n removeEventListener: (eventName: string, callback: () => void) =>\n animationInstance.current?.removeEventListener(eventName as AnimationEventName, callback),\n }),\n [],\n );\n\n useEffect(() => {\n const loadAnimation = async () => {\n try {\n const animationData = await fetchLottie(src);\n\n if (container.current) {\n animationInstance.current = lottie.loadAnimation({\n container: container.current,\n animationData,\n renderer: 'svg',\n loop: true,\n autoplay: true,\n ...settings,\n });\n\n if (animateOnIntersect) {\n intersectionObserver.current = new IntersectionObserver(\n ([entry]) => {\n if (entry && entry.isIntersecting) {\n animationInstance.current?.play();\n } else {\n animationInstance.current?.pause();\n }\n },\n { threshold: 0 },\n );\n\n if (container.current) {\n intersectionObserver.current.observe(container.current);\n }\n }\n\n onRender?.();\n if (eventListener) {\n animationInstance.current.addEventListener(eventListener.name, eventListener.callback);\n }\n }\n } catch (error) {\n throw Error(`Error loading Lottie animation: ${error}`);\n }\n };\n\n loadAnimation();\n\n return () => {\n if (animationInstance.current) {\n if (eventListener) {\n animationInstance.current.removeEventListener(eventListener.name, eventListener.callback);\n }\n\n if (animateOnIntersect) {\n intersectionObserver.current?.disconnect();\n }\n animationInstance.current.destroy();\n }\n };\n }, [src, eventListener, onRender, animateOnIntersect, settings]);\n\n return <FlexView ref={container} $width={width} $height={height} />;\n});\n\nexport default memo(LottieAnimation);\n"],"names":["LottieAnimation","forwardRef","props","ref","src","width","height","settings","eventListener","onRender","animateOnIntersect","container","useRef","animationInstance","intersectionObserver","useImperativeHandle","segments","forceFlag","_a","eventName","callback","useEffect","animationData","fetchLottie","lottie","entry","_b","error","FlexView","LottieAnimation$1","memo"],"mappings":";;;;;AASA,MAAMA,IAAkBC,EAAuD,CAACC,GAAOC,MAAQ;AACvF,QAAA;AAAA,IACJ,KAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,QAAAC,IAAS;AAAA,IACT,UAAAC;AAAA,IACA,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAAC;AAAA,EACE,IAAAR,GAEES,IAAYC,EAAuB,IAAI,GACvCC,IAAoBD,EAA6B,IAAI,GACrDE,IAAuBF,EAAoC,IAAI;AAErE,SAAAG;AAAA,IACEZ;AAAA,IACA,OAAO;AAAA,MACL,cAAc,CAACa,GAA4BC,MACzC;;AAAA,gBAAAC,IAAAL,EAAkB,YAAlB,gBAAAK,EAA2B,aAAaF,GAAUC;AAAA;AAAA,MACpD,kBAAkB,CAACE,GAAmBC,MACpC;;AAAA,gBAAAF,IAAAL,EAAkB,YAAlB,gBAAAK,EAA2B,iBAAiBC,GAAiCC;AAAA;AAAA,MAC/E,qBAAqB,CAACD,GAAmBC,MACvC;;AAAA,gBAAAF,IAAAL,EAAkB,YAAlB,gBAAAK,EAA2B,oBAAoBC,GAAiCC;AAAA;AAAA,IAAQ;AAAA,IAE5F,CAAC;AAAA,EAAA,GAGHC,EAAU,QACc,YAAY;AAC5B,QAAA;AACI,YAAAC,IAAgB,MAAMC,EAAYnB,CAAG;AAE3C,MAAIO,EAAU,YACME,EAAA,UAAUW,EAAO,cAAc;AAAA,QAC/C,WAAWb,EAAU;AAAA,QACrB,eAAAW;AAAA,QACA,UAAU;AAAA,QACV,MAAM;AAAA,QACN,UAAU;AAAA,QACV,GAAGf;AAAA,MAAA,CACJ,GAEGG,MACFI,EAAqB,UAAU,IAAI;AAAA,QACjC,CAAC,CAACW,CAAK,MAAM;;AACP,UAAAA,KAASA,EAAM,kBACjBP,IAAAL,EAAkB,YAAlB,QAAAK,EAA2B,UAE3BQ,IAAAb,EAAkB,YAAlB,QAAAa,EAA2B;AAAA,QAE/B;AAAA,QACA,EAAE,WAAW,EAAE;AAAA,MAAA,GAGbf,EAAU,WACSG,EAAA,QAAQ,QAAQH,EAAU,OAAO,IAI/CF,KAAA,QAAAA,KACPD,KACFK,EAAkB,QAAQ,iBAAiBL,EAAc,MAAMA,EAAc,QAAQ;AAAA,aAGlFmB,GAAO;AACR,YAAA,MAAM,mCAAmCA,CAAK,EAAE;AAAA,IACxD;AAAA,EAAA,MAKK,MAAM;;AACX,IAAId,EAAkB,YAChBL,KACFK,EAAkB,QAAQ,oBAAoBL,EAAc,MAAMA,EAAc,QAAQ,GAGtFE,OACFQ,IAAAJ,EAAqB,YAArB,QAAAI,EAA8B,eAEhCL,EAAkB,QAAQ;EAC5B,IAED,CAACT,GAAKI,GAAeC,GAAUC,GAAoBH,CAAQ,CAAC,qBAEvDqB,GAAS,EAAA,KAAKjB,GAAW,QAAQN,GAAO,SAASC,EAAQ,CAAA;AACnE,CAAC,GAEcuB,IAAAC,EAAK9B,CAAe;"}
@@ -1,48 +1,50 @@
1
- import h from "styled-components";
2
- const x = h.div(
1
+ import k from "styled-components";
2
+ const x = k.div(
3
3
  ({
4
- theme: s,
5
- $renderAs: f,
4
+ theme: f,
5
+ $renderAs: c,
6
6
  $color: n,
7
- $align: c = "left",
7
+ $align: y = "left",
8
8
  $width: t,
9
9
  $widthX: o,
10
10
  $marginBottom: e,
11
11
  $marginBottomX: i,
12
12
  $alignSelf: l,
13
- $opacity: y = 1,
14
- $inline: u,
15
- $textDecoration: p
13
+ $opacity: u = 1,
14
+ $inline: m,
15
+ $textDecoration: p,
16
+ $whiteSpace: $
16
17
  }) => {
17
- const { text: m, colors: r, layout: $ } = s, {
18
- fontFamily: b,
19
- fontSize: g,
20
- lineHeight: d,
21
- letterSpacing: a,
22
- textTransform: T = "none"
23
- } = m[f];
18
+ const { text: b, colors: r, layout: a } = f, {
19
+ fontFamily: g,
20
+ fontSize: d,
21
+ lineHeight: T,
22
+ letterSpacing: s,
23
+ textTransform: h = "none"
24
+ } = b[c];
24
25
  return `
25
- display: ${u ? "inline-block" : "block"};
26
- font-family: ${b};
27
- font-size: ${g}px;
28
- text-align: ${c};
29
- line-height: ${d}px;
30
- text-transform: ${T};
31
- ${typeof a == "number" ? `letter-spacing: ${a}px;` : ""}
26
+ display: ${m ? "inline-block" : "block"};
27
+ font-family: ${g};
28
+ font-size: ${d}px;
29
+ text-align: ${y};
30
+ line-height: ${T}px;
31
+ text-transform: ${h};
32
+ ${typeof s == "number" ? `letter-spacing: ${s}px;` : ""}
32
33
  color: ${n ? r[n] : r.BLACK};
33
- opacity: ${y};
34
+ opacity: ${u};
34
35
  width: ${t ? `${t}` : "auto"}${typeof t == "number" ? "px" : ""};
35
- ${o ? `width: ${o * $.gutter}px;` : ""}
36
+ ${o ? `width: ${o * a.gutter}px;` : ""}
36
37
  margin-bottom: ${e ? `${e}` : "initial"}${typeof e == "number" ? "px" : ""};
37
- ${i ? `margin-bottom: ${i * $.gutter}px;` : ""}
38
+ ${i ? `margin-bottom: ${i * a.gutter}px;` : ""}
38
39
  ${l ? `align-self: ${l};` : ""}
39
40
  ${p ? `text-decoration: ${p};` : ""}
41
+ ${$ ? `white-space: ${$};` : ""}
40
42
  `;
41
43
  }
42
44
  );
43
45
  x.displayName = "Text";
44
- const z = x;
46
+ const v = x;
45
47
  export {
46
- z as default
48
+ v as default
47
49
  };
48
50
  //# sourceMappingURL=text.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.js","sources":["../../../../src/features/ui/text/text.tsx"],"sourcesContent":["import type { TColorNames, TTextVariants } from '../types';\n\nimport styled from 'styled-components';\n\nexport interface TextProps {\n $renderAs: TTextVariants;\n $color?: TColorNames;\n $align?: 'auto' | 'left' | 'right' | 'center' | 'justify';\n $alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\n $opacity?: number | undefined;\n $width?: number | string;\n $widthX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $inline?: boolean;\n $textDecoration?: string;\n}\n\n/**\n * @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated\n */\nconst Text = styled.div<TextProps>(\n ({\n theme,\n $renderAs,\n $color,\n $align = 'left',\n $width,\n $widthX,\n $marginBottom,\n $marginBottomX,\n $alignSelf,\n $opacity = 1,\n $inline,\n $textDecoration,\n }) => {\n const { text, colors, layout } = theme;\n const {\n fontFamily,\n fontSize,\n lineHeight,\n letterSpacing,\n textTransform = 'none',\n } = text[$renderAs];\n\n return `\n display: ${$inline ? 'inline-block' : 'block'};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n text-align: ${$align};\n line-height: ${lineHeight}px;\n text-transform: ${textTransform};\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n color: ${$color ? colors[$color] : colors.BLACK};\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n ${$alignSelf ? `align-self: ${$alignSelf};` : ''}\n ${$textDecoration ? `text-decoration: ${$textDecoration};` : ''}\n `;\n },\n);\n\nText.displayName = 'Text';\n\nexport default Text;\n"],"names":["Text","styled","theme","$renderAs","$color","$align","$width","$widthX","$marginBottom","$marginBottomX","$alignSelf","$opacity","$inline","$textDecoration","text","colors","layout","fontFamily","fontSize","lineHeight","letterSpacing","textTransform","Text$1"],"mappings":";AAqBA,MAAMA,IAAOC,EAAO;AAAA,EAClB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,eAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAAAC;AAAA,IACA,iBAAAC;AAAA,EAAA,MACI;AACJ,UAAM,EAAE,MAAAC,GAAM,QAAAC,GAAQ,QAAAC,EAAA,IAAWd,GAC3B;AAAA,MACJ,YAAAe;AAAA,MACA,UAAAC;AAAA,MACA,YAAAC;AAAA,MACA,eAAAC;AAAA,MACA,eAAAC,IAAgB;AAAA,IAAA,IACdP,EAAKX,CAAS;AAEX,WAAA;AAAA,iBACMS,IAAU,iBAAiB,OAAO;AAAA,qBAC9BK,CAAU;AAAA,mBACZC,CAAQ;AAAA,oBACPb,CAAM;AAAA,qBACLc,CAAU;AAAA,wBACPE,CAAa;AAAA,QAC7B,OAAOD,KAAkB,WAAW,mBAAmBA,CAAa,QAAQ,EAAE;AAAA,eACvEhB,IAASW,EAAOX,CAAM,IAAIW,EAAO,KAAK;AAAA,iBACpCJ,CAAQ;AAAA,eACVL,IAAS,GAAGA,CAAM,KAAK,MAAM,GAAG,OAAOA,KAAW,WAAW,OAAO,EAAE;AAAA,QAC7EC,IAAU,UAAUA,IAAUS,EAAO,MAAM,QAAQ,EAAE;AAAA,uBACtCR,IAAgB,GAAGA,CAAa,KAAK,SAAS,GAC7D,OAAOA,KAAkB,WAAW,OAAO,EAC7C;AAAA,QACEC,IAAiB,kBAAkBA,IAAiBO,EAAO,MAAM,QAAQ,EAAE;AAAA,QAC3EN,IAAa,eAAeA,CAAU,MAAM,EAAE;AAAA,QAC9CG,IAAkB,oBAAoBA,CAAe,MAAM,EAAE;AAAA;AAAA,EAEnE;AACF;AAEAb,EAAK,cAAc;AAEnB,MAAAsB,IAAetB;"}
1
+ {"version":3,"file":"text.js","sources":["../../../../src/features/ui/text/text.tsx"],"sourcesContent":["import type { TColorNames, TTextVariants } from '../types';\n\nimport styled from 'styled-components';\n\nexport interface TextProps {\n $renderAs: TTextVariants;\n $color?: TColorNames;\n $align?: 'auto' | 'left' | 'right' | 'center' | 'justify';\n $alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\n $opacity?: number | undefined;\n $width?: number | string;\n $widthX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $inline?: boolean;\n $textDecoration?: string;\n $whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';\n}\n\n/**\n * @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated\n */\nconst Text = styled.div<TextProps>(\n ({\n theme,\n $renderAs,\n $color,\n $align = 'left',\n $width,\n $widthX,\n $marginBottom,\n $marginBottomX,\n $alignSelf,\n $opacity = 1,\n $inline,\n $textDecoration,\n $whiteSpace,\n }) => {\n const { text, colors, layout } = theme;\n const {\n fontFamily,\n fontSize,\n lineHeight,\n letterSpacing,\n textTransform = 'none',\n } = text[$renderAs];\n\n return `\n display: ${$inline ? 'inline-block' : 'block'};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n text-align: ${$align};\n line-height: ${lineHeight}px;\n text-transform: ${textTransform};\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n color: ${$color ? colors[$color] : colors.BLACK};\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n ${$alignSelf ? `align-self: ${$alignSelf};` : ''}\n ${$textDecoration ? `text-decoration: ${$textDecoration};` : ''}\n ${$whiteSpace ? `white-space: ${$whiteSpace};` : ''}\n `;\n },\n);\n\nText.displayName = 'Text';\n\nexport default Text;\n"],"names":["Text","styled","theme","$renderAs","$color","$align","$width","$widthX","$marginBottom","$marginBottomX","$alignSelf","$opacity","$inline","$textDecoration","$whiteSpace","text","colors","layout","fontFamily","fontSize","lineHeight","letterSpacing","textTransform","Text$1"],"mappings":";AAsBA,MAAMA,IAAOC,EAAO;AAAA,EAClB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,eAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,aAAAC;AAAA,EAAA,MACI;AACJ,UAAM,EAAE,MAAAC,GAAM,QAAAC,GAAQ,QAAAC,EAAA,IAAWf,GAC3B;AAAA,MACJ,YAAAgB;AAAA,MACA,UAAAC;AAAA,MACA,YAAAC;AAAA,MACA,eAAAC;AAAA,MACA,eAAAC,IAAgB;AAAA,IAAA,IACdP,EAAKZ,CAAS;AAEX,WAAA;AAAA,iBACMS,IAAU,iBAAiB,OAAO;AAAA,qBAC9BM,CAAU;AAAA,mBACZC,CAAQ;AAAA,oBACPd,CAAM;AAAA,qBACLe,CAAU;AAAA,wBACPE,CAAa;AAAA,QAC7B,OAAOD,KAAkB,WAAW,mBAAmBA,CAAa,QAAQ,EAAE;AAAA,eACvEjB,IAASY,EAAOZ,CAAM,IAAIY,EAAO,KAAK;AAAA,iBACpCL,CAAQ;AAAA,eACVL,IAAS,GAAGA,CAAM,KAAK,MAAM,GAAG,OAAOA,KAAW,WAAW,OAAO,EAAE;AAAA,QAC7EC,IAAU,UAAUA,IAAUU,EAAO,MAAM,QAAQ,EAAE;AAAA,uBACtCT,IAAgB,GAAGA,CAAa,KAAK,SAAS,GAC7D,OAAOA,KAAkB,WAAW,OAAO,EAC7C;AAAA,QACEC,IAAiB,kBAAkBA,IAAiBQ,EAAO,MAAM,QAAQ,EAAE;AAAA,QAC3EP,IAAa,eAAeA,CAAU,MAAM,EAAE;AAAA,QAC9CG,IAAkB,oBAAoBA,CAAe,MAAM,EAAE;AAAA,QAC7DC,IAAc,gBAAgBA,CAAW,MAAM,EAAE;AAAA;AAAA,EAEvD;AACF;AAEAd,EAAK,cAAc;AAEnB,MAAAuB,IAAevB;"}
@@ -81,38 +81,123 @@ const o = (i) => ({ sizes: {
81
81
  },
82
82
  tertiary: {
83
83
  backgroundColorName: {
84
- inactive: "RED",
85
- active: "BLACK",
86
- disabled: "GREY_3"
87
- },
88
- colorName: {
89
84
  inactive: "WHITE",
90
- active: "WHITE",
91
- disabled: "BLACK"
92
- },
93
- borderColorName: {
94
- inactive: "BLACK",
95
- active: "BLACK",
96
- disabled: "GREY_3"
97
- }
98
- },
99
- "secondary-gray": {
100
- backgroundColorName: {
101
- inactive: "WHITE",
102
- active: "WHITE_4",
85
+ active: "RED",
103
86
  disabled: "GREY_3"
104
87
  },
105
88
  colorName: {
106
- inactive: "BLACK",
107
- active: "BLACK",
89
+ inactive: "RED",
90
+ active: "WHITE",
108
91
  disabled: "BLACK"
109
92
  },
110
93
  borderColorName: {
111
- inactive: "BLACK",
112
- active: "BLACK",
94
+ inactive: "RED",
95
+ active: "RED",
113
96
  disabled: "GREY_3"
114
97
  }
115
98
  }
99
+ // 'yellow': {
100
+ // backgroundColorName: {
101
+ // inactive: 'YELLOW_4',
102
+ // active: 'BLACK_4',
103
+ // disabled: 'BLACK_T_35',
104
+ // },
105
+ // borderColorName: {
106
+ // inactive: 'BLACK_4',
107
+ // active: 'BLACK_4',
108
+ // disabled: 'BLACK_T_35',
109
+ // },
110
+ // colorName: {
111
+ // inactive: 'BLACK_4',
112
+ // active: 'WHITE_4',
113
+ // disabled: 'BLACK_T_35',
114
+ // },
115
+ // },
116
+ // 'yellow-dark': {
117
+ // backgroundColorName: {
118
+ // inactive: 'YELLOW_4',
119
+ // active: 'WHITE_4',
120
+ // disabled: 'WHITE_T_40',
121
+ // },
122
+ // borderColorName: {
123
+ // inactive: 'BLACK_4',
124
+ // active: 'BLACK_4',
125
+ // disabled: 'WHITE_T_40',
126
+ // },
127
+ // colorName: {
128
+ // inactive: 'BLACK_4',
129
+ // active: 'BLACK_4',
130
+ // disabled: 'WHITE_T_40',
131
+ // },
132
+ // },
133
+ // 'white': {
134
+ // backgroundColorName: {
135
+ // inactive: 'WHITE_1',
136
+ // active: 'BLACK_T_35',
137
+ // disabled: 'BLACK_T_35',
138
+ // },
139
+ // borderColorName: {
140
+ // inactive: 'BLACK_4',
141
+ // active: 'BLACK_4',
142
+ // disabled: 'BLACK_T_35',
143
+ // },
144
+ // colorName: {
145
+ // inactive: 'BLACK_4',
146
+ // active: 'BLACK_4',
147
+ // disabled: 'BLACK_T_35',
148
+ // },
149
+ // },
150
+ // 'white-dark': {
151
+ // backgroundColorName: {
152
+ // inactive: 'WHITE_4',
153
+ // active: 'WHITE_T_70',
154
+ // disabled: 'WHITE_T_40',
155
+ // },
156
+ // borderColorName: {
157
+ // inactive: 'BLACK_4',
158
+ // active: 'BLACK_4',
159
+ // disabled: 'WHITE_T_40',
160
+ // },
161
+ // colorName: {
162
+ // inactive: 'BLACK_4',
163
+ // active: 'BLACK_4',
164
+ // disabled: 'WHITE_T_40',
165
+ // },
166
+ // },
167
+ // 'black': {
168
+ // backgroundColorName: {
169
+ // inactive: 'BLACK_4',
170
+ // active: 'BLACK_T_60',
171
+ // disabled: 'BLACK_T_35',
172
+ // },
173
+ // borderColorName: {
174
+ // inactive: 'BLACK_4',
175
+ // active: 'BLACK_4',
176
+ // disabled: 'BLACK_T_35',
177
+ // },
178
+ // colorName: {
179
+ // inactive: 'WHITE_4',
180
+ // active: 'WHITE_4',
181
+ // disabled: 'BLACK_T_35',
182
+ // },
183
+ // },
184
+ // 'black-dark': {
185
+ // backgroundColorName: {
186
+ // inactive: 'BLACK_4',
187
+ // active: 'WHITE_T_40',
188
+ // disabled: 'WHITE_T_40',
189
+ // },
190
+ // borderColorName: {
191
+ // inactive: 'WHITE_4',
192
+ // active: 'WHITE_4',
193
+ // disabled: 'WHITE_T_40',
194
+ // },
195
+ // colorName: {
196
+ // inactive: 'WHITE_4',
197
+ // active: 'WHITE_4',
198
+ // disabled: 'WHITE_T_40',
199
+ // },
200
+ // },
116
201
  } });
117
202
  export {
118
203
  o as default