import type { ReactElement, HTMLAttributes, Ref } from "react";
import type SlTabGroupElement from "@shoelace-style/shoelace/dist/components/tab-group/tab-group.js";
import { SlTabShowEvent, SlTabHideEvent } from "../events";
export type { SlTabGroupElement };
export type SlTabGroupTabShowEventDetail = { name: String };
export type SlTabGroupTabShowEvent = SlTabShowEvent<
SlTabGroupElement,
SlTabShowEventDetail
>;
export type SlTabGroupTabHideEventDetail = { name: String };
export type SlTabGroupTabHideEvent = SlTabHideEvent<
SlTabGroupElement,
SlTabHideEventDetail
>;
export interface SlTabGroupProps extends HTMLAttributes {
ref?: Ref;
/**
* The placement of the tabs.
*/
placement?: "top" | "bottom" | "start" | "end";
/**
* When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to
* manual, the tab will receive focus but will not show until the user presses spacebar or enter.
*/
activation?: "auto" | "manual";
/**
* Disables the scroll arrows that appear when tabs overflow.
*/
noScrollControls?: boolean;
/**
* Prevent scroll buttons from being hidden when inactive.
*/
fixedScrollControls?: boolean;
/**
* Emitted when a tab is shown.
*/
onSlTabShow?: (event: SlTabGroupTabShowEvent) => void;
/**
* Emitted when a tab is shown.
*/
onSlTabShowCapture?: (event: SlTabGroupTabShowEvent) => void;
/**
* Emitted when a tab is hidden.
*/
onSlTabHide?: (event: SlTabGroupTabHideEvent) => void;
/**
* Emitted when a tab is hidden.
*/
onSlTabHideCapture?: (event: SlTabGroupTabHideEvent) => void;
}
/**
* Tab groups organize content into a container that shows one section at a time.
*/
export default function SlTabGroup(
props: SlTabGroupProps,
): ReactElement;