@central-icons-react-native/round-outlined-radius-2-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.
- package/IconStamp/index.d.ts +4 -0
- package/IconStamp/index.js +3 -0
- package/IconStamp/index.js.map +11 -0
- package/IconStamp/index.mjs +3 -0
- package/IconStamp/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 L=Object.create;var{getPrototypeOf:S,defineProperty:d,getOwnPropertyNames:f,getOwnPropertyDescriptor:w}=Object,m=Object.prototype.hasOwnProperty;function g(n){return this[n]}var M,v,h=(n,o,e)=>{var r=n!=null&&typeof n==="object";if(r){var a=o?M??=new WeakMap:v??=new WeakMap,C=a.get(n);if(C)return C}e=n!=null?L(S(n)):{};let i=o||!n||!n.__esModule||!m.call(n,"default")?d(e,"default",{value:n,enumerable:!0}):e;if(n&&typeof n==="object"||typeof n==="function"){for(let p of f(n))if(!m.call(i,p))d(i,p,{get:g.bind(n,p),enumerable:!0})}if(r)a.set(n,i);return i},k=(n)=>{var o=(I??=new WeakMap).get(n),e;if(o)return o;if(o=d({},"__esModule",{value:!0}),n&&typeof n==="object"||typeof n==="function"){for(var r of f(n))if(!m.call(o,r))d(o,r,{get:g.bind(n,r),enumerable:!(e=w(n,r))||e.enumerable})}return I.set(n,o),o},I;var F=(n)=>n;function H(n,o){this[n]=F.bind(null,o)}var P=(n,o)=>{for(var e in o)d(n,e,{get:o[e],enumerable:!0,configurable:!0,set:H.bind(o,e)})};var U={};P(U,{IconStamp:()=>y,default:()=>W});module.exports=k(U);var c=h(require("react"));var G={};P(G,{CentralIconBase:()=>u});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})},j=0,x=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return t.default.createElement(B,{...this.props.iconProps,instanceId:this.state.instanceId})}},u=(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:a,...C})=>{let i=a?`${r}-${a}`:r,p=e!=="raw"&&!!r;return t.default.createElement(s.Svg,{...C,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:i,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(#${i})`})):n)};var l=require("react-native-svg"),y=c.default.memo((n)=>c.default.createElement(u,{...n,maskId:"round-outlined-radius-2-stroke-2-IconStamp"},c.default.createElement(l.Path,{d:"M5.93961 16.5H18.0604C19.3225 16.5 20.2691 15.3454 20.0216 14.1078L19.9019 13.5097C19.6682 12.3412 18.6422 11.5 17.4505 11.5H16.6142C15.466 11.5 14.5536 10.5355 14.6173 9.38906L14.8336 5.49538C14.924 3.86866 13.6292 2.5 12 2.5C10.3708 2.5 9.07604 3.86866 9.16641 5.49538L9.38273 9.38906C9.44641 10.5355 8.53397 11.5 7.3858 11.5H6.54951C5.35781 11.5 4.33177 12.3411 4.09806 13.5097L3.97845 14.1078C3.73093 15.3454 4.67752 16.5 5.93961 16.5Z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),c.default.createElement(l.Path,{d:"M5 20H19",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}))),W=y;
|
|
2
|
+
|
|
3
|
+
//# debugId=ADD2DFB24DD7C59D64756E2164756E21
|
|
@@ -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=\"round-outlined-radius-2-stroke-2-IconStamp\"><Path d=\"M5.93961 16.5H18.0604C19.3225 16.5 20.2691 15.3454 20.0216 14.1078L19.9019 13.5097C19.6682 12.3412 18.6422 11.5 17.4505 11.5H16.6142C15.466 11.5 14.5536 10.5355 14.6173 9.38906L14.8336 5.49538C14.924 3.86866 13.6292 2.5 12 2.5C10.3708 2.5 9.07604 3.86866 9.16641 5.49538L9.38273 9.38906C9.44641 10.5355 8.53397 11.5 7.3858 11.5H6.54951C5.35781 11.5 4.33177 12.3411 4.09806 13.5097L3.97845 14.1078C3.73093 15.3454 4.67752 16.5 5.93961 16.5Z\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" stroke=\"currentColor\"/><Path d=\"M5 20H19\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" 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,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,CAAM,EAAE,WAAW,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAQ,OAAO,eAAc,CAAI,CACvtB,EAEc",
|
|
9
|
+
"debugId": "ADD2DFB24DD7C59D64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import e from"react";import n from"react";import{Svg as I,Mask as f,Rect as a,G as g}from"react-native-svg";var h=(o)=>{let t=n.useId();return n.createElement(c,{...o,instanceId:t})},k=0,p=typeof n.useId==="function"?void 0:class extends n.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++k}`})}render(){return n.createElement(c,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=(o)=>p?n.createElement(p,{iconProps:o}):n.createElement(h,{...o}),c=({children:o,size:t=24,mode:m="masked",maskId:r,instanceId:s,...u})=>{let i=s?`${r}-${s}`:r,l=m!=="raw"&&!!r;return n.createElement(I,{...u,width:typeof t==="number"?`${t}px`:t,height:typeof t==="number"?`${t}px`:t,viewBox:"0 0 24 24",fill:"none"},l?n.createElement(n.Fragment,null,n.createElement(f,{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 C}from"react-native-svg";var P=e.memo((o)=>e.createElement(d,{...o,maskId:"round-outlined-radius-2-stroke-2-IconStamp"},e.createElement(C,{d:"M5.93961 16.5H18.0604C19.3225 16.5 20.2691 15.3454 20.0216 14.1078L19.9019 13.5097C19.6682 12.3412 18.6422 11.5 17.4505 11.5H16.6142C15.466 11.5 14.5536 10.5355 14.6173 9.38906L14.8336 5.49538C14.924 3.86866 13.6292 2.5 12 2.5C10.3708 2.5 9.07604 3.86866 9.16641 5.49538L9.38273 9.38906C9.44641 10.5355 8.53397 11.5 7.3858 11.5H6.54951C5.35781 11.5 4.33177 12.3411 4.09806 13.5097L3.97845 14.1078C3.73093 15.3454 4.67752 16.5 5.93961 16.5Z",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}),e.createElement(C,{d:"M5 20H19",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor"}))),b=P;export{P as IconStamp,b as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=918D339540428D5264756E2164756E21
|
|
@@ -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=\"round-outlined-radius-2-stroke-2-IconStamp\"><Path d=\"M5.93961 16.5H18.0604C19.3225 16.5 20.2691 15.3454 20.0216 14.1078L19.9019 13.5097C19.6682 12.3412 18.6422 11.5 17.4505 11.5H16.6142C15.466 11.5 14.5536 10.5355 14.6173 9.38906L14.8336 5.49538C14.924 3.86866 13.6292 2.5 12 2.5C10.3708 2.5 9.07604 3.86866 9.16641 5.49538L9.38273 9.38906C9.44641 10.5355 8.53397 11.5 7.3858 11.5H6.54951C5.35781 11.5 4.33177 12.3411 4.09806 13.5097L3.97845 14.1078C3.73093 15.3454 4.67752 16.5 5.93961 16.5Z\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" stroke=\"currentColor\"/><Path d=\"M5 20H19\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\" 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"
|
|
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