Skip to content

Commit cae422b

Browse files
feat(pkg.icons): add ZoomIn and ZoomOut icons
1 parent 1d4f02b commit cae422b

6 files changed

Lines changed: 22 additions & 2 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/pkg.icons/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,6 @@ export const icons = [
161161
'WhiteBoard',
162162
'Window',
163163
'ArrowUpRight',
164+
'ZoomIn',
165+
'ZoomOut',
164166
] as const;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Svg, IconProps } from '../Svg';
2+
3+
export const ZoomIn = ({ ...props }: IconProps) => (
4+
<Svg {...props}>
5+
<path d="M10.34 2.024c-1.314.136-2.249.391-3.28.894A8.874 8.874 0 0 0 2.939 7.02a8.91 8.91 0 0 0 0 7.96 8.46 8.46 0 0 0 1.682 2.357 8.968 8.968 0 0 0 10.319 1.746 9.659 9.659 0 0 0 1.498-.91l.178-.136 1.902 1.897c1.046 1.044 1.963 1.928 2.037 1.965.455.229 1.046.045 1.312-.407.097-.165.113-.234.112-.492 0-.212-.022-.341-.074-.44-.04-.077-.927-.996-1.971-2.042l-1.897-1.902.136-.178c.306-.401.651-.97.91-1.498a8.95 8.95 0 0 0 .001-7.88 8.996 8.996 0 0 0-6.764-4.959c-.409-.062-1.658-.11-1.98-.077m1.762 2.074c2.997.453 5.389 2.887 5.822 5.922.066.463.066 1.497 0 1.96-.437 3.067-2.798 5.444-5.904 5.946-.413.066-1.627.066-2.04 0-3.107-.502-5.467-2.879-5.904-5.946-.109-.763-.054-1.887.129-2.64A7.038 7.038 0 0 1 9.34 4.205c.284-.07.724-.136 1.2-.182.273-.026 1.186.018 1.562.075m-1.407 2.959a1.04 1.04 0 0 0-.567.459l-.108.184-.012 1.15L9.995 10H8.944c-1.147 0-1.301.022-1.562.221-.08.061-.195.194-.254.295-.091.156-.108.23-.108.484 0 .256.016.328.111.489.061.103.173.236.25.294.261.2.357.213 1.527.215L9.995 12l.013 1.153.012 1.154.121.196a.998.998 0 0 0 1.718 0l.121-.196.012-1.154.013-1.153 1.087-.002c1.17-.002 1.266-.015 1.527-.215.077-.058.189-.191.25-.294.095-.161.111-.233.111-.489 0-.254-.017-.328-.108-.484a1.209 1.209 0 0 0-.254-.295c-.261-.199-.415-.221-1.562-.221h-1.051l-.013-1.15-.012-1.15-.108-.184a1.005 1.005 0 0 0-1.177-.459" fillRule="evenodd" fill="currentColor" />
6+
</Svg>
7+
);
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Svg, IconProps } from '../Svg';
2+
3+
export const ZoomOut = ({ ...props }: IconProps) => (
4+
<Svg {...props}>
5+
<path d="M10.34 2.024c-1.314.136-2.249.391-3.28.894A8.874 8.874 0 0 0 2.939 7.02a8.91 8.91 0 0 0 0 7.96 8.46 8.46 0 0 0 1.682 2.357 8.968 8.968 0 0 0 10.319 1.746 9.659 9.659 0 0 0 1.498-.91l.178-.136 1.902 1.897c1.046 1.044 1.963 1.928 2.037 1.965.455.229 1.046.045 1.312-.407.097-.165.113-.234.112-.492 0-.212-.022-.341-.074-.44-.04-.077-.927-.996-1.971-2.042l-1.897-1.902.136-.178c.306-.401.651-.97.91-1.498a8.95 8.95 0 0 0 .001-7.88 8.996 8.996 0 0 0-6.764-4.959c-.409-.062-1.658-.11-1.98-.077m1.762 2.074c2.997.453 5.389 2.887 5.822 5.922.066.463.066 1.497 0 1.96-.437 3.067-2.798 5.444-5.904 5.946-.413.066-1.627.066-2.04 0-3.107-.502-5.467-2.879-5.904-5.946-.109-.763-.054-1.887.129-2.64A7.038 7.038 0 0 1 9.34 4.205c.284-.07.724-.136 1.2-.182.273-.026 1.186.018 1.562.075m-4.407 5.959a1.04 1.04 0 0 0-.567.459c-.091.156-.108.23-.108.484 0 .256.016.328.111.489.125.213.318.375.539.454.221.079 6.439.079 6.66 0 .221-.079.414-.241.539-.454.095-.161.111-.233.111-.489 0-.254-.017-.328-.108-.484a1.02 1.02 0 0 0-.582-.461c-.26-.078-6.345-.076-6.595.002" fillRule="evenodd" fill="currentColor" />
6+
</Svg>
7+
);

packages/pkg.icons/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ import { WhatsAppFilled } from './icons/WhatsAppFilled';
160160
import { WhiteBoard } from './icons/WhiteBoard';
161161
import { Window } from './icons/Window';
162162
import { ArrowUpRight } from './icons/ArrowUpRight';
163+
import { ZoomIn } from './icons/ZoomIn';
164+
import { ZoomOut } from './icons/ZoomOut';
163165

164166
import { icons } from './config';
165167

@@ -326,6 +328,8 @@ export {
326328
WhiteBoard,
327329
Window,
328330
ArrowUpRight,
331+
ZoomIn,
332+
ZoomOut,
329333
icons,
330334
};
331335

packages/pkg.icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xipkg/icons",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"main": "./dist/index.mjs",
55
"module": "./dist/index.mjs",
66
"types": "./dist/index.d.mts",

0 commit comments

Comments
 (0)