Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: sass loading warning about deprecated use of / #15062

Closed
2 tasks done
alewitt2 opened this issue Oct 30, 2023 · 2 comments
Closed
2 tasks done

[Bug]: sass loading warning about deprecated use of / #15062

alewitt2 opened this issue Oct 30, 2023 · 2 comments

Comments

@alewitt2
Copy link
Contributor

alewitt2 commented Oct 30, 2023

Package

@carbon/react

Browser

Chrome

Package version

11.41.1

React version

16.14.0

Description

image

offending line https://github.com/carbon-design-system/carbon/blob/main/packages/styles/scss/components/slider/_slider.scss#L149

because the / is wrapped in a #{} it doesnt count as being inside the calc

Reproduction/example

na

Steps to reproduce

try to pull in the latest 11.41.1 into a repo and include @use '@carbon/react';

Suggested Severity

Severity 3 = workaround

You can use the --quiet-deps and/or --quiet option to tell sass not to emit these warnings
https://sass-lang.com/documentation/cli/dart-sass/#quiet

Application/PAL

Satellite-UI

Code of Conduct

@urbanisierung
Copy link

I was experiencing the same warning - thanks for opening the bug and thanks for the quick fix! Upgrading to 1.41.2 solves the issue. I think the bug can be closed now.

@tw15egan
Copy link
Collaborator

tw15egan commented Nov 2, 2023

Thanks for confirming 🙏🏻

@tw15egan tw15egan closed this as completed Nov 2, 2023
@github-project-automation github-project-automation bot moved this to ✅ Done in Design System Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants