@central-icons-react/round-outlined-radius-3-stroke-1 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:P,getOwnPropertyDescriptor:R}=Object,h=Object.prototype.hasOwnProperty;function y(e){return this[e]}var U,q,S=(e,n,o)=>{var t=e!=null&&typeof e==="object";if(t){var l=n?U??=new WeakMap:q??=new WeakMap,c=l.get(e);if(c)return c}o=e!=null?F(N(e)):{};let a=n||!e||!e.__esModule||!h.call(e,"default")?d(o,"default",{value:e,enumerable:!0}):o;if(e&&typeof e==="object"||typeof e==="function"){for(let i of P(e))if(!h.call(a,i))d(a,i,{get:y.bind(e,i),enumerable:!0})}if(t)l.set(e,a);return a},x=(e)=>{var n=(L??=new WeakMap).get(e),o;if(n)return n;if(n=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var t of P(e))if(!h.call(n,t))d(n,t,{get:y.bind(e,t),enumerable:!(o=R(e,t))||o.enumerable})}return L.set(e,n),n},L;var A=(e)=>e;function D(e,n){this[e]=A.bind(null,n)}var B=(e,n)=>{for(var o in n)d(e,o,{get:n[o],enumerable:!0,configurable:!0,set:D.bind(n,o)})};var Q={};B(Q,{IconArrowsLeftRight:()=>v,default:()=>T});module.exports=x(Q);var s=S(require("react"));var K={};B(K,{CentralIconBase:()=>p});var r=S(require("react")),O=(e)=>{let n=r.default.useId();return r.default.createElement(V,{...e,instanceId:n})},J=0,G=typeof r.default.useId==="function"?void 0:class extends r.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++J}`})}render(){return r.default.createElement(V,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=r.default.forwardRef((e,n)=>G?r.default.createElement(G,{iconProps:{...e,svgRef:n}}):r.default.createElement(O,{...e,svgRef:n}));p.displayName="CentralIconBase";var V=({children:e,size:n=24,ariaLabel:o,color:t,ariaHidden:l,"aria-hidden":c,"aria-label":a,role:i,svgRef:b,renderShapes:I,style:M,mode:E="masked",maskId:u,instanceId:m,...j})=>{let f=m?`${u}-${m}`:u,H=E!=="raw"&&!!u,g=c??l??!0,k=g===!0||g==="true",C=a??o,w=I?I(f??m??"icon"):e;return r.default.createElement("svg",{...j,ref:b,"aria-hidden":g,"aria-label":a,role:i??(k?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}},C&&!k&&r.default.createElement("title",null,C),H?r.default.createElement(r.default.Fragment,null,r.default.createElement("mask",{id:f,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},r.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),r.default.createElement("g",{fill:"none",style:{color:"#fff"}},w)),r.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${f})`})):w)};var v=s.default.memo(s.default.forwardRef((e,n)=>s.default.createElement(p,{...e,ref:n,ariaLabel:"arrows-left-right, change, switch",maskId:"round-outlined-radius-3-stroke-1-IconArrowsLeftRight"},s.default.createElement("path",{d:"M13.5 8.5H3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.default.createElement("path",{d:"M21 15.5H10.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.default.createElement("path",{d:"M6.5 4.5L2.5 8.5L6.5 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.default.createElement("path",{d:"M17.5 11.5L21.5 15.5L17.5 19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))),T=v;
|
|
2
|
+
|
|
3
|
+
//# debugId=909CC32CBC837EFD64756E2164756E21
|
|
@@ -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-3-stroke-1-IconArrowsLeftRight\"><path d=\"M13.5 8.5H3\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M21 15.5H10.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M6.5 4.5L2.5 8.5L6.5 12.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M17.5 11.5L21.5 15.5L17.5 19.5\" stroke=\"currentColor\" 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,OACA,cAAc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C,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,wBAAiiB,EAAjiB,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,wDAAuD,wBAAC,OAAD,CAAM,EAAE,cAAc,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,gBAAgB,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,4BAA4B,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,iCAAiC,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,CAAI,CACziB,CAAC,EAEa",
|
|
9
|
+
"debugId": "909CC32CBC837EFD64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import o from"react";import e from"react";var B=(r)=>{let n=e.useId();return e.createElement(g,{...r,instanceId:n})},G=0,f=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++G}`})}render(){return e.createElement(g,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((r,n)=>f?e.createElement(f,{iconProps:{...r,svgRef:n}}):e.createElement(B,{...r,svgRef:n}));d.displayName="CentralIconBase";var g=({children:r,size:n=24,ariaLabel:h,color:I,ariaHidden:k,"aria-hidden":C,"aria-label":l,role:w,svgRef:L,renderShapes:c,style:P,mode:y="masked",maskId:t,instanceId:s,...S})=>{let a=s?`${t}-${s}`:t,x=y!=="raw"&&!!t,i=C??k??!0,p=i===!0||i==="true",u=l??h,m=c?c(a??s??"icon"):r;return e.createElement("svg",{...S,ref:L,"aria-hidden":i,"aria-label":l,role:w??(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,...P}},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"}},m)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):m)};var V=o.memo(o.forwardRef((r,n)=>o.createElement(d,{...r,ref:n,ariaLabel:"arrows-left-right, change, switch",maskId:"round-outlined-radius-3-stroke-1-IconArrowsLeftRight"},o.createElement("path",{d:"M13.5 8.5H3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21 15.5H10.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M6.5 4.5L2.5 8.5L6.5 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M17.5 11.5L21.5 15.5L17.5 19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))),F=V;export{V as IconArrowsLeftRight,F as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=6841ED99CA99C88D64756E2164756E21
|
|
@@ -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-3-stroke-1-IconArrowsLeftRight\"><path d=\"M13.5 8.5H3\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M21 15.5H10.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M6.5 4.5L2.5 8.5L6.5 12.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M17.5 11.5L21.5 15.5L17.5 19.5\" stroke=\"currentColor\" 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,qBAiBA,IAAM,EAA+C,CAAC,IAAU,CA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M,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,gBAAiiB,EAAjiB,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,wDAAuD,gBAAC,OAAD,CAAM,EAAE,cAAc,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,gBAAgB,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,4BAA4B,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,iCAAiC,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,CAAI,CACziB,CAAC,EAEa",
|
|
9
|
+
"debugId": "6841ED99CA99C88D64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var F=Object.create;var{getPrototypeOf:N,defineProperty:d,getOwnPropertyNames:P,getOwnPropertyDescriptor:R}=Object,h=Object.prototype.hasOwnProperty;function y(e){return this[e]}var U,q,S=(e,n,o)=>{var t=e!=null&&typeof e==="object";if(t){var l=n?U??=new WeakMap:q??=new WeakMap,c=l.get(e);if(c)return c}o=e!=null?F(N(e)):{};let a=n||!e||!e.__esModule||!h.call(e,"default")?d(o,"default",{value:e,enumerable:!0}):o;if(e&&typeof e==="object"||typeof e==="function"){for(let i of P(e))if(!h.call(a,i))d(a,i,{get:y.bind(e,i),enumerable:!0})}if(t)l.set(e,a);return a},x=(e)=>{var n=(L??=new WeakMap).get(e),o;if(n)return n;if(n=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var t of P(e))if(!h.call(n,t))d(n,t,{get:y.bind(e,t),enumerable:!(o=R(e,t))||o.enumerable})}return L.set(e,n),n},L;var A=(e)=>e;function D(e,n){this[e]=A.bind(null,n)}var B=(e,n)=>{for(var o in n)d(e,o,{get:n[o],enumerable:!0,configurable:!0,set:D.bind(n,o)})};var Q={};B(Q,{IconArrowsRightLeft:()=>v,default:()=>T});module.exports=x(Q);var s=S(require("react"));var K={};B(K,{CentralIconBase:()=>p});var r=S(require("react")),O=(e)=>{let n=r.default.useId();return r.default.createElement(V,{...e,instanceId:n})},J=0,G=typeof r.default.useId==="function"?void 0:class extends r.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++J}`})}render(){return r.default.createElement(V,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=r.default.forwardRef((e,n)=>G?r.default.createElement(G,{iconProps:{...e,svgRef:n}}):r.default.createElement(O,{...e,svgRef:n}));p.displayName="CentralIconBase";var V=({children:e,size:n=24,ariaLabel:o,color:t,ariaHidden:l,"aria-hidden":c,"aria-label":a,role:i,svgRef:b,renderShapes:I,style:M,mode:E="masked",maskId:u,instanceId:m,...j})=>{let f=m?`${u}-${m}`:u,H=E!=="raw"&&!!u,g=c??l??!0,k=g===!0||g==="true",C=a??o,w=I?I(f??m??"icon"):e;return r.default.createElement("svg",{...j,ref:b,"aria-hidden":g,"aria-label":a,role:i??(k?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}},C&&!k&&r.default.createElement("title",null,C),H?r.default.createElement(r.default.Fragment,null,r.default.createElement("mask",{id:f,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},r.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),r.default.createElement("g",{fill:"none",style:{color:"#fff"}},w)),r.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${f})`})):w)};var v=s.default.memo(s.default.forwardRef((e,n)=>s.default.createElement(p,{...e,ref:n,ariaLabel:"arrows-right-left, change, switch",maskId:"round-outlined-radius-3-stroke-1-IconArrowsRightLeft"},s.default.createElement("path",{d:"M10.5 8.5H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.default.createElement("path",{d:"M3 15.5H13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.default.createElement("path",{d:"M17.5 4.5L21.5 8.5L17.5 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.default.createElement("path",{d:"M6.5 11.5L2.5 15.5L6.5 19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))),T=v;
|
|
2
|
+
|
|
3
|
+
//# debugId=379F3EF26FF2D73364756E2164756E21
|
|
@@ -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-3-stroke-1-IconArrowsRightLeft\"><path d=\"M10.5 8.5H21\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M3 15.5H13.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M17.5 4.5L21.5 8.5L17.5 12.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M6.5 11.5L2.5 15.5L6.5 19.5\" stroke=\"currentColor\" 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,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OACE,wBAAC,E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AgD,CAAC,EAAO,IACrJ,wBAAiiB,EAAjiB,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,wDAAuD,wBAAC,OAAD,CAAM,EAAE,eAAe,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,eAAe,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,+BAA+B,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,8BAA8B,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,CAAI,CACziB,CAAC,EAEa",
|
|
9
|
+
"debugId": "379F3EF26FF2D73364756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import o from"react";import e from"react";var B=(r)=>{let n=e.useId();return e.createElement(g,{...r,instanceId:n})},G=0,f=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++G}`})}render(){return e.createElement(g,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((r,n)=>f?e.createElement(f,{iconProps:{...r,svgRef:n}}):e.createElement(B,{...r,svgRef:n}));d.displayName="CentralIconBase";var g=({children:r,size:n=24,ariaLabel:h,color:I,ariaHidden:k,"aria-hidden":C,"aria-label":l,role:w,svgRef:L,renderShapes:c,style:P,mode:y="masked",maskId:t,instanceId:s,...S})=>{let a=s?`${t}-${s}`:t,x=y!=="raw"&&!!t,i=C??k??!0,p=i===!0||i==="true",u=l??h,m=c?c(a??s??"icon"):r;return e.createElement("svg",{...S,ref:L,"aria-hidden":i,"aria-label":l,role:w??(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,...P}},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"}},m)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):m)};var V=o.memo(o.forwardRef((r,n)=>o.createElement(d,{...r,ref:n,ariaLabel:"arrows-right-left, change, switch",maskId:"round-outlined-radius-3-stroke-1-IconArrowsRightLeft"},o.createElement("path",{d:"M10.5 8.5H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M3 15.5H13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M17.5 4.5L21.5 8.5L17.5 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M6.5 11.5L2.5 15.5L6.5 19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))),F=V;export{V as IconArrowsRightLeft,F as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=A9AE60EBBED25BA864756E2164756E21
|
|
@@ -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-3-stroke-1-IconArrowsRightLeft\"><path d=\"M10.5 8.5H21\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M3 15.5H13.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M17.5 4.5L21.5 8.5L17.5 12.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M6.5 11.5L2.5 15.5L6.5 19.5\" stroke=\"currentColor\" 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,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,EAAM,QAAU,WACnB,OACA,cAAc,EAAM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,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,gBAAiiB,EAAjiB,IAAqB,EAAO,IAAK,EAAK,UAAW,oCAAqC,OAAO,wDAAuD,gBAAC,OAAD,CAAM,EAAE,eAAe,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,eAAe,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,+BAA+B,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,8BAA8B,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,CAAI,CACziB,CAAC,EAEa",
|
|
9
|
+
"debugId": "A9AE60EBBED25BA864756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
package/IconBox/index.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var R=Object.create;var{getPrototypeOf:j,defineProperty:d,getOwnPropertyNames:k,getOwnPropertyDescriptor:H}=Object,g=Object.prototype.hasOwnProperty;function y(e){return this[e]}var U,q,w=(e,n,r)=>{var t=e!=null&&typeof e==="object";if(t){var l=n?U??=new WeakMap:q??=new WeakMap,c=l.get(e);if(c)return c}r=e!=null?R(j(e)):{};let s=n||!e||!e.__esModule||!g.call(e,"default")?d(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let i of k(e))if(!g.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=(x??=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 k(e))if(!g.call(n,t))d(n,t,{get:y.bind(e,t),enumerable:!(r=H(e,t))||r.enumerable})}return x.set(e,n),n},x;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 Q={};S(Q,{IconBox:()=>b,default:()=>T});module.exports=B(Q);var a=w(require("react"));var K={};S(K,{CentralIconBase:()=>p});var o=w(require("react")),Z=(e)=>{let n=o.default.useId();return o.default.createElement(G,{...e,instanceId:n})},J=0,V=typeof o.default.useId==="function"?void 0:class extends o.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++J}`})}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(Z,{...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,C=c??l??!0,h=C===!0||C==="true",L=s??r,P=I?I(f??u??"icon"):e;return o.default.createElement("svg",{...F,ref:v,"aria-hidden":C,"aria-label":s,role:i??(h?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&&!h&&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-3-stroke-1-IconBox"},a.default.createElement("path",{d:"M12 9.5L9.92487 12.8202C9.67659 13.2175 9.18581 13.3891 8.74405 13.2332L2.17631 10.9152C1.57279 10.7022 1.32193 9.98491 1.66114 9.44218L3.5 6.5L11.0015 3.8524C11.6476 3.62436 12.3524 3.62436 12.9985 3.8524L20.5 6.5L22.0032 9.50648C22.2688 10.0375 22.0158 10.6816 21.4599 10.89L15.2657 13.2129C14.8202 13.3799 14.3187 13.21 14.0666 12.8065L12 9.5ZM3.5 6.5L12 9.5M20.5 6.5L12 9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),a.default.createElement("path",{d:"M3.5 11.5V15.3775C3.5 16.6494 4.3021 17.7831 5.50154 18.2064L10.9192 20.1185C11.6152 20.3642 12.3773 20.3446 13.0599 20.0636L18.6422 17.765C19.7664 17.3021 20.5 16.2066 20.5 14.9909V11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))),T=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=6FA1BEF8E0623CB664756E2164756E21
|
|
@@ -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-3-stroke-1-IconBox\"><path d=\"M12 9.5L9.92487 12.8202C9.67659 13.2175 9.18581 13.3891 8.74405 13.2332L2.17631 10.9152C1.57279 10.7022 1.32193 9.98491 1.66114 9.44218L3.5 6.5L11.0015 3.8524C11.6476 3.62436 12.3524 3.62436 12.9985 3.8524L20.5 6.5L22.0032 9.50648C22.2688 10.0375 22.0158 10.6816 21.4599 10.89L15.2657 13.2129C14.8202 13.3799 14.3187 13.21 14.0666 12.8065L12 9.5ZM3.5 6.5L12 9.5M20.5 6.5L12 9.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M3.5 11.5V15.3775C3.5 16.6494 4.3021 17.7831 5.50154 18.2064L10.9192 20.1185C11.6152 20.3642 12.3773 20.3446 13.0599 20.0636L18.6422 17.765C19.7664 17.3021 20.5 16.2066 20.5 14.9909V11.5\" stroke=\"currentColor\" strokeLinecap=\"round\" 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
|
+
"mapp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BAYE,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,EAA4D,UAAM,KAAK,UAAM,WAAgD,CAAC,EAAO,IACzI,wBAA61B,EAA71B,IAAqB,EAAO,IAAK,EAAK,UAAW,sCAAuC,OAAO,4CAA2C,wBAAC,OAAD,CAAM,EAAE,4XAA4X,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,OAAD,CAAM,EAAE,6LAA6L,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,CAAI,CACr2B,CAAC,EAEa",
|
|
9
|
+
"debugId": "6FA1BEF8E0623CB664756E2164756E21",
|
|
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(C,{...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(C,{...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 C=({children:o,size:n=24,ariaLabel:g,color:I,ariaHidden:h,"aria-hidden":L,"aria-label":l,role:P,svgRef:x,renderShapes:c,style:k,mode:y="masked",maskId:t,instanceId:s,...w})=>{let a=s?`${t}-${s}`:t,B=y!=="raw"&&!!t,i=L??h??!0,p=i===!0||i==="true",m=l??g,u=c?c(a??s??"icon"):o;return e.createElement("svg",{...w,ref:x,"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,...k}},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-3-stroke-1-IconBox"},r.createElement("path",{d:"M12 9.5L9.92487 12.8202C9.67659 13.2175 9.18581 13.3891 8.74405 13.2332L2.17631 10.9152C1.57279 10.7022 1.32193 9.98491 1.66114 9.44218L3.5 6.5L11.0015 3.8524C11.6476 3.62436 12.3524 3.62436 12.9985 3.8524L20.5 6.5L22.0032 9.50648C22.2688 10.0375 22.0158 10.6816 21.4599 10.89L15.2657 13.2129C14.8202 13.3799 14.3187 13.21 14.0666 12.8065L12 9.5ZM3.5 6.5L12 9.5M20.5 6.5L12 9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M3.5 11.5V15.3775C3.5 16.6494 4.3021 17.7831 5.50154 18.2064L10.9192 20.1185C11.6152 20.3642 12.3773 20.3446 13.0599 20.0636L18.6422 17.765C19.7664 17.3021 20.5 16.2066 20.5 14.9909V11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))),R=G;export{G as IconBox,R as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=7E09DEF80AB522B264756E2164756E21
|
|
@@ -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-3-stroke-1-IconBox\"><path d=\"M12 9.5L9.92487 12.8202C9.67659 13.2175 9.18581 13.3891 8.74405 13.2332L2.17631 10.9152C1.57279 10.7022 1.32193 9.98491 1.66114 9.44218L3.5 6.5L11.0015 3.8524C11.6476 3.62436 12.3524 3.62436 12.9985 3.8524L20.5 6.5L22.0032 9.50648C22.2688 10.0375 22.0158 10.6816 21.4599 10.89L15.2657 13.2129C14.8202 13.3799 14.3187 13.21 14.0666 12.8065L12 9.5ZM3.5 6.5L12 9.5M20.5 6.5L12 9.5\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M3.5 11.5V15.3775C3.5 16.6494 4.3021 17.7831 5.50154 18.2064L10.9192 20.1185C11.6152 20.3642 12.3773 20.3446 13.0599 20.0636L18.6422 17.765C19.7664 17.3021 20.5 16.2066 20.5 14.9909V11.5\" stroke=\"currentColor\" strokeLinecap=\"round\" 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,QACA,OAAO,SACP,SACA,gBACG,KACC,CACJ,IAAM,EAAe,EAAa,GAAG,KAAU,IAAe,EACxD,EAAS,IAAS,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getOwnPropertyNames:w,getOwnPropertyDescriptor:U}=Object,g=Object.prototype.hasOwnProperty;function x(e){return this[e]}var q,D,S=(e,n,o)=>{var t=e!=null&&typeof e==="object";if(t){var l=n?q??=new WeakMap:D??=new WeakMap,c=l.get(e);if(c)return c}o=e!=null?j(H(e)):{};let a=n||!e||!e.__esModule||!g.call(e,"default")?d(o,"default",{value:e,enumerable:!0}):o;if(e&&typeof e==="object"||typeof e==="function"){for(let i of w(e))if(!g.call(a,i))d(a,i,{get:x.bind(e,i),enumerable:!0})}if(t)l.set(e,a);return a},B=(e)=>{var n=(k??=new WeakMap).get(e),o;if(n)return n;if(n=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var t of w(e))if(!g.call(n,t))d(n,t,{get:x.bind(e,t),enumerable:!(o=U(e,t))||o.enumerable})}return k.set(e,n),n},k;var O=(e)=>e;function R(e,n){this[e]=O.bind(null,n)}var G=(e,n)=>{for(var o in n)d(e,o,{get:n[o],enumerable:!0,configurable:!0,set:R.bind(n,o)})};var Q={};G(Q,{IconFrog:()=>b,default:()=>T});module.exports=B(Q);var s=S(require("react"));var K={};G(K,{CentralIconBase:()=>p});var r=S(require("react")),Z=(e)=>{let n=r.default.useId();return r.default.createElement(v,{...e,instanceId:n})},J=0,V=typeof r.default.useId==="function"?void 0:class extends r.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++J}`})}render(){return r.default.createElement(v,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=r.default.forwardRef((e,n)=>V?r.default.createElement(V,{iconProps:{...e,svgRef:n}}):r.default.createElement(Z,{...e,svgRef:n}));p.displayName="CentralIconBase";var v=({children:e,size:n=24,ariaLabel:o,color:t,ariaHidden:l,"aria-hidden":c,"aria-label":a,role:i,svgRef:L,renderShapes:I,style:E,mode:F="masked",maskId:C,instanceId:m,...M})=>{let u=m?`${C}-${m}`:C,N=F!=="raw"&&!!C,f=c??l??!0,h=f===!0||f==="true",y=a??o,P=I?I(u??m??"icon"):e;return r.default.createElement("svg",{...M,ref:L,"aria-hidden":f,"aria-label":a,role:i??(h?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,...E}},y&&!h&&r.default.createElement("title",null,y),N?r.default.createElement(r.default.Fragment,null,r.default.createElement("mask",{id:u,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},r.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),r.default.createElement("g",{fill:"none",style:{color:"#fff"}},P)),r.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${u})`})):P)};var b=s.default.memo(s.default.forwardRef((e,n)=>s.default.createElement(p,{...e,ref:n,ariaLabel:"frog",maskId:"round-outlined-radius-3-stroke-1-IconFrog"},s.default.createElement("path",{d:"M17.2494 3.70508C19.3204 3.70508 20.9999 5.39319 21.0002 7.47538C21.0002 7.88757 20.9329 8.28438 20.8113 8.65564C21.8782 9.83601 22.5 11.2424 22.5 12.7545C22.4999 16.9192 17.799 20.2951 12 20.2951C6.20105 20.2951 1.50008 16.9192 1.5 12.7545C1.5 11.2426 2.12096 9.83588 3.1876 8.65564C3.06606 8.28444 2.99984 7.88749 2.99984 7.47538C3.00005 5.39336 4.67874 3.70537 6.74944 3.70508C8.04481 3.70508 9.18671 4.36608 9.86042 5.37027C10.5512 5.26756 11.2668 5.21388 12 5.21387C12.7324 5.21387 13.4472 5.26778 14.1373 5.37027C14.8109 4.36565 15.9538 3.70514 17.2494 3.70508Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.default.createElement("circle",{cx:"6.85156",cy:"7.5",r:"1.5",fill:"currentColor"}),s.default.createElement("circle",{cx:"17.1484",cy:"7.5",r:"1.5",fill:"currentColor"}),s.default.createElement("path",{d:"M8.32031 14.2617C10.4878 15.9132 13.513 15.9132 15.6805 14.2617",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))),T=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=18AC49ABD4E48BE964756E2164756E21
|
|
@@ -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-3-stroke-1-IconFrog\"><path d=\"M17.2494 3.70508C19.3204 3.70508 20.9999 5.39319 21.0002 7.47538C21.0002 7.88757 20.9329 8.28438 20.8113 8.65564C21.8782 9.83601 22.5 11.2424 22.5 12.7545C22.4999 16.9192 17.799 20.2951 12 20.2951C6.20105 20.2951 1.50008 16.9192 1.5 12.7545C1.5 11.2426 2.12096 9.83588 3.1876 8.65564C3.06606 8.28444 2.99984 7.88749 2.99984 7.47538C3.00005 5.39336 4.67874 3.70537 6.74944 3.70508C8.04481 3.70508 9.18671 4.36608 9.86042 5.37027C10.5512 5.26756 11.2668 5.21388 12 5.21387C12.7324 5.21387 13.4472 5.26778 14.1373 5.37027C14.8109 4.36565 15.9538 3.70514 17.2494 3.70508Z\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><circle cx=\"6.85156\" cy=\"7.5\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"17.1484\" cy=\"7.5\" r=\"1.5\" fill=\"currentColor\"/><path d=\"M8.32031 14.2617C10.4878 15.9132 13.513 15.9132 15.6805 14.2617\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/></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,IAA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AO,eAAe,cAAc,QAAQ,eAAe,QAAO,EAAE,wBAAC,SAAD,CAAQ,GAAG,UAAU,GAAG,MAAM,EAAE,MAAM,KAAK,eAAc,EAAE,wBAAC,SAAD,CAAQ,GAAG,UAAU,GAAG,MAAM,EAAE,MAAM,KAAK,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,kEAAkE,OAAO,eAAe,cAAc,QAAQ,eAAe,QAAO,CAAI,CAChgC,CAAC,EAEa",
|
|
9
|
+
"debugId": "18AC49ABD4E48BE964756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import o from"react";import e from"react";var G=(r)=>{let n=e.useId();return e.createElement(f,{...r,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(f,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((r,n)=>u?e.createElement(u,{iconProps:{...r,svgRef:n}}):e.createElement(G,{...r,svgRef:n}));d.displayName="CentralIconBase";var f=({children:r,size:n=24,ariaLabel:g,color:I,ariaHidden:h,"aria-hidden":y,"aria-label":l,role:P,svgRef:k,renderShapes:c,style:w,mode:x="masked",maskId:t,instanceId:s,...S})=>{let a=s?`${t}-${s}`:t,B=x!=="raw"&&!!t,i=y??h??!0,p=i===!0||i==="true",C=l??g,m=c?c(a??s??"icon"):r;return e.createElement("svg",{...S,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,...w}},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((r,n)=>o.createElement(d,{...r,ref:n,ariaLabel:"frog",maskId:"round-outlined-radius-3-stroke-1-IconFrog"},o.createElement("path",{d:"M17.2494 3.70508C19.3204 3.70508 20.9999 5.39319 21.0002 7.47538C21.0002 7.88757 20.9329 8.28438 20.8113 8.65564C21.8782 9.83601 22.5 11.2424 22.5 12.7545C22.4999 16.9192 17.799 20.2951 12 20.2951C6.20105 20.2951 1.50008 16.9192 1.5 12.7545C1.5 11.2426 2.12096 9.83588 3.1876 8.65564C3.06606 8.28444 2.99984 7.88749 2.99984 7.47538C3.00005 5.39336 4.67874 3.70537 6.74944 3.70508C8.04481 3.70508 9.18671 4.36608 9.86042 5.37027C10.5512 5.26756 11.2668 5.21388 12 5.21387C12.7324 5.21387 13.4472 5.26778 14.1373 5.37027C14.8109 4.36565 15.9538 3.70514 17.2494 3.70508Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("circle",{cx:"6.85156",cy:"7.5",r:"1.5",fill:"currentColor"}),o.createElement("circle",{cx:"17.1484",cy:"7.5",r:"1.5",fill:"currentColor"}),o.createElement("path",{d:"M8.32031 14.2617C10.4878 15.9132 13.513 15.9132 15.6805 14.2617",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})))),j=v;export{v as IconFrog,j as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=FEC49DBE99DF2F2664756E2164756E21
|
|
@@ -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-3-stroke-1-IconFrog\"><path d=\"M17.2494 3.70508C19.3204 3.70508 20.9999 5.39319 21.0002 7.47538C21.0002 7.88757 20.9329 8.28438 20.8113 8.65564C21.8782 9.83601 22.5 11.2424 22.5 12.7545C22.4999 16.9192 17.799 20.2951 12 20.2951C6.20105 20.2951 1.50008 16.9192 1.5 12.7545C1.5 11.2426 2.12096 9.83588 3.1876 8.65564C3.06606 8.28444 2.99984 7.88749 2.99984 7.47538C3.00005 5.39336 4.67874 3.70537 6.74944 3.70508C8.04481 3.70508 9.18671 4.36608 9.86042 5.37027C10.5512 5.26756 11.2668 5.21388 12 5.21387C12.7324 5.21387 13.4472 5.26778 14.1373 5.37027C14.8109 4.36565 15.9538 3.70514 17.2494 3.70508Z\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><circle cx=\"6.85156\" cy=\"7.5\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"17.1484\" cy=\"7.5\" r=\"1.5\" fill=\"currentColor\"/><path d=\"M8.32031 14.2617C10.4878 15.9132 13.513 15.9132 15.6805 14.2617\" stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/></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,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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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
|
|