@cambly/syntax-core 21.11.0 → 21.12.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 +3 -9
- package/dist/LinkTapArea/LinkTapArea.js +1 -2
- package/dist/RadioButton/RadioButton.d.ts +1 -1
- package/dist/RichSelect/RichSelectBox.d.ts +1 -1
- package/dist/RichSelect/RichSelectList.d.ts +1 -1
- package/dist/RichSelect/RichSelectList.js +2 -2
- 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/Typography/Typography.d.ts +4 -4
- package/dist/__chunks/{LD67LLZE.js → 222QJTXV.js} +7 -35
- package/dist/__chunks/222QJTXV.js.map +1 -0
- package/dist/__chunks/{YGOEYFXY.js → EXKOSER2.js} +1 -1
- package/dist/__chunks/{YGOEYFXY.js.map → EXKOSER2.js.map} +1 -1
- package/dist/__chunks/{VXX4H2RU.js → SHN3LBAS.js} +2 -2
- package/dist/__chunks/{7ZKXYLXP.js → VS3LSAAS.js} +2 -2
- package/dist/index.js +4 -4
- package/package.json +3 -3
- package/dist/__chunks/LD67LLZE.js.map +0 -1
- /package/dist/__chunks/{VXX4H2RU.js.map → SHN3LBAS.js.map} +0 -0
- /package/dist/__chunks/{7ZKXYLXP.js.map → VS3LSAAS.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?: "xs" | "sm" | "md" | "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 | 700 | 800 | 900 |
|
|
14
|
+
size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 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?: "sm" | "md" | "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" | "start" | "end" | "forceLeft" | "forceRight" | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* DOM element to render as.
|
|
17
17
|
*
|
|
@@ -28,12 +28,6 @@ declare const LinkTapArea: React__default.ForwardRefExoticComponent<React__defau
|
|
|
28
28
|
* Test id for the tap area
|
|
29
29
|
*/
|
|
30
30
|
"data-testid"?: string | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* If `true`, the tap area will be disabled
|
|
33
|
-
*
|
|
34
|
-
* @defaultValue false
|
|
35
|
-
*/
|
|
36
|
-
disabled?: boolean | undefined;
|
|
37
31
|
/**
|
|
38
32
|
* If `true`, the tap area will be full height
|
|
39
33
|
*/
|
|
@@ -43,9 +37,9 @@ declare const LinkTapArea: React__default.ForwardRefExoticComponent<React__defau
|
|
|
43
37
|
*/
|
|
44
38
|
fullWidth?: boolean | undefined;
|
|
45
39
|
/**
|
|
46
|
-
*
|
|
40
|
+
* An optional onClick event. This is used for certain wrapper's support (such as react-router-dom).
|
|
47
41
|
*/
|
|
48
|
-
onClick
|
|
42
|
+
onClick?: React__default.MouseEventHandler<HTMLAnchorElement> | undefined;
|
|
49
43
|
/**
|
|
50
44
|
* The callback to be called when the tap area is hovered
|
|
51
45
|
*/
|
|
@@ -64,7 +58,7 @@ declare const LinkTapArea: React__default.ForwardRefExoticComponent<React__defau
|
|
|
64
58
|
*
|
|
65
59
|
* @defaultValue "none"
|
|
66
60
|
*/
|
|
67
|
-
rounding?: "
|
|
61
|
+
rounding?: "sm" | "md" | "full" | "none" | undefined;
|
|
68
62
|
/**
|
|
69
63
|
* The tab index of the tap area
|
|
70
64
|
*/
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
LinkTapArea_default
|
|
4
|
-
} from "../__chunks/
|
|
4
|
+
} from "../__chunks/222QJTXV.js";
|
|
5
5
|
import "../__chunks/4U4UW4AK.js";
|
|
6
6
|
import "../__chunks/KBIW5XV4.js";
|
|
7
|
-
import "../__chunks/JB65NEXK.js";
|
|
8
7
|
import "../__chunks/UWGNJENA.js";
|
|
9
8
|
export {
|
|
10
9
|
LinkTapArea_default as default
|
|
@@ -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?: "sm" | "md" | undefined;
|
|
53
53
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -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?: "sm" | "md" | undefined;
|
|
82
82
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
83
83
|
};
|
|
84
84
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
RichSelectList_default
|
|
4
|
-
} from "../__chunks/
|
|
4
|
+
} from "../__chunks/VS3LSAAS.js";
|
|
5
5
|
import "../__chunks/STXMQR3I.js";
|
|
6
6
|
import "../__chunks/TALOD4CL.js";
|
|
7
7
|
import "../__chunks/576PJXFR.js";
|
|
8
8
|
import "../__chunks/KEJPRZJ5.js";
|
|
9
9
|
import "../__chunks/4U4UW4AK.js";
|
|
10
|
-
import "../__chunks/
|
|
10
|
+
import "../__chunks/EXKOSER2.js";
|
|
11
11
|
import "../__chunks/CLVZ4FOV.js";
|
|
12
12
|
import "../__chunks/36DG472B.js";
|
|
13
13
|
import "../__chunks/MEW6HJNQ.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?: "sm" | "md" | 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/SHN3LBAS.js";
|
|
5
5
|
import "../__chunks/SPQ7DQHG.js";
|
|
6
|
-
import "../__chunks/
|
|
6
|
+
import "../__chunks/EXKOSER2.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?: "sm" | "md" | "full" | "none" | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* The tab index of the tap area
|
|
58
58
|
*/
|
|
@@ -12,7 +12,7 @@ declare const Typography: React.ForwardRefExoticComponent<{
|
|
|
12
12
|
*
|
|
13
13
|
* @defaultValue "start"
|
|
14
14
|
*/
|
|
15
|
-
align?: "center" | "
|
|
15
|
+
align?: "center" | "start" | "end" | "forceLeft" | "forceRight" | undefined;
|
|
16
16
|
/**
|
|
17
17
|
* DOM element to render as.
|
|
18
18
|
*
|
|
@@ -28,7 +28,7 @@ declare const Typography: React.ForwardRefExoticComponent<{
|
|
|
28
28
|
*
|
|
29
29
|
* @defaultValue "gray900"
|
|
30
30
|
*/
|
|
31
|
-
color?: "inherit" | "gray700" | "gray900" | "white" | "primary" | "destructive-primary" | "
|
|
31
|
+
color?: "inherit" | "gray700" | "gray900" | "white" | "primary" | "destructive-primary" | "success" | "destructive-darkBackground" | "destructive-lightBackground" | "success-darkBackground" | "white-secondary" | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* Test id for the text
|
|
34
34
|
*/
|
|
@@ -111,7 +111,7 @@ declare const Typography: React.ForwardRefExoticComponent<{
|
|
|
111
111
|
*
|
|
112
112
|
* @defaultValue "regular"
|
|
113
113
|
*/
|
|
114
|
-
weight?: "
|
|
114
|
+
weight?: "regular" | "medium" | "semiBold" | "bold" | undefined;
|
|
115
115
|
/**
|
|
116
116
|
* Controls how whitespace within the element is handled.
|
|
117
117
|
*
|
|
@@ -119,7 +119,7 @@ declare const Typography: React.ForwardRefExoticComponent<{
|
|
|
119
119
|
*
|
|
120
120
|
* @defaultValue "inherit"
|
|
121
121
|
*/
|
|
122
|
-
whiteSpace?: "inherit" | "
|
|
122
|
+
whiteSpace?: "inherit" | "normal" | "nowrap" | "preLine" | undefined;
|
|
123
123
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
124
124
|
|
|
125
125
|
export { Typography as default };
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
import {
|
|
3
3
|
rounding_module_default
|
|
4
4
|
} from "./KBIW5XV4.js";
|
|
5
|
-
import {
|
|
6
|
-
useIsHydrated
|
|
7
|
-
} from "./JB65NEXK.js";
|
|
8
5
|
import {
|
|
9
6
|
__objRest,
|
|
10
7
|
__spreadProps,
|
|
@@ -51,7 +48,6 @@ var LinkTapArea = forwardRef(
|
|
|
51
48
|
rel,
|
|
52
49
|
accessibilityLabel,
|
|
53
50
|
"data-testid": dataTestId,
|
|
54
|
-
disabled: disabledProp = false,
|
|
55
51
|
fullHeight = false,
|
|
56
52
|
fullWidth = true,
|
|
57
53
|
onClick,
|
|
@@ -66,7 +62,6 @@ var LinkTapArea = forwardRef(
|
|
|
66
62
|
"rel",
|
|
67
63
|
"accessibilityLabel",
|
|
68
64
|
"data-testid",
|
|
69
|
-
"disabled",
|
|
70
65
|
"fullHeight",
|
|
71
66
|
"fullWidth",
|
|
72
67
|
"onClick",
|
|
@@ -75,50 +70,29 @@ var LinkTapArea = forwardRef(
|
|
|
75
70
|
"rounding",
|
|
76
71
|
"tabIndex"
|
|
77
72
|
]);
|
|
78
|
-
const isHydrated = useIsHydrated();
|
|
79
|
-
const disabled = !isHydrated || disabledProp;
|
|
80
73
|
const [{ hovered, focussed }, dispatch] = useReducer(reducer, {
|
|
81
74
|
hovered: false,
|
|
82
75
|
focussed: false
|
|
83
76
|
});
|
|
84
|
-
const handleClick = (event) => {
|
|
85
|
-
if (disabled) {
|
|
86
|
-
} else {
|
|
87
|
-
event.currentTarget.blur();
|
|
88
|
-
onClick(event);
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
const handleKeyDown = (event) => {
|
|
92
|
-
if (disabled)
|
|
93
|
-
return;
|
|
94
|
-
if (event.key === "Enter" || event.key === " " || event.key === "Space") {
|
|
95
|
-
event.preventDefault();
|
|
96
|
-
onClick(event);
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
77
|
const handleOnMouseEnter = (event) => {
|
|
100
|
-
if (disabled)
|
|
101
|
-
return;
|
|
102
78
|
dispatch({ type: "MOUSE_ENTER" });
|
|
103
79
|
onMouseEnter == null ? void 0 : onMouseEnter(event);
|
|
104
80
|
};
|
|
105
81
|
const handleOnMouseLeave = (event) => {
|
|
106
|
-
if (disabled)
|
|
107
|
-
return;
|
|
108
82
|
dispatch({ type: "MOUSE_LEAVE" });
|
|
109
83
|
onMouseLeave == null ? void 0 : onMouseLeave(event);
|
|
110
84
|
};
|
|
111
|
-
const isHoveredOrFocussed =
|
|
85
|
+
const isHoveredOrFocussed = hovered || focussed;
|
|
112
86
|
const roundingClasses = rounding !== "none" && rounding_module_default[`rounding${rounding}`];
|
|
113
87
|
return /* @__PURE__ */ jsxs(
|
|
114
88
|
"a",
|
|
115
89
|
__spreadProps(__spreadValues({}, accessibilityProps), {
|
|
116
|
-
"aria-disabled":
|
|
90
|
+
"aria-disabled": accessibilityProps["aria-disabled"],
|
|
117
91
|
"aria-label": accessibilityLabel != null ? accessibilityLabel : accessibilityProps["aria-label"],
|
|
118
92
|
className: classNames(
|
|
119
93
|
LinkTapArea_module_default.linkTapArea,
|
|
120
94
|
TapArea_module_default.tapArea,
|
|
121
|
-
TapArea_module_default
|
|
95
|
+
TapArea_module_default.enabled,
|
|
122
96
|
fullHeight && TapArea_module_default.fullHeight,
|
|
123
97
|
fullWidth && TapArea_module_default.fullWidth,
|
|
124
98
|
isHoveredOrFocussed && TapArea_module_default.hoveredOrFocussed,
|
|
@@ -128,17 +102,15 @@ var LinkTapArea = forwardRef(
|
|
|
128
102
|
href,
|
|
129
103
|
target,
|
|
130
104
|
rel,
|
|
131
|
-
onClick
|
|
132
|
-
onKeyDown: handleKeyDown,
|
|
105
|
+
onClick,
|
|
133
106
|
onMouseEnter: handleOnMouseEnter,
|
|
134
107
|
onMouseLeave: handleOnMouseLeave,
|
|
135
108
|
onFocus: () => dispatch({ type: "FOCUS" }),
|
|
136
109
|
onBlur: () => dispatch({ type: "BLUR" }),
|
|
137
110
|
ref,
|
|
138
|
-
|
|
139
|
-
tabIndex: disabled ? void 0 : tabIndex,
|
|
111
|
+
tabIndex,
|
|
140
112
|
children: [
|
|
141
|
-
|
|
113
|
+
(hovered || focussed) && /* @__PURE__ */ jsx("div", { className: classNames(TapArea_module_default.overlay, roundingClasses) }),
|
|
142
114
|
children
|
|
143
115
|
]
|
|
144
116
|
})
|
|
@@ -151,4 +123,4 @@ var LinkTapArea_default = LinkTapArea;
|
|
|
151
123
|
export {
|
|
152
124
|
LinkTapArea_default
|
|
153
125
|
};
|
|
154
|
-
//# sourceMappingURL=
|
|
126
|
+
//# sourceMappingURL=222QJTXV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/LinkTapArea/LinkTapArea.tsx","css-module:../TapArea/TapArea.module.css#css-module","css-module:./LinkTapArea.module.css#css-module"],"sourcesContent":["import React, {\n forwardRef,\n type HtmlHTMLAttributes,\n useReducer,\n type AriaAttributes,\n type ReactNode,\n} from \"react\";\nimport tapAreaStyles from \"../TapArea/TapArea.module.css\";\nimport roundingStyles from \"../rounding.module.css\";\nimport classNames from \"classnames\";\nimport styles from \"./LinkTapArea.module.css\";\n\ntype LinkTapAreaProps = AriaAttributes & {\n /**\n * The children to be rendered inside the tap area.\n */\n children?: ReactNode;\n /**\n * The link that the LinkTapArea should route to.\n *\n */\n href?: string;\n /**\n * The target attribute specifies where to open the linked document.\n *\n */\n target?: \"_blank\" | \"_self\" | \"_parent\" | \"_top\";\n /**\n * The rel attribute specifies the relationship between the document and the link.\n *\n */\n rel?: HtmlHTMLAttributes<HTMLAnchorElement>[\"rel\"];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * Test id for the tap area\n */\n \"data-testid\"?: string;\n /**\n * If `true`, the tap area will be full height\n */\n fullHeight?: boolean;\n /**\n * If `true`, the tap area will be full width\n */\n fullWidth?: boolean;\n /**\n * An optional onClick event. This is used for certain wrapper's support (such as react-router-dom).\n */\n onClick?: React.MouseEventHandler<HTMLAnchorElement>;\n /**\n * The callback to be called when the tap area is hovered\n */\n onMouseEnter?: (event: React.SyntheticEvent<HTMLAnchorElement>) => void;\n /**\n * The callback to be called when the tap area is no longer hovered\n */\n onMouseLeave?: (event: React.SyntheticEvent<HTMLAnchorElement>) => void;\n /**\n * Border radius of the tap area.\n *\n * * `none`: 0px\n * * `sm`: 8px\n * * `md`: 12px\n * * `full`: 999px\n *\n * @defaultValue \"none\"\n */\n rounding?: \"md\" | \"sm\" | \"full\" | \"none\";\n /**\n * The tab index of the tap area\n */\n tabIndex?: 0 | -1;\n};\n\nfunction reducer(\n state: {\n hovered: boolean;\n focussed: boolean;\n },\n action: {\n type: \"BLUR\" | \"FOCUS\" | \"MOUSE_ENTER\" | \"MOUSE_LEAVE\";\n },\n) {\n switch (action.type) {\n case \"BLUR\":\n return { ...state, focussed: false };\n case \"FOCUS\":\n return { ...state, focussed: true };\n case \"MOUSE_ENTER\":\n return { ...state, hovered: true };\n case \"MOUSE_LEAVE\":\n return { ...state, hovered: false };\n default:\n return state;\n }\n}\nconst LinkTapArea = forwardRef<HTMLAnchorElement, LinkTapAreaProps>(\n (\n {\n children,\n href,\n target,\n rel,\n accessibilityLabel,\n \"data-testid\": dataTestId,\n fullHeight = false,\n fullWidth = true,\n onClick,\n onMouseEnter,\n onMouseLeave,\n rounding = \"none\",\n tabIndex = 0,\n ...accessibilityProps\n }: LinkTapAreaProps,\n ref,\n ) => {\n const [{ hovered, focussed }, dispatch] = useReducer(reducer, {\n hovered: false,\n focussed: false,\n });\n\n const handleOnMouseEnter: React.MouseEventHandler<HTMLAnchorElement> = (\n event,\n ) => {\n dispatch({ type: \"MOUSE_ENTER\" });\n onMouseEnter?.(event);\n };\n\n const handleOnMouseLeave: React.MouseEventHandler<HTMLAnchorElement> = (\n event,\n ) => {\n dispatch({ type: \"MOUSE_LEAVE\" });\n onMouseLeave?.(event);\n };\n\n const isHoveredOrFocussed = hovered || focussed;\n const roundingClasses =\n rounding !== \"none\" && roundingStyles[`rounding${rounding}`];\n\n return (\n <a\n {...accessibilityProps}\n aria-disabled={accessibilityProps[\"aria-disabled\"]}\n aria-label={accessibilityLabel ?? accessibilityProps[\"aria-label\"]}\n className={classNames(\n styles.linkTapArea,\n tapAreaStyles.tapArea,\n tapAreaStyles.enabled,\n fullHeight && tapAreaStyles.fullHeight,\n fullWidth && tapAreaStyles.fullWidth,\n isHoveredOrFocussed && tapAreaStyles.hoveredOrFocussed,\n roundingClasses,\n )}\n data-testid={dataTestId}\n href={href}\n target={target}\n rel={rel}\n onClick={onClick}\n onMouseEnter={handleOnMouseEnter}\n onMouseLeave={handleOnMouseLeave}\n onFocus={() => dispatch({ type: \"FOCUS\" })}\n onBlur={() => dispatch({ type: \"BLUR\" })}\n ref={ref}\n tabIndex={tabIndex}\n >\n {(hovered || focussed) && (\n <div className={classNames(tapAreaStyles.overlay, roundingClasses)} />\n )}\n {children}\n </a>\n );\n },\n);\n\nLinkTapArea.displayName = \"LinkTapArea\";\n\nexport default LinkTapArea;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/TapArea/TapArea.module.css\"; export default {\"tapArea\":\"_tapArea_1gbc8_1\",\"fullHeight\":\"_fullHeight_1gbc8_5\",\"fullWidth\":\"_fullWidth_1gbc8_9\",\"disabled\":\"_disabled_1gbc8_13\",\"enabled\":\"_enabled_1gbc8_20\",\"overlay\":\"_overlay_1gbc8_33\",\"hoveredOrFocussed\":\"_hoveredOrFocussed_1gbc8_43\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/LinkTapArea/LinkTapArea.module.css\"; export default {\"linkTapArea\":\"_linkTapArea_1nzmd_1\"}"],"mappings":";;;;;;;;;;;AAAA;AAAA,EACE;AAAA,EAEA;AAAA,OAGK;;;ACNuF,IAAO,yBAAQ,EAAC,WAAU,oBAAmB,cAAa,uBAAsB,aAAY,sBAAqB,YAAW,sBAAqB,WAAU,qBAAoB,WAAU,qBAAoB,qBAAoB,8BAA6B;;;ADS5V,OAAO,gBAAgB;;;AET+E,IAAO,6BAAQ,EAAC,eAAc,uBAAsB;;;AF+IpJ,SA0BI,KA1BJ;AAlEN,SAAS,QACP,OAIA,QAGA;AACA,UAAQ,OAAO,MAAM;AAAA,IACnB,KAAK;AACH,aAAO,iCAAK,QAAL,EAAY,UAAU,MAAM;AAAA,IACrC,KAAK;AACH,aAAO,iCAAK,QAAL,EAAY,UAAU,KAAK;AAAA,IACpC,KAAK;AACH,aAAO,iCAAK,QAAL,EAAY,SAAS,KAAK;AAAA,IACnC,KAAK;AACH,aAAO,iCAAK,QAAL,EAAY,SAAS,MAAM;AAAA,IACp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SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,QACzC,QAAQ,MAAM,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,QACvC;AAAA,QACA;AAAA,QAEE;AAAA,sBAAW,aACX,oBAAC,SAAI,WAAW,WAAW,uBAAc,SAAS,eAAe,GAAG;AAAA,UAErE;AAAA;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AAEA,YAAY,cAAc;AAE1B,IAAO,sBAAQ;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Thu, 07 Nov 2024
|
|
1
|
+
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Thu, 07 Nov 2024 18:04:22 GMT\n */\n\nexport const ColorBaseBlack = \"#000000\";\nexport const ColorBaseDestructive100 = \"#fef3f5\";\nexport const ColorBaseDestructive200 = \"#fad6de\";\nexport const ColorBaseDestructive300 = \"#f2a2b2\";\nexport const ColorBaseDestructive700 = \"#d32a4b\";\nexport const ColorBaseDestructive800 = \"#81162c\";\nexport const ColorBaseDestructive900 = \"#55101d\";\nexport const ColorBaseGray10 = \"#cbcbcb\"; // Used as the default color for dividers and inner strokes\nexport const ColorBaseGray30 = \"#000000\"; // For IconButton background when on top of an image\nexport const ColorBaseGray60 = \"#000000\"; // Used for icon background in classroom video grid\nexport const ColorBaseGray80 = \"#000000\"; // Used as the background for modals\nexport const ColorBaseGray100 = \"#f7f7f7\";\nexport const ColorBaseGray200 = \"#f0f0f0\"; // Used for light mode backgrounds when showing card content on top\nexport const ColorBaseGray300 = \"#d0d0d0\"; // Used for component outlines, eg: select and textfield\nexport const ColorBaseGray700 = \"#767676\"; // For secondary text in light mode\nexport const ColorBaseGray800 = \"#353535\";\nexport const ColorBaseGray900 = \"#191919\"; // Default text color, Classroom background\nexport const ColorBaseOrange100 = \"#fdf2f0\";\nexport const ColorBaseOrange200 = \"#f6cdc4\";\nexport const ColorBaseOrange300 = \"#ec9987\";\nexport const ColorBaseOrange700 = \"#c34124\";\nexport const ColorBaseOrange800 = \"#732818\";\nexport const ColorBaseOrange900 = \"#4d1a10\";\nexport const ColorBasePrimary100 = \"#eff6fa\";\nexport const ColorBasePrimary200 = \"#c1dbe7\";\nexport const ColorBasePrimary300 = \"#84b7d0\";\nexport const ColorBasePrimary700 = \"#236482\";\nexport const ColorBasePrimary800 = \"#274858\";\nexport const ColorBasePrimary900 = \"#1b303b\";\nexport const ColorBaseSuccess100 = \"#eff7f1\";\nexport const ColorBaseSuccess200 = \"#bddcc6\";\nexport const ColorBaseSuccess300 = \"#81ba92\";\nexport const ColorBaseSuccess700 = \"#397b4d\";\nexport const ColorBaseSuccess800 = \"#2d4936\";\nexport const ColorBaseSuccess900 = \"#1e3124\";\nexport const ColorBasePurple100 = \"#f9f5fa\";\nexport const ColorBasePurple200 = \"#e8dceb\";\nexport const ColorBasePurple300 = \"#cdb4d3\";\nexport const ColorBasePurple700 = \"#8b5f95\";\nexport const ColorBasePurple800 = \"#523b58\";\nexport const ColorBasePurple900 = \"#37273b\";\nexport const ColorBaseYellow100 = \"#fdf5d9\";\nexport const ColorBaseYellow200 = \"#fbe8a3\";\nexport const ColorBaseYellow300 = \"#f8d663\";\nexport const ColorBaseYellow700 = \"#ffc929\";\nexport const ColorBaseYellow800 = \"#765f1c\";\nexport const ColorBaseYellow900 = \"#3b3009\";\nexport const ColorBaseWhite = \"#ffffff\";\nexport const ColorCambioBlack = \"#050500\";\nexport const ColorCambioWhite40 = \"#ffffff\";\nexport const ColorCambioWhite70 = \"#ffffff\";\nexport const ColorCambioWhite100 = \"#ffffff\";\nexport const ColorCambioGray100 = \"#faf4eb\";\nexport const ColorCambioGray200 = \"#e4dbd3\";\nexport const ColorCambioGray270 = \"#e4dbd3\";\nexport const ColorCambioGray300 = \"#beb4ab\";\nexport const ColorCambioGray370 = \"#beb4ab\";\nexport const ColorCambioGray700 = \"#5e5952\";\nexport const ColorCambioGray800 = \"#363432\";\nexport const ColorCambioGray870 = \"#5e5952\";\nexport const ColorCambioGray900 = \"#262625\";\nexport const ColorCambioDestructive100 = \"#ffdeda\";\nexport const ColorCambioDestructive300 = \"#ff8071\";\nexport const ColorCambioDestructive370 = \"#ff8071\";\nexport const ColorCambioDestructive700 = \"#c93f32\";\nexport const ColorCambioDestructive770 = \"#c93f32\";\nexport const ColorCambioDestructive900 = \"#6d0002\";\nexport const ColorCambioSuccess100 = \"#daf2c8\";\nexport const ColorCambioSuccess300 = \"#84ce64\";\nexport const ColorCambioSuccess370 = \"#84ce64\";\nexport const ColorCambioSuccess700 = \"#3c7f20\";\nexport const ColorCambioSuccess770 = \"#3c7f20\";\nexport const ColorCambioSuccess900 = \"#103e00\";\nexport const ColorCambioRed = \"#f56e56\";\nexport const ColorCambioOrange = \"#ff8f57\";\nexport const ColorCambioTan = \"#ffb47d\";\nexport const ColorCambioCream = \"#fffad1\";\nexport const ColorCambioPurple = \"#6840a8\";\nexport const ColorCambioLilac = \"#b59ef0\";\nexport const ColorCambioThistle = \"#d69ca4\";\nexport const ColorCambioPink = \"#ffccea\";\nexport const ColorCambioNavy = \"#191142\";\nexport const ColorCambioTeal = \"#44a6cf\";\nexport const ColorCambioSlate = \"#7c9fc6\";\nexport const ColorCambioSky = \"#b1e8fc\";\nexport const ColorCambioYellow700 = \"#ffe733\";\nexport const ColorCambioTransparentFull = \"#000000\";\nexport const Elevation400 = \"0px 16px 32px 0px #00000040\";\nexport const SyntaxFontSansSerif = \"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\";\nexport const ShadowInteractive = \"0px 3px 16px 0px rgba(144, 134, 130, 0.05), 0px 2px 30px 0px rgba(144, 134, 130, 0.02)\";\n"],"mappings":";;;AASO,IAAM,0BAA0B;AAUhC,IAAM,mBAAmB;AAqCzB,IAAM,sBAAsB;","names":[]}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ColorBaseDestructive700,
|
|
7
7
|
ColorBaseGray700,
|
|
8
8
|
ColorCambioWhite100
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./EXKOSER2.js";
|
|
10
10
|
import {
|
|
11
11
|
Focus_module_default
|
|
12
12
|
} from "./KKADUD65.js";
|
|
@@ -140,4 +140,4 @@ SelectList.Option = SelectOption_default;
|
|
|
140
140
|
export {
|
|
141
141
|
SelectList
|
|
142
142
|
};
|
|
143
|
-
//# sourceMappingURL=
|
|
143
|
+
//# sourceMappingURL=SHN3LBAS.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ColorBaseDestructive700,
|
|
10
10
|
ColorBaseGray700,
|
|
11
11
|
ColorCambioWhite100
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./EXKOSER2.js";
|
|
13
13
|
import {
|
|
14
14
|
RichSelectBoxContext,
|
|
15
15
|
RichSelectBox_default,
|
|
@@ -289,4 +289,4 @@ var RichSelectList_default = Object.assign(RichSelectList, {
|
|
|
289
289
|
export {
|
|
290
290
|
RichSelectList_default
|
|
291
291
|
};
|
|
292
|
-
//# sourceMappingURL=
|
|
292
|
+
//# sourceMappingURL=VS3LSAAS.js.map
|
package/dist/index.js
CHANGED
|
@@ -28,18 +28,18 @@ import "./__chunks/K7BXA6BQ.js";
|
|
|
28
28
|
import "./__chunks/HVA7R2EL.js";
|
|
29
29
|
import {
|
|
30
30
|
LinkTapArea_default
|
|
31
|
-
} from "./__chunks/
|
|
31
|
+
} from "./__chunks/222QJTXV.js";
|
|
32
32
|
import {
|
|
33
33
|
LinkButton_default
|
|
34
34
|
} from "./__chunks/JEQOCPG6.js";
|
|
35
35
|
import "./__chunks/YLWWTB4I.js";
|
|
36
36
|
import {
|
|
37
37
|
SelectList
|
|
38
|
-
} from "./__chunks/
|
|
38
|
+
} from "./__chunks/SHN3LBAS.js";
|
|
39
39
|
import "./__chunks/SPQ7DQHG.js";
|
|
40
40
|
import {
|
|
41
41
|
RichSelectList_default
|
|
42
|
-
} from "./__chunks/
|
|
42
|
+
} from "./__chunks/VS3LSAAS.js";
|
|
43
43
|
import {
|
|
44
44
|
Popover_default
|
|
45
45
|
} from "./__chunks/STXMQR3I.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
IconButton_default
|
|
50
50
|
} from "./__chunks/KEJPRZJ5.js";
|
|
51
51
|
import "./__chunks/4U4UW4AK.js";
|
|
52
|
-
import "./__chunks/
|
|
52
|
+
import "./__chunks/EXKOSER2.js";
|
|
53
53
|
import "./__chunks/CLVZ4FOV.js";
|
|
54
54
|
import {
|
|
55
55
|
ButtonGroup_default
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cambly/syntax-core",
|
|
3
3
|
"description": "Cambly design system core components",
|
|
4
|
-
"version": "21.
|
|
4
|
+
"version": "21.12.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"react": "18.2.0",
|
|
28
28
|
"tsup": "6.7.0",
|
|
29
29
|
"typescript": "5.0.4",
|
|
30
|
-
"@cambly/syntax
|
|
31
|
-
"@cambly/
|
|
30
|
+
"@cambly/eslint-config-syntax": "1.4.0",
|
|
31
|
+
"@cambly/syntax-tsconfig": "1.4.1"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/LinkTapArea/LinkTapArea.tsx","css-module:../TapArea/TapArea.module.css#css-module","css-module:./LinkTapArea.module.css#css-module"],"sourcesContent":["import React, {\n forwardRef,\n type HtmlHTMLAttributes,\n useReducer,\n type AriaAttributes,\n type ReactNode,\n} from \"react\";\nimport tapAreaStyles from \"../TapArea/TapArea.module.css\";\nimport roundingStyles from \"../rounding.module.css\";\nimport useIsHydrated from \"../useIsHydrated\";\nimport classNames from \"classnames\";\nimport styles from \"./LinkTapArea.module.css\";\n\ntype LinkTapAreaProps = AriaAttributes & {\n /**\n * The children to be rendered inside the tap area.\n */\n children?: ReactNode;\n /**\n * The link that the LinkTapArea should route to.\n *\n */\n href?: string;\n /**\n * The target attribute specifies where to open the linked document.\n *\n */\n target?: \"_blank\" | \"_self\" | \"_parent\" | \"_top\";\n /**\n * The rel attribute specifies the relationship between the document and the link.\n *\n */\n rel?: HtmlHTMLAttributes<HTMLAnchorElement>[\"rel\"];\n /**\n * The label to be used for accessibility\n */\n accessibilityLabel?: string;\n /**\n * Test id for the tap area\n */\n \"data-testid\"?: string;\n /**\n * If `true`, the tap area will be disabled\n *\n * @defaultValue false\n */\n disabled?: boolean;\n /**\n * If `true`, the tap area will be full height\n */\n fullHeight?: boolean;\n /**\n * If `true`, the tap area will be full width\n */\n fullWidth?: boolean;\n /**\n * The callback to be called when the tap area is clicked\n */\n onClick: (event: React.SyntheticEvent<HTMLAnchorElement>) => void;\n /**\n * The callback to be called when the tap area is hovered\n */\n onMouseEnter?: (event: React.SyntheticEvent<HTMLAnchorElement>) => void;\n /**\n * The callback to be called when the tap area is no longer hovered\n */\n onMouseLeave?: (event: React.SyntheticEvent<HTMLAnchorElement>) => void;\n /**\n * Border radius of the tap area.\n *\n * * `none`: 0px\n * * `sm`: 8px\n * * `md`: 12px\n * * `full`: 999px\n *\n * @defaultValue \"none\"\n */\n rounding?: \"md\" | \"sm\" | \"full\" | \"none\";\n /**\n * The tab index of the tap area\n */\n tabIndex?: 0 | -1;\n};\n\nfunction reducer(\n state: {\n hovered: boolean;\n focussed: boolean;\n },\n action: {\n type: \"BLUR\" | \"FOCUS\" | \"MOUSE_ENTER\" | \"MOUSE_LEAVE\";\n },\n) {\n switch (action.type) {\n case \"BLUR\":\n return { ...state, focussed: false };\n case \"FOCUS\":\n return { ...state, focussed: true };\n case \"MOUSE_ENTER\":\n return { ...state, hovered: true };\n case \"MOUSE_LEAVE\":\n return { ...state, hovered: false };\n default:\n return state;\n }\n}\nconst LinkTapArea = forwardRef<HTMLAnchorElement, LinkTapAreaProps>(\n (\n {\n children,\n href,\n target,\n rel,\n accessibilityLabel,\n \"data-testid\": dataTestId,\n disabled: disabledProp = false,\n fullHeight = false,\n fullWidth = true,\n onClick,\n onMouseEnter,\n onMouseLeave,\n rounding = \"none\",\n tabIndex = 0,\n ...accessibilityProps\n }: LinkTapAreaProps,\n ref,\n ) => {\n const isHydrated = useIsHydrated();\n const disabled = !isHydrated || disabledProp;\n const [{ hovered, focussed }, dispatch] = useReducer(reducer, {\n hovered: false,\n focussed: false,\n });\n const handleClick: React.MouseEventHandler<HTMLAnchorElement> = (event) => {\n if (disabled) {\n undefined;\n } else {\n event.currentTarget.blur();\n onClick(event);\n }\n };\n\n const handleKeyDown: React.KeyboardEventHandler<HTMLAnchorElement> = (\n event,\n ) => {\n if (disabled) return;\n if (event.key === \"Enter\" || event.key === \" \" || event.key === \"Space\") {\n event.preventDefault();\n onClick(event);\n }\n };\n\n const handleOnMouseEnter: React.MouseEventHandler<HTMLAnchorElement> = (\n event,\n ) => {\n if (disabled) return;\n dispatch({ type: \"MOUSE_ENTER\" });\n onMouseEnter?.(event);\n };\n\n const handleOnMouseLeave: React.MouseEventHandler<HTMLAnchorElement> = (\n event,\n ) => {\n if (disabled) return;\n dispatch({ type: \"MOUSE_LEAVE\" });\n onMouseLeave?.(event);\n };\n\n const isHoveredOrFocussed = !disabled && (hovered || focussed);\n const roundingClasses =\n rounding !== \"none\" && roundingStyles[`rounding${rounding}`];\n\n return (\n <a\n {...accessibilityProps}\n aria-disabled={disabled || accessibilityProps[\"aria-disabled\"]}\n aria-label={accessibilityLabel ?? accessibilityProps[\"aria-label\"]}\n className={classNames(\n styles.linkTapArea,\n tapAreaStyles.tapArea,\n tapAreaStyles[`${disabled ? \"disabled\" : \"enabled\"}`],\n fullHeight && tapAreaStyles.fullHeight,\n fullWidth && tapAreaStyles.fullWidth,\n isHoveredOrFocussed && tapAreaStyles.hoveredOrFocussed,\n roundingClasses,\n )}\n data-testid={dataTestId}\n href={href}\n target={target}\n rel={rel}\n onClick={handleClick}\n onKeyDown={handleKeyDown}\n onMouseEnter={handleOnMouseEnter}\n onMouseLeave={handleOnMouseLeave}\n onFocus={() => dispatch({ type: \"FOCUS\" })}\n onBlur={() => dispatch({ type: \"BLUR\" })}\n ref={ref}\n role=\"button\"\n tabIndex={disabled ? undefined : tabIndex}\n >\n {!disabled && (hovered || focussed) && (\n <div className={classNames(tapAreaStyles.overlay, roundingClasses)} />\n )}\n {children}\n </a>\n );\n },\n);\n\nLinkTapArea.displayName = \"LinkTapArea\";\n\nexport default LinkTapArea;\n","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/TapArea/TapArea.module.css\"; export default {\"tapArea\":\"_tapArea_1gbc8_1\",\"fullHeight\":\"_fullHeight_1gbc8_5\",\"fullWidth\":\"_fullWidth_1gbc8_9\",\"disabled\":\"_disabled_1gbc8_13\",\"enabled\":\"_enabled_1gbc8_20\",\"overlay\":\"_overlay_1gbc8_33\",\"hoveredOrFocussed\":\"_hoveredOrFocussed_1gbc8_43\"}","import \"/home/runner/work/syntax/syntax/packages/syntax-core/src/LinkTapArea/LinkTapArea.module.css\"; export default {\"linkTapArea\":\"_linkTapArea_1nzmd_1\"}"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA,EACE;AAAA,EAEA;AAAA,OAGK;;;ACNuF,IAAO,yBAAQ,EAAC,WAAU,oBAAmB,cAAa,uBAAsB,aAAY,sBAAqB,YAAW,sBAAqB,WAAU,qBAAoB,WAAU,qBAAoB,qBAAoB,8BAA6B;;;ADU5V,OAAO,gBAAgB;;;AEV+E,IAAO,6BAAQ,EAAC,eAAc,uBAAsB;;;AF6KpJ,SA4BI,KA5BJ;AAzFN,SAAS,QACP,OAIA,QAGA;AACA,UAAQ,OAAO,MAAM;AAAA,IACnB,KAAK;AACH,aAAO,iCAAK,QAAL,EAA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