sass_api 4.1.1
sass_api: ^4.1.1 copied to clipboard
Additional APIs for Dart Sass.
4.1.1 #
- No user-visible changes.
4.1.0 #
- No user-visible changes.
4.0.0 #
Dart API #
-
Breaking change: The first argument to
NumberExpression()is now adoublerather than anum. -
Add an optional
argumentNameparameter toSassScriptException()to make it easier to throw exceptions associated with particular argument names. -
Most APIs that previously returned
numnow returndouble. All APIs continue to acceptnum, although in Dart 2.0.0 most of these APIs will be changed to accept onlydouble.
3.0.4 #
UnaryOperationExpressions with operatornotnow include a correct span, covering the expression itself instead of just the operator.
3.0.3 #
- No user-visible changes.
3.0.2 #
- No user-visible changes.
3.0.1 #
- No user-visible chances.
3.0.0 #
-
Breaking change: Convert all visitor superclasses into mixins. This includes
RecursiveAstVisitor,RecursiveSelectorVisitor,RecursiveStatementVisitor, andStatementSearchVisitor. This has several effects;-
You must use
withto mix in visitors rather thanextends. -
It's now possible to mix multiple visitors into the same class, which wasn't possible with
extends. -
Because mixins can't be composed, when mixing in
RecursiveAstVisitoryou must explicitly mix inRecursiveStatementVisitoras well.
-
-
Breaking change: Replace the
minSpecificityandmaxSpecificityfields onComplexSelector,CompoundSelector, andSimpleSelectorwith a singlespecificityfield.
2.0.4 #
- No user-visible changes.
2.0.3 #
- No user-visible changes.
2.0.2 #
- No user-visible changes.
2.0.1 #
- No user-visible changes.
2.0.0 #
-
Refactor the
CssMediaQueryAPI to support new logical operators:-
Rename the
featuresfield toconditions, to reflect the fact that it can contain more than just the<media-feature>production. -
Add a
conjunctionfield to track whetherconditionsare matched conjunctively or disjunctively. -
Rename the default constructor to
CssMediaQuery.type()to reflect the fact that it's no longer by far the most commonly used form of media query. -
Add a required
conjunctionargument toCssMediaQuery.condition(). -
Delete the
isConditiongetter.
-
-
Provide access to Sass's selector AST, including the following classes:
Selector,ListSelector,ComplexSelector,ComplexSelectorComponent,Combinator,CompoundSelector,SimpleSelector,AttributeSelector,AttributeOperator,ClassSelector,IdSelector,ParentSelector,PlaceholderSelector,PseudoSelector,TypeSelector,UniversalSelector, andQualifiedName. -
Provide access to the
SelectorVisitorandRecursiveSelectorVisitorclasses. -
Provide access to the
Value.assertSelector(),Value.assertComplexSelector(),Value.assertCompoundSelector(), andValue.assertSimpleSelector()methods.
1.0.0 #
-
First stable release.
-
No user-visible changes since 1.0.0-beta.48.
1.0.0-beta.48 #
- No user-visible changes.
1.0.0-beta.47 #
- No user-visible changes.
1.0.0-beta.46 #
- No user-visible changes.
1.0.0-beta.45 #
-
Breaking change: Replace
StaticImport.supportsandStaticImport.mediawith a unifiedStaticImport.modifiersfield. Same forCssImport. -
Add
SupportsExpression.
1.0.0-beta.44 #
- No user-visible changes.
1.0.0-beta.43 #
- No user-visible changes.
1.0.0-beta.42 #
- No user-visible changes.
1.0.0-beta.41 #
- No user-visible changes.
1.0.0-beta.40 #
- No user-visible changes.
1.0.0-beta.39 #
- No user-visible changes.
1.0.0-beta.38 #
- No user-visible changes.
1.0.0-beta.37 #
- No user-visible changes.
1.0.0-beta.36 #
- No user-visible changes.
1.0.0-beta.35 #
- No user-visible changes.
1.0.0-beta.34 #
- No user-visible changes.
1.0.0-beta.33 #
- No user-visible changes.
1.0.0-beta.32 #
- No user-visible changes.
1.0.0-beta.31 #
- No user-visible changes.
1.0.0-beta.30 #
- No user-visible changes.
1.0.0-beta.29 #
- No user-visible changes.
1.0.0-beta.28 #
- No user-visible changes.
1.0.0-beta.27 #
- No user-visible changes.
1.0.0-beta.26 #
- No user-visible changes.
1.0.0-beta.25 #
- No user-visible changes.
1.0.0-beta.24 #
- No user-visible changes.
1.0.0-beta.23 #
- No user-visible changes.
1.0.0-beta.22 #
- No user-visible changes.
1.0.0-beta.21 #
- No user-visible changes.
1.0.0-beta.20 #
- No user-visible changes.
1.0.0-beta.19 #
- No user-visible changes.
1.0.0-beta.18 #
- No user-visible changes.
1.0.0-beta.17 #
- No user-visible changes.
1.0.0-beta.16 #
- No user-visible changes.
1.0.0-beta.15 #
- Fix an issue where
RecursiveAstVisitorwas not implementingvisitCalculationExpression.
1.0.0-beta.14 #
- Fix a bug where
RecursiveAstVisitor.visitAtRootRulewouldn't visit any nodes interpolated into the@at-root's query.
1.0.0-beta.13 #
- No user-visible changes.
1.0.0-beta.12 #
- No user-visible changes.
1.0.0-beta.11 #
- No user-visible changes.
1.0.0-beta.10 #
- No user-visible changes.
1.0.0-beta.9 #
-
Add the
CalculationExpressiontype to represent calculations in the Sass AST. -
Add the
ExpressionVisitor.visitCalculationExpressionmethod.
1.0.0-beta.8 #
- No user-visible changes.
1.0.0-beta.7 #
- No user-visible changes.
1.0.0-beta.6 #
- Add the
SassApiColorextension to the "Value" DartDoc category.
1.0.0-beta.5 #
- Add
SassColor.hasCalculatedRgband.hasCalculatedHslextension getters.
1.0.0-beta.4 #
-
UseRule,ForwardRule, andDynamicImportnow share a commonDependencyinterface that exposes aurlgetter and aurlSpangetter. -
VariableDeclaration,MixinRule,FunctionRule,Argument, andConfiguredVariablenow share a commonSassDeclarationinterface that exposes anamegetter (with underscores converted to hyphens) and anameSpangetter. -
Function calls with interpolation have now been split into their own AST node:
InterpolatedFunctionExpression.FunctionExpression.nameis now always a string (with underscores converted to hyphens).FunctionExpressionalso now has anoriginalNamegetter, which leaves underscores as-is. -
VariableExpression,IncludeRule, andFunctionExpressionnow share a commonSassReferenceinterface that exposes anamespacegetter and anamegetter (with underscores converted to hyphens), as well as correspondingnamespaceSpanandnameSpangetters.
1.0.0-beta.3 #
- No user-visible changes.
1.0.0-beta.2 #
- No user-visible changes.
1.0.0-beta.1 #
- Initial beta release.