{"version":3,"file":"StudyTile.DYYFSMxT.mjs","names":[],"sources":["https:/framerusercontent.com/modules/BZGmtxwH6iZe46o9snvq/UOdZYChCB0OVccvHUfoW/StudyTile.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function KnowledgePill(props){const{title,variant,ariaLabel,onTap}=props;const isSelected=variant===\"selected\";// Base styles shared by both variants\nconst baseStyle={display:\"flex\",alignItems:\"center\",justifyContent:\"center\",height:44,paddingLeft:16,paddingRight:16,borderRadius:8,backgroundColor:\"#ffffff\",borderWidth:1,borderStyle:\"solid\",cursor:\"pointer\",position:\"relative\",overflow:\"hidden\"};// Selected variant styles\nconst selectedStyle={...baseStyle,borderColor:\"#eafff3\",boxShadow:`\n            0px 0px 12px 0px rgba(101, 191, 140, 0.24),\n            0px 0px 32px 0px rgba(157, 234, 191, 0.16),\n            0px 0px 8px 0px #65bf8c\n        `};// Unselected variant styles\nconst unselectedStyle={...baseStyle,borderColor:\"#1f2937\"};// Text styles - changes based on variant\nconst textStyle={fontFamily:\"'Inter', sans-serif\",fontSize:16,fontWeight:400,lineHeight:\"32px\",color:isSelected?\"#65bf8c\":\"#1f2937\",textShadow:isSelected?\"0px 0px 8px rgba(101, 191, 140, 0.36)\":\"none\"};// Inner glow overlay (selected variant only)\nconst innerGlowStyle={position:\"absolute\",inset:0,borderRadius:\"inherit\",boxShadow:\"inset 0px 0px 4px 0px rgba(101, 191, 140, 0.25)\",pointerEvents:\"none\"};return /*#__PURE__*/_jsxs(\"div\",{style:isSelected?selectedStyle:unselectedStyle,onClick:onTap,role:\"button\",tabIndex:0,\"aria-label\":ariaLabel||title,\"aria-pressed\":isSelected,onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();onTap?.();}},children:[/*#__PURE__*/_jsx(\"span\",{style:textStyle,children:title}),isSelected&&/*#__PURE__*/_jsx(\"div\",{style:innerGlowStyle})]});}// Default props\nKnowledgePill.defaultProps={title:\"Title\",variant:\"selected\"};// Property controls for Framer canvas\naddPropertyControls(KnowledgePill,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Title\"},variant:{type:ControlType.Enum,title:\"Variant\",defaultValue:\"selected\",options:[\"selected\",\"unselected\"],optionTitles:[\"Selected\",\"Unselected\"],displaySegmentedControl:true},ariaLabel:{type:ControlType.String,title:\"Aria Label\",placeholder:\"Accessible name (optional)\",description:\"Screen reader label. Falls back to title if empty.\"},onTap:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"KnowledgePill\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StudyTile.map"],"mappings":"mKAA6G,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,QAAM,UAAQ,YAAU,SAAO,EAAY,EAAW,IAAU,WAC1N,EAAU,CAAC,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,OAAO,GAAG,YAAY,GAAG,aAAa,GAAG,aAAa,EAAE,gBAAgB,UAAU,YAAY,EAAE,YAAY,QAAQ,OAAO,UAAU,SAAS,WAAW,SAAS,QAAQ,EAChP,EAAc,CAAC,GAAG,EAAU,YAAY,UAAU,UAAU;;;;SAIzD,EACH,EAAgB,CAAC,GAAG,EAAU,YAAY,SAAS,EAEkG,OAAoB,EAAM,MAAM,CAAC,MAAM,EAAW,EAAc,EAAgB,QAAQ,EAAM,KAAK,SAAS,SAAS,EAAE,aAAa,GAAW,EAAM,eAAe,EAAW,UAAU,GAAG,EAAI,EAAE,MAAM,SAAS,EAAE,MAAM,OAAK,EAAE,eAAe,EAAE,IAAQ,EAAG,EAAE,SAAS,CAAc,EAAK,OAAO,CAAC,MAAM,CADlb,WAAW,sBAAsB,SAAS,GAAG,WAAW,IAAI,WAAW,OAAO,MAAM,EAAW,UAAU,UAAU,WAAW,EAAW,wCAAwC,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