Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix: add missing SASS dependencies (#5337)
Browse files Browse the repository at this point in the history
Add missing dependencies to five files that previously didn't depend on
all the stylesheets they reference (even indirectly). This caused issues
with the module system migrator (#5220), so this fix is necessary for
that.
  • Loading branch information
jathak authored and allan-chen committed Dec 19, 2019
1 parent 21fc4e1 commit d2ae6e1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/mdc-checkbox/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
// THE SOFTWARE.
//

@import "@material/theme/functions";
@import "@material/animation/functions";
@import "./variables";

@function mdc-checkbox-transition-enter($property, $delay: 0ms, $duration: $mdc-checkbox-transition-duration) {
@return mdc-animation-enter($property, $duration, $delay);
Expand Down
2 changes: 1 addition & 1 deletion packages/mdc-data-table/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// THE SOFTWARE.
//

@import "@material/theme/functions";
@import "@material/theme/variables";
@import "@material/density/variables";

$mdc-data-table-fill-color: surface !default;
Expand Down
1 change: 1 addition & 0 deletions packages/mdc-list/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// THE SOFTWARE.

@import "@material/density/variables";
@import "@material/theme/variables";

$mdc-list-divider-color-on-light-bg: rgba(0, 0, 0, .12) !default;
$mdc-list-divider-color-on-dark-bg: rgba(255, 255, 255, .2) !default;
Expand Down
1 change: 1 addition & 0 deletions packages/mdc-textfield/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
@import "@material/density/variables";
@import "@material/floating-label/variables";
@import "@material/notched-outline/variables";
@import "@material/theme/variables";

///
/// Returns outlined text field floating label position for given height.
Expand Down
2 changes: 2 additions & 0 deletions packages/mdc-textfield/icon/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
// THE SOFTWARE.
//

@import "@material/rtl/mixins";

// Public mixins

///
Expand Down

0 comments on commit d2ae6e1

Please sign in to comment.