@central-icons-react/all 0.0.7 → 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/README.md CHANGED
@@ -32,7 +32,7 @@ pnpm add @central-icons-react/all
32
32
 
33
33
  ## Requirements
34
34
 
35
- - React 16.0.0 or higher
35
+ - React 14.0.0 or higher
36
36
  - Valid license key (set as environment variable)
37
37
 
38
38
  ## Usage
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.7",
3
+ "version": "0.0.9",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "homepage": "https://iconists.co/central",
6
6
  "sideEffects": false,
@@ -36,45 +36,45 @@
36
36
  "lint": "prettier --write ."
37
37
  },
38
38
  "peerDependencies": {
39
- "react": "^16.0.0"
39
+ "react": ">=14.0.0 <= 19"
40
40
  },
41
41
  "dependencies": {
42
- "@central-icons-react/round-filled-radius-0-stroke-1.5": "0.0.7",
43
- "@central-icons-react/round-filled-radius-0-stroke-1": "0.0.7",
44
- "@central-icons-react/round-filled-radius-0-stroke-2": "0.0.7",
45
- "@central-icons-react/round-filled-radius-1-stroke-1.5": "0.0.7",
46
- "@central-icons-react/round-filled-radius-1-stroke-1": "0.0.7",
47
- "@central-icons-react/round-filled-radius-1-stroke-2": "0.0.7",
48
- "@central-icons-react/round-filled-radius-2-stroke-1.5": "0.0.7",
49
- "@central-icons-react/round-filled-radius-2-stroke-1": "0.0.7",
50
- "@central-icons-react/round-filled-radius-2-stroke-2": "0.0.7",
51
- "@central-icons-react/round-filled-radius-3-stroke-1.5": "0.0.7",
52
- "@central-icons-react/round-filled-radius-3-stroke-1": "0.0.7",
53
- "@central-icons-react/round-filled-radius-3-stroke-2": "0.0.7",
54
- "@central-icons-react/round-outlined-radius-0-stroke-1.5": "0.0.7",
55
- "@central-icons-react/round-outlined-radius-0-stroke-1": "0.0.7",
56
- "@central-icons-react/round-outlined-radius-0-stroke-2": "0.0.7",
57
- "@central-icons-react/round-outlined-radius-1-stroke-1.5": "0.0.7",
58
- "@central-icons-react/round-outlined-radius-1-stroke-1": "0.0.7",
59
- "@central-icons-react/round-outlined-radius-1-stroke-2": "0.0.7",
60
- "@central-icons-react/round-outlined-radius-2-stroke-1.5": "0.0.7",
61
- "@central-icons-react/round-outlined-radius-2-stroke-1": "0.0.7",
62
- "@central-icons-react/round-outlined-radius-2-stroke-2": "0.0.7",
63
- "@central-icons-react/round-outlined-radius-3-stroke-1.5": "0.0.7",
64
- "@central-icons-react/round-outlined-radius-3-stroke-1": "0.0.7",
65
- "@central-icons-react/round-outlined-radius-3-stroke-2": "0.0.7",
66
- "@central-icons-react/square-filled-radius-0-stroke-1.5": "0.0.7",
67
- "@central-icons-react/square-filled-radius-0-stroke-1": "0.0.7",
68
- "@central-icons-react/square-filled-radius-0-stroke-2": "0.0.7",
69
- "@central-icons-react/square-outlined-radius-0-stroke-1.5": "0.0.7",
70
- "@central-icons-react/square-outlined-radius-0-stroke-1": "0.0.7",
71
- "@central-icons-react/square-outlined-radius-0-stroke-2": "0.0.7"
42
+ "@central-icons-react/round-filled-radius-0-stroke-1.5": "0.0.8",
43
+ "@central-icons-react/round-filled-radius-0-stroke-1": "0.0.8",
44
+ "@central-icons-react/round-filled-radius-0-stroke-2": "0.0.8",
45
+ "@central-icons-react/round-filled-radius-1-stroke-1.5": "0.0.8",
46
+ "@central-icons-react/round-filled-radius-1-stroke-1": "0.0.8",
47
+ "@central-icons-react/round-filled-radius-1-stroke-2": "0.0.8",
48
+ "@central-icons-react/round-filled-radius-2-stroke-1.5": "0.0.8",
49
+ "@central-icons-react/round-filled-radius-2-stroke-1": "0.0.8",
50
+ "@central-icons-react/round-filled-radius-2-stroke-2": "0.0.8",
51
+ "@central-icons-react/round-filled-radius-3-stroke-1.5": "0.0.8",
52
+ "@central-icons-react/round-filled-radius-3-stroke-1": "0.0.8",
53
+ "@central-icons-react/round-filled-radius-3-stroke-2": "0.0.8",
54
+ "@central-icons-react/round-outlined-radius-0-stroke-1.5": "0.0.8",
55
+ "@central-icons-react/round-outlined-radius-0-stroke-1": "0.0.8",
56
+ "@central-icons-react/round-outlined-radius-0-stroke-2": "0.0.8",
57
+ "@central-icons-react/round-outlined-radius-1-stroke-1.5": "0.0.8",
58
+ "@central-icons-react/round-outlined-radius-1-stroke-1": "0.0.8",
59
+ "@central-icons-react/round-outlined-radius-1-stroke-2": "0.0.8",
60
+ "@central-icons-react/round-outlined-radius-2-stroke-1.5": "0.0.8",
61
+ "@central-icons-react/round-outlined-radius-2-stroke-1": "0.0.8",
62
+ "@central-icons-react/round-outlined-radius-2-stroke-2": "0.0.8",
63
+ "@central-icons-react/round-outlined-radius-3-stroke-1.5": "0.0.8",
64
+ "@central-icons-react/round-outlined-radius-3-stroke-1": "0.0.8",
65
+ "@central-icons-react/round-outlined-radius-3-stroke-2": "0.0.8",
66
+ "@central-icons-react/square-filled-radius-0-stroke-1.5": "0.0.8",
67
+ "@central-icons-react/square-filled-radius-0-stroke-1": "0.0.8",
68
+ "@central-icons-react/square-filled-radius-0-stroke-2": "0.0.8",
69
+ "@central-icons-react/square-outlined-radius-0-stroke-1.5": "0.0.8",
70
+ "@central-icons-react/square-outlined-radius-0-stroke-1": "0.0.8",
71
+ "@central-icons-react/square-outlined-radius-0-stroke-2": "0.0.8"
72
72
  },
73
73
  "devDependencies": {
74
- "@types/node": "^20.0.0",
75
- "@types/react": "^16.0.0",
76
- "tsup": "^8.0.0",
77
- "typescript": "^5.0.0",
78
- "prettier": "^3.0.0"
74
+ "@types/node": "^22",
75
+ "@types/react": "^19",
76
+ "tsup": "^8",
77
+ "typescript": "^5",
78
+ "prettier": "^3"
79
79
  }
80
80
  }