{"version":3,"file":"UDropdown.spec.ts.mjs","names":["exports"],"sources":["../../../../src/components/UDropdown/__snapshots__/UDropdown.spec.ts.snap"],"sourcesContent":["// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html\n\nexports[`UDropdown renders > should render correctly 1`] = `\n\"<div class=\\\\\"box-border relative flex flex-col gap-1.5 w-full\\\\\">\n  <!---->\n  <div class=\\\\\"field box-border flex items-center gap-2 font-regular rounded-md border px-3.5 max-h-[44px] border-gray-300\\\\\">\n    <!---->\n    <!---->\n    <!---->\n    <!---->\n    <div class=\\\\\"box-border flex-grow select-none bg-transparent font-regular text-gray-900 text-text-md py-2.5 overflow-hidden\\\\\">\n      <div class=\\\\\"placeholder font-regular text-gray-500 text-text-md\\\\\">\n        <!---->\n      </div>\n      <!---->\n    </div><i color=\\\\\"gray-500\\\\\" ishover=\\\\\"false\\\\\" isactive=\\\\\"false\\\\\" aria-hidden=\\\\\"true\\\\\" class=\\\\\"undefined-icon flex box-border\\\\\"><svg class=\\\\\"u-icon__svg hover:stroke-gray-600 stroke-gray-500\\\\\" style=\\\\\"height: 20px; width: 20px;\\\\\" xmlns=\\\\\"http://www.w3.org/2000/svg\\\\\" viewBox=\\\\\"0 0 24 24\\\\\" role=\\\\\"img\\\\\" aria-hidden=\\\\\"true\\\\\" fill=\\\\\"none\\\\\">\n        <path d=\\\\\"M6 9L12 15L18 9\\\\\" stroke-width=\\\\\"2\\\\\" stroke-linecap=\\\\\"round\\\\\" stroke-linejoin=\\\\\"round\\\\\"></path>\n      </svg></i>\n  </div>\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n</div>\"\n`;\n\nexports[`UDropdown renders > should render correctly disabled 1`] = `\n\"<div class=\\\\\"box-border relative flex flex-col gap-1.5 w-full\\\\\">\n  <!---->\n  <div class=\\\\\"field box-border flex items-center gap-2 font-regular rounded-md border px-3.5 max-h-[44px] border-gray-300 bg-gray-50 cursor-not-allowed\\\\\">\n    <!---->\n    <!---->\n    <!---->\n    <!---->\n    <div class=\\\\\"box-border flex-grow select-none bg-transparent font-regular text-gray-900 text-text-md py-2.5 overflow-hidden cursor-not-allowed\\\\\">\n      <div class=\\\\\"placeholder font-regular text-gray-500 text-text-md\\\\\">\n        <!---->\n      </div>\n      <!---->\n    </div><i color=\\\\\"gray-500\\\\\" ishover=\\\\\"false\\\\\" isactive=\\\\\"false\\\\\" aria-hidden=\\\\\"true\\\\\" class=\\\\\"undefined-icon flex box-border\\\\\"><svg class=\\\\\"u-icon__svg hover:stroke-gray-600 stroke-gray-500\\\\\" style=\\\\\"height: 20px; width: 20px;\\\\\" xmlns=\\\\\"http://www.w3.org/2000/svg\\\\\" viewBox=\\\\\"0 0 24 24\\\\\" role=\\\\\"img\\\\\" aria-hidden=\\\\\"true\\\\\" fill=\\\\\"none\\\\\">\n        <path d=\\\\\"M6 9L12 15L18 9\\\\\" stroke-width=\\\\\"2\\\\\" stroke-linecap=\\\\\"round\\\\\" stroke-linejoin=\\\\\"round\\\\\"></path>\n      </svg></i>\n  </div>\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n</div>\"\n`;\n\nexports[`UDropdown renders > should render correctly enabled 1`] = `\n\"<div class=\\\\\"box-border relative flex flex-col gap-1.5 w-full\\\\\">\n  <!---->\n  <div class=\\\\\"field box-border flex items-center gap-2 font-regular rounded-md border px-3.5 max-h-[44px] border-gray-300\\\\\">\n    <!---->\n    <!---->\n    <!---->\n    <!---->\n    <div class=\\\\\"box-border flex-grow select-none bg-transparent font-regular text-gray-900 text-text-md py-2.5 overflow-hidden\\\\\">\n      <div class=\\\\\"placeholder font-regular text-gray-500 text-text-md\\\\\">\n        <!---->\n      </div>\n      <!---->\n    </div><i color=\\\\\"gray-500\\\\\" ishover=\\\\\"false\\\\\" isactive=\\\\\"false\\\\\" aria-hidden=\\\\\"true\\\\\" class=\\\\\"undefined-icon flex box-border\\\\\"><svg class=\\\\\"u-icon__svg hover:stroke-gray-600 stroke-gray-500\\\\\" style=\\\\\"height: 20px; width: 20px;\\\\\" xmlns=\\\\\"http://www.w3.org/2000/svg\\\\\" viewBox=\\\\\"0 0 24 24\\\\\" role=\\\\\"img\\\\\" aria-hidden=\\\\\"true\\\\\" fill=\\\\\"none\\\\\">\n        <path d=\\\\\"M6 9L12 15L18 9\\\\\" stroke-width=\\\\\"2\\\\\" stroke-linecap=\\\\\"round\\\\\" stroke-linejoin=\\\\\"round\\\\\"></path>\n      </svg></i>\n  </div>\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n</div>\"\n`;\n\nexports[`UDropdown renders > should render correctly with appendIcon 1`] = `\n\"<div class=\\\\\"box-border relative flex flex-col gap-1.5 w-full\\\\\">\n  <!---->\n  <div class=\\\\\"field box-border flex items-center gap-2 font-regular rounded-md border px-3.5 max-h-[44px] border-gray-300\\\\\">\n    <!---->\n    <!---->\n    <!---->\n    <!---->\n    <div class=\\\\\"box-border flex-grow select-none bg-transparent font-regular text-gray-900 text-text-md py-2.5 overflow-hidden\\\\\">\n      <div class=\\\\\"placeholder font-regular text-gray-500 text-text-md\\\\\">\n        <!---->\n      </div>\n      <!---->\n    </div><i color=\\\\\"gray-500\\\\\" ishover=\\\\\"false\\\\\" isactive=\\\\\"false\\\\\" aria-hidden=\\\\\"true\\\\\" class=\\\\\"undefined-icon flex box-border\\\\\"><svg class=\\\\\"u-icon__svg hover:stroke-gray-600 stroke-gray-500\\\\\" style=\\\\\"height: 20px; width: 20px;\\\\\" xmlns=\\\\\"http://www.w3.org/2000/svg\\\\\" viewBox=\\\\\"0 0 24 24\\\\\" role=\\\\\"img\\\\\" aria-hidden=\\\\\"true\\\\\" fill=\\\\\"none\\\\\">\n        <path d=\\\\\"M20 21C20 19.6044 20 18.9067 19.8278 18.3389C19.44 17.0605 18.4395 16.06 17.1611 15.6722C16.5933 15.5 15.8956 15.5 14.5 15.5H9.5C8.10444 15.5 7.40665 15.5 6.83886 15.6722C5.56045 16.06 4.56004 17.0605 4.17224 18.3389C4 18.9067 4 19.6044 4 21M16.5 7.5C16.5 9.98528 14.4853 12 12 12C9.51472 12 7.5 9.98528 7.5 7.5C7.5 5.01472 9.51472 3 12 3C14.4853 3 16.5 5.01472 16.5 7.5Z\\\\\" stroke-width=\\\\\"2\\\\\" stroke-linecap=\\\\\"round\\\\\" stroke-linejoin=\\\\\"round\\\\\"></path>\n      </svg></i>\n  </div>\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n</div>\"\n`;\n\nexports[`UDropdown renders > should render correctly with hint 1`] = `\n\"<div class=\\\\\"box-border relative flex flex-col gap-1.5 w-full\\\\\">\n  <!---->\n  <div class=\\\\\"field box-border flex items-center gap-2 font-regular rounded-md border px-3.5 max-h-[44px] border-gray-300\\\\\">\n    <!---->\n    <!---->\n    <!---->\n    <!---->\n    <div class=\\\\\"box-border flex-grow select-none bg-transparent font-regular text-gray-900 text-text-md py-2.5 overflow-hidden\\\\\">\n      <div class=\\\\\"placeholder font-regular text-gray-500 text-text-md\\\\\">\n        <!---->\n      </div>\n      <!---->\n    </div><i color=\\\\\"gray-500\\\\\" ishover=\\\\\"false\\\\\" isactive=\\\\\"false\\\\\" aria-hidden=\\\\\"true\\\\\" class=\\\\\"undefined-icon flex box-border\\\\\"><svg class=\\\\\"u-icon__svg hover:stroke-gray-600 stroke-gray-500\\\\\" style=\\\\\"height: 20px; width: 20px;\\\\\" xmlns=\\\\\"http://www.w3.org/2000/svg\\\\\" viewBox=\\\\\"0 0 24 24\\\\\" role=\\\\\"img\\\\\" aria-hidden=\\\\\"true\\\\\" fill=\\\\\"none\\\\\">\n        <path d=\\\\\"M6 9L12 15L18 9\\\\\" stroke-width=\\\\\"2\\\\\" stroke-linecap=\\\\\"round\\\\\" stroke-linejoin=\\\\\"round\\\\\"></path>\n      </svg></i>\n  </div>\n  <!---->\n  <!---->\n  <div class=\\\\\"hint font-regular text-gray-600 text-text-sm\\\\\">hint</div>\n  <!---->\n  <!---->\n  <!---->\n</div>\"\n`;\n\nexports[`UDropdown renders > should render correctly with placeholder 1`] = `\n\"<div class=\\\\\"box-border relative flex flex-col gap-1.5 w-full\\\\\">\n  <!---->\n  <div class=\\\\\"field box-border flex items-center gap-2 font-regular rounded-md border px-3.5 max-h-[44px] border-gray-300\\\\\">\n    <!---->\n    <!---->\n    <!---->\n    <!---->\n    <div class=\\\\\"box-border flex-grow select-none bg-transparent font-regular text-gray-900 text-text-md py-2.5 overflow-hidden\\\\\">\n      <div class=\\\\\"placeholder font-regular text-gray-500 text-text-md\\\\\">placeholder</div>\n      <!---->\n    </div><i color=\\\\\"gray-500\\\\\" ishover=\\\\\"false\\\\\" isactive=\\\\\"false\\\\\" aria-hidden=\\\\\"true\\\\\" class=\\\\\"undefined-icon flex box-border\\\\\"><svg class=\\\\\"u-icon__svg hover:stroke-gray-600 stroke-gray-500\\\\\" style=\\\\\"height: 20px; width: 20px;\\\\\" xmlns=\\\\\"http://www.w3.org/2000/svg\\\\\" viewBox=\\\\\"0 0 24 24\\\\\" role=\\\\\"img\\\\\" aria-hidden=\\\\\"true\\\\\" fill=\\\\\"none\\\\\">\n        <path d=\\\\\"M6 9L12 15L18 9\\\\\" stroke-width=\\\\\"2\\\\\" stroke-linecap=\\\\\"round\\\\\" stroke-linejoin=\\\\\"round\\\\\"></path>\n      </svg></i>\n  </div>\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n</div>\"\n`;\n\nexports[`UDropdown renders > should render correctly with prependIcon 1`] = `\n\"<div class=\\\\\"box-border relative flex flex-col gap-1.5 w-full\\\\\">\n  <!---->\n  <div class=\\\\\"field box-border flex items-center gap-2 font-regular rounded-md border px-3.5 max-h-[44px] border-gray-300\\\\\">\n    <!---->\n    <!---->\n    <!---->\n    <!---->\n    <div class=\\\\\"box-border flex-grow select-none bg-transparent font-regular text-gray-900 text-text-md py-2.5 overflow-hidden\\\\\">\n      <div class=\\\\\"placeholder font-regular text-gray-500 text-text-md\\\\\">\n        <!---->\n      </div>\n      <!---->\n    </div><i color=\\\\\"gray-500\\\\\" ishover=\\\\\"false\\\\\" isactive=\\\\\"false\\\\\" aria-hidden=\\\\\"true\\\\\" class=\\\\\"undefined-icon flex box-border\\\\\"><svg class=\\\\\"u-icon__svg hover:stroke-gray-600 stroke-gray-500\\\\\" style=\\\\\"height: 20px; width: 20px;\\\\\" xmlns=\\\\\"http://www.w3.org/2000/svg\\\\\" viewBox=\\\\\"0 0 24 24\\\\\" role=\\\\\"img\\\\\" aria-hidden=\\\\\"true\\\\\" fill=\\\\\"none\\\\\">\n        <path d=\\\\\"M6 9L12 15L18 9\\\\\" stroke-width=\\\\\"2\\\\\" stroke-linecap=\\\\\"round\\\\\" stroke-linejoin=\\\\\"round\\\\\"></path>\n      </svg></i>\n  </div>\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n</div>\"\n`;\n\nexports[`UDropdown renders > should render error messages 1`] = `\n\"<div class=\\\\\"box-border relative flex flex-col gap-1.5 w-full\\\\\">\n  <!---->\n  <div class=\\\\\"field box-border flex items-center gap-2 font-regular rounded-md border px-3.5 max-h-[44px] border-error-300\\\\\">\n    <!---->\n    <!---->\n    <!---->\n    <!---->\n    <div class=\\\\\"box-border flex-grow select-none bg-transparent font-regular text-gray-900 text-text-md py-2.5 overflow-hidden\\\\\">\n      <div class=\\\\\"placeholder font-regular text-gray-500 text-text-md\\\\\">\n        <!---->\n      </div>\n      <!---->\n    </div><i color=\\\\\"gray-500\\\\\" ishover=\\\\\"false\\\\\" isactive=\\\\\"false\\\\\" aria-hidden=\\\\\"true\\\\\" class=\\\\\"undefined-icon flex box-border\\\\\"><svg class=\\\\\"u-icon__svg hover:stroke-gray-600 stroke-gray-500\\\\\" style=\\\\\"height: 20px; width: 20px;\\\\\" xmlns=\\\\\"http://www.w3.org/2000/svg\\\\\" viewBox=\\\\\"0 0 24 24\\\\\" role=\\\\\"img\\\\\" aria-hidden=\\\\\"true\\\\\" fill=\\\\\"none\\\\\">\n        <path d=\\\\\"M6 9L12 15L18 9\\\\\" stroke-width=\\\\\"2\\\\\" stroke-linecap=\\\\\"round\\\\\" stroke-linejoin=\\\\\"round\\\\\"></path>\n      </svg></i>\n  </div>\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <div>\n    <div class=\\\\\"error font-regular text-error-500 text-text-sm\\\\\">error message</div>\n  </div>\n</div>\"\n`;\n\nexports[`UDropdown renders > should render label 1`] = `\n\"<div class=\\\\\"box-border relative flex flex-col gap-1.5 w-full\\\\\">\n  <div class=\\\\\"label font-medium text-gray-700 text-text-sm\\\\\">label</div>\n  <div class=\\\\\"field box-border flex items-center gap-2 font-regular rounded-md border px-3.5 max-h-[44px] border-gray-300\\\\\">\n    <!---->\n    <!---->\n    <!---->\n    <!---->\n    <div class=\\\\\"box-border flex-grow select-none bg-transparent font-regular text-gray-900 text-text-md py-2.5 overflow-hidden\\\\\">\n      <div class=\\\\\"placeholder font-regular text-gray-500 text-text-md\\\\\">\n        <!---->\n      </div>\n      <!---->\n    </div><i color=\\\\\"gray-500\\\\\" ishover=\\\\\"false\\\\\" isactive=\\\\\"false\\\\\" aria-hidden=\\\\\"true\\\\\" class=\\\\\"undefined-icon flex box-border\\\\\"><svg class=\\\\\"u-icon__svg hover:stroke-gray-600 stroke-gray-500\\\\\" style=\\\\\"height: 20px; width: 20px;\\\\\" xmlns=\\\\\"http://www.w3.org/2000/svg\\\\\" viewBox=\\\\\"0 0 24 24\\\\\" role=\\\\\"img\\\\\" aria-hidden=\\\\\"true\\\\\" fill=\\\\\"none\\\\\">\n        <path d=\\\\\"M6 9L12 15L18 9\\\\\" stroke-width=\\\\\"2\\\\\" stroke-linecap=\\\\\"round\\\\\" stroke-linejoin=\\\\\"round\\\\\"></path>\n      </svg></i>\n  </div>\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n  <!---->\n</div>\"\n`;\n"],"mappings":"AAAA;;AAEAA,OAAO,iDAAiD,uoCAwBvD;AAEDA,OAAO,0DAA0D,wrCAwBhE;AAEDA,OAAO,yDAAyD,uoCAwB/D;AAEDA,OAAO,iEAAiE,2+CAwBvE;AAEDA,OAAO,2DAA2D,0sCAwBjE;AAEDA,OAAO,kEAAkE,ynCAsBxE;AAEDA,OAAO,kEAAkE,uoCAwBxE;AAEDA,OAAO,sDAAsD,2uCA0B5D;AAEDA,OAAO,6CAA6C,2sCAwBnD"}