fix(ui): resolve MDX paragraph line-height inheritance, implement drag-to-scroll slider, disable UI text selection

Former-commit-id: 4d03da2ca22a0119d156db12c9c1722bbba5a29e
This commit is contained in:
2026-05-07 14:15:50 +02:00
parent 3a626ffdfd
commit c2d0279755
142 changed files with 280 additions and 255 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="371097cc-74ee-6094-693e-8d3b67267b07")}catch(e){}}();
module.exports=[594214,90695,5515,544027,434904,618180,781027,41100,a=>{"use strict";var b=a.i(829091);a.i(912466);var c=a.i(526156);function d({className:a,children:d,...e}){return(0,c.jsx)("section",{className:(0,b.cn)("py-16 md:py-28 lg:py-36 overflow-hidden content-visibility-auto",a),...e,children:d})}function e({className:a,children:d,...e}){return(0,c.jsx)("div",{className:(0,b.cn)("container mx-auto px-4 md:px-12 lg:px-16 max-w-7xl",a),...e,children:d})}function f({level:a=2,size:d,variant:e="dark",align:f="left",subtitle:g,children:h,className:i,subtitleClassName:j,badgeStyle:k="industrial"}){let l=`h${a}`,m=d||String(a);return(0,c.jsxs)("div",{className:(0,b.cn)("mb-6 md:mb-8",{left:"text-left",center:"text-center mx-auto",right:"text-right"}[f],i),children:[g&&"industrial"===k&&(0,c.jsxs)("span",{className:(0,b.cn)("inline-flex items-center space-x-2 px-3 py-1.5 rounded-full mb-6 border shadow-sm text-xs font-bold uppercase tracking-widest","white"===e?"bg-white/10 text-white border-white/20":"bg-primary/5 text-primary border-primary/20",j),children:[(0,c.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,c.jsx)("span",{className:(0,b.cn)("animate-ping absolute inline-flex h-full w-full rounded-full opacity-75","white"===e?"bg-white":"bg-primary")}),(0,c.jsx)("span",{className:(0,b.cn)("relative inline-flex rounded-full h-2 w-2","white"===e?"bg-white":"bg-primary")})]}),(0,c.jsx)("span",{children:g})]}),g&&"simple"===k&&(0,c.jsx)("span",{className:(0,b.cn)("inline-block font-bold tracking-widest uppercase text-xs md:text-sm mb-3 md:mb-4 animate-fade-in","white"===e?"text-white/80":"text-accent",j),children:g}),(0,c.jsx)(l,{className:(0,b.cn)({hero:"font-heading text-4xl md:text-5xl lg:text-6xl font-black tracking-tight leading-[0.9]",section:"font-heading text-3xl md:text-4xl lg:text-5xl font-extrabold tracking-tight leading-[0.95]",subsection:"font-heading text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight leading-tight",card:"text-xl md:text-2xl font-bold leading-snug",small:"text-lg font-semibold leading-snug",1:"text-2xl md:text-4xl lg:text-5xl font-bold leading-[0.9] tracking-tight",2:"text-xl md:text-3xl lg:text-4xl font-bold leading-[0.95] tracking-tight",3:"text-lg md:text-2xl lg:text-3xl font-bold leading-tight tracking-tight",4:"text-lg md:text-xl lg:text-2xl font-bold leading-snug",5:"text-base md:text-lg font-bold leading-normal",6:"text-base md:text-lg font-semibold leading-normal"}[m],{primary:"text-primary",neutral:"text-text-primary",white:"text-white",dark:"text-neutral-dark"}[e]),children:h})]})}function g({className:a,children:d,tag:e="div",...f}){return(0,c.jsx)(e,{className:(0,b.cn)("premium-card overflow-hidden",a),...f,children:d})}function h({className:a,...d}){return(0,c.jsx)("input",{className:(0,b.cn)("w-full px-4 md:px-6 py-2.5 md:py-4 bg-neutral-light/50 border border-neutral-dark/10 rounded-xl md:rounded-2xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent focus:bg-white transition-all duration-300 placeholder:text-neutral-dark/40 text-sm md:text-lg",a),...d})}function i({className:a,...d}){return(0,c.jsx)("textarea",{className:(0,b.cn)("w-full px-4 md:px-6 py-2.5 md:py-4 bg-neutral-light/50 border border-neutral-dark/10 rounded-xl md:rounded-2xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent focus:bg-white transition-all duration-300 placeholder:text-neutral-dark/40 text-sm md:text-lg resize-none",a),...d})}function j({className:a,...d}){return(0,c.jsx)("label",{className:(0,b.cn)("text-[10px] md:text-xs font-extrabold text-primary uppercase tracking-widest",a),...d})}a.s(["Section",()=>d],90695),a.s(["Container",()=>e],5515),a.s(["Heading",()=>f],544027),a.s(["Card",()=>g],434904),a.s(["Input",()=>h],618180),a.s(["Textarea",()=>i],781027),a.s(["Label",()=>j],41100),a.s([],594214)},188457,a=>{"use strict";var b=a.i(526156),c=a.i(150765);a.i(594214);var d=a.i(829091);function e({children:a,className:e,threshold:f=.1,delay:g=0}){let[h,i]=(0,c.useState)(!1),j=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let a=new IntersectionObserver(([b])=>{b.isIntersecting&&(i(!0),a.unobserve(b.target))},{threshold:f}),b=j.current;return b&&a.observe(b),()=>{b&&a.unobserve(b)}},[f]),(0,b.jsx)("div",{ref:j,className:(0,d.cn)("reveal-on-scroll",h&&"is-visible",e),style:{transitionDelay:`${g}ms`},children:a})}a.s(["default",()=>e])},281104,a=>{"use strict";var b=a.i(150765),c=a.i(5423);function d({currentPage:a,totalPages:d,locale:e}){let f=(0,c.useRouter)();return(0,b.useEffect)(()=>{let b=b=>{document.activeElement?.tagName!=="INPUT"&&document.activeElement?.tagName!=="TEXTAREA"&&document.activeElement?.tagName!=="SELECT"&&("ArrowLeft"===b.key&&a>1?f.push(`/${e}/blog?page=${a-1}`):"ArrowRight"===b.key&&a<d&&f.push(`/${e}/blog?page=${a+1}`))};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[a,d,e,f]),null}a.s(["BlogPaginationKeyboardObserver",()=>d])}];
;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="1cdde9f4-07a4-5aac-c7b9-7b6e8de09ebd")}catch(e){}}();
module.exports=[594214,90695,5515,544027,434904,618180,781027,41100,a=>{"use strict";var b=a.i(829091);a.i(912466);var c=a.i(526156);function d({className:a,children:d,...e}){return(0,c.jsx)("section",{className:(0,b.cn)("py-16 md:py-28 lg:py-36 overflow-hidden content-visibility-auto",a),...e,children:d})}function e({className:a,children:d,...e}){return(0,c.jsx)("div",{className:(0,b.cn)("container mx-auto px-4 md:px-12 lg:px-16 max-w-7xl",a),...e,children:d})}function f({level:a=2,size:d,variant:e="dark",align:f="left",subtitle:g,children:h,className:i,subtitleClassName:j,badgeStyle:k="industrial"}){let l=`h${a}`,m=d||String(a);return(0,c.jsxs)("div",{className:(0,b.cn)("mb-6 md:mb-8",{left:"text-left",center:"text-center mx-auto",right:"text-right"}[f],i),children:[g&&"industrial"===k&&(0,c.jsxs)("span",{className:(0,b.cn)("inline-flex items-center space-x-2 px-3 py-1.5 rounded-full mb-6 border shadow-sm text-xs font-bold uppercase tracking-widest","white"===e?"bg-white/10 text-white border-white/20":"bg-primary/5 text-primary border-primary/20",j),children:[(0,c.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,c.jsx)("span",{className:(0,b.cn)("animate-ping absolute inline-flex h-full w-full rounded-full opacity-75","white"===e?"bg-white":"bg-primary")}),(0,c.jsx)("span",{className:(0,b.cn)("relative inline-flex rounded-full h-2 w-2","white"===e?"bg-white":"bg-primary")})]}),(0,c.jsx)("span",{children:g})]}),g&&"simple"===k&&(0,c.jsx)("span",{className:(0,b.cn)("inline-block font-bold tracking-widest uppercase text-xs md:text-sm mb-3 md:mb-4 animate-fade-in","white"===e?"text-white/80":"text-accent",j),children:g}),(0,c.jsx)(l,{className:(0,b.cn)({hero:"font-heading text-4xl md:text-5xl lg:text-6xl font-black tracking-tight !leading-[0.9]",section:"font-heading text-3xl md:text-4xl lg:text-5xl font-extrabold tracking-tight !leading-[0.95]",subsection:"font-heading text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight leading-tight",card:"text-xl md:text-2xl font-bold leading-snug",small:"text-lg font-semibold leading-snug",1:"text-2xl md:text-4xl lg:text-5xl font-bold leading-[0.9] tracking-tight",2:"text-xl md:text-3xl lg:text-4xl font-bold leading-[0.95] tracking-tight",3:"text-lg md:text-2xl lg:text-3xl font-bold leading-tight tracking-tight",4:"text-lg md:text-xl lg:text-2xl font-bold leading-snug",5:"text-base md:text-lg font-bold leading-normal",6:"text-base md:text-lg font-semibold leading-normal"}[m],{primary:"text-primary",neutral:"text-text-primary",white:"text-white",dark:"text-neutral-dark"}[e]),children:h})]})}function g({className:a,children:d,tag:e="div",...f}){return(0,c.jsx)(e,{className:(0,b.cn)("premium-card overflow-hidden",a),...f,children:d})}function h({className:a,...d}){return(0,c.jsx)("input",{className:(0,b.cn)("w-full px-4 md:px-6 py-2.5 md:py-4 bg-neutral-light/50 border border-neutral-dark/10 rounded-xl md:rounded-2xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent focus:bg-white transition-all duration-300 placeholder:text-neutral-dark/40 text-sm md:text-lg",a),...d})}function i({className:a,...d}){return(0,c.jsx)("textarea",{className:(0,b.cn)("w-full px-4 md:px-6 py-2.5 md:py-4 bg-neutral-light/50 border border-neutral-dark/10 rounded-xl md:rounded-2xl focus:outline-none focus:ring-2 focus:ring-accent/20 focus:border-accent focus:bg-white transition-all duration-300 placeholder:text-neutral-dark/40 text-sm md:text-lg resize-none",a),...d})}function j({className:a,...d}){return(0,c.jsx)("label",{className:(0,b.cn)("text-[10px] md:text-xs font-extrabold text-primary uppercase tracking-widest",a),...d})}a.s(["Section",()=>d],90695),a.s(["Container",()=>e],5515),a.s(["Heading",()=>f],544027),a.s(["Card",()=>g],434904),a.s(["Input",()=>h],618180),a.s(["Textarea",()=>i],781027),a.s(["Label",()=>j],41100),a.s([],594214)},188457,a=>{"use strict";var b=a.i(526156),c=a.i(150765);a.i(594214);var d=a.i(829091);function e({children:a,className:e,threshold:f=.1,delay:g=0}){let[h,i]=(0,c.useState)(!1),j=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let a=new IntersectionObserver(([b])=>{b.isIntersecting&&(i(!0),a.unobserve(b.target))},{threshold:f}),b=j.current;return b&&a.observe(b),()=>{b&&a.unobserve(b)}},[f]),(0,b.jsx)("div",{ref:j,className:(0,d.cn)("reveal-on-scroll",h&&"is-visible",e),style:{transitionDelay:`${g}ms`},children:a})}a.s(["default",()=>e])},281104,a=>{"use strict";var b=a.i(150765),c=a.i(5423);function d({currentPage:a,totalPages:d,locale:e}){let f=(0,c.useRouter)();return(0,b.useEffect)(()=>{let b=b=>{document.activeElement?.tagName!=="INPUT"&&document.activeElement?.tagName!=="TEXTAREA"&&document.activeElement?.tagName!=="SELECT"&&("ArrowLeft"===b.key&&a>1?f.push(`/${e}/blog?page=${a-1}`):"ArrowRight"===b.key&&a<d&&f.push(`/${e}/blog?page=${a+1}`))};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[a,d,e,f]),null}a.s(["BlogPaginationKeyboardObserver",()=>d])}];
//# debugId=371097cc-74ee-6094-693e-8d3b67267b07
//# debugId=1cdde9f4-07a4-5aac-c7b9-7b6e8de09ebd
//# sourceMappingURL=components_5d55bae9._.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long