-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix(web-twig): Add the missing isOpen
prop to Collapse
#653
Merged
Conversation
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
adamkudrna
requested review from
crishpeen,
tomassychra and
a team
as code owners
January 24, 2023 15:28
✅ Deploy Preview for spirit-design-system-storybook canceled.
|
✅ Deploy Preview for spirit-design-system-demo canceled.
|
|
literat
approved these changes
Jan 24, 2023
tomassychra
approved these changes
Jan 25, 2023
adamkudrna
added a commit
that referenced
this pull request
Jun 29, 2023
## Migration Guide 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` Please refer back to these instructions or reach out to our team if you encounter any issues during migration.
adamkudrna
added a commit
that referenced
this pull request
Jun 29, 2023
## 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"` → `data-toggle="offcanvas"` - `data-dismiss="header"` → `data-dismiss="offcanvas"` --- Please refer back to these instructions or reach out to our team if you encounter any issues during migration.
crishpeen
pushed a commit
that referenced
this pull request
Jul 17, 2023
## 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"` → `data-toggle="offcanvas"` - `data-dismiss="header"` → `data-dismiss="offcanvas"` --- Please refer back to these instructions or reach out to our team if you encounter any issues during migration.
crishpeen
pushed a commit
that referenced
this pull request
Jul 18, 2023
## 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"` → `data-spirit-toggle="offcanvas"` (`spirit` infix is made mandatory in another PR) - `data-dismiss="header"` → `data-spirit-dismiss="offcanvas"` (`spirit` infix is made mandatory in another PR) --- Please refer back to these instructions or reach out to our team if you encounter any issues during migration.
crishpeen
pushed a commit
that referenced
this pull request
Jul 18, 2023
## 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"` → `data-spirit-toggle="offcanvas"` (`spirit` infix is made mandatory in another PR) - `data-dismiss="header"` → `data-spirit-dismiss="offcanvas"` (`spirit` infix is made mandatory in another PR) --- Please refer back to these instructions or reach out to our team if you encounter any issues during migration.
crishpeen
pushed a commit
that referenced
this pull request
Jul 18, 2023
## 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"` → `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.
literat
pushed a commit
that referenced
this pull request
Jul 19, 2023
## 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"` → `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.
literat
pushed a commit
that referenced
this pull request
Jul 19, 2023
## 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"` → `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.
crishpeen
pushed a commit
that referenced
this pull request
Jul 20, 2023
## 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"` → `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.
literat
pushed a commit
that referenced
this pull request
Jul 20, 2023
## 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"` → `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.
literat
pushed a commit
that referenced
this pull request
Jul 21, 2023
## 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"` → `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.
literat
pushed a commit
that referenced
this pull request
Jul 21, 2023
## 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"` → `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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
isOpen
prop toCollapse
Once added in
web
, it must be also added in Twig.