diff --git a/kumascript/tests/lib/__snapshots__/css-syntax.test.ts.snap b/kumascript/tests/lib/__snapshots__/css-syntax.test.ts.snap index ea0a0bcf6324..bcfcadf68646 100644 --- a/kumascript/tests/lib/__snapshots__/css-syntax.test.ts.snap +++ b/kumascript/tests/lib/__snapshots__/css-syntax.test.ts.snap @@ -2,9 +2,9 @@ exports[`CSSSyntax renders at-rule: @import 1`] = `"
@import = 
@import [ <url> | <string> ] [ layer | layer( <layer-name> ) ]? <import-conditions> ;

<url> =
<url()> |
<src()>

<layer-name> =
<ident> [ '.' <ident> ]*

<import-conditions> =
[ supports( [ <supports-condition> | <declaration> ] ) ]? <media-query-list>?

<url()> =
url( <string> <url-modifier>* ) |
<url-token>

<src()> =
src( <string> <url-modifier>* )

<supports-condition> =
not <supports-in-parens> |
<supports-in-parens> [ and <supports-in-parens> ]* |
<supports-in-parens> [ or <supports-in-parens> ]*

<supports-in-parens> =
( <supports-condition> ) |
<supports-feature> |
<general-enclosed>

<supports-feature> =
<supports-decl>

<general-enclosed> =
[ <function-token> <any-value>? ) ] |
[ ( <any-value>? ) ]

<supports-decl> =
( <declaration> )

"`; -exports[`CSSSyntax renders at-rule-descriptor: @font-face/src 1`] = `"
src = 
see prose

"`; +exports[`CSSSyntax renders at-rule-descriptor: @font-face/src 1`] = `"
src = 
<font-src-list>

"`; -exports[`CSSSyntax renders function: sin 1`] = `"
<sin()> = 
sin( <calc-sum> )

<calc-sum> =
<calc-product> [ [ '+' | '-' ] <calc-product> ]*

<calc-product> =
<calc-value> [ [ '*' | '/' ] <calc-value> ]*

<calc-value> =
<number> |
<dimension> |
<percentage> |
<calc-constant> |
( <calc-sum> )

<calc-constant> =
e |
pi |
infinity |
-infinity |
NaN

"`; +exports[`CSSSyntax renders function: sin 1`] = `"
<sin()> = 
sin( <calc-sum> )

<calc-sum> =
<calc-product> [ [ '+' | '-' ] <calc-product> ]*

<calc-product> =
<calc-value> [ [ '*' | '/' ] <calc-value> ]*

<calc-value> =
<number> |
<dimension> |
<percentage> |
<calc-keyword> |
( <calc-sum> )

<calc-keyword> =
e |
pi |
infinity |
-infinity |
NaN

"`; exports[`CSSSyntax renders property: box-shadow 1`] = `"
box-shadow = 
<spread-shadow>#

<spread-shadow> =
<'box-shadow-color'>? &&
[ <'box-shadow-offset'> [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] &&
<'box-shadow-position'>?

"`; diff --git a/package.json b/package.json index fd5997c3b9bd..4392a6362b16 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@stripe/stripe-js": "^2.2.0", "@use-it/interval": "^1.0.0", "@vscode/ripgrep": "^1.15.9", - "@webref/css": "^6.7.1", + "@webref/css": "^6.9.2", "accept-language-parser": "^1.5.0", "async": "^3.2.5", "chalk": "^5.3.0", diff --git a/yarn.lock b/yarn.lock index acdbeaf90906..8721d77b11cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3512,10 +3512,10 @@ resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-2.0.5.tgz#325db42395cd49fe6c14057f9a900e427df8810e" integrity sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ== -"@webref/css@^6.7.1": - version "6.7.1" - resolved "https://registry.yarnpkg.com/@webref/css/-/css-6.7.1.tgz#4a1c348cd15c9af38217068c19466363d8d20074" - integrity sha512-IfAjuePmlA35h4pttVyvgNIvr+KE3JxDWwI4rJkS3A0JMRLdrY9fO5bV8wq7GN2KpAxMpUHyNKZOgAKuZyV7MQ== +"@webref/css@^6.9.2": + version "6.9.2" + resolved "https://registry.yarnpkg.com/@webref/css/-/css-6.9.2.tgz#7f0a90366d1c9ea9ca618fd4cb84b3b9b03e6b41" + integrity sha512-reo9ONK4OIhUQaxFKo8qwJk11o+dYc/9+CDla3U9Ib54I7nY6A2d0UCJCNyv0OKjvgVRGuCJrlE2+0gKXYBgnA== "@xtuc/ieee754@^1.2.0": version "1.2.0"