- Fixed bug where
-mui-mixins
would include a trailing comma after the last function argument, which breaks in IE11 - Bump eslint versions
NOTE: This version of css-to-mui-loader fixes keyframe animations for [email protected]
- Fix animation names to support [email protected]. This version of jss switched
@keyframes
to be scoped by default. @material-ui/styles has been using jss@10 for some time.
BREAKING CHANGES: css-to-mui-loader now only supports @materia-ui/[email protected] and up
- Switch to new Material UI
theme.spacing()
API, introduced in @material-ui/[email protected]
- Upgraded devDependencies
- Upgraded devDependencies
- Added link to css-to-mui-loader-example demo repo in README
- Added MIT license file
babel-loader
is no longer required. Instead of this:you can now just do this:rules: [ { test: /\.css$/, use: [ 'babel-loader', 'css-to-mui-loader' ] } ]
rules: [ { test: /\.css$/, use: [ 'css-to-mui-loader' ] } ]
- Updated README to reflect that ES5 compatibility has not been reached and babel-loader is still required
- Closer to full ES5 compatibility. Removed the following from loader output:
- template literals
- object rest spread
- Fixed a bug where comments in keyframes would cause the loader to crash
- Added support for
@keyframes
- Fixed a bug where defining a media query multiple times would cause it to render above other rules, resulting in specificity problems
- Only run
prettier
if theCSS_TO_MUI_TEST
environment variable is non-null. Code formatting was just used to make expected test output easier to read, but it is not needed otherwise.
- Moved
prettier
to dependencies instead of devDependencies
- README updates