@central-icons-react/all 0.0.5 → 0.0.7

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,OAAO,IAAI,KAAK,GACjB,MAAM,2DAA2D,CAAC"}
@@ -1,7 +1,8 @@
1
- import type { AddKeyframe } from "@central-icons-react/round-filled-radius-0-stroke-1/AddKeyframe";
1
+ import React from "react";
2
+ import type { IconHome } from "@central-icons-react/round-filled-radius-0-stroke-1/IconHome";
2
3
  export type {
3
- IconName,
4
- IconCategory,
4
+ CentralIconName,
5
+ CentralIconCategory,
5
6
  } from "@central-icons-react/round-filled-radius-0-stroke-1";
6
7
  export type CentralIconJoin = "round" | "square";
7
8
  export type CentralIconFill = "filled" | "outlined";
@@ -12,6 +13,6 @@ export type CentralIconProps = {
12
13
  fill: CentralIconFill;
13
14
  radius: CentralIconRadius;
14
15
  stroke: CentralIconStroke;
15
- } & typeof AddKeyframe;
16
+ } & typeof IconHome;
16
17
  export declare const CentralIcon: React.FC<CentralIconProps>;
17
18
  export default CentralIcon;
package/index.js ADDED
@@ -0,0 +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});
2
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +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"]}
package/index.mjs ADDED
@@ -0,0 +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};
2
+ //# sourceMappingURL=index.mjs.map
package/index.mjs.map ADDED
@@ -0,0 +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"]}
package/package.json CHANGED
@@ -1,73 +1,74 @@
1
1
  {
2
2
  "name": "@central-icons-react/all",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
+ "homepage": "https://iconists.co/central",
5
6
  "sideEffects": false,
6
- "main": "./dist/index.js",
7
- "module": "./dist/index.mjs",
8
- "types": "./dist/index.d.ts",
7
+ "main": "./index.js",
8
+ "module": "./index.mjs",
9
+ "types": "./index.d.ts",
9
10
  "exports": {
10
11
  ".": {
11
- "types": "./dist/index.d.ts",
12
- "import": "./dist/index.mjs",
13
- "require": "./dist/index.js"
12
+ "types": "./index.d.ts",
13
+ "import": "./index.mjs",
14
+ "require": "./index.js"
14
15
  },
15
16
  "./*": {
16
- "types": "./dist/*/index.d.ts",
17
- "import": "./dist/*/index.mjs",
18
- "require": "./dist/*/index.js"
17
+ "types": "./*/index.d.ts",
18
+ "import": "./*/index.mjs",
19
+ "require": "./*/index.js"
19
20
  }
20
21
  },
21
22
  "files": [
22
- "dist",
23
- "license-check.js",
24
- "README.md",
25
- "LICENSE.md"
23
+ "**/*.js",
24
+ "**/*.mjs",
25
+ "**/*.map",
26
+ "**/*.d.ts",
27
+ "**/*.md"
26
28
  ],
27
29
  "scripts": {
28
30
  "preinstall": "node ./license-check.js",
29
31
  "prebuild": "tsc",
30
32
  "build": "tsup",
31
33
  "prepublishOnly": "npm run build",
32
- "postbuild": "prettier --write dist/**/*.d.ts dist/*.d.ts",
34
+ "postbuild": "prettier --write **/*.d.ts *.d.ts",
33
35
  "dev": "tsup --watch",
34
- "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
35
36
  "lint": "prettier --write ."
36
37
  },
37
38
  "peerDependencies": {
38
39
  "react": "^16.0.0"
39
40
  },
40
41
  "dependencies": {
41
- "@central-icons-react/round-filled-radius-0-stroke-1.5": "0.0.5",
42
- "@central-icons-react/round-filled-radius-0-stroke-1": "0.0.5",
43
- "@central-icons-react/round-filled-radius-0-stroke-2": "0.0.5",
44
- "@central-icons-react/round-filled-radius-1-stroke-1.5": "0.0.5",
45
- "@central-icons-react/round-filled-radius-1-stroke-1": "0.0.5",
46
- "@central-icons-react/round-filled-radius-1-stroke-2": "0.0.5",
47
- "@central-icons-react/round-filled-radius-2-stroke-1.5": "0.0.5",
48
- "@central-icons-react/round-filled-radius-2-stroke-1": "0.0.5",
49
- "@central-icons-react/round-filled-radius-2-stroke-2": "0.0.5",
50
- "@central-icons-react/round-filled-radius-3-stroke-1.5": "0.0.5",
51
- "@central-icons-react/round-filled-radius-3-stroke-1": "0.0.5",
52
- "@central-icons-react/round-filled-radius-3-stroke-2": "0.0.5",
53
- "@central-icons-react/round-outline-radius-0-stroke-1.5": "0.0.5",
54
- "@central-icons-react/round-outline-radius-0-stroke-1": "0.0.5",
55
- "@central-icons-react/round-outline-radius-0-stroke-2": "0.0.5",
56
- "@central-icons-react/round-outline-radius-1-stroke-1.5": "0.0.5",
57
- "@central-icons-react/round-outline-radius-1-stroke-1": "0.0.5",
58
- "@central-icons-react/round-outline-radius-1-stroke-2": "0.0.5",
59
- "@central-icons-react/round-outline-radius-2-stroke-1.5": "0.0.5",
60
- "@central-icons-react/round-outline-radius-2-stroke-1": "0.0.5",
61
- "@central-icons-react/round-outline-radius-2-stroke-2": "0.0.5",
62
- "@central-icons-react/round-outline-radius-3-stroke-1.5": "0.0.5",
63
- "@central-icons-react/round-outline-radius-3-stroke-1": "0.0.5",
64
- "@central-icons-react/round-outline-radius-3-stroke-2": "0.0.5",
65
- "@central-icons-react/square-filled-radius-0-stroke-1.5": "0.0.5",
66
- "@central-icons-react/square-filled-radius-0-stroke-1": "0.0.5",
67
- "@central-icons-react/square-filled-radius-0-stroke-2": "0.0.5",
68
- "@central-icons-react/square-outline-radius-0-stroke-1.5": "0.0.5",
69
- "@central-icons-react/square-outline-radius-0-stroke-1": "0.0.5",
70
- "@central-icons-react/square-outline-radius-0-stroke-2": "0.0.5"
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"
71
72
  },
72
73
  "devDependencies": {
73
74
  "@types/node": "^20.0.0",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,OAAO,IAAI,KAAK,GACjB,MAAM,2DAA2D,CAAC"}
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";var a=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var u=(r,e)=>{for(var o in e)a(r,o,{get:e[o],enumerable:!0})},C=(r,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of p(e))!s.call(r,t)&&t!==o&&a(r,t,{get:()=>e[t],enumerable:!(n=i(e,t))||n.enumerable});return r};var I=r=>C(a({},"__esModule",{value:!0}),r);var y={};u(y,{CentralIcon:()=>l,default:()=>f});module.exports=I(y);var l=({name:r,join:e,fill:o,radius:n,stroke:t,...c})=>{let d=`@central-icons-react/${e}-${o}-radius-${n}-stroke-${t}/${r}`;return require(d).default(c)},f=l;0&&(module.exports={CentralIcon});
2
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import type { AddKeyframe } from \"@central-icons-react/round-filled-radius-0-stroke-1/AddKeyframe\";\nexport type {\n IconName,\n IconCategory,\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 AddKeyframe;\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,GAkBO,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"]}
File without changes
File without changes