@cuemath/leap 3.2.23-as1 → 3.2.23-m

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -6
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/images/images.js +0 -10
  4. package/dist/assets/images/images.js.map +1 -1
  5. package/dist/assets/lottie/lottie.js +1 -6
  6. package/dist/assets/lottie/lottie.js.map +1 -1
  7. package/dist/features/stickers/sticker-data.js +234 -0
  8. package/dist/features/stickers/sticker-data.js.map +1 -0
  9. package/dist/features/{ui/sticker-grid/sticker-grid-styles.js → stickers/sticker-selector/sticker-selector-styles.js} +21 -31
  10. package/dist/features/stickers/sticker-selector/sticker-selector-styles.js.map +1 -0
  11. package/dist/features/stickers/sticker-selector/sticker-selector.js +27 -0
  12. package/dist/features/stickers/sticker-selector/sticker-selector.js.map +1 -0
  13. package/dist/features/stickers/sticker-selector/sticker.js +57 -0
  14. package/dist/features/stickers/sticker-selector/sticker.js.map +1 -0
  15. package/dist/features/{ui/stickers/stickers-effects.js → stickers/stickers-effects/effects.js} +6 -6
  16. package/dist/features/stickers/stickers-effects/effects.js.map +1 -0
  17. package/dist/features/stickers/stickers-effects/stickers-cache.js +19 -0
  18. package/dist/features/stickers/stickers-effects/stickers-cache.js.map +1 -0
  19. package/dist/features/stickers/stickers-effects/stickers-effects-helper.js +86 -0
  20. package/dist/features/stickers/stickers-effects/stickers-effects-helper.js.map +1 -0
  21. package/dist/features/{ui/stickers/stickers-styled.js → stickers/stickers-effects/stickers-effects-styled.js} +2 -2
  22. package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +1 -0
  23. package/dist/features/stickers/stickers-effects/stickers-effects.js +54 -0
  24. package/dist/features/stickers/stickers-effects/stickers-effects.js.map +1 -0
  25. package/dist/features/ui/constants/z-index.js +3 -5
  26. package/dist/features/ui/constants/z-index.js.map +1 -1
  27. package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js +88 -75
  28. package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js.map +1 -1
  29. package/dist/features/ui/lottie-animation/lottie-animation.js +36 -31
  30. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  31. package/dist/features/ui/modals/modal-styled.js +39 -8
  32. package/dist/features/ui/modals/modal-styled.js.map +1 -1
  33. package/dist/features/ui/modals/modal.js +31 -31
  34. package/dist/features/ui/modals/modal.js.map +1 -1
  35. package/dist/index.d.ts +72 -193
  36. package/dist/index.js +609 -617
  37. package/dist/index.js.map +1 -1
  38. package/package.json +1 -1
  39. package/dist/assets/line-icons/icons/cue-coin.js +0 -182
  40. package/dist/assets/line-icons/icons/cue-coin.js.map +0 -1
  41. package/dist/assets/line-icons/icons/wins-common-icon.js +0 -26
  42. package/dist/assets/line-icons/icons/wins-common-icon.js.map +0 -1
  43. package/dist/assets/line-icons/icons/wins-epic-icon.js +0 -25
  44. package/dist/assets/line-icons/icons/wins-epic-icon.js.map +0 -1
  45. package/dist/assets/line-icons/icons/wins-legendary-icon.js +0 -25
  46. package/dist/assets/line-icons/icons/wins-legendary-icon.js.map +0 -1
  47. package/dist/assets/line-icons/icons/wins-mystery-icon.js +0 -105
  48. package/dist/assets/line-icons/icons/wins-mystery-icon.js.map +0 -1
  49. package/dist/assets/line-icons/icons/wins-mythic-icon.js +0 -28
  50. package/dist/assets/line-icons/icons/wins-mythic-icon.js.map +0 -1
  51. package/dist/assets/line-icons/icons/wins-rare-icon.js +0 -28
  52. package/dist/assets/line-icons/icons/wins-rare-icon.js.map +0 -1
  53. package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +0 -1
  54. package/dist/features/ui/sticker-grid/sticker-grid.js +0 -24
  55. package/dist/features/ui/sticker-grid/sticker-grid.js.map +0 -1
  56. package/dist/features/ui/sticker-grid/sticker.js +0 -57
  57. package/dist/features/ui/sticker-grid/sticker.js.map +0 -1
  58. package/dist/features/ui/stickers/constants.js +0 -6
  59. package/dist/features/ui/stickers/constants.js.map +0 -1
  60. package/dist/features/ui/stickers/stickers-effects.js.map +0 -1
  61. package/dist/features/ui/stickers/stickers-styled.js.map +0 -1
  62. package/dist/features/ui/stickers/stickers-utils.js +0 -91
  63. package/dist/features/ui/stickers/stickers-utils.js.map +0 -1
  64. package/dist/features/ui/stickers/stickers.js +0 -40
  65. package/dist/features/ui/stickers/stickers.js.map +0 -1
  66. package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js +0 -108
  67. package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js.map +0 -1
  68. package/dist/features/wins-dashboard/belts-elements-stickers/belts.js +0 -94
  69. package/dist/features/wins-dashboard/belts-elements-stickers/belts.js.map +0 -1
  70. package/dist/features/wins-dashboard/belts-elements-stickers/elements.js +0 -182
  71. package/dist/features/wins-dashboard/belts-elements-stickers/elements.js.map +0 -1
  72. package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js +0 -35
  73. package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js.map +0 -1
  74. package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js +0 -82
  75. package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js.map +0 -1
  76. package/dist/features/wins-dashboard/constants.js +0 -161
  77. package/dist/features/wins-dashboard/constants.js.map +0 -1
  78. package/dist/features/wins-dashboard/header/wins-header.js +0 -95
  79. package/dist/features/wins-dashboard/header/wins-header.js.map +0 -1
  80. package/dist/features/wins-dashboard/student-badges/animated-tabbar.js +0 -65
  81. package/dist/features/wins-dashboard/student-badges/animated-tabbar.js.map +0 -1
  82. package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-hook.js +0 -107
  83. package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-hook.js.map +0 -1
  84. package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js +0 -135
  85. package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js.map +0 -1
  86. package/dist/features/wins-dashboard/student-badges/student-badge.js +0 -161
  87. package/dist/features/wins-dashboard/student-badges/student-badge.js.map +0 -1
  88. package/dist/features/wins-dashboard/student-badges/student-badges-lists.js +0 -136
  89. package/dist/features/wins-dashboard/student-badges/student-badges-lists.js.map +0 -1
  90. package/dist/static/awesome.4239f583.json +0 -1
  91. package/dist/static/black-belt.81b3ebf9.png +0 -0
  92. package/dist/static/blue-belt.508a1b4b.png +0 -0
  93. package/dist/static/brown-belt.09bb7e93.png +0 -0
  94. package/dist/static/clapping-hands.17e7ecf0.json +0 -1
  95. package/dist/static/common.9e8ceef1.svg +0 -1
  96. package/dist/static/cool.cd6921bb.json +0 -1
  97. package/dist/static/epic.37a0265a.svg +0 -1
  98. package/dist/static/green-belt.5501296f.png +0 -0
  99. package/dist/static/legendary.f15d09ca.svg +0 -1
  100. package/dist/static/like-button.281a2618.json +0 -1
  101. package/dist/static/mastered-badge.91d25e92.png +0 -0
  102. package/dist/static/mystery.81ada5fb.svg +0 -1
  103. package/dist/static/mythic.58ba0ae0.svg +0 -1
  104. package/dist/static/orange-belt.1fefcc8c.png +0 -0
  105. package/dist/static/purple-belt.e15611b4.png +0 -0
  106. package/dist/static/rare.1ffaa311.svg +0 -1
  107. package/dist/static/red-belt.11f841d9.png +0 -0
  108. package/dist/static/star-strike-emoji.c0b31028.json +0 -1
  109. package/dist/static/trophy.5ef1853a.json +0 -1
  110. package/dist/static/white-belt.ea93103e.png +0 -0
  111. package/dist/static/yellow-belt.0c47b8cc.png +0 -0
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { ChannelStatus } from '@cuemath/cue-message-broker';
4
4
  import { ComponentType } from 'react';
5
5
  import type { Config } from '@lottiefiles/dotlottie-web';
6
6
  import { Context } from 'react';
7
+ import type { Data } from '@lottiefiles/dotlottie-web';
7
8
  import type { DefaultTheme } from 'styled-components';
8
9
  import { DetailedHTMLProps } from 'react';
9
10
  import type { Dispatch } from 'react';
@@ -119,29 +120,6 @@ export declare const BackgroundImage: ({ img }: {
119
120
 
120
121
  export declare const BackIcon: React.FC<React.SVGProps<SVGSVGElement>>;
121
122
 
122
- declare interface Badge {
123
- category: keyof typeof STUDENT_BADGE_TYPE;
124
- acknowledged_on: number | null;
125
- animation_url: string;
126
- assigned_on: number | null;
127
- audio_url: string | null;
128
- badge_id: string;
129
- code: string;
130
- current_count: number;
131
- description: string;
132
- id: string;
133
- image_url: string;
134
- is_global: boolean;
135
- is_live: boolean;
136
- is_recent: boolean;
137
- name: string;
138
- position: number;
139
- program_id: null;
140
- state: string;
141
- total_count: number;
142
- user_id: string;
143
- }
144
-
145
123
  export declare const BaseInput: React_2.FC<IBaseInputProps>;
146
124
 
147
125
  declare interface BaseProject {
@@ -152,16 +130,6 @@ declare interface BaseProject {
152
130
  variant: string;
153
131
  }
154
132
 
155
- export declare const BeltsElementsStickers: React_2.FC<BeltsElementsStickersProps>;
156
-
157
- declare interface BeltsElementsStickersProps {
158
- curriculumHomeData?: CurriculumHomeData;
159
- rewardHomeData?: RewardHomeData;
160
- programStream?: string;
161
- currentScreenWidth: number;
162
- renderOnTeacher?: boolean;
163
- }
164
-
165
133
  export declare const Bin2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
166
134
 
167
135
  export declare const BinIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -417,33 +385,10 @@ export declare const CueCanvasProvider: FC<PropsWithChildren<{
417
385
 
418
386
  export declare const CueCanvasSideBar: NamedExoticComponent<ISidebar>;
419
387
 
420
- export declare const CueCoinIcon: React_2.FC<CueCoinIconProps>;
421
-
422
- declare interface CueCoinIconProps extends React_2.SVGProps<SVGSVGElement> {
423
- variant?: 'gold' | 'silver';
424
- }
425
-
426
388
  export declare const CuemathLogo: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
427
389
 
428
390
  export declare const CueRocket: React.FC<React.SVGProps<SVGSVGElement>>;
429
391
 
430
- declare interface CurriculumHomeData {
431
- data?: {
432
- curriculum_map?: CurriculumMap;
433
- };
434
- }
435
-
436
- declare interface CurriculumMap {
437
- belts?: {
438
- current_belt_type?: string;
439
- goals_required?: number;
440
- };
441
- goals?: {
442
- completed_goals: number;
443
- total_goals: number;
444
- };
445
- }
446
-
447
392
  export declare const CustomInputField: NamedExoticComponent<ICustomInputFieldProps>;
448
393
 
449
394
  export declare const DashArrowIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -454,7 +399,7 @@ export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
454
399
 
455
400
  export declare const DigitalMeter: FC<IDigitalMeterProps>;
456
401
 
457
- export declare const DotLottieAnimation: NamedExoticComponent<ILottieAnimationProps & RefAttributes<ILottieAnimationRef>>;
402
+ export declare const DotLottieAnimation: NamedExoticComponent<IDotLottieAnimationProps & RefAttributes<IDotLottieAnimationRef>>;
458
403
 
459
404
  export declare const DownIcon: React.FC<React.SVGProps<SVGSVGElement>>;
460
405
 
@@ -1506,6 +1451,15 @@ declare interface IDigitalMeterProps {
1506
1451
  actAsTimer?: boolean;
1507
1452
  }
1508
1453
 
1454
+ declare type IDotLottieAnimationProps = XOR<WithSrc, WithData> & SharedProps;
1455
+
1456
+ declare interface IDotLottieAnimationRef {
1457
+ play: () => void;
1458
+ pause: () => void;
1459
+ playSegments: (segments: AnimationSegment) => void;
1460
+ setFrame: (frame: number) => void;
1461
+ }
1462
+
1509
1463
  declare interface IDrawerProps {
1510
1464
  isOpen: boolean;
1511
1465
  onClose?: () => void;
@@ -2193,7 +2147,6 @@ export declare const ILLUSTRATIONS: {
2193
2147
  CIRCLE_CUEMATH_LOGO_WHITE: string;
2194
2148
  CIRCLE_OUTERCIRCLE_BG: string;
2195
2149
  CLOCK_ORANGE: string;
2196
- COMMON: string;
2197
2150
  COMMUNITY_BULB: string;
2198
2151
  CROSSHAIR_CIRCLE: string;
2199
2152
  CROWN: string;
@@ -2207,7 +2160,6 @@ export declare const ILLUSTRATIONS: {
2207
2160
  DURATION_90MIN_GRAY: string;
2208
2161
  EARTH_GREEN: string;
2209
2162
  ELLIPSE_CLIP: string;
2210
- EPIC: string;
2211
2163
  FEMALE_AVATAR: string;
2212
2164
  GAME_PLAY: string;
2213
2165
  GLOBE_WITH_BLUE_FILL: string;
@@ -2221,7 +2173,6 @@ export declare const ILLUSTRATIONS: {
2221
2173
  LEARNED_SHIELD_GRAY: string;
2222
2174
  LEARNED_SHIELD_GREEN: string;
2223
2175
  LEARNT: string;
2224
- LEGENDARY: string;
2225
2176
  LIKE: string;
2226
2177
  LIVE_SESSION: string;
2227
2178
  LOADER: string;
@@ -2238,8 +2189,6 @@ export declare const ILLUSTRATIONS: {
2238
2189
  MILESTONE_INTRO_3: string;
2239
2190
  MISTAKE: string;
2240
2191
  MONEY: string;
2241
- MYSTERY: string;
2242
- MYTHIC: string;
2243
2192
  NODE_ACTIVITY_BG: string;
2244
2193
  NODE_CUSTOM_TEST_BG: string;
2245
2194
  NODE_DOWNLOAD_BG: string;
@@ -2273,7 +2222,6 @@ export declare const ILLUSTRATIONS: {
2273
2222
  PUZZLE_PATTERN_PURPLE: string;
2274
2223
  PUZZLE_PATTERN_YELLOW: string;
2275
2224
  PUZZLE_STUDENT: string;
2276
- RARE: string;
2277
2225
  REFUND_POLICY: string;
2278
2226
  REFUND_POLICY_WITH_HEADPHONE: string;
2279
2227
  REPORT_404: string;
@@ -2316,23 +2264,6 @@ declare interface ILogger {
2316
2264
  (eventName: string, data?: Record<string, unknown>): void;
2317
2265
  }
2318
2266
 
2319
- declare interface ILottieAnimationProps {
2320
- src: string;
2321
- width?: string | number;
2322
- height?: string | number;
2323
- settings?: Partial<LottieSettings>;
2324
- eventListeners?: {
2325
- name: EventType;
2326
- callback: EventListener_2<EventType>;
2327
- }[];
2328
- onRender?: () => void;
2329
- onError?: () => void;
2330
- }
2331
-
2332
- declare interface ILottieAnimationRef {
2333
- playSegments: (segments: AnimationSegment, forceFlag?: boolean) => void;
2334
- }
2335
-
2336
2267
  declare interface ILPARChapterProps extends ILPARSheetCallbacks {
2337
2268
  userType: TUserTypes;
2338
2269
  chapterData: TLPARChapterData;
@@ -2382,9 +2313,6 @@ export declare const IMAGES: {
2382
2313
  AWESOME: string;
2383
2314
  BADGE_SUCCESS: string;
2384
2315
  BG_EMPTY_RESOURCES: string;
2385
- BLACK_BELT: string;
2386
- BLUE_BELT: string;
2387
- BROWN_BELT: string;
2388
2316
  CHATVA: string;
2389
2317
  CONGRATS: string;
2390
2318
  COOL: string;
@@ -2395,27 +2323,20 @@ export declare const IMAGES: {
2395
2323
  EKA: string;
2396
2324
  EMPTY_MIX_TESTS: string;
2397
2325
  GREAT: string;
2398
- GREEN_BELT: string;
2399
2326
  HEXO: string;
2400
2327
  KUDOS: string;
2401
2328
  LEARNING_PLAN: string;
2402
2329
  LESSON_OVERVIEW_BANNER: string;
2403
- MASTERED_BADGE: string;
2404
2330
  NO_INFO: string;
2405
2331
  OCTO: string;
2406
- ORANGE_BELT: string;
2407
- PURPLE_BELT: string;
2408
2332
  PUZZLE_CARD_EASY: string;
2409
2333
  PUZZLE_CARD_HARD: string;
2410
2334
  PUZZLE_CARD_MEDIUM: string;
2411
- RED_BELT: string;
2412
2335
  SHARED: string;
2413
2336
  SHEET_REFERENCE: string;
2414
2337
  SPIRAL_PATTERN: string;
2415
2338
  TETRA: string;
2416
- WHITE_BELT: string;
2417
2339
  WOW: string;
2418
- YELLOW_BELT: string;
2419
2340
  ZODASA: string;
2420
2341
  };
2421
2342
 
@@ -2679,7 +2600,7 @@ export declare interface IModal {
2679
2600
  /** Content to display inside the modal */
2680
2601
  element: ReactElement;
2681
2602
  /** Rendering style of the modal */
2682
- renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet';
2603
+ renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet' | 'fullscreen-transparent';
2683
2604
  /** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
2684
2605
  isDismissable?: boolean;
2685
2606
  /** Whether the modal requires authentication to view (default: true) */
@@ -3038,29 +2959,6 @@ declare interface IPreviewWorksheetProps {
3038
2959
  onUnassign?: () => void;
3039
2960
  }
3040
2961
 
3041
- declare interface IProgramOption {
3042
- badges_enabled: boolean;
3043
- board: string;
3044
- board_id: string;
3045
- code: string;
3046
- cue_program_type: string;
3047
- description: string;
3048
- grade: string;
3049
- grades: string[];
3050
- id: string;
3051
- is_active: boolean;
3052
- is_current: boolean;
3053
- is_current_stream_program: boolean;
3054
- is_demo: boolean;
3055
- is_live: boolean;
3056
- name: string;
3057
- program_type: string;
3058
- rewards_enabled: boolean;
3059
- stream: string;
3060
- sub_stream: string | null;
3061
- [key: string]: unknown;
3062
- }
3063
-
3064
2962
  export declare interface IProject<T> {
3065
2963
  type: ProjectType;
3066
2964
  data: T[];
@@ -3544,19 +3442,35 @@ declare interface IStepperProps {
3544
3442
  currentStep: number;
3545
3443
  }
3546
3444
 
3547
- declare interface IStickerData {
3445
+ export declare interface IStickerData {
3548
3446
  id: string;
3549
3447
  emoji: string;
3550
3448
  lottieUrl?: string;
3551
- name?: string;
3449
+ name: string;
3450
+ }
3451
+
3452
+ export declare interface IStickerProps {
3453
+ emoji: string;
3454
+ lottieUrl?: string;
3455
+ size?: number | string;
3456
+ onClick?: () => void;
3457
+ disabled?: boolean;
3552
3458
  }
3553
3459
 
3554
- declare interface IStickerGridProps {
3460
+ export declare interface IStickerSelectorProps {
3555
3461
  stickers: IStickerData[];
3556
3462
  columns?: number;
3557
3463
  gap?: number;
3558
3464
  stickerSize?: number | string;
3559
3465
  onStickerClick?: (sticker: IStickerData) => void;
3466
+ disabled?: boolean;
3467
+ }
3468
+
3469
+ export declare interface IStickersProps {
3470
+ stickers: string[];
3471
+ effect: TStickerEffects;
3472
+ count: number;
3473
+ duration: number;
3560
3474
  }
3561
3475
 
3562
3476
  declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
@@ -4192,11 +4106,6 @@ export declare interface IWebViewProps extends IframeHTMLAttributes<HTMLIFrameEl
4192
4106
  handleInfoMessage?: (infoMessage: IInfoMessage) => void;
4193
4107
  }
4194
4108
 
4195
- declare interface IWinsCommonIcon {
4196
- selected?: boolean;
4197
- className?: string;
4198
- }
4199
-
4200
4109
  declare interface IWinsPreviewProps {
4201
4110
  onWinsClick: () => void;
4202
4111
  rewardsHome: TRewardHomeData;
@@ -4547,7 +4456,6 @@ export declare const LOTTIE: {
4547
4456
  ALL_DONE: string;
4548
4457
  ANIMATED_AVATAR: string;
4549
4458
  AVATAR_SELECTED: string;
4550
- AWESOME: string;
4551
4459
  BEGINNER1X: string;
4552
4460
  BRONZE_1: string;
4553
4461
  BRONZE_2: string;
@@ -4556,7 +4464,6 @@ export declare const LOTTIE: {
4556
4464
  CHAPTER_COMPLETED: string;
4557
4465
  CIRCULAR_LOADER: string;
4558
4466
  CLAP: string;
4559
- CLAPPING_HANDS: string;
4560
4467
  CLOCK_30MIN: string;
4561
4468
  CLOCK_45MIN: string;
4562
4469
  CLOCK_60MIN: string;
@@ -4565,7 +4472,6 @@ export declare const LOTTIE: {
4565
4472
  COLOR_2: string;
4566
4473
  COLOR_3: string;
4567
4474
  COMPETITIVE_ARENA: string;
4568
- COOL: string;
4569
4475
  DART: string;
4570
4476
  DIAMOND: string;
4571
4477
  DICE: string;
@@ -4599,7 +4505,6 @@ export declare const LOTTIE: {
4599
4505
  LEVEL_1_ALLSTAR: string;
4600
4506
  LIGHTNING: string;
4601
4507
  LIGHT_BULB: string;
4602
- LIKE_BUTTON: string;
4603
4508
  MAGICWAND: string;
4604
4509
  MAIL: string;
4605
4510
  MECHANICAL_ARM: string;
@@ -4648,7 +4553,6 @@ export declare const LOTTIE: {
4648
4553
  SPINNER_WHITE: string;
4649
4554
  SPLASH_SCREEN: string;
4650
4555
  STAR: string;
4651
- STAR_STRIKE_EMOJI: string;
4652
4556
  STUDENT_AVATAR: string;
4653
4557
  SUBJECTIVE: string;
4654
4558
  SUPER: string;
@@ -5051,20 +4955,6 @@ export declare const ResendOTP: NamedExoticComponent<IOTPResendProps>;
5051
4955
 
5052
4956
  export declare const ResetPasswordForm: MemoExoticComponent<({ onSubmit, onChange, formData, errors, isSubmitDisabled, isProcessing, isValid, }: IResetPasswordFormProps) => JSX.Element>;
5053
4957
 
5054
- declare interface RewardElement {
5055
- aggregate_for?: {
5056
- name?: string;
5057
- };
5058
- aggregates?: number;
5059
- }
5060
-
5061
- declare interface RewardHomeData {
5062
- data?: {
5063
- user_rewards?: RewardElement[];
5064
- user_stickers?: StickerElement[];
5065
- };
5066
- }
5067
-
5068
4958
  export declare const REWARDS_LIST: string[];
5069
4959
 
5070
4960
  export declare const RightIcon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -5116,6 +5006,18 @@ export declare const SENTRY_IGNORED_ERRORS: Array<string | RegExp>;
5116
5006
 
5117
5007
  export declare const Separator: React_2.FC<ISeparatorProps>;
5118
5008
 
5009
+ declare type SharedProps = {
5010
+ width?: string | number;
5011
+ height?: string | number;
5012
+ settings?: Partial<LottieSettings>;
5013
+ eventListeners?: {
5014
+ name: EventType;
5015
+ callback: EventListener_2<EventType>;
5016
+ }[];
5017
+ onRender?: () => void;
5018
+ onError?: () => void;
5019
+ };
5020
+
5119
5021
  export declare const SHEET_ACTIONS: {
5120
5022
  readonly START: "START";
5121
5023
  readonly RESUME: "RESUME";
@@ -5222,27 +5124,15 @@ declare const STICKER_BADGE: {
5222
5124
  AWESOME: string;
5223
5125
  };
5224
5126
 
5225
- declare type StickerEffect = 'burst_from_edges' | 'pop_expand' | 'float_up' | 'fall_down';
5226
-
5227
- declare interface StickerElement {
5228
- badge_id?: string;
5229
- name?: string;
5230
- }
5127
+ export declare const stickerData: IStickerData[];
5231
5128
 
5232
5129
  export declare const StickerFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5233
5130
 
5234
5131
  export declare const StickerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5235
5132
 
5236
- export declare const Stickers: React_2.NamedExoticComponent<StickersProps>;
5133
+ export declare const StickersEffects: React_2.NamedExoticComponent<IStickersProps>;
5237
5134
 
5238
- declare interface StickersProps {
5239
- stickers: string[];
5240
- effect: StickerEffect;
5241
- count: number;
5242
- duration: number;
5243
- }
5244
-
5245
- export declare const StickersSelector: React_2.NamedExoticComponent<IStickerGridProps>;
5135
+ export declare const StickersSelector: React_2.NamedExoticComponent<IStickerSelectorProps>;
5246
5136
 
5247
5137
  export declare const StreakIcon: React_2.FC<IStreakIconProps>;
5248
5138
 
@@ -5259,27 +5149,6 @@ export declare class StreakReductionLocalStorageUtil {
5259
5149
 
5260
5150
  export declare const StrikedEyeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5261
5151
 
5262
- declare const STUDENT_BADGE_TYPE: {
5263
- COMMON: string;
5264
- RARE: string;
5265
- EPIC: string;
5266
- LEGENDARY: string;
5267
- MYTHIC: string;
5268
- MYSTERY: string;
5269
- };
5270
-
5271
- export declare const StudentBadgeList: ({ invalidateRewardsHome, openModal, topOffset, userBadges, currentScreenWidth, handleScrollTo, scrollPosition, }: StudentBadgeListProps) => JSX.Element;
5272
-
5273
- declare interface StudentBadgeListProps {
5274
- invalidateRewardsHome: () => void;
5275
- openModal: (modal: string, props?: unknown) => void;
5276
- topOffset?: number;
5277
- userBadges: Record<string, Badge[]>;
5278
- currentScreenWidth: number;
5279
- handleScrollTo: (position: number) => void;
5280
- scrollPosition: number;
5281
- }
5282
-
5283
5152
  export declare const StudentDetails: FC<IStudentDetailsProps>;
5284
5153
 
5285
5154
  export declare const SubmitMilestoneModal: React.FC<ISubmitModalProps>;
@@ -6189,7 +6058,7 @@ declare type TRenderAs_2 = 'canvas' | 'whiteboard';
6189
6058
  declare type TRewardHomeData = {
6190
6059
  user_badges: TBadgeData[] | [];
6191
6060
  user_rewards: TRewardsData[] | [];
6192
- user_stickers: TStickerData[] | [];
6061
+ user_stickers: TStickerData_2[] | [];
6193
6062
  };
6194
6063
 
6195
6064
  declare type TRewardsData = {
@@ -6317,7 +6186,18 @@ export declare type TSkillStatus = 'pending' | 'completed';
6317
6186
 
6318
6187
  export declare type TSocialAuthProvider = 'google' | 'apple';
6319
6188
 
6320
- declare type TStickerData = {
6189
+ export declare type TStickerData = {
6190
+ id: string;
6191
+ sticker: string;
6192
+ lottie?: string;
6193
+ x: number;
6194
+ y: number;
6195
+ size: number;
6196
+ fromX?: string;
6197
+ fromY?: string;
6198
+ };
6199
+
6200
+ declare type TStickerData_2 = {
6321
6201
  actor_id: string;
6322
6202
  badge_id: string;
6323
6203
  badge_type: string;
@@ -6330,6 +6210,8 @@ declare type TStickerData = {
6330
6210
  user_type: string;
6331
6211
  };
6332
6212
 
6213
+ export declare type TStickerEffects = 'burst-from-edges' | 'pop-expand' | 'float-up' | 'fall-down';
6214
+
6333
6215
  export declare type TStreakStatus = 'pending' | 'completed';
6334
6216
 
6335
6217
  declare type TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;
@@ -6690,21 +6572,17 @@ export declare enum WebViewEvent {
6690
6572
  */
6691
6573
  export declare const WHITELIST_EVENTS: Record<string, PLUGIN_NAME[]>;
6692
6574
 
6693
- export declare const WinsCommonIcon: React_2.FC<IWinsCommonIcon>;
6575
+ declare type WithData = {
6576
+ data: Data;
6577
+ };
6694
6578
 
6695
- export declare const WinsHeader: React_2.FC<WinsTabHeaderProps>;
6579
+ declare type Without<T, K extends keyof any> = {
6580
+ [P in Exclude<keyof T, K>]?: never;
6581
+ };
6696
6582
 
6697
- declare interface WinsTabHeaderProps {
6698
- currentSelectedProgram?: IProgramOption;
6699
- goldCoins?: number;
6700
- onBackClick?: () => void;
6701
- onProgramChange?: (p: IProgramOption) => void;
6702
- programOptions?: IProgramOption[];
6703
- silverCoins?: number;
6704
- showLeftBorder?: boolean;
6705
- topOffset?: number;
6706
- widthOffset?: number;
6707
- }
6583
+ declare type WithSrc = {
6584
+ src: string;
6585
+ };
6708
6586
 
6709
6587
  export declare const Worksheet: NamedExoticComponent<IWorksheetContainerProps & RefAttributes<IWorksheetRef>>;
6710
6588
 
@@ -6718,6 +6596,8 @@ export declare const WORKSHEET_TOP_NAVIGATION_HEIGHT = 48;
6718
6596
 
6719
6597
  export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
6720
6598
 
6599
+ declare type XOR<T, U> = (T & Without<U, keyof T>) | (U & Without<T, keyof U>);
6600
+
6721
6601
  declare const ZINDEX: {
6722
6602
  readonly CHAPTER_CROWN_ICON: 4;
6723
6603
  readonly CHAPTER_PLUS_ICON: 2;
@@ -6733,7 +6613,6 @@ declare const ZINDEX: {
6733
6613
  readonly GOAL_CHAPTER_SHEETS_MENU: 4;
6734
6614
  readonly JOURNEY_OVERLAY: 1000;
6735
6615
  readonly CHAPTER_COMPLETED_LOTTIE: 5;
6736
- readonly HEADER: 11;
6737
6616
  };
6738
6617
 
6739
6618
  export { }