@stokr/components-library 3.0.67 → 3.0.68

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 (796) hide show
  1. package/README.md +179 -179
  2. package/dist/analytics/index.js +1 -1
  3. package/dist/api/fetchData.js +2 -2
  4. package/dist/components/2FA/Connect2FA.js +1 -1
  5. package/dist/components/2FA/EnterCode.js +1 -1
  6. package/dist/components/2FA/Sucess2FA.js +1 -1
  7. package/dist/components/2FA/login-with-otp-flow.js +1 -1
  8. package/dist/components/2FA/main-flow.js +1 -1
  9. package/dist/components/AccountBalance/AccountBalance.js +1 -1
  10. package/dist/components/AdminDashboard/Table/ReactTable.js +5 -5
  11. package/dist/components/AdminDashboard/Table/ReactTableWrapper.js +1 -1
  12. package/dist/components/AdminDashboard/Table/Table.js +1 -1
  13. package/dist/components/AgreementItem/AgreementItem.js +1 -1
  14. package/dist/components/BackButton/BackButton.js +1 -1
  15. package/dist/components/Background/Background.js +1 -1
  16. package/dist/components/BasicTable/BasicTable.js +1 -1
  17. package/dist/components/BlogPost/BlogPost.js +1 -1
  18. package/dist/components/Button/Button.styles.js +1 -1
  19. package/dist/components/Button/GlareButton.js +2 -2
  20. package/dist/components/ChartLegend/ChartLegend.js +3 -3
  21. package/dist/components/Checkbox/Checkbox.js +1 -1
  22. package/dist/components/Checklist/ChecklistCard.js +1 -1
  23. package/dist/components/Chips/Chip.js +1 -1
  24. package/dist/components/Chips/ChipWrapper.js +1 -1
  25. package/dist/components/ComponentScroll/ComponentScroll.js +3 -3
  26. package/dist/components/Country/CountrySelect.js +4 -4
  27. package/dist/components/CryptoAddress/ComponentWrap.js +1 -1
  28. package/dist/components/CryptoAddress/CryptoAddress.js +7 -7
  29. package/dist/components/CryptoAddress/RadioWrap.js +1 -1
  30. package/dist/components/CryptoAddressDetails/CryptoAddressDetails.js +1 -1
  31. package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.js +1 -1
  32. package/dist/components/FAQ/FAQ.js +1 -1
  33. package/dist/components/FAQ/FAQ.styles.js +2 -2
  34. package/dist/components/Footer/Footer.js +1 -1
  35. package/dist/components/Footer/FooterLayout.js +1 -1
  36. package/dist/components/Footer/FooterMenu.js +3 -3
  37. package/dist/components/ForgotPasswordModal/ForgotPasswordModal.js +5 -5
  38. package/dist/components/Form/Form.js +2 -2
  39. package/dist/components/Form/Form.styles.js +1 -1
  40. package/dist/components/Header/Header.js +3 -3
  41. package/dist/components/HeroBlock/HeroVideoBlock.js +1 -1
  42. package/dist/components/IdentityInfo/IdentityInfo.js +1 -1
  43. package/dist/components/InfoIcon/InfoIcon.js +6 -6
  44. package/dist/components/Input/DatePickerInput.js +3 -5
  45. package/dist/components/Input/Input.js +1 -1
  46. package/dist/components/Input/InputPassword.js +1 -1
  47. package/dist/components/Input/InputUsername.js +1 -1
  48. package/dist/components/Input/InputWithButton.js +1 -1
  49. package/dist/components/Input/MultiSelect.js +3 -4
  50. package/dist/components/Input/OtpInput.js +2 -2
  51. package/dist/components/Input/RangeInput.js +4 -4
  52. package/dist/components/Input/Select.js +4 -5
  53. package/dist/components/Input/TableFilterDropdown.js +1 -1
  54. package/dist/components/InvestmentStat/InvestmentStat.js +1 -1
  55. package/dist/components/LatestUpdate/LatestUpdate.js +1 -1
  56. package/dist/components/Layout/Layout.js +1 -1
  57. package/dist/components/LoginModal/LoginModal.js +6 -6
  58. package/dist/components/MainMenu/DynamicMainMenu.js +3 -3
  59. package/dist/components/MainMenu/MainMenu.js +6 -6
  60. package/dist/components/Modal/Modal.js +2 -2
  61. package/dist/components/Modal/NewVentureModal/NewVentureModal.js +9 -9
  62. package/dist/components/Modal/PaymentModal.js +2 -2
  63. package/dist/components/Modal/SuccessModal/SuccessModal.js +3 -3
  64. package/dist/components/MultiProgressBar/MultiProgressBar.js +1 -1
  65. package/dist/components/Number/Number.js +1 -1
  66. package/dist/components/PageTransition/PageTransition.js +1 -1
  67. package/dist/components/Pagination/Pagination.js +1 -1
  68. package/dist/components/Pagination/PaginationControls.js +1 -1
  69. package/dist/components/Payment/PaymentDisplay.js +4 -4
  70. package/dist/components/Payment/TimerComponent.js +1 -1
  71. package/dist/components/ProfileBadge/ProfileBadge.js +1 -1
  72. package/dist/components/ProfileBox/ProfileBox.js +1 -1
  73. package/dist/components/ProfileStat/ProfileStat.js +1 -1
  74. package/dist/components/QRCode/QRCode.js +2 -2
  75. package/dist/components/Radio/Radio.js +1 -1
  76. package/dist/components/RefreshButton/RefreshButton.js +1 -1
  77. package/dist/components/RegisterConfirmModal/RegisterConfirmModal.js +1 -1
  78. package/dist/components/RegisterModal/RegisterModal.js +8 -8
  79. package/dist/components/RequestDataBox/RequestDataBox.js +1 -1
  80. package/dist/components/ResetConfirmModal/ResetConfirmModal.js +1 -1
  81. package/dist/components/ResetPasswordModal/ResetPasswordModal.js +6 -6
  82. package/dist/components/SEO/SEO.js +3 -3
  83. package/dist/components/Slider/Slider.js +4 -4
  84. package/dist/components/SmartLink/SmartLink.js +1 -1
  85. package/dist/components/Snackbar/Snackbar.js +1 -1
  86. package/dist/components/Snackbar/SnackbarProvider.js +1 -1
  87. package/dist/components/StepController/StepController.js +1 -1
  88. package/dist/components/StepController/StepControllerContext.js +1 -1
  89. package/dist/components/StepController/StepControllerProgress.js +1 -1
  90. package/dist/components/StepsProgress/StepIndicator.js +1 -1
  91. package/dist/components/Switch/Switch.js +1 -1
  92. package/dist/components/Tabs/Tabs.js +1 -1
  93. package/dist/components/TabsNav/TabNav.js +1 -1
  94. package/dist/components/TabsNav/TabsNav.js +1 -1
  95. package/dist/components/TaxResidenceCard/TaxResidenceCard.js +1 -1
  96. package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.js +2 -2
  97. package/dist/components/TeamOverview/TeamOverview.js +1 -1
  98. package/dist/components/TermsModal/TermsModal.js +5 -5
  99. package/dist/components/Timeline/TimelineStep.js +1 -1
  100. package/dist/components/ToDoList/ToDoList.js +3 -3
  101. package/dist/components/ToDoList/ToDoListTask.js +4 -4
  102. package/dist/components/TransactionDetails/TransactionDetails.js +1 -1
  103. package/dist/components/TransactionDetails/TransactionDetails.styles.js +2 -2
  104. package/dist/components/TransactionInfo/TransactionInfo.js +1 -1
  105. package/dist/components/VerifyEmailModal/VerifyEmailModal.js +5 -5
  106. package/dist/components/headerHo/HeaderHo.js +1 -3
  107. package/dist/components/logo/Logo.js +1 -1
  108. package/dist/components/taxId/register-taxid.js +4 -4
  109. package/dist/context/Auth.js +12 -15
  110. package/dist/context/AuthContext.js +4 -4
  111. package/dist/firebase-config.js +2 -4
  112. package/dist/hooks/useNewVentureForm.js +1 -1
  113. package/dist/index.js +6 -7
  114. package/dist/manifest.json +25 -25
  115. package/dist/model/axios.js +1 -2
  116. package/dist/model/axiosPublic.js +1 -2
  117. package/dist/robots.txt +3 -3
  118. package/dist/routing/RouterWrapper.js +1 -1
  119. package/dist/runtime-config.js +1 -1
  120. package/dist/static/fonts/icomoon/icomoon.eot +0 -0
  121. package/dist/static/fonts/icomoon/icomoon.svg +52 -52
  122. package/dist/static/fonts/icomoon/icomoon.ttf +0 -0
  123. package/dist/static/fonts/icomoon/icomoon.woff +0 -0
  124. package/dist/static/fonts/icomoon/selection.json +0 -0
  125. package/dist/static/fonts/icomoon/style.css +0 -0
  126. package/dist/static/images/Glassess.svg +5 -5
  127. package/dist/static/images/add-folder-icon.svg +4 -4
  128. package/dist/static/images/arrow-down-black.svg +21 -21
  129. package/dist/static/images/check-icon.svg +3 -3
  130. package/dist/static/images/checkmark-circle-icon.svg +3 -3
  131. package/dist/static/images/close-circle-icon.svg +2 -2
  132. package/dist/static/images/copy_icon.svg +4 -4
  133. package/dist/static/images/cross-icon.svg +3 -3
  134. package/dist/static/images/currency/eth.svg +10 -10
  135. package/dist/static/images/currency/eth_logo.svg +8 -8
  136. package/dist/static/images/currency/eur.svg +3 -3
  137. package/dist/static/images/currency/usdc-logo.svg +5 -5
  138. package/dist/static/images/doc-icon.svg +3 -3
  139. package/dist/static/images/download_icon.svg +3 -3
  140. package/dist/static/images/external-link-icon.svg +3 -3
  141. package/dist/static/images/filter-icon.svg +6 -6
  142. package/dist/static/images/globe.svg +15 -15
  143. package/dist/static/images/mangopay.svg +20 -20
  144. package/dist/static/images/numbers/number_eight.svg +3 -3
  145. package/dist/static/images/numbers/number_five.svg +4 -4
  146. package/dist/static/images/numbers/number_four.svg +3 -3
  147. package/dist/static/images/numbers/number_nine.svg +4 -4
  148. package/dist/static/images/numbers/number_one.svg +4 -4
  149. package/dist/static/images/numbers/number_seven.svg +4 -4
  150. package/dist/static/images/numbers/number_six.svg +4 -4
  151. package/dist/static/images/numbers/number_three.svg +3 -3
  152. package/dist/static/images/numbers/number_two.svg +4 -4
  153. package/dist/static/images/numbers/number_zero.svg +3 -3
  154. package/dist/static/images/plus-icon.svg +4 -4
  155. package/dist/static/images/prof-inv.svg +3 -3
  156. package/dist/static/images/search-icon.svg +3 -3
  157. package/dist/static/images/transfer-icon.svg +10 -10
  158. package/dist/static/images/trash.svg +16 -16
  159. package/dist/static/images/upload.svg +5 -5
  160. package/dist/static/images/warning-filled.svg +3 -3
  161. package/dist/styles/global.js +2 -2
  162. package/dist/utils/copyToClipboard.js +7 -7
  163. package/dist/utils/delete-redirect-cookie-and-navigate.js +3 -3
  164. package/dist/utils/moment.js +3 -2
  165. package/dist/utils/redirect-url.js +2 -2
  166. package/dist/utils/set-redirect-cookie.js +2 -2
  167. package/dist/utils/transition.js +1 -1
  168. package/package.json +143 -143
  169. package/dist/_virtual/Collapse.js +0 -4
  170. package/dist/_virtual/Component.js +0 -4
  171. package/dist/_virtual/Range.js +0 -4
  172. package/dist/_virtual/ResizeObserver.es.js +0 -6
  173. package/dist/_virtual/UnmountClosed.js +0 -4
  174. package/dist/_virtual/_commonjsHelpers.js +0 -38
  175. package/dist/_virtual/arrows.js +0 -4
  176. package/dist/_virtual/attributes-to-props.js +0 -4
  177. package/dist/_virtual/constants.js +0 -4
  178. package/dist/_virtual/default-props.js +0 -4
  179. package/dist/_virtual/defaultRenderElements.js +0 -4
  180. package/dist/_virtual/dom-to-react.js +0 -4
  181. package/dist/_virtual/domparser.js +0 -4
  182. package/dist/_virtual/dots.js +0 -4
  183. package/dist/_virtual/getInnerHeight.js +0 -4
  184. package/dist/_virtual/getInnerWidth.js +0 -4
  185. package/dist/_virtual/getScrollbarWidth.js +0 -4
  186. package/dist/_virtual/hoist-non-react-statics.cjs.js +0 -2
  187. package/dist/_virtual/html-to-dom.js +0 -4
  188. package/dist/_virtual/index.js +0 -5
  189. package/dist/_virtual/index10.js +0 -5
  190. package/dist/_virtual/index11.js +0 -7
  191. package/dist/_virtual/index12.js +0 -7
  192. package/dist/_virtual/index13.js +0 -7
  193. package/dist/_virtual/index14.js +0 -4
  194. package/dist/_virtual/index15.js +0 -7
  195. package/dist/_virtual/index16.js +0 -7
  196. package/dist/_virtual/index17.js +0 -7
  197. package/dist/_virtual/index18.js +0 -4
  198. package/dist/_virtual/index19.js +0 -4
  199. package/dist/_virtual/index2.js +0 -7
  200. package/dist/_virtual/index20.js +0 -4
  201. package/dist/_virtual/index21.js +0 -4
  202. package/dist/_virtual/index22.js +0 -4
  203. package/dist/_virtual/index23.js +0 -4
  204. package/dist/_virtual/index24.js +0 -4
  205. package/dist/_virtual/index25.js +0 -4
  206. package/dist/_virtual/index26.js +0 -4
  207. package/dist/_virtual/index27.js +0 -4
  208. package/dist/_virtual/index28.js +0 -4
  209. package/dist/_virtual/index29.js +0 -4
  210. package/dist/_virtual/index3.js +0 -5
  211. package/dist/_virtual/index30.js +0 -4
  212. package/dist/_virtual/index31.js +0 -4
  213. package/dist/_virtual/index4.js +0 -5
  214. package/dist/_virtual/index5.js +0 -5
  215. package/dist/_virtual/index6.js +0 -5
  216. package/dist/_virtual/index7.js +0 -7
  217. package/dist/_virtual/index8.js +0 -4
  218. package/dist/_virtual/index9.js +0 -5
  219. package/dist/_virtual/initial-state.js +0 -4
  220. package/dist/_virtual/inner-slider.js +0 -4
  221. package/dist/_virtual/innerSliderUtils.js +0 -4
  222. package/dist/_virtual/isString.js +0 -4
  223. package/dist/_virtual/node.js +0 -4
  224. package/dist/_virtual/performance-now.js +0 -4
  225. package/dist/_virtual/popper.js +0 -6
  226. package/dist/_virtual/possibleStandardNamesOptimized.js +0 -4
  227. package/dist/_virtual/react-is.development.js +0 -4
  228. package/dist/_virtual/react-is.production.min.js +0 -4
  229. package/dist/_virtual/react-table.development.js +0 -4
  230. package/dist/_virtual/react-table.production.min.js +0 -4
  231. package/dist/_virtual/react-tippy.js +0 -5
  232. package/dist/_virtual/react-tippy2.js +0 -4
  233. package/dist/_virtual/returnFalse.js +0 -4
  234. package/dist/_virtual/slider.js +0 -4
  235. package/dist/_virtual/styles.js +0 -4
  236. package/dist/_virtual/track.js +0 -4
  237. package/dist/_virtual/types.js +0 -4
  238. package/dist/_virtual/utilities.js +0 -4
  239. package/dist/_virtual/utilities2.js +0 -4
  240. package/dist/_virtual/utilities3.js +0 -4
  241. package/dist/_virtual/utils.js +0 -4
  242. package/dist/components-library.css +0 -781
  243. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -8
  244. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -6
  245. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
  246. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  247. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -6
  248. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  249. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -17
  250. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
  251. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
  252. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -8
  253. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
  254. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -13
  255. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -6
  256. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -24
  257. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -6
  258. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -6
  259. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
  260. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
  261. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -12
  262. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
  263. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
  264. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
  265. package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -10
  266. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
  267. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
  268. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
  269. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
  270. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
  271. package/dist/node_modules/@date-fns/tz/date/index.js +0 -66
  272. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -124
  273. package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
  274. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -28
  275. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -345
  276. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -31
  277. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -10
  278. package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -84
  279. package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -50
  280. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -169
  281. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -83
  282. package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -53
  283. package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +0 -9
  284. package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -45
  285. package/dist/node_modules/@firebase/app/dist/esm/index.esm.js +0 -609
  286. package/dist/node_modules/@firebase/auth/dist/esm/index-36fcbc82.js +0 -5751
  287. package/dist/node_modules/@firebase/component/dist/esm/index.esm.js +0 -291
  288. package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js +0 -106
  289. package/dist/node_modules/@firebase/util/dist/index.esm.js +0 -828
  290. package/dist/node_modules/@firebase/util/dist/postinstall.js +0 -4
  291. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -257
  292. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -122
  293. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -34
  294. package/dist/node_modules/@lottiefiles/dotlottie-react/dist/index.js +0 -53
  295. package/dist/node_modules/@lottiefiles/dotlottie-web/dist/index.js +0 -1973
  296. package/dist/node_modules/add-px-to-style/index.js +0 -48
  297. package/dist/node_modules/axios/index.js +0 -38
  298. package/dist/node_modules/axios/lib/adapters/adapters.js +0 -71
  299. package/dist/node_modules/axios/lib/adapters/fetch.js +0 -219
  300. package/dist/node_modules/axios/lib/adapters/xhr.js +0 -141
  301. package/dist/node_modules/axios/lib/axios.js +0 -50
  302. package/dist/node_modules/axios/lib/cancel/CancelToken.js +0 -99
  303. package/dist/node_modules/axios/lib/cancel/CanceledError.js +0 -20
  304. package/dist/node_modules/axios/lib/cancel/isCancel.js +0 -6
  305. package/dist/node_modules/axios/lib/core/Axios.js +0 -188
  306. package/dist/node_modules/axios/lib/core/AxiosError.js +0 -67
  307. package/dist/node_modules/axios/lib/core/AxiosHeaders.js +0 -231
  308. package/dist/node_modules/axios/lib/core/InterceptorManager.js +0 -66
  309. package/dist/node_modules/axios/lib/core/buildFullPath.js +0 -12
  310. package/dist/node_modules/axios/lib/core/dispatchRequest.js +0 -52
  311. package/dist/node_modules/axios/lib/core/mergeConfig.js +0 -88
  312. package/dist/node_modules/axios/lib/core/settle.js +0 -18
  313. package/dist/node_modules/axios/lib/core/transformData.js +0 -17
  314. package/dist/node_modules/axios/lib/defaults/index.js +0 -116
  315. package/dist/node_modules/axios/lib/defaults/transitional.js +0 -9
  316. package/dist/node_modules/axios/lib/env/data.js +0 -4
  317. package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -34
  318. package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
  319. package/dist/node_modules/axios/lib/helpers/bind.js +0 -8
  320. package/dist/node_modules/axios/lib/helpers/buildURL.js +0 -32
  321. package/dist/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  322. package/dist/node_modules/axios/lib/helpers/composeSignals.js +0 -39
  323. package/dist/node_modules/axios/lib/helpers/cookies.js +0 -49
  324. package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +0 -54
  325. package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -9
  326. package/dist/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  327. package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -11
  328. package/dist/node_modules/axios/lib/helpers/null.js +0 -4
  329. package/dist/node_modules/axios/lib/helpers/parseHeaders.js +0 -47
  330. package/dist/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  331. package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +0 -41
  332. package/dist/node_modules/axios/lib/helpers/resolveConfig.js +0 -46
  333. package/dist/node_modules/axios/lib/helpers/speedometer.js +0 -36
  334. package/dist/node_modules/axios/lib/helpers/spread.js +0 -8
  335. package/dist/node_modules/axios/lib/helpers/throttle.js +0 -35
  336. package/dist/node_modules/axios/lib/helpers/toFormData.js +0 -117
  337. package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
  338. package/dist/node_modules/axios/lib/helpers/trackStream.js +0 -80
  339. package/dist/node_modules/axios/lib/helpers/validator.js +0 -67
  340. package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  341. package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  342. package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  343. package/dist/node_modules/axios/lib/platform/browser/index.js +0 -15
  344. package/dist/node_modules/axios/lib/platform/common/utils.js +0 -15
  345. package/dist/node_modules/axios/lib/platform/index.js +0 -9
  346. package/dist/node_modules/axios/lib/utils.js +0 -415
  347. package/dist/node_modules/classnames/index.js +0 -61
  348. package/dist/node_modules/copy-to-clipboard/index.js +0 -101
  349. package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +0 -6570
  350. package/dist/node_modules/country-flag-icons/react/3x2/index.js +0 -269
  351. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  352. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  353. package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -652
  354. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -62
  355. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -58
  356. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -20
  357. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  358. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
  359. package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -23
  360. package/dist/node_modules/date-fns/addDays.js +0 -12
  361. package/dist/node_modules/date-fns/addMonths.js +0 -26
  362. package/dist/node_modules/date-fns/addWeeks.js +0 -7
  363. package/dist/node_modules/date-fns/addYears.js +0 -7
  364. package/dist/node_modules/date-fns/constants.js +0 -14
  365. package/dist/node_modules/date-fns/constructFrom.js +0 -11
  366. package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -19
  367. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  368. package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -20
  369. package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -20
  370. package/dist/node_modules/date-fns/endOfISOWeek.js +0 -7
  371. package/dist/node_modules/date-fns/endOfMonth.js +0 -11
  372. package/dist/node_modules/date-fns/endOfWeek.js +0 -15
  373. package/dist/node_modules/date-fns/endOfYear.js +0 -11
  374. package/dist/node_modules/date-fns/format.js +0 -77
  375. package/dist/node_modules/date-fns/getDayOfYear.js +0 -12
  376. package/dist/node_modules/date-fns/getDaysInMonth.js +0 -14
  377. package/dist/node_modules/date-fns/getDefaultOptions.js +0 -7
  378. package/dist/node_modules/date-fns/getISODay.js +0 -8
  379. package/dist/node_modules/date-fns/getISOWeek.js +0 -12
  380. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -25
  381. package/dist/node_modules/date-fns/getMonth.js +0 -7
  382. package/dist/node_modules/date-fns/getWeek.js +0 -12
  383. package/dist/node_modules/date-fns/getWeekYear.js +0 -28
  384. package/dist/node_modules/date-fns/getYear.js +0 -7
  385. package/dist/node_modules/date-fns/isAfter.js +0 -7
  386. package/dist/node_modules/date-fns/isBefore.js +0 -7
  387. package/dist/node_modules/date-fns/isDate.js +0 -6
  388. package/dist/node_modules/date-fns/isSameDay.js +0 -13
  389. package/dist/node_modules/date-fns/isSameMonth.js +0 -12
  390. package/dist/node_modules/date-fns/isSameYear.js +0 -12
  391. package/dist/node_modules/date-fns/isValid.js +0 -8
  392. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  393. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -20
  394. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -43
  395. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  396. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -85
  397. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -36
  398. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  399. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -164
  400. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -122
  401. package/dist/node_modules/date-fns/locale/en-US.js +0 -20
  402. package/dist/node_modules/date-fns/max.js +0 -16
  403. package/dist/node_modules/date-fns/min.js +0 -16
  404. package/dist/node_modules/date-fns/parse/_lib/Parser.js +0 -25
  405. package/dist/node_modules/date-fns/parse/_lib/Setter.js +0 -44
  406. package/dist/node_modules/date-fns/parse/_lib/constants.js +0 -50
  407. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -44
  408. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -44
  409. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -64
  410. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  411. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -45
  412. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -44
  413. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -30
  414. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -20
  415. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -17
  416. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -32
  417. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -27
  418. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -28
  419. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  420. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -106
  421. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -43
  422. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -43
  423. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -43
  424. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -39
  425. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -76
  426. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -42
  427. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -67
  428. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -27
  429. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -73
  430. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  431. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -27
  432. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -76
  433. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -73
  434. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  435. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -16
  436. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -16
  437. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -47
  438. package/dist/node_modules/date-fns/parse/_lib/parsers.js +0 -67
  439. package/dist/node_modules/date-fns/parse/_lib/utils.js +0 -117
  440. package/dist/node_modules/date-fns/parse.js +0 -123
  441. package/dist/node_modules/date-fns/setDay.js +0 -17
  442. package/dist/node_modules/date-fns/setISODay.js +0 -12
  443. package/dist/node_modules/date-fns/setISOWeek.js +0 -11
  444. package/dist/node_modules/date-fns/setMonth.js +0 -17
  445. package/dist/node_modules/date-fns/setWeek.js +0 -11
  446. package/dist/node_modules/date-fns/setYear.js +0 -11
  447. package/dist/node_modules/date-fns/startOfDay.js +0 -9
  448. package/dist/node_modules/date-fns/startOfISOWeek.js +0 -7
  449. package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -13
  450. package/dist/node_modules/date-fns/startOfMonth.js +0 -10
  451. package/dist/node_modules/date-fns/startOfWeek.js +0 -15
  452. package/dist/node_modules/date-fns/startOfWeekYear.js +0 -17
  453. package/dist/node_modules/date-fns/startOfYear.js +0 -10
  454. package/dist/node_modules/date-fns/toDate.js +0 -7
  455. package/dist/node_modules/date-fns/transpose.js +0 -18
  456. package/dist/node_modules/date-fns-tz/dist/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +0 -8
  457. package/dist/node_modules/date-fns-tz/dist/esm/_lib/newDateUTC/index.js +0 -9
  458. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzIntlTimeZoneName/index.js +0 -29
  459. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +0 -89
  460. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzPattern/index.js +0 -4
  461. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzTokenizeDate/index.js +0 -81
  462. package/dist/node_modules/date-fns-tz/dist/esm/format/formatters/index.js +0 -125
  463. package/dist/node_modules/date-fns-tz/dist/esm/format/index.js +0 -24
  464. package/dist/node_modules/date-fns-tz/dist/esm/formatInTimeZone/index.js +0 -13
  465. package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +0 -305
  466. package/dist/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js +0 -14
  467. package/dist/node_modules/deepmerge/dist/es.js +0 -69
  468. package/dist/node_modules/dom-css/index.js +0 -65
  469. package/dist/node_modules/domelementtype/lib/index.js +0 -39
  470. package/dist/node_modules/domhandler/lib/index.js +0 -166
  471. package/dist/node_modules/domhandler/lib/node.js +0 -438
  472. package/dist/node_modules/dompurify/dist/purify.es.js +0 -1020
  473. package/dist/node_modules/firebase/app/dist/esm/index.esm.js +0 -20
  474. package/dist/node_modules/firebase/auth/dist/esm/index.esm.js +0 -44
  475. package/dist/node_modules/formik/dist/formik.esm.js +0 -969
  476. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -92
  477. package/dist/node_modules/html-dom-parser/lib/client/constants.js +0 -55
  478. package/dist/node_modules/html-dom-parser/lib/client/domparser.js +0 -96
  479. package/dist/node_modules/html-dom-parser/lib/client/html-to-dom.js +0 -31
  480. package/dist/node_modules/html-dom-parser/lib/client/utilities.js +0 -96
  481. package/dist/node_modules/html-react-parser/esm/index.js +0 -5
  482. package/dist/node_modules/html-react-parser/lib/attributes-to-props.js +0 -64
  483. package/dist/node_modules/html-react-parser/lib/dom-to-react.js +0 -99
  484. package/dist/node_modules/html-react-parser/lib/index.js +0 -51
  485. package/dist/node_modules/html-react-parser/lib/utilities.js +0 -79
  486. package/dist/node_modules/idb/build/index.js +0 -69
  487. package/dist/node_modules/idb/build/wrap-idb-value.js +0 -148
  488. package/dist/node_modules/inline-style-parser/cjs/index.js +0 -142
  489. package/dist/node_modules/js-cookie/dist/js.cookie.js +0 -99
  490. package/dist/node_modules/json2mq/index.js +0 -55
  491. package/dist/node_modules/lodash-es/_DataView.js +0 -6
  492. package/dist/node_modules/lodash-es/_Hash.js +0 -21
  493. package/dist/node_modules/lodash-es/_ListCache.js +0 -21
  494. package/dist/node_modules/lodash-es/_Map.js +0 -6
  495. package/dist/node_modules/lodash-es/_MapCache.js +0 -21
  496. package/dist/node_modules/lodash-es/_Promise.js +0 -6
  497. package/dist/node_modules/lodash-es/_Set.js +0 -6
  498. package/dist/node_modules/lodash-es/_Stack.js +0 -18
  499. package/dist/node_modules/lodash-es/_Symbol.js +0 -5
  500. package/dist/node_modules/lodash-es/_Uint8Array.js +0 -5
  501. package/dist/node_modules/lodash-es/_WeakMap.js +0 -6
  502. package/dist/node_modules/lodash-es/_arrayEach.js +0 -12
  503. package/dist/node_modules/lodash-es/_arrayFilter.js +0 -13
  504. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +0 -24
  505. package/dist/node_modules/lodash-es/_arrayMap.js +0 -10
  506. package/dist/node_modules/lodash-es/_arrayPush.js +0 -10
  507. package/dist/node_modules/lodash-es/_assignValue.js +0 -13
  508. package/dist/node_modules/lodash-es/_assocIndexOf.js +0 -13
  509. package/dist/node_modules/lodash-es/_baseAssign.js +0 -8
  510. package/dist/node_modules/lodash-es/_baseAssignIn.js +0 -8
  511. package/dist/node_modules/lodash-es/_baseAssignValue.js +0 -16
  512. package/dist/node_modules/lodash-es/_baseClone.js +0 -88
  513. package/dist/node_modules/lodash-es/_baseCreate.js +0 -21
  514. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  515. package/dist/node_modules/lodash-es/_baseGetTag.js +0 -14
  516. package/dist/node_modules/lodash-es/_baseIsArguments.js +0 -9
  517. package/dist/node_modules/lodash-es/_baseIsMap.js +0 -9
  518. package/dist/node_modules/lodash-es/_baseIsNative.js +0 -22
  519. package/dist/node_modules/lodash-es/_baseIsSet.js +0 -9
  520. package/dist/node_modules/lodash-es/_baseIsTypedArray.js +0 -14
  521. package/dist/node_modules/lodash-es/_baseKeys.js +0 -19
  522. package/dist/node_modules/lodash-es/_baseKeysIn.js +0 -20
  523. package/dist/node_modules/lodash-es/_baseTimes.js +0 -10
  524. package/dist/node_modules/lodash-es/_baseToString.js +0 -21
  525. package/dist/node_modules/lodash-es/_baseUnary.js +0 -8
  526. package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +0 -9
  527. package/dist/node_modules/lodash-es/_cloneBuffer.js +0 -16
  528. package/dist/node_modules/lodash-es/_cloneDataView.js +0 -8
  529. package/dist/node_modules/lodash-es/_cloneRegExp.js +0 -9
  530. package/dist/node_modules/lodash-es/_cloneSymbol.js +0 -8
  531. package/dist/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  532. package/dist/node_modules/lodash-es/_copyArray.js +0 -11
  533. package/dist/node_modules/lodash-es/_copyObject.js +0 -23
  534. package/dist/node_modules/lodash-es/_copySymbols.js +0 -8
  535. package/dist/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  536. package/dist/node_modules/lodash-es/_coreJsData.js +0 -5
  537. package/dist/node_modules/lodash-es/_defineProperty.js +0 -12
  538. package/dist/node_modules/lodash-es/_freeGlobal.js +0 -4
  539. package/dist/node_modules/lodash-es/_getAllKeys.js +0 -9
  540. package/dist/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  541. package/dist/node_modules/lodash-es/_getMapData.js +0 -8
  542. package/dist/node_modules/lodash-es/_getNative.js +0 -9
  543. package/dist/node_modules/lodash-es/_getPrototype.js +0 -5
  544. package/dist/node_modules/lodash-es/_getRawTag.js +0 -25
  545. package/dist/node_modules/lodash-es/_getSymbols.js +0 -17
  546. package/dist/node_modules/lodash-es/_getSymbolsIn.js +0 -16
  547. package/dist/node_modules/lodash-es/_getTag.js +0 -34
  548. package/dist/node_modules/lodash-es/_getValue.js +0 -6
  549. package/dist/node_modules/lodash-es/_hashClear.js +0 -8
  550. package/dist/node_modules/lodash-es/_hashDelete.js +0 -8
  551. package/dist/node_modules/lodash-es/_hashGet.js +0 -15
  552. package/dist/node_modules/lodash-es/_hashHas.js +0 -10
  553. package/dist/node_modules/lodash-es/_hashSet.js +0 -11
  554. package/dist/node_modules/lodash-es/_initCloneArray.js +0 -13
  555. package/dist/node_modules/lodash-es/_initCloneByTag.js +0 -43
  556. package/dist/node_modules/lodash-es/_initCloneObject.js +0 -9
  557. package/dist/node_modules/lodash-es/_isIndex.js +0 -10
  558. package/dist/node_modules/lodash-es/_isKeyable.js +0 -7
  559. package/dist/node_modules/lodash-es/_isMasked.js +0 -11
  560. package/dist/node_modules/lodash-es/_isPrototype.js +0 -8
  561. package/dist/node_modules/lodash-es/_listCacheClear.js +0 -7
  562. package/dist/node_modules/lodash-es/_listCacheDelete.js +0 -20
  563. package/dist/node_modules/lodash-es/_listCacheGet.js +0 -8
  564. package/dist/node_modules/lodash-es/_listCacheHas.js +0 -7
  565. package/dist/node_modules/lodash-es/_listCacheSet.js +0 -14
  566. package/dist/node_modules/lodash-es/_mapCacheClear.js +0 -14
  567. package/dist/node_modules/lodash-es/_mapCacheDelete.js +0 -9
  568. package/dist/node_modules/lodash-es/_mapCacheGet.js +0 -7
  569. package/dist/node_modules/lodash-es/_mapCacheHas.js +0 -7
  570. package/dist/node_modules/lodash-es/_mapCacheSet.js +0 -10
  571. package/dist/node_modules/lodash-es/_memoizeCapped.js +0 -15
  572. package/dist/node_modules/lodash-es/_nativeCreate.js +0 -5
  573. package/dist/node_modules/lodash-es/_nativeKeys.js +0 -5
  574. package/dist/node_modules/lodash-es/_nativeKeysIn.js +0 -12
  575. package/dist/node_modules/lodash-es/_nodeUtil.js +0 -18
  576. package/dist/node_modules/lodash-es/_objectToString.js +0 -8
  577. package/dist/node_modules/lodash-es/_overArg.js +0 -8
  578. package/dist/node_modules/lodash-es/_root.js +0 -6
  579. package/dist/node_modules/lodash-es/_stackClear.js +0 -8
  580. package/dist/node_modules/lodash-es/_stackDelete.js +0 -8
  581. package/dist/node_modules/lodash-es/_stackGet.js +0 -6
  582. package/dist/node_modules/lodash-es/_stackHas.js +0 -6
  583. package/dist/node_modules/lodash-es/_stackSet.js +0 -22
  584. package/dist/node_modules/lodash-es/_stringToPath.js +0 -16
  585. package/dist/node_modules/lodash-es/_toKey.js +0 -11
  586. package/dist/node_modules/lodash-es/_toSource.js +0 -18
  587. package/dist/node_modules/lodash-es/clone.js +0 -8
  588. package/dist/node_modules/lodash-es/cloneDeep.js +0 -8
  589. package/dist/node_modules/lodash-es/eq.js +0 -6
  590. package/dist/node_modules/lodash-es/isArguments.js +0 -13
  591. package/dist/node_modules/lodash-es/isArray.js +0 -4
  592. package/dist/node_modules/lodash-es/isArrayLike.js +0 -8
  593. package/dist/node_modules/lodash-es/isBuffer.js +0 -11
  594. package/dist/node_modules/lodash-es/isFunction.js +0 -13
  595. package/dist/node_modules/lodash-es/isLength.js +0 -7
  596. package/dist/node_modules/lodash-es/isMap.js +0 -8
  597. package/dist/node_modules/lodash-es/isObject.js +0 -7
  598. package/dist/node_modules/lodash-es/isObjectLike.js +0 -6
  599. package/dist/node_modules/lodash-es/isPlainObject.js +0 -22
  600. package/dist/node_modules/lodash-es/isSet.js +0 -8
  601. package/dist/node_modules/lodash-es/isSymbol.js +0 -9
  602. package/dist/node_modules/lodash-es/isTypedArray.js +0 -8
  603. package/dist/node_modules/lodash-es/keys.js +0 -9
  604. package/dist/node_modules/lodash-es/keysIn.js +0 -9
  605. package/dist/node_modules/lodash-es/memoize.js +0 -22
  606. package/dist/node_modules/lodash-es/stubArray.js +0 -6
  607. package/dist/node_modules/lodash-es/stubFalse.js +0 -6
  608. package/dist/node_modules/lodash-es/toPath.js +0 -16
  609. package/dist/node_modules/lodash-es/toString.js +0 -7
  610. package/dist/node_modules/lodash.debounce/index.js +0 -137
  611. package/dist/node_modules/memoize-one/dist/memoize-one.esm.js +0 -52
  612. package/dist/node_modules/mixpanel-browser/dist/mixpanel.module.js +0 -25533
  613. package/dist/node_modules/object-assign/index.js +0 -73
  614. package/dist/node_modules/performance-now/lib/performance-now.js +0 -42
  615. package/dist/node_modules/popper.js/dist/esm/popper.js +0 -1516
  616. package/dist/node_modules/prefix-style/index.js +0 -29
  617. package/dist/node_modules/prop-types/checkPropTypes.js +0 -68
  618. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -58
  619. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -451
  620. package/dist/node_modules/prop-types/index.js +0 -20
  621. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
  622. package/dist/node_modules/prop-types/lib/has.js +0 -11
  623. package/dist/node_modules/property-expr/index.js +0 -105
  624. package/dist/node_modules/qrcode.react/lib/esm/index.js +0 -1099
  625. package/dist/node_modules/raf/index.js +0 -67
  626. package/dist/node_modules/react-collapse/lib/Collapse.js +0 -285
  627. package/dist/node_modules/react-collapse/lib/UnmountClosed.js +0 -278
  628. package/dist/node_modules/react-collapse/lib/index.js +0 -17
  629. package/dist/node_modules/react-copy-to-clipboard/lib/Component.js +0 -209
  630. package/dist/node_modules/react-copy-to-clipboard/lib/index.js +0 -14
  631. package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/defaultRenderElements.js +0 -85
  632. package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/index.js +0 -706
  633. package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/styles.js +0 -67
  634. package/dist/node_modules/react-custom-scrollbars-4/lib/index.js +0 -24
  635. package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getInnerHeight.js +0 -21
  636. package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getInnerWidth.js +0 -21
  637. package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getScrollbarWidth.js +0 -44
  638. package/dist/node_modules/react-custom-scrollbars-4/lib/utils/isString.js +0 -19
  639. package/dist/node_modules/react-custom-scrollbars-4/lib/utils/returnFalse.js +0 -19
  640. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -325
  641. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -59
  642. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -25
  643. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -9
  644. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -9
  645. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -282
  646. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
  647. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
  648. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  649. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
  650. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -13
  651. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -21
  652. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
  653. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
  654. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
  655. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
  656. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
  657. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
  658. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
  659. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -34
  660. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
  661. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
  662. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
  663. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
  664. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
  665. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
  666. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
  667. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
  668. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
  669. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
  670. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
  671. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
  672. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
  673. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -10
  674. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
  675. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
  676. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -10
  677. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
  678. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
  679. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
  680. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
  681. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -40
  682. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -72
  683. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -11
  684. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -13
  685. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -17
  686. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  687. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -19
  688. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -30
  689. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -12
  690. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -20
  691. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -15
  692. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -22
  693. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -16
  694. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -16
  695. package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +0 -41
  696. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -17
  697. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -43
  698. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -39
  699. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -20
  700. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -20
  701. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -20
  702. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -14
  703. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -13
  704. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -9
  705. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -23
  706. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -14
  707. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -9
  708. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
  709. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -14
  710. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -10
  711. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -11
  712. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
  713. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
  714. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -7
  715. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
  716. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
  717. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
  718. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
  719. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
  720. package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js +0 -62
  721. package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js +0 -145
  722. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -42
  723. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -33
  724. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -33
  725. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -128
  726. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -100
  727. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -13
  728. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -42
  729. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -21
  730. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -55
  731. package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +0 -53
  732. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -52
  733. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -17
  734. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -61
  735. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -23
  736. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
  737. package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +0 -11
  738. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
  739. package/dist/node_modules/react-fast-compare/index.js +0 -63
  740. package/dist/node_modules/react-helmet/es/Helmet.js +0 -717
  741. package/dist/node_modules/react-helmet/node_modules/react-fast-compare/index.js +0 -81
  742. package/dist/node_modules/react-intersection-observer/dist/index.js +0 -178
  743. package/dist/node_modules/react-is/cjs/react-is.development.js +0 -157
  744. package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -98
  745. package/dist/node_modules/react-is/index.js +0 -17
  746. package/dist/node_modules/react-otp-input/lib/index.esm.js +0 -168
  747. package/dist/node_modules/react-portal/es/LegacyPortal.js +0 -91
  748. package/dist/node_modules/react-portal/es/Portal.js +0 -74
  749. package/dist/node_modules/react-portal/es/PortalCompat.js +0 -12
  750. package/dist/node_modules/react-portal/es/utils.js +0 -4
  751. package/dist/node_modules/react-property/lib/index.js +0 -471
  752. package/dist/node_modules/react-property/lib/possibleStandardNamesOptimized.js +0 -499
  753. package/dist/node_modules/react-range/lib/Range.js +0 -592
  754. package/dist/node_modules/react-range/lib/index.js +0 -39
  755. package/dist/node_modules/react-range/lib/types.js +0 -19
  756. package/dist/node_modules/react-range/lib/utils.js +0 -318
  757. package/dist/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -19
  758. package/dist/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2317
  759. package/dist/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1071
  760. package/dist/node_modules/react-select/dist/react-select.esm.js +0 -20
  761. package/dist/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -75
  762. package/dist/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -51
  763. package/dist/node_modules/react-side-effect/lib/index.js +0 -105
  764. package/dist/node_modules/react-slick/lib/arrows.js +0 -248
  765. package/dist/node_modules/react-slick/lib/default-props.js +0 -85
  766. package/dist/node_modules/react-slick/lib/dots.js +0 -192
  767. package/dist/node_modules/react-slick/lib/index.js +0 -22
  768. package/dist/node_modules/react-slick/lib/initial-state.js +0 -48
  769. package/dist/node_modules/react-slick/lib/inner-slider.js +0 -810
  770. package/dist/node_modules/react-slick/lib/slider.js +0 -333
  771. package/dist/node_modules/react-slick/lib/track.js +0 -330
  772. package/dist/node_modules/react-slick/lib/utils/innerSliderUtils.js +0 -730
  773. package/dist/node_modules/react-table/dist/react-table.development.js +0 -3684
  774. package/dist/node_modules/react-table/dist/react-table.production.min.js +0 -1637
  775. package/dist/node_modules/react-table/index.js +0 -17
  776. package/dist/node_modules/react-tippy/dist/react-tippy.js +0 -1981
  777. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +0 -495
  778. package/dist/node_modules/string-convert/camel2hyphen.js +0 -16
  779. package/dist/node_modules/style-to-js/cjs/index.js +0 -31
  780. package/dist/node_modules/style-to-js/cjs/utilities.js +0 -42
  781. package/dist/node_modules/style-to-object/cjs/index.js +0 -38
  782. package/dist/node_modules/stylis/src/Enum.js +0 -20
  783. package/dist/node_modules/stylis/src/Middleware.js +0 -22
  784. package/dist/node_modules/stylis/src/Parser.js +0 -157
  785. package/dist/node_modules/stylis/src/Serializer.js +0 -29
  786. package/dist/node_modules/stylis/src/Tokenizer.js +0 -160
  787. package/dist/node_modules/stylis/src/Utility.js +0 -52
  788. package/dist/node_modules/tiny-case/index.js +0 -33
  789. package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js +0 -16
  790. package/dist/node_modules/to-camel-case/index.js +0 -18
  791. package/dist/node_modules/to-no-case/index.js +0 -32
  792. package/dist/node_modules/to-space-case/index.js +0 -18
  793. package/dist/node_modules/toggle-selection/index.js +0 -42
  794. package/dist/node_modules/toposort/index.js +0 -79
  795. package/dist/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
  796. package/dist/node_modules/yup/index.esm.js +0 -1921
package/README.md CHANGED
@@ -1,179 +1,179 @@
1
- # @stokr/components-library
2
-
3
- React UI library for STOKR apps: modals, forms, navigation, tables, auth context, styles.
4
-
5
- ## Contents
6
-
7
- - [Quick start](#quick-start) — install, router, `AuthProvider`, styles
8
- - [Configuration reference](#runtime-config) — `config` keys & helpers
9
- - [AuthProvider & AuthContext](#authprovider-optional-props)
10
- - [Troubleshooting](#troubleshooting)
11
- - [Development](#development--publishing)
12
-
13
- ---
14
-
15
- ## Quick start
16
-
17
- **Install**
18
-
19
- ```bash
20
- npm install @stokr/components-library
21
- npm install react react-dom styled-components react-router-dom
22
- ```
23
-
24
- Peers: React 18+/19+, styled-components 6.x, react-router-dom 6.x when you use routing-driven components (`HeaderHo`, `MainMenu`, …).
25
-
26
- **1. Router** — Navigation helpers need a React Router:
27
-
28
- ```jsx
29
- import { BrowserRouter } from 'react-router-dom'
30
- import { RouterWrapper } from '@stokr/components-library'
31
-
32
- // Normal app
33
- root.render(
34
- <BrowserRouter>
35
- <App />
36
- </BrowserRouter>,
37
- )
38
-
39
- // Outside a Router: RouterWrapper wraps children in BrowserRouter once.
40
- // Inside an existing Router: it renders children only (no nested BrowserRouter).
41
- root.render(
42
- <RouterWrapper>
43
- <App />
44
- </RouterWrapper>,
45
- )
46
- ```
47
-
48
- **2. Auth & runtime config (required when consuming via npm)** — Vite freezes `import.meta.env` inside pre-built deps, so push your `.env` at runtime via `config`:
49
-
50
- ```jsx
51
- import { AuthProvider } from '@stokr/components-library'
52
-
53
- export default function App() {
54
- return (
55
- <AuthProvider
56
- config={{
57
- apiUrl: import.meta.env.VITE_API_URL,
58
- baseUrlPublic: import.meta.env.VITE_BASE_URL_PUBLIC,
59
- cookieDomain: import.meta.env.VITE_COOKIE_DOMAIN,
60
- websiteDomain: import.meta.env.VITE_WEBSITE_DOMAIN,
61
- photoApiUrl: import.meta.env.VITE_PHOTO_API_URL,
62
- onboardingUrl: import.meta.env.VITE_ONBOARDING_URL,
63
- dashboardUrl: import.meta.env.VITE_DASHBOARD_URL,
64
- adminUrl: import.meta.env.VITE_ADMIN_URL,
65
- registerUrl: import.meta.env.VITE_REGISTER_URL,
66
- firebase: {
67
- apiKey: import.meta.env.VITE_FIREBASE_API_KEY,
68
- authDomain: import.meta.env.VITE_FIREBASE_AUTH_DOMAIN,
69
- projectId: import.meta.env.VITE_FIREBASE_PROJECT_ID,
70
- storageBucket: import.meta.env.VITE_FIREBASE_STORAGE_BUCKET,
71
- messagingSenderId: import.meta.env.VITE_FIREBASE_MESSAGING_SENDER_ID,
72
- appId: import.meta.env.VITE_FIREBASE_APP_ID,
73
- measurementId: import.meta.env.VITE_FIREBASE_MEASUREMENT_ID,
74
- },
75
- }}>
76
- {/* app */}
77
- </AuthProvider>
78
- )
79
- }
80
- ```
81
-
82
- **3. Earlier config** (e.g. analytics before mount): `import { configure } from '@stokr/components-library'` with the same shape as `config`.
83
-
84
- **4. Icons / fonts** — Optional: `<IoniconsStyles />` at root, or rely on lazy injection when a component uses icons; for Layout / Open Sans: `import '@stokr/components-library/styles.css'`.
85
-
86
- **5. Imports** — `import { ConfirmModal, Button, … } from '@stokr/components-library'`.
87
-
88
- Full URL env example:
89
-
90
- ```bash
91
- VITE_WEBSITE_DOMAIN=example.com
92
- VITE_ONBOARDING_URL=https://signup.example.com
93
- VITE_DASHBOARD_URL=https://dashboard.example.com
94
- VITE_ADMIN_URL=https://admin.example.com
95
- VITE_REGISTER_URL=https://example.com/signup
96
- ```
97
-
98
- ---
99
-
100
- ## Configuration reference {#runtime-config}
101
-
102
- | `config` key | Typical `VITE_*` | Role |
103
- | ----------------- | -------------------------- | ----------------------------------------- |
104
- | `apiUrl` | `VITE_API_URL` | Authenticated REST base |
105
- | `baseUrlPublic` | `VITE_BASE_URL_PUBLIC` | Public API base |
106
- | `cookieDomain` | `VITE_COOKIE_DOMAIN` | Auth cookie `domain` attribute |
107
- | `websiteDomain` | `VITE_WEBSITE_DOMAIN` | Bare host → links / `getPlatformURL()` |
108
- | `photoApiUrl` | `VITE_PHOTO_API_URL` | Avatars / media |
109
- | `onboardingUrl` | `VITE_ONBOARDING_URL` | Full signup/sign-in app URL |
110
- | `dashboardUrl` | `VITE_DASHBOARD_URL` | Investor dashboard URL |
111
- | `adminUrl` | `VITE_ADMIN_URL` | Venture / admin dashboard URL |
112
- | `registerUrl` | `VITE_REGISTER_URL` | Public registration entry |
113
- | `firebase` | `VITE_FIREBASE_*` | Firebase client config |
114
-
115
- **Helpers:** `getConfig('…')` for any key above; `getPlatformURL()` → `https://{websiteDomain}`; `getAnalyticsIngestUrl()`, `getBackofficeAppUrl(path)`; **`getFooterGroups()`** replaces static footer URL lists.
116
-
117
- **Auth-only HTTP:** `authenticationApi.post(segment, body)` for `auth/*`; default axios stays the main API client after login.
118
-
119
- Missing overrides may trigger a **one-time** warning listing unresolved `VITE_*` expectations.
120
-
121
- ---
122
-
123
- ## AuthProvider & AuthContext {#authprovider-optional-props}
124
-
125
- `AuthProvider` is wrapped with **`withRouter`** — mount it inside a **`Router`** so redirects work.
126
-
127
- ### Optional provider props
128
-
129
- - **`inactivityTimeMs`** — Idle timeout before auto-logout + session modal (default 5 min).
130
- - **`inactivityWarningBeforeMs`** — How long before that timeout to show the **“session about to expire”** warning modal (default 30 s). See [Inactivity auto-logout](#inactivity-auto-logout).
131
- - **`accessTokenExpiryMs`** — Cookie TTL when **`Auth.setAccessToken`** runs (default **`DEFAULT_TOKEN_EXPIRY_MS`** = 1 h); not extended by **`getUser`** alone.
132
- - **`hideInactivityModal`** — Suppress both built-in inactivity modals (warning + session expired).
133
- - **`onSessionExpiredLoginClick`** — Called when the user clicks **Log in** on the session-expired modal.
134
- - **`customValidateGetUser(user)`** — Hook after **`user/get`** succeeds (see `src/context/AuthContext.js`).
135
-
136
- ### Inactivity auto-logout {#inactivity-auto-logout}
137
-
138
- When a user is logged in, `AuthProvider` resets an idle timer on mouse, keyboard, click, scroll, and touch events.
139
-
140
- 1. **Warning modal** — Shown **`inactivityWarningBeforeMs`** before the idle deadline (default: 30 s before the 5 min timeout). The user can click **To continue, press here** to reset the idle timer, or close the modal (logout still happens at the deadline). Any activity also resets the timer and closes the warning.
141
- 2. **Session expired modal** — Shown when the idle deadline is reached (existing behaviour). The warning modal closes automatically at the same moment.
142
-
143
- Neither modal is shown when the user is not logged in. Both are skipped when **`hideInactivityModal`** is set.
144
-
145
- **Storybook:** `Authentication / Auto-logout (inactivity)` → **With warning modal** (20 s idle, warning at 10 s).
146
-
147
- ### AuthContext consumer {#authcontext-usecontext}
148
-
149
- `import { AuthContext } from '…'` then `useContext(AuthContext)`.
150
-
151
- - **Invalid Firebase guard:** value is **`{ user: null, isFetchingUser: false }`** only (no methods).
152
- - **State (grouped):** `user` / `firebaseUser`, `isFetchingUser`, `avatar`; MFA (`waitingFor2fa`, `userMfaEnrollment`, `firebaseError`); verify-email (`verifyEmailError`, `isVerifyingEmail`); session UX (`loggedOutDueToInactivity`, `loggedOutDueToCookieExpiry`, `sessionExpiryPendingReason`, `showInactivityWarningModal`).
153
- - **Actions (grouped):** `userRef`, `loginUser`, `logoutUser`, `getUser`, `setUser`, `updateUser`, `refreshIdToken`; `checkUserIsValid`, `checkTokenIsValid`; `uploadPhoto`, `deletePhoto`, `checkUserPhoto`; MFA enroll / verify / unenroll + `reset2faFlow`; subscription/onboarding helpers; password & email (`handleResetPassword`, `handleVerifyEmail`, `requestUpdateEmail`, …); wallets / PoA (`uploaProofOfAddress` keeps the source spelling); **`dismissSessionExpiryModal`**, **`extendSessionFromInactivityWarning`**, **`dismissInactivityWarningModal`**.
154
-
155
- Use **`AuthConsumer`** for the render-prop pattern.
156
-
157
- ---
158
-
159
- ## Troubleshooting {#troubleshooting}
160
-
161
- **`useNavigate` / Router**
162
-
163
- Add `BrowserRouter` (or **`RouterWrapper`** from this package where the shell has no router). Install `react-router-dom`.
164
-
165
- **Invalid hook call / duplicated React**
166
-
167
- Dedupe peers in Vite: `resolve: { dedupe: ['react', 'react-dom', 'styled-components'] }`.
168
-
169
- ---
170
-
171
- ## Development {#development--publishing}
172
-
173
- | Command | Meaning |
174
- | -------------------- | -------------------------------- |
175
- | `npm run storybook` | Local docs / stories |
176
- | `npm run build:dist` | Library build + static copy |
177
- | `npm run pub` | Build then publish (`npm login`) |
178
-
179
- Release: changelog entry → `npm version` → `npm run pub`. Details: [CHANGELOG.md](CHANGELOG.md).
1
+ # @stokr/components-library
2
+
3
+ React UI library for STOKR apps: modals, forms, navigation, tables, auth context, styles.
4
+
5
+ ## Contents
6
+
7
+ - [Quick start](#quick-start) — install, router, `AuthProvider`, styles
8
+ - [Configuration reference](#runtime-config) — `config` keys & helpers
9
+ - [AuthProvider & AuthContext](#authprovider-optional-props)
10
+ - [Troubleshooting](#troubleshooting)
11
+ - [Development](#development--publishing)
12
+
13
+ ---
14
+
15
+ ## Quick start
16
+
17
+ **Install**
18
+
19
+ ```bash
20
+ npm install @stokr/components-library
21
+ npm install react react-dom styled-components react-router-dom
22
+ ```
23
+
24
+ Peers: React 18+/19+, styled-components 6.x, react-router-dom 6.x when you use routing-driven components (`HeaderHo`, `MainMenu`, …).
25
+
26
+ **1. Router** — Navigation helpers need a React Router:
27
+
28
+ ```jsx
29
+ import { BrowserRouter } from 'react-router-dom'
30
+ import { RouterWrapper } from '@stokr/components-library'
31
+
32
+ // Normal app
33
+ root.render(
34
+ <BrowserRouter>
35
+ <App />
36
+ </BrowserRouter>,
37
+ )
38
+
39
+ // Outside a Router: RouterWrapper wraps children in BrowserRouter once.
40
+ // Inside an existing Router: it renders children only (no nested BrowserRouter).
41
+ root.render(
42
+ <RouterWrapper>
43
+ <App />
44
+ </RouterWrapper>,
45
+ )
46
+ ```
47
+
48
+ **2. Auth & runtime config (required when consuming via npm)** — Vite freezes `import.meta.env` inside pre-built deps, so push your `.env` at runtime via `config`:
49
+
50
+ ```jsx
51
+ import { AuthProvider } from '@stokr/components-library'
52
+
53
+ export default function App() {
54
+ return (
55
+ <AuthProvider
56
+ config={{
57
+ apiUrl: import.meta.env.VITE_API_URL,
58
+ baseUrlPublic: import.meta.env.VITE_BASE_URL_PUBLIC,
59
+ cookieDomain: import.meta.env.VITE_COOKIE_DOMAIN,
60
+ websiteDomain: import.meta.env.VITE_WEBSITE_DOMAIN,
61
+ photoApiUrl: import.meta.env.VITE_PHOTO_API_URL,
62
+ onboardingUrl: import.meta.env.VITE_ONBOARDING_URL,
63
+ dashboardUrl: import.meta.env.VITE_DASHBOARD_URL,
64
+ adminUrl: import.meta.env.VITE_ADMIN_URL,
65
+ registerUrl: import.meta.env.VITE_REGISTER_URL,
66
+ firebase: {
67
+ apiKey: import.meta.env.VITE_FIREBASE_API_KEY,
68
+ authDomain: import.meta.env.VITE_FIREBASE_AUTH_DOMAIN,
69
+ projectId: import.meta.env.VITE_FIREBASE_PROJECT_ID,
70
+ storageBucket: import.meta.env.VITE_FIREBASE_STORAGE_BUCKET,
71
+ messagingSenderId: import.meta.env.VITE_FIREBASE_MESSAGING_SENDER_ID,
72
+ appId: import.meta.env.VITE_FIREBASE_APP_ID,
73
+ measurementId: import.meta.env.VITE_FIREBASE_MEASUREMENT_ID,
74
+ },
75
+ }}>
76
+ {/* app */}
77
+ </AuthProvider>
78
+ )
79
+ }
80
+ ```
81
+
82
+ **3. Earlier config** (e.g. analytics before mount): `import { configure } from '@stokr/components-library'` with the same shape as `config`.
83
+
84
+ **4. Icons / fonts** — Optional: `<IoniconsStyles />` at root, or rely on lazy injection when a component uses icons; for Layout / Open Sans: `import '@stokr/components-library/styles.css'`.
85
+
86
+ **5. Imports** — `import { ConfirmModal, Button, … } from '@stokr/components-library'`.
87
+
88
+ Full URL env example:
89
+
90
+ ```bash
91
+ VITE_WEBSITE_DOMAIN=example.com
92
+ VITE_ONBOARDING_URL=https://signup.example.com
93
+ VITE_DASHBOARD_URL=https://dashboard.example.com
94
+ VITE_ADMIN_URL=https://admin.example.com
95
+ VITE_REGISTER_URL=https://example.com/signup
96
+ ```
97
+
98
+ ---
99
+
100
+ ## Configuration reference {#runtime-config}
101
+
102
+ | `config` key | Typical `VITE_*` | Role |
103
+ | ----------------- | -------------------------- | ----------------------------------------- |
104
+ | `apiUrl` | `VITE_API_URL` | Authenticated REST base |
105
+ | `baseUrlPublic` | `VITE_BASE_URL_PUBLIC` | Public API base |
106
+ | `cookieDomain` | `VITE_COOKIE_DOMAIN` | Auth cookie `domain` attribute |
107
+ | `websiteDomain` | `VITE_WEBSITE_DOMAIN` | Bare host → links / `getPlatformURL()` |
108
+ | `photoApiUrl` | `VITE_PHOTO_API_URL` | Avatars / media |
109
+ | `onboardingUrl` | `VITE_ONBOARDING_URL` | Full signup/sign-in app URL |
110
+ | `dashboardUrl` | `VITE_DASHBOARD_URL` | Investor dashboard URL |
111
+ | `adminUrl` | `VITE_ADMIN_URL` | Venture / admin dashboard URL |
112
+ | `registerUrl` | `VITE_REGISTER_URL` | Public registration entry |
113
+ | `firebase` | `VITE_FIREBASE_*` | Firebase client config |
114
+
115
+ **Helpers:** `getConfig('…')` for any key above; `getPlatformURL()` → `https://{websiteDomain}`; `getAnalyticsIngestUrl()`, `getBackofficeAppUrl(path)`; **`getFooterGroups()`** replaces static footer URL lists.
116
+
117
+ **Auth-only HTTP:** `authenticationApi.post(segment, body)` for `auth/*`; default axios stays the main API client after login.
118
+
119
+ Missing overrides may trigger a **one-time** warning listing unresolved `VITE_*` expectations.
120
+
121
+ ---
122
+
123
+ ## AuthProvider & AuthContext {#authprovider-optional-props}
124
+
125
+ `AuthProvider` is wrapped with **`withRouter`** — mount it inside a **`Router`** so redirects work.
126
+
127
+ ### Optional provider props
128
+
129
+ - **`inactivityTimeMs`** — Idle timeout before auto-logout + session modal (default 5 min).
130
+ - **`inactivityWarningBeforeMs`** — How long before that timeout to show the **“session about to expire”** warning modal (default 30 s). See [Inactivity auto-logout](#inactivity-auto-logout).
131
+ - **`accessTokenExpiryMs`** — Cookie TTL when **`Auth.setAccessToken`** runs (default **`DEFAULT_TOKEN_EXPIRY_MS`** = 1 h); not extended by **`getUser`** alone.
132
+ - **`hideInactivityModal`** — Suppress both built-in inactivity modals (warning + session expired).
133
+ - **`onSessionExpiredLoginClick`** — Called when the user clicks **Log in** on the session-expired modal.
134
+ - **`customValidateGetUser(user)`** — Hook after **`user/get`** succeeds (see `src/context/AuthContext.js`).
135
+
136
+ ### Inactivity auto-logout {#inactivity-auto-logout}
137
+
138
+ When a user is logged in, `AuthProvider` resets an idle timer on mouse, keyboard, click, scroll, and touch events.
139
+
140
+ 1. **Warning modal** — Shown **`inactivityWarningBeforeMs`** before the idle deadline (default: 30 s before the 5 min timeout). The user can click **To continue, press here** to reset the idle timer, or close the modal (logout still happens at the deadline). Any activity also resets the timer and closes the warning.
141
+ 2. **Session expired modal** — Shown when the idle deadline is reached (existing behaviour). The warning modal closes automatically at the same moment.
142
+
143
+ Neither modal is shown when the user is not logged in. Both are skipped when **`hideInactivityModal`** is set.
144
+
145
+ **Storybook:** `Authentication / Auto-logout (inactivity)` → **With warning modal** (20 s idle, warning at 10 s).
146
+
147
+ ### AuthContext consumer {#authcontext-usecontext}
148
+
149
+ `import { AuthContext } from '…'` then `useContext(AuthContext)`.
150
+
151
+ - **Invalid Firebase guard:** value is **`{ user: null, isFetchingUser: false }`** only (no methods).
152
+ - **State (grouped):** `user` / `firebaseUser`, `isFetchingUser`, `avatar`; MFA (`waitingFor2fa`, `userMfaEnrollment`, `firebaseError`); verify-email (`verifyEmailError`, `isVerifyingEmail`); session UX (`loggedOutDueToInactivity`, `loggedOutDueToCookieExpiry`, `sessionExpiryPendingReason`, `showInactivityWarningModal`).
153
+ - **Actions (grouped):** `userRef`, `loginUser`, `logoutUser`, `getUser`, `setUser`, `updateUser`, `refreshIdToken`; `checkUserIsValid`, `checkTokenIsValid`; `uploadPhoto`, `deletePhoto`, `checkUserPhoto`; MFA enroll / verify / unenroll + `reset2faFlow`; subscription/onboarding helpers; password & email (`handleResetPassword`, `handleVerifyEmail`, `requestUpdateEmail`, …); wallets / PoA (`uploaProofOfAddress` keeps the source spelling); **`dismissSessionExpiryModal`**, **`extendSessionFromInactivityWarning`**, **`dismissInactivityWarningModal`**.
154
+
155
+ Use **`AuthConsumer`** for the render-prop pattern.
156
+
157
+ ---
158
+
159
+ ## Troubleshooting {#troubleshooting}
160
+
161
+ **`useNavigate` / Router**
162
+
163
+ Add `BrowserRouter` (or **`RouterWrapper`** from this package where the shell has no router). Install `react-router-dom`.
164
+
165
+ **Invalid hook call / duplicated React**
166
+
167
+ Dedupe peers in Vite: `resolve: { dedupe: ['react', 'react-dom', 'styled-components'] }`.
168
+
169
+ ---
170
+
171
+ ## Development {#development--publishing}
172
+
173
+ | Command | Meaning |
174
+ | -------------------- | -------------------------------- |
175
+ | `npm run storybook` | Local docs / stories |
176
+ | `npm run build:dist` | Library build + static copy |
177
+ | `npm run pub` | Build then publish (`npm login`) |
178
+
179
+ Release: changelog entry → `npm version` → `npm run pub`. Details: [CHANGELOG.md](CHANGELOG.md).
@@ -1,4 +1,4 @@
1
- import mixpanel from "../node_modules/mixpanel-browser/dist/mixpanel.module.js";
1
+ import mixpanel from "mixpanel-browser";
2
2
  import { getAnalyticsIngestUrl } from "../utils/app-urls-analytics-backoffice.js";
3
3
  const BLOCKED_FIELDS = /* @__PURE__ */ new Set([
4
4
  // PII
@@ -1,7 +1,7 @@
1
- import api from "../node_modules/js-cookie/dist/js.cookie.js";
1
+ import Cookies from "js-cookie";
2
2
  import axiosInstance from "../model/axios.js";
3
3
  const fetchData = async (url, data) => {
4
- const accessToken = api.get("STOKR_ACCESS_TOKEN");
4
+ const accessToken = Cookies.get("STOKR_ACCESS_TOKEN");
5
5
  const parsedData = JSON.stringify(data ?? {});
6
6
  if (!accessToken) {
7
7
  console.log("no access token");
@@ -5,7 +5,7 @@ import { Text } from "../Text/Text.styles.js";
5
5
  import { Button } from "../Button/Button.styles.js";
6
6
  import { ComponentWrapper } from "../ComponentWrapper/ComponentWrapper.styles.js";
7
7
  import { ModalWrapper, ModalInner } from "../Modal/Modal.styles.js";
8
- import { QRCodeSVG } from "../../node_modules/qrcode.react/lib/esm/index.js";
8
+ import { QRCodeSVG } from "qrcode.react";
9
9
  import { Row, Column } from "../Grid/Grid.styles.js";
10
10
  import stdin_default$1 from "../CryptoAddress/CryptoAddress.js";
11
11
  import { useMobileView } from "../../utils/customHooks.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import "react";
3
- import { Formik } from "../../node_modules/formik/dist/formik.esm.js";
3
+ import { Formik } from "formik";
4
4
  import { Modal } from "../Modal/Modal.js";
5
5
  import stdin_default$1 from "../Form/Form.js";
6
6
  import { Text } from "../Text/Text.styles.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { Text } from "../Text/Text.styles.js";
5
5
  import { Button } from "../Button/Button.styles.js";
6
6
  import { ComponentWrapper } from "../ComponentWrapper/ComponentWrapper.styles.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import PropTypes from "../../_virtual/index2.js";
2
+ import PropTypes from "prop-types";
3
3
  import stdin_default$2 from "./EnterCode.js";
4
4
  import stdin_default$3 from "./ResetCode.js";
5
5
  import { Layout } from "../Layout/Layout.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import React__default, { useContext, useState, useRef, useEffect } from "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { AuthContext } from "../../context/AuthContext.js";
5
5
  import { ComponentWrapper } from "../ComponentWrapper/ComponentWrapper.styles.js";
6
6
  import stdin_default$1 from "../Switch/Switch.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { InfoIcon } from "../InfoIcon/InfoIcon.js";
5
5
  import { Container, Head, Title, Body, Value, Equal } from "./AccountBalance.styles.js";
6
6
  const AccountBalance = ({ title, value, unit, info = "", eqValue = "", eqUnit = "", right = false }) => /* @__PURE__ */ jsxs(Container, { right, children: [
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import PropTypes from "../../../_virtual/index2.js";
2
+ import PropTypes from "prop-types";
3
3
  import React__default, { useId, useState, useCallback } from "react";
4
- import { r as reactTableExports } from "../../../_virtual/index3.js";
4
+ import { useTable, useExpanded, usePagination } from "react-table";
5
5
  import stdin_default$1 from "../../Pagination/PaginationControls.js";
6
6
  import { Styles, TableWrap, StyledReactTable } from "./Table.styles.js";
7
7
  const INTERACTIVE_ELEMENTS = ["button", "a", "input", "select", "textarea", "label"];
@@ -73,7 +73,7 @@ function ReactTable(props) {
73
73
  gotoPage,
74
74
  setPageSize,
75
75
  state: { pageIndex, pageSize }
76
- } = reactTableExports.useTable(
76
+ } = useTable(
77
77
  {
78
78
  columns,
79
79
  data,
@@ -82,8 +82,8 @@ function ReactTable(props) {
82
82
  pageSize: isSubTable ? 1e4 : 10
83
83
  }
84
84
  },
85
- reactTableExports.useExpanded,
86
- reactTableExports.usePagination
85
+ useExpanded,
86
+ usePagination
87
87
  );
88
88
  const [inputPageSize, setInputPageSize] = useState(isSubTable ? 1e4 : 10);
89
89
  React__default.useEffect(() => {
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import React__default from "react";
3
3
  import stdin_default from "./ReactTable.js";
4
4
  import { TableDropdownIcon } from "./Table.styles.js";
5
- import PropTypes from "../../../_virtual/index2.js";
5
+ import PropTypes from "prop-types";
6
6
  const renderCell = ({ row }) => (
7
7
  // Use Cell to render an expander for dropdown cell.
8
8
  // We can use the getToggleRowExpandedProps prop-getter
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { PureComponent } from "react";
3
- import PropTypes from "../../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import stdin_default from "../../ComponentScroll/ComponentScroll.js";
5
5
  import { Container, HeadWrapper, StyledTable, Head, Row, Column, TableWrapper, Body } from "./Table.styles.js";
6
6
  const OptionalScroll = ({ children, maxHeight = 500, noScroll = false, onScroll }) => {
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { Fragment } from "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { InfoIcon } from "../InfoIcon/InfoIcon.js";
5
5
  import { Text } from "../Text/Text.styles.js";
6
6
  import stdin_default, { CheckboxPropTypes } from "../Checkbox/Checkbox.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { useNavigate } from "react-router-dom";
5
5
  import { IoniconsStyles } from "../../styles/ioniconsStyles.js";
6
6
  import { StyledBackButtonExternal, BackButtonIcon, StyledBackButton, StyledWindowBackButton } from "./BackButton.styles.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { Container, Wrap, Img, Caption, Content } from "./Background.styles.js";
5
5
  const Background = (props) => {
6
6
  const {
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { Table, Row, Label, Value, Caption, LabelWarning } from "./BasicTable.styles.js";
5
5
  const BasicTable = ({ data, filled, smallPadding }) => /* @__PURE__ */ jsx(Table, { filled, children: data.map((item, itemKey) => /* @__PURE__ */ jsxs(Row, { smallPadding, children: [
6
6
  /* @__PURE__ */ jsx(Label, { children: item.label }),
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useEffect } from "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { Container, ImageWrapper, LoaderWrapper, LoaderImage, Image, Content, Category, TextWrapper, BottomRow, StyledButton } from "./BlogPost.styles.js";
5
5
  import { loaderGif } from "../StokrLoader/StokrLoader.js";
6
6
  import { Breakdown } from "../breakdown/Breakdown.js";
@@ -1,5 +1,5 @@
1
1
  import styled, { css } from "styled-components";
2
- import PropTypes from "../../_virtual/index2.js";
2
+ import PropTypes from "prop-types";
3
3
  import theme from "../../styles/theme.js";
4
4
  const Button = styled.button.withConfig({
5
5
  shouldForwardProp: (props) => ![
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import PropTypes from "../../_virtual/index2.js";
2
+ import PropTypes from "prop-types";
3
3
  import { Button } from "./Button.styles.js";
4
4
  import { colors } from "../../styles/colors.js";
5
- import { useInView } from "../../node_modules/react-intersection-observer/dist/index.js";
5
+ import { useInView } from "react-intersection-observer";
6
6
  import { useState, useRef, useId, useEffect } from "react";
7
7
  import styled, { css, keyframes } from "styled-components";
8
8
  const config = {
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import PropTypes from "../../_virtual/index2.js";
4
- import { l as libExports } from "../../_virtual/index4.js";
3
+ import PropTypes from "prop-types";
4
+ import { Collapse } from "react-collapse";
5
5
  import { Items, Item, Head, ColorLabel, NameCol, LargeText, SmallText, MarketDataCol, Arrow, Body } from "./ChartLegend.styles.js";
6
6
  const ChartLegend = (props) => {
7
7
  const { data } = props;
@@ -38,7 +38,7 @@ const ChartLegend = (props) => {
38
38
  ] }),
39
39
  item.details && /* @__PURE__ */ jsx(Arrow, { isOpened: activeItems[itemKey] })
40
40
  ] }),
41
- item.details && /* @__PURE__ */ jsx(libExports.Collapse, { isOpened: activeItems[itemKey], children: /* @__PURE__ */ jsx(Body, { children: item.details }) })
41
+ item.details && /* @__PURE__ */ jsx(Collapse, { isOpened: activeItems[itemKey], children: /* @__PURE__ */ jsx(Body, { children: item.details }) })
42
42
  ] }, item.name)) });
43
43
  };
44
44
  ChartLegend.propTypes = {
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import styled from "styled-components";
4
- import PropTypes from "../../_virtual/index2.js";
4
+ import PropTypes from "prop-types";
5
5
  import { Wrapper, Label, Input } from "./Checkbox.styles.js";
6
6
  const CheckBoxCaption = styled.div`
7
7
  padding-top: 12px;
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { iconsMap } from "../Icon/Icon.style.js";
5
5
  import { CardContainer, IconBlock, IconCopy, CardTitle, CardDescription } from "./ChecklistCard.styles.js";
6
6
  import { Icon } from "../ToDoList/ToDoListTask.styles.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import { StyledChip, ChipText } from "./Chip.styles.js";
5
5
  import { InfoIcon } from "../InfoIcon/InfoIcon.js";
6
6
  const Chip = ({ children, isActive = false, onClick = () => {
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
- import PropTypes from "../../_virtual/index2.js";
3
+ import PropTypes from "prop-types";
4
4
  import stdin_default from "./Chip.js";
5
5
  import { Wrapper } from "./Chip.styles.js";
6
6
  import { Scroll } from "../TabsNav/TabsNav.styles.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useRef, useEffect } from "react";
3
- import PropTypes from "../../_virtual/index2.js";
4
- import { l as libExports } from "../../_virtual/index5.js";
3
+ import PropTypes from "prop-types";
4
+ import { Scrollbars } from "react-custom-scrollbars-4";
5
5
  import { Container, Outer, Inner, ThumbV, TrackV, ThumbH, TrackH } from "./ComponentScroll.styles.js";
6
6
  const ComponentScroll = (props) => {
7
7
  const {
@@ -31,7 +31,7 @@ const ComponentScroll = (props) => {
31
31
  }
32
32
  };
33
33
  return /* @__PURE__ */ jsx(Container, { className, noMobileScroll, isMobile: true, fullHeight, children: /* @__PURE__ */ jsx(Outer, { offset, barPadding, topPadding, children: /* @__PURE__ */ jsx(
34
- libExports.Scrollbars,
34
+ Scrollbars,
35
35
  {
36
36
  ref: scrollRef,
37
37
  style: { height: "100%" },