Skip to content

Commit d5cd451

Browse files
committed
update dependencies
1 parent acbb688 commit d5cd451

9 files changed

Lines changed: 308 additions & 121 deletions

File tree

package-lock.json

Lines changed: 112 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/css-syntax-patches-for-csstree/CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
### Unreleased (patch)
44

5-
- Update `@webref/css` to [`v8.5.0`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%408.5.0)
6-
5+
- Update `@webref/css` to [`v8.5.1`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%408.5.1)
76

87
### 1.1.1
98

109
_March 14, 2026_
1110

1211
- Remove patch for `<'filter'>`
1312
- Add `css-tree` as an optional peer dependency to set version constraints
14-
- Update `@webref/css` to [`v8.4.0`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%408.4.0)
1513

1614
### 1.1.0
1715

packages/css-syntax-patches-for-csstree/dist/index.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@
467467
"cf-image": "[ <image> | <color> ] && <percentage [0,100]>?",
468468
"circle()": "circle( [ <radial-extent> | <length-percentage [0,∞]> ]? [ at <position> ]? )",
469469
"clamp()": "clamp( [ <calc-sum> | none ] , <calc-sum> , [ <calc-sum> | none ] )",
470-
"color": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark()> | <-non-standard-color>",
470+
"color": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color> | <-non-standard-color>",
471471
"color-font-tech": "[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]",
472472
"color-function": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <alpha()> | <color()> | <hdr-color()>",
473473
"color-interpolate()": "color-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <color-interpolation-method>? ] , <input-position>{1,2} : <color> , [ [ <easing-function> || <color-interpolation-method> ]? , <input-position>{1,2} : <color> ]#? )",
@@ -542,6 +542,7 @@
542542
"if-condition": "<boolean-expr[<if-test>]> | else",
543543
"if-test": "supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )",
544544
"if()": "if( [ <if-branch> ; ]* <if-branch> ;? )",
545+
"image": "<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient> | <light-dark-image>",
545546
"image-1D": "<stripes()>",
546547
"image-set-option": "[ <image> | <string> ] [ <resolution> || type( <string> ) ]?",
547548
"image-src": "[ <url> | <string> ]",
@@ -569,7 +570,9 @@
569570
"legacy-rgb-syntax": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )",
570571
"legacy-rgba-syntax": "rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )",
571572
"length-percentage": "[ <length> | <percentage> ]",
572-
"light-dark()": "light-dark( [ <color> , <color> ] | [ <image> , <image> ] )",
573+
"light-dark-color": "light-dark( <color> , <color> )",
574+
"light-dark-image": "light-dark( [ <image> | none ] , [ <image> | none ] )",
575+
"light-dark()": "<light-dark-color> | <light-dark-image>",
573576
"line-color-list": "<line-color-or-repeat>#",
574577
"line-color-or-repeat": "[ <color> | <repeat-line-color> ]",
575578
"line-command": "line <command-end-point>",
@@ -584,6 +587,9 @@
584587
"media-and": "and <media-in-parens>",
585588
"media-condition": "<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]",
586589
"media-condition-without-or": "<media-not> | <media-in-parens> <media-and>*",
590+
"media-feature": "[ <mf-plain> | <mf-boolean> | <mf-range> ]",
591+
"media-import-condition": "<media-query-list>",
592+
"media-in-parens": "( <media-condition> ) | ( <media-feature> ) | <general-enclosed>",
587593
"media-or": "or <media-in-parens>",
588594
"media()": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )",
589595
"mf-comparison": "<mf-lt> | <mf-gt> | <mf-eq>",
@@ -664,6 +670,7 @@
664670
"rounding-strategy": "| line-width",
665671
"route-name": "<dashed-ident>",
666672
"running()": "running( <custom-ident> )",
673+
"scope-boundaries": "[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?",
667674
"scope-end": "<selector-list>",
668675
"scope-start": "<selector-list>",
669676
"scroll-button-direction": "up | down | left | right | block-start | block-end | inline-start | inline-end | prev | next",
@@ -701,9 +708,11 @@
701708
"supports-at-rule-fn": "at-rule( <at-keyword-token> )",
702709
"supports-condition-name": "<custom-ident>",
703710
"supports-decl": "( [ <declaration> | <supports-condition-name> ] )",
704-
"supports-feature": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-decl>",
711+
"supports-env-fn": "env( <ident> )",
712+
"supports-feature": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>",
705713
"supports-font-format-fn": "font-format( <font-format> )",
706714
"supports-font-tech-fn": "font-tech( <font-tech> )",
715+
"supports-import-condition": "supports( [ <supports-condition> | <declaration> ] )",
707716
"supports-named-feature-fn": "named-feature( <ident> )",
708717
"supports()": "supports( <declaration> )",
709718
"svg-paint": "child | child( <integer> )",

packages/css-syntax-patches-for-csstree/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242
},
4343
"devDependencies": {
44-
"@webref/css": "8.5.0",
44+
"@webref/css": "8.5.1",
4545
"css-tree": "^3.2.1",
4646
"postcss": "^8.4"
4747
},

packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-types.json

Lines changed: 104 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,8 @@
513513
"type": "modified",
514514
"comment": "",
515515
"syntax-b": "<color-base> | currentColor | <system-color> | <device-cmyk()> | <light-dark()> | <-non-standard-color>",
516-
"syntax-a": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark()>",
517-
"syntax-m": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark()> | <-non-standard-color>",
516+
"syntax-a": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color>",
517+
"syntax-m": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color> | <-non-standard-color>",
518518
"tests": {
519519
"passing": [
520520
{
@@ -1618,7 +1618,7 @@
16181618
"comment": "https://developer.mozilla.org/en-US/docs/Web/CSS/image/paint",
16191619
"syntax-b": "<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient>",
16201620
"syntax-a": "<url> | <image()> | <image-set()> | <cross-fade()> | <element()> | <gradient>",
1621-
"syntax-m": "<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient>",
1621+
"syntax-m": "<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient> | <light-dark-image>",
16221622
"tests": {
16231623
"passing": [
16241624
{
@@ -2139,27 +2139,57 @@
21392139
"failing": []
21402140
}
21412141
},
2142+
"light-dark-color": {
2143+
"type": "added",
2144+
"comment": "",
2145+
"syntax-b": "",
2146+
"syntax-a": "light-dark( <color> , <color> )",
2147+
"syntax-m": "light-dark( <color> , <color> )",
2148+
"tests": {
2149+
"passing": [],
2150+
"failing": []
2151+
}
2152+
},
2153+
"light-dark-image": {
2154+
"type": "added",
2155+
"comment": "",
2156+
"syntax-b": "",
2157+
"syntax-a": "light-dark( <image> | none , <image> | none )",
2158+
"syntax-m": "light-dark( [ <image> | none ] , [ <image> | none ] )",
2159+
"tests": {
2160+
"passing": [],
2161+
"failing": []
2162+
}
2163+
},
21422164
"light-dark()": {
21432165
"type": "modified",
21442166
"comment": "",
21452167
"syntax-b": "light-dark( <color> , <color> )",
2146-
"syntax-a": "light-dark( [ <color> , <color> ] | [ <image> , <image> ] )",
2147-
"syntax-m": "light-dark( [ <color> , <color> ] | [ <image> , <image> ] )",
2168+
"syntax-a": "<light-dark-color> | <light-dark-image>",
2169+
"syntax-m": "<light-dark-color> | <light-dark-image>",
21482170
"tests": {
21492171
"passing": [
21502172
{
21512173
"property": "color",
21522174
"value": "light-dark(red, blue)"
21532175
},
21542176
{
2155-
"property": "color",
2177+
"property": "background-image",
21562178
"value": "light-dark(url(light.jpg), url(dark.jpg))"
21572179
}
21582180
],
21592181
"failing": [
21602182
{
21612183
"property": "color",
21622184
"value": "light-dark(red, url(dark.jpg))"
2185+
},
2186+
{
2187+
"property": "background-image",
2188+
"value": "light-dark(red, blue)"
2189+
},
2190+
{
2191+
"property": "color",
2192+
"value": "light-dark(url(light.jpg), url(dark.jpg))"
21632193
}
21642194
]
21652195
}
@@ -2318,6 +2348,39 @@
23182348
"failing": []
23192349
}
23202350
},
2351+
"media-feature": {
2352+
"type": "modified",
2353+
"comment": "",
2354+
"syntax-b": "( [ <mf-plain> | <mf-boolean> | <mf-range> ] )",
2355+
"syntax-a": "[ <mf-plain> | <mf-boolean> | <mf-range> ]",
2356+
"syntax-m": "[ <mf-plain> | <mf-boolean> | <mf-range> ]",
2357+
"tests": {
2358+
"passing": [],
2359+
"failing": []
2360+
}
2361+
},
2362+
"media-import-condition": {
2363+
"type": "added",
2364+
"comment": "",
2365+
"syntax-b": "",
2366+
"syntax-a": "<media-query-list>",
2367+
"syntax-m": "<media-query-list>",
2368+
"tests": {
2369+
"passing": [],
2370+
"failing": []
2371+
}
2372+
},
2373+
"media-in-parens": {
2374+
"type": "modified",
2375+
"comment": "",
2376+
"syntax-b": "( <media-condition> ) | <media-feature> | <general-enclosed>",
2377+
"syntax-a": "( <media-condition> ) | ( <media-feature> ) | <general-enclosed>",
2378+
"syntax-m": "( <media-condition> ) | ( <media-feature> ) | <general-enclosed>",
2379+
"tests": {
2380+
"passing": [],
2381+
"failing": []
2382+
}
2383+
},
23212384
"media-or": {
23222385
"type": "modified",
23232386
"comment": "",
@@ -3546,6 +3609,17 @@
35463609
"failing": []
35473610
}
35483611
},
3612+
"scope-boundaries": {
3613+
"type": "added",
3614+
"comment": "",
3615+
"syntax-b": "",
3616+
"syntax-a": "[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?",
3617+
"syntax-m": "[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?",
3618+
"tests": {
3619+
"passing": [],
3620+
"failing": []
3621+
}
3622+
},
35493623
"scope-end": {
35503624
"type": "modified",
35513625
"comment": "",
@@ -4013,12 +4087,23 @@
40134087
"failing": []
40144088
}
40154089
},
4090+
"supports-env-fn": {
4091+
"type": "added",
4092+
"comment": "",
4093+
"syntax-b": "",
4094+
"syntax-a": "env( <ident> )",
4095+
"syntax-m": "env( <ident> )",
4096+
"tests": {
4097+
"passing": [],
4098+
"failing": []
4099+
}
4100+
},
40164101
"supports-feature": {
40174102
"type": "modified",
40184103
"comment": "",
40194104
"syntax-b": "<supports-decl> | <supports-selector-fn>",
4020-
"syntax-a": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-decl>",
4021-
"syntax-m": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-decl>",
4105+
"syntax-a": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>",
4106+
"syntax-m": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>",
40224107
"tests": {
40234108
"passing": [],
40244109
"failing": []
@@ -4046,6 +4131,17 @@
40464131
"failing": []
40474132
}
40484133
},
4134+
"supports-import-condition": {
4135+
"type": "added",
4136+
"comment": "",
4137+
"syntax-b": "",
4138+
"syntax-a": "supports( [ <supports-condition> | <declaration> ] )",
4139+
"syntax-m": "supports( [ <supports-condition> | <declaration> ] )",
4140+
"tests": {
4141+
"passing": [],
4142+
"failing": []
4143+
}
4144+
},
40494145
"supports-named-feature-fn": {
40504146
"type": "added",
40514147
"comment": "",

packages/css-syntax-patches-for-csstree/raw-data/webref-over-csstree-types.json

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
"color": {
231231
"type": "modified",
232232
"syntax-b": "<color-base> | currentColor | <system-color> | <device-cmyk()> | <light-dark()> | <-non-standard-color>",
233-
"syntax-a": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark()>",
233+
"syntax-a": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color>",
234234
"comment": ""
235235
},
236236
"color-font-tech": {
@@ -881,10 +881,22 @@
881881
"syntax-a": "[ <length> | <percentage> ]",
882882
"comment": ""
883883
},
884+
"light-dark-color": {
885+
"type": "added",
886+
"syntax-b": "",
887+
"syntax-a": "light-dark( <color> , <color> )",
888+
"comment": ""
889+
},
890+
"light-dark-image": {
891+
"type": "added",
892+
"syntax-b": "",
893+
"syntax-a": "light-dark( <image> | none , <image> | none )",
894+
"comment": ""
895+
},
884896
"light-dark()": {
885897
"type": "modified",
886898
"syntax-b": "light-dark( <color> , <color> )",
887-
"syntax-a": "light-dark( [ <color> , <color> ] | [ <image> , <image> ] )",
899+
"syntax-a": "<light-dark-color> | <light-dark-image>",
888900
"comment": ""
889901
},
890902
"line-color-list": {
@@ -971,6 +983,24 @@
971983
"syntax-a": "<media-not> | <media-in-parens> <media-and>*",
972984
"comment": ""
973985
},
986+
"media-feature": {
987+
"type": "modified",
988+
"syntax-b": "( [ <mf-plain> | <mf-boolean> | <mf-range> ] )",
989+
"syntax-a": "[ <mf-plain> | <mf-boolean> | <mf-range> ]",
990+
"comment": ""
991+
},
992+
"media-import-condition": {
993+
"type": "added",
994+
"syntax-b": "",
995+
"syntax-a": "<media-query-list>",
996+
"comment": ""
997+
},
998+
"media-in-parens": {
999+
"type": "modified",
1000+
"syntax-b": "( <media-condition> ) | <media-feature> | <general-enclosed>",
1001+
"syntax-a": "( <media-condition> ) | ( <media-feature> ) | <general-enclosed>",
1002+
"comment": ""
1003+
},
9741004
"media-or": {
9751005
"type": "modified",
9761006
"syntax-b": "<media-in-parens> [ or <media-in-parens> ]+",
@@ -1463,6 +1493,12 @@
14631493
"syntax-a": "running( <custom-ident> )",
14641494
"comment": ""
14651495
},
1496+
"scope-boundaries": {
1497+
"type": "added",
1498+
"syntax-b": "",
1499+
"syntax-a": "[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?",
1500+
"comment": ""
1501+
},
14661502
"scope-end": {
14671503
"type": "modified",
14681504
"syntax-b": "<forgiving-selector-list>",
@@ -1703,10 +1739,16 @@
17031739
"syntax-a": "( [ <declaration> | <supports-condition-name> ] )",
17041740
"comment": ""
17051741
},
1742+
"supports-env-fn": {
1743+
"type": "added",
1744+
"syntax-b": "",
1745+
"syntax-a": "env( <ident> )",
1746+
"comment": ""
1747+
},
17061748
"supports-feature": {
17071749
"type": "modified",
17081750
"syntax-b": "<supports-decl> | <supports-selector-fn>",
1709-
"syntax-a": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-decl>",
1751+
"syntax-a": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>",
17101752
"comment": ""
17111753
},
17121754
"supports-font-format-fn": {
@@ -1721,6 +1763,12 @@
17211763
"syntax-a": "font-tech( <font-tech> )",
17221764
"comment": ""
17231765
},
1766+
"supports-import-condition": {
1767+
"type": "added",
1768+
"syntax-b": "",
1769+
"syntax-a": "supports( [ <supports-condition> | <declaration> ] )",
1770+
"comment": ""
1771+
},
17241772
"supports-named-feature-fn": {
17251773
"type": "added",
17261774
"syntax-b": "",

0 commit comments

Comments
 (0)