@central-icons-react-native/square-outlined-radius-0-stroke-1 1.2.8 → 1.2.9

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,4 @@
1
+ import React from "react";
2
+ import { type CentralIconBaseProps } from "../CentralIconBase";
3
+ export declare const IconStamp: React.NamedExoticComponent<CentralIconBaseProps>;
4
+ export default IconStamp;
@@ -0,0 +1,3 @@
1
+ var S=Object.create;var{getPrototypeOf:w,defineProperty:c,getOwnPropertyNames:f,getOwnPropertyDescriptor:M}=Object,l=Object.prototype.hasOwnProperty;function g(n){return this[n]}var v,L,h=(n,o,e)=>{var r=n!=null&&typeof n==="object";if(r){var i=o?v??=new WeakMap:L??=new WeakMap,m=i.get(n);if(m)return m}e=n!=null?S(w(n)):{};let a=o||!n||!n.__esModule||!l.call(n,"default")?c(e,"default",{value:n,enumerable:!0}):e;if(n&&typeof n==="object"||typeof n==="function"){for(let p of f(n))if(!l.call(a,p))c(a,p,{get:g.bind(n,p),enumerable:!0})}if(r)i.set(n,a);return a},P=(n)=>{var o=(u??=new WeakMap).get(n),e;if(o)return o;if(o=c({},"__esModule",{value:!0}),n&&typeof n==="object"||typeof n==="function"){for(var r of f(n))if(!l.call(o,r))c(o,r,{get:g.bind(n,r),enumerable:!(e=M(n,r))||e.enumerable})}return u.set(n,o),o},u;var F=(n)=>n;function H(n,o){this[n]=F.bind(null,o)}var k=(n,o)=>{for(var e in o)c(n,e,{get:o[e],enumerable:!0,configurable:!0,set:H.bind(o,e)})};var U={};k(U,{IconStamp:()=>y,default:()=>D});module.exports=P(U);var d=h(require("react"));var G={};k(G,{CentralIconBase:()=>C});var t=h(require("react")),s=require("react-native-svg"),b=(n)=>{let o=t.default.useId();return t.default.createElement(B,{...n,instanceId:o})},q=0,x=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++q}`})}render(){return t.default.createElement(B,{...this.props.iconProps,instanceId:this.state.instanceId})}},C=(n)=>x?t.default.createElement(x,{iconProps:n}):t.default.createElement(b,{...n}),B=({children:n,size:o=24,mode:e="masked",maskId:r,instanceId:i,...m})=>{let a=i?`${r}-${i}`:r,p=e!=="raw"&&!!r;return t.default.createElement(s.Svg,{...m,width:typeof o==="number"?`${o}px`:o,height:typeof o==="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none"},p?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"},n)),t.default.createElement(s.Rect,{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):n)};var I=require("react-native-svg"),y=d.default.memo((n)=>d.default.createElement(C,{...n,maskId:"square-outlined-radius-0-stroke-1-IconStamp"},d.default.createElement(I.Path,{d:"M3.5 18.5H20.5L20.2251 15.7512C20.0973 14.4732 19.0219 13.5 17.7375 13.5H14.5L14.8697 4.99717C14.9407 3.36337 13.6353 2 12 2C10.3647 2 9.05928 3.36337 9.13031 4.99717L9.5 13.5H6.26247C4.97809 13.5 3.90268 14.4732 3.77488 15.7512L3.5 18.5Z",stroke:"currentColor"}),d.default.createElement(I.Path,{d:"M4 20.5H20",stroke:"currentColor"}))),D=y;
2
+
3
+ //# debugId=143230032D06F4B264756E2164756E21
@@ -0,0 +1,11 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["src/IconStamp/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 IconStamp: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} maskId=\"square-outlined-radius-0-stroke-1-IconStamp\"><Path d=\"M3.5 18.5H20.5L20.2251 15.7512C20.0973 14.4732 19.0219 13.5 17.7375 13.5H14.5L14.8697 4.99717C14.9407 3.36337 13.6353 2 12 2C10.3647 2 9.05928 3.36337 9.13031 4.99717L9.5 13.5H6.26247C4.97809 13.5 3.90268 14.4732 3.77488 15.7512L3.5 18.5Z\" stroke=\"currentColor\"/><Path d=\"M4 20.5H20\" stroke=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconStamp;\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": "wgCAAkB,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,EAA8D,UAAM,KAAK,CAAC,IAC9E,wBAA+Y,EAA/Y,IAAqB,EAAO,OAAO,+CAA8C,wBAAC,OAAD,CAAM,EAAE,iPAAiP,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,aAAa,OAAO,eAAc,CAAI,CACvZ,EAEc",
9
+ "debugId": "143230032D06F4B264756E2164756E21",
10
+ "names": []
11
+ }
@@ -0,0 +1,3 @@
1
+ import e from"react";import n from"react";import{Svg as u,Mask as f,Rect as i,G as g}from"react-native-svg";var h=(o)=>{let t=n.useId();return n.createElement(d,{...o,instanceId:t})},P=0,p=typeof n.useId==="function"?void 0:class extends n.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++P}`})}render(){return n.createElement(d,{...this.props.iconProps,instanceId:this.state.instanceId})}},c=(o)=>p?n.createElement(p,{iconProps:o}):n.createElement(h,{...o}),d=({children:o,size:t=24,mode:l="masked",maskId:r,instanceId:s,...C})=>{let a=s?`${r}-${s}`:r,I=l!=="raw"&&!!r;return n.createElement(u,{...C,width:typeof t==="number"?`${t}px`:t,height:typeof t==="number"?`${t}px`:t,viewBox:"0 0 24 24",fill:"none"},I?n.createElement(n.Fragment,null,n.createElement(f,{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},n.createElement(i,{width:"24",height:"24",fill:"#000"}),n.createElement(g,{color:"#fff"},o)),n.createElement(i,{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):o)};import{Path as m}from"react-native-svg";var k=e.memo((o)=>e.createElement(c,{...o,maskId:"square-outlined-radius-0-stroke-1-IconStamp"},e.createElement(m,{d:"M3.5 18.5H20.5L20.2251 15.7512C20.0973 14.4732 19.0219 13.5 17.7375 13.5H14.5L14.8697 4.99717C14.9407 3.36337 13.6353 2 12 2C10.3647 2 9.05928 3.36337 9.13031 4.99717L9.5 13.5H6.26247C4.97809 13.5 3.90268 14.4732 3.77488 15.7512L3.5 18.5Z",stroke:"currentColor"}),e.createElement(m,{d:"M4 20.5H20",stroke:"currentColor"}))),b=k;export{k as IconStamp,b as default};
2
+
3
+ //# debugId=8C04569B996C5A1F64756E2164756E21
@@ -0,0 +1,11 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["src/IconStamp/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 IconStamp: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} maskId=\"square-outlined-radius-0-stroke-1-IconStamp\"><Path d=\"M3.5 18.5H20.5L20.2251 15.7512C20.0973 14.4732 19.0219 13.5 17.7375 13.5H14.5L14.8697 4.99717C14.9407 3.36337 13.6353 2 12 2C10.3647 2 9.05928 3.36337 9.13031 4.99717L9.5 13.5H6.26247C4.97809 13.5 3.90268 14.4732 3.77488 15.7512L3.5 18.5Z\" stroke=\"currentColor\"/><Path d=\"M4 20.5H20\" stroke=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconStamp;\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,EAA8D,EAAM,KAAK,CAAC,IAC9E,gBAA+Y,EAA/Y,IAAqB,EAAO,OAAO,+CAA8C,gBAAC,EAAD,CAAM,EAAE,iPAAiP,OAAO,eAAc,EAAE,gBAAC,EAAD,CAAM,EAAE,aAAa,OAAO,eAAc,CAAI,CACvZ,EAEc",
9
+ "debugId": "8C04569B996C5A1F64756E2164756E21",
10
+ "names": []
11
+ }
package/README.md CHANGED
@@ -2201,6 +2201,7 @@ Below is a complete list of available icons:
2201
2201
  - IconPiggyBankCoin
2202
2202
  - IconPlugins
2203
2203
  - IconFrog
2204
+ - IconStamp
2204
2205
 
2205
2206
  ### Time & Date
2206
2207