@optiaxiom/icons 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist/cjs/index.js +171 -0
- package/dist/esm/_virtual/add.svg.js +21 -0
- package/dist/esm/_virtual/add_box-fill.svg.js +21 -0
- package/dist/esm/_virtual/add_box.svg.js +21 -0
- package/dist/esm/_virtual/delete.svg.js +21 -0
- package/dist/esm/_virtual/edit.svg.js +21 -0
- package/dist/esm/_virtual/experiment.svg.js +21 -0
- package/dist/esm/_virtual/star.svg.js +21 -0
- package/dist/esm/_virtual/unfold_more.svg.js +21 -0
- package/dist/esm/_virtual/visibility.svg.js +21 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/resolveSize.js +14 -0
- package/dist/index.d.ts +150 -0
- package/package.json +37 -0
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Axiom Icons Library
|
|
2
|
+
|
|
3
|
+
Material Symbols kit for use with the Optimizely Design System.
|
|
4
|
+
|
|
5
|
+
## Getting Started
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install @optiaxiom/icons
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```tsx
|
|
12
|
+
import { IconDelete } from "@optiaxiom/icons";
|
|
13
|
+
|
|
14
|
+
function App() {
|
|
15
|
+
return (
|
|
16
|
+
<>
|
|
17
|
+
<IconDelete />
|
|
18
|
+
<IconDelete size={24} />
|
|
19
|
+
</>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Check out our [Icons Guide](https://optimizely-axiom.github.io/optiaxiom/guides/icons) to learn more and explore all available icons.
|
|
25
|
+
|
|
26
|
+
## Contributing
|
|
27
|
+
|
|
28
|
+
See the [main repository](https://github.com/optimizely-axiom/optiaxiom) for contribution guidelines.
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
Apache-2.0
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
var react = require('react');
|
|
5
|
+
|
|
6
|
+
const sizes = {
|
|
7
|
+
"2xs": "1rem",
|
|
8
|
+
xs: "1.25rem",
|
|
9
|
+
sm: "1.5rem",
|
|
10
|
+
md: "2rem",
|
|
11
|
+
lg: "2.5rem",
|
|
12
|
+
xl: "3rem",
|
|
13
|
+
"3xl": "5rem"
|
|
14
|
+
};
|
|
15
|
+
function resolveSize(size) {
|
|
16
|
+
return typeof size === "string" && size in sizes ? sizes[size] : size;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const IconAdd = react.forwardRef(
|
|
20
|
+
function IconAdd({ size = 20, ...props }, ref) {
|
|
21
|
+
const resolved = resolveSize(size);
|
|
22
|
+
return jsxRuntime.jsxs("svg", {
|
|
23
|
+
fill: "currentColor",
|
|
24
|
+
height: resolved,
|
|
25
|
+
ref,
|
|
26
|
+
viewBox: "0 -960 960 960",
|
|
27
|
+
width: resolved,
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
...props,
|
|
30
|
+
children: [jsxRuntime.jsx("path", { d: "M457.31-457.31H242.69q-9.64 0-16.16-6.58-6.53-6.58-6.53-16.31 0-9.72 6.53-16.11 6.52-6.38 16.16-6.38h214.62v-214.62q0-9.64 6.58-16.16 6.58-6.53 16.31-6.53 9.72 0 16.11 6.53 6.38 6.52 6.38 16.16v214.62h214.62q9.64 0 16.16 6.58 6.53 6.58 6.53 16.31 0 9.72-6.53 16.11-6.52 6.38-16.16 6.38H502.69v214.62q0 9.64-6.58 16.16-6.58 6.53-16.31 6.53-9.72 0-16.11-6.53-6.38-6.52-6.38-16.16v-214.62Z" })],
|
|
31
|
+
});
|
|
32
|
+
},
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
const IconAddBoxFilled = react.forwardRef(
|
|
36
|
+
function IconAddBoxFilled({ size = 20, ...props }, ref) {
|
|
37
|
+
const resolved = resolveSize(size);
|
|
38
|
+
return jsxRuntime.jsxs("svg", {
|
|
39
|
+
fill: "currentColor",
|
|
40
|
+
height: resolved,
|
|
41
|
+
ref,
|
|
42
|
+
viewBox: "0 -960 960 960",
|
|
43
|
+
width: resolved,
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
45
|
+
...props,
|
|
46
|
+
children: [jsxRuntime.jsx("path", { d: "M457.31-457.31v144.62q0 9.64 6.58 16.17 6.58 6.52 16.31 6.52 9.72 0 16.11-6.52 6.38-6.53 6.38-16.17v-144.62h144.62q9.64 0 16.17-6.58 6.52-6.58 6.52-16.31 0-9.72-6.52-16.11-6.53-6.38-16.17-6.38H502.69v-144.62q0-9.64-6.58-16.17-6.58-6.52-16.31-6.52-9.72 0-16.11 6.52-6.38 6.53-6.38 16.17v144.62H312.69q-9.64 0-16.17 6.58-6.52 6.58-6.52 16.31 0 9.72 6.52 16.11 6.53 6.38 16.17 6.38h144.62ZM197.69-140q-23.53 0-40.61-17.08T140-197.69v-564.62q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Z" })],
|
|
47
|
+
});
|
|
48
|
+
},
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
const IconAddBox = react.forwardRef(
|
|
52
|
+
function IconAddBox({ size = 20, ...props }, ref) {
|
|
53
|
+
const resolved = resolveSize(size);
|
|
54
|
+
return jsxRuntime.jsxs("svg", {
|
|
55
|
+
fill: "currentColor",
|
|
56
|
+
height: resolved,
|
|
57
|
+
ref,
|
|
58
|
+
viewBox: "0 -960 960 960",
|
|
59
|
+
width: resolved,
|
|
60
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
61
|
+
...props,
|
|
62
|
+
children: [jsxRuntime.jsx("path", { d: "M457.31-457.31v144.62q0 9.66 6.56 16.17 6.57 6.52 16.31 6.52 9.74 0 16.13-6.52 6.38-6.51 6.38-16.17v-144.62h144.62q9.66 0 16.17-6.56 6.52-6.57 6.52-16.31 0-9.74-6.52-16.13-6.51-6.38-16.17-6.38H502.69v-144.62q0-9.66-6.56-16.17-6.57-6.52-16.31-6.52-9.74 0-16.13 6.52-6.38 6.51-6.38 16.17v144.62H312.69q-9.66 0-16.17 6.56-6.52 6.57-6.52 16.31 0 9.74 6.52 16.13 6.51 6.38 16.17 6.38h144.62ZM197.69-140q-23.53 0-40.61-17.08T140-197.69v-564.62q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Zm0-45.39h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46v-564.62q0-4.61-3.84-8.46-3.85-3.84-8.46-3.84H197.69q-4.61 0-8.46 3.84-3.84 3.85-3.84 8.46v564.62q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84Zm-12.3-589.22v589.22-589.22Z" })],
|
|
63
|
+
});
|
|
64
|
+
},
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
const IconDelete = react.forwardRef(
|
|
68
|
+
function IconDelete({ size = 20, ...props }, ref) {
|
|
69
|
+
const resolved = resolveSize(size);
|
|
70
|
+
return jsxRuntime.jsxs("svg", {
|
|
71
|
+
fill: "currentColor",
|
|
72
|
+
height: resolved,
|
|
73
|
+
ref,
|
|
74
|
+
viewBox: "0 -960 960 960",
|
|
75
|
+
width: resolved,
|
|
76
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
77
|
+
...props,
|
|
78
|
+
children: [jsxRuntime.jsx("path", { d: "M278.31-140q-23.5 0-40.6-17.1-17.09-17.09-17.09-40.59v-544.23h-17.93q-9.64 0-16.16-6.58-6.53-6.58-6.53-16.31 0-9.73 6.53-16.11 6.52-6.39 16.16-6.39h148.39q0-11.84 8.24-19.96 8.25-8.11 19.83-8.11h201.7q11.58 0 19.83 8.24 8.24 8.25 8.24 19.83h148.39q9.64 0 16.16 6.58 6.53 6.58 6.53 16.31 0 9.73-6.53 16.11-6.52 6.39-16.16 6.39h-17.93v544.23q0 23.5-17.09 40.59-17.1 17.1-40.6 17.1H278.31ZM694-741.92H266v544.23q0 5.38 3.65 8.84 3.66 3.46 8.66 3.46h403.38q5 0 8.66-3.46 3.65-3.46 3.65-8.84v-544.23ZM420.23-276.37q6.39-6.52 6.39-16.17v-343.23q0-9.27-6.58-15.98-6.58-6.71-16.31-6.71-9.73 0-16.11 6.71-6.39 6.71-6.39 15.98v343.23q0 9.65 6.58 16.17 6.58 6.52 16.31 6.52 9.73 0 16.11-6.52Zm152.15 0q6.39-6.52 6.39-16.17v-343.23q0-9.27-6.58-15.98-6.58-6.71-16.31-6.71-9.73 0-16.11 6.71-6.39 6.71-6.39 15.98v343.23q0 9.65 6.58 16.17 6.58 6.52 16.31 6.52 9.73 0 16.11-6.52ZM266-741.92v556.53-556.53Z" })],
|
|
79
|
+
});
|
|
80
|
+
},
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
const IconEdit = react.forwardRef(
|
|
84
|
+
function IconEdit({ size = 20, ...props }, ref) {
|
|
85
|
+
const resolved = resolveSize(size);
|
|
86
|
+
return jsxRuntime.jsxs("svg", {
|
|
87
|
+
fill: "currentColor",
|
|
88
|
+
height: resolved,
|
|
89
|
+
ref,
|
|
90
|
+
viewBox: "0 -960 960 960",
|
|
91
|
+
width: resolved,
|
|
92
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
93
|
+
...props,
|
|
94
|
+
children: [jsxRuntime.jsx("path", { d: "M185.39-185.39h40.92l468.54-467.92-40.93-40.92-468.53 467.92v40.92ZM168.85-140q-12.52 0-20.69-8.16-8.16-8.17-8.16-20.69v-51.84q0-11.79 4.81-22.82 4.81-11.03 12.81-18.64l544.3-544.46q6.23-5.63 14.66-9.2 8.42-3.57 17.6-3.57 8.57 0 16.81 3.34 8.24 3.35 15.32 9.43l40.92 40.92q6.69 6.69 9.73 15.16 3.04 8.46 3.04 16.93 0 8.6-3.51 17.33-3.5 8.73-9.26 14.96L262.15-157.62q-7.61 8-18.64 12.81-11.03 4.81-22.82 4.81h-51.84Zm605.53-594.31-39.46-39.07 39.46 39.07Zm-99.75 60.68-20.71-20.6 40.93 40.92-20.22-20.32Z" })],
|
|
95
|
+
});
|
|
96
|
+
},
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
const IconExperiment = react.forwardRef(
|
|
100
|
+
function IconExperiment({ size = 20, ...props }, ref) {
|
|
101
|
+
const resolved = resolveSize(size);
|
|
102
|
+
return jsxRuntime.jsxs("svg", {
|
|
103
|
+
fill: "currentColor",
|
|
104
|
+
height: resolved,
|
|
105
|
+
ref,
|
|
106
|
+
viewBox: "0 -960 960 960",
|
|
107
|
+
width: resolved,
|
|
108
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
109
|
+
...props,
|
|
110
|
+
children: [jsxRuntime.jsx("path", { d: "M179.69-140q-31.96 0-45.25-29.39-13.28-29.38 8.79-53.69l245.69-282.69v-268.84h-56.61q-9.91 0-16.3-6.4-6.39-6.4-6.39-16.31 0-9.91 6.39-16.29 6.39-6.39 16.3-6.39h295.38q9.91 0 16.3 6.4 6.39 6.4 6.39 16.31 0 9.91-6.39 16.29-6.39 6.39-16.3 6.39h-56.61v268.84l245.69 282.69q22.07 24.31 8.79 53.69Q812.27-140 780.31-140H179.69Zm72.7-78.08h455.22L554.15-396.54h-148.3L252.39-218.08Zm-81.62 32.69h618.46L525.69-489.15v-285.46h-91.38v285.46L170.77-185.39ZM480-480Z" })],
|
|
111
|
+
});
|
|
112
|
+
},
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
const IconStar = react.forwardRef(
|
|
116
|
+
function IconStar({ size = 20, ...props }, ref) {
|
|
117
|
+
const resolved = resolveSize(size);
|
|
118
|
+
return jsxRuntime.jsxs("svg", {
|
|
119
|
+
fill: "currentColor",
|
|
120
|
+
height: resolved,
|
|
121
|
+
ref,
|
|
122
|
+
viewBox: "0 -960 960 960",
|
|
123
|
+
width: resolved,
|
|
124
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
125
|
+
...props,
|
|
126
|
+
children: [jsxRuntime.jsx("path", { d: "M331.46-256.15 480-345.54l148.54 90.39-39.31-169.16 130.69-113.46L547.54-553 480-712.15 412.46-554l-172.38 15.23 130.69 113.85-39.31 168.77ZM480-292.46 309.77-189.69q-6.46 3.46-13.15 3.15-6.7-.31-12.16-4.15-5.46-3.85-8.19-10.12-2.73-6.27-.73-13.96l44.77-193.54L170.54-539q-6.08-5.08-7.58-11.65-1.5-6.58.31-12.85t7.08-10.42q5.27-4.16 12.96-4.77l198.15-17.46 77.08-183.08q3.23-6.69 9.11-10.23Q473.54-793 480-793t12.35 3.54q5.88 3.54 9.11 10.23l77.08 183.08 198.15 17.46q7.69.61 12.96 4.77 5.27 4.15 7.08 10.42 1.81 6.27.31 12.85-1.5 6.57-7.58 11.65L639.69-408.31l45.15 193.54q1.62 7.69-1.11 13.96-2.73 6.27-8.19 10.12-5.46 3.84-12.16 4.15-6.69.31-13.15-3.15L480-292.46Zm0-181.39Z" })],
|
|
127
|
+
});
|
|
128
|
+
},
|
|
129
|
+
);
|
|
130
|
+
|
|
131
|
+
const IconUnfoldMore = react.forwardRef(
|
|
132
|
+
function IconUnfoldMore({ size = 20, ...props }, ref) {
|
|
133
|
+
const resolved = resolveSize(size);
|
|
134
|
+
return jsxRuntime.jsxs("svg", {
|
|
135
|
+
fill: "currentColor",
|
|
136
|
+
height: resolved,
|
|
137
|
+
ref,
|
|
138
|
+
viewBox: "0 -960 960 960",
|
|
139
|
+
width: resolved,
|
|
140
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
141
|
+
...props,
|
|
142
|
+
children: [jsxRuntime.jsx("path", { d: "m480-201.08 117.08-117.07q6.85-6.7 16.5-6.89 9.65-.19 16.73 7.02 7.07 7.2 7.07 16.61t-7.07 16.49L500.23-154.85q-4.61 4.62-9.61 6.62-4.99 2-10.8 2-5.82 0-10.63-2-4.81-2-9.42-6.62L329.69-284.92q-6.69-6.86-6.88-16.51-.19-9.65 7.01-16.72 7.21-7.08 16.62-7.08t16.48 7.08L480-201.08Zm0-555.38L362.92-639.39q-6.85 6.7-16.5 6.89-9.65.19-16.73-7.02-7.07-7.2-7.07-16.61t7.07-16.48l130.08-130.08q4.61-4.62 9.61-6.81 4.99-2.19 10.8-2.19 5.82 0 10.63 2.19 4.81 2.19 9.42 6.81l130.08 130.08q6.69 6.85 6.88 16.5.19 9.65-7.01 16.72-7.21 7.08-16.62 7.08t-16.48-7.08L480-756.46Z" })],
|
|
143
|
+
});
|
|
144
|
+
},
|
|
145
|
+
);
|
|
146
|
+
|
|
147
|
+
const IconVisibility = react.forwardRef(
|
|
148
|
+
function IconVisibility({ size = 20, ...props }, ref) {
|
|
149
|
+
const resolved = resolveSize(size);
|
|
150
|
+
return jsxRuntime.jsxs("svg", {
|
|
151
|
+
fill: "currentColor",
|
|
152
|
+
height: resolved,
|
|
153
|
+
ref,
|
|
154
|
+
viewBox: "0 -960 960 960",
|
|
155
|
+
width: resolved,
|
|
156
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
157
|
+
...props,
|
|
158
|
+
children: [jsxRuntime.jsx("path", { d: "M590.31-389.81q45.46-45.58 45.46-110.31t-45.58-110.19q-45.58-45.46-110.31-45.46t-110.19 45.58q-45.46 45.58-45.46 110.31t45.58 110.19q45.58 45.46 110.31 45.46t110.19-45.58ZM401.27-421.5q-32.12-32.36-32.12-78.74 0-46.38 32.35-78.49 32.36-32.12 78.74-32.12 46.38 0 78.49 32.35 32.12 32.36 32.12 78.74 0 46.38-32.35 78.49-32.36 32.12-78.74 32.12-46.38 0-78.49-32.35ZM248.15-290.23Q143.23-360.46 78.92-470.38q-4.38-7.13-6.38-14.46-2-7.33-2-15.24 0-7.92 2-15.19t6.38-14.35q64.31-109.92 169.23-180.15Q353.08-780 480-780q126.92 0 231.85 70.23 104.92 70.23 169.23 180.15 4.38 7.13 6.38 14.46 2 7.33 2 15.24 0 7.92-2 15.19t-6.38 14.35q-64.31 109.92-169.23 180.15Q606.92-220 480-220q-126.92 0-231.85-70.23ZM480-500Zm218.65 170.85Q798.23-392.92 850.46-500q-52.23-107.08-151.64-170.85-99.41-63.76-218.65-63.76-119.25 0-218.82 63.76Q161.77-607.08 108.92-500q52.85 107.08 152.26 170.85 99.41 63.76 218.65 63.76 119.25 0 218.82-63.76Z" })],
|
|
159
|
+
});
|
|
160
|
+
},
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
exports.IconAdd = IconAdd;
|
|
164
|
+
exports.IconAddBox = IconAddBox;
|
|
165
|
+
exports.IconAddBoxFilled = IconAddBoxFilled;
|
|
166
|
+
exports.IconDelete = IconDelete;
|
|
167
|
+
exports.IconEdit = IconEdit;
|
|
168
|
+
exports.IconExperiment = IconExperiment;
|
|
169
|
+
exports.IconStar = IconStar;
|
|
170
|
+
exports.IconUnfoldMore = IconUnfoldMore;
|
|
171
|
+
exports.IconVisibility = IconVisibility;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { resolveSize } from '../resolveSize.js';
|
|
4
|
+
|
|
5
|
+
const IconAdd = forwardRef(
|
|
6
|
+
function IconAdd({ size = 20, ...props }, ref) {
|
|
7
|
+
const resolved = resolveSize(size);
|
|
8
|
+
return jsxs("svg", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
height: resolved,
|
|
11
|
+
ref,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
width: resolved,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [jsx("path", { d: "M457.31-457.31H242.69q-9.64 0-16.16-6.58-6.53-6.58-6.53-16.31 0-9.72 6.53-16.11 6.52-6.38 16.16-6.38h214.62v-214.62q0-9.64 6.58-16.16 6.58-6.53 16.31-6.53 9.72 0 16.11 6.53 6.38 6.52 6.38 16.16v214.62h214.62q9.64 0 16.16 6.58 6.53 6.58 6.53 16.31 0 9.72-6.53 16.11-6.52 6.38-16.16 6.38H502.69v214.62q0 9.64-6.58 16.16-6.58 6.53-16.31 6.53-9.72 0-16.11-6.53-6.38-6.52-6.38-16.16v-214.62Z" })],
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export { IconAdd as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { resolveSize } from '../resolveSize.js';
|
|
4
|
+
|
|
5
|
+
const IconAddBoxFilled = forwardRef(
|
|
6
|
+
function IconAddBoxFilled({ size = 20, ...props }, ref) {
|
|
7
|
+
const resolved = resolveSize(size);
|
|
8
|
+
return jsxs("svg", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
height: resolved,
|
|
11
|
+
ref,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
width: resolved,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [jsx("path", { d: "M457.31-457.31v144.62q0 9.64 6.58 16.17 6.58 6.52 16.31 6.52 9.72 0 16.11-6.52 6.38-6.53 6.38-16.17v-144.62h144.62q9.64 0 16.17-6.58 6.52-6.58 6.52-16.31 0-9.72-6.52-16.11-6.53-6.38-16.17-6.38H502.69v-144.62q0-9.64-6.58-16.17-6.58-6.52-16.31-6.52-9.72 0-16.11 6.52-6.38 6.53-6.38 16.17v144.62H312.69q-9.64 0-16.17 6.58-6.52 6.58-6.52 16.31 0 9.72 6.52 16.11 6.53 6.38 16.17 6.38h144.62ZM197.69-140q-23.53 0-40.61-17.08T140-197.69v-564.62q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Z" })],
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export { IconAddBoxFilled as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { resolveSize } from '../resolveSize.js';
|
|
4
|
+
|
|
5
|
+
const IconAddBox = forwardRef(
|
|
6
|
+
function IconAddBox({ size = 20, ...props }, ref) {
|
|
7
|
+
const resolved = resolveSize(size);
|
|
8
|
+
return jsxs("svg", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
height: resolved,
|
|
11
|
+
ref,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
width: resolved,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [jsx("path", { d: "M457.31-457.31v144.62q0 9.66 6.56 16.17 6.57 6.52 16.31 6.52 9.74 0 16.13-6.52 6.38-6.51 6.38-16.17v-144.62h144.62q9.66 0 16.17-6.56 6.52-6.57 6.52-16.31 0-9.74-6.52-16.13-6.51-6.38-16.17-6.38H502.69v-144.62q0-9.66-6.56-16.17-6.57-6.52-16.31-6.52-9.74 0-16.13 6.52-6.38 6.51-6.38 16.17v144.62H312.69q-9.66 0-16.17 6.56-6.52 6.57-6.52 16.31 0 9.74 6.52 16.13 6.51 6.38 16.17 6.38h144.62ZM197.69-140q-23.53 0-40.61-17.08T140-197.69v-564.62q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Zm0-45.39h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46v-564.62q0-4.61-3.84-8.46-3.85-3.84-8.46-3.84H197.69q-4.61 0-8.46 3.84-3.84 3.85-3.84 8.46v564.62q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84Zm-12.3-589.22v589.22-589.22Z" })],
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export { IconAddBox as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { resolveSize } from '../resolveSize.js';
|
|
4
|
+
|
|
5
|
+
const IconDelete = forwardRef(
|
|
6
|
+
function IconDelete({ size = 20, ...props }, ref) {
|
|
7
|
+
const resolved = resolveSize(size);
|
|
8
|
+
return jsxs("svg", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
height: resolved,
|
|
11
|
+
ref,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
width: resolved,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [jsx("path", { d: "M278.31-140q-23.5 0-40.6-17.1-17.09-17.09-17.09-40.59v-544.23h-17.93q-9.64 0-16.16-6.58-6.53-6.58-6.53-16.31 0-9.73 6.53-16.11 6.52-6.39 16.16-6.39h148.39q0-11.84 8.24-19.96 8.25-8.11 19.83-8.11h201.7q11.58 0 19.83 8.24 8.24 8.25 8.24 19.83h148.39q9.64 0 16.16 6.58 6.53 6.58 6.53 16.31 0 9.73-6.53 16.11-6.52 6.39-16.16 6.39h-17.93v544.23q0 23.5-17.09 40.59-17.1 17.1-40.6 17.1H278.31ZM694-741.92H266v544.23q0 5.38 3.65 8.84 3.66 3.46 8.66 3.46h403.38q5 0 8.66-3.46 3.65-3.46 3.65-8.84v-544.23ZM420.23-276.37q6.39-6.52 6.39-16.17v-343.23q0-9.27-6.58-15.98-6.58-6.71-16.31-6.71-9.73 0-16.11 6.71-6.39 6.71-6.39 15.98v343.23q0 9.65 6.58 16.17 6.58 6.52 16.31 6.52 9.73 0 16.11-6.52Zm152.15 0q6.39-6.52 6.39-16.17v-343.23q0-9.27-6.58-15.98-6.58-6.71-16.31-6.71-9.73 0-16.11 6.71-6.39 6.71-6.39 15.98v343.23q0 9.65 6.58 16.17 6.58 6.52 16.31 6.52 9.73 0 16.11-6.52ZM266-741.92v556.53-556.53Z" })],
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export { IconDelete as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { resolveSize } from '../resolveSize.js';
|
|
4
|
+
|
|
5
|
+
const IconEdit = forwardRef(
|
|
6
|
+
function IconEdit({ size = 20, ...props }, ref) {
|
|
7
|
+
const resolved = resolveSize(size);
|
|
8
|
+
return jsxs("svg", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
height: resolved,
|
|
11
|
+
ref,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
width: resolved,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [jsx("path", { d: "M185.39-185.39h40.92l468.54-467.92-40.93-40.92-468.53 467.92v40.92ZM168.85-140q-12.52 0-20.69-8.16-8.16-8.17-8.16-20.69v-51.84q0-11.79 4.81-22.82 4.81-11.03 12.81-18.64l544.3-544.46q6.23-5.63 14.66-9.2 8.42-3.57 17.6-3.57 8.57 0 16.81 3.34 8.24 3.35 15.32 9.43l40.92 40.92q6.69 6.69 9.73 15.16 3.04 8.46 3.04 16.93 0 8.6-3.51 17.33-3.5 8.73-9.26 14.96L262.15-157.62q-7.61 8-18.64 12.81-11.03 4.81-22.82 4.81h-51.84Zm605.53-594.31-39.46-39.07 39.46 39.07Zm-99.75 60.68-20.71-20.6 40.93 40.92-20.22-20.32Z" })],
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export { IconEdit as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { resolveSize } from '../resolveSize.js';
|
|
4
|
+
|
|
5
|
+
const IconExperiment = forwardRef(
|
|
6
|
+
function IconExperiment({ size = 20, ...props }, ref) {
|
|
7
|
+
const resolved = resolveSize(size);
|
|
8
|
+
return jsxs("svg", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
height: resolved,
|
|
11
|
+
ref,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
width: resolved,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [jsx("path", { d: "M179.69-140q-31.96 0-45.25-29.39-13.28-29.38 8.79-53.69l245.69-282.69v-268.84h-56.61q-9.91 0-16.3-6.4-6.39-6.4-6.39-16.31 0-9.91 6.39-16.29 6.39-6.39 16.3-6.39h295.38q9.91 0 16.3 6.4 6.39 6.4 6.39 16.31 0 9.91-6.39 16.29-6.39 6.39-16.3 6.39h-56.61v268.84l245.69 282.69q22.07 24.31 8.79 53.69Q812.27-140 780.31-140H179.69Zm72.7-78.08h455.22L554.15-396.54h-148.3L252.39-218.08Zm-81.62 32.69h618.46L525.69-489.15v-285.46h-91.38v285.46L170.77-185.39ZM480-480Z" })],
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export { IconExperiment as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { resolveSize } from '../resolveSize.js';
|
|
4
|
+
|
|
5
|
+
const IconStar = forwardRef(
|
|
6
|
+
function IconStar({ size = 20, ...props }, ref) {
|
|
7
|
+
const resolved = resolveSize(size);
|
|
8
|
+
return jsxs("svg", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
height: resolved,
|
|
11
|
+
ref,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
width: resolved,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [jsx("path", { d: "M331.46-256.15 480-345.54l148.54 90.39-39.31-169.16 130.69-113.46L547.54-553 480-712.15 412.46-554l-172.38 15.23 130.69 113.85-39.31 168.77ZM480-292.46 309.77-189.69q-6.46 3.46-13.15 3.15-6.7-.31-12.16-4.15-5.46-3.85-8.19-10.12-2.73-6.27-.73-13.96l44.77-193.54L170.54-539q-6.08-5.08-7.58-11.65-1.5-6.58.31-12.85t7.08-10.42q5.27-4.16 12.96-4.77l198.15-17.46 77.08-183.08q3.23-6.69 9.11-10.23Q473.54-793 480-793t12.35 3.54q5.88 3.54 9.11 10.23l77.08 183.08 198.15 17.46q7.69.61 12.96 4.77 5.27 4.15 7.08 10.42 1.81 6.27.31 12.85-1.5 6.57-7.58 11.65L639.69-408.31l45.15 193.54q1.62 7.69-1.11 13.96-2.73 6.27-8.19 10.12-5.46 3.84-12.16 4.15-6.69.31-13.15-3.15L480-292.46Zm0-181.39Z" })],
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export { IconStar as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { resolveSize } from '../resolveSize.js';
|
|
4
|
+
|
|
5
|
+
const IconUnfoldMore = forwardRef(
|
|
6
|
+
function IconUnfoldMore({ size = 20, ...props }, ref) {
|
|
7
|
+
const resolved = resolveSize(size);
|
|
8
|
+
return jsxs("svg", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
height: resolved,
|
|
11
|
+
ref,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
width: resolved,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [jsx("path", { d: "m480-201.08 117.08-117.07q6.85-6.7 16.5-6.89 9.65-.19 16.73 7.02 7.07 7.2 7.07 16.61t-7.07 16.49L500.23-154.85q-4.61 4.62-9.61 6.62-4.99 2-10.8 2-5.82 0-10.63-2-4.81-2-9.42-6.62L329.69-284.92q-6.69-6.86-6.88-16.51-.19-9.65 7.01-16.72 7.21-7.08 16.62-7.08t16.48 7.08L480-201.08Zm0-555.38L362.92-639.39q-6.85 6.7-16.5 6.89-9.65.19-16.73-7.02-7.07-7.2-7.07-16.61t7.07-16.48l130.08-130.08q4.61-4.62 9.61-6.81 4.99-2.19 10.8-2.19 5.82 0 10.63 2.19 4.81 2.19 9.42 6.81l130.08 130.08q6.69 6.85 6.88 16.5.19 9.65-7.01 16.72-7.21 7.08-16.62 7.08t-16.48-7.08L480-756.46Z" })],
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export { IconUnfoldMore as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { resolveSize } from '../resolveSize.js';
|
|
4
|
+
|
|
5
|
+
const IconVisibility = forwardRef(
|
|
6
|
+
function IconVisibility({ size = 20, ...props }, ref) {
|
|
7
|
+
const resolved = resolveSize(size);
|
|
8
|
+
return jsxs("svg", {
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
height: resolved,
|
|
11
|
+
ref,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
width: resolved,
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [jsx("path", { d: "M590.31-389.81q45.46-45.58 45.46-110.31t-45.58-110.19q-45.58-45.46-110.31-45.46t-110.19 45.58q-45.46 45.58-45.46 110.31t45.58 110.19q45.58 45.46 110.31 45.46t110.19-45.58ZM401.27-421.5q-32.12-32.36-32.12-78.74 0-46.38 32.35-78.49 32.36-32.12 78.74-32.12 46.38 0 78.49 32.35 32.12 32.36 32.12 78.74 0 46.38-32.35 78.49-32.36 32.12-78.74 32.12-46.38 0-78.49-32.35ZM248.15-290.23Q143.23-360.46 78.92-470.38q-4.38-7.13-6.38-14.46-2-7.33-2-15.24 0-7.92 2-15.19t6.38-14.35q64.31-109.92 169.23-180.15Q353.08-780 480-780q126.92 0 231.85 70.23 104.92 70.23 169.23 180.15 4.38 7.13 6.38 14.46 2 7.33 2 15.24 0 7.92-2 15.19t-6.38 14.35q-64.31 109.92-169.23 180.15Q606.92-220 480-220q-126.92 0-231.85-70.23ZM480-500Zm218.65 170.85Q798.23-392.92 850.46-500q-52.23-107.08-151.64-170.85-99.41-63.76-218.65-63.76-119.25 0-218.82 63.76Q161.77-607.08 108.92-500q52.85 107.08 152.26 170.85 99.41 63.76 218.65 63.76 119.25 0 218.82-63.76Z" })],
|
|
17
|
+
});
|
|
18
|
+
},
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
export { IconVisibility as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as IconAdd } from './_virtual/add.svg.js';
|
|
2
|
+
export { default as IconAddBoxFilled } from './_virtual/add_box-fill.svg.js';
|
|
3
|
+
export { default as IconAddBox } from './_virtual/add_box.svg.js';
|
|
4
|
+
export { default as IconDelete } from './_virtual/delete.svg.js';
|
|
5
|
+
export { default as IconEdit } from './_virtual/edit.svg.js';
|
|
6
|
+
export { default as IconExperiment } from './_virtual/experiment.svg.js';
|
|
7
|
+
export { default as IconStar } from './_virtual/star.svg.js';
|
|
8
|
+
export { default as IconUnfoldMore } from './_virtual/unfold_more.svg.js';
|
|
9
|
+
export { default as IconVisibility } from './_virtual/visibility.svg.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const sizes = {
|
|
2
|
+
"2xs": "1rem",
|
|
3
|
+
xs: "1.25rem",
|
|
4
|
+
sm: "1.5rem",
|
|
5
|
+
md: "2rem",
|
|
6
|
+
lg: "2.5rem",
|
|
7
|
+
xl: "3rem",
|
|
8
|
+
"3xl": "5rem"
|
|
9
|
+
};
|
|
10
|
+
function resolveSize(size) {
|
|
11
|
+
return typeof size === "string" && size in sizes ? sizes[size] : size;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { resolveSize };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
|
|
4
|
+
declare function resolveSize(size: number | string): string | number;
|
|
5
|
+
|
|
6
|
+
const IconAdd = forwardRef(
|
|
7
|
+
function IconAdd({ size = 20, ...props }, ref) {
|
|
8
|
+
const resolved = resolveSize(size);
|
|
9
|
+
return jsxs("svg", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
height: resolved,
|
|
12
|
+
ref,
|
|
13
|
+
viewBox: "0 -960 960 960",
|
|
14
|
+
width: resolved,
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
...props,
|
|
17
|
+
children: [jsx("path", { d: "M457.31-457.31H242.69q-9.64 0-16.16-6.58-6.53-6.58-6.53-16.31 0-9.72 6.53-16.11 6.52-6.38 16.16-6.38h214.62v-214.62q0-9.64 6.58-16.16 6.58-6.53 16.31-6.53 9.72 0 16.11 6.53 6.38 6.52 6.38 16.16v214.62h214.62q9.64 0 16.16 6.58 6.53 6.58 6.53 16.31 0 9.72-6.53 16.11-6.52 6.38-16.16 6.38H502.69v214.62q0 9.64-6.58 16.16-6.58 6.53-16.31 6.53-9.72 0-16.11-6.53-6.38-6.52-6.38-16.16v-214.62Z" })],
|
|
18
|
+
});
|
|
19
|
+
},
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
const IconAddBoxFilled = forwardRef(
|
|
23
|
+
function IconAddBoxFilled({ size = 20, ...props }, ref) {
|
|
24
|
+
const resolved = resolveSize(size);
|
|
25
|
+
return jsxs("svg", {
|
|
26
|
+
fill: "currentColor",
|
|
27
|
+
height: resolved,
|
|
28
|
+
ref,
|
|
29
|
+
viewBox: "0 -960 960 960",
|
|
30
|
+
width: resolved,
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
...props,
|
|
33
|
+
children: [jsx("path", { d: "M457.31-457.31v144.62q0 9.64 6.58 16.17 6.58 6.52 16.31 6.52 9.72 0 16.11-6.52 6.38-6.53 6.38-16.17v-144.62h144.62q9.64 0 16.17-6.58 6.52-6.58 6.52-16.31 0-9.72-6.52-16.11-6.53-6.38-16.17-6.38H502.69v-144.62q0-9.64-6.58-16.17-6.58-6.52-16.31-6.52-9.72 0-16.11 6.52-6.38 6.53-6.38 16.17v144.62H312.69q-9.64 0-16.17 6.58-6.52 6.58-6.52 16.31 0 9.72 6.52 16.11 6.53 6.38 16.17 6.38h144.62ZM197.69-140q-23.53 0-40.61-17.08T140-197.69v-564.62q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Z" })],
|
|
34
|
+
});
|
|
35
|
+
},
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
const IconAddBox = forwardRef(
|
|
39
|
+
function IconAddBox({ size = 20, ...props }, ref) {
|
|
40
|
+
const resolved = resolveSize(size);
|
|
41
|
+
return jsxs("svg", {
|
|
42
|
+
fill: "currentColor",
|
|
43
|
+
height: resolved,
|
|
44
|
+
ref,
|
|
45
|
+
viewBox: "0 -960 960 960",
|
|
46
|
+
width: resolved,
|
|
47
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
48
|
+
...props,
|
|
49
|
+
children: [jsx("path", { d: "M457.31-457.31v144.62q0 9.66 6.56 16.17 6.57 6.52 16.31 6.52 9.74 0 16.13-6.52 6.38-6.51 6.38-16.17v-144.62h144.62q9.66 0 16.17-6.56 6.52-6.57 6.52-16.31 0-9.74-6.52-16.13-6.51-6.38-16.17-6.38H502.69v-144.62q0-9.66-6.56-16.17-6.57-6.52-16.31-6.52-9.74 0-16.13 6.52-6.38 6.51-6.38 16.17v144.62H312.69q-9.66 0-16.17 6.56-6.52 6.57-6.52 16.31 0 9.74 6.52 16.13 6.51 6.38 16.17 6.38h144.62ZM197.69-140q-23.53 0-40.61-17.08T140-197.69v-564.62q0-23.53 17.08-40.61T197.69-820h564.62q23.53 0 40.61 17.08T820-762.31v564.62q0 23.53-17.08 40.61T762.31-140H197.69Zm0-45.39h564.62q4.61 0 8.46-3.84 3.84-3.85 3.84-8.46v-564.62q0-4.61-3.84-8.46-3.85-3.84-8.46-3.84H197.69q-4.61 0-8.46 3.84-3.84 3.85-3.84 8.46v564.62q0 4.61 3.84 8.46 3.85 3.84 8.46 3.84Zm-12.3-589.22v589.22-589.22Z" })],
|
|
50
|
+
});
|
|
51
|
+
},
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
const IconDelete = forwardRef(
|
|
55
|
+
function IconDelete({ size = 20, ...props }, ref) {
|
|
56
|
+
const resolved = resolveSize(size);
|
|
57
|
+
return jsxs("svg", {
|
|
58
|
+
fill: "currentColor",
|
|
59
|
+
height: resolved,
|
|
60
|
+
ref,
|
|
61
|
+
viewBox: "0 -960 960 960",
|
|
62
|
+
width: resolved,
|
|
63
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
64
|
+
...props,
|
|
65
|
+
children: [jsx("path", { d: "M278.31-140q-23.5 0-40.6-17.1-17.09-17.09-17.09-40.59v-544.23h-17.93q-9.64 0-16.16-6.58-6.53-6.58-6.53-16.31 0-9.73 6.53-16.11 6.52-6.39 16.16-6.39h148.39q0-11.84 8.24-19.96 8.25-8.11 19.83-8.11h201.7q11.58 0 19.83 8.24 8.24 8.25 8.24 19.83h148.39q9.64 0 16.16 6.58 6.53 6.58 6.53 16.31 0 9.73-6.53 16.11-6.52 6.39-16.16 6.39h-17.93v544.23q0 23.5-17.09 40.59-17.1 17.1-40.6 17.1H278.31ZM694-741.92H266v544.23q0 5.38 3.65 8.84 3.66 3.46 8.66 3.46h403.38q5 0 8.66-3.46 3.65-3.46 3.65-8.84v-544.23ZM420.23-276.37q6.39-6.52 6.39-16.17v-343.23q0-9.27-6.58-15.98-6.58-6.71-16.31-6.71-9.73 0-16.11 6.71-6.39 6.71-6.39 15.98v343.23q0 9.65 6.58 16.17 6.58 6.52 16.31 6.52 9.73 0 16.11-6.52Zm152.15 0q6.39-6.52 6.39-16.17v-343.23q0-9.27-6.58-15.98-6.58-6.71-16.31-6.71-9.73 0-16.11 6.71-6.39 6.71-6.39 15.98v343.23q0 9.65 6.58 16.17 6.58 6.52 16.31 6.52 9.73 0 16.11-6.52ZM266-741.92v556.53-556.53Z" })],
|
|
66
|
+
});
|
|
67
|
+
},
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
const IconEdit = forwardRef(
|
|
71
|
+
function IconEdit({ size = 20, ...props }, ref) {
|
|
72
|
+
const resolved = resolveSize(size);
|
|
73
|
+
return jsxs("svg", {
|
|
74
|
+
fill: "currentColor",
|
|
75
|
+
height: resolved,
|
|
76
|
+
ref,
|
|
77
|
+
viewBox: "0 -960 960 960",
|
|
78
|
+
width: resolved,
|
|
79
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
80
|
+
...props,
|
|
81
|
+
children: [jsx("path", { d: "M185.39-185.39h40.92l468.54-467.92-40.93-40.92-468.53 467.92v40.92ZM168.85-140q-12.52 0-20.69-8.16-8.16-8.17-8.16-20.69v-51.84q0-11.79 4.81-22.82 4.81-11.03 12.81-18.64l544.3-544.46q6.23-5.63 14.66-9.2 8.42-3.57 17.6-3.57 8.57 0 16.81 3.34 8.24 3.35 15.32 9.43l40.92 40.92q6.69 6.69 9.73 15.16 3.04 8.46 3.04 16.93 0 8.6-3.51 17.33-3.5 8.73-9.26 14.96L262.15-157.62q-7.61 8-18.64 12.81-11.03 4.81-22.82 4.81h-51.84Zm605.53-594.31-39.46-39.07 39.46 39.07Zm-99.75 60.68-20.71-20.6 40.93 40.92-20.22-20.32Z" })],
|
|
82
|
+
});
|
|
83
|
+
},
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
const IconExperiment = forwardRef(
|
|
87
|
+
function IconExperiment({ size = 20, ...props }, ref) {
|
|
88
|
+
const resolved = resolveSize(size);
|
|
89
|
+
return jsxs("svg", {
|
|
90
|
+
fill: "currentColor",
|
|
91
|
+
height: resolved,
|
|
92
|
+
ref,
|
|
93
|
+
viewBox: "0 -960 960 960",
|
|
94
|
+
width: resolved,
|
|
95
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
96
|
+
...props,
|
|
97
|
+
children: [jsx("path", { d: "M179.69-140q-31.96 0-45.25-29.39-13.28-29.38 8.79-53.69l245.69-282.69v-268.84h-56.61q-9.91 0-16.3-6.4-6.39-6.4-6.39-16.31 0-9.91 6.39-16.29 6.39-6.39 16.3-6.39h295.38q9.91 0 16.3 6.4 6.39 6.4 6.39 16.31 0 9.91-6.39 16.29-6.39 6.39-16.3 6.39h-56.61v268.84l245.69 282.69q22.07 24.31 8.79 53.69Q812.27-140 780.31-140H179.69Zm72.7-78.08h455.22L554.15-396.54h-148.3L252.39-218.08Zm-81.62 32.69h618.46L525.69-489.15v-285.46h-91.38v285.46L170.77-185.39ZM480-480Z" })],
|
|
98
|
+
});
|
|
99
|
+
},
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
const IconStar = forwardRef(
|
|
103
|
+
function IconStar({ size = 20, ...props }, ref) {
|
|
104
|
+
const resolved = resolveSize(size);
|
|
105
|
+
return jsxs("svg", {
|
|
106
|
+
fill: "currentColor",
|
|
107
|
+
height: resolved,
|
|
108
|
+
ref,
|
|
109
|
+
viewBox: "0 -960 960 960",
|
|
110
|
+
width: resolved,
|
|
111
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
112
|
+
...props,
|
|
113
|
+
children: [jsx("path", { d: "M331.46-256.15 480-345.54l148.54 90.39-39.31-169.16 130.69-113.46L547.54-553 480-712.15 412.46-554l-172.38 15.23 130.69 113.85-39.31 168.77ZM480-292.46 309.77-189.69q-6.46 3.46-13.15 3.15-6.7-.31-12.16-4.15-5.46-3.85-8.19-10.12-2.73-6.27-.73-13.96l44.77-193.54L170.54-539q-6.08-5.08-7.58-11.65-1.5-6.58.31-12.85t7.08-10.42q5.27-4.16 12.96-4.77l198.15-17.46 77.08-183.08q3.23-6.69 9.11-10.23Q473.54-793 480-793t12.35 3.54q5.88 3.54 9.11 10.23l77.08 183.08 198.15 17.46q7.69.61 12.96 4.77 5.27 4.15 7.08 10.42 1.81 6.27.31 12.85-1.5 6.57-7.58 11.65L639.69-408.31l45.15 193.54q1.62 7.69-1.11 13.96-2.73 6.27-8.19 10.12-5.46 3.84-12.16 4.15-6.69.31-13.15-3.15L480-292.46Zm0-181.39Z" })],
|
|
114
|
+
});
|
|
115
|
+
},
|
|
116
|
+
);
|
|
117
|
+
|
|
118
|
+
const IconUnfoldMore = forwardRef(
|
|
119
|
+
function IconUnfoldMore({ size = 20, ...props }, ref) {
|
|
120
|
+
const resolved = resolveSize(size);
|
|
121
|
+
return jsxs("svg", {
|
|
122
|
+
fill: "currentColor",
|
|
123
|
+
height: resolved,
|
|
124
|
+
ref,
|
|
125
|
+
viewBox: "0 -960 960 960",
|
|
126
|
+
width: resolved,
|
|
127
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
128
|
+
...props,
|
|
129
|
+
children: [jsx("path", { d: "m480-201.08 117.08-117.07q6.85-6.7 16.5-6.89 9.65-.19 16.73 7.02 7.07 7.2 7.07 16.61t-7.07 16.49L500.23-154.85q-4.61 4.62-9.61 6.62-4.99 2-10.8 2-5.82 0-10.63-2-4.81-2-9.42-6.62L329.69-284.92q-6.69-6.86-6.88-16.51-.19-9.65 7.01-16.72 7.21-7.08 16.62-7.08t16.48 7.08L480-201.08Zm0-555.38L362.92-639.39q-6.85 6.7-16.5 6.89-9.65.19-16.73-7.02-7.07-7.2-7.07-16.61t7.07-16.48l130.08-130.08q4.61-4.62 9.61-6.81 4.99-2.19 10.8-2.19 5.82 0 10.63 2.19 4.81 2.19 9.42 6.81l130.08 130.08q6.69 6.85 6.88 16.5.19 9.65-7.01 16.72-7.21 7.08-16.62 7.08t-16.48-7.08L480-756.46Z" })],
|
|
130
|
+
});
|
|
131
|
+
},
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
const IconVisibility = forwardRef(
|
|
135
|
+
function IconVisibility({ size = 20, ...props }, ref) {
|
|
136
|
+
const resolved = resolveSize(size);
|
|
137
|
+
return jsxs("svg", {
|
|
138
|
+
fill: "currentColor",
|
|
139
|
+
height: resolved,
|
|
140
|
+
ref,
|
|
141
|
+
viewBox: "0 -960 960 960",
|
|
142
|
+
width: resolved,
|
|
143
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
144
|
+
...props,
|
|
145
|
+
children: [jsx("path", { d: "M590.31-389.81q45.46-45.58 45.46-110.31t-45.58-110.19q-45.58-45.46-110.31-45.46t-110.19 45.58q-45.46 45.58-45.46 110.31t45.58 110.19q45.58 45.46 110.31 45.46t110.19-45.58ZM401.27-421.5q-32.12-32.36-32.12-78.74 0-46.38 32.35-78.49 32.36-32.12 78.74-32.12 46.38 0 78.49 32.35 32.12 32.36 32.12 78.74 0 46.38-32.35 78.49-32.36 32.12-78.74 32.12-46.38 0-78.49-32.35ZM248.15-290.23Q143.23-360.46 78.92-470.38q-4.38-7.13-6.38-14.46-2-7.33-2-15.24 0-7.92 2-15.19t6.38-14.35q64.31-109.92 169.23-180.15Q353.08-780 480-780q126.92 0 231.85 70.23 104.92 70.23 169.23 180.15 4.38 7.13 6.38 14.46 2 7.33 2 15.24 0 7.92-2 15.19t-6.38 14.35q-64.31 109.92-169.23 180.15Q606.92-220 480-220q-126.92 0-231.85-70.23ZM480-500Zm218.65 170.85Q798.23-392.92 850.46-500q-52.23-107.08-151.64-170.85-99.41-63.76-218.65-63.76-119.25 0-218.82 63.76Q161.77-607.08 108.92-500q52.85 107.08 152.26 170.85 99.41 63.76 218.65 63.76 119.25 0 218.82-63.76Z" })],
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
);
|
|
149
|
+
|
|
150
|
+
export { IconAdd, IconAddBox, IconAddBoxFilled, IconDelete, IconEdit, IconExperiment, IconStar, IconUnfoldMore, IconVisibility };
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@optiaxiom/icons",
|
|
3
|
+
"homepage": "https://github.com/optimizely-axiom/optiaxiom/tree/master/packages/icons#readme",
|
|
4
|
+
"repository": {
|
|
5
|
+
"directory": "packages/icons",
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/optimizely-axiom/optiaxiom.git"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"version": "0.1.0",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/**",
|
|
13
|
+
"LICENSE"
|
|
14
|
+
],
|
|
15
|
+
"license": "Apache-2.0",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/esm/index.js",
|
|
20
|
+
"require": "./dist/cjs/index.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"types": "dist/index.d.ts",
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "rm -rf dist && NODE_ENV=production rollup -c",
|
|
27
|
+
"dev": "rm -rf dist && rollup -cw"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@material-symbols/svg-300": "^0.43.0",
|
|
31
|
+
"react": "^18.3.1",
|
|
32
|
+
"react-dom": "^18.3.1"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
36
|
+
}
|
|
37
|
+
}
|