2023-05-09 03:29:12 +03:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright 2023 Google LLC
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2024-02-23 21:01:21 +03:00
|
|
|
import {CSSResultOrNative} from 'lit';
|
2023-05-09 03:29:12 +03:00
|
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
|
2023-07-24 22:02:25 +03:00
|
|
|
import {Tabs} from './internal/tabs.js';
|
2024-02-29 03:19:39 +03:00
|
|
|
import {styles} from './internal/tabs-styles.js';
|
2023-05-09 03:29:12 +03:00
|
|
|
|
|
|
|
declare global {
|
|
|
|
interface HTMLElementTagNameMap {
|
|
|
|
'md-tabs': MdTabs;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// TODO(b/267336507): add docs
|
|
|
|
/**
|
|
|
|
* @summary Tabs displays a list of selectable tabs.
|
|
|
|
*
|
2024-02-23 01:14:27 +03:00
|
|
|
* @final
|
|
|
|
* @suppress {visibility}
|
2023-05-09 03:29:12 +03:00
|
|
|
*/
|
|
|
|
@customElement('md-tabs')
|
|
|
|
export class MdTabs extends Tabs {
|
2024-02-23 21:01:21 +03:00
|
|
|
static override styles: CSSResultOrNative[] = [styles];
|
2023-05-09 03:29:12 +03:00
|
|
|
}
|