{"version":3,"file":"Button.CWsvEO1A.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/oW1KSDhYoZF3VjoLndCO/IwmvXcBUEOe3FDR5MiTk/Button.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * J423 Collective — Primary CTA Button\n * Shared full-width-capable dark button used for primary calls to action\n * outside the hero/newsletter (About \"Shop Collection 001\", Contact \"Send\n * Message\"). Matches the site's established interaction language: solid\n * /Ink background, instant hover to /Accent Rust — the same pattern\n * already used by Newsletter's JOIN button and CartDrawer's CHECKOUT\n * button. Replaces three previously-duplicated native-XML button layers\n * that had no hover state and had lost their padding attribute.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function Button(props){const{text,href,fullWidth,paddingVertical,paddingHorizontal}=props;const[hovered,setHovered]=React.useState(false);return /*#__PURE__*/_jsx(\"a\",{href:href||\"#\",onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),style:{display:fullWidth?\"flex\":\"inline-flex\",width:fullWidth?\"100%\":\"fit-content\",alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\",background:hovered?\"#be222a\":\"#121210\",padding:`${paddingVertical??16}px ${paddingHorizontal??34}px`,textDecoration:\"none\",cursor:\"pointer\",transition:\"background .2s ease\",fontFamily:\"'Inter', sans-serif\",fontWeight:600,fontSize:12,letterSpacing:\"0.16em\",textTransform:\"uppercase\",color:\"#f2f1ec\"},children:text||\"Button\"});}Button.displayName=\"Button\";addPropertyControls(Button,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Button\"},href:{type:ControlType.Link,title:\"Link\",defaultValue:\"/\"},fullWidth:{type:ControlType.Boolean,title:\"Full Width\",defaultValue:false},paddingVertical:{type:ControlType.Number,title:\"Padding V\",defaultValue:16},paddingHorizontal:{type:ControlType.Number,title:\"Padding H\",defaultValue:34}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button.map"],"mappings":"0KAYG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,OAAK,OAAK,YAAU,kBAAgB,qBAAmB,EAAW,CAAC,EAAQ,GAAYA,EAAe,EAAK,EAAE,OAAoB,EAAK,IAAI,CAAC,KAAK,GAAM,IAAI,iBAAiB,EAAW,EAAI,EAAE,iBAAiB,EAAW,EAAK,EAAE,MAAM,CAAC,QAAQ,EAAU,OAAO,cAAc,MAAM,EAAU,OAAO,cAAc,WAAW,SAAS,eAAe,SAAS,UAAU,aAAa,WAAW,EAAQ,UAAU,UAAU,QAAQ,GAAG,GAAiB,GAAG,KAAK,GAAmB,GAAG,IAAI,eAAe,OAAO,OAAO,UAAU,WAAW,sBAAsB,WAAW,sBAAsB,WAAW,IAAI,SAAS,GAAG,cAAc,SAAS,cAAc,YAAY,MAAM,SAAS,EAAE,SAAS,GAAM,QAAQ,CAAC,CAAE,iBAZ/rB,IAA4B,IAAoD,EAYgnB,EAAO,YAAY,SAAS,EAAoB,EAAO,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,QAAQ,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,aAAa,GAAG,EAAE,UAAU,CAAC,KAAK,EAAY,QAAQ,MAAM,aAAa,aAAa,EAAK,EAAE,gBAAgB,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,EAAE,EAAE,kBAAkB,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,EAAE,CAAC,CAAC"}