@central-icons-react/round-filled-radius-2-stroke-2 1.2.11 → 1.2.13
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/IconHistorgram/index.d.ts +4 -0
- package/IconHistorgram/index.js +3 -0
- package/IconHistorgram/index.js.map +11 -0
- package/IconHistorgram/index.mjs +3 -0
- package/IconHistorgram/index.mjs.map +11 -0
- package/IconHomepod/index.d.ts +4 -0
- package/IconHomepod/index.js +3 -0
- package/IconHomepod/index.js.map +11 -0
- package/IconHomepod/index.mjs +3 -0
- package/IconHomepod/index.mjs.map +11 -0
- package/IconHomeview/index.d.ts +4 -0
- package/IconHomeview/index.js +3 -0
- package/IconHomeview/index.js.map +11 -0
- package/IconHomeview/index.mjs +3 -0
- package/IconHomeview/index.mjs.map +11 -0
- package/IconWidgets/index.d.ts +4 -0
- package/IconWidgets/index.js +3 -0
- package/IconWidgets/index.js.map +11 -0
- package/IconWidgets/index.mjs +3 -0
- package/IconWidgets/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:i,getOwnPropertyNames:S,getOwnPropertyDescriptor:U}=Object,I=Object.prototype.hasOwnProperty;function x(e){return this[e]}var q,D,B=(e,n,t)=>{var o=e!=null&&typeof e==="object";if(o){var l=n?q??=new WeakMap:D??=new WeakMap,c=l.get(e);if(c)return c}t=e!=null?F(N(e)):{};let s=n||!e||!e.__esModule||!I.call(e,"default")?i(t,"default",{value:e,enumerable:!0}):t;if(e&&typeof e==="object"||typeof e==="function"){for(let a of S(e))if(!I.call(s,a))i(s,a,{get:x.bind(e,a),enumerable:!0})}if(o)l.set(e,s);return s},k=(e)=>{var n=(w??=new WeakMap).get(e),t;if(n)return n;if(n=i({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of S(e))if(!I.call(n,o))i(n,o,{get:x.bind(e,o),enumerable:!(t=U(e,o))||t.enumerable})}return w.set(e,n),n},w;var O=(e)=>e;function Z(e,n){this[e]=O.bind(null,n)}var G=(e,n)=>{for(var t in n)i(e,t,{get:n[t],enumerable:!0,configurable:!0,set:Z.bind(n,t)})};var Q={};G(Q,{IconHistorgram:()=>b,default:()=>T});module.exports=k(Q);var K={};G(K,{CentralIconBase:()=>p});var d=B(require("react"));var r=B(require("react")),j=(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(j,{...e,svgRef:n}));p.displayName="CentralIconBase";var v=({children:e,size:n=24,ariaLabel:t,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":s,role:a,svgRef:L,renderShapes:h,style:E,mode:H="masked",maskId:m,instanceId:f,...M})=>{let g=f?`${m}-${f}`:m,R=H!=="raw"&&!!m,u=c??l??!0,C=u===!0||u==="true",P=s??t,y=h?h(g??f??"icon"):e;return r.default.createElement("svg",{...M,ref:L,"aria-hidden":u,"aria-label":s,role:a??(C?void 0:"img"),width:typeof n==="number"?`${n}px`:n,height:typeof n==="number"?`${n}px`:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...E}},P&&!C&&r.default.createElement("title",null,P),R?r.default.createElement(r.default.Fragment,null,r.default.createElement("mask",{id:g,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"}},y)),r.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${g})`})):y)};var b=d.default.memo(d.default.forwardRef((e,n)=>d.default.createElement(p,{...e,ref:n,ariaLabel:"historgram, mountain, peak, hiking",maskId:"round-filled-radius-2-stroke-2-IconHistorgram"},d.default.createElement("path",{d:"M12.4092 4.94339C13.5304 2.52218 17.0184 2.66003 17.9453 5.16214L21.9434 15.958C22.669 17.9173 21.22 19.9997 19.1309 20H4.87695C2.78775 19.9997 1.33881 17.9173 2.06445 15.958L3.71093 11.5108C4.28281 9.96741 5.99233 9.17302 7.54101 9.7305L9.81445 10.5489L12.4092 4.94339Z",fill:"currentColor"})))),T=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=61B75012CA9CE57264756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconHistorgram/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconHistorgram: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"historgram, mountain, peak, hiking\"} maskId=\"round-filled-radius-2-stroke-2-IconHistorgram\"><path d=\"M12.4092 4.94339C13.5304 2.52218 17.0184 2.66003 17.9453 5.16214L21.9434 15.958C22.669 17.9173 21.22 19.9997 19.1309 20H4.87695C2.78775 19.9997 1.33881 17.9173 2.06445 15.958L3.71093 11.5108C4.28281 9.96741 5.99233 9.17302 7.54101 9.7305L9.81445 10.5489L12.4092 4.94339Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconHistorgram;\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": "mjCAAkB,IAAlB,sBCAkB,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,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AAgD,wBAAC,OAAD,CAAM,EAAE,iRAAiR,KAAK,eAAc,CAAI,CACtc,CAAC,EAEa",
|
|
9
|
+
"debugId": "61B75012CA9CE57264756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import t from"react";import e from"react";var G=(r)=>{let n=e.useId();return e.createElement(u,{...r,instanceId:n})},V=0,g=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})}},d=e.forwardRef((r,n)=>g?e.createElement(g,{iconProps:{...r,svgRef:n}}):e.createElement(G,{...r,svgRef:n}));d.displayName="CentralIconBase";var u=({children:r,size:n=24,ariaLabel:I,color:h,ariaHidden:C,"aria-hidden":P,"aria-label":l,role:y,svgRef:w,renderShapes:c,style:S,mode:x="masked",maskId:o,instanceId:s,...B})=>{let a=s?`${o}-${s}`:o,k=x!=="raw"&&!!o,i=P??C??!0,p=i===!0||i==="true",m=l??I,f=c?c(a??s??"icon"):r;return e.createElement("svg",{...B,ref:w,"aria-hidden":i,"aria-label":l,role:y??(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:h,...S}},m&&!p&&e.createElement("title",null,m),k?e.createElement(e.Fragment,null,e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},e.createElement("rect",{width:"24",height:"24",fill:"#000"}),e.createElement("g",{fill:"none",style:{color:"#fff"}},f)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):f)};var v=t.memo(t.forwardRef((r,n)=>t.createElement(d,{...r,ref:n,ariaLabel:"historgram, mountain, peak, hiking",maskId:"round-filled-radius-2-stroke-2-IconHistorgram"},t.createElement("path",{d:"M12.4092 4.94339C13.5304 2.52218 17.0184 2.66003 17.9453 5.16214L21.9434 15.958C22.669 17.9173 21.22 19.9997 19.1309 20H4.87695C2.78775 19.9997 1.33881 17.9173 2.06445 15.958L3.71093 11.5108C4.28281 9.96741 5.99233 9.17302 7.54101 9.7305L9.81445 10.5489L12.4092 4.94339Z",fill:"currentColor"})))),F=v;export{v as IconHistorgram,F as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=C280F65A2C27D69C64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconHistorgram/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconHistorgram: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"historgram, mountain, peak, hiking\"} maskId=\"round-filled-radius-2-stroke-2-IconHistorgram\"><path d=\"M12.4092 4.94339C13.5304 2.52218 17.0184 2.66003 17.9453 5.16214L21.9434 15.958C22.669 17.9173 21.22 19.9997 19.1309 20H4.87695C2.78775 19.9997 1.33881 17.9173 2.06445 15.958L3.71093 11.5108C4.28281 9.96741 5.99233 9.17302 7.54101 9.7305L9.81445 10.5489L12.4092 4.94339Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconHistorgram;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (props) => {\n const instanceId = React.useId();\n return <CentralIconSvg {...props} instanceId={instanceId} />;\n};\n\nlet nextLegacyId = 0;\n\n// React's Server Components runtime exposes useId but not Component. Only\n// define the legacy class when it is needed, so modern imports stay RSC-safe.\nconst LegacyCentralIconBase =\n typeof React.useId === \"function\"\n ? undefined\n : class extends React.Component<\n { iconProps: RenderProps },\n { instanceId?: string }\n > {\n state: { instanceId?: string } = {};\n\n componentDidMount() {\n // Defer legacy IDs until mount so server and initial client markup agree.\n this.setState({ instanceId: `legacy-${++nextLegacyId}` });\n }\n\n render() {\n return (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\n {masked ? (\n <>\n <mask\n id={uniqueMaskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <rect width=\"24\" height=\"24\" fill=\"#000\" />\n <g fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "AAAA,qBCAA,qBAiBA,IAAM,EAA+C,CAAC,IAAU,CAC9D,IAAM,EAAa,EAAM,MAAM,EAC/B,OAAO,gBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,EAAM,QAAU,WACnB,OACA,cAAc,EAAM,SAGlB,CACA,MAAiC,CAAC,EAElC,iBAAiB,EAAG,CAElB,KAAK,SAAS,CAAE,WAAY,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OACE,gBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAAY,KAAK,MAAM,WACzB,EAGN,EAEO,EAAkB,EAAM,WACnC,CAAC,EAAO,IACN,EACE,gBAAC,EAAD,CAAuB,UAAW,IAAK,EAAO,OAAQ,CAAI,EAAG,EAE7D,gBAAC,EAAD,IAA2B,EAAO,OAAQ,EAAK,CAErD,EACA,EAAgB,YAAc,kBAE9B,IAAM,EAAkE,EACtE,WACA,OAAO,GACP,YACA,QACA,aACA,cAAe,EACf,aAAc,EACd,OACA,SACA,eACA,QACA,OAAO,SACP,SACA,gBACG,KACC,CACJ,IAAM,EAAe,EAAa,GAAG,KAAU,IAAe,EACxD,EAAS,IAAS,OAAS,CAAC,CAAC,EAC7B,EAAS,GAAuB,GAAc,GAC9C,EAAW,IAAW,IAAQ,IAAW,OACzC,EAAQ,GAAsB,EAC9B,EAAS,EACX,EAAa,GAAgB,GAAc,MAAM,EACjD,EACJ,OACE,gBAuCE,MAvCF,IACM,EACJ,IAAK,EACL,cAAa,EACb,aAAY,EACZ,KAAM,IAAS,EAAW,OAAY,OACtC,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAS,CAAC,GAAY,gBAAgB,QAAhB,KAAQ,CAAQ,EACtC,EACC,gCACE,gBAYE,OAZF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,gBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,gBAEE,IAFF,CAAG,KAAK,OAAO,MAAO,CAAE,MAAO,MAAO,GACnC,CACD,CACF,EACF,gBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GD1HC,IAAM,EAAmE,EAAM,KAAK,EAAM,WAAgD,CAAC,EAAO,IAChJ,gBAA8b,EAA9b,IAAqB,EAAO,IAAK,EAAK,UAAW,qCAAsC,OAAO,iDAAgD,gBAAC,OAAD,CAAM,EAAE,iRAAiR,KAAK,eAAc,CAAI,CACtc,CAAC,EAEa",
|
|
9
|
+
"debugId": "C280F65A2C27D69C64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var L=Object.create;var{getPrototypeOf:N,defineProperty:i,getOwnPropertyNames:S,getOwnPropertyDescriptor:U}=Object,g=Object.prototype.hasOwnProperty;function x(e){return this[e]}var Z,q,B=(e,n,r)=>{var t=e!=null&&typeof e==="object";if(t){var l=n?Z??=new WeakMap:q??=new WeakMap,p=l.get(e);if(p)return p}r=e!=null?L(N(e)):{};let s=n||!e||!e.__esModule||!g.call(e,"default")?i(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let a of S(e))if(!g.call(s,a))i(s,a,{get:x.bind(e,a),enumerable:!0})}if(t)l.set(e,s);return s},V=(e)=>{var n=(w??=new WeakMap).get(e),r;if(n)return n;if(n=i({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var t of S(e))if(!g.call(n,t))i(n,t,{get:x.bind(e,t),enumerable:!(r=U(e,t))||r.enumerable})}return w.set(e,n),n},w;var D=(e)=>e;function O(e,n){this[e]=D.bind(null,n)}var k=(e,n)=>{for(var r in n)i(e,r,{get:n[r],enumerable:!0,configurable:!0,set:O.bind(n,r)})};var Q={};k(Q,{IconHomepod:()=>b,default:()=>T});module.exports=V(Q);var K={};k(K,{CentralIconBase:()=>c});var d=B(require("react"));var o=B(require("react")),j=(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})}},c=o.default.forwardRef((e,n)=>v?o.default.createElement(v,{iconProps:{...e,svgRef:n}}):o.default.createElement(j,{...e,svgRef:n}));c.displayName="CentralIconBase";var G=({children:e,size:n=24,ariaLabel:r,color:t,ariaHidden:l,"aria-hidden":p,"aria-label":s,role:a,svgRef:R,renderShapes:I,style:E,mode:M="masked",maskId:m,instanceId:f,...H})=>{let C=f?`${m}-${f}`:m,F=M!=="raw"&&!!m,u=p??l??!0,h=u===!0||u==="true",P=s??r,y=I?I(C??f??"icon"):e;return o.default.createElement("svg",{...H,ref:R,"aria-hidden":u,"aria-label":s,role:a??(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}},P&&!h&&o.default.createElement("title",null,P),F?o.default.createElement(o.default.Fragment,null,o.default.createElement("mask",{id:C,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"}},y)),o.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${C})`})):y)};var b=d.default.memo(d.default.forwardRef((e,n)=>d.default.createElement(c,{...e,ref:n,ariaLabel:"homepod, home-speaker",maskId:"round-filled-radius-2-stroke-2-IconHomepod"},d.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C14.0544 2 15.9636 2.41452 17.3965 3.13086C18.7695 3.81739 20 4.95067 20 6.5V17.5C20 19.0493 18.7695 20.1826 17.3965 20.8691C15.9636 21.5855 14.0544 22 12 22C9.94557 22 8.03635 21.5855 6.60352 20.8691C5.23046 20.1826 4 19.0493 4 17.5V6.5C4 4.95067 5.23046 3.81739 6.60352 3.13086C8.03635 2.41452 9.94557 2 12 2ZM12 3.25C9.51472 3.25 7.5 3.80964 7.5 4.5C7.5 5.19036 9.51472 5.75 12 5.75C14.4853 5.75 16.5 5.19036 16.5 4.5C16.5 3.80964 14.4853 3.25 12 3.25Z",fill:"currentColor"})))),T=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=4B1A68C48040ED3F64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconHomepod/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconHomepod: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"homepod, home-speaker\"} maskId=\"round-filled-radius-2-stroke-2-IconHomepod\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M12 2C14.0544 2 15.9636 2.41452 17.3965 3.13086C18.7695 3.81739 20 4.95067 20 6.5V17.5C20 19.0493 18.7695 20.1826 17.3965 20.8691C15.9636 21.5855 14.0544 22 12 22C9.94557 22 8.03635 21.5855 6.60352 20.8691C5.23046 20.1826 4 19.0493 4 17.5V6.5C4 4.95067 5.23046 3.81739 6.60352 3.13086C8.03635 2.41452 9.94557 2 12 2ZM12 3.25C9.51472 3.25 7.5 3.80964 7.5 4.5C7.5 5.19036 9.51472 5.75 12 5.75C14.4853 5.75 16.5 5.19036 16.5 4.5C16.5 3.80964 14.4853 3.25 12 3.25Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconHomepod;\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 </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AAG,MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAS,CAAC,GAAY,wBAAgB,QAAhB,KAAQ,CAAQ,EACtC,EACC,gDACE,wBAYE,OAZF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,wBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,wBAEE,IAFF,CAAG,KAAK,OAAO,MAAO,CAAE,MAAO,MAAO,GACnC,CACD,CACF,EACF,wBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GD1HC,IAAM,EAAgE,UAAM,KAAK,UAAM,WAAgD,CAAC,EAAO,IAC7I,wBAAkpB,EAAlpB,IAAqB,EAAO,IAAK,EAAK,UAAW,wBAAyB,OAAO,8CAA6C,wBAAC,OAAD,CAAM,SAAS,UAAU,SAAS,UAAU,EAAE,+cAA+c,KAAK,eAAc,CAAI,CAC1pB,CAAC,EAEa",
|
|
9
|
+
"debugId": "4B1A68C48040ED3F64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import r from"react";import e from"react";var k=(o)=>{let n=e.useId();return e.createElement(u,{...o,instanceId:n})},v=0,C=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})}},d=e.forwardRef((o,n)=>C?e.createElement(C,{iconProps:{...o,svgRef:n}}):e.createElement(k,{...o,svgRef:n}));d.displayName="CentralIconBase";var u=({children:o,size:n=24,ariaLabel:g,color:I,ariaHidden:h,"aria-hidden":P,"aria-label":l,role:y,svgRef:w,renderShapes:p,style:S,mode:x="masked",maskId:t,instanceId:s,...B})=>{let a=s?`${t}-${s}`:t,V=x!=="raw"&&!!t,i=P??h??!0,c=i===!0||i==="true",m=l??g,f=p?p(a??s??"icon"):o;return e.createElement("svg",{...B,ref:w,"aria-hidden":i,"aria-label":l,role:y??(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:I,...S}},m&&!c&&e.createElement("title",null,m),V?e.createElement(e.Fragment,null,e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},e.createElement("rect",{width:"24",height:"24",fill:"#000"}),e.createElement("g",{fill:"none",style:{color:"#fff"}},f)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):f)};var G=r.memo(r.forwardRef((o,n)=>r.createElement(d,{...o,ref:n,ariaLabel:"homepod, home-speaker",maskId:"round-filled-radius-2-stroke-2-IconHomepod"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C14.0544 2 15.9636 2.41452 17.3965 3.13086C18.7695 3.81739 20 4.95067 20 6.5V17.5C20 19.0493 18.7695 20.1826 17.3965 20.8691C15.9636 21.5855 14.0544 22 12 22C9.94557 22 8.03635 21.5855 6.60352 20.8691C5.23046 20.1826 4 19.0493 4 17.5V6.5C4 4.95067 5.23046 3.81739 6.60352 3.13086C8.03635 2.41452 9.94557 2 12 2ZM12 3.25C9.51472 3.25 7.5 3.80964 7.5 4.5C7.5 5.19036 9.51472 5.75 12 5.75C14.4853 5.75 16.5 5.19036 16.5 4.5C16.5 3.80964 14.4853 3.25 12 3.25Z",fill:"currentColor"})))),L=G;export{G as IconHomepod,L as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=1205EE20A65C2DB264756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconHomepod/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconHomepod: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"homepod, home-speaker\"} maskId=\"round-filled-radius-2-stroke-2-IconHomepod\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M12 2C14.0544 2 15.9636 2.41452 17.3965 3.13086C18.7695 3.81739 20 4.95067 20 6.5V17.5C20 19.0493 18.7695 20.1826 17.3965 20.8691C15.9636 21.5855 14.0544 22 12 22C9.94557 22 8.03635 21.5855 6.60352 20.8691C5.23046 20.1826 4 19.0493 4 17.5V6.5C4 4.95067 5.23046 3.81739 6.60352 3.13086C8.03635 2.41452 9.94557 2 12 2ZM12 3.25C9.51472 3.25 7.5 3.80964 7.5 4.5C7.5 5.19036 9.51472 5.75 12 5.75C14.4853 5.75 16.5 5.19036 16.5 4.5C16.5 3.80964 14.4853 3.25 12 3.25Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconHomepod;\n",
|
|
6
|
+
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\ntype Props = CentralIconBaseProps & {\n ariaLabel?: string;\n /** Internal generated shapes that contain instance-scoped SVG references. */\n renderShapes?: (instanceId: string) => React.ReactNode;\n};\ntype RenderProps = Props & { svgRef?: React.ForwardedRef<SVGSVGElement> };\n\nconst ModernCentralIconBase: React.FC<RenderProps> = (props) => {\n const instanceId = React.useId();\n return <CentralIconSvg {...props} instanceId={instanceId} />;\n};\n\nlet nextLegacyId = 0;\n\n// React's Server Components runtime exposes useId but not Component. Only\n// define the legacy class when it is needed, so modern imports stay RSC-safe.\nconst LegacyCentralIconBase =\n typeof React.useId === \"function\"\n ? undefined\n : class extends React.Component<\n { iconProps: RenderProps },\n { instanceId?: string }\n > {\n state: { instanceId?: string } = {};\n\n componentDidMount() {\n // Defer legacy IDs until mount so server and initial client markup agree.\n this.setState({ instanceId: `legacy-${++nextLegacyId}` });\n }\n\n render() {\n return (\n <CentralIconSvg\n {...this.props.iconProps}\n instanceId={this.state.instanceId}\n />\n );\n }\n };\n\nexport const CentralIconBase = React.forwardRef<SVGSVGElement, Props>(\n (props, ref) =>\n LegacyCentralIconBase ? (\n <LegacyCentralIconBase iconProps={{ ...props, svgRef: ref }} />\n ) : (\n <ModernCentralIconBase {...props} svgRef={ref} />\n ),\n);\nCentralIconBase.displayName = \"CentralIconBase\";\n\nconst CentralIconSvg: React.FC<RenderProps & { instanceId?: string }> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden,\n \"aria-hidden\": ariaHiddenAttribute,\n \"aria-label\": ariaLabelAttribute,\n role,\n svgRef,\n renderShapes,\n style,\n mode = \"masked\",\n maskId,\n instanceId,\n ...props\n}) => {\n const uniqueMaskId = instanceId ? `${maskId}-${instanceId}` : maskId;\n const masked = mode !== \"raw\" && !!maskId;\n const hidden = ariaHiddenAttribute ?? ariaHidden ?? true;\n const isHidden = hidden === true || hidden === \"true\";\n const label = ariaLabelAttribute ?? ariaLabel;\n const shapes = renderShapes\n ? renderShapes(uniqueMaskId ?? instanceId ?? \"icon\")\n : children;\n return (\n <svg\n {...props}\n ref={svgRef}\n aria-hidden={hidden}\n aria-label={ariaLabelAttribute}\n role={role ?? (isHidden ? undefined : \"img\")}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {label && !isHidden && <title>{label}</title>}\n {masked ? (\n <>\n <mask\n id={uniqueMaskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <rect width=\"24\" height=\"24\" fill=\"#000\" />\n <g fill=\"none\" style={{ color: \"#fff\" }}>\n {shapes}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${uniqueMaskId})`}\n />\n </>\n ) : (\n shapes\n )}\n </svg>\n );\n};\n"
|
|
7
|
+
],
|
|
8
|
+
"mappings": "AAAA,qBCAA,qBAiBA,IAAM,EAA+C,CAAC,IAAU,CAC9D,IAAM,EAAa,EAAM,MAAM,EAC/B,OAAO,gBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,EAAM,QAAU,WACnB,OACA,cAAc,EAAM,SAGlB,CACA,MAAiC,CAAC,EAElC,iBAAiB,EAAG,CAElB,KAAK,SAAS,CAAE,WAAY,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OACE,gBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAAY,KAAK,MAAM,WACzB,EAGN,EAEO,EAAkB,EAAM,WACnC,CAAC,EAAO,IACN,EACE,gBAAC,EAAD,CAAuB,UAAW,IAAK,EAAO,OAAQ,CAAI,EAAG,EAE7D,gBAAC,EAAD,IAA2B,EAAO,OAAQ,EAAK,CAErD,EACA,EAAgB,YAAc,kBAE9B,IAAM,EAAkE,EACtE,WACA,OAAO,GACP,YACA,QACA,aACA,cAAe,EACf,aAAc,EACd,OACA,SACA,eACA,QACA,OAAO,SACP,SACA,gBACG,KACC,CACJ,IAAM,EAAe,EAAa,GAAG,KAAU,IAAe,EACxD,EAAS,IAAS,OAAS,CAAC,CAAC,EAC7B,EAAS,GAAuB,GAAc,GAC9C,EAAW,IAAW,IAAQ,IAAW,OACzC,EAAQ,GAAsB,EAC9B,EAAS,EACX,EAAa,GAAgB,GAAc,MAAM,EACjD,EACJ,OACE,gBAuCE,MAvCF,IACM,EACJ,IAAK,EACL,cAAa,EACb,aAAY,EACZ,KAAM,IAAS,EAAW,OAAY,OACtC,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAS,CAAC,GAAY,gBAAgB,QAAhB,KAAQ,CAAQ,EACtC,EACC,gCACE,gBAYE,OAZF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,gBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,gBAEE,IAFF,CAAG,KAAK,OAAO,MAAO,CAAE,MAAO,MAAO,GACnC,CACD,CACF,EACF,gBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GD1HC,IAAM,EAAgE,EAAM,KAAK,EAAM,WAAgD,CAAC,EAAO,IAC7I,gBAAkpB,EAAlpB,IAAqB,EAAO,IAAK,EAAK,UAAW,wBAAyB,OAAO,8CAA6C,gBAAC,OAAD,CAAM,SAAS,UAAU,SAAS,UAAU,EAAE,+cAA+c,KAAK,eAAc,CAAI,CAC1pB,CAAC,EAEa",
|
|
9
|
+
"debugId": "1205EE20A65C2DB264756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var N=Object.create;var{getPrototypeOf:R,defineProperty:d,getOwnPropertyNames:V,getOwnPropertyDescriptor:U}=Object,u=Object.prototype.hasOwnProperty;function S(e){return this[e]}var Z,q,x=(e,n,t)=>{var o=e!=null&&typeof e==="object";if(o){var l=n?Z??=new WeakMap:q??=new WeakMap,c=l.get(e);if(c)return c}t=e!=null?N(R(e)):{};let s=n||!e||!e.__esModule||!u.call(e,"default")?d(t,"default",{value:e,enumerable:!0}):t;if(e&&typeof e==="object"||typeof e==="function"){for(let i of V(e))if(!u.call(s,i))d(s,i,{get:S.bind(e,i),enumerable:!0})}if(o)l.set(e,s);return s},B=(e)=>{var n=(y??=new WeakMap).get(e),t;if(n)return n;if(n=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of V(e))if(!u.call(n,o))d(n,o,{get:S.bind(e,o),enumerable:!(t=U(e,o))||t.enumerable})}return y.set(e,n),n},y;var D=(e)=>e;function O(e,n){this[e]=D.bind(null,n)}var v=(e,n)=>{for(var t in n)d(e,t,{get:n[t],enumerable:!0,configurable:!0,set:O.bind(n,t)})};var Q={};v(Q,{IconHomeview:()=>b,default:()=>T});module.exports=B(Q);var K={};v(K,{CentralIconBase:()=>p});var a=x(require("react"));var r=x(require("react")),j=(e)=>{let n=r.default.useId();return r.default.createElement(k,{...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(k,{...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(j,{...e,svgRef:n}));p.displayName="CentralIconBase";var k=({children:e,size:n=24,ariaLabel:t,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":s,role:i,svgRef:H,renderShapes:I,style:E,mode:M="masked",maskId:m,instanceId:f,...F})=>{let C=f?`${m}-${f}`:m,L=M!=="raw"&&!!m,g=c??l??!0,h=g===!0||g==="true",w=s??t,P=I?I(C??f??"icon"):e;return r.default.createElement("svg",{...F,ref:H,"aria-hidden":g,"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:o,...E}},w&&!h&&r.default.createElement("title",null,w),L?r.default.createElement(r.default.Fragment,null,r.default.createElement("mask",{id:C,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(#${C})`})):P)};var b=a.default.memo(a.default.forwardRef((e,n)=>a.default.createElement(p,{...e,ref:n,ariaLabel:"homeview, home-pc",maskId:"round-filled-radius-2-stroke-2-IconHomeview"},a.default.createElement("path",{d:"M17 19.0586C17 20.3331 16.1596 21.5759 14.748 21.7959C14.0407 21.906 13.1116 22 12 22C10.8884 22 9.95933 21.906 9.25195 21.7959C7.84037 21.5759 7.00005 20.3331 7 19.0586V18.9746C7.16448 18.9909 7.33123 19 7.5 19H16.5C16.6688 19 16.8355 18.9909 17 18.9746V19.0586Z",fill:"currentColor"}),a.default.createElement("path",{d:"M16.5 2C18.7091 2 20.5 3.79086 20.5 6V14C20.5 16.2091 18.7091 18 16.5 18H7.5C5.29086 18 3.5 16.2091 3.5 14V6C3.5 3.79086 5.29086 2 7.5 2H16.5Z",fill:"currentColor"})))),T=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=E202435362A668DE64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconHomeview/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconHomeview: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"homeview, home-pc\"} maskId=\"round-filled-radius-2-stroke-2-IconHomeview\"><path d=\"M17 19.0586C17 20.3331 16.1596 21.5759 14.748 21.7959C14.0407 21.906 13.1116 22 12 22C10.8884 22 9.95933 21.906 9.25195 21.7959C7.84037 21.5759 7.00005 20.3331 7 19.0586V18.9746C7.16448 18.9909 7.33123 19 7.5 19H16.5C16.6688 19 16.8355 18.9909 17 18.9746V19.0586Z\" fill=\"currentColor\"/><path d=\"M16.5 2C18.7091 2 20.5 3.79086 20.5 6V14C20.5 16.2091 18.7091 18 16.5 18H7.5C5.29086 18 3.5 16.2091 3.5 14V6C3.5 3.79086 5.29086 2 7.5 2H16.5Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconHomeview;\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": "ijCAAkB,IAAlB,sBCAkB,IAAlB,sBAiBM,EAA+C,CAAC,IAAU,CAC9D,IAAM,EAAa,UAAM,MAAM,EAC/B,OAAO,wBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGx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E,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,EAAiE,UAAM,KAAK,UAAM,WAAgD,CAAC,EAAO,IAC9I,wBAAklB,EAAllB,IAAqB,EAAO,IAAK,EAAK,UAAW,oBAAqB,OAAO,+CAA8C,wBAAC,OAAD,CAAM,EAAE,0QAA0Q,KAAK,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,iJAAiJ,KAAK,eAAc,CAAI,CAC1lB,CAAC,EAEa",
|
|
9
|
+
"debugId": "E202435362A668DE64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import t from"react";import e from"react";var v=(r)=>{let n=e.useId();return e.createElement(g,{...r,instanceId:n})},G=0,C=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)=>C?e.createElement(C,{iconProps:{...r,svgRef:n}}):e.createElement(v,{...r,svgRef:n}));d.displayName="CentralIconBase";var g=({children:r,size:n=24,ariaLabel:u,color:I,ariaHidden:h,"aria-hidden":w,"aria-label":l,role:P,svgRef:y,renderShapes:c,style:V,mode:S="masked",maskId:o,instanceId:s,...x})=>{let a=s?`${o}-${s}`:o,B=S!=="raw"&&!!o,i=w??h??!0,p=i===!0||i==="true",m=l??u,f=c?c(a??s??"icon"):r;return e.createElement("svg",{...x,ref:y,"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,...V}},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"}},f)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):f)};var k=t.memo(t.forwardRef((r,n)=>t.createElement(d,{...r,ref:n,ariaLabel:"homeview, home-pc",maskId:"round-filled-radius-2-stroke-2-IconHomeview"},t.createElement("path",{d:"M17 19.0586C17 20.3331 16.1596 21.5759 14.748 21.7959C14.0407 21.906 13.1116 22 12 22C10.8884 22 9.95933 21.906 9.25195 21.7959C7.84037 21.5759 7.00005 20.3331 7 19.0586V18.9746C7.16448 18.9909 7.33123 19 7.5 19H16.5C16.6688 19 16.8355 18.9909 17 18.9746V19.0586Z",fill:"currentColor"}),t.createElement("path",{d:"M16.5 2C18.7091 2 20.5 3.79086 20.5 6V14C20.5 16.2091 18.7091 18 16.5 18H7.5C5.29086 18 3.5 16.2091 3.5 14V6C3.5 3.79086 5.29086 2 7.5 2H16.5Z",fill:"currentColor"})))),N=k;export{k as IconHomeview,N as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=A59BF233212936C964756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconHomeview/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconHomeview: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"homeview, home-pc\"} maskId=\"round-filled-radius-2-stroke-2-IconHomeview\"><path d=\"M17 19.0586C17 20.3331 16.1596 21.5759 14.748 21.7959C14.0407 21.906 13.1116 22 12 22C10.8884 22 9.95933 21.906 9.25195 21.7959C7.84037 21.5759 7.00005 20.3331 7 19.0586V18.9746C7.16448 18.9909 7.33123 19 7.5 19H16.5C16.6688 19 16.8355 18.9909 17 18.9746V19.0586Z\" fill=\"currentColor\"/><path d=\"M16.5 2C18.7091 2 20.5 3.79086 20.5 6V14C20.5 16.2091 18.7091 18 16.5 18H7.5C5.29086 18 3.5 16.2091 3.5 14V6C3.5 3.79086 5.29086 2 7.5 2H16.5Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconHomeview;\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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O,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,EAAiE,EAAM,KAAK,EAAM,WAAgD,CAAC,EAAO,IAC9I,gBAAklB,EAAllB,IAAqB,EAAO,IAAK,EAAK,UAAW,oBAAqB,OAAO,+CAA8C,gBAAC,OAAD,CAAM,EAAE,0QAA0Q,KAAK,eAAc,EAAE,gBAAC,OAAD,CAAM,EAAE,iJAAiJ,KAAK,eAAc,CAAI,CAC1lB,CAAC,EAEa",
|
|
9
|
+
"debugId": "A59BF233212936C964756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var L=Object.create;var{getPrototypeOf:N,defineProperty:i,getOwnPropertyNames:V,getOwnPropertyDescriptor:Z}=Object,u=Object.prototype.hasOwnProperty;function S(e){return this[e]}var U,W,x=(e,n,r)=>{var o=e!=null&&typeof e==="object";if(o){var l=n?U??=new WeakMap:W??=new WeakMap,c=l.get(e);if(c)return c}r=e!=null?L(N(e)):{};let s=n||!e||!e.__esModule||!u.call(e,"default")?i(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let a of V(e))if(!u.call(s,a))i(s,a,{get:S.bind(e,a),enumerable:!0})}if(o)l.set(e,s);return s},B=(e)=>{var n=(y??=new WeakMap).get(e),r;if(n)return n;if(n=i({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of V(e))if(!u.call(n,o))i(n,o,{get:S.bind(e,o),enumerable:!(r=Z(e,o))||r.enumerable})}return y.set(e,n),n},y;var q=(e)=>e;function D(e,n){this[e]=q.bind(null,n)}var v=(e,n)=>{for(var r in n)i(e,r,{get:n[r],enumerable:!0,configurable:!0,set:D.bind(n,r)})};var K={};v(K,{IconWidgets:()=>H,default:()=>Q});module.exports=B(K);var J={};v(J,{CentralIconBase:()=>p});var d=x(require("react"));var t=x(require("react")),O=(e)=>{let n=t.default.useId();return t.default.createElement(k,{...e,instanceId:n})},j=0,G=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return t.default.createElement(k,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=t.default.forwardRef((e,n)=>G?t.default.createElement(G,{iconProps:{...e,svgRef:n}}):t.default.createElement(O,{...e,svgRef:n}));p.displayName="CentralIconBase";var k=({children:e,size:n=24,ariaLabel:r,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":s,role:a,svgRef:b,renderShapes:I,style:M,mode:R="masked",maskId:m,instanceId:f,...E})=>{let C=f?`${m}-${f}`:m,F=R!=="raw"&&!!m,g=c??l??!0,h=g===!0||g==="true",P=s??r,w=I?I(C??f??"icon"):e;return t.default.createElement("svg",{...E,ref:b,"aria-hidden":g,"aria-label":s,role:a??(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:o,...M}},P&&!h&&t.default.createElement("title",null,P),F?t.default.createElement(t.default.Fragment,null,t.default.createElement("mask",{id:C,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),t.default.createElement("g",{fill:"none",style:{color:"#fff"}},w)),t.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${C})`})):w)};var H=d.default.memo(d.default.forwardRef((e,n)=>d.default.createElement(p,{...e,ref:n,ariaLabel:"widgets",maskId:"round-filled-radius-2-stroke-2-IconWidgets"},d.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 3C19.6569 3 21 4.34315 21 6V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6C3 4.34315 4.34315 3 6 3H18ZM8 15C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17H16C16.5523 17 17 16.5523 17 16C17 15.4477 16.5523 15 16 15H8ZM8 7C7.44772 7 7 7.44772 7 8V10C7 10.5523 7.44772 11 8 11H10C10.5523 11 11 10.5523 11 10V8C11 7.44772 10.5523 7 10 7H8Z",fill:"currentColor"})))),Q=H;
|
|
2
|
+
|
|
3
|
+
//# debugId=BAC956434E1DEE7164756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconWidgets/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconWidgets: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"widgets\"} maskId=\"round-filled-radius-2-stroke-2-IconWidgets\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M18 3C19.6569 3 21 4.34315 21 6V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6C3 4.34315 4.34315 3 6 3H18ZM8 15C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17H16C16.5523 17 17 16.5523 17 16C17 15.4477 16.5523 15 16 15H8ZM8 7C7.44772 7 7 7.44772 7 8V10C7 10.5523 7.44772 11 8 11H10C10.5523 11 11 10.5523 11 10V8C11 7.44772 10.5523 7 10 7H8Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconWidgets;\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": "gjCAAkB,IAAlB,sBCAkB,IAAlB,sBAiBM,EAA+C,CAAC,IAAU,CAC9D,IAAM,EAAa,UAAM,MAAM,EAC/B,OAAO,wBAAC,EAAD,IAAoB,EAAO,WAAY,EAAY,GAGxD,EAAe,EAIb,EACJ,OAAO,UAAM,QAAU,WACnB,OACA,cAAc,UAAM,SAGlB,CACA,MAAiC,CAAC,EAElC,iBAAiB,EAAG,CAElB,KAAK,SAAS,CAAE,WAAY,UAAU,EAAE,GAAe,CAAC,EAG1D,MAAM,EAAG,CACP,OACE,wBAAC,EAAD,IACM,KAAK,MAAM,UACf,WAAY,KAAK,MAAM,WACzB,EAGN,EAEO,EAAkB,UAAM,WACnC,CAAC,EAAO,IACN,EACE,wBAAC,EAAD,CAAuB,UAAW,IAAK,EAAO,OAAQ,CAAI,EAAG,EAE7D,wBAAC,EAAD,IAA2B,EAAO,OAAQ,EAAK,CAErD,EACA,EAAgB,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2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import r from"react";import e from"react";var v=(t)=>{let n=e.useId();return e.createElement(g,{...t,instanceId:n})},G=0,C=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((t,n)=>C?e.createElement(C,{iconProps:{...t,svgRef:n}}):e.createElement(v,{...t,svgRef:n}));d.displayName="CentralIconBase";var g=({children:t,size:n=24,ariaLabel:u,color:I,ariaHidden:h,"aria-hidden":P,"aria-label":l,role:w,svgRef:y,renderShapes:c,style:V,mode:S="masked",maskId:o,instanceId:s,...x})=>{let a=s?`${o}-${s}`:o,B=S!=="raw"&&!!o,i=P??h??!0,p=i===!0||i==="true",m=l??u,f=c?c(a??s??"icon"):t;return e.createElement("svg",{...x,ref:y,"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,...V}},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"}},f)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):f)};var k=r.memo(r.forwardRef((t,n)=>r.createElement(d,{...t,ref:n,ariaLabel:"widgets",maskId:"round-filled-radius-2-stroke-2-IconWidgets"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 3C19.6569 3 21 4.34315 21 6V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6C3 4.34315 4.34315 3 6 3H18ZM8 15C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17H16C16.5523 17 17 16.5523 17 16C17 15.4477 16.5523 15 16 15H8ZM8 7C7.44772 7 7 7.44772 7 8V10C7 10.5523 7.44772 11 8 11H10C10.5523 11 11 10.5523 11 10V8C11 7.44772 10.5523 7 10 7H8Z",fill:"currentColor"})))),L=k;export{k as IconWidgets,L as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=FA4519DDE83B0D6C64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconWidgets/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconWidgets: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"widgets\"} maskId=\"round-filled-radius-2-stroke-2-IconWidgets\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M18 3C19.6569 3 21 4.34315 21 6V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6C3 4.34315 4.34315 3 6 3H18ZM8 15C7.44772 15 7 15.4477 7 16C7 16.5523 7.44772 17 8 17H16C16.5523 17 17 16.5523 17 16C17 15.4477 16.5523 15 16 15H8ZM8 7C7.44772 7 7 7.44772 7 8V10C7 10.5523 7.44772 11 8 11H10C10.5523 11 11 10.5523 11 10V8C11 7.44772 10.5523 7 10 7H8Z\" fill=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconWidgets;\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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CHANGED
|
@@ -789,6 +789,8 @@ Below is a complete list of available icons:
|
|
|
789
789
|
- IconIphoneDuo
|
|
790
790
|
- IconKeyboard
|
|
791
791
|
- IconHomepodMini
|
|
792
|
+
- IconHomepod
|
|
793
|
+
- IconHomeview
|
|
792
794
|
|
|
793
795
|
### Edit
|
|
794
796
|
|
|
@@ -2257,6 +2259,8 @@ Below is a complete list of available icons:
|
|
|
2257
2259
|
- IconStamp
|
|
2258
2260
|
- IconSkull
|
|
2259
2261
|
- IconPumpkin
|
|
2262
|
+
- IconHistorgram
|
|
2263
|
+
- IconWidgets
|
|
2260
2264
|
|
|
2261
2265
|
### Time & Date
|
|
2262
2266
|
|