@univerjs/icons 1.7.0 → 1.9.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.
@@ -0,0 +1,98 @@
1
+ import { createElement, forwardRef } from "react";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/slideshow-theme-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
+ {
15
+ "tag": "path",
16
+ "attrs": {
17
+ "stroke": "currentColor",
18
+ "d": "M12.9 4V3.8C12.9 3.19249 12.4075 2.7 11.8 2.7H3.2C2.59249 2.7 2.1 3.19249 2.1 3.8V9.4C2.1 10.0075 2.59249 10.5 3.2 10.5H11.8C12.4075 10.5 12.9 10.0075 12.9 9.4",
19
+ "strokeLinecap": "round",
20
+ "strokeWidth": 1.3
21
+ }
22
+ },
23
+ {
24
+ "tag": "path",
25
+ "attrs": {
26
+ "stroke": "currentColor",
27
+ "d": "M4.6 5.3H8.4",
28
+ "strokeLinecap": "round",
29
+ "strokeWidth": 1.3
30
+ }
31
+ },
32
+ {
33
+ "tag": "path",
34
+ "attrs": {
35
+ "stroke": "currentColor",
36
+ "d": "M4.6 7.7H7.1",
37
+ "strokeLinecap": "round",
38
+ "strokeWidth": 1.3
39
+ }
40
+ },
41
+ {
42
+ "tag": "path",
43
+ "attrs": {
44
+ "stroke": "currentColor",
45
+ "d": "M8 10.5V12.7",
46
+ "strokeLinecap": "round",
47
+ "strokeWidth": 1.3
48
+ }
49
+ },
50
+ {
51
+ "tag": "path",
52
+ "attrs": {
53
+ "stroke": "currentColor",
54
+ "d": "M5.6 13.4H10.4",
55
+ "strokeLinecap": "round",
56
+ "strokeWidth": 1.3
57
+ }
58
+ },
59
+ {
60
+ "tag": "rect",
61
+ "attrs": {
62
+ "width": 4.5,
63
+ "height": 4.5,
64
+ "x": 9.4,
65
+ "y": 4.5,
66
+ "stroke": "currentColor",
67
+ "rx": .9,
68
+ "strokeWidth": 1.2
69
+ }
70
+ },
71
+ {
72
+ "tag": "path",
73
+ "attrs": {
74
+ "stroke": "currentColor",
75
+ "d": "M9.4 6.75H13.9",
76
+ "strokeWidth": 1.2
77
+ }
78
+ },
79
+ {
80
+ "tag": "path",
81
+ "attrs": {
82
+ "stroke": "currentColor",
83
+ "d": "M11.65 4.5V9",
84
+ "strokeWidth": 1.2
85
+ }
86
+ }
87
+ ]
88
+ };
89
+ const SlideshowThemeIcon = forwardRef(function SlideshowThemeIcon(props, ref) {
90
+ return createElement(IconBase, Object.assign({}, props, {
91
+ id: "slideshow-theme-icon",
92
+ ref,
93
+ icon: element
94
+ }));
95
+ });
96
+ SlideshowThemeIcon.displayName = "SlideshowThemeIcon";
97
+ //#endregion
98
+ export { SlideshowThemeIcon, SlideshowThemeIcon as default };
@@ -0,0 +1,3 @@
1
+ import type { IconProps } from './base.js';
2
+ export declare const TypographyIcon: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGElement>>;
3
+ export default TypographyIcon;
@@ -0,0 +1,80 @@
1
+ import { createElement, forwardRef } from "react";
2
+ import { IconBase } from "./base.js";
3
+ //#region ts/typography-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
+ {
15
+ "tag": "path",
16
+ "attrs": {
17
+ "stroke": "currentColor",
18
+ "d": "M1.8 13.5L6.1 2.5L10.2 13.5",
19
+ "strokeLinecap": "round",
20
+ "strokeLinejoin": "round",
21
+ "strokeWidth": 1.8
22
+ }
23
+ },
24
+ {
25
+ "tag": "path",
26
+ "attrs": {
27
+ "stroke": "currentColor",
28
+ "d": "M3.7 9.4H8.2",
29
+ "strokeLinecap": "round",
30
+ "strokeWidth": 1.8
31
+ }
32
+ },
33
+ {
34
+ "tag": "path",
35
+ "attrs": {
36
+ "stroke": "currentColor",
37
+ "d": "M8.8 2.1H14.2",
38
+ "strokeLinecap": "round",
39
+ "strokeWidth": 1.4
40
+ }
41
+ },
42
+ {
43
+ "tag": "path",
44
+ "attrs": {
45
+ "stroke": "currentColor",
46
+ "d": "M10.2 5.9H14.2",
47
+ "strokeLinecap": "round",
48
+ "strokeWidth": 1.4
49
+ }
50
+ },
51
+ {
52
+ "tag": "path",
53
+ "attrs": {
54
+ "stroke": "currentColor",
55
+ "d": "M11.5 9.7H14.2",
56
+ "strokeLinecap": "round",
57
+ "strokeWidth": 1.4
58
+ }
59
+ },
60
+ {
61
+ "tag": "path",
62
+ "attrs": {
63
+ "stroke": "currentColor",
64
+ "d": "M12.7 13.5H14.2",
65
+ "strokeLinecap": "round",
66
+ "strokeWidth": 1.4
67
+ }
68
+ }
69
+ ]
70
+ };
71
+ const TypographyIcon = forwardRef(function TypographyIcon(props, ref) {
72
+ return createElement(IconBase, Object.assign({}, props, {
73
+ id: "typography-icon",
74
+ ref,
75
+ icon: element
76
+ }));
77
+ });
78
+ TypographyIcon.displayName = "TypographyIcon";
79
+ //#endregion
80
+ export { TypographyIcon, TypographyIcon as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/icons",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "description": "React icons for Univer.",
5
5
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  "svg-parser": "^2.0.4",
46
46
  "svgo": "^4.0.1",
47
47
  "typescript": "^6.0.3",
48
- "@univerjs/icons-svg": "1.7.0"
48
+ "@univerjs/icons-svg": "1.9.0"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "node --experimental-strip-types ./scripts/build/index.ts && tsc"