@webstudio-is/icons 0.24.0 → 0.26.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.
Files changed (79) hide show
  1. package/lib/__generated__/auto-scroll.js +3 -3
  2. package/lib/__generated__/chevron-big-down.js +3 -3
  3. package/lib/__generated__/chevron-big-left.js +3 -3
  4. package/lib/__generated__/chevron-big-right.js +3 -3
  5. package/lib/__generated__/chevron-big-up.js +3 -3
  6. package/lib/__generated__/chevron-filled-down.js +3 -3
  7. package/lib/__generated__/chevron-filled-left.js +3 -3
  8. package/lib/__generated__/chevron-filled-right.js +3 -3
  9. package/lib/__generated__/chevron-filled-up.js +3 -3
  10. package/lib/__generated__/dot.js +3 -3
  11. package/lib/__generated__/eyecon-closed.js +3 -3
  12. package/lib/__generated__/eyecon-open.js +3 -3
  13. package/lib/__generated__/hamburger-menu.js +24 -0
  14. package/lib/__generated__/index.js +3 -0
  15. package/lib/__generated__/info.js +3 -3
  16. package/lib/__generated__/linked.js +3 -3
  17. package/lib/__generated__/offline.js +23 -0
  18. package/lib/__generated__/play.js +22 -0
  19. package/lib/__generated__/scroll.js +3 -3
  20. package/lib/__generated__/subscript.js +3 -3
  21. package/lib/__generated__/superscript.js +3 -3
  22. package/lib/__generated__/unlinked.js +3 -3
  23. package/lib/__generated__/webstudio.js +3 -3
  24. package/lib/cjs/__generated__/auto-scroll.cjs +3 -3
  25. package/lib/cjs/__generated__/chevron-big-down.cjs +3 -3
  26. package/lib/cjs/__generated__/chevron-big-left.cjs +3 -3
  27. package/lib/cjs/__generated__/chevron-big-right.cjs +3 -3
  28. package/lib/cjs/__generated__/chevron-big-up.cjs +3 -3
  29. package/lib/cjs/__generated__/chevron-filled-down.cjs +3 -3
  30. package/lib/cjs/__generated__/chevron-filled-left.cjs +3 -3
  31. package/lib/cjs/__generated__/chevron-filled-right.cjs +3 -3
  32. package/lib/cjs/__generated__/chevron-filled-up.cjs +3 -3
  33. package/lib/cjs/__generated__/dot.cjs +3 -3
  34. package/lib/cjs/__generated__/eyecon-closed.cjs +3 -3
  35. package/lib/cjs/__generated__/eyecon-open.cjs +3 -3
  36. package/lib/cjs/{tablet.cjs → __generated__/hamburger-menu.cjs} +15 -20
  37. package/lib/cjs/__generated__/index.cjs +3 -0
  38. package/lib/cjs/__generated__/info.cjs +3 -3
  39. package/lib/cjs/__generated__/linked.cjs +3 -3
  40. package/lib/cjs/__generated__/offline.cjs +43 -0
  41. package/lib/cjs/__generated__/play.cjs +42 -0
  42. package/lib/cjs/__generated__/scroll.cjs +3 -3
  43. package/lib/cjs/__generated__/subscript.cjs +3 -3
  44. package/lib/cjs/__generated__/superscript.cjs +3 -3
  45. package/lib/cjs/__generated__/unlinked.cjs +3 -3
  46. package/lib/cjs/__generated__/webstudio.cjs +3 -3
  47. package/lib/cjs/index.cjs +0 -1
  48. package/lib/cjs/legacy.cjs +0 -5
  49. package/lib/index.js +0 -1
  50. package/lib/legacy.js +0 -10
  51. package/package.json +2 -2
  52. package/src/__generated__/auto-scroll.tsx +3 -3
  53. package/src/__generated__/chevron-big-down.tsx +3 -3
  54. package/src/__generated__/chevron-big-left.tsx +3 -3
  55. package/src/__generated__/chevron-big-right.tsx +3 -3
  56. package/src/__generated__/chevron-big-up.tsx +3 -3
  57. package/src/__generated__/chevron-filled-down.tsx +3 -3
  58. package/src/__generated__/chevron-filled-left.tsx +3 -3
  59. package/src/__generated__/chevron-filled-right.tsx +3 -3
  60. package/src/__generated__/chevron-filled-up.tsx +3 -3
  61. package/src/__generated__/dot.tsx +3 -3
  62. package/src/__generated__/eyecon-closed.tsx +3 -3
  63. package/src/__generated__/eyecon-open.tsx +3 -3
  64. package/src/__generated__/hamburger-menu.tsx +15 -0
  65. package/src/__generated__/index.ts +3 -0
  66. package/src/__generated__/info.tsx +3 -3
  67. package/src/__generated__/linked.tsx +3 -3
  68. package/src/__generated__/offline.tsx +15 -0
  69. package/src/__generated__/play.tsx +15 -0
  70. package/src/__generated__/scroll.tsx +3 -3
  71. package/src/__generated__/subscript.tsx +3 -3
  72. package/src/__generated__/superscript.tsx +3 -3
  73. package/src/__generated__/unlinked.tsx +3 -3
  74. package/src/__generated__/webstudio.tsx +3 -3
  75. package/src/index.ts +0 -1
  76. package/src/legacy.ts +0 -5
  77. package/src/types.ts +1 -0
  78. package/lib/tablet.js +0 -23
  79. package/src/tablet.tsx +0 -25
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
6
  var __export = (target, all) => {
9
7
  for (var name in all)
@@ -17,33 +15,30 @@ var __copyProps = (to, from, except, desc) => {
17
15
  }
18
16
  return to;
19
17
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
- mod
23
- ));
24
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
- var tablet_exports = {};
26
- __export(tablet_exports, {
27
- TabletIcon: () => TabletIcon
19
+ var hamburger_menu_exports = {};
20
+ __export(hamburger_menu_exports, {
21
+ HamburgerMenuIcon: () => HamburgerMenuIcon
28
22
  });
29
- module.exports = __toCommonJS(tablet_exports);
23
+ module.exports = __toCommonJS(hamburger_menu_exports);
30
24
  var import_jsx_runtime = require("react/jsx-runtime");
31
- var React = __toESM(require("react"), 1);
32
- const TabletIcon = React.forwardRef(
33
- ({ color = "currentColor", ...props }, forwardedRef) => {
25
+ var import_react = require("react");
26
+ const HamburgerMenuIcon = (0, import_react.forwardRef)(
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
34
28
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
35
- width: "15",
36
- height: "15",
37
- viewBox: "0 0 24 24",
38
- fill: "none",
39
29
  xmlns: "http://www.w3.org/2000/svg",
30
+ viewBox: "0 0 22 22",
31
+ width: size,
32
+ height: size,
33
+ fill: color,
40
34
  ...props,
41
35
  ref: forwardedRef,
42
36
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
43
- fill: color,
44
- d: "M20 0H6C4.34 0 4 0.84 4 2.5V20.5C4 22.16 5.34 23.5 7 23.5H19C20.66 23.5 22 22.16 22 20.5V2.5C22 0.84 21.66 0 20 0ZM15 22.5H13H11V22H13H15V22.5ZM21 21H13H5V10.5V1H13H21V21Z"
37
+ fillRule: "evenodd",
38
+ d: "M2 5.998a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Zm0 5.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Zm0 5.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z",
39
+ clipRule: "evenodd"
45
40
  })
46
41
  });
47
42
  }
48
43
  );
49
- TabletIcon.displayName = "TabletIcon";
44
+ HamburgerMenuIcon.displayName = "HamburgerMenuIcon";
@@ -27,8 +27,11 @@ __reExport(generated_exports, require("./chevron-filled-up"), module.exports);
27
27
  __reExport(generated_exports, require("./dot"), module.exports);
28
28
  __reExport(generated_exports, require("./eyecon-closed"), module.exports);
29
29
  __reExport(generated_exports, require("./eyecon-open"), module.exports);
30
+ __reExport(generated_exports, require("./hamburger-menu"), module.exports);
30
31
  __reExport(generated_exports, require("./info"), module.exports);
31
32
  __reExport(generated_exports, require("./linked"), module.exports);
33
+ __reExport(generated_exports, require("./offline"), module.exports);
34
+ __reExport(generated_exports, require("./play"), module.exports);
32
35
  __reExport(generated_exports, require("./scroll"), module.exports);
33
36
  __reExport(generated_exports, require("./subscript"), module.exports);
34
37
  __reExport(generated_exports, require("./superscript"), module.exports);
@@ -24,12 +24,12 @@ module.exports = __toCommonJS(info_exports);
24
24
  var import_jsx_runtime = require("react/jsx-runtime");
25
25
  var import_react = require("react");
26
26
  const InfoIcon = (0, import_react.forwardRef)(
27
- ({ color = "currentColor", ...props }, forwardedRef) => {
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
28
28
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  viewBox: "0 0 16 16",
31
- width: "16",
32
- height: "16",
31
+ width: size,
32
+ height: size,
33
33
  fill: color,
34
34
  ...props,
35
35
  ref: forwardedRef,
@@ -24,12 +24,12 @@ module.exports = __toCommonJS(linked_exports);
24
24
  var import_jsx_runtime = require("react/jsx-runtime");
25
25
  var import_react = require("react");
26
26
  const LinkedIcon = (0, import_react.forwardRef)(
27
- ({ color = "currentColor", ...props }, forwardedRef) => {
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
28
28
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  viewBox: "0 0 16 16",
31
- width: "16",
32
- height: "16",
31
+ width: size,
32
+ height: size,
33
33
  fill: color,
34
34
  ...props,
35
35
  ref: forwardedRef,
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var offline_exports = {};
20
+ __export(offline_exports, {
21
+ OfflineIcon: () => OfflineIcon
22
+ });
23
+ module.exports = __toCommonJS(offline_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_react = require("react");
26
+ const OfflineIcon = (0, import_react.forwardRef)(
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
28
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ viewBox: "0 0 22 22",
31
+ width: size,
32
+ height: size,
33
+ fill: color,
34
+ ...props,
35
+ ref: forwardedRef,
36
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
37
+ d: "M3.301 3.14a.75.75 0 0 1 1.061 0l14.67 14.67a.75.75 0 1 1-1.061 1.06l-1.53-1.53a4.521 4.521 0 0 1-.857.082H6.416a4.5 4.5 0 0 1-.975-8.895 5.723 5.723 0 0 1 .656-1.53L3.301 4.2a.75.75 0 0 1 0-1.06ZM7.2 8.098a4.216 4.216 0 0 0-.394 1.21.75.75 0 0 1-.67.626 3.001 3.001 0 0 0 .28 5.988h8.609L7.199 8.098Zm2.555-3.71a5.753 5.753 0 0 1 6.805 4.138 4.502 4.502 0 0 1 3.226 6.014.75.75 0 1 1-1.4-.54 3.001 3.001 0 0 0-2.52-4.067.75.75 0 0 1-.67-.624 4.252 4.252 0 0 0-5.117-3.455.75.75 0 0 1-.324-1.465Z",
38
+ clipRule: "evenodd"
39
+ })
40
+ });
41
+ }
42
+ );
43
+ OfflineIcon.displayName = "OfflineIcon";
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var play_exports = {};
20
+ __export(play_exports, {
21
+ PlayIcon: () => PlayIcon
22
+ });
23
+ module.exports = __toCommonJS(play_exports);
24
+ var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_react = require("react");
26
+ const PlayIcon = (0, import_react.forwardRef)(
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
28
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ viewBox: "0 0 22 22",
31
+ width: size,
32
+ height: size,
33
+ fill: color,
34
+ ...props,
35
+ ref: forwardedRef,
36
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
37
+ d: "M4.766 5.765c0-.725 0-1.088.178-1.288a.93.93 0 0 1 .648-.294c.294-.015.65.186 1.359.588l9.234 5.235c.586.332.88.498.982.708.09.183.09.389 0 .572-.102.21-.396.376-.982.708l-9.234 5.235c-.71.402-1.065.603-1.359.588a.93.93 0 0 1-.648-.294c-.178-.2-.178-.563-.178-1.288V5.765Z"
38
+ })
39
+ });
40
+ }
41
+ );
42
+ PlayIcon.displayName = "PlayIcon";
@@ -24,12 +24,12 @@ module.exports = __toCommonJS(scroll_exports);
24
24
  var import_jsx_runtime = require("react/jsx-runtime");
25
25
  var import_react = require("react");
26
26
  const ScrollIcon = (0, import_react.forwardRef)(
27
- ({ color = "currentColor", ...props }, forwardedRef) => {
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
28
28
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  viewBox: "0 0 16 16",
31
- width: "16",
32
- height: "16",
31
+ width: size,
32
+ height: size,
33
33
  fill: color,
34
34
  ...props,
35
35
  ref: forwardedRef,
@@ -24,12 +24,12 @@ module.exports = __toCommonJS(subscript_exports);
24
24
  var import_jsx_runtime = require("react/jsx-runtime");
25
25
  var import_react = require("react");
26
26
  const SubscriptIcon = (0, import_react.forwardRef)(
27
- ({ color = "currentColor", ...props }, forwardedRef) => {
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
28
28
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  viewBox: "0 0 48 48",
31
- width: "16",
32
- height: "16",
31
+ width: size,
32
+ height: size,
33
33
  fill: color,
34
34
  ...props,
35
35
  ref: forwardedRef,
@@ -24,12 +24,12 @@ module.exports = __toCommonJS(superscript_exports);
24
24
  var import_jsx_runtime = require("react/jsx-runtime");
25
25
  var import_react = require("react");
26
26
  const SuperscriptIcon = (0, import_react.forwardRef)(
27
- ({ color = "currentColor", ...props }, forwardedRef) => {
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
28
28
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  viewBox: "0 0 48 48",
31
- width: "16",
32
- height: "16",
31
+ width: size,
32
+ height: size,
33
33
  fill: color,
34
34
  ...props,
35
35
  ref: forwardedRef,
@@ -24,12 +24,12 @@ module.exports = __toCommonJS(unlinked_exports);
24
24
  var import_jsx_runtime = require("react/jsx-runtime");
25
25
  var import_react = require("react");
26
26
  const UnlinkedIcon = (0, import_react.forwardRef)(
27
- ({ color = "currentColor", ...props }, forwardedRef) => {
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
28
28
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  viewBox: "0 0 16 16",
31
- width: "16",
32
- height: "16",
31
+ width: size,
32
+ height: size,
33
33
  fill: color,
34
34
  ...props,
35
35
  ref: forwardedRef,
@@ -24,12 +24,12 @@ module.exports = __toCommonJS(webstudio_exports);
24
24
  var import_jsx_runtime = require("react/jsx-runtime");
25
25
  var import_react = require("react");
26
26
  const WebstudioIcon = (0, import_react.forwardRef)(
27
- ({ color = "currentColor", ...props }, forwardedRef) => {
27
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
28
28
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  viewBox: "0 0 280 210",
31
- width: "16",
32
- height: "16",
31
+ width: size,
32
+ height: size,
33
33
  fill: color,
34
34
  ...props,
35
35
  ref: forwardedRef,
package/lib/cjs/index.cjs CHANGED
@@ -25,7 +25,6 @@ __reExport(src_exports, require("./redo"), module.exports);
25
25
  __reExport(src_exports, require("./google"), module.exports);
26
26
  __reExport(src_exports, require("./github"), module.exports);
27
27
  __reExport(src_exports, require("./devices"), module.exports);
28
- __reExport(src_exports, require("./tablet"), module.exports);
29
28
  __reExport(src_exports, require("./body"), module.exports);
30
29
  __reExport(src_exports, require("./types"), module.exports);
31
30
  __reExport(src_exports, require("./align-content-center"), module.exports);
@@ -23,21 +23,16 @@ __export(legacy_exports, {
23
23
  CheckIcon: () => import_react_icons.CheckIcon,
24
24
  CommitIcon: () => import_react_icons.CommitIcon,
25
25
  CrossCircledIcon: () => import_react_icons.CrossCircledIcon,
26
- DesktopIcon: () => import_react_icons.DesktopIcon,
27
26
  DotFilledIcon: () => import_react_icons.DotFilledIcon,
28
27
  DotsHorizontalIcon: () => import_react_icons.DotsHorizontalIcon,
29
28
  ExclamationTriangleIcon: () => import_react_icons.ExclamationTriangleIcon,
30
29
  ExternalLinkIcon: () => import_react_icons.ExternalLinkIcon,
31
- EyeOpenIcon: () => import_react_icons.EyeOpenIcon,
32
30
  FontBoldIcon: () => import_react_icons.FontBoldIcon,
33
31
  FontItalicIcon: () => import_react_icons.FontItalicIcon,
34
- HamburgerMenuIcon: () => import_react_icons.HamburgerMenuIcon,
35
32
  HeadingIcon: () => import_react_icons.HeadingIcon,
36
33
  ImageIcon: () => import_react_icons.ImageIcon,
37
34
  InputIcon: () => import_react_icons.InputIcon,
38
- LaptopIcon: () => import_react_icons.LaptopIcon,
39
35
  Link2Icon: () => import_react_icons.Link2Icon,
40
- MobileIcon: () => import_react_icons.MobileIcon,
41
36
  PlusIcon: () => import_react_icons.PlusIcon,
42
37
  RocketIcon: () => import_react_icons.RocketIcon,
43
38
  Share1Icon: () => import_react_icons.Share1Icon,
package/lib/index.js CHANGED
@@ -8,7 +8,6 @@ export * from "./redo";
8
8
  export * from "./google";
9
9
  export * from "./github";
10
10
  export * from "./devices";
11
- export * from "./tablet";
12
11
  export * from "./body";
13
12
  export * from "./types";
14
13
  export * from "./align-content-center";
package/lib/legacy.js CHANGED
@@ -3,17 +3,12 @@ import {
3
3
  FontBoldIcon,
4
4
  FontItalicIcon,
5
5
  Link2Icon,
6
- MobileIcon,
7
- LaptopIcon,
8
- DesktopIcon,
9
6
  PlusIcon,
10
- HamburgerMenuIcon,
11
7
  DotsHorizontalIcon,
12
8
  CheckIcon,
13
9
  RocketIcon,
14
10
  ExternalLinkIcon,
15
11
  Share1Icon,
16
- EyeOpenIcon,
17
12
  ExclamationTriangleIcon,
18
13
  DotFilledIcon,
19
14
  TriangleRightIcon,
@@ -33,21 +28,16 @@ export {
33
28
  CheckIcon,
34
29
  CommitIcon,
35
30
  CrossCircledIcon,
36
- DesktopIcon,
37
31
  DotFilledIcon,
38
32
  DotsHorizontalIcon,
39
33
  ExclamationTriangleIcon,
40
34
  ExternalLinkIcon,
41
- EyeOpenIcon,
42
35
  FontBoldIcon,
43
36
  FontItalicIcon,
44
- HamburgerMenuIcon,
45
37
  HeadingIcon,
46
38
  ImageIcon,
47
39
  InputIcon,
48
- LaptopIcon,
49
40
  Link2Icon,
50
- MobileIcon,
51
41
  PlusIcon,
52
42
  RocketIcon,
53
43
  Share1Icon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/icons",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "Webstudio Icons",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@radix-ui/react-icons": "^1.1.0",
26
26
  "react": "^17.0.2",
27
- "@webstudio-is/css-vars": "^0.24.0"
27
+ "@webstudio-is/css-vars": "^0.26.0"
28
28
  },
29
29
  "module": "./lib/index.js",
30
30
  "exports": {
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/auto-scroll.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const AutoScrollIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M2.375 3.302c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM2.375 12.698c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM11.23 5.429c0-.26-.211-.47-.473-.47a.472.472 0 0 0-.474.47v3.946l-1.238-1.23a.476.476 0 0 0-.67 0 .468.468 0 0 0 0 .666l2.047 2.033a.476.476 0 0 0 .67 0L13.14 8.81a.468.468 0 0 0 0-.666.476.476 0 0 0-.67 0l-1.238 1.23V5.429Z" /><path fillRule="evenodd" d="M5.487 4.965a.749.749 0 0 1 .262.345c.037.087.075.2.115.317l1.629 4.825a.482.482 0 0 1-.913.304l-.581-1.722H4.272l-.58 1.722a.482.482 0 0 1-.913-.304l1.623-4.81.005-.015c.04-.117.078-.23.114-.316l.001-.001c.028-.067.1-.237.262-.345a.631.631 0 0 1 .703 0Zm-.892 3.113h1.081l-.54-1.6-.54 1.6Z" clipRule="evenodd" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M2.375 3.302c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM2.375 12.698c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM11.23 5.429c0-.26-.211-.47-.473-.47a.472.472 0 0 0-.474.47v3.946l-1.238-1.23a.476.476 0 0 0-.67 0 .468.468 0 0 0 0 .666l2.047 2.033a.476.476 0 0 0 .67 0L13.14 8.81a.468.468 0 0 0 0-.666.476.476 0 0 0-.67 0l-1.238 1.23V5.429Z" /><path fillRule="evenodd" d="M5.487 4.965a.749.749 0 0 1 .262.345c.037.087.075.2.115.317l1.629 4.825a.482.482 0 0 1-.913.304l-.581-1.722H4.272l-.58 1.722a.482.482 0 0 1-.913-.304l1.623-4.81.005-.015c.04-.117.078-.23.114-.316l.001-.001c.028-.067.1-.237.262-.345a.631.631 0 0 1 .703 0Zm-.892 3.113h1.081l-.54-1.6-.54 1.6Z" clipRule="evenodd" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/chevron-big-down.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const ChevronBigDownIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.46 10.947 4.553-5.463a.6.6 0 0 0-.46-.984H3.447a.6.6 0 0 0-.461.984l4.552 5.463a.6.6 0 0 0 .922 0Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.46 10.947 4.553-5.463a.6.6 0 0 0-.46-.984H3.447a.6.6 0 0 0-.461.984l4.552 5.463a.6.6 0 0 0 .922 0Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/chevron-big-left.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const ChevronBigLeftIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.053 8.46 5.463 4.553a.6.6 0 0 0 .984-.46V3.447a.6.6 0 0 0-.984-.461L5.053 7.539a.6.6 0 0 0 0 .922Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.053 8.46 5.463 4.553a.6.6 0 0 0 .984-.46V3.447a.6.6 0 0 0-.984-.461L5.053 7.539a.6.6 0 0 0 0 .922Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/chevron-big-right.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const ChevronBigRightIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.947 7.54 5.484 2.986a.6.6 0 0 0-.984.46v9.105a.6.6 0 0 0 .984.461l5.463-4.552a.6.6 0 0 0 0-.922Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.947 7.54 5.484 2.986a.6.6 0 0 0-.984.46v9.105a.6.6 0 0 0 .984.461l5.463-4.552a.6.6 0 0 0 0-.922Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/chevron-big-up.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const ChevronBigUpIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m7.54 5.053-4.553 5.463a.6.6 0 0 0 .46.984h9.105a.6.6 0 0 0 .461-.984L8.461 5.053a.6.6 0 0 0-.922 0Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m7.54 5.053-4.553 5.463a.6.6 0 0 0 .46.984h9.105a.6.6 0 0 0 .461-.984L8.461 5.053a.6.6 0 0 0-.922 0Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/chevron-filled-down.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const ChevronFilledDownIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.5 10.251 2.878-4.318a.6.6 0 0 0-.5-.933H5.122a.6.6 0 0 0-.5.933l2.88 4.318a.6.6 0 0 0 .998 0Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.5 10.251 2.878-4.318a.6.6 0 0 0-.5-.933H5.122a.6.6 0 0 0-.5.933l2.88 4.318a.6.6 0 0 0 .998 0Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/chevron-filled-left.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const ChevronFilledLeftIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.749 8.5 4.318 2.878a.6.6 0 0 0 .933-.5V5.122a.6.6 0 0 0-.933-.5L5.75 7.502a.6.6 0 0 0 0 .998Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.749 8.5 4.318 2.878a.6.6 0 0 0 .933-.5V5.122a.6.6 0 0 0-.933-.5L5.75 7.502a.6.6 0 0 0 0 .998Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/chevron-filled-right.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const ChevronFilledRightIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.251 7.5 5.933 4.623a.6.6 0 0 0-.933.5v5.757a.6.6 0 0 0 .933.5l4.318-2.88a.6.6 0 0 0 0-.998Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.251 7.5 5.933 4.623a.6.6 0 0 0-.933.5v5.757a.6.6 0 0 0 .933.5l4.318-2.88a.6.6 0 0 0 0-.998Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/chevron-filled-up.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const ChevronFilledUpIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M7.5 5.508 4.623 9.826a.6.6 0 0 0 .5.933h5.757a.6.6 0 0 0 .5-.933l-2.88-4.318a.6.6 0 0 0-.998 0Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M7.5 5.508 4.623 9.826a.6.6 0 0 0 .5.933h5.757a.6.6 0 0 0 .5-.933l-2.88-4.318a.6.6 0 0 0-.998 0Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/dot.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const DotIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10 8a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/eyecon-closed.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const EyeconClosedIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M2.209 7.594a.55.55 0 0 1 .757.175 6.463 6.463 0 0 0 1.36 1.562A5.708 5.708 0 0 0 8 10.653c2.146 0 3.944-1.14 5.034-2.884a.55.55 0 0 1 .933.583c-.323.516-.702.99-1.13 1.41l.832.831a.55.55 0 1 1-.778.778l-.899-.898a6.815 6.815 0 0 1-1.889.954l.314 1.172a.55.55 0 0 1-1.062.284l-.323-1.206a6.992 6.992 0 0 1-2.063 0l-.323 1.206a.55.55 0 1 1-1.062-.284l.314-1.171a6.812 6.812 0 0 1-1.89-.955l-.897.898a.55.55 0 0 1-.778-.777l.83-.831a7.665 7.665 0 0 1-1.13-1.411.55.55 0 0 1 .176-.758Z" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M2.209 7.594a.55.55 0 0 1 .757.175 6.463 6.463 0 0 0 1.36 1.562A5.708 5.708 0 0 0 8 10.653c2.146 0 3.944-1.14 5.034-2.884a.55.55 0 0 1 .933.583c-.323.516-.702.99-1.13 1.41l.832.831a.55.55 0 1 1-.778.778l-.899-.898a6.815 6.815 0 0 1-1.889.954l.314 1.172a.55.55 0 0 1-1.062.284l-.323-1.206a6.992 6.992 0 0 1-2.063 0l-.323 1.206a.55.55 0 1 1-1.062-.284l.314-1.171a6.812 6.812 0 0 1-1.89-.955l-.897.898a.55.55 0 0 1-.778-.777l.83-.831a7.665 7.665 0 0 1-1.13-1.411.55.55 0 0 1 .176-.758Z" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -1,13 +1,13 @@
1
1
  // Generated from icons/eyecon-open.svg
2
2
 
3
3
  import { forwardRef } from "react";
4
- import { IconProps } from "../types";
4
+ import type { IconProps } from "../types";
5
5
 
6
6
  // prettier-ignore
7
7
  export const EyeconOpenIcon = forwardRef<SVGSVGElement, IconProps>(
8
- ({ color = "currentColor", ...props }, forwardedRef) => {
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
9
  return (
10
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M8 9.849A1.849 1.849 0 1 0 8 6.15 1.849 1.849 0 0 0 8 9.85Z" /><path fillRule="evenodd" d="M2.132 8.458a.857.857 0 0 1 0-.915A6.927 6.927 0 0 1 8 4.303a6.927 6.927 0 0 1 5.868 3.24.857.857 0 0 1 0 .915A6.927 6.927 0 0 1 8 11.698a6.927 6.927 0 0 1-5.868-3.24ZM8 10.698A5.926 5.926 0 0 1 3.027 8 5.926 5.926 0 0 1 8 5.303 5.926 5.926 0 0 1 12.973 8 5.926 5.926 0 0 1 8 10.697Z" clipRule="evenodd" /></svg>
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M8 9.849A1.849 1.849 0 1 0 8 6.15 1.849 1.849 0 0 0 8 9.85Z" /><path fillRule="evenodd" d="M2.132 8.458a.857.857 0 0 1 0-.915A6.927 6.927 0 0 1 8 4.303a6.927 6.927 0 0 1 5.868 3.24.857.857 0 0 1 0 .915A6.927 6.927 0 0 1 8 11.698a6.927 6.927 0 0 1-5.868-3.24ZM8 10.698A5.926 5.926 0 0 1 3.027 8 5.926 5.926 0 0 1 8 5.303 5.926 5.926 0 0 1 12.973 8 5.926 5.926 0 0 1 8 10.697Z" clipRule="evenodd" /></svg>
11
11
  );
12
12
  }
13
13
  );
@@ -0,0 +1,15 @@
1
+ // Generated from icons/hamburger-menu.svg
2
+
3
+ import { forwardRef } from "react";
4
+ import type { IconProps } from "../types";
5
+
6
+ // prettier-ignore
7
+ export const HamburgerMenuIcon = forwardRef<SVGSVGElement, IconProps>(
8
+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
9
+ return (
10
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M2 5.998a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Zm0 5.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Zm0 5.5a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75Z" clipRule="evenodd" /></svg>
11
+ );
12
+ }
13
+ );
14
+
15
+ HamburgerMenuIcon.displayName = "HamburgerMenuIcon";