Skip to content

Commit 8419ac5

Browse files
authored
fix(ui5-shellbar): scope internally used icons (#8613)
Icons used inside ui5-shellbar's template are not scoped because ui5-icon is not described as dependency of it. In addition slim-arrow-down is imported otherwise it wasn't loaded. Fixes: #8609
1 parent f12166d commit 8419ac5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/fiori/src/ShellBar.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import type { ResizeObserverCallback } from "@ui5/webcomponents-base/dist/delega
1717
import Popover from "@ui5/webcomponents/dist/Popover.js";
1818
import Button from "@ui5/webcomponents/dist/Button.js";
1919
import ToggleButton from "@ui5/webcomponents/dist/ToggleButton.js";
20+
import Icon from "@ui5/webcomponents/dist/Icon.js";
2021
import type Input from "@ui5/webcomponents/dist/Input.js";
2122
import type { IButton } from "@ui5/webcomponents/dist/Button.js";
2223
import HasPopup from "@ui5/webcomponents/dist/types/HasPopup.js";
@@ -176,6 +177,7 @@ const HANDLE_RESIZE_DEBOUNCE_RATE = 200; // ms
176177
staticAreaStyles: [ShellBarPopoverCss],
177178
dependencies: [
178179
Button,
180+
Icon,
179181
List,
180182
Popover,
181183
StandardListItem,

0 commit comments

Comments
 (0)