UNPKG

@rhds/elements

Version:

Red Hat Design System Elements

27 lines (26 loc) 921 B
import { LitElement } from 'lit'; import { type ColorPalette } from '../../context/color/provider.js'; import type { Color } from '@rhds/tokens/js/types.js'; import '@rhds/elements/rh-tooltip/rh-tooltip.js'; export declare class ContextChangeEvent extends Event { colorPalette: ColorPalette; constructor(colorPalette: ColorPalette); } export declare class RhContextPicker extends LitElement { #private; static formAssociated: boolean; static readonly styles: CSSStyleSheet[]; static readonly palettes: Map<ColorPalette, Color>; private static paletteNames; shadowRoot: ShadowRoot; /** ID of context element to toggle (same root) */ target?: string; value: ColorPalette; private on?; allow: ColorPalette[]; render(): import("lit").TemplateResult<1>; formStateRestoreCallback(state: string): void; firstUpdated(): void; focus(): void; sync(): void; }