@cuemath/leap 3.1.32 → 3.1.33-aa0
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/signup/custom-input-field/country-selector/country-list-menu.js +3 -1
- package/dist/features/auth/signup/custom-input-field/country-selector/country-list-menu.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/comps/chapter-progress.js.map +1 -1
- package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -1
- package/dist/features/circle-games/enum/circle-onboarding-steps.js +2 -2
- package/dist/features/circle-games/enum/circle-onboarding-steps.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js.map +1 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +3 -1
- package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -1
- package/dist/features/circle-games/game-launcher/game-launcher.js.map +1 -1
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +77 -63
- package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +1 -1
- package/dist/features/circle-games/leaderboard/hooks/use-timer/use-timer.js +4 -4
- package/dist/features/circle-games/leaderboard/hooks/use-timer/use-timer.js.map +1 -1
- package/dist/features/cue-canvas/cue-canvas.js.map +1 -1
- package/dist/features/cue-canvas/hooks/use-height-extender.js.map +1 -1
- package/dist/features/cue-canvas/hooks/use-upload-helper.js +1 -1
- package/dist/features/cue-canvas/hooks/use-upload-helper.js.map +1 -1
- package/dist/features/cue-canvas/sidebar/homework/homework.js.map +1 -1
- package/dist/features/cue-canvas/sidebar/puzzles/puzzles.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/color-picker-menu.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/grid-menu.js.map +1 -1
- package/dist/features/cue-canvas/toolbar/pen-tool-menu.js.map +1 -1
- package/dist/features/homework/homework-card.js.map +1 -1
- package/dist/features/hooks/use-previous.js +1 -1
- package/dist/features/hooks/use-previous.js.map +1 -1
- package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -1
- package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js.map +1 -1
- package/dist/features/journey/use-journey/journey-context-provider.js +7 -7
- package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
- package/dist/features/milestone/create/comps/body-layout/body-layout.js.map +1 -1
- package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
- package/dist/features/milestone/outcome/comps/outcome-collection/outcome-form/outcome-form.js +1 -0
- package/dist/features/milestone/outcome/comps/outcome-collection/outcome-form/outcome-form.js.map +1 -1
- package/dist/features/milestone/outcome/comps/past-milestone/question.js +5 -1
- package/dist/features/milestone/outcome/comps/past-milestone/question.js.map +1 -1
- package/dist/features/post-game-stats/accuracy/accuracy.js +9 -9
- package/dist/features/post-game-stats/accuracy/accuracy.js.map +1 -1
- package/dist/features/post-game-stats/clock/clock.js +12 -12
- package/dist/features/post-game-stats/clock/clock.js.map +1 -1
- package/dist/features/post-game-stats/streak/streak.js +3 -3
- package/dist/features/post-game-stats/streak/streak.js.map +1 -1
- package/dist/features/sheet-tools/tool-header/tool-header.js.map +1 -1
- package/dist/features/trial-session/comps/trial-circle-game/trial-circle-game.js.map +1 -1
- package/dist/features/trial-session/trial-session-types.js.map +1 -1
- package/dist/features/ui/context-menu/context-menu.js.map +1 -1
- package/dist/features/ui/grade-selector/grade-selector.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/base-select-input.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/select-option/select-option.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/select-section/select-section.js.map +1 -1
- package/dist/features/ui/inputs/google-places-search-input/google-places-search-input.js.map +1 -1
- package/dist/features/ui/inputs/radio-input/radio-input.js.map +1 -1
- package/dist/features/ui/inputs/radio-input/radio-option/radio-option.js.map +1 -1
- package/dist/features/ui/inputs/searchable-select-input/searchable-select-input.js.map +1 -1
- package/dist/features/ui/inputs/select-input/select-input.js.map +1 -1
- package/dist/features/ui/section-list/section-list.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-get-active-question-id.js +15 -15
- package/dist/features/worksheet/worksheet/hooks/use-get-active-question-id.js.map +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-data-helper.js +1 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-data-helper.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +86 -86
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-sidebar/question-guide.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
- package/dist/index.d.ts +57 -56
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +2 -2
- package/dist/node_modules/@floating-ui/{react/node_modules/@floating-ui/react-dom → react-dom}/dist/floating-ui.react-dom.js +2 -2
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
- package/dist/node_modules/react-datepicker/dist/index.es.js +1 -1
- package/package.json +14 -14
- package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import type { ImgHTMLAttributes } from 'react';
|
|
|
16
16
|
import type { InputHTMLAttributes } from 'react';
|
|
17
17
|
import { IProvidedProps } from 'google-maps-react';
|
|
18
18
|
import { IStyledComponent } from 'styled-components';
|
|
19
|
-
import { JSX
|
|
19
|
+
import { JSX } from 'react/jsx-runtime';
|
|
20
20
|
import { MemoExoticComponent } from 'react';
|
|
21
21
|
import type { MutableRefObject } from 'react';
|
|
22
22
|
import { NamedExoticComponent } from 'react';
|
|
@@ -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: MemoExoticComponent<({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) =>
|
|
44
|
+
export declare const AccountSelector: MemoExoticComponent<({ userAccounts, onSelect, onAddNew, isLoading, }: IAccountSelectorViewProps) => JSX.Element>;
|
|
45
45
|
|
|
46
46
|
export declare const ACHIEVEMENT_ACTIONS: {
|
|
47
47
|
SHARE: string;
|
|
@@ -58,9 +58,9 @@ export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
|
|
|
58
58
|
|
|
59
59
|
export declare const AppLoader: FC<IAppLoaderProps>;
|
|
60
60
|
|
|
61
|
-
export declare const ArcButton:
|
|
61
|
+
export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
|
|
62
62
|
children?: ReactNode | undefined;
|
|
63
|
-
} & RefAttributes<HTMLDivElement
|
|
63
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
64
64
|
|
|
65
65
|
export declare const ArrowTooltip: FC<IArrowTooltipProps>;
|
|
66
66
|
|
|
@@ -90,7 +90,7 @@ export declare const Back2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
|
90
90
|
|
|
91
91
|
export declare const BackgroundImage: ({ img }: {
|
|
92
92
|
img: React.ReactNode;
|
|
93
|
-
}) =>
|
|
93
|
+
}) => JSX.Element;
|
|
94
94
|
|
|
95
95
|
export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
96
96
|
|
|
@@ -192,9 +192,9 @@ export declare const ChatIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
|
192
192
|
|
|
193
193
|
export declare const Check2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
194
194
|
|
|
195
|
-
export declare const CheckboxInput: <IDType extends string | number>(props: ICheckboxOptionProps<IDType>) =>
|
|
195
|
+
export declare const CheckboxInput: <IDType extends string | number>(props: ICheckboxOptionProps<IDType>) => JSX.Element;
|
|
196
196
|
|
|
197
|
-
export declare const CheckboxInputList: <IDType extends string | number>(props: ICheckboxInputProps<IDType>) =>
|
|
197
|
+
export declare const CheckboxInputList: <IDType extends string | number>(props: ICheckboxInputProps<IDType>) => JSX.Element;
|
|
198
198
|
|
|
199
199
|
export declare const CheckIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
200
200
|
|
|
@@ -218,7 +218,8 @@ export declare enum CIRCLE_ONBOARDING_ANALYTICS_STEPS {
|
|
|
218
218
|
POINTS = "points",
|
|
219
219
|
STREAK = "streak",
|
|
220
220
|
LEADERBOARD = "leaderboard",
|
|
221
|
-
TABLES = "tables"
|
|
221
|
+
TABLES = "tables",
|
|
222
|
+
INFINITE_MODE = "infinite_mode"
|
|
222
223
|
}
|
|
223
224
|
|
|
224
225
|
export declare enum CircleSoundKey {
|
|
@@ -249,11 +250,11 @@ export declare enum CircleSoundKey {
|
|
|
249
250
|
HIGH_SCORE = "high-score"
|
|
250
251
|
}
|
|
251
252
|
|
|
252
|
-
export declare const CircularLoader: () =>
|
|
253
|
+
export declare const CircularLoader: () => JSX.Element;
|
|
253
254
|
|
|
254
255
|
export declare const CircularSteps: FC<ICircularStepsProps>;
|
|
255
256
|
|
|
256
|
-
export declare const CircularStepWrapper:
|
|
257
|
+
export declare const CircularStepWrapper: NamedExoticComponent<ICircularStepWrapperProps & RefAttributes<ICircularStepRef>>;
|
|
257
258
|
|
|
258
259
|
export declare const ClaimUserAccount: NamedExoticComponent<IClaimUserAccountProps>;
|
|
259
260
|
|
|
@@ -303,7 +304,7 @@ declare const COURSE_STREAMS: {
|
|
|
303
304
|
|
|
304
305
|
export declare const CrossIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
305
306
|
|
|
306
|
-
export declare const CueCanvas:
|
|
307
|
+
export declare const CueCanvas: React_2.FC<ICueCanvas>;
|
|
307
308
|
|
|
308
309
|
export declare const CueCanvasController: React_2.FC<IToolbarProps>;
|
|
309
310
|
|
|
@@ -540,7 +541,7 @@ export declare const GooglePlacesSearchInput: ComponentType<Omit_2<IGooglePlaces
|
|
|
540
541
|
|
|
541
542
|
export declare const GradeInput: NamedExoticComponent<ICustomInputFieldProps>;
|
|
542
543
|
|
|
543
|
-
export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, layoutAlignment, }: IGradeSelectorProps):
|
|
544
|
+
export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, layoutAlignment, }: IGradeSelectorProps): ReactElement;
|
|
544
545
|
|
|
545
546
|
export declare const HandIcon: React_2.FC;
|
|
546
547
|
|
|
@@ -638,7 +639,7 @@ export declare interface IArrowTooltipProps {
|
|
|
638
639
|
position: TPositionProps;
|
|
639
640
|
renderAs: TArrowTooltipVariants;
|
|
640
641
|
textVariant?: TTextVariants;
|
|
641
|
-
tooltipItem:
|
|
642
|
+
tooltipItem: ReactElement | string;
|
|
642
643
|
tooltipOffset?: number;
|
|
643
644
|
tooltipXCoOrdinates?: number;
|
|
644
645
|
tooltipYCoOrdinates?: number;
|
|
@@ -654,8 +655,8 @@ declare interface IAttempt {
|
|
|
654
655
|
}
|
|
655
656
|
|
|
656
657
|
declare interface IAuthPageLayoutProps {
|
|
657
|
-
leftBlock:
|
|
658
|
-
rightBlock?:
|
|
658
|
+
leftBlock: ReactElement;
|
|
659
|
+
rightBlock?: ReactElement;
|
|
659
660
|
isFullWidth?: boolean;
|
|
660
661
|
}
|
|
661
662
|
|
|
@@ -693,8 +694,8 @@ declare interface IBaseInputProps {
|
|
|
693
694
|
message?: string;
|
|
694
695
|
renderAs: TInputVariants;
|
|
695
696
|
size: TInputSizes;
|
|
696
|
-
inputElement:
|
|
697
|
-
siblingElement?:
|
|
697
|
+
inputElement: ReactElement;
|
|
698
|
+
siblingElement?: ReactElement;
|
|
698
699
|
siblingPosition?: 'left' | 'right';
|
|
699
700
|
canSiblingInteract?: boolean;
|
|
700
701
|
willShowMessage?: boolean;
|
|
@@ -780,7 +781,7 @@ declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
780
781
|
alignSelf?: TAlignSelf;
|
|
781
782
|
justifyContent?: 'center' | 'flex-start' | 'flex-end' | 'space-between';
|
|
782
783
|
onClick?: () => void;
|
|
783
|
-
children?:
|
|
784
|
+
children?: ReactElement;
|
|
784
785
|
}
|
|
785
786
|
|
|
786
787
|
export declare interface IButtonSizeConfig {
|
|
@@ -1002,7 +1003,7 @@ declare interface IChapterState {
|
|
|
1002
1003
|
declare interface ICheckboxInputProps<IDType> {
|
|
1003
1004
|
options: {
|
|
1004
1005
|
id: IDType;
|
|
1005
|
-
label?:
|
|
1006
|
+
label?: ReactElement | string;
|
|
1006
1007
|
}[];
|
|
1007
1008
|
value: IDType[];
|
|
1008
1009
|
disabled?: IDType[];
|
|
@@ -1018,7 +1019,7 @@ declare interface ICheckboxInputProps<IDType> {
|
|
|
1018
1019
|
declare interface ICheckboxOptionProps<IDType> {
|
|
1019
1020
|
value: IDType;
|
|
1020
1021
|
checked: boolean;
|
|
1021
|
-
label?:
|
|
1022
|
+
label?: ReactElement | string;
|
|
1022
1023
|
onChange: (value: IDType, selected: boolean) => void;
|
|
1023
1024
|
disabled?: boolean;
|
|
1024
1025
|
visibleOnCheck?: boolean;
|
|
@@ -1077,7 +1078,7 @@ declare interface ICircularStepsProps {
|
|
|
1077
1078
|
}
|
|
1078
1079
|
|
|
1079
1080
|
declare interface ICircularStepWrapperProps {
|
|
1080
|
-
children:
|
|
1081
|
+
children: ReactElement;
|
|
1081
1082
|
animation: string;
|
|
1082
1083
|
introFrames: [number, number];
|
|
1083
1084
|
outroFrames: [number, number];
|
|
@@ -1088,7 +1089,7 @@ declare interface ICircularStepWrapperProps {
|
|
|
1088
1089
|
showPrevious?: boolean;
|
|
1089
1090
|
isNextLoading?: boolean;
|
|
1090
1091
|
progressAngle?: number;
|
|
1091
|
-
footerElement?:
|
|
1092
|
+
footerElement?: ReactElement;
|
|
1092
1093
|
}
|
|
1093
1094
|
|
|
1094
1095
|
declare interface IClaimUserAccountProps {
|
|
@@ -1163,8 +1164,8 @@ declare interface IconProps_2 extends React_2.SVGProps<SVGSVGElement> {
|
|
|
1163
1164
|
}
|
|
1164
1165
|
|
|
1165
1166
|
declare interface IContextMenuProps {
|
|
1166
|
-
targetElement:
|
|
1167
|
-
menuElement:
|
|
1167
|
+
targetElement: ReactElement;
|
|
1168
|
+
menuElement: ReactElement;
|
|
1168
1169
|
menuOffset?: number;
|
|
1169
1170
|
menuZIndex?: number;
|
|
1170
1171
|
startLeft?: boolean;
|
|
@@ -1249,7 +1250,7 @@ declare interface ICustomInputFieldProps {
|
|
|
1249
1250
|
onEnter?: () => void;
|
|
1250
1251
|
error?: string;
|
|
1251
1252
|
helperText?: string;
|
|
1252
|
-
actionElement?:
|
|
1253
|
+
actionElement?: ReactElement;
|
|
1253
1254
|
isLoading?: boolean;
|
|
1254
1255
|
isValid?: boolean;
|
|
1255
1256
|
type?: 'text' | 'password' | 'number' | 'phone';
|
|
@@ -2392,7 +2393,7 @@ export declare interface IModal {
|
|
|
2392
2393
|
/** Unique identifier for the modal */
|
|
2393
2394
|
name: string;
|
|
2394
2395
|
/** Content to display inside the modal */
|
|
2395
|
-
element:
|
|
2396
|
+
element: ReactElement;
|
|
2396
2397
|
/** Rendering style of the modal */
|
|
2397
2398
|
renderAs?: 'modal' | 'fullscreen' | 'spotlight';
|
|
2398
2399
|
/** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
|
|
@@ -2819,7 +2820,7 @@ declare interface IRadioCardListProps<IDType> {
|
|
|
2819
2820
|
id: IDType;
|
|
2820
2821
|
title: string;
|
|
2821
2822
|
description?: string;
|
|
2822
|
-
Icon:
|
|
2823
|
+
Icon: ReactElement;
|
|
2823
2824
|
}[];
|
|
2824
2825
|
value?: IDType;
|
|
2825
2826
|
onChange: (selectedCard: IDType) => void;
|
|
@@ -2977,7 +2978,7 @@ declare interface ISelectionCardListProps<IDType> {
|
|
|
2977
2978
|
|
|
2978
2979
|
declare interface ISelectionCardOption<IDType> {
|
|
2979
2980
|
id: IDType;
|
|
2980
|
-
children:
|
|
2981
|
+
children: ReactElement;
|
|
2981
2982
|
visible?: boolean;
|
|
2982
2983
|
}
|
|
2983
2984
|
|
|
@@ -3537,13 +3538,13 @@ declare interface ITrialSessionProps {
|
|
|
3537
3538
|
studentId: string;
|
|
3538
3539
|
teacherId: string;
|
|
3539
3540
|
teacherClassroomId: string;
|
|
3540
|
-
teacherPanel?:
|
|
3541
|
-
studentPanel?:
|
|
3541
|
+
teacherPanel?: ReactElement;
|
|
3542
|
+
studentPanel?: ReactElement;
|
|
3542
3543
|
formData?: ITrialSessionFormFields;
|
|
3543
3544
|
onFormDataChange?: Dispatch<SetStateAction<ITrialSessionFormFields | undefined>>;
|
|
3544
|
-
worksheet?:
|
|
3545
|
-
worksheetNavigationPanel?:
|
|
3546
|
-
questionsRatingPanel?:
|
|
3545
|
+
worksheet?: ReactElement;
|
|
3546
|
+
worksheetNavigationPanel?: ReactElement;
|
|
3547
|
+
questionsRatingPanel?: ReactElement;
|
|
3547
3548
|
studentAbsentInClass?: boolean;
|
|
3548
3549
|
openEndClassModal?: () => void;
|
|
3549
3550
|
trialGameUrl: string;
|
|
@@ -3932,7 +3933,7 @@ declare interface IWorksheetContainerProps extends IBaseWorksheetProps, IWorkshe
|
|
|
3932
3933
|
}) => void;
|
|
3933
3934
|
onResponsesLoaded?: (responses: Record<string, IWorksheetResponse>) => void;
|
|
3934
3935
|
openQuestionFeedbackModal?: (itemRef: string) => void;
|
|
3935
|
-
summaryDescription?:
|
|
3936
|
+
summaryDescription?: ReactElement | null;
|
|
3936
3937
|
canSubmitWorksheet?: boolean;
|
|
3937
3938
|
subjectiveProps?: ISubjectiveSheetProps;
|
|
3938
3939
|
}
|
|
@@ -3989,7 +3990,7 @@ export declare interface IWorksheetProps extends IBaseWorksheetProps, IWorksheet
|
|
|
3989
3990
|
appendedQuestionIds: string[];
|
|
3990
3991
|
questionsSignedRequest: string;
|
|
3991
3992
|
openQuestionFeedbackModal?: (itemRef: string) => void;
|
|
3992
|
-
summaryDescription?:
|
|
3993
|
+
summaryDescription?: ReactElement | null;
|
|
3993
3994
|
canSubmitWorksheet?: boolean;
|
|
3994
3995
|
studentId: string;
|
|
3995
3996
|
attemptId?: string;
|
|
@@ -4060,7 +4061,7 @@ export declare enum JOURNEY_ID_TEACHER {
|
|
|
4060
4061
|
|
|
4061
4062
|
export declare const JourneyProvider: FC<IJourneyProviderProps>;
|
|
4062
4063
|
|
|
4063
|
-
export declare const Leaderboard: ({ leaderboardData, type, userId, onClose, isLoading, streakInfo, }: ILeaderboardProps) =>
|
|
4064
|
+
export declare const Leaderboard: ({ leaderboardData, type, userId, onClose, isLoading, streakInfo, }: ILeaderboardProps) => JSX.Element;
|
|
4064
4065
|
|
|
4065
4066
|
export declare const LearnosityPreloader: FC<PropsWithChildren<ILearnosityPreloaderProps>>;
|
|
4066
4067
|
|
|
@@ -4366,13 +4367,13 @@ declare interface NumRangeInputProps {
|
|
|
4366
4367
|
endPlaceholder?: string;
|
|
4367
4368
|
}
|
|
4368
4369
|
|
|
4369
|
-
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) =>
|
|
4370
|
+
export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
|
|
4370
4371
|
|
|
4371
4372
|
export declare type OutcomeStage = keyof typeof STAGES;
|
|
4372
4373
|
|
|
4373
4374
|
export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
|
|
4374
4375
|
isLoading?: boolean | undefined;
|
|
4375
|
-
}) =>
|
|
4376
|
+
}) => JSX.Element | null>;
|
|
4376
4377
|
|
|
4377
4378
|
export declare const PencilIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4378
4379
|
|
|
@@ -4423,7 +4424,7 @@ export declare const PlusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
|
4423
4424
|
|
|
4424
4425
|
export declare const PointerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4425
4426
|
|
|
4426
|
-
export declare const PostGameStats:
|
|
4427
|
+
export declare const PostGameStats: NamedExoticComponent<IPostGameStatsProps & RefAttributes<IPostGameStatsRef>>;
|
|
4427
4428
|
|
|
4428
4429
|
export declare const PracticeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4429
4430
|
|
|
@@ -4492,9 +4493,9 @@ declare enum QUESTIONS_RATING {
|
|
|
4492
4493
|
H = 1
|
|
4493
4494
|
}
|
|
4494
4495
|
|
|
4495
|
-
export declare const RadioCard: <IDType extends string | number>({ options, value, width, widthX, onChange, analyticsLabel, analyticsProps, horizontalCard, }: IRadioCardListProps<IDType>) =>
|
|
4496
|
+
export declare const RadioCard: <IDType extends string | number>({ options, value, width, widthX, onChange, analyticsLabel, analyticsProps, horizontalCard, }: IRadioCardListProps<IDType>) => JSX.Element;
|
|
4496
4497
|
|
|
4497
|
-
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) =>
|
|
4498
|
+
export declare const RadioInput: <IDType extends string | number>({ options, value, onChange, numColumns, }: IRadioInputProps<IDType>) => ReactElement;
|
|
4498
4499
|
|
|
4499
4500
|
export declare const RecentChapters: FC<RecentChaptersProps>;
|
|
4500
4501
|
|
|
@@ -4510,11 +4511,11 @@ export declare const RedoIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
|
4510
4511
|
|
|
4511
4512
|
export declare const ReferenceSheet: FC<IReferenceSheetProps>;
|
|
4512
4513
|
|
|
4513
|
-
export declare const RemotePeerPointer: MemoExoticComponent<({ containerRef, onPublish, onSubscribe, responseId }: IPointerProps) =>
|
|
4514
|
+
export declare const RemotePeerPointer: MemoExoticComponent<({ containerRef, onPublish, onSubscribe, responseId }: IPointerProps) => JSX.Element>;
|
|
4514
4515
|
|
|
4515
4516
|
export declare const ResendOTP: NamedExoticComponent<IOTPResendProps>;
|
|
4516
4517
|
|
|
4517
|
-
export declare const ResetPasswordForm: MemoExoticComponent<({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IResetPasswordFormProps) =>
|
|
4518
|
+
export declare const ResetPasswordForm: MemoExoticComponent<({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IResetPasswordFormProps) => JSX.Element>;
|
|
4518
4519
|
|
|
4519
4520
|
export declare const REWARDS_LIST: string[];
|
|
4520
4521
|
|
|
@@ -4532,7 +4533,7 @@ declare const SAT_NODE_TYPE: {
|
|
|
4532
4533
|
|
|
4533
4534
|
export declare const SATSheetSummary: FC<ISATSheetSummary>;
|
|
4534
4535
|
|
|
4535
|
-
export declare const SearchableSelectInput: <IDType extends string | number>(props: ISearchableSelectInputProps<IDType>) =>
|
|
4536
|
+
export declare const SearchableSelectInput: <IDType extends string | number>(props: ISearchableSelectInputProps<IDType>) => ReactElement;
|
|
4536
4537
|
|
|
4537
4538
|
export declare const SearchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4538
4539
|
|
|
@@ -4548,11 +4549,11 @@ declare enum SECTION_CODE {
|
|
|
4548
4549
|
PUZZLE_CARDS = "PUZZLE_CARDS"
|
|
4549
4550
|
}
|
|
4550
4551
|
|
|
4551
|
-
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) =>
|
|
4552
|
+
export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
|
|
4552
4553
|
|
|
4553
|
-
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) =>
|
|
4554
|
+
export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
|
|
4554
4555
|
|
|
4555
|
-
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) =>
|
|
4556
|
+
export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
|
|
4556
4557
|
|
|
4557
4558
|
export declare const SENTRY_DENIED_URLS: Array<string | RegExp>;
|
|
4558
4559
|
|
|
@@ -4601,9 +4602,9 @@ export declare const SheetList: FC<ISheetsListProps>;
|
|
|
4601
4602
|
|
|
4602
4603
|
export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
|
|
4603
4604
|
onHomeClick: () => void;
|
|
4604
|
-
}) =>
|
|
4605
|
+
}) => JSX.Element>;
|
|
4605
4606
|
|
|
4606
|
-
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) =>
|
|
4607
|
+
export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
|
|
4607
4608
|
|
|
4608
4609
|
export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
|
|
4609
4610
|
|
|
@@ -4617,13 +4618,13 @@ export declare const SkipColoredIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
|
4617
4618
|
|
|
4618
4619
|
export declare const SkipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4619
4620
|
|
|
4620
|
-
export declare const SocialAccountNotFound: MemoExoticComponent<({ onRetryLogin, onGoToSignup, showSignupButton, }: ISocialAccountNotFoundProps) =>
|
|
4621
|
+
export declare const SocialAccountNotFound: MemoExoticComponent<({ onRetryLogin, onGoToSignup, showSignupButton, }: ISocialAccountNotFoundProps) => JSX.Element>;
|
|
4621
4622
|
|
|
4622
4623
|
export declare const SocialLoginMethods: NamedExoticComponent<ISocialLoginMethodsProps>;
|
|
4623
4624
|
|
|
4624
4625
|
export declare const SplashScreen: ({ animationCompleted }: {
|
|
4625
4626
|
animationCompleted: () => void;
|
|
4626
|
-
}) =>
|
|
4627
|
+
}) => JSX.Element;
|
|
4627
4628
|
|
|
4628
4629
|
export declare const STAGES: {
|
|
4629
4630
|
PAST_MILESTONE: string;
|
|
@@ -4649,7 +4650,7 @@ export declare enum State {
|
|
|
4649
4650
|
|
|
4650
4651
|
export declare const StatusIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
4651
4652
|
|
|
4652
|
-
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps):
|
|
4653
|
+
export declare function Stepper({ stepsInfo, currentStep }: IStepperProps): JSX.Element;
|
|
4653
4654
|
|
|
4654
4655
|
declare const STICKER_BADGE: {
|
|
4655
4656
|
CONGRATS: string;
|
|
@@ -4688,7 +4689,7 @@ declare const TAB_CODES: {
|
|
|
4688
4689
|
|
|
4689
4690
|
export declare const TabComponent: React_2.FC<ITabProps>;
|
|
4690
4691
|
|
|
4691
|
-
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) =>
|
|
4692
|
+
export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
|
|
4692
4693
|
|
|
4693
4694
|
export declare type TAction = EventToPayload<TInclassMessage>;
|
|
4694
4695
|
|
|
@@ -5753,7 +5754,7 @@ declare type TUserProgram = {
|
|
|
5753
5754
|
|
|
5754
5755
|
export declare type TUserTypes = 'TEACHER' | 'STUDENT';
|
|
5755
5756
|
|
|
5756
|
-
export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialPlayedOnce, isJourneyActive, }: ITutorialProps) =>
|
|
5757
|
+
export declare const Tutorial: ({ src, title, onCross, showProgress, onTutorialPlayedOnce, isJourneyActive, }: ITutorialProps) => JSX.Element;
|
|
5757
5758
|
|
|
5758
5759
|
export declare const TutoringIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
5759
5760
|
|
|
@@ -5945,7 +5946,7 @@ export declare const User2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
|
5945
5946
|
|
|
5946
5947
|
export declare const UserIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
5947
5948
|
|
|
5948
|
-
export declare const UserIdentifierForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isSubmitDisabled, isProcessing, isValid, label, }: ISingleFieldFormProps) =>
|
|
5949
|
+
export declare const UserIdentifierForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isSubmitDisabled, isProcessing, isValid, label, }: ISingleFieldFormProps) => JSX.Element>;
|
|
5949
5950
|
|
|
5950
5951
|
export declare const UsernamePasswordForm: NamedExoticComponent<IUsernamePasswordFormProps>;
|
|
5951
5952
|
|
|
@@ -6004,7 +6005,7 @@ export declare enum WebViewEvent {
|
|
|
6004
6005
|
*/
|
|
6005
6006
|
export declare const WHITELIST_EVENTS: Record<string, PLUGIN_NAME[]>;
|
|
6006
6007
|
|
|
6007
|
-
export declare const Worksheet:
|
|
6008
|
+
export declare const Worksheet: NamedExoticComponent<IWorksheetContainerProps & RefAttributes<IWorksheetRef>>;
|
|
6008
6009
|
|
|
6009
6010
|
export declare const WORKSHEET_ACTION_BAR_HEIGHT = 56;
|
|
6010
6011
|
|
|
@@ -3,8 +3,8 @@ import { useModernLayoutEffect as O, useEffectEvent as X } from "./floating-ui.r
|
|
|
3
3
|
import { jsxs as Y, jsx as P } from "react/jsx-runtime";
|
|
4
4
|
import { getComputedStyle as q, isElement as I } from "../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
import { useFloating as Q } from "
|
|
7
|
-
import { arrow as pe, flip as Re, offset as he } from "
|
|
6
|
+
import { useFloating as Q } from "../../react-dom/dist/floating-ui.react-dom.js";
|
|
7
|
+
import { arrow as pe, flip as Re, offset as he } from "../../react-dom/dist/floating-ui.react-dom.js";
|
|
8
8
|
const Z = {
|
|
9
9
|
...r
|
|
10
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { offset as I, flip as J, computePosition as K, arrow as v } from "
|
|
2
|
-
import { autoUpdate as oe, platform as se } from "
|
|
1
|
+
import { offset as I, flip as J, computePosition as K, arrow as v } from "../../dom/dist/floating-ui.dom.js";
|
|
2
|
+
import { autoUpdate as oe, platform as se } from "../../dom/dist/floating-ui.dom.js";
|
|
3
3
|
import * as f from "react";
|
|
4
4
|
import { useLayoutEffect as N, useEffect as Q } from "react";
|
|
5
5
|
import * as T from "react-dom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floating-ui.react-dom.js","sources":["../../../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["index","useLayoutEffect","useEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","state","padding","arrow$2","offset","deps","offset$1","flip","flip$1","arrow"],"mappings":";;;;;AAMA,IAAIA,IAAQ,OAAO,WAAa,MAAcC,IAAkBC;AAIhE,SAASC,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Ac,CAAC;AACpD;AAQA,MAAMI,IAAU,CAAA1C,MAAW;AACzB,WAAS2C,EAAMjD,GAAO;AACpB,WAAO,CAAE,EAAC,eAAe,KAAKA,GAAO,SAAS;AAAA,EAC/C;AACD,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAAM;AAAA,IACA,GAAG4C,GAAO;AACR,YAAM;AAAA,QACJ,SAAApD;AAAA,QACA,SAAAqD;AAAA,MACR,IAAU,OAAO7C,KAAY,aAAaA,EAAQ4C,CAAK,IAAI5C;AACrD,aAAIR,KAAWmD,EAAMnD,CAAO,IACtBA,EAAQ,WAAW,OACdsD,EAAQ;AAAA,QACb,SAAStD,EAAQ;AAAA,QACjB,SAAAqD;AAAA,MACZ,CAAW,EAAE,GAAGD,CAAK,IAEN,KAELpD,IACKsD,EAAQ;AAAA,QACb,SAAAtD;AAAA,QACA,SAAAqD;AAAA,MACV,CAAS,EAAE,GAAGD,CAAK,IAEN;IACR;AAAA,EACL;AACA,GASMG,KAAS,CAAC/C,GAASgD,OAAU;AAAA,EACjC,GAAGC,EAASjD,CAAO;AAAA,EACnB,SAAS,CAACA,GAASgD,CAAI;AACzB,IA0BME,KAAO,CAAClD,GAASgD,OAAU;AAAA,EAC/B,GAAGG,EAAOnD,CAAO;AAAA,EACjB,SAAS,CAACA,GAASgD,CAAI;AACzB,IAkDMI,KAAQ,CAACpD,GAASgD,OAAU;AAAA,EAChC,GAAGN,EAAQ1C,CAAO;AAAA,EAClB,SAAS,CAACA,GAASgD,CAAI;AACzB;","x_google_ignoreList":[0]}
|
|
@@ -59,7 +59,7 @@ import { max as pt } from "../node_modules/date-fns/max.js";
|
|
|
59
59
|
import { addHours as pr } from "../node_modules/date-fns/addHours.js";
|
|
60
60
|
import { addSeconds as dr } from "../node_modules/date-fns/addSeconds.js";
|
|
61
61
|
import { autoUpdate as ur } from "../../@floating-ui/dom/dist/floating-ui.dom.js";
|
|
62
|
-
import { flip as fr, offset as hr, arrow as vr } from "../../@floating-ui/react
|
|
62
|
+
import { flip as fr, offset as hr, arrow as vr } from "../../@floating-ui/react-dom/dist/floating-ui.react-dom.js";
|
|
63
63
|
import { subWeeks as dt } from "../node_modules/date-fns/subWeeks.js";
|
|
64
64
|
import { subDays as mr } from "../node_modules/date-fns/subDays.js";
|
|
65
65
|
import { endOfWeek as Dr } from "../node_modules/date-fns/endOfWeek.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuemath/leap",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.33-aa0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@cuemath/ts-config": "1.0.0",
|
|
41
41
|
"@react-native-community/eslint-config": "3.2.0",
|
|
42
42
|
"@sentry/browser": "9.5.0",
|
|
43
|
-
"@storybook/addon-essentials": "^
|
|
44
|
-
"@storybook/addon-interactions": "^
|
|
45
|
-
"@storybook/addon-links": "^
|
|
46
|
-
"@storybook/addon-themes": "^
|
|
47
|
-
"@storybook/blocks": "^
|
|
48
|
-
"@storybook/react": "^
|
|
49
|
-
"@storybook/react-vite": "^
|
|
50
|
-
"@storybook/test": "^
|
|
43
|
+
"@storybook/addon-essentials": "^8.0.0",
|
|
44
|
+
"@storybook/addon-interactions": "^8.0.0",
|
|
45
|
+
"@storybook/addon-links": "^8.0.0",
|
|
46
|
+
"@storybook/addon-themes": "^8.0.0",
|
|
47
|
+
"@storybook/blocks": "^8.0.0",
|
|
48
|
+
"@storybook/react": "^8.0.0",
|
|
49
|
+
"@storybook/react-vite": "^8.0.0",
|
|
50
|
+
"@storybook/test": "^8.0.0",
|
|
51
51
|
"@types/fs-extra": "^11",
|
|
52
52
|
"@types/google.maps": "3.54.10",
|
|
53
53
|
"@types/humanize-plus": "^1",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@types/lodash.debounce": "^4",
|
|
56
56
|
"@types/lodash.isequal": "^4.5.8",
|
|
57
57
|
"@types/lodash.throttle": "^4",
|
|
58
|
-
"@types/react": "
|
|
59
|
-
"@types/react-dom": "
|
|
58
|
+
"@types/react": "19.1.0",
|
|
59
|
+
"@types/react-dom": "19.1.0",
|
|
60
60
|
"@types/ua-parser-js": "0.7.39",
|
|
61
61
|
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
|
62
62
|
"@typescript-eslint/parser": "^6.10.0",
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
"lottie-web": "5.12.2",
|
|
84
84
|
"path": "^0.12.7",
|
|
85
85
|
"prettier": "3.1.0",
|
|
86
|
-
"react": "
|
|
87
|
-
"react-dom": "
|
|
86
|
+
"react": "19.1.0",
|
|
87
|
+
"react-dom": "19.1.0",
|
|
88
88
|
"react-error-boundary": "^6.0.0",
|
|
89
|
-
"storybook": "^
|
|
89
|
+
"storybook": "^8.0.0",
|
|
90
90
|
"storybook-addon-fetch-mock": "^2.0.1",
|
|
91
91
|
"styled-components": "6.0.7",
|
|
92
92
|
"typescript": "^5.2.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"floating-ui.react-dom.js","sources":["../../../../../../../../node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["index","useLayoutEffect","useEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","state","padding","arrow$2","offset","deps","offset$1","flip","flip$1","arrow"],"mappings":";;;;;AAMA,IAAIA,IAAQ,OAAO,WAAa,MAAcC,IAAkBC;AAIhE,SAASC,EAAUC,GAAGC,GAAG;AACvB,MAAID,MAAMC;AACR,WAAO;AAET,MAAI,OAAOD,KAAM,OAAOC;AACtB,WAAO;AAET,MAAI,OAAOD,KAAM,cAAcA,EAAE,eAAeC,EAAE;AAChD,WAAO;AAET,MAAIC,GACAC,GACAC;AACJ,MAAIJ,KAAKC,KAAK,OAAOD,KAAM,UAAU;AACnC,QAAI,MAAM,QAAQA,CAAC,GAAG;AAEpB,UADAE,IAASF,EAAE,QACPE,MAAWD,EAAE,OAAQ,QAAO;AAChC,WAAKE,IAAID,GAAQC,QAAQ;AACvB,YAAI,CAACJ,EAAUC,EAAEG,CAAC,GAAGF,EAAEE,CAAC,CAAC;AACvB,iBAAO;AAGX,aAAO;AAAA,IACR;AAGD,QAFAC,IAAO,OAAO,KAAKJ,CAAC,GACpBE,IAASE,EAAK,QACVF,MAAW,OAAO,KAAKD,CAAC,EAAE;AAC5B,aAAO;AAET,SAAKE,IAAID,GAAQC,QAAQ;AACvB,UAAI,CAAC,CAAE,EAAC,eAAe,KAAKF,GAAGG,EAAKD,CAAC,CAAC;AACpC,eAAO;AAGX,SAAKA,IAAID,GAAQC,QAAQ,KAAI;AAC3B,YAAME,IAAMD,EAAKD,CAAC;AAClB,UAAI,EAAAE,MAAQ,YAAYL,EAAE,aAGtB,CAACD,EAAUC,EAAEK,CAAG,GAAGJ,EAAEI,CAAG,CAAC;AAC3B,eAAO;AAAA,IAEV;AACD,WAAO;AAAA,EACR;AACD,SAAOL,MAAMA,KAAKC,MAAMA;AAC1B;AAEA,SAASK,EAAOC,GAAS;AACvB,SAAI,OAAO,SAAW,MACb,KAEGA,EAAQ,cAAc,eAAe,QACtC,oBAAoB;AACjC;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