"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/jsx-runtime.js"),a=require("../../../icons/ChevronRight.js"),l=require("../../BottomSheet/index.js"),o=require("../../Button/index.js"),r=require("../styles.js");function p({showBottomSheet:n,tabs:d,selectedTab:t,dismissText:x,toggleBottomSheet:i,onExpandItemClick:u}){return e.jsxRuntimeExports.jsxs(l.BottomSheet,{isOpened:n,onClose:i,headerContentModifiers:"empty",headerControlsModifiers:"close",height:"100%",children:[e.jsxRuntimeExports.jsx(r.TabList,{children:d.map(s=>e.jsxRuntimeExports.jsxs(r.ExpandedTabItem,{onClick:()=>u(s),disabled:s.disabled,children:[e.jsxRuntimeExports.jsxs(r.ExpandedItemText,{children:[e.jsxRuntimeExports.jsx(r.ExpandedLabel,{selected:s.value===t.value,children:s.label}),s.secondaryText&&e.jsxRuntimeExports.jsx(r.ExpandedSecondary,{children:s.secondaryText})]}),e.jsxRuntimeExports.jsx(a.default,{})]},`expanded-${s.value}`))}),e.jsxRuntimeExports.jsx(r.DismissWrapper,{children:e.jsxRuntimeExports.jsx(o.Button,{variant:"secondary",size:"medium",fullWidth:!0,onClick:i,children:x})})]})}exports.OpenTabs=p;
