File tree 17 files changed +43
-1
lines changed 17 files changed +43
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.14.1
2
+
3
+ ### Dart API
4
+
5
+ * Add DartDoc categories to various classes to help organize the documentation.
6
+
1
7
## 1.14.0
2
8
3
9
### BREAKING CHANGE
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ export 'importer/result.dart';
24
24
/// [AsyncImporter] if possible.
25
25
///
26
26
/// Subclasses should extend [Importer] , not implement it.
27
+ ///
28
+ /// {@category Importers}
27
29
abstract class Importer extends AsyncImporter {
28
30
/// An importer that never imports any stylesheets.
29
31
///
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ import 'result.dart';
19
19
/// instead.
20
20
///
21
21
/// Subclasses should extend [AsyncImporter] , not implement it.
22
+ ///
23
+ /// {@category Importers}
22
24
abstract class AsyncImporter {
23
25
/// If [url] is recognized by this importer, returns its canonical format.
24
26
///
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ import 'result.dart';
11
11
import 'utils.dart' ;
12
12
13
13
/// An importer that loads files from a load path on the filesystem.
14
+ ///
15
+ /// {@category Importers}
14
16
class FilesystemImporter extends Importer {
15
17
/// The path relative to which this importer looks for files.
16
18
final String _loadPath;
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import 'result.dart';
14
14
final _filesystemImporter = new FilesystemImporter ('.' );
15
15
16
16
/// An importer that loads stylesheets from `package:` imports.
17
+ ///
18
+ /// {@category Importers}
17
19
class PackageImporter extends Importer {
18
20
/// The resolver that converts `package:` imports to `file:` .
19
21
final SyncPackageResolver _packageResolver;
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ import '../importer.dart';
8
8
import '../syntax.dart' ;
9
9
10
10
/// The result of importing a Sass stylesheet, as returned by [Importer.load] .
11
+ ///
12
+ /// {@category Importers}
11
13
class ImporterResult {
12
14
/// The contents of the stylesheet.
13
15
final String contents;
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ import 'value.dart';
11
11
/// An argument list comes from a rest argument. It's distinct from a normal
12
12
/// [SassList] in that it may contain a keyword map as well as the positional
13
13
/// arguments.
14
+ ///
15
+ /// {@category Values}
14
16
abstract class SassArgumentList extends SassList {
15
17
/// The keyword arguments attached to this argument list.
16
18
///
Original file line number Diff line number Diff line change @@ -6,12 +6,18 @@ import '../../value.dart' as internal;
6
6
import 'value.dart' ;
7
7
8
8
/// The SassScript `true` value.
9
+ ///
10
+ /// {@category Values}
9
11
SassBoolean get sassTrue => internal.sassTrue;
10
12
11
13
/// The SassScript `false` value.
14
+ ///
15
+ /// {@category Values}
12
16
SassBoolean get sassFalse => internal.sassFalse;
13
17
14
18
/// A SassScript boolean value.
19
+ ///
20
+ /// {@category Values}
15
21
abstract class SassBoolean extends Value {
16
22
/// Whether this value is `true` or `false` .
17
23
bool get value;
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import '../../value.dart' as internal;
6
6
import 'value.dart' ;
7
7
8
8
/// A SassScript color.
9
+ ///
10
+ /// {@category Values}
9
11
abstract class SassColor extends Value {
10
12
/// This color's red channel, between `0` and `255` .
11
13
int get red;
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ import 'value.dart';
10
10
///
11
11
/// A function reference captures a function from the local environment so that
12
12
/// it may be passed between modules.
13
+ ///
14
+ /// {@category Values}
13
15
abstract class SassFunction extends Value {
14
16
/// The callable that this function invokes.
15
17
///
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import '../../value.dart' show ListSeparator;
7
7
import 'value.dart' ;
8
8
9
9
/// A SassScript list.
10
+ ///
11
+ /// {@category Values}
10
12
abstract class SassList extends Value {
11
13
ListSeparator get separator;
12
14
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import '../../value.dart' as internal;
6
6
import 'value.dart' ;
7
7
8
8
/// A SassScript map.
9
+ ///
10
+ /// {@category Values}
9
11
abstract class SassMap extends Value {
10
12
// TODO(nweiz): Use persistent data structures rather than copying here. We
11
13
// need to preserve the order, which can be done by tracking an RRB vector of
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ import 'value.dart';
11
11
/// support scientific-style numerator and denominator units (for example,
12
12
/// `miles/hour` ). These are expected to be resolved before being emitted to
13
13
/// CSS.
14
+ ///
15
+ /// {@category Values}
14
16
abstract class SassNumber extends Value {
15
17
/// The number of distinct digits that are emitted when converting a number to
16
18
/// CSS.
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ import 'value.dart';
9
9
///
10
10
/// Strings can either be quoted or unquoted. Unquoted strings are usually CSS
11
11
/// identifiers, but they may contain any text.
12
+ ///
13
+ /// {@category Values}
12
14
abstract class SassString extends Value {
13
15
/// The contents of the string.
14
16
///
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ export 'number.dart';
21
21
export 'string.dart' ;
22
22
23
23
/// The SassScript `null` value.
24
+ ///
25
+ /// {@category Values}
24
26
Value get sassNull => internal.sassNull;
25
27
26
28
// TODO(nweiz): Just mark members as @internal when sdk#28066 is fixed.
@@ -35,6 +37,8 @@ Value get sassNull => internal.sassNull;
35
37
/// subclass constructors like [new SassString] . Untyped values can be cast to
36
38
/// particular types using `assert*()` functions like [assertString] , which
37
39
/// throw user-friendly error messages if they fail.
40
+ ///
41
+ /// {@category Values}
38
42
abstract class Value {
39
43
/// Whether the value counts as `true` in an `@if` statement and other
40
44
/// contexts.
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ class SassList extends Value implements ext.SassList {
55
55
}
56
56
57
57
/// An enum of list separator types.
58
+ ///
59
+ /// {@category Values}
58
60
class ListSeparator {
59
61
/// A space-separated list.
60
62
static const space = const ListSeparator ._("space" , " " );
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.14.0
2
+ version : 1.14.1
3
3
description : A Sass implementation in Dart.
4
4
author :
Dart Team <[email protected] >
5
5
homepage : https://github.com/sass/dart-sass
You can’t perform that action at this time.
0 commit comments