@cambly/syntax-core 21.12.0 → 21.13.0
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/Avatar/Avatar.d.ts +1 -1
- package/dist/Badge/Badge.d.ts +1 -1
- package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Heading/Heading.d.ts +1 -1
- package/dist/LinkTapArea/LinkTapArea.d.ts +1 -1
- package/dist/RadioButton/RadioButton.d.ts +1 -1
- package/dist/RichSelect/RichSelectBox.d.ts +1 -1
- package/dist/RichSelect/RichSelectBox.js +1 -1
- package/dist/RichSelect/RichSelectList.d.ts +1 -1
- package/dist/RichSelect/RichSelectList.js +8 -8
- package/dist/RichSelect/RichSelectRadioButton.d.ts +1 -1
- package/dist/SelectList/SelectList.js +2 -2
- package/dist/TapArea/TapArea.d.ts +1 -1
- package/dist/Toast/Toast.css +2422 -0
- package/dist/Toast/Toast.css.map +1 -0
- package/dist/Toast/Toast.d.ts +40 -0
- package/dist/Toast/Toast.js +17 -0
- package/dist/Toast/Toast.js.map +1 -0
- package/dist/Typography/Typography.d.ts +4 -4
- package/dist/__chunks/{EXKOSER2.js → 4NEHC6Q6.js} +1 -1
- package/dist/__chunks/{EXKOSER2.js.map → 4NEHC6Q6.js.map} +1 -1
- package/dist/__chunks/L2B2L4F2.js +76 -0
- package/dist/__chunks/L2B2L4F2.js.map +1 -0
- package/dist/__chunks/{SHN3LBAS.js → LXBUCC4I.js} +2 -2
- package/dist/__chunks/{VS3LSAAS.js → PEPEAQRW.js} +7 -7
- package/dist/index.d.ts +1 -0
- package/dist/index.js +28 -24
- package/package.json +1 -1
- /package/dist/__chunks/{SHN3LBAS.js.map → LXBUCC4I.js.map} +0 -0
- /package/dist/__chunks/{VS3LSAAS.js.map → PEPEAQRW.js.map} +0 -0
package/dist/Avatar/Avatar.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare const Avatar: ({ accessibilityLabel, icon, size, src, }: {
|
|
|
25
25
|
*
|
|
26
26
|
* @defaultValue `md`
|
|
27
27
|
*/
|
|
28
|
-
size?: "
|
|
28
|
+
size?: "md" | "sm" | "xs" | "lg" | "xl" | undefined;
|
|
29
29
|
/**
|
|
30
30
|
* URL of the image to display as the avatar.
|
|
31
31
|
*/
|
package/dist/Badge/Badge.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const Badge: ({ icon: Icon, text, color, }: {
|
|
|
11
11
|
className?: string | undefined;
|
|
12
12
|
}> | React.ComponentType<{
|
|
13
13
|
color?: "inherit" | "black" | "destructive100" | "destructive200" | "destructive300" | "destructive700" | "destructive800" | "destructive900" | "gray10" | "gray100" | "gray200" | "gray30" | "gray60" | "gray300" | "gray700" | "gray80" | "gray800" | "gray900" | "orange100" | "orange200" | "orange300" | "orange700" | "orange800" | "orange900" | "primary100" | "primary200" | "primary300" | "primary700" | "primary800" | "primary900" | "purple100" | "purple200" | "purple300" | "purple700" | "purple800" | "purple900" | "success100" | "success200" | "success300" | "success700" | "success800" | "success900" | "white" | "yellow100" | "yellow200" | "yellow300" | "yellow700" | "yellow800" | "yellow900" | "white40" | "white70" | "gray270" | "gray370" | "gray870" | "cream" | "lilac" | "navy" | "orange" | "pink" | "purple" | "red" | "sky" | "slate" | "tan" | "teal" | "thistle" | undefined;
|
|
14
|
-
size?: 100 | 200 | 300 | 400 | 500 |
|
|
14
|
+
size?: 100 | 200 | 300 | 400 | 500 | 700 | 800 | 900 | 600 | 1000 | undefined;
|
|
15
15
|
path?: string | undefined;
|
|
16
16
|
} & React.RefAttributes<SVGSVGElement>> | undefined;
|
|
17
17
|
/**
|
|
@@ -23,7 +23,7 @@ declare const ButtonGroup: ({ orientation, size, children, smOrientation, lgOrie
|
|
|
23
23
|
*
|
|
24
24
|
* @defaultValue "md"
|
|
25
25
|
*/
|
|
26
|
-
size?: "
|
|
26
|
+
size?: "md" | "sm" | "lg" | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Buttons to be rendered inside the button group
|
|
29
29
|
*/
|
|
@@ -11,7 +11,7 @@ declare const Heading: ({ align, as, children, color, "data-testid": dataTestId,
|
|
|
11
11
|
*
|
|
12
12
|
* @defaultValue "start"
|
|
13
13
|
*/
|
|
14
|
-
align?: "center" | "
|
|
14
|
+
align?: "center" | "end" | "start" | "forceLeft" | "forceRight" | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* DOM element to render as.
|
|
17
17
|
*
|
|
@@ -58,7 +58,7 @@ declare const LinkTapArea: React__default.ForwardRefExoticComponent<React__defau
|
|
|
58
58
|
*
|
|
59
59
|
* @defaultValue "none"
|
|
60
60
|
*/
|
|
61
|
-
rounding?: "
|
|
61
|
+
rounding?: "none" | "md" | "sm" | "full" | undefined;
|
|
62
62
|
/**
|
|
63
63
|
* The tab index of the tap area
|
|
64
64
|
*/
|
|
@@ -49,7 +49,7 @@ declare const _default: React__default.ForwardRefExoticComponent<RichSelectBoxPr
|
|
|
49
49
|
Chip: React__default.ForwardRefExoticComponent<RichSelectItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
50
50
|
RadioButton: React__default.ForwardRefExoticComponent<RichSelectItemProps & {
|
|
51
51
|
name: string;
|
|
52
|
-
size?: "
|
|
52
|
+
size?: "md" | "sm" | undefined;
|
|
53
53
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
} from "../__chunks/CLVZ4FOV.js";
|
|
7
7
|
import "../__chunks/36DG472B.js";
|
|
8
8
|
import "../__chunks/MEW6HJNQ.js";
|
|
9
|
-
import "../__chunks/3WKVZ2UU.js";
|
|
10
9
|
import "../__chunks/Z5ZUAP2B.js";
|
|
11
10
|
import "../__chunks/QSC7CAQA.js";
|
|
11
|
+
import "../__chunks/3WKVZ2UU.js";
|
|
12
12
|
import "../__chunks/6TM2ES2T.js";
|
|
13
13
|
import "../__chunks/KURNAKIN.js";
|
|
14
14
|
import "../__chunks/DDUJFFG7.js";
|
|
@@ -78,7 +78,7 @@ declare const _default: typeof RichSelectList & {
|
|
|
78
78
|
Chip: React__default.ForwardRefExoticComponent<RichSelectItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
79
79
|
RadioButton: React__default.ForwardRefExoticComponent<RichSelectItemProps & {
|
|
80
80
|
name: string;
|
|
81
|
-
size?: "
|
|
81
|
+
size?: "md" | "sm" | undefined;
|
|
82
82
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
83
83
|
};
|
|
84
84
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
RichSelectList_default
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/STXMQR3I.js";
|
|
6
|
-
import "../__chunks/TALOD4CL.js";
|
|
7
|
-
import "../__chunks/576PJXFR.js";
|
|
8
|
-
import "../__chunks/KEJPRZJ5.js";
|
|
9
|
-
import "../__chunks/4U4UW4AK.js";
|
|
10
|
-
import "../__chunks/EXKOSER2.js";
|
|
4
|
+
} from "../__chunks/PEPEAQRW.js";
|
|
11
5
|
import "../__chunks/CLVZ4FOV.js";
|
|
12
6
|
import "../__chunks/36DG472B.js";
|
|
13
7
|
import "../__chunks/MEW6HJNQ.js";
|
|
14
|
-
import "../__chunks/3WKVZ2UU.js";
|
|
15
8
|
import "../__chunks/Z5ZUAP2B.js";
|
|
16
9
|
import "../__chunks/QSC7CAQA.js";
|
|
10
|
+
import "../__chunks/3WKVZ2UU.js";
|
|
11
|
+
import "../__chunks/STXMQR3I.js";
|
|
12
|
+
import "../__chunks/TALOD4CL.js";
|
|
13
|
+
import "../__chunks/576PJXFR.js";
|
|
14
|
+
import "../__chunks/KEJPRZJ5.js";
|
|
15
|
+
import "../__chunks/4U4UW4AK.js";
|
|
17
16
|
import "../__chunks/6TM2ES2T.js";
|
|
17
|
+
import "../__chunks/4NEHC6Q6.js";
|
|
18
18
|
import "../__chunks/KURNAKIN.js";
|
|
19
19
|
import "../__chunks/DDUJFFG7.js";
|
|
20
20
|
import "../__chunks/ND2XGXML.js";
|
|
@@ -5,7 +5,7 @@ import 'react-aria';
|
|
|
5
5
|
|
|
6
6
|
declare const _default: React__default.ForwardRefExoticComponent<RichSelectItemProps & {
|
|
7
7
|
name: string;
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "md" | "sm" | undefined;
|
|
9
9
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
|
|
11
11
|
export { _default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
SelectList
|
|
4
|
-
} from "../__chunks/
|
|
4
|
+
} from "../__chunks/LXBUCC4I.js";
|
|
5
5
|
import "../__chunks/SPQ7DQHG.js";
|
|
6
|
-
import "../__chunks/
|
|
6
|
+
import "../__chunks/4NEHC6Q6.js";
|
|
7
7
|
import "../__chunks/KKADUD65.js";
|
|
8
8
|
import "../__chunks/X552U42S.js";
|
|
9
9
|
import "../__chunks/4U4UW4AK.js";
|
|
@@ -52,7 +52,7 @@ declare const TapArea: React__default.ForwardRefExoticComponent<React__default.A
|
|
|
52
52
|
*
|
|
53
53
|
* @defaultValue "none"
|
|
54
54
|
*/
|
|
55
|
-
rounding?: "
|
|
55
|
+
rounding?: "none" | "md" | "sm" | "full" | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* The tab index of the tap area
|
|
58
58
|
*/
|