"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/jsx-runtime.js"),p=require("../../../../icons/ChevronDown.js"),o=require("../../../../icons/ChevronUp.js"),a=require("../../../Field/dropdown/styles.js"),c=require("../../../Field/styles.js"),t=require("./styles.js");function j({hasError:u,disabled:r,handleClick:n,placeholder:i,visible:x,leadingIcon:s}){return e.jsxRuntimeExports.jsx(t.Wrapper,{children:e.jsxRuntimeExports.jsx(c.Border,{hasError:u,disabled:r,children:e.jsxRuntimeExports.jsxs(a.SelectInput,{role:"button","aria-haspopup":"true",onClick:n,variant:"medium",disabled:r,hasText:!0,children:[s&&e.jsxRuntimeExports.jsx(t.LeadingIconWrapper,{disabled:r,children:s}),i,e.jsxRuntimeExports.jsx("input",{name:"date-picker-select-input","aria-autocomplete":"none"}),e.jsxRuntimeExports.jsx(t.IconWrapper,{disabled:r,children:x?e.jsxRuntimeExports.jsx(o.default,{}):e.jsxRuntimeExports.jsx(p.default,{})})]})})})}exports.DatePickerSelect=j;
