• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lmc-eu / spirit-design-system / 5413893870

Build:
Build:
LAST BUILD BRANCH: fix/DS-2239-scrollview-bug-fix
DEFAULT BRANCH: main
Ran 29 Jun 2023 03:25PM UTC
Jobs 2
Files 236
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Canceled at 23 Nov 2024 01:48PM UTC via web
5413893870

push

github

adamkudrna
BREAKING CHANGE(web): Remove deprecated `Header` component #653

 ## Migration Guide

 ### HTML and CSS

The original `Header__*` classes no longer exist, and so does the
original structure.

Instead, new subcomponents replace the original nested classes.

The most notable change is that the mobile and desktop navigation
are now separate components that cannot be nested:

- `Header`
- `HeaderDialog`

Formerly, the desktop dialog (holding the site navigation) was
a responsive CSS modification of a shared HTML code. With the
new `Header` and `HeaderDialog`, each component has its own
instance of the navigation, i.e. the navigation code is duplicated.
This is because `HeaderDialog` will become an independent
component in the future.

You may need to take additional measures so your SEO is not
affected by the duplicate HTML code of the navigation.

While there are important changes also in the HTML structure,
the old class names in `Header` can be roughly mapped onto the
new subcomponents like this:

- `Header__mobileOnlyActions` → `HeaderMobileOnlyActions`
- `Header__bar` → removed without a replacement
- `Header__content` → removed without a replacement
- `Header__dialog` → `HeaderDialog`, stands outside of `Header`
- `Header__close` → removed without a replacement
- `Header__actions` → `HeaderDesktopOnlyActions`
- `Header__nav` → `HeaderNav`
- `Header__navItem` → `HeaderNavItem`
- `Header__link` → `HeaderLink`
- `Header__text` → removed without a replacement

Inside `HeaderDialog`:

- `Header__close` → `HeaderDialogCloseButton`
- `Header__actions` → `HeaderDialogActions`
- `Header__nav` → `HeaderDialogNav`
- `Header__navItem` → `HeaderDialogNavItem`
- `Header__link` → `HeaderDialogLink`
- `Header__text` → `HeaderDialogText`

 ### JavaScript

The deprecated `Header` JS plugin was removed in favour of the
`Offcanvas` plugin.

- `import { Header } from '@lmc-eu/spirit-web'` → `import { Offcanvas } from '@lmc-eu/spirit-web'`
- `data-toggle="header"` → `dat... (continued)

396 of 651 branches covered (60.83%)

Branch coverage included in aggregate %.

2668 of 3161 relevant lines covered (84.4%)

22.72 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 web 5413893870.1 29 Jun 2023 03:25PM UTC 0
69.41
GitHub Action Run
2 web-react 5413893870.2 29 Jun 2023 03:25PM UTC 0
85.6
GitHub Action Run
Source Files on build 5413893870
Detailed source file information is not available for this build.
  • Back to Repo
  • 56f2b8de on github
  • Next Build on bc/remove-deprecated-header (#5414065136)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc