-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core/menu-category): allow empty icon as menu-category-item (#1110)
- Loading branch information
Showing
17 changed files
with
243 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2023 Siemens AG | ||
SPDX-License-Identifier: MIT | ||
--> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<meta | ||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" | ||
name="viewport" | ||
/> | ||
<title>Stencil Component Starter</title> | ||
</head> | ||
<body style="width: 100vw; height: 100vh"> | ||
<ix-basic-navigation> | ||
<ix-menu> | ||
<ix-menu-item>Item 1</ix-menu-item> | ||
<ix-menu-category label="Category with a long name"> | ||
<ix-menu-item icon="home" notifications="10">Sub 1</ix-menu-item> | ||
<ix-menu-item notifications="7">Sub 2</ix-menu-item> | ||
<ix-menu-item icon="star">Sub 3</ix-menu-item> | ||
<ix-menu-item>Sub 4</ix-menu-item> | ||
</ix-menu-category> | ||
</ix-menu> | ||
</ix-basic-navigation> | ||
<script src="http://127.0.0.1:8080/scripts/e2e/load-e2e-runtime.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2023 Siemens AG | ||
SPDX-License-Identifier: MIT | ||
--> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"/> | ||
<meta | ||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" | ||
name="viewport" | ||
/> | ||
<title>Stencil Component Starter</title> | ||
</head> | ||
<body style="width: 100vw; height: 100vh"> | ||
<ix-basic-navigation> | ||
<ix-menu> | ||
<a href="#link1"> | ||
<ix-menu-item>Link 1</ix-menu-item> | ||
</a> | ||
<ix-menu-category label="Category"> | ||
<a href="#link2"> | ||
<ix-menu-item>Link 2</ix-menu-item> | ||
</a> | ||
<a href="#link3"> | ||
<ix-menu-item active>Link 3</ix-menu-item> | ||
</a> | ||
<a href="#link4"> | ||
<ix-menu-item>Link 4</ix-menu-item> | ||
</a> | ||
<a href="#link5"> | ||
<ix-menu-item>Link 5</ix-menu-item> | ||
</a> | ||
</ix-menu-category> | ||
</ix-menu> | ||
</ix-basic-navigation> | ||
<script src="http://127.0.0.1:8080/scripts/e2e/load-e2e-runtime.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.