@vector-im/compound-design-tokens 6.6.0 → 6.7.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.
@@ -179,6 +179,7 @@ module.exports = {
179
179
  TakePhotoSolidIcon: require("./take-photo-solid.cjs"),
180
180
  TakePhotoIcon: require("./take-photo.cjs"),
181
181
  TextFormattingIcon: require("./text-formatting.cjs"),
182
+ ThemeIcon: require("./theme.cjs"),
182
183
  ThreadsSolidIcon: require("./threads-solid.cjs"),
183
184
  ThreadsIcon: require("./threads.cjs"),
184
185
  TimeIcon: require("./time.cjs"),
@@ -178,6 +178,7 @@ export { default as SwitchCameraSolidIcon } from "./switch-camera-solid.js";
178
178
  export { default as TakePhotoSolidIcon } from "./take-photo-solid.js";
179
179
  export { default as TakePhotoIcon } from "./take-photo.js";
180
180
  export { default as TextFormattingIcon } from "./text-formatting.js";
181
+ export { default as ThemeIcon } from "./theme.js";
181
182
  export { default as ThreadsSolidIcon } from "./threads-solid.js";
182
183
  export { default as ThreadsIcon } from "./threads.js";
183
184
  export { default as TimeIcon } from "./time.js";
@@ -178,6 +178,7 @@ export { default as SwitchCameraSolidIcon } from "./switch-camera-solid.js";
178
178
  export { default as TakePhotoSolidIcon } from "./take-photo-solid.js";
179
179
  export { default as TakePhotoIcon } from "./take-photo.js";
180
180
  export { default as TextFormattingIcon } from "./text-formatting.js";
181
+ export { default as ThemeIcon } from "./theme.js";
181
182
  export { default as ThreadsSolidIcon } from "./threads-solid.js";
182
183
  export { default as ThreadsIcon } from "./threads.js";
183
184
  export { default as TimeIcon } from "./time.js";
@@ -0,0 +1,19 @@
1
+ var _reactJsxRuntime = require("react/jsx-runtime");
2
+ var React = require("react");
3
+ function ThemeIcon(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: "M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10m1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93z"
14
+ })
15
+ });
16
+ }
17
+ ;
18
+ ThemeIcon.displayName = "ThemeIcon";
19
+ module.exports = React.forwardRef(ThemeIcon);
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+
3
+ /**
4
+ * theme.svg
5
+ */
6
+ declare const ThemeIcon: React.ForwardRefExoticComponent<
7
+ Omit<React.SVGProps<SVGSVGElement>, "ref" | "children"> &
8
+ React.RefAttributes<SVGSVGElement>
9
+ >;
10
+
11
+ export default ThemeIcon;
@@ -0,0 +1,19 @@
1
+ import { forwardRef } from "react";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ function ThemeIcon(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: "M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10m1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93z"
14
+ })
15
+ });
16
+ }
17
+ ;
18
+ ThemeIcon.displayName = "ThemeIcon";
19
+ export default forwardRef(ThemeIcon);
@@ -296,6 +296,7 @@ export const cpdIconVideoCallOutgoingSolid: string;
296
296
  export const cpdIconVoiceCallMissedSolid: string;
297
297
  export const cpdIconVoiceCallDeclinedSolid: string;
298
298
  export const cpdIconVoiceCallOutgoingSolid: string;
299
+ export const cpdIconTheme: string;
299
300
  export const cpdColorThemeBg: string;
300
301
  export const cpdColorGray100: string;
301
302
  export const cpdColorGray200: string;
@@ -324,6 +324,7 @@ export const cpdIconVoiceCallDeclinedSolid =
324
324
  "icons/voice-call-declined-solid.svg";
325
325
  export const cpdIconVoiceCallOutgoingSolid =
326
326
  "icons/voice-call-outgoing-solid.svg";
327
+ export const cpdIconTheme = "icons/theme.svg";
327
328
  export const cpdColorThemeBg = "#101317";
328
329
  export const cpdColorGray100 = "#14171b";
329
330
  export const cpdColorGray200 = "#181a1f";
@@ -296,6 +296,7 @@ export const cpdIconVideoCallOutgoingSolid: string;
296
296
  export const cpdIconVoiceCallMissedSolid: string;
297
297
  export const cpdIconVoiceCallDeclinedSolid: string;
298
298
  export const cpdIconVoiceCallOutgoingSolid: string;
299
+ export const cpdIconTheme: string;
299
300
  export const cpdColorThemeBg: string;
300
301
  export const cpdColorGray100: string;
301
302
  export const cpdColorGray200: string;
@@ -324,6 +324,7 @@ export const cpdIconVoiceCallDeclinedSolid =
324
324
  "icons/voice-call-declined-solid.svg";
325
325
  export const cpdIconVoiceCallOutgoingSolid =
326
326
  "icons/voice-call-outgoing-solid.svg";
327
+ export const cpdIconTheme = "icons/theme.svg";
327
328
  export const cpdColorThemeBg = "#101317";
328
329
  export const cpdColorGray100 = "#181a1f";
329
330
  export const cpdColorGray200 = "#1d1f24";
@@ -296,6 +296,7 @@ export const cpdIconVideoCallOutgoingSolid: string;
296
296
  export const cpdIconVoiceCallMissedSolid: string;
297
297
  export const cpdIconVoiceCallDeclinedSolid: string;
298
298
  export const cpdIconVoiceCallOutgoingSolid: string;
299
+ export const cpdIconTheme: string;
299
300
  export const cpdColorThemeBg: string;
300
301
  export const cpdColorGray100: string;
301
302
  export const cpdColorGray200: string;
@@ -324,6 +324,7 @@ export const cpdIconVoiceCallDeclinedSolid =
324
324
  "icons/voice-call-declined-solid.svg";
325
325
  export const cpdIconVoiceCallOutgoingSolid =
326
326
  "icons/voice-call-outgoing-solid.svg";
327
+ export const cpdIconTheme = "icons/theme.svg";
327
328
  export const cpdColorThemeBg = "#ffffff";
328
329
  export const cpdColorGray100 = "#fbfcfd";
329
330
  export const cpdColorGray200 = "#f7f9fa";
@@ -296,6 +296,7 @@ export const cpdIconVideoCallOutgoingSolid: string;
296
296
  export const cpdIconVoiceCallMissedSolid: string;
297
297
  export const cpdIconVoiceCallDeclinedSolid: string;
298
298
  export const cpdIconVoiceCallOutgoingSolid: string;
299
+ export const cpdIconTheme: string;
299
300
  export const cpdColorThemeBg: string;
300
301
  export const cpdColorGray100: string;
301
302
  export const cpdColorGray200: string;
@@ -324,6 +324,7 @@ export const cpdIconVoiceCallDeclinedSolid =
324
324
  "icons/voice-call-declined-solid.svg";
325
325
  export const cpdIconVoiceCallOutgoingSolid =
326
326
  "icons/voice-call-outgoing-solid.svg";
327
+ export const cpdIconTheme = "icons/theme.svg";
327
328
  export const cpdColorThemeBg = "#ffffff";
328
329
  export const cpdColorGray100 = "#f7f9fa";
329
330
  export const cpdColorGray200 = "#f0f2f5";
package/icons/$icons.json CHANGED
@@ -875,6 +875,10 @@
875
875
  "voice-call-outgoing-solid": {
876
876
  "value": "icons/voice-call-outgoing-solid.svg",
877
877
  "type": "icon"
878
+ },
879
+ "theme": {
880
+ "value": "icons/theme.svg",
881
+ "type": "icon"
878
882
  }
879
883
  }
880
884
  }
@@ -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="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10m1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93z"/></svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vector-im/compound-design-tokens",
3
- "version": "6.6.0",
3
+ "version": "6.7.0",
4
4
  "description": "Compound design tokens",
5
5
  "sideEffects": false,
6
6
  "scripts": {