@scania/tegel
Version:
Tegel Design System
1 lines • 1.17 kB
JavaScript
import{r as t,h as e,H as o}from"./p-2049fab2.js";const r=class{constructor(e){t(this,e)}render(){return e(o,{key:"fc7949be187e1a83b56e8cf3a7fd1ac51a4c76cc",role:"listitem"},e("slot",{key:"998d551d53a7e0b6536a5a45f5e67a7425508f70"}))}};r.style=":host{display:block;width:96px;height:96px}:host ::slotted(a),:host ::slotted(button){all:unset;box-sizing:border-box;border-right:1px solid var(--tds-nav-item-border-color);width:100%;height:100%;border:none;padding:0 12px;display:flex;text-align:center;justify-content:center;align-items:center;flex-direction:column;gap:8px;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);background-color:var(--tds-header-app-launcher-menu-bg);color:var(--tds-header-app-launcher-grid-color);border-radius:4px;transition:background-color 150ms ease}:host ::slotted(a:hover),:host ::slotted(button:hover){background-color:var(--tds-header-app-launcher-grid-hover-background);cursor:pointer}:host ::slotted(a:focus-visible),:host ::slotted(button:focus-visible){outline:2px solid var(--tds-focus-outline-color);box-shadow:0 0 0 1px var(--tds-white);outline-offset:1px;z-index:1}";export{r as tds_header_launcher_grid_item}