{"version":3,"file":"LinkLineVisible.ChJOtuFp.mjs","names":[],"sources":["https:/framerusercontent.com/modules/daZ2xOowVUvPrBABHG0C/A29EodlrDT3nFKdxQW5j/LinkLineVisible.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function LinkLineVisible(props){const{linkText,textColor,lineColor,font,letterSpacing,underlineWeight,transition}=props;const duration=transition.duration??.3;const ease=transition.ease||[.4,0,.2,1];return /*#__PURE__*/_jsxs(\"div\",{className:\"item_block2\",style:{position:\"relative\",display:\"inline-block\",whiteSpace:\"nowrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...font,color:textColor,letterSpacing:`${letterSpacing}px`},children:linkText}),/*#__PURE__*/_jsx(\"div\",{className:\"item_block-line2\",style:{position:\"absolute\",bottom:0,left:0,right:0,height:`${underlineWeight}px`,backgroundColor:lineColor}}),/*#__PURE__*/_jsx(\"style\",{jsx:true,children:`\n                .item_block-line2 {\n                    transform: scaleX(1);\n                    transform-origin: right;\n                    transition: transform ${duration}s cubic-bezier(${ease.join(\",\")});\n                }\n\n                .item_block2:hover .item_block-line2 {\n                    transform: scaleX(0);\n                    transform-origin: right;\n                }\n\n                .item_block2 .item_block-line2 {\n                    transform-origin: left;\n                    transition: transform ${duration}s cubic-bezier(${ease.join(\",\")});\n                }\n            `})]});}addPropertyControls(LinkLineVisible,{linkText:{type:ControlType.String,title:\"Content\",defaultValue:\"Text Block\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},lineColor:{type:ControlType.Color,title:\"Line Color\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Font\",defaultValue:{fontSize:\"16px\",fontWeight:400,lineHeight:1.4},controls:\"extended\",defaultFontType:\"serif\"},letterSpacing:{type:ControlType.Number,title:\"Letter Spacing\",defaultValue:0,min:-20,max:10,unit:\"px\"},underlineWeight:{type:ControlType.Number,title:\"Underline Weight\",defaultValue:1,min:1,max:10,unit:\"px\"},transition:{type:ControlType.Transition,title:\"Transition\",defaultValue:{duration:.5,ease:[.25,.8,.5,1]}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LinkLineVisible\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LinkLineVisible.map"],"mappings":"8JAGG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,WAAS,YAAU,YAAU,OAAK,gBAAc,kBAAgB,cAAY,EAAY,EAAS,EAAW,UAAU,GAAS,EAAK,EAAW,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,OAAoB,EAAM,MAAM,CAAC,UAAU,cAAc,MAAM,CAAC,SAAS,WAAW,QAAQ,eAAe,WAAW,QAAQ,EAAE,SAAS,CAAc,EAAK,OAAO,CAAC,MAAM,CAAC,GAAG,EAAK,MAAM,EAAU,cAAc,GAAG,EAAc,GAAG,EAAE,SAAS,CAAQ,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,mBAAmB,MAAM,CAAC,SAAS,WAAW,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,GAAG,EAAgB,IAAI,gBAAgB,CAAS,CAAC,CAAC,EAAe,EAAK,QAAQ,CAAC,IAAI,GAAK,SAAS;;;;4CAIznB,EAAS,iBAAiB,EAAK,KAAK,GAAG,EAAE;;;;;;;;;;4CAUzC,EAAS,iBAAiB,EAAK,KAAK,GAAG,EAAE;;aAExE,CAAC,CAAC,CAAC,CAAC,CAAE,iBAnBqC,IAAoD,EAmBxF,EAAoB,EAAgB,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,aAAa,YAAY,EAAE,UAAU,CAAC,KAAK,EAAY,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