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

priority asked 2 weeks 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:enter image description here

Resources (screenshots, code snippets etc.)

"sass": "^1.55.0"

"sass-loader": "^13.2.0"


Wojciech Staniszewski staff commented 2 weeks ago

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


priority commented 1 week ago

Do you have a timeline for the fix?


Krzysztof Wilk staff commented 1 week ago

Hi!

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



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

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