{"version":3,"file":"HTML_Texter_1.BdCeEj8T.mjs","names":[],"sources":["https:/framerusercontent.com/modules/0fXyh25ZQAOb4i3M6WPR/rWKQc4Z3dWpA4VyDn5BK/HTML_Texter_1.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function HTMLText(props){const{content,hAlign,pAlign,hFont,hColor,hWeight,h1Size,h2Size,h3Size,h4Size,h1SizeMid,h2SizeMid,h3SizeMid,h4SizeMid,h1SizeSmall,h2SizeSmall,h3SizeSmall,h4SizeSmall,pFont,pColor,pSize,pWeight,linkColor,linkWeight,linkFont,linkAlign,// Neue Props für Abstände\nh1Margin,h2Margin,h3Margin,pMargin,// Neue Props für Zeilenhöhe\nhLineHeight,pLineHeight}=props;const styles=`\n    h1, h2, h3, h4 {\n        text-align: ${hAlign};\n        font-family: ${hFont};\n        color: ${hColor};\n        font-weight: ${hWeight};\n        line-height: ${hLineHeight}em;\n    }\n\n    h1 { font-size: ${h1Size}px; margin-bottom: ${h1Margin}px; }\n    h2 { font-size: ${h2Size}px; margin-bottom: ${h2Margin}px; }\n    h3 { font-size: ${h3Size}px; margin-bottom: ${h3Margin}px; }\n    h4 { font-size: ${h4Size}px; }\n\n    @media (max-width: 810px) {\n        h1 { font-size: ${h1SizeMid}px; }\n        h2 { font-size: ${h2SizeMid}px; }\n        h3 { font-size: ${h3SizeMid}px; }\n        h4 { font-size: ${h4SizeMid}px; }\n    }\n\n    @media (max-width: 480px) {\n        h1 { font-size: ${h1SizeSmall}px; }\n        h2 { font-size: ${h2SizeSmall}px; }\n        h3 { font-size: ${h3SizeSmall}px; }\n        h4 { font-size: ${h4SizeSmall}px; }\n    }\n\n    p {\n        text-align: ${pAlign};\n        font-family: ${pFont};\n        color: ${pColor};\n        font-size: ${pSize}px;\n        font-weight: ${pWeight};\n        margin-bottom: ${pMargin}px;\n        line-height: ${pLineHeight}em;\n    }\n\n    a {\n        color: ${linkColor};\n        font-weight: ${linkWeight};\n        font-family: ${linkFont};\n        text-align: ${linkAlign};\n    }\n\n    ul, li {\n        font-family: ${pFont};\n        color: ${pColor};\n        font-size: ${pSize}px;\n        font-weight: ${pWeight};\n        text-align: ${pAlign};\n        line-height: ${pLineHeight}em;\n    }\n    ul {\n        padding-left: 1.2em;\n        margin-bottom: 1em;\n        list-style-type: disc;\n    }\n    li {\n        margin-bottom: 0.5em;\n    }\n`;return /*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"style\",{children:styles}),/*#__PURE__*/_jsx(\"div\",{dangerouslySetInnerHTML:{__html:content}})]});}addPropertyControls(HTMLText,{content:{type:ControlType.String,title:\"Inhalt (HTML)\",defaultValue:\"<h1>Imprint</h1><p>Content goes here.</p>\",displayTextArea:true},// Headings\nhAlign:{type:ControlType.Enum,title:\"\\xdcberschr. Ausrichtung\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Links\",\"Zentriert\",\"Rechts\"],defaultValue:\"left\"},hFont:{type:ControlType.String,title:\"\\xdcberschr. Schriftart\",defaultValue:\"Arial, sans-serif\"},hColor:{type:ControlType.Color,title:\"\\xdcberschr. Farbe\",defaultValue:\"#000000\"},hWeight:{type:ControlType.Enum,title:\"\\xdcberschr. Gewicht\",options:[\"normal\",\"bold\",\"lighter\",\"bolder\"],optionTitles:[\"Normal\",\"Fett\",\"Leicht\",\"Extra Fett\"],defaultValue:\"bold\"},// NEU: Zeilenhöhe Headings\nhLineHeight:{type:ControlType.Number,title:\"H Zeilenh\\xf6he (em)\",defaultValue:1.2,step:.1,min:.8,max:3,displayStepper:true},// Desktop Sizes\nh1Size:{type:ControlType.Number,title:\"H1 Gr\\xf6\\xdfe\",defaultValue:40},h2Size:{type:ControlType.Number,title:\"H2 Gr\\xf6\\xdfe\",defaultValue:22},h3Size:{type:ControlType.Number,title:\"H3 Gr\\xf6\\xdfe\",defaultValue:20},h4Size:{type:ControlType.Number,title:\"H4 Gr\\xf6\\xdfe\",defaultValue:18},// Mid sizes (≤ 810px)\nh1SizeMid:{type:ControlType.Number,title:\"H1 Tablet\",defaultValue:28},h2SizeMid:{type:ControlType.Number,title:\"H2 Tablet\",defaultValue:20},h3SizeMid:{type:ControlType.Number,title:\"H3 Tablet\",defaultValue:18},h4SizeMid:{type:ControlType.Number,title:\"H4 Tablet\",defaultValue:16},// Small sizes (≤ 480px)\nh1SizeSmall:{type:ControlType.Number,title:\"H1 Mobile\",defaultValue:22},h2SizeSmall:{type:ControlType.Number,title:\"H2 Mobile\",defaultValue:20},h3SizeSmall:{type:ControlType.Number,title:\"H3 Mobile\",defaultValue:18},h4SizeSmall:{type:ControlType.Number,title:\"H4 Mobile\",defaultValue:16},// Neue Abstände\nh1Margin:{type:ControlType.Number,title:\"H1 Abstand\",defaultValue:16},h2Margin:{type:ControlType.Number,title:\"H2 Abstand\",defaultValue:14},h3Margin:{type:ControlType.Number,title:\"H3 Abstand\",defaultValue:12},pMargin:{type:ControlType.Number,title:\"P Abstand\",defaultValue:10},// Paragraph\npAlign:{type:ControlType.Enum,title:\"Text Ausrichtung\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Links\",\"Zentriert\",\"Rechts\"],defaultValue:\"left\"},pFont:{type:ControlType.String,title:\"Text Schriftart\",defaultValue:\"Arial, sans-serif\"},pColor:{type:ControlType.Color,title:\"Textfarbe\",defaultValue:\"#000000\"},pSize:{type:ControlType.Number,title:\"Textgr\\xf6\\xdfe\",defaultValue:16},pWeight:{type:ControlType.Enum,title:\"Text Gewicht\",options:[\"normal\",\"bold\",\"lighter\",\"bolder\"],optionTitles:[\"Normal\",\"Fett\",\"Leicht\",\"Extra Fett\"],defaultValue:\"normal\"},// NEU: Zeilenhöhe Paragraph\npLineHeight:{type:ControlType.Number,title:\"P Zeilenh\\xf6he (em)\",defaultValue:1.5,step:.1,min:.8,max:3,displayStepper:true},// Links\nlinkColor:{type:ControlType.Color,title:\"Linkfarbe\",defaultValue:\"#007aff\"},linkFont:{type:ControlType.String,title:\"Link Schriftart\",defaultValue:\"Arial, sans-serif\"},linkWeight:{type:ControlType.Enum,title:\"Link Gewicht\",options:[\"normal\",\"bold\",\"lighter\",\"bolder\"],optionTitles:[\"Normal\",\"Fett\",\"Leicht\",\"Extra Fett\"],defaultValue:\"normal\"},linkAlign:{type:ControlType.Enum,title:\"Link Ausrichtung\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Links\",\"Zentriert\",\"Rechts\"],defaultValue:\"left\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"HTMLText\":{\"type\":\"reactComponent\",\"name\":\"HTMLText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HTML_Texter_1.map"],"mappings":"mKAA6G,SAAgB,EAAS,EAAM,CAAC,GAAK,CAAC,UAAQ,SAAO,SAAO,QAAM,SAAO,UAAQ,SAAO,SAAO,SAAO,SAAO,YAAU,YAAU,YAAU,YAAU,cAAY,cAAY,cAAY,cAAY,QAAM,SAAO,QAAM,UAAQ,YAAU,aAAW,WAAS,YAC3W,WAAS,WAAS,WAAS,UAC3B,cAAY,eAAa,EA6DvB,OAAoB,EAAM,MAAM,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SA7D5B;;sBAEtB,EAAO;uBACN,EAAM;iBACZ,EAAO;uBACD,EAAQ;uBACR,EAAY;;;sBAGb,EAAO,qBAAqB,EAAS;sBACrC,EAAO,qBAAqB,EAAS;sBACrC,EAAO,qBAAqB,EAAS;sBACrC,EAAO;;;0BAGH,EAAU;0BACV,EAAU;0BACV,EAAU;0BACV,EAAU;;;;0BAIV,EAAY;0BACZ,EAAY;0BACZ,EAAY;0BACZ,EAAY;;;;sBAIhB,EAAO;uBACN,EAAM;iBACZ,EAAO;qBACH,EAAM;uBACJ,EAAQ;yBACN,EAAQ;uBACV,EAAY;;;;iBAIlB,EAAU;uBACJ,EAAW;uBACX,EAAS;sBACV,EAAU;;;;uBAIT,E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