@cuemath/leap 3.2.20-beta-0.2 → 3.2.21-m
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item.js +43 -43
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-item.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.js +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-utils.js.map +1 -1
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +12 -19
- package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +1 -1
- package/dist/features/chapters-v2/constants/block-constants.js +2 -3
- package/dist/features/chapters-v2/constants/block-constants.js.map +1 -1
- package/dist/features/chapters-v2/utils/index.js +4 -6
- package/dist/features/chapters-v2/utils/index.js.map +1 -1
- package/dist/features/chapters-v2/utils/node-card-utils.js +0 -4
- package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
- package/dist/features/sheets/constants/sheet.js +1 -2
- package/dist/features/sheets/constants/sheet.js.map +1 -1
- package/dist/features/ui/buttons/button/button.js +38 -41
- package/dist/features/ui/buttons/button/button.js.map +1 -1
- package/dist/features/ui/buttons/icon-button/icon-button.js +27 -31
- package/dist/features/ui/buttons/icon-button/icon-button.js.map +1 -1
- package/dist/features/ui/buttons/text-button/text-button.js +22 -26
- package/dist/features/ui/buttons/text-button/text-button.js.map +1 -1
- package/dist/features/ui/grade-selector/grade-selector.js +27 -33
- package/dist/features/ui/grade-selector/grade-selector.js.map +1 -1
- package/dist/features/ui/tab/tab.js +26 -30
- package/dist/features/ui/tab/tab.js.map +1 -1
- package/dist/index.d.ts +3 -15
- package/dist/index.js +261 -263
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
@@ -1,38 +1,34 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { memo as
|
3
|
-
import {
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import {
|
7
|
-
|
8
|
-
import { IconButtonWrapper as C, IconWrapper as O } from "./icon-button-styled.js";
|
9
|
-
const h = b((m) => {
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
2
|
+
import { memo as p } from "react";
|
3
|
+
import { ILLUSTRATIONS as u } from "../../../../assets/illustrations/illustrations.js";
|
4
|
+
import f from "../../hooks/use-click-handler.js";
|
5
|
+
import { Loader as I } from "../button/button-styled.js";
|
6
|
+
import { IconButtonWrapper as $, IconWrapper as C } from "./icon-button-styled.js";
|
7
|
+
const L = p((n) => {
|
10
8
|
const {
|
11
|
-
Icon:
|
12
|
-
size:
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
return /* @__PURE__ */ e(
|
24
|
-
C,
|
9
|
+
Icon: e,
|
10
|
+
size: r,
|
11
|
+
onClick: s,
|
12
|
+
renderAs: t,
|
13
|
+
disabled: c,
|
14
|
+
analyticsLabel: i,
|
15
|
+
analyticsProps: l,
|
16
|
+
customBgColor: m,
|
17
|
+
busy: a
|
18
|
+
} = n, { handleClick: d } = f({ analyticsLabel: i, analyticsProps: l }, s);
|
19
|
+
return /* @__PURE__ */ o(
|
20
|
+
$,
|
25
21
|
{
|
26
|
-
disabled:
|
27
|
-
$size:
|
28
|
-
$buttonRenderAs:
|
29
|
-
onClick:
|
30
|
-
$customBgColor:
|
31
|
-
children:
|
22
|
+
disabled: c,
|
23
|
+
$size: r,
|
24
|
+
$buttonRenderAs: t,
|
25
|
+
onClick: d,
|
26
|
+
$customBgColor: m,
|
27
|
+
children: a ? /* @__PURE__ */ o(I, { src: u.LOADER, alt: "Loader", $size: r || "small" }) : /* @__PURE__ */ o(C, { $size: r, $buttonRenderAs: t, children: /* @__PURE__ */ o(e, {}) })
|
32
28
|
}
|
33
29
|
);
|
34
|
-
}),
|
30
|
+
}), h = L;
|
35
31
|
export {
|
36
|
-
|
32
|
+
h as default
|
37
33
|
};
|
38
34
|
//# sourceMappingURL=icon-button.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"icon-button.js","sources":["../../../../../src/features/ui/buttons/icon-button/icon-button.tsx"],"sourcesContent":["import type { IIconButtonProps } from './icon-button-types';\n\nimport { memo,
|
1
|
+
{"version":3,"file":"icon-button.js","sources":["../../../../../src/features/ui/buttons/icon-button/icon-button.tsx"],"sourcesContent":["import type { IIconButtonProps } from './icon-button-types';\n\nimport { memo, type FC } from 'react';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport useClickHandler from '../../hooks/use-click-handler';\nimport { Loader } from '../button/button-styled';\nimport * as Styled from './icon-button-styled';\n\nconst IconButton: FC<IIconButtonProps> = memo(props => {\n const {\n Icon,\n size,\n onClick,\n renderAs,\n disabled,\n analyticsLabel,\n analyticsProps,\n customBgColor,\n busy,\n } = props;\n const { handleClick } = useClickHandler({ analyticsLabel, analyticsProps }, onClick);\n\n return (\n <Styled.IconButtonWrapper\n disabled={disabled}\n $size={size}\n $buttonRenderAs={renderAs}\n onClick={handleClick}\n $customBgColor={customBgColor}\n >\n {busy ? (\n <Loader src={ILLUSTRATIONS.LOADER} alt=\"Loader\" $size={size || 'small'} />\n ) : (\n <Styled.IconWrapper $size={size} $buttonRenderAs={renderAs}>\n <Icon />\n </Styled.IconWrapper>\n )}\n </Styled.IconButtonWrapper>\n );\n});\n\nexport default IconButton;\n"],"names":["IconButton","memo","props","Icon","size","onClick","renderAs","disabled","analyticsLabel","analyticsProps","customBgColor","busy","handleClick","useClickHandler","jsx","Styled.IconButtonWrapper","Loader","ILLUSTRATIONS","Styled.IconWrapper","IconButton$1"],"mappings":";;;;;;AASA,MAAMA,IAAmCC,EAAK,CAASC,MAAA;AAC/C,QAAA;AAAA,IACJ,MAAAC;AAAA,IACA,MAAAC;AAAA,IACA,SAAAC;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,eAAAC;AAAA,IACA,MAAAC;AAAA,EACE,IAAAT,GACE,EAAE,aAAAU,MAAgBC,EAAgB,EAAE,gBAAAL,GAAgB,gBAAAC,EAAA,GAAkBJ,CAAO;AAGjF,SAAA,gBAAAS;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,UAAAR;AAAA,MACA,OAAOH;AAAA,MACP,iBAAiBE;AAAA,MACjB,SAASM;AAAA,MACT,gBAAgBF;AAAA,MAEf,UAAAC,sBACEK,GAAO,EAAA,KAAKC,EAAc,QAAQ,KAAI,UAAS,OAAOb,KAAQ,SAAS,IAEvE,gBAAAU,EAAAI,GAAA,EAAmB,OAAOd,GAAM,iBAAiBE,GAChD,UAAC,gBAAAQ,EAAAX,GAAA,CAAA,CAAK,EACR,CAAA;AAAA,IAAA;AAAA,EAAA;AAIR,CAAC,GAEDgB,IAAenB;"}
|
@@ -1,34 +1,30 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import {
|
3
|
-
import
|
4
|
-
import {
|
5
|
-
import $ from "../clickable/clickable.js";
|
6
|
-
import { Text as h } from "./text-button-styled.js";
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
2
|
+
import { useTheme as x } from "styled-components";
|
3
|
+
import a from "../clickable/clickable.js";
|
4
|
+
import { Text as f } from "./text-button-styled.js";
|
7
5
|
const l = ({
|
8
|
-
label:
|
9
|
-
size:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
analyticsProps: s,
|
16
|
-
color: x
|
6
|
+
label: t,
|
7
|
+
size: o = "regular",
|
8
|
+
disabled: e = !1,
|
9
|
+
onClick: n,
|
10
|
+
analyticsLabel: s,
|
11
|
+
analyticsProps: i,
|
12
|
+
color: m
|
17
13
|
}) => {
|
18
|
-
const { textButton:
|
19
|
-
return /* @__PURE__ */
|
20
|
-
|
14
|
+
const { textButton: c } = x(), { textVariant: u } = c.sizes[o];
|
15
|
+
return /* @__PURE__ */ r(
|
16
|
+
a,
|
21
17
|
{
|
22
|
-
label:
|
23
|
-
disabled:
|
24
|
-
onClick:
|
25
|
-
analyticsLabel:
|
26
|
-
analyticsProps:
|
27
|
-
children: /* @__PURE__ */
|
18
|
+
label: t,
|
19
|
+
disabled: e,
|
20
|
+
onClick: n,
|
21
|
+
analyticsLabel: s,
|
22
|
+
analyticsProps: i,
|
23
|
+
children: /* @__PURE__ */ r(f, { $color: m, $renderAs: u, $buttonSize: o, children: t })
|
28
24
|
}
|
29
25
|
);
|
30
|
-
},
|
26
|
+
}, h = l;
|
31
27
|
export {
|
32
|
-
|
28
|
+
h as default
|
33
29
|
};
|
34
30
|
//# sourceMappingURL=text-button.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"text-button.js","sources":["../../../../../src/features/ui/buttons/text-button/text-button.tsx"],"sourcesContent":["import type { ITextButtonProps } from './text-button-types';\n\nimport React
|
1
|
+
{"version":3,"file":"text-button.js","sources":["../../../../../src/features/ui/buttons/text-button/text-button.tsx"],"sourcesContent":["import type { ITextButtonProps } from './text-button-types';\n\nimport React from 'react';\nimport { useTheme } from 'styled-components';\n\nimport Clickable from '../clickable/clickable';\nimport * as Styled from './text-button-styled';\n\nconst TextButton: React.FC<ITextButtonProps> = ({\n label,\n size = 'regular',\n disabled = false,\n onClick,\n analyticsLabel,\n analyticsProps,\n color,\n}) => {\n const { textButton } = useTheme();\n const { textVariant } = textButton.sizes[size];\n\n return (\n <Clickable\n label={label}\n disabled={disabled}\n onClick={onClick}\n analyticsLabel={analyticsLabel}\n analyticsProps={analyticsProps}\n >\n <Styled.Text $color={color} $renderAs={textVariant} $buttonSize={size}>\n {label}\n </Styled.Text>\n </Clickable>\n );\n};\n\nexport default TextButton;\n"],"names":["TextButton","label","size","disabled","onClick","analyticsLabel","analyticsProps","color","textButton","useTheme","textVariant","jsx","Clickable","Styled.Text","TextButton$1"],"mappings":";;;;AAQA,MAAMA,IAAyC,CAAC;AAAA,EAC9C,OAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,UAAAC,IAAW;AAAA,EACX,SAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,OAAAC;AACF,MAAM;AACE,QAAA,EAAE,YAAAC,MAAeC,KACjB,EAAE,aAAAC,EAAgB,IAAAF,EAAW,MAAMN,CAAI;AAG3C,SAAA,gBAAAS;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,OAAAX;AAAA,MACA,UAAAE;AAAA,MACA,SAAAC;AAAA,MACA,gBAAAC;AAAA,MACA,gBAAAC;AAAA,MAEA,UAAA,gBAAAK,EAACE,GAAA,EAAY,QAAQN,GAAO,WAAWG,GAAa,aAAaR,GAC9D,UACHD,EAAA,CAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEAa,IAAed;"}
|
@@ -1,46 +1,40 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import {
|
3
|
-
import
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
renderAs: d,
|
14
|
-
size: e,
|
15
|
-
sizeOnMobile: m,
|
16
|
-
sizeOnTablet: t,
|
17
|
-
layoutAlignment: a
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
2
|
+
import { GradeSelectorWrapper as a } from "./grade-selector-styled.js";
|
3
|
+
import f from "./grade-tab.js";
|
4
|
+
function d({
|
5
|
+
selectedValue: t,
|
6
|
+
onSelect: o,
|
7
|
+
tabsWidth: i,
|
8
|
+
width: l,
|
9
|
+
grades: m,
|
10
|
+
renderAs: n,
|
11
|
+
size: c,
|
12
|
+
layoutAlignment: p
|
18
13
|
}) {
|
19
|
-
|
20
|
-
|
21
|
-
x,
|
14
|
+
return /* @__PURE__ */ r(
|
15
|
+
a,
|
22
16
|
{
|
23
|
-
width:
|
24
|
-
layoutAlignment:
|
17
|
+
width: l,
|
18
|
+
layoutAlignment: p,
|
25
19
|
$alignItems: "center",
|
26
20
|
$flexDirection: "row",
|
27
|
-
children:
|
28
|
-
|
21
|
+
children: m.map((e) => /* @__PURE__ */ r(
|
22
|
+
f,
|
29
23
|
{
|
30
|
-
label:
|
31
|
-
selected:
|
32
|
-
width:
|
33
|
-
onSelect:
|
34
|
-
renderAs:
|
35
|
-
size:
|
36
|
-
grade:
|
24
|
+
label: e === "0" ? "KG" : e,
|
25
|
+
selected: t === e,
|
26
|
+
width: i,
|
27
|
+
onSelect: o,
|
28
|
+
renderAs: n,
|
29
|
+
size: c,
|
30
|
+
grade: e
|
37
31
|
},
|
38
|
-
|
32
|
+
e
|
39
33
|
))
|
40
34
|
}
|
41
35
|
);
|
42
36
|
}
|
43
37
|
export {
|
44
|
-
|
38
|
+
d as default
|
45
39
|
};
|
46
40
|
//# sourceMappingURL=grade-selector.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"grade-selector.js","sources":["../../../../src/features/ui/grade-selector/grade-selector.tsx"],"sourcesContent":["import type { IGradeSelectorProps } from './grade-selector-types';\
|
1
|
+
{"version":3,"file":"grade-selector.js","sources":["../../../../src/features/ui/grade-selector/grade-selector.tsx"],"sourcesContent":["import type { IGradeSelectorProps } from './grade-selector-types';\nimport type { ReactElement } from 'react';\n\nimport * as Styled from './grade-selector-styled';\nimport GradeTab from './grade-tab';\n\nfunction GradeSelector({\n selectedValue,\n onSelect,\n tabsWidth,\n width,\n grades,\n renderAs,\n size,\n layoutAlignment,\n}: IGradeSelectorProps): ReactElement {\n return (\n <Styled.GradeSelectorWrapper\n width={width}\n layoutAlignment={layoutAlignment}\n $alignItems=\"center\"\n $flexDirection=\"row\"\n >\n {grades.map(grade => {\n return (\n <GradeTab\n key={grade}\n label={grade === '0' ? 'KG' : grade}\n selected={selectedValue === grade}\n width={tabsWidth}\n onSelect={onSelect}\n renderAs={renderAs}\n size={size}\n grade={grade}\n />\n );\n })}\n </Styled.GradeSelectorWrapper>\n );\n}\n\nexport default GradeSelector;\n"],"names":["GradeSelector","selectedValue","onSelect","tabsWidth","width","grades","renderAs","size","layoutAlignment","jsx","Styled.GradeSelectorWrapper","grade","GradeTab"],"mappings":";;;AAMA,SAASA,EAAc;AAAA,EACrB,eAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC;AAAA,EACA,iBAAAC;AACF,GAAsC;AAElC,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,OAAAN;AAAA,MACA,iBAAAI;AAAA,MACA,aAAY;AAAA,MACZ,gBAAe;AAAA,MAEd,UAAAH,EAAO,IAAI,CAASM,MAEjB,gBAAAF;AAAA,QAACG;AAAA,QAAA;AAAA,UAEC,OAAOD,MAAU,MAAM,OAAOA;AAAA,UAC9B,UAAUV,MAAkBU;AAAA,UAC5B,OAAOR;AAAA,UACP,UAAAD;AAAA,UACA,UAAAI;AAAA,UACA,MAAAC;AAAA,UACA,OAAAI;AAAA,QAAA;AAAA,QAPKA;AAAA,MAAA,CAUV;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
@@ -1,44 +1,40 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { memo as
|
3
|
-
import { useTheme as
|
4
|
-
import
|
5
|
-
import {
|
6
|
-
|
7
|
-
const B = h(
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
2
|
+
import { memo as c } from "react";
|
3
|
+
import { useTheme as f } from "styled-components";
|
4
|
+
import u from "../text/text.js";
|
5
|
+
import { TabWrapper as T } from "./tab-styled.js";
|
6
|
+
const l = c(
|
8
7
|
({
|
9
|
-
$renderAs:
|
8
|
+
$renderAs: o = "primary",
|
10
9
|
$size: r = "regular",
|
11
|
-
|
12
|
-
$
|
13
|
-
|
14
|
-
$
|
15
|
-
|
16
|
-
|
17
|
-
onClick: u,
|
18
|
-
shape: s = "square"
|
10
|
+
label: m,
|
11
|
+
$selected: t,
|
12
|
+
$width: n,
|
13
|
+
$disabled: a,
|
14
|
+
onClick: p,
|
15
|
+
shape: i = "square"
|
19
16
|
}) => {
|
20
17
|
const {
|
21
|
-
tab: { sizes:
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
A,
|
18
|
+
tab: { sizes: s }
|
19
|
+
} = f();
|
20
|
+
return /* @__PURE__ */ e(
|
21
|
+
T,
|
26
22
|
{
|
27
|
-
$selected:
|
28
|
-
$width:
|
29
|
-
onClick:
|
23
|
+
$selected: t,
|
24
|
+
$width: n,
|
25
|
+
onClick: p,
|
30
26
|
$size: r,
|
31
|
-
$renderAs:
|
32
|
-
$disabled:
|
27
|
+
$renderAs: o,
|
28
|
+
$disabled: a,
|
33
29
|
$justifyContent: "center",
|
34
30
|
$alignItems: "center",
|
35
|
-
$shape:
|
36
|
-
children: /* @__PURE__ */
|
31
|
+
$shape: i,
|
32
|
+
children: /* @__PURE__ */ e(u, { $renderAs: s[r].textVariant, color: t ? "WHITE" : "BLACK", children: m })
|
37
33
|
}
|
38
34
|
);
|
39
35
|
}
|
40
|
-
),
|
36
|
+
), $ = l;
|
41
37
|
export {
|
42
|
-
|
38
|
+
$ as default
|
43
39
|
};
|
44
40
|
//# sourceMappingURL=tab.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tab.js","sources":["../../../../src/features/ui/tab/tab.tsx"],"sourcesContent":["import type { ITabProps } from './tab-types';\n\nimport React, { memo
|
1
|
+
{"version":3,"file":"tab.js","sources":["../../../../src/features/ui/tab/tab.tsx"],"sourcesContent":["import type { ITabProps } from './tab-types';\n\nimport React, { memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport Text from '../text/text';\nimport * as Styled from './tab-styled';\n\nconst TabComponent: React.FC<ITabProps> = memo(\n ({\n $renderAs = 'primary',\n $size = 'regular',\n label,\n $selected,\n $width,\n $disabled,\n onClick,\n shape = 'square',\n }) => {\n const {\n tab: { sizes },\n } = useTheme();\n\n return (\n <Styled.TabWrapper\n $selected={$selected}\n $width={$width}\n onClick={onClick}\n $size={$size}\n $renderAs={$renderAs}\n $disabled={$disabled}\n $justifyContent=\"center\"\n $alignItems=\"center\"\n $shape={shape}\n >\n <Text $renderAs={sizes[$size].textVariant} color={$selected ? 'WHITE' : 'BLACK'}>\n {label}\n </Text>\n </Styled.TabWrapper>\n );\n },\n);\n\nexport default TabComponent;\n"],"names":["TabComponent","memo","$renderAs","$size","label","$selected","$width","$disabled","onClick","shape","sizes","useTheme","jsx","Styled.TabWrapper","Text","TabComponent$1"],"mappings":";;;;;AAQA,MAAMA,IAAoCC;AAAA,EACxC,CAAC;AAAA,IACC,WAAAC,IAAY;AAAA,IACZ,OAAAC,IAAQ;AAAA,IACR,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,WAAAC;AAAA,IACA,SAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,EAAA,MACJ;AACE,UAAA;AAAA,MACJ,KAAK,EAAE,OAAAC,EAAM;AAAA,QACXC,EAAS;AAGX,WAAA,gBAAAC;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,WAAAR;AAAA,QACA,QAAAC;AAAA,QACA,SAAAE;AAAA,QACA,OAAAL;AAAA,QACA,WAAAD;AAAA,QACA,WAAAK;AAAA,QACA,iBAAgB;AAAA,QAChB,aAAY;AAAA,QACZ,QAAQE;AAAA,QAER,UAAA,gBAAAG,EAACE,GAAK,EAAA,WAAWJ,EAAMP,CAAK,EAAE,aAAa,OAAOE,IAAY,UAAU,SACrE,UACHD,EAAA,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF,GAEAW,IAAef;"}
|
package/dist/index.d.ts
CHANGED
@@ -25,7 +25,7 @@ import type { PLUGIN_NAME } from '@cuemath/analytics-v2/dist/constants';
|
|
25
25
|
import { PropsWithChildren } from 'react';
|
26
26
|
import { default as React_2 } from 'react';
|
27
27
|
import * as React_3 from 'react';
|
28
|
-
import { ReactElement } from 'react';
|
28
|
+
import type { ReactElement } from 'react';
|
29
29
|
import { ReactNode } from 'react';
|
30
30
|
import { RefAttributes } from 'react';
|
31
31
|
import { RefObject } from 'react';
|
@@ -134,8 +134,7 @@ declare enum BLOCK_TYPE {
|
|
134
134
|
PUZZLE_CARDS = "PUZZLE_CARDS",
|
135
135
|
SAT_MOCK_TEST = "SAT_MOCK_TEST",
|
136
136
|
STEP_UP = "STEP_UP",
|
137
|
-
CHALLENGE_ARENA = "CHALLENGE_ARENA"
|
138
|
-
DOWNLOADS = "DOWNLOADS"
|
137
|
+
CHALLENGE_ARENA = "CHALLENGE_ARENA"
|
139
138
|
}
|
140
139
|
|
141
140
|
declare const BLOCK_TYPE_2: {
|
@@ -531,8 +530,6 @@ declare enum GENDER {
|
|
531
530
|
OTHER = "OTHER"
|
532
531
|
}
|
533
532
|
|
534
|
-
export declare const getActiveSATSheet: (sheets: TLPARSheetData[]) => TLPARSheetData | undefined;
|
535
|
-
|
536
533
|
declare const getArrowTooltipConfig: IGetArrowTooltipConfig;
|
537
534
|
|
538
535
|
declare const getButtonConfig: IGetButtonConfig;
|
@@ -580,7 +577,7 @@ export declare const GooglePlacesSearchInput: ComponentType<Omit_2<IGooglePlaces
|
|
580
577
|
|
581
578
|
export declare const GradeInput: NamedExoticComponent<ICustomInputFieldProps>;
|
582
579
|
|
583
|
-
export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size,
|
580
|
+
export declare function GradeSelector({ selectedValue, onSelect, tabsWidth, width, grades, renderAs, size, layoutAlignment, }: IGradeSelectorProps): ReactElement;
|
584
581
|
|
585
582
|
export declare const HandIcon: React_2.FC;
|
586
583
|
|
@@ -838,8 +835,6 @@ declare interface IBlockSectionsCallbacks extends INodeCardCallbacks {
|
|
838
835
|
declare interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, IClickableAnalyticsProps {
|
839
836
|
label: string;
|
840
837
|
renderAs: TButtonVariants;
|
841
|
-
sizeOnMobile?: TButtonSizes;
|
842
|
-
sizeOnTablet?: TButtonSizes;
|
843
838
|
size?: TButtonSizes;
|
844
839
|
shape?: 'curved' | 'square';
|
845
840
|
disabled?: boolean;
|
@@ -1580,8 +1575,6 @@ declare interface IGradeSelectorProps {
|
|
1580
1575
|
width?: number;
|
1581
1576
|
renderAs?: TTabVariants;
|
1582
1577
|
size?: TTabSizes;
|
1583
|
-
sizeOnMobile?: TTabSizes;
|
1584
|
-
sizeOnTablet?: TTabSizes;
|
1585
1578
|
onSelect: (grade: string) => void;
|
1586
1579
|
grades: string[];
|
1587
1580
|
layoutAlignment?: 'center' | 'auto';
|
@@ -3508,8 +3501,6 @@ declare interface ITabProps {
|
|
3508
3501
|
$width?: number | string;
|
3509
3502
|
$renderAs?: TTabVariants;
|
3510
3503
|
$size?: TTabSizes;
|
3511
|
-
$sizeOnMobile?: TTabSizes;
|
3512
|
-
$sizeOnTablet?: TTabSizes;
|
3513
3504
|
$disabled?: boolean;
|
3514
3505
|
onClick: () => void;
|
3515
3506
|
shape?: 'curved' | 'square';
|
@@ -3624,8 +3615,6 @@ declare interface ITestsListProps {
|
|
3624
3615
|
declare interface ITextButtonProps extends IClickableAnalyticsProps {
|
3625
3616
|
label: string;
|
3626
3617
|
size?: TTextButtonSizes;
|
3627
|
-
sizeOnMobile?: TTextButtonSizes;
|
3628
|
-
sizeOnTablet?: TTextButtonSizes;
|
3629
3618
|
disabled?: boolean;
|
3630
3619
|
onClick?: () => void;
|
3631
3620
|
color?: TColorNames;
|
@@ -4591,7 +4580,6 @@ export declare const NODE_TYPE: {
|
|
4591
4580
|
readonly TARGET_PRACTICE: "TARGET_PRACTICE";
|
4592
4581
|
readonly MASTERY: "MASTERY";
|
4593
4582
|
readonly TRIAL_DIAGNOSTIC: "TRIAL_DIAGNOSTIC";
|
4594
|
-
readonly PDF: "PDF";
|
4595
4583
|
};
|
4596
4584
|
|
4597
4585
|
export declare enum NODE_TYPES {
|