@cuemath/leap 3.0.11-j1 → 3.0.11-j3

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 (74) hide show
  1. package/dist/assets/illustrations/illustrations.js +1 -1
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/features/auth/account-selector/account-selector.js +35 -82
  4. package/dist/features/auth/account-selector/account-selector.js.map +1 -1
  5. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +9 -8
  6. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  7. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +13 -12
  8. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -1
  9. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +14 -13
  10. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +1 -1
  11. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +5 -4
  12. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +1 -1
  13. package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js +24 -0
  14. package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js.map +1 -0
  15. package/dist/features/auth/comps/resend-otp/resend-otp.js +34 -30
  16. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
  17. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +23 -0
  18. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -0
  19. package/dist/features/auth/comps/tabs/tabs.js +6 -20
  20. package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
  21. package/dist/features/auth/forgot-password/otp-form/otp-form.js +39 -36
  22. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +1 -1
  23. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +41 -30
  24. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +1 -1
  25. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +63 -54
  26. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +1 -1
  27. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +21 -20
  28. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +1 -1
  29. package/dist/features/auth/login/login-constants.js +6 -4
  30. package/dist/features/auth/login/login-constants.js.map +1 -1
  31. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +7 -6
  32. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +1 -1
  33. package/dist/features/auth/login/social-login-methods/social-login-methods.js +15 -14
  34. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +1 -1
  35. package/dist/features/auth/login/username-password-form/username-password-form.js +15 -14
  36. package/dist/features/auth/login/username-password-form/username-password-form.js.map +1 -1
  37. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +36 -36
  38. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
  39. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +48 -74
  40. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +1 -1
  41. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +11 -11
  42. package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +1 -1
  43. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +62 -60
  44. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
  45. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +27 -26
  46. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +1 -1
  47. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +9 -8
  48. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +1 -1
  49. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +11 -15
  50. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -1
  51. package/dist/features/auth/signup/signup-methods/signup-methods.js +8 -7
  52. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +1 -1
  53. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +17 -17
  54. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +1 -1
  55. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +1 -3
  56. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +1 -1
  57. package/dist/features/auth/user-list/user-item/user-item-styled.js +21 -0
  58. package/dist/features/auth/user-list/user-item/user-item-styled.js.map +1 -0
  59. package/dist/features/auth/user-list/user-item/user-item.js +48 -0
  60. package/dist/features/auth/user-list/user-item/user-item.js.map +1 -0
  61. package/dist/features/auth/user-list/user-list-styled.js +19 -0
  62. package/dist/features/auth/user-list/user-list-styled.js.map +1 -0
  63. package/dist/features/auth/user-list/user-list.js +56 -0
  64. package/dist/features/auth/user-list/user-list.js.map +1 -0
  65. package/dist/index.d.ts +36 -33
  66. package/dist/index.js +282 -282
  67. package/dist/static/cuemath-app-qr-code.4beefe48.svg +1 -0
  68. package/package.json +1 -1
  69. package/dist/features/auth/account-selector/account-selector-styled.js +0 -37
  70. package/dist/features/auth/account-selector/account-selector-styled.js.map +0 -1
  71. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -25
  72. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
  73. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +0 -27
  74. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"user-type-selector.js","sources":["../../../../../src/features/auth/signup/user-type-selector/user-type-selector.tsx"],"sourcesContent":["import type { TAuthUserType } from '../signup-types';\nimport type { IUserTypeSelectorProps } from './user-type-selector-types';\n\nimport { memo, type FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Next2Icon from '../../../../assets/line-icons/icons/next2';\nimport IconButton from '../../../ui/buttons/icon-button/icon-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { USER_TYPES } from '../signup-constants';\nimport UserTypeCard from './user-type-card/user-type-card';\nimport * as Styled from './user-type-selector-styled';\n\nconst UserTypeSelector: FC<IUserTypeSelectorProps> = ({ onNext, onUserTypeChange, userType }) => {\n return (\n <Styled.Container\n $flex={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n $background=\"BLACK_1\"\n >\n <Styled.Logo src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO} alt=\"Parent Signup\" withLoader={false} />\n <FlexView\n $flex={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n >\n <Separator heightX={9.5} />\n <Text $color=\"WHITE\" $renderAs=\"ab1\" $align=\"center\">\n Ready to explore? <br />\n First, tell us who you are.\n </Text>\n <Separator heightX={2.5} />\n <FlexView\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $flexDirection=\"row\"\n $flexColumnGapX={2.5}\n >\n {USER_TYPES.map(({ id }: { id: TAuthUserType }) => (\n <UserTypeCard\n userType={id}\n isSelected={userType === id}\n onClick={() => onUserTypeChange(id)}\n key={id}\n />\n ))}\n <Styled.NextButton>\n <IconButton\n Icon={Next2Icon}\n renderAs=\"secondary\"\n analyticsLabel=\"Next\"\n onClick={onNext}\n />\n </Styled.NextButton>\n </FlexView>\n <Separator heightX={6} />\n <Text $renderAs=\"ub2\" $color=\"WHITE_T_60\" $align=\"center\">\n By continuing, you agree to our <br />\n <Text $inline $renderAs=\"ub2-bold\" $color=\"WHITE_T_60\">\n Terms of Use\n </Text>{' '}\n and{' '}\n <Text $inline $renderAs=\"ub2-bold\" $color=\"WHITE_T_60\">\n Privacy Policy\n </Text>\n </Text>\n </FlexView>\n </Styled.Container>\n );\n};\n\nexport default memo(UserTypeSelector);\n"],"names":["UserTypeSelector","onNext","onUserTypeChange","userType","jsxs","Styled.Container","jsx","Styled.Logo","ILLUSTRATIONS","FlexView","Separator","Text","USER_TYPES","id","UserTypeCard","Styled.NextButton","IconButton","Next2Icon","userTypeSelector","memo"],"mappings":";;;;;;;;;;;AAeA,MAAMA,IAA+C,CAAC,EAAE,QAAAC,GAAQ,kBAAAC,GAAkB,UAAAC,QAE9E,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,OAAO;AAAA,IACP,aAAY;AAAA,IACZ,iBAAgB;AAAA,IAChB,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,aAAY;AAAA,IAEZ,UAAA;AAAA,MAAC,gBAAAC,EAAAC,GAAA,EAAY,KAAKC,EAAc,qBAAqB,KAAI,iBAAgB,YAAY,IAAO;AAAA,MAC5F,gBAAAJ;AAAA,QAACK;AAAA,QAAA;AAAA,UACC,OAAO;AAAA,UACP,aAAY;AAAA,UACZ,iBAAgB;AAAA,UAChB,QAAO;AAAA,UACP,SAAQ;AAAA,UAER,UAAA;AAAA,YAAC,gBAAAH,EAAAI,GAAA,EAAU,SAAS,IAAK,CAAA;AAAA,8BACxBC,GAAK,EAAA,QAAO,SAAQ,WAAU,OAAM,QAAO,UAAS,UAAA;AAAA,cAAA;AAAA,gCAChC,MAAG,EAAA;AAAA,cAAE;AAAA,YAAA,GAE1B;AAAA,YACA,gBAAAL,EAACI,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,YACzB,gBAAAN;AAAA,cAACK;AAAA,cAAA;AAAA,gBACC,aAAY;AAAA,gBACZ,iBAAgB;AAAA,gBAChB,gBAAe;AAAA,gBACf,iBAAiB;AAAA,gBAEhB,UAAA;AAAA,kBAAAG,EAAW,IAAI,CAAC,EAAE,IAAAC,EACjB,MAAA,gBAAAP;AAAA,oBAACQ;AAAA,oBAAA;AAAA,sBACC,UAAUD;AAAA,sBACV,YAAYV,MAAaU;AAAA,sBACzB,SAAS,MAAMX,EAAiBW,CAAE;AAAA,oBAAA;AAAA,oBAC7BA;AAAA,kBAAA,CAER;AAAA,kBACD,gBAAAP,EAACS,GAAA,EACC,UAAA,gBAAAT;AAAA,oBAACU;AAAA,oBAAA;AAAA,sBACC,MAAMC;AAAA,sBACN,UAAS;AAAA,sBACT,gBAAe;AAAA,sBACf,SAAShB;AAAA,oBAAA;AAAA,kBAAA,GAEb;AAAA,gBAAA;AAAA,cAAA;AAAA,YACF;AAAA,YACA,gBAAAK,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,8BACtBC,GAAK,EAAA,WAAU,OAAM,QAAO,cAAa,QAAO,UAAS,UAAA;AAAA,cAAA;AAAA,gCACvB,MAAG,EAAA;AAAA,cACpC,gBAAAL,EAACK,KAAK,SAAO,IAAC,WAAU,YAAW,QAAO,cAAa,UAEvD,eAAA,CAAA;AAAA,cAAQ;AAAA,cAAI;AAAA,cACR;AAAA,cACJ,gBAAAL,EAACK,KAAK,SAAO,IAAC,WAAU,YAAW,QAAO,cAAa,UAEvD,iBAAA,CAAA;AAAA,YAAA,GACF;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAAA,GAKSO,IAAAC,EAAKnB,CAAgB;"}
1
+ {"version":3,"file":"user-type-selector.js","sources":["../../../../../src/features/auth/signup/user-type-selector/user-type-selector.tsx"],"sourcesContent":["import type { TAuthUserType } from '../signup-types';\nimport type { IUserTypeSelectorProps } from './user-type-selector-types';\n\nimport { memo, type FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport Next2Icon from '../../../../assets/line-icons/icons/next2';\nimport IconButton from '../../../ui/buttons/icon-button/icon-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { USER_TYPES } from '../signup-constants';\nimport UserTypeCard from './user-type-card/user-type-card';\nimport * as Styled from './user-type-selector-styled';\n\nconst UserTypeSelector: FC<IUserTypeSelectorProps> = ({ onNext, onUserTypeChange, userType }) => {\n return (\n <Styled.Container\n $flex={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n $background=\"BLACK_1\"\n >\n <Styled.Logo src={ILLUSTRATIONS.CIRCLE_CUEMATH_LOGO} alt=\"Parent Signup\" withLoader={false} />\n <FlexView\n $flex={1}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $width=\"100%\"\n $height=\"100%\"\n >\n <Separator heightX={9.5} />\n <Text $color=\"WHITE\" $renderAs=\"ab1\" $align=\"center\">\n Ready to explore? <br />\n First, tell us who you are.\n </Text>\n <Separator heightX={2.5} />\n <FlexView\n $alignItems=\"center\"\n $justifyContent=\"center\"\n $flexDirection=\"row\"\n $flexColumnGapX={2.5}\n >\n {USER_TYPES.map(({ id }: { id: TAuthUserType }) => (\n <UserTypeCard\n userType={id}\n isSelected={userType === id}\n onClick={() => onUserTypeChange(id)}\n key={id}\n />\n ))}\n <Styled.NextButton>\n <IconButton\n Icon={Next2Icon}\n renderAs=\"secondary\"\n analyticsLabel=\"Next\"\n onClick={onNext}\n />\n </Styled.NextButton>\n </FlexView>\n <Separator heightX={6} />\n <Text $renderAs=\"ub2\" $color=\"WHITE_T_60\" $align=\"center\">\n By continuing, you agree to our <br />\n <Text $inline $renderAs=\"ub2-bold\" $color=\"WHITE_T_60\">\n Terms of Use\n </Text>\n &nbsp; and &nbsp;\n <Text $inline $renderAs=\"ub2-bold\" $color=\"WHITE_T_60\">\n Privacy Policy\n </Text>\n </Text>\n </FlexView>\n </Styled.Container>\n );\n};\n\nexport default memo(UserTypeSelector);\n"],"names":["UserTypeSelector","onNext","onUserTypeChange","userType","jsxs","Styled.Container","jsx","Styled.Logo","ILLUSTRATIONS","FlexView","Separator","Text","USER_TYPES","id","UserTypeCard","Styled.NextButton","IconButton","Next2Icon","userTypeSelector","memo"],"mappings":";;;;;;;;;;;AAeA,MAAMA,IAA+C,CAAC,EAAE,QAAAC,GAAQ,kBAAAC,GAAkB,UAAAC,QAE9E,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,OAAO;AAAA,IACP,aAAY;AAAA,IACZ,iBAAgB;AAAA,IAChB,QAAO;AAAA,IACP,SAAQ;AAAA,IACR,aAAY;AAAA,IAEZ,UAAA;AAAA,MAAC,gBAAAC,EAAAC,GAAA,EAAY,KAAKC,EAAc,qBAAqB,KAAI,iBAAgB,YAAY,IAAO;AAAA,MAC5F,gBAAAJ;AAAA,QAACK;AAAA,QAAA;AAAA,UACC,OAAO;AAAA,UACP,aAAY;AAAA,UACZ,iBAAgB;AAAA,UAChB,QAAO;AAAA,UACP,SAAQ;AAAA,UAER,UAAA;AAAA,YAAC,gBAAAH,EAAAI,GAAA,EAAU,SAAS,IAAK,CAAA;AAAA,8BACxBC,GAAK,EAAA,QAAO,SAAQ,WAAU,OAAM,QAAO,UAAS,UAAA;AAAA,cAAA;AAAA,gCAChC,MAAG,EAAA;AAAA,cAAE;AAAA,YAAA,GAE1B;AAAA,YACA,gBAAAL,EAACI,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,YACzB,gBAAAN;AAAA,cAACK;AAAA,cAAA;AAAA,gBACC,aAAY;AAAA,gBACZ,iBAAgB;AAAA,gBAChB,gBAAe;AAAA,gBACf,iBAAiB;AAAA,gBAEhB,UAAA;AAAA,kBAAAG,EAAW,IAAI,CAAC,EAAE,IAAAC,EACjB,MAAA,gBAAAP;AAAA,oBAACQ;AAAA,oBAAA;AAAA,sBACC,UAAUD;AAAA,sBACV,YAAYV,MAAaU;AAAA,sBACzB,SAAS,MAAMX,EAAiBW,CAAE;AAAA,oBAAA;AAAA,oBAC7BA;AAAA,kBAAA,CAER;AAAA,kBACD,gBAAAP,EAACS,GAAA,EACC,UAAA,gBAAAT;AAAA,oBAACU;AAAA,oBAAA;AAAA,sBACC,MAAMC;AAAA,sBACN,UAAS;AAAA,sBACT,gBAAe;AAAA,sBACf,SAAShB;AAAA,oBAAA;AAAA,kBAAA,GAEb;AAAA,gBAAA;AAAA,cAAA;AAAA,YACF;AAAA,YACA,gBAAAK,EAACI,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,8BACtBC,GAAK,EAAA,WAAU,OAAM,QAAO,cAAa,QAAO,UAAS,UAAA;AAAA,cAAA;AAAA,gCACvB,MAAG,EAAA;AAAA,cACpC,gBAAAL,EAACK,KAAK,SAAO,IAAC,WAAU,YAAW,QAAO,cAAa,UAEvD,eAAA,CAAA;AAAA,cAAO;AAAA,cAEP,gBAAAL,EAACK,KAAK,SAAO,IAAC,WAAU,YAAW,QAAO,cAAa,UAEvD,iBAAA,CAAA;AAAA,YAAA,GACF;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAAA,GAKSO,IAAAC,EAAKnB,CAAgB;"}
@@ -0,0 +1,21 @@
1
+ import t from "styled-components";
2
+ import l from "../../../ui/layout/flex-view.js";
3
+ const c = t(l)`
4
+ cursor: pointer;
5
+ transition: background-color 0.3s ease;
6
+ position: relative;
7
+ border-left: 1px solid ${({ theme: o }) => o.colors.BLACK_5};
8
+ border-bottom: 1px solid ${({ theme: o }) => o.colors.BLACK_5};
9
+
10
+ &:hover {
11
+ background-color: ${({ theme: o }) => o.colors.BLACK_2};
12
+ }
13
+
14
+ ${({ index: o, theme: r, maxColumns: e }) => o < e && `border-top: 1px solid ${r.colors.BLACK_5};`}
15
+
16
+ ${({ index: o, isLastItem: r, theme: e, maxColumns: s }) => ((o + 1) % s === 0 || r) && `border-right: 1px solid ${e.colors.BLACK_5};`}
17
+ `;
18
+ export {
19
+ c as UserItemCard
20
+ };
21
+ //# sourceMappingURL=user-item-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-item-styled.js","sources":["../../../../../src/features/auth/user-list/user-item/user-item-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const UserItemCard = styled(FlexView)<{\n index: number;\n isLastItem?: boolean;\n maxColumns: number;\n}>`\n cursor: pointer;\n transition: background-color 0.3s ease;\n position: relative;\n border-left: 1px solid ${({ theme }) => theme.colors.BLACK_5};\n border-bottom: 1px solid ${({ theme }) => theme.colors.BLACK_5};\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_2};\n }\n\n ${({ index, theme, maxColumns }) =>\n index < maxColumns && `border-top: 1px solid ${theme.colors.BLACK_5};`}\n\n ${({ index, isLastItem, theme, maxColumns }) =>\n ((index + 1) % maxColumns === 0 || isLastItem) &&\n `border-right: 1px solid ${theme.colors.BLACK_5};`}\n`;\n"],"names":["UserItemCard","styled","FlexView","theme","index","maxColumns","isLastItem"],"mappings":";;AAIa,MAAAA,IAAeC,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA,2BAQhB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA,6BACjC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,wBAGxC,CAAC,EAAE,OAAAA,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,IAGvD,CAAC,EAAE,OAAAC,GAAO,OAAAD,GAAO,YAAAE,EAAW,MAC5BD,IAAQC,KAAc,yBAAyBF,EAAM,OAAO,OAAO,GAAG;AAAA;AAAA,IAEtE,CAAC,EAAE,OAAAC,GAAO,YAAAE,GAAY,OAAAH,GAAO,YAAAE,EAC3B,QAAAD,IAAQ,KAAKC,MAAe,KAAKC,MACnC,2BAA2BH,EAAM,OAAO,OAAO,GAAG;AAAA;"}
@@ -0,0 +1,48 @@
1
+ import { jsxs as p, jsx as t } from "react/jsx-runtime";
2
+ import { memo as f, useCallback as h } from "react";
3
+ import g from "../../../ui/avatar/avatar.js";
4
+ import u from "../../../ui/separator/separator.js";
5
+ import C from "../../../ui/text/text.js";
6
+ import { UserItemCard as d } from "./user-item-styled.js";
7
+ const I = ({
8
+ id: r,
9
+ phone: m,
10
+ username: n,
11
+ avatar: s,
12
+ index: a,
13
+ isLastItem: i,
14
+ onSelect: e,
15
+ avatarSize: c,
16
+ maxColumns: $,
17
+ cardSize: o
18
+ }) => {
19
+ const l = h(() => {
20
+ e(r);
21
+ }, [r, e]);
22
+ return /* @__PURE__ */ p(
23
+ d,
24
+ {
25
+ onClick: l,
26
+ maxColumns: $,
27
+ $gutterX: 2,
28
+ $gapX: 2.81,
29
+ $width: o,
30
+ $height: o,
31
+ $alignItems: "center",
32
+ $justifyContent: "center",
33
+ index: a,
34
+ isLastItem: i,
35
+ $background: "BLACK_1",
36
+ children: [
37
+ /* @__PURE__ */ t(g, { size: c, avatar: s }),
38
+ /* @__PURE__ */ t(u, { heightX: 0.5 }),
39
+ /* @__PURE__ */ t(C, { $color: "WHITE", $renderAs: "ab2", $align: "center", children: n || m })
40
+ ]
41
+ },
42
+ r
43
+ );
44
+ }, X = f(I);
45
+ export {
46
+ X as default
47
+ };
48
+ //# sourceMappingURL=user-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-item.js","sources":["../../../../../src/features/auth/user-list/user-item/user-item.tsx"],"sourcesContent":["import type { IUserItemProps } from './user-item-types';\n\nimport { useCallback, type FC, memo } from 'react';\n\nimport Avatar from '../../../ui/avatar/avatar';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport * as Styled from './user-item-styled';\n\nconst UserItem: FC<IUserItemProps> = ({\n id,\n phone,\n username,\n avatar,\n index,\n isLastItem,\n onSelect,\n avatarSize,\n maxColumns,\n cardSize,\n}) => {\n const handleClick = useCallback(() => {\n onSelect(id);\n }, [id, onSelect]);\n\n return (\n <Styled.UserItemCard\n key={id}\n onClick={handleClick}\n maxColumns={maxColumns}\n $gutterX={2}\n $gapX={2.81}\n $width={cardSize}\n $height={cardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n index={index}\n isLastItem={isLastItem}\n $background=\"BLACK_1\"\n >\n <Avatar size={avatarSize} avatar={avatar} />\n <Separator heightX={0.5} />\n <Text $color=\"WHITE\" $renderAs=\"ab2\" $align=\"center\">\n {username || phone}\n </Text>\n </Styled.UserItemCard>\n );\n};\n\nexport default memo(UserItem);\n"],"names":["UserItem","id","phone","username","avatar","index","isLastItem","onSelect","avatarSize","maxColumns","cardSize","handleClick","useCallback","jsxs","Styled.UserItemCard","jsx","Avatar","Separator","Text","UserItem$1","memo"],"mappings":";;;;;;AASA,MAAMA,IAA+B,CAAC;AAAA,EACpC,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AACF,MAAM;AACE,QAAAC,IAAcC,EAAY,MAAM;AACpC,IAAAL,EAASN,CAAE;AAAA,EAAA,GACV,CAACA,GAAIM,CAAQ,CAAC;AAGf,SAAA,gBAAAM;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,SAASH;AAAA,MACT,YAAAF;AAAA,MACA,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQC;AAAA,MACR,SAASA;AAAA,MACT,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,OAAAL;AAAA,MACA,YAAAC;AAAA,MACA,aAAY;AAAA,MAEZ,UAAA;AAAA,QAAC,gBAAAS,EAAAC,GAAA,EAAO,MAAMR,GAAY,QAAAJ,EAAgB,CAAA;AAAA,QAC1C,gBAAAW,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAF,EAACG,KAAK,QAAO,SAAQ,WAAU,OAAM,QAAO,UACzC,UAAAf,KAAYD,EACf,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAjBKD;AAAA,EAAA;AAoBX,GAEekB,IAAAC,EAAKpB,CAAQ;"}
@@ -0,0 +1,19 @@
1
+ import t from "styled-components";
2
+ import { UserItemCard as e } from "./user-item/user-item-styled.js";
3
+ const i = t.div`
4
+ display: inline-grid;
5
+ grid-template-columns: repeat(
6
+ ${({ itemCount: r, maxColumns: o }) => r < o ? r : o},
7
+ ${({ cardWidth: r }) => r}px
8
+ );
9
+ grid-auto-rows: ${({ cardWidth: r }) => r}px;
10
+ `, s = t(e)`
11
+ &:hover {
12
+ background-color: ${({ theme: r }) => r.colors.BLACK_4};
13
+ }
14
+ `;
15
+ export {
16
+ s as AddAccountButton,
17
+ i as UserListWrapper
18
+ };
19
+ //# sourceMappingURL=user-list-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-list-styled.js","sources":["../../../../src/features/auth/user-list/user-list-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { UserItemCard } from './user-item/user-item-styled';\n\nexport const UserListWrapper = styled.div<{\n itemCount: number;\n maxColumns: number;\n cardWidth: number;\n}>`\n display: inline-grid;\n grid-template-columns: repeat(\n ${({ itemCount, maxColumns }) => (itemCount < maxColumns ? itemCount : maxColumns)},\n ${({ cardWidth }) => cardWidth}px\n );\n grid-auto-rows: ${({ cardWidth }) => cardWidth}px;\n`;\n\nexport const AddAccountButton = styled(UserItemCard)`\n &:hover {\n background-color: ${({ theme }) => theme.colors.BLACK_4};\n }\n`;\n"],"names":["UserListWrapper","styled","itemCount","maxColumns","cardWidth","AddAccountButton","UserItemCard","theme"],"mappings":";;AAIO,MAAMA,IAAkBC,EAAO;AAAA;AAAA;AAAA,MAOhC,CAAC,EAAE,WAAAC,GAAW,YAAAC,EAAA,MAAkBD,IAAYC,IAAaD,IAAYC,CAAW;AAAA,MAChF,CAAC,EAAE,WAAAC,EAAU,MAAMA,CAAS;AAAA;AAAA,oBAEd,CAAC,EAAE,WAAAA,EAAU,MAAMA,CAAS;AAAA,GAGnCC,IAAmBJ,EAAOK,CAAY;AAAA;AAAA,wBAE3B,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;"}
@@ -0,0 +1,56 @@
1
+ import { jsxs as f, jsx as r } from "react/jsx-runtime";
2
+ import { memo as g } from "react";
3
+ import d from "../../../assets/line-icons/icons/plus.js";
4
+ import u from "../../ui/layout/flex-view.js";
5
+ import I from "./user-item/user-item.js";
6
+ import { UserListWrapper as L, AddAccountButton as U } from "./user-list-styled.js";
7
+ const j = ({
8
+ users: i,
9
+ onSelect: h,
10
+ showAddButton: s = !1,
11
+ onAddNew: c,
12
+ maxColumns: e = 5,
13
+ cardSize: t = 200,
14
+ avatarSize: a = 80
15
+ }) => {
16
+ const o = i.length + (s ? 1 : 0);
17
+ return /* @__PURE__ */ f(L, { itemCount: o, maxColumns: e, cardWidth: t, children: [
18
+ i.map(({ id: m, username: p, user_avatar: l, phone: $ }, n) => /* @__PURE__ */ r(
19
+ I,
20
+ {
21
+ id: m,
22
+ onSelect: h,
23
+ cardSize: t,
24
+ index: n,
25
+ maxColumns: e,
26
+ avatarSize: a,
27
+ avatar: l,
28
+ phone: $,
29
+ username: p,
30
+ isLastItem: n === o - 1
31
+ },
32
+ m
33
+ )),
34
+ s && /* @__PURE__ */ r(
35
+ U,
36
+ {
37
+ isLastItem: !0,
38
+ index: o,
39
+ maxColumns: e,
40
+ $gutterX: 5,
41
+ $gapX: 5,
42
+ $background: "BLACK_3",
43
+ $width: t,
44
+ $height: t,
45
+ $alignItems: "center",
46
+ $justifyContent: "center",
47
+ onClick: c,
48
+ children: /* @__PURE__ */ r(u, { $width: 40, $height: 40, children: /* @__PURE__ */ r(d, { color: "WHITE", width: 40, height: 40 }) })
49
+ }
50
+ )
51
+ ] });
52
+ }, X = g(j);
53
+ export {
54
+ X as default
55
+ };
56
+ //# sourceMappingURL=user-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-list.js","sources":["../../../../src/features/auth/user-list/user-list.tsx"],"sourcesContent":["import type { IUserListProps } from './user-list-types';\n\nimport { type FC, memo } from 'react';\n\nimport PlusIcon from '../../../assets/line-icons/icons/plus';\nimport FlexView from '../../ui/layout/flex-view';\nimport UserItem from './user-item/user-item';\nimport * as Styled from './user-list-styled';\n\nconst UserList: FC<IUserListProps> = ({\n users,\n onSelect,\n showAddButton = false,\n onAddNew,\n maxColumns = 5,\n cardSize = 200,\n avatarSize = 80,\n}) => {\n const totalCards = users.length + (showAddButton ? 1 : 0);\n\n return (\n <Styled.UserListWrapper itemCount={totalCards} maxColumns={maxColumns} cardWidth={cardSize}>\n {users.map(({ id, username, user_avatar: avatar, phone }, index) => (\n <UserItem\n key={id}\n id={id}\n onSelect={onSelect}\n cardSize={cardSize}\n index={index}\n maxColumns={maxColumns}\n avatarSize={avatarSize}\n avatar={avatar}\n phone={phone}\n username={username}\n isLastItem={index === totalCards - 1}\n />\n ))}\n\n {showAddButton && (\n <Styled.AddAccountButton\n isLastItem\n index={totalCards}\n maxColumns={maxColumns}\n $gutterX={5}\n $gapX={5}\n $background=\"BLACK_3\"\n $width={cardSize}\n $height={cardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n onClick={onAddNew}\n >\n <FlexView $width={40} $height={40}>\n <PlusIcon color=\"WHITE\" width={40} height={40} />\n </FlexView>\n </Styled.AddAccountButton>\n )}\n </Styled.UserListWrapper>\n );\n};\n\nexport default memo(UserList);\n"],"names":["UserList","users","onSelect","showAddButton","onAddNew","maxColumns","cardSize","avatarSize","totalCards","jsxs","Styled.UserListWrapper","id","username","avatar","phone","index","jsx","UserItem","Styled.AddAccountButton","FlexView","PlusIcon","UserList$1","memo"],"mappings":";;;;;;AASA,MAAMA,IAA+B,CAAC;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AACf,MAAM;AACJ,QAAMC,IAAaP,EAAM,UAAUE,IAAgB,IAAI;AAGrD,SAAA,gBAAAM,EAACC,GAAA,EAAuB,WAAWF,GAAY,YAAAH,GAAwB,WAAWC,GAC/E,UAAA;AAAA,IAAML,EAAA,IAAI,CAAC,EAAE,IAAAU,GAAI,UAAAC,GAAU,aAAaC,GAAQ,OAAAC,KAASC,MACxD,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QAEC,IAAAN;AAAA,QACA,UAAAT;AAAA,QACA,UAAAI;AAAA,QACA,OAAAS;AAAA,QACA,YAAAV;AAAA,QACA,YAAAE;AAAA,QACA,QAAAM;AAAA,QACA,OAAAC;AAAA,QACA,UAAAF;AAAA,QACA,YAAYG,MAAUP,IAAa;AAAA,MAAA;AAAA,MAV9BG;AAAA,IAAA,CAYR;AAAA,IAEAR,KACC,gBAAAa;AAAA,MAACE;AAAAA,MAAA;AAAA,QACC,YAAU;AAAA,QACV,OAAOV;AAAA,QACP,YAAAH;AAAA,QACA,UAAU;AAAA,QACV,OAAO;AAAA,QACP,aAAY;AAAA,QACZ,QAAQC;AAAA,QACR,SAASA;AAAA,QACT,aAAY;AAAA,QACZ,iBAAgB;AAAA,QAChB,SAASF;AAAA,QAET,UAAC,gBAAAY,EAAAG,GAAA,EAAS,QAAQ,IAAI,SAAS,IAC7B,UAAA,gBAAAH,EAACI,GAAS,EAAA,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,GACjD;AAAA,MAAA;AAAA,IACF;AAAA,EAEJ,EAAA,CAAA;AAEJ,GAEeC,IAAAC,EAAKtB,CAAQ;"}
package/dist/index.d.ts CHANGED
@@ -41,7 +41,7 @@ import { Substitute } from 'styled-components/dist/types';
41
41
  */
42
42
  export declare const AccordionSection: FC<IAccordionSectionProps>;
43
43
 
44
- export declare const AccountSelector: ({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX_2.Element;
44
+ export declare const AccountSelector: MemoExoticComponent<({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX_2.Element>;
45
45
 
46
46
  export declare const ACHIEVEMENT_ACTIONS: {
47
47
  SHARE: string;
@@ -64,7 +64,7 @@ export declare const ArcButton: MemoExoticComponent<ForwardRefExoticComponent<IA
64
64
 
65
65
  export declare const ArrowTooltip: FC<IArrowTooltipProps>;
66
66
 
67
- export declare const AUTH_TABS: ITabConfig<TAuthTabKeys>;
67
+ export declare const AUTH_TABS: IAuthTab[];
68
68
 
69
69
  export declare const AuthApiErrorCode: {
70
70
  readonly USER_NOT_FOUND: 8000;
@@ -76,9 +76,9 @@ export declare const AuthApiErrorCode: {
76
76
  readonly SOCIAL_SIGNUP_EMAIL_MISSING: 8006;
77
77
  };
78
78
 
79
- export declare const AuthPageLayout: FC<IAuthPageLayoutProps>;
79
+ export declare const AuthPageLayout: NamedExoticComponent<IAuthPageLayoutProps>;
80
80
 
81
- export declare const AuthStaticPanel: FC<IAuthStaticPanelProps>;
81
+ export declare const AuthStaticPanel: NamedExoticComponent<IAuthStaticPanelProps>;
82
82
 
83
83
  export declare const AutoPlayPermissionProvider: FC<{
84
84
  children: ReactNode;
@@ -250,7 +250,7 @@ export declare const CircularLoader: () => JSX_2.Element;
250
250
 
251
251
  export declare const CircularSteps: FC<ICircularStepsProps>;
252
252
 
253
- export declare const CircularStepWrapper: ForwardRefExoticComponent<ICircularStepWrapperProps & RefAttributes<ICircularStepRef>>;
253
+ export declare const CircularStepWrapper: MemoExoticComponent<ForwardRefExoticComponent<ICircularStepWrapperProps & RefAttributes<ICircularStepRef>>>;
254
254
 
255
255
  export declare const ClaimUserAccount: NamedExoticComponent<IClaimUserAccountProps>;
256
256
 
@@ -302,11 +302,11 @@ export declare const CuemathLogo: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
302
302
 
303
303
  export declare const CueRocket: React.FC<React.SVGProps<SVGSVGElement>>;
304
304
 
305
- export declare const CustomInputField: FC<ICustomInputFieldProps>;
305
+ export declare const CustomInputField: NamedExoticComponent<ICustomInputFieldProps>;
306
306
 
307
307
  export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
308
308
 
309
- export declare const DatePickerInput: FC<IDatePickerInputProps>;
309
+ export declare const DatePickerInput: NamedExoticComponent<IDatePickerInputProps>;
310
310
 
311
311
  export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
312
312
 
@@ -514,7 +514,7 @@ export declare const GoalEdit: React.FC<IMileStoneEditContainerProps>;
514
514
 
515
515
  export declare const GooglePlacesSearchInput: ComponentType<Omit_2<IGooglePlacesSearchInputProps, IProvidedProps>>;
516
516
 
517
- export declare const GradeInput: FC<ICustomInputFieldProps>;
517
+ export declare const GradeInput: NamedExoticComponent<ICustomInputFieldProps>;
518
518
 
519
519
  export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, layoutAlignment, }: IGradeSelectorProps): JSX.Element;
520
520
 
@@ -630,8 +630,8 @@ declare interface IAttempt {
630
630
  }
631
631
 
632
632
  declare interface IAuthPageLayoutProps {
633
- leftBlock: ReactNode;
634
- rightBlock?: ReactNode;
633
+ leftBlock: JSX.Element;
634
+ rightBlock?: JSX.Element;
635
635
  isFullWidth?: boolean;
636
636
  }
637
637
 
@@ -640,6 +640,11 @@ declare interface IAuthStaticPanelProps {
640
640
  description?: string;
641
641
  }
642
642
 
643
+ declare interface IAuthTab {
644
+ id: TAuthTabKeys;
645
+ label: string;
646
+ }
647
+
643
648
  declare interface IAutoPlayPermissionContextType {
644
649
  canAutoPlayAudio: boolean;
645
650
  canAutoPlayVideo: boolean;
@@ -1044,7 +1049,7 @@ declare interface ICircularStepsProps {
1044
1049
  }
1045
1050
 
1046
1051
  declare interface ICircularStepWrapperProps {
1047
- children: ReactNode;
1052
+ children: JSX.Element;
1048
1053
  animation: string;
1049
1054
  introFrames: [number, number];
1050
1055
  outroFrames: [number, number];
@@ -1064,7 +1069,6 @@ declare interface IClaimUserAccountProps {
1064
1069
  userAccounts: TUserAccount[];
1065
1070
  isCreatingAccount: boolean;
1066
1071
  isLoading: boolean;
1067
- showCreateNewAccount?: boolean;
1068
1072
  }
1069
1073
 
1070
1074
  declare interface IClassStatus {
@@ -1224,7 +1228,7 @@ declare interface ICustomInputFieldProps {
1224
1228
  onEnter?: () => void;
1225
1229
  error?: string;
1226
1230
  helperText?: string;
1227
- actionElement?: ReactNode;
1231
+ actionElement?: JSX.Element;
1228
1232
  isLoading?: boolean;
1229
1233
  isValid?: boolean;
1230
1234
  type?: 'text' | 'password' | 'number' | 'phone';
@@ -1250,7 +1254,7 @@ declare interface IDatePickerInputProps extends Omit<ICustomInputFieldProps, 'va
1250
1254
  onChange: (date: Date | null) => void;
1251
1255
  }
1252
1256
 
1253
- export declare const IdentifierOtpForm: React_2.FC<IIdentifierOtpFormProps>;
1257
+ export declare const IdentifierOtpForm: React_2.NamedExoticComponent<IIdentifierOtpFormProps>;
1254
1258
 
1255
1259
  declare interface IDesmosCalculatorProps {
1256
1260
  onClose: () => void;
@@ -2408,7 +2412,7 @@ declare interface INodePermissions {
2408
2412
  can_unassign: boolean;
2409
2413
  }
2410
2414
 
2411
- export declare const InputStatusIcon: React.FC<IInputStatusIconProps>;
2415
+ export declare const InputStatusIcon: NamedExoticComponent<IInputStatusIconProps>;
2412
2416
 
2413
2417
  export declare interface INudgeProps {
2414
2418
  nudge: 'click';
@@ -3098,11 +3102,9 @@ declare interface ISyncableWebGameProps {
3098
3102
  enableSync?: boolean;
3099
3103
  }
3100
3104
 
3101
- export declare type ITabConfig<T extends string = string> = Record<T, ITabItem>;
3102
-
3103
3105
  declare interface ITabItem {
3106
+ id: string;
3104
3107
  label: string;
3105
- component?: JSX.Element;
3106
3108
  }
3107
3109
 
3108
3110
  export declare interface ITable {
@@ -3170,10 +3172,10 @@ export declare interface ITabSizeConfig {
3170
3172
  textVariant: TTextVariants;
3171
3173
  }
3172
3174
 
3173
- declare interface ITabsProps<T extends string> {
3174
- selectedTab: T;
3175
- onChange: (tab: T) => void;
3176
- tabs: ITabConfig<T>;
3175
+ declare interface ITabsProps {
3176
+ selectedTab: string;
3177
+ onChange: (tab: string) => void;
3178
+ tabs: ITabItem[];
3177
3179
  }
3178
3180
 
3179
3181
  export declare interface ITabVariantConfig {
@@ -4203,13 +4205,13 @@ declare interface NumRangeInputProps {
4203
4205
  endPlaceholder?: string;
4204
4206
  }
4205
4207
 
4206
- export declare const OTPForm: ({ onSubmit, onChange, value, error, isProcessing, isValid, }: ISingleFieldFormProps) => JSX_2.Element;
4208
+ export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, }: ISingleFieldFormProps) => JSX_2.Element>;
4207
4209
 
4208
4210
  export declare type OutcomeStage = keyof typeof STAGES;
4209
4211
 
4210
- export declare const OverlayLoader: ({ isLoading }: {
4212
+ export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
4211
4213
  isLoading?: boolean | undefined;
4212
- }) => JSX_2.Element | null;
4214
+ }) => JSX_2.Element | null>;
4213
4215
 
4214
4216
  export declare const PencilIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4215
4217
 
@@ -4349,9 +4351,9 @@ export declare const ReferenceSheet: FC<IReferenceSheetProps>;
4349
4351
 
4350
4352
  export declare const RemotePeerPointer: MemoExoticComponent<({ containerRef, onPublish, onSubscribe, responseId }: IPointerProps) => JSX_2.Element>;
4351
4353
 
4352
- export declare const ResendOTP: React.FC<IOTPResendProps>;
4354
+ export declare const ResendOTP: NamedExoticComponent<IOTPResendProps>;
4353
4355
 
4354
- export declare const ResetPasswordForm: ({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IResetPasswordFormProps) => JSX_2.Element;
4356
+ export declare const ResetPasswordForm: MemoExoticComponent<({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IResetPasswordFormProps) => JSX_2.Element>;
4355
4357
 
4356
4358
  export declare const REWARDS_LIST: string[];
4357
4359
 
@@ -4442,7 +4444,7 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
4442
4444
 
4443
4445
  export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX_2.Element;
4444
4446
 
4445
- export declare const SignupMethods: FC<ISignupMethodsProps>;
4447
+ export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
4446
4448
 
4447
4449
  declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4448
4450
  export { SketchIcon as ScribbleIcon }
@@ -4454,9 +4456,9 @@ export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4454
4456
 
4455
4457
  export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4456
4458
 
4457
- export declare const SocialAccountNotFound: ({ onRetryLogin, onGoToSignup }: ISocialAccountNotFoundProps) => JSX_2.Element;
4459
+ export declare const SocialAccountNotFound: MemoExoticComponent<({ onRetryLogin, onGoToSignup }: ISocialAccountNotFoundProps) => JSX_2.Element>;
4458
4460
 
4459
- export declare const SocialLoginMethods: FC<ISocialLoginMethodsProps>;
4461
+ export declare const SocialLoginMethods: NamedExoticComponent<ISocialLoginMethodsProps>;
4460
4462
 
4461
4463
  export declare const SplashScreen: ({ animationCompleted }: {
4462
4464
  animationCompleted: () => void;
@@ -4525,7 +4527,7 @@ declare const TAB_CODES: {
4525
4527
 
4526
4528
  export declare const TabComponent: React_2.FC<ITabProps>;
4527
4529
 
4528
- export declare function Tabs<T extends string>({ selectedTab, onChange, tabs }: ITabsProps<T>): JSX_2.Element;
4530
+ export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX_2.Element>;
4529
4531
 
4530
4532
  export declare type TAction = EventToPayload<TInclassMessage>;
4531
4533
 
@@ -5544,6 +5546,7 @@ export declare type TTrialSessionMessage = {
5544
5546
  declare type TUserAccount = {
5545
5547
  id: string;
5546
5548
  phone: string;
5549
+ user_avatar?: IAvatarLayer[] | null;
5547
5550
  };
5548
5551
 
5549
5552
  declare type TUserChapterStates = 'MASTERED' | 'PROFICIENT' | 'FAMILIAR' | 'STARTED';
@@ -5729,9 +5732,9 @@ export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
5729
5732
 
5730
5733
  export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5731
5734
 
5732
- export declare const UserIdentifierForm: ({ onSubmit, onChange, value, error, isSubmitDisabled, isProcessing, isValid, label, field, }: ISingleFieldFormProps) => JSX_2.Element;
5735
+ export declare const UserIdentifierForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isSubmitDisabled, isProcessing, isValid, label, field, }: ISingleFieldFormProps) => JSX_2.Element>;
5733
5736
 
5734
- export declare const UsernamePasswordForm: FC<IUsernamePasswordFormProps>;
5737
+ export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswordFormProps>;
5735
5738
 
5736
5739
  export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
5737
5740