UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

39 lines (37 loc) 1.22 kB
/// <reference types="../../index.d.ts" /> import { PropertyValues } from 'lit'; import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina'; import { Scale } from '../interfaces'; import { TabTitle } from '../calcite-tab-title/customElement.js'; import { Tab } from '../calcite-tab/customElement.js'; import { TabLayout, TabPosition } from './interfaces'; /** * @slot - A slot for adding `calcite-tab`s. * @slot [title-group] - A slot for adding a `calcite-tab-nav`. */ export declare class Tabs extends LitElement { /** * When `true`, the component will display with a folder style menu. * * @default false */ bordered: boolean; /** * Specifies the layout of the `calcite-tab-nav`, justifying the `calcite-tab-title`s to the start (`"inline"`), or across and centered (`"center"`). * * @default "inline" */ layout: TabLayout; /** * Specifies the position of `calcite-tab-nav` and `calcite-tab-title` components in relation to the `calcite-tabs`. * * @default "top" */ position: TabPosition; /** * Specifies the size of the component. * * @default "m" */ scale: Scale; }