UNPKG

@synergy-design-system/components

Version:

This package provides the base of the Synergy Design System as native web components. It uses [lit](https://www.lit.dev) and parts of [shoelace](https://shoelace.style/). Synergy officially supports the latest two versions of all major browsers (as define

33 lines (32 loc) 1.14 kB
/** * --------------------------------------------------------------------- * 🔒 AUTOGENERATED BY VENDORISM * Removing this comment will prevent it from being managed by it. * --------------------------------------------------------------------- */ import SynergyElement from '../../internal/synergy-element.js'; import type { CSSResultGroup } from 'lit'; /** * @summary Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content. * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-tab-panel--docs * @status stable * @since 2.0 * * @slot - The tab panel's content. * * @csspart base - The component's base wrapper. * * @cssproperty --padding - The tab panel's padding. */ export default class SynTabPanel extends SynergyElement { static styles: CSSResultGroup; private readonly attrId; private readonly componentId; /** The tab panel's name. */ name: string; /** When true, the tab panel will be shown. */ active: boolean; connectedCallback(): void; handleActiveChange(): void; render(): import("lit").TemplateResult<1>; }