diff --git a/packages/core/src/components/Dropdown/DropdownConstants.tsx b/packages/core/src/components/Dropdown/DropdownConstants.tsx new file mode 100644 index 0000000000..996941c8d3 --- /dev/null +++ b/packages/core/src/components/Dropdown/DropdownConstants.tsx @@ -0,0 +1,38 @@ +import { Theme } from "../ThemeProvider/ThemeProviderConstants"; + +export const defaultCustomStyles = (baseStyles: string) => baseStyles; + +export enum ADD_AUTO_HEIGHT_COMPONENTS { + CONTAINER = "container", + CONTROL = "control", + VALUE_CONTAINER = "valueContainer" +} + +export const DROPDOWN_MENU_ARIA_LABEL = "Dropdown menu"; + +export const DROPDOWN_MENU_ID = "dropdown-menu-list-id"; + +export const DROPDOWN_ID = "dropdown-menu-id"; + +export enum DROPDOWN_CHIP_COLORS { + PRIMARY = "PRIMARY", + NEGATIVE = "NEGATIVE", + POSITIVE = "POSITIVE" +} + +export enum DROPDOWN_MENU_POSITION { + ABSOLUTE = "absolute", + FIXED = "fixed" +} + +export enum DROPDOWN_MENU_PLACEMENT { + TOP = "top", + BOTTOM = "bottom", + AUTO = "auto" +} + +export type DropdownOption = { + label: string; + value: string | number | Theme; + isMandatory?: boolean; +};