This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(css): Identify private CSS classes.
Many components use classes that should be noted as private/internal classes. Update components accordingly by prefixing classes with `_md-`. Refactor the following components: * FAB SpeedDial/Toolbar * Backdrop * Subheader * Chips * Content Refactor the `md-visually-hidden` class to `_md-visually-hidden` across multiple components. Also make a slight change to icon docs for better readability. Refactor `<md-content>`'s `autoScroll` class to `md-no-momentum` for better clarity and to define it as a public API class and add appropriate docs. BREAKING CHANGE The `autoScroll` class of the `<md-content>` directive has been renamed to `md-no-momentum` to increase clarity and mark it as an API-level class. If you use the `autoScroll` class in your code, please update it to the new name `md-no-momentum`. Changed classes: * button: md-focused -> _md-focused * checkbox: md-label -> _md-label md-checked ->_md-checked md-icon ->_md-icon md-container -> _md-container md-focused -> _md-focused * progress-circular: md-spinner-wrapper -> _md-spinner-wrapper md-inner -> _md-inner md-gap -> _md-gap md-left -> _md-left md-right -> _md-right md-half-circle -> _md-half-circle md-scale-wrapper -> _md-scale-wrapper md-mode-indeterminate -> _md-mode-indeterminate * progress-linear: md-container -> _md-container md-bar -> _md-bar md-dashed -> _md-dashed md-bar1 -> _md-bar1 md-bar2 -> _md-bar2 md-mode-query -> _md-mode-query md-mode-determinate -> _md-mode-determinate md-mode-indeterminate -> _md-mode-indeterminate md-mode-buffer -> _md-mode-buffer * radio-button: md-container -> _md-container md-off -> _md-off md-on -> _md-on md-checked -> _md-checked md-label -> _md-label md-focu sed -> _md-focused circle -> DELETED * sidenav: md-closed -> _md-closed md-locked-open -> _md-locked-open md-sidenav-backdrop -> _md-sidenav-backdrop * slider: md-dragging -> _md-dragging md-active -> _md-active md-slider-wrapper -> _md-slider-wrapper md-track-container -> _md-track-container md-track -> _md-track md-track-fill -> _md-track-fill md-track-ticks -> _md-track-ticks md-thumb-container -> _md-thumb-container md-thumb -> _md-thumb md-sign -> _md-sign md-thumb-text -> _md-thumb-text md-focus-thumb -> _md-focus-thumb md-focus-ring -> _md-focus-ring md-disabled-thumb -> _md-disabled-thumb md-min -> _md-min * switch: md-container -> _md-container md-dragging -> _md-dragging md-focused -> _md-focused md-thumb -> _md-thumb md-bar -> _md-bar md-thumb-container -> _md-thumb-container md-checked -> _md-checked * toast: md-toast-animating -> _md-toast-animating md-bottom -> _md-bottom md-left -> _md-left md-right -> _md-right md-top -> _md-top md-swipeleft -> _md-swipeleft md-swiperight -> _md-swiperight md-swipeup -> _md-swipeup md-swipedown -> _md-swipedown * tooltip: md-content -> _md-content md-show -> _md-show md-hide -> _md-hide References #6653. Closes #6706. Closes #7239. Closes #7248.
- Loading branch information
1 parent
1efe816
commit 78ccef6
Showing
85 changed files
with
714 additions
and
723 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
78ccef6
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.
Seriously now ?
78ccef6
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.
@sierraindiagolf - rest assured that we committed these changes with some reluctance. Obviously we want to avoid large, global changes. Nevertheless, these changes will allow us to distinguish between bugs and feature requests... and we can better support the community with CSS related-issues.