{"version":3,"file":"ShineSlideFX_1.F4f6DFRV.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/wmk38ls8A0JJsxH42zQE/XG2z3sRetyPpetQ9QO9m/ShineSlideFX_1.js"],"sourcesContent":["// Shiny text component with animated gradient effect\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ShinyText(props){const{text,disabled,speed,textColor,shineColor,font}=props;const animationDuration=`${speed}s`;const shinyTextStyle={color:textColor,background:`linear-gradient(\n            120deg,\n            rgba(255, 255, 255, 0) 40%,\n            ${shineColor} 50%,\n            rgba(255, 255, 255, 0) 60%\n        )`,backgroundSize:\"200% 100%\",WebkitBackgroundClip:\"text\",backgroundClip:\"text\",display:\"inline-block\",animation:disabled?\"none\":`shine ${animationDuration} linear infinite`,...font};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes shine {\n                    0% {\n                        background-position: 100%;\n                    }\n                    100% {\n                        background-position: -100%;\n                    }\n                }\n                `}),/*#__PURE__*/_jsx(\"div\",{style:shinyTextStyle,children:text})]});}addPropertyControls(ShinyText,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Just some shiny text!\"},disabled:{type:ControlType.Boolean,title:\"Disabled\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},speed:{type:ControlType.Number,title:\"Duration\",defaultValue:5,min:1,max:10,step:.5,unit:\"s\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#b5b5b5a4\",description:\"You have to use less than 100% opacity to see the effect\"},shineColor:{type:ControlType.Color,title:\"Shine Color\",defaultValue:\"rgba(255, 255, 255, 0.8)\"},font:{type:ControlType.Font,title:\"Font\",defaultValue:{fontSize:\"32px\",variant:\"Semibold\",letterSpacing:\"-0.03em\",lineHeight:\"1em\"},controls:\"extended\",defaultFontType:\"sans-serif\",description:\"More Components at [DiverseKit](https://framer.link/se2heI4)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ShinyText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ShineSlideFX_1.map"],"mappings":"0KAIG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,OAAK,WAAS,QAAM,YAAU,aAAW,QAAM,EAAY,EAAkB,GAAG,EAAM,GAAS,EAAe,CAAC,MAAM,EAAU,WAAW;;;cAG9K,EAAW;;WAEd,eAAe,YAAY,qBAAqB,OAAO,eAAe,OAAO,QAAQ,eAAe,UAAU,EAAS,OAAO,SAAS,EAAkB,kBAAkB,GAAG,EAAK,CAAC,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;kBAShQ,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,EAAe,SAAS,EAAK,CAAC,CAAC,CAAC,CAAC,kBAjBL,IAAoD,CAiB7C,EAAoB,EAAU,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,wBAAwB,CAAC,SAAS,CAAC,KAAK,EAAY,QAAQ,MAAM,WAAW,aAAa,GAAM,aAAa,MAAM,cAAc,KAAK,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,KAAK,IAAI,CAAC,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,YAAY,YAAY,2DAA2D,CAAC,WAAW,CAAC,KAAK,EAAY,MAAM,MAAM,cAAc,aAAa,2BAA2B,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,aAAa,CAAC,SAAS,OAAO,QAAQ,WAAW,cAAc,UAAU,WAAW,MAAM,CAAC,SAAS,WAAW,gBAAgB,aAAa,YAAY,+DAA+D,CAAC,CAAC"}