import{_ as __rest,a as __assign}from"./tslib.es6-bjGg6Bxl.js";import React__default from"react";import{a as TabList$1}from"./TabPanel-B6oG_h5d.js";import{u as useTabsContext}from"./Tabs.component-NQTjUypo.js";var tabListStyles="\n  jn-flex\n  jn-h-[3.4375rem]\n",getVariantStyles=function(a){return"main"===a?"jn-bg-theme-tab-navigation-top":"codeblocks"===a?"\n        jn-text-sm\n        jn-bg-theme-code-block\n        jn-border-b-[1px]\n        jn-border-theme-codeblock-bar \n      ":"\n        jn-border-b-[1px] \n        jn-border-theme-tab-navigation-content-bottom\n      "},TabList=function(a){var b=a.variant,c=void 0===b?"content":b,d=a.children,e=void 0===d?null:d,f=__rest(a,["variant","children"]),g=useTabsContext()||{},h=g.variant||c;return React__default.createElement(TabList$1,__assign({className:"juno-tablist juno-tablist-".concat(h," ").concat(tabListStyles," ").concat(getVariantStyles(h))},f),e)};TabList.tabsRole="TabList";export{TabList as T};