@central-icons-react/round-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,g=Object.prototype.hasOwnProperty;function L(e){return this[e]}var j,U,S=(e,r,t)=>{var o=e!=null&&typeof e==="object";if(o){var l=r?j??=new WeakMap:U??=new WeakMap,c=l.get(e);if(c)return c}t=e!=null?F(N(e)):{};let a=r||!e||!e.__esModule||!g.call(e,"default")?d(t,"default",{value:e,enumerable:!0}):t;if(e&&typeof e==="object"||typeof e==="function"){for(let i of y(e))if(!g.call(a,i))d(a,i,{get:L.bind(e,i),enumerable:!0})}if(o)l.set(e,a);return a},x=(e)=>{var r=(P??=new WeakMap).get(e),t;if(r)return r;if(r=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of y(e))if(!g.call(r,o))d(r,o,{get:L.bind(e,o),enumerable:!(t=R(e,o))||t.enumerable})}return P.set(e,r),r},P;var q=(e)=>e;function A(e,r){this[e]=q.bind(null,r)}var B=(e,r)=>{for(var t in r)d(e,t,{get:r[t],enumerable:!0,configurable:!0,set:A.bind(r,t)})};var K={};B(K,{IconArrowsLeftRight:()=>v,default:()=>Q});module.exports=x(K);var s=S(require("react"));var J={};B(J,{CentralIconBase:()=>p});var n=S(require("react")),D=(e)=>{let r=n.default.useId();return n.default.createElement(V,{...e,instanceId:r})},O=0,G=typeof n.default.useId==="function"?void 0:class extends n.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++O}`})}render(){return n.default.createElement(V,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=n.default.forwardRef((e,r)=>G?n.default.createElement(G,{iconProps:{...e,svgRef:r}}):n.default.createElement(D,{...e,svgRef:r}));p.displayName="CentralIconBase";var V=({children:e,size:r=24,ariaLabel:t,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":a,role:i,svgRef:b,renderShapes:I,style:M,mode:E="masked",maskId:u,instanceId:h,...H})=>{let m=h?`${u}-${h}`:u,W=E!=="raw"&&!!u,f=c??l??!0,k=f===!0||f==="true",C=a??t,w=I?I(m??h??"icon"):e;return n.default.createElement("svg",{...H,ref:b,"aria-hidden":f,"aria-label":a,role:i??(k?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}},C&&!k&&n.default.createElement("title",null,C),W?n.default.createElement(n.default.Fragment,null,n.default.createElement("mask",{id:m,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"}},w)),n.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${m})`})):w)};var v=s.default.memo(s.default.forwardRef((e,r)=>s.default.createElement(p,{...e,ref:r,ariaLabel:"arrows-left-right, change, switch",maskId:"round-outlined-radius-0-stroke-2-IconArrowsLeftRight"},s.default.createElement("path",{d:"M13 8H4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),s.default.createElement("path",{d:"M20 16H11",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),s.default.createElement("path",{d:"M6.5 4.5L3 8L6.5 11.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),s.default.createElement("path",{d:"M17.5 12.5L21 16L17.5 19.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),Q=v;
|
|
2
|
+
|
|
3
|
+
//# debugId=F6B15C46EF2ABFBE64756E2164756E21
|
|
@@ -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=\"round-outlined-radius-0-stroke-2-IconArrowsLeftRight\"><path d=\"M13 8H4\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M20 16H11\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M6.5 4.5L3 8L6.5 11.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M17.5 12.5L21 16L17.5 19.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/></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,OAC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AO,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,wBAAmiB,EAAniB,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,wDAAuD,wBAAC,OAAD,CAAM,EAAE,UAAU,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,YAAY,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,wBAAwB,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,6BAA6B,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,CAAI,CAC3iB,CAAC,EAEa",
|
|
9
|
+
"debugId": "F6B15C46EF2ABFBE64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import t from"react";import e from"react";var B=(n)=>{let r=e.useId();return e.createElement(f,{...n,instanceId:r})},G=0,m=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++G}`})}render(){return e.createElement(f,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((n,r)=>m?e.createElement(m,{iconProps:{...n,svgRef:r}}):e.createElement(B,{...n,svgRef:r}));d.displayName="CentralIconBase";var f=({children:n,size:r=24,ariaLabel:g,color:I,ariaHidden:k,"aria-hidden":C,"aria-label":l,role:w,svgRef:P,renderShapes:c,style:y,mode:L="masked",maskId:o,instanceId:s,...S})=>{let a=s?`${o}-${s}`:o,x=L!=="raw"&&!!o,i=C??k??!0,p=i===!0||i==="true",u=l??g,h=c?c(a??s??"icon"):n;return e.createElement("svg",{...S,ref:P,"aria-hidden":i,"aria-label":l,role:w??(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}},u&&!p&&e.createElement("title",null,u),x?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"}},h)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):h)};var V=t.memo(t.forwardRef((n,r)=>t.createElement(d,{...n,ref:r,ariaLabel:"arrows-left-right, change, switch",maskId:"round-outlined-radius-0-stroke-2-IconArrowsLeftRight"},t.createElement("path",{d:"M13 8H4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),t.createElement("path",{d:"M20 16H11",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),t.createElement("path",{d:"M6.5 4.5L3 8L6.5 11.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.5 12.5L21 16L17.5 19.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),F=V;export{V as IconArrowsLeftRight,F as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=55C70639133E7C7764756E2164756E21
|
|
@@ -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=\"round-outlined-radius-0-stroke-2-IconArrowsLeftRight\"><path d=\"M13 8H4\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M20 16H11\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M6.5 4.5L3 8L6.5 11.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M17.5 12.5L21 16L17.5 19.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/></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,qB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U,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,gBAAmiB,EAAniB,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,wDAAuD,gBAAC,OAAD,CAAM,EAAE,UAAU,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,YAAY,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,wBAAwB,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,6BAA6B,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,CAAI,CAC3iB,CAAC,EAEa",
|
|
9
|
+
"debugId": "55C70639133E7C7764756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var F=Object.create;var{getPrototypeOf:N,defineProperty:d,getOwnPropertyNames:y,getOwnPropertyDescriptor:R}=Object,g=Object.prototype.hasOwnProperty;function L(e){return this[e]}var j,U,S=(e,r,t)=>{var o=e!=null&&typeof e==="object";if(o){var l=r?j??=new WeakMap:U??=new WeakMap,c=l.get(e);if(c)return c}t=e!=null?F(N(e)):{};let a=r||!e||!e.__esModule||!g.call(e,"default")?d(t,"default",{value:e,enumerable:!0}):t;if(e&&typeof e==="object"||typeof e==="function"){for(let i of y(e))if(!g.call(a,i))d(a,i,{get:L.bind(e,i),enumerable:!0})}if(o)l.set(e,a);return a},x=(e)=>{var r=(P??=new WeakMap).get(e),t;if(r)return r;if(r=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of y(e))if(!g.call(r,o))d(r,o,{get:L.bind(e,o),enumerable:!(t=R(e,o))||t.enumerable})}return P.set(e,r),r},P;var q=(e)=>e;function A(e,r){this[e]=q.bind(null,r)}var B=(e,r)=>{for(var t in r)d(e,t,{get:r[t],enumerable:!0,configurable:!0,set:A.bind(r,t)})};var K={};B(K,{IconArrowsRightLeft:()=>v,default:()=>Q});module.exports=x(K);var s=S(require("react"));var J={};B(J,{CentralIconBase:()=>p});var n=S(require("react")),D=(e)=>{let r=n.default.useId();return n.default.createElement(V,{...e,instanceId:r})},O=0,G=typeof n.default.useId==="function"?void 0:class extends n.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++O}`})}render(){return n.default.createElement(V,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=n.default.forwardRef((e,r)=>G?n.default.createElement(G,{iconProps:{...e,svgRef:r}}):n.default.createElement(D,{...e,svgRef:r}));p.displayName="CentralIconBase";var V=({children:e,size:r=24,ariaLabel:t,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":a,role:i,svgRef:b,renderShapes:I,style:M,mode:E="masked",maskId:u,instanceId:h,...H})=>{let m=h?`${u}-${h}`:u,W=E!=="raw"&&!!u,f=c??l??!0,k=f===!0||f==="true",C=a??t,w=I?I(m??h??"icon"):e;return n.default.createElement("svg",{...H,ref:b,"aria-hidden":f,"aria-label":a,role:i??(k?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}},C&&!k&&n.default.createElement("title",null,C),W?n.default.createElement(n.default.Fragment,null,n.default.createElement("mask",{id:m,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"}},w)),n.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${m})`})):w)};var v=s.default.memo(s.default.forwardRef((e,r)=>s.default.createElement(p,{...e,ref:r,ariaLabel:"arrows-right-left, change, switch",maskId:"round-outlined-radius-0-stroke-2-IconArrowsRightLeft"},s.default.createElement("path",{d:"M11 8H20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),s.default.createElement("path",{d:"M4 16H13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),s.default.createElement("path",{d:"M17.5 4.5L21 8L17.5 11.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),s.default.createElement("path",{d:"M6.5 12.5L3 16L6.5 19.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),Q=v;
|
|
2
|
+
|
|
3
|
+
//# debugId=A1A6EA53A7CB3B0464756E2164756E21
|
|
@@ -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=\"round-outlined-radius-0-stroke-2-IconArrowsRightLeft\"><path d=\"M11 8H20\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M4 16H13\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M17.5 4.5L21 8L17.5 11.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M6.5 12.5L3 16L6.5 19.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/></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"
|
|
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,UA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,CACA,EAEF,CAEF,GD1HC,IAAM,EAAwE,UAAM,KAAK,UAAM,WAAgD,CAAC,EAAO,IACrJ,wBAAmiB,EAAniB,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,wDAAuD,wBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,2BAA2B,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,0BAA0B,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,CAAI,CAC3iB,CAAC,EAEa",
|
|
9
|
+
"debugId": "A1A6EA53A7CB3B0464756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import t from"react";import e from"react";var B=(n)=>{let r=e.useId();return e.createElement(f,{...n,instanceId:r})},G=0,m=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++G}`})}render(){return e.createElement(f,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((n,r)=>m?e.createElement(m,{iconProps:{...n,svgRef:r}}):e.createElement(B,{...n,svgRef:r}));d.displayName="CentralIconBase";var f=({children:n,size:r=24,ariaLabel:g,color:I,ariaHidden:k,"aria-hidden":C,"aria-label":l,role:w,svgRef:P,renderShapes:c,style:y,mode:L="masked",maskId:o,instanceId:s,...S})=>{let a=s?`${o}-${s}`:o,x=L!=="raw"&&!!o,i=C??k??!0,p=i===!0||i==="true",u=l??g,h=c?c(a??s??"icon"):n;return e.createElement("svg",{...S,ref:P,"aria-hidden":i,"aria-label":l,role:w??(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}},u&&!p&&e.createElement("title",null,u),x?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"}},h)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):h)};var V=t.memo(t.forwardRef((n,r)=>t.createElement(d,{...n,ref:r,ariaLabel:"arrows-right-left, change, switch",maskId:"round-outlined-radius-0-stroke-2-IconArrowsRightLeft"},t.createElement("path",{d:"M11 8H20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),t.createElement("path",{d:"M4 16H13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),t.createElement("path",{d:"M17.5 4.5L21 8L17.5 11.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6.5 12.5L3 16L6.5 19.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})))),F=V;export{V as IconArrowsRightLeft,F as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=5CE6125D2B1E899664756E2164756E21
|
|
@@ -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=\"round-outlined-radius-0-stroke-2-IconArrowsRightLeft\"><path d=\"M11 8H20\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M4 16H13\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M17.5 4.5L21 8L17.5 11.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M6.5 12.5L3 16L6.5 19.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/></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"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "AAAA,qBCAA,qBAiBA,IAAM,EAA+C,CAAC,IAAU,CAC9D,IAAM,EAAa,EAAM,MAAM,EAC/B,OAAO,gBAAC,EAAD,I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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,gBAAmiB,EAAniB,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,wDAAuD,gBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,2BAA2B,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,0BAA0B,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,CAAI,CAC3iB,CAAC,EAEa",
|
|
9
|
+
"debugId": "5CE6125D2B1E899664756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
package/IconBox/index.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var R=Object.create;var{getPrototypeOf:j,defineProperty:d,getOwnPropertyNames:x,getOwnPropertyDescriptor:H}=Object,h=Object.prototype.hasOwnProperty;function y(e){return this[e]}var U,W,w=(e,n,r)=>{var t=e!=null&&typeof e==="object";if(t){var l=n?U??=new WeakMap:W??=new WeakMap,c=l.get(e);if(c)return c}r=e!=null?R(j(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 x(e))if(!h.call(s,i))d(s,i,{get:y.bind(e,i),enumerable:!0})}if(t)l.set(e,s);return s},B=(e)=>{var n=(k??=new WeakMap).get(e),r;if(n)return n;if(n=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var t of x(e))if(!h.call(n,t))d(n,t,{get:y.bind(e,t),enumerable:!(r=H(e,t))||r.enumerable})}return k.set(e,n),n},k;var q=(e)=>e;function D(e,n){this[e]=q.bind(null,n)}var S=(e,n)=>{for(var r in n)d(e,r,{get:n[r],enumerable:!0,configurable:!0,set:D.bind(n,r)})};var K={};S(K,{IconBox:()=>b,default:()=>Q});module.exports=B(K);var a=w(require("react"));var J={};S(J,{CentralIconBase:()=>p});var o=w(require("react")),O=(e)=>{let n=o.default.useId();return o.default.createElement(G,{...e,instanceId:n})},Z=0,V=typeof o.default.useId==="function"?void 0:class extends o.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++Z}`})}render(){return o.default.createElement(G,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=o.default.forwardRef((e,n)=>V?o.default.createElement(V,{iconProps:{...e,svgRef:n}}):o.default.createElement(O,{...e,svgRef:n}));p.displayName="CentralIconBase";var G=({children:e,size:n=24,ariaLabel:r,color:t,ariaHidden:l,"aria-hidden":c,"aria-label":s,role:i,svgRef:v,renderShapes:I,style:M,mode:E="masked",maskId:m,instanceId:u,...F})=>{let f=u?`${m}-${u}`:m,N=E!=="raw"&&!!m,g=c??l??!0,C=g===!0||g==="true",L=s??r,P=I?I(f??u??"icon"):e;return o.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:t,...M}},L&&!C&&o.default.createElement("title",null,L),N?o.default.createElement(o.default.Fragment,null,o.default.createElement("mask",{id:f,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},o.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),o.default.createElement("g",{fill:"none",style:{color:"#fff"}},P)),o.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${f})`})):P)};var b=a.default.memo(a.default.forwardRef((e,n)=>a.default.createElement(p,{...e,ref:n,ariaLabel:"box, tools, toolbox, stuff, archive",maskId:"round-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",strokeLinecap:"round",strokeLinejoin:"round"}),a.default.createElement("path",{d:"M4 11.5V17.5L12 20.5L20 17.5V11.5",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"})))),Q=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=84D1ED961011010464756E2164756E21
|
|
@@ -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=\"round-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\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M4 11.5V17.5L12 20.5L20 17.5V11.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinejoin=\"round\"/></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,w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QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,oCAAoC,OAAO,eAAe,YAAY,IAAI,eAAe,QAAO,CAAI,CAC9b,CAAC,EAEa",
|
|
9
|
+
"debugId": "84D1ED961011010464756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import r from"react";import e from"react";var S=(o)=>{let n=e.useId();return e.createElement(g,{...o,instanceId:n})},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((o,n)=>f?e.createElement(f,{iconProps:{...o,svgRef:n}}):e.createElement(S,{...o,svgRef:n}));d.displayName="CentralIconBase";var g=({children:o,size:n=24,ariaLabel:h,color:I,ariaHidden:C,"aria-hidden":L,"aria-label":l,role:P,svgRef:k,renderShapes:c,style:x,mode:y="masked",maskId:t,instanceId:s,...w})=>{let a=s?`${t}-${s}`:t,B=y!=="raw"&&!!t,i=L??C??!0,p=i===!0||i==="true",m=l??h,u=c?c(a??s??"icon"):o;return e.createElement("svg",{...w,ref:k,"aria-hidden":i,"aria-label":l,role:P??(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,...x}},m&&!p&&e.createElement("title",null,m),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"}},u)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):u)};var G=r.memo(r.forwardRef((o,n)=>r.createElement(d,{...o,ref:n,ariaLabel:"box, tools, toolbox, stuff, archive",maskId:"round-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",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M4 11.5V17.5L12 20.5L20 17.5V11.5",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"})))),R=G;export{G as IconBox,R as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=00137D227B8538ED64756E2164756E21
|
|
@@ -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=\"round-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\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M4 11.5V17.5L12 20.5L20 17.5V11.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinejoin=\"round\"/></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,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
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var H=Object.create;var{getPrototypeOf:U,defineProperty:l,getOwnPropertyNames:x,getOwnPropertyDescriptor:Z}=Object,g=Object.prototype.hasOwnProperty;function k(e){return this[e]}var j,q,S=(e,r,o)=>{var t=e!=null&&typeof e==="object";if(t){var d=r?j??=new WeakMap:q??=new WeakMap,c=d.get(e);if(c)return c}o=e!=null?H(U(e)):{};let a=r||!e||!e.__esModule||!g.call(e,"default")?l(o,"default",{value:e,enumerable:!0}):o;if(e&&typeof e==="object"||typeof e==="function"){for(let i of x(e))if(!g.call(a,i))l(a,i,{get:k.bind(e,i),enumerable:!0})}if(t)d.set(e,a);return a},B=(e)=>{var r=(w??=new WeakMap).get(e),o;if(r)return r;if(r=l({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var t of x(e))if(!g.call(r,t))l(r,t,{get:k.bind(e,t),enumerable:!(o=Z(e,t))||o.enumerable})}return w.set(e,r),r},w;var D=(e)=>e;function O(e,r){this[e]=D.bind(null,r)}var G=(e,r)=>{for(var o in r)l(e,o,{get:r[o],enumerable:!0,configurable:!0,set:O.bind(r,o)})};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")),R=(e)=>{let r=n.default.useId();return n.default.createElement(v,{...e,instanceId:r})},W=0,V=typeof n.default.useId==="function"?void 0:class extends n.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++W}`})}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(R,{...e,svgRef:r}));p.displayName="CentralIconBase";var v=({children:e,size:r=24,ariaLabel:o,color:t,ariaHidden:d,"aria-hidden":c,"aria-label":a,role:i,svgRef:E,renderShapes:I,style:F,mode:L="masked",maskId:C,instanceId:m,...M})=>{let f=m?`${C}-${m}`:C,N=L!=="raw"&&!!C,u=c??d??!0,h=u===!0||u==="true",y=a??o,P=I?I(f??m??"icon"):e;return n.default.createElement("svg",{...M,ref:E,"aria-hidden":u,"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:t,...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:"round-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",strokeLinecap:"round",strokeLinejoin:"round"}),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:"M14.417 13.1875C14.8656 12.8656 15.4905 12.9685 15.8125 13.417C16.1344 13.8656 16.0316 14.4905 15.583 14.8125C13.3774 16.3959 10.1226 16.3959 7.91701 14.8125C7.46846 14.4905 7.36561 13.8656 7.68751 13.417C8.00955 12.9685 8.63441 12.8656 9.08302 13.1875C10.5916 14.2706 12.9084 14.2706 14.417 13.1875Z",fill:"currentColor"})))),Q=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=8C555B072D193F1464756E2164756E21
|
|
@@ -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=\"round-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\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><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=\"M14.417 13.1875C14.8656 12.8656 15.4905 12.9685 15.8125 13.417C16.1344 13.8656 16.0316 14.4905 15.583 14.8125C13.3774 16.3959 10.1226 16.3959 7.91701 14.8125C7.46846 14.4905 7.36561 13.8656 7.68751 13.417C8.00955 12.9685 8.63441 12.8656 9.08302 13.1875C10.5916 14.2706 12.9084 14.2706 14.417 13.1875Z\" fill=\"currentColor\"/></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,EAA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AEP,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,EAA6D,UAAM,KAAK,UAAM,WAAgD,CAAC,EAAO,IAC1I,wBAA2sC,EAA3sC,IAAqB,EAAO,IAAK,EAAK,UAAW,OAAQ,OAAO,6CAA4C,wBAAC,OAAD,CAAM,EAAE,gjBAAgjB,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,SAAD,CAAQ,GAAG,UAAU,GAAG,UAAU,EAAE,UAAU,KAAK,eAAc,EAAE,wBAAC,SAAD,CAAQ,GAAG,SAAS,GAAG,UAAU,EAAE,UAAU,KAAK,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,+SAA+S,KAAK,eAAc,CAAI,CACntC,CAAC,EAEa",
|
|
9
|
+
"debugId": "8C555B072D193F1464756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import o from"react";import e from"react";var G=(n)=>{let r=e.useId();return e.createElement(u,{...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(u,{...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 u=({children:n,size:r=24,ariaLabel:g,color:I,ariaHidden:h,"aria-hidden":y,"aria-label":d,role:P,svgRef:w,renderShapes:c,style:x,mode:k="masked",maskId:t,instanceId:s,...S})=>{let a=s?`${t}-${s}`:t,B=k!=="raw"&&!!t,i=y??h??!0,p=i===!0||i==="true",C=d??g,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=o.memo(o.forwardRef((n,r)=>o.createElement(l,{...n,ref:r,ariaLabel:"frog",maskId:"round-outlined-radius-0-stroke-2-IconFrog"},o.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",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("circle",{cx:"7.06577",cy:"7.72398",r:"1.31577",fill:"currentColor"}),o.createElement("circle",{cx:"16.933",cy:"7.72398",r:"1.31577",fill:"currentColor"}),o.createElement("path",{d:"M14.417 13.1875C14.8656 12.8656 15.4905 12.9685 15.8125 13.417C16.1344 13.8656 16.0316 14.4905 15.583 14.8125C13.3774 16.3959 10.1226 16.3959 7.91701 14.8125C7.46846 14.4905 7.36561 13.8656 7.68751 13.417C8.00955 12.9685 8.63441 12.8656 9.08302 13.1875C10.5916 14.2706 12.9084 14.2706 14.417 13.1875Z",fill:"currentColor"})))),H=v;export{v as IconFrog,H as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=848FD1A2D65E0D7364756E2164756E21
|
|
@@ -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=\"round-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\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><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=\"M14.417 13.1875C14.8656 12.8656 15.4905 12.9685 15.8125 13.417C16.1344 13.8656 16.0316 14.4905 15.583 14.8125C13.3774 16.3959 10.1226 16.3959 7.91701 14.8125C7.46846 14.4905 7.36561 13.8656 7.68751 13.417C8.00955 12.9685 8.63441 12.8656 9.08302 13.1875C10.5916 14.2706 12.9084 14.2706 14.417 13.1875Z\" fill=\"currentColor\"/></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": "AAAA,qBCAA,qBAiBA,IAAM,EAA+C,CAAC,IAAU,CAC9D,IAAM,EAAa,EAAM,MAAM,EAC/B,OAAO,gBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAI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G,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,gBAA2sC,EAA3sC,IAAqB,EAAO,IAAK,EAAK,UAAW,OAAQ,OAAO,6CAA4C,gBAAC,OAAD,CAAM,EAAE,gjBAAgjB,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,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,+SAA+S,KAAK,eAAc,CAAI,CACntC,CAAC,EAEa",
|
|
9
|
+
"debugId": "848FD1A2D65E0D7364756E2164756E21",
|
|
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
|
|