import{_ as __rest,a as __assign}from"./tslib.es6-bjGg6Bxl.js";import React__default,{createContext}from"react";import{N as Navigation}from"./Navigation.component-Q2fi8-qR.js";var tabNavStyles="\n  jn-flex\n",TabNavigationContext=createContext(void 0),TabNavigation=function(a){var b=a.activeItem,c=void 0===b?"":b,d=a.ariaLabel,e=a.children,f=void 0===e?null:e,g=a.className,h=void 0===g?"":g,i=a.disabled,j=a.onActiveItemChange,k=a.tabStyle,l=void 0===k?"main":k,m=__rest(a,["activeItem","ariaLabel","children","className","disabled","onActiveItemChange","tabStyle"]);return React__default.createElement(TabNavigationContext.Provider,{value:{tabStyle:l}},React__default.createElement(Navigation,__assign({activeItem:c,ariaLabel:d,className:"\n          juno-tabnavigation \n          juno-tabnavigation-".concat(l," \n          ").concat(tabNavStyles," \n          ").concat(h,"\n        "),disabled:void 0!==i&&i,onActiveItemChange:j},m),f))};export{TabNavigation as T,TabNavigationContext as a};