@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 +2 -0
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
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,
|
|
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
|
|
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":"
|
|
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"]}
|