From bafdb385c559a752c007edadf024c760cc029ea8 Mon Sep 17 00:00:00 2001 From: Jennifer Thakar Date: Fri, 13 Dec 2019 11:31:29 -0800 Subject: [PATCH] fix: add missing dependencies Add missing dependencies to three 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. --- packages/mdc-checkbox/_functions.scss | 3 ++- packages/mdc-data-table/_variables.scss | 2 +- packages/mdc-list/_variables.scss | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/mdc-checkbox/_functions.scss b/packages/mdc-checkbox/_functions.scss index a51fa2314ef..dc908e8fcec 100644 --- a/packages/mdc-checkbox/_functions.scss +++ b/packages/mdc-checkbox/_functions.scss @@ -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); diff --git a/packages/mdc-data-table/_variables.scss b/packages/mdc-data-table/_variables.scss index 15f436b1961..314eb490aeb 100644 --- a/packages/mdc-data-table/_variables.scss +++ b/packages/mdc-data-table/_variables.scss @@ -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; diff --git a/packages/mdc-list/_variables.scss b/packages/mdc-list/_variables.scss index c0047f723db..4cf364bd5fb 100644 --- a/packages/mdc-list/_variables.scss +++ b/packages/mdc-list/_variables.scss @@ -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;