@central-icons-react/square-filled-radius-0-stroke-1 1.0.8 → 1.1.1
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/IconFinder1/index.d.ts +4 -0
- package/IconFinder1/index.js +2 -0
- package/IconFinder1/index.js.map +1 -0
- package/IconFinder1/index.mjs +2 -0
- package/IconFinder1/index.mjs.map +1 -0
- package/IconRockingHorse/index.d.ts +4 -0
- package/IconRockingHorse/index.js +2 -0
- package/IconRockingHorse/index.js.map +1 -0
- package/IconRockingHorse/index.mjs +2 -0
- package/IconRockingHorse/index.mjs.map +1 -0
- package/README.md +25 -19
- package/icons/index.d.ts +2 -0
- package/icons/index.js +1 -1
- package/icons/index.js.map +1 -1
- package/icons/index.mjs +1 -1
- package/icons/index.mjs.map +1 -1
- package/icons-index.json +8 -4
- package/index.d.ts +4234 -11
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/license-check.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var f=Object.create;var n=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var B=(e,r)=>{for(var o in r)n(e,o,{get:r[o],enumerable:!0})},a=(e,r,o,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of u(r))!x.call(e,t)&&t!==o&&n(e,t,{get:()=>r[t],enumerable:!(C=d(r,t))||C.enumerable});return e};var s=(e,r,o)=>(o=e!=null?f(g(e)):{},a(r||!e||!e.__esModule?n(o,"default",{value:e,enumerable:!0}):o,e)),I=e=>a(n({},"__esModule",{value:!0}),e);var v={};B(v,{IconFinder1:()=>m,default:()=>h});module.exports=I(v);var l=s(require("react"));var p=s(require("react")),i=({children:e,size:r=24,ariaLabel:o,color:C,ariaHidden:t=!0,style:V,...c})=>p.default.createElement("svg",{...c,"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:C,...V}},o&&!t&&p.default.createElement("title",null,o),e);var m=e=>l.default.createElement(i,{...e,ariaLabel:"finder"},l.default.createElement("path",{d:"M15.6944 8.09424C15.9858 8.09424 16.2221 8.33065 16.2222 8.62202V9.46625C16.2222 9.75774 15.9859 9.99403 15.6944 9.99403C15.403 9.99403 15.1667 9.75774 15.1667 9.46625V8.62202C15.1668 8.33065 15.403 8.09424 15.6944 8.09424Z",fill:"currentColor"}),l.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.75 2.5C19.3734 2.5 21.5 4.62665 21.5 7.25V16.75C21.5 19.3734 19.3734 21.5 16.75 21.5H7.25C4.62665 21.5 2.5 19.3734 2.5 16.75V7.25C2.5 4.62665 4.62665 2.5 7.25 2.5H16.75ZM13.9761 4.08333C13.2738 4.08347 12.6558 4.54658 12.4577 5.22032L10.3517 12.3793C10.2527 12.7171 10.5058 13.0554 10.8579 13.0556H12.5278V16.4923C13.9572 16.3794 15.42 15.8081 16.9778 14.7327C17.2176 14.5671 17.5461 14.627 17.7118 14.8667C17.8773 15.1065 17.8174 15.435 17.5777 15.6006C15.8806 16.7723 14.2146 17.4348 12.5278 17.5499V18.3333C12.5278 19.2078 13.2367 19.9167 14.1111 19.9167H16.75C18.4989 19.9167 19.9167 18.4989 19.9167 16.75V7.25C19.9167 5.5011 18.4989 4.08333 16.75 4.08333H13.9761ZM7.02219 14.7327C6.78244 14.5672 6.45394 14.6271 6.28825 14.8667C6.12274 15.1065 6.1826 15.435 6.42225 15.6006C8.29605 16.8942 10.1321 17.5705 12 17.5705C12.1762 17.5705 12.3521 17.5619 12.5278 17.5499V16.4923C12.3514 16.5062 12.1755 16.515 12 16.515C10.4025 16.515 8.77214 15.9407 7.02219 14.7327ZM7.25 8.09424C6.9586 8.09424 6.72236 8.33065 6.72222 8.62202V9.46625C6.72222 9.75774 6.95852 9.99403 7.25 9.99403C7.54148 9.99403 7.77778 9.75774 7.77778 9.46625V8.62202C7.77764 8.33065 7.5414 8.09424 7.25 8.09424Z",fill:"currentColor"})),h=m;0&&(module.exports={IconFinder1});
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/IconFinder1/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconFinder1: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"finder\">\n <path\n d=\"M15.6944 8.09424C15.9858 8.09424 16.2221 8.33065 16.2222 8.62202V9.46625C16.2222 9.75774 15.9859 9.99403 15.6944 9.99403C15.403 9.99403 15.1667 9.75774 15.1667 9.46625V8.62202C15.1668 8.33065 15.403 8.09424 15.6944 8.09424Z\"\n fill=\"currentColor\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M16.75 2.5C19.3734 2.5 21.5 4.62665 21.5 7.25V16.75C21.5 19.3734 19.3734 21.5 16.75 21.5H7.25C4.62665 21.5 2.5 19.3734 2.5 16.75V7.25C2.5 4.62665 4.62665 2.5 7.25 2.5H16.75ZM13.9761 4.08333C13.2738 4.08347 12.6558 4.54658 12.4577 5.22032L10.3517 12.3793C10.2527 12.7171 10.5058 13.0554 10.8579 13.0556H12.5278V16.4923C13.9572 16.3794 15.42 15.8081 16.9778 14.7327C17.2176 14.5671 17.5461 14.627 17.7118 14.8667C17.8773 15.1065 17.8174 15.435 17.5777 15.6006C15.8806 16.7723 14.2146 17.4348 12.5278 17.5499V18.3333C12.5278 19.2078 13.2367 19.9167 14.1111 19.9167H16.75C18.4989 19.9167 19.9167 18.4989 19.9167 16.75V7.25C19.9167 5.5011 18.4989 4.08333 16.75 4.08333H13.9761ZM7.02219 14.7327C6.78244 14.5672 6.45394 14.6271 6.28825 14.8667C6.12274 15.1065 6.1826 15.435 6.42225 15.6006C8.29605 16.8942 10.1321 17.5705 12 17.5705C12.1762 17.5705 12.3521 17.5619 12.5278 17.5499V16.4923C12.3514 16.5062 12.1755 16.515 12 16.515C10.4025 16.515 8.77214 15.9407 7.02219 14.7327ZM7.25 8.09424C6.9586 8.09424 6.72236 8.33065 6.72222 8.62202V9.46625C6.72222 9.75774 6.95852 9.99403 7.25 9.99403C7.54148 9.99403 7.77778 9.75774 7.77778 9.46625V8.62202C7.77764 8.33065 7.5414 8.09424 7.25 8.09424Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconFinder1;\n","import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n} & SVGProps<SVGSVGElement>;\n\nexport const CentralIconBase: React.FC<\n CentralIconBaseProps & { ariaLabel?: string }\n> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden = true,\n style,\n ...props\n}) => {\n return (\n <svg\n {...props}\n aria-hidden={ariaHidden}\n role={ariaHidden ? undefined : \"img\"}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {ariaLabel && !ariaHidden && <title>{ariaLabel}</title>}\n {children}\n </svg>\n );\n};\n"],"mappings":"0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iBAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAkB,oBCAlB,IAAAC,EAAkB,oBAQLC,EAET,CAAC,CACH,SAAAC,EACA,KAAAC,EAAO,GACP,UAAAC,EACA,MAAAC,EACA,WAAAC,EAAa,GACb,MAAAC,EACA,GAAGC,CACL,IAEI,EAAAC,QAAA,cAAC,OACE,GAAGD,EACJ,cAAaF,EACb,KAAMA,EAAa,OAAY,MAC/B,MAAO,OAAOH,GAAS,SAAW,GAAGA,CAAI,KAAOA,EAChD,OAAQ,OAAOA,GAAS,SAAW,GAAGA,CAAI,KAAOA,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,MAAAE,EAAO,GAAGE,CAAM,GAExBH,GAAa,CAACE,GAAc,EAAAG,QAAA,cAAC,aAAOL,CAAU,EAC9CF,CACH,ED9BG,IAAMQ,EAA+CC,GAExD,EAAAC,QAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,UACpC,EAAAC,QAAA,cAAC,QACC,EAAE,kOACF,KAAK,eACP,EACA,EAAAA,QAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,mqCACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["IconFinder1_exports","__export","IconFinder1","IconFinder1_default","__toCommonJS","import_react","import_react","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","React","IconFinder1","props","React","CentralIconBase","IconFinder1_default"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import t from"react";import n from"react";var l=({children:r,size:e=24,ariaLabel:C,color:p,ariaHidden:o=!0,style:a,...s})=>n.createElement("svg",{...s,"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:p,...a}},C&&!o&&n.createElement("title",null,C),r);var i=r=>t.createElement(l,{...r,ariaLabel:"finder"},t.createElement("path",{d:"M15.6944 8.09424C15.9858 8.09424 16.2221 8.33065 16.2222 8.62202V9.46625C16.2222 9.75774 15.9859 9.99403 15.6944 9.99403C15.403 9.99403 15.1667 9.75774 15.1667 9.46625V8.62202C15.1668 8.33065 15.403 8.09424 15.6944 8.09424Z",fill:"currentColor"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.75 2.5C19.3734 2.5 21.5 4.62665 21.5 7.25V16.75C21.5 19.3734 19.3734 21.5 16.75 21.5H7.25C4.62665 21.5 2.5 19.3734 2.5 16.75V7.25C2.5 4.62665 4.62665 2.5 7.25 2.5H16.75ZM13.9761 4.08333C13.2738 4.08347 12.6558 4.54658 12.4577 5.22032L10.3517 12.3793C10.2527 12.7171 10.5058 13.0554 10.8579 13.0556H12.5278V16.4923C13.9572 16.3794 15.42 15.8081 16.9778 14.7327C17.2176 14.5671 17.5461 14.627 17.7118 14.8667C17.8773 15.1065 17.8174 15.435 17.5777 15.6006C15.8806 16.7723 14.2146 17.4348 12.5278 17.5499V18.3333C12.5278 19.2078 13.2367 19.9167 14.1111 19.9167H16.75C18.4989 19.9167 19.9167 18.4989 19.9167 16.75V7.25C19.9167 5.5011 18.4989 4.08333 16.75 4.08333H13.9761ZM7.02219 14.7327C6.78244 14.5672 6.45394 14.6271 6.28825 14.8667C6.12274 15.1065 6.1826 15.435 6.42225 15.6006C8.29605 16.8942 10.1321 17.5705 12 17.5705C12.1762 17.5705 12.3521 17.5619 12.5278 17.5499V16.4923C12.3514 16.5062 12.1755 16.515 12 16.515C10.4025 16.515 8.77214 15.9407 7.02219 14.7327ZM7.25 8.09424C6.9586 8.09424 6.72236 8.33065 6.72222 8.62202V9.46625C6.72222 9.75774 6.95852 9.99403 7.25 9.99403C7.54148 9.99403 7.77778 9.75774 7.77778 9.46625V8.62202C7.77764 8.33065 7.5414 8.09424 7.25 8.09424Z",fill:"currentColor"})),d=i;export{i as IconFinder1,d as default};
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/IconFinder1/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconFinder1: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"finder\">\n <path\n d=\"M15.6944 8.09424C15.9858 8.09424 16.2221 8.33065 16.2222 8.62202V9.46625C16.2222 9.75774 15.9859 9.99403 15.6944 9.99403C15.403 9.99403 15.1667 9.75774 15.1667 9.46625V8.62202C15.1668 8.33065 15.403 8.09424 15.6944 8.09424Z\"\n fill=\"currentColor\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M16.75 2.5C19.3734 2.5 21.5 4.62665 21.5 7.25V16.75C21.5 19.3734 19.3734 21.5 16.75 21.5H7.25C4.62665 21.5 2.5 19.3734 2.5 16.75V7.25C2.5 4.62665 4.62665 2.5 7.25 2.5H16.75ZM13.9761 4.08333C13.2738 4.08347 12.6558 4.54658 12.4577 5.22032L10.3517 12.3793C10.2527 12.7171 10.5058 13.0554 10.8579 13.0556H12.5278V16.4923C13.9572 16.3794 15.42 15.8081 16.9778 14.7327C17.2176 14.5671 17.5461 14.627 17.7118 14.8667C17.8773 15.1065 17.8174 15.435 17.5777 15.6006C15.8806 16.7723 14.2146 17.4348 12.5278 17.5499V18.3333C12.5278 19.2078 13.2367 19.9167 14.1111 19.9167H16.75C18.4989 19.9167 19.9167 18.4989 19.9167 16.75V7.25C19.9167 5.5011 18.4989 4.08333 16.75 4.08333H13.9761ZM7.02219 14.7327C6.78244 14.5672 6.45394 14.6271 6.28825 14.8667C6.12274 15.1065 6.1826 15.435 6.42225 15.6006C8.29605 16.8942 10.1321 17.5705 12 17.5705C12.1762 17.5705 12.3521 17.5619 12.5278 17.5499V16.4923C12.3514 16.5062 12.1755 16.515 12 16.515C10.4025 16.515 8.77214 15.9407 7.02219 14.7327ZM7.25 8.09424C6.9586 8.09424 6.72236 8.33065 6.72222 8.62202V9.46625C6.72222 9.75774 6.95852 9.99403 7.25 9.99403C7.54148 9.99403 7.77778 9.75774 7.77778 9.46625V8.62202C7.77764 8.33065 7.5414 8.09424 7.25 8.09424Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconFinder1;\n","import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n} & SVGProps<SVGSVGElement>;\n\nexport const CentralIconBase: React.FC<\n CentralIconBaseProps & { ariaLabel?: string }\n> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden = true,\n style,\n ...props\n}) => {\n return (\n <svg\n {...props}\n aria-hidden={ariaHidden}\n role={ariaHidden ? undefined : \"img\"}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {ariaLabel && !ariaHidden && <title>{ariaLabel}</title>}\n {children}\n </svg>\n );\n};\n"],"mappings":"AAAA,OAAOA,MAAW,QCAlB,OAAOC,MAAW,QAQX,IAAMC,EAET,CAAC,CACH,SAAAC,EACA,KAAAC,EAAO,GACP,UAAAC,EACA,MAAAC,EACA,WAAAC,EAAa,GACb,MAAAC,EACA,GAAGC,CACL,IAEIR,EAAA,cAAC,OACE,GAAGQ,EACJ,cAAaF,EACb,KAAMA,EAAa,OAAY,MAC/B,MAAO,OAAOH,GAAS,SAAW,GAAGA,CAAI,KAAOA,EAChD,OAAQ,OAAOA,GAAS,SAAW,GAAGA,CAAI,KAAOA,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,MAAAE,EAAO,GAAGE,CAAM,GAExBH,GAAa,CAACE,GAAcN,EAAA,cAAC,aAAOI,CAAU,EAC9CF,CACH,ED9BG,IAAMO,EAA+CC,GAExDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,UACpCC,EAAA,cAAC,QACC,EAAE,kOACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,mqCACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconFinder1","props","React","CentralIconBase","IconFinder1_default"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var d=Object.create;var l=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var x=(e,o)=>{for(var r in o)l(e,r,{get:o[r],enumerable:!0})},s=(e,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of u(o))!h.call(e,t)&&t!==r&&l(e,t,{get:()=>o[t],enumerable:!(n=f(o,t))||n.enumerable});return e};var C=(e,o,r)=>(r=e!=null?d(g(e)):{},s(o||!e||!e.__esModule?l(r,"default",{value:e,enumerable:!0}):r,e)),B=e=>s(l({},"__esModule",{value:!0}),e);var y={};x(y,{IconRockingHorse:()=>c,default:()=>I});module.exports=B(y);var a=C(require("react"));var p=C(require("react")),i=({children:e,size:o=24,ariaLabel:r,color:n,ariaHidden:t=!0,style:L,...m})=>p.default.createElement("svg",{...m,"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:n,...L}},r&&!t&&p.default.createElement("title",null,r),e);var c=e=>a.default.createElement(i,{...e,ariaLabel:"rocking-horse, child, kids, toy"},a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 7.5L20 9L18 8L17 10L19.8418 18.5273C20.2944 18.2419 20.749 17.9343 21.2021 17.5986L21.6045 17.3008L22.1992 18.1045L21.7979 18.4014C18.5819 20.7836 15.3048 22 12 22C8.6952 22 5.4181 20.7836 2.20215 18.4014L1.80078 18.1045L2.39551 17.3008L2.79785 17.5986C3.24256 17.928 3.6886 18.2307 4.13281 18.5117L6.72754 9H5.5C4.11929 9 3 10.1193 3 11.5V12H2V11.5C2 9.567 3.567 8 5.5 8H12.5L13.4619 5.69238C14.3935 3.45654 16.5778 2 19 2L22 7.5ZM7.62305 20.2285C9.08746 20.743 10.5465 21 12 21C13.4532 21 14.9119 20.7428 16.376 20.2285L14 15H10L7.62305 20.2285Z",fill:"currentColor"})),I=c;0&&(module.exports={IconRockingHorse});
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/IconRockingHorse/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconRockingHorse: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"rocking-horse, child, kids, toy\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M22 7.5L20 9L18 8L17 10L19.8418 18.5273C20.2944 18.2419 20.749 17.9343 21.2021 17.5986L21.6045 17.3008L22.1992 18.1045L21.7979 18.4014C18.5819 20.7836 15.3048 22 12 22C8.6952 22 5.4181 20.7836 2.20215 18.4014L1.80078 18.1045L2.39551 17.3008L2.79785 17.5986C3.24256 17.928 3.6886 18.2307 4.13281 18.5117L6.72754 9H5.5C4.11929 9 3 10.1193 3 11.5V12H2V11.5C2 9.567 3.567 8 5.5 8H12.5L13.4619 5.69238C14.3935 3.45654 16.5778 2 19 2L22 7.5ZM7.62305 20.2285C9.08746 20.743 10.5465 21 12 21C13.4532 21 14.9119 20.7428 16.376 20.2285L14 15H10L7.62305 20.2285Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconRockingHorse;\n","import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n} & SVGProps<SVGSVGElement>;\n\nexport const CentralIconBase: React.FC<\n CentralIconBaseProps & { ariaLabel?: string }\n> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden = true,\n style,\n ...props\n}) => {\n return (\n <svg\n {...props}\n aria-hidden={ariaHidden}\n role={ariaHidden ? undefined : \"img\"}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {ariaLabel && !ariaHidden && <title>{ariaLabel}</title>}\n {children}\n </svg>\n );\n};\n"],"mappings":"0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,sBAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAAkB,oBCAlB,IAAAC,EAAkB,oBAQLC,EAET,CAAC,CACH,SAAAC,EACA,KAAAC,EAAO,GACP,UAAAC,EACA,MAAAC,EACA,WAAAC,EAAa,GACb,MAAAC,EACA,GAAGC,CACL,IAEI,EAAAC,QAAA,cAAC,OACE,GAAGD,EACJ,cAAaF,EACb,KAAMA,EAAa,OAAY,MAC/B,MAAO,OAAOH,GAAS,SAAW,GAAGA,CAAI,KAAOA,EAChD,OAAQ,OAAOA,GAAS,SAAW,GAAGA,CAAI,KAAOA,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,MAAAE,EAAO,GAAGE,CAAM,GAExBH,GAAa,CAACE,GAAc,EAAAG,QAAA,cAAC,aAAOL,CAAU,EAC9CF,CACH,ED9BG,IAAMQ,EAAoDC,GAE7D,EAAAC,QAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,mCACpC,EAAAC,QAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,0iBACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["IconRockingHorse_exports","__export","IconRockingHorse","IconRockingHorse_default","__toCommonJS","import_react","import_react","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","React","IconRockingHorse","props","React","CentralIconBase","IconRockingHorse_default"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import p from"react";import n from"react";var l=({children:o,size:e=24,ariaLabel:t,color:a,ariaHidden:r=!0,style:s,...C})=>n.createElement("svg",{...C,"aria-hidden":r,role:r?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,...s}},t&&!r&&n.createElement("title",null,t),o);var i=o=>p.createElement(l,{...o,ariaLabel:"rocking-horse, child, kids, toy"},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 7.5L20 9L18 8L17 10L19.8418 18.5273C20.2944 18.2419 20.749 17.9343 21.2021 17.5986L21.6045 17.3008L22.1992 18.1045L21.7979 18.4014C18.5819 20.7836 15.3048 22 12 22C8.6952 22 5.4181 20.7836 2.20215 18.4014L1.80078 18.1045L2.39551 17.3008L2.79785 17.5986C3.24256 17.928 3.6886 18.2307 4.13281 18.5117L6.72754 9H5.5C4.11929 9 3 10.1193 3 11.5V12H2V11.5C2 9.567 3.567 8 5.5 8H12.5L13.4619 5.69238C14.3935 3.45654 16.5778 2 19 2L22 7.5ZM7.62305 20.2285C9.08746 20.743 10.5465 21 12 21C13.4532 21 14.9119 20.7428 16.376 20.2285L14 15H10L7.62305 20.2285Z",fill:"currentColor"})),f=i;export{i as IconRockingHorse,f as default};
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/IconRockingHorse/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconRockingHorse: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"rocking-horse, child, kids, toy\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M22 7.5L20 9L18 8L17 10L19.8418 18.5273C20.2944 18.2419 20.749 17.9343 21.2021 17.5986L21.6045 17.3008L22.1992 18.1045L21.7979 18.4014C18.5819 20.7836 15.3048 22 12 22C8.6952 22 5.4181 20.7836 2.20215 18.4014L1.80078 18.1045L2.39551 17.3008L2.79785 17.5986C3.24256 17.928 3.6886 18.2307 4.13281 18.5117L6.72754 9H5.5C4.11929 9 3 10.1193 3 11.5V12H2V11.5C2 9.567 3.567 8 5.5 8H12.5L13.4619 5.69238C14.3935 3.45654 16.5778 2 19 2L22 7.5ZM7.62305 20.2285C9.08746 20.743 10.5465 21 12 21C13.4532 21 14.9119 20.7428 16.376 20.2285L14 15H10L7.62305 20.2285Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconRockingHorse;\n","import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n} & SVGProps<SVGSVGElement>;\n\nexport const CentralIconBase: React.FC<\n CentralIconBaseProps & { ariaLabel?: string }\n> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden = true,\n style,\n ...props\n}) => {\n return (\n <svg\n {...props}\n aria-hidden={ariaHidden}\n role={ariaHidden ? undefined : \"img\"}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {ariaLabel && !ariaHidden && <title>{ariaLabel}</title>}\n {children}\n </svg>\n );\n};\n"],"mappings":"AAAA,OAAOA,MAAW,QCAlB,OAAOC,MAAW,QAQX,IAAMC,EAET,CAAC,CACH,SAAAC,EACA,KAAAC,EAAO,GACP,UAAAC,EACA,MAAAC,EACA,WAAAC,EAAa,GACb,MAAAC,EACA,GAAGC,CACL,IAEIR,EAAA,cAAC,OACE,GAAGQ,EACJ,cAAaF,EACb,KAAMA,EAAa,OAAY,MAC/B,MAAO,OAAOH,GAAS,SAAW,GAAGA,CAAI,KAAOA,EAChD,OAAQ,OAAOA,GAAS,SAAW,GAAGA,CAAI,KAAOA,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,MAAAE,EAAO,GAAGE,CAAM,GAExBH,GAAa,CAACE,GAAcN,EAAA,cAAC,aAAOI,CAAU,EAC9CF,CACH,ED9BG,IAAMO,EAAoDC,GAE7DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,mCACpCC,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,0iBACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconRockingHorse","props","React","CentralIconBase","IconRockingHorse_default"]}
|
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ npm install central-icons@npm:@central-icons-react/square-filled-radius-0-stroke
|
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
```jsx
|
|
29
|
-
import { IconHome } from "central-icons
|
|
29
|
+
import { IconHome } from "central-icons";
|
|
30
30
|
|
|
31
31
|
function MyComponent() {
|
|
32
32
|
return <IconHome />;
|
|
@@ -56,29 +56,38 @@ pnpm add @central-icons-react/square-filled-radius-0-stroke-1
|
|
|
56
56
|
|
|
57
57
|
## Usage
|
|
58
58
|
|
|
59
|
-
###
|
|
59
|
+
### Direct Import (Recommended)
|
|
60
60
|
|
|
61
|
-
Icons can be imported
|
|
61
|
+
Icons can be imported directly from the package root for convenience:
|
|
62
62
|
|
|
63
63
|
```jsx
|
|
64
|
-
import { IconHome } from "@central-icons-react/square-filled-radius-0-stroke-1
|
|
64
|
+
import { IconHome } from "@central-icons-react/square-filled-radius-0-stroke-1";
|
|
65
65
|
|
|
66
66
|
function MyComponent() {
|
|
67
67
|
return <IconHome />;
|
|
68
68
|
}
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
If you want to have a bit cleaner imports (and you are just using one icon type), you can use import aliases
|
|
74
|
-
(Requires npm at least v6.9.0 or yarn)
|
|
71
|
+
Or with an alias for cleaner imports:
|
|
75
72
|
|
|
76
73
|
```bash
|
|
77
74
|
npm install central-icons@npm:@central-icons-react/square-filled-radius-0-stroke-1
|
|
78
75
|
```
|
|
79
76
|
|
|
80
77
|
```jsx
|
|
81
|
-
import { IconHome } from "central-icons
|
|
78
|
+
import { IconHome } from "central-icons";
|
|
79
|
+
|
|
80
|
+
function MyComponent() {
|
|
81
|
+
return <IconHome />;
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Individual Path Imports
|
|
86
|
+
|
|
87
|
+
For advanced tree-shaking or when you prefer explicit paths:
|
|
88
|
+
|
|
89
|
+
```jsx
|
|
90
|
+
import { IconHome } from "@central-icons-react/square-filled-radius-0-stroke-1/IconHome";
|
|
82
91
|
|
|
83
92
|
function MyComponent() {
|
|
84
93
|
return <IconHome />;
|
|
@@ -101,16 +110,11 @@ function MyComponent() {
|
|
|
101
110
|
|
|
102
111
|
All icons accept the following properties:
|
|
103
112
|
|
|
104
|
-
| Prop | Type
|
|
105
|
-
| ------------ |
|
|
106
|
-
| `size` | `number \| string`
|
|
107
|
-
| `color` | `string`
|
|
108
|
-
| `ariaHidden` | `boolean`
|
|
109
|
-
| `iconJoin` | `"round" \| "square"` | `"round"` | Controls the icon's corner style |
|
|
110
|
-
| `iconFill` | `"filled" \| "outlined"` | `"filled"` | Sets the icon's fill style |
|
|
111
|
-
| `iconStroke` | `"1" \| "1.5" \| "2"` | `"1"` | Controls the stroke width |
|
|
112
|
-
| `iconRadius` | `"0" \| "1" \| "2" \| "3"` | `"1"` | Sets the corner radius |
|
|
113
|
-
| `name` | `string` | none | Defines which icon should be used - see [Icons List](#icons) |
|
|
113
|
+
| Prop | Type | Default | Description |
|
|
114
|
+
| ------------ | ------------------ | -------------- | -------------------------------------- |
|
|
115
|
+
| `size` | `number \| string` | `24` | Sets both width and height of the icon |
|
|
116
|
+
| `color` | `string` | `currentColor` | Sets the icon color |
|
|
117
|
+
| `ariaHidden` | `boolean` | `true` | Controls icon accessibility attributes |
|
|
114
118
|
|
|
115
119
|
Additionally, all standard SVG and HTML attributes are supported.
|
|
116
120
|
|
|
@@ -1365,6 +1369,7 @@ Below is a complete list of available icons:
|
|
|
1365
1369
|
- IconFacebook
|
|
1366
1370
|
- IconFacebookMessenger
|
|
1367
1371
|
- IconFigma
|
|
1372
|
+
- IconFinder1
|
|
1368
1373
|
- IconFirefox
|
|
1369
1374
|
- IconFramer
|
|
1370
1375
|
- IconGemini
|
|
@@ -1616,6 +1621,7 @@ Below is a complete list of available icons:
|
|
|
1616
1621
|
- IconReadingList
|
|
1617
1622
|
- IconReceiptionBell
|
|
1618
1623
|
- IconRescueRing
|
|
1624
|
+
- IconRockingHorse
|
|
1619
1625
|
- IconScissors1
|
|
1620
1626
|
- IconScissors2
|
|
1621
1627
|
- IconShovel
|
package/icons/index.d.ts
CHANGED
|
@@ -649,6 +649,7 @@ export type CentralIconName =
|
|
|
649
649
|
| "IconFilterDescending"
|
|
650
650
|
| "IconFilterTimeline"
|
|
651
651
|
| "IconFinder"
|
|
652
|
+
| "IconFinder1"
|
|
652
653
|
| "IconFinderFace"
|
|
653
654
|
| "IconFingerPrint1"
|
|
654
655
|
| "IconFingerPrint2"
|
|
@@ -1153,6 +1154,7 @@ export type CentralIconName =
|
|
|
1153
1154
|
| "IconRobinhood"
|
|
1154
1155
|
| "IconRobot"
|
|
1155
1156
|
| "IconRocket"
|
|
1157
|
+
| "IconRockingHorse"
|
|
1156
1158
|
| "IconRoller"
|
|
1157
1159
|
| "IconRose"
|
|
1158
1160
|
| "IconRotate"
|