{"version":3,"file":"ToC.CXH48-Me.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/nOthig0r9El171fuBHyH/z4V53bdAoc2v5COOSaoA/ToC.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function DynamicTableOfContents({// Layout\nstackDirection=\"horizontal\",gap=0,// Navigation Styling\nnavBackgroundColor=\"#f8fafc\",navTextColor=\"#64748b\",navActiveColor=\"#0ea5e9\",navFontFamily=\"Inter, system-ui, sans-serif\",navFontSize=16,navFontWeight=\"400\",navWidth=320,navItemPadding=12,navBorderRadius=8,navPadding=32,navIndentSize=16,navBoxShadow=\"none\",// Content Styling\ncontentBackgroundColor=\"#ffffff\",contentHeadingColor=\"#1e293b\",contentTextColor=\"#475569\",contentFontSize=16,contentLineHeight=1.6,contentMaxWidth=1024,contentPadding=48,contentBoxShadow=\"none\",// TOC Behavior\nminHeadingLevel=2,maxHeadingLevel=2,scrollOffset=80,smoothScroll=true,updateURL=true,stickyNav=true,// Mobile\nhideNavOnMobile=true,mobileBreakpoint=768,// Content\ncontent=`<h2>Introduction to the Topic</h2>\n<p>This is an example of dynamic content. The table of contents will automatically detect all headings and create navigation links.</p>\n\n<h2>Main Features</h2>\n<p>Here's what makes this component powerful and flexible.</p>\n\n<h3>Automatic Detection</h3>\n<p>The component scans your content and finds all headings automatically. No manual configuration needed.</p>\n\n<h3>Smooth Scrolling</h3>\n<p>When you click a navigation item, it smoothly scrolls to that section with a configurable offset.</p>\n\n<h2>Advanced Capabilities</h2>\n<p>The table of contents adapts to your content structure.</p>\n\n<h3>Nested Navigation</h3>\n<p>Subheadings are automatically indented to show the content hierarchy.</p>\n\n<h3>Active Section Tracking</h3>\n<p>As you scroll, the navigation highlights which section you're currently reading.</p>\n\n<h2>Customization Options</h2>\n<p>Every aspect of the appearance can be customized through the control panel.</p>\n\n<h3>Colors and Typography</h3>\n<p>Choose your own colors, fonts, and sizing to match your brand.</p>\n\n<h3>Layout and Spacing</h3>\n<p>Control padding, gaps, and the overall layout structure.</p>\n\n<h2>Conclusion</h2>\n<p>This component provides a complete, professional table of contents solution that works with any content.</p>`}){const[headings,setHeadings]=useState([]);const[activeId,setActiveId]=useState(\"\");const[isMobile,setIsMobile]=useState(false);const contentRef=useRef(null);const observerRef=useRef(null);// Configuration\nconst config={stackDirection,gap,navBackgroundColor,navTextColor,navActiveColor,navFontFamily,navFontSize,navFontWeight,navWidth,navItemPadding,navBorderRadius,navPadding,navIndentSize,navBoxShadow,contentBackgroundColor,contentHeadingColor,contentTextColor,contentFontSize,contentLineHeight,contentMaxWidth,contentPadding,contentBoxShadow,minHeadingLevel,maxHeadingLevel,scrollOffset,smoothScroll,updateURL,stickyNav,hideNavOnMobile,mobileBreakpoint};// Handle mobile breakpoint\nuseEffect(()=>{const checkMobile=()=>{setIsMobile(window.innerWidth<config.mobileBreakpoint);};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[config.mobileBreakpoint]);// Extract headings from content\nuseEffect(()=>{if(!contentRef.current)return;const parser=new DOMParser;const doc=parser.parseFromString(content,\"text/html\");const headingElements=Array.from(doc.querySelectorAll(Array.from({length:config.maxHeadingLevel-config.minHeadingLevel+1},(_,i)=>`h${config.minHeadingLevel+i}`).join(\", \")));const extractedHeadings=headingElements.map((heading,index)=>{const level=parseInt(heading.tagName.substring(1));const text=heading.textContent;const id=`heading-${index}-${text.toLowerCase().replace(/[^a-z0-9]+/g,\"-\")}`;return{id,text,level};});setHeadings(extractedHeadings);// Add IDs to actual rendered headings\nif(contentRef.current){const renderedHeadings=contentRef.current.querySelectorAll(Array.from({length:config.maxHeadingLevel-config.minHeadingLevel+1},(_,i)=>`h${config.minHeadingLevel+i}`).join(\", \"));renderedHeadings.forEach((heading,index)=>{if(extractedHeadings[index]){heading.id=extractedHeadings[index].id;}});}},[content,config.minHeadingLevel,config.maxHeadingLevel]);// Intersection Observer for active section tracking\nuseEffect(()=>{if(!contentRef.current||headings.length===0)return;const headingElements=headings.map(h=>document.getElementById(h.id)).filter(Boolean);if(headingElements.length===0)return;const observerOptions={root:contentRef.current,rootMargin:`-${config.scrollOffset}px 0px -80% 0px`,threshold:0};const observerCallback=entries=>{entries.forEach(entry=>{if(entry.isIntersecting){setActiveId(entry.target.id);if(config.updateURL){window.history.replaceState(null,\"\",`#${entry.target.id}`);}}});};observerRef.current=new IntersectionObserver(observerCallback,observerOptions);headingElements.forEach(heading=>{observerRef.current.observe(heading);});return()=>{if(observerRef.current){observerRef.current.disconnect();}};},[headings,config.scrollOffset,config.updateURL]);// Handle navigation click\nconst handleNavClick=id=>{const element=document.getElementById(id);const scrollContainer=contentRef.current;if(!element||!scrollContainer)return;// Get the element's position relative to the scroll container\nconst elementTop=element.offsetTop;const offsetPosition=elementTop-config.scrollOffset;if(config.smoothScroll){scrollContainer.scrollTo({top:offsetPosition,behavior:\"smooth\"});}else{scrollContainer.scrollTop=offsetPosition;}setActiveId(id);if(config.updateURL){window.history.pushState(null,\"\",`#${id}`);}};// Calculate indent level\nconst getIndentLevel=level=>{return(level-config.minHeadingLevel)*config.navIndentSize;};// Determine if nav should be shown\nconst showNav=!(config.hideNavOnMobile&&isMobile);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:config.stackDirection===\"vertical\"?\"column\":\"row\",gap:showNav?`${config.gap}px`:\"0\",width:\"100%\",height:isMobile?\"auto\":\"100vh\",minHeight:isMobile?\"100vh\":\"auto\",overflow:isMobile?\"visible\":\"hidden\"},children:[showNav&&/*#__PURE__*/_jsx(\"nav\",{role:\"navigation\",\"aria-label\":\"Table of contents\",style:{backgroundColor:config.navBackgroundColor,width:config.stackDirection===\"vertical\"?\"100%\":`${config.navWidth}px`,height:config.stackDirection===\"vertical\"?\"auto\":\"100vh\",overflowY:config.stackDirection===\"vertical\"?\"visible\":\"auto\",flexShrink:0,padding:`${config.navPadding}px`,position:config.stickyNav&&config.stackDirection===\"horizontal\"?\"sticky\":\"relative\",top:0,boxShadow:config.navBoxShadow},children:/*#__PURE__*/_jsx(\"ul\",{style:{listStyle:\"none\",margin:0,padding:0},children:headings.map(heading=>/*#__PURE__*/_jsx(\"li\",{style:{marginBottom:\"4px\"},children:/*#__PURE__*/_jsx(\"button\",{onClick:()=>handleNavClick(heading.id),\"aria-current\":activeId===heading.id?\"location\":undefined,style:{display:\"block\",width:\"100%\",textAlign:\"left\",border:\"none\",background:\"transparent\",cursor:\"pointer\",color:activeId===heading.id?config.navActiveColor:config.navTextColor,fontFamily:config.navFontFamily,fontSize:`${config.navFontSize}px`,fontWeight:activeId===heading.id?\"600\":config.navFontWeight,padding:`${config.navItemPadding}px 16px`,paddingLeft:`${16+getIndentLevel(heading.level)}px`,borderRadius:`${config.navBorderRadius}px`,transition:\"all 0.2s ease\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.5)\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"transparent\";},children:heading.text})},heading.id))})}),/*#__PURE__*/_jsxs(\"main\",{ref:contentRef,style:{backgroundColor:config.contentBackgroundColor,flex:1,height:isMobile?\"auto\":config.stackDirection===\"vertical\"?\"auto\":\"100vh\",overflowY:isMobile?\"visible\":config.stackDirection===\"vertical\"?\"visible\":\"auto\",padding:`${config.contentPadding}px`,boxShadow:config.contentBoxShadow},children:[/*#__PURE__*/_jsx(\"article\",{style:{maxWidth:`${config.contentMaxWidth}px`,margin:\"0 auto\",fontSize:`${config.contentFontSize}px`,lineHeight:config.contentLineHeight,color:config.contentTextColor,boxShadow:\"none\"},dangerouslySetInnerHTML:{__html:content}}),/*#__PURE__*/_jsx(\"style\",{children:`\n          article h1, article h2, article h3, article h4, article h5, article h6 {\n            color: ${config.contentHeadingColor};\n            font-weight: 700;\n            margin-top: 2em;\n            margin-bottom: 0.75em;\n            line-height: 1.3;\n          }\n          \n          article h1 { font-size: 2.5em; }\n          article h2 { font-size: 2em; }\n          article h3 { font-size: 1.5em; }\n          article h4 { font-size: 1.25em; }\n          article h5 { font-size: 1.1em; }\n          article h6 { font-size: 1em; }\n          \n          article h1:first-child,\n          article h2:first-child,\n          article h3:first-child,\n          article h4:first-child,\n          article h5:first-child,\n          article h6:first-child {\n            margin-top: 0;\n          }\n          \n          article p {\n            margin-bottom: 1em;\n          }\n          \n          article p:last-child {\n            margin-bottom: 0;\n          }\n          \n          article a {\n            color: ${config.navActiveColor};\n            text-decoration: underline;\n          }\n          \n          article a:hover {\n            opacity: 0.8;\n          }\n          \n          article ul, article ol {\n            margin-bottom: 1em;\n            padding-left: 2em;\n          }\n          \n          article li {\n            margin-bottom: 0.5em;\n          }\n          \n          article strong {\n            font-weight: 600;\n          }\n          \n          article em {\n            font-style: italic;\n          }\n          \n          article code {\n            background-color: rgba(0, 0, 0, 0.05);\n            padding: 0.2em 0.4em;\n            border-radius: 3px;\n            font-family: monospace;\n            font-size: 0.9em;\n          }\n          \n          article pre {\n            background-color: rgba(0, 0, 0, 0.05);\n            padding: 1em;\n            border-radius: 8px;\n            overflow-x: auto;\n            margin-bottom: 1em;\n          }\n          \n          article pre code {\n            background: none;\n            padding: 0;\n          }\n        `})]})]});}// Framer Property Controls\naddPropertyControls(DynamicTableOfContents,{// ===== CONTENT =====\ncontent:{type:ControlType.String,title:\"HTML Content\",displayTextArea:true,defaultValue:`<h2>Introduction to the Topic</h2>\n<p>This is an example of dynamic content. The table of contents will automatically detect all headings and create navigation links.</p>\n\n<h2>Main Features</h2>\n<p>Here's what makes this component powerful and flexible.</p>\n\n<h3>Automatic Detection</h3>\n<p>The component scans your content and finds all headings automatically. No manual configuration needed.</p>\n\n<h3>Smooth Scrolling</h3>\n<p>When you click a navigation item, it smoothly scrolls to that section with a configurable offset.</p>\n\n<h2>Advanced Capabilities</h2>\n<p>The table of contents adapts to your content structure.</p>\n\n<h3>Nested Navigation</h3>\n<p>Subheadings are automatically indented to show the content hierarchy.</p>\n\n<h3>Active Section Tracking</h3>\n<p>As you scroll, the navigation highlights which section you're currently reading.</p>\n\n<h2>Conclusion</h2>\n<p>This component provides a complete, professional table of contents solution that works with any content.</p>`},// ===== TOC BEHAVIOR =====\nminHeadingLevel:{type:ControlType.Enum,title:\"Min Heading Level\",options:[1,2,3,4,5,6],optionTitles:[\"H1\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\"],defaultValue:2},maxHeadingLevel:{type:ControlType.Enum,title:\"Max Heading Level\",options:[1,2,3,4,5,6],optionTitles:[\"H1\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\"],defaultValue:2},scrollOffset:{type:ControlType.Number,title:\"Scroll Offset\",min:0,max:200,step:10,defaultValue:80,unit:\"px\"},smoothScroll:{type:ControlType.Boolean,title:\"Smooth Scroll\",defaultValue:true},updateURL:{type:ControlType.Boolean,title:\"Update URL Hash\",defaultValue:true},stickyNav:{type:ControlType.Boolean,title:\"Sticky Navigation\",defaultValue:true},// ===== LAYOUT =====\nstackDirection:{type:ControlType.Enum,title:\"Stack Direction\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"Horizontal\",\"Vertical\"],defaultValue:\"horizontal\"},gap:{type:ControlType.Number,title:\"Gap Between Nav & Content\",min:0,max:100,step:4,defaultValue:0,unit:\"px\"},// ===== MOBILE =====\nhideNavOnMobile:{type:ControlType.Boolean,title:\"Hide Nav on Mobile\",defaultValue:true},mobileBreakpoint:{type:ControlType.Number,title:\"Mobile Breakpoint\",min:320,max:1024,step:1,defaultValue:768,unit:\"px\"},// ===== NAVIGATION STYLING =====\nnavBackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#f8fafc\"},navTextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#64748b\"},navActiveColor:{type:ControlType.Color,title:\"Active Color\",defaultValue:\"#0ea5e9\"},navFontFamily:{type:ControlType.String,title:\"Font Family\",defaultValue:\"Inter, system-ui, sans-serif\"},navFontSize:{type:ControlType.Number,title:\"Font Size\",min:12,max:24,step:1,defaultValue:16,unit:\"px\"},navFontWeight:{type:ControlType.Enum,title:\"Font Weight\",options:[\"300\",\"400\",\"500\",\"600\",\"700\"],optionTitles:[\"Light\",\"Regular\",\"Medium\",\"Semibold\",\"Bold\"],defaultValue:\"400\"},navWidth:{type:ControlType.Number,title:\"Width\",min:200,max:500,step:10,defaultValue:320,unit:\"px\",hidden:props=>props.stackDirection===\"vertical\"},navItemPadding:{type:ControlType.Number,title:\"Item Padding\",min:4,max:24,step:2,defaultValue:12,unit:\"px\"},navBorderRadius:{type:ControlType.Number,title:\"Item Border Radius\",min:0,max:20,step:1,defaultValue:8,unit:\"px\"},navPadding:{type:ControlType.Number,title:\"Container Padding\",min:0,max:100,step:4,defaultValue:32,unit:\"px\"},navIndentSize:{type:ControlType.Number,title:\"Nested Indent Size\",min:0,max:40,step:4,defaultValue:16,unit:\"px\"},navBoxShadow:{type:ControlType.String,title:\"Box Shadow\",defaultValue:\"none\",placeholder:\"e.g. 0 2px 10px rgba(0,0,0,0.1)\"},// ===== CONTENT STYLING =====\ncontentBackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#ffffff\"},contentHeadingColor:{type:ControlType.Color,title:\"Heading Color\",defaultValue:\"#1e293b\"},contentTextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#475569\"},contentFontSize:{type:ControlType.Number,title:\"Text Size\",min:12,max:24,step:1,defaultValue:16,unit:\"px\"},contentLineHeight:{type:ControlType.Number,title:\"Line Height\",min:1.2,max:2.5,step:.1,defaultValue:1.6},contentMaxWidth:{type:ControlType.Number,title:\"Max Width\",min:600,max:1600,step:50,defaultValue:1024,unit:\"px\"},contentPadding:{type:ControlType.Number,title:\"Container Padding\",min:0,max:150,step:8,defaultValue:48,unit:\"px\"},contentBoxShadow:{type:ControlType.String,title:\"Box Shadow\",defaultValue:\"none\",placeholder:\"e.g. 0 2px 10px rgba(0,0,0,0.1)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DynamicTableOfContents\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ToC.map"],"mappings":"6MAA0J,SAAwB,EAAuB,CACzM,iBAAe,aAAa,MAAI,EAChC,qBAAmB,UAAU,eAAa,UAAU,iBAAe,UAAU,gBAAc,+BAA+B,cAAY,GAAG,gBAAc,MAAM,WAAS,IAAI,iBAAe,GAAG,kBAAgB,EAAE,aAAW,GAAG,gBAAc,GAAG,eAAa,OAC1P,yBAAuB,UAAU,sBAAoB,UAAU,mBAAiB,UAAU,kBAAgB,GAAG,oBAAkB,IAAI,kBAAgB,KAAK,iBAAe,GAAG,mBAAiB,OAC3L,kBAAgB,EAAE,kBAAgB,EAAE,eAAa,GAAG,eAAa,GAAK,YAAU,GAAK,YAAU,GAC/F,kBAAgB,GAAK,mBAAiB,IACtC,UAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kHA+B0G,CAAC,GAAK,CAAC,EAAS,GAAaA,EAAS,EAAE,CAAC,CAAM,CAAC,EAAS,GAAaA,EAAS,GAAG,CAAM,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAO,EAAWC,EAAO,KAAK,CAAO,EAAYA,EAAO,KAAK,CACvS,EAAO,CAAC,iBAAe,MAAI,qBAAmB,eAAa,iBAAe,gBAAc,cAAY,gBAAc,WAAS,iBAAe,kBAAgB,aAAW,gBAAc,eAAa,yBAAuB,sBAAoB,mBAAiB,kBAAgB,oBAAkB,kBAAgB,iBAAe,mBAAiB,kBAAgB,kBAAgB,eAAa,eAAa,YAAU,YAAU,kBAAgB,mBAAiB,CACnc,MAAc,CAAC,IAAM,MAAgB,CAAC,EAAY,EAAO,WAAW,EAAO,iBAAiB,EAA+D,OAA5D,GAAa,CAAC,EAAO,iBAAiB,SAAS,EAAY,KAAW,EAAO,oBAAoB,SAAS,EAAY,EAAG,CAAC,EAAO,iBAAiB,CAA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