Skip to content

Commit 1e09422

Browse files
committed
refactor(navbar): remove deprecated navbar component
BREAKING CHANGE: Removed the deprecated `SiNavbarModule`. Use the new `si-application-header` instead.
1 parent 125742b commit 1e09422

85 files changed

Lines changed: 3 additions & 2239 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api-goldens/element-ng/navbar/index.api.md

Lines changed: 0 additions & 129 deletions
This file was deleted.

api-goldens/element-ng/translate/index.api.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -292,16 +292,12 @@ export interface SiTranslatableKeys {
292292
// (undocumented)
293293
'SI_LAUNCHPAD.CLOSE'?: string;
294294
// (undocumented)
295-
'SI_LAUNCHPAD.DEFAULT_CATEGORY_TITLE'?: string;
296-
// (undocumented)
297295
'SI_LAUNCHPAD.FAVORITE_APPS'?: string;
298296
// (undocumented)
299297
'SI_LAUNCHPAD.SHOW_LESS'?: string;
300298
// (undocumented)
301299
'SI_LAUNCHPAD.SHOW_MORE'?: string;
302300
// (undocumented)
303-
'SI_LAUNCHPAD.SUB_TITLE'?: string;
304-
// (undocumented)
305301
'SI_LAUNCHPAD.SUBTITLE'?: string;
306302
// (undocumented)
307303
'SI_LAUNCHPAD.TITLE'?: string;
@@ -332,10 +328,6 @@ export interface SiTranslatableKeys {
332328
// (undocumented)
333329
'SI_MAIN_DETAIL_CONTAINER.BACK'?: string;
334330
// (undocumented)
335-
'SI_NAVBAR.OPEN_LAUNCHPAD'?: string;
336-
// (undocumented)
337-
'SI_NAVBAR.TOGGLE_NAVIGATION'?: string;
338-
// (undocumented)
339331
'SI_NAVBAR_VERTICAL.COLLAPSE'?: string;
340332
// (undocumented)
341333
'SI_NAVBAR_VERTICAL.EXPAND'?: string;

docs/components/layout-navigation/application-header.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ Header action menus should be placed outside the `si-application-header` to keep
203203
The application header provides a special action item for the user account menu showing
204204
the initials or the profile picture.
205205
The code below demonstrates how to use custom content next to standard dropdown items.
206-
Adopt this in your application to create an account menu similar to the one in the
207-
deprecated `si-primary-navbar`.
208206

209207
```html
210208
<si-application-header>

docs/components/layout-navigation/electron-titlebar.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Electron titlebar
22

3-
This is a titlebar which is used in electron applications. The titlebar will be positioned above the primary navbar and provide forward/backward functionality as well as zoom and custom functions.
3+
This is a titlebar which is used in electron applications. The titlebar will be positioned above the application header and provide forward/backward functionality as well as zoom and custom functions.
44

55
## Usage ---
66

@@ -30,9 +30,8 @@ import { SiElectrontitlebarComponent } from '@siemens/element-ng/electron-titleb
3030

3131
The titlebar should be aligned on top of all components.
3232
But when adding the `si-electron-titlebar` to your
33-
application, it will no be aligned above every component
34-
by default. Instead it will be hidden behind an overlapping
35-
component e.g. the `si-navbar-primary`.
33+
application, it will not be aligned above every component
34+
by default. Instead it will be hidden behind overlapping components.
3635

3736
In order for correct rendering and padding with the titlebar,
3837
you should add the `in-electron` CSS class to the `body` element.

playwright/e2e/element-examples/navbar-launchpad.spec.ts

Lines changed: 0 additions & 67 deletions
This file was deleted.

playwright/e2e/element-examples/navbar-primary.spec.ts

Lines changed: 0 additions & 46 deletions
This file was deleted.

playwright/e2e/element-examples/navbar-vertical-legacy.spec.ts

Lines changed: 0 additions & 69 deletions
This file was deleted.

playwright/snapshots/navbar-launchpad.spec.ts-snapshots/si-navbar--si-navbar-launchpad--medium-size-element-examples-chromium-dark-linux.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

playwright/snapshots/navbar-launchpad.spec.ts-snapshots/si-navbar--si-navbar-launchpad--medium-size-element-examples-chromium-light-linux.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)