{"version":3,"file":"CheckBoxGroup.Cfd2cwhX.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText","useState","useRef"],"sources":["https:/framerusercontent.com/modules/EWRW4wOvMcgI2T4bzZ2p/oS8JyMPByWEXKFRToaWr/YIEYJfzvu.js","https:/framerusercontent.com/modules/mc7pLv05EFmIfpHXSitF/f2xa8e0CUhUYuJBuwQS6/CheckBoxGroup.js"],"sourcesContent":["// Generated by Framer (0f5ea8b)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={zjKxA1Zlx:{hover:true,pressed:true}};const cycleOrder=[\"zjKxA1Zlx\",\"n1OrMqLQ6\",\"C1M7Z8Kjb\",\"LV8yqf9B_\",\"AvBRQlM38\"];const serializationHash=\"framer-PTdBM\";const variantClassNames={AvBRQlM38:\"framer-v-s0jjbo\",C1M7Z8Kjb:\"framer-v-10qzhn5\",LV8yqf9B_:\"framer-v-ygmoxy\",n1OrMqLQ6:\"framer-v-1l5p9sj\",zjKxA1Zlx:\"framer-v-ykzmcv\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.2,ease:[.44,0,.56,1],type:\"tween\"};const transition2={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Default:\"zjKxA1Zlx\",Disabled:\"C1M7Z8Kjb\",Error:\"AvBRQlM38\",Loading:\"n1OrMqLQ6\",Success:\"LV8yqf9B_\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"zjKxA1Zlx\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"zjKxA1Zlx\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"n1OrMqLQ6\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"n1OrMqLQ6\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-ykzmcv\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"zjKxA1Zlx\",ref:refBinding,style:{backgroundColor:\"rgb(246, 209, 64)\",borderBottomLeftRadius:49,borderBottomRightRadius:49,borderTopLeftRadius:49,borderTopRightRadius:49,opacity:1,...style},variants:{\"zjKxA1Zlx-hover\":{backgroundColor:\"rgba(246, 209, 64, 0.85)\",opacity:1},\"zjKxA1Zlx-pressed\":{backgroundColor:\"rgba(246, 209, 64, 0.6)\",opacity:1},AvBRQlM38:{backgroundColor:\"rgba(255, 34, 68, 0.15)\",opacity:1},C1M7Z8Kjb:{opacity:.5},LV8yqf9B_:{opacity:1}},...addPropertyOverrides({\"zjKxA1Zlx-hover\":{\"data-framer-name\":undefined},\"zjKxA1Zlx-pressed\":{\"data-framer-name\":undefined},AvBRQlM38:{\"data-framer-name\":\"Error\"},C1M7Z8Kjb:{\"data-framer-name\":\"Disabled\"},LV8yqf9B_:{\"data-framer-name\":\"Success\"},n1OrMqLQ6:{\"data-framer-name\":\"Loading\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7UXVhdHRyb2NlbnRvLTcwMA==\",\"--framer-font-family\":'\"Quattrocento\", \"Quattrocento Placeholder\", serif',\"--framer-font-size\":\"22px\",\"--framer-font-weight\":\"700\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"28px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(23, 19, 17))\",\"--framer-text-transform\":\"capitalize\"},children:\"Send request\"})}),className:\"framer-cd2g4j\",\"data-framer-name\":\"Book now\",fonts:[\"GF;Quattrocento-700\"],layoutDependency:layoutDependency,layoutId:\"zdiW2nr87\",style:{\"--extracted-r6o4lv\":\"rgb(23, 19, 17)\",\"--framer-paragraph-spacing\":\"0px\"},variants:{AvBRQlM38:{\"--extracted-r6o4lv\":\"rgb(255, 34, 68)\"}},verticalAlignment:\"center\",withExternalLayout:true,...addPropertyOverrides({AvBRQlM38:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7UXVhdHRyb2NlbnRvLTcwMA==\",\"--framer-font-family\":'\"Quattrocento\", \"Quattrocento Placeholder\", serif',\"--framer-font-size\":\"22px\",\"--framer-font-weight\":\"700\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"28px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 34, 68))\",\"--framer-text-transform\":\"capitalize\"},children:\"Error\"})})},LV8yqf9B_:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7UXVhdHRyb2NlbnRvLTcwMA==\",\"--framer-font-family\":'\"Quattrocento\", \"Quattrocento Placeholder\", serif',\"--framer-font-size\":\"22px\",\"--framer-font-weight\":\"700\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"28px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(23, 19, 17))\",\"--framer-text-transform\":\"capitalize\"},children:\"Thank You\"})})}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1cadqtt\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"fpMWfhHyl\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-1ffgwym\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"JSRv06579\",style:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(23, 19, 17, 0) 7.208614864864882deg, rgb(23, 19, 17) 342deg)\",mask:\"none\",WebkitMask:\"none\"},variants:{n1OrMqLQ6:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg?width=20&height=20') alpha no-repeat center / cover add\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-c2nit0\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"z7kDwWERm\",style:{backgroundColor:\"rgb(23, 19, 17)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-PTdBM.framer-13j5vpx, .framer-PTdBM .framer-13j5vpx { display: block; }\",\".framer-PTdBM.framer-ykzmcv { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 62px; justify-content: center; overflow: visible; padding: 16px 24px 16px 24px; position: relative; width: 186px; }\",\".framer-PTdBM .framer-cd2g4j { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-PTdBM .framer-1cadqtt { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-PTdBM .framer-1ffgwym { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-PTdBM .framer-c2nit0 { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\".framer-PTdBM.framer-v-1l5p9sj.framer-ykzmcv, .framer-PTdBM.framer-v-10qzhn5.framer-ykzmcv, .framer-PTdBM.framer-v-ygmoxy.framer-ykzmcv, .framer-PTdBM.framer-v-s0jjbo.framer-ykzmcv { cursor: unset; }\",\".framer-PTdBM.framer-v-1l5p9sj .framer-1ffgwym { overflow: hidden; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 61.5\n * @framerIntrinsicWidth 185.5\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"n1OrMqLQ6\":{\"layout\":[\"fixed\",\"fixed\"]},\"C1M7Z8Kjb\":{\"layout\":[\"fixed\",\"fixed\"]},\"LV8yqf9B_\":{\"layout\":[\"fixed\",\"fixed\"]},\"AvBRQlM38\":{\"layout\":[\"fixed\",\"fixed\"]},\"nrv07FA4w\":{\"layout\":[\"fixed\",\"fixed\"]},\"SqPv_Guuj\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerYIEYJfzvu=withCSS(Component,css,\"framer-PTdBM\");export default FramerYIEYJfzvu;FramerYIEYJfzvu.displayName=\"Button 5\";FramerYIEYJfzvu.defaultProps={height:61.5,width:185.5};addPropertyControls(FramerYIEYJfzvu,{variant:{options:[\"zjKxA1Zlx\",\"n1OrMqLQ6\",\"C1M7Z8Kjb\",\"LV8yqf9B_\",\"AvBRQlM38\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerYIEYJfzvu,[{explicitInter:true,fonts:[{cssFamilyName:\"Quattrocento\",source:\"google\",style:\"normal\",uiFamilyName:\"Quattrocento\",url:\"https://fonts.gstatic.com/s/quattrocento/v24/OZpbg_xvsDZQL_LKIF7q4jP_eE3fcqPZsXcM9w.woff2\",weight:\"700\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerYIEYJfzvu\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"n1OrMqLQ6\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"C1M7Z8Kjb\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"LV8yqf9B_\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"AvBRQlM38\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"nrv07FA4w\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"SqPv_Guuj\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"61.5\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"185.5\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./YIEYJfzvu.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useRef,useEffect}from\"react\";/**\n * CheckboxGroup\n * Multi-select checkbox list for Framer native forms.\n * Place INSIDE a Form Builder frame.\n */export default function CheckboxGroup(props){const{options,name,required,layout,typography,checkbox}=props;// Layout\nconst direction=layout?.direction??\"vertical\";const gap=layout?.gap??12;const columns=layout?.columns??2;// Typography — strip textAlign, it has no effect on inline span labels in a flex row\nconst{textAlign:_ignoreAlign,...fontStyles}=typography?.font??{};const textTransform=typography?.textTransform??\"none\";const textColor=typography?.textColor??\"#ffffff\";const selectedColor=typography?.selectedColor??textColor;// Checkbox\nconst checkboxSize=checkbox?.size??22;const checkboxRadius=checkbox?.radius??6;const checkboxBorderColor=checkbox?.borderColor??\"#555555\";const checkboxBorderWidth=checkbox?.borderWidth??2;const checkboxBg=checkbox?.bg??\"#2a2a2a\";const checkboxCheckedBg=checkbox?.checkedBg??\"#e6c050\";const checkboxCheckedIcon=checkbox?.checkedIconColor??\"#1a1a1a\";const checkboxLabelGap=checkbox?.labelGap??14;const[selected,setSelected]=useState([]);const hiddenInputRef=useRef(null);const containerRef=useRef(null);// On invalid: let the browser render its own native bubble (no preventDefault),\n// and scroll the field into view with a 24px top offset.\nuseEffect(()=>{const input=hiddenInputRef.current;if(!input)return;const handleInvalid=()=>{if(containerRef.current){const top=containerRef.current.getBoundingClientRect().top+window.scrollY-24;window.scrollTo({top,behavior:\"smooth\"});}};input.addEventListener(\"invalid\",handleInvalid);return()=>input.removeEventListener(\"invalid\",handleInvalid);},[]);// Sync selected value into the hidden input so Framer's form picks it up\nuseEffect(()=>{if(!hiddenInputRef.current)return;// Preserve visual order from the options list, not click order\nconst value=(options||[]).filter(o=>selected.includes(o)).join(\", \");const nativeSetter=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,\"value\")?.set;nativeSetter?.call(hiddenInputRef.current,value);hiddenInputRef.current.dispatchEvent(new Event(\"input\",{bubbles:true}));hiddenInputRef.current.dispatchEvent(new Event(\"change\",{bubbles:true}));},[selected]);const toggle=option=>{setSelected(prev=>prev.includes(option)?prev.filter(o=>o!==option):[...prev,option]);};const containerStyle=direction===\"grid\"?{display:\"grid\",gridTemplateColumns:`repeat(${columns}, 1fr)`,gap,width:\"100%\"}:{display:\"flex\",flexDirection:direction===\"horizontal\"?\"row\":\"column\",flexWrap:direction===\"horizontal\"?\"wrap\":\"nowrap\",gap,width:\"100%\"};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{width:\"100%\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"input\",{ref:hiddenInputRef,type:\"text\",name:name,defaultValue:\"\",required:required,\"aria-hidden\":\"true\",tabIndex:-1,style:{position:\"absolute\",bottom:0,left:\"50%\",transform:\"translateX(-50%)\",opacity:0,pointerEvents:\"none\",width:1,height:1,padding:0,border:\"none\"}}),/*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:(options||[]).map((option,i)=>/*#__PURE__*/_jsx(CheckboxItem,{label:option,isChecked:selected.includes(option),onToggle:()=>toggle(option),fontStyles:fontStyles,textTransform:textTransform,textColor:textColor,selectedColor:selectedColor,checkboxSize:checkboxSize,checkboxRadius:checkboxRadius,checkboxBorderColor:checkboxBorderColor,checkboxBorderWidth:checkboxBorderWidth,checkboxBg:checkboxBg,checkboxCheckedBg:checkboxCheckedBg,checkboxCheckedIcon:checkboxCheckedIcon,checkboxLabelGap:checkboxLabelGap},i))})]});}// ─── CheckboxItem ─────────────────────────────────────────────────────────────\nfunction CheckboxItem({label,isChecked,onToggle,fontStyles,textTransform,textColor,selectedColor,checkboxSize,checkboxRadius,checkboxBorderColor,checkboxBorderWidth,checkboxBg,checkboxCheckedBg,checkboxCheckedIcon,checkboxLabelGap}){const[hovered,setHovered]=useState(false);return /*#__PURE__*/_jsxs(\"div\",{role:\"checkbox\",\"aria-checked\":isChecked,tabIndex:0,onClick:onToggle,onKeyDown:e=>{if(e.key===\" \"||e.key===\"Enter\"){e.preventDefault();onToggle();}},onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),style:{display:\"flex\",alignItems:\"center\",gap:checkboxLabelGap,cursor:\"pointer\",userSelect:\"none\",outline:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:checkboxSize,height:checkboxSize,flexShrink:0,borderRadius:checkboxRadius,border:`${checkboxBorderWidth}px solid ${isChecked?checkboxCheckedBg:hovered?checkboxCheckedBg+\"88\":checkboxBorderColor}`,background:isChecked?checkboxCheckedBg:checkboxBg,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.15s ease\",boxSizing:\"border-box\"},children:isChecked&&/*#__PURE__*/_jsx(\"svg\",{width:checkboxSize*.6,height:checkboxSize*.6,viewBox:\"0 0 10 8\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 4L3.5 6.5L9 1\",stroke:checkboxCheckedIcon,strokeWidth:\"1.7\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"span\",{style:{...fontStyles,textTransform,color:isChecked?selectedColor:textColor,transition:\"color 0.15s ease\"},children:label})]});}// ─── Defaults ─────────────────────────────────────────────────────────────────\nCheckboxGroup.defaultProps={options:[\"Sauna\",\"Benedikt\",\"Greenhouse\"],name:\"interests\",required:false,layout:{direction:\"vertical\",gap:12,columns:2},typography:{textTransform:\"none\",textColor:\"#ffffff\"},checkbox:{size:22,radius:6,borderColor:\"#555555\",borderWidth:2,bg:\"#2a2a2a\",checkedBg:\"#e6c050\",checkedIconColor:\"#1a1a1a\",labelGap:14}};// ─── Property Controls ────────────────────────────────────────────────────────\naddPropertyControls(CheckboxGroup,{// ── Content\noptions:{type:ControlType.Array,title:\"Options\",control:{type:ControlType.String},defaultValue:[\"Sauna\",\"Benedikt\",\"Greenhouse\"]},name:{type:ControlType.String,title:\"Field Name\",defaultValue:\"interests\",description:\"Key used in form submission (email / Google Sheets)\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false},// ── Layout\nlayout:{type:ControlType.Object,title:\"Layout\",controls:{direction:{type:ControlType.Enum,title:\"Direction\",options:[\"vertical\",\"horizontal\",\"grid\"],optionTitles:[\"Vertical\",\"Horizontal\",\"Grid\"],defaultValue:\"vertical\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:12,min:0,max:64,step:2,displayStepper:true},columns:{type:ControlType.Number,title:\"Columns\",defaultValue:2,min:1,max:6,step:1,displayStepper:true,description:\"Only applies when Direction = Grid\",hidden:props=>props.direction!==\"grid\"}}},// ── Typography\ntypography:{type:ControlType.Object,title:\"Typography\",controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},textTransform:{type:ControlType.Enum,title:\"Transform\",options:[\"none\",\"uppercase\",\"lowercase\",\"capitalize\"],optionTitles:[\"None\",\"UPPERCASE\",\"lowercase\",\"Capitalize\"],defaultValue:\"none\"},textColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#ffffff\"},selectedColor:{type:ControlType.Color,title:\"Selected Color\",optional:true}}},// ── Checkbox\ncheckbox:{type:ControlType.Object,title:\"Checkbox\",controls:{size:{type:ControlType.Number,title:\"Size\",defaultValue:22,min:14,max:40,step:2,displayStepper:true},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:6,min:0,max:20,displayStepper:true},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#555555\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:2,min:0,max:6,step:1,displayStepper:true},bg:{type:ControlType.Color,title:\"Background\",defaultValue:\"#2a2a2a\"},checkedBg:{type:ControlType.Color,title:\"Checked Color\",defaultValue:\"#e6c050\"},checkedIconColor:{type:ControlType.Color,title:\"Checkmark Color\",defaultValue:\"#1a1a1a\"},labelGap:{type:ControlType.Number,title:\"Label Gap\",defaultValue:14,min:4,max:40,displayStepper:true}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CheckboxGroup\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CheckBoxGroup.map"],"mappings":"6WAC+rB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,mDAA9yB,IAA2I,IAAkE,IAA4B,CAAgC,EAAgB,EAAO,EAAO,IAAI,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAA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