@xipkg/icons 1.0.0 → 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 +10 -0
- package/icons/Arrow.tsx +12 -0
- package/icons/Cursor.tsx +11 -0
- package/icons/Eraser.tsx +12 -0
- package/icons/Figures.tsx +11 -0
- package/icons/Image.tsx +12 -0
- package/icons/Pen.tsx +11 -0
- package/icons/Redo.tsx +12 -0
- package/icons/Sticker.tsx +12 -0
- package/icons/TText.tsx +8 -0
- package/icons/Undo.tsx +12 -0
- package/index.ts +21 -0
- package/package.json +1 -1
- package/tsconfig.json +9 -1
package/config.ts
CHANGED
package/icons/Arrow.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
|
|
4
|
+
export const Arrow = ({ ...props }: IconProps) => (
|
|
5
|
+
<Svg {...props}>
|
|
6
|
+
<path
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
d="M12.407 3.846c-.258.127-.387.346-.387.654 0 .311.13.529.39.655.173.084.208.085 2.733.085H17.7l-6.906 6.91c-3.799 3.8-6.935 6.968-6.97 7.038-.127.255-.049.669.163.86a.799.799 0 0 0 .804.131c.106-.044 2.13-2.042 7.059-6.97L18.76 6.3v2.557c0 2.525.001 2.56.085 2.733.126.26.344.39.655.39.311 0 .529-.13.655-.39.085-.175.085-.19.085-3.704 0-3.085-.008-3.547-.062-3.676a.61.61 0 0 0-.358-.375c-.151-.069-.351-.073-3.7-.074-3.54-.001-3.54-.001-3.713.085"
|
|
9
|
+
fill-rule="evenodd"
|
|
10
|
+
/>
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
package/icons/Cursor.tsx
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
export const Cursor = ({ ...props }: IconProps) => (
|
|
4
|
+
<Svg {...props}>
|
|
5
|
+
<path
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
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
|
+
fill-rule="evenodd"
|
|
9
|
+
/>
|
|
10
|
+
</Svg>
|
|
11
|
+
);
|
package/icons/Eraser.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
|
|
4
|
+
export const Eraser = ({ ...props }: IconProps) => (
|
|
5
|
+
<Svg {...props}>
|
|
6
|
+
<path
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
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
|
+
fill-rule="evenodd"
|
|
10
|
+
/>
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
export const Figures = ({ ...props }: IconProps) => (
|
|
4
|
+
<Svg {...props}>
|
|
5
|
+
<path
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
d="M14.2 3.058a5.92 5.92 0 0 0-2.54.967 6.01 6.01 0 0 0-2.645 4.564l-.027.409-2.625.011-2.625.011-.199.102c-.226.117-.437.369-.498.596-.029.105-.039 1.846-.032 5.368L3.02 20.3l.111.189c.061.103.17.234.243.289.306.233.016.222 5.624.222 5.785 0 5.383.021 5.703-.299.307-.307.299-.225.299-3.122v-2.567l.395-.026c2.695-.176 4.895-2.104 5.492-4.812.126-.571.126-1.777 0-2.348-.546-2.475-2.413-4.297-4.846-4.729-.489-.087-1.381-.106-1.841-.039m1.605 1.521c1.809.316 3.3 1.807 3.616 3.616.121.688.057 1.607-.154 2.225a4.552 4.552 0 0 1-2.927 2.871 5.494 5.494 0 0 1-1.11.207l-.23.023v-1.834c0-2.079-.001-2.091-.299-2.388-.297-.297-.312-.299-2.368-.299H10.52v-.235c0-.976.528-2.171 1.301-2.944.617-.617 1.511-1.089 2.352-1.242.394-.071 1.225-.071 1.632 0M13.48 15.02v4.5H4.52v-9h8.96v4.5"
|
|
8
|
+
fill-rule="evenodd"
|
|
9
|
+
/>
|
|
10
|
+
</Svg>
|
|
11
|
+
);
|
package/icons/Image.tsx
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
|
|
4
|
+
export const Image = ({ ...props }: IconProps) => (
|
|
5
|
+
<Svg {...props}>
|
|
6
|
+
<path
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
d="M5.84 3.043c-1.14.078-1.953.424-2.663 1.134-.505.505-.876 1.164-1.015 1.803-.142.654-.161 1.373-.161 6.02 0 4.633.02 5.37.159 6.009.187.862.803 1.762 1.552 2.267.646.435 1.213.611 2.208.682.783.056 11.377.056 12.16 0 .995-.071 1.562-.247 2.208-.682.745-.503 1.365-1.405 1.55-2.256.142-.653.161-1.373.161-6.02 0-4.647-.019-5.367-.161-6.02-.185-.851-.805-1.753-1.55-2.256-.646-.435-1.234-.617-2.219-.684-.676-.046-11.549-.043-12.229.003m12.695 2.048a1.902 1.902 0 0 1 1.373 1.372c.06.248.069.72.081 4.477.012 3.599.006 4.191-.041 4.14-.031-.033-.417-.51-.858-1.06-.88-1.097-1.066-1.266-1.567-1.422-.523-.163-1.213-.078-1.663.205-.11.069-.56.482-1 .919l-.8.793-1.8-2.162c-.99-1.19-1.875-2.229-1.966-2.309a2.01 2.01 0 0 0-1.742-.44 2.35 2.35 0 0 0-.898.466c-.092.082-.927 1.041-1.856 2.13a625.648 625.648 0 0 1-1.745 2.04c-.049.052-.055-.47-.042-3.72.013-3.347.022-3.811.081-4.055.112-.467.403-.865.838-1.148.249-.161.471-.228.921-.276.159-.017 3.016-.028 6.349-.024 5.516.006 6.085.013 6.335.074M15.58 7.047c-.721.138-1.381.801-1.536 1.545C13.789 9.816 14.751 11 16 11c1.08 0 2-.92 2-2 0-.523-.21-1.017-.596-1.404-.491-.49-1.127-.682-1.824-.549m-4.788 6.663c.986 1.183 1.882 2.229 1.99 2.326a2.004 2.004 0 0 0 1.616.447c.557-.099.766-.242 1.692-1.157.49-.485.845-.806.865-.784.019.021.649.808 1.401 1.75l1.368 1.712-.082.132c-.109.178-.421.465-.648.598-.102.06-.318.139-.48.177-.271.064-.774.069-6.514.069-6.925 0-6.56.014-7.031-.269-.447-.269-.825-.796-.875-1.221l-.024-.204 2.453-2.863a432.938 432.938 0 0 1 2.465-2.863c.006 0 .818.967 1.804 2.15"
|
|
9
|
+
fill-rule="evenodd"
|
|
10
|
+
/>
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
package/icons/Pen.tsx
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
|
|
4
|
+
export const Pen = ({ ...props }: IconProps) => (
|
|
5
|
+
<Svg {...props}>
|
|
6
|
+
<path
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
d="M11.607 4.342c-.431.116-.77.4-.951.795-.056.123-.252.932-.48 1.985L9.79 8.9l-1.125 2.92-1.125 2.92-.01 4.63L7.519 24H9v-8.861l.96-2.499a226.11 226.11 0 0 1 1.019-2.63l.06-.13h1.922l.06.13c.033.072.492 1.255 1.019 2.63l.96 2.499V24H16.481l-.011-4.63-.01-4.63-1.125-2.92L14.21 8.9l-.386-1.778c-.228-1.053-.424-1.862-.48-1.985a1.427 1.427 0 0 0-.969-.797 1.356 1.356 0 0 0-.768.002"
|
|
9
|
+
/>
|
|
10
|
+
</Svg>
|
|
11
|
+
);
|
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
|
+
);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
|
|
4
|
+
export const Sticker = ({ ...props }: IconProps) => (
|
|
5
|
+
<Svg {...props}>
|
|
6
|
+
<path
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
d="M5.929.041C3.541.15 2.341.552 1.375 1.569.526 2.463.157 3.638.04 5.82c-.052.972-.051 11.432.001 12.38.096 1.754.342 2.787.864 3.633.247.4.862 1.015 1.262 1.262.609.376 1.437.639 2.393.76.998.127 2.173.149 7.3.137l5.04-.012.291-.106c.16-.059.385-.165.5-.237.127-.08 1.282-1.2 2.961-2.874 2.873-2.863 3.056-3.064 3.203-3.534.04-.126.089-.229.109-.229.05 0 .046-10.175-.005-11.16-.092-1.775-.337-2.816-.863-3.673-.243-.395-.9-1.049-1.278-1.27-.803-.47-1.597-.682-3.078-.822C18.17.021 7.017-.008 5.929.041M18.68 2.074c.231.025.6.074.82.109 1.45.232 2.085.867 2.317 2.317.141.878.152 1.248.172 5.38l.019 4.14h-2.734c-2.151 0-2.781.011-2.954.054-.327.08-.991.414-1.232.621-.579.498-.922 1.097-1.047 1.827-.03.175-.04 1.094-.033 2.868L14.02 22l-3.72-.001c-4.596-.001-5.471-.042-6.371-.303-1.231-.357-1.665-1.071-1.857-3.061-.075-.773-.075-12.497 0-13.27.11-1.136.263-1.721.572-2.183.506-.757 1.362-1.05 3.336-1.141 1.078-.05 12.201-.021 12.7.033"
|
|
9
|
+
fill-rule="evenodd"
|
|
10
|
+
/>
|
|
11
|
+
</Svg>
|
|
12
|
+
);
|
package/icons/TText.tsx
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Svg, IconProps } from '../Svg';
|
|
3
|
+
|
|
4
|
+
export const TText = ({ ...props }: IconProps) => (
|
|
5
|
+
<Svg {...props}>
|
|
6
|
+
<path xmlns="http://www.w3.org/2000/svg" d="M2.503.042C1.488.214.556.976.202 1.925c-.177.474-.201.709-.201 1.995 0 .719.016 1.281.041 1.369.061.22.273.473.489.585A.987.987 0 0 0 1.7 5.702C1.982 5.42 2 5.317 2 4c0-1.316.018-1.421.299-1.701C2.615 1.983 2.346 2 6.927 2H11v20H9.925c-1.161 0-1.283.017-1.551.222a1.19 1.19 0 0 0-.243.289c-.095.161-.111.233-.111.489s.016.328.111.489c.061.103.17.234.243.289.298.228.204.222 3.624.222 3.547 0 3.392.013 3.703-.299a.984.984 0 0 0 0-1.402c-.278-.278-.393-.299-1.628-.299H13V2h4.073c4.581 0 4.312-.017 4.628.299.28.28.299.386.299 1.698 0 .664.018 1.205.042 1.292.099.358.48.664.875.702.43.041.879-.246 1.017-.651.094-.275.097-2.473.004-2.921A2.96 2.96 0 0 0 22.296.312c-.664-.32.357-.29-10.176-.297C6.939.012 2.611.024 2.503.042" fill-rule="evenodd"/>
|
|
7
|
+
</Svg>
|
|
8
|
+
);
|
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
|
@@ -124,6 +124,17 @@ import { CameraOff } from './icons/CameraOff';
|
|
|
124
124
|
import { RedLine } from './icons/RedLine';
|
|
125
125
|
import { SpeakerHorizontal } from './icons/SpeakerHorizontal';
|
|
126
126
|
import { Minus } from './icons/Minus';
|
|
127
|
+
import { Cursor } from './icons/Cursor';
|
|
128
|
+
import { Sticker } from './icons/Sticker';
|
|
129
|
+
import { TText } from './icons/TText';
|
|
130
|
+
import { Figures } from './icons/Figures';
|
|
131
|
+
import { Arrow } from './icons/Arrow';
|
|
132
|
+
import { Image } from './icons/Image';
|
|
133
|
+
import { Eraser } from './icons/Eraser';
|
|
134
|
+
import { Pen } from './icons/Pen';
|
|
135
|
+
import { Undo } from './icons/Undo';
|
|
136
|
+
import { Redo } from './icons/Redo';
|
|
137
|
+
|
|
127
138
|
import { icons } from './config';
|
|
128
139
|
|
|
129
140
|
export {
|
|
@@ -253,6 +264,16 @@ export {
|
|
|
253
264
|
SpeakerHorizontal,
|
|
254
265
|
Minimize,
|
|
255
266
|
Minus,
|
|
267
|
+
Cursor,
|
|
268
|
+
Sticker,
|
|
269
|
+
TText,
|
|
270
|
+
Figures,
|
|
271
|
+
Arrow,
|
|
272
|
+
Image,
|
|
273
|
+
Eraser,
|
|
274
|
+
Pen,
|
|
275
|
+
Undo,
|
|
276
|
+
Redo,
|
|
256
277
|
icons,
|
|
257
278
|
};
|
|
258
279
|
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -125,7 +125,15 @@
|
|
|
125
125
|
"icons/SpeakerHorizontal.tsx",
|
|
126
126
|
"icons/MicrophoneOff.tsx",
|
|
127
127
|
"icons/CameraOff.tsx",
|
|
128
|
-
"icons/Minus"
|
|
128
|
+
"icons/Minus",
|
|
129
|
+
"icons/Cursor.tsx",
|
|
130
|
+
"icons/Figures.tsx",
|
|
131
|
+
"icons/TText.tsx",
|
|
132
|
+
"icons/Image.tsx",
|
|
133
|
+
"icons/Eraser.tsx",
|
|
134
|
+
"icons/Pen.tsx",
|
|
135
|
+
"icons/Undo.tsx",
|
|
136
|
+
"icons/Redo.tsx"
|
|
129
137
|
],
|
|
130
138
|
"exclude": ["dist", "build", "node_modules"]
|
|
131
139
|
}
|