{"version":3,"file":"MultiSelectWithOther.c_lPU5Xa.mjs","names":["useRef","useState","useMemo","useEffect","_jsxs","_jsx","__esmMin","init_npm_react_18_3_1","pe","ce","init_jsx_runtime","c","p","_e","de","RenderTarget","init_framer_BWzg2IRg","addPropertyControls","motion","AnimatePresence","init_framer_motion_1EwlFBEG","MultiSelectWithOther","props","name","required","placeholder","options","otherLabel","otherPlaceholder","separator","color","placeholderColor","background","borderColor","focusBorderColor","invalidBorderColor","checkColor","checkboxColor","borderWidth","radius","padding","font","caretColor","panelBackground","panelBorder","hoverBackground","menuOffset","stiffness","damping","mass","style","isCanvas","containerRef","checked","setChecked","otherChecked","setOtherChecked","customText","setCustomText","otherTyping","setOtherTyping","open","setOpen","focused","setFocused","invalid","setInvalid","hover","setHover","presetOptions","s","sep","values","list","o","effectiveValue","onDown","onKey","form","onSubmit","toggle","opt","prev","x","activeBorder","wrapperStyle","fieldBox","panelStyle","rowStyle","i","spring","totalRows","on","CheckBox","v","init_MultiSelectWithOther","ControlType"],"sources":["https:/framerusercontent.com/modules/yQ8Sdif1H3jQGxu5nEPu/kn25l9nVFt1Jy0J54kMo/MultiSelectWithOther.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{AnimatePresence,motion}from\"framer-motion\";import{useEffect,useMemo,useRef,useState}from\"react\";/**\n * Multi-Select with \"Other\"\n * -------------------------\n * A multi-select (checklist) dropdown with your own options plus an \"Other\" row.\n * The Other row shows \"Other: type your answer\" as a placeholder; clicking it\n * enters typing mode. Once typed it shows \"Other: <text>\". The submitted value\n * uses just the text (no \"Other:\" prefix). Typing auto-includes it; it can still\n * be unchecked to exclude while keeping the text.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 320\n * @framerIntrinsicHeight 40\n * @framerDisableUnlink\n */export default function MultiSelectWithOther(props){const{name,required,placeholder,options,otherLabel,otherPlaceholder,separator,color,placeholderColor,background,borderColor,focusBorderColor,invalidBorderColor,checkColor,checkboxColor,borderWidth,radius,padding,font,caretColor,panelBackground,panelBorder,hoverBackground,menuOffset,stiffness,damping,mass,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const containerRef=useRef(null);const[checked,setChecked]=useState([]);const[otherChecked,setOtherChecked]=useState(false);const[customText,setCustomText]=useState(\"\");const[otherTyping,setOtherTyping]=useState(false);const[open,setOpen]=useState(false);const[focused,setFocused]=useState(false);const[invalid,setInvalid]=useState(false);const[hover,setHover]=useState(-1);const presetOptions=useMemo(()=>(options||[]).map(s=>(s||\"\").trim()).filter(Boolean),[options]);const sep=separator||\", \";const values=useMemo(()=>{const list=presetOptions.filter(o=>checked.includes(o));if(otherChecked&&customText.trim())list.push(customText.trim());return list;},[presetOptions,checked,otherChecked,customText]);const effectiveValue=values.join(sep);useEffect(()=>{if(!open){setOtherTyping(false);return;}const onDown=e=>{if(!containerRef.current?.contains(e.target))setOpen(false);};const onKey=e=>{if(e.key===\"Escape\")setOpen(false);};document.addEventListener(\"mousedown\",onDown);document.addEventListener(\"keydown\",onKey);return()=>{document.removeEventListener(\"mousedown\",onDown);document.removeEventListener(\"keydown\",onKey);};},[open]);useEffect(()=>{if(isCanvas||!required)return;const form=containerRef.current?.closest(\"form\");if(!form)return;const onSubmit=e=>{if(!effectiveValue){e.preventDefault();e.stopPropagation();setInvalid(true);}};form.addEventListener(\"submit\",onSubmit,true);return()=>form.removeEventListener(\"submit\",onSubmit,true);},[isCanvas,required,effectiveValue]);const toggle=opt=>{setInvalid(false);setChecked(prev=>prev.includes(opt)?prev.filter(x=>x!==opt):[...prev,opt]);};const activeBorder=invalid?invalidBorderColor:focused||open?focusBorderColor:borderColor;// ---- Styles ----\nconst wrapperStyle={position:\"relative\",width:\"100%\",height:\"100%\",minHeight:\"40px\",...font,...style};const fieldBox={display:\"flex\",alignItems:\"center\",gap:\"8px\",width:\"100%\",height:\"100%\",minHeight:\"40px\",boxSizing:\"border-box\",border:`${borderWidth}px solid ${activeBorder}`,borderRadius:radius,transition:\"border-color 0.15s ease\",padding,background,...font,cursor:\"pointer\",userSelect:\"none\",outline:\"none\"};const panelStyle={position:\"absolute\",top:\"100%\",left:0,width:\"100%\",marginTop:`${menuOffset}px`,background:panelBackground,border:`1px solid ${panelBorder}`,borderRadius:radius,overflow:\"hidden\",maxHeight:\"280px\",overflowY:\"auto\",zIndex:1e3,boxShadow:\"0 8px 24px rgba(15, 23, 42, 0.08)\",listStyle:\"none\",margin:0,padding:0};const rowStyle=i=>({display:\"flex\",alignItems:\"center\",gap:\"10px\",padding,...font,color,cursor:\"pointer\",background:hover===i?hoverBackground:\"transparent\",transition:\"background 0.12s ease\"});const spring={type:\"spring\",stiffness,damping,mass,delay:0};const totalRows=presetOptions.length+(otherLabel?1:0);return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:wrapperStyle,onMouseEnter:()=>setFocused(true),onMouseLeave:()=>setFocused(false),children:[/*#__PURE__*/_jsx(\"input\",{type:\"hidden\",name:name,value:effectiveValue,\"data-required-field\":required?\"true\":undefined}),/*#__PURE__*/_jsxs(\"div\",{style:fieldBox,role:\"button\",\"aria-haspopup\":\"listbox\",\"aria-expanded\":open,\"aria-invalid\":invalid,tabIndex:0,onClick:()=>setOpen(o=>!o),onFocus:()=>setFocused(true),onBlur:()=>setFocused(false),onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"||e.key===\"ArrowDown\"){e.preventDefault();setOpen(true);}},children:[/*#__PURE__*/_jsx(\"span\",{style:{flex:1,minWidth:0,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",...font,color:values.length?color:placeholderColor},children:effectiveValue||placeholder}),/*#__PURE__*/_jsx(motion.svg,{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",style:{flexShrink:0},animate:{rotate:open?180:0},transition:{duration:.2},children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 9l6 6 6-6\",stroke:caretColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]}),/*#__PURE__*/_jsx(AnimatePresence,{children:open&&totalRows>0&&/*#__PURE__*/_jsxs(motion.ul,{role:\"listbox\",\"aria-multiselectable\":true,initial:{opacity:0,y:-10,pointerEvents:\"none\"},animate:{opacity:1,y:0,pointerEvents:\"auto\"},exit:{opacity:0,y:-10,pointerEvents:\"none\"},transition:spring,style:panelStyle,children:[presetOptions.map((opt,i)=>{const on=checked.includes(opt);return /*#__PURE__*/_jsxs(\"li\",{role:\"option\",\"aria-selected\":on,onMouseEnter:()=>setHover(i),onMouseLeave:()=>setHover(-1),onClick:()=>toggle(opt),style:rowStyle(i),children:[/*#__PURE__*/_jsx(CheckBox,{on:on,checkColor:checkColor,borderColor:checkboxColor}),/*#__PURE__*/_jsx(\"span\",{style:{overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},children:opt})]},opt);}),otherLabel&&/*#__PURE__*/_jsxs(\"li\",{role:\"option\",\"aria-selected\":otherChecked,onMouseEnter:()=>setHover(presetOptions.length),onMouseLeave:()=>setHover(-1),onClick:()=>setOtherTyping(true),style:rowStyle(presetOptions.length),children:[/*#__PURE__*/_jsx(\"span\",{onClick:e=>{e.stopPropagation();setInvalid(false);setOtherChecked(c=>!c);},style:{display:\"flex\",flexShrink:0},children:/*#__PURE__*/_jsx(CheckBox,{on:otherChecked,checkColor:checkColor,borderColor:checkboxColor})}),otherTyping?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",flex:1,minWidth:0},children:[/*#__PURE__*/_jsxs(\"span\",{style:{whiteSpace:\"nowrap\",color},children:[otherLabel,\":\\xa0\"]}),/*#__PURE__*/_jsx(\"input\",{autoFocus:true,type:\"text\",value:customText,placeholder:otherPlaceholder,onClick:e=>e.stopPropagation(),onBlur:()=>setOtherTyping(false),onChange:e=>{const v=e.target.value;setCustomText(v);if(v.trim()){setOtherChecked(true);setInvalid(false);}},style:{flex:1,minWidth:0,border:\"none\",outline:\"none\",background:\"transparent\",color,...font,padding:0,margin:0}})]}):/*#__PURE__*/_jsxs(\"span\",{style:{flex:1,minWidth:0,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",color:customText?color:placeholderColor},children:[otherLabel,\":\",\" \",customText||otherPlaceholder]})]})]})})]});}function CheckBox({on,checkColor,borderColor}){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"18px\",height:\"18px\",flexShrink:0,borderRadius:\"5px\",boxSizing:\"border-box\",border:`1.5px solid ${on?checkColor:borderColor}`,background:on?checkColor:\"transparent\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.12s ease\"},children:on&&/*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12l4 4 10-10\",stroke:\"#fff\",strokeWidth:\"3\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})});}MultiSelectWithOther.defaultProps={name:\"Select\",required:true,placeholder:\"Select all that apply...\",options:[\"Option 1\",\"Option 2\",\"Option 3\"],otherLabel:\"Other\",otherPlaceholder:\"type your answer\",separator:\", \",color:\"rgb(15, 23, 42)\",placeholderColor:\"rgb(153, 153, 153)\",background:\"rgba(187, 187, 187, 0.15)\",borderColor:\"rgba(136, 136, 136, 0.1)\",focusBorderColor:\"rgb(0, 153, 255)\",invalidBorderColor:\"rgb(255, 90, 111)\",checkColor:\"rgb(13, 89, 242)\",checkboxColor:\"rgb(190, 211, 233)\",borderWidth:1,radius:\"10px\",padding:\"12px\",font:{fontFamily:\"Instrument Sans\",fontSize:\"14px\",fontWeight:400,lineHeight:\"1.2em\"},caretColor:\"rgb(15, 23, 42)\",panelBackground:\"rgb(250, 250, 250)\",panelBorder:\"rgb(241, 245, 249)\",hoverBackground:\"rgb(243, 244, 246)\",dividerColor:\"rgba(190, 211, 233, 0)\",menuOffset:4,stiffness:500,damping:60,mass:1};addPropertyControls(MultiSelectWithOther,{name:{type:ControlType.String,title:\"Field Name\",defaultValue:\"Select\",description:\"Form field name submitted with the form.\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:true},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Select all that apply...\"},options:{type:ControlType.Array,title:\"Options\",control:{type:ControlType.String},defaultValue:[\"Option 1\",\"Option 2\",\"Option 3\"],description:\"Your checklist options. An 'Other' row is added automatically.\"},otherLabel:{type:ControlType.String,title:\"Other Label\",defaultValue:\"Other\",description:\"Prefix shown on the Other row (e.g. 'Other'). Leave empty to disable the Other row.\"},otherPlaceholder:{type:ControlType.String,title:\"Other Placeholder\",defaultValue:\"type your answer\"},separator:{type:ControlType.String,title:\"Separator\",defaultValue:\", \",description:\"Joins the selected values in the submitted string.\"},color:{type:ControlType.Color,title:\"Text\",defaultValue:\"rgb(15, 23, 42)\"},placeholderColor:{type:ControlType.Color,title:\"Placeholder\",defaultValue:\"rgb(153, 153, 153)\"},background:{type:ControlType.Color,title:\"Fill\",defaultValue:\"rgba(187, 187, 187, 0.15)\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"rgba(136, 136, 136, 0.1)\"},focusBorderColor:{type:ControlType.Color,title:\"Focus Border\",defaultValue:\"rgb(0, 153, 255)\"},invalidBorderColor:{type:ControlType.Color,title:\"Invalid Border\",defaultValue:\"rgb(255, 90, 111)\"},checkColor:{type:ControlType.Color,title:\"Checkbox Fill\",defaultValue:\"rgb(13, 89, 242)\"},checkboxColor:{type:ControlType.Color,title:\"Checkbox Border\",defaultValue:\"rgb(190, 211, 233)\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:8,step:1,unit:\"px\"},radius:{type:ControlType.String,title:\"Radius\",defaultValue:\"10px\"},padding:{type:ControlType.String,title:\"Padding\",defaultValue:\"12px\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:\"1.2em\",letterSpacing:0}},caretColor:{type:ControlType.Color,title:\"Caret\",defaultValue:\"rgb(15, 23, 42)\"},panelBackground:{type:ControlType.Color,title:\"Menu Fill\",defaultValue:\"rgb(250, 250, 250)\"},panelBorder:{type:ControlType.Color,title:\"Menu Border\",defaultValue:\"rgb(241, 245, 249)\"},hoverBackground:{type:ControlType.Color,title:\"Row Hover\",defaultValue:\"rgb(243, 244, 246)\"},dividerColor:{type:ControlType.Color,title:\"Divider (unused)\",defaultValue:\"rgba(190, 211, 233, 0)\"},menuOffset:{type:ControlType.Number,title:\"Menu Gap\",defaultValue:4,min:0,max:40,step:1,unit:\"px\"},stiffness:{type:ControlType.Number,title:\"Stiffness\",defaultValue:500,min:1,max:1e3,step:10},damping:{type:ControlType.Number,title:\"Damping\",defaultValue:60,min:1,max:100,step:1},mass:{type:ControlType.Number,title:\"Mass\",defaultValue:1,min:.1,max:5,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MultiSelectWithOther\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicHeight\":\"40\",\"framerIntrinsicWidth\":\"320\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MultiSelectWithOther.map"],"mappings":"A,oQAcG,SAAwBqB,EAAqBC,EAAM,CAAC,GAAK,CAACC,OAAKC,WAASC,cAAYC,UAAQC,aAAWC,mBAAiBC,YAAUC,QAAMC,mBAAiBC,cAAWC,cAAYC,mBAAiBC,qBAAmBC,aAAWC,gBAAcC,cAAYC,SAAOC,UAAQC,OAAKC,aAAWC,kBAAgBC,cAAYC,kBAAgBC,aAAWC,aAAUC,WAAQC,QAAKC,SAAO5B,EAAY6B,EAASpC,EAAa,QAAQ,IAAIA,EAAa,OAAaqC,EAAapD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