@central-icons-react-native/square-outlined-radius-0-stroke-2 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(t){return this[t]}var v,L,h=(t,n,e)=>{var r=t!=null&&typeof t==="object";if(r){var i=n?v??=new WeakMap:L??=new WeakMap,m=i.get(t);if(m)return m}e=t!=null?S(w(t)):{};let a=n||!t||!t.__esModule||!l.call(t,"default")?c(e,"default",{value:t,enumerable:!0}):e;if(t&&typeof t==="object"||typeof t==="function"){for(let p of f(t))if(!l.call(a,p))c(a,p,{get:g.bind(t,p),enumerable:!0})}if(r)i.set(t,a);return a},P=(t)=>{var n=(u??=new WeakMap).get(t),e;if(n)return n;if(n=c({},"__esModule",{value:!0}),t&&typeof t==="object"||typeof t==="function"){for(var r of f(t))if(!l.call(n,r))c(n,r,{get:g.bind(t,r),enumerable:!(e=M(t,r))||e.enumerable})}return u.set(t,n),n},u;var F=(t)=>t;function H(t,n){this[t]=F.bind(null,n)}var k=(t,n)=>{for(var e in n)c(t,e,{get:n[e],enumerable:!0,configurable:!0,set:H.bind(n,e)})};var U={};k(U,{IconStamp:()=>y,default:()=>W});module.exports=P(U);var d=h(require("react"));var G={};k(G,{CentralIconBase:()=>C});var o=h(require("react")),s=require("react-native-svg"),b=(t)=>{let n=o.default.useId();return o.default.createElement(B,{...t,instanceId:n})},q=0,x=typeof o.default.useId==="function"?void 0:class extends o.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++q}`})}render(){return o.default.createElement(B,{...this.props.iconProps,instanceId:this.state.instanceId})}},C=(t)=>x?o.default.createElement(x,{iconProps:t}):o.default.createElement(b,{...t}),B=({children:t,size:n=24,mode:e="masked",maskId:r,instanceId:i,...m})=>{let a=i?`${r}-${i}`:r,p=e!=="raw"&&!!r;return o.default.createElement(s.Svg,{...m,width:typeof n==="number"?`${n}px`:n,height:typeof n==="number"?`${n}px`:n,viewBox:"0 0 24 24",fill:"none"},p?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.Mask,{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},o.default.createElement(s.Rect,{width:"24",height:"24",fill:"#000"}),o.default.createElement(s.G,{color:"#fff"},t)),o.default.createElement(s.Rect,{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):t)};var I=require("react-native-svg"),y=d.default.memo((t)=>d.default.createElement(C,{...t,maskId:"square-outlined-radius-0-stroke-2-IconStamp"},d.default.createElement(I.Path,{d:"M4 16.5H20L19.7251 13.7512C19.5973 12.4732 18.5219 11.5 17.2375 11.5H14.5L14.8336 5.49538C14.924 3.86866 13.6292 2.5 12 2.5C10.3708 2.5 9.07604 3.86866 9.16641 5.49538L9.5 11.5H6.76247C5.47809 11.5 4.40268 12.4732 4.27488 13.7512L4 16.5Z",strokeWidth:"2",stroke:"currentColor"}),d.default.createElement(I.Path,{d:"M4 20H20",strokeWidth:"2",stroke:"currentColor"}))),W=y;
2
+
3
+ //# debugId=31FA1A5C775A1DF364756E2164756E21
@@ -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-2-IconStamp\"><Path d=\"M4 16.5H20L19.7251 13.7512C19.5973 12.4732 18.5219 11.5 17.2375 11.5H14.5L14.8336 5.49538C14.924 3.86866 13.6292 2.5 12 2.5C10.3708 2.5 9.07604 3.86866 9.16641 5.49538L9.5 11.5H6.76247C5.47809 11.5 4.40268 12.4732 4.27488 13.7512L4 16.5Z\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M4 20H20\" strokeWidth=\"2\" 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,wBAA4a,EAA5a,IAAqB,EAAO,OAAO,+CAA8C,wBAAC,OAAD,CAAM,EAAE,gPAAgP,YAAY,IAAI,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,WAAW,YAAY,IAAI,OAAO,eAAc,CAAI,CACpb,EAEc",
9
+ "debugId": "31FA1A5C775A1DF364756E2164756E21",
10
+ "names": []
11
+ }
@@ -0,0 +1,3 @@
1
+ import e from"react";import t from"react";import{Svg as u,Mask as f,Rect as i,G as g}from"react-native-svg";var h=(n)=>{let o=t.useId();return t.createElement(d,{...n,instanceId:o})},P=0,p=typeof t.useId==="function"?void 0:class extends t.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++P}`})}render(){return t.createElement(d,{...this.props.iconProps,instanceId:this.state.instanceId})}},c=(n)=>p?t.createElement(p,{iconProps:n}):t.createElement(h,{...n}),d=({children:n,size:o=24,mode:l="masked",maskId:r,instanceId:s,...C})=>{let a=s?`${r}-${s}`:r,I=l!=="raw"&&!!r;return t.createElement(u,{...C,width:typeof o==="number"?`${o}px`:o,height:typeof o==="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none"},I?t.createElement(t.Fragment,null,t.createElement(f,{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.createElement(i,{width:"24",height:"24",fill:"#000"}),t.createElement(g,{color:"#fff"},n)),t.createElement(i,{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):n)};import{Path as m}from"react-native-svg";var k=e.memo((n)=>e.createElement(c,{...n,maskId:"square-outlined-radius-0-stroke-2-IconStamp"},e.createElement(m,{d:"M4 16.5H20L19.7251 13.7512C19.5973 12.4732 18.5219 11.5 17.2375 11.5H14.5L14.8336 5.49538C14.924 3.86866 13.6292 2.5 12 2.5C10.3708 2.5 9.07604 3.86866 9.16641 5.49538L9.5 11.5H6.76247C5.47809 11.5 4.40268 12.4732 4.27488 13.7512L4 16.5Z",strokeWidth:"2",stroke:"currentColor"}),e.createElement(m,{d:"M4 20H20",strokeWidth:"2",stroke:"currentColor"}))),b=k;export{k as IconStamp,b as default};
2
+
3
+ //# debugId=D00A39E7C506BC8364756E2164756E21
@@ -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-2-IconStamp\"><Path d=\"M4 16.5H20L19.7251 13.7512C19.5973 12.4732 18.5219 11.5 17.2375 11.5H14.5L14.8336 5.49538C14.924 3.86866 13.6292 2.5 12 2.5C10.3708 2.5 9.07604 3.86866 9.16641 5.49538L9.5 11.5H6.76247C5.47809 11.5 4.40268 12.4732 4.27488 13.7512L4 16.5Z\" strokeWidth=\"2\" stroke=\"currentColor\"/><Path d=\"M4 20H20\" strokeWidth=\"2\" 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,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b,EAEc",
9
+ "debugId": "D00A39E7C506BC8364756E2164756E21",
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