@stihl-design-system/components
Version:
Welcome to the STIHL Design System react component library.
8 lines (7 loc) • 750 B
TypeScript
export declare const FLAG_COLOR: readonly ["status-info", "status-warning", "status-negative", "status-positive", "promo-highlight", "promo-neutral"];
/** @deprecated Use the new color names instead. These will be removed in the next stable release. */
export declare const DEPRECATED_FLAG_COLOR: readonly ["grey-light", "yellow-light", "red-light", "green-light", "orange-base"];
/** Maps deprecated color names to their new equivalents. */
export declare const DEPRECATED_FLAG_COLOR_MAP: Record<(typeof DEPRECATED_FLAG_COLOR)[number], (typeof FLAG_COLOR)[number]>;
export type DeprecatedFlagColor = (typeof DEPRECATED_FLAG_COLOR)[number];
export type FlagColor = (typeof FLAG_COLOR)[number] | DeprecatedFlagColor | (string & Record<never, never>);