dart-lang/tools
monorepo.ExpressionsProcessor.processFont
to handle null expressions.1.0.0
(note however that there are no API changes from 0.17.x
).package:dart_flutter_team_lints
linting rules.Expression
nodes.lh
and rlh
units.CssPrinter
output.min()
, max()
and clamp()
functions that contain mathematical expressions.Color.css
constructor when there are double values in the rgba
string.Font.merge
and BoxEdge.merge
are now static methods instead of factory constructors.identList
argument to TokenKind.matchList
./deep/
and >>>
. These were dropped from the Shadow DOM specification.css
executable from bin
directory.css.dart
library.Message.level
is now of type MessageLevel
defined in this package.package:args
and package:logging
.>=2.1.0
.Removed whitespace between comma-delimited expressions in compact output.
Before:
div{color:rgba(0, 0, 0, 0.5);}
After:
div{color:rgba(0,0,0,0.5);}
Removed last semicolon from declaration groups in compact output.
Before:
div{color:red;background:blue;}
After:
div{color:red;background:blue}
:host()
without an argument and added an error message explaining that a selector argument is expected.<3.0.0
, and adjust other dependencies.@page
at-rule and margin boxes.package:csslib/css.dart
. Use parser.dart
and visitor.dart
instead.List<RuleSet> rulesets
field on MediaDirective
, HostDirective
, and StyletDirective
has been replaced by List<TreeNode> rules
to allow nested at-rules in addition to rulesets.@viewport
.-webkit-calc()
and -moz-calc()
.@media (transform-3d) { ... }
.@-moz-document
.@supports
.:host()
and :host-context()
.>>>
and its alias /deep/
for backwards compatibility.filter: FlipH
).@page
directive when body includes declarations and page-margin boxes.Message
from parser.dart
so it's no longer necessary to import src/messages.dart
to use the parser API.logging
package.Top-level methods in parser.dart
now take PreprocessorOptions
instead of List<String>
.
PreprocessorOptions.inputFile
is now final.
source_maps
' Span
class to source_span
's SourceSpan
class.