Topic: Deprecation $weight: Passing a number without unit % (100) is deprecated.
product.careers@communitybrands.com priority asked 1 year ago
Expected behavior
Successful compilation
Actual behavior
Compiled with problems:X
WARNING in ./src/app/styles/mdbootstrap/framework.scss (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./src/app/styles/mdbootstrap/framework.scss)
Module Warning (from ./node_modules/sass-loader/dist/cjs.js):Deprecation $weight: Passing a number without unit % (100) is deprecated.
To preserve current behavior: $weight * 1%
More info: https://sass-lang.com/d/function-units
node_modules\mdb-react-ui-kit\dist\scss\bootstrap-rtl-fix_functions.scss 238:11 opaque()node_modules\mdb-react-ui-kit\dist\scss\bootstrap-rtl-fix\mixins_table-variants.scss 4:28 table-variant()node_modules\mdb-react-ui-kit\dist\scss\bootstrap-rtl-fix_tables.scss 134:3 @importnode_modules\mdb-react-ui-kit\dist\scss\mdb.free.scss 23:9 @importnode_modules\mdb-react-ui-kit\dist\scss\mdb.pro.scss 2:9 @import
It is getting fixed after manually updating the following to 100% in mdb-react-ui-kit\dist\scss\bootstrap-rtl-fix_functions.scss:
Resources (screenshots, code snippets etc.)
"sass": "^1.55.0"
"sass-loader": "^13.2.0"
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 5.0.0
- Device: Desktop
- Browser: NA
- OS: Windows
- Provided sample code: No
- Provided link: Yes
Wojciech Staniszewski staff commented 1 year ago
Thanks for reporting! We will take a look at this problem
product.careers@communitybrands.com priority commented 1 year ago
Do you have a timeline for the fix?
Krzysztof Wilk staff commented 1 year ago
Hi!
I'm afraid there's no ETA for that.
product.careers@communitybrands.com priority commented 1 year ago
Hi, Is there any update on this issue?
Grzegorz Bujański staff commented 1 year ago
Currently we are focusing mainly on bug fixes. This bug is on the list of things to fix and we will try to fix it as soon as possible