{"version":3,"file":"CSSRule.DFtFeORq.mjs","names":[],"sources":["https:/framerusercontent.com/modules/VrahqdoeADcRdrGDX1DE/Qrmw3HnIXOW5LUV1wjvg/CSSRule.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * CSS Rule\n *\n * Adds a small stylesheet to the page for layout details Framer can't express\n * natively (e.g. Webflow cards that are square only from 1280px up). Target layers\n * by the element ID set on them. Only the style tag is rendered on the live site;\n * the canvas shows a label so the layer is easy to find.\n *\n * @framerIntrinsicWidth 120\n * @framerIntrinsicHeight 24\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function CSSRule(props){const{label=\"CSS rule\",css=\"\"}=props;const onCanvas=RenderTarget.current()===RenderTarget.canvas;return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,position:\"relative\",width:onCanvas?\"max-content\":0,height:onCanvas?\"auto\":0,overflow:onCanvas?\"visible\":\"hidden\"},\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"style\",{children:css}),onCanvas&&/*#__PURE__*/_jsx(\"div\",{style:{font:\"500 11px/1.4 system-ui, sans-serif\",color:\"#4d4dfa\",border:\"1px dashed #4d4dfa\",borderRadius:4,padding:\"2px 6px\",whiteSpace:\"nowrap\"},children:label})]});}addPropertyControls(CSSRule,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"CSS rule\"},css:{type:ControlType.String,title:\"CSS\",defaultValue:\"\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CSSRule\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerIntrinsicHeight\":\"24\",\"framerIntrinsicWidth\":\"120\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CSSRule.map"],"mappings":"0KAaG,SAAwB,EAAQ,EAAM,CAAC,GAAK,CAAC,QAAM,WAAW,MAAI,IAAI,EAAY,EAAS,EAAa,QAAQ,IAAI,EAAa,OAAO,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,SAAS,WAAW,MAAM,EAAS,cAAc,EAAE,OAAO,EAAS,OAAO,EAAE,SAAS,EAAS,UAAU,QAAQ,EAAE,cAAc,OAAO,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,CAAG,CAAC,EAAE,GAAuB,EAAK,MAAM,CAAC,MAAM,CAAC,KAAK,qCAAqC,MAAM,UAAU,OAAO,qBAAqB,aAAa,EAAE,QAAQ,UAAU,WAAW,QAAQ,EAAE,SAAS,CAAK,CAAC,CAAC,CAAC,CAAC,CAAE,iBAb/gB,IAAiE,EAa+c,EAAoB,EAAQ,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,UAAU,EAAE,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,MAAM,aAAa,GAAG,gBAAgB,EAAI,CAAC,CAAC"}