{"version":3,"file":"Buttonv2.9DI98Ry8.mjs","names":["useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/cLuGviXpvXQk9huIgbvq/d85oDJ8B0esE2CgmX1DV/mAIT6UUJP.js","https:/framerusercontent.com/modules/ANKp5huTB8JbpYJq29Ia/HnFYjDyuyfliVGu8fBgl/Buttonv2.js"],"sourcesContent":["// Generated by Framer (b00083c)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Manrope-regular\",\"FS;Manrope-bold\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/2TYFCBHUANEXS6QGR5EQDUNAFH6LSWM3/AYNOU3VEA4LRTDNKJQUFNVNUTYSGOUOP/UXO4O7K2G3HI3D2VKD7UXVJVJD26P4BQ.woff2\",weight:\"400\"},{cssFamilyName:\"Manrope\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Manrope\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/NGBUP45ES3F7RD5XGKPEDJ6QEPO4TMOK/EXDVWJ2EDDVVV65UENMX33EDDYBX6OF7/6P4FPMFQH7CCC7RZ4UU4NKSGJ2RLF7V5.woff2\",weight:\"700\"}]}];export const css=['.framer-V4QDR .framer-styles-preset-dqm9rr:not(.rich-text-wrapper), .framer-V4QDR .framer-styles-preset-dqm9rr.rich-text-wrapper p { --framer-font-family: \"Manrope\", \"Manrope Placeholder\", sans-serif; --framer-font-family-bold: \"Manrope\", \"Manrope Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-background-padding: 0px; --framer-text-background-radius: 0px; --framer-text-color: var(--token-26baa110-5b79-405d-8913-793a1b9a845d, #b7b5b5); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-V4QDR .framer-styles-preset-dqm9rr:not(.rich-text-wrapper), .framer-V4QDR .framer-styles-preset-dqm9rr.rich-text-wrapper p { --framer-font-family: \"Manrope\", \"Manrope Placeholder\", sans-serif; --framer-font-family-bold: \"Manrope\", \"Manrope Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-background-padding: 0px; --framer-text-background-radius: 0px; --framer-text-color: var(--token-26baa110-5b79-405d-8913-793a1b9a845d, #b7b5b5); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-V4QDR .framer-styles-preset-dqm9rr:not(.rich-text-wrapper), .framer-V4QDR .framer-styles-preset-dqm9rr.rich-text-wrapper p { --framer-font-family: \"Manrope\", \"Manrope Placeholder\", sans-serif; --framer-font-family-bold: \"Manrope\", \"Manrope Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 14px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-background-padding: 0px; --framer-text-background-radius: 0px; --framer-text-color: var(--token-26baa110-5b79-405d-8913-793a1b9a845d, #b7b5b5); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-V4QDR\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * SMUC Button — Code Component pour Framer\n *\n * Installation :\n *  1. Dans Framer : Assets → + → Code File → \"Button.tsx\"\n *  2. Colle ce code.\n *  3. Glisse le composant sur le canvas. Les réglages (variante, taille,\n *     texte, lien…) apparaissent dans le panneau de droite.\n */// ---- Palette SMUC (mêmes valeurs que la maquette) ----\nconst COLORS={blue:\"#3b5bff\",violet:\"#6c5cff\",ink:\"#0c1124\",line:\"rgba(255,255,255,0.14)\"};const SIZES={small:{padding:\"10px 18px\",font:14,gap:7},medium:{padding:\"13px 24px\",font:15,gap:9},large:{padding:\"16px 30px\",font:17,gap:11}};export default function Button(props){const{label,variant,size,showArrow,fullWidth,link,newTab,radius}=props;const[hover,setHover]=useState(false);const s=SIZES[size]||SIZES.medium;// Styles par variante\nconst variants={primary:{background:`linear-gradient(135deg, ${COLORS.blue}, ${COLORS.violet})`,color:\"#ffffff\",border:\"1px solid transparent\",shadow:hover?\"0 16px 40px -10px rgba(108,92,255,0.9)\":\"0 10px 30px -10px rgba(59,91,255,0.8)\"},ghost:{background:hover?\"rgba(255,255,255,0.06)\":\"transparent\",color:\"#eef1fb\",border:`1px solid ${COLORS.line}`,shadow:\"none\"},light:{background:\"#ffffff\",color:COLORS.ink,border:\"1px solid transparent\",shadow:hover?\"0 18px 44px -10px rgba(0,0,0,0.55)\":\"0 14px 40px -10px rgba(0,0,0,0.45)\"}};const v=variants[variant]||variants.primary;const style={display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",gap:s.gap,width:fullWidth?\"100%\":\"auto\",padding:s.padding,fontSize:s.font,fontWeight:700,fontFamily:\"Manrope, -apple-system, BlinkMacSystemFont, sans-serif\",lineHeight:1,borderRadius:radius,cursor:\"pointer\",textDecoration:\"none\",whiteSpace:\"nowrap\",background:v.background,color:v.color,border:v.border,boxShadow:v.shadow,transform:hover?\"translateY(-2px)\":\"translateY(0)\",transition:\"transform .25s ease, box-shadow .25s ease, background .25s ease\"};const arrowStyle={display:\"inline-block\",transition:\"transform .25s ease\",transform:hover?\"translateX(3px)\":\"translateX(0)\"};const content=/*#__PURE__*/_jsxs(_Fragment,{children:[label,showArrow&&/*#__PURE__*/_jsx(\"span\",{style:arrowStyle,children:\"→\"})]});// Si un lien est fourni → <a>, sinon → <button>\nif(link){return /*#__PURE__*/_jsx(\"a\",{href:link,target:newTab?\"_blank\":undefined,rel:newTab?\"noopener noreferrer\":undefined,style:style,onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),children:content});}return /*#__PURE__*/_jsx(\"button\",{style:style,onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),children:content});}Button.defaultProps={label:\"Me licencier\",variant:\"primary\",size:\"medium\",showArrow:true,fullWidth:false,link:\"https://smuc.monclub.app/app\",newTab:true,radius:999};// ---- Panneau de réglages dans Framer ----\naddPropertyControls(Button,{label:{type:ControlType.String,title:\"Texte\",defaultValue:\"Me licencier\"},variant:{type:ControlType.Enum,title:\"Style\",options:[\"primary\",\"ghost\",\"light\"],optionTitles:[\"Plein (bleu/violet)\",\"Contour\",\"Blanc\"],defaultValue:\"primary\"},size:{type:ControlType.Enum,title:\"Taille\",options:[\"small\",\"medium\",\"large\"],optionTitles:[\"Petit\",\"Moyen\",\"Grand\"],defaultValue:\"medium\"},showArrow:{type:ControlType.Boolean,title:\"Fl\\xe8che →\",defaultValue:true},fullWidth:{type:ControlType.Boolean,title:\"Pleine largeur\",defaultValue:false},radius:{type:ControlType.Number,title:\"Arrondi\",min:0,max:999,step:1,defaultValue:999,displayStepper:true},link:{type:ControlType.Link,title:\"Lien\"},newTab:{type:ControlType.Boolean,title:\"Nouvel onglet\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Buttonv2.map"],"mappings":"qNAC6B,EAAC,EAAU,UAAU,CAAC,qBAAqB,iBAAiB,CAAC,EAAe,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,UAAU,OAAO,YAAY,MAAM,SAAS,aAAa,UAAU,IAAI,yKAAyK,OAAO,KAAK,EAAE,CAAC,cAAc,UAAU,OAAO,YAAY,MAAM,SAAS,aAAa,UAAU,IAAI,yKAAyK,OAAO,KAAK,CAAC,CAAC,CAAC,EAAe,EAAI,CAAC,85BAA85B,o9BAAo9B,g9BAAg9B,EAAe,EAAU,kBCQ5yG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,QAAM,UAAQ,OAAK,YAAU,YAAU,OAAK,SAAO,UAAQ,EAAW,CAAC,EAAM,GAAUA,EAAS,EAAK,EAAQ,EAAE,EAAM,IAAO,EAAM,OACjZ,EAAS,CAAC,QAAQ,CAAC,WAAW,2BAA2B,EAAO,KAAK,IAAI,EAAO,OAAO,GAAG,MAAM,UAAU,OAAO,wBAAwB,OAAO,EAAM,yCAAyC,uCAAuC,EAAE,MAAM,CAAC,WAAW,EAAM,yBAAyB,cAAc,MAAM,UAAU,OAAO,aAAa,EAAO,OAAO,OAAO,MAAM,EAAE,MAAM,CAAC,WAAW,UAAU,MAAM,EAAO,IAAI,OAAO,wBAAwB,OAAO,EAAM,qCAAqC,oCAAoC,CAAC,EAAQ,EAAE,EAAS,IAAU,EAAS,QAAc,EAAM,CAAC,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,IAAI,EAAE,IAAI,MAAM,EAAU,OAAO,OAAO,Q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