@xipkg/icons 1.0.1 → 1.0.2
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/config.ts +2 -0
- package/icons/Cursor.tsx +1 -1
- package/icons/Eraser.tsx +1 -1
- package/icons/Redo.tsx +12 -0
- package/icons/Undo.tsx +12 -0
- package/index.ts +4 -0
- package/package.json +1 -1
- package/tsconfig.json +3 -1
package/config.ts
CHANGED
package/icons/Cursor.tsx
CHANGED
|
@@ -4,7 +4,7 @@ export const Cursor = ({ ...props }: IconProps) => (
|
|
|
4
4
|
<Svg {...props}>
|
|
5
5
|
<path
|
|
6
6
|
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
d="
|
|
7
|
+
d="M9 10.819v4.439l.31-.301c.84-.817 1.814-1.727 1.831-1.71.01.011.269.639.574 1.396.796 1.973.924 2.269 1.039 2.406.365.434 1.218.22 1.407-.353.076-.229.029-.4-.303-1.121-.172-.371-.523-1.152-.78-1.735l-.469-1.06 1.355-.011c.746-.005 1.356-.023 1.356-.04 0-.016-1.422-1.451-3.16-3.189L9 6.38v4.439"
|
|
8
8
|
fill-rule="evenodd"
|
|
9
9
|
/>
|
|
10
10
|
</Svg>
|
package/icons/Eraser.tsx
CHANGED
|
@@ -5,7 +5,7 @@ export const Eraser = ({ ...props }: IconProps) => (
|
|
|
5
5
|
<Svg {...props}>
|
|
6
6
|
<path
|
|
7
7
|
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
-
d="
|
|
8
|
+
d="M14.167 4.601c-.374.098-.709.267-1.087.55-.377.281-8.055 7.948-8.397 8.384a3.034 3.034 0 0 0-.569 1.066c-.134.431-.134 1.207 0 1.638.218.695.465 1.023 1.723 2.288.963.966 1.164 1.123 1.67 1.302l.313.111 5.36.013c3.951.009 5.416 0 5.574-.034a.887.887 0 0 0 .685-.856.865.865 0 0 0-.596-.817c-.108-.033-1.024-.046-3.166-.046h-3.014l3.203-3.21c1.761-1.766 3.312-3.349 3.446-3.52.278-.353.496-.773.597-1.15.108-.404.097-1.172-.024-1.559-.221-.71-.468-1.033-1.821-2.382-1.329-1.323-1.702-1.599-2.407-1.78-.414-.106-1.081-.105-1.49.002m1.256 1.763c.234.109.84.662 1.737 1.584.856.88 1.032 1.122 1.068 1.464.058.568-.073.786-1.106 1.838l-.742.754-1.94-1.944-1.94-1.945.762-.748c.856-.838 1.111-1.036 1.402-1.085.26-.043.559-.011.759.082M12.72 15.66c-1.331 1.331-2.477 2.447-2.546 2.48-.192.091-2.004.087-2.198-.004-.198-.094-1.886-1.833-2.056-2.118-.132-.222-.14-.254-.14-.598 0-.343.008-.376.14-.602.105-.178.798-.899 2.739-2.849l2.599-2.611 1.941 1.941 1.941 1.941-2.42 2.42"
|
|
9
9
|
fill-rule="evenodd"
|
|
10
10
|
/>
|
|
11
11
|
</Svg>
|
package/icons/Redo.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
|
|
4
|
+
export const Redo = ({ ...props }: IconProps) => (
|
|
5
|
+
<Svg {...props}>
|
|
6
|
+
<path
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
d="M18.673 2.063c-.244.075-.523.351-.609.603-.053.156-.064.394-.064 1.404v1.216l-.23-.185a16.74 16.74 0 0 0-.61-.456c-2.793-1.989-6.576-2.177-9.576-.478C4.348 6 2.557 9.651 3.103 13.3a8.777 8.777 0 0 0 1.2 3.345c2.833 4.673 9.106 5.768 13.368 2.335.87-.701 1.904-1.949 2.005-2.418.139-.648-.403-1.258-1.057-1.19-.399.041-.547.158-.999.791-.456.638-1.28 1.398-1.96 1.805-.852.51-1.91.874-2.887.994-.49.06-1.531.028-1.973-.061-.738-.149-1.569-.435-2.103-.725a7.052 7.052 0 0 1-3.598-4.996 7.673 7.673 0 0 1 .044-2.612c.408-2.009 1.831-3.877 3.644-4.784 1.013-.507 1.92-.74 3.013-.773a6.786 6.786 0 0 1 3.325.73c.595.294 1.409.859 1.691 1.174l.076.085h-1.499c-1.734 0-1.796.009-2.087.3a.96.96 0 0 0 0 1.4c.308.307.23.3 3.194.3 2.968 0 2.886.008 3.197-.303.311-.311.303-.229.303-3.197s.008-2.886-.303-3.197c-.279-.279-.63-.361-1.024-.24"
|
|
9
|
+
fill-rule="evenodd"
|
|
10
|
+
/>
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
package/icons/Undo.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
|
|
4
|
+
export const Undo = ({ ...props }: IconProps) => (
|
|
5
|
+
<Svg {...props}>
|
|
6
|
+
<path
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
d="M4.813 2.043a.87.87 0 0 0-.541.309c-.259.287-.252.194-.252 3.148 0 3.034-.012 2.91.315 3.212.302.278.189.268 3.165.268 2.957 0 2.86.008 3.152-.255a.935.935 0 0 0 .316-.722.96.96 0 0 0-.568-.898c-.172-.081-.247-.086-1.748-.098l-1.568-.012.26-.235c1.119-1.015 2.599-1.638 4.168-1.755 1.837-.137 3.777.522 5.135 1.743a7.124 7.124 0 0 1 2.26 3.992c.084.45.116 1.654.055 2.112-.15 1.125-.509 2.1-1.102 2.992-.315.472-.45.638-.893 1.091a6.457 6.457 0 0 1-1.93 1.382c-1.936.924-4.109.926-6.06.005-1.129-.532-1.977-1.257-2.771-2.37-.205-.287-.284-.364-.457-.447-.296-.142-.465-.164-.716-.09-.566.166-.874.808-.636 1.33.172.379.88 1.257 1.431 1.775a8.983 8.983 0 0 0 7.94 2.277c3.985-.809 6.925-4.161 7.189-8.197a8.998 8.998 0 0 0-.898-4.54c-1.352-2.764-3.956-4.606-7.039-4.982-.805-.098-1.979-.046-2.819.126-1.384.283-2.794.951-3.85 1.821-.169.14-.316.255-.327.255-.01 0-.024-.562-.031-1.25-.012-1.168-.018-1.262-.097-1.43a.995.995 0 0 0-1.083-.557"
|
|
9
|
+
fill-rule="evenodd"
|
|
10
|
+
/>
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
package/index.ts
CHANGED
|
@@ -132,6 +132,8 @@ import { Arrow } from './icons/Arrow';
|
|
|
132
132
|
import { Image } from './icons/Image';
|
|
133
133
|
import { Eraser } from './icons/Eraser';
|
|
134
134
|
import { Pen } from './icons/Pen';
|
|
135
|
+
import { Undo } from './icons/Undo';
|
|
136
|
+
import { Redo } from './icons/Redo';
|
|
135
137
|
|
|
136
138
|
import { icons } from './config';
|
|
137
139
|
|
|
@@ -270,6 +272,8 @@ export {
|
|
|
270
272
|
Image,
|
|
271
273
|
Eraser,
|
|
272
274
|
Pen,
|
|
275
|
+
Undo,
|
|
276
|
+
Redo,
|
|
273
277
|
icons,
|
|
274
278
|
};
|
|
275
279
|
|
package/package.json
CHANGED