@central-icons-react/all 0.0.11 → 0.0.13
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 -2
- 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 +31 -31
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type
|
|
2
|
+
import { type CentralIconBaseProps } from "@central-icons-react/round-filled-radius-0-stroke-1/CentralIconBase";
|
|
3
3
|
export type {
|
|
4
4
|
CentralIconName,
|
|
5
5
|
CentralIconCategory,
|
|
@@ -15,6 +15,6 @@ export type CentralIconProps = {
|
|
|
15
15
|
radius: CentralIconRadius;
|
|
16
16
|
stroke: CentralIconStroke;
|
|
17
17
|
name: CentralIconName;
|
|
18
|
-
} &
|
|
18
|
+
} & CentralIconBaseProps;
|
|
19
19
|
export declare const CentralIcon: React.FC<CentralIconProps>;
|
|
20
20
|
export default CentralIcon;
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var C=Object.create;var l=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var d=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var y=(r,e)=>{for(var n in e)l(r,n,{get:e[n],enumerable:!0})},c=(r,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of u(e))!m.call(r,t)&&t!==n&&l(r,t,{get:()=>e[t],enumerable:!(a=I(e,t))||a.enumerable});return r};var f=(r,e,n)=>(n=r!=null?C(d(r)):{},c(e||!r||!r.__esModule?l(n,"default",{value:r,enumerable:!0}):n,r)),x=r=>c(l({},"__esModule",{value:!0}),r);var g={};y(g,{CentralIcon:()=>p,default:()=>P});module.exports=x(g);var o=f(require("react")),s=require("@central-icons-react/round-filled-radius-0-stroke-1/CentralIconBase"),k=({importString:r})=>{let e=(0,o.lazy)(()=>import(r));return o.default.createElement(e,null)},S=r=>o.default.createElement(s.CentralIconBase,{...r}),p=({name:r,join:e,fill:n,radius:a,stroke:t,...F})=>{let i=`@central-icons-react/${e}-${n}-radius-${a}-stroke-${t}/${r}`;return o.default.createElement(o.Suspense,{fallback:o.default.createElement(S,null)},o.default.createElement(k,{importString:i}))},P=p;0&&(module.exports={CentralIcon});
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["src/index.
|
|
1
|
+
{"version":3,"sources":["src/index.tsx"],"sourcesContent":["import React, { lazy, type FC, Suspense } from \"react\";\nimport {\n CentralIconBase,\n type CentralIconBaseProps,\n} from \"@central-icons-react/round-filled-radius-0-stroke-1/CentralIconBase\";\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} & CentralIconBaseProps;\n\nconst LazyCentralIcon = ({ importString }: { importString: string }) => {\n const Icon = lazy(() => import(/* webpackIgnore: true */ importString));\n return <Icon />;\n};\n\nconst CentralIconPlaceholder: FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} />;\n};\nexport const CentralIcon: React.FC<CentralIconProps> = ({\n name,\n join,\n fill,\n radius,\n stroke,\n ...props\n}) => {\n const importString = `@central-icons-react/${join}-${fill}-radius-${radius}-stroke-${stroke}/${name}`;\n return (\n <Suspense fallback={<CentralIconPlaceholder />}>\n <LazyCentralIcon importString={importString} />\n </Suspense>\n );\n};\n\nexport default CentralIcon;\n"],"mappings":"0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iBAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAAA,IAAAK,EAA+C,oBAC/CC,EAGO,+EAoBDC,EAAkB,CAAC,CAAE,aAAAC,CAAa,IAAgC,CACtE,IAAMC,KAAO,QAAK,IAAM,OAAiCD,EAAa,EACtE,OAAO,EAAAE,QAAA,cAACD,EAAA,IAAK,CACf,EAEME,EAAoDC,GACjD,EAAAF,QAAA,cAAC,mBAAiB,GAAGE,EAAO,EAExBV,EAA0C,CAAC,CACtD,KAAAW,EACA,KAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,GAAGL,CACL,IAAM,CACJ,IAAMJ,EAAe,wBAAwBM,CAAI,IAAIC,CAAI,WAAWC,CAAM,WAAWC,CAAM,IAAIJ,CAAI,GACnG,OACE,EAAAH,QAAA,cAAC,YAAS,SAAU,EAAAA,QAAA,cAACC,EAAA,IAAuB,GAC1C,EAAAD,QAAA,cAACH,EAAA,CAAgB,aAAcC,EAAc,CAC/C,CAEJ,EAEOL,EAAQD","names":["index_exports","__export","CentralIcon","index_default","__toCommonJS","import_react","import_CentralIconBase","LazyCentralIcon","importString","Icon","React","CentralIconPlaceholder","props","name","join","fill","radius","stroke"]}
|
package/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var c=({name:
|
|
1
|
+
import e,{lazy as c,Suspense as s}from"react";import{CentralIconBase as p}from"@central-icons-react/round-filled-radius-0-stroke-1/CentralIconBase";var i=({importString:r})=>{let n=c(()=>import(r));return e.createElement(n,null)},C=r=>e.createElement(p,{...r}),I=({name:r,join:n,fill:o,radius:t,stroke:a,...u})=>{let l=`@central-icons-react/${n}-${o}-radius-${t}-stroke-${a}/${r}`;return e.createElement(s,{fallback:e.createElement(C,null)},e.createElement(i,{importString:l}))},y=I;export{I as CentralIcon,y as default};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["src/index.
|
|
1
|
+
{"version":3,"sources":["src/index.tsx"],"sourcesContent":["import React, { lazy, type FC, Suspense } from \"react\";\nimport {\n CentralIconBase,\n type CentralIconBaseProps,\n} from \"@central-icons-react/round-filled-radius-0-stroke-1/CentralIconBase\";\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} & CentralIconBaseProps;\n\nconst LazyCentralIcon = ({ importString }: { importString: string }) => {\n const Icon = lazy(() => import(/* webpackIgnore: true */ importString));\n return <Icon />;\n};\n\nconst CentralIconPlaceholder: FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} />;\n};\nexport const CentralIcon: React.FC<CentralIconProps> = ({\n name,\n join,\n fill,\n radius,\n stroke,\n ...props\n}) => {\n const importString = `@central-icons-react/${join}-${fill}-radius-${radius}-stroke-${stroke}/${name}`;\n return (\n <Suspense fallback={<CentralIconPlaceholder />}>\n <LazyCentralIcon importString={importString} />\n </Suspense>\n );\n};\n\nexport default CentralIcon;\n"],"mappings":"AAAA,OAAOA,GAAS,QAAAC,EAAe,YAAAC,MAAgB,QAC/C,OACE,mBAAAC,MAEK,sEAoBP,IAAMC,EAAkB,CAAC,CAAE,aAAAC,CAAa,IAAgC,CACtE,IAAMC,EAAOL,EAAK,IAAM,OAAiCI,EAAa,EACtE,OAAOL,EAAA,cAACM,EAAA,IAAK,CACf,EAEMC,EAAoDC,GACjDR,EAAA,cAACG,EAAA,CAAiB,GAAGK,EAAO,EAExBC,EAA0C,CAAC,CACtD,KAAAC,EACA,KAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,GAAGN,CACL,IAAM,CACJ,IAAMH,EAAe,wBAAwBM,CAAI,IAAIC,CAAI,WAAWC,CAAM,WAAWC,CAAM,IAAIJ,CAAI,GACnG,OACEV,EAAA,cAACE,EAAA,CAAS,SAAUF,EAAA,cAACO,EAAA,IAAuB,GAC1CP,EAAA,cAACI,EAAA,CAAgB,aAAcC,EAAc,CAC/C,CAEJ,EAEOU,EAAQN","names":["React","lazy","Suspense","CentralIconBase","LazyCentralIcon","importString","Icon","CentralIconPlaceholder","props","CentralIcon","name","join","fill","radius","stroke","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.13",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"homepage": "https://iconists.co/central",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -46,35 +46,35 @@
|
|
|
46
46
|
"typescript": "^5"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@central-icons-react/round-filled-radius-0-stroke-1": "^0.0.
|
|
50
|
-
"@central-icons-react/round-filled-radius-0-stroke-1.5": "^0.0.
|
|
51
|
-
"@central-icons-react/round-filled-radius-0-stroke-2": "^0.0.
|
|
52
|
-
"@central-icons-react/round-filled-radius-1-stroke-1": "^0.0.
|
|
53
|
-
"@central-icons-react/round-filled-radius-1-stroke-1.5": "^0.0.
|
|
54
|
-
"@central-icons-react/round-filled-radius-1-stroke-2": "^0.0.
|
|
55
|
-
"@central-icons-react/round-filled-radius-2-stroke-1": "^0.0.
|
|
56
|
-
"@central-icons-react/round-filled-radius-2-stroke-1.5": "^0.0.
|
|
57
|
-
"@central-icons-react/round-filled-radius-2-stroke-2": "^0.0.
|
|
58
|
-
"@central-icons-react/round-filled-radius-3-stroke-1": "^0.0.
|
|
59
|
-
"@central-icons-react/round-filled-radius-3-stroke-1.5": "^0.0.
|
|
60
|
-
"@central-icons-react/round-filled-radius-3-stroke-2": "^0.0.
|
|
61
|
-
"@central-icons-react/round-outlined-radius-0-stroke-1": "^0.0.
|
|
62
|
-
"@central-icons-react/round-outlined-radius-0-stroke-1.5": "^0.0.
|
|
63
|
-
"@central-icons-react/round-outlined-radius-0-stroke-2": "^0.0.
|
|
64
|
-
"@central-icons-react/round-outlined-radius-1-stroke-1": "^0.0.
|
|
65
|
-
"@central-icons-react/round-outlined-radius-1-stroke-1.5": "^0.0.
|
|
66
|
-
"@central-icons-react/round-outlined-radius-1-stroke-2": "^0.0.
|
|
67
|
-
"@central-icons-react/round-outlined-radius-2-stroke-1": "^0.0.
|
|
68
|
-
"@central-icons-react/round-outlined-radius-2-stroke-1.5": "^0.0.
|
|
69
|
-
"@central-icons-react/round-outlined-radius-2-stroke-2": "^0.0.
|
|
70
|
-
"@central-icons-react/round-outlined-radius-3-stroke-1": "^0.0.
|
|
71
|
-
"@central-icons-react/round-outlined-radius-3-stroke-1.5": "^0.0.
|
|
72
|
-
"@central-icons-react/round-outlined-radius-3-stroke-2": "^0.0.
|
|
73
|
-
"@central-icons-react/square-filled-radius-0-stroke-1": "^0.0.
|
|
74
|
-
"@central-icons-react/square-filled-radius-0-stroke-1.5": "^0.0.
|
|
75
|
-
"@central-icons-react/square-filled-radius-0-stroke-2": "^0.0.
|
|
76
|
-
"@central-icons-react/square-outlined-radius-0-stroke-1": "^0.0.
|
|
77
|
-
"@central-icons-react/square-outlined-radius-0-stroke-1.5": "^0.0.
|
|
78
|
-
"@central-icons-react/square-outlined-radius-0-stroke-2": "^0.0.
|
|
49
|
+
"@central-icons-react/round-filled-radius-0-stroke-1": "^0.0.12",
|
|
50
|
+
"@central-icons-react/round-filled-radius-0-stroke-1.5": "^0.0.12",
|
|
51
|
+
"@central-icons-react/round-filled-radius-0-stroke-2": "^0.0.12",
|
|
52
|
+
"@central-icons-react/round-filled-radius-1-stroke-1": "^0.0.12",
|
|
53
|
+
"@central-icons-react/round-filled-radius-1-stroke-1.5": "^0.0.12",
|
|
54
|
+
"@central-icons-react/round-filled-radius-1-stroke-2": "^0.0.12",
|
|
55
|
+
"@central-icons-react/round-filled-radius-2-stroke-1": "^0.0.12",
|
|
56
|
+
"@central-icons-react/round-filled-radius-2-stroke-1.5": "^0.0.12",
|
|
57
|
+
"@central-icons-react/round-filled-radius-2-stroke-2": "^0.0.12",
|
|
58
|
+
"@central-icons-react/round-filled-radius-3-stroke-1": "^0.0.12",
|
|
59
|
+
"@central-icons-react/round-filled-radius-3-stroke-1.5": "^0.0.12",
|
|
60
|
+
"@central-icons-react/round-filled-radius-3-stroke-2": "^0.0.12",
|
|
61
|
+
"@central-icons-react/round-outlined-radius-0-stroke-1": "^0.0.12",
|
|
62
|
+
"@central-icons-react/round-outlined-radius-0-stroke-1.5": "^0.0.12",
|
|
63
|
+
"@central-icons-react/round-outlined-radius-0-stroke-2": "^0.0.12",
|
|
64
|
+
"@central-icons-react/round-outlined-radius-1-stroke-1": "^0.0.12",
|
|
65
|
+
"@central-icons-react/round-outlined-radius-1-stroke-1.5": "^0.0.12",
|
|
66
|
+
"@central-icons-react/round-outlined-radius-1-stroke-2": "^0.0.12",
|
|
67
|
+
"@central-icons-react/round-outlined-radius-2-stroke-1": "^0.0.12",
|
|
68
|
+
"@central-icons-react/round-outlined-radius-2-stroke-1.5": "^0.0.12",
|
|
69
|
+
"@central-icons-react/round-outlined-radius-2-stroke-2": "^0.0.12",
|
|
70
|
+
"@central-icons-react/round-outlined-radius-3-stroke-1": "^0.0.12",
|
|
71
|
+
"@central-icons-react/round-outlined-radius-3-stroke-1.5": "^0.0.12",
|
|
72
|
+
"@central-icons-react/round-outlined-radius-3-stroke-2": "^0.0.12",
|
|
73
|
+
"@central-icons-react/square-filled-radius-0-stroke-1": "^0.0.12",
|
|
74
|
+
"@central-icons-react/square-filled-radius-0-stroke-1.5": "^0.0.12",
|
|
75
|
+
"@central-icons-react/square-filled-radius-0-stroke-2": "^0.0.12",
|
|
76
|
+
"@central-icons-react/square-outlined-radius-0-stroke-1": "^0.0.12",
|
|
77
|
+
"@central-icons-react/square-outlined-radius-0-stroke-1.5": "^0.0.12",
|
|
78
|
+
"@central-icons-react/square-outlined-radius-0-stroke-2": "^0.0.12"
|
|
79
79
|
}
|
|
80
80
|
}
|