{"version":3,"file":"Tags.isSOLEwD.mjs","names":[],"sources":["https:/framerusercontent.com/modules/tUe04XNFlE4DPk683nEv/UXnm61Gzm7njY9DRDpzZ/Tags.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function TagFrames({tags,font,fontSize,fontColor,bgColor,borderRadius,borderWidth,borderColor,borderStyle,horizontalGap,verticalGap,horizontalAlign,verticalAlign}){const tagList=tags.split(\",\").map(tag=>tag.trim());return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:`${verticalGap}px ${horizontalGap}px`,justifyContent:horizontalAlign,alignItems:verticalAlign,height:\"100%\"},children:tagList.map((tag,index)=>/*#__PURE__*/_jsx(\"div\",{style:{padding:\"8px 16px\",borderRadius:`${borderRadius}px`,backgroundColor:bgColor,color:fontColor,fontSize:`${fontSize}px`,fontFamily:font,borderWidth:`${borderWidth}px`,borderColor:borderColor,borderStyle:borderStyle,display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},children:tag},index))});}TagFrames.defaultProps={tags:\"\",font:\"Manrope\",fontSize:16,fontColor:\"#ffffff\",bgColor:\"#000000\",borderRadius:4,borderWidth:1,borderColor:\"#000000\",borderStyle:\"solid\",horizontalGap:8,verticalGap:8,horizontalAlign:\"center\",verticalAlign:\"center\"};addPropertyControls(TagFrames,{tags:{type:ControlType.String,title:\"Tags\",placeholder:\"Select CMS field\"},font:{type:ControlType.String,title:\"Font\",defaultValue:\"Manrope\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:8,max:32},fontColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#ffffff\"},bgColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#000000\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:4,min:0,max:50},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:10},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#000000\"},borderStyle:{type:ControlType.Enum,title:\"Border Style\",options:[\"solid\",\"dotted\",\"dashed\"],defaultValue:\"solid\"},horizontalGap:{type:ControlType.Number,title:\"Horizontal Gap\",defaultValue:8,min:0,max:50},verticalGap:{type:ControlType.Number,title:\"Vertical Gap\",defaultValue:8,min:0,max:50},horizontalAlign:{type:ControlType.Enum,title:\"Horizontal Align\",options:[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"],defaultValue:\"center\"},verticalAlign:{type:ControlType.Enum,title:\"Vertical Align\",options:[\"flex-start\",\"center\",\"flex-end\"],defaultValue:\"center\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"TagFrames\":{\"type\":\"reactComponent\",\"name\":\"TagFrames\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Tags.map"],"mappings":"4JAA+F,SAAgB,EAAU,CAAC,OAAK,OAAK,WAAS,YAAU,UAAQ,eAAa,cAAY,cAAY,cAAY,gBAAc,cAAY,kBAAgB,iBAAe,CAAC,IAAM,EAAQ,EAAK,MAAM,IAAI,CAAC,IAAI,GAAK,EAAI,MAAM,CAAC,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,SAAS,OAAO,IAAI,GAAG,EAAY,KAAK,EAAc,IAAI,eAAe,EAAgB,WAAW,EAAc,OAAO,OAAO,CAAC,SAAS,EAAQ,KAAK,EAAI,IAAqB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,WAAW,aAAa,GAAG,EAAa,IAAI,gBAAgB,EAAQ,MAAM,EAAU,SAAS,GAAG,EAAS,IAAI,WAAW,EAAK,YAAY,GAAG,EAAY,IAAgB,cAAwB,cAAY,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,CAAC,SAAS,EAAI,CAAC,EAAM,CAAC,CAAC,CAAC,kBAAlzB,IAAoD,CAAgwB,EAAU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