Skip to content

Commit 3354ae4

Browse files
patcapulongjaymantri
authored andcommitted
feat: vendor IconBank, IconCrossMedium, IconFolderAddRight, IconSquareArrowTopRight2
1 parent 4b166f7 commit 3354ae4

10 files changed

Lines changed: 32 additions & 0 deletions

File tree

scripts/extract-icons.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const SECTIONS = [
9696
{ name: 'IconBell' },
9797
{ name: 'IconBellOff' },
9898
{ name: 'IconBlackpoint' },
99+
{ name: 'IconBank' },
99100
{ name: 'IconBuildings' },
100101
{ name: 'IconBrackets1' },
101102
{ name: 'IconBrokenHeart' },
@@ -122,6 +123,7 @@ const SECTIONS = [
122123
{ name: 'IconConnectors2' },
123124
{ name: 'IconConsoleSparkle' },
124125
{ name: 'IconCrossLarge' },
126+
{ name: 'IconCrossMedium' },
125127
{ name: 'IconCrossSmall' },
126128
{ name: 'IconCryptoWallet' },
127129
{ name: 'IconDevices', variant: 'filled' },
@@ -145,6 +147,7 @@ const SECTIONS = [
145147
{ name: 'IconFileArrowRightOut' },
146148
{ name: 'IconFileBend' },
147149
{ name: 'IconFilter2' },
150+
{ name: 'IconFolderAddRight' },
148151
{ name: 'IconFingerPrint1' },
149152
{ name: 'IconFormPyramide' },
150153
{ name: 'IconForYou' },
@@ -214,6 +217,7 @@ const SECTIONS = [
214217
{ name: 'IconSquareBehindSquare1' },
215218
{ name: 'IconSquareBehindSquare6' },
216219
{ name: 'IconSquareInfo' },
220+
{ name: 'IconSquareArrowTopRight2' },
217221
{ name: 'IconSquarePlus' },
218222
{ name: 'IconSticker' },
219223
{ name: 'IconSun', variant: 'filled' },

src/components/Icon/icon-registry.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import { IconChevronTopSmall } from './icons/IconChevronTopSmall';
4646
import { IconAdjustPhoto } from './icons/IconAdjustPhoto';
4747
import { IconAt } from './icons/IconAt';
4848
import { IconAutoCrop } from './icons/IconAutoCrop';
49+
import { IconBank } from './icons/IconBank';
4950
import { IconBarsThree2 } from './icons/IconBarsThree2';
5051
import { IconBell } from './icons/IconBell';
5152
import { IconBellOff } from './icons/IconBellOff';
@@ -76,6 +77,7 @@ import { IconConnectors1 } from './icons/IconConnectors1';
7677
import { IconConnectors2 } from './icons/IconConnectors2';
7778
import { IconConsoleSparkle } from './icons/IconConsoleSparkle';
7879
import { IconCrossLarge } from './icons/IconCrossLarge';
80+
import { IconCrossMedium } from './icons/IconCrossMedium';
7981
import { IconCrossSmall } from './icons/IconCrossSmall';
8082
import { IconCryptoWallet } from './icons/IconCryptoWallet';
8183
import { IconDevices } from './icons/IconDevices';
@@ -100,6 +102,7 @@ import { IconFileArrowRightOut } from './icons/IconFileArrowRightOut';
100102
import { IconFileBend } from './icons/IconFileBend';
101103
import { IconFilter2 } from './icons/IconFilter2';
102104
import { IconFingerPrint1 } from './icons/IconFingerPrint1';
105+
import { IconFolderAddRight } from './icons/IconFolderAddRight';
103106
import { IconFormPyramide } from './icons/IconFormPyramide';
104107
import { IconForYou } from './icons/IconForYou';
105108
import { IconFullScreen } from './icons/IconFullScreen';
@@ -165,6 +168,7 @@ import { IconShield2 } from './icons/IconShield2';
165168
import { IconShieldKeyhole } from './icons/IconShieldKeyhole';
166169
import { IconSidebarSimpleLeftWide } from './icons/IconSidebarSimpleLeftWide';
167170
import { IconSpacebar } from './icons/IconSpacebar';
171+
import { IconSquareArrowTopRight2 } from './icons/IconSquareArrowTopRight2';
168172
import { IconSquareBehindSquare1 } from './icons/IconSquareBehindSquare1';
169173
import { IconSquareBehindSquare6 } from './icons/IconSquareBehindSquare6';
170174
import { IconSquareInfo } from './icons/IconSquareInfo';
@@ -286,6 +290,7 @@ export const ICON_REGISTRY = {
286290
IconAdjustPhoto,
287291
IconAt,
288292
IconAutoCrop,
293+
IconBank,
289294
IconBarsThree2,
290295
IconBell,
291296
IconBellOff,
@@ -316,6 +321,7 @@ export const ICON_REGISTRY = {
316321
IconConnectors2,
317322
IconConsoleSparkle,
318323
IconCrossLarge,
324+
IconCrossMedium,
319325
IconCrossSmall,
320326
IconCryptoWallet,
321327
IconDevices,
@@ -340,6 +346,7 @@ export const ICON_REGISTRY = {
340346
IconFileBend,
341347
IconFilter2,
342348
IconFingerPrint1,
349+
IconFolderAddRight,
343350
IconForYou,
344351
IconFormPyramide,
345352
IconFullScreen,
@@ -405,6 +412,7 @@ export const ICON_REGISTRY = {
405412
IconShieldKeyhole,
406413
IconSidebarSimpleLeftWide,
407414
IconSpacebar,
415+
IconSquareArrowTopRight2,
408416
IconSquareBehindSquare1,
409417
IconSquareBehindSquare6,
410418
IconSquareInfo,
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import React from "react";
2+
import { type CentralIconBaseProps } from "../CentralIconBase";
3+
export declare const IconBank: React.FC<CentralIconBaseProps>;
4+
export default IconBank;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import r from"react";import s from"react";var a=({children:e,size:o=24,ariaLabel:n,color:i,ariaHidden:t=!0,style:p,...k})=>s.createElement("svg",{...k,"aria-hidden":t,role:t?void 0:"img",width:typeof o=="number"?`${o}px`:o,height:typeof o=="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:i,...p}},n&&!t&&s.createElement("title",null,n),e);var u=e=>r.createElement(a,{...e,ariaLabel:"bank"},r.createElement("path",{d:"M13.3528 3.18339C12.5021 2.75365 11.4979 2.75365 10.6472 3.18339L3.45605 6.81636C3.02304 7.03512 2.75 7.47896 2.75 7.9641C2.75 8.67427 3.32571 9.24998 4.03588 9.24998H19.9641C20.6743 9.24998 21.25 8.67427 21.25 7.9641C21.25 7.47896 20.977 7.03512 20.5439 6.81636L13.3528 3.18339Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M20.8594 19.0774C21.0517 19.6543 20.6223 20.25 20.0143 20.25H3.98627C3.37821 20.25 2.94884 19.6543 3.14113 19.0774C3.5049 17.9861 4.52619 17.25 5.67655 17.25H18.324C19.4743 17.25 20.4956 17.9861 20.8594 19.0774Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M19.25 9.25V17.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M15.25 17.25V9.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M4.75 9.25V17.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),r.createElement("path",{d:"M8.75 17.25V9.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"})),h=u;export{u as IconBank,h as default};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import React from "react";
2+
import { type CentralIconBaseProps } from "../CentralIconBase";
3+
export declare const IconCrossMedium: React.FC<CentralIconBaseProps>;
4+
export default IconCrossMedium;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import p from"react";import n from"react";var s=({children:r,size:e=24,ariaLabel:t,color:a,ariaHidden:o=!0,style:l,...m})=>n.createElement("svg",{...m,"aria-hidden":o,role:o?void 0:"img",width:typeof e=="number"?`${e}px`:e,height:typeof e=="number"?`${e}px`:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:a,...l}},t&&!o&&n.createElement("title",null,t),r);var c=r=>p.createElement(s,{...r,ariaLabel:"cross-medium, crossed medium, close"},p.createElement("path",{d:"M6.25 6.25L17.75 17.75M17.75 6.25L6.25 17.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})),f=c;export{c as IconCrossMedium,f as default};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import React from "react";
2+
import { type CentralIconBaseProps } from "../CentralIconBase";
3+
export declare const IconFolderAddRight: React.FC<CentralIconBaseProps>;
4+
export default IconFolderAddRight;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import o from"react";import s from"react";var p=({children:e,size:r=24,ariaLabel:n,color:a,ariaHidden:t=!0,style:i,...l})=>s.createElement("svg",{...l,"aria-hidden":t,role:t?void 0:"img",width:typeof r=="number"?`${r}px`:r,height:typeof r=="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:a,...i}},n&&!t&&s.createElement("title",null,n),e);var d=e=>o.createElement(p,{...e,ariaLabel:"folder-add-right"},o.createElement("path",{d:"M11.25 19.25H5.75C4.09315 19.25 2.75 17.9069 2.75 16.25V6.75C2.75 5.09315 4.09315 3.75 5.75 3.75H8.39445C9.39751 3.75 10.3342 4.2513 10.8906 5.0859L11.1094 5.4141C11.6658 6.2487 12.6025 6.75 13.6056 6.75H18.25C19.9069 6.75 21.25 8.09315 21.25 9.75V10.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M18 13.75V17V20.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M14.75 17H18H21.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),h=d;export{d as IconFolderAddRight,h as default};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import React from "react";
2+
import { type CentralIconBaseProps } from "../CentralIconBase";
3+
export declare const IconSquareArrowTopRight2: React.FC<CentralIconBaseProps>;
4+
export default IconSquareArrowTopRight2;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import t from"react";import p from"react";var a=({children:o,size:r=24,ariaLabel:n,color:s,ariaHidden:e=!0,style:i,...l})=>p.createElement("svg",{...l,"aria-hidden":e,role:e?void 0:"img",width:typeof r=="number"?`${r}px`:r,height:typeof r=="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:s,...i}},n&&!e&&p.createElement("title",null,n),o);var C=o=>t.createElement(a,{...o,ariaLabel:"square-arrow-top-right-2, open, new, link, open link, box, arrow"},t.createElement("path",{d:"M9.25 3.75H8.55C6.86984 3.75 6.02976 3.75 5.38803 4.07698C4.82354 4.3646 4.3646 4.82354 4.07698 5.38803C3.75 6.02976 3.75 6.86984 3.75 8.55V15.45C3.75 17.1302 3.75 17.9702 4.07698 18.612C4.3646 19.1765 4.82354 19.6354 5.38803 19.923C6.02976 20.25 6.86984 20.25 8.55 20.25H15.45C17.1302 20.25 17.9702 20.25 18.612 19.923C19.1765 19.6354 19.6354 19.1765 19.923 18.612C20.25 17.9702 20.25 17.1302 20.25 15.45V14.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.75 3.75H20.25M20.25 3.75V10.25M20.25 3.75L11 13",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),h=C;export{C as IconSquareArrowTopRight2,h as default};

0 commit comments

Comments
 (0)