@central-icons-react/square-outlined-radius-0-stroke-2 1.2.2 → 1.2.3
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/IconArrowsLeftRight/index.d.ts +4 -0
- package/IconArrowsLeftRight/index.js +3 -0
- package/IconArrowsLeftRight/index.js.map +11 -0
- package/IconArrowsLeftRight/index.mjs +3 -0
- package/IconArrowsLeftRight/index.mjs.map +11 -0
- package/IconArrowsRightLeft/index.d.ts +4 -0
- package/IconArrowsRightLeft/index.js +3 -0
- package/IconArrowsRightLeft/index.js.map +11 -0
- package/IconArrowsRightLeft/index.mjs +3 -0
- package/IconArrowsRightLeft/index.mjs.map +11 -0
- package/IconBox/index.d.ts +4 -0
- package/IconBox/index.js +3 -0
- package/IconBox/index.js.map +11 -0
- package/IconBox/index.mjs +3 -0
- package/IconBox/index.mjs.map +11 -0
- package/IconFrog/index.d.ts +4 -0
- package/IconFrog/index.js +3 -0
- package/IconFrog/index.js.map +11 -0
- package/IconFrog/index.mjs +3 -0
- package/IconFrog/index.mjs.map +11 -0
- package/README.md +4 -0
- 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 +4 -0
- package/index.js +12 -0
- package/index.mjs +4 -0
- package/license-check.js +1 -1
- package/package.json +1 -1
- package/skills/central-icons-react/SKILL.md +5 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var F=Object.create;var{getPrototypeOf:N,defineProperty:d,getOwnPropertyNames:y,getOwnPropertyDescriptor:R}=Object,u=Object.prototype.hasOwnProperty;function S(e){return this[e]}var q,U,x=(e,r,n)=>{var o=e!=null&&typeof e==="object";if(o){var l=r?q??=new WeakMap:U??=new WeakMap,c=l.get(e);if(c)return c}n=e!=null?F(N(e)):{};let a=r||!e||!e.__esModule||!u.call(e,"default")?d(n,"default",{value:e,enumerable:!0}):n;if(e&&typeof e==="object"||typeof e==="function"){for(let i of y(e))if(!u.call(a,i))d(a,i,{get:S.bind(e,i),enumerable:!0})}if(o)l.set(e,a);return a},B=(e)=>{var r=(P??=new WeakMap).get(e),n;if(r)return r;if(r=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of y(e))if(!u.call(r,o))d(r,o,{get:S.bind(e,o),enumerable:!(n=R(e,o))||n.enumerable})}return P.set(e,r),r},P;var A=(e)=>e;function D(e,r){this[e]=A.bind(null,r)}var G=(e,r)=>{for(var n in r)d(e,n,{get:r[n],enumerable:!0,configurable:!0,set:D.bind(r,n)})};var K={};G(K,{IconArrowsLeftRight:()=>v,default:()=>Q});module.exports=B(K);var s=x(require("react"));var J={};G(J,{CentralIconBase:()=>p});var t=x(require("react")),O=(e)=>{let r=t.default.useId();return t.default.createElement(L,{...e,instanceId:r})},j=0,V=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return t.default.createElement(L,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=t.default.forwardRef((e,r)=>V?t.default.createElement(V,{iconProps:{...e,svgRef:r}}):t.default.createElement(O,{...e,svgRef:r}));p.displayName="CentralIconBase";var L=({children:e,size:r=24,ariaLabel:n,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":a,role:i,svgRef:b,renderShapes:I,style:M,mode:E="masked",maskId:h,instanceId:m,...H})=>{let f=m?`${h}-${m}`:h,W=E!=="raw"&&!!h,g=c??l??!0,C=g===!0||g==="true",w=a??n,k=I?I(f??m??"icon"):e;return t.default.createElement("svg",{...H,ref:b,"aria-hidden":g,"aria-label":a,role:i??(C?void 0:"img"),width:typeof r==="number"?`${r}px`:r,height:typeof r==="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...M}},w&&!C&&t.default.createElement("title",null,w),W?t.default.createElement(t.default.Fragment,null,t.default.createElement("mask",{id:f,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),t.default.createElement("g",{fill:"none",style:{color:"#fff"}},k)),t.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${f})`})):k)};var v=s.default.memo(s.default.forwardRef((e,r)=>s.default.createElement(p,{...e,ref:r,ariaLabel:"arrows-left-right, change, switch",maskId:"square-outlined-radius-0-stroke-2-IconArrowsLeftRight"},s.default.createElement("path",{d:"M14 8H4",stroke:"currentColor",strokeWidth:"2"}),s.default.createElement("path",{d:"M20 16H10",stroke:"currentColor",strokeWidth:"2"}),s.default.createElement("path",{d:"M7 4L3 8L7 12",stroke:"currentColor",strokeWidth:"2"}),s.default.createElement("path",{d:"M17 12L21 16L17 20",stroke:"currentColor",strokeWidth:"2"})))),Q=v;
|
|
2
|
+
|
|
3
|
+
//# debugId=41E0B1F57AEC12F364756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconArrowsLeftRight/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconArrowsLeftRight: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"arrows-left-right, change, switch\"} maskId=\"square-outlined-radius-0-stroke-2-IconArrowsLeftRight\"><path d=\"M14 8H4\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M20 16H10\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M7 4L3 8L7 12\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M17 12L21 16L17 20\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconArrowsLeftRight;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (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: RenderProps },\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 (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\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 xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\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 fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "khCAAkB,IAAlB,4DCAkB,IAAlB,sBAiBM,EAA+C,CAAC,IAAU,CAC9D,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,OACE,wBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAAY,KAAK,MAAM,WACzB,EAGN,EAEO,EAAk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UAAW,oCAAqC,OAAO,yDAAwD,wBAAC,OAAD,CAAM,EAAE,UAAU,OAAO,eAAe,YAAY,IAAG,EAAE,wBAAC,OAAD,CAAM,EAAE,YAAY,OAAO,eAAe,YAAY,IAAG,EAAE,wBAAC,OAAD,CAAM,EAAE,gBAAgB,OAAO,eAAe,YAAY,IAAG,EAAE,wBAAC,OAAD,CAAM,EAAE,qBAAqB,OAAO,eAAe,YAAY,IAAG,CAAI,CACtZ,CAAC,EAEa",
|
|
9
|
+
"debugId": "41E0B1F57AEC12F364756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import n from"react";import e from"react";var G=(t)=>{let r=e.useId();return e.createElement(g,{...t,instanceId:r})},V=0,f=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++V}`})}render(){return e.createElement(g,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((t,r)=>f?e.createElement(f,{iconProps:{...t,svgRef:r}}):e.createElement(G,{...t,svgRef:r}));d.displayName="CentralIconBase";var g=({children:t,size:r=24,ariaLabel:u,color:I,ariaHidden:C,"aria-hidden":w,"aria-label":l,role:k,svgRef:P,renderShapes:c,style:y,mode:S="masked",maskId:o,instanceId:s,...x})=>{let a=s?`${o}-${s}`:o,B=S!=="raw"&&!!o,i=w??C??!0,p=i===!0||i==="true",h=l??u,m=c?c(a??s??"icon"):t;return e.createElement("svg",{...x,ref:P,"aria-hidden":i,"aria-label":l,role:k??(p?void 0:"img"),width:typeof r==="number"?`${r}px`:r,height:typeof r==="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:I,...y}},h&&!p&&e.createElement("title",null,h),B?e.createElement(e.Fragment,null,e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},e.createElement("rect",{width:"24",height:"24",fill:"#000"}),e.createElement("g",{fill:"none",style:{color:"#fff"}},m)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):m)};var L=n.memo(n.forwardRef((t,r)=>n.createElement(d,{...t,ref:r,ariaLabel:"arrows-left-right, change, switch",maskId:"square-outlined-radius-0-stroke-2-IconArrowsLeftRight"},n.createElement("path",{d:"M14 8H4",stroke:"currentColor",strokeWidth:"2"}),n.createElement("path",{d:"M20 16H10",stroke:"currentColor",strokeWidth:"2"}),n.createElement("path",{d:"M7 4L3 8L7 12",stroke:"currentColor",strokeWidth:"2"}),n.createElement("path",{d:"M17 12L21 16L17 20",stroke:"currentColor",strokeWidth:"2"})))),F=L;export{L as IconArrowsLeftRight,F as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=ACC5715DB80B0C8F64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconArrowsLeftRight/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconArrowsLeftRight: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"arrows-left-right, change, switch\"} maskId=\"square-outlined-radius-0-stroke-2-IconArrowsLeftRight\"><path d=\"M14 8H4\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M20 16H10\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M7 4L3 8L7 12\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M17 12L21 16L17 20\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconArrowsLeftRight;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (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: RenderProps },\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 (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\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 xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\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 fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "AAAA,qBCAA,qBAiBA,IAAM,EAA+C,CAAC,IAAU,CAC9D,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,OACE,gBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAAY,KAAK,MAAM,WACzB,EAGN,EAEO,EAAkB,EAAM,WACnC,CAAC,EAAO,IACN,EACE,gBAAC,EAAD,CAAuB,UAAW,IAAK,EAAO,OAAQ,CAAI,EAAG,EAE7D,gBAAC,EAAD,IAA2B,E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AAO,eAAe,YAAY,IAAG,EAAE,gBAAC,OAAD,CAAM,EAAE,gBAAgB,OAAO,eAAe,YAAY,IAAG,EAAE,gBAAC,OAAD,CAAM,EAAE,qBAAqB,OAAO,eAAe,YAAY,IAAG,CAAI,CACtZ,CAAC,EAEa",
|
|
9
|
+
"debugId": "ACC5715DB80B0C8F64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var F=Object.create;var{getPrototypeOf:N,defineProperty:d,getOwnPropertyNames:y,getOwnPropertyDescriptor:R}=Object,u=Object.prototype.hasOwnProperty;function S(e){return this[e]}var q,U,x=(e,r,n)=>{var o=e!=null&&typeof e==="object";if(o){var l=r?q??=new WeakMap:U??=new WeakMap,c=l.get(e);if(c)return c}n=e!=null?F(N(e)):{};let a=r||!e||!e.__esModule||!u.call(e,"default")?d(n,"default",{value:e,enumerable:!0}):n;if(e&&typeof e==="object"||typeof e==="function"){for(let i of y(e))if(!u.call(a,i))d(a,i,{get:S.bind(e,i),enumerable:!0})}if(o)l.set(e,a);return a},B=(e)=>{var r=(P??=new WeakMap).get(e),n;if(r)return r;if(r=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of y(e))if(!u.call(r,o))d(r,o,{get:S.bind(e,o),enumerable:!(n=R(e,o))||n.enumerable})}return P.set(e,r),r},P;var A=(e)=>e;function D(e,r){this[e]=A.bind(null,r)}var G=(e,r)=>{for(var n in r)d(e,n,{get:r[n],enumerable:!0,configurable:!0,set:D.bind(r,n)})};var K={};G(K,{IconArrowsRightLeft:()=>v,default:()=>Q});module.exports=B(K);var s=x(require("react"));var J={};G(J,{CentralIconBase:()=>p});var t=x(require("react")),O=(e)=>{let r=t.default.useId();return t.default.createElement(L,{...e,instanceId:r})},j=0,V=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return t.default.createElement(L,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=t.default.forwardRef((e,r)=>V?t.default.createElement(V,{iconProps:{...e,svgRef:r}}):t.default.createElement(O,{...e,svgRef:r}));p.displayName="CentralIconBase";var L=({children:e,size:r=24,ariaLabel:n,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":a,role:i,svgRef:b,renderShapes:I,style:M,mode:E="masked",maskId:h,instanceId:m,...H})=>{let f=m?`${h}-${m}`:h,W=E!=="raw"&&!!h,g=c??l??!0,C=g===!0||g==="true",w=a??n,k=I?I(f??m??"icon"):e;return t.default.createElement("svg",{...H,ref:b,"aria-hidden":g,"aria-label":a,role:i??(C?void 0:"img"),width:typeof r==="number"?`${r}px`:r,height:typeof r==="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...M}},w&&!C&&t.default.createElement("title",null,w),W?t.default.createElement(t.default.Fragment,null,t.default.createElement("mask",{id:f,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),t.default.createElement("g",{fill:"none",style:{color:"#fff"}},k)),t.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${f})`})):k)};var v=s.default.memo(s.default.forwardRef((e,r)=>s.default.createElement(p,{...e,ref:r,ariaLabel:"arrows-right-left, change, switch",maskId:"square-outlined-radius-0-stroke-2-IconArrowsRightLeft"},s.default.createElement("path",{d:"M10 8H20",stroke:"currentColor",strokeWidth:"2"}),s.default.createElement("path",{d:"M4 16H14",stroke:"currentColor",strokeWidth:"2"}),s.default.createElement("path",{d:"M17 4L21 8L17 12",stroke:"currentColor",strokeWidth:"2"}),s.default.createElement("path",{d:"M7 12L3 16L7 20",stroke:"currentColor",strokeWidth:"2"})))),Q=v;
|
|
2
|
+
|
|
3
|
+
//# debugId=3239061CED4E4BDB64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconArrowsRightLeft/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconArrowsRightLeft: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"arrows-right-left, change, switch\"} maskId=\"square-outlined-radius-0-stroke-2-IconArrowsRightLeft\"><path d=\"M10 8H20\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M4 16H14\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M17 4L21 8L17 12\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M7 12L3 16L7 20\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconArrowsRightLeft;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (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: RenderProps },\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 (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\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 xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\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 fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>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MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAS,CAAC,GAAY,wBAAgB,QAAhB,KAAQ,CAAQ,EACtC,EACC,gDACE,wBAYE,OAZF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,wBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,wBAEE,IAFF,CAAG,KAAK,OAAO,MAAO,CAAE,MAAO,MAAO,GACnC,CACD,CACF,EACF,wBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GD1HC,IAAM,EAAwE,UAAM,KAAK,UAAM,WAAgD,CAAC,EAAO,IACrJ,wBAA8Y,EAA9Y,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,yDAAwD,wBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAG,EAAE,wBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAG,EAAE,wBAAC,OAAD,CAAM,EAAE,mBAAmB,OAAO,eAAe,YAAY,IAAG,EAAE,wBAAC,OAAD,CAAM,EAAE,kBAAkB,OAAO,eAAe,YAAY,IAAG,CAAI,CACtZ,CAAC,EAEa",
|
|
9
|
+
"debugId": "3239061CED4E4BDB64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import n from"react";import e from"react";var G=(t)=>{let r=e.useId();return e.createElement(g,{...t,instanceId:r})},V=0,f=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++V}`})}render(){return e.createElement(g,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((t,r)=>f?e.createElement(f,{iconProps:{...t,svgRef:r}}):e.createElement(G,{...t,svgRef:r}));d.displayName="CentralIconBase";var g=({children:t,size:r=24,ariaLabel:u,color:I,ariaHidden:C,"aria-hidden":w,"aria-label":l,role:k,svgRef:P,renderShapes:c,style:y,mode:S="masked",maskId:o,instanceId:s,...x})=>{let a=s?`${o}-${s}`:o,B=S!=="raw"&&!!o,i=w??C??!0,p=i===!0||i==="true",h=l??u,m=c?c(a??s??"icon"):t;return e.createElement("svg",{...x,ref:P,"aria-hidden":i,"aria-label":l,role:k??(p?void 0:"img"),width:typeof r==="number"?`${r}px`:r,height:typeof r==="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:I,...y}},h&&!p&&e.createElement("title",null,h),B?e.createElement(e.Fragment,null,e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},e.createElement("rect",{width:"24",height:"24",fill:"#000"}),e.createElement("g",{fill:"none",style:{color:"#fff"}},m)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):m)};var L=n.memo(n.forwardRef((t,r)=>n.createElement(d,{...t,ref:r,ariaLabel:"arrows-right-left, change, switch",maskId:"square-outlined-radius-0-stroke-2-IconArrowsRightLeft"},n.createElement("path",{d:"M10 8H20",stroke:"currentColor",strokeWidth:"2"}),n.createElement("path",{d:"M4 16H14",stroke:"currentColor",strokeWidth:"2"}),n.createElement("path",{d:"M17 4L21 8L17 12",stroke:"currentColor",strokeWidth:"2"}),n.createElement("path",{d:"M7 12L3 16L7 20",stroke:"currentColor",strokeWidth:"2"})))),F=L;export{L as IconArrowsRightLeft,F as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=564DDCFE5E14F07564756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconArrowsRightLeft/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconArrowsRightLeft: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"arrows-right-left, change, switch\"} maskId=\"square-outlined-radius-0-stroke-2-IconArrowsRightLeft\"><path d=\"M10 8H20\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M4 16H14\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M17 4L21 8L17 12\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M7 12L3 16L7 20\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconArrowsRightLeft;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (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: RenderProps },\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 (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\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 xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\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 fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
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ACtC,EACC,gCACE,gBAYE,OAZF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,gBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,gBAEE,IAFF,CAAG,KAAK,OAAO,MAAO,CAAE,MAAO,MAAO,GACnC,CACD,CACF,EACF,gBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GD1HC,IAAM,EAAwE,EAAM,KAAK,EAAM,WAAgD,CAAC,EAAO,IACrJ,gBAA8Y,EAA9Y,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,yDAAwD,gBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAG,EAAE,gBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAG,EAAE,gBAAC,OAAD,CAAM,EAAE,mBAAmB,OAAO,eAAe,YAAY,IAAG,EAAE,gBAAC,OAAD,CAAM,EAAE,kBAAkB,OAAO,eAAe,YAAY,IAAG,CAAI,CACtZ,CAAC,EAEa",
|
|
9
|
+
"debugId": "564DDCFE5E14F07564756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
package/IconBox/index.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var R=Object.create;var{getPrototypeOf:q,defineProperty:d,getOwnPropertyNames:L,getOwnPropertyDescriptor:H}=Object,h=Object.prototype.hasOwnProperty;function w(e){return this[e]}var U,W,B=(e,n,r)=>{var o=e!=null&&typeof e==="object";if(o){var l=n?U??=new WeakMap:W??=new WeakMap,c=l.get(e);if(c)return c}r=e!=null?R(q(e)):{};let s=n||!e||!e.__esModule||!h.call(e,"default")?d(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let i of L(e))if(!h.call(s,i))d(s,i,{get:w.bind(e,i),enumerable:!0})}if(o)l.set(e,s);return s},k=(e)=>{var n=(y??=new WeakMap).get(e),r;if(n)return n;if(n=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of L(e))if(!h.call(n,o))d(n,o,{get:w.bind(e,o),enumerable:!(r=H(e,o))||r.enumerable})}return y.set(e,n),n},y;var D=(e)=>e;function O(e,n){this[e]=D.bind(null,n)}var S=(e,n)=>{for(var r in n)d(e,r,{get:n[r],enumerable:!0,configurable:!0,set:O.bind(n,r)})};var K={};S(K,{IconBox:()=>b,default:()=>Q});module.exports=k(K);var a=B(require("react"));var J={};S(J,{CentralIconBase:()=>p});var t=B(require("react")),Z=(e)=>{let n=t.default.useId();return t.default.createElement(G,{...e,instanceId:n})},j=0,V=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return t.default.createElement(G,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=t.default.forwardRef((e,n)=>V?t.default.createElement(V,{iconProps:{...e,svgRef:n}}):t.default.createElement(Z,{...e,svgRef:n}));p.displayName="CentralIconBase";var G=({children:e,size:n=24,ariaLabel:r,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":s,role:i,svgRef:v,renderShapes:I,style:M,mode:E="masked",maskId:m,instanceId:f,...F})=>{let u=f?`${m}-${f}`:m,N=E!=="raw"&&!!m,g=c??l??!0,C=g===!0||g==="true",P=s??r,x=I?I(u??f??"icon"):e;return t.default.createElement("svg",{...F,ref:v,"aria-hidden":g,"aria-label":s,role:i??(C?void 0:"img"),width:typeof n==="number"?`${n}px`:n,height:typeof n==="number"?`${n}px`:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...M}},P&&!C&&t.default.createElement("title",null,P),N?t.default.createElement(t.default.Fragment,null,t.default.createElement("mask",{id:u,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),t.default.createElement("g",{fill:"none",style:{color:"#fff"}},x)),t.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${u})`})):x)};var b=a.default.memo(a.default.forwardRef((e,n)=>a.default.createElement(p,{...e,ref:n,ariaLabel:"box, tools, toolbox, stuff, archive",maskId:"square-outlined-radius-0-stroke-2-IconBox"},a.default.createElement("path",{d:"M12 9.5L9 13.5L1.5 10.5L4 6.5L12 3.5L20 6.5L22.25 10.5L15 13.5L12 9.5ZM4 6.5L12 9.5M20 6.5L12 9.5",stroke:"currentColor",strokeWidth:"2"}),a.default.createElement("path",{d:"M4 11.5V17.5L12 20.5L20 17.5V11.5",stroke:"currentColor",strokeWidth:"2"})))),Q=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=F5A6F86C7E7DC24264756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconBox/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconBox: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"box, tools, toolbox, stuff, archive\"} maskId=\"square-outlined-radius-0-stroke-2-IconBox\"><path d=\"M12 9.5L9 13.5L1.5 10.5L4 6.5L12 3.5L20 6.5L22.25 10.5L15 13.5L12 9.5ZM4 6.5L12 9.5M20 6.5L12 9.5\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M4 11.5V17.5L12 20.5L20 17.5V11.5\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconBox;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (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: RenderProps },\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 (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\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 xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\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 fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "sgCAAkB,IAAlB,4DCAkB,IAAlB,sBAiBM,EAA+C,CAAC,IAAU,CAC9D,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,OACE,wBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAAY,KAAK,MAAM,WACzB,EAGN,EAEO,EAAkB,UAAM,WACnC,CAAC,EAAO,IACN,EACE,wBAAC,EAAD,CAAuB,UAAW,IAAK,EAAO,OAAQ,CAAI,EAAG,EAE7D,wBAAC,EAAD,IAA2B,E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OAAO,eAAe,YAAY,IAAG,CAAI,CAC3X,CAAC,EAEa",
|
|
9
|
+
"debugId": "F5A6F86C7E7DC24264756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import r from"react";import e from"react";var S=(t)=>{let n=e.useId();return e.createElement(g,{...t,instanceId:n})},V=0,u=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++V}`})}render(){return e.createElement(g,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((t,n)=>u?e.createElement(u,{iconProps:{...t,svgRef:n}}):e.createElement(S,{...t,svgRef:n}));d.displayName="CentralIconBase";var g=({children:t,size:n=24,ariaLabel:h,color:I,ariaHidden:C,"aria-hidden":P,"aria-label":l,role:x,svgRef:y,renderShapes:c,style:L,mode:w="masked",maskId:o,instanceId:s,...B})=>{let a=s?`${o}-${s}`:o,k=w!=="raw"&&!!o,i=P??C??!0,p=i===!0||i==="true",m=l??h,f=c?c(a??s??"icon"):t;return e.createElement("svg",{...B,ref:y,"aria-hidden":i,"aria-label":l,role:x??(p?void 0:"img"),width:typeof n==="number"?`${n}px`:n,height:typeof n==="number"?`${n}px`:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:I,...L}},m&&!p&&e.createElement("title",null,m),k?e.createElement(e.Fragment,null,e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},e.createElement("rect",{width:"24",height:"24",fill:"#000"}),e.createElement("g",{fill:"none",style:{color:"#fff"}},f)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):f)};var G=r.memo(r.forwardRef((t,n)=>r.createElement(d,{...t,ref:n,ariaLabel:"box, tools, toolbox, stuff, archive",maskId:"square-outlined-radius-0-stroke-2-IconBox"},r.createElement("path",{d:"M12 9.5L9 13.5L1.5 10.5L4 6.5L12 3.5L20 6.5L22.25 10.5L15 13.5L12 9.5ZM4 6.5L12 9.5M20 6.5L12 9.5",stroke:"currentColor",strokeWidth:"2"}),r.createElement("path",{d:"M4 11.5V17.5L12 20.5L20 17.5V11.5",stroke:"currentColor",strokeWidth:"2"})))),R=G;export{G as IconBox,R as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=631E89F7CC9F747E64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconBox/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconBox: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"box, tools, toolbox, stuff, archive\"} maskId=\"square-outlined-radius-0-stroke-2-IconBox\"><path d=\"M12 9.5L9 13.5L1.5 10.5L4 6.5L12 3.5L20 6.5L22.25 10.5L15 13.5L12 9.5ZM4 6.5L12 9.5M20 6.5L12 9.5\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M4 11.5V17.5L12 20.5L20 17.5V11.5\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconBox;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (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: RenderProps },\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 (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\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 xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\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 fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "AAAA,qBCAA,qBAiBA,IAAM,EAA+C,CAAC,IAAU,CAC9D,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,OACE,gBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAAY,KAAK,MAAM,WACzB,EAGN,EAEO,EAAkB,EAAM,WACnC,CAAC,EAAO,IACN,EACE,gBAAC,EAAD,CAAuB,UAAW,IAAK,EAAO,OAAQ,CAAI,EAAG,EAE7D,gBAAC,EAAD,IAA2B,EAAO,OAAQ,EAAK,CAErD,EACA,EAAgB,YAAc,kBAE9B,IAAM,EAAkE,EACtE,WACA,OAAO,GACP,YACA,QACA,aACA,cAAe,EACf,aAAc,EACd,OACA,SACA,eACA,QACA,OAAO,SACP,SACA,gBACG,KACC,CACJ,IAAM,EAAe,EAAa,GAAG,KAAU,IAAe,EACxD,EAAS,IAAS,OAAS,CAAC,CAAC,EAC7B,EAAS,GAAuB,GAAc,GAC9C,EAAW,IAAW,IAAQ,IAAW,OACzC,EAAQ,GAAsB,EAC9B,EAAS,EACX,EAAa,GAAgB,GAAc,MAAM,EACjD,EACJ,OACE,gBAuCE,MAvCF,IACM,EACJ,IAAK,EACL,cAAa,EACb,aAAY,EACZ,KAAM,IAAS,EAAW,OAAY,OACtC,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAS,CAAC,GAAY,gBAAgB,QAAhB,KAAQ,CAAQ,EACtC,EACC,gCACE,gBAYE,OAZF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,gBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,gBAEE,IAFF,CAAG,KAAK,OAAO,MAAO,CAAE,MAAO,MAAO,GACnC,CACD,CACF,EACF,gBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GD1HC,IAAM,EAA4D,EAAM,KAAK,EAAM,WAAgD,CAAC,EAAO,IACzI,gBAAmX,EAAnX,IAAqB,EAAO,IAAK,EAAK,UAAW,sCAAuC,OAAO,6CAA4C,gBAAC,OAAD,CAAM,EAAE,oGAAoG,OAAO,eAAe,YAAY,IAAG,EAAE,gBAAC,OAAD,CAAM,EAAE,oCAAoC,OAAO,eAAe,YAAY,IAAG,CAAI,CAC3X,CAAC,EAEa",
|
|
9
|
+
"debugId": "631E89F7CC9F747E64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var q=Object.create;var{getPrototypeOf:H,defineProperty:l,getOwnPropertyNames:x,getOwnPropertyDescriptor:U}=Object,u=Object.prototype.hasOwnProperty;function k(e){return this[e]}var W,D,S=(e,r,t)=>{var o=e!=null&&typeof e==="object";if(o){var d=r?W??=new WeakMap:D??=new WeakMap,c=d.get(e);if(c)return c}t=e!=null?q(H(e)):{};let a=r||!e||!e.__esModule||!u.call(e,"default")?l(t,"default",{value:e,enumerable:!0}):t;if(e&&typeof e==="object"||typeof e==="function"){for(let i of x(e))if(!u.call(a,i))l(a,i,{get:k.bind(e,i),enumerable:!0})}if(o)d.set(e,a);return a},B=(e)=>{var r=(w??=new WeakMap).get(e),t;if(r)return r;if(r=l({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of x(e))if(!u.call(r,o))l(r,o,{get:k.bind(e,o),enumerable:!(t=U(e,o))||t.enumerable})}return w.set(e,r),r},w;var O=(e)=>e;function R(e,r){this[e]=O.bind(null,r)}var G=(e,r)=>{for(var t in r)l(e,t,{get:r[t],enumerable:!0,configurable:!0,set:R.bind(r,t)})};var K={};G(K,{IconFrog:()=>b,default:()=>Q});module.exports=B(K);var s=S(require("react"));var J={};G(J,{CentralIconBase:()=>p});var n=S(require("react")),Z=(e)=>{let r=n.default.useId();return n.default.createElement(v,{...e,instanceId:r})},j=0,V=typeof n.default.useId==="function"?void 0:class extends n.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return n.default.createElement(v,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=n.default.forwardRef((e,r)=>V?n.default.createElement(V,{iconProps:{...e,svgRef:r}}):n.default.createElement(Z,{...e,svgRef:r}));p.displayName="CentralIconBase";var v=({children:e,size:r=24,ariaLabel:t,color:o,ariaHidden:d,"aria-hidden":c,"aria-label":a,role:i,svgRef:E,renderShapes:I,style:F,mode:M="masked",maskId:C,instanceId:m,...L})=>{let f=m?`${C}-${m}`:C,N=M!=="raw"&&!!C,g=c??d??!0,h=g===!0||g==="true",y=a??t,P=I?I(f??m??"icon"):e;return n.default.createElement("svg",{...L,ref:E,"aria-hidden":g,"aria-label":a,role:i??(h?void 0:"img"),width:typeof r==="number"?`${r}px`:r,height:typeof r==="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...F}},y&&!h&&n.default.createElement("title",null,y),N?n.default.createElement(n.default.Fragment,null,n.default.createElement("mask",{id:f,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},n.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),n.default.createElement("g",{fill:"none",style:{color:"#fff"}},P)),n.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${f})`})):P)};var b=s.default.memo(s.default.forwardRef((e,r)=>s.default.createElement(p,{...e,ref:r,ariaLabel:"frog",maskId:"square-outlined-radius-0-stroke-2-IconFrog"},s.default.createElement("path",{d:"M16.9995 4.09961C18.9718 4.09961 20.5714 5.70733 20.5716 7.69037C20.5716 8.08293 20.5075 8.46085 20.3917 8.81443C21.4079 9.93859 22 11.278 22 12.7181C21.9999 16.6845 17.5228 19.8996 12 19.8996C6.47719 19.8996 2.00007 16.6845 2 12.7181C2 11.2782 2.59139 9.93847 3.60724 8.81443C3.49149 8.46091 3.42842 8.08286 3.42842 7.69037C3.42862 5.7075 5.02737 4.09988 6.99946 4.09961C8.23315 4.09961 9.32068 4.72913 9.96231 5.6855C10.6202 5.58768 11.3017 5.53656 12 5.53656C12.6975 5.53656 13.3783 5.58789 14.0355 5.6855C14.6771 4.72872 15.7655 4.09967 16.9995 4.09961Z",stroke:"currentColor",strokeWidth:"2"}),s.default.createElement("circle",{cx:"7.06577",cy:"7.72398",r:"1.31577",fill:"currentColor"}),s.default.createElement("circle",{cx:"16.933",cy:"7.72398",r:"1.31577",fill:"currentColor"}),s.default.createElement("path",{d:"M8 14C10.2857 16 13.7143 16 16 14",stroke:"currentColor",strokeWidth:"2"})))),Q=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=144C13B9EACCE57E64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconFrog/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconFrog: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"frog\"} maskId=\"square-outlined-radius-0-stroke-2-IconFrog\"><path d=\"M16.9995 4.09961C18.9718 4.09961 20.5714 5.70733 20.5716 7.69037C20.5716 8.08293 20.5075 8.46085 20.3917 8.81443C21.4079 9.93859 22 11.278 22 12.7181C21.9999 16.6845 17.5228 19.8996 12 19.8996C6.47719 19.8996 2.00007 16.6845 2 12.7181C2 11.2782 2.59139 9.93847 3.60724 8.81443C3.49149 8.46091 3.42842 8.08286 3.42842 7.69037C3.42862 5.7075 5.02737 4.09988 6.99946 4.09961C8.23315 4.09961 9.32068 4.72913 9.96231 5.6855C10.6202 5.58768 11.3017 5.53656 12 5.53656C12.6975 5.53656 13.3783 5.58789 14.0355 5.6855C14.6771 4.72872 15.7655 4.09967 16.9995 4.09961Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><circle cx=\"7.06577\" cy=\"7.72398\" r=\"1.31577\" fill=\"currentColor\"/><circle cx=\"16.933\" cy=\"7.72398\" r=\"1.31577\" fill=\"currentColor\"/><path d=\"M8 14C10.2857 16 13.7143 16 16 14\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconFrog;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (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: RenderProps },\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 (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\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 xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\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 fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "ugCAAkB,IAAlB,4DCAkB,IAAlB,sBAiBM,EAA+C,CAAC,IAAU,CAC9D,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,OACE,wBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAAY,KAAK,MAAM,WACzB,EAGN,EAEO,EAAkB,UAAM,WACnC,CAAC,EAAO,IACN,EACE,wBAAC,EAAD,CAAuB,UAAW,IAAK,EAAO,OAAQ,CAAI,EAAG,EAE7D,wBAAC,EAAD,IAA2B,EAAO,OAAQ,EAAK,CAErD,EACA,EAAgB,YAAc,kBAE9B,IAAM,EAAkE,EACtE,WACA,OAAO,GACP,YACA,QACA,aACA,cAAe,EACf,aAAc,EACd,OACA,SACA,eACA,QACA,O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AE,oCAAoC,OAAO,eAAe,YAAY,IAAG,CAAI,CAC96B,CAAC,EAEa",
|
|
9
|
+
"debugId": "144C13B9EACCE57E64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import t from"react";import e from"react";var G=(n)=>{let r=e.useId();return e.createElement(g,{...n,instanceId:r})},V=0,f=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++V}`})}render(){return e.createElement(g,{...this.props.iconProps,instanceId:this.state.instanceId})}},l=e.forwardRef((n,r)=>f?e.createElement(f,{iconProps:{...n,svgRef:r}}):e.createElement(G,{...n,svgRef:r}));l.displayName="CentralIconBase";var g=({children:n,size:r=24,ariaLabel:u,color:I,ariaHidden:h,"aria-hidden":y,"aria-label":d,role:P,svgRef:w,renderShapes:c,style:x,mode:k="masked",maskId:o,instanceId:s,...S})=>{let a=s?`${o}-${s}`:o,B=k!=="raw"&&!!o,i=y??h??!0,p=i===!0||i==="true",C=d??u,m=c?c(a??s??"icon"):n;return e.createElement("svg",{...S,ref:w,"aria-hidden":i,"aria-label":d,role:P??(p?void 0:"img"),width:typeof r==="number"?`${r}px`:r,height:typeof r==="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:I,...x}},C&&!p&&e.createElement("title",null,C),B?e.createElement(e.Fragment,null,e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},e.createElement("rect",{width:"24",height:"24",fill:"#000"}),e.createElement("g",{fill:"none",style:{color:"#fff"}},m)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):m)};var v=t.memo(t.forwardRef((n,r)=>t.createElement(l,{...n,ref:r,ariaLabel:"frog",maskId:"square-outlined-radius-0-stroke-2-IconFrog"},t.createElement("path",{d:"M16.9995 4.09961C18.9718 4.09961 20.5714 5.70733 20.5716 7.69037C20.5716 8.08293 20.5075 8.46085 20.3917 8.81443C21.4079 9.93859 22 11.278 22 12.7181C21.9999 16.6845 17.5228 19.8996 12 19.8996C6.47719 19.8996 2.00007 16.6845 2 12.7181C2 11.2782 2.59139 9.93847 3.60724 8.81443C3.49149 8.46091 3.42842 8.08286 3.42842 7.69037C3.42862 5.7075 5.02737 4.09988 6.99946 4.09961C8.23315 4.09961 9.32068 4.72913 9.96231 5.6855C10.6202 5.58768 11.3017 5.53656 12 5.53656C12.6975 5.53656 13.3783 5.58789 14.0355 5.6855C14.6771 4.72872 15.7655 4.09967 16.9995 4.09961Z",stroke:"currentColor",strokeWidth:"2"}),t.createElement("circle",{cx:"7.06577",cy:"7.72398",r:"1.31577",fill:"currentColor"}),t.createElement("circle",{cx:"16.933",cy:"7.72398",r:"1.31577",fill:"currentColor"}),t.createElement("path",{d:"M8 14C10.2857 16 13.7143 16 16 14",stroke:"currentColor",strokeWidth:"2"})))),q=v;export{v as IconFrog,q as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=077DA132D8DEDA9B64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconFrog/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconFrog: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"frog\"} maskId=\"square-outlined-radius-0-stroke-2-IconFrog\"><path d=\"M16.9995 4.09961C18.9718 4.09961 20.5714 5.70733 20.5716 7.69037C20.5716 8.08293 20.5075 8.46085 20.3917 8.81443C21.4079 9.93859 22 11.278 22 12.7181C21.9999 16.6845 17.5228 19.8996 12 19.8996C6.47719 19.8996 2.00007 16.6845 2 12.7181C2 11.2782 2.59139 9.93847 3.60724 8.81443C3.49149 8.46091 3.42842 8.08286 3.42842 7.69037C3.42862 5.7075 5.02737 4.09988 6.99946 4.09961C8.23315 4.09961 9.32068 4.72913 9.96231 5.6855C10.6202 5.58768 11.3017 5.53656 12 5.53656C12.6975 5.53656 13.3783 5.58789 14.0355 5.6855C14.6771 4.72872 15.7655 4.09967 16.9995 4.09961Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><circle cx=\"7.06577\" cy=\"7.72398\" r=\"1.31577\" fill=\"currentColor\"/><circle cx=\"16.933\" cy=\"7.72398\" r=\"1.31577\" fill=\"currentColor\"/><path d=\"M8 14C10.2857 16 13.7143 16 16 14\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconFrog;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (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: RenderProps },\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 (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\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 xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\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 fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>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Q,CAAQ,EACtC,EACC,gCACE,gBAYE,OAZF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,gBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,gBAEE,IAFF,CAAG,KAAK,OAAO,MAAO,CAAE,MAAO,MAAO,GACnC,CACD,CACF,EACF,gBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GD1HC,IAAM,EAA6D,EAAM,KAAK,EAAM,WAAgD,CAAC,EAAO,IAC1I,gBAAs6B,EAAt6B,IAAqB,EAAO,IAAK,EAAK,UAAW,OAAQ,OAAO,8CAA6C,gBAAC,OAAD,CAAM,EAAE,gjBAAgjB,OAAO,eAAe,YAAY,IAAG,EAAE,gBAAC,SAAD,CAAQ,GAAG,UAAU,GAAG,UAAU,EAAE,UAAU,KAAK,eAAc,EAAE,gBAAC,SAAD,CAAQ,GAAG,SAAS,GAAG,UAAU,EAAE,UAAU,KAAK,eAAc,EAAE,gBAAC,OAAD,CAAM,EAAE,oCAAoC,OAAO,eAAe,YAAY,IAAG,CAAI,CAC96B,CAAC,EAEa",
|
|
9
|
+
"debugId": "077DA132D8DEDA9B64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
package/README.md
CHANGED
|
@@ -470,6 +470,8 @@ Below is a complete list of available icons:
|
|
|
470
470
|
- IconChevronGrabberVerticalToward
|
|
471
471
|
- IconChevronGrabberHorizontalToward
|
|
472
472
|
- IconResize
|
|
473
|
+
- IconArrowsRightLeft
|
|
474
|
+
- IconArrowsLeftRight
|
|
473
475
|
|
|
474
476
|
### Augmented Reality
|
|
475
477
|
|
|
@@ -1395,6 +1397,7 @@ Below is a complete list of available icons:
|
|
|
1395
1397
|
- IconBell2Off
|
|
1396
1398
|
- IconQuestionmarkCircle
|
|
1397
1399
|
- IconQuestionmark
|
|
1400
|
+
- IconBox
|
|
1398
1401
|
|
|
1399
1402
|
### Keyboard
|
|
1400
1403
|
|
|
@@ -2240,6 +2243,7 @@ Below is a complete list of available icons:
|
|
|
2240
2243
|
- IconOwlFace
|
|
2241
2244
|
- IconPiggyBankCoin
|
|
2242
2245
|
- IconPlugins
|
|
2246
|
+
- IconFrog
|
|
2243
2247
|
|
|
2244
2248
|
### Time & Date
|
|
2245
2249
|
|