-
Notifications
You must be signed in to change notification settings - Fork 13
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
refactor(disable-animation): migrate disable-animation mechanism #2507
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2507 +/- ##
==========================================
+ Coverage 93.18% 93.22% +0.03%
==========================================
Files 316 316
Lines 25389 25308 -81
Branches 2063 2064 +1
==========================================
- Hits 23660 23593 -67
+ Misses 1696 1682 -14
Partials 33 33 ☔ View full report in Codecov by Sentry. |
c98de56
to
8b8ff1b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hopefully my (second) last review here :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeeaaah!
# Conflicts: # src/components/image/readme.md
# Conflicts: # .storybook/preview.ts # src/components/accordion/accordion.stories.ts # src/components/container/sticky-bar/sticky-bar.stories.ts # src/components/dialog/dialog/dialog.stories.ts # src/components/expansion-panel/expansion-panel/expansion-panel.stories.ts # src/components/image/image.scss # src/components/loading-indicator/loading-indicator.stories.ts # src/storybook/pages/home/home--logged-in.stories.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 2 :)
Closes #2272
For reviewers
See
src/components/core/styles/mixins/a11y.scss
andsrc/components/core/styles/typography.scss
for the actual implementation of the new mechanism.All the other changes are adaptations to the new disable-animation system.
Commit message
BEGIN_COMMIT_OVERRIDE
refactor(disable-animation): migrate disable-animation mechanism (#2507)
BREAKING CHANGE: Add the
sbb-disable-animation
CSS class to disable animations for the element and all its children. Consequently, alldisable-animation
properties of the following components have been removed.disable-animation
property fromsbb-accordion
disable-animation
property fromsbb-alert
disable-animation
property fromsbb-autocomplete
disable-animation
property fromsbb-datepicker-toggle
disable-animation
property fromsbb-dialog
disable-animation
property fromsbb-expansion-panel
disable-animation
property fromsbb-image
disable-animation
property fromsbb-loading-indicator
disable-animation
property fromsbb-menu
disable-animation
property fromsbb-navigation
disable-animation
property fromsbb-navigation-section
disable-animation
property fromsbb-notification
disable-animation
property fromsbb-overlay
disable-animation
property fromsbb-popover
disable-animation
property fromsbb-select
disable-animation
property fromsbb-selection-panel
disable-animation
property fromsbb-sticky-bar
disable-animation
property fromsbb-toast
disable-animation
property fromsbb-toggle
feat(alert): add
animation
property (#2507)BREAKING-CHANGE: Removed
disable-animation
property. Useanimation='none'
instead.feat(notification): add
animation
property (#2507)BREAKING-CHANGE: Removed
disable-animation
property. Useanimation='none'
instead or depending on the case 'open' or 'close'.END_COMMIT_OVERRIDE