@central-icons-react/square-outlined-radius-0-stroke-2 1.2.14 → 1.2.16
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/IconButtonCheck/index.d.ts +4 -0
- package/IconButtonCheck/index.js +3 -0
- package/IconButtonCheck/index.js.map +11 -0
- package/IconButtonCheck/index.mjs +3 -0
- package/IconButtonCheck/index.mjs.map +11 -0
- package/IconIdeas/index.d.ts +4 -0
- package/IconIdeas/index.js +3 -0
- package/IconIdeas/index.js.map +11 -0
- package/IconIdeas/index.mjs +3 -0
- package/IconIdeas/index.mjs.map +11 -0
- package/IconMacbookRemote/index.d.ts +4 -0
- package/IconMacbookRemote/index.js +3 -0
- package/IconMacbookRemote/index.js.map +11 -0
- package/IconMacbookRemote/index.mjs +3 -0
- package/IconMacbookRemote/index.mjs.map +11 -0
- package/IconNoAi/index.d.ts +4 -0
- package/IconNoAi/index.js +3 -0
- package/IconNoAi/index.js.map +11 -0
- package/IconNoAi/index.mjs +3 -0
- package/IconNoAi/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:w,getOwnPropertyDescriptor:R}=Object,g=Object.prototype.hasOwnProperty;function B(e){return this[e]}var U,W,S=(e,n,r)=>{var o=e!=null&&typeof e==="object";if(o){var c=n?U??=new WeakMap:W??=new WeakMap,l=c.get(e);if(l)return l}r=e!=null?F(N(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 w(e))if(!g.call(s,i))d(s,i,{get:B.bind(e,i),enumerable:!0})}if(o)c.set(e,s);return s},x=(e)=>{var n=(y??=new WeakMap).get(e),r;if(n)return n;if(n=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of w(e))if(!g.call(n,o))d(n,o,{get:B.bind(e,o),enumerable:!(r=R(e,o))||r.enumerable})}return y.set(e,n),n},y;var D=(e)=>e;function O(e,n){this[e]=D.bind(null,n)}var G=(e,n)=>{for(var r in n)d(e,r,{get:n[r],enumerable:!0,configurable:!0,set:O.bind(n,r)})};var K={};G(K,{IconButtonCheck:()=>b,default:()=>Q});module.exports=x(K);var J={};G(J,{CentralIconBase:()=>p});var a=S(require("react"));var t=S(require("react")),Z=(e)=>{let n=t.default.useId();return t.default.createElement(v,{...e,instanceId:n})},j=0,V=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return t.default.createElement(v,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=t.default.forwardRef((e,n)=>V?t.default.createElement(V,{iconProps:{...e,svgRef:n}}):t.default.createElement(Z,{...e,svgRef:n}));p.displayName="CentralIconBase";var v=({children:e,size:n=24,ariaLabel:r,color:o,ariaHidden:c,"aria-hidden":l,"aria-label":s,role:i,svgRef:L,renderShapes:C,style:E,mode:M="masked",maskId:m,instanceId:u,...H})=>{let f=u?`${m}-${u}`:m,q=M!=="raw"&&!!m,h=l??c??!0,I=h===!0||h==="true",k=s??r,P=C?C(f??u??"icon"):e;return t.default.createElement("svg",{...H,ref:L,"aria-hidden":h,"aria-label":s,role:i??(I?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}},k&&!I&&t.default.createElement("title",null,k),q?t.default.createElement(t.default.Fragment,null,t.default.createElement("mask",{id:f,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),t.default.createElement("g",{fill:"none",style:{color:"#fff"}},P)),t.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:"button-check, save, actions",maskId:"square-outlined-radius-0-stroke-2-IconButtonCheck"},a.default.createElement("path",{d:"M15 9.25L10.5 14.75L8.5 12.75",strokeWidth:"2",strokeLinecap:"square",stroke:"currentColor"}),a.default.createElement("path",{d:"M9 5H15C18.866 5 22 8.13401 22 12C22 15.866 18.866 19 15 19H9C5.13401 19 2 15.866 2 12C2 8.13401 5.13401 5 9 5Z",strokeWidth:"2",stroke:"currentColor"})))),Q=b;
|
|
2
|
+
|
|
3
|
+
//# debugId=6380CE897F0BE04364756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconButtonCheck/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconButtonCheck: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"button-check, save, actions\"} maskId=\"square-outlined-radius-0-stroke-2-IconButtonCheck\"><path d=\"M15 9.25L10.5 14.75L8.5 12.75\" strokeWidth=\"2\" strokeLinecap=\"square\" stroke=\"currentColor\"/><path d=\"M9 5H15C18.866 5 22 8.13401 22 12C22 15.866 18.866 19 15 19H9C5.13401 19 2 15.866 2 12C2 8.13401 5.13401 5 9 5Z\" strokeWidth=\"2\" stroke=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconButtonCheck;\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": "ojCAAkB,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,I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wBAAC,OAAD,CAAM,EAAE,gCAAgC,YAAY,IAAI,cAAc,SAAS,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,kHAAkH,YAAY,IAAI,OAAO,eAAc,CAAI,CAC5Z,CAAC,EAEa",
|
|
9
|
+
"debugId": "6380CE897F0BE04364756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import r from"react";import e from"react";var G=(t)=>{let n=e.useId();return e.createElement(h,{...t,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(h,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((t,n)=>f?e.createElement(f,{iconProps:{...t,svgRef:n}}):e.createElement(G,{...t,svgRef:n}));d.displayName="CentralIconBase";var h=({children:t,size:n=24,ariaLabel:g,color:C,ariaHidden:I,"aria-hidden":k,"aria-label":c,role:P,svgRef:y,renderShapes:l,style:w,mode:B="masked",maskId:o,instanceId:s,...S})=>{let a=s?`${o}-${s}`:o,x=B!=="raw"&&!!o,i=k??I??!0,p=i===!0||i==="true",m=c??g,u=l?l(a??s??"icon"):t;return e.createElement("svg",{...S,ref:y,"aria-hidden":i,"aria-label":c,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:C,...w}},m&&!p&&e.createElement("title",null,m),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"}},u)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):u)};var v=r.memo(r.forwardRef((t,n)=>r.createElement(d,{...t,ref:n,ariaLabel:"button-check, save, actions",maskId:"square-outlined-radius-0-stroke-2-IconButtonCheck"},r.createElement("path",{d:"M15 9.25L10.5 14.75L8.5 12.75",strokeWidth:"2",strokeLinecap:"square",stroke:"currentColor"}),r.createElement("path",{d:"M9 5H15C18.866 5 22 8.13401 22 12C22 15.866 18.866 19 15 19H9C5.13401 19 2 15.866 2 12C2 8.13401 5.13401 5 9 5Z",strokeWidth:"2",stroke:"currentColor"})))),F=v;export{v as IconButtonCheck,F as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=EB91CD812E0C0B4064756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconButtonCheck/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconButtonCheck: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"button-check, save, actions\"} maskId=\"square-outlined-radius-0-stroke-2-IconButtonCheck\"><path d=\"M15 9.25L10.5 14.75L8.5 12.75\" strokeWidth=\"2\" strokeLinecap=\"square\" stroke=\"currentColor\"/><path d=\"M9 5H15C18.866 5 22 8.13401 22 12C22 15.866 18.866 19 15 19H9C5.13401 19 2 15.866 2 12C2 8.13401 5.13401 5 9 5Z\" strokeWidth=\"2\" stroke=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconButtonCheck;\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,SAC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0,0 +1,3 @@
|
|
|
1
|
+
var N=Object.create;var{getPrototypeOf:W,defineProperty:d,getOwnPropertyNames:w,getOwnPropertyDescriptor:q}=Object,h=Object.prototype.hasOwnProperty;function S(e){return this[e]}var R,U,V=(e,n,t)=>{var o=e!=null&&typeof e==="object";if(o){var l=n?R??=new WeakMap:U??=new WeakMap,c=l.get(e);if(c)return c}t=e!=null?N(W(e)):{};let s=n||!e||!e.__esModule||!h.call(e,"default")?d(t,"default",{value:e,enumerable:!0}):t;if(e&&typeof e==="object"||typeof e==="function"){for(let i of w(e))if(!h.call(s,i))d(s,i,{get:S.bind(e,i),enumerable:!0})}if(o)l.set(e,s);return s},x=(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 w(e))if(!h.call(n,o))d(n,o,{get:S.bind(e,o),enumerable:!(t=q(e,o))||t.enumerable})}return y.set(e,n),n},y;var j=(e)=>e;function D(e,n){this[e]=j.bind(null,n)}var B=(e,n)=>{for(var t in n)d(e,t,{get:n[t],enumerable:!0,configurable:!0,set:D.bind(n,t)})};var K={};B(K,{IconIdeas:()=>L,default:()=>Q});module.exports=x(K);var J={};B(J,{CentralIconBase:()=>p});var a=V(require("react"));var r=V(require("react")),O=(e)=>{let n=r.default.useId();return r.default.createElement(b,{...e,instanceId:n})},Z=0,G=typeof r.default.useId==="function"?void 0:class extends r.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++Z}`})}render(){return r.default.createElement(b,{...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 b=({children:e,size:n=24,ariaLabel:t,color:o,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,H=E!=="raw"&&!!m,g=c??l??!0,C=g===!0||g==="true",k=s??t,P=I?I(f??u??"icon"):e;return r.default.createElement("svg",{...F,ref:v,"aria-hidden":g,"aria-label":s,role:i??(C?void 0:"img"),width:typeof n==="number"?`${n}px`:n,height:typeof n==="number"?`${n}px`:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...M}},k&&!C&&r.default.createElement("title",null,k),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"}},P)),r.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${f})`})):P)};var L=a.default.memo(a.default.forwardRef((e,n)=>a.default.createElement(p,{...e,ref:n,ariaLabel:"ideas, smart, lightbulb, reasoning",maskId:"square-outlined-radius-0-stroke-2-IconIdeas"},a.default.createElement("path",{d:"M4.8 9.69231C4.8 5.78914 8.02355 2.625 12 2.625C15.9765 2.625 19.2 5.78914 19.2 9.69231C19.2 12.2631 17.8016 14.7633 15.7107 16H8.28934C6.19843 14.7633 4.8 12.2631 4.8 9.69231Z",strokeWidth:"2",strokeLinecap:"round",stroke:"currentColor"}),a.default.createElement("path",{d:"M12 15.5V12M12 12L9.5 9.5M12 12L14.5 9.5",strokeWidth:"2",strokeLinejoin:"round",stroke:"currentColor"}),a.default.createElement("path",{d:"M8.5 16V18.5L9.5 19C9.5 20.3807 10.6193 21.5 12 21.5C13.3807 21.5 14.4999 20.3807 14.4999 19L15.5 18.5V16",strokeWidth:"2",stroke:"currentColor"})))),Q=L;
|
|
2
|
+
|
|
3
|
+
//# debugId=BB094283E041753064756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconIdeas/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconIdeas: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"ideas, smart, lightbulb, reasoning\"} maskId=\"square-outlined-radius-0-stroke-2-IconIdeas\"><path d=\"M4.8 9.69231C4.8 5.78914 8.02355 2.625 12 2.625C15.9765 2.625 19.2 5.78914 19.2 9.69231C19.2 12.2631 17.8016 14.7633 15.7107 16H8.28934C6.19843 14.7633 4.8 12.2631 4.8 9.69231Z\" strokeWidth=\"2\" strokeLinecap=\"round\" stroke=\"currentColor\"/><path d=\"M12 15.5V12M12 12L9.5 9.5M12 12L14.5 9.5\" strokeWidth=\"2\" strokeLinejoin=\"round\" stroke=\"currentColor\"/><path d=\"M8.5 16V18.5L9.5 19C9.5 20.3807 10.6193 21.5 12 21.5C13.3807 21.5 14.4999 20.3807 14.4999 19L15.5 18.5V16\" strokeWidth=\"2\" stroke=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconIdeas;\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": "8iCAAkB,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,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,wBAuCE,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,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,EAA8D,UAAM,KAAK,UAAM,WAAgD,CAAC,EAAO,IAC3I,wBAAkpB,EAAlpB,IAAqB,EAAO,IAAK,EAAK,UAAW,qCAAsC,OAAO,+CAA8C,wBAAC,OAAD,CAAM,EAAE,mLAAmL,YAAY,IAAI,cAAc,QAAQ,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,2CAA2C,YAAY,IAAI,eAAe,QAAQ,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,4GAA4G,YAAY,IAAI,OAAO,eAAc,CAAI,CAC1pB,CAAC,EAEa",
|
|
9
|
+
"debugId": "BB094283E041753064756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import t 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:C,"aria-hidden":k,"aria-label":l,role:P,svgRef:y,renderShapes:c,style:w,mode:S="masked",maskId:o,instanceId:s,...V})=>{let a=s?`${o}-${s}`:o,x=S!=="raw"&&!!o,i=k??C??!0,p=i===!0||i==="true",m=l??h,u=c?c(a??s??"icon"):r;return e.createElement("svg",{...V,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,...w}},m&&!p&&e.createElement("title",null,m),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"}},u)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):u)};var b=t.memo(t.forwardRef((r,n)=>t.createElement(d,{...r,ref:n,ariaLabel:"ideas, smart, lightbulb, reasoning",maskId:"square-outlined-radius-0-stroke-2-IconIdeas"},t.createElement("path",{d:"M4.8 9.69231C4.8 5.78914 8.02355 2.625 12 2.625C15.9765 2.625 19.2 5.78914 19.2 9.69231C19.2 12.2631 17.8016 14.7633 15.7107 16H8.28934C6.19843 14.7633 4.8 12.2631 4.8 9.69231Z",strokeWidth:"2",strokeLinecap:"round",stroke:"currentColor"}),t.createElement("path",{d:"M12 15.5V12M12 12L9.5 9.5M12 12L14.5 9.5",strokeWidth:"2",strokeLinejoin:"round",stroke:"currentColor"}),t.createElement("path",{d:"M8.5 16V18.5L9.5 19C9.5 20.3807 10.6193 21.5 12 21.5C13.3807 21.5 14.4999 20.3807 14.4999 19L15.5 18.5V16",strokeWidth:"2",stroke:"currentColor"})))),N=b;export{b as IconIdeas,N as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=A2651AA28580959A64756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconIdeas/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconIdeas: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"ideas, smart, lightbulb, reasoning\"} maskId=\"square-outlined-radius-0-stroke-2-IconIdeas\"><path d=\"M4.8 9.69231C4.8 5.78914 8.02355 2.625 12 2.625C15.9765 2.625 19.2 5.78914 19.2 9.69231C19.2 12.2631 17.8016 14.7633 15.7107 16H8.28934C6.19843 14.7633 4.8 12.2631 4.8 9.69231Z\" strokeWidth=\"2\" strokeLinecap=\"round\" stroke=\"currentColor\"/><path d=\"M12 15.5V12M12 12L9.5 9.5M12 12L14.5 9.5\" strokeWidth=\"2\" strokeLinejoin=\"round\" stroke=\"currentColor\"/><path d=\"M8.5 16V18.5L9.5 19C9.5 20.3807 10.6193 21.5 12 21.5C13.3807 21.5 14.4999 20.3807 14.4999 19L15.5 18.5V16\" strokeWidth=\"2\" stroke=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconIdeas;\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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|
|
9
|
+
"debugId": "A2651AA28580959A64756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var q=Object.create;var{getPrototypeOf:F,defineProperty:d,getOwnPropertyNames:w,getOwnPropertyDescriptor:N}=Object,C=Object.prototype.hasOwnProperty;function V(e){return this[e]}var R,U,S=(e,t,o)=>{var n=e!=null&&typeof e==="object";if(n){var l=t?R??=new WeakMap:U??=new WeakMap,c=l.get(e);if(c)return c}o=e!=null?q(F(e)):{};let a=t||!e||!e.__esModule||!C.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(!C.call(a,i))d(a,i,{get:V.bind(e,i),enumerable:!0})}if(n)l.set(e,a);return a},x=(e)=>{var t=(y??=new WeakMap).get(e),o;if(t)return t;if(t=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var n of w(e))if(!C.call(t,n))d(t,n,{get:V.bind(e,n),enumerable:!(o=N(e,n))||o.enumerable})}return y.set(e,t),t},y;var D=(e)=>e;function O(e,t){this[e]=D.bind(null,t)}var B=(e,t)=>{for(var o in t)d(e,o,{get:t[o],enumerable:!0,configurable:!0,set:O.bind(t,o)})};var K={};B(K,{IconMacbookRemote:()=>M,default:()=>Q});module.exports=x(K);var J={};B(J,{CentralIconBase:()=>p});var s=S(require("react"));var r=S(require("react")),Z=(e)=>{let t=r.default.useId();return r.default.createElement(G,{...e,instanceId:t})},j=0,b=typeof r.default.useId==="function"?void 0:class extends r.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return r.default.createElement(G,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=r.default.forwardRef((e,t)=>b?r.default.createElement(b,{iconProps:{...e,svgRef:t}}):r.default.createElement(Z,{...e,svgRef:t}));p.displayName="CentralIconBase";var G=({children:e,size:t=24,ariaLabel:o,color:n,ariaHidden:l,"aria-hidden":c,"aria-label":a,role:i,svgRef:v,renderShapes:g,style:E,mode:H="masked",maskId:m,instanceId:u,...L})=>{let h=u?`${m}-${u}`:m,W=H!=="raw"&&!!m,f=c??l??!0,I=f===!0||f==="true",k=a??o,P=g?g(h??u??"icon"):e;return r.default.createElement("svg",{...L,ref:v,"aria-hidden":f,"aria-label":a,role:i??(I?void 0:"img"),width:typeof t==="number"?`${t}px`:t,height:typeof t==="number"?`${t}px`:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:n,...E}},k&&!I&&r.default.createElement("title",null,k),W?r.default.createElement(r.default.Fragment,null,r.default.createElement("mask",{id:h,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(#${h})`})):P)};var M=s.default.memo(s.default.forwardRef((e,t)=>s.default.createElement(p,{...e,ref:t,ariaLabel:"macbook-remote, laptop, computer, remote-control",maskId:"square-outlined-radius-0-stroke-2-IconMacbookRemote"},s.default.createElement("path",{d:"M1 16H23V18C23 19.1046 22.1046 20 21 20H3C1.89543 20 1 19.1046 1 18V16Z",strokeWidth:"2",strokeLinecap:"square",stroke:"currentColor"}),s.default.createElement("path",{d:"M21 13V16M3 16V5C3 4.44772 3.44772 4 4 4H12",strokeWidth:"2",stroke:"currentColor"}),s.default.createElement("path",{d:"M15 3C18.866 3 22 6.13401 22 10",strokeWidth:"2",stroke:"currentColor"}),s.default.createElement("path",{d:"M15 7C16.6569 7 18 8.34315 18 10",strokeWidth:"2",stroke:"currentColor"})))),Q=M;
|
|
2
|
+
|
|
3
|
+
//# debugId=D2847093A227770064756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconMacbookRemote/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconMacbookRemote: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"macbook-remote, laptop, computer, remote-control\"} maskId=\"square-outlined-radius-0-stroke-2-IconMacbookRemote\"><path d=\"M1 16H23V18C23 19.1046 22.1046 20 21 20H3C1.89543 20 1 19.1046 1 18V16Z\" strokeWidth=\"2\" strokeLinecap=\"square\" stroke=\"currentColor\"/><path d=\"M21 13V16M3 16V5C3 4.44772 3.44772 4 4 4H12\" strokeWidth=\"2\" stroke=\"currentColor\"/><path d=\"M15 3C18.866 3 22 6.13401 22 10\" strokeWidth=\"2\" stroke=\"currentColor\"/><path d=\"M15 7C16.6569 7 18 8.34315 18 10\" strokeWidth=\"2\" stroke=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconMacbookRemote;\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": "sjCAAkB,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,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,wBAuCE,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,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,EAAsE,UAAM,KAAK,UAAM,WAAgD,CAAC,EAAO,IACnJ,wBAAojB,EAApjB,IAAqB,EAAO,IAAK,EAAK,UAAW,mDAAoD,OAAO,uDAAsD,wBAAC,OAAD,CAAM,EAAE,0EAA0E,YAAY,IAAI,cAAc,SAAS,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,8CAA8C,YAAY,IAAI,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,kCAAkC,YAAY,IAAI,OAAO,eAAc,EAAE,wBAAC,OAAD,CAAM,EAAE,mCAAmC,YAAY,IAAI,OAAO,eAAc,CAAI,CAC5jB,CAAC,EAEa",
|
|
9
|
+
"debugId": "D2847093A227770064756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import o from"react";import e from"react";var B=(r)=>{let t=e.useId();return e.createElement(f,{...r,instanceId:t})},b=0,h=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++b}`})}render(){return e.createElement(f,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((r,t)=>h?e.createElement(h,{iconProps:{...r,svgRef:t}}):e.createElement(B,{...r,svgRef:t}));d.displayName="CentralIconBase";var f=({children:r,size:t=24,ariaLabel:C,color:g,ariaHidden:I,"aria-hidden":k,"aria-label":l,role:P,svgRef:y,renderShapes:c,style:w,mode:V="masked",maskId:n,instanceId:s,...S})=>{let a=s?`${n}-${s}`:n,x=V!=="raw"&&!!n,i=k??I??!0,p=i===!0||i==="true",m=l??C,u=c?c(a??s??"icon"):r;return e.createElement("svg",{...S,ref:y,"aria-hidden":i,"aria-label":l,role:P??(p?void 0:"img"),width:typeof t==="number"?`${t}px`:t,height:typeof t==="number"?`${t}px`:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:g,...w}},m&&!p&&e.createElement("title",null,m),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"}},u)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):u)};var G=o.memo(o.forwardRef((r,t)=>o.createElement(d,{...r,ref:t,ariaLabel:"macbook-remote, laptop, computer, remote-control",maskId:"square-outlined-radius-0-stroke-2-IconMacbookRemote"},o.createElement("path",{d:"M1 16H23V18C23 19.1046 22.1046 20 21 20H3C1.89543 20 1 19.1046 1 18V16Z",strokeWidth:"2",strokeLinecap:"square",stroke:"currentColor"}),o.createElement("path",{d:"M21 13V16M3 16V5C3 4.44772 3.44772 4 4 4H12",strokeWidth:"2",stroke:"currentColor"}),o.createElement("path",{d:"M15 3C18.866 3 22 6.13401 22 10",strokeWidth:"2",stroke:"currentColor"}),o.createElement("path",{d:"M15 7C16.6569 7 18 8.34315 18 10",strokeWidth:"2",stroke:"currentColor"})))),q=G;export{G as IconMacbookRemote,q as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=CF5FB087257232C564756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconMacbookRemote/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconMacbookRemote: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"macbook-remote, laptop, computer, remote-control\"} maskId=\"square-outlined-radius-0-stroke-2-IconMacbookRemote\"><path d=\"M1 16H23V18C23 19.1046 22.1046 20 21 20H3C1.89543 20 1 19.1046 1 18V16Z\" strokeWidth=\"2\" strokeLinecap=\"square\" stroke=\"currentColor\"/><path d=\"M21 13V16M3 16V5C3 4.44772 3.44772 4 4 4H12\" strokeWidth=\"2\" stroke=\"currentColor\"/><path d=\"M15 3C18.866 3 22 6.13401 22 10\" strokeWidth=\"2\" stroke=\"currentColor\"/><path d=\"M15 7C16.6569 7 18 8.34315 18 10\" strokeWidth=\"2\" stroke=\"currentColor\"/></CentralIconBase>;\n}));\n\nexport default IconMacbookRemote;\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,M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ertyDescriptor:q}=Object,I=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?F(R(e)):{};let s=n||!e||!e.__esModule||!I.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(!I.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=(w??=new WeakMap).get(e),r;if(n)return n;if(n=d({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var o of k(e))if(!I.call(n,o))d(n,o,{get:S.bind(e,o),enumerable:!(r=q(e,o))||r.enumerable})}return w.set(e,n),n},w;var A=(e)=>e;function D(e,n){this[e]=A.bind(null,n)}var L=(e,n)=>{for(var r in n)d(e,r,{get:n[r],enumerable:!0,configurable:!0,set:D.bind(n,r)})};var K={};L(K,{IconNoAi:()=>v,default:()=>Q});module.exports=B(K);var J={};L(J,{CentralIconBase:()=>p});var a=x(require("react"));var t=x(require("react")),O=(e)=>{let n=t.default.useId();return t.default.createElement(G,{...e,instanceId:n})},j=0,V=typeof t.default.useId==="function"?void 0:class extends t.default.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++j}`})}render(){return t.default.createElement(G,{...this.props.iconProps,instanceId:this.state.instanceId})}},p=t.default.forwardRef((e,n)=>V?t.default.createElement(V,{iconProps:{...e,svgRef:n}}):t.default.createElement(O,{...e,svgRef:n}));p.displayName="CentralIconBase";var G=({children:e,size:n=24,ariaLabel:r,color:o,ariaHidden:l,"aria-hidden":c,"aria-label":s,role:i,svgRef:b,renderShapes:h,style:M,mode:E="masked",maskId:m,instanceId:f,...N})=>{let u=f?`${m}-${f}`:m,H=E!=="raw"&&!!m,g=c??l??!0,C=g===!0||g==="true",P=s??r,y=h?h(u??f??"icon"):e;return t.default.createElement("svg",{...N,ref:b,"aria-hidden":g,"aria-label":s,role:i??(C?void 0:"img"),width:typeof n==="number"?`${n}px`:n,height:typeof n==="number"?`${n}px`:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:o,...M}},P&&!C&&t.default.createElement("title",null,P),H?t.default.createElement(t.default.Fragment,null,t.default.createElement("mask",{id:u,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.default.createElement("rect",{width:"24",height:"24",fill:"#000"}),t.default.createElement("g",{fill:"none",style:{color:"#fff"}},y)),t.default.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${u})`})):y)};var v=a.default.memo(a.default.forwardRef((e,n)=>a.default.createElement(p,{...e,ref:n,ariaLabel:"no-ai, no-si",maskId:"square-outlined-radius-0-stroke-2-IconNoAi"},a.default.createElement("path",{d:"M15.15 15.15L12.9 21H11.1L8.85 15.15L3 12.9V11.1L8.85 8.85M9.975 5.925L11.1 3H12.9L15.15 8.85L21 11.1V12.9L18.075 14.025",stroke:"currentColor",strokeWidth:"2"}),a.default.createElement("path",{d:"M2.5 2.5L21.5 21.5",stroke:"currentColor",strokeWidth:"2"})))),Q=v;
|
|
2
|
+
|
|
3
|
+
//# debugId=525AB73FAF8A895964756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconNoAi/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconNoAi: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"no-ai, no-si\"} maskId=\"square-outlined-radius-0-stroke-2-IconNoAi\"><path d=\"M15.15 15.15L12.9 21H11.1L8.85 15.15L3 12.9V11.1L8.85 8.85M9.975 5.925L11.1 3H12.9L15.15 8.85L21 11.1V12.9L18.075 14.025\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M2.5 2.5L21.5 21.5\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconNoAi;\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": "6iCAAkB,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,C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P,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GD1HC,IAAM,EAA6D,UAAM,KAAK,UAAM,WAAgD,CAAC,EAAO,IAC1I,wBAAqW,EAArW,IAAqB,EAAO,IAAK,EAAK,UAAW,eAAgB,OAAO,8CAA6C,wBAAC,OAAD,CAAM,EAAE,2HAA2H,OAAO,eAAe,YAAY,IAAG,EAAE,wBAAC,OAAD,CAAM,EAAE,qBAAqB,OAAO,eAAe,YAAY,IAAG,CAAI,CAC7W,CAAC,EAEa",
|
|
9
|
+
"debugId": "525AB73FAF8A895964756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import r from"react";import e from"react";var L=(t)=>{let n=e.useId();return e.createElement(g,{...t,instanceId:n})},V=0,u=typeof e.useId==="function"?void 0:class extends e.Component{state={};componentDidMount(){this.setState({instanceId:`legacy-${++V}`})}render(){return e.createElement(g,{...this.props.iconProps,instanceId:this.state.instanceId})}},d=e.forwardRef((t,n)=>u?e.createElement(u,{iconProps:{...t,svgRef:n}}):e.createElement(L,{...t,svgRef:n}));d.displayName="CentralIconBase";var g=({children:t,size:n=24,ariaLabel:I,color:h,ariaHidden:C,"aria-hidden":P,"aria-label":l,role:y,svgRef:w,renderShapes:c,style:k,mode:S="masked",maskId:o,instanceId:s,...x})=>{let a=s?`${o}-${s}`:o,B=S!=="raw"&&!!o,i=P??C??!0,p=i===!0||i==="true",m=l??I,f=c?c(a??s??"icon"):t;return e.createElement("svg",{...x,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,...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"}},f)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${a})`})):f)};var G=r.memo(r.forwardRef((t,n)=>r.createElement(d,{...t,ref:n,ariaLabel:"no-ai, no-si",maskId:"square-outlined-radius-0-stroke-2-IconNoAi"},r.createElement("path",{d:"M15.15 15.15L12.9 21H11.1L8.85 15.15L3 12.9V11.1L8.85 8.85M9.975 5.925L11.1 3H12.9L15.15 8.85L21 11.1V12.9L18.075 14.025",stroke:"currentColor",strokeWidth:"2"}),r.createElement("path",{d:"M2.5 2.5L21.5 21.5",stroke:"currentColor",strokeWidth:"2"})))),F=G;export{G as IconNoAi,F as default};
|
|
2
|
+
|
|
3
|
+
//# debugId=F61178A3EEBBE02264756E2164756E21
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/IconNoAi/index.tsx", "src/CentralIconBase/index.tsx"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconNoAi: React.NamedExoticComponent<CentralIconBaseProps> = React.memo(React.forwardRef<SVGSVGElement, CentralIconBaseProps>((props, ref) => {\n return <CentralIconBase {...props} ref={ref} ariaLabel={\"no-ai, no-si\"} maskId=\"square-outlined-radius-0-stroke-2-IconNoAi\"><path d=\"M15.15 15.15L12.9 21H11.1L8.85 15.15L3 12.9V11.1L8.85 8.85M9.975 5.925L11.1 3H12.9L15.15 8.85L21 11.1V12.9L18.075 14.025\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M2.5 2.5L21.5 21.5\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n}));\n\nexport default IconNoAi;\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,CA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G,CAAI,CAC7W,CAAC,EAEa",
|
|
9
|
+
"debugId": "F61178A3EEBBE02264756E2164756E21",
|
|
10
|
+
"names": []
|
|
11
|
+
}
|
package/README.md
CHANGED
|
@@ -310,6 +310,7 @@ Below is a complete list of available icons:
|
|
|
310
310
|
- IconAiBotHeadLeaf
|
|
311
311
|
- IconAiBotHeadStar
|
|
312
312
|
- IconAiHarnessDiamond
|
|
313
|
+
- IconNoAi
|
|
313
314
|
|
|
314
315
|
### Accessibility
|
|
315
316
|
|
|
@@ -792,6 +793,7 @@ Below is a complete list of available icons:
|
|
|
792
793
|
- IconHomepodMini
|
|
793
794
|
- IconHomepod
|
|
794
795
|
- IconHomeview
|
|
796
|
+
- IconMacbookRemote
|
|
795
797
|
|
|
796
798
|
### Edit
|
|
797
799
|
|
|
@@ -1412,6 +1414,7 @@ Below is a complete list of available icons:
|
|
|
1412
1414
|
- IconSquareCircleTopLeft
|
|
1413
1415
|
- IconSquareCircleBottomLeft
|
|
1414
1416
|
- IconSquareCircleBottomRight
|
|
1417
|
+
- IconIdeas
|
|
1415
1418
|
|
|
1416
1419
|
### Keyboard
|
|
1417
1420
|
|
|
@@ -2265,6 +2268,7 @@ Below is a complete list of available icons:
|
|
|
2265
2268
|
- IconPumpkin
|
|
2266
2269
|
- IconHistorgram
|
|
2267
2270
|
- IconWidgets
|
|
2271
|
+
- IconButtonCheck
|
|
2268
2272
|
|
|
2269
2273
|
### Time & Date
|
|
2270
2274
|
|