chore(deps): update dependency sass to v1.32.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
sass | devDependencies | minor | 1.30.0 -> 1.32.0 |
Release Notes
sass/dart-sass
v1.32.0
-
Deprecate passing non-
%
numbers as lightness and saturation tohsl()
,hsla()
,color.adjust()
, andcolor.change()
. This matches the CSS specification, which also requires%
for all lightness and saturation parameters. See [the Sass website][color-units] for more details. -
Deprecate passing numbers with units other than
deg
as the hue tohsl()
,hsla()
,adjust-hue()
,color.adjust()
, andcolor.change()
. Unitless numbers are still allowed here, since they're allowed by CSS. See [the Sass website][color-units] for more details. -
Improve error messages about incompatible units.
-
Properly mark some warnings emitted by
sass:color
functions as deprecation warnings.
Dart API
-
Rename
SassNumber.valueInUnits()
toSassNumber.coerceValue()
. The old name remains, but is now deprecated. -
Rename
SassNumber.coerceValueToUnit()
, a shorthand forSassNumber.coerceValue()
that takes a single numerator unit. -
Add
SassNumber.coerceToMatch()
andSassNumber.coerceValueToMatch()
, which work likeSassNumber.coerce()
andSassNumber.coerceValue()
but take aSassNumber
whose units should be matched rather than taking the units explicitly. These generate better error messages thanSassNumber.coerce()
andSassNumber.coerceValue()
. -
Add
SassNumber.convertToMatch()
andSassNumber.convertValueToMatch()
, which work likeSassNumber.coerceToMatch()
andSassNumber.coerceValueToMatch()
except they throw exceptions when converting unitless values to or from units. -
Add
SassNumber.compatibleWithUnit()
, which returns whether the number can be coerced to a single numerator unit.
Renovate configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.