mirror of
https://github.com/sass/sass.git
synced 2024-09-21 10:37:22 +00:00
parent
9ad70a52e1
commit
79799ca575
9
js-api-doc/deprecations.d.ts
vendored
9
js-api-doc/deprecations.d.ts
vendored
@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
export interface Deprecations {
|
export interface Deprecations {
|
||||||
// START AUTOGENERATED LIST
|
// START AUTOGENERATED LIST
|
||||||
// Checksum: 22d9bdbe92eb39b3c0d6d64ebe1879a431c0037e
|
// Checksum: 6e5aeefc72f4e9b4ffa0672feea75a5ad09b0282
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deprecation for passing a string directly to meta.call().
|
* Deprecation for passing a string directly to meta.call().
|
||||||
@ -113,6 +113,13 @@ export interface Deprecations {
|
|||||||
*/
|
*/
|
||||||
'css-function-mixin': Deprecation<'css-function-mixin'>;
|
'css-function-mixin': Deprecation<'css-function-mixin'>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Deprecation for declarations after or between nested rules.
|
||||||
|
*
|
||||||
|
* This deprecation became active in Dart Sass 1.77.7.
|
||||||
|
*/
|
||||||
|
'interleaved-decls': Deprecation<'interleaved-decls'>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deprecation for @import rules.
|
* Deprecation for @import rules.
|
||||||
*
|
*
|
||||||
|
@ -43,6 +43,9 @@ To execute an unknown at-rule `rule`:
|
|||||||
* If `rule`'s name is "font-face", or if its [unprefixed] name is
|
* If `rule`'s name is "font-face", or if its [unprefixed] name is
|
||||||
"keyframes", append `css` to [the current module]'s CSS.
|
"keyframes", append `css` to [the current module]'s CSS.
|
||||||
|
|
||||||
|
* Otherwise, if `rule`'s name is case-insensitively equal to "nest", append
|
||||||
|
`css` to `parent`.
|
||||||
|
|
||||||
* Otherwise:
|
* Otherwise:
|
||||||
|
|
||||||
* Append `css` to `parent`'s parent.
|
* Append `css` to `parent`'s parent.
|
||||||
|
@ -75,5 +75,16 @@ To execute a declaration `declaration`:
|
|||||||
* Let `css` be a CSS declaration with name `name` and value `value`.
|
* Let `css` be a CSS declaration with name `name` and value `value`.
|
||||||
|
|
||||||
* Append `css` to `parent`.
|
* Append `css` to `parent`.
|
||||||
|
|
||||||
|
* If `parent` isn't the last statement in its parent:
|
||||||
|
|
||||||
|
* Let `copy` by a copy of `parent` without any children.
|
||||||
|
|
||||||
|
* Append `copy` to `parent`'s parent.
|
||||||
|
|
||||||
|
* Set the [current style rule], [keyframe block], or at-rule (according to
|
||||||
|
`copy`'s type) to `copy`, for the remaining duration of its previous value.
|
||||||
|
|
||||||
|
* Set `parent` to `copy`.
|
||||||
|
|
||||||
* Evaluate each child in `declaration`'s `Statements` if it exists.
|
* Evaluate each child in `declaration`'s `Statements` if it exists.
|
||||||
|
@ -106,6 +106,12 @@ css-function-mixin:
|
|||||||
status: active
|
status: active
|
||||||
deprecated: 1.76.0
|
deprecated: 1.76.0
|
||||||
|
|
||||||
|
interleaved-decls:
|
||||||
|
description: Declarations after or between nested rules.
|
||||||
|
dart-sass:
|
||||||
|
status: active
|
||||||
|
deprecated: 1.77.7
|
||||||
|
|
||||||
import:
|
import:
|
||||||
description: "@import rules."
|
description: "@import rules."
|
||||||
dart-sass:
|
dart-sass:
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
### `Deprecations`
|
### `Deprecations`
|
||||||
|
|
||||||
<!-- START AUTOGENERATED LIST -->
|
<!-- START AUTOGENERATED LIST -->
|
||||||
<!-- Checksum: 22d9bdbe92eb39b3c0d6d64ebe1879a431c0037e -->
|
<!-- Checksum: 6e5aeefc72f4e9b4ffa0672feea75a5ad09b0282 -->
|
||||||
```ts
|
```ts
|
||||||
export interface Deprecations {
|
export interface Deprecations {
|
||||||
'call-string': Deprecation<'call-string'>;
|
'call-string': Deprecation<'call-string'>;
|
||||||
@ -47,6 +47,7 @@ export interface Deprecations {
|
|||||||
'abs-percent': Deprecation<'abs-percent'>;
|
'abs-percent': Deprecation<'abs-percent'>;
|
||||||
'fs-importer-cwd': Deprecation<'fs-importer-cwd'>;
|
'fs-importer-cwd': Deprecation<'fs-importer-cwd'>;
|
||||||
'css-function-mixin': Deprecation<'css-function-mixin'>;
|
'css-function-mixin': Deprecation<'css-function-mixin'>;
|
||||||
|
'interleaved-decls': Deprecation<'interleaved-decls'>;
|
||||||
import: Deprecation<'import'>;
|
import: Deprecation<'import'>;
|
||||||
'user-authored': Deprecation<'user-authored', 'user'>;
|
'user-authored': Deprecation<'user-authored', 'user'>;
|
||||||
}
|
}
|
||||||
|
@ -13,12 +13,15 @@
|
|||||||
|
|
||||||
The *current style rule* is the CSS style rule that was created by the innermost
|
The *current style rule* is the CSS style rule that was created by the innermost
|
||||||
[execution of a style rule](#semantics), `@media` rule, `@supports` rule, or
|
[execution of a style rule](#semantics), `@media` rule, `@supports` rule, or
|
||||||
unknown at-rule.
|
unknown at-rule. This may be overridden by the [execution of a declaration].
|
||||||
|
|
||||||
|
[execution of a declaration]: declarations.md#semantics
|
||||||
|
|
||||||
### Current Keyframe Block
|
### Current Keyframe Block
|
||||||
|
|
||||||
The *current keyframe block* is the CSS keyframe block that was created by the
|
The *current keyframe block* is the CSS keyframe block that was created by the
|
||||||
innermost [execution of a style rule](#semantics).
|
innermost [execution of a style rule](#semantics). This may be overridden by the
|
||||||
|
[execution of a declaration].
|
||||||
|
|
||||||
## Semantics
|
## Semantics
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user