@central-icons-react-native/square-outlined-radius-0-stroke-2 1.2.7 → 1.2.8
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/IconCricket/index.d.ts +4 -0
- package/IconCricket/index.js +3 -0
- package/IconCricket/index.js.map +11 -0
- package/IconCricket/index.mjs +3 -0
- package/IconCricket/index.mjs.map +11 -0
- package/IconDesign/index.d.ts +4 -0
- package/IconDesign/index.js +3 -0
- package/IconDesign/index.js.map +11 -0
- package/IconDesign/index.mjs +3 -0
- package/IconDesign/index.mjs.map +11 -0
- package/README.md +2 -0
- package/filtered-icons.json +1 -1
- package/icons/index.d.ts +1 -1
- package/icons/index.js +2 -2
- package/icons/index.js.map +3 -3
- package/icons/index.mjs +2 -2
- package/icons/index.mjs.map +3 -3
- package/icons-index.json +4 -4
- package/index.d.ts +2 -0
- package/index.js +6 -0
- package/index.mjs +2 -0
- package/license-check.js +1 -1
- package/package.json +1 -1
- package/skills/central-icons-react-native/SKILL.md +3 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var w=Object.create;var{getPrototypeOf:S,defineProperty:C,getOwnPropertyNames:I,getOwnPropertyDescriptor:v}=Object,d=Object.prototype.hasOwnProperty;function x(r){return this[r]}var M,F,y=(r,o,s)=>{var c=r!=null&&typeof r==="object";if(c){var p=o?M??=new WeakMap:F??=new WeakMap,a=p.get(r);if(a)return a}s=r!=null?w(S(r)):{};let i=o||!r||!r.__esModule||!d.call(r,"default")?C(s,"default",{value:r,enumerable:!0}):s;if(r&&typeof r==="object"||typeof r==="function"){for(let u of I(r))if(!d.call(i,u))C(i,u,{get:x.bind(r,u),enumerable:!0})}if(c)p.set(r,i);return i},g=(r)=>{var o=(m??=new WeakMap).get(r),s;if(o)return o;if(o=C({},"__esModule",{value:!0}),r&&typeof r==="object"||typeof r==="function"){for(var c of I(r))if(!d.call(o,c))C(o,c,{get:x.bind(r,c),enumerable:!(s=v(r,c))||s.enumerable})}return m.set(r,o),o},m;var b=(r)=>r;function L(r,o){this[r]=b.bind(null,o)}var h=(r,o)=>{for(var s in o)C(r,s,{get:o[s],enumerable:!0,configurable:!0,set:L.bind(o,s)})};var W={};h(W,{IconCricket:()=>B,default:()=>D});module.exports=g(W);var t=y(require("react"));var U={};h(U,{CentralIconBase:()=>f});var n=y(require("react")),l=require("react-native-svg"),q=(r)=>{let o=n.default.useId();return n.default.createElement(P,{...r,instanceId:o})},G=0,k=typeof n.default.useId==="function"?void 0:class extends n.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++G}`})}render(){return n.default.createElement(P,{...this.props.iconProps,instanceId:this.state.instanceId})}},f=(r)=>k?n.default.createElement(k,{iconProps:r}):n.default.createElement(q,{...r}),P=({children:r,size:o=24,mode:s="masked",maskId:c,instanceId:p,...a})=>{let i=p?`${c}-${p}`:c,u=s!=="raw"&&!!c;return n.default.createElement(l.Svg,{...a,width:typeof o==="number"?`${o}px`:o,height:typeof o==="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none"},u?n.default.createElement(n.default.Fragment,null,n.default.createElement(l.Mask,{id:i,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},n.default.createElement(l.Rect,{width:"24",height:"24",fill:"#000"}),n.default.createElement(l.G,{color:"#fff"},r)),n.default.createElement(l.Rect,{width:"24",height:"24",fill:"currentColor",mask:`url(#${i})`})):r)};var e=require("react-native-svg"),B=t.default.memo((r)=>t.default.createElement(f,{...r,maskId:"square-outlined-radius-0-stroke-2-IconCricket"},t.default.createElement(e.Circle,{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"2"}),t.default.createElement(e.Path,{d:"M18 6L6 18",strokeWidth:"2",stroke:"currentColor"}),t.default.createElement(e.Circle,{cx:"6.00313",cy:"14.0002",r:"0.8",fill:"currentColor"}),t.default.createElement(e.Circle,{cx:"8.00313",cy:"12.0002",r:"0.8",fill:"currentColor"}),t.default.createElement(e.Circle,{cx:"10.0031",cy:"10.0002",r:"0.8",fill:"currentColor"}),t.default.createElement(e.Circle,{cx:"12.0031",cy:"8.0002",r:"0.8",fill:"currentColor"}),t.default.createElement(e.Circle,{cx:"14.0031",cy:"6.0002",r:"0.8",fill:"currentColor"}),t.default.createElement(e.Circle,{cx:"10.0031",cy:"18.0002",r:"0.8",fill:"currentColor"}),t.default.createElement(e.Circle,{cx:"12.0031",cy:"16.0002",r:"0.8",fill:"currentColor"}),t.default.createElement(e.Circle,{cx:"14.0031",cy:"14.0002",r:"0.8",fill:"currentColor"}),t.default.createElement(e.Circle,{cx:"16.0031",cy:"12.0002",r:"0.8",fill:"currentColor"}),t.default.createElement(e.Circle,{cx:"18.0031",cy:"10.0002",r:"0.8",fill:"currentColor"}))),D=B;
|
|
2
|
+
|
|
3
|
+
//# debugId=7092E5593B91C89F64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconCricket/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\nimport { Circle, Path } from \"react-native-svg\";\n\nexport const IconCricket: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} maskId=\"square-outlined-radius-0-stroke-2-IconCricket\"><Circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" strokeWidth=\"2\"/><Path d=\"M18 6L6 18\" strokeWidth=\"2\" stroke=\"currentColor\"/><Circle cx=\"6.00313\" cy=\"14.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"8.00313\" cy=\"12.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"10.0031\" cy=\"10.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"12.0031\" cy=\"8.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"14.0031\" cy=\"6.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"10.0031\" cy=\"18.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"12.0031\" cy=\"16.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"14.0031\" cy=\"14.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"16.0031\" cy=\"12.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"18.0031\" cy=\"10.0002\" r=\"0.8\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconCricket;\n",
|
|
6
|
+
"import React, { FC } from \"react\";\nimport { Svg, Mask, Rect, G, SvgProps } from \"react-native-svg\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SvgProps;\n\ntype Props = CentralIconBaseProps;\n\nconst ModernCentralIconBase: React.FC<Props> = (props) => {\n const instanceId = React.useId();\n return <CentralIconSvg {...props} instanceId={instanceId} />;\n};\n\nlet nextLegacyId = 0;\n\n// React's Server Components runtime exposes useId but not Component. Only\n// define the legacy class when it is needed, so modern imports stay RSC-safe.\nconst LegacyCentralIconBase =\n typeof React.useId === \"function\"\n ? undefined\n : class extends React.Component<\n { iconProps: Props },\n { instanceId?: string }\n > {\n state: { instanceId?: string } = {};\n\n componentDidMount() {\n // Defer legacy IDs until mount so server and initial client markup agree.\n this.setState({ instanceId: `legacy-${++nextLegacyId}` });\n }\n\n render() {\n return <CentralIconSvg {...this.props.iconProps} instanceId={this.state.instanceId} />;\n }\n };\n\nexport const CentralIconBase: React.FC<Props> = (props) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={props} />\n ) : (\n <ModernCentralIconBase {...props} />\n );\n\nconst CentralIconSvg: FC<CentralIconBaseProps & { instanceId?: string }> = ({\n children,\n size = 24,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n return (\n <Svg\n {...props}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n >\n {masked ? (\n <>\n <Mask\n id={uniqueMaskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <Rect width=\"24\" height=\"24\" fill=\"#000\" />\n <G color=\"#fff\">{children}</G>\n </Mask>\n <Rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n children\n )}\n </Svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "0gCAAkB,IAAlB,4DCA0B,IAA1B,sBACA,8BAUM,EAAyC,CAAC,IAAU,CACxD,IAAM,EAAa,UAAM,MAAM,EAC/B,OAAO,wBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,UAAM,QAAU,WACnB,OACA,cAAc,UAAM,SAGlB,CACA,MAAiC,CAAC,EAElC,iBAAiB,EAAG,CAElB,KAAK,SAAS,CAAE,WAAY,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OAAO,wBAAC,EAAD,IAAoB,KAAK,MAAM,UAAW,WAAY,KAAK,MAAM,WAAY,EAExF,EAEO,EAAmC,CAAC,IAC/C,EACE,wBAAC,EAAD,CAAuB,UAAW,EAAO,EAEzC,wBAAC,EAAD,IAA2B,EAAO,EAGhC,EAAqE,EACzE,WACA,OAAO,GACP,OAAO,SACP,SACA,gBACG,KACC,CACJ,IAAM,EAAe,EAAa,GAAG,KAAU,IAAe,EACxD,EAAS,IAAS,OAAS,CAAC,CAAC,EACnC,OACE,wBA8BE,MA9BF,IACM,EACJ,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EAC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eAAc,EAAE,wBAAC,SAAD,CAAQ,GAAG,UAAU,GAAG,UAAU,EAAE,MAAM,KAAK,eAAc,CAAI,CACl1B,EAEc",
|
|
9
|
+
"debugId": "7092E5593B91C89F64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import o from"react";import r from"react";import{Svg as m,Mask as I,Rect as i,G as x}from"react-native-svg";var y=(t)=>{let e=r.useId();return r.createElement(C,{...t,instanceId:e})},g=0,p=typeof r.useId==="function"?void 0:class extends r.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++g}`})}render(){return r.createElement(C,{...this.props.iconProps,instanceId:this.state.instanceId})}},u=(t)=>p?r.createElement(p,{iconProps:t}):r.createElement(y,{...t}),C=({children:t,size:e=24,mode:a="masked",maskId:s,instanceId:c,...d})=>{let l=c?`${s}-${c}`:s,f=a!=="raw"&&!!s;return r.createElement(m,{...d,width:typeof e==="number"?`${e}px`:e,height:typeof e==="number"?`${e}px`:e,viewBox:"0 0 24 24",fill:"none"},f?r.createElement(r.Fragment,null,r.createElement(I,{id:l,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},r.createElement(i,{width:"24",height:"24",fill:"#000"}),r.createElement(x,{color:"#fff"},t)),r.createElement(i,{width:"24",height:"24",fill:"currentColor",mask:`url(#${l})`})):t)};import{Circle as n,Path as h}from"react-native-svg";var k=o.memo((t)=>o.createElement(u,{...t,maskId:"square-outlined-radius-0-stroke-2-IconCricket"},o.createElement(n,{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"2"}),o.createElement(h,{d:"M18 6L6 18",strokeWidth:"2",stroke:"currentColor"}),o.createElement(n,{cx:"6.00313",cy:"14.0002",r:"0.8",fill:"currentColor"}),o.createElement(n,{cx:"8.00313",cy:"12.0002",r:"0.8",fill:"currentColor"}),o.createElement(n,{cx:"10.0031",cy:"10.0002",r:"0.8",fill:"currentColor"}),o.createElement(n,{cx:"12.0031",cy:"8.0002",r:"0.8",fill:"currentColor"}),o.createElement(n,{cx:"14.0031",cy:"6.0002",r:"0.8",fill:"currentColor"}),o.createElement(n,{cx:"10.0031",cy:"18.0002",r:"0.8",fill:"currentColor"}),o.createElement(n,{cx:"12.0031",cy:"16.0002",r:"0.8",fill:"currentColor"}),o.createElement(n,{cx:"14.0031",cy:"14.0002",r:"0.8",fill:"currentColor"}),o.createElement(n,{cx:"16.0031",cy:"12.0002",r:"0.8",fill:"currentColor"}),o.createElement(n,{cx:"18.0031",cy:"10.0002",r:"0.8",fill:"currentColor"}))),G=k;export{k as IconCricket,G as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=7EDE965797E5BEB764756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconCricket/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\nimport { Circle, Path } from \"react-native-svg\";\n\nexport const IconCricket: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} maskId=\"square-outlined-radius-0-stroke-2-IconCricket\"><Circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" strokeWidth=\"2\"/><Path d=\"M18 6L6 18\" strokeWidth=\"2\" stroke=\"currentColor\"/><Circle cx=\"6.00313\" cy=\"14.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"8.00313\" cy=\"12.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"10.0031\" cy=\"10.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"12.0031\" cy=\"8.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"14.0031\" cy=\"6.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"10.0031\" cy=\"18.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"12.0031\" cy=\"16.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"14.0031\" cy=\"14.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"16.0031\" cy=\"12.0002\" r=\"0.8\" fill=\"currentColor\"/><Circle cx=\"18.0031\" cy=\"10.0002\" r=\"0.8\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconCricket;\n",
|
|
6
|
+
"import React, { FC } from \"react\";\nimport { Svg, Mask, Rect, G, SvgProps } from \"react-native-svg\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SvgProps;\n\ntype Props = CentralIconBaseProps;\n\nconst ModernCentralIconBase: React.FC<Props> = (props) => {\n const instanceId = React.useId();\n return <CentralIconSvg {...props} instanceId={instanceId} />;\n};\n\nlet nextLegacyId = 0;\n\n// React's Server Components runtime exposes useId but not Component. Only\n// define the legacy class when it is needed, so modern imports stay RSC-safe.\nconst LegacyCentralIconBase =\n typeof React.useId === \"function\"\n ? undefined\n : class extends React.Component<\n { iconProps: Props },\n { instanceId?: string }\n > {\n state: { instanceId?: string } = {};\n\n componentDidMount() {\n // Defer legacy IDs until mount so server and initial client markup agree.\n this.setState({ instanceId: `legacy-${++nextLegacyId}` });\n }\n\n render() {\n return <CentralIconSvg {...this.props.iconProps} instanceId={this.state.instanceId} />;\n }\n };\n\nexport const CentralIconBase: React.FC<Props> = (props) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={props} />\n ) : (\n <ModernCentralIconBase {...props} />\n );\n\nconst CentralIconSvg: FC<CentralIconBaseProps & { instanceId?: string }> = ({\n children,\n size = 24,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n return (\n <Svg\n {...props}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n >\n {masked ? (\n <>\n <Mask\n id={uniqueMaskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <Rect width=\"24\" height=\"24\" fill=\"#000\" />\n <G color=\"#fff\">{children}</G>\n </Mask>\n <Rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n children\n )}\n </Svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "AAAA,qBCAA,qBACA,cAAS,UAAK,UAAM,OAAM,yBAU1B,IAAM,EAAyC,CAAC,IAAU,CACxD,IAAM,EAAa,EAAM,MAAM,EAC/B,OAAO,gBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,EAAM,QAAU,WACnB,OACA,cAAc,EAAM,SAGlB,CACA,MAAiC,CAAC,EAElC,iBAAiB,EAAG,CAElB,KAAK,SAAS,CAAE,WAAY,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OAAO,gBAAC,EAAD,IAAoB,KAAK,MAAM,UAAW,WAAY,KAAK,MAAM,WAAY,EAExF,EAEO,EAAmC,CAAC,IAC/C,EACE,gBAAC,EAAD,CAAuB,UAAW,EAAO,EAEzC,gBAAC,EAAD,IAA2B,EAAO,EAGhC,EAAqE,EACzE,WACA,OAAO,GACP,OAAO,SACP,SACA,gBACG,KACC,CACJ,IAAM,EAAe,EAAa,GAAG,KAAU,IAAe,EACxD,EAAS,IAAS,OAAS,CAAC,CAAC,EACnC,OACE,gBA8BE,EA9BF,IACM,EACJ,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,QAEJ,EACC,gCACE,gBAUE,EAVF,CACE,GAAI,EAC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U,EAAE,MAAM,KAAK,eAAc,CAAI,CACl1B,EAEc",
|
|
9
|
+
"debugId": "7EDE965797E5BEB764756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var M=Object.create;var{getPrototypeOf:y,defineProperty:l,getOwnPropertyNames:h,getOwnPropertyDescriptor:w}=Object,m=Object.prototype.hasOwnProperty;function g(o){return this[o]}var S,v,k=(o,r,n)=>{var e=o!=null&&typeof o==="object";if(e){var p=r?S??=new WeakMap:v??=new WeakMap,u=p.get(o);if(u)return u}n=o!=null?M(y(o)):{};let a=r||!o||!o.__esModule||!m.call(o,"default")?l(n,"default",{value:o,enumerable:!0}):n;if(o&&typeof o==="object"||typeof o==="function"){for(let c of h(o))if(!m.call(a,c))l(a,c,{get:g.bind(o,c),enumerable:!0})}if(e)p.set(o,a);return a},f=(o)=>{var r=(C??=new WeakMap).get(o),n;if(r)return r;if(r=l({},"__esModule",{value:!0}),o&&typeof o==="object"||typeof o==="function"){for(var e of h(o))if(!m.call(r,e))l(r,e,{get:g.bind(o,e),enumerable:!(n=w(o,e))||n.enumerable})}return C.set(o,r),r},C;var W=(o)=>o;function F(o,r){this[o]=W.bind(null,r)}var P=(o,r)=>{for(var n in r)l(o,n,{get:r[n],enumerable:!0,configurable:!0,set:F.bind(r,n)})};var G={};P(G,{IconDesign:()=>B,default:()=>U});module.exports=f(G);var i=k(require("react"));var q={};P(q,{CentralIconBase:()=>I});var t=k(require("react")),s=require("react-native-svg"),b=(o)=>{let r=t.default.useId();return t.default.createElement(x,{...o,instanceId:r})},D=0,L=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++D}`})}render(){return t.default.createElement(x,{...this.props.iconProps,instanceId:this.state.instanceId})}},I=(o)=>L?t.default.createElement(L,{iconProps:o}):t.default.createElement(b,{...o}),x=({children:o,size:r=24,mode:n="masked",maskId:e,instanceId:p,...u})=>{let a=p?`${e}-${p}`:e,c=n!=="raw"&&!!e;return t.default.createElement(s.Svg,{...u,width:typeof r==="number"?`${r}px`:r,height:typeof r==="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none"},c?t.default.createElement(t.default.Fragment,null,t.default.createElement(s.Mask,{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.default.createElement(s.Rect,{width:"24",height:"24",fill:"#000"}),t.default.createElement(s.G,{color:"#fff"},o)),t.default.createElement(s.Rect,{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):o)};var d=require("react-native-svg"),B=i.default.memo((o)=>i.default.createElement(I,{...o,maskId:"square-outlined-radius-0-stroke-2-IconDesign"},i.default.createElement(d.Path,{d:"M8 20.0001H4V16L17 3L21 7L8 20.0001Z",strokeWidth:"2",stroke:"currentColor"}),i.default.createElement(d.Path,{d:"M12 8L7 3L3 7L8 12M12 16L17 21L21 17L16 12",strokeWidth:"2",stroke:"currentColor"}),i.default.createElement(d.Path,{d:"M14.5 6L18 9.5",strokeWidth:"2",stroke:"currentColor"}),i.default.createElement(d.Path,{d:"M5.5 9.5L7.5 7.5",strokeWidth:"2",stroke:"currentColor"}),i.default.createElement(d.Path,{d:"M14.5 18.5L16.5 16.5",strokeWidth:"2",stroke:"currentColor"}))),U=B;
|
|
2
|
+
|
|
3
|
+
//# debugId=E82EF0EB23603F7264756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconDesign/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\nimport { Path } from \"react-native-svg\";\n\nexport const IconDesign: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} maskId=\"square-outlined-radius-0-stroke-2-IconDesign\"><Path d=\"M8 20.0001H4V16L17 3L21 7L8 20.0001Z\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M12 8L7 3L3 7L8 12M12 16L17 21L21 17L16 12\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M14.5 6L18 9.5\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M5.5 9.5L7.5 7.5\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M14.5 18.5L16.5 16.5\" strokeWidth=\"2\" stroke=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconDesign;\n",
|
|
6
|
+
"import React, { FC } from \"react\";\nimport { Svg, Mask, Rect, G, SvgProps } from \"react-native-svg\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SvgProps;\n\ntype Props = CentralIconBaseProps;\n\nconst ModernCentralIconBase: React.FC<Props> = (props) => {\n const instanceId = React.useId();\n return <CentralIconSvg {...props} instanceId={instanceId} />;\n};\n\nlet nextLegacyId = 0;\n\n// React's Server Components runtime exposes useId but not Component. Only\n// define the legacy class when it is needed, so modern imports stay RSC-safe.\nconst LegacyCentralIconBase =\n typeof React.useId === \"function\"\n ? undefined\n : class extends React.Component<\n { iconProps: Props },\n { instanceId?: string }\n > {\n state: { instanceId?: string } = {};\n\n componentDidMount() {\n // Defer legacy IDs until mount so server and initial client markup agree.\n this.setState({ instanceId: `legacy-${++nextLegacyId}` });\n }\n\n render() {\n return <CentralIconSvg {...this.props.iconProps} instanceId={this.state.instanceId} />;\n }\n };\n\nexport const CentralIconBase: React.FC<Props> = (props) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={props} />\n ) : (\n <ModernCentralIconBase {...props} />\n );\n\nconst CentralIconSvg: FC<CentralIconBaseProps & { instanceId?: string }> = ({\n children,\n size = 24,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n return (\n <Svg\n {...props}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n >\n {masked ? (\n <>\n <Mask\n id={uniqueMaskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <Rect width=\"24\" height=\"24\" fill=\"#000\" />\n <G color=\"#fff\">{children}</G>\n </Mask>\n <Rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n children\n )}\n </Svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "ygCAAkB,IAAlB,4DCA0B,IAA1B,sBACA,8BAUM,EAAyC,CAAC,IAAU,CACxD,IAAM,EAAa,UAAM,MAAM,EAC/B,OAAO,wBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,UAAM,QAAU,WACnB,OACA,cAAc,UAAM,SAGlB,CACA,MAAiC,CAAC,EAElC,iBAAiB,EAAG,CAElB,KAAK,SAAS,CAAE,WAAY,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OAAO,wBAAC,EAAD,IAAoB,KAAK,MAAM,UAAW,WAAY,KAAK,MAAM,WAAY,EAExF,EAEO,EAAmC,CAAC,IAC/C,EACE,wBAAC,EAAD,CAAuB,UAAW,EAAO,EAEzC,wBAAC,EAAD,IAA2B,EAAO,EAGhC,EAAqE,EACzE,WACA,OAAO,GACP,OAAO,SACP,SACA,gBACG,KACC,CACJ,IAAM,EAAe,EAAa,GAAG,KAAU,IAAe,EACxD,EAAS,IAAS,OAAS,CAAC,CAAC,EACnC,OACE,wBA8BE,MA9BF,IACM,EACJ,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,QAEJ,EACC,gDACE,wBAUE,OAVF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,wBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,wBAA4B,IAA5B,CAAG,MAAM,QAAQ,CAAW,CAC5B,EACF,wBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GDrFe,IAArB,8BAEa,EAA+D,UAAM,KAAK,CAAC,IAC/E,wBAA8c,EAA9c,IAAqB,EAAO,OAAO,gDAA+C,wBAAC,OAAD,CAAM,EAAE,uCAAuC,YAAY,IAAI,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,6CAA6C,YAAY,IAAI,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,iBAAiB,YAAY,IAAI,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,mBAAmB,YAAY,IAAI,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,uBAAuB,YAAY,IAAI,OAAO,eAAc,CAAI,CACtd,EAEc",
|
|
9
|
+
"debugId": "E82EF0EB23603F7264756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import n from"react";import o from"react";import{Svg as C,Mask as h,Rect as d,G as g}from"react-native-svg";var k=(r)=>{let t=o.useId();return o.createElement(l,{...r,instanceId:t})},f=0,p=typeof o.useId==="function"?void 0:class extends o.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++f}`})}render(){return o.createElement(l,{...this.props.iconProps,instanceId:this.state.instanceId})}},c=(r)=>p?o.createElement(p,{iconProps:r}):o.createElement(k,{...r}),l=({children:r,size:t=24,mode:u="masked",maskId:s,instanceId:i,...m})=>{let a=i?`${s}-${i}`:s,I=u!=="raw"&&!!s;return o.createElement(C,{...m,width:typeof t==="number"?`${t}px`:t,height:typeof t==="number"?`${t}px`:t,viewBox:"0 0 24 24",fill:"none"},I?o.createElement(o.Fragment,null,o.createElement(h,{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},o.createElement(d,{width:"24",height:"24",fill:"#000"}),o.createElement(g,{color:"#fff"},r)),o.createElement(d,{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):r)};import{Path as e}from"react-native-svg";var P=n.memo((r)=>n.createElement(c,{...r,maskId:"square-outlined-radius-0-stroke-2-IconDesign"},n.createElement(e,{d:"M8 20.0001H4V16L17 3L21 7L8 20.0001Z",strokeWidth:"2",stroke:"currentColor"}),n.createElement(e,{d:"M12 8L7 3L3 7L8 12M12 16L17 21L21 17L16 12",strokeWidth:"2",stroke:"currentColor"}),n.createElement(e,{d:"M14.5 6L18 9.5",strokeWidth:"2",stroke:"currentColor"}),n.createElement(e,{d:"M5.5 9.5L7.5 7.5",strokeWidth:"2",stroke:"currentColor"}),n.createElement(e,{d:"M14.5 18.5L16.5 16.5",strokeWidth:"2",stroke:"currentColor"}))),b=P;export{P as IconDesign,b as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=1E7E3A2915FE261C64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconDesign/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\nimport { Path } from \"react-native-svg\";\n\nexport const IconDesign: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} maskId=\"square-outlined-radius-0-stroke-2-IconDesign\"><Path d=\"M8 20.0001H4V16L17 3L21 7L8 20.0001Z\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M12 8L7 3L3 7L8 12M12 16L17 21L21 17L16 12\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M14.5 6L18 9.5\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M5.5 9.5L7.5 7.5\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M14.5 18.5L16.5 16.5\" strokeWidth=\"2\" stroke=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconDesign;\n",
|
|
6
|
+
"import React, { FC } from \"react\";\nimport { Svg, Mask, Rect, G, SvgProps } from \"react-native-svg\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SvgProps;\n\ntype Props = CentralIconBaseProps;\n\nconst ModernCentralIconBase: React.FC<Props> = (props) => {\n const instanceId = React.useId();\n return <CentralIconSvg {...props} instanceId={instanceId} />;\n};\n\nlet nextLegacyId = 0;\n\n// React's Server Components runtime exposes useId but not Component. Only\n// define the legacy class when it is needed, so modern imports stay RSC-safe.\nconst LegacyCentralIconBase =\n typeof React.useId === \"function\"\n ? undefined\n : class extends React.Component<\n { iconProps: Props },\n { instanceId?: string }\n > {\n state: { instanceId?: string } = {};\n\n componentDidMount() {\n // Defer legacy IDs until mount so server and initial client markup agree.\n this.setState({ instanceId: `legacy-${++nextLegacyId}` });\n }\n\n render() {\n return <CentralIconSvg {...this.props.iconProps} instanceId={this.state.instanceId} />;\n }\n };\n\nexport const CentralIconBase: React.FC<Props> = (props) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={props} />\n ) : (\n <ModernCentralIconBase {...props} />\n );\n\nconst CentralIconSvg: FC<CentralIconBaseProps & { instanceId?: string }> = ({\n children,\n size = 24,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n return (\n <Svg\n {...props}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n >\n {masked ? (\n <>\n <Mask\n id={uniqueMaskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <Rect width=\"24\" height=\"24\" fill=\"#000\" />\n <G color=\"#fff\">{children}</G>\n </Mask>\n <Rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n children\n )}\n </Svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "AAAA,qBCAA,qBACA,cAAS,UAAK,UAAM,OAAM,yBAU1B,IAAM,EAAyC,CAAC,IAAU,CACxD,IAAM,EAAa,EAAM,MAAM,EAC/B,OAAO,gBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,EAAM,QAAU,WACnB,OACA,cAAc,EAAM,SAGlB,CACA,MAAiC,CAAC,EAElC,iBAAiB,EAAG,CAElB,KAAK,SAAS,CAAE,WAAY,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OAAO,gBAAC,EAAD,IAAoB,KAAK,MAAM,UAAW,WAAY,KAAK,MAAM,WAAY,EAExF,EAEO,EAAmC,CAAC,IAC/C,EACE,gBAAC,EAAD,CAAuB,UAAW,EAAO,EAEzC,gBAAC,EAAD,IAA2B,EAAO,EAGhC,EAAqE,EACzE,WACA,OAAO,GACP,OAAO,SACP,SACA,gBACG,KACC,CACJ,IAAM,EAAe,EAAa,GAAG,KAAU,IAAe,EACxD,EAAS,IAAS,OAAS,CAAC,CAAC,EACnC,OACE,gBA8BE,EA9BF,IACM,EACJ,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,QAEJ,EACC,gCACE,gBAUE,EAVF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,gBAAC,EAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,gBAA4B,EAA5B,CAAG,MAAM,QAAQ,CAAW,CAC5B,EACF,gBAAC,EAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GDrFN,eAAS,yBAEF,IAAM,EAA+D,EAAM,KAAK,CAAC,IAC/E,gBAA8c,EAA9c,IAAqB,EAAO,OAAO,gDAA+C,gBAAC,EAAD,CAAM,EAAE,uCAAuC,YAAY,IAAI,OAAO,eAAc,EAAE,gBAAC,EAAD,CAAM,EAAE,6CAA6C,YAAY,IAAI,OAAO,eAAc,EAAE,gBAAC,EAAD,CAAM,EAAE,iBAAiB,YAAY,IAAI,OAAO,eAAc,EAAE,gBAAC,EAAD,CAAM,EAAE,mBAAmB,YAAY,IAAI,OAAO,eAAc,EAAE,gBAAC,EAAD,CAAM,EAAE,uBAAuB,YAAY,IAAI,OAAO,eAAc,CAAI,CACtd,EAEc",
|
|
9
|
+
"debugId": "1E7E3A2915FE261C64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
package/README.md
CHANGED
|
@@ -836,6 +836,7 @@ Below is a complete list of available icons:
|
|
|
836
836
|
- IconEyedropper
|
|
837
837
|
- IconExtendImage
|
|
838
838
|
- IconBandage
|
|
839
|
+
- IconDesign
|
|
839
840
|
|
|
840
841
|
### Emoji
|
|
841
842
|
|
|
@@ -2010,6 +2011,7 @@ Below is a complete list of available icons:
|
|
|
2010
2011
|
- IconBowling
|
|
2011
2012
|
- IconKickball
|
|
2012
2013
|
- IconVersusCircle
|
|
2014
|
+
- IconCricket
|
|
2013
2015
|
|
|
2014
2016
|
### Statistics & Charts
|
|
2015
2017
|
|