@central-icons-react/all 0.0.9 → 0.0.11
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 +3 -1
- 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 +36 -36
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ pnpm add @central-icons-react/all
|
|
|
37
37
|
|
|
38
38
|
## Usage
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
Icons can be imported individually to keep your bundle size minimal (recommended):
|
|
41
41
|
|
|
42
42
|
```jsx
|
|
43
43
|
import { IconHome } from "@central-icons-react/round-filled-radius-0-stroke-1/IconHome";
|
|
@@ -47,6 +47,8 @@ function MyComponent() {
|
|
|
47
47
|
}
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
Or you can import from the main entry point (not recommended to be used in production, returns async):
|
|
51
|
+
|
|
50
52
|
```jsx
|
|
51
53
|
import { CentralIcon } from "@central-icons-react/all";
|
|
52
54
|
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var I=(
|
|
1
|
+
"use strict";var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var I=(o,e)=>{for(var t in e)a(o,t,{get:e[t],enumerable:!0})},C=(o,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of s(e))!d.call(o,r)&&r!==t&&a(o,r,{get:()=>e[r],enumerable:!(n=p(e,r))||n.enumerable});return o};var u=o=>C(a({},"__esModule",{value:!0}),o);var f={};I(f,{CentralIcon:()=>l,default:()=>m});module.exports=u(f);var l=({name:o,join:e,fill:t,radius:n,stroke:r,...c})=>import(`@central-icons-react/${e}-${t}-radius-${n}-stroke-${r}/${o}`).then(i=>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\";\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
|
|
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 return import(\n `@central-icons-react/${join}-${fill}-radius-${radius}-stroke-${stroke}/${name}`\n ).then((module) => module.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,IACS,OACL,wBAAwBJ,CAAI,IAAIC,CAAI,WAAWC,CAAM,WAAWC,CAAM,IAAIJ,CAAI,IAC9E,KAAMM,GAAWA,EAAO,QAAQD,CAAK,CAAC,EAGnCP,EAAQD","names":["index_exports","__export","CentralIcon","index_default","__toCommonJS","name","join","fill","radius","stroke","props","module"]}
|
package/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
1
|
+
var c=({name:e,join:o,fill:r,radius:t,stroke:n,...a})=>import(`@central-icons-react/${o}-${r}-radius-${t}-stroke-${n}/${e}`).then(l=>l.default(a)),i=c;export{c as CentralIcon,i 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\";\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
|
|
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 return import(\n `@central-icons-react/${join}-${fill}-radius-${radius}-stroke-${stroke}/${name}`\n ).then((module) => module.default(props));\n};\n\nexport default CentralIcon;\n"],"mappings":"AAqBO,IAAMA,EAA0C,CAAC,CACtD,KAAAC,EACA,KAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,GAAGC,CACL,IACS,OACL,wBAAwBJ,CAAI,IAAIC,CAAI,WAAWC,CAAM,WAAWC,CAAM,IAAIJ,CAAI,IAC9E,KAAMM,GAAWA,EAAO,QAAQD,CAAK,CAAC,EAGnCE,EAAQR","names":["CentralIcon","name","join","fill","radius","stroke","props","module","index_default"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@central-icons-react/all",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"homepage": "https://iconists.co/central",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -38,43 +38,43 @@
|
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=14.0.0 <= 19"
|
|
40
40
|
},
|
|
41
|
-
"dependencies": {
|
|
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
|
-
},
|
|
73
41
|
"devDependencies": {
|
|
74
42
|
"@types/node": "^22",
|
|
75
|
-
"@types/react": "
|
|
43
|
+
"@types/react": ">=14.0.0 <= 19",
|
|
44
|
+
"prettier": "^3",
|
|
76
45
|
"tsup": "^8",
|
|
77
|
-
"typescript": "^5"
|
|
78
|
-
|
|
46
|
+
"typescript": "^5"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@central-icons-react/round-filled-radius-0-stroke-1": "^0.0.8",
|
|
50
|
+
"@central-icons-react/round-filled-radius-0-stroke-1.5": "^0.0.8",
|
|
51
|
+
"@central-icons-react/round-filled-radius-0-stroke-2": "^0.0.8",
|
|
52
|
+
"@central-icons-react/round-filled-radius-1-stroke-1": "^0.0.8",
|
|
53
|
+
"@central-icons-react/round-filled-radius-1-stroke-1.5": "^0.0.8",
|
|
54
|
+
"@central-icons-react/round-filled-radius-1-stroke-2": "^0.0.8",
|
|
55
|
+
"@central-icons-react/round-filled-radius-2-stroke-1": "^0.0.8",
|
|
56
|
+
"@central-icons-react/round-filled-radius-2-stroke-1.5": "^0.0.8",
|
|
57
|
+
"@central-icons-react/round-filled-radius-2-stroke-2": "^0.0.8",
|
|
58
|
+
"@central-icons-react/round-filled-radius-3-stroke-1": "^0.0.8",
|
|
59
|
+
"@central-icons-react/round-filled-radius-3-stroke-1.5": "^0.0.8",
|
|
60
|
+
"@central-icons-react/round-filled-radius-3-stroke-2": "^0.0.8",
|
|
61
|
+
"@central-icons-react/round-outlined-radius-0-stroke-1": "^0.0.8",
|
|
62
|
+
"@central-icons-react/round-outlined-radius-0-stroke-1.5": "^0.0.8",
|
|
63
|
+
"@central-icons-react/round-outlined-radius-0-stroke-2": "^0.0.8",
|
|
64
|
+
"@central-icons-react/round-outlined-radius-1-stroke-1": "^0.0.8",
|
|
65
|
+
"@central-icons-react/round-outlined-radius-1-stroke-1.5": "^0.0.8",
|
|
66
|
+
"@central-icons-react/round-outlined-radius-1-stroke-2": "^0.0.8",
|
|
67
|
+
"@central-icons-react/round-outlined-radius-2-stroke-1": "^0.0.8",
|
|
68
|
+
"@central-icons-react/round-outlined-radius-2-stroke-1.5": "^0.0.8",
|
|
69
|
+
"@central-icons-react/round-outlined-radius-2-stroke-2": "^0.0.8",
|
|
70
|
+
"@central-icons-react/round-outlined-radius-3-stroke-1": "^0.0.8",
|
|
71
|
+
"@central-icons-react/round-outlined-radius-3-stroke-1.5": "^0.0.8",
|
|
72
|
+
"@central-icons-react/round-outlined-radius-3-stroke-2": "^0.0.8",
|
|
73
|
+
"@central-icons-react/square-filled-radius-0-stroke-1": "^0.0.8",
|
|
74
|
+
"@central-icons-react/square-filled-radius-0-stroke-1.5": "^0.0.8",
|
|
75
|
+
"@central-icons-react/square-filled-radius-0-stroke-2": "^0.0.8",
|
|
76
|
+
"@central-icons-react/square-outlined-radius-0-stroke-1": "^0.0.8",
|
|
77
|
+
"@central-icons-react/square-outlined-radius-0-stroke-1.5": "^0.0.8",
|
|
78
|
+
"@central-icons-react/square-outlined-radius-0-stroke-2": "^0.0.8"
|
|
79
79
|
}
|
|
80
80
|
}
|