@webstudio-is/icons 0.40.0 → 0.41.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/lib/__generated__/checkbox-checked-filled.js +24 -0
- package/lib/__generated__/checkbox-empty.js +24 -0
- package/lib/__generated__/checkbox-mixed-filled.js +24 -0
- package/lib/__generated__/chevron-big-down.js +0 -1
- package/lib/__generated__/chevron-big-left.js +0 -1
- package/lib/__generated__/chevron-big-right.js +0 -1
- package/lib/__generated__/chevron-big-up.js +0 -1
- package/lib/__generated__/chevron-filled-down.js +0 -1
- package/lib/__generated__/chevron-filled-left.js +0 -1
- package/lib/__generated__/chevron-filled-right.js +0 -1
- package/lib/__generated__/chevron-filled-up.js +0 -1
- package/lib/__generated__/drag-handle.js +49 -0
- package/lib/__generated__/index.js +7 -0
- package/lib/__generated__/radio-checked.js +29 -0
- package/lib/__generated__/radio-unchecked.js +24 -0
- package/lib/__generated__/subtract.js +24 -0
- package/lib/cjs/__generated__/checkbox-checked-filled.cjs +44 -0
- package/lib/cjs/__generated__/checkbox-empty.cjs +44 -0
- package/lib/cjs/__generated__/checkbox-mixed-filled.cjs +44 -0
- package/lib/cjs/__generated__/chevron-big-down.cjs +0 -1
- package/lib/cjs/__generated__/chevron-big-left.cjs +0 -1
- package/lib/cjs/__generated__/chevron-big-right.cjs +0 -1
- package/lib/cjs/__generated__/chevron-big-up.cjs +0 -1
- package/lib/cjs/__generated__/chevron-filled-down.cjs +0 -1
- package/lib/cjs/__generated__/chevron-filled-left.cjs +0 -1
- package/lib/cjs/__generated__/chevron-filled-right.cjs +0 -1
- package/lib/cjs/__generated__/chevron-filled-up.cjs +0 -1
- package/lib/cjs/__generated__/drag-handle.cjs +69 -0
- package/lib/cjs/__generated__/index.cjs +7 -0
- package/lib/cjs/__generated__/radio-checked.cjs +49 -0
- package/lib/cjs/__generated__/radio-unchecked.cjs +44 -0
- package/lib/cjs/__generated__/subtract.cjs +44 -0
- package/package.json +2 -2
- package/src/__generated__/checkbox-checked-filled.tsx +15 -0
- package/src/__generated__/checkbox-empty.tsx +15 -0
- package/src/__generated__/checkbox-mixed-filled.tsx +15 -0
- package/src/__generated__/chevron-big-down.tsx +1 -1
- package/src/__generated__/chevron-big-left.tsx +1 -1
- package/src/__generated__/chevron-big-right.tsx +1 -1
- package/src/__generated__/chevron-big-up.tsx +1 -1
- package/src/__generated__/chevron-filled-down.tsx +1 -1
- package/src/__generated__/chevron-filled-left.tsx +1 -1
- package/src/__generated__/chevron-filled-right.tsx +1 -1
- package/src/__generated__/chevron-filled-up.tsx +1 -1
- package/src/__generated__/drag-handle.tsx +15 -0
- package/src/__generated__/index.ts +7 -0
- package/src/__generated__/radio-checked.tsx +15 -0
- package/src/__generated__/radio-unchecked.tsx +15 -0
- package/src/__generated__/subtract.tsx +15 -0
- package/src/index.stories.tsx +14 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const CheckboxCheckedFilledIcon = forwardRef(
|
|
4
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
5
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
fill: color,
|
|
11
|
+
...props,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M1.592 2.56c-.242.474-.242 1.095-.242 2.337v6.206c0 1.242 0 1.863.242 2.337.212.417.551.756.968.968.474.242 1.095.242 2.337.242h6.206c1.242 0 1.863 0 2.337-.242.417-.212.756-.551.968-.968.242-.474.242-1.095.242-2.337V4.897c0-1.242 0-1.863-.242-2.337a2.217 2.217 0 0 0-.968-.968c-.474-.242-1.095-.242-2.337-.242H4.897c-1.242 0-1.863 0-2.337.242a2.217 2.217 0 0 0-.968.968Zm10.637 3.573a.887.887 0 1 0-1.254-1.254l-4.36 4.36-1.59-1.589A.887.887 0 0 0 3.77 8.904l2.217 2.217a.887.887 0 0 0 1.254 0l4.987-4.988Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
CheckboxCheckedFilledIcon.displayName = "CheckboxCheckedFilledIcon";
|
|
22
|
+
export {
|
|
23
|
+
CheckboxCheckedFilledIcon
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const CheckboxEmptyIcon = forwardRef(
|
|
4
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
5
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
fill: color,
|
|
11
|
+
...props,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M5.173 1.35h5.654c.537 0 .98 0 1.34.03.373.03.715.095 1.036.259.499.254.904.66 1.158 1.158.164.32.229.663.26 1.036.029.36.029.803.029 1.34v5.654c0 .537 0 .98-.03 1.34-.03.373-.095.715-.259 1.036a2.65 2.65 0 0 1-1.158 1.158c-.32.164-.663.229-1.037.26-.36.029-.802.029-1.34.029H5.174c-.537 0-.98 0-1.34-.03-.373-.03-.715-.095-1.036-.259a2.65 2.65 0 0 1-1.158-1.158c-.164-.32-.23-.663-.26-1.037-.029-.36-.029-.802-.029-1.34V5.174c0-.537 0-.98.03-1.34.03-.373.095-.715.259-1.036a2.65 2.65 0 0 1 1.158-1.158c.32-.164.663-.23 1.036-.26.36-.029.803-.029 1.34-.029ZM3.939 2.675c-.293.024-.445.068-.552.122a1.35 1.35 0 0 0-.59.59c-.054.107-.098.259-.122.552-.025.301-.025.69-.025 1.261v5.6c0 .57 0 .96.025 1.26.024.294.068.446.122.553.13.254.336.46.59.59.107.054.259.098.552.122.301.025.69.025 1.261.025h5.6c.57 0 .96 0 1.26-.025.294-.024.446-.068.553-.122.254-.13.46-.336.59-.59.054-.107.098-.26.122-.552.025-.301.025-.69.025-1.261V5.2c0-.57 0-.96-.025-1.26-.024-.294-.068-.446-.122-.553a1.35 1.35 0 0 0-.59-.59c-.107-.054-.26-.098-.552-.122-.301-.025-.69-.025-1.261-.025H5.2c-.57 0-.96 0-1.26.025Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
CheckboxEmptyIcon.displayName = "CheckboxEmptyIcon";
|
|
22
|
+
export {
|
|
23
|
+
CheckboxEmptyIcon
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const CheckboxMixedFilledIcon = forwardRef(
|
|
4
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
5
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
fill: color,
|
|
11
|
+
...props,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M1.592 2.56c-.242.474-.242 1.095-.242 2.337v6.206c0 1.242 0 1.863.242 2.337.212.417.551.756.968.968.474.242 1.095.242 2.337.242h6.206c1.242 0 1.863 0 2.337-.242.417-.212.756-.551.968-.968.242-.474.242-1.095.242-2.337V4.897c0-1.242 0-1.863-.242-2.337a2.217 2.217 0 0 0-.968-.968c-.474-.242-1.095-.242-2.337-.242H4.897c-1.242 0-1.863 0-2.337.242a2.217 2.217 0 0 0-.968.968Zm3.083 4.553a.887.887 0 1 0 0 1.774h6.65a.887.887 0 1 0 0-1.774h-6.65Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
CheckboxMixedFilledIcon.displayName = "CheckboxMixedFilledIcon";
|
|
22
|
+
export {
|
|
23
|
+
CheckboxMixedFilledIcon
|
|
24
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const DragHandleIcon = forwardRef(
|
|
4
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
5
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
fill: color,
|
|
11
|
+
...props,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("rect", {
|
|
15
|
+
width: "6",
|
|
16
|
+
height: "1",
|
|
17
|
+
x: "5",
|
|
18
|
+
y: "3",
|
|
19
|
+
rx: ".5"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ jsx("rect", {
|
|
22
|
+
width: "6",
|
|
23
|
+
height: "1",
|
|
24
|
+
x: "5",
|
|
25
|
+
y: "6",
|
|
26
|
+
rx: ".5"
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ jsx("rect", {
|
|
29
|
+
width: "6",
|
|
30
|
+
height: "1",
|
|
31
|
+
x: "5",
|
|
32
|
+
y: "9",
|
|
33
|
+
rx: ".5"
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ jsx("rect", {
|
|
36
|
+
width: "6",
|
|
37
|
+
height: "1",
|
|
38
|
+
x: "5",
|
|
39
|
+
y: "12",
|
|
40
|
+
rx: ".5"
|
|
41
|
+
})
|
|
42
|
+
]
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
DragHandleIcon.displayName = "DragHandleIcon";
|
|
47
|
+
export {
|
|
48
|
+
DragHandleIcon
|
|
49
|
+
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from "./auto-scroll";
|
|
2
2
|
export * from "./blockquote";
|
|
3
|
+
export * from "./checkbox-checked-filled";
|
|
4
|
+
export * from "./checkbox-empty";
|
|
5
|
+
export * from "./checkbox-mixed-filled";
|
|
3
6
|
export * from "./chevron-big-down";
|
|
4
7
|
export * from "./chevron-big-left";
|
|
5
8
|
export * from "./chevron-big-right";
|
|
@@ -11,6 +14,7 @@ export * from "./chevron-filled-up";
|
|
|
11
14
|
export * from "./code";
|
|
12
15
|
export * from "./dash";
|
|
13
16
|
export * from "./dot";
|
|
17
|
+
export * from "./drag-handle";
|
|
14
18
|
export * from "./eyecon-closed";
|
|
15
19
|
export * from "./eyecon-open";
|
|
16
20
|
export * from "./hamburger-menu";
|
|
@@ -20,8 +24,11 @@ export * from "./list-item";
|
|
|
20
24
|
export * from "./list";
|
|
21
25
|
export * from "./offline";
|
|
22
26
|
export * from "./play";
|
|
27
|
+
export * from "./radio-checked";
|
|
28
|
+
export * from "./radio-unchecked";
|
|
23
29
|
export * from "./scroll";
|
|
24
30
|
export * from "./subscript";
|
|
31
|
+
export * from "./subtract";
|
|
25
32
|
export * from "./superscript";
|
|
26
33
|
export * from "./unlinked";
|
|
27
34
|
export * from "./webstudio";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const RadioCheckedIcon = forwardRef(
|
|
4
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
5
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
fill: color,
|
|
11
|
+
...props,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("path", {
|
|
15
|
+
d: "M8 5.35a2.65 2.65 0 1 0 0 5.3 2.65 2.65 0 0 0 0-5.3Z"
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ jsx("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
d: "M8 1.35a6.65 6.65 0 1 0 0 13.3 6.65 6.65 0 0 0 0-13.3ZM2.65 8a5.35 5.35 0 1 1 10.7 0 5.35 5.35 0 0 1-10.7 0Z",
|
|
20
|
+
clipRule: "evenodd"
|
|
21
|
+
})
|
|
22
|
+
]
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
RadioCheckedIcon.displayName = "RadioCheckedIcon";
|
|
27
|
+
export {
|
|
28
|
+
RadioCheckedIcon
|
|
29
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const RadioUncheckedIcon = forwardRef(
|
|
4
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
5
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
fill: color,
|
|
11
|
+
...props,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M8 1.35a6.65 6.65 0 1 0 0 13.3 6.65 6.65 0 0 0 0-13.3ZM2.65 8a5.35 5.35 0 1 1 10.7 0 5.35 5.35 0 0 1-10.7 0Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
RadioUncheckedIcon.displayName = "RadioUncheckedIcon";
|
|
22
|
+
export {
|
|
23
|
+
RadioUncheckedIcon
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
const SubtractIcon = forwardRef(
|
|
4
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
5
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
fill: color,
|
|
11
|
+
...props,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
d: "M14 8a.75.75 0 0 1-.75.75H2.75a.75.75 0 0 1 0-1.5h10.5A.75.75 0 0 1 14 8Z",
|
|
16
|
+
clipRule: "evenodd"
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
SubtractIcon.displayName = "SubtractIcon";
|
|
22
|
+
export {
|
|
23
|
+
SubtractIcon
|
|
24
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
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 checkbox_checked_filled_exports = {};
|
|
20
|
+
__export(checkbox_checked_filled_exports, {
|
|
21
|
+
CheckboxCheckedFilledIcon: () => CheckboxCheckedFilledIcon
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(checkbox_checked_filled_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
26
|
+
const CheckboxCheckedFilledIcon = (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 16 16",
|
|
31
|
+
width: size,
|
|
32
|
+
height: size,
|
|
33
|
+
fill: color,
|
|
34
|
+
...props,
|
|
35
|
+
ref: forwardedRef,
|
|
36
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
d: "M1.592 2.56c-.242.474-.242 1.095-.242 2.337v6.206c0 1.242 0 1.863.242 2.337.212.417.551.756.968.968.474.242 1.095.242 2.337.242h6.206c1.242 0 1.863 0 2.337-.242.417-.212.756-.551.968-.968.242-.474.242-1.095.242-2.337V4.897c0-1.242 0-1.863-.242-2.337a2.217 2.217 0 0 0-.968-.968c-.474-.242-1.095-.242-2.337-.242H4.897c-1.242 0-1.863 0-2.337.242a2.217 2.217 0 0 0-.968.968Zm10.637 3.573a.887.887 0 1 0-1.254-1.254l-4.36 4.36-1.59-1.589A.887.887 0 0 0 3.77 8.904l2.217 2.217a.887.887 0 0 0 1.254 0l4.987-4.988Z",
|
|
39
|
+
clipRule: "evenodd"
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
CheckboxCheckedFilledIcon.displayName = "CheckboxCheckedFilledIcon";
|
|
@@ -0,0 +1,44 @@
|
|
|
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 checkbox_empty_exports = {};
|
|
20
|
+
__export(checkbox_empty_exports, {
|
|
21
|
+
CheckboxEmptyIcon: () => CheckboxEmptyIcon
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(checkbox_empty_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
26
|
+
const CheckboxEmptyIcon = (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 16 16",
|
|
31
|
+
width: size,
|
|
32
|
+
height: size,
|
|
33
|
+
fill: color,
|
|
34
|
+
...props,
|
|
35
|
+
ref: forwardedRef,
|
|
36
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
d: "M5.173 1.35h5.654c.537 0 .98 0 1.34.03.373.03.715.095 1.036.259.499.254.904.66 1.158 1.158.164.32.229.663.26 1.036.029.36.029.803.029 1.34v5.654c0 .537 0 .98-.03 1.34-.03.373-.095.715-.259 1.036a2.65 2.65 0 0 1-1.158 1.158c-.32.164-.663.229-1.037.26-.36.029-.802.029-1.34.029H5.174c-.537 0-.98 0-1.34-.03-.373-.03-.715-.095-1.036-.259a2.65 2.65 0 0 1-1.158-1.158c-.164-.32-.23-.663-.26-1.037-.029-.36-.029-.802-.029-1.34V5.174c0-.537 0-.98.03-1.34.03-.373.095-.715.259-1.036a2.65 2.65 0 0 1 1.158-1.158c.32-.164.663-.23 1.036-.26.36-.029.803-.029 1.34-.029ZM3.939 2.675c-.293.024-.445.068-.552.122a1.35 1.35 0 0 0-.59.59c-.054.107-.098.259-.122.552-.025.301-.025.69-.025 1.261v5.6c0 .57 0 .96.025 1.26.024.294.068.446.122.553.13.254.336.46.59.59.107.054.259.098.552.122.301.025.69.025 1.261.025h5.6c.57 0 .96 0 1.26-.025.294-.024.446-.068.553-.122.254-.13.46-.336.59-.59.054-.107.098-.26.122-.552.025-.301.025-.69.025-1.261V5.2c0-.57 0-.96-.025-1.26-.024-.294-.068-.446-.122-.553a1.35 1.35 0 0 0-.59-.59c-.107-.054-.26-.098-.552-.122-.301-.025-.69-.025-1.261-.025H5.2c-.57 0-.96 0-1.26.025Z",
|
|
39
|
+
clipRule: "evenodd"
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
CheckboxEmptyIcon.displayName = "CheckboxEmptyIcon";
|
|
@@ -0,0 +1,44 @@
|
|
|
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 checkbox_mixed_filled_exports = {};
|
|
20
|
+
__export(checkbox_mixed_filled_exports, {
|
|
21
|
+
CheckboxMixedFilledIcon: () => CheckboxMixedFilledIcon
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(checkbox_mixed_filled_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
26
|
+
const CheckboxMixedFilledIcon = (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 16 16",
|
|
31
|
+
width: size,
|
|
32
|
+
height: size,
|
|
33
|
+
fill: color,
|
|
34
|
+
...props,
|
|
35
|
+
ref: forwardedRef,
|
|
36
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
d: "M1.592 2.56c-.242.474-.242 1.095-.242 2.337v6.206c0 1.242 0 1.863.242 2.337.212.417.551.756.968.968.474.242 1.095.242 2.337.242h6.206c1.242 0 1.863 0 2.337-.242.417-.212.756-.551.968-.968.242-.474.242-1.095.242-2.337V4.897c0-1.242 0-1.863-.242-2.337a2.217 2.217 0 0 0-.968-.968c-.474-.242-1.095-.242-2.337-.242H4.897c-1.242 0-1.863 0-2.337.242a2.217 2.217 0 0 0-.968.968Zm3.083 4.553a.887.887 0 1 0 0 1.774h6.65a.887.887 0 1 0 0-1.774h-6.65Z",
|
|
39
|
+
clipRule: "evenodd"
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
CheckboxMixedFilledIcon.displayName = "CheckboxMixedFilledIcon";
|
|
@@ -34,7 +34,6 @@ const ChevronBigDownIcon = (0, import_react.forwardRef)(
|
|
|
34
34
|
...props,
|
|
35
35
|
ref: forwardedRef,
|
|
36
36
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
-
fill: "#11181C",
|
|
38
37
|
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"
|
|
39
38
|
})
|
|
40
39
|
});
|
|
@@ -34,7 +34,6 @@ const ChevronBigLeftIcon = (0, import_react.forwardRef)(
|
|
|
34
34
|
...props,
|
|
35
35
|
ref: forwardedRef,
|
|
36
36
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
-
fill: "#11181C",
|
|
38
37
|
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"
|
|
39
38
|
})
|
|
40
39
|
});
|
|
@@ -34,7 +34,6 @@ const ChevronBigRightIcon = (0, import_react.forwardRef)(
|
|
|
34
34
|
...props,
|
|
35
35
|
ref: forwardedRef,
|
|
36
36
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
-
fill: "#11181C",
|
|
38
37
|
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"
|
|
39
38
|
})
|
|
40
39
|
});
|
|
@@ -34,7 +34,6 @@ const ChevronBigUpIcon = (0, import_react.forwardRef)(
|
|
|
34
34
|
...props,
|
|
35
35
|
ref: forwardedRef,
|
|
36
36
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
-
fill: "#11181C",
|
|
38
37
|
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"
|
|
39
38
|
})
|
|
40
39
|
});
|
|
@@ -34,7 +34,6 @@ const ChevronFilledDownIcon = (0, import_react.forwardRef)(
|
|
|
34
34
|
...props,
|
|
35
35
|
ref: forwardedRef,
|
|
36
36
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
-
fill: "#11181C",
|
|
38
37
|
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"
|
|
39
38
|
})
|
|
40
39
|
});
|
|
@@ -34,7 +34,6 @@ const ChevronFilledLeftIcon = (0, import_react.forwardRef)(
|
|
|
34
34
|
...props,
|
|
35
35
|
ref: forwardedRef,
|
|
36
36
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
-
fill: "#11181C",
|
|
38
37
|
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"
|
|
39
38
|
})
|
|
40
39
|
});
|
|
@@ -34,7 +34,6 @@ const ChevronFilledRightIcon = (0, import_react.forwardRef)(
|
|
|
34
34
|
...props,
|
|
35
35
|
ref: forwardedRef,
|
|
36
36
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
-
fill: "#11181C",
|
|
38
37
|
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"
|
|
39
38
|
})
|
|
40
39
|
});
|
|
@@ -34,7 +34,6 @@ const ChevronFilledUpIcon = (0, import_react.forwardRef)(
|
|
|
34
34
|
...props,
|
|
35
35
|
ref: forwardedRef,
|
|
36
36
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
-
fill: "#11181C",
|
|
38
37
|
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"
|
|
39
38
|
})
|
|
40
39
|
});
|
|
@@ -0,0 +1,69 @@
|
|
|
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 drag_handle_exports = {};
|
|
20
|
+
__export(drag_handle_exports, {
|
|
21
|
+
DragHandleIcon: () => DragHandleIcon
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(drag_handle_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
26
|
+
const DragHandleIcon = (0, import_react.forwardRef)(
|
|
27
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
28
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
viewBox: "0 0 16 16",
|
|
31
|
+
width: size,
|
|
32
|
+
height: size,
|
|
33
|
+
fill: color,
|
|
34
|
+
...props,
|
|
35
|
+
ref: forwardedRef,
|
|
36
|
+
children: [
|
|
37
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
38
|
+
width: "6",
|
|
39
|
+
height: "1",
|
|
40
|
+
x: "5",
|
|
41
|
+
y: "3",
|
|
42
|
+
rx: ".5"
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
45
|
+
width: "6",
|
|
46
|
+
height: "1",
|
|
47
|
+
x: "5",
|
|
48
|
+
y: "6",
|
|
49
|
+
rx: ".5"
|
|
50
|
+
}),
|
|
51
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
52
|
+
width: "6",
|
|
53
|
+
height: "1",
|
|
54
|
+
x: "5",
|
|
55
|
+
y: "9",
|
|
56
|
+
rx: ".5"
|
|
57
|
+
}),
|
|
58
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
59
|
+
width: "6",
|
|
60
|
+
height: "1",
|
|
61
|
+
x: "5",
|
|
62
|
+
y: "12",
|
|
63
|
+
rx: ".5"
|
|
64
|
+
})
|
|
65
|
+
]
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
DragHandleIcon.displayName = "DragHandleIcon";
|
|
@@ -17,6 +17,9 @@ var generated_exports = {};
|
|
|
17
17
|
module.exports = __toCommonJS(generated_exports);
|
|
18
18
|
__reExport(generated_exports, require("./auto-scroll"), module.exports);
|
|
19
19
|
__reExport(generated_exports, require("./blockquote"), module.exports);
|
|
20
|
+
__reExport(generated_exports, require("./checkbox-checked-filled"), module.exports);
|
|
21
|
+
__reExport(generated_exports, require("./checkbox-empty"), module.exports);
|
|
22
|
+
__reExport(generated_exports, require("./checkbox-mixed-filled"), module.exports);
|
|
20
23
|
__reExport(generated_exports, require("./chevron-big-down"), module.exports);
|
|
21
24
|
__reExport(generated_exports, require("./chevron-big-left"), module.exports);
|
|
22
25
|
__reExport(generated_exports, require("./chevron-big-right"), module.exports);
|
|
@@ -28,6 +31,7 @@ __reExport(generated_exports, require("./chevron-filled-up"), module.exports);
|
|
|
28
31
|
__reExport(generated_exports, require("./code"), module.exports);
|
|
29
32
|
__reExport(generated_exports, require("./dash"), module.exports);
|
|
30
33
|
__reExport(generated_exports, require("./dot"), module.exports);
|
|
34
|
+
__reExport(generated_exports, require("./drag-handle"), module.exports);
|
|
31
35
|
__reExport(generated_exports, require("./eyecon-closed"), module.exports);
|
|
32
36
|
__reExport(generated_exports, require("./eyecon-open"), module.exports);
|
|
33
37
|
__reExport(generated_exports, require("./hamburger-menu"), module.exports);
|
|
@@ -37,8 +41,11 @@ __reExport(generated_exports, require("./list-item"), module.exports);
|
|
|
37
41
|
__reExport(generated_exports, require("./list"), module.exports);
|
|
38
42
|
__reExport(generated_exports, require("./offline"), module.exports);
|
|
39
43
|
__reExport(generated_exports, require("./play"), module.exports);
|
|
44
|
+
__reExport(generated_exports, require("./radio-checked"), module.exports);
|
|
45
|
+
__reExport(generated_exports, require("./radio-unchecked"), module.exports);
|
|
40
46
|
__reExport(generated_exports, require("./scroll"), module.exports);
|
|
41
47
|
__reExport(generated_exports, require("./subscript"), module.exports);
|
|
48
|
+
__reExport(generated_exports, require("./subtract"), module.exports);
|
|
42
49
|
__reExport(generated_exports, require("./superscript"), module.exports);
|
|
43
50
|
__reExport(generated_exports, require("./unlinked"), module.exports);
|
|
44
51
|
__reExport(generated_exports, require("./webstudio"), module.exports);
|
|
@@ -0,0 +1,49 @@
|
|
|
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 radio_checked_exports = {};
|
|
20
|
+
__export(radio_checked_exports, {
|
|
21
|
+
RadioCheckedIcon: () => RadioCheckedIcon
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(radio_checked_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
26
|
+
const RadioCheckedIcon = (0, import_react.forwardRef)(
|
|
27
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
28
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
viewBox: "0 0 16 16",
|
|
31
|
+
width: size,
|
|
32
|
+
height: size,
|
|
33
|
+
fill: color,
|
|
34
|
+
...props,
|
|
35
|
+
ref: forwardedRef,
|
|
36
|
+
children: [
|
|
37
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
38
|
+
d: "M8 5.35a2.65 2.65 0 1 0 0 5.3 2.65 2.65 0 0 0 0-5.3Z"
|
|
39
|
+
}),
|
|
40
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
41
|
+
fillRule: "evenodd",
|
|
42
|
+
d: "M8 1.35a6.65 6.65 0 1 0 0 13.3 6.65 6.65 0 0 0 0-13.3ZM2.65 8a5.35 5.35 0 1 1 10.7 0 5.35 5.35 0 0 1-10.7 0Z",
|
|
43
|
+
clipRule: "evenodd"
|
|
44
|
+
})
|
|
45
|
+
]
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
RadioCheckedIcon.displayName = "RadioCheckedIcon";
|
|
@@ -0,0 +1,44 @@
|
|
|
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 radio_unchecked_exports = {};
|
|
20
|
+
__export(radio_unchecked_exports, {
|
|
21
|
+
RadioUncheckedIcon: () => RadioUncheckedIcon
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(radio_unchecked_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
26
|
+
const RadioUncheckedIcon = (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 16 16",
|
|
31
|
+
width: size,
|
|
32
|
+
height: size,
|
|
33
|
+
fill: color,
|
|
34
|
+
...props,
|
|
35
|
+
ref: forwardedRef,
|
|
36
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
d: "M8 1.35a6.65 6.65 0 1 0 0 13.3 6.65 6.65 0 0 0 0-13.3ZM2.65 8a5.35 5.35 0 1 1 10.7 0 5.35 5.35 0 0 1-10.7 0Z",
|
|
39
|
+
clipRule: "evenodd"
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
RadioUncheckedIcon.displayName = "RadioUncheckedIcon";
|
|
@@ -0,0 +1,44 @@
|
|
|
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 subtract_exports = {};
|
|
20
|
+
__export(subtract_exports, {
|
|
21
|
+
SubtractIcon: () => SubtractIcon
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(subtract_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
26
|
+
const SubtractIcon = (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 16 16",
|
|
31
|
+
width: size,
|
|
32
|
+
height: size,
|
|
33
|
+
fill: color,
|
|
34
|
+
...props,
|
|
35
|
+
ref: forwardedRef,
|
|
36
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
d: "M14 8a.75.75 0 0 1-.75.75H2.75a.75.75 0 0 1 0-1.5h10.5A.75.75 0 0 1 14 8Z",
|
|
39
|
+
clipRule: "evenodd"
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
SubtractIcon.displayName = "SubtractIcon";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/icons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.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.
|
|
27
|
+
"@webstudio-is/css-vars": "^0.41.0"
|
|
28
28
|
},
|
|
29
29
|
"module": "./lib/index.js",
|
|
30
30
|
"exports": {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated from icons/checkbox-checked-filled.svg
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import type { IconProps } from "../types";
|
|
5
|
+
|
|
6
|
+
// prettier-ignore
|
|
7
|
+
export const CheckboxCheckedFilledIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
9
|
+
return (
|
|
10
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M1.592 2.56c-.242.474-.242 1.095-.242 2.337v6.206c0 1.242 0 1.863.242 2.337.212.417.551.756.968.968.474.242 1.095.242 2.337.242h6.206c1.242 0 1.863 0 2.337-.242.417-.212.756-.551.968-.968.242-.474.242-1.095.242-2.337V4.897c0-1.242 0-1.863-.242-2.337a2.217 2.217 0 0 0-.968-.968c-.474-.242-1.095-.242-2.337-.242H4.897c-1.242 0-1.863 0-2.337.242a2.217 2.217 0 0 0-.968.968Zm10.637 3.573a.887.887 0 1 0-1.254-1.254l-4.36 4.36-1.59-1.589A.887.887 0 0 0 3.77 8.904l2.217 2.217a.887.887 0 0 0 1.254 0l4.987-4.988Z" clipRule="evenodd" /></svg>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
CheckboxCheckedFilledIcon.displayName = "CheckboxCheckedFilledIcon";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated from icons/checkbox-empty.svg
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import type { IconProps } from "../types";
|
|
5
|
+
|
|
6
|
+
// prettier-ignore
|
|
7
|
+
export const CheckboxEmptyIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
9
|
+
return (
|
|
10
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M5.173 1.35h5.654c.537 0 .98 0 1.34.03.373.03.715.095 1.036.259.499.254.904.66 1.158 1.158.164.32.229.663.26 1.036.029.36.029.803.029 1.34v5.654c0 .537 0 .98-.03 1.34-.03.373-.095.715-.259 1.036a2.65 2.65 0 0 1-1.158 1.158c-.32.164-.663.229-1.037.26-.36.029-.802.029-1.34.029H5.174c-.537 0-.98 0-1.34-.03-.373-.03-.715-.095-1.036-.259a2.65 2.65 0 0 1-1.158-1.158c-.164-.32-.23-.663-.26-1.037-.029-.36-.029-.802-.029-1.34V5.174c0-.537 0-.98.03-1.34.03-.373.095-.715.259-1.036a2.65 2.65 0 0 1 1.158-1.158c.32-.164.663-.23 1.036-.26.36-.029.803-.029 1.34-.029ZM3.939 2.675c-.293.024-.445.068-.552.122a1.35 1.35 0 0 0-.59.59c-.054.107-.098.259-.122.552-.025.301-.025.69-.025 1.261v5.6c0 .57 0 .96.025 1.26.024.294.068.446.122.553.13.254.336.46.59.59.107.054.259.098.552.122.301.025.69.025 1.261.025h5.6c.57 0 .96 0 1.26-.025.294-.024.446-.068.553-.122.254-.13.46-.336.59-.59.054-.107.098-.26.122-.552.025-.301.025-.69.025-1.261V5.2c0-.57 0-.96-.025-1.26-.024-.294-.068-.446-.122-.553a1.35 1.35 0 0 0-.59-.59c-.107-.054-.26-.098-.552-.122-.301-.025-.69-.025-1.261-.025H5.2c-.57 0-.96 0-1.26.025Z" clipRule="evenodd" /></svg>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
CheckboxEmptyIcon.displayName = "CheckboxEmptyIcon";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated from icons/checkbox-mixed-filled.svg
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import type { IconProps } from "../types";
|
|
5
|
+
|
|
6
|
+
// prettier-ignore
|
|
7
|
+
export const CheckboxMixedFilledIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
9
|
+
return (
|
|
10
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M1.592 2.56c-.242.474-.242 1.095-.242 2.337v6.206c0 1.242 0 1.863.242 2.337.212.417.551.756.968.968.474.242 1.095.242 2.337.242h6.206c1.242 0 1.863 0 2.337-.242.417-.212.756-.551.968-.968.242-.474.242-1.095.242-2.337V4.897c0-1.242 0-1.863-.242-2.337a2.217 2.217 0 0 0-.968-.968c-.474-.242-1.095-.242-2.337-.242H4.897c-1.242 0-1.863 0-2.337.242a2.217 2.217 0 0 0-.968.968Zm3.083 4.553a.887.887 0 1 0 0 1.774h6.65a.887.887 0 1 0 0-1.774h-6.65Z" clipRule="evenodd" /></svg>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
CheckboxMixedFilledIcon.displayName = "CheckboxMixedFilledIcon";
|
|
@@ -7,7 +7,7 @@ import type { IconProps } from "../types";
|
|
|
7
7
|
export const ChevronBigDownIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
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={size} height={size} fill={color} {...props} ref={forwardedRef}><path
|
|
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.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
|
);
|
|
@@ -7,7 +7,7 @@ import type { IconProps } from "../types";
|
|
|
7
7
|
export const ChevronBigLeftIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
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={size} height={size} fill={color} {...props} ref={forwardedRef}><path
|
|
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="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
|
);
|
|
@@ -7,7 +7,7 @@ import type { IconProps } from "../types";
|
|
|
7
7
|
export const ChevronBigRightIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
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={size} height={size} fill={color} {...props} ref={forwardedRef}><path
|
|
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="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
|
);
|
|
@@ -7,7 +7,7 @@ import type { IconProps } from "../types";
|
|
|
7
7
|
export const ChevronBigUpIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
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={size} height={size} fill={color} {...props} ref={forwardedRef}><path
|
|
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="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
|
);
|
|
@@ -7,7 +7,7 @@ import type { IconProps } from "../types";
|
|
|
7
7
|
export const ChevronFilledDownIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
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={size} height={size} fill={color} {...props} ref={forwardedRef}><path
|
|
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.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
|
);
|
|
@@ -7,7 +7,7 @@ import type { IconProps } from "../types";
|
|
|
7
7
|
export const ChevronFilledLeftIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
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={size} height={size} fill={color} {...props} ref={forwardedRef}><path
|
|
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="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
|
);
|
|
@@ -7,7 +7,7 @@ import type { IconProps } from "../types";
|
|
|
7
7
|
export const ChevronFilledRightIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
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={size} height={size} fill={color} {...props} ref={forwardedRef}><path
|
|
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="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
|
);
|
|
@@ -7,7 +7,7 @@ import type { IconProps } from "../types";
|
|
|
7
7
|
export const ChevronFilledUpIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
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={size} height={size} fill={color} {...props} ref={forwardedRef}><path
|
|
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="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
|
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated from icons/drag-handle.svg
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import type { IconProps } from "../types";
|
|
5
|
+
|
|
6
|
+
// prettier-ignore
|
|
7
|
+
export const DragHandleIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
9
|
+
return (
|
|
10
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><rect width="6" height="1" x="5" y="3" rx=".5" /><rect width="6" height="1" x="5" y="6" rx=".5" /><rect width="6" height="1" x="5" y="9" rx=".5" /><rect width="6" height="1" x="5" y="12" rx=".5" /></svg>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
DragHandleIcon.displayName = "DragHandleIcon";
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export * from "./auto-scroll";
|
|
2
2
|
export * from "./blockquote";
|
|
3
|
+
export * from "./checkbox-checked-filled";
|
|
4
|
+
export * from "./checkbox-empty";
|
|
5
|
+
export * from "./checkbox-mixed-filled";
|
|
3
6
|
export * from "./chevron-big-down";
|
|
4
7
|
export * from "./chevron-big-left";
|
|
5
8
|
export * from "./chevron-big-right";
|
|
@@ -11,6 +14,7 @@ export * from "./chevron-filled-up";
|
|
|
11
14
|
export * from "./code";
|
|
12
15
|
export * from "./dash";
|
|
13
16
|
export * from "./dot";
|
|
17
|
+
export * from "./drag-handle";
|
|
14
18
|
export * from "./eyecon-closed";
|
|
15
19
|
export * from "./eyecon-open";
|
|
16
20
|
export * from "./hamburger-menu";
|
|
@@ -20,8 +24,11 @@ export * from "./list-item";
|
|
|
20
24
|
export * from "./list";
|
|
21
25
|
export * from "./offline";
|
|
22
26
|
export * from "./play";
|
|
27
|
+
export * from "./radio-checked";
|
|
28
|
+
export * from "./radio-unchecked";
|
|
23
29
|
export * from "./scroll";
|
|
24
30
|
export * from "./subscript";
|
|
31
|
+
export * from "./subtract";
|
|
25
32
|
export * from "./superscript";
|
|
26
33
|
export * from "./unlinked";
|
|
27
34
|
export * from "./webstudio";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated from icons/radio-checked.svg
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import type { IconProps } from "../types";
|
|
5
|
+
|
|
6
|
+
// prettier-ignore
|
|
7
|
+
export const RadioCheckedIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
9
|
+
return (
|
|
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 5.35a2.65 2.65 0 1 0 0 5.3 2.65 2.65 0 0 0 0-5.3Z" /><path fillRule="evenodd" d="M8 1.35a6.65 6.65 0 1 0 0 13.3 6.65 6.65 0 0 0 0-13.3ZM2.65 8a5.35 5.35 0 1 1 10.7 0 5.35 5.35 0 0 1-10.7 0Z" clipRule="evenodd" /></svg>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
RadioCheckedIcon.displayName = "RadioCheckedIcon";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated from icons/radio-unchecked.svg
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import type { IconProps } from "../types";
|
|
5
|
+
|
|
6
|
+
// prettier-ignore
|
|
7
|
+
export const RadioUncheckedIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
9
|
+
return (
|
|
10
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M8 1.35a6.65 6.65 0 1 0 0 13.3 6.65 6.65 0 0 0 0-13.3ZM2.65 8a5.35 5.35 0 1 1 10.7 0 5.35 5.35 0 0 1-10.7 0Z" clipRule="evenodd" /></svg>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
RadioUncheckedIcon.displayName = "RadioUncheckedIcon";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated from icons/subtract.svg
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import type { IconProps } from "../types";
|
|
5
|
+
|
|
6
|
+
// prettier-ignore
|
|
7
|
+
export const SubtractIcon = forwardRef<SVGSVGElement, IconProps>(
|
|
8
|
+
({ color = "currentColor", size = 16, ...props }, forwardedRef) => {
|
|
9
|
+
return (
|
|
10
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M14 8a.75.75 0 0 1-.75.75H2.75a.75.75 0 0 1 0-1.5h10.5A.75.75 0 0 1 14 8Z" clipRule="evenodd" /></svg>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
SubtractIcon.displayName = "SubtractIcon";
|
package/src/index.stories.tsx
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import * as icons from "./index";
|
|
2
2
|
import * as legacyIcons from "./legacy";
|
|
3
3
|
|
|
4
|
-
export const Icons = () => {
|
|
4
|
+
export const Icons = ({ testColor }: { testColor: boolean }) => {
|
|
5
5
|
return (
|
|
6
6
|
<>
|
|
7
|
-
<div
|
|
7
|
+
<div
|
|
8
|
+
style={{
|
|
9
|
+
display: "flex",
|
|
10
|
+
flexWrap: "wrap",
|
|
11
|
+
...(testColor ? { color: "red" } : {}),
|
|
12
|
+
}}
|
|
13
|
+
>
|
|
8
14
|
{Object.entries(icons).map(
|
|
9
15
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10
16
|
([name, Icon]: [string, any]) => {
|
|
@@ -53,4 +59,10 @@ export const Icons = () => {
|
|
|
53
59
|
export default {
|
|
54
60
|
title: "All Icons",
|
|
55
61
|
component: Icons,
|
|
62
|
+
argTypes: {
|
|
63
|
+
testColor: {
|
|
64
|
+
name: "Test color",
|
|
65
|
+
defaultValue: false,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
56
68
|
};
|