@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
24 lines (23 loc) • 1.61 kB
TypeScript
/// <reference path="../../index.d.ts" />
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
/**
* @cssproperty [--calcite-shell-border-color] - Specifies the component's border color.
* @slot - A slot for adding custom content. This content will appear between any leading and trailing panels added to the component, such as a map.
* @slot [header] - A slot for adding header content. This content will be positioned at the top of the component.
* @slot [footer] - A slot for adding footer content. This content will be positioned at the bottom of the component.
* @slot [panel-start] - A slot for adding the starting `calcite-shell-panel`.
* @slot [panel-end] - A slot for adding the ending `calcite-shell-panel`.
* @slot [panel-top] - A slot for adding the top `calcite-shell-panel`.
* @slot [panel-bottom] - A slot for adding the bottom `calcite-shell-panel`.
* @slot [dialogs] - A slot for adding `calcite-dialog` components. When placed in this slot, the dialog position will be constrained to the extent of the `calcite-shell`.
* @slot [alerts] - A slot for adding `calcite-alert` components. When placed in this slot, the alert position will be constrained to the extent of the `calcite-shell`.
* @slot [sheets] - A slot for adding `calcite-sheet` components. When placed in this slot, the sheet position will be constrained to the extent of the `calcite-shell`.
*/
export abstract class Shell extends LitElement {
/**
* When `true`, positions the center content behind any `calcite-shell-panel`s.
*
* @default false
*/
accessor contentBehind: boolean;
}