@cuemath/leap 3.2.25-m → 3.2.25

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 (75) hide show
  1. package/dist/features/analytics-events/whitelist-events.js +17 -15
  2. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  3. package/dist/features/auth/comps/pill-button/pill-button.js +41 -38
  4. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
  5. package/dist/features/auth/comps/resend-otp/resend-otp.js +18 -14
  6. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
  7. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +32 -26
  8. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -1
  9. package/dist/features/auth/pla-signup/pla-analytics-events.js +23 -0
  10. package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -0
  11. package/dist/features/auth/pla-signup/signup-options/signup-options.js +42 -35
  12. package/dist/features/auth/pla-signup/signup-options/signup-options.js.map +1 -1
  13. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapters-list.js +68 -53
  14. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapters-list.js.map +1 -1
  15. package/dist/features/ui/carousal/carousal-styles.js +45 -0
  16. package/dist/features/ui/carousal/carousal-styles.js.map +1 -0
  17. package/dist/features/ui/carousal/carousal.js +76 -0
  18. package/dist/features/ui/carousal/carousal.js.map +1 -0
  19. package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js +75 -88
  20. package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js.map +1 -1
  21. package/dist/features/ui/lottie-animation/lottie-animation.js +31 -36
  22. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  23. package/dist/features/ui/modals/modal-styled.js +8 -39
  24. package/dist/features/ui/modals/modal-styled.js.map +1 -1
  25. package/dist/features/ui/modals/modal.js +31 -31
  26. package/dist/features/ui/modals/modal.js.map +1 -1
  27. package/dist/features/{stickers/sticker-selector/sticker-selector-styles.js → ui/sticker-grid/sticker-grid-styles.js} +31 -21
  28. package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +1 -0
  29. package/dist/features/ui/sticker-grid/sticker-grid.js +24 -0
  30. package/dist/features/ui/sticker-grid/sticker-grid.js.map +1 -0
  31. package/dist/features/ui/sticker-grid/sticker.js +57 -0
  32. package/dist/features/ui/sticker-grid/sticker.js.map +1 -0
  33. package/dist/features/ui/stickers/constants.js +6 -0
  34. package/dist/features/ui/stickers/constants.js.map +1 -0
  35. package/dist/features/{stickers/stickers-effects/effects.js → ui/stickers/stickers-effects.js} +6 -6
  36. package/dist/features/ui/stickers/stickers-effects.js.map +1 -0
  37. package/dist/features/{stickers/stickers-effects/stickers-effects-styled.js → ui/stickers/stickers-styled.js} +2 -2
  38. package/dist/features/ui/stickers/stickers-styled.js.map +1 -0
  39. package/dist/features/ui/stickers/stickers-utils.js +91 -0
  40. package/dist/features/ui/stickers/stickers-utils.js.map +1 -0
  41. package/dist/features/ui/stickers/stickers.js +40 -0
  42. package/dist/features/ui/stickers/stickers.js.map +1 -0
  43. package/dist/features/ui/theme/layout.js +3 -3
  44. package/dist/features/ui/theme/layout.js.map +1 -1
  45. package/dist/index.d.ts +85 -79
  46. package/dist/index.js +362 -360
  47. package/dist/index.js.map +1 -1
  48. package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
  49. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  50. package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
  51. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  52. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
  53. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  54. package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
  55. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  56. package/package.json +1 -1
  57. package/dist/features/stickers/sticker-data.js +0 -234
  58. package/dist/features/stickers/sticker-data.js.map +0 -1
  59. package/dist/features/stickers/sticker-selector/sticker-selector-styles.js.map +0 -1
  60. package/dist/features/stickers/sticker-selector/sticker-selector.js +0 -27
  61. package/dist/features/stickers/sticker-selector/sticker-selector.js.map +0 -1
  62. package/dist/features/stickers/sticker-selector/sticker.js +0 -57
  63. package/dist/features/stickers/sticker-selector/sticker.js.map +0 -1
  64. package/dist/features/stickers/stickers-effects/effects.js.map +0 -1
  65. package/dist/features/stickers/stickers-effects/stickers-cache.js +0 -19
  66. package/dist/features/stickers/stickers-effects/stickers-cache.js.map +0 -1
  67. package/dist/features/stickers/stickers-effects/stickers-effects-helper.js +0 -86
  68. package/dist/features/stickers/stickers-effects/stickers-effects-helper.js.map +0 -1
  69. package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +0 -1
  70. package/dist/features/stickers/stickers-effects/stickers-effects.js +0 -54
  71. package/dist/features/stickers/stickers-effects/stickers-effects.js.map +0 -1
  72. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
  73. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
  74. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
  75. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stickers-effects.js","sources":["../../../../src/features/ui/stickers/stickers-effects.ts"],"sourcesContent":["import type { StickersProps } from './stickers-types';\n\nimport { keyframes, css } from 'styled-components';\n\nimport { randomizeDuration } from './stickers-utils';\n\nconst floatUp = keyframes`\n 0% {\n transform: translateY(0vh);\n opacity: 1;\n }\n 100% {\n transform: translateY(-100vh);\n opacity: 0;\n }\n`;\n\nconst fallDown = keyframes`\n 0% {\n transform: translateY(0vh);\n opacity: 1;\n }\n 100% {\n transform: translateY(100vh);\n opacity: 0;\n }\n`;\n\nconst burstFromEdges = keyframes`\n 0% {\n transform: translateX(var(--from-x)) translateY(var(--from-y)) scale(1);\n opacity: 1;\n }\n 100% {\n transform: translateX(0vw) translateY(0vh) scale(1.25);\n opacity: 0;\n }\n`;\n\nconst popExpand = keyframes`\n 0% {\n transform: translateX(0) translateY(0vh);\n opacity: 1;\n }\n 35% {\n transform: translateX(0) translateY(-50vh) scale(1.25);\n opacity: 1;\n }\n 60% {\n transform: translateX(var(--from-x)) translateY(var(--from-y)) scale(1.25);\n opacity: 0.75;\n }\n 100% {\n transform: translateX(var(--from-x)) translateY(-110vh) scale(1.25);\n opacity: 0;\n }\n`;\n\nexport const effectAnimations: Record<\n StickersProps['effect'],\n (duration: number) => ReturnType<typeof css>\n> = {\n float_up: (duration: number) => css`\n animation: ${floatUp} ${randomizeDuration(duration)}ms ease-out forwards;\n `,\n fall_down: (duration: number) => css`\n animation: ${fallDown} ${randomizeDuration(duration)}ms ease-out forwards;\n `,\n burst_from_edges: (duration: number) => css`\n animation: ${burstFromEdges} ${randomizeDuration(duration)}ms linear forwards;\n `,\n pop_expand: (duration: number) => css`\n animation: ${popExpand} ${duration}ms cubic-bezier(0.5, 0.1, 0.7, 1) forwards;\n `,\n};\n"],"names":["floatUp","keyframes","fallDown","burstFromEdges","popExpand","effectAnimations","duration","css","randomizeDuration"],"mappings":";;AAMA,MAAMA,IAAUC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAWVC,IAAWD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAWXE,IAAiBF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAWjBG,IAAYH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAmBLI,IAGT;AAAA,EACF,UAAU,CAACC,MAAqBC;AAAA,iBACjBP,CAAO,IAAIQ,EAAkBF,CAAQ,CAAC;AAAA;AAAA,EAErD,WAAW,CAACA,MAAqBC;AAAA,iBAClBL,CAAQ,IAAIM,EAAkBF,CAAQ,CAAC;AAAA;AAAA,EAEtD,kBAAkB,CAACA,MAAqBC;AAAA,iBACzBJ,CAAc,IAAIK,EAAkBF,CAAQ,CAAC;AAAA;AAAA,EAE5D,YAAY,CAACA,MAAqBC;AAAA,iBACnBH,CAAS,IAAIE,CAAQ;AAAA;AAEtC;"}
@@ -1,5 +1,5 @@
1
1
  import $, { css as s } from "styled-components";
2
- import { effectAnimations as n } from "./effects.js";
2
+ import { effectAnimations as n } from "./stickers-effects.js";
3
3
  const h = $.div`
4
4
  position: relative;
5
5
  width: 100vw;
@@ -26,4 +26,4 @@ export {
26
26
  h as Container,
27
27
  a as Sticker
28
28
  };
29
- //# sourceMappingURL=stickers-effects-styled.js.map
29
+ //# sourceMappingURL=stickers-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stickers-styled.js","sources":["../../../../src/features/ui/stickers/stickers-styled.ts"],"sourcesContent":["import type { StickersProps } from './stickers-types';\n\nimport styled, { css } from 'styled-components';\n\nimport { effectAnimations } from './stickers-effects';\n\nexport const Container = styled.div`\n position: relative;\n width: 100vw;\n height: 100vh;\n background: transparent;\n pointer-events: none;\n`;\n\nexport const Sticker = styled.div<{\n effect: StickersProps['effect'];\n duration: number;\n fromX?: string;\n fromY?: string;\n x: number;\n y: number;\n size: number;\n}>`\n position: absolute;\n z-index: 10;\n\n left: ${({ x }) => `${x}%`};\n top: ${({ y }) => `${y}%`};\n width: ${({ size }) => `${size}px`};\n height: ${({ size }) => `${size}px`};\n font-size: ${({ size }) => `${size}px`};\n\n ${({ effect, duration, fromX, fromY }) =>\n fromX && fromY\n ? css`\n ${effectAnimations[effect](duration)}\n --from-x: ${fromX};\n --from-y: ${fromY};\n `\n : effectAnimations[effect](duration)}\n`;\n"],"names":["Container","styled","Sticker","x","y","size","effect","duration","fromX","fromY","css","effectAnimations"],"mappings":";;AAMO,MAAMA,IAAYC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQnBC,IAAUD,EAAO;AAAA;AAAA;AAAA;AAAA,UAYpB,CAAC,EAAE,GAAAE,EAAQ,MAAA,GAAGA,CAAC,GAAG;AAAA,SACnB,CAAC,EAAE,GAAAC,EAAQ,MAAA,GAAGA,CAAC,GAAG;AAAA,WAChB,CAAC,EAAE,MAAAC,EAAW,MAAA,GAAGA,CAAI,IAAI;AAAA,YACxB,CAAC,EAAE,MAAAA,EAAW,MAAA,GAAGA,CAAI,IAAI;AAAA,eACtB,CAAC,EAAE,MAAAA,EAAW,MAAA,GAAGA,CAAI,IAAI;AAAA;AAAA,IAEpC,CAAC,EAAE,QAAAC,GAAQ,UAAAC,GAAU,OAAAC,GAAO,OAAAC,QAC5BD,KAASC,IACLC;AAAA,YACIC,EAAiBL,CAAM,EAAEC,CAAQ,CAAC;AAAA,sBACxBC,CAAK;AAAA,sBACLC,CAAK;AAAA,YAEnBE,EAAiBL,CAAM,EAAEC,CAAQ,CAAC;AAAA;"}
@@ -0,0 +1,91 @@
1
+ const f = (n, s) => {
2
+ const t = Math.ceil(s / 4), r = Math.floor(n / t), d = n % t, M = ["top", "right", "bottom", "left"][r] ?? "left", h = (d + 0.5) / t * 100, i = (Math.random() - 0.5) * 25, o = Math.min(Math.max(h + i, 0), 100), a = 45 + Math.random() * 10, e = 45 + Math.random() * 10;
3
+ let l = 0, m = 0;
4
+ switch (M) {
5
+ case "top":
6
+ l = o - a, m = -e + i;
7
+ break;
8
+ case "right":
9
+ l = 100 - a + i, m = o - e;
10
+ break;
11
+ case "bottom":
12
+ l = o - a, m = 100 - e + i;
13
+ break;
14
+ case "left":
15
+ l = -a + i, m = o - e;
16
+ break;
17
+ }
18
+ return {
19
+ fromX: `${l}vw`,
20
+ fromY: `${m}vh`,
21
+ x: a,
22
+ y: e
23
+ };
24
+ }, g = (n, s = 10) => {
25
+ const t = [];
26
+ let r = 0;
27
+ const d = n;
28
+ for (; t.length < n && r < d; ) {
29
+ const c = Math.floor(Math.random() * (100 - 2 * s) + s);
30
+ t.every((M) => Math.abs(M - c) >= s) && t.push(c), r++;
31
+ }
32
+ for (; t.length < n; )
33
+ t.push(Math.floor(Math.random() * (100 - 2 * s) + s));
34
+ return t;
35
+ };
36
+ function x({
37
+ count: n,
38
+ effect: s,
39
+ stickers: t,
40
+ minSize: r,
41
+ maxSize: d
42
+ }) {
43
+ const c = 100 / n * 2, M = () => Math.random() * (d - r) + r, h = [], i = ["float_up", "fall_down"].includes(s) ? g(n, c) : [];
44
+ for (let o = 0; o < n; o++) {
45
+ const a = t[o % t.length] ?? "", e = M();
46
+ if (s === "float_up")
47
+ h.push({
48
+ id: o,
49
+ sticker: a,
50
+ x: i[o],
51
+ y: 110 + (Math.random() - 0.5) * e,
52
+ size: e
53
+ });
54
+ else if (s === "fall_down")
55
+ h.push({
56
+ id: o,
57
+ sticker: a,
58
+ x: i[o],
59
+ y: -10 + (Math.random() - 0.5) * e,
60
+ size: e
61
+ });
62
+ else if (s === "burst_from_edges") {
63
+ const { x: l, y: m, fromX: p, fromY: u } = f(o, n);
64
+ h.push({ id: o, sticker: a, x: l, y: m, fromX: p, fromY: u, size: e });
65
+ } else s === "pop_expand" ? h.push({
66
+ id: o,
67
+ sticker: a,
68
+ x: 50,
69
+ y: 100,
70
+ fromX: `${(Math.random() - 0.5) * 27.5}vw`,
71
+ fromY: `${-50 - Math.random() * 27.5}vh`,
72
+ size: e
73
+ }) : h.push({
74
+ id: o,
75
+ sticker: a,
76
+ x: Math.random() * 100,
77
+ y: Math.random() * 100,
78
+ size: e
79
+ });
80
+ }
81
+ return h;
82
+ }
83
+ const v = (n, s = 0.2) => {
84
+ const t = n * s, r = n - t, d = n + t;
85
+ return Math.floor(Math.random() * (d - r + 1)) + r;
86
+ };
87
+ export {
88
+ x as generateStickerData,
89
+ v as randomizeDuration
90
+ };
91
+ //# sourceMappingURL=stickers-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stickers-utils.js","sources":["../../../../src/features/ui/stickers/stickers-utils.ts"],"sourcesContent":["import type { StickerDatum, StickersProps } from './stickers-types';\n\nconst getBurstPosition = (\n index: number,\n total: number,\n): {\n fromX: string;\n fromY: string;\n x: number;\n y: number;\n} => {\n const countPerSide = Math.ceil(total / 4);\n const sideIndex = Math.floor(index / countPerSide);\n const pos = index % countPerSide;\n\n const sides = ['top', 'right', 'bottom', 'left'] as const;\n const side = sides[sideIndex] ?? 'left';\n\n const basePercent = ((pos + 0.5) / countPerSide) * 100;\n const jitter = (Math.random() - 0.5) * 25;\n const edgePercent = Math.min(Math.max(basePercent + jitter, 0), 100);\n\n const centerX = 45 + Math.random() * 10;\n const centerY = 45 + Math.random() * 10;\n\n let fromX = 0;\n let fromY = 0;\n\n switch (side) {\n case 'top':\n fromX = edgePercent - centerX;\n fromY = -centerY + jitter;\n break;\n case 'right':\n fromX = 100 - centerX + jitter;\n fromY = edgePercent - centerY;\n break;\n case 'bottom':\n fromX = edgePercent - centerX;\n fromY = 100 - centerY + jitter;\n break;\n case 'left':\n fromX = -centerX + jitter;\n fromY = edgePercent - centerY;\n break;\n }\n\n return {\n fromX: `${fromX}vw`,\n fromY: `${fromY}vh`,\n x: centerX,\n y: centerY,\n };\n};\n\nconst getRandomNonOverlappingPositions = (count: number, buffer = 10): number[] => {\n const used: number[] = [];\n let attempts = 0;\n const maxAttempts = count;\n\n while (used.length < count && attempts < maxAttempts) {\n const value = Math.floor(Math.random() * (100 - 2 * buffer) + buffer);\n\n if (used.every(v => Math.abs(v - value) >= buffer)) {\n used.push(value);\n }\n attempts++;\n }\n\n while (used.length < count) {\n used.push(Math.floor(Math.random() * (100 - 2 * buffer) + buffer));\n }\n\n return used;\n};\n\nexport function generateStickerData({\n count,\n effect,\n stickers,\n minSize,\n maxSize,\n}: {\n count: number;\n effect: StickersProps['effect'];\n stickers: string[];\n minSize: number;\n maxSize: number;\n}): StickerDatum[] {\n const buffer = (100 / count) * 2;\n const getSize = () => Math.random() * (maxSize - minSize) + minSize;\n const result: StickerDatum[] = [];\n const xPositions = ['float_up', 'fall_down'].includes(effect)\n ? getRandomNonOverlappingPositions(count, buffer)\n : [];\n\n for (let i = 0; i < count; i++) {\n const sticker = stickers[i % stickers.length] ?? '';\n const size = getSize();\n\n if (effect === 'float_up') {\n result.push({\n id: i,\n sticker,\n x: xPositions[i]!,\n y: 110 + (Math.random() - 0.5) * size,\n size,\n });\n } else if (effect === 'fall_down') {\n result.push({\n id: i,\n sticker,\n x: xPositions[i]!,\n y: -10 + (Math.random() - 0.5) * size,\n size,\n });\n } else if (effect === 'burst_from_edges') {\n const { x, y, fromX, fromY } = getBurstPosition(i, count);\n\n result.push({ id: i, sticker, x, y, fromX, fromY, size });\n } else if (effect === 'pop_expand') {\n result.push({\n id: i,\n sticker,\n x: 50,\n y: 100,\n fromX: `${(Math.random() - 0.5) * 27.5}vw`,\n fromY: `${-50 - Math.random() * 27.5}vh`,\n size,\n });\n } else {\n result.push({\n id: i,\n sticker,\n x: Math.random() * 100,\n y: Math.random() * 100,\n size,\n });\n }\n }\n\n return result;\n}\n\nexport const randomizeDuration = (base: number, variancePercent = 0.2): number => {\n const delta = base * variancePercent;\n const min = base - delta;\n const max = base + delta;\n\n return Math.floor(Math.random() * (max - min + 1)) + min;\n};\n"],"names":["getBurstPosition","index","total","countPerSide","sideIndex","pos","side","basePercent","jitter","edgePercent","centerX","centerY","fromX","fromY","getRandomNonOverlappingPositions","count","buffer","used","attempts","maxAttempts","value","v","generateStickerData","effect","stickers","minSize","maxSize","getSize","result","xPositions","i","sticker","size","x","y","randomizeDuration","base","variancePercent","delta","min","max"],"mappings":"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"}
@@ -0,0 +1,40 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { memo as E, useState as I, useLayoutEffect as l } from "react";
3
+ import { STICKER_MIN_SIZE as x, STICKER_MAX_SIZE as D } from "./constants.js";
4
+ import { Container as T, Sticker as _ } from "./stickers-styled.js";
5
+ import { generateStickerData as z } from "./stickers-utils.js";
6
+ const C = ({ stickers: i, effect: t, count: m, duration: r }) => {
7
+ const [c, s] = I([]);
8
+ return l(() => {
9
+ const e = z({
10
+ count: m,
11
+ effect: t,
12
+ stickers: i,
13
+ minSize: x,
14
+ maxSize: D
15
+ });
16
+ s(e);
17
+ const o = setTimeout(() => s([]), r);
18
+ return () => clearTimeout(o);
19
+ }, [i, t, m, r]), /* @__PURE__ */ a(T, { children: c.map((e) => {
20
+ const { id: o, sticker: n, x: S, y: k, size: p, fromX: u, fromY: f } = e;
21
+ return /* @__PURE__ */ a(
22
+ _,
23
+ {
24
+ effect: t,
25
+ duration: r,
26
+ fromX: u,
27
+ fromY: f,
28
+ x: S,
29
+ y: k,
30
+ size: p,
31
+ children: n
32
+ },
33
+ o
34
+ );
35
+ }) });
36
+ }, R = E(C);
37
+ export {
38
+ R as default
39
+ };
40
+ //# sourceMappingURL=stickers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stickers.js","sources":["../../../../src/features/ui/stickers/stickers.tsx"],"sourcesContent":["import type { StickerDatum, StickersProps } from './stickers-types';\n\nimport React, { memo, useLayoutEffect, useState } from 'react';\n\nimport { STICKER_MAX_SIZE, STICKER_MIN_SIZE } from './constants';\nimport { Container, Sticker } from './stickers-styled';\nimport { generateStickerData } from './stickers-utils';\n\nconst Stickers: React.FC<StickersProps> = ({ stickers, effect, count, duration }) => {\n const [stickersData, setStickersData] = useState<ReturnType<typeof generateStickerData>>([]);\n\n useLayoutEffect(() => {\n const stickerData = generateStickerData({\n count,\n effect,\n stickers,\n minSize: STICKER_MIN_SIZE,\n maxSize: STICKER_MAX_SIZE,\n });\n\n setStickersData(stickerData);\n\n const timeout = setTimeout(() => setStickersData([]), duration);\n\n return () => clearTimeout(timeout);\n }, [stickers, effect, count, duration]);\n\n return (\n <Container>\n {stickersData.map((data: StickerDatum) => {\n const { id, sticker, x, y, size, fromX, fromY } = data;\n\n return (\n <Sticker\n key={id}\n effect={effect}\n duration={duration}\n fromX={fromX}\n fromY={fromY}\n x={x}\n y={y}\n size={size}\n >\n {sticker}\n </Sticker>\n );\n })}\n </Container>\n );\n};\n\nexport default memo(Stickers);\n"],"names":["Stickers","stickers","effect","count","duration","stickersData","setStickersData","useState","useLayoutEffect","stickerData","generateStickerData","STICKER_MIN_SIZE","STICKER_MAX_SIZE","timeout","jsx","Container","data","id","sticker","x","y","size","fromX","fromY","Sticker","memo"],"mappings":";;;;;AAQA,MAAMA,IAAoC,CAAC,EAAE,UAAAC,GAAU,QAAAC,GAAQ,OAAAC,GAAO,UAAAC,QAAe;AACnF,QAAM,CAACC,GAAcC,CAAe,IAAIC,EAAiD,CAAE,CAAA;AAE3F,SAAAC,EAAgB,MAAM;AACpB,UAAMC,IAAcC,EAAoB;AAAA,MACtC,OAAAP;AAAA,MACA,QAAAD;AAAA,MACA,UAAAD;AAAA,MACA,SAASU;AAAA,MACT,SAASC;AAAA,IAAA,CACV;AAED,IAAAN,EAAgBG,CAAW;AAE3B,UAAMI,IAAU,WAAW,MAAMP,EAAgB,CAAE,CAAA,GAAGF,CAAQ;AAEvD,WAAA,MAAM,aAAaS,CAAO;AAAA,KAChC,CAACZ,GAAUC,GAAQC,GAAOC,CAAQ,CAAC,GAGnC,gBAAAU,EAAAC,GAAA,EACE,UAAaV,EAAA,IAAI,CAACW,MAAuB;AAClC,UAAA,EAAE,IAAAC,GAAI,SAAAC,GAAS,GAAAC,GAAG,GAAAC,GAAG,MAAAC,GAAM,OAAAC,GAAO,OAAAC,EAAU,IAAAP;AAGhD,WAAA,gBAAAF;AAAA,MAACU;AAAA,MAAA;AAAA,QAEC,QAAAtB;AAAA,QACA,UAAAE;AAAA,QACA,OAAAkB;AAAA,QACA,OAAAC;AAAA,QACA,GAAAJ;AAAA,QACA,GAAAC;AAAA,QACA,MAAAC;AAAA,QAEC,UAAAH;AAAA,MAAA;AAAA,MATID;AAAA,IAAA;AAAA,EAYV,CAAA,EACH,CAAA;AAEJ,GAEehB,IAAAwB,EAAKzB,CAAQ;"}
@@ -1,5 +1,5 @@
1
- function n(t = 1) {
2
- const e = window.innerWidth, i = window.innerHeight;
1
+ function d(t = 1) {
2
+ const e = document.body.clientWidth, i = document.body.clientHeight;
3
3
  return {
4
4
  gutter: 16 * t,
5
5
  deviceWidth: e,
@@ -7,6 +7,6 @@ function n(t = 1) {
7
7
  };
8
8
  }
9
9
  export {
10
- n as default
10
+ d as default
11
11
  };
12
12
  //# sourceMappingURL=layout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.js","sources":["../../../../src/features/ui/theme/layout.ts"],"sourcesContent":["import type { ILayout } from '../types';\n\nfunction getLayout(multiplier: number = 1): ILayout {\n const width = window.innerWidth;\n const height = window.innerHeight;\n\n return {\n gutter: 16 * multiplier,\n deviceWidth: width,\n deviceHeight: height,\n };\n}\n\nexport default getLayout;\n"],"names":["getLayout","multiplier","width","height"],"mappings":"AAEA,SAASA,EAAUC,IAAqB,GAAY;AAClD,QAAMC,IAAQ,OAAO,YACfC,IAAS,OAAO;AAEf,SAAA;AAAA,IACL,QAAQ,KAAKF;AAAA,IACb,aAAaC;AAAA,IACb,cAAcC;AAAA,EAAA;AAElB;"}
1
+ {"version":3,"file":"layout.js","sources":["../../../../src/features/ui/theme/layout.ts"],"sourcesContent":["import type { ILayout } from '../types';\n\nfunction getLayout(multiplier: number = 1): ILayout {\n const width = document.body.clientWidth;\n const height = document.body.clientHeight;\n\n return {\n gutter: 16 * multiplier,\n deviceWidth: width,\n deviceHeight: height,\n };\n}\n\nexport default getLayout;\n"],"names":["getLayout","multiplier","width","height"],"mappings":"AAEA,SAASA,EAAUC,IAAqB,GAAY;AAC5C,QAAAC,IAAQ,SAAS,KAAK,aACtBC,IAAS,SAAS,KAAK;AAEtB,SAAA;AAAA,IACL,QAAQ,KAAKF;AAAA,IACb,aAAaC;AAAA,IACb,cAAcC;AAAA,EAAA;AAElB;"}
package/dist/index.d.ts CHANGED
@@ -4,7 +4,6 @@ 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';
8
7
  import type { DefaultTheme } from 'styled-components';
9
8
  import { DetailedHTMLProps } from 'react';
10
9
  import type { Dispatch } from 'react';
@@ -193,6 +192,36 @@ export declare const CalendarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
193
192
 
194
193
  export declare const Callout: React.FC<ICalloutProps>;
195
194
 
195
+ export declare const Carousel: React_2.FC<CarouselProps>;
196
+
197
+ declare interface CarouselProps {
198
+ children: React_2.ReactNode[] | React_2.ReactNode;
199
+ initialPosition?: number;
200
+ infinite?: boolean;
201
+ slideDuration?: number;
202
+ dotColor?: string;
203
+ changeColor?: (position: number) => void;
204
+ slideAlign?: string | null;
205
+ inactiveDotColor?: string;
206
+ activeIndicatorSize?: string;
207
+ flexCenterIndicators?: boolean;
208
+ isTestimonial?: boolean;
209
+ setColor?: (position: number) => void;
210
+ setPosition?: (position: number) => void;
211
+ carouselSlotPadding?: string;
212
+ wrapperMargin?: string;
213
+ hideIndicators?: boolean;
214
+ autoScroll?: boolean;
215
+ nodeRef?: {
216
+ current?: {
217
+ next?: () => void;
218
+ prev?: () => void;
219
+ position?: number;
220
+ };
221
+ } | null;
222
+ onChange?: () => void;
223
+ }
224
+
196
225
  export declare const CascadingSelectInput: React_2.FC<ICascadingSelectInputProps>;
197
226
 
198
227
  export declare const Chapter: FC<IChapterProps>;
@@ -369,7 +398,7 @@ export declare const DesmosCalculator: FC<IDesmosCalculatorProps>;
369
398
 
370
399
  export declare const DigitalMeter: FC<IDigitalMeterProps>;
371
400
 
372
- export declare const DotLottieAnimation: NamedExoticComponent<IDotLottieAnimationProps & RefAttributes<IDotLottieAnimationRef>>;
401
+ export declare const DotLottieAnimation: NamedExoticComponent<ILottieAnimationProps & RefAttributes<ILottieAnimationRef>>;
373
402
 
374
403
  export declare const DownIcon: React.FC<React.SVGProps<SVGSVGElement>>;
375
404
 
@@ -1421,15 +1450,6 @@ declare interface IDigitalMeterProps {
1421
1450
  actAsTimer?: boolean;
1422
1451
  }
1423
1452
 
1424
- declare type IDotLottieAnimationProps = XOR<WithSrc, WithData> & SharedProps;
1425
-
1426
- declare interface IDotLottieAnimationRef {
1427
- play: () => void;
1428
- pause: () => void;
1429
- playSegments: (segments: AnimationSegment) => void;
1430
- setFrame: (frame: number) => void;
1431
- }
1432
-
1433
1453
  declare interface IDrawerProps {
1434
1454
  isOpen: boolean;
1435
1455
  onClose?: () => void;
@@ -2234,6 +2254,23 @@ declare interface ILogger {
2234
2254
  (eventName: string, data?: Record<string, unknown>): void;
2235
2255
  }
2236
2256
 
2257
+ declare interface ILottieAnimationProps {
2258
+ src: string;
2259
+ width?: string | number;
2260
+ height?: string | number;
2261
+ settings?: Partial<LottieSettings>;
2262
+ eventListeners?: {
2263
+ name: EventType;
2264
+ callback: EventListener_2<EventType>;
2265
+ }[];
2266
+ onRender?: () => void;
2267
+ onError?: () => void;
2268
+ }
2269
+
2270
+ declare interface ILottieAnimationRef {
2271
+ playSegments: (segments: AnimationSegment, forceFlag?: boolean) => void;
2272
+ }
2273
+
2237
2274
  declare interface ILPARChapterProps extends ILPARSheetCallbacks {
2238
2275
  userType: TUserTypes;
2239
2276
  chapterData: TLPARChapterData;
@@ -2570,7 +2607,7 @@ export declare interface IModal {
2570
2607
  /** Content to display inside the modal */
2571
2608
  element: ReactElement;
2572
2609
  /** Rendering style of the modal */
2573
- renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet' | 'fullscreen-transparent';
2610
+ renderAs?: 'modal' | 'fullscreen' | 'spotlight' | 'bottom-sheet';
2574
2611
  /** Whether the modal can be dismissed by clicking outside or ESC key (default: true) */
2575
2612
  isDismissable?: boolean;
2576
2613
  /** Whether the modal requires authentication to view (default: true) */
@@ -2755,7 +2792,7 @@ declare interface IOTPInputProps {
2755
2792
  isBusy?: boolean;
2756
2793
  }
2757
2794
 
2758
- declare interface IOTPResendProps {
2795
+ declare interface IOTPResendProps extends IClickableAnalyticsProps {
2759
2796
  onResendOTP: () => void;
2760
2797
  onResendVoiceOTP?: () => void;
2761
2798
  timerSeconds?: number;
@@ -2802,7 +2839,7 @@ declare interface IPerfectHitsProps {
2802
2839
  value: number;
2803
2840
  }
2804
2841
 
2805
- declare interface IPillButtonProps {
2842
+ declare interface IPillButtonProps extends IClickableAnalyticsProps {
2806
2843
  id: string;
2807
2844
  label: string;
2808
2845
  selected?: boolean;
@@ -3201,7 +3238,7 @@ declare interface ISectionOption<Section = TDefaultSection> {
3201
3238
  data: Section[];
3202
3239
  }
3203
3240
 
3204
- declare interface ISelectableInfoCardProps {
3241
+ declare interface ISelectableInfoCardProps extends IClickableAnalyticsProps {
3205
3242
  id: string;
3206
3243
  title: string;
3207
3244
  description: string;
@@ -3412,35 +3449,19 @@ declare interface IStepperProps {
3412
3449
  currentStep: number;
3413
3450
  }
3414
3451
 
3415
- export declare interface IStickerData {
3452
+ declare interface IStickerData {
3416
3453
  id: string;
3417
3454
  emoji: string;
3418
3455
  lottieUrl?: string;
3419
- name: string;
3420
- }
3421
-
3422
- export declare interface IStickerProps {
3423
- emoji: string;
3424
- lottieUrl?: string;
3425
- size?: number | string;
3426
- onClick?: () => void;
3427
- disabled?: boolean;
3456
+ name?: string;
3428
3457
  }
3429
3458
 
3430
- export declare interface IStickerSelectorProps {
3459
+ declare interface IStickerGridProps {
3431
3460
  stickers: IStickerData[];
3432
3461
  columns?: number;
3433
3462
  gap?: number;
3434
3463
  stickerSize?: number | string;
3435
3464
  onStickerClick?: (sticker: IStickerData) => void;
3436
- disabled?: boolean;
3437
- }
3438
-
3439
- export declare interface IStickersProps {
3440
- stickers: string[];
3441
- effect: TStickerEffects;
3442
- count: number;
3443
- duration: number;
3444
3465
  }
3445
3466
 
3446
3467
  declare interface IStreakIconProps extends React.HTMLProps<HTMLDivElement> {
@@ -4777,6 +4798,23 @@ export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
4777
4798
 
4778
4799
  export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
4779
4800
 
4801
+ export declare enum PLA_ANALYTICS_EVENTS {
4802
+ START_SIGNUP_CTA_CLICKED = "start_signup_cta_clicked",
4803
+ ECNA_STEP_VIEWED = "ecna_step_viewed",
4804
+ ECNA_RESPONSE_RECORDED_DEBUG = "ecna_response_recorded_debug",
4805
+ PARENT_SIGNUP_CTA_CLICKED = "parent_signup_cta_clicked",
4806
+ PARENT_SIGNUP_SUCCESSFUL = "parent_signup_successful",
4807
+ PARENT_SIGNUP_FAILED = "parent_signup_failed",
4808
+ STUDENT_SIGNUP_SUCCESSFUL = "signup_successful",
4809
+ STUDENT_SIGNUP_FAILED = "signup_failed",
4810
+ SIGNUP_OTP_ENTERED = "signup_otp_entered",
4811
+ SIGNUP_OTP_VERIFIED = "signup_otp_verified",
4812
+ SIGNUP_OTP_FAILED = "signup_otp_failed",
4813
+ SLOTS_SHOWN = "slots_shown",
4814
+ SLOT_DATE_SELECTED = "slot_date_selected",
4815
+ SLOT_TIME_SELECTED = "slot_time_selected"
4816
+ }
4817
+
4780
4818
  /**
4781
4819
  ** Global/Platform specific events that needs to be tracked goes here
4782
4820
  ** Naming convention needs to be snake_case
@@ -4964,7 +5002,7 @@ declare enum SECTION_CODE {
4964
5002
 
4965
5003
  export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
4966
5004
 
4967
- export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
5005
+ export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, analyticsLabel, analyticsProps, }: ISelectableInfoCardProps) => JSX.Element>;
4968
5006
 
4969
5007
  export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
4970
5008
 
@@ -4976,18 +5014,6 @@ export declare const SENTRY_IGNORED_ERRORS: Array<string | RegExp>;
4976
5014
 
4977
5015
  export declare const Separator: React_2.FC<ISeparatorProps>;
4978
5016
 
4979
- declare type SharedProps = {
4980
- width?: string | number;
4981
- height?: string | number;
4982
- settings?: Partial<LottieSettings>;
4983
- eventListeners?: {
4984
- name: EventType;
4985
- callback: EventListener_2<EventType>;
4986
- }[];
4987
- onRender?: () => void;
4988
- onError?: () => void;
4989
- };
4990
-
4991
5017
  export declare const SHEET_ACTIONS: {
4992
5018
  readonly START: "START";
4993
5019
  readonly RESUME: "RESUME";
@@ -5094,15 +5120,22 @@ declare const STICKER_BADGE: {
5094
5120
  AWESOME: string;
5095
5121
  };
5096
5122
 
5097
- export declare const stickerData: IStickerData[];
5123
+ declare type StickerEffect = 'burst_from_edges' | 'pop_expand' | 'float_up' | 'fall_down';
5098
5124
 
5099
5125
  export declare const StickerFilledIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5100
5126
 
5101
5127
  export declare const StickerIcon: React.FC<React.SVGProps<SVGSVGElement>>;
5102
5128
 
5103
- export declare const StickersEffects: React_2.NamedExoticComponent<IStickersProps>;
5129
+ export declare const Stickers: React_2.NamedExoticComponent<StickersProps>;
5130
+
5131
+ declare interface StickersProps {
5132
+ stickers: string[];
5133
+ effect: StickerEffect;
5134
+ count: number;
5135
+ duration: number;
5136
+ }
5104
5137
 
5105
- export declare const StickersSelector: React_2.NamedExoticComponent<IStickerSelectorProps>;
5138
+ export declare const StickersSelector: React_2.NamedExoticComponent<IStickerGridProps>;
5106
5139
 
5107
5140
  export declare const StreakIcon: React_2.FC<IStreakIconProps>;
5108
5141
 
@@ -6028,7 +6061,7 @@ declare type TRenderAs_2 = 'canvas' | 'whiteboard';
6028
6061
  declare type TRewardHomeData = {
6029
6062
  user_badges: TBadgeData[] | [];
6030
6063
  user_rewards: TRewardsData[] | [];
6031
- user_stickers: TStickerData_2[] | [];
6064
+ user_stickers: TStickerData[] | [];
6032
6065
  };
6033
6066
 
6034
6067
  declare type TRewardsData = {
@@ -6156,18 +6189,7 @@ export declare type TSkillStatus = 'pending' | 'completed';
6156
6189
 
6157
6190
  export declare type TSocialAuthProvider = 'google' | 'apple';
6158
6191
 
6159
- export declare type TStickerData = {
6160
- id: string;
6161
- sticker: string;
6162
- lottie?: string;
6163
- x: number;
6164
- y: number;
6165
- size: number;
6166
- fromX?: string;
6167
- fromY?: string;
6168
- };
6169
-
6170
- declare type TStickerData_2 = {
6192
+ declare type TStickerData = {
6171
6193
  actor_id: string;
6172
6194
  badge_id: string;
6173
6195
  badge_type: string;
@@ -6180,8 +6202,6 @@ declare type TStickerData_2 = {
6180
6202
  user_type: string;
6181
6203
  };
6182
6204
 
6183
- export declare type TStickerEffects = 'burst-from-edges' | 'pop-expand' | 'float-up' | 'fall-down';
6184
-
6185
6205
  export declare type TStreakStatus = 'pending' | 'completed';
6186
6206
 
6187
6207
  declare type TStyleAttrubutes = NonNullable<HTMLAttributes<HTMLDivElement>['style']>;
@@ -6542,18 +6562,6 @@ export declare enum WebViewEvent {
6542
6562
  */
6543
6563
  export declare const WHITELIST_EVENTS: Record<string, PLUGIN_NAME[]>;
6544
6564
 
6545
- declare type WithData = {
6546
- data: Data;
6547
- };
6548
-
6549
- declare type Without<T, K extends keyof any> = {
6550
- [P in Exclude<keyof T, K>]?: never;
6551
- };
6552
-
6553
- declare type WithSrc = {
6554
- src: string;
6555
- };
6556
-
6557
6565
  export declare const Worksheet: NamedExoticComponent<IWorksheetContainerProps & RefAttributes<IWorksheetRef>>;
6558
6566
 
6559
6567
  export declare const WORKSHEET_ACTION_BAR_HEIGHT = 56;
@@ -6566,8 +6574,6 @@ export declare const WORKSHEET_TOP_NAVIGATION_HEIGHT = 48;
6566
6574
 
6567
6575
  export declare const WORKSHEET_V3_NODE_TYPES: TNodeTypeProps[];
6568
6576
 
6569
- declare type XOR<T, U> = (T & Without<U, keyof T>) | (U & Without<T, keyof U>);
6570
-
6571
6577
  declare const ZINDEX: {
6572
6578
  readonly CHAPTER_CROWN_ICON: 4;
6573
6579
  readonly CHAPTER_PLUS_ICON: 2;