You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within mdc-switch code, there are implicit references made to mdc-checkbox, in two places:
@include mdc-theme-dark(".mdc-checkbox") is used instead of @include mdc-theme-dark(".mdc-switch") (example).
@include mdc-checkbox-transition is used instead of a mdc-switch-transition mixin that should be defined (example).
This hasn't bitten us I think, because mdc-checkbox et. al. is included within the sass compilation context when we bundle our assets via webpack. However, if someone were to try and bundle our sass manually, it would fail. Furthermore, I don't think mdc-switch--theme-dark would work properly if attached to the mdc-switch element.
I personally think we should maybe prioritize fixing this for this sprint cc @amsheehan
The text was updated successfully, but these errors were encountered:
- Remove all references to mdc-checkbox in mdc-theme-dark mixin
- Add `mdc-switch-transition` function and replace calls to
`mdc-checkbox-transition` with that function
- (techdebt) Update cross-env and cz-conventional-changelog
- (techdebt) Add allowed scopes to validate-commit-msg config, and docs
on how to add new scopes when a component is added.
Fixes#322
- Remove all references to mdc-checkbox in mdc-theme-dark mixin
- Add `mdc-switch-transition` function and replace calls to
`mdc-checkbox-transition` with that function
- (techdebt) Update cross-env and cz-conventional-changelog
- (techdebt) Add allowed scopes to validate-commit-msg config, and docs
on how to add new scopes when a component is added.
Fixes#322
- Remove all references to mdc-checkbox in mdc-theme-dark mixin
- Add `mdc-switch-transition` function and replace calls to
`mdc-checkbox-transition` with that function
- (techdebt) Update cross-env and cz-conventional-changelog
- (techdebt) Add allowed scopes to validate-commit-msg config, and docs
on how to add new scopes when a component is added.
Fixes#322
- Remove all references to mdc-checkbox in mdc-theme-dark mixin
- Add `mdc-switch-transition` function and replace calls to
`mdc-checkbox-transition` with that function
- (techdebt) Update cross-env and cz-conventional-changelog
- (techdebt) Add allowed scopes to validate-commit-msg config, and docs
on how to add new scopes when a component is added.
Fixes#322
Within mdc-switch code, there are implicit references made to
mdc-checkbox
, in two places:@include mdc-theme-dark(".mdc-checkbox")
is used instead of@include mdc-theme-dark(".mdc-switch")
(example).@include mdc-checkbox-transition
is used instead of amdc-switch-transition
mixin that should be defined (example).This hasn't bitten us I think, because mdc-checkbox et. al. is included within the sass compilation context when we bundle our assets via webpack. However, if someone were to try and bundle our sass manually, it would fail. Furthermore, I don't think
mdc-switch--theme-dark
would work properly if attached to themdc-switch
element.I personally think we should maybe prioritize fixing this for this sprint cc @amsheehan
The text was updated successfully, but these errors were encountered: