@cuemath/leap 3.0.11-j → 3.0.11-j2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/features/auth/account-selector/account-selector.js +35 -82
- package/dist/features/auth/account-selector/account-selector.js.map +1 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +9 -8
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +13 -12
- package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +1 -1
- package/dist/features/auth/comps/input-status-icon/input-status-icon.js +14 -13
- package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +1 -1
- package/dist/features/auth/comps/overlay-loader/overlay-loader.js +5 -4
- package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +1 -1
- package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js +24 -0
- package/dist/features/auth/comps/resend-otp/hooks/use-resend-timer.js.map +1 -0
- package/dist/features/auth/comps/resend-otp/resend-otp.js +34 -30
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +23 -0
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -0
- package/dist/features/auth/comps/tabs/tabs.js +6 -20
- package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
- package/dist/features/auth/forgot-password/otp-form/otp-form.js +39 -36
- package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +1 -1
- package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +41 -30
- package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +1 -1
- package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +63 -54
- package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +1 -1
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js +21 -20
- package/dist/features/auth/login/identifier-otp-form/identifier-otp-form.js.map +1 -1
- package/dist/features/auth/login/login-constants.js +6 -4
- package/dist/features/auth/login/login-constants.js.map +1 -1
- package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +7 -6
- package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +1 -1
- package/dist/features/auth/login/social-login-methods/social-login-methods.js +15 -14
- package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +1 -1
- package/dist/features/auth/login/username-password-form/username-password-form.js +15 -14
- package/dist/features/auth/login/username-password-form/username-password-form.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +36 -36
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js +47 -70
- package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js +11 -11
- package/dist/features/auth/signup/custom-input-field/country-selector/country-selector.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js +30 -30
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +27 -26
- package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +9 -8
- package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +11 -15
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -1
- package/dist/features/auth/signup/signup-methods/signup-methods.js +8 -7
- package/dist/features/auth/signup/signup-methods/signup-methods.js.map +1 -1
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +17 -17
- package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +1 -1
- package/dist/features/auth/signup/user-type-selector/user-type-selector.js +1 -3
- package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +1 -1
- package/dist/features/auth/user-list/user-item/user-item-styled.js +21 -0
- package/dist/features/auth/user-list/user-item/user-item-styled.js.map +1 -0
- package/dist/features/auth/user-list/user-item/user-item.js +48 -0
- package/dist/features/auth/user-list/user-item/user-item.js.map +1 -0
- package/dist/features/auth/user-list/user-list-styled.js +19 -0
- package/dist/features/auth/user-list/user-list-styled.js.map +1 -0
- package/dist/features/auth/user-list/user-list.js +56 -0
- package/dist/features/auth/user-list/user-list.js.map +1 -0
- package/dist/index.d.ts +34 -30
- package/dist/index.js +282 -282
- package/package.json +1 -1
- package/dist/features/auth/account-selector/account-selector-styled.js +0 -37
- package/dist/features/auth/account-selector/account-selector-styled.js.map +0 -1
- package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -25
- package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
- package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +0 -27
- package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
@@ -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:
|
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:
|
79
|
+
export declare const AuthPageLayout: NamedExoticComponent<IAuthPageLayoutProps>;
|
80
80
|
|
81
|
-
export declare const AuthStaticPanel:
|
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:
|
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:
|
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:
|
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:
|
634
|
-
rightBlock?:
|
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;
|
@@ -1249,7 +1254,7 @@ declare interface IDatePickerInputProps extends Omit<ICustomInputFieldProps, 'va
|
|
1249
1254
|
onChange: (date: Date | null) => void;
|
1250
1255
|
}
|
1251
1256
|
|
1252
|
-
export declare const IdentifierOtpForm: React_2.
|
1257
|
+
export declare const IdentifierOtpForm: React_2.NamedExoticComponent<IIdentifierOtpFormProps>;
|
1253
1258
|
|
1254
1259
|
declare interface IDesmosCalculatorProps {
|
1255
1260
|
onClose: () => void;
|
@@ -2407,7 +2412,7 @@ declare interface INodePermissions {
|
|
2407
2412
|
can_unassign: boolean;
|
2408
2413
|
}
|
2409
2414
|
|
2410
|
-
export declare const InputStatusIcon:
|
2415
|
+
export declare const InputStatusIcon: NamedExoticComponent<IInputStatusIconProps>;
|
2411
2416
|
|
2412
2417
|
export declare interface INudgeProps {
|
2413
2418
|
nudge: 'click';
|
@@ -3097,11 +3102,9 @@ declare interface ISyncableWebGameProps {
|
|
3097
3102
|
enableSync?: boolean;
|
3098
3103
|
}
|
3099
3104
|
|
3100
|
-
export declare type ITabConfig<T extends string = string> = Record<T, ITabItem>;
|
3101
|
-
|
3102
3105
|
declare interface ITabItem {
|
3106
|
+
id: string;
|
3103
3107
|
label: string;
|
3104
|
-
component?: JSX.Element;
|
3105
3108
|
}
|
3106
3109
|
|
3107
3110
|
export declare interface ITable {
|
@@ -3169,10 +3172,10 @@ export declare interface ITabSizeConfig {
|
|
3169
3172
|
textVariant: TTextVariants;
|
3170
3173
|
}
|
3171
3174
|
|
3172
|
-
declare interface ITabsProps
|
3173
|
-
selectedTab:
|
3174
|
-
onChange: (tab:
|
3175
|
-
tabs:
|
3175
|
+
declare interface ITabsProps {
|
3176
|
+
selectedTab: string;
|
3177
|
+
onChange: (tab: string) => void;
|
3178
|
+
tabs: ITabItem[];
|
3176
3179
|
}
|
3177
3180
|
|
3178
3181
|
export declare interface ITabVariantConfig {
|
@@ -4202,13 +4205,13 @@ declare interface NumRangeInputProps {
|
|
4202
4205
|
endPlaceholder?: string;
|
4203
4206
|
}
|
4204
4207
|
|
4205
|
-
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>;
|
4206
4209
|
|
4207
4210
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4208
4211
|
|
4209
|
-
export declare const OverlayLoader: ({ isLoading }: {
|
4212
|
+
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
4210
4213
|
isLoading?: boolean | undefined;
|
4211
|
-
}) => JSX_2.Element | null
|
4214
|
+
}) => JSX_2.Element | null>;
|
4212
4215
|
|
4213
4216
|
export declare const PencilIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4214
4217
|
|
@@ -4348,9 +4351,9 @@ export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
|
4348
4351
|
|
4349
4352
|
export declare const RemotePeerPointer: MemoExoticComponent<({ containerRef, onPublish, onSubscribe, responseId }: IPointerProps) => JSX_2.Element>;
|
4350
4353
|
|
4351
|
-
export declare const ResendOTP:
|
4354
|
+
export declare const ResendOTP: NamedExoticComponent<IOTPResendProps>;
|
4352
4355
|
|
4353
|
-
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>;
|
4354
4357
|
|
4355
4358
|
export declare const REWARDS_LIST: string[];
|
4356
4359
|
|
@@ -4441,7 +4444,7 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4441
4444
|
|
4442
4445
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX_2.Element;
|
4443
4446
|
|
4444
|
-
export declare const SignupMethods:
|
4447
|
+
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4445
4448
|
|
4446
4449
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4447
4450
|
export { SketchIcon as ScribbleIcon }
|
@@ -4453,9 +4456,9 @@ export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4453
4456
|
|
4454
4457
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4455
4458
|
|
4456
|
-
export declare const SocialAccountNotFound: ({ onRetryLogin, onGoToSignup }: ISocialAccountNotFoundProps) => JSX_2.Element
|
4459
|
+
export declare const SocialAccountNotFound: MemoExoticComponent<({ onRetryLogin, onGoToSignup }: ISocialAccountNotFoundProps) => JSX_2.Element>;
|
4457
4460
|
|
4458
|
-
export declare const SocialLoginMethods:
|
4461
|
+
export declare const SocialLoginMethods: NamedExoticComponent<ISocialLoginMethodsProps>;
|
4459
4462
|
|
4460
4463
|
export declare const SplashScreen: ({ animationCompleted }: {
|
4461
4464
|
animationCompleted: () => void;
|
@@ -4524,7 +4527,7 @@ declare const TAB_CODES: {
|
|
4524
4527
|
|
4525
4528
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4526
4529
|
|
4527
|
-
export declare
|
4530
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX_2.Element>;
|
4528
4531
|
|
4529
4532
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4530
4533
|
|
@@ -5543,6 +5546,7 @@ export declare type TTrialSessionMessage = {
|
|
5543
5546
|
declare type TUserAccount = {
|
5544
5547
|
id: string;
|
5545
5548
|
phone: string;
|
5549
|
+
user_avatar?: IAvatarLayer[] | null;
|
5546
5550
|
};
|
5547
5551
|
|
5548
5552
|
declare type TUserChapterStates = 'MASTERED' | 'PROFICIENT' | 'FAMILIAR' | 'STARTED';
|
@@ -5728,9 +5732,9 @@ export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5728
5732
|
|
5729
5733
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
5730
5734
|
|
5731
|
-
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>;
|
5732
5736
|
|
5733
|
-
export declare const UsernamePasswordForm:
|
5737
|
+
export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswordFormProps>;
|
5734
5738
|
|
5735
5739
|
export declare const UserTypeSelector: NamedExoticComponent<IUserTypeSelectorProps>;
|
5736
5740
|
|