From de140730e5ee83da2d84182c05bc4395c20140f9 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Wed, 26 Feb 2025 17:40:01 +0800 Subject: [PATCH 1/4] feat(css): Sync syntax for some css functions (#938) --- css/functions.json | 4 ++-- css/syntaxes.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/functions.json b/css/functions.json index 08a56009..d544f69c 100644 --- a/css/functions.json +++ b/css/functions.json @@ -554,7 +554,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-radial-gradient" }, "rgb()": { - "syntax": "rgb( #{3} , ? ) | rgb( #{3} , ? ) | rgb( [ | | none ]{3} [ / [ | none ] ]? )", + "syntax": "rgb( #{3} , ? ) | rgb( #{3} , ? ) | rgb( [ | | none ]{3} [ / [ | none ] ]? )", "groups": [ "CSS Color" ], @@ -562,7 +562,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/rgb" }, "rgba()": { - "syntax": "rgba( #{3} , ? ) | rgba( #{3} , ? ) | rgba( [ | | none ]{3} [ / [ | none ] ]? )", + "syntax": "rgba( #{3} , ? ) | rgba( #{3} , ? ) | rgba( [ | | none ]{3} [ / [ | none ] ]? )", "groups": [ "CSS Color" ], diff --git a/css/syntaxes.json b/css/syntaxes.json index 95423d17..2466a56c 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -150,7 +150,7 @@ "syntax": " | currentColor | | | " }, "color()": { - "syntax": "color( [from ]? [ / [ | none ] ]? )" + "syntax": "color( [ from ]? [ / [ | none ] ]? )" }, "color-base": { "syntax": " | | | | transparent" From 43ac7940de5aaa7da62230dc41908719d34accd3 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Wed, 26 Feb 2025 17:40:53 +0800 Subject: [PATCH 2/4] chore(css): Update status for `:has-slotted` (#936) Co-authored-by: Brian Smith --- css/selectors.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/selectors.json b/css/selectors.json index 3773e5c4..dcde81fd 100644 --- a/css/selectors.json +++ b/css/selectors.json @@ -358,7 +358,7 @@ "Pseudo-classes", "Selectors" ], - "status": "experimental", + "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:has-slotted" }, ":host": { From 7384ff1ae98ac4a138e72abe9d003cc57ec05134 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Wed, 26 Feb 2025 17:41:40 +0800 Subject: [PATCH 3/4] chore(css): Add mdn_url for newly documented features (#937) --- css/properties.json | 3 ++- css/selectors.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/css/properties.json b/css/properties.json index 07a52264..16fabd3d 100644 --- a/css/properties.json +++ b/css/properties.json @@ -6436,7 +6436,8 @@ "appliesto": "blockContainersExceptMultiColumnContainers", "computed": "asSpecified", "order": "perGrammar", - "status": "standard" + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/line-clamp" }, "line-height": { "syntax": "normal | | | ", diff --git a/css/selectors.json b/css/selectors.json index dcde81fd..2e307a8c 100644 --- a/css/selectors.json +++ b/css/selectors.json @@ -1085,7 +1085,8 @@ "Pseudo-elements", "Selectors" ], - "status": "experimental" + "status": "experimental", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::details-content" }, "::file-selector-button": { "syntax": "::file-selector-button", From 83add30fa49f8745203c5b1e39077eba6aea2301 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 10:22:58 +0100 Subject: [PATCH 4/4] chore(main): release 2.17.0 (#939) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5be2c5d4..6846c98b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.16.0" + ".": "2.17.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index ab0f943f..ace7be80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [2.17.0](https://github.com/mdn/data/compare/v2.16.0...v2.17.0) (2025-02-26) + + +### Features + +* **css:** Sync syntax for some css functions ([#938](https://github.com/mdn/data/issues/938)) ([de14073](https://github.com/mdn/data/commit/de140730e5ee83da2d84182c05bc4395c20140f9)) + + +### Miscellaneous + +* **css:** Add mdn_url for newly documented features ([#937](https://github.com/mdn/data/issues/937)) ([7384ff1](https://github.com/mdn/data/commit/7384ff1ae98ac4a138e72abe9d003cc57ec05134)) +* **css:** Update status for `:has-slotted` ([#936](https://github.com/mdn/data/issues/936)) ([43ac794](https://github.com/mdn/data/commit/43ac7940de5aaa7da62230dc41908719d34accd3)) + ## [2.16.0](https://github.com/mdn/data/compare/v2.15.0...v2.16.0) (2025-02-24) diff --git a/package-lock.json b/package-lock.json index 2d477337..9d700dac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mdn-data", - "version": "2.16.0", + "version": "2.17.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mdn-data", - "version": "2.16.0", + "version": "2.17.0", "license": "CC0-1.0", "devDependencies": { "ajv": "^6.12.6", diff --git a/package.json b/package.json index f42898eb..3a3d094a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mdn-data", - "version": "2.16.0", + "version": "2.17.0", "description": "Open Web data by the Mozilla Developer Network", "main": "index.js", "files": [