@adobe/css-tools
Advanced tools
Comparing version 4.3.3 to 4.4.0
@@ -48,2 +48,3 @@ declare class CssParseError extends Error { | ||
page = "page", | ||
startingStyle = "starting-style", | ||
supports = "supports" | ||
@@ -147,3 +148,7 @@ } | ||
}; | ||
export type CssAtRuleAST = CssRuleAST | CssCommentAST | CssContainerAST | CssCharsetAST | CssCustomMediaAST | CssDocumentAST | CssFontFaceAST | CssHostAST | CssImportAST | CssKeyframesAST | CssLayerAST | CssMediaAST | CssNamespaceAST | CssPageAST | CssSupportsAST; | ||
export type CssStartingStyleAST = CssCommonPositionAST & { | ||
type: CssTypes.startingStyle; | ||
rules: Array<CssAtRuleAST>; | ||
}; | ||
export type CssAtRuleAST = CssRuleAST | CssCommentAST | CssContainerAST | CssCharsetAST | CssCustomMediaAST | CssDocumentAST | CssFontFaceAST | CssHostAST | CssImportAST | CssKeyframesAST | CssLayerAST | CssMediaAST | CssNamespaceAST | CssPageAST | CssSupportsAST | CssStartingStyleAST; | ||
export type CssAllNodesAST = CssAtRuleAST | CssStylesheetAST | CssDeclarationAST | CssKeyframeAST; | ||
@@ -150,0 +155,0 @@ export const parse: (css: string, options?: { |
{ | ||
"name": "@adobe/css-tools", | ||
"version": "4.3.3", | ||
"version": "4.4.0", | ||
"description": "CSS parser / stringifier", | ||
@@ -20,4 +20,4 @@ "source": "src/index.ts", | ||
"devDependencies": { | ||
"@parcel/packager-ts": "2.11.0", | ||
"@parcel/transformer-typescript-types": "2.11.0", | ||
"@parcel/packager-ts": "2.12.0", | ||
"@parcel/transformer-typescript-types": "2.12.0", | ||
"@types/benchmark": "^2.1.1", | ||
@@ -31,3 +31,3 @@ "@types/bytes": "^3.1.1", | ||
"jest": "^29.6.2", | ||
"parcel": "^2.11.0", | ||
"parcel": "^2.12.0", | ||
"ts-jest": "^29.1.1", | ||
@@ -34,0 +34,0 @@ "typescript": "^5.0.2" |
@@ -247,2 +247,9 @@ # @adobe/css-tools | ||
### starting-style | ||
The `@starting-style` at-rule. | ||
- rules: `Array` of nodes with the types `rule`, `comment` and any of the | ||
at-rule types. | ||
### Example | ||
@@ -249,0 +256,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
187039
1718
328