{"version":3,"file":"MultiSelectWithOther.CT0aSNYc.mjs","names":["useRef","useState","useMemo","__esmMin","init_npm_react_18_3_1","pe","ce","init_jsx_runtime","c","p","_e","de","motion","AnimatePresence","init_framer_motion_DhsWWWsN","ControlType","RenderTarget","init_framer_B1b760uK","addPropertyControls","MultiSelectWithOther","props","isCanvas","containerRef","checked","setChecked","otherChecked","setOtherChecked","customText","setCustomText","otherTyping","setOtherTyping","open","setOpen","focused","setFocused","invalid","setInvalid","hover","setHover","presetOptions","options","s","sep","separator","values","list","o","effectiveValue","onDown","onKey","required","form","onSubmit","toggle","prev","opt","x","activeBorder","invalidBorderColor","focusBorderColor","borderColor","wrapperStyle","font","style","fieldBox","borderWidth","radius","panelStyle","menuOffset","panelBackground","panelBorder","rowStyle","i","hoverBackground","spring","totalRows","color","placeholderColor","placeholder","caretColor","on","CheckBox","checkboxColor","otherLabel","otherPlaceholder","v","checkColor","init_MultiSelectWithOther"],"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,uQAcG,SAAwBmB,EAAqB,EAAM,CAAC,GAAK,CAAC,OAAK,WAAS,cAAY,UAAQ,aAAW,mBAAiB,YAAU,QAAM,mBAAiB,aAAW,cAAY,mBAAiB,sBAAmB,aAAW,gBAAc,cAAY,SAAO,UAAQ,OAAK,cAAW,mBAAgB,cAAY,kBAAgB,aAAW,YAAU,WAAQ,QAAK,UAAOC,EAAYC,EAASL,EAAa,QAAQ,IAAIA,EAAa,OAAaM,EAAatB,EAAO,IAAI,EAAO,CAACuB,EAAQC,GAAYvB,EAAS,CAAC,CAAC,EAAO,CAACwB,EAAa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