@vector-im/compound-design-tokens 4.0.4 → 4.0.5

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.
@@ -1,7 +1,7 @@
1
1
  var _reactJsxRuntime = require("react/jsx-runtime");
2
2
  var React = require("react");
3
3
  function GuestIcon(props, ref) {
4
- return /*#__PURE__*/_reactJsxRuntime.jsx("svg", {
4
+ return /*#__PURE__*/_reactJsxRuntime.jsxs("svg", {
5
5
  xmlns: "http://www.w3.org/2000/svg",
6
6
  width: "1em",
7
7
  height: "1em",
@@ -9,11 +9,11 @@ function GuestIcon(props, ref) {
9
9
  viewBox: "0 0 24 24",
10
10
  ref: ref,
11
11
  ...props,
12
- children: /*#__PURE__*/_reactJsxRuntime.jsx("path", {
13
- fillRule: "evenodd",
14
- d: "M1.304 12.617a1.04 1.04 0 0 1 0-1.47l6.844-6.843a1.04 1.04 0 0 1 1.47 0l1.343 1.344-5.5 5.5a1.04 1.04 0 0 0 0 1.47l5.5 5.5-1.344 1.343a1.04 1.04 0 0 1-1.47 0zm6.235-1.47a1.04 1.04 0 0 0 0 1.47l6.844 6.844a1.04 1.04 0 0 0 1.47 0l6.843-6.843a1.04 1.04 0 0 0 0-1.47l-6.844-6.844a1.04 1.04 0 0 0-1.47 0z",
15
- clipRule: "evenodd"
16
- })
12
+ children: [/*#__PURE__*/_reactJsxRuntime.jsx("path", {
13
+ d: "M8.148 4.304a1.04 1.04 0 0 1 1.47 0l1.343 1.344-5.5 5.5a1.04 1.04 0 0 0 0 1.47l5.5 5.5-1.344 1.343a1.04 1.04 0 0 1-1.47 0l-6.843-6.843a1.04 1.04 0 0 1 0-1.47z"
14
+ }), /*#__PURE__*/_reactJsxRuntime.jsx("path", {
15
+ d: "M14.383 4.304a1.04 1.04 0 0 1 1.469 0l6.844 6.844a1.04 1.04 0 0 1 0 1.47l-6.844 6.843a1.04 1.04 0 0 1-1.469 0L7.54 12.618a1.04 1.04 0 0 1 0-1.47z"
16
+ })]
17
17
  });
18
18
  }
19
19
  ;
@@ -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 GuestIcon(props, ref) {
4
- return /*#__PURE__*/_jsx("svg", {
4
+ return /*#__PURE__*/_jsxs("svg", {
5
5
  xmlns: "http://www.w3.org/2000/svg",
6
6
  width: "1em",
7
7
  height: "1em",
@@ -9,11 +9,11 @@ function GuestIcon(props, ref) {
9
9
  viewBox: "0 0 24 24",
10
10
  ref: ref,
11
11
  ...props,
12
- children: /*#__PURE__*/_jsx("path", {
13
- fillRule: "evenodd",
14
- d: "M1.304 12.617a1.04 1.04 0 0 1 0-1.47l6.844-6.843a1.04 1.04 0 0 1 1.47 0l1.343 1.344-5.5 5.5a1.04 1.04 0 0 0 0 1.47l5.5 5.5-1.344 1.343a1.04 1.04 0 0 1-1.47 0zm6.235-1.47a1.04 1.04 0 0 0 0 1.47l6.844 6.844a1.04 1.04 0 0 0 1.47 0l6.843-6.843a1.04 1.04 0 0 0 0-1.47l-6.844-6.844a1.04 1.04 0 0 0-1.47 0z",
15
- clipRule: "evenodd"
16
- })
12
+ children: [/*#__PURE__*/_jsx("path", {
13
+ d: "M8.148 4.304a1.04 1.04 0 0 1 1.47 0l1.343 1.344-5.5 5.5a1.04 1.04 0 0 0 0 1.47l5.5 5.5-1.344 1.343a1.04 1.04 0 0 1-1.47 0l-6.843-6.843a1.04 1.04 0 0 1 0-1.47z"
14
+ }), /*#__PURE__*/_jsx("path", {
15
+ d: "M14.383 4.304a1.04 1.04 0 0 1 1.469 0l6.844 6.844a1.04 1.04 0 0 1 0 1.47l-6.844 6.843a1.04 1.04 0 0 1-1.469 0L7.54 12.618a1.04 1.04 0 0 1 0-1.47z"
16
+ })]
17
17
  });
18
18
  }
19
19
  ;
@@ -155,6 +155,7 @@ module.exports = {
155
155
  ShareScreenSolidIcon: require("./share-screen-solid.cjs"),
156
156
  ShareScreenIcon: require("./share-screen.cjs"),
157
157
  ShareIcon: require("./share.cjs"),
158
+ ShieldIcon: require("./shield.cjs"),
158
159
  SidebarIcon: require("./sidebar.cjs"),
159
160
  SignOutIcon: require("./sign-out.cjs"),
160
161
  SpinnerIcon: require("./spinner.cjs"),
@@ -154,6 +154,7 @@ export { default as ShareIosIcon } from "./share-ios.js";
154
154
  export { default as ShareScreenSolidIcon } from "./share-screen-solid.js";
155
155
  export { default as ShareScreenIcon } from "./share-screen.js";
156
156
  export { default as ShareIcon } from "./share.js";
157
+ export { default as ShieldIcon } from "./shield.js";
157
158
  export { default as SidebarIcon } from "./sidebar.js";
158
159
  export { default as SignOutIcon } from "./sign-out.js";
159
160
  export { default as SpinnerIcon } from "./spinner.js";
@@ -154,6 +154,7 @@ export { default as ShareIosIcon } from "./share-ios.js";
154
154
  export { default as ShareScreenSolidIcon } from "./share-screen-solid.js";
155
155
  export { default as ShareScreenIcon } from "./share-screen.js";
156
156
  export { default as ShareIcon } from "./share.js";
157
+ export { default as ShieldIcon } from "./shield.js";
157
158
  export { default as SidebarIcon } from "./sidebar.js";
158
159
  export { default as SignOutIcon } from "./sign-out.js";
159
160
  export { default as SpinnerIcon } from "./spinner.js";
@@ -0,0 +1,21 @@
1
+ var _reactJsxRuntime = require("react/jsx-runtime");
2
+ var React = require("react");
3
+ function ShieldIcon(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
+ fillRule: "evenodd",
14
+ d: "M11.106 2.447a2 2 0 0 1 1.789 0l6 3A2 2 0 0 1 20 7.237V12c0 6.742-5.773 9.246-7.51 9.846-.32.111-.66.111-.98 0C9.774 21.246 4 18.743 4 12V7.236a2 2 0 0 1 1.105-1.789zm4.601 6.846a1 1 0 0 0-1.414 0L11 12.586l-1.293-1.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0 0-1.414",
15
+ clipRule: "evenodd"
16
+ })
17
+ });
18
+ }
19
+ ;
20
+ ShieldIcon.displayName = "ShieldIcon";
21
+ module.exports = React.forwardRef(ShieldIcon);
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+
3
+ /**
4
+ * shield.svg
5
+ */
6
+ declare const ShieldIcon: React.ForwardRefExoticComponent<
7
+ Omit<React.SVGProps<SVGSVGElement>, "ref" | "children"> &
8
+ React.RefAttributes<SVGSVGElement>
9
+ >;
10
+
11
+ export default ShieldIcon;
@@ -0,0 +1,21 @@
1
+ import { forwardRef } from "react";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ function ShieldIcon(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
+ fillRule: "evenodd",
14
+ d: "M11.106 2.447a2 2 0 0 1 1.789 0l6 3A2 2 0 0 1 20 7.237V12c0 6.742-5.773 9.246-7.51 9.846-.32.111-.66.111-.98 0C9.774 21.246 4 18.743 4 12V7.236a2 2 0 0 1 1.105-1.789zm4.601 6.846a1 1 0 0 0-1.414 0L11 12.586l-1.293-1.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0 0-1.414",
15
+ clipRule: "evenodd"
16
+ })
17
+ });
18
+ }
19
+ ;
20
+ ShieldIcon.displayName = "ShieldIcon";
21
+ export default forwardRef(ShieldIcon);
@@ -245,6 +245,7 @@ export const cpdIconCopy: string;
245
245
  export const cpdIconHistory: string;
246
246
  export const cpdIconDocument: string;
247
247
  export const cpdIconAdmin: string;
248
+ export const cpdIconShield: string;
248
249
  export const cpdIconHost: string;
249
250
  export const cpdIconCompany: string;
250
251
  export const cpdIconDarkMode: string;
@@ -269,6 +269,7 @@ export const cpdIconCopy = "icons/copy.svg";
269
269
  export const cpdIconHistory = "icons/history.svg";
270
270
  export const cpdIconDocument = "icons/document.svg";
271
271
  export const cpdIconAdmin = "icons/admin.svg";
272
+ export const cpdIconShield = "icons/shield.svg";
272
273
  export const cpdIconHost = "icons/host.svg";
273
274
  export const cpdIconCompany = "icons/company.svg";
274
275
  export const cpdIconDarkMode = "icons/dark-mode.svg";
@@ -245,6 +245,7 @@ export const cpdIconCopy: string;
245
245
  export const cpdIconHistory: string;
246
246
  export const cpdIconDocument: string;
247
247
  export const cpdIconAdmin: string;
248
+ export const cpdIconShield: string;
248
249
  export const cpdIconHost: string;
249
250
  export const cpdIconCompany: string;
250
251
  export const cpdIconDarkMode: string;
@@ -269,6 +269,7 @@ export const cpdIconCopy = "icons/copy.svg";
269
269
  export const cpdIconHistory = "icons/history.svg";
270
270
  export const cpdIconDocument = "icons/document.svg";
271
271
  export const cpdIconAdmin = "icons/admin.svg";
272
+ export const cpdIconShield = "icons/shield.svg";
272
273
  export const cpdIconHost = "icons/host.svg";
273
274
  export const cpdIconCompany = "icons/company.svg";
274
275
  export const cpdIconDarkMode = "icons/dark-mode.svg";
@@ -245,6 +245,7 @@ export const cpdIconCopy: string;
245
245
  export const cpdIconHistory: string;
246
246
  export const cpdIconDocument: string;
247
247
  export const cpdIconAdmin: string;
248
+ export const cpdIconShield: string;
248
249
  export const cpdIconHost: string;
249
250
  export const cpdIconCompany: string;
250
251
  export const cpdIconDarkMode: string;
@@ -269,6 +269,7 @@ export const cpdIconCopy = "icons/copy.svg";
269
269
  export const cpdIconHistory = "icons/history.svg";
270
270
  export const cpdIconDocument = "icons/document.svg";
271
271
  export const cpdIconAdmin = "icons/admin.svg";
272
+ export const cpdIconShield = "icons/shield.svg";
272
273
  export const cpdIconHost = "icons/host.svg";
273
274
  export const cpdIconCompany = "icons/company.svg";
274
275
  export const cpdIconDarkMode = "icons/dark-mode.svg";
@@ -245,6 +245,7 @@ export const cpdIconCopy: string;
245
245
  export const cpdIconHistory: string;
246
246
  export const cpdIconDocument: string;
247
247
  export const cpdIconAdmin: string;
248
+ export const cpdIconShield: string;
248
249
  export const cpdIconHost: string;
249
250
  export const cpdIconCompany: string;
250
251
  export const cpdIconDarkMode: string;
@@ -269,6 +269,7 @@ export const cpdIconCopy = "icons/copy.svg";
269
269
  export const cpdIconHistory = "icons/history.svg";
270
270
  export const cpdIconDocument = "icons/document.svg";
271
271
  export const cpdIconAdmin = "icons/admin.svg";
272
+ export const cpdIconShield = "icons/shield.svg";
272
273
  export const cpdIconHost = "icons/host.svg";
273
274
  export const cpdIconCompany = "icons/company.svg";
274
275
  export const cpdIconDarkMode = "icons/dark-mode.svg";
package/icons/$icons.json CHANGED
@@ -672,6 +672,10 @@
672
672
  "value": "icons/admin.svg",
673
673
  "type": "icon"
674
674
  },
675
+ "shield": {
676
+ "value": "icons/shield.svg",
677
+ "type": "icon"
678
+ },
675
679
  "host": {
676
680
  "value": "icons/host.svg",
677
681
  "type": "icon"
package/icons/guest.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 fill-rule="evenodd" d="M1.304 12.617a1.04 1.04 0 0 1 0-1.47l6.844-6.843a1.04 1.04 0 0 1 1.47 0l1.343 1.344-5.5 5.5a1.04 1.04 0 0 0 0 1.47l5.5 5.5-1.344 1.343a1.04 1.04 0 0 1-1.47 0zm6.235-1.47a1.04 1.04 0 0 0 0 1.47l6.844 6.844a1.04 1.04 0 0 0 1.47 0l6.843-6.843a1.04 1.04 0 0 0 0-1.47l-6.844-6.844a1.04 1.04 0 0 0-1.47 0z" clip-rule="evenodd"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"><path d="M8.148 4.304a1.04 1.04 0 0 1 1.47 0l1.343 1.344-5.5 5.5a1.04 1.04 0 0 0 0 1.47l5.5 5.5-1.344 1.343a1.04 1.04 0 0 1-1.47 0l-6.843-6.843a1.04 1.04 0 0 1 0-1.47z"/><path d="M14.383 4.304a1.04 1.04 0 0 1 1.469 0l6.844 6.844a1.04 1.04 0 0 1 0 1.47l-6.844 6.843a1.04 1.04 0 0 1-1.469 0L7.54 12.618a1.04 1.04 0 0 1 0-1.47z"/></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 fill-rule="evenodd" d="M11.106 2.447a2 2 0 0 1 1.789 0l6 3A2 2 0 0 1 20 7.237V12c0 6.742-5.773 9.246-7.51 9.846-.32.111-.66.111-.98 0C9.774 21.246 4 18.743 4 12V7.236a2 2 0 0 1 1.105-1.789zm4.601 6.846a1 1 0 0 0-1.414 0L11 12.586l-1.293-1.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0 0-1.414" clip-rule="evenodd"/></svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vector-im/compound-design-tokens",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "description": "Compound design tokens",
5
5
  "sideEffects": false,
6
6
  "scripts": {