diff --git a/compiler/src/pre_define.ts b/compiler/src/pre_define.ts index 167c0eb11be3e269d29c4ec66d36c296d32a4e90..b0015f618fe62d3cf9879cfce560cbe1c3616d25 100644 --- a/compiler/src/pre_define.ts +++ b/compiler/src/pre_define.ts @@ -333,6 +333,7 @@ export const SELECT_LOW: string = 'select'; export const CHECKBOX_GROUP: string = 'CheckboxGroup'; export const SELECT_ALL: string = 'selectAll'; export const SELECTED: string = 'selected'; +export const MENU: string = 'Menu'; export const MENU_ITEM: string = 'MenuItem'; export const PANEL: string = 'Panel'; export const RATING_LOW: string = 'rating'; diff --git a/compiler/src/process_component_build.ts b/compiler/src/process_component_build.ts index eff18aee8b1334a2b1964401dc781733a678aaad..567bc09eccb8ab875518ab89ad0ff34008cf0da8 100644 --- a/compiler/src/process_component_build.ts +++ b/compiler/src/process_component_build.ts @@ -22,6 +22,8 @@ import { COMPONENT_POP_FUNCTION, COMPONENT_APPLY_THEME_FUNCTION, COMPONENT_BUTTON, + MENU, + MENU_ITEM, TEXT_PICKER, DATE_PICKER, TIME_PICKER, @@ -206,6 +208,8 @@ const componentsAppliedWithTheme: Set = new Set([ COMPONENT_BUTTON, COMPONENT_PROGRESS, DATE_PICKER, + MENU, + MENU_ITEM, RADIO, SLIDER, TEXT_PICKER,