@vector-im/compound-design-tokens 6.0.0 → 6.2.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/README.md +2 -2
- package/assets/web/icons/exit-full-screen.cjs +19 -0
- package/assets/web/icons/exit-full-screen.d.ts +11 -0
- package/assets/web/icons/exit-full-screen.js +19 -0
- package/assets/web/icons/full-screen.cjs +19 -0
- package/assets/web/icons/full-screen.d.ts +11 -0
- package/assets/web/icons/full-screen.js +19 -0
- package/assets/web/icons/index.cjs +3 -0
- package/assets/web/icons/index.d.ts +3 -0
- package/assets/web/icons/index.js +3 -0
- package/assets/web/icons/left-panel-close.cjs +19 -0
- package/assets/web/icons/left-panel-close.d.ts +11 -0
- package/assets/web/icons/left-panel-close.js +19 -0
- package/assets/web/icons/threads-solid.cjs +8 -4
- package/assets/web/icons/threads-solid.js +9 -5
- package/assets/web/icons/threads.cjs +4 -2
- package/assets/web/icons/threads.js +4 -2
- package/assets/web/js/cpdDark.d.ts +3 -0
- package/assets/web/js/cpdDark.js +3 -0
- package/assets/web/js/cpdDarkHc.d.ts +3 -0
- package/assets/web/js/cpdDarkHc.js +3 -0
- package/assets/web/js/cpdLight.d.ts +3 -0
- package/assets/web/js/cpdLight.js +3 -0
- package/assets/web/js/cpdLightHc.d.ts +3 -0
- package/assets/web/js/cpdLightHc.js +3 -0
- package/icons/$icons.json +12 -0
- package/icons/exit-full-screen.svg +1 -0
- package/icons/full-screen.svg +1 -0
- package/icons/left-panel-close.svg +1 -0
- package/icons/threads-solid.svg +1 -1
- package/icons/threads.svg +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<p align="center"><img src="https://element.io/
|
|
1
|
+
<p align="center"><img src="https://compound.element.io/logo-readme.png" width="300" alt="" /></p>
|
|
2
2
|
|
|
3
3
|
# Compound design tokens
|
|
4
4
|
|
|
5
|
-
[](https://github.com/element-hq/compound/blob/main/LICENSE)
|
|
6
6
|
[](https://www.npmjs.com/package/@vector-im/compound-design-tokens)
|
|
7
7
|
|
|
8
8
|
Home to the design tokens.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var _reactJsxRuntime = require("react/jsx-runtime");
|
|
2
|
+
var React = require("react");
|
|
3
|
+
function ExitFullScreenIcon(props, ref) {
|
|
4
|
+
return /*#__PURE__*/_reactJsxRuntime.jsx("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: /*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
13
|
+
d: "M10 20a1 1 0 1 1-2 0v-4H4a1 1 0 1 1 0-2h6zm10-6a1 1 0 1 1 0 2h-4v4a1 1 0 1 1-2 0v-6zM9 3a1 1 0 0 1 1 1v6H4a1 1 0 0 1 0-2h4V4a1 1 0 0 1 1-1m6 0a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2h-6V4a1 1 0 0 1 1-1"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
;
|
|
18
|
+
ExitFullScreenIcon.displayName = "ExitFullScreenIcon";
|
|
19
|
+
module.exports = React.forwardRef(ExitFullScreenIcon);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* exit-full-screen.svg
|
|
5
|
+
*/
|
|
6
|
+
declare const ExitFullScreenIcon: React.ForwardRefExoticComponent<
|
|
7
|
+
Omit<React.SVGProps<SVGSVGElement>, "ref" | "children"> &
|
|
8
|
+
React.RefAttributes<SVGSVGElement>
|
|
9
|
+
>;
|
|
10
|
+
|
|
11
|
+
export default ExitFullScreenIcon;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
function ExitFullScreenIcon(props, ref) {
|
|
4
|
+
return /*#__PURE__*/_jsx("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
13
|
+
d: "M10 20a1 1 0 1 1-2 0v-4H4a1 1 0 1 1 0-2h6zm10-6a1 1 0 1 1 0 2h-4v4a1 1 0 1 1-2 0v-6zM9 3a1 1 0 0 1 1 1v6H4a1 1 0 0 1 0-2h4V4a1 1 0 0 1 1-1m6 0a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2h-6V4a1 1 0 0 1 1-1"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
;
|
|
18
|
+
ExitFullScreenIcon.displayName = "ExitFullScreenIcon";
|
|
19
|
+
export default forwardRef(ExitFullScreenIcon);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var _reactJsxRuntime = require("react/jsx-runtime");
|
|
2
|
+
var React = require("react");
|
|
3
|
+
function FullScreenIcon(props, ref) {
|
|
4
|
+
return /*#__PURE__*/_reactJsxRuntime.jsx("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: /*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
13
|
+
d: "M4 14a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2H3v-6a1 1 0 0 1 1-1m16 0a1 1 0 0 1 1 1v6h-6a1 1 0 1 1 0-2h4v-4a1 1 0 0 1 1-1M9 3a1 1 0 0 1 0 2H5v4a1 1 0 0 1-2 0V3zm12 6a1 1 0 1 1-2 0V5h-4a1 1 0 1 1 0-2h6z"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
;
|
|
18
|
+
FullScreenIcon.displayName = "FullScreenIcon";
|
|
19
|
+
module.exports = React.forwardRef(FullScreenIcon);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* full-screen.svg
|
|
5
|
+
*/
|
|
6
|
+
declare const FullScreenIcon: React.ForwardRefExoticComponent<
|
|
7
|
+
Omit<React.SVGProps<SVGSVGElement>, "ref" | "children"> &
|
|
8
|
+
React.RefAttributes<SVGSVGElement>
|
|
9
|
+
>;
|
|
10
|
+
|
|
11
|
+
export default FullScreenIcon;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
function FullScreenIcon(props, ref) {
|
|
4
|
+
return /*#__PURE__*/_jsx("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
13
|
+
d: "M4 14a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2H3v-6a1 1 0 0 1 1-1m16 0a1 1 0 0 1 1 1v6h-6a1 1 0 1 1 0-2h4v-4a1 1 0 0 1 1-1M9 3a1 1 0 0 1 0 2H5v4a1 1 0 0 1-2 0V3zm12 6a1 1 0 1 1-2 0V5h-4a1 1 0 1 1 0-2h6z"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
;
|
|
18
|
+
FullScreenIcon.displayName = "FullScreenIcon";
|
|
19
|
+
export default forwardRef(FullScreenIcon);
|
|
@@ -52,6 +52,7 @@ module.exports = {
|
|
|
52
52
|
EndCallIcon: require("./end-call.cjs"),
|
|
53
53
|
ErrorSolidIcon: require("./error-solid.cjs"),
|
|
54
54
|
ErrorIcon: require("./error.cjs"),
|
|
55
|
+
ExitFullScreenIcon: require("./exit-full-screen.cjs"),
|
|
55
56
|
ExpandIcon: require("./expand.cjs"),
|
|
56
57
|
ExploreIcon: require("./explore.cjs"),
|
|
57
58
|
ExportArchiveIcon: require("./export-archive.cjs"),
|
|
@@ -63,6 +64,7 @@ module.exports = {
|
|
|
63
64
|
FilesIcon: require("./files.cjs"),
|
|
64
65
|
FilterIcon: require("./filter.cjs"),
|
|
65
66
|
ForwardIcon: require("./forward.cjs"),
|
|
67
|
+
FullScreenIcon: require("./full-screen.cjs"),
|
|
66
68
|
GridIcon: require("./grid.cjs"),
|
|
67
69
|
GroupIcon: require("./group.cjs"),
|
|
68
70
|
GuestIcon: require("./guest.cjs"),
|
|
@@ -89,6 +91,7 @@ module.exports = {
|
|
|
89
91
|
KeyboardIcon: require("./keyboard.cjs"),
|
|
90
92
|
LabsIcon: require("./labs.cjs"),
|
|
91
93
|
LeaveIcon: require("./leave.cjs"),
|
|
94
|
+
LeftPanelCloseIcon: require("./left-panel-close.cjs"),
|
|
92
95
|
LinkIcon: require("./link.cjs"),
|
|
93
96
|
LinuxIcon: require("./linux.cjs"),
|
|
94
97
|
ListBulletedIcon: require("./list-bulleted.cjs"),
|
|
@@ -51,6 +51,7 @@ export { default as EmailIcon } from "./email.js";
|
|
|
51
51
|
export { default as EndCallIcon } from "./end-call.js";
|
|
52
52
|
export { default as ErrorSolidIcon } from "./error-solid.js";
|
|
53
53
|
export { default as ErrorIcon } from "./error.js";
|
|
54
|
+
export { default as ExitFullScreenIcon } from "./exit-full-screen.js";
|
|
54
55
|
export { default as ExpandIcon } from "./expand.js";
|
|
55
56
|
export { default as ExploreIcon } from "./explore.js";
|
|
56
57
|
export { default as ExportArchiveIcon } from "./export-archive.js";
|
|
@@ -62,6 +63,7 @@ export { default as FileErrorIcon } from "./file-error.js";
|
|
|
62
63
|
export { default as FilesIcon } from "./files.js";
|
|
63
64
|
export { default as FilterIcon } from "./filter.js";
|
|
64
65
|
export { default as ForwardIcon } from "./forward.js";
|
|
66
|
+
export { default as FullScreenIcon } from "./full-screen.js";
|
|
65
67
|
export { default as GridIcon } from "./grid.js";
|
|
66
68
|
export { default as GroupIcon } from "./group.js";
|
|
67
69
|
export { default as GuestIcon } from "./guest.js";
|
|
@@ -88,6 +90,7 @@ export { default as KeyIcon } from "./key.js";
|
|
|
88
90
|
export { default as KeyboardIcon } from "./keyboard.js";
|
|
89
91
|
export { default as LabsIcon } from "./labs.js";
|
|
90
92
|
export { default as LeaveIcon } from "./leave.js";
|
|
93
|
+
export { default as LeftPanelCloseIcon } from "./left-panel-close.js";
|
|
91
94
|
export { default as LinkIcon } from "./link.js";
|
|
92
95
|
export { default as LinuxIcon } from "./linux.js";
|
|
93
96
|
export { default as ListBulletedIcon } from "./list-bulleted.js";
|
|
@@ -51,6 +51,7 @@ export { default as EmailIcon } from "./email.js";
|
|
|
51
51
|
export { default as EndCallIcon } from "./end-call.js";
|
|
52
52
|
export { default as ErrorSolidIcon } from "./error-solid.js";
|
|
53
53
|
export { default as ErrorIcon } from "./error.js";
|
|
54
|
+
export { default as ExitFullScreenIcon } from "./exit-full-screen.js";
|
|
54
55
|
export { default as ExpandIcon } from "./expand.js";
|
|
55
56
|
export { default as ExploreIcon } from "./explore.js";
|
|
56
57
|
export { default as ExportArchiveIcon } from "./export-archive.js";
|
|
@@ -62,6 +63,7 @@ export { default as FileErrorIcon } from "./file-error.js";
|
|
|
62
63
|
export { default as FilesIcon } from "./files.js";
|
|
63
64
|
export { default as FilterIcon } from "./filter.js";
|
|
64
65
|
export { default as ForwardIcon } from "./forward.js";
|
|
66
|
+
export { default as FullScreenIcon } from "./full-screen.js";
|
|
65
67
|
export { default as GridIcon } from "./grid.js";
|
|
66
68
|
export { default as GroupIcon } from "./group.js";
|
|
67
69
|
export { default as GuestIcon } from "./guest.js";
|
|
@@ -88,6 +90,7 @@ export { default as KeyIcon } from "./key.js";
|
|
|
88
90
|
export { default as KeyboardIcon } from "./keyboard.js";
|
|
89
91
|
export { default as LabsIcon } from "./labs.js";
|
|
90
92
|
export { default as LeaveIcon } from "./leave.js";
|
|
93
|
+
export { default as LeftPanelCloseIcon } from "./left-panel-close.js";
|
|
91
94
|
export { default as LinkIcon } from "./link.js";
|
|
92
95
|
export { default as LinuxIcon } from "./linux.js";
|
|
93
96
|
export { default as ListBulletedIcon } from "./list-bulleted.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var _reactJsxRuntime = require("react/jsx-runtime");
|
|
2
|
+
var React = require("react");
|
|
3
|
+
function LeftPanelCloseIcon(props, ref) {
|
|
4
|
+
return /*#__PURE__*/_reactJsxRuntime.jsx("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: /*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
13
|
+
d: "M16.5 14.8V9.2q0-.35-.3-.475t-.55.125L13.2 11.3q-.3.3-.3.7t.3.7l2.45 2.45q.25.25.55.125t.3-.475M5 19q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 17V7q0-.824.587-1.412A1.93 1.93 0 0 1 5 5h14q.824 0 1.413.588Q21 6.175 21 7v10q0 .824-.587 1.413A1.93 1.93 0 0 1 19 19zm3-2V7H5v10zm2 0h9V7h-9z"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
;
|
|
18
|
+
LeftPanelCloseIcon.displayName = "LeftPanelCloseIcon";
|
|
19
|
+
module.exports = React.forwardRef(LeftPanelCloseIcon);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* left-panel-close.svg
|
|
5
|
+
*/
|
|
6
|
+
declare const LeftPanelCloseIcon: React.ForwardRefExoticComponent<
|
|
7
|
+
Omit<React.SVGProps<SVGSVGElement>, "ref" | "children"> &
|
|
8
|
+
React.RefAttributes<SVGSVGElement>
|
|
9
|
+
>;
|
|
10
|
+
|
|
11
|
+
export default LeftPanelCloseIcon;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
function LeftPanelCloseIcon(props, ref) {
|
|
4
|
+
return /*#__PURE__*/_jsx("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: "1em",
|
|
7
|
+
height: "1em",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
ref: ref,
|
|
11
|
+
...props,
|
|
12
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
13
|
+
d: "M16.5 14.8V9.2q0-.35-.3-.475t-.55.125L13.2 11.3q-.3.3-.3.7t.3.7l2.45 2.45q.25.25.55.125t.3-.475M5 19q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 17V7q0-.824.587-1.412A1.93 1.93 0 0 1 5 5h14q.824 0 1.413.588Q21 6.175 21 7v10q0 .824-.587 1.413A1.93 1.93 0 0 1 19 19zm3-2V7H5v10zm2 0h9V7h-9z"
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
;
|
|
18
|
+
LeftPanelCloseIcon.displayName = "LeftPanelCloseIcon";
|
|
19
|
+
export default forwardRef(LeftPanelCloseIcon);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _reactJsxRuntime = require("react/jsx-runtime");
|
|
2
2
|
var React = require("react");
|
|
3
3
|
function ThreadsSolidIcon(props, ref) {
|
|
4
|
-
return /*#__PURE__*/_reactJsxRuntime.
|
|
4
|
+
return /*#__PURE__*/_reactJsxRuntime.jsxs("svg", {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
6
|
width: "1em",
|
|
7
7
|
height: "1em",
|
|
@@ -9,9 +9,13 @@ function ThreadsSolidIcon(props, ref) {
|
|
|
9
9
|
viewBox: "0 0 24 24",
|
|
10
10
|
ref: ref,
|
|
11
11
|
...props,
|
|
12
|
-
children: /*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
children: [/*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
d: "M15.792 3A4 4 0 0 0 22 7.621V17a2 2 0 0 1-2 2H6l-2.293 2.293c-.63.63-1.707.184-1.707-.707V5a2 2 0 0 1 2-2zM7 12a.97.97 0 0 0-.713.287A.97.97 0 0 0 6 13q0 .425.287.713Q6.575 14 7 14h6a.97.97 0 0 0 .713-.287A.97.97 0 0 0 14 13a.97.97 0 0 0-.287-.713A.97.97 0 0 0 13 12zm0-4a.97.97 0 0 0-.713.287A.97.97 0 0 0 6 9q0 .425.287.713Q6.575 10 7 10h10a.97.97 0 0 0 .713-.287A.97.97 0 0 0 18 9a.97.97 0 0 0-.287-.713A.97.97 0 0 0 17 8z",
|
|
15
|
+
clipRule: "evenodd"
|
|
16
|
+
}), /*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
17
|
+
d: "M19.5 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5"
|
|
18
|
+
})]
|
|
15
19
|
});
|
|
16
20
|
}
|
|
17
21
|
;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef } from "react";
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
function ThreadsSolidIcon(props, ref) {
|
|
4
|
-
return /*#__PURE__*/
|
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
6
|
width: "1em",
|
|
7
7
|
height: "1em",
|
|
@@ -9,9 +9,13 @@ function ThreadsSolidIcon(props, ref) {
|
|
|
9
9
|
viewBox: "0 0 24 24",
|
|
10
10
|
ref: ref,
|
|
11
11
|
...props,
|
|
12
|
-
children: /*#__PURE__*/_jsx("path", {
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
13
|
+
fillRule: "evenodd",
|
|
14
|
+
d: "M15.792 3A4 4 0 0 0 22 7.621V17a2 2 0 0 1-2 2H6l-2.293 2.293c-.63.63-1.707.184-1.707-.707V5a2 2 0 0 1 2-2zM7 12a.97.97 0 0 0-.713.287A.97.97 0 0 0 6 13q0 .425.287.713Q6.575 14 7 14h6a.97.97 0 0 0 .713-.287A.97.97 0 0 0 14 13a.97.97 0 0 0-.287-.713A.97.97 0 0 0 13 12zm0-4a.97.97 0 0 0-.713.287A.97.97 0 0 0 6 9q0 .425.287.713Q6.575 10 7 10h10a.97.97 0 0 0 .713-.287A.97.97 0 0 0 18 9a.97.97 0 0 0-.287-.713A.97.97 0 0 0 17 8z",
|
|
15
|
+
clipRule: "evenodd"
|
|
16
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
17
|
+
d: "M19.5 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5"
|
|
18
|
+
})]
|
|
15
19
|
});
|
|
16
20
|
}
|
|
17
21
|
;
|
|
@@ -10,9 +10,11 @@ function ThreadsIcon(props, ref) {
|
|
|
10
10
|
ref: ref,
|
|
11
11
|
...props,
|
|
12
12
|
children: [/*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
13
|
-
d: "
|
|
13
|
+
d: "M13 14H7a.97.97 0 0 1-.713-.287A.97.97 0 0 1 6 13q0-.424.287-.713A.97.97 0 0 1 7 12h6q.424 0 .713.287.287.288.287.713 0 .424-.287.713A.97.97 0 0 1 13 14m4-4H7a.97.97 0 0 1-.713-.287A.97.97 0 0 1 6 9q0-.424.287-.713A.97.97 0 0 1 7 8h10q.424 0 .712.287Q18 8.576 18 9t-.288.713A.97.97 0 0 1 17 10"
|
|
14
14
|
}), /*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
15
|
-
d: "
|
|
15
|
+
d: "M15.792 3a4 4 0 0 0-.26 2H4v13.172l.586-.586.146-.133A2 2 0 0 1 6 17h14V8.468a4 4 0 0 0 2-.847V17a2 2 0 0 1-2 2H6l-2.293 2.293-.123.105a1 1 0 0 1-1.571-.65L2 20.585V5a2 2 0 0 1 2-2z"
|
|
16
|
+
}), /*#__PURE__*/_reactJsxRuntime.jsx("path", {
|
|
17
|
+
d: "M19.5 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5"
|
|
16
18
|
})]
|
|
17
19
|
});
|
|
18
20
|
}
|
|
@@ -10,9 +10,11 @@ function ThreadsIcon(props, ref) {
|
|
|
10
10
|
ref: ref,
|
|
11
11
|
...props,
|
|
12
12
|
children: [/*#__PURE__*/_jsx("path", {
|
|
13
|
-
d: "
|
|
13
|
+
d: "M13 14H7a.97.97 0 0 1-.713-.287A.97.97 0 0 1 6 13q0-.424.287-.713A.97.97 0 0 1 7 12h6q.424 0 .713.287.287.288.287.713 0 .424-.287.713A.97.97 0 0 1 13 14m4-4H7a.97.97 0 0 1-.713-.287A.97.97 0 0 1 6 9q0-.424.287-.713A.97.97 0 0 1 7 8h10q.424 0 .712.287Q18 8.576 18 9t-.288.713A.97.97 0 0 1 17 10"
|
|
14
14
|
}), /*#__PURE__*/_jsx("path", {
|
|
15
|
-
d: "
|
|
15
|
+
d: "M15.792 3a4 4 0 0 0-.26 2H4v13.172l.586-.586.146-.133A2 2 0 0 1 6 17h14V8.468a4 4 0 0 0 2-.847V17a2 2 0 0 1-2 2H6l-2.293 2.293-.123.105a1 1 0 0 1-1.571-.65L2 20.585V5a2 2 0 0 1 2-2z"
|
|
16
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
17
|
+
d: "M19.5 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5"
|
|
16
18
|
})]
|
|
17
19
|
});
|
|
18
20
|
}
|
|
@@ -205,6 +205,8 @@ export const cpdIconAudio: string;
|
|
|
205
205
|
export const cpdIconSpotlightView: string;
|
|
206
206
|
export const cpdIconListView: string;
|
|
207
207
|
export const cpdIconEarpiece: string;
|
|
208
|
+
export const cpdIconFullScreen: string;
|
|
209
|
+
export const cpdIconExitFullScreen: string;
|
|
208
210
|
export const cpdIconKeyOffSolid: string;
|
|
209
211
|
export const cpdIconCloudSolid: string;
|
|
210
212
|
export const cpdIconKeyOff: string;
|
|
@@ -277,6 +279,7 @@ export const cpdIconDialPad: string;
|
|
|
277
279
|
export const cpdIconSpace: string;
|
|
278
280
|
export const cpdIconSpaceSolid: string;
|
|
279
281
|
export const cpdIconGuest: string;
|
|
282
|
+
export const cpdIconLeftPanelClose: string;
|
|
280
283
|
export const cpdColorThemeBg: string;
|
|
281
284
|
export const cpdColorGray100: string;
|
|
282
285
|
export const cpdColorGray200: string;
|
package/assets/web/js/cpdDark.js
CHANGED
|
@@ -228,6 +228,8 @@ export const cpdIconAudio = "icons/audio.svg";
|
|
|
228
228
|
export const cpdIconSpotlightView = "icons/spotlight-view.svg";
|
|
229
229
|
export const cpdIconListView = "icons/list-view.svg";
|
|
230
230
|
export const cpdIconEarpiece = "icons/earpiece.svg";
|
|
231
|
+
export const cpdIconFullScreen = "icons/full-screen.svg";
|
|
232
|
+
export const cpdIconExitFullScreen = "icons/exit-full-screen.svg";
|
|
231
233
|
export const cpdIconKeyOffSolid = "icons/key-off-solid.svg";
|
|
232
234
|
export const cpdIconCloudSolid = "icons/cloud-solid.svg";
|
|
233
235
|
export const cpdIconKeyOff = "icons/key-off.svg";
|
|
@@ -302,6 +304,7 @@ export const cpdIconDialPad = "icons/dial-pad.svg";
|
|
|
302
304
|
export const cpdIconSpace = "icons/space.svg";
|
|
303
305
|
export const cpdIconSpaceSolid = "icons/space-solid.svg";
|
|
304
306
|
export const cpdIconGuest = "icons/guest.svg";
|
|
307
|
+
export const cpdIconLeftPanelClose = "icons/left-panel-close.svg";
|
|
305
308
|
export const cpdColorThemeBg = "#101317";
|
|
306
309
|
export const cpdColorGray100 = "#14171b";
|
|
307
310
|
export const cpdColorGray200 = "#181a1f";
|
|
@@ -205,6 +205,8 @@ export const cpdIconAudio: string;
|
|
|
205
205
|
export const cpdIconSpotlightView: string;
|
|
206
206
|
export const cpdIconListView: string;
|
|
207
207
|
export const cpdIconEarpiece: string;
|
|
208
|
+
export const cpdIconFullScreen: string;
|
|
209
|
+
export const cpdIconExitFullScreen: string;
|
|
208
210
|
export const cpdIconKeyOffSolid: string;
|
|
209
211
|
export const cpdIconCloudSolid: string;
|
|
210
212
|
export const cpdIconKeyOff: string;
|
|
@@ -277,6 +279,7 @@ export const cpdIconDialPad: string;
|
|
|
277
279
|
export const cpdIconSpace: string;
|
|
278
280
|
export const cpdIconSpaceSolid: string;
|
|
279
281
|
export const cpdIconGuest: string;
|
|
282
|
+
export const cpdIconLeftPanelClose: string;
|
|
280
283
|
export const cpdColorThemeBg: string;
|
|
281
284
|
export const cpdColorGray100: string;
|
|
282
285
|
export const cpdColorGray200: string;
|
|
@@ -228,6 +228,8 @@ export const cpdIconAudio = "icons/audio.svg";
|
|
|
228
228
|
export const cpdIconSpotlightView = "icons/spotlight-view.svg";
|
|
229
229
|
export const cpdIconListView = "icons/list-view.svg";
|
|
230
230
|
export const cpdIconEarpiece = "icons/earpiece.svg";
|
|
231
|
+
export const cpdIconFullScreen = "icons/full-screen.svg";
|
|
232
|
+
export const cpdIconExitFullScreen = "icons/exit-full-screen.svg";
|
|
231
233
|
export const cpdIconKeyOffSolid = "icons/key-off-solid.svg";
|
|
232
234
|
export const cpdIconCloudSolid = "icons/cloud-solid.svg";
|
|
233
235
|
export const cpdIconKeyOff = "icons/key-off.svg";
|
|
@@ -302,6 +304,7 @@ export const cpdIconDialPad = "icons/dial-pad.svg";
|
|
|
302
304
|
export const cpdIconSpace = "icons/space.svg";
|
|
303
305
|
export const cpdIconSpaceSolid = "icons/space-solid.svg";
|
|
304
306
|
export const cpdIconGuest = "icons/guest.svg";
|
|
307
|
+
export const cpdIconLeftPanelClose = "icons/left-panel-close.svg";
|
|
305
308
|
export const cpdColorThemeBg = "#101317";
|
|
306
309
|
export const cpdColorGray100 = "#181a1f";
|
|
307
310
|
export const cpdColorGray200 = "#1d1f24";
|
|
@@ -205,6 +205,8 @@ export const cpdIconAudio: string;
|
|
|
205
205
|
export const cpdIconSpotlightView: string;
|
|
206
206
|
export const cpdIconListView: string;
|
|
207
207
|
export const cpdIconEarpiece: string;
|
|
208
|
+
export const cpdIconFullScreen: string;
|
|
209
|
+
export const cpdIconExitFullScreen: string;
|
|
208
210
|
export const cpdIconKeyOffSolid: string;
|
|
209
211
|
export const cpdIconCloudSolid: string;
|
|
210
212
|
export const cpdIconKeyOff: string;
|
|
@@ -277,6 +279,7 @@ export const cpdIconDialPad: string;
|
|
|
277
279
|
export const cpdIconSpace: string;
|
|
278
280
|
export const cpdIconSpaceSolid: string;
|
|
279
281
|
export const cpdIconGuest: string;
|
|
282
|
+
export const cpdIconLeftPanelClose: string;
|
|
280
283
|
export const cpdColorThemeBg: string;
|
|
281
284
|
export const cpdColorGray100: string;
|
|
282
285
|
export const cpdColorGray200: string;
|
|
@@ -228,6 +228,8 @@ export const cpdIconAudio = "icons/audio.svg";
|
|
|
228
228
|
export const cpdIconSpotlightView = "icons/spotlight-view.svg";
|
|
229
229
|
export const cpdIconListView = "icons/list-view.svg";
|
|
230
230
|
export const cpdIconEarpiece = "icons/earpiece.svg";
|
|
231
|
+
export const cpdIconFullScreen = "icons/full-screen.svg";
|
|
232
|
+
export const cpdIconExitFullScreen = "icons/exit-full-screen.svg";
|
|
231
233
|
export const cpdIconKeyOffSolid = "icons/key-off-solid.svg";
|
|
232
234
|
export const cpdIconCloudSolid = "icons/cloud-solid.svg";
|
|
233
235
|
export const cpdIconKeyOff = "icons/key-off.svg";
|
|
@@ -302,6 +304,7 @@ export const cpdIconDialPad = "icons/dial-pad.svg";
|
|
|
302
304
|
export const cpdIconSpace = "icons/space.svg";
|
|
303
305
|
export const cpdIconSpaceSolid = "icons/space-solid.svg";
|
|
304
306
|
export const cpdIconGuest = "icons/guest.svg";
|
|
307
|
+
export const cpdIconLeftPanelClose = "icons/left-panel-close.svg";
|
|
305
308
|
export const cpdColorThemeBg = "#ffffff";
|
|
306
309
|
export const cpdColorGray100 = "#fbfcfd";
|
|
307
310
|
export const cpdColorGray200 = "#f7f9fa";
|
|
@@ -205,6 +205,8 @@ export const cpdIconAudio: string;
|
|
|
205
205
|
export const cpdIconSpotlightView: string;
|
|
206
206
|
export const cpdIconListView: string;
|
|
207
207
|
export const cpdIconEarpiece: string;
|
|
208
|
+
export const cpdIconFullScreen: string;
|
|
209
|
+
export const cpdIconExitFullScreen: string;
|
|
208
210
|
export const cpdIconKeyOffSolid: string;
|
|
209
211
|
export const cpdIconCloudSolid: string;
|
|
210
212
|
export const cpdIconKeyOff: string;
|
|
@@ -277,6 +279,7 @@ export const cpdIconDialPad: string;
|
|
|
277
279
|
export const cpdIconSpace: string;
|
|
278
280
|
export const cpdIconSpaceSolid: string;
|
|
279
281
|
export const cpdIconGuest: string;
|
|
282
|
+
export const cpdIconLeftPanelClose: string;
|
|
280
283
|
export const cpdColorThemeBg: string;
|
|
281
284
|
export const cpdColorGray100: string;
|
|
282
285
|
export const cpdColorGray200: string;
|
|
@@ -228,6 +228,8 @@ export const cpdIconAudio = "icons/audio.svg";
|
|
|
228
228
|
export const cpdIconSpotlightView = "icons/spotlight-view.svg";
|
|
229
229
|
export const cpdIconListView = "icons/list-view.svg";
|
|
230
230
|
export const cpdIconEarpiece = "icons/earpiece.svg";
|
|
231
|
+
export const cpdIconFullScreen = "icons/full-screen.svg";
|
|
232
|
+
export const cpdIconExitFullScreen = "icons/exit-full-screen.svg";
|
|
231
233
|
export const cpdIconKeyOffSolid = "icons/key-off-solid.svg";
|
|
232
234
|
export const cpdIconCloudSolid = "icons/cloud-solid.svg";
|
|
233
235
|
export const cpdIconKeyOff = "icons/key-off.svg";
|
|
@@ -302,6 +304,7 @@ export const cpdIconDialPad = "icons/dial-pad.svg";
|
|
|
302
304
|
export const cpdIconSpace = "icons/space.svg";
|
|
303
305
|
export const cpdIconSpaceSolid = "icons/space-solid.svg";
|
|
304
306
|
export const cpdIconGuest = "icons/guest.svg";
|
|
307
|
+
export const cpdIconLeftPanelClose = "icons/left-panel-close.svg";
|
|
305
308
|
export const cpdColorThemeBg = "#ffffff";
|
|
306
309
|
export const cpdColorGray100 = "#f7f9fa";
|
|
307
310
|
export const cpdColorGray200 = "#f0f2f5";
|
package/icons/$icons.json
CHANGED
|
@@ -512,6 +512,14 @@
|
|
|
512
512
|
"value": "icons/earpiece.svg",
|
|
513
513
|
"type": "icon"
|
|
514
514
|
},
|
|
515
|
+
"full-screen": {
|
|
516
|
+
"value": "icons/full-screen.svg",
|
|
517
|
+
"type": "icon"
|
|
518
|
+
},
|
|
519
|
+
"exit-full-screen": {
|
|
520
|
+
"value": "icons/exit-full-screen.svg",
|
|
521
|
+
"type": "icon"
|
|
522
|
+
},
|
|
515
523
|
"key-off-solid": {
|
|
516
524
|
"value": "icons/key-off-solid.svg",
|
|
517
525
|
"type": "icon"
|
|
@@ -799,6 +807,10 @@
|
|
|
799
807
|
"guest": {
|
|
800
808
|
"value": "icons/guest.svg",
|
|
801
809
|
"type": "icon"
|
|
810
|
+
},
|
|
811
|
+
"left-panel-close": {
|
|
812
|
+
"value": "icons/left-panel-close.svg",
|
|
813
|
+
"type": "icon"
|
|
802
814
|
}
|
|
803
815
|
}
|
|
804
816
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path d="M10 20a1 1 0 1 1-2 0v-4H4a1 1 0 1 1 0-2h6zm10-6a1 1 0 1 1 0 2h-4v4a1 1 0 1 1-2 0v-6zM9 3a1 1 0 0 1 1 1v6H4a1 1 0 0 1 0-2h4V4a1 1 0 0 1 1-1m6 0a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2h-6V4a1 1 0 0 1 1-1"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path d="M4 14a1 1 0 0 1 1 1v4h4a1 1 0 1 1 0 2H3v-6a1 1 0 0 1 1-1m16 0a1 1 0 0 1 1 1v6h-6a1 1 0 1 1 0-2h4v-4a1 1 0 0 1 1-1M9 3a1 1 0 0 1 0 2H5v4a1 1 0 0 1-2 0V3zm12 6a1 1 0 1 1-2 0V5h-4a1 1 0 1 1 0-2h6z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path d="M16.5 14.8V9.2q0-.35-.3-.475t-.55.125L13.2 11.3q-.3.3-.3.7t.3.7l2.45 2.45q.25.25.55.125t.3-.475M5 19q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 17V7q0-.824.587-1.412A1.93 1.93 0 0 1 5 5h14q.824 0 1.413.588Q21 6.175 21 7v10q0 .824-.587 1.413A1.93 1.93 0 0 1 19 19zm3-2V7H5v10zm2 0h9V7h-9z"/></svg>
|
package/icons/threads-solid.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path d="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M15.792 3A4 4 0 0 0 22 7.621V17a2 2 0 0 1-2 2H6l-2.293 2.293c-.63.63-1.707.184-1.707-.707V5a2 2 0 0 1 2-2zM7 12a.97.97 0 0 0-.713.287A.97.97 0 0 0 6 13q0 .425.287.713Q6.575 14 7 14h6a.97.97 0 0 0 .713-.287A.97.97 0 0 0 14 13a.97.97 0 0 0-.287-.713A.97.97 0 0 0 13 12zm0-4a.97.97 0 0 0-.713.287A.97.97 0 0 0 6 9q0 .425.287.713Q6.575 10 7 10h10a.97.97 0 0 0 .713-.287A.97.97 0 0 0 18 9a.97.97 0 0 0-.287-.713A.97.97 0 0 0 17 8z" clip-rule="evenodd"/><path d="M19.5 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5"/></svg>
|
package/icons/threads.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path d="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path d="M13 14H7a.97.97 0 0 1-.713-.287A.97.97 0 0 1 6 13q0-.424.287-.713A.97.97 0 0 1 7 12h6q.424 0 .713.287.287.288.287.713 0 .424-.287.713A.97.97 0 0 1 13 14m4-4H7a.97.97 0 0 1-.713-.287A.97.97 0 0 1 6 9q0-.424.287-.713A.97.97 0 0 1 7 8h10q.424 0 .712.287Q18 8.576 18 9t-.288.713A.97.97 0 0 1 17 10"/><path d="M15.792 3a4 4 0 0 0-.26 2H4v13.172l.586-.586.146-.133A2 2 0 0 1 6 17h14V8.468a4 4 0 0 0 2-.847V17a2 2 0 0 1-2 2H6l-2.293 2.293-.123.105a1 1 0 0 1-1.571-.65L2 20.585V5a2 2 0 0 1 2-2z"/><path d="M19.5 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vector-im/compound-design-tokens",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Compound design tokens",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"scripts": {
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
},
|
|
45
45
|
"author": "",
|
|
46
46
|
"license": "SEE LICENSE IN README.md",
|
|
47
|
-
"homepage": "https://github.com/
|
|
47
|
+
"homepage": "https://github.com/element-hq/compound-design-tokens",
|
|
48
48
|
"bugs": {
|
|
49
|
-
"url": "https://github.com/
|
|
49
|
+
"url": "https://github.com/element-hq/compound/issues"
|
|
50
50
|
},
|
|
51
51
|
"repository": {
|
|
52
52
|
"type": "git",
|
|
53
|
-
"url": "
|
|
53
|
+
"url": "https://github.com/element-hq/compound-design-tokens"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/core": "^7.24.7",
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
"@types/babel__core": "^7.20.5",
|
|
67
67
|
"@types/fs-extra": "^11.0.4",
|
|
68
68
|
"@types/lodash-es": "^4.17.12",
|
|
69
|
-
"@types/node": "^
|
|
69
|
+
"@types/node": "^24.0.0",
|
|
70
70
|
"fast-glob": "^3.3.2",
|
|
71
|
+
"fs-extra": "^11.3.1",
|
|
71
72
|
"http-server": "^14.1.1",
|
|
72
73
|
"lodash-es": "^4.17.21",
|
|
73
74
|
"prettier": "^3.3.3",
|
|
74
75
|
"style-dictionary": "^5.0.0",
|
|
75
|
-
"svg2vectordrawable": "^2.9.1",
|
|
76
76
|
"svgo": "^4.0.0",
|
|
77
77
|
"tsx": "^4.15.6",
|
|
78
78
|
"typescript": "^5.4.5",
|