@central-icons-react/all 0.0.8 → 0.0.9

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/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export type {
4
4
  CentralIconName,
5
5
  CentralIconCategory,
6
6
  } from "@central-icons-react/round-filled-radius-0-stroke-1";
7
+ import type { CentralIconName } from "@central-icons-react/round-filled-radius-0-stroke-1";
7
8
  export type CentralIconJoin = "round" | "square";
8
9
  export type CentralIconFill = "filled" | "outlined";
9
10
  export type CentralIconRadius = "0" | "1" | "2" | "3";
@@ -13,6 +14,7 @@ export type CentralIconProps = {
13
14
  fill: CentralIconFill;
14
15
  radius: CentralIconRadius;
15
16
  stroke: CentralIconStroke;
17
+ name: CentralIconName;
16
18
  } & typeof IconHome;
17
19
  export declare const CentralIcon: React.FC<CentralIconProps>;
18
20
  export default CentralIcon;
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var d=(o,e)=>{for(var t in e)a(o,t,{get:e[t],enumerable:!0})},u=(o,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of s(e))!I.call(o,r)&&r!==t&&a(o,r,{get:()=>e[r],enumerable:!(n=p(e,r))||n.enumerable});return o};var C=o=>u(a({},"__esModule",{value:!0}),o);var m={};d(m,{CentralIcon:()=>l,default:()=>f});module.exports=C(m);var l=({name:o,join:e,fill:t,radius:n,stroke:r,...c})=>{let i=`@central-icons-react/${e}-${t}-radius-${n}-stroke-${r}/${o}`;return require(i).default(c)},f=l;0&&(module.exports={CentralIcon});
1
+ "use strict";var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var I=(r,e)=>{for(var t in e)a(r,t,{get:e[t],enumerable:!0})},u=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of s(e))!d.call(r,o)&&o!==t&&a(r,o,{get:()=>e[o],enumerable:!(n=p(e,o))||n.enumerable});return r};var C=r=>u(a({},"__esModule",{value:!0}),r);var f={};I(f,{CentralIcon:()=>l,default:()=>m});module.exports=C(f);var l=({name:r,join:e,fill:t,radius:n,stroke:o,...c})=>{let i=`@central-icons-react/${e}-${t}-radius-${n}-stroke-${o}/${r}`;return require(i).default(c)},m=l;0&&(module.exports={CentralIcon});
2
2
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["src/index.ts"],"sourcesContent":["import React from \"react\";\nimport type { IconHome } from \"@central-icons-react/round-filled-radius-0-stroke-1/IconHome\";\nexport type {\n CentralIconName,\n CentralIconCategory,\n} from \"@central-icons-react/round-filled-radius-0-stroke-1\";\n\nexport type CentralIconJoin = \"round\" | \"square\";\nexport type CentralIconFill = \"filled\" | \"outlined\";\nexport type CentralIconRadius = \"0\" | \"1\" | \"2\" | \"3\";\nexport type CentralIconStroke = \"1\" | \"1.5\" | \"2\";\n\nexport type CentralIconProps = {\n join: CentralIconJoin;\n fill: CentralIconFill;\n radius: CentralIconRadius;\n stroke: CentralIconStroke;\n} & typeof IconHome;\n\nexport const CentralIcon: React.FC<CentralIconProps> = ({\n name,\n join,\n fill,\n radius,\n stroke,\n ...props\n}) => {\n const packageName = `@central-icons-react/${join}-${fill}-radius-${radius}-stroke-${stroke}/${name}`;\n return require(packageName).default(props);\n};\n\nexport default CentralIcon;\n"],"mappings":"yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iBAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAmBO,IAAME,EAA0C,CAAC,CACtD,KAAAG,EACA,KAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,GAAGC,CACL,IAAM,CACJ,IAAMC,EAAc,wBAAwBL,CAAI,IAAIC,CAAI,WAAWC,CAAM,WAAWC,CAAM,IAAIJ,CAAI,GAClG,OAAO,QAAQM,CAAW,EAAE,QAAQD,CAAK,CAC3C,EAEOP,EAAQD","names":["index_exports","__export","CentralIcon","index_default","__toCommonJS","name","join","fill","radius","stroke","props","packageName"]}
1
+ {"version":3,"sources":["src/index.ts"],"sourcesContent":["import React from \"react\";\nimport type { IconHome } from \"@central-icons-react/round-filled-radius-0-stroke-1/IconHome\";\nexport type {\n CentralIconName,\n CentralIconCategory,\n} from \"@central-icons-react/round-filled-radius-0-stroke-1\";\nimport type { CentralIconName } from \"@central-icons-react/round-filled-radius-0-stroke-1\";\n\nexport type CentralIconJoin = \"round\" | \"square\";\nexport type CentralIconFill = \"filled\" | \"outlined\";\nexport type CentralIconRadius = \"0\" | \"1\" | \"2\" | \"3\";\nexport type CentralIconStroke = \"1\" | \"1.5\" | \"2\";\n\nexport type CentralIconProps = {\n join: CentralIconJoin;\n fill: CentralIconFill;\n radius: CentralIconRadius;\n stroke: CentralIconStroke;\n name: CentralIconName;\n} & typeof IconHome;\n\nexport const CentralIcon: React.FC<CentralIconProps> = ({\n name,\n join,\n fill,\n radius,\n stroke,\n ...props\n}) => {\n const packageName = `@central-icons-react/${join}-${fill}-radius-${radius}-stroke-${stroke}/${name}`;\n return require(packageName).default(props);\n};\n\nexport default CentralIcon;\n"],"mappings":"yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iBAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAqBO,IAAME,EAA0C,CAAC,CACtD,KAAAG,EACA,KAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,GAAGC,CACL,IAAM,CACJ,IAAMC,EAAc,wBAAwBL,CAAI,IAAIC,CAAI,WAAWC,CAAM,WAAWC,CAAM,IAAIJ,CAAI,GAClG,OAAO,QAAQM,CAAW,EAAE,QAAQD,CAAK,CAC3C,EAEOP,EAAQD","names":["index_exports","__export","CentralIcon","index_default","__toCommonJS","name","join","fill","radius","stroke","props","packageName"]}
package/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- var t=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(o,r)=>(typeof require!="undefined"?require:o)[r]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var i=({name:e,join:o,fill:r,radius:n,stroke:a,...l})=>{let c=`@central-icons-react/${o}-${r}-radius-${n}-stroke-${a}/${e}`;return t(c).default(l)},s=i;export{i as CentralIcon,s as default};
1
+ var t=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(r,o)=>(typeof require!="undefined"?require:r)[o]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var i=({name:e,join:r,fill:o,radius:n,stroke:a,...l})=>{let c=`@central-icons-react/${r}-${o}-radius-${n}-stroke-${a}/${e}`;return t(c).default(l)},s=i;export{i as CentralIcon,s as default};
2
2
  //# sourceMappingURL=index.mjs.map
package/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["src/index.ts"],"sourcesContent":["import React from \"react\";\nimport type { IconHome } from \"@central-icons-react/round-filled-radius-0-stroke-1/IconHome\";\nexport type {\n CentralIconName,\n CentralIconCategory,\n} from \"@central-icons-react/round-filled-radius-0-stroke-1\";\n\nexport type CentralIconJoin = \"round\" | \"square\";\nexport type CentralIconFill = \"filled\" | \"outlined\";\nexport type CentralIconRadius = \"0\" | \"1\" | \"2\" | \"3\";\nexport type CentralIconStroke = \"1\" | \"1.5\" | \"2\";\n\nexport type CentralIconProps = {\n join: CentralIconJoin;\n fill: CentralIconFill;\n radius: CentralIconRadius;\n stroke: CentralIconStroke;\n} & typeof IconHome;\n\nexport const CentralIcon: React.FC<CentralIconProps> = ({\n name,\n join,\n fill,\n radius,\n stroke,\n ...props\n}) => {\n const packageName = `@central-icons-react/${join}-${fill}-radius-${radius}-stroke-${stroke}/${name}`;\n return require(packageName).default(props);\n};\n\nexport default CentralIcon;\n"],"mappings":"6RAmBO,IAAMA,EAA0C,CAAC,CACtD,KAAAC,EACA,KAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,GAAGC,CACL,IAAM,CACJ,IAAMC,EAAc,wBAAwBL,CAAI,IAAIC,CAAI,WAAWC,CAAM,WAAWC,CAAM,IAAIJ,CAAI,GAClG,OAAOO,EAAQD,CAAW,EAAE,QAAQD,CAAK,CAC3C,EAEOG,EAAQT","names":["CentralIcon","name","join","fill","radius","stroke","props","packageName","__require","index_default"]}
1
+ {"version":3,"sources":["src/index.ts"],"sourcesContent":["import React from \"react\";\nimport type { IconHome } from \"@central-icons-react/round-filled-radius-0-stroke-1/IconHome\";\nexport type {\n CentralIconName,\n CentralIconCategory,\n} from \"@central-icons-react/round-filled-radius-0-stroke-1\";\nimport type { CentralIconName } from \"@central-icons-react/round-filled-radius-0-stroke-1\";\n\nexport type CentralIconJoin = \"round\" | \"square\";\nexport type CentralIconFill = \"filled\" | \"outlined\";\nexport type CentralIconRadius = \"0\" | \"1\" | \"2\" | \"3\";\nexport type CentralIconStroke = \"1\" | \"1.5\" | \"2\";\n\nexport type CentralIconProps = {\n join: CentralIconJoin;\n fill: CentralIconFill;\n radius: CentralIconRadius;\n stroke: CentralIconStroke;\n name: CentralIconName;\n} & typeof IconHome;\n\nexport const CentralIcon: React.FC<CentralIconProps> = ({\n name,\n join,\n fill,\n radius,\n stroke,\n ...props\n}) => {\n const packageName = `@central-icons-react/${join}-${fill}-radius-${radius}-stroke-${stroke}/${name}`;\n return require(packageName).default(props);\n};\n\nexport default CentralIcon;\n"],"mappings":"6RAqBO,IAAMA,EAA0C,CAAC,CACtD,KAAAC,EACA,KAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,GAAGC,CACL,IAAM,CACJ,IAAMC,EAAc,wBAAwBL,CAAI,IAAIC,CAAI,WAAWC,CAAM,WAAWC,CAAM,IAAIJ,CAAI,GAClG,OAAOO,EAAQD,CAAW,EAAE,QAAQD,CAAK,CAC3C,EAEOG,EAAQT","names":["CentralIcon","name","join","fill","radius","stroke","props","packageName","__require","index_default"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@central-icons-react/all",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "homepage": "https://iconists.co/central",
6
6
  "sideEffects": false,