@central-icons-react-native/square-filled-radius-0-stroke-1 1.2.14 → 1.2.15
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/IconNoAi/index.d.ts +4 -0
- package/IconNoAi/index.js +3 -0
- package/IconNoAi/index.js.map +11 -0
- package/IconNoAi/index.mjs +3 -0
- package/IconNoAi/index.mjs.map +11 -0
- package/README.md +1 -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 +1 -0
- package/index.js +3 -0
- package/index.mjs +1 -0
- package/license-check.js +1 -1
- package/package.json +1 -1
- package/skills/central-icons-react-native/SKILL.md +2 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var k=Object.create;var{getPrototypeOf:w,defineProperty:c,getOwnPropertyNames:C,getOwnPropertyDescriptor:M}=Object,m=Object.prototype.hasOwnProperty;function g(n){return this[n]}var S,v,L=(n,o,t)=>{var r=n!=null&&typeof n==="object";if(r){var a=o?S??=new WeakMap:v??=new WeakMap,l=a.get(n);if(l)return l}t=n!=null?k(w(n)):{};let i=o||!n||!n.__esModule||!m.call(n,"default")?c(t,"default",{value:n,enumerable:!0}):t;if(n&&typeof n==="object"||typeof n==="function"){for(let p of C(n))if(!m.call(i,p))c(i,p,{get:g.bind(n,p),enumerable:!0})}if(r)a.set(n,i);return i},h=(n)=>{var o=(f??=new WeakMap).get(n),t;if(o)return o;if(o=c({},"__esModule",{value:!0}),n&&typeof n==="object"||typeof n==="function"){for(var r of C(n))if(!m.call(o,r))c(o,r,{get:g.bind(n,r),enumerable:!(t=M(n,r))||t.enumerable})}return f.set(n,o),o},f;var F=(n)=>n;function b(n,o){this[n]=F.bind(null,o)}var P=(n,o)=>{for(var t in o)c(n,t,{get:o[t],enumerable:!0,configurable:!0,set:b.bind(o,t)})};var G={};P(G,{IconNoAi:()=>y,default:()=>H});module.exports=h(G);var A={};P(A,{CentralIconBase:()=>I});var d=L(require("react"));var e=L(require("react")),s=require("react-native-svg"),N=(n)=>{let o=e.default.useId();return e.default.createElement(B,{...n,instanceId:o})},q=0,x=typeof e.default.useId==="function"?void 0:class extends e.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++q}`})}render(){return e.default.createElement(B,{...this.props.iconProps,instanceId:this.state.instanceId})}},I=(n)=>x?e.default.createElement(x,{iconProps:n}):e.default.createElement(N,{...n}),B=({children:n,size:o=24,mode:t="masked",maskId:r,instanceId:a,...l})=>{let i=a?`${r}-${a}`:r,p=t!=="raw"&&!!r;return e.default.createElement(s.Svg,{...l,width:typeof o==="number"?`${o}px`:o,height:typeof o==="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none"},p?e.default.createElement(e.default.Fragment,null,e.default.createElement(s.Mask,{id:i,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},e.default.createElement(s.Rect,{width:"24",height:"24",fill:"#000"}),e.default.createElement(s.G,{color:"#fff"},n)),e.default.createElement(s.Rect,{width:"24",height:"24",fill:"currentColor",mask:`url(#${i})`})):n)};var u=require("react-native-svg"),y=d.default.memo((n)=>d.default.createElement(I,{...n,maskId:"square-filled-radius-0-stroke-1-IconNoAi"},d.default.createElement(u.Path,{d:"M21.8535 21.1465L21.1465 21.8535L15.1895 15.8965L12.8438 22H11.1562L8.6123 15.3867L2 12.8438V11.1562L8.10156 8.80859L2.14648 2.85352L2.85352 2.14648L21.8535 21.1465Z",fill:"currentColor"}),d.default.createElement(u.Path,{d:"M15.3867 8.6123L22 11.1562V12.8438L16.8721 14.8145L9.18359 7.12598L11.1562 2H12.8438L15.3867 8.6123Z",fill:"currentColor"}))),H=y;
|
|
2
|
+
|
|
3
|
+
//# debugId=6E64DED01BFCA98764756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconNoAi/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 IconNoAi: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} maskId=\"square-filled-radius-0-stroke-1-IconNoAi\"><Path d=\"M21.8535 21.1465L21.1465 21.8535L15.1895 15.8965L12.8438 22H11.1562L8.6123 15.3867L2 12.8438V11.1562L8.10156 8.80859L2.14648 2.85352L2.85352 2.14648L21.8535 21.1465Z\" fill=\"currentColor\"/><Path d=\"M15.3867 8.6123L22 11.1562V12.8438L16.8721 14.8145L9.18359 7.12598L11.1562 2H12.8438L15.3867 8.6123Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconNoAi;\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": "6iCAAkB,IAAlB,sBCA0B,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,EAA6D,UAAM,KAAK,CAAC,IAC7E,wBAAyZ,EAAzZ,IAAqB,EAAO,OAAO,4CAA2C,wBAAC,OAAD,CAAM,EAAE,wKAAwK,KAAK,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,uGAAuG,KAAK,eAAc,CAAI,CACja,EAEc",
|
|
9
|
+
"debugId": "6E64DED01BFCA98764756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import t from"react";import n from"react";import{Svg as f,Mask as C,Rect as a,G as g}from"react-native-svg";var L=(o)=>{let e=n.useId();return n.createElement(d,{...o,instanceId:e})},h=0,p=typeof n.useId==="function"?void 0:class extends n.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++h}`})}render(){return n.createElement(d,{...this.props.iconProps,instanceId:this.state.instanceId})}},c=(o)=>p?n.createElement(p,{iconProps:o}):n.createElement(L,{...o}),d=({children:o,size:e=24,mode:m="masked",maskId:r,instanceId:s,...I})=>{let i=s?`${r}-${s}`:r,u=m!=="raw"&&!!r;return n.createElement(f,{...I,width:typeof e==="number"?`${e}px`:e,height:typeof e==="number"?`${e}px`:e,viewBox:"0 0 24 24",fill:"none"},u?n.createElement(n.Fragment,null,n.createElement(C,{id:i,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},n.createElement(a,{width:"24",height:"24",fill:"#000"}),n.createElement(g,{color:"#fff"},o)),n.createElement(a,{width:"24",height:"24",fill:"currentColor",mask:`url(#${i})`})):o)};import{Path as l}from"react-native-svg";var P=t.memo((o)=>t.createElement(c,{...o,maskId:"square-filled-radius-0-stroke-1-IconNoAi"},t.createElement(l,{d:"M21.8535 21.1465L21.1465 21.8535L15.1895 15.8965L12.8438 22H11.1562L8.6123 15.3867L2 12.8438V11.1562L8.10156 8.80859L2.14648 2.85352L2.85352 2.14648L21.8535 21.1465Z",fill:"currentColor"}),t.createElement(l,{d:"M15.3867 8.6123L22 11.1562V12.8438L16.8721 14.8145L9.18359 7.12598L11.1562 2H12.8438L15.3867 8.6123Z",fill:"currentColor"}))),N=P;export{P as IconNoAi,N as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=961F295BC9E2796164756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconNoAi/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 IconNoAi: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} maskId=\"square-filled-radius-0-stroke-1-IconNoAi\"><Path d=\"M21.8535 21.1465L21.1465 21.8535L15.1895 15.8965L12.8438 22H11.1562L8.6123 15.3867L2 12.8438V11.1562L8.10156 8.80859L2.14648 2.85352L2.85352 2.14648L21.8535 21.1465Z\" fill=\"currentColor\"/><Path d=\"M15.3867 8.6123L22 11.1562V12.8438L16.8721 14.8145L9.18359 7.12598L11.1562 2H12.8438L15.3867 8.6123Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconNoAi;\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,EAA6D,EAAM,KAAK,CAAC,IAC7E,gBAAyZ,EAAzZ,IAAqB,EAAO,OAAO,4CAA2C,gBAAC,EAAD,CAAM,EAAE,wKAAwK,KAAK,eAAc,EAAE,gBAAC,EAAD,CAAM,EAAE,uGAAuG,KAAK,eAAc,CAAI,CACja,EAEc",
|
|
9
|
+
"debugId": "961F295BC9E2796164756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|