diff --git a/dist/solid/index.d.ts b/dist/solid/index.d.ts index 0dea21a..7535b35 100644 --- a/dist/solid/index.d.ts +++ b/dist/solid/index.d.ts @@ -1,10 +1,10 @@ -export { BuildingOfficeIcon } from "./BuildingOfficeIcon"; -export { CheckCircleIcon } from "./CheckCircleIcon"; -export { DevicePhoneMobileIcon } from "./DevicePhoneMobileIcon"; -export { DocumentMinusIcon } from "./DocumentMinusIcon"; -export { DocumentPlusIcon } from "./DocumentPlusIcon"; -export { EnvelopeIcon } from "./EnvelopeIcon"; -export { GlobeAltIcon } from "./GlobeAltIcon"; -export { PencilSquareIcon } from "./PencilSquareIcon"; -export { PhoneIcon } from "./PhoneIcon"; -export { PrinterIcon } from "./PrinterIcon"; +export { BuildingOfficeIcon } from './BuildingOfficeIcon'; +export { CheckCircleIcon } from './CheckCircleIcon'; +export { DevicePhoneMobileIcon } from './DevicePhoneMobileIcon'; +export { DocumentMinusIcon } from './DocumentMinusIcon'; +export { DocumentPlusIcon } from './DocumentPlusIcon'; +export { EnvelopeIcon } from './EnvelopeIcon'; +export { GlobeAltIcon } from './GlobeAltIcon'; +export { PencilSquareIcon } from './PencilSquareIcon'; +export { PhoneIcon } from './PhoneIcon'; +export { PrinterIcon } from './PrinterIcon'; diff --git a/dist/solid/index.js b/dist/solid/index.js index bfcc229..20aabc4 100644 --- a/dist/solid/index.js +++ b/dist/solid/index.js @@ -1 +1 @@ -import*as e from"react";const a=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{"fill-rule":"evenodd",d:"M4.5 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5h-.75V3.75a.75.75 0 0 0 0-1.5h-15ZM9 6a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm-.75 3.75A.75.75 0 0 1 9 9h1.5a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM9 12a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm3.75-5.25A.75.75 0 0 1 13.5 6H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM13.5 9a.75.75 0 0 0 0 1.5H15A.75.75 0 0 0 15 9h-1.5Zm-.75 3.75a.75.75 0 0 1 .75-.75H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM9 19.5v-2.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 9 19.5Z","clip-rule":"evenodd"}))));a.displayName="BuildingOfficeIcon";const r=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z","clip-rule":"evenodd"}))));r.displayName="CheckCircleIcon";const l=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{d:"M10.5 18.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z"}),e.createElement("path",{"fill-rule":"evenodd",d:"M8.625.75A3.375 3.375 0 0 0 5.25 4.125v15.75a3.375 3.375 0 0 0 3.375 3.375h6.75a3.375 3.375 0 0 0 3.375-3.375V4.125A3.375 3.375 0 0 0 15.375.75h-6.75ZM7.5 4.125C7.5 3.504 8.004 3 8.625 3H9.75v.375c0 .621.504 1.125 1.125 1.125h2.25c.621 0 1.125-.504 1.125-1.125V3h1.125c.621 0 1.125.504 1.125 1.125v15.75c0 .621-.504 1.125-1.125 1.125h-6.75A1.125 1.125 0 0 1 7.5 19.875V4.125Z","clip-rule":"evenodd"}))));l.displayName="DevicePhoneMobileIcon";const o=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{"fill-rule":"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM9.75 14.25a.75.75 0 0 0 0 1.5H15a.75.75 0 0 0 0-1.5H9.75Z","clip-rule":"evenodd"}),e.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))));o.displayName="DocumentMinusIcon";const t=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{"fill-rule":"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM12.75 12a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25V18a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25V12Z","clip-rule":"evenodd"}),e.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))));t.displayName="DocumentPlusIcon";const c=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{d:"M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z"}),e.createElement("path",{d:"M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z"}))));c.displayName="EnvelopeIcon";const n=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{d:"M21.721 12.752a9.711 9.711 0 0 0-.945-5.003 12.754 12.754 0 0 1-4.339 2.708 18.991 18.991 0 0 1-.214 4.772 17.165 17.165 0 0 0 5.498-2.477ZM14.634 15.55a17.324 17.324 0 0 0 .332-4.647c-.952.227-1.945.347-2.966.347-1.021 0-2.014-.12-2.966-.347a17.515 17.515 0 0 0 .332 4.647 17.385 17.385 0 0 0 5.268 0ZM9.772 17.119a18.963 18.963 0 0 0 4.456 0A17.182 17.182 0 0 1 12 21.724a17.18 17.18 0 0 1-2.228-4.605ZM7.777 15.23a18.87 18.87 0 0 1-.214-4.774 12.753 12.753 0 0 1-4.34-2.708 9.711 9.711 0 0 0-.944 5.004 17.165 17.165 0 0 0 5.498 2.477ZM21.356 14.752a9.765 9.765 0 0 1-7.478 6.817 18.64 18.64 0 0 0 1.988-4.718 18.627 18.627 0 0 0 5.49-2.098ZM2.644 14.752c1.682.971 3.53 1.688 5.49 2.099a18.64 18.64 0 0 0 1.988 4.718 9.765 9.765 0 0 1-7.478-6.816ZM13.878 2.43a9.755 9.755 0 0 1 6.116 3.986 11.267 11.267 0 0 1-3.746 2.504 18.63 18.63 0 0 0-2.37-6.49ZM12 2.276a17.152 17.152 0 0 1 2.805 7.121c-.897.23-1.837.353-2.805.353-.968 0-1.908-.122-2.805-.353A17.151 17.151 0 0 1 12 2.276ZM10.122 2.43a18.629 18.629 0 0 0-2.37 6.49 11.266 11.266 0 0 1-3.746-2.504 9.754 9.754 0 0 1 6.116-3.985Z"}))));n.displayName="GlobeAltIcon";const d=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{d:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-8.4 8.4a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32l8.4-8.4Z"}),e.createElement("path",{d:"M5.25 5.25a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3V13.5a.75.75 0 0 0-1.5 0v5.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5V8.25a1.5 1.5 0 0 1 1.5-1.5h5.25a.75.75 0 0 0 0-1.5H5.25Z"}))));d.displayName="PencilSquareIcon";const i=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{"fill-rule":"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z","clip-rule":"evenodd"}))));i.displayName="PhoneIcon";const h=e.forwardRef((({color:a="currentColor",...r},l)=>e.createElement("svg",{...r,ref:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{"fill-rule":"evenodd",d:"M7.875 1.5C6.839 1.5 6 2.34 6 3.375v2.99c-.426.053-.851.11-1.274.174-1.454.218-2.476 1.483-2.476 2.917v6.294a3 3 0 0 0 3 3h.27l-.155 1.705A1.875 1.875 0 0 0 7.232 22.5h9.536a1.875 1.875 0 0 0 1.867-2.045l-.155-1.705h.27a3 3 0 0 0 3-3V9.456c0-1.434-1.022-2.7-2.476-2.917A48.716 48.716 0 0 0 18 6.366V3.375c0-1.036-.84-1.875-1.875-1.875h-8.25ZM16.5 6.205v-2.83A.375.375 0 0 0 16.125 3h-8.25a.375.375 0 0 0-.375.375v2.83a49.353 49.353 0 0 1 9 0Zm-.217 8.265c.178.018.317.16.333.337l.526 5.784a.375.375 0 0 1-.374.409H7.232a.375.375 0 0 1-.374-.409l.526-5.784a.373.373 0 0 1 .333-.337 41.741 41.741 0 0 1 8.566 0Zm.967-3.97a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H18a.75.75 0 0 1-.75-.75V10.5ZM15 9.75a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V10.5a.75.75 0 0 0-.75-.75H15Z","clip-rule":"evenodd"}))));h.displayName="PrinterIcon";export{a as BuildingOfficeIcon,r as CheckCircleIcon,l as DevicePhoneMobileIcon,o as DocumentMinusIcon,t as DocumentPlusIcon,c as EnvelopeIcon,n as GlobeAltIcon,d as PencilSquareIcon,i as PhoneIcon,h as PrinterIcon}; +import*as e from"react";const a=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{fillRule:"evenodd",d:"M4.5 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5h-.75V3.75a.75.75 0 0 0 0-1.5h-15ZM9 6a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm-.75 3.75A.75.75 0 0 1 9 9h1.5a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM9 12a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm3.75-5.25A.75.75 0 0 1 13.5 6H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM13.5 9a.75.75 0 0 0 0 1.5H15A.75.75 0 0 0 15 9h-1.5Zm-.75 3.75a.75.75 0 0 1 .75-.75H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM9 19.5v-2.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 9 19.5Z",clipRule:"evenodd"}))));a.displayName="BuildingOfficeIcon";const l=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))));l.displayName="CheckCircleIcon";const r=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{d:"M10.5 18.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z"}),e.createElement("path",{fillRule:"evenodd",d:"M8.625.75A3.375 3.375 0 0 0 5.25 4.125v15.75a3.375 3.375 0 0 0 3.375 3.375h6.75a3.375 3.375 0 0 0 3.375-3.375V4.125A3.375 3.375 0 0 0 15.375.75h-6.75ZM7.5 4.125C7.5 3.504 8.004 3 8.625 3H9.75v.375c0 .621.504 1.125 1.125 1.125h2.25c.621 0 1.125-.504 1.125-1.125V3h1.125c.621 0 1.125.504 1.125 1.125v15.75c0 .621-.504 1.125-1.125 1.125h-6.75A1.125 1.125 0 0 1 7.5 19.875V4.125Z",clipRule:"evenodd"}))));r.displayName="DevicePhoneMobileIcon";const o=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM9.75 14.25a.75.75 0 0 0 0 1.5H15a.75.75 0 0 0 0-1.5H9.75Z",clipRule:"evenodd"}),e.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))));o.displayName="DocumentMinusIcon";const t=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{fillRule:"evenodd",d:"M5.625 1.5H9a3.75 3.75 0 0 1 3.75 3.75v1.875c0 1.036.84 1.875 1.875 1.875H16.5a3.75 3.75 0 0 1 3.75 3.75v7.875c0 1.035-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V3.375c0-1.036.84-1.875 1.875-1.875ZM12.75 12a.75.75 0 0 0-1.5 0v2.25H9a.75.75 0 0 0 0 1.5h2.25V18a.75.75 0 0 0 1.5 0v-2.25H15a.75.75 0 0 0 0-1.5h-2.25V12Z",clipRule:"evenodd"}),e.createElement("path",{d:"M14.25 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 16.5 7.5h-1.875a.375.375 0 0 1-.375-.375V5.25Z"}))));t.displayName="DocumentPlusIcon";const c=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{d:"M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z"}),e.createElement("path",{d:"M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z"}))));c.displayName="EnvelopeIcon";const n=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{d:"M21.721 12.752a9.711 9.711 0 0 0-.945-5.003 12.754 12.754 0 0 1-4.339 2.708 18.991 18.991 0 0 1-.214 4.772 17.165 17.165 0 0 0 5.498-2.477ZM14.634 15.55a17.324 17.324 0 0 0 .332-4.647c-.952.227-1.945.347-2.966.347-1.021 0-2.014-.12-2.966-.347a17.515 17.515 0 0 0 .332 4.647 17.385 17.385 0 0 0 5.268 0ZM9.772 17.119a18.963 18.963 0 0 0 4.456 0A17.182 17.182 0 0 1 12 21.724a17.18 17.18 0 0 1-2.228-4.605ZM7.777 15.23a18.87 18.87 0 0 1-.214-4.774 12.753 12.753 0 0 1-4.34-2.708 9.711 9.711 0 0 0-.944 5.004 17.165 17.165 0 0 0 5.498 2.477ZM21.356 14.752a9.765 9.765 0 0 1-7.478 6.817 18.64 18.64 0 0 0 1.988-4.718 18.627 18.627 0 0 0 5.49-2.098ZM2.644 14.752c1.682.971 3.53 1.688 5.49 2.099a18.64 18.64 0 0 0 1.988 4.718 9.765 9.765 0 0 1-7.478-6.816ZM13.878 2.43a9.755 9.755 0 0 1 6.116 3.986 11.267 11.267 0 0 1-3.746 2.504 18.63 18.63 0 0 0-2.37-6.49ZM12 2.276a17.152 17.152 0 0 1 2.805 7.121c-.897.23-1.837.353-2.805.353-.968 0-1.908-.122-2.805-.353A17.151 17.151 0 0 1 12 2.276ZM10.122 2.43a18.629 18.629 0 0 0-2.37 6.49 11.266 11.266 0 0 1-3.746-2.504 9.754 9.754 0 0 1 6.116-3.985Z"}))));n.displayName="GlobeAltIcon";const d=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{d:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-8.4 8.4a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32l8.4-8.4Z"}),e.createElement("path",{d:"M5.25 5.25a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3V13.5a.75.75 0 0 0-1.5 0v5.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5V8.25a1.5 1.5 0 0 1 1.5-1.5h5.25a.75.75 0 0 0 0-1.5H5.25Z"}))));d.displayName="PencilSquareIcon";const i=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))));i.displayName="PhoneIcon";const h=e.forwardRef((({color:a="currentColor",...l},r)=>e.createElement("svg",{...l,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},e.createElement("path",{fillRule:"evenodd",d:"M7.875 1.5C6.839 1.5 6 2.34 6 3.375v2.99c-.426.053-.851.11-1.274.174-1.454.218-2.476 1.483-2.476 2.917v6.294a3 3 0 0 0 3 3h.27l-.155 1.705A1.875 1.875 0 0 0 7.232 22.5h9.536a1.875 1.875 0 0 0 1.867-2.045l-.155-1.705h.27a3 3 0 0 0 3-3V9.456c0-1.434-1.022-2.7-2.476-2.917A48.716 48.716 0 0 0 18 6.366V3.375c0-1.036-.84-1.875-1.875-1.875h-8.25ZM16.5 6.205v-2.83A.375.375 0 0 0 16.125 3h-8.25a.375.375 0 0 0-.375.375v2.83a49.353 49.353 0 0 1 9 0Zm-.217 8.265c.178.018.317.16.333.337l.526 5.784a.375.375 0 0 1-.374.409H7.232a.375.375 0 0 1-.374-.409l.526-5.784a.373.373 0 0 1 .333-.337 41.741 41.741 0 0 1 8.566 0Zm.967-3.97a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H18a.75.75 0 0 1-.75-.75V10.5ZM15 9.75a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V10.5a.75.75 0 0 0-.75-.75H15Z",clipRule:"evenodd"}))));h.displayName="PrinterIcon";export{a as BuildingOfficeIcon,l as CheckCircleIcon,r as DevicePhoneMobileIcon,o as DocumentMinusIcon,t as DocumentPlusIcon,c as EnvelopeIcon,n as GlobeAltIcon,d as PencilSquareIcon,i as PhoneIcon,h as PrinterIcon}; diff --git a/package.json b/package.json index b85e6ce..6c48224 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "via-icons", - "version": "1.0.6", + "version": "1.0.7", "description": "", "type": "module", "sideEffects": false, diff --git a/scripts/generateIcons.js b/scripts/generateIcons.js index dedc137..d5e46ce 100644 --- a/scripts/generateIcons.js +++ b/scripts/generateIcons.js @@ -19,6 +19,12 @@ const svgoConfig = { const iconMetadataPath = path.resolve(__dirname, "./iconMetadata.json"); const iconMetadata = JSON.parse(fs.readFileSync(iconMetadataPath, "utf-8")); +const mapSvgAttributes = (svgContent) => { + return svgContent + .replace(/fill-rule/g, "fillRule") + .replace(/clip-rule/g, "clipRule"); +}; + const generateIconComponent = ( name, svgContent, @@ -41,7 +47,10 @@ interface IconProps extends React.SVGAttributes { export const ${name}Icon = React.forwardRef( ({ color = 'currentColor', ...props }, forwardedRef) => { return ( - ${svgContent.replace(" { export const BuildingOfficeIcon = React.forwardRef( ({ color = 'currentColor', ...props }, forwardedRef) => { return ( - + ); } ); diff --git a/src/solid/CheckCircleIcon.tsx b/src/solid/CheckCircleIcon.tsx index cd3fc84..4e13402 100644 --- a/src/solid/CheckCircleIcon.tsx +++ b/src/solid/CheckCircleIcon.tsx @@ -15,7 +15,7 @@ interface IconProps extends React.SVGAttributes { export const CheckCircleIcon = React.forwardRef( ({ color = 'currentColor', ...props }, forwardedRef) => { return ( - + ); } ); diff --git a/src/solid/DevicePhoneMobileIcon.tsx b/src/solid/DevicePhoneMobileIcon.tsx index 573e419..e4ae127 100644 --- a/src/solid/DevicePhoneMobileIcon.tsx +++ b/src/solid/DevicePhoneMobileIcon.tsx @@ -15,7 +15,7 @@ interface IconProps extends React.SVGAttributes { export const DevicePhoneMobileIcon = React.forwardRef( ({ color = 'currentColor', ...props }, forwardedRef) => { return ( - + ); } ); diff --git a/src/solid/DocumentMinusIcon.tsx b/src/solid/DocumentMinusIcon.tsx index e143edf..8f89ce0 100644 --- a/src/solid/DocumentMinusIcon.tsx +++ b/src/solid/DocumentMinusIcon.tsx @@ -15,7 +15,7 @@ interface IconProps extends React.SVGAttributes { export const DocumentMinusIcon = React.forwardRef( ({ color = 'currentColor', ...props }, forwardedRef) => { return ( - + ); } ); diff --git a/src/solid/DocumentPlusIcon.tsx b/src/solid/DocumentPlusIcon.tsx index d400cca..2583da7 100644 --- a/src/solid/DocumentPlusIcon.tsx +++ b/src/solid/DocumentPlusIcon.tsx @@ -15,7 +15,7 @@ interface IconProps extends React.SVGAttributes { export const DocumentPlusIcon = React.forwardRef( ({ color = 'currentColor', ...props }, forwardedRef) => { return ( - + ); } ); diff --git a/src/solid/PhoneIcon.tsx b/src/solid/PhoneIcon.tsx index 3b8c287..7a04f84 100644 --- a/src/solid/PhoneIcon.tsx +++ b/src/solid/PhoneIcon.tsx @@ -15,7 +15,7 @@ interface IconProps extends React.SVGAttributes { export const PhoneIcon = React.forwardRef( ({ color = 'currentColor', ...props }, forwardedRef) => { return ( - + ); } ); diff --git a/src/solid/PrinterIcon.tsx b/src/solid/PrinterIcon.tsx index 5db9ab2..316a843 100644 --- a/src/solid/PrinterIcon.tsx +++ b/src/solid/PrinterIcon.tsx @@ -15,7 +15,7 @@ interface IconProps extends React.SVGAttributes { export const PrinterIcon = React.forwardRef( ({ color = 'currentColor', ...props }, forwardedRef) => { return ( - + ); } ); diff --git a/src/solid/index.ts b/src/solid/index.ts index 0dea21a..df9447b 100644 --- a/src/solid/index.ts +++ b/src/solid/index.ts @@ -1,10 +1,10 @@ -export { BuildingOfficeIcon } from "./BuildingOfficeIcon"; -export { CheckCircleIcon } from "./CheckCircleIcon"; -export { DevicePhoneMobileIcon } from "./DevicePhoneMobileIcon"; -export { DocumentMinusIcon } from "./DocumentMinusIcon"; -export { DocumentPlusIcon } from "./DocumentPlusIcon"; -export { EnvelopeIcon } from "./EnvelopeIcon"; -export { GlobeAltIcon } from "./GlobeAltIcon"; -export { PencilSquareIcon } from "./PencilSquareIcon"; -export { PhoneIcon } from "./PhoneIcon"; -export { PrinterIcon } from "./PrinterIcon"; +export { BuildingOfficeIcon } from './BuildingOfficeIcon'; +export { CheckCircleIcon } from './CheckCircleIcon'; +export { DevicePhoneMobileIcon } from './DevicePhoneMobileIcon'; +export { DocumentMinusIcon } from './DocumentMinusIcon'; +export { DocumentPlusIcon } from './DocumentPlusIcon'; +export { EnvelopeIcon } from './EnvelopeIcon'; +export { GlobeAltIcon } from './GlobeAltIcon'; +export { PencilSquareIcon } from './PencilSquareIcon'; +export { PhoneIcon } from './PhoneIcon'; +export { PrinterIcon } from './PrinterIcon'; \ No newline at end of file