{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/ddZAzpRO8BL2E4UDqzbt/slTiaP5BAq7goGasH9RX/NegativeGap.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";export function NegativeGap({gap=-12,direction,distribute=\"center\",alignHorizontal=\"center\",alignVertical=\"center\",fillColorEnabled=false,fill=\"rgba(255, 255, 255, 0)\",children,layoutId,forceRender,layoutIdKey,willChangeTransform,maxWidth,maxHeight,minHeight,minWidth,reverseOrder=false,padding=0,individualPadding=false,T=0,R=0,B=0,L=0,...rest}){const flexDirection=direction===\"vertical\"?\"column\":\"row\";const justifyContent={start:\"flex-start\",center:\"center\",end:\"flex-end\",\"space-between\":\"space-between\"}[distribute];const alignItems=direction===\"vertical\"?alignVertical:alignHorizontal;const containerStyle={display:\"flex\",flexDirection,justifyContent,alignItems,height:\"100%\",padding:individualPadding?undefined:`${padding}px`,paddingTop:individualPadding?`${T}px`:undefined,paddingRight:individualPadding?`${R}px`:undefined,paddingBottom:individualPadding?`${B}px`:undefined,paddingLeft:individualPadding?`${L}px`:undefined,backgroundColor:fillColorEnabled?fill:\"transparent\"};const renderChildren=()=>{const childArray=React.Children.toArray(children);if(childArray.length===0){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",height:\"100%\",width:\"100%\",padding:\"32px\",boxSizing:\"border-box\",backgroundColor:\"#9168F61A\",border:\"1px solid #9168F6\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:\"#9168F6\",fontWeight:\"bold\",fontSize:\"16px\",fontFamily:\"Inter, sans-serif\",textAlign:\"center\"},children:\"Connect to a Frame \u26D3\uFE0E\"}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:\"32px\",color:\"#9168F6\",fontWeight:\"normal\",fontSize:\"14px\",fontFamily:\"Inter, sans-serif\",textAlign:\"center\"},children:[\"Use the three dots or the\",/*#__PURE__*/_jsx(\"br\",{}),\"Connect Elements option\"]})]});}return(reverseOrder?childArray.reverse():childArray).map((child,index)=>/*#__PURE__*/_jsx(motion.div,{layoutId:layoutId,style:{margin:direction===\"vertical\"?`${index===0?0:gap}px 0 0 0`:`0 0 0 ${index===0?0:gap}px`},children:child},index));};return /*#__PURE__*/_jsx(\"div\",{...rest,style:containerStyle,children:renderChildren()});}NegativeGap.defaultProps={gap:-12,direction:\"horizontal\",distribute:\"center\",alignHorizontal:\"center\",alignVertical:\"center\",fillColorEnabled:false,fill:\"#FFFFFF\",reverseOrder:false,padding:0,individualPadding:false,T:0,R:0,B:0,L:0};addPropertyControls(NegativeGap,{direction:{type:ControlType.Enum,title:\"Direction\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"Horizontal\",\"Vertical\"],optionIcons:[\"direction-horizontal\",\"direction-vertical\"],defaultValue:\"horizontal\",displaySegmentedControl:true},distribute:{type:ControlType.Enum,title:\"Distribute\",options:[\"start\",\"center\",\"end\",\"space-between\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Space Between\"],defaultValue:\"center\"},alignHorizontal:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionTitles:[\"Top\",\"Middle\",\"Bottom\"],optionIcons:[\"align-top\",\"align-middle\",\"align-bottom\"],displaySegmentedControl:true,defaultValue:\"center\",hidden:({direction})=>direction===\"vertical\"},alignVertical:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],optionIcons:[\"align-left\",\"align-center\",\"align-right\"],displaySegmentedControl:true,defaultValue:\"center\",hidden:({direction})=>direction===\"horizontal\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:-12,min:-3e3,max:3e3,step:1,displayStepper:true},reverseOrder:{type:ControlType.Boolean,title:\"Reverse Order\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},padding:{type:ControlType.FusedNumber,title:\"Padding\",toggleKey:\"individualPadding\",toggleTitles:[\"Uniform\",\"Individual\"],valueKeys:[\"T\",\"R\",\"B\",\"L\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],defaultValue:0,min:0,max:3e3},fillColorEnabled:{type:ControlType.Boolean,title:\"Fill Color Enabled\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},fill:{type:ControlType.Color,title:\"Fill Color\",defaultValue:\"#FFFFFF\",hidden:({fillColorEnabled})=>!fillColorEnabled},children:{type:ControlType.Array,title:\"Children\",propertyControl:{type:ControlType.ComponentInstance}}});\nexport const __FramerMetadata__ = {\"exports\":{\"NegativeGap\":{\"type\":\"reactComponent\",\"name\":\"NegativeGap\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NegativeGap.map"],
  "mappings": "uJAAAA,IAAkL,SAASC,EAAY,CAAC,IAAAC,EAAI,IAAI,UAAAC,EAAU,WAAAC,EAAW,SAAS,gBAAAC,EAAgB,SAAS,cAAAC,EAAc,SAAS,iBAAAC,EAAiB,GAAM,KAAAC,EAAK,yBAAyB,SAAAC,EAAS,SAAAC,EAAS,YAAAC,EAAY,YAAAC,EAAY,oBAAAC,EAAoB,SAAAC,EAAS,UAAAC,EAAU,UAAAC,EAAU,SAAAC,EAAS,aAAAC,EAAa,GAAM,QAAAC,EAAQ,EAAE,kBAAAC,EAAkB,GAAM,EAAAC,EAAE,EAAE,EAAAC,EAAE,EAAE,EAAAC,EAAE,EAAE,EAAAC,EAAE,EAAE,GAAGC,CAAI,EAAE,CAAC,IAAMC,EAAcvB,IAAY,WAAW,SAAS,MAAYwB,EAAe,CAAC,MAAM,aAAa,OAAO,SAAS,IAAI,WAAW,gBAAgB,eAAe,EAAEvB,CAAU,EAA8EwB,EAAe,CAAC,QAAQ,OAAO,cAAAF,EAAc,eAAAC,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IAAI,EAAE,QAAQ,CAAC,KAAKA,EAAY,YAAY,MAAM,UAAU,UAAU,oBAAoB,aAAa,CAAC,UAAU,YAAY,EAAE,UAAU,CAAC,IAAI,IAAI,IAAI,GAAG,EAAE,YAAY,CAAC,IAAI,IAAI,IAAI,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,EAAE,iBAAiB,CAAC,KAAKA,EAAY,QAAQ,MAAM,qBAAqB,aAAa,GAAM,aAAa,MAAM,cAAc,IAAI,EAAE,KAAK,CAAC,KAAKA,EAAY,MAAM,MAAM,aAAa,aAAa,UAAU,OAAO,CAAC,CAAC,iBAAA9B,CAAgB,IAAI,CAACA,CAAgB,EAAE,SAAS,CAAC,KAAK8B,EAAY,MAAM,MAAM,WAAW,gBAAgB,CAAC,KAAKA,EAAY,iBAAiB,CAAC,CAAC,CAAC",
  "names": ["init_ssg_sandbox_shims", "NegativeGap", "gap", "direction", "distribute", "alignHorizontal", "alignVertical", "fillColorEnabled", "fill", "children", "layoutId", "forceRender", "layoutIdKey", "willChangeTransform", "maxWidth", "maxHeight", "minHeight", "minWidth", "reverseOrder", "padding", "individualPadding", "T", "R", "B", "L", "rest", "flexDirection", "justifyContent", "containerStyle", "p", "childArray", "j", "u", "child", "index", "motion", "addPropertyControls", "ControlType"]
}
