@univerjs/icons 1.17.0 → 1.19.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/dist/cjs/ai-assistant-multi-icon.cjs +87 -0
- package/dist/cjs/color-wheel-multi-icon.cjs +106 -0
- package/dist/cjs/configure-tab-icon.cjs +49 -0
- package/dist/cjs/first-tab-icon.cjs +60 -0
- package/dist/cjs/index.cjs +140 -7
- package/dist/cjs/locate-fixed-icon.cjs +58 -0
- package/dist/cjs/quick-add-icon.cjs +38 -0
- package/dist/cjs/row-height-extra-tall-icon.cjs +70 -0
- package/dist/cjs/row-height-medium-icon.cjs +81 -0
- package/dist/cjs/row-height-short-icon.cjs +92 -0
- package/dist/cjs/row-height-tall-icon.cjs +81 -0
- package/dist/cjs/stroke-size1-icon.cjs +38 -0
- package/dist/cjs/stroke-size2-icon.cjs +38 -0
- package/dist/cjs/stroke-size3-icon.cjs +38 -0
- package/dist/cjs/stroke-size4-icon.cjs +38 -0
- package/dist/cjs/stroke-size5-icon.cjs +38 -0
- package/dist/cjs/table-border-style-dashed-icon.cjs +38 -0
- package/dist/cjs/table-border-style-dotted-icon.cjs +38 -0
- package/dist/cjs/table-border-style-icon.cjs +61 -0
- package/dist/cjs/table-border-style-solid-icon.cjs +37 -0
- package/dist/cjs/table-border-width-icon.cjs +69 -0
- package/dist/esm/ai-assistant-multi-icon.d.ts +3 -0
- package/dist/esm/ai-assistant-multi-icon.js +82 -0
- package/dist/esm/color-wheel-multi-icon.d.ts +3 -0
- package/dist/esm/color-wheel-multi-icon.js +101 -0
- package/dist/esm/configure-tab-icon.d.ts +3 -0
- package/dist/esm/configure-tab-icon.js +44 -0
- package/dist/esm/{dropdown-icon.d.ts → first-tab-icon.d.ts} +2 -2
- package/dist/esm/first-tab-icon.js +55 -0
- package/dist/esm/index.d.ts +20 -1
- package/dist/esm/index.js +21 -2
- package/dist/esm/locate-fixed-icon.d.ts +3 -0
- package/dist/esm/locate-fixed-icon.js +53 -0
- package/dist/esm/quick-add-icon.d.ts +3 -0
- package/dist/esm/quick-add-icon.js +33 -0
- package/dist/esm/row-height-extra-tall-icon.d.ts +3 -0
- package/dist/esm/row-height-extra-tall-icon.js +65 -0
- package/dist/esm/row-height-medium-icon.d.ts +3 -0
- package/dist/esm/row-height-medium-icon.js +76 -0
- package/dist/esm/row-height-short-icon.d.ts +3 -0
- package/dist/esm/row-height-short-icon.js +87 -0
- package/dist/esm/row-height-tall-icon.d.ts +3 -0
- package/dist/esm/row-height-tall-icon.js +76 -0
- package/dist/esm/stroke-size1-icon.d.ts +3 -0
- package/dist/esm/stroke-size1-icon.js +33 -0
- package/dist/esm/stroke-size2-icon.d.ts +3 -0
- package/dist/esm/stroke-size2-icon.js +33 -0
- package/dist/esm/stroke-size3-icon.d.ts +3 -0
- package/dist/esm/stroke-size3-icon.js +33 -0
- package/dist/esm/stroke-size4-icon.d.ts +3 -0
- package/dist/esm/stroke-size4-icon.js +33 -0
- package/dist/esm/stroke-size5-icon.d.ts +3 -0
- package/dist/esm/stroke-size5-icon.js +33 -0
- package/dist/esm/table-border-style-dashed-icon.d.ts +3 -0
- package/dist/esm/table-border-style-dashed-icon.js +33 -0
- package/dist/esm/table-border-style-dotted-icon.d.ts +3 -0
- package/dist/esm/table-border-style-dotted-icon.js +33 -0
- package/dist/esm/table-border-style-icon.d.ts +3 -0
- package/dist/esm/table-border-style-icon.js +56 -0
- package/dist/esm/table-border-style-solid-icon.d.ts +3 -0
- package/dist/esm/table-border-style-solid-icon.js +32 -0
- package/dist/esm/table-border-width-icon.d.ts +3 -0
- package/dist/esm/table-border-width-icon.js +64 -0
- package/package.json +2 -2
- package/dist/cjs/dropdown-icon.cjs +0 -35
- package/dist/esm/dropdown-icon.js +0 -30
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/table-border-style-dotted-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"fill": "none",
|
|
9
|
+
"viewBox": "0 0 20 20",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [{
|
|
14
|
+
"tag": "path",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"stroke": "currentColor",
|
|
17
|
+
"d": "M4.5 10h11",
|
|
18
|
+
"strokeDasharray": "1 2.4",
|
|
19
|
+
"strokeLinecap": "round",
|
|
20
|
+
"strokeWidth": 1.6
|
|
21
|
+
}
|
|
22
|
+
}]
|
|
23
|
+
};
|
|
24
|
+
const TableBorderStyleDottedIcon = forwardRef(function TableBorderStyleDottedIcon(props, ref) {
|
|
25
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
26
|
+
id: "table-border-style-dotted-icon",
|
|
27
|
+
ref,
|
|
28
|
+
icon: element
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
TableBorderStyleDottedIcon.displayName = "TableBorderStyleDottedIcon";
|
|
32
|
+
//#endregion
|
|
33
|
+
export { TableBorderStyleDottedIcon, TableBorderStyleDottedIcon as default };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/table-border-style-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"fill": "none",
|
|
9
|
+
"viewBox": "0 0 20 20",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [{
|
|
14
|
+
"tag": "g",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"stroke": "currentColor",
|
|
17
|
+
"strokeLinecap": "round",
|
|
18
|
+
"strokeWidth": 1.5
|
|
19
|
+
},
|
|
20
|
+
"children": [
|
|
21
|
+
{
|
|
22
|
+
"tag": "path",
|
|
23
|
+
"attrs": {
|
|
24
|
+
"d": "M3 3.5H13",
|
|
25
|
+
"transform": "translate(2 2)"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"tag": "path",
|
|
30
|
+
"attrs": {
|
|
31
|
+
"d": "M3 8H13",
|
|
32
|
+
"transform": "translate(2 2)",
|
|
33
|
+
"strokeDasharray": "1.2 2.2"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"tag": "path",
|
|
38
|
+
"attrs": {
|
|
39
|
+
"d": "M3 12.5H13",
|
|
40
|
+
"transform": "translate(2 2)",
|
|
41
|
+
"strokeDasharray": "3 2"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}]
|
|
46
|
+
};
|
|
47
|
+
const TableBorderStyleIcon = forwardRef(function TableBorderStyleIcon(props, ref) {
|
|
48
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
49
|
+
id: "table-border-style-icon",
|
|
50
|
+
ref,
|
|
51
|
+
icon: element
|
|
52
|
+
}));
|
|
53
|
+
});
|
|
54
|
+
TableBorderStyleIcon.displayName = "TableBorderStyleIcon";
|
|
55
|
+
//#endregion
|
|
56
|
+
export { TableBorderStyleIcon, TableBorderStyleIcon as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/table-border-style-solid-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"fill": "none",
|
|
9
|
+
"viewBox": "0 0 20 20",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [{
|
|
14
|
+
"tag": "path",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"stroke": "currentColor",
|
|
17
|
+
"d": "M4.5 10h11",
|
|
18
|
+
"strokeLinecap": "round",
|
|
19
|
+
"strokeWidth": 1.6
|
|
20
|
+
}
|
|
21
|
+
}]
|
|
22
|
+
};
|
|
23
|
+
const TableBorderStyleSolidIcon = forwardRef(function TableBorderStyleSolidIcon(props, ref) {
|
|
24
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
25
|
+
id: "table-border-style-solid-icon",
|
|
26
|
+
ref,
|
|
27
|
+
icon: element
|
|
28
|
+
}));
|
|
29
|
+
});
|
|
30
|
+
TableBorderStyleSolidIcon.displayName = "TableBorderStyleSolidIcon";
|
|
31
|
+
//#endregion
|
|
32
|
+
export { TableBorderStyleSolidIcon, TableBorderStyleSolidIcon as default };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
import { IconBase } from "./base.js";
|
|
3
|
+
//#region ts/table-border-width-icon.tsx
|
|
4
|
+
const element = {
|
|
5
|
+
"tag": "svg",
|
|
6
|
+
"attrs": {
|
|
7
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
+
"fill": "none",
|
|
9
|
+
"viewBox": "0 0 20 20",
|
|
10
|
+
"width": "1em",
|
|
11
|
+
"height": "1em"
|
|
12
|
+
},
|
|
13
|
+
"children": [{
|
|
14
|
+
"tag": "g",
|
|
15
|
+
"attrs": {
|
|
16
|
+
"stroke": "currentColor",
|
|
17
|
+
"strokeLinecap": "round"
|
|
18
|
+
},
|
|
19
|
+
"children": [
|
|
20
|
+
{
|
|
21
|
+
"tag": "path",
|
|
22
|
+
"attrs": {
|
|
23
|
+
"d": "M3 3.25H13",
|
|
24
|
+
"transform": "translate(2 2)",
|
|
25
|
+
"strokeWidth": 1.1
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"tag": "path",
|
|
30
|
+
"attrs": {
|
|
31
|
+
"d": "M3 6.5H13",
|
|
32
|
+
"transform": "translate(2 2)",
|
|
33
|
+
"strokeWidth": 1.4
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"tag": "path",
|
|
38
|
+
"attrs": {
|
|
39
|
+
"d": "M3 10H13",
|
|
40
|
+
"transform": "translate(2 2)",
|
|
41
|
+
"strokeWidth": 1.8
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"tag": "path",
|
|
46
|
+
"attrs": {
|
|
47
|
+
"d": "M3 13.25H13",
|
|
48
|
+
"transform": "translate(2 2)",
|
|
49
|
+
"strokeWidth": 2.2
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}]
|
|
54
|
+
};
|
|
55
|
+
const TableBorderWidthIcon = forwardRef(function TableBorderWidthIcon(props, ref) {
|
|
56
|
+
return createElement(IconBase, Object.assign({}, props, {
|
|
57
|
+
id: "table-border-width-icon",
|
|
58
|
+
ref,
|
|
59
|
+
icon: element
|
|
60
|
+
}));
|
|
61
|
+
});
|
|
62
|
+
TableBorderWidthIcon.displayName = "TableBorderWidthIcon";
|
|
63
|
+
//#endregion
|
|
64
|
+
export { TableBorderWidthIcon, TableBorderWidthIcon as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/icons",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"description": "React icons for Univer.",
|
|
5
5
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"svg-parser": "^2.0.4",
|
|
47
47
|
"svgo": "^4.0.1",
|
|
48
48
|
"typescript": "7.0.1-rc",
|
|
49
|
-
"@univerjs/icons-svg": "1.
|
|
49
|
+
"@univerjs/icons-svg": "1.19.0"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "node --experimental-strip-types ./scripts/build/index.mts && tsc"
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
__esModule: { value: true },
|
|
3
|
-
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
-
});
|
|
5
|
-
let react = require("react");
|
|
6
|
-
let ts_base_js = require("./base.js");
|
|
7
|
-
//#region ts/dropdown-icon.tsx
|
|
8
|
-
const element = {
|
|
9
|
-
"tag": "svg",
|
|
10
|
-
"attrs": {
|
|
11
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
12
|
-
"fill": "none",
|
|
13
|
-
"viewBox": "0 0 16 16",
|
|
14
|
-
"width": "1em",
|
|
15
|
-
"height": "1em"
|
|
16
|
-
},
|
|
17
|
-
"children": [{
|
|
18
|
-
"tag": "path",
|
|
19
|
-
"attrs": {
|
|
20
|
-
"fill": "currentColor",
|
|
21
|
-
"d": "M8.85869 12.9216C8.38445 13.4708 7.61555 13.4708 7.14131 12.9216L0.358114 5.06726C-0.406895 4.18144 0.134916 2.66683 1.2168 2.66683L14.7832 2.66683C15.8651 2.66683 16.4069 4.18144 15.6419 5.06726L8.85869 12.9216Z"
|
|
22
|
-
}
|
|
23
|
-
}]
|
|
24
|
-
};
|
|
25
|
-
const DropdownIcon = (0, react.forwardRef)(function DropdownIcon(props, ref) {
|
|
26
|
-
return (0, react.createElement)(ts_base_js.IconBase, Object.assign({}, props, {
|
|
27
|
-
id: "dropdown-icon",
|
|
28
|
-
ref,
|
|
29
|
-
icon: element
|
|
30
|
-
}));
|
|
31
|
-
});
|
|
32
|
-
DropdownIcon.displayName = "DropdownIcon";
|
|
33
|
-
//#endregion
|
|
34
|
-
exports.DropdownIcon = DropdownIcon;
|
|
35
|
-
exports.default = DropdownIcon;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { createElement, forwardRef } from "react";
|
|
2
|
-
import { IconBase } from "./base.js";
|
|
3
|
-
//#region ts/dropdown-icon.tsx
|
|
4
|
-
const element = {
|
|
5
|
-
"tag": "svg",
|
|
6
|
-
"attrs": {
|
|
7
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
8
|
-
"fill": "none",
|
|
9
|
-
"viewBox": "0 0 16 16",
|
|
10
|
-
"width": "1em",
|
|
11
|
-
"height": "1em"
|
|
12
|
-
},
|
|
13
|
-
"children": [{
|
|
14
|
-
"tag": "path",
|
|
15
|
-
"attrs": {
|
|
16
|
-
"fill": "currentColor",
|
|
17
|
-
"d": "M8.85869 12.9216C8.38445 13.4708 7.61555 13.4708 7.14131 12.9216L0.358114 5.06726C-0.406895 4.18144 0.134916 2.66683 1.2168 2.66683L14.7832 2.66683C15.8651 2.66683 16.4069 4.18144 15.6419 5.06726L8.85869 12.9216Z"
|
|
18
|
-
}
|
|
19
|
-
}]
|
|
20
|
-
};
|
|
21
|
-
const DropdownIcon = forwardRef(function DropdownIcon(props, ref) {
|
|
22
|
-
return createElement(IconBase, Object.assign({}, props, {
|
|
23
|
-
id: "dropdown-icon",
|
|
24
|
-
ref,
|
|
25
|
-
icon: element
|
|
26
|
-
}));
|
|
27
|
-
});
|
|
28
|
-
DropdownIcon.displayName = "DropdownIcon";
|
|
29
|
-
//#endregion
|
|
30
|
-
export { DropdownIcon, DropdownIcon as default };
|