{"version":3,"file":"VerticalDialNav.B3VX752U.mjs","names":[],"sources":["https:/framerusercontent.com/modules/AAbKUmc5OUEyti5uiNNs/w0LwaEnVoSx542Ge2Qft/VerticalDialNav.js"],"sourcesContent":["// Internal Page Navigation with parent and child links\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Internal Page Navigation\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function InternalPageNavigation(props){const{links=[{label:\"Parent\",url:\"/\",children:[]}],activeParentIndex=0,activeChildIndex=-1,textColor=\"#000000\",activeTextColor=\"#000000\",hoverTextColor=\"#000000\",inactiveOpacity=.5,parentPaddingTop=8,parentPaddingRight=16,parentPaddingBottom=8,parentPaddingLeft=16,childPaddingTop=8,childPaddingRight=16,childPaddingBottom=8,childPaddingLeft=16,gap=24,parentGap=12,childGap=12,parentFontSize=15,childFontSize=15,parentFont={fontWeight:500,letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},childFont={fontWeight:500,letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},style}=props;const activeParent=links[activeParentIndex];const childLinks=activeParent?.children||[];return /*#__PURE__*/_jsxs(\"div\",{style:{...style,display:\"flex\",flexDirection:\"row\",gap},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .nav-link {\n                    transition: color 0.3s ease, opacity 0.3s ease;\n                }\n                .nav-link:hover {\n                    color: ${hoverTextColor} !important;\n                    opacity: 1 !important;\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:parentGap,paddingTop:parentPaddingTop,paddingRight:parentPaddingRight,paddingBottom:parentPaddingBottom,paddingLeft:parentPaddingLeft},children:links.map((parentLink,parentIndex)=>{const isParentActive=parentIndex===activeParentIndex;return /*#__PURE__*/_jsx(\"a\",{href:parentLink.url,className:\"nav-link\",style:{textDecoration:\"none\",color:isParentActive?activeTextColor:textColor,opacity:isParentActive?1:inactiveOpacity,display:\"inline-block\",width:\"max-content\",fontSize:parentFontSize,...parentFont},children:parentLink.label},parentIndex);})}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:childGap,paddingTop:childPaddingTop,paddingRight:childPaddingRight,paddingBottom:childPaddingBottom,paddingLeft:childPaddingLeft},children:childLinks.map((childLink,childIndex)=>{const isChildActive=childIndex===activeChildIndex;return /*#__PURE__*/_jsx(\"a\",{href:childLink.url,className:\"nav-link\",style:{textDecoration:\"none\",color:isChildActive?activeTextColor:textColor,opacity:isChildActive?1:inactiveOpacity,display:\"inline-block\",width:\"max-content\",fontSize:childFontSize,...childFont},children:childLink.label},childIndex);})})]});}addPropertyControls(InternalPageNavigation,{links:{type:ControlType.Array,title:\"Links\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Parent\"},url:{type:ControlType.Link,title:\"URL\"},children:{type:ControlType.Array,title:\"Children\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Child\"},url:{type:ControlType.Link,title:\"URL\"}}},defaultValue:[]}}},defaultValue:[{label:\"Parent\",url:\"/\",children:[]}]},activeParentIndex:{type:ControlType.Number,title:\"Active Parent\",defaultValue:0,min:0,step:1,displayStepper:true},activeChildIndex:{type:ControlType.Number,title:\"Active Child\",defaultValue:-1,min:-1,step:1,displayStepper:true},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},activeTextColor:{type:ControlType.Color,title:\"Active Color\",defaultValue:\"#000000\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#000000\"},inactiveOpacity:{type:ControlType.Number,title:\"Inactive Opacity\",defaultValue:.5,min:0,max:1,step:.1},gap:{type:ControlType.Number,title:\"Column Gap\",defaultValue:24,min:0,step:1,displayStepper:true},parentPaddingTop:{type:ControlType.Number,title:\"Parent Padding Top\",defaultValue:8,min:0,step:1,displayStepper:true},parentPaddingRight:{type:ControlType.Number,title:\"Parent Padding Right\",defaultValue:16,min:0,step:1,displayStepper:true},parentPaddingBottom:{type:ControlType.Number,title:\"Parent Padding Bottom\",defaultValue:8,min:0,step:1,displayStepper:true},parentPaddingLeft:{type:ControlType.Number,title:\"Parent Padding Left\",defaultValue:16,min:0,step:1,displayStepper:true},childPaddingTop:{type:ControlType.Number,title:\"Child Padding Top\",defaultValue:8,min:0,step:1,displayStepper:true},childPaddingRight:{type:ControlType.Number,title:\"Child Padding Right\",defaultValue:16,min:0,step:1,displayStepper:true},childPaddingBottom:{type:ControlType.Number,title:\"Child Padding Bottom\",defaultValue:8,min:0,step:1,displayStepper:true},childPaddingLeft:{type:ControlType.Number,title:\"Child Padding Left\",defaultValue:16,min:0,step:1,displayStepper:true},parentGap:{type:ControlType.Number,title:\"Parent Link Gap\",defaultValue:12,min:0,step:1,displayStepper:true},childGap:{type:ControlType.Number,title:\"Child Link Gap\",defaultValue:12,min:0,step:1,displayStepper:true},parentFontSize:{type:ControlType.Number,title:\"Parent Font Size\",defaultValue:15,min:8,max:72,step:1,displayStepper:true},childFontSize:{type:ControlType.Number,title:\"Child Font Size\",defaultValue:15,min:8,max:72,step:1,displayStepper:true},parentFont:{type:ControlType.Font,title:\"Parent Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},displayFontSize:false},childFont:{type:ControlType.Font,title:\"Child Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},displayFontSize:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InternalPageNavigation\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ver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