Topic: Deprecation $weight: Passing a number without unit % (100) is deprecated.

product-careerscommunitybrands-com priority asked 10 months 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:

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\ 23:9 @importnode_modules\mdb-react-ui-kit\dist\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:enter image description here

Resources (screenshots, code snippets etc.)

"sass": "^1.55.0"

"sass-loader": "^13.2.0"

Wojciech Staniszewski staff commented 10 months ago

Thanks for reporting! We will take a look at this problem

product-careerscommunitybrands-com priority commented 10 months ago

Do you have a timeline for the fix?

Krzysztof Wilk staff commented 10 months ago


I'm afraid there's no ETA for that.

product-careerscommunitybrands-com priority commented 8 months ago

Hi, Is there any update on this issue?

Grzegorz Bujański staff commented 8 months 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

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: 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