Skip to content

Commit

Permalink
BREAKING CHANGE(web-twig): Remove deprecated Header component #652
Browse files Browse the repository at this point in the history
 ## Migration Guide

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"` → `data-spirit-toggle="offcanvas"`
(`spirit` infix is made mandatory in PR #935)
- `data-dismiss="header"` → `data-spirit-dismiss="offcanvas"`
(`spirit` infix is made mandatory in PR #935)

Please refer back to these instructions or reach out to our team
if you encounter any issues during migration.
  • Loading branch information
adamkudrna authored and literat committed Jul 21, 2023
1 parent c730a62 commit 3044ce1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/web-twig/src/Resources/components/Header/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ plugins.

Or, feel free to write the controlling script yourself.

### DEPRECATION NOTICE

⚠️ The existing Header JavaScript plugin is deprecated and will be superseded
by the Off-canvas plugin in the next major version.

## Accessibility Guidelines

👉 The animation effect of this component is dependent on the
Expand Down

0 comments on commit 3044ce1

Please sign in to comment.