import{_ as __rest,a as __assign}from"./tslib.es6-bjGg6Bxl.js";import React__default from"react";import{N as NavigationItem}from"./NavigationItem.component-DcH7SF-F.js";var sideNavItemStyles="\n  jn-flex\n  jn-items-center\n  jn-w-full\n  jn-py-1.5\n  jn-px-8\n  jn-text-theme-default\n  jn-font-bold\n  jn-cursor-pointer\n  focus-visible:jn-outline-none\n  focus-visible:jn-ring-2\n  focus-visible:jn-ring-theme-focus\n",sideNavActiveItemStyles="\n  jn-font-bold\n  jn-text-theme-sidenavigation-item-active\n  jn-bg-theme-sidenavigation-item-active\n",SideNavigationItem=function(a){var b=a.active,c=a.ariaLabel,d=void 0===c?"":c,e=a.children,f=a.className,g=void 0===f?"":f,h=a.disabled,i=a.icon,j=void 0===i?null:i,k=a.label,l=void 0===k?"":k,m=a.href,n=void 0===m?"":m,o=a.onClick,p=a.value,q=void 0===p?"":p,r=__rest(a,["active","ariaLabel","children","className","disabled","icon","label","href","onClick","value"]);return React__default.createElement(NavigationItem,__assign({active:void 0!==b&&b,activeItemStyles:sideNavActiveItemStyles,ariaLabel:d,className:"juno-sidenavigation-item ".concat(sideNavItemStyles," ").concat(g),disabled:void 0!==h&&h,icon:j,label:l,href:n,onClick:o,value:q},r),e)};export{SideNavigationItem as S};