@stackshift-ui/social-icons 6.0.6 → 6.0.8-beta.0

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.
@@ -0,0 +1 @@
1
+ import{useStackShiftUIComponents as p}from"@stackshift-ui/system";import l from"classnames";import{FaFacebook as m,FaLinkedin as C,FaYoutube as h}from"react-icons/fa";import{jsx as o}from"react/jsx-runtime";var d=t=>o("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 30 30",children:o("path",{fill:"#0045d8",d:"M12,27V15H8v-4h4V8.852C12,4.785,13.981,3,17.361,3c1.619,0,2.475,0.12,2.88,0.175V7h-2.305C16.501,7,16,7.757,16,9.291V11 h4.205l-0.571,4H16v12H12z"})}),w=t=>o("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 30 30",children:o("path",{fill:"#0045d8",d:"M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z"})}),g=t=>o("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 50 50",children:o("path",{fill:"#0045d8",d:"M 16 3 C 8.8324839 3 3 8.8324839 3 16 L 3 34 C 3 41.167516 8.8324839 47 16 47 L 34 47 C 41.167516 47 47 41.167516 47 34 L 47 16 C 47 8.8324839 41.167516 3 34 3 L 16 3 z M 16 5 L 34 5 C 40.086484 5 45 9.9135161 45 16 L 45 34 C 45 40.086484 40.086484 45 34 45 L 16 45 C 9.9135161 45 5 40.086484 5 34 L 5 16 C 5 9.9135161 9.9135161 5 16 5 z M 37 11 A 2 2 0 0 0 35 13 A 2 2 0 0 0 37 15 A 2 2 0 0 0 39 13 A 2 2 0 0 0 37 11 z M 25 14 C 18.936712 14 14 18.936712 14 25 C 14 31.063288 18.936712 36 25 36 C 31.063288 36 36 31.063288 36 25 C 36 18.936712 31.063288 14 25 14 z M 25 16 C 29.982407 16 34 20.017593 34 25 C 34 29.982407 29.982407 34 25 34 C 20.017593 34 16 29.982407 16 25 C 16 20.017593 20.017593 16 25 16 z"})}),x={facebook:d,twitter:w,instagram:g,youtube:h,linkedin:C},e="SocialIcons",L=({social:t="facebook",children:n,className:a,as:c,...i})=>{var s;let{[e]:r=(s=x[t])!=null?s:m}=p();return o(r,{as:c,className:l("w-8 h-8 text-primary-foreground",a),...i,"data-testid":e.toLowerCase(),children:n})};L.displayName=e;export{L as a};
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";var g=Object.create;var i=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var x=(o,t)=>{for(var e in t)i(o,e,{get:t[e],enumerable:!0})},l=(o,t,e,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of f(t))!y.call(o,a)&&a!==e&&i(o,a,{get:()=>t[a],enumerable:!(c=v(t,a))||c.enumerable});return o};var S=(o,t,e)=>(e=o!=null?g(u(o)):{},l(t||!o||!o.__esModule?i(e,"default",{value:o,enumerable:!0}):e,o)),I=o=>l(i({},"__esModule",{value:!0}),o);var M={};x(M,{SocialIcons:()=>w});module.exports=I(M);var p=require("@stackshift-ui/system"),h=S(require("classnames")),n=require("react-icons/fa"),s=require("react/jsx-runtime"),k=o=>(0,s.jsx)("svg",{className:"",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z"})}),b=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"})}),C=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})}),z={facebook:k,twitter:b,instagram:C,youtube:n.FaYoutube,linkedin:n.FaLinkedin},r="SocialIcons",w=({social:o="facebook",children:t,className:e,as:c,...a})=>{var m;let{[r]:d=(m=z[o])!=null?m:n.FaFacebook}=(0,p.useStackShiftUIComponents)();return(0,s.jsx)(d,{as:c,className:(0,h.default)("w-8 h-8 text-primary-foreground",e),...a,"data-testid":r.toLowerCase(),children:t})};w.displayName=r;0&&(module.exports={SocialIcons});
2
+ "use strict";var w=Object.create;var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var L=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var f=(o,t)=>{for(var e in t)i(o,e,{get:t[e],enumerable:!0})},l=(o,t,e,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of x(t))!y.call(o,n)&&n!==e&&i(o,n,{get:()=>t[n],enumerable:!(c=g(t,n))||c.enumerable});return o};var v=(o,t,e)=>(e=o!=null?w(L(o)):{},l(t||!o||!o.__esModule?i(e,"default",{value:o,enumerable:!0}):e,o)),u=o=>l(i({},"__esModule",{value:!0}),o);var H={};f(H,{SocialIcons:()=>h});module.exports=u(H);var m=require("@stackshift-ui/system"),C=v(require("classnames")),a=require("react-icons/fa"),s=require("react/jsx-runtime"),M=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 30 30",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M12,27V15H8v-4h4V8.852C12,4.785,13.981,3,17.361,3c1.619,0,2.475,0.12,2.88,0.175V7h-2.305C16.501,7,16,7.757,16,9.291V11 h4.205l-0.571,4H16v12H12z"})}),S=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 30 30",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z"})}),I=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 50 50",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M 16 3 C 8.8324839 3 3 8.8324839 3 16 L 3 34 C 3 41.167516 8.8324839 47 16 47 L 34 47 C 41.167516 47 47 41.167516 47 34 L 47 16 C 47 8.8324839 41.167516 3 34 3 L 16 3 z M 16 5 L 34 5 C 40.086484 5 45 9.9135161 45 16 L 45 34 C 45 40.086484 40.086484 45 34 45 L 16 45 C 9.9135161 45 5 40.086484 5 34 L 5 16 C 5 9.9135161 9.9135161 5 16 5 z M 37 11 A 2 2 0 0 0 35 13 A 2 2 0 0 0 37 15 A 2 2 0 0 0 39 13 A 2 2 0 0 0 37 11 z M 25 14 C 18.936712 14 14 18.936712 14 25 C 14 31.063288 18.936712 36 25 36 C 31.063288 36 36 31.063288 36 25 C 36 18.936712 31.063288 14 25 14 z M 25 16 C 29.982407 16 34 20.017593 34 25 C 34 29.982407 29.982407 34 25 34 C 20.017593 34 16 29.982407 16 25 C 16 20.017593 20.017593 16 25 16 z"})}),k={facebook:M,twitter:S,instagram:I,youtube:a.FaYoutube,linkedin:a.FaLinkedin},r="SocialIcons",h=({social:o="facebook",children:t,className:e,as:c,...n})=>{var p;let{[r]:d=(p=k[o])!=null?p:a.FaFacebook}=(0,m.useStackShiftUIComponents)();return(0,s.jsx)(d,{as:c,className:(0,C.default)("w-8 h-8 text-primary-foreground",e),...n,"data-testid":r.toLowerCase(),children:t})};h.displayName=r;0&&(module.exports={SocialIcons});
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a as e}from"./chunk-M5ZIRXQ7.mjs";export{e as SocialIcons};
2
+ "use strict";import{a as e}from"./chunk-4HOZLO4V.mjs";export{e as SocialIcons};
@@ -1 +1 @@
1
- "use strict";var g=Object.create;var i=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var S=(o,t)=>{for(var e in t)i(o,e,{get:t[e],enumerable:!0})},l=(o,t,e,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of f(t))!u.call(o,a)&&a!==e&&i(o,a,{get:()=>t[a],enumerable:!(c=v(t,a))||c.enumerable});return o};var x=(o,t,e)=>(e=o!=null?g(y(o)):{},l(t||!o||!o.__esModule?i(e,"default",{value:o,enumerable:!0}):e,o)),I=o=>l(i({},"__esModule",{value:!0}),o);var M={};S(M,{SocialIcons:()=>w});module.exports=I(M);var p=require("@stackshift-ui/system"),h=x(require("classnames")),n=require("react-icons/fa"),s=require("react/jsx-runtime"),k=o=>(0,s.jsx)("svg",{className:"",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z"})}),b=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"})}),C=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})}),z={facebook:k,twitter:b,instagram:C,youtube:n.FaYoutube,linkedin:n.FaLinkedin},r="SocialIcons",w=({social:o="facebook",children:t,className:e,as:c,...a})=>{var m;let{[r]:d=(m=z[o])!=null?m:n.FaFacebook}=(0,p.useStackShiftUIComponents)();return(0,s.jsx)(d,{as:c,className:(0,h.default)("w-8 h-8 text-primary-foreground",e),...a,"data-testid":r.toLowerCase(),children:t})};w.displayName=r;0&&(module.exports={SocialIcons});
1
+ "use strict";var w=Object.create;var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var L=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var f=(o,t)=>{for(var e in t)i(o,e,{get:t[e],enumerable:!0})},l=(o,t,e,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of x(t))!y.call(o,n)&&n!==e&&i(o,n,{get:()=>t[n],enumerable:!(c=g(t,n))||c.enumerable});return o};var v=(o,t,e)=>(e=o!=null?w(L(o)):{},l(t||!o||!o.__esModule?i(e,"default",{value:o,enumerable:!0}):e,o)),u=o=>l(i({},"__esModule",{value:!0}),o);var H={};f(H,{SocialIcons:()=>h});module.exports=u(H);var m=require("@stackshift-ui/system"),C=v(require("classnames")),a=require("react-icons/fa"),s=require("react/jsx-runtime"),M=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 30 30",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M12,27V15H8v-4h4V8.852C12,4.785,13.981,3,17.361,3c1.619,0,2.475,0.12,2.88,0.175V7h-2.305C16.501,7,16,7.757,16,9.291V11 h4.205l-0.571,4H16v12H12z"})}),S=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 30 30",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z"})}),I=o=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24",height:"24",viewBox:"0 0 50 50",children:(0,s.jsx)("path",{fill:"#0045d8",d:"M 16 3 C 8.8324839 3 3 8.8324839 3 16 L 3 34 C 3 41.167516 8.8324839 47 16 47 L 34 47 C 41.167516 47 47 41.167516 47 34 L 47 16 C 47 8.8324839 41.167516 3 34 3 L 16 3 z M 16 5 L 34 5 C 40.086484 5 45 9.9135161 45 16 L 45 34 C 45 40.086484 40.086484 45 34 45 L 16 45 C 9.9135161 45 5 40.086484 5 34 L 5 16 C 5 9.9135161 9.9135161 5 16 5 z M 37 11 A 2 2 0 0 0 35 13 A 2 2 0 0 0 37 15 A 2 2 0 0 0 39 13 A 2 2 0 0 0 37 11 z M 25 14 C 18.936712 14 14 18.936712 14 25 C 14 31.063288 18.936712 36 25 36 C 31.063288 36 36 31.063288 36 25 C 36 18.936712 31.063288 14 25 14 z M 25 16 C 29.982407 16 34 20.017593 34 25 C 34 29.982407 29.982407 34 25 34 C 20.017593 34 16 29.982407 16 25 C 16 20.017593 20.017593 16 25 16 z"})}),k={facebook:M,twitter:S,instagram:I,youtube:a.FaYoutube,linkedin:a.FaLinkedin},r="SocialIcons",h=({social:o="facebook",children:t,className:e,as:c,...n})=>{var p;let{[r]:d=(p=k[o])!=null?p:a.FaFacebook}=(0,m.useStackShiftUIComponents)();return(0,s.jsx)(d,{as:c,className:(0,C.default)("w-8 h-8 text-primary-foreground",e),...n,"data-testid":r.toLowerCase(),children:t})};h.displayName=r;0&&(module.exports={SocialIcons});
@@ -1 +1 @@
1
- import{a}from"./chunk-M5ZIRXQ7.mjs";export{a as SocialIcons};
1
+ import{a}from"./chunk-4HOZLO4V.mjs";export{a as SocialIcons};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/social-icons",
3
3
  "description": "",
4
- "version": "6.0.6",
4
+ "version": "6.0.8-beta.0",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -29,17 +29,17 @@
29
29
  "typescript": "^5.6.2",
30
30
  "vite-tsconfig-paths": "^5.0.1",
31
31
  "vitest": "^2.1.1",
32
- "@stackshift-ui/eslint-config": "6.0.5",
33
- "@stackshift-ui/typescript-config": "6.0.5"
32
+ "@stackshift-ui/eslint-config": "6.0.7-beta.0",
33
+ "@stackshift-ui/typescript-config": "6.0.7-beta.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "classnames": "^2.5.1",
37
37
  "react-icons": "^5.3.0",
38
- "@stackshift-ui/scripts": "6.0.5",
39
- "@stackshift-ui/system": "6.0.6"
38
+ "@stackshift-ui/scripts": "6.0.7-beta.0",
39
+ "@stackshift-ui/system": "6.0.8-beta.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "@stackshift-ui/system": ">=6.0.6",
42
+ "@stackshift-ui/system": ">=6.0.8-beta.0",
43
43
  "@types/react": "16.8 - 19",
44
44
  "next": "10 - 14",
45
45
  "react": "16.8 - 19",
@@ -7,30 +7,30 @@ type Socials = "facebook" | "instagram" | "youtube" | "linkedin" | "twitter";
7
7
 
8
8
  const FacebookIcon = (props: any) => {
9
9
  return (
10
- <svg className="" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
10
+ <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="24" height="24" viewBox="0 0 30 30">
11
11
  <path
12
12
  fill="#0045d8"
13
- d="M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z"
13
+ d="M12,27V15H8v-4h4V8.852C12,4.785,13.981,3,17.361,3c1.619,0,2.475,0.12,2.88,0.175V7h-2.305C16.501,7,16,7.757,16,9.291V11 h4.205l-0.571,4H16v12H12z"
14
14
  />
15
- </svg>
15
+ </svg>
16
16
  );
17
17
  };
18
- const TwitterIcon = (props: any) => {
18
+ const XIcon = (props: any) => {
19
19
  return (
20
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
20
+ <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="24" height="24" viewBox="0 0 30 30">
21
21
  <path
22
22
  fill="#0045d8"
23
- d="M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"
23
+ d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z"
24
24
  />
25
25
  </svg>
26
26
  );
27
27
  };
28
28
  const InstagramIcon = (props: any) => {
29
29
  return (
30
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
30
+ <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="24" height="24" viewBox="0 0 50 50">
31
31
  <path
32
32
  fill="#0045d8"
33
- d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"
33
+ d="M 16 3 C 8.8324839 3 3 8.8324839 3 16 L 3 34 C 3 41.167516 8.8324839 47 16 47 L 34 47 C 41.167516 47 47 41.167516 47 34 L 47 16 C 47 8.8324839 41.167516 3 34 3 L 16 3 z M 16 5 L 34 5 C 40.086484 5 45 9.9135161 45 16 L 45 34 C 45 40.086484 40.086484 45 34 45 L 16 45 C 9.9135161 45 5 40.086484 5 34 L 5 16 C 5 9.9135161 9.9135161 5 16 5 z M 37 11 A 2 2 0 0 0 35 13 A 2 2 0 0 0 37 15 A 2 2 0 0 0 39 13 A 2 2 0 0 0 37 11 z M 25 14 C 18.936712 14 14 18.936712 14 25 C 14 31.063288 18.936712 36 25 36 C 31.063288 36 36 31.063288 36 25 C 36 18.936712 31.063288 14 25 14 z M 25 16 C 29.982407 16 34 20.017593 34 25 C 34 29.982407 29.982407 34 25 34 C 20.017593 34 16 29.982407 16 25 C 16 20.017593 20.017593 16 25 16 z"
34
34
  />
35
35
  </svg>
36
36
  );
@@ -38,7 +38,7 @@ const InstagramIcon = (props: any) => {
38
38
 
39
39
  const SocialIconMap: Record<Socials, (x: any) => JSX.Element> = {
40
40
  facebook: FacebookIcon,
41
- twitter: TwitterIcon,
41
+ twitter: XIcon,
42
42
  instagram: InstagramIcon,
43
43
  youtube: FaYoutube,
44
44
  linkedin: FaLinkedin,
@@ -1 +0,0 @@
1
- import{useStackShiftUIComponents as m}from"@stackshift-ui/system";import l from"classnames";import{FaFacebook as p,FaLinkedin as h,FaYoutube as w}from"react-icons/fa";import{jsx as o}from"react/jsx-runtime";var d=t=>o("svg",{className:"",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:o("path",{fill:"#0045d8",d:"M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z"})}),g=t=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:o("path",{fill:"#0045d8",d:"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"})}),v=t=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:o("path",{fill:"#0045d8",d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})}),f={facebook:d,twitter:g,instagram:v,youtube:w,linkedin:h},e="SocialIcons",y=({social:t="facebook",children:a,className:n,as:c,...i})=>{var s;let{[e]:r=(s=f[t])!=null?s:p}=m();return o(r,{as:c,className:l("w-8 h-8 text-primary-foreground",n),...i,"data-testid":e.toLowerCase(),children:a})};y.displayName=e;export{y as a};