@cuemath/leap 3.2.10-hg1 → 3.2.11-j1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/assets/illustrations/illustrations.js +5 -0
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/after-noon.js +34 -0
  4. package/dist/assets/line-icons/icons/after-noon.js.map +1 -0
  5. package/dist/assets/line-icons/icons/apple-icon-white.js +42 -0
  6. package/dist/assets/line-icons/icons/apple-icon-white.js.map +1 -0
  7. package/dist/assets/line-icons/icons/evening.js +35 -0
  8. package/dist/assets/line-icons/icons/evening.js.map +1 -0
  9. package/dist/assets/line-icons/icons/morning.js +35 -0
  10. package/dist/assets/line-icons/icons/morning.js.map +1 -0
  11. package/dist/assets/lottie/lottie.js +10 -0
  12. package/dist/assets/lottie/lottie.js.map +1 -1
  13. package/dist/features/auth/account-selector/account-selector.js +11 -11
  14. package/dist/features/auth/account-selector/account-selector.js.map +1 -1
  15. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +9 -0
  16. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -0
  17. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +65 -0
  18. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -0
  19. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +92 -0
  20. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -0
  21. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +17 -12
  22. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  23. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
  24. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
  25. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +34 -0
  26. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
  27. package/dist/features/auth/comps/otp-input/otp-input-styled.js +22 -0
  28. package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
  29. package/dist/features/auth/comps/otp-input/otp-input.js +51 -0
  30. package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
  31. package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
  32. package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
  33. package/dist/features/auth/comps/pill-button/pill-button.js +75 -0
  34. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
  35. package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
  36. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
  37. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
  38. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
  39. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
  40. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
  41. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
  42. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
  43. package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
  44. package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
  45. package/dist/features/auth/comps/tabs/tabs.js +5 -5
  46. package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
  47. package/dist/features/auth/comps/user-list/user-list.js +11 -11
  48. package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
  49. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +19 -0
  50. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +1 -0
  51. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +32 -0
  52. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +1 -0
  53. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +44 -0
  54. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +1 -0
  55. package/dist/features/auth/signup-v2/signup-header/signup-header.js +54 -0
  56. package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +1 -0
  57. package/dist/features/auth/signup-v2/signup-options/signup-options.js +73 -0
  58. package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +1 -0
  59. package/dist/features/ui/image/image.js +1 -1
  60. package/dist/features/ui/image/image.js.map +1 -1
  61. package/dist/features/ui/text/text.js +1 -1
  62. package/dist/features/ui/text/text.js.map +1 -1
  63. package/dist/features/ui/theme/button.js +78 -78
  64. package/dist/features/ui/theme/button.js.map +1 -1
  65. package/dist/index.d.ts +106 -3
  66. package/dist/index.js +458 -436
  67. package/dist/index.js.map +1 -1
  68. package/dist/node_modules/decode-uri-component/index.js.map +1 -0
  69. package/dist/node_modules/query-string/base.js +1 -1
  70. package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
  71. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  72. package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
  73. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  74. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
  75. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  76. package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
  77. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  78. package/dist/static/animated-avatar.1ad58b1d.json +1 -0
  79. package/dist/static/animated-avatar.69b07505.json +1 -0
  80. package/dist/static/animated-avatar.9c560b46.json +1 -0
  81. package/dist/static/calendar-purple.1a840b41.svg +1 -0
  82. package/dist/static/flying-disk.c7f6ed39.json +1 -0
  83. package/dist/static/graduation-cap.3be3340a.json +1 -0
  84. package/dist/static/handshake.287e7dfb.svg +1 -0
  85. package/dist/static/light-bulb.c6db0b23.json +1 -0
  86. package/dist/static/money.332aacf1.svg +1 -0
  87. package/dist/static/muscle.9bcfb8a7.json +1 -0
  88. package/dist/static/parent-avatar.822c7b9b.svg +1 -0
  89. package/dist/static/pencil.23df9da0.json +1 -0
  90. package/dist/static/plus-sign.de6af957.json +1 -0
  91. package/dist/static/racing-car.2cbf864e.json +1 -0
  92. package/dist/static/rocket.0a3ccab0.json +1 -0
  93. package/dist/static/shovel.abeec04c.json +1 -0
  94. package/dist/static/trustpilot.bd3d79e1.svg +1 -0
  95. package/package.json +1 -1
  96. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
  97. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
  98. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
  99. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
  100. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
  101. /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"text.js","sources":["../../../../src/features/ui/text/text.tsx"],"sourcesContent":["import type { TColorNames, TTextVariants } from '../types';\n\nimport { useMemo } from 'react';\nimport styled from 'styled-components';\n\nimport { EDeviceType } from '../theme/constants';\n\nexport interface TextProps {\n $renderAs: TTextVariants;\n $color?: TColorNames;\n $align?: 'auto' | 'left' | 'right' | 'center' | 'justify';\n $alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\n $opacity?: number | undefined;\n $width?: number | string;\n $widthX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $inline?: boolean;\n $textDecoration?: string;\n $whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';\n $renderOnMobileAs?: TTextVariants;\n $renderOnTabletAs?: TTextVariants;\n}\n\n/**\n * @param $renderAs (fallback for any device), @param $renderOnMobileAs, @param $renderOnTabletAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated\n */\nconst Text = styled.div<TextProps>(\n ({\n theme,\n $renderAs,\n $color,\n $align = 'left',\n $width,\n $widthX,\n $marginBottom,\n $marginBottomX,\n $alignSelf,\n $opacity = 1,\n $inline,\n $textDecoration,\n $whiteSpace,\n $renderOnMobileAs,\n $renderOnTabletAs,\n }) => {\n const { text, colors, layout, device } = theme;\n const renderAs = useMemo(() => {\n if (device === EDeviceType.MOBILE) {\n return $renderOnMobileAs || $renderOnTabletAs || $renderAs;\n }\n\n if (device === EDeviceType.TABLET) {\n return $renderOnTabletAs || $renderAs;\n }\n\n return $renderAs;\n }, [device, $renderAs, $renderOnMobileAs, $renderOnTabletAs]);\n\n const {\n fontFamily,\n fontSize,\n lineHeight,\n letterSpacing,\n textTransform = 'none',\n } = text[renderAs];\n\n return `\n display: ${$inline ? 'inline-block' : 'block'};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n text-align: ${$align};\n line-height: ${lineHeight}px;\n text-transform: ${textTransform};\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n color: ${$color ? colors[$color] : colors.BLACK};\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n ${$alignSelf ? `align-self: ${$alignSelf};` : ''}\n ${$textDecoration ? `text-decoration: ${$textDecoration};` : ''}\n ${$whiteSpace ? `white-space: ${$whiteSpace};` : ''}\n `;\n },\n);\n\nText.displayName = 'Text';\n\nexport default Text;\n"],"names":["Text","styled","theme","$renderAs","$color","$align","$width","$widthX","$marginBottom","$marginBottomX","$alignSelf","$opacity","$inline","$textDecoration","$whiteSpace","$renderOnMobileAs","$renderOnTabletAs","text","colors","layout","device","renderAs","useMemo","EDeviceType","fontFamily","fontSize","lineHeight","letterSpacing","textTransform","Text$1"],"mappings":";;;AA2BA,MAAMA,IAAOC,EAAO;AAAA,EAClB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,eAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,aAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,mBAAAC;AAAA,EAAA,MACI;AACJ,UAAM,EAAE,MAAAC,GAAM,QAAAC,GAAQ,QAAAC,GAAQ,QAAAC,MAAWlB,GACnCmB,IAAWC,EAAQ,MACnBF,MAAWG,EAAY,SAClBR,KAAqBC,KAAqBb,IAG/CiB,MAAWG,EAAY,UAClBP,KAAqBb,GAI7B,CAACiB,GAAQjB,GAAWY,GAAmBC,CAAiB,CAAC,GAEtD;AAAA,MACJ,YAAAQ;AAAA,MACA,UAAAC;AAAA,MACA,YAAAC;AAAA,MACA,eAAAC;AAAA,MACA,eAAAC,IAAgB;AAAA,IAAA,IACdX,EAAKI,CAAQ;AAEV,WAAA;AAAA,iBACMT,IAAU,iBAAiB,OAAO;AAAA,qBAC9BY,CAAU;AAAA,mBACZC,CAAQ;AAAA,oBACPpB,CAAM;AAAA,qBACLqB,CAAU;AAAA,wBACPE,CAAa;AAAA,QAC7B,OAAOD,KAAkB,WAAW,mBAAmBA,CAAa,QAAQ,EAAE;AAAA,eACvEvB,IAASc,EAAOd,CAAM,IAAIc,EAAO,KAAK;AAAA,iBACpCP,CAAQ;AAAA,eACVL,IAAS,GAAGA,CAAM,KAAK,MAAM,GAAG,OAAOA,KAAW,WAAW,OAAO,EAAE;AAAA,QAC7EC,IAAU,UAAUA,IAAUY,EAAO,MAAM,QAAQ,EAAE;AAAA,uBACtCX,IAAgB,GAAGA,CAAa,KAAK,SAAS,GAC7D,OAAOA,KAAkB,WAAW,OAAO,EAC7C;AAAA,QACEC,IAAiB,kBAAkBA,IAAiBU,EAAO,MAAM,QAAQ,EAAE;AAAA,QAC3ET,IAAa,eAAeA,CAAU,MAAM,EAAE;AAAA,QAC9CG,IAAkB,oBAAoBA,CAAe,MAAM,EAAE;AAAA,QAC7DC,IAAc,gBAAgBA,CAAW,MAAM,EAAE;AAAA;AAAA,EAEvD;AACF;AAEAd,EAAK,cAAc;AAEnB,MAAA6B,IAAe7B;"}
1
+ {"version":3,"file":"text.js","sources":["../../../../src/features/ui/text/text.tsx"],"sourcesContent":["import type { TColorNames, TTextVariants } from '../types';\n\nimport { useMemo } from 'react';\nimport styled from 'styled-components';\n\nimport { EDeviceType } from '../theme/constants';\n\nexport interface TextProps {\n $renderAs: TTextVariants;\n $color?: TColorNames;\n $align?: 'auto' | 'left' | 'right' | 'center' | 'justify';\n $alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\n $opacity?: number | undefined;\n $width?: number | string;\n $widthX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $inline?: boolean;\n $textDecoration?: string;\n $whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';\n $renderOnMobileAs?: TTextVariants;\n $renderOnTabletAs?: TTextVariants;\n}\n\n/**\n * @param $renderAs (fallback for any device), @param $renderOnMobileAs, @param $renderOnTabletAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated\n */\nconst Text = styled.div<TextProps>(\n ({\n theme,\n $renderAs,\n $color,\n $align = 'left',\n $width,\n $widthX,\n $marginBottom,\n $marginBottomX,\n $alignSelf,\n $opacity = 1,\n $inline,\n $textDecoration,\n $whiteSpace,\n $renderOnMobileAs,\n $renderOnTabletAs,\n }) => {\n const { text, colors, layout, device } = theme;\n const renderAs = useMemo(() => {\n if (device <= EDeviceType.MOBILE) {\n return $renderOnMobileAs || $renderOnTabletAs || $renderAs;\n }\n\n if (device <= EDeviceType.TABLET) {\n return $renderOnTabletAs || $renderAs;\n }\n\n return $renderAs;\n }, [device, $renderAs, $renderOnMobileAs, $renderOnTabletAs]);\n\n const {\n fontFamily,\n fontSize,\n lineHeight,\n letterSpacing,\n textTransform = 'none',\n } = text[renderAs];\n\n return `\n display: ${$inline ? 'inline-block' : 'block'};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n text-align: ${$align};\n line-height: ${lineHeight}px;\n text-transform: ${textTransform};\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n color: ${$color ? colors[$color] : colors.BLACK};\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n ${$alignSelf ? `align-self: ${$alignSelf};` : ''}\n ${$textDecoration ? `text-decoration: ${$textDecoration};` : ''}\n ${$whiteSpace ? `white-space: ${$whiteSpace};` : ''}\n `;\n },\n);\n\nText.displayName = 'Text';\n\nexport default Text;\n"],"names":["Text","styled","theme","$renderAs","$color","$align","$width","$widthX","$marginBottom","$marginBottomX","$alignSelf","$opacity","$inline","$textDecoration","$whiteSpace","$renderOnMobileAs","$renderOnTabletAs","text","colors","layout","device","renderAs","useMemo","EDeviceType","fontFamily","fontSize","lineHeight","letterSpacing","textTransform","Text$1"],"mappings":";;;AA2BA,MAAMA,IAAOC,EAAO;AAAA,EAClB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,QAAAC;AA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CAAe,MAAM,EAAE;AAAA,QAC7DC,IAAc,gBAAgBA,CAAW,MAAM,EAAE;AAAA;AAAA,EAEvD;AACF;AAEAd,EAAK,cAAc;AAEnB,MAAA6B,IAAe7B;"}
@@ -1,48 +1,48 @@
1
- const e = (i) => ({ sizes: {
1
+ const d = (a) => ({ sizes: {
2
2
  xsmall: {
3
- height: i * 2,
4
- paddingHorizontal: i * 1.375,
3
+ height: a * 2,
4
+ paddingHorizontal: a * 1.375,
5
5
  textVariant: "ub3-bold",
6
6
  borderWidth: 1,
7
- iconSize: i,
8
- iconPadding: i * 0.25,
9
- loaderSize: i * 1.25
7
+ iconSize: a,
8
+ iconPadding: a * 0.25,
9
+ loaderSize: a * 1.25
10
10
  },
11
11
  small: {
12
- height: i * 2.5,
13
- paddingHorizontal: i * 1.625,
12
+ height: a * 2.5,
13
+ paddingHorizontal: a * 1.625,
14
14
  textVariant: "ub2-bold",
15
15
  borderWidth: 1,
16
- iconSize: i * 1.25,
17
- iconPadding: i * 0.375,
18
- loaderSize: i * 1.5
16
+ iconSize: a * 1.25,
17
+ iconPadding: a * 0.375,
18
+ loaderSize: a * 1.5
19
19
  },
20
20
  regular: {
21
- height: i * 3,
22
- paddingHorizontal: i * 1.875,
21
+ height: a * 3,
22
+ paddingHorizontal: a * 1.875,
23
23
  textVariant: "ub1-bold",
24
24
  borderWidth: 1,
25
- iconSize: i * 1.5,
26
- iconPadding: i * 0.5,
27
- loaderSize: i * 1.75
25
+ iconSize: a * 1.5,
26
+ iconPadding: a * 0.5,
27
+ loaderSize: a * 1.75
28
28
  },
29
29
  medium: {
30
- height: i * 3.5,
31
- paddingHorizontal: i * 2.125,
30
+ height: a * 3.5,
31
+ paddingHorizontal: a * 2.125,
32
32
  textVariant: "ub1-bold",
33
33
  borderWidth: 1.5,
34
- iconSize: i * 1.5,
35
- iconPadding: i * 0.5,
36
- loaderSize: i * 2
34
+ iconSize: a * 1.5,
35
+ iconPadding: a * 0.5,
36
+ loaderSize: a * 2
37
37
  },
38
38
  large: {
39
- height: i * 4,
40
- paddingHorizontal: i * 2.375,
39
+ height: a * 4,
40
+ paddingHorizontal: a * 2.375,
41
41
  textVariant: "ub1-bold",
42
42
  borderWidth: 2,
43
- iconSize: i * 1.5,
44
- iconPadding: i * 0.5,
45
- loaderSize: i * 2.25
43
+ iconSize: a * 1.5,
44
+ iconPadding: a * 0.5,
45
+ loaderSize: a * 2.25
46
46
  }
47
47
  }, variants: {
48
48
  primary: {
@@ -129,6 +129,57 @@ const e = (i) => ({ sizes: {
129
129
  active: "BLACK",
130
130
  disabled: "WHITE_T_15"
131
131
  }
132
+ },
133
+ black: {
134
+ backgroundColorName: {
135
+ inactive: "BLACK_1",
136
+ active: "BLACK_T_60",
137
+ disabled: "BLACK_T_15"
138
+ },
139
+ borderColorName: {
140
+ inactive: "BLACK_1",
141
+ active: "BLACK_1",
142
+ disabled: "BLACK_T_15"
143
+ },
144
+ colorName: {
145
+ inactive: "WHITE_1",
146
+ active: "WHITE_1",
147
+ disabled: "WHITE_T_87"
148
+ }
149
+ },
150
+ "black-dark": {
151
+ backgroundColorName: {
152
+ inactive: "BLACK_1",
153
+ active: "BLACK_4",
154
+ disabled: "WHITE_T_10"
155
+ },
156
+ borderColorName: {
157
+ inactive: "WHITE_1",
158
+ active: "WHITE_1",
159
+ disabled: "WHITE_T_15"
160
+ },
161
+ colorName: {
162
+ inactive: "WHITE_1",
163
+ active: "WHITE_1",
164
+ disabled: "WHITE_T_38"
165
+ }
166
+ },
167
+ "yellow-dark": {
168
+ backgroundColorName: {
169
+ inactive: "YELLOW_4",
170
+ active: "YELLOW_3",
171
+ disabled: "WHITE_T_10"
172
+ },
173
+ borderColorName: {
174
+ inactive: "WHITE",
175
+ active: "WHITE",
176
+ disabled: "WHITE_T_15"
177
+ },
178
+ colorName: {
179
+ inactive: "BLACK_1",
180
+ active: "BLACK_1",
181
+ disabled: "WHITE_T_38"
182
+ }
132
183
  }
133
184
  // 'yellow': {
134
185
  // backgroundColorName: {
@@ -147,23 +198,6 @@ const e = (i) => ({ sizes: {
147
198
  // disabled: 'BLACK_T_35',
148
199
  // },
149
200
  // },
150
- // 'yellow-dark': {
151
- // backgroundColorName: {
152
- // inactive: 'YELLOW_4',
153
- // active: 'WHITE_4',
154
- // disabled: 'WHITE_T_40',
155
- // },
156
- // borderColorName: {
157
- // inactive: 'BLACK_4',
158
- // active: 'BLACK_4',
159
- // disabled: 'WHITE_T_40',
160
- // },
161
- // colorName: {
162
- // inactive: 'BLACK_4',
163
- // active: 'BLACK_4',
164
- // disabled: 'WHITE_T_40',
165
- // },
166
- // },
167
201
  // 'white': {
168
202
  // backgroundColorName: {
169
203
  // inactive: 'WHITE_1',
@@ -198,42 +232,8 @@ const e = (i) => ({ sizes: {
198
232
  // disabled: 'WHITE_T_40',
199
233
  // },
200
234
  // },
201
- // 'black': {
202
- // backgroundColorName: {
203
- // inactive: 'BLACK_4',
204
- // active: 'BLACK_T_60',
205
- // disabled: 'BLACK_T_35',
206
- // },
207
- // borderColorName: {
208
- // inactive: 'BLACK_4',
209
- // active: 'BLACK_4',
210
- // disabled: 'BLACK_T_35',
211
- // },
212
- // colorName: {
213
- // inactive: 'WHITE_4',
214
- // active: 'WHITE_4',
215
- // disabled: 'BLACK_T_35',
216
- // },
217
- // },
218
- // 'black-dark': {
219
- // backgroundColorName: {
220
- // inactive: 'BLACK_4',
221
- // active: 'WHITE_T_40',
222
- // disabled: 'WHITE_T_40',
223
- // },
224
- // borderColorName: {
225
- // inactive: 'WHITE_4',
226
- // active: 'WHITE_4',
227
- // disabled: 'WHITE_T_40',
228
- // },
229
- // colorName: {
230
- // inactive: 'WHITE_4',
231
- // active: 'WHITE_4',
232
- // disabled: 'WHITE_T_40',
233
- // },
234
- // },
235
235
  } });
236
236
  export {
237
- e as default
237
+ d as default
238
238
  };
239
239
  //# sourceMappingURL=button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sources":["../../../../src/features/ui/theme/button.ts"],"sourcesContent":["import type {\n IButtonSizeConfig,\n TButtonSizes,\n IButtonVariantConfig,\n TButtonVariants,\n} from '../types';\n\ninterface IGetButtonConfig {\n (gutter: number): {\n sizes: Record<TButtonSizes, IButtonSizeConfig>;\n variants: Record<TButtonVariants, IButtonVariantConfig>;\n };\n}\n\nconst getButtonConfig: IGetButtonConfig = (gutter: number) => {\n const sizes: Record<TButtonSizes, IButtonSizeConfig> = {\n xsmall: {\n height: gutter * 2,\n paddingHorizontal: gutter * (1 + 0.375),\n textVariant: 'ub3-bold',\n borderWidth: 1,\n iconSize: gutter,\n iconPadding: gutter * 0.25,\n loaderSize: gutter * 1.25,\n },\n small: {\n height: gutter * 2.5,\n paddingHorizontal: gutter * (1 + 0.625),\n textVariant: 'ub2-bold',\n borderWidth: 1,\n iconSize: gutter * 1.25,\n iconPadding: gutter * 0.375,\n loaderSize: gutter * 1.5,\n },\n regular: {\n height: gutter * 3,\n paddingHorizontal: gutter * (1 + 0.875),\n textVariant: 'ub1-bold',\n borderWidth: 1,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 1.75,\n },\n medium: {\n height: gutter * 3.5,\n paddingHorizontal: gutter * (1 + 1.125),\n textVariant: 'ub1-bold',\n borderWidth: 1.5,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2,\n },\n large: {\n height: gutter * 4,\n paddingHorizontal: gutter * (1 + 1.375),\n textVariant: 'ub1-bold',\n borderWidth: 2,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2.25,\n },\n };\n\n const variants: Record<TButtonVariants, IButtonVariantConfig> = {\n 'primary': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'tertiary': {\n backgroundColorName: {\n inactive: 'RED',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-gray': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'WHITE_4',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-dark': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_10',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'WHITE_T_38',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_15',\n },\n },\n // 'yellow': {\n // backgroundColorName: {\n // inactive: 'YELLOW_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'WHITE_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n // 'yellow-dark': {\n // backgroundColorName: {\n // inactive: 'YELLOW_4',\n // active: 'WHITE_4',\n // disabled: 'WHITE_T_40',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // },\n // 'white': {\n // backgroundColorName: {\n // inactive: 'WHITE_1',\n // active: 'BLACK_T_35',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n // 'white-dark': {\n // backgroundColorName: {\n // inactive: 'WHITE_4',\n // active: 'WHITE_T_70',\n // disabled: 'WHITE_T_40',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // },\n // 'black': {\n // backgroundColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_T_60',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'WHITE_4',\n // active: 'WHITE_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n // 'black-dark': {\n // backgroundColorName: {\n // inactive: 'BLACK_4',\n // active: 'WHITE_T_40',\n // disabled: 'WHITE_T_40',\n // },\n // borderColorName: {\n // inactive: 'WHITE_4',\n // active: 'WHITE_4',\n // disabled: 'WHITE_T_40',\n // },\n // colorName: {\n // inactive: 'WHITE_4',\n // active: 'WHITE_4',\n // disabled: 'WHITE_T_40',\n // },\n // },\n };\n\n return { sizes, variants };\n};\n\nexport default getButtonConfig;\n"],"names":["getButtonConfig","gutter"],"mappings":"AAcM,MAAAA,IAAoC,CAACC,OA+OlC,EAAE,OA9O8C;AAAA,EACrD,QAAQ;AAAA,IACN,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa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A;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
1
+ {"version":3,"file":"button.js","sources":["../../../../src/features/ui/theme/button.ts"],"sourcesContent":["import type {\n IButtonSizeConfig,\n TButtonSizes,\n IButtonVariantConfig,\n TButtonVariants,\n} from '../types';\n\ninterface IGetButtonConfig {\n (gutter: number): {\n sizes: Record<TButtonSizes, IButtonSizeConfig>;\n variants: Record<TButtonVariants, IButtonVariantConfig>;\n };\n}\n\nconst getButtonConfig: IGetButtonConfig = (gutter: number) => {\n const sizes: Record<TButtonSizes, IButtonSizeConfig> = {\n xsmall: {\n height: gutter * 2,\n paddingHorizontal: gutter * (1 + 0.375),\n textVariant: 'ub3-bold',\n borderWidth: 1,\n iconSize: gutter,\n iconPadding: gutter * 0.25,\n loaderSize: gutter * 1.25,\n },\n small: {\n height: gutter * 2.5,\n paddingHorizontal: gutter * (1 + 0.625),\n textVariant: 'ub2-bold',\n borderWidth: 1,\n iconSize: gutter * 1.25,\n iconPadding: gutter * 0.375,\n loaderSize: gutter * 1.5,\n },\n regular: {\n height: gutter * 3,\n paddingHorizontal: gutter * (1 + 0.875),\n textVariant: 'ub1-bold',\n borderWidth: 1,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 1.75,\n },\n medium: {\n height: gutter * 3.5,\n paddingHorizontal: gutter * (1 + 1.125),\n textVariant: 'ub1-bold',\n borderWidth: 1.5,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2,\n },\n large: {\n height: gutter * 4,\n paddingHorizontal: gutter * (1 + 1.375),\n textVariant: 'ub1-bold',\n borderWidth: 2,\n iconSize: gutter * 1.5,\n iconPadding: gutter * 0.5,\n loaderSize: gutter * 2.25,\n },\n };\n\n const variants: Record<TButtonVariants, IButtonVariantConfig> = {\n 'primary': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'tertiary': {\n backgroundColorName: {\n inactive: 'RED',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-gray': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'WHITE_4',\n disabled: 'GREY_3',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'BLACK',\n },\n borderColorName: {\n inactive: 'BLACK',\n active: 'BLACK',\n disabled: 'GREY_3',\n },\n },\n 'secondary-dark': {\n backgroundColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_10',\n },\n colorName: {\n inactive: 'BLACK',\n active: 'WHITE',\n disabled: 'WHITE_T_38',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'BLACK',\n disabled: 'WHITE_T_15',\n },\n },\n 'black': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_T_60',\n disabled: 'BLACK_T_15',\n },\n borderColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'BLACK_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_87',\n },\n },\n 'black-dark': {\n backgroundColorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_4',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'WHITE_1',\n active: 'WHITE_1',\n disabled: 'WHITE_T_38',\n },\n },\n 'yellow-dark': {\n backgroundColorName: {\n inactive: 'YELLOW_4',\n active: 'YELLOW_3',\n disabled: 'WHITE_T_10',\n },\n borderColorName: {\n inactive: 'WHITE',\n active: 'WHITE',\n disabled: 'WHITE_T_15',\n },\n colorName: {\n inactive: 'BLACK_1',\n active: 'BLACK_1',\n disabled: 'WHITE_T_38',\n },\n },\n // 'yellow': {\n // backgroundColorName: {\n // inactive: 'YELLOW_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'WHITE_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n\n // 'white': {\n // backgroundColorName: {\n // inactive: 'WHITE_1',\n // active: 'BLACK_T_35',\n // disabled: 'BLACK_T_35',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'BLACK_T_35',\n // },\n // },\n // 'white-dark': {\n // backgroundColorName: {\n // inactive: 'WHITE_4',\n // active: 'WHITE_T_70',\n // disabled: 'WHITE_T_40',\n // },\n // borderColorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // colorName: {\n // inactive: 'BLACK_4',\n // active: 'BLACK_4',\n // disabled: 'WHITE_T_40',\n // },\n // },\n };\n\n return { sizes, variants };\n};\n\nexport default getButtonConfig;\n"],"names":["getButtonConfig","gutter"],"mappings":"AAcM,MAAAA,IAAoC,CAACC,OAgPlC,EAAE,OA/O8C;AAAA,EACrD,QAAQ;AAAA,IACN,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA;AAAA,IACV,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,OAAO;AAAA,IACL,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA,IAAS;AAAA,IACnB,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,SAAS;AAAA,IACP,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA,IAAS;AAAA,IACnB,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,QAAQ;AAAA,IACN,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA,IAAS;AAAA,IACnB,aAAaA,IAAS;AAAA,IACtB,YAAYA,IAAS;AAAA,EACvB;AAAA,EACA,OAAO;AAAA,IACL,QAAQA,IAAS;AAAA,IACjB,mBAAmBA,IAAU;AAAA,IAC7B,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAUA,IAAS;AAAA,IACnB,aAAaA,IAAS;AAAA,I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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
package/dist/index.d.ts CHANGED
@@ -52,10 +52,14 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
52
52
 
53
53
  export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
54
54
 
55
+ export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
56
+
55
57
  export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
56
58
 
57
59
  export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
58
60
 
61
+ export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
62
+
59
63
  export declare const AppLoader: FC<IAppLoaderProps>;
60
64
 
61
65
  export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
@@ -416,6 +420,8 @@ declare interface ErrorProps {
416
420
  handleClick: () => void;
417
421
  }
418
422
 
423
+ export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
424
+
419
425
  export declare const EVENTS: {
420
426
  PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
421
427
  HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
@@ -638,6 +644,20 @@ declare interface IAnimatedArcProps {
638
644
  showAnimatedRainbowArc?: boolean;
639
645
  }
640
646
 
647
+ declare interface IAnimatedAvatarMessageProps {
648
+ message: string;
649
+ onShowContent: (show: boolean) => void;
650
+ confirmationFrames: [number, number];
651
+ confirmationMessage?: string;
652
+ isConfirmationVisible?: boolean;
653
+ ref: React.Ref<IAnimatedAvatarMessageRef>;
654
+ }
655
+
656
+ export declare type IAnimatedAvatarMessageRef = {
657
+ fadeOutMessage: () => Promise<void>;
658
+ playConfirmationFrames: () => Promise<void>;
659
+ };
660
+
641
661
  declare interface IAppLoaderProps {
642
662
  width?: string | number;
643
663
  height?: string | number;
@@ -682,6 +702,7 @@ declare interface IAuthPageLayoutProps {
682
702
  leftBlock: ReactElement;
683
703
  rightBlock?: ReactElement;
684
704
  isFullWidth?: boolean;
705
+ rightBlockBg?: TColorNames;
685
706
  }
686
707
 
687
708
  declare interface IAuthStaticPanelProps {
@@ -1597,7 +1618,7 @@ declare interface IIdentifierOtpFormProps {
1597
1618
  }
1598
1619
 
1599
1620
  declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
1600
- withLoader: boolean;
1621
+ withLoader?: boolean;
1601
1622
  borderRadius?: number;
1602
1623
  borderColor?: TColorNames;
1603
1624
  }
@@ -1970,6 +1991,14 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
1970
1991
  targetQuestions: number;
1971
1992
  }
1972
1993
 
1994
+ declare interface ILinearProgressBarProps {
1995
+ percentage: number;
1996
+ height?: number;
1997
+ backgroundColor?: TColorNames;
1998
+ fillColor?: TColorNames;
1999
+ borderRadius?: number;
2000
+ }
2001
+
1973
2002
  export declare const ILLUSTRATIONS: {
1974
2003
  ALARM_CLOCK_ORANGE: string;
1975
2004
  ALARM_CLOCK_PURPLE: string;
@@ -1986,6 +2015,7 @@ export declare const ILLUSTRATIONS: {
1986
2015
  CALENDAR_BLUE: string;
1987
2016
  CALENDAR_GRAY: string;
1988
2017
  CALENDAR_GREEN: string;
2018
+ CALENDAR_PURPLE: string;
1989
2019
  CAUTION: string;
1990
2020
  CHAPTER_10: string;
1991
2021
  CHAPTER_1: string;
@@ -2025,6 +2055,7 @@ export declare const ILLUSTRATIONS: {
2025
2055
  GRADUATE_PINK_FILLED_BG: string;
2026
2056
  GREEN_BALLOON: string;
2027
2057
  GREEN_FACE: string;
2058
+ HANDSHAKE: string;
2028
2059
  LEARNED_SHIELD_GRAY: string;
2029
2060
  LEARNED_SHIELD_GREEN: string;
2030
2061
  LEARNT: string;
@@ -2043,6 +2074,7 @@ export declare const ILLUSTRATIONS: {
2043
2074
  MILESTONE_INTRO_2: string;
2044
2075
  MILESTONE_INTRO_3: string;
2045
2076
  MISTAKE: string;
2077
+ MONEY: string;
2046
2078
  NODE_ACTIVITY_BG: string;
2047
2079
  NODE_CUSTOM_TEST_BG: string;
2048
2080
  NODE_DOWNLOAD_BG: string;
@@ -2060,6 +2092,7 @@ export declare const ILLUSTRATIONS: {
2060
2092
  NUMBER_4_ORANGE: string;
2061
2093
  ONE_STAR_FILLED: string;
2062
2094
  ORANGE_FACE: string;
2095
+ PARENT_AVATAR: string;
2063
2096
  PEOPLE_WITH_ORANGE_FILL: string;
2064
2097
  PLAY: string;
2065
2098
  PLAY_ICON: string;
@@ -2096,6 +2129,7 @@ export declare const ILLUSTRATIONS: {
2096
2129
  TROPHY_BLUE_FILLED: string;
2097
2130
  TROPHY_CIRCLE: string;
2098
2131
  TROPHY_GREEN: string;
2132
+ TRUSTPILOT: string;
2099
2133
  TWO_STARS_FILLED: string;
2100
2134
  UP_ARROW: string;
2101
2135
  USER_CROWN_GRID_BACKGROUND: string;
@@ -2628,6 +2662,14 @@ declare interface IOpenImageReviewModalProps {
2628
2662
  image?: string;
2629
2663
  }
2630
2664
 
2665
+ declare interface IOTPInputProps {
2666
+ length?: number;
2667
+ value: string;
2668
+ onChange: (val: string) => void;
2669
+ error?: string;
2670
+ isBusy?: boolean;
2671
+ }
2672
+
2631
2673
  declare interface IOTPResendProps {
2632
2674
  onResendOTP: () => void;
2633
2675
  onResendVoiceOTP?: () => void;
@@ -2636,6 +2678,8 @@ declare interface IOTPResendProps {
2636
2678
  disabled?: boolean;
2637
2679
  renderAs?: 'submit' | 'text';
2638
2680
  width?: number | string;
2681
+ textButtonColor?: TColorNames;
2682
+ size?: 'small' | 'xsmall';
2639
2683
  }
2640
2684
 
2641
2685
  declare interface IOutcomeConfig {
@@ -2673,6 +2717,18 @@ declare interface IPerfectHitsProps {
2673
2717
  value: number;
2674
2718
  }
2675
2719
 
2720
+ declare interface IPillButtonProps {
2721
+ id: string;
2722
+ label: string;
2723
+ selected?: boolean;
2724
+ disabled?: boolean;
2725
+ animatedLabel?: string;
2726
+ icon?: string;
2727
+ onClick: (val: string) => void;
2728
+ tooltip?: string;
2729
+ width?: number | string;
2730
+ }
2731
+
2676
2732
  declare interface IPlaceholder {
2677
2733
  text?: string;
2678
2734
  marks?: string;
@@ -3051,6 +3107,15 @@ declare interface ISectionOption<Section = TDefaultSection> {
3051
3107
  data: Section[];
3052
3108
  }
3053
3109
 
3110
+ declare interface ISelectableInfoCardProps {
3111
+ id: string;
3112
+ title: string;
3113
+ description: string;
3114
+ icon: string;
3115
+ selected: boolean;
3116
+ onClick: (val: string) => void;
3117
+ }
3118
+
3054
3119
  declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
3055
3120
  }
3056
3121
 
@@ -3185,6 +3250,15 @@ declare interface ISignupMethodsProps {
3185
3250
  loadingProvider: TSocialAuthProvider | null;
3186
3251
  }
3187
3252
 
3253
+ declare interface ISignupOptionsProps {
3254
+ onEmailSignup: () => void;
3255
+ onGoogleSignup: () => void;
3256
+ onAppleSignup: () => void;
3257
+ onGoToLogin: () => void;
3258
+ loadingProvider: TSocialAuthProvider | null;
3259
+ title?: string;
3260
+ }
3261
+
3188
3262
  export declare interface ISignUpProps {
3189
3263
  circleOnLeapSignedUp: boolean;
3190
3264
  circleOnLeapPremiumEnabled: boolean;
@@ -3340,6 +3414,8 @@ declare interface ISyncableWebGameProps {
3340
3414
  declare interface ITabItem {
3341
3415
  id: string;
3342
3416
  label: string;
3417
+ iconPosition?: 'left' | 'right';
3418
+ Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
3343
3419
  }
3344
3420
 
3345
3421
  export declare interface ITable {
@@ -3411,6 +3487,7 @@ declare interface ITabsProps {
3411
3487
  selectedTab: string;
3412
3488
  onChange: (tab: string) => void;
3413
3489
  tabs: ITabItem[];
3490
+ background?: TColorNames;
3414
3491
  }
3415
3492
 
3416
3493
  export declare interface ITabVariantConfig {
@@ -4204,6 +4281,8 @@ declare const LESSON_TAG_TYPE: {
4204
4281
  readonly DEFAULT: "DEFAULT";
4205
4282
  };
4206
4283
 
4284
+ export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
4285
+
4207
4286
  export declare const loadScript: ILoadScript;
4208
4287
 
4209
4288
  export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
@@ -4218,6 +4297,7 @@ export declare const LOTTIE: {
4218
4297
  ACTIVITY: string;
4219
4298
  ADVANCE_MODE_SEGMENT_LOTTIE: string;
4220
4299
  ALL_DONE: string;
4300
+ ANIMATED_AVATAR: string;
4221
4301
  AVATAR_SELECTED: string;
4222
4302
  BEGINNER1X: string;
4223
4303
  BRONZE_1: string;
@@ -4249,12 +4329,14 @@ export declare const LOTTIE: {
4249
4329
  FAMILIAR1X: string;
4250
4330
  FIFTEEN_MIN_CLOCK: string;
4251
4331
  FIVE_MIN_CLOCK: string;
4332
+ FLYING_DISK: string;
4252
4333
  GIFT: string;
4253
4334
  GOLD_1: string;
4254
4335
  GOLD_2: string;
4255
4336
  GOLD_3: string;
4256
4337
  GOLF: string;
4257
4338
  GRADE: string;
4339
+ GRADUATION_CAP: string;
4258
4340
  HIGH_SCORE_CONFETTI: string;
4259
4341
  HIGH_SCORE_TEXT: string;
4260
4342
  INFINITE_BUTTON_BG: string;
@@ -4265,17 +4347,21 @@ export declare const LOTTIE: {
4265
4347
  LEVELUP_RINGS: string;
4266
4348
  LEVEL_1_ALLSTAR: string;
4267
4349
  LIGHTNING: string;
4350
+ LIGHT_BULB: string;
4268
4351
  MAGICWAND: string;
4269
4352
  MAIL: string;
4270
4353
  MECHANICAL_ARM: string;
4271
4354
  MEDAL: string;
4272
4355
  MEDIUM: string;
4356
+ MUSCLE: string;
4273
4357
  NUDGE_TAP: string;
4274
4358
  OTP: string;
4275
4359
  PARENT_AVATAR: string;
4276
4360
  PARTY_BALL: string;
4277
4361
  PARTY_POPPER: string;
4362
+ PENCIL: string;
4278
4363
  PHONE_NUMBER: string;
4364
+ PLUS_SIGN: string;
4279
4365
  POINT100: string;
4280
4366
  POINT10: string;
4281
4367
  POINT15: string;
@@ -4296,9 +4382,12 @@ export declare const LOTTIE: {
4296
4382
  PROFICIENT1X: string;
4297
4383
  PROJECT: string;
4298
4384
  PUZZLE: string;
4385
+ RACING_CAR: string;
4299
4386
  RANDOM_MODE_SEGMENT_LOTTIE: string;
4300
4387
  RECAP: string;
4388
+ ROCKET: string;
4301
4389
  SEQUENCE_MODE_SEGMENT_LOTTIE: string;
4390
+ SHOVEL: string;
4302
4391
  SILVER_1: string;
4303
4392
  SILVER_2: string;
4304
4393
  SILVER_3: string;
@@ -4361,6 +4450,8 @@ export declare const ModalProvider: FC<IModalProviderProps>;
4361
4450
 
4362
4451
  export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4363
4452
 
4453
+ export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4454
+
4364
4455
  export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
4365
4456
 
4366
4457
  export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -4514,8 +4605,12 @@ declare interface NumRangeInputProps {
4514
4605
  endPlaceholder?: string;
4515
4606
  }
4516
4607
 
4608
+ export declare const OnboardingGuide: () => JSX.Element;
4609
+
4517
4610
  export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
4518
4611
 
4612
+ export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
4613
+
4519
4614
  export declare type OutcomeStage = keyof typeof STAGES;
4520
4615
 
4521
4616
  export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
@@ -4528,6 +4623,8 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
4528
4623
 
4529
4624
  export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
4530
4625
 
4626
+ export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
4627
+
4531
4628
  /**
4532
4629
  ** Global/Platform specific events that needs to be tracked goes here
4533
4630
  ** Naming convention needs to be snake_case
@@ -4707,6 +4804,8 @@ declare enum SECTION_CODE {
4707
4804
 
4708
4805
  export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
4709
4806
 
4807
+ export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
4808
+
4710
4809
  export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
4711
4810
 
4712
4811
  export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
@@ -4762,8 +4861,12 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
4762
4861
 
4763
4862
  export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
4764
4863
 
4864
+ export declare const SignupHeader: () => JSX.Element;
4865
+
4765
4866
  export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
4766
4867
 
4868
+ export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
4869
+
4767
4870
  declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4768
4871
  export { SketchIcon as ScribbleIcon }
4769
4872
  export { SketchIcon }
@@ -4858,7 +4961,7 @@ declare const TAB_CODES: {
4858
4961
 
4859
4962
  export declare const TabComponent: React_2.FC<ITabProps>;
4860
4963
 
4861
- export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
4964
+ export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background }: ITabsProps) => JSX.Element>;
4862
4965
 
4863
4966
  export declare type TAction = EventToPayload<TInclassMessage>;
4864
4967
 
@@ -4947,7 +5050,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
4947
5050
 
4948
5051
  export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
4949
5052
 
4950
- export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
5053
+ export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
4951
5054
 
4952
5055
  declare type TCallback = (messages: TInclassMessage[]) => void;
4953
5056