From af65e268b0698ff76afd420e387017ca8f03ef12 Mon Sep 17 00:00:00 2001 From: dependentmadani Date: Sun, 30 Jun 2024 23:59:14 +0100 Subject: [PATCH] add icons types --- README.md | 154 +++++++++++++++++++++--------------------- dist/index.d.ts | 12 ++-- dist/index.mjs | 76 ++++++++++----------- dist/index.umd.js | 2 +- dist/types/types.d.ts | 79 ++++++++++++++++++++++ src/index.ts | 12 ++-- src/types/types.d.ts | 79 ++++++++++++++++++++++ tsconfig.json | 16 ++++- vite.config.js | 4 +- 9 files changed, 304 insertions(+), 130 deletions(-) create mode 100644 dist/types/types.d.ts create mode 100644 src/types/types.d.ts diff --git a/README.md b/README.md index 1b590da..ce4e90d 100644 --- a/README.md +++ b/README.md @@ -33,83 +33,83 @@ You will get the line: ` | Icon | Name | | --- | --- | -| ![IconH1](dist/icons/IconH1.svg) | `IconH1` | -| ![IconH2](dist/icons/IconH2.svg) | `IconH2` | -| ![IconH3](dist/icons/IconH3.svg) | `IconH3` | -| ![IconH4](dist/icons/IconH4.svg) | `IconH4` | -| ![IconH5](dist/icons/IconH5.svg) | `IconH5` | -| ![IconH6](dist/icons/IconH6.svg) | `IconH6` | -| ![IconAddBackground](dist/icons/IconAddBackground.svg) | `IconAddBackground` | -| ![IconAddBorder](dist/icons/IconAddBorder.svg) | `IconAddBorder` | -| ![IconAlignCenter](dist/icons/IconAlignCenter.svg) | `IconAlignCenter` | -| ![IconAlignJustify](dist/icons/IconAlignJustify.svg) | `IconAlignJustify` | -| ![IconAlignLeft](dist/icons/IconAlignLeft.svg) | `IconAlignLeft` | -| ![IconAlignRight](dist/icons/IconAlignRight.svg) | `IconAlignRight` | -| ![IconBold](dist/icons/IconBold.svg) | `IconBold` | -| ![IconBrackets](dist/icons/IconBrackets.svg) | `IconBrackets` | -| ![IconCheck](dist/icons/IconCheck.svg) | `IconCheck` | -| ![IconChecklist](dist/icons/IconChecklist.svg) | `IconChecklist` | -| ![IconChevronDown](dist/icons/IconChevronDown.svg) | `IconChevronDown` | -| ![IconChevronLeft](dist/icons/IconChevronLeft.svg) | `IconChevronLeft` | -| ![IconChevronRight](dist/icons/IconChevronRight.svg) | `IconChevronRight` | -| ![IconChevronUp](dist/icons/IconChevronUp.svg) | `IconChevronUp` | -| ![IconClipboard](dist/icons/IconClipboard.svg) | `IconClipboard` | -| ![IconCollapse](dist/icons/IconCollapse.svg) | `IconCollapse` | -| ![IconColor](dist/icons/IconColor.svg) | `IconColor` | -| ![IconCopy](dist/icons/IconCopy.svg) | `IconCopy` | -| ![IconCross](dist/icons/IconCross.svg) | `IconCross` | -| ![IconCurlyBrackets](dist/icons/IconCurlyBrackets.svg) | `IconCurlyBrackets` | -| ![IconDelimiter](dist/icons/IconDelimiter.svg) | `IconDelimiter` | -| ![IconDirectionDownRight](dist/icons/IconDirectionDownRight.svg) | `IconDirectionDownRight` | -| ![IconDirectionLeftDown](dist/icons/IconDirectionLeftDown.svg) | `IconDirectionLeftDown` | -| ![IconDirectionRightDown](dist/icons/IconDirectionRightDown.svg) | `IconDirectionRightDown` | -| ![IconDirectionUpRight](dist/icons/IconDirectionUpRight.svg) | `IconDirectionUpRight` | -| ![IconDotCircle](dist/icons/IconDotCircle.svg) | `IconDotCircle` | -| ![IconEtcHorisontal](dist/icons/IconEtcHorisontal.svg) | `IconEtcHorisontal` | -| ![IconEtcVertical](dist/icons/IconEtcVertical.svg) | `IconEtcVertical` | -| ![IconFile](dist/icons/IconFile.svg) | `IconFile` | -| ![IconGift](dist/icons/IconGift.svg) | `IconGift` | -| ![IconGlobe](dist/icons/IconGlobe.svg) | `IconGlobe` | -| ![IconHeading](dist/icons/IconHeading.svg) | `IconHeading` | -| ![IconHeart](dist/icons/IconHeart.svg) | `IconHeart` | -| ![IconHidden](dist/icons/IconHidden.svg) | `IconHidden` | -| ![IconHtml](dist/icons/IconHtml.svg) | `IconHtml` | -| ![IconInstagram](dist/icons/IconInstagram.svg) | `IconInstagram` | -| ![IconItalic](dist/icons/IconItalic.svg) | `IconItalic` | -| ![IconLink](dist/icons/IconLink.svg) | `IconLink` | -| ![IconLinkedin](dist/icons/IconLinkedin.svg) | `IconLinkedin` | -| ![IconListBulleted](dist/icons/IconListBulleted.svg) | `IconListBulleted` | -| ![IconListNumbered](dist/icons/IconListNumbered.svg) | `IconListNumbered` | -| ![IconLoader](dist/icons/IconLoader.svg) | `IconLoader` | -| ![IconMarker](dist/icons/IconMarker.svg) | `IconMarker` | -| ![IconMenuSmall](dist/icons/IconMenuSmall.svg) | `IconMenuSmall` | -| ![IconMenu](dist/icons/IconMenu.svg) | `IconMenu` | -| ![IconPicture](dist/icons/IconPicture.svg) | `IconPicture` | -| ![IconPlay](dist/icons/IconPlay.svg) | `IconPlay` | -| ![IconPlus](dist/icons/IconPlus.svg) | `IconPlus` | -| ![IconQuestion](dist/icons/IconQuestion.svg) | `IconQuestion` | -| ![IconQuote](dist/icons/IconQuote.svg) | `IconQuote` | -| ![IconRedo](dist/icons/IconRedo.svg) | `IconRedo` | -| ![IconRemoveBackground](dist/icons/IconRemoveBackground.svg) | `IconRemoveBackground` | -| ![IconReplace](dist/icons/IconReplace.svg) | `IconReplace` | -| ![IconSave](dist/icons/IconSave.svg) | `IconSave` | -| ![IconSearch](dist/icons/IconSearch.svg) | `IconSearch` | -| ![IconStar](dist/icons/IconStar.svg) | `IconStar` | -| ![IconStretch](dist/icons/IconStretch.svg) | `IconStretch` | -| ![IconStrikethrough](dist/icons/IconStrikethrough.svg) | `IconStrikethrough` | -| ![IconTableWithHeadings](dist/icons/IconTableWithHeadings.svg) | `IconTableWithHeadings` | -| ![IconTableWithoutHeadings](dist/icons/IconTableWithoutHeadings.svg) | `IconTableWithoutHeadings` | -| ![IconTable](dist/icons/IconTable.svg) | `IconTable` | -| ![IconText](dist/icons/IconText.svg) | `IconText` | -| ![IconTranslate](dist/icons/IconTranslate.svg) | `IconTranslate` | -| ![IconTrash](dist/icons/IconTrash.svg) | `IconTrash` | -| ![IconTwitter](dist/icons/IconTwitter.svg) | `IconTwitter` | -| ![IconUnderline](dist/icons/IconUnderline.svg) | `IconUnderline` | -| ![IconUndo](dist/icons/IconUndo.svg) | `IconUndo` | -| ![IconUnlink](dist/icons/IconUnlink.svg) | `IconUnlink` | -| ![IconUser](dist/icons/IconUser.svg) | `IconUser` | -| ![IconUsersGroup](dist/icons/IconUsersGroup.svg) | `IconUsersGroup` | -| ![IconWarning](dist/icons/IconWarning.svg) | `IconWarning` | +| ![IconAddBackground](dist\icons\IconAddBackground.svg) | `IconAddBackground` | +| ![IconAddBorder](dist\icons\IconAddBorder.svg) | `IconAddBorder` | +| ![IconAlignCenter](dist\icons\IconAlignCenter.svg) | `IconAlignCenter` | +| ![IconAlignJustify](dist\icons\IconAlignJustify.svg) | `IconAlignJustify` | +| ![IconAlignLeft](dist\icons\IconAlignLeft.svg) | `IconAlignLeft` | +| ![IconAlignRight](dist\icons\IconAlignRight.svg) | `IconAlignRight` | +| ![IconBold](dist\icons\IconBold.svg) | `IconBold` | +| ![IconBrackets](dist\icons\IconBrackets.svg) | `IconBrackets` | +| ![IconCheck](dist\icons\IconCheck.svg) | `IconCheck` | +| ![IconChecklist](dist\icons\IconChecklist.svg) | `IconChecklist` | +| ![IconChevronDown](dist\icons\IconChevronDown.svg) | `IconChevronDown` | +| ![IconChevronLeft](dist\icons\IconChevronLeft.svg) | `IconChevronLeft` | +| ![IconChevronRight](dist\icons\IconChevronRight.svg) | `IconChevronRight` | +| ![IconChevronUp](dist\icons\IconChevronUp.svg) | `IconChevronUp` | +| ![IconClipboard](dist\icons\IconClipboard.svg) | `IconClipboard` | +| ![IconCollapse](dist\icons\IconCollapse.svg) | `IconCollapse` | +| ![IconColor](dist\icons\IconColor.svg) | `IconColor` | +| ![IconCopy](dist\icons\IconCopy.svg) | `IconCopy` | +| ![IconCross](dist\icons\IconCross.svg) | `IconCross` | +| ![IconCurlyBrackets](dist\icons\IconCurlyBrackets.svg) | `IconCurlyBrackets` | +| ![IconDelimiter](dist\icons\IconDelimiter.svg) | `IconDelimiter` | +| ![IconDirectionDownRight](dist\icons\IconDirectionDownRight.svg) | `IconDirectionDownRight` | +| ![IconDirectionLeftDown](dist\icons\IconDirectionLeftDown.svg) | `IconDirectionLeftDown` | +| ![IconDirectionRightDown](dist\icons\IconDirectionRightDown.svg) | `IconDirectionRightDown` | +| ![IconDirectionUpRight](dist\icons\IconDirectionUpRight.svg) | `IconDirectionUpRight` | +| ![IconDotCircle](dist\icons\IconDotCircle.svg) | `IconDotCircle` | +| ![IconEtcHorisontal](dist\icons\IconEtcHorisontal.svg) | `IconEtcHorisontal` | +| ![IconEtcVertical](dist\icons\IconEtcVertical.svg) | `IconEtcVertical` | +| ![IconFile](dist\icons\IconFile.svg) | `IconFile` | +| ![IconGift](dist\icons\IconGift.svg) | `IconGift` | +| ![IconGlobe](dist\icons\IconGlobe.svg) | `IconGlobe` | +| ![IconH1](dist\icons\IconH1.svg) | `IconH1` | +| ![IconH2](dist\icons\IconH2.svg) | `IconH2` | +| ![IconH3](dist\icons\IconH3.svg) | `IconH3` | +| ![IconH4](dist\icons\IconH4.svg) | `IconH4` | +| ![IconH5](dist\icons\IconH5.svg) | `IconH5` | +| ![IconH6](dist\icons\IconH6.svg) | `IconH6` | +| ![IconHeading](dist\icons\IconHeading.svg) | `IconHeading` | +| ![IconHeart](dist\icons\IconHeart.svg) | `IconHeart` | +| ![IconHidden](dist\icons\IconHidden.svg) | `IconHidden` | +| ![IconHtml](dist\icons\IconHtml.svg) | `IconHtml` | +| ![IconInstagram](dist\icons\IconInstagram.svg) | `IconInstagram` | +| ![IconItalic](dist\icons\IconItalic.svg) | `IconItalic` | +| ![IconLink](dist\icons\IconLink.svg) | `IconLink` | +| ![IconLinkedin](dist\icons\IconLinkedin.svg) | `IconLinkedin` | +| ![IconListBulleted](dist\icons\IconListBulleted.svg) | `IconListBulleted` | +| ![IconListNumbered](dist\icons\IconListNumbered.svg) | `IconListNumbered` | +| ![IconLoader](dist\icons\IconLoader.svg) | `IconLoader` | +| ![IconMarker](dist\icons\IconMarker.svg) | `IconMarker` | +| ![IconMenuSmall](dist\icons\IconMenuSmall.svg) | `IconMenuSmall` | +| ![IconMenu](dist\icons\IconMenu.svg) | `IconMenu` | +| ![IconPicture](dist\icons\IconPicture.svg) | `IconPicture` | +| ![IconPlay](dist\icons\IconPlay.svg) | `IconPlay` | +| ![IconPlus](dist\icons\IconPlus.svg) | `IconPlus` | +| ![IconQuestion](dist\icons\IconQuestion.svg) | `IconQuestion` | +| ![IconQuote](dist\icons\IconQuote.svg) | `IconQuote` | +| ![IconRedo](dist\icons\IconRedo.svg) | `IconRedo` | +| ![IconRemoveBackground](dist\icons\IconRemoveBackground.svg) | `IconRemoveBackground` | +| ![IconReplace](dist\icons\IconReplace.svg) | `IconReplace` | +| ![IconSave](dist\icons\IconSave.svg) | `IconSave` | +| ![IconSearch](dist\icons\IconSearch.svg) | `IconSearch` | +| ![IconStar](dist\icons\IconStar.svg) | `IconStar` | +| ![IconStretch](dist\icons\IconStretch.svg) | `IconStretch` | +| ![IconStrikethrough](dist\icons\IconStrikethrough.svg) | `IconStrikethrough` | +| ![IconTableWithHeadings](dist\icons\IconTableWithHeadings.svg) | `IconTableWithHeadings` | +| ![IconTableWithoutHeadings](dist\icons\IconTableWithoutHeadings.svg) | `IconTableWithoutHeadings` | +| ![IconTable](dist\icons\IconTable.svg) | `IconTable` | +| ![IconText](dist\icons\IconText.svg) | `IconText` | +| ![IconTranslate](dist\icons\IconTranslate.svg) | `IconTranslate` | +| ![IconTrash](dist\icons\IconTrash.svg) | `IconTrash` | +| ![IconTwitter](dist\icons\IconTwitter.svg) | `IconTwitter` | +| ![IconUnderline](dist\icons\IconUnderline.svg) | `IconUnderline` | +| ![IconUndo](dist\icons\IconUndo.svg) | `IconUndo` | +| ![IconUnlink](dist\icons\IconUnlink.svg) | `IconUnlink` | +| ![IconUser](dist\icons\IconUser.svg) | `IconUser` | +| ![IconUsersGroup](dist\icons\IconUsersGroup.svg) | `IconUsersGroup` | +| ![IconWarning](dist\icons\IconWarning.svg) | `IconWarning` | ## How to add an icon diff --git a/dist/index.d.ts b/dist/index.d.ts index 96da69e..b0930d8 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,9 +1,3 @@ -export declare const IconH1: string; -export declare const IconH2: string; -export declare const IconH3: string; -export declare const IconH4: string; -export declare const IconH5: string; -export declare const IconH6: string; export declare const IconAddBackground: string; export declare const IconAddBorder: string; export declare const IconAlignCenter: string; @@ -35,6 +29,12 @@ export declare const IconEtcVertical: string; export declare const IconFile: string; export declare const IconGift: string; export declare const IconGlobe: string; +export declare const IconH1: string; +export declare const IconH2: string; +export declare const IconH3: string; +export declare const IconH4: string; +export declare const IconH5: string; +export declare const IconH6: string; export declare const IconHeading: string; export declare const IconHeart: string; export declare const IconHidden: string; diff --git a/dist/index.mjs b/dist/index.mjs index 87a5945..e05c360 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -1,42 +1,42 @@ -const o = '', t = '', r = '', e = '', n = '', s = '', i = '', h = '', l = '', w = '', d = '', k = '', c = '', C = '', g = '', u = '', p = '', a = '', v = '', M = '', x = '', L = '', H = '', m = '', f = '', B = '', I = '', V = '', j = '', y = '', Z = '', D = '', T = '', b = '', R = '', U = '', A = '', S = '', G = '', P = '', W = '', E = '', N = '', Q = '', F = '', J = '', X = '', q = '', z = '', K = '', O = '', Y = '', _ = '', $ = '', o1 = '', t1 = '', r1 = '', e1 = '', n1 = '', s1 = '', i1 = '', h1 = '', l1 = '', w1 = '', d1 = '', k1 = '', c1 = '', C1 = '', g1 = '', u1 = '', p1 = '', a1 = '', v1 = '', M1 = '', x1 = '', L1 = '', H1 = ''; +const o = '', t = '', r = '', e = '', n = '', s = '', i = '', h = '', l = '', w = '', d = '', k = '', c = '', C = '', g = '', u = '', p = '', a = '', v = '', M = '', x = '', L = '', H = '', m = '', f = '', B = '', I = '', V = '', j = '', y = '', Z = '', D = '', T = '', b = '', R = '', U = '', A = '', S = '', G = '', P = '', W = '', E = '', N = '', Q = '', F = '', J = '', X = '', q = '', z = '', K = '', O = '', Y = '', _ = '', $ = '', o1 = '', t1 = '', r1 = '', e1 = '', n1 = '', s1 = '', i1 = '', h1 = '', l1 = '', w1 = '', d1 = '', k1 = '', c1 = '', C1 = '', g1 = '', u1 = '', p1 = '', a1 = '', v1 = '', M1 = '', x1 = '', L1 = '', H1 = ''; export { - i as IconAddBackground, - h as IconAddBorder, - l as IconAlignCenter, - w as IconAlignJustify, - d as IconAlignLeft, - k as IconAlignRight, - c as IconBold, - C as IconBrackets, - g as IconCheck, - u as IconChecklist, - p as IconChevronDown, - a as IconChevronLeft, - v as IconChevronRight, - M as IconChevronUp, - x as IconClipboard, - L as IconCollapse, - H as IconColor, - m as IconCopy, - f as IconCross, - B as IconCurlyBrackets, - I as IconDelimiter, - V as IconDirectionDownRight, - j as IconDirectionLeftDown, - y as IconDirectionRightDown, - Z as IconDirectionUpRight, - D as IconDotCircle, - T as IconEtcHorisontal, - b as IconEtcVertical, - R as IconFile, - U as IconGift, - A as IconGlobe, - o as IconH1, - t as IconH2, - r as IconH3, - e as IconH4, - n as IconH5, - s as IconH6, + o as IconAddBackground, + t as IconAddBorder, + r as IconAlignCenter, + e as IconAlignJustify, + n as IconAlignLeft, + s as IconAlignRight, + i as IconBold, + h as IconBrackets, + l as IconCheck, + w as IconChecklist, + d as IconChevronDown, + k as IconChevronLeft, + c as IconChevronRight, + C as IconChevronUp, + g as IconClipboard, + u as IconCollapse, + p as IconColor, + a as IconCopy, + v as IconCross, + M as IconCurlyBrackets, + x as IconDelimiter, + L as IconDirectionDownRight, + H as IconDirectionLeftDown, + m as IconDirectionRightDown, + f as IconDirectionUpRight, + B as IconDotCircle, + I as IconEtcHorisontal, + V as IconEtcVertical, + j as IconFile, + y as IconGift, + Z as IconGlobe, + D as IconH1, + T as IconH2, + b as IconH3, + R as IconH4, + U as IconH5, + A as IconH6, S as IconHeading, G as IconHeart, P as IconHidden, diff --git a/dist/index.umd.js b/dist/index.umd.js index 2fbb16f..6acbb88 100644 --- a/dist/index.umd.js +++ b/dist/index.umd.js @@ -1 +1 @@ -(function(o,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(o=typeof globalThis<"u"?globalThis:o||self,t(o["@codexteam/icons"]={}))})(this,function(o){"use strict";const t='',r='',e='',n='',s='',i='',h='',l='',d='',w='',c='',k='',C='',u='',g='',a='',p='',v='',M='',L='',I='',x='',H='',f='',m='',B='',V='',y='',j='',D='',T='',b='',R='',S='',U='',Z='',A='',P='',G='',W='',E='',Q='',N='',F='',J='',_='',O='',X='',q='',z='',K='',Y='',$='',o1='',t1='',r1='',e1='',n1='',s1='',i1='',h1='',l1='',d1='',w1='',c1='',k1='',C1='',u1='',g1='',a1='',p1='',v1='',M1='',L1='',I1='',x1='',H1='';o.IconAddBackground=h,o.IconAddBorder=l,o.IconAlignCenter=d,o.IconAlignJustify=w,o.IconAlignLeft=c,o.IconAlignRight=k,o.IconBold=C,o.IconBrackets=u,o.IconCheck=g,o.IconChecklist=a,o.IconChevronDown=p,o.IconChevronLeft=v,o.IconChevronRight=M,o.IconChevronUp=L,o.IconClipboard=I,o.IconCollapse=x,o.IconColor=H,o.IconCopy=f,o.IconCross=m,o.IconCurlyBrackets=B,o.IconDelimiter=V,o.IconDirectionDownRight=y,o.IconDirectionLeftDown=j,o.IconDirectionRightDown=D,o.IconDirectionUpRight=T,o.IconDotCircle=b,o.IconEtcHorisontal=R,o.IconEtcVertical=S,o.IconFile=U,o.IconGift=Z,o.IconGlobe=A,o.IconH1=t,o.IconH2=r,o.IconH3=e,o.IconH4=n,o.IconH5=s,o.IconH6=i,o.IconHeading=P,o.IconHeart=G,o.IconHidden=W,o.IconHtml=E,o.IconInstagram=Q,o.IconItalic=N,o.IconLink=F,o.IconLinkedin=J,o.IconListBulleted=_,o.IconListNumbered=O,o.IconLoader=X,o.IconMarker=q,o.IconMenu=K,o.IconMenuSmall=z,o.IconPicture=Y,o.IconPlay=$,o.IconPlus=o1,o.IconQuestion=t1,o.IconQuote=r1,o.IconRedo=e1,o.IconRemoveBackground=n1,o.IconReplace=s1,o.IconSave=i1,o.IconSearch=h1,o.IconStar=l1,o.IconStretch=d1,o.IconStrikethrough=w1,o.IconTable=C1,o.IconTableWithHeadings=c1,o.IconTableWithoutHeadings=k1,o.IconText=u1,o.IconTranslate=g1,o.IconTrash=a1,o.IconTwitter=p1,o.IconUnderline=v1,o.IconUndo=M1,o.IconUnlink=L1,o.IconUser=I1,o.IconUsersGroup=x1,o.IconWarning=H1,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); +(function(o,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(o=typeof globalThis<"u"?globalThis:o||self,t(o["@codexteam/icons"]={}))})(this,function(o){"use strict";const t='',r='',e='',n='',s='',i='',h='',l='',d='',w='',c='',k='',C='',u='',g='',a='',p='',v='',M='',L='',I='',x='',H='',f='',m='',B='',V='',y='',j='',D='',T='',b='',R='',S='',U='',Z='',A='',P='',G='',W='',E='',Q='',N='',F='',J='',_='',O='',X='',q='',z='',K='',Y='',$='',o1='',t1='',r1='',e1='',n1='',s1='',i1='',h1='',l1='',d1='',w1='',c1='',k1='',C1='',u1='',g1='',a1='',p1='',v1='',M1='',L1='',I1='',x1='',H1='';o.IconAddBackground=t,o.IconAddBorder=r,o.IconAlignCenter=e,o.IconAlignJustify=n,o.IconAlignLeft=s,o.IconAlignRight=i,o.IconBold=h,o.IconBrackets=l,o.IconCheck=d,o.IconChecklist=w,o.IconChevronDown=c,o.IconChevronLeft=k,o.IconChevronRight=C,o.IconChevronUp=u,o.IconClipboard=g,o.IconCollapse=a,o.IconColor=p,o.IconCopy=v,o.IconCross=M,o.IconCurlyBrackets=L,o.IconDelimiter=I,o.IconDirectionDownRight=x,o.IconDirectionLeftDown=H,o.IconDirectionRightDown=f,o.IconDirectionUpRight=m,o.IconDotCircle=B,o.IconEtcHorisontal=V,o.IconEtcVertical=y,o.IconFile=j,o.IconGift=D,o.IconGlobe=T,o.IconH1=b,o.IconH2=R,o.IconH3=S,o.IconH4=U,o.IconH5=Z,o.IconH6=A,o.IconHeading=P,o.IconHeart=G,o.IconHidden=W,o.IconHtml=E,o.IconInstagram=Q,o.IconItalic=N,o.IconLink=F,o.IconLinkedin=J,o.IconListBulleted=_,o.IconListNumbered=O,o.IconLoader=X,o.IconMarker=q,o.IconMenu=K,o.IconMenuSmall=z,o.IconPicture=Y,o.IconPlay=$,o.IconPlus=o1,o.IconQuestion=t1,o.IconQuote=r1,o.IconRedo=e1,o.IconRemoveBackground=n1,o.IconReplace=s1,o.IconSave=i1,o.IconSearch=h1,o.IconStar=l1,o.IconStretch=d1,o.IconStrikethrough=w1,o.IconTable=C1,o.IconTableWithHeadings=c1,o.IconTableWithoutHeadings=k1,o.IconText=u1,o.IconTranslate=g1,o.IconTrash=a1,o.IconTwitter=p1,o.IconUnderline=v1,o.IconUndo=M1,o.IconUnlink=L1,o.IconUser=I1,o.IconUsersGroup=x1,o.IconWarning=H1,Object.defineProperties(o,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); diff --git a/dist/types/types.d.ts b/dist/types/types.d.ts new file mode 100644 index 0000000..ad53ec1 --- /dev/null +++ b/dist/types/types.d.ts @@ -0,0 +1,79 @@ +declare module '@codexteam/icons' { + export type IconAddBackground = string; + export type IconAddBorder = string; + export type IconAlignCenter = string; + export type IconAlignJustify = string; + export type IconAlignLeft = string; + export type IconAlignRight = string; + export type IconBold = string; + export type IconBrackets = string; + export type IconCheck = string; + export type IconChecklist = string; + export type IconChevronDown = string; + export type IconChevronLeft = string; + export type IconChevronRight = string; + export type IconChevronUp = string; + export type IconClipboard = string; + export type IconCollapse = string; + export type IconColor = string; + export type IconCopy = string; + export type IconCross = string; + export type IconCurlyBrackets = string; + export type IconDelimiter = string; + export type IconDirectionDownRight = string; + export type IconDirectionLeftDown = string; + export type IconDirectionRightDown = string; + export type IconDirectionUpRight = string; + export type IconDotCircle = string; + export type IconEtcHorisontal = string; + export type IconEtcVertical = string; + export type IconFile = string; + export type IconGift = string; + export type IconGlobe = string; + export type IconH1 = string; + export type IconH2 = string; + export type IconH3 = string; + export type IconH4 = string; + export type IconH5 = string; + export type IconH6 = string; + export type IconHeading = string; + export type IconHeart = string; + export type IconHidden = string; + export type IconHtml = string; + export type IconInstagram = string; + export type IconItalic = string; + export type IconLink = string; + export type IconLinkedin = string; + export type IconListBulleted = string; + export type IconListNumbered = string; + export type IconLoader = string; + export type IconMarker = string; + export type IconMenuSmall = string; + export type IconMenu = string; + export type IconPicture = string; + export type IconPlay = string; + export type IconPlus = string; + export type IconQuestion = string; + export type IconQuote = string; + export type IconRedo = string; + export type IconRemoveBackground = string; + export type IconReplace = string; + export type IconSave = string; + export type IconSearch = string; + export type IconStar = string; + export type IconStretch = string; + export type IconStrikethrough = string; + export type IconTableWithHeadings = string; + export type IconTableWithoutHeadings = string; + export type IconTable = string; + export type IconText = string; + export type IconTranslate = string; + export type IconTrash = string; + export type IconTwitter = string; + export type IconUnderline = string; + export type IconUndo = string; + export type IconUnlink = string; + export type IconUser = string; + export type IconUsersGroup = string; + export type IconWarning = string; + } \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 281b6c7..adbd95d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,9 +1,3 @@ -export const IconH1: string = ''; -export const IconH2: string = ''; -export const IconH3: string = ''; -export const IconH4: string = ''; -export const IconH5: string = ''; -export const IconH6: string = ''; export const IconAddBackground: string = ''; export const IconAddBorder: string = ''; export const IconAlignCenter: string = ''; @@ -35,6 +29,12 @@ export const IconEtcVertical: string = '