@cuemath/leap 3.2.10 → 3.2.11-j1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/illustrations/illustrations.js +5 -0
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/line-icons/icons/after-noon.js +34 -0
- package/dist/assets/line-icons/icons/after-noon.js.map +1 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js +42 -0
- package/dist/assets/line-icons/icons/apple-icon-white.js.map +1 -0
- package/dist/assets/line-icons/icons/evening.js +35 -0
- package/dist/assets/line-icons/icons/evening.js.map +1 -0
- package/dist/assets/line-icons/icons/morning.js +35 -0
- package/dist/assets/line-icons/icons/morning.js.map +1 -0
- package/dist/assets/lottie/lottie.js +10 -0
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +9 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +65 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +92 -0
- package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -0
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +18 -13
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +34 -0
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js +22 -0
- package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
- package/dist/features/auth/comps/otp-input/otp-input.js +51 -0
- package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
- package/dist/features/auth/comps/pill-button/pill-button.js +75 -0
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
- package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
- package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
- package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
- package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
- package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
- package/dist/features/auth/comps/tabs/tabs.js +5 -5
- package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +19 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +32 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +1 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +44 -0
- package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js +54 -0
- package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +1 -0
- package/dist/features/auth/signup-v2/signup-options/signup-options.js +73 -0
- package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +1 -0
- package/dist/features/ui/image/image.js +1 -1
- package/dist/features/ui/image/image.js.map +1 -1
- package/dist/features/ui/theme/button.js +78 -78
- package/dist/features/ui/theme/button.js.map +1 -1
- package/dist/index.d.ts +106 -3
- package/dist/index.js +458 -436
- package/dist/index.js.map +1 -1
- package/dist/node_modules/decode-uri-component/index.js.map +1 -0
- package/dist/node_modules/query-string/base.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
- package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
- package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
- package/dist/static/animated-avatar.1ad58b1d.json +1 -0
- package/dist/static/animated-avatar.69b07505.json +1 -0
- package/dist/static/animated-avatar.9c560b46.json +1 -0
- package/dist/static/calendar-purple.1a840b41.svg +1 -0
- package/dist/static/flying-disk.c7f6ed39.json +1 -0
- package/dist/static/graduation-cap.3be3340a.json +1 -0
- package/dist/static/handshake.287e7dfb.svg +1 -0
- package/dist/static/light-bulb.c6db0b23.json +1 -0
- package/dist/static/money.332aacf1.svg +1 -0
- package/dist/static/muscle.9bcfb8a7.json +1 -0
- package/dist/static/parent-avatar.822c7b9b.svg +1 -0
- package/dist/static/pencil.23df9da0.json +1 -0
- package/dist/static/plus-sign.de6af957.json +1 -0
- package/dist/static/racing-car.2cbf864e.json +1 -0
- package/dist/static/rocket.0a3ccab0.json +1 -0
- package/dist/static/shovel.abeec04c.json +1 -0
- package/dist/static/trustpilot.bd3d79e1.svg +1 -0
- package/package.json +1 -1
- package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
- package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
- package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
- /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../src/features/ui/theme/button.ts"],"sourcesContent":["import type {\n IButtonSizeConfig,\n TButtonSizes,\n IButtonVariantConfig,\n TButtonVariants,\n} from '../types';\n\ninterface IGetButtonConfig {\n (gutter: number): {\n sizes: Record<TButtonSizes, IButtonSizeConfig>;\n variants: Record<TButtonVariants, IButtonVariantConfig>;\n };\n}\n\nconst getButtonConfig: IGetButtonConfig = (gutter: number) => {\n const sizes: Record<TButtonSizes, IButtonSizeConfig> = {\n xsmall: {\n height: gutter * 2,\n paddingHorizontal: gutter * (1 + 0.375),\n textVariant: 'ub3-bold',\n borderWidth: 1,\n iconSize: gutter,\n iconPadding: gutter * 0.25,\n loaderSize: gutter * 1.25,\n },\n small: {\n height: gutter * 2.5,\n paddingHorizontal: gutter * (1 + 0.625),\n textVariant: 'ub2-bold',\n borderWidth: 1,\n iconSize: gutter * 1.25,\n iconPadding: gutter * 0.375,\n loaderSize: gutter * 1.5,\n },\n regular: {\n height: gutter * 3,\n paddingHorizontal: gutter * (1 + 0.875),\n textVariant: 'ub1-bold',\n borderWidth: 1,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 1.75,\n },\n medium: {\n height: gutter * 3.5,\n paddingHorizontal: gutter * (1 + 1.125),\n textVariant: 'ub1-bold',\n borderWidth: 1.5,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2,\n },\n large: {\n height: gutter * 4,\n paddingHorizontal: gutter * (1 + 1.375),\n textVariant: 'ub1-bold',\n borderWidth: 2,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2.25,\n },\n };\n\n const variants: Record<TButtonVariants, IButtonVariantConfig> = {\n 'primary': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'tertiary': {\n backgroundColorName: {\n inactive: 'RED',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-gray': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'WHITE_4',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-dark': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_10',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'WHITE_T_38',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_15',\n },\n },\n
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../src/features/ui/theme/button.ts"],"sourcesContent":["import type {\n IButtonSizeConfig,\n TButtonSizes,\n IButtonVariantConfig,\n TButtonVariants,\n} from '../types';\n\ninterface IGetButtonConfig {\n (gutter: number): {\n sizes: Record<TButtonSizes, IButtonSizeConfig>;\n variants: Record<TButtonVariants, IButtonVariantConfig>;\n };\n}\n\nconst getButtonConfig: IGetButtonConfig = (gutter: number) => {\n const sizes: Record<TButtonSizes, IButtonSizeConfig> = {\n xsmall: {\n height: gutter * 2,\n paddingHorizontal: gutter * (1 + 0.375),\n textVariant: 'ub3-bold',\n borderWidth: 1,\n iconSize: gutter,\n iconPadding: gutter * 0.25,\n loaderSize: gutter * 1.25,\n },\n small: {\n height: gutter * 2.5,\n paddingHorizontal: gutter * (1 + 0.625),\n textVariant: 'ub2-bold',\n borderWidth: 1,\n iconSize: gutter * 1.25,\n iconPadding: gutter * 0.375,\n loaderSize: gutter * 1.5,\n },\n regular: {\n height: gutter * 3,\n paddingHorizontal: gutter * (1 + 0.875),\n textVariant: 'ub1-bold',\n borderWidth: 1,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 1.75,\n },\n medium: {\n height: gutter * 3.5,\n paddingHorizontal: gutter * (1 + 1.125),\n textVariant: 'ub1-bold',\n borderWidth: 1.5,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2,\n },\n large: {\n height: gutter * 4,\n paddingHorizontal: gutter * (1 + 1.375),\n textVariant: 'ub1-bold',\n borderWidth: 2,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2.25,\n },\n };\n\n const variants: Record<TButtonVariants, IButtonVariantConfig> = {\n 'primary': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'tertiary': {\n backgroundColorName: {\n inactive: 'RED',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-gray': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'WHITE_4',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-dark': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_10',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'WHITE_T_38',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_15',\n },\n },\n 'black': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_T_60',\n disabled: 'BLACK_T_15',\n },\n borderColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'BLACK_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_87',\n },\n },\n 'black-dark': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_4',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_38',\n },\n },\n 'yellow-dark': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'YELLOW_3',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'WHITE_T_38',\n },\n },\n // 'yellow': {\n // backgroundColorName: {\n // inactive: 'YELLOW_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'WHITE_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n\n // 'white': {\n // backgroundColorName: {\n // inactive: 'WHITE_1',\n // active: 'BLACK_T_35',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n // 'white-dark': {\n // backgroundColorName: {\n // inactive: 'WHITE_4',\n // active: 'WHITE_T_70',\n // disabled: 'WHITE_T_40',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // },\n };\n\n return { sizes, variants };\n};\n\nexport default getButtonConfig;\n"],"names":["getButtonConfig","gutter"],"mappings":"AAcM,MAAAA,IAAoC,CAACC,OAgPlC,EAAE,OA/O8C;AAAA,EACrD,QAAQ;AAAA,IACN,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA;AAAA,IACV,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,OAAO;AAAA,IACL,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb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MACf,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,EACF;AAAA,EACA,eAAe;AAAA,IACb,qBAAqB;AAAA,MACnB,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,iBAAiB;AAAA,MACf,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
package/dist/index.d.ts
CHANGED
@@ -52,10 +52,14 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
|
|
52
52
|
|
53
53
|
export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
|
54
54
|
|
55
|
+
export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
56
|
+
|
55
57
|
export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
56
58
|
|
57
59
|
export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
58
60
|
|
61
|
+
export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
|
62
|
+
|
59
63
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
60
64
|
|
61
65
|
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
@@ -416,6 +420,8 @@ declare interface ErrorProps {
|
|
416
420
|
handleClick: () => void;
|
417
421
|
}
|
418
422
|
|
423
|
+
export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
424
|
+
|
419
425
|
export declare const EVENTS: {
|
420
426
|
PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
|
421
427
|
HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
|
@@ -638,6 +644,20 @@ declare interface IAnimatedArcProps {
|
|
638
644
|
showAnimatedRainbowArc?: boolean;
|
639
645
|
}
|
640
646
|
|
647
|
+
declare interface IAnimatedAvatarMessageProps {
|
648
|
+
message: string;
|
649
|
+
onShowContent: (show: boolean) => void;
|
650
|
+
confirmationFrames: [number, number];
|
651
|
+
confirmationMessage?: string;
|
652
|
+
isConfirmationVisible?: boolean;
|
653
|
+
ref: React.Ref<IAnimatedAvatarMessageRef>;
|
654
|
+
}
|
655
|
+
|
656
|
+
export declare type IAnimatedAvatarMessageRef = {
|
657
|
+
fadeOutMessage: () => Promise<void>;
|
658
|
+
playConfirmationFrames: () => Promise<void>;
|
659
|
+
};
|
660
|
+
|
641
661
|
declare interface IAppLoaderProps {
|
642
662
|
width?: string | number;
|
643
663
|
height?: string | number;
|
@@ -682,6 +702,7 @@ declare interface IAuthPageLayoutProps {
|
|
682
702
|
leftBlock: ReactElement;
|
683
703
|
rightBlock?: ReactElement;
|
684
704
|
isFullWidth?: boolean;
|
705
|
+
rightBlockBg?: TColorNames;
|
685
706
|
}
|
686
707
|
|
687
708
|
declare interface IAuthStaticPanelProps {
|
@@ -1597,7 +1618,7 @@ declare interface IIdentifierOtpFormProps {
|
|
1597
1618
|
}
|
1598
1619
|
|
1599
1620
|
declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
1600
|
-
withLoader
|
1621
|
+
withLoader?: boolean;
|
1601
1622
|
borderRadius?: number;
|
1602
1623
|
borderColor?: TColorNames;
|
1603
1624
|
}
|
@@ -1970,6 +1991,14 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
|
|
1970
1991
|
targetQuestions: number;
|
1971
1992
|
}
|
1972
1993
|
|
1994
|
+
declare interface ILinearProgressBarProps {
|
1995
|
+
percentage: number;
|
1996
|
+
height?: number;
|
1997
|
+
backgroundColor?: TColorNames;
|
1998
|
+
fillColor?: TColorNames;
|
1999
|
+
borderRadius?: number;
|
2000
|
+
}
|
2001
|
+
|
1973
2002
|
export declare const ILLUSTRATIONS: {
|
1974
2003
|
ALARM_CLOCK_ORANGE: string;
|
1975
2004
|
ALARM_CLOCK_PURPLE: string;
|
@@ -1986,6 +2015,7 @@ export declare const ILLUSTRATIONS: {
|
|
1986
2015
|
CALENDAR_BLUE: string;
|
1987
2016
|
CALENDAR_GRAY: string;
|
1988
2017
|
CALENDAR_GREEN: string;
|
2018
|
+
CALENDAR_PURPLE: string;
|
1989
2019
|
CAUTION: string;
|
1990
2020
|
CHAPTER_10: string;
|
1991
2021
|
CHAPTER_1: string;
|
@@ -2025,6 +2055,7 @@ export declare const ILLUSTRATIONS: {
|
|
2025
2055
|
GRADUATE_PINK_FILLED_BG: string;
|
2026
2056
|
GREEN_BALLOON: string;
|
2027
2057
|
GREEN_FACE: string;
|
2058
|
+
HANDSHAKE: string;
|
2028
2059
|
LEARNED_SHIELD_GRAY: string;
|
2029
2060
|
LEARNED_SHIELD_GREEN: string;
|
2030
2061
|
LEARNT: string;
|
@@ -2043,6 +2074,7 @@ export declare const ILLUSTRATIONS: {
|
|
2043
2074
|
MILESTONE_INTRO_2: string;
|
2044
2075
|
MILESTONE_INTRO_3: string;
|
2045
2076
|
MISTAKE: string;
|
2077
|
+
MONEY: string;
|
2046
2078
|
NODE_ACTIVITY_BG: string;
|
2047
2079
|
NODE_CUSTOM_TEST_BG: string;
|
2048
2080
|
NODE_DOWNLOAD_BG: string;
|
@@ -2060,6 +2092,7 @@ export declare const ILLUSTRATIONS: {
|
|
2060
2092
|
NUMBER_4_ORANGE: string;
|
2061
2093
|
ONE_STAR_FILLED: string;
|
2062
2094
|
ORANGE_FACE: string;
|
2095
|
+
PARENT_AVATAR: string;
|
2063
2096
|
PEOPLE_WITH_ORANGE_FILL: string;
|
2064
2097
|
PLAY: string;
|
2065
2098
|
PLAY_ICON: string;
|
@@ -2096,6 +2129,7 @@ export declare const ILLUSTRATIONS: {
|
|
2096
2129
|
TROPHY_BLUE_FILLED: string;
|
2097
2130
|
TROPHY_CIRCLE: string;
|
2098
2131
|
TROPHY_GREEN: string;
|
2132
|
+
TRUSTPILOT: string;
|
2099
2133
|
TWO_STARS_FILLED: string;
|
2100
2134
|
UP_ARROW: string;
|
2101
2135
|
USER_CROWN_GRID_BACKGROUND: string;
|
@@ -2628,6 +2662,14 @@ declare interface IOpenImageReviewModalProps {
|
|
2628
2662
|
image?: string;
|
2629
2663
|
}
|
2630
2664
|
|
2665
|
+
declare interface IOTPInputProps {
|
2666
|
+
length?: number;
|
2667
|
+
value: string;
|
2668
|
+
onChange: (val: string) => void;
|
2669
|
+
error?: string;
|
2670
|
+
isBusy?: boolean;
|
2671
|
+
}
|
2672
|
+
|
2631
2673
|
declare interface IOTPResendProps {
|
2632
2674
|
onResendOTP: () => void;
|
2633
2675
|
onResendVoiceOTP?: () => void;
|
@@ -2636,6 +2678,8 @@ declare interface IOTPResendProps {
|
|
2636
2678
|
disabled?: boolean;
|
2637
2679
|
renderAs?: 'submit' | 'text';
|
2638
2680
|
width?: number | string;
|
2681
|
+
textButtonColor?: TColorNames;
|
2682
|
+
size?: 'small' | 'xsmall';
|
2639
2683
|
}
|
2640
2684
|
|
2641
2685
|
declare interface IOutcomeConfig {
|
@@ -2673,6 +2717,18 @@ declare interface IPerfectHitsProps {
|
|
2673
2717
|
value: number;
|
2674
2718
|
}
|
2675
2719
|
|
2720
|
+
declare interface IPillButtonProps {
|
2721
|
+
id: string;
|
2722
|
+
label: string;
|
2723
|
+
selected?: boolean;
|
2724
|
+
disabled?: boolean;
|
2725
|
+
animatedLabel?: string;
|
2726
|
+
icon?: string;
|
2727
|
+
onClick: (val: string) => void;
|
2728
|
+
tooltip?: string;
|
2729
|
+
width?: number | string;
|
2730
|
+
}
|
2731
|
+
|
2676
2732
|
declare interface IPlaceholder {
|
2677
2733
|
text?: string;
|
2678
2734
|
marks?: string;
|
@@ -3051,6 +3107,15 @@ declare interface ISectionOption<Section = TDefaultSection> {
|
|
3051
3107
|
data: Section[];
|
3052
3108
|
}
|
3053
3109
|
|
3110
|
+
declare interface ISelectableInfoCardProps {
|
3111
|
+
id: string;
|
3112
|
+
title: string;
|
3113
|
+
description: string;
|
3114
|
+
icon: string;
|
3115
|
+
selected: boolean;
|
3116
|
+
onClick: (val: string) => void;
|
3117
|
+
}
|
3118
|
+
|
3054
3119
|
declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
|
3055
3120
|
}
|
3056
3121
|
|
@@ -3185,6 +3250,15 @@ declare interface ISignupMethodsProps {
|
|
3185
3250
|
loadingProvider: TSocialAuthProvider | null;
|
3186
3251
|
}
|
3187
3252
|
|
3253
|
+
declare interface ISignupOptionsProps {
|
3254
|
+
onEmailSignup: () => void;
|
3255
|
+
onGoogleSignup: () => void;
|
3256
|
+
onAppleSignup: () => void;
|
3257
|
+
onGoToLogin: () => void;
|
3258
|
+
loadingProvider: TSocialAuthProvider | null;
|
3259
|
+
title?: string;
|
3260
|
+
}
|
3261
|
+
|
3188
3262
|
export declare interface ISignUpProps {
|
3189
3263
|
circleOnLeapSignedUp: boolean;
|
3190
3264
|
circleOnLeapPremiumEnabled: boolean;
|
@@ -3340,6 +3414,8 @@ declare interface ISyncableWebGameProps {
|
|
3340
3414
|
declare interface ITabItem {
|
3341
3415
|
id: string;
|
3342
3416
|
label: string;
|
3417
|
+
iconPosition?: 'left' | 'right';
|
3418
|
+
Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
|
3343
3419
|
}
|
3344
3420
|
|
3345
3421
|
export declare interface ITable {
|
@@ -3411,6 +3487,7 @@ declare interface ITabsProps {
|
|
3411
3487
|
selectedTab: string;
|
3412
3488
|
onChange: (tab: string) => void;
|
3413
3489
|
tabs: ITabItem[];
|
3490
|
+
background?: TColorNames;
|
3414
3491
|
}
|
3415
3492
|
|
3416
3493
|
export declare interface ITabVariantConfig {
|
@@ -4204,6 +4281,8 @@ declare const LESSON_TAG_TYPE: {
|
|
4204
4281
|
readonly DEFAULT: "DEFAULT";
|
4205
4282
|
};
|
4206
4283
|
|
4284
|
+
export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
|
4285
|
+
|
4207
4286
|
export declare const loadScript: ILoadScript;
|
4208
4287
|
|
4209
4288
|
export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
@@ -4218,6 +4297,7 @@ export declare const LOTTIE: {
|
|
4218
4297
|
ACTIVITY: string;
|
4219
4298
|
ADVANCE_MODE_SEGMENT_LOTTIE: string;
|
4220
4299
|
ALL_DONE: string;
|
4300
|
+
ANIMATED_AVATAR: string;
|
4221
4301
|
AVATAR_SELECTED: string;
|
4222
4302
|
BEGINNER1X: string;
|
4223
4303
|
BRONZE_1: string;
|
@@ -4249,12 +4329,14 @@ export declare const LOTTIE: {
|
|
4249
4329
|
FAMILIAR1X: string;
|
4250
4330
|
FIFTEEN_MIN_CLOCK: string;
|
4251
4331
|
FIVE_MIN_CLOCK: string;
|
4332
|
+
FLYING_DISK: string;
|
4252
4333
|
GIFT: string;
|
4253
4334
|
GOLD_1: string;
|
4254
4335
|
GOLD_2: string;
|
4255
4336
|
GOLD_3: string;
|
4256
4337
|
GOLF: string;
|
4257
4338
|
GRADE: string;
|
4339
|
+
GRADUATION_CAP: string;
|
4258
4340
|
HIGH_SCORE_CONFETTI: string;
|
4259
4341
|
HIGH_SCORE_TEXT: string;
|
4260
4342
|
INFINITE_BUTTON_BG: string;
|
@@ -4265,17 +4347,21 @@ export declare const LOTTIE: {
|
|
4265
4347
|
LEVELUP_RINGS: string;
|
4266
4348
|
LEVEL_1_ALLSTAR: string;
|
4267
4349
|
LIGHTNING: string;
|
4350
|
+
LIGHT_BULB: string;
|
4268
4351
|
MAGICWAND: string;
|
4269
4352
|
MAIL: string;
|
4270
4353
|
MECHANICAL_ARM: string;
|
4271
4354
|
MEDAL: string;
|
4272
4355
|
MEDIUM: string;
|
4356
|
+
MUSCLE: string;
|
4273
4357
|
NUDGE_TAP: string;
|
4274
4358
|
OTP: string;
|
4275
4359
|
PARENT_AVATAR: string;
|
4276
4360
|
PARTY_BALL: string;
|
4277
4361
|
PARTY_POPPER: string;
|
4362
|
+
PENCIL: string;
|
4278
4363
|
PHONE_NUMBER: string;
|
4364
|
+
PLUS_SIGN: string;
|
4279
4365
|
POINT100: string;
|
4280
4366
|
POINT10: string;
|
4281
4367
|
POINT15: string;
|
@@ -4296,9 +4382,12 @@ export declare const LOTTIE: {
|
|
4296
4382
|
PROFICIENT1X: string;
|
4297
4383
|
PROJECT: string;
|
4298
4384
|
PUZZLE: string;
|
4385
|
+
RACING_CAR: string;
|
4299
4386
|
RANDOM_MODE_SEGMENT_LOTTIE: string;
|
4300
4387
|
RECAP: string;
|
4388
|
+
ROCKET: string;
|
4301
4389
|
SEQUENCE_MODE_SEGMENT_LOTTIE: string;
|
4390
|
+
SHOVEL: string;
|
4302
4391
|
SILVER_1: string;
|
4303
4392
|
SILVER_2: string;
|
4304
4393
|
SILVER_3: string;
|
@@ -4361,6 +4450,8 @@ export declare const ModalProvider: FC<IModalProviderProps>;
|
|
4361
4450
|
|
4362
4451
|
export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4363
4452
|
|
4453
|
+
export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4454
|
+
|
4364
4455
|
export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
|
4365
4456
|
|
4366
4457
|
export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
@@ -4514,8 +4605,12 @@ declare interface NumRangeInputProps {
|
|
4514
4605
|
endPlaceholder?: string;
|
4515
4606
|
}
|
4516
4607
|
|
4608
|
+
export declare const OnboardingGuide: () => JSX.Element;
|
4609
|
+
|
4517
4610
|
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
4518
4611
|
|
4612
|
+
export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
|
4613
|
+
|
4519
4614
|
export declare type OutcomeStage = keyof typeof STAGES;
|
4520
4615
|
|
4521
4616
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
@@ -4528,6 +4623,8 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
|
|
4528
4623
|
|
4529
4624
|
export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
|
4530
4625
|
|
4626
|
+
export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
|
4627
|
+
|
4531
4628
|
/**
|
4532
4629
|
** Global/Platform specific events that needs to be tracked goes here
|
4533
4630
|
** Naming convention needs to be snake_case
|
@@ -4707,6 +4804,8 @@ declare enum SECTION_CODE {
|
|
4707
4804
|
|
4708
4805
|
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
4709
4806
|
|
4807
|
+
export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
|
4808
|
+
|
4710
4809
|
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
4711
4810
|
|
4712
4811
|
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
@@ -4762,8 +4861,12 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4762
4861
|
|
4763
4862
|
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
4764
4863
|
|
4864
|
+
export declare const SignupHeader: () => JSX.Element;
|
4865
|
+
|
4765
4866
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
4766
4867
|
|
4868
|
+
export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
|
4869
|
+
|
4767
4870
|
declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
4768
4871
|
export { SketchIcon as ScribbleIcon }
|
4769
4872
|
export { SketchIcon }
|
@@ -4858,7 +4961,7 @@ declare const TAB_CODES: {
|
|
4858
4961
|
|
4859
4962
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
4860
4963
|
|
4861
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
4964
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background }: ITabsProps) => JSX.Element>;
|
4862
4965
|
|
4863
4966
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
4864
4967
|
|
@@ -4947,7 +5050,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
|
|
4947
5050
|
|
4948
5051
|
export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
|
4949
5052
|
|
4950
|
-
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
|
5053
|
+
export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
|
4951
5054
|
|
4952
5055
|
declare type TCallback = (messages: TInclassMessage[]) => void;
|
4953
5056
|
|