{"version":3,"file":"BlinkingTag.DALKaSF6.mjs","names":[],"sources":["https:/framerusercontent.com/modules/T6ClOpPrzgC8UgQGshlR/E3I4BuPlTOU7Mb355sM6/BlinkingTag.js"],"sourcesContent":["// Blinking tag component with customizable colors, speed, and fonts\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * Blinking Tag Component\n * \n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function BlinkingTag(props){const{text,backgroundColor,textColor,blinkSpeed,font,borderRadius,padding,style}=props;return /*#__PURE__*/_jsx(motion.div,{style:{...style,position:\"relative\",display:\"inline-block\",width:\"max-content\"},animate:{opacity:[1,.3,1]},transition:{duration:blinkSpeed,repeat:Infinity,ease:\"easeInOut\"},children:/*#__PURE__*/_jsx(\"div\",{style:{backgroundColor,color:textColor,borderRadius,padding:`${padding}px ${padding*2}px`,display:\"inline-block\",...font},children:text})});}addPropertyControls(BlinkingTag,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Last Tickets\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F4FF8A\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},blinkSpeed:{type:ControlType.Number,title:\"Blink Speed\",defaultValue:1.5,min:.3,max:5,step:.1,unit:\"s\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"32px\",variant:\"Medium\",letterSpacing:\"0em\",lineHeight:\"1em\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:50,step:1,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:12,min:0,max:50,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlinkingTag\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion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