From 8796f974626c5a13fd3223366e3584ef7a7d213c Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Wed, 27 Sep 2023 10:30:00 +0300 Subject: [PATCH] refactor: move item and list-box imports to the context-menu (#6546) --- packages/context-menu/src/vaadin-context-menu.js | 2 ++ packages/context-menu/src/vaadin-contextmenu-items-mixin.js | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/context-menu/src/vaadin-context-menu.js b/packages/context-menu/src/vaadin-context-menu.js index 554c515be2..ff3cb79e9a 100644 --- a/packages/context-menu/src/vaadin-context-menu.js +++ b/packages/context-menu/src/vaadin-context-menu.js @@ -4,6 +4,8 @@ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ */ import './vaadin-contextmenu-event.js'; +import './vaadin-context-menu-item.js'; +import './vaadin-context-menu-list-box.js'; import './vaadin-context-menu-overlay.js'; import { html, PolymerElement } from '@polymer/polymer/polymer-element.js'; import { isTouch } from '@vaadin/component-base/src/browser-utils.js'; diff --git a/packages/context-menu/src/vaadin-contextmenu-items-mixin.js b/packages/context-menu/src/vaadin-contextmenu-items-mixin.js index 4ef7588281..6407f52ab1 100644 --- a/packages/context-menu/src/vaadin-contextmenu-items-mixin.js +++ b/packages/context-menu/src/vaadin-contextmenu-items-mixin.js @@ -3,8 +3,6 @@ * Copyright (c) 2016 - 2023 Vaadin Ltd. * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ */ -import './vaadin-context-menu-item.js'; -import './vaadin-context-menu-list-box.js'; import { isTouch } from '@vaadin/component-base/src/browser-utils.js'; /**