Skip to content

Commit

Permalink
Merge branch 'master' into refactor/dropdown-migrate-to-ts-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
talkor committed May 19, 2024
2 parents d0d2b3e + ef4f96b commit a2aa0b2
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions packages/core/src/components/Dropdown/DropdownConstants.tsx
Original file line number Diff line number Diff line change
@@ -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;
};

0 comments on commit a2aa0b2

Please sign in to comment.