From db98d7e7c684d25e9725f9bc3de160ee977cdddd Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Thu, 29 Jun 2023 17:32:17 +0200 Subject: [PATCH] BREAKING CHANGE(web-twig): Remove deprecated `Header` component #652 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 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. --- packages/web-twig/src/Resources/components/Header/README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/web-twig/src/Resources/components/Header/README.md b/packages/web-twig/src/Resources/components/Header/README.md index f657cc1580..a8e7830af6 100644 --- a/packages/web-twig/src/Resources/components/Header/README.md +++ b/packages/web-twig/src/Resources/components/Header/README.md @@ -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