@cuemath/leap 3.2.17-as1 → 3.2.17-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 (107) 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/comps/animated-avatar-message/animated-avatar-message-constants.js +9 -0
  14. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +1 -0
  15. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +52 -0
  16. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +1 -0
  17. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +95 -0
  18. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +1 -0
  19. package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js +10 -0
  20. package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text-styled.js.map +1 -0
  21. package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js +17 -0
  22. package/dist/features/auth/comps/animated-avatar-message/animated-text/animated-text.js.map +1 -0
  23. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +18 -13
  24. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  25. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +12 -0
  26. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +1 -0
  27. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +34 -0
  28. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -0
  29. package/dist/features/auth/comps/otp-input/otp-input-styled.js +22 -0
  30. package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +1 -0
  31. package/dist/features/auth/comps/otp-input/otp-input.js +51 -0
  32. package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -0
  33. package/dist/features/auth/comps/pill-button/pill-button-styled.js +44 -0
  34. package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -0
  35. package/dist/features/auth/comps/pill-button/pill-button.js +75 -0
  36. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -0
  37. package/dist/features/auth/comps/resend-otp/resend-otp.js +54 -47
  38. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
  39. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +17 -0
  40. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +1 -0
  41. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +67 -0
  42. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +1 -0
  43. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +29 -17
  44. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
  45. package/dist/features/auth/comps/tabs/tabs-styled.js +22 -10
  46. package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
  47. package/dist/features/auth/comps/tabs/tabs.js +5 -5
  48. package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
  49. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +19 -0
  50. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -0
  51. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +32 -0
  52. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -0
  53. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +44 -0
  54. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -0
  55. package/dist/features/auth/pla-signup/signup-header/signup-header.js +54 -0
  56. package/dist/features/auth/pla-signup/signup-header/signup-header.js.map +1 -0
  57. package/dist/features/auth/pla-signup/signup-options/signup-options.js +83 -0
  58. package/dist/features/auth/pla-signup/signup-options/signup-options.js.map +1 -0
  59. package/dist/features/ui/drawer/drawer-styled.js +34 -0
  60. package/dist/features/ui/drawer/drawer-styled.js.map +1 -0
  61. package/dist/features/ui/drawer/drawer.js +42 -0
  62. package/dist/features/ui/drawer/drawer.js.map +1 -0
  63. package/dist/features/ui/image/image.js +1 -1
  64. package/dist/features/ui/image/image.js.map +1 -1
  65. package/dist/features/ui/theme/button.js +78 -78
  66. package/dist/features/ui/theme/button.js.map +1 -1
  67. package/dist/index.d.ts +119 -33
  68. package/dist/index.js +474 -452
  69. package/dist/index.js.map +1 -1
  70. package/dist/node_modules/decode-uri-component/index.js.map +1 -0
  71. package/dist/node_modules/query-string/base.js +1 -1
  72. package/dist/node_modules/uuid/dist/esm-browser/native.js +7 -0
  73. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  74. package/dist/node_modules/uuid/dist/esm-browser/rng.js +3 -2
  75. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  76. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +6 -10
  77. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  78. package/dist/node_modules/uuid/dist/esm-browser/v4.js +12 -9
  79. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  80. package/dist/static/animated-avatar.1ad58b1d.json +1 -0
  81. package/dist/static/animated-avatar.69b07505.json +1 -0
  82. package/dist/static/animated-avatar.9c560b46.json +1 -0
  83. package/dist/static/calendar-purple.1a840b41.svg +1 -0
  84. package/dist/static/flying-disk.c7f6ed39.json +1 -0
  85. package/dist/static/graduation-cap.3be3340a.json +1 -0
  86. package/dist/static/handshake.287e7dfb.svg +1 -0
  87. package/dist/static/light-bulb.c6db0b23.json +1 -0
  88. package/dist/static/money.332aacf1.svg +1 -0
  89. package/dist/static/muscle.9bcfb8a7.json +1 -0
  90. package/dist/static/parent-avatar.822c7b9b.svg +1 -0
  91. package/dist/static/pencil.23df9da0.json +1 -0
  92. package/dist/static/plus-sign.de6af957.json +1 -0
  93. package/dist/static/racing-car.2cbf864e.json +1 -0
  94. package/dist/static/rocket.0a3ccab0.json +1 -0
  95. package/dist/static/shovel.abeec04c.json +1 -0
  96. package/dist/static/trustpilot.bd3d79e1.svg +1 -0
  97. package/package.json +1 -1
  98. package/dist/features/ui/carousal/carousal-styles.js +0 -45
  99. package/dist/features/ui/carousal/carousal-styles.js.map +0 -1
  100. package/dist/features/ui/carousal/carousal.js +0 -76
  101. package/dist/features/ui/carousal/carousal.js.map +0 -1
  102. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +0 -1
  103. package/dist/node_modules/uuid/dist/esm-browser/regex.js +0 -5
  104. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
  105. package/dist/node_modules/uuid/dist/esm-browser/validate.js +0 -8
  106. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
  107. /package/dist/node_modules/{query-string/node_modules/decode-uri-component → decode-uri-component}/index.js +0 -0
@@ -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;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;A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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,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,UAAU;AAAA,IACZ;AAAA,EACF;AAAA,EACA,cAAc;AAAA,IACZ,qBAAqB;AAAA,MACnB,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,iBAAiB;AAAA,MACf,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,EACF;AAAA,EACA,eAAe;AAAA,IACb,qBAAqB;AAAA,MACnB,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,iBAAiB;AAAA,MACf,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,IACA,WAAW;AAAA,MACT,UAAU;AAAA,MACV,QAAQ;AAAA,MACR,UAAU;AAAA,IACZ;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
package/dist/index.d.ts CHANGED
@@ -52,10 +52,14 @@ export declare const AchievementNotShareReasonModal: React_2.FC<IShareInstructio
52
52
 
53
53
  export declare const AchievementShareInstructionModal: React_2.FC<IShareInstructionModalProps>;
54
54
 
55
+ export declare const AfternoonIcon: React.FC<React.SVGProps<SVGSVGElement>>;
56
+
55
57
  export declare const AlertIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
56
58
 
57
59
  export declare const AnimatedArc: React_2.FC<IAnimatedArcProps>;
58
60
 
61
+ export declare const AnimatedAvatarMessage: NamedExoticComponent<IAnimatedAvatarMessageProps>;
62
+
59
63
  export declare const AppLoader: FC<IAppLoaderProps>;
60
64
 
61
65
  export declare const ArcButton: NamedExoticComponent<IArcButtonProps & {
@@ -166,36 +170,6 @@ export declare const CalendarIcon: React.FC<React.SVGProps<SVGSVGElement>>;
166
170
 
167
171
  export declare const Callout: React.FC<ICalloutProps>;
168
172
 
169
- export declare const Carousel: React_2.FC<CarouselProps>;
170
-
171
- declare interface CarouselProps {
172
- children: React_2.ReactNode[] | React_2.ReactNode;
173
- initialPosition?: number;
174
- infinite?: boolean;
175
- slideDuration?: number;
176
- dotColor?: string;
177
- changeColor?: (position: number) => void;
178
- slideAlign?: string | null;
179
- inactiveDotColor?: string;
180
- activeIndicatorSize?: string;
181
- flexCenterIndicators?: boolean;
182
- isTestimonial?: boolean;
183
- setColor?: (position: number) => void;
184
- setPosition?: (position: number) => void;
185
- carouselSlotPadding?: string;
186
- wrapperMargin?: string;
187
- hideIndicators?: boolean;
188
- autoScroll?: boolean;
189
- nodeRef?: {
190
- current?: {
191
- next?: () => void;
192
- prev?: () => void;
193
- position?: number;
194
- };
195
- } | null;
196
- onChange?: () => void;
197
- }
198
-
199
173
  export declare const CascadingSelectInput: React_2.FC<ICascadingSelectInputProps>;
200
174
 
201
175
  export declare const Chapter: FC<IChapterProps>;
@@ -378,6 +352,8 @@ export declare const DraftIcon: React.FC<React.SVGProps<SVGSVGElement>>;
378
352
 
379
353
  export declare const DragIcon: React.FC<React.SVGProps<SVGSVGElement>>;
380
354
 
355
+ export declare const Drawer: FC<IDrawerProps>;
356
+
381
357
  export declare const DynamicPreviewWorksheet: FC<IDynamicWorksheetPreview>;
382
358
 
383
359
  export declare enum EClassTimeAlertLevel {
@@ -450,6 +426,8 @@ declare interface ErrorProps {
450
426
  handleClick: () => void;
451
427
  }
452
428
 
429
+ export declare const EveningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
430
+
453
431
  export declare const EVENTS: {
454
432
  PUZZLE_FEEDBACK_CELEBRATION: "PUZZLE_FEEDBACK_CELEBRATION";
455
433
  HOMEWORK_UNASSIGN: "HOMEWORK_UNASSIGN";
@@ -674,6 +652,21 @@ declare interface IAnimatedArcProps {
674
652
  showAnimatedRainbowArc?: boolean;
675
653
  }
676
654
 
655
+ declare interface IAnimatedAvatarMessageProps {
656
+ message: string;
657
+ onShowContent: (show: boolean) => void;
658
+ confirmationFrames: [number, number];
659
+ confirmationMessage?: string;
660
+ isConfirmationVisible?: boolean;
661
+ ref: React.Ref<IAnimatedAvatarMessageRef>;
662
+ height?: string | number;
663
+ }
664
+
665
+ export declare type IAnimatedAvatarMessageRef = {
666
+ fadeOutMessage: () => Promise<void>;
667
+ playConfirmationFrames: () => Promise<void>;
668
+ };
669
+
677
670
  declare interface IAppLoaderProps {
678
671
  width?: string | number;
679
672
  height?: string | number;
@@ -719,6 +712,7 @@ declare interface IAuthPageLayoutProps {
719
712
  leftBlock: ReactElement;
720
713
  rightBlock?: ReactElement;
721
714
  isFullWidth?: boolean;
715
+ rightBlockBg?: TColorNames;
722
716
  }
723
717
 
724
718
  declare interface IAuthStaticPanelProps {
@@ -1375,6 +1369,16 @@ declare interface IDigitalMeterProps {
1375
1369
  actAsTimer?: boolean;
1376
1370
  }
1377
1371
 
1372
+ declare interface IDrawerProps {
1373
+ isOpen: boolean;
1374
+ onClose?: () => void;
1375
+ children: ReactNode;
1376
+ drawerWidth?: number | string;
1377
+ position?: 'left' | 'right';
1378
+ zIndex?: number;
1379
+ theme: 'light' | 'dark';
1380
+ }
1381
+
1378
1382
  declare interface IDynamicWorksheetPreview {
1379
1383
  studentId: string;
1380
1384
  userNodeId: string;
@@ -1634,7 +1638,7 @@ declare interface IIdentifierOtpFormProps {
1634
1638
  }
1635
1639
 
1636
1640
  declare interface IImageProps extends ImgHTMLAttributes<HTMLImageElement> {
1637
- withLoader: boolean;
1641
+ withLoader?: boolean;
1638
1642
  borderRadius?: number;
1639
1643
  borderColor?: TColorNames;
1640
1644
  }
@@ -2008,6 +2012,14 @@ export declare interface ILessonWebGameProps extends IBaseWebGameProps, ISyncabl
2008
2012
  targetQuestions: number;
2009
2013
  }
2010
2014
 
2015
+ declare interface ILinearProgressBarProps {
2016
+ percentage: number;
2017
+ height?: number;
2018
+ backgroundColor?: TColorNames;
2019
+ fillColor?: TColorNames;
2020
+ borderRadius?: number;
2021
+ }
2022
+
2011
2023
  export declare const ILLUSTRATIONS: {
2012
2024
  ALARM_CLOCK_ORANGE: string;
2013
2025
  ALARM_CLOCK_PURPLE: string;
@@ -2024,6 +2036,7 @@ export declare const ILLUSTRATIONS: {
2024
2036
  CALENDAR_BLUE: string;
2025
2037
  CALENDAR_GRAY: string;
2026
2038
  CALENDAR_GREEN: string;
2039
+ CALENDAR_PURPLE: string;
2027
2040
  CAUTION: string;
2028
2041
  CHAPTER_10: string;
2029
2042
  CHAPTER_1: string;
@@ -2063,6 +2076,7 @@ export declare const ILLUSTRATIONS: {
2063
2076
  GRADUATE_PINK_FILLED_BG: string;
2064
2077
  GREEN_BALLOON: string;
2065
2078
  GREEN_FACE: string;
2079
+ HANDSHAKE: string;
2066
2080
  LEARNED_SHIELD_GRAY: string;
2067
2081
  LEARNED_SHIELD_GREEN: string;
2068
2082
  LEARNT: string;
@@ -2081,6 +2095,7 @@ export declare const ILLUSTRATIONS: {
2081
2095
  MILESTONE_INTRO_2: string;
2082
2096
  MILESTONE_INTRO_3: string;
2083
2097
  MISTAKE: string;
2098
+ MONEY: string;
2084
2099
  NODE_ACTIVITY_BG: string;
2085
2100
  NODE_CUSTOM_TEST_BG: string;
2086
2101
  NODE_DOWNLOAD_BG: string;
@@ -2098,6 +2113,7 @@ export declare const ILLUSTRATIONS: {
2098
2113
  NUMBER_4_ORANGE: string;
2099
2114
  ONE_STAR_FILLED: string;
2100
2115
  ORANGE_FACE: string;
2116
+ PARENT_AVATAR: string;
2101
2117
  PEOPLE_WITH_ORANGE_FILL: string;
2102
2118
  PLAY: string;
2103
2119
  PLAY_ICON: string;
@@ -2134,6 +2150,7 @@ export declare const ILLUSTRATIONS: {
2134
2150
  TROPHY_BLUE_FILLED: string;
2135
2151
  TROPHY_CIRCLE: string;
2136
2152
  TROPHY_GREEN: string;
2153
+ TRUSTPILOT: string;
2137
2154
  TWO_STARS_FILLED: string;
2138
2155
  UP_ARROW: string;
2139
2156
  USER_CROWN_GRID_BACKGROUND: string;
@@ -2666,6 +2683,14 @@ declare interface IOpenImageReviewModalProps {
2666
2683
  image?: string;
2667
2684
  }
2668
2685
 
2686
+ declare interface IOTPInputProps {
2687
+ length?: number;
2688
+ value: string;
2689
+ onChange: (val: string) => void;
2690
+ error?: string;
2691
+ isBusy?: boolean;
2692
+ }
2693
+
2669
2694
  declare interface IOTPResendProps {
2670
2695
  onResendOTP: () => void;
2671
2696
  onResendVoiceOTP?: () => void;
@@ -2674,6 +2699,8 @@ declare interface IOTPResendProps {
2674
2699
  disabled?: boolean;
2675
2700
  renderAs?: 'submit' | 'text';
2676
2701
  width?: number | string;
2702
+ textButtonColor?: TColorNames;
2703
+ size?: 'small' | 'xsmall';
2677
2704
  }
2678
2705
 
2679
2706
  declare interface IOutcomeConfig {
@@ -2711,6 +2738,18 @@ declare interface IPerfectHitsProps {
2711
2738
  value: number;
2712
2739
  }
2713
2740
 
2741
+ declare interface IPillButtonProps {
2742
+ id: string;
2743
+ label: string;
2744
+ selected?: boolean;
2745
+ disabled?: boolean;
2746
+ animatedLabel?: string;
2747
+ icon?: string;
2748
+ onClick: (val: string) => void;
2749
+ tooltip?: string;
2750
+ width?: number | string;
2751
+ }
2752
+
2714
2753
  declare interface IPlaceholder {
2715
2754
  text?: string;
2716
2755
  marks?: string;
@@ -3098,6 +3137,15 @@ declare interface ISectionOption<Section = TDefaultSection> {
3098
3137
  data: Section[];
3099
3138
  }
3100
3139
 
3140
+ declare interface ISelectableInfoCardProps {
3141
+ id: string;
3142
+ title: string;
3143
+ description: string;
3144
+ icon: string;
3145
+ selected: boolean;
3146
+ onClick: (val: string) => void;
3147
+ }
3148
+
3101
3149
  declare interface ISelectInputProps<IDType extends string | number> extends Omit<IBaseSelectInputProps<IDType>, 'searchable' | 'searchText' | 'onSearchTextChange'> {
3102
3150
  }
3103
3151
 
@@ -3232,6 +3280,15 @@ declare interface ISignupMethodsProps {
3232
3280
  loadingProvider: TSocialAuthProvider | null;
3233
3281
  }
3234
3282
 
3283
+ declare interface ISignupOptionsProps {
3284
+ onEmailSignup: () => void;
3285
+ onGoogleSignup: () => void;
3286
+ onAppleSignup: () => void;
3287
+ onGoToLogin: () => void;
3288
+ loadingProvider: TSocialAuthProvider | null;
3289
+ title?: string;
3290
+ }
3291
+
3235
3292
  export declare interface ISignUpProps {
3236
3293
  circleOnLeapSignedUp: boolean;
3237
3294
  circleOnLeapPremiumEnabled: boolean;
@@ -3387,6 +3444,8 @@ declare interface ISyncableWebGameProps {
3387
3444
  declare interface ITabItem {
3388
3445
  id: string;
3389
3446
  label: string;
3447
+ iconPosition?: 'left' | 'right';
3448
+ Icon?: React.FC<React.SVGProps<SVGSVGElement>>;
3390
3449
  }
3391
3450
 
3392
3451
  export declare interface ITable {
@@ -3458,6 +3517,7 @@ declare interface ITabsProps {
3458
3517
  selectedTab: string;
3459
3518
  onChange: (tab: string) => void;
3460
3519
  tabs: ITabItem[];
3520
+ background?: TColorNames;
3461
3521
  }
3462
3522
 
3463
3523
  export declare interface ITabVariantConfig {
@@ -4250,6 +4310,8 @@ declare const LESSON_TAG_TYPE: {
4250
4310
  readonly DEFAULT: "DEFAULT";
4251
4311
  };
4252
4312
 
4313
+ export declare const LinearProgressBar: NamedExoticComponent<ILinearProgressBarProps>;
4314
+
4253
4315
  export declare const loadScript: ILoadScript;
4254
4316
 
4255
4317
  export declare const Lock2Icon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
@@ -4264,6 +4326,7 @@ export declare const LOTTIE: {
4264
4326
  ACTIVITY: string;
4265
4327
  ADVANCE_MODE_SEGMENT_LOTTIE: string;
4266
4328
  ALL_DONE: string;
4329
+ ANIMATED_AVATAR: string;
4267
4330
  AVATAR_SELECTED: string;
4268
4331
  BEGINNER1X: string;
4269
4332
  BRONZE_1: string;
@@ -4295,12 +4358,14 @@ export declare const LOTTIE: {
4295
4358
  FAMILIAR1X: string;
4296
4359
  FIFTEEN_MIN_CLOCK: string;
4297
4360
  FIVE_MIN_CLOCK: string;
4361
+ FLYING_DISK: string;
4298
4362
  GIFT: string;
4299
4363
  GOLD_1: string;
4300
4364
  GOLD_2: string;
4301
4365
  GOLD_3: string;
4302
4366
  GOLF: string;
4303
4367
  GRADE: string;
4368
+ GRADUATION_CAP: string;
4304
4369
  HIGH_SCORE_CONFETTI: string;
4305
4370
  HIGH_SCORE_TEXT: string;
4306
4371
  INFINITE_BUTTON_BG: string;
@@ -4311,17 +4376,21 @@ export declare const LOTTIE: {
4311
4376
  LEVELUP_RINGS: string;
4312
4377
  LEVEL_1_ALLSTAR: string;
4313
4378
  LIGHTNING: string;
4379
+ LIGHT_BULB: string;
4314
4380
  MAGICWAND: string;
4315
4381
  MAIL: string;
4316
4382
  MECHANICAL_ARM: string;
4317
4383
  MEDAL: string;
4318
4384
  MEDIUM: string;
4385
+ MUSCLE: string;
4319
4386
  NUDGE_TAP: string;
4320
4387
  OTP: string;
4321
4388
  PARENT_AVATAR: string;
4322
4389
  PARTY_BALL: string;
4323
4390
  PARTY_POPPER: string;
4391
+ PENCIL: string;
4324
4392
  PHONE_NUMBER: string;
4393
+ PLUS_SIGN: string;
4325
4394
  POINT100: string;
4326
4395
  POINT10: string;
4327
4396
  POINT15: string;
@@ -4342,9 +4411,12 @@ export declare const LOTTIE: {
4342
4411
  PROFICIENT1X: string;
4343
4412
  PROJECT: string;
4344
4413
  PUZZLE: string;
4414
+ RACING_CAR: string;
4345
4415
  RANDOM_MODE_SEGMENT_LOTTIE: string;
4346
4416
  RECAP: string;
4417
+ ROCKET: string;
4347
4418
  SEQUENCE_MODE_SEGMENT_LOTTIE: string;
4419
+ SHOVEL: string;
4348
4420
  SILVER_1: string;
4349
4421
  SILVER_2: string;
4350
4422
  SILVER_3: string;
@@ -4407,6 +4479,8 @@ export declare const ModalProvider: FC<IModalProviderProps>;
4407
4479
 
4408
4480
  export declare const MoreVerticalIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4409
4481
 
4482
+ export declare const MorningIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4483
+
4410
4484
  export declare const MultiTabBlocker: FC<PropsWithChildren<IMultiTabBlockerProps>>;
4411
4485
 
4412
4486
  export declare const Next2Icon: React.FC<React.SVGProps<SVGSVGElement>>;
@@ -4560,8 +4634,12 @@ declare interface NumRangeInputProps {
4560
4634
  endPlaceholder?: string;
4561
4635
  }
4562
4636
 
4637
+ export declare const OnboardingGuide: () => JSX.Element;
4638
+
4563
4639
  export declare const OTPForm: MemoExoticComponent<({ onSubmit, onChange, value, error, isProcessing, isValid, helperText, }: ISingleFieldFormProps) => JSX.Element>;
4564
4640
 
4641
+ export declare const OTPInput: NamedExoticComponent<IOTPInputProps>;
4642
+
4565
4643
  export declare type OutcomeStage = keyof typeof STAGES;
4566
4644
 
4567
4645
  export declare const OverlayLoader: MemoExoticComponent<({ isLoading }: {
@@ -4574,6 +4652,8 @@ export declare const PercentileInput: React_2.ForwardRefExoticComponent<IPercent
4574
4652
 
4575
4653
  export declare const PerfectHits: NamedExoticComponent<IPerfectHitsProps>;
4576
4654
 
4655
+ export declare const PillButton: NamedExoticComponent<IPillButtonProps>;
4656
+
4577
4657
  /**
4578
4658
  ** Global/Platform specific events that needs to be tracked goes here
4579
4659
  ** Naming convention needs to be snake_case
@@ -4759,6 +4839,8 @@ declare enum SECTION_CODE {
4759
4839
 
4760
4840
  export declare const SectionList: <Section extends string | number | TDefaultSection>(props: ISectionList<Section>) => ReactElement;
4761
4841
 
4842
+ export declare const SelectableInfoCard: MemoExoticComponent<({ id, title, description, icon, selected, onClick, }: ISelectableInfoCardProps) => JSX.Element>;
4843
+
4762
4844
  export declare const SelectInput: <IDType extends string | number>(props: ISelectInputProps<IDType>) => ReactElement;
4763
4845
 
4764
4846
  export declare const SelectionCards: <IDType extends string | number>({ options, value, values, onChange, analyticsLabel, analyticsProps, type, $background, $selectedBackground, $cardWidth, }: ISelectionCardListProps<IDType>) => JSX.Element;
@@ -4814,8 +4896,12 @@ export declare const SheetLocked: MemoExoticComponent<({ onHomeClick }: {
4814
4896
 
4815
4897
  export declare const SignUp: ({ mathGymEnrolledUser, circleEnrolledUser, circleOnLeapPremiumDays, circleUsername, countryCode, grade: defaultGrade, state, circleOnLeapPremiumEnabled, studentId, isSignUpProcessing, onCreateUser, onUpdateUser, onSignupStepsComplete, }: ISignUpProps) => JSX.Element;
4816
4898
 
4899
+ export declare const SignupHeader: () => JSX.Element;
4900
+
4817
4901
  export declare const SignupMethods: NamedExoticComponent<ISignupMethodsProps>;
4818
4902
 
4903
+ export declare const SignupOptions: NamedExoticComponent<ISignupOptionsProps>;
4904
+
4819
4905
  declare const SketchIcon: React.FC<React.SVGProps<SVGSVGElement>>;
4820
4906
  export { SketchIcon as ScribbleIcon }
4821
4907
  export { SketchIcon }
@@ -4914,7 +5000,7 @@ declare const TAB_CODES: {
4914
5000
 
4915
5001
  export declare const TabComponent: React_2.FC<ITabProps>;
4916
5002
 
4917
- export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs }: ITabsProps) => JSX.Element>;
5003
+ export declare const Tabs: MemoExoticComponent<({ selectedTab, onChange, tabs, background }: ITabsProps) => JSX.Element>;
4918
5004
 
4919
5005
  export declare type TAction = EventToPayload<TInclassMessage>;
4920
5006
 
@@ -5003,7 +5089,7 @@ declare type TBlockType = keyof typeof BLOCK_TYPE_2;
5003
5089
 
5004
5090
  export declare type TButtonSizes = 'xsmall' | 'small' | 'regular' | 'medium' | 'large';
5005
5091
 
5006
- export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark';
5092
+ export declare type TButtonVariants = 'primary' | 'secondary' | 'tertiary' | 'secondary-gray' | 'secondary-dark' | 'black' | 'black-dark' | 'yellow-dark';
5007
5093
 
5008
5094
  declare type TCallback = (messages: TInclassMessage[]) => void;
5009
5095