coreui/coreui-react

Bug: Passing percentage units to the global abs() function is deprecated.

Closed this issue · 0 comments

mman commented

I am not a CSS guru but I have been receiving this warning message during my builds for a long time. I'm fairly certain it is not coming from any of my code and I was able to find couple similar reports around the web against other frameworks.

Thought it will disappear with 5.0, but it's still present. What is the state of this issue please?

Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
Deprecation Warning on line 56, column 13 of file:///<redacted>/node_modules/@coreui/coreui/scss/vendor/_rfs.scss:56:13:
Passing percentage units to the global abs() function is deprecated.
In the future, this will emit a CSS abs() function to be resolved by the browser.
To preserve current behavior: math.abs(100%)
To emit a CSS abs() now: abs(#{100%})
More info: https://sass-lang.com/d/abs-percent

56 |   $dividend: abs($dividend);


node_modules/@coreui/coreui/scss/vendor/_rfs.scss 57:14         divide()
node_modules/@coreui/coreui/scss/mixins/_grid.scss 59:12        row-cols()
node_modules/@coreui/coreui/scss/mixins/_grid.scss 85:13        @content
node_modules/@coreui/coreui/scss/mixins/_breakpoints.scss 68:5  media-breakpoint-up()
node_modules/@coreui/coreui/scss/mixins/_grid.scss 72:5         make-grid-columns()
node_modules/@coreui/coreui/scss/_grid.scss 40:3                @import
node_modules/@coreui/coreui/scss/coreui.scss 18:9               @import
src/client/scss/style.scss 8:9                                  root stylesheet