Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Oct 14, 2024

⚠ NEVER add commits to this pull request.

πŸ€– This pull request was automatically created to facilitate human review of @webref/css changes triggered by curated data at 1e2699e.

🧐 Please review the diff below and version numbers. If all looks good, merge this pull request to release the changes to npm.

πŸ“¦ Latest released @webref/css package was v6.16.1. Merging this pull request will release v6.17.0. Make sure that the bump is the right one for the changes.

✍ If any change needs to be made before release, do not add a commit to this pull request. Changes should rather be handled in a separate pull request and pushed to the main branch. You may leave this pull request open in the meantime, or close it. The pre-release job will automatically update this pull request or create a new one once the updates have made their way to the main branch.

πŸ›ˆ The actual change introduced by this pull request is a version bump in packages/css/package.json. You do not need to review that change. The bumped version is not the version that will be released when this pull request is merged, but rather the version that will be released next time.

Released package files that no longer exist in the repo:
- css-highlight-api.json

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-mixins.json packages/css/css-mixins.json
--- webref/node_modules/@webref/css/css-mixins.json
+++ packages/css/css-mixins.json
@@ -63,42 +63,6 @@
       "prose": "A <dashed-function> is a functional notation whose function name starts with two dashes (U+002D HYPHEN-MINUS). Its syntax is:",
       "href": "https://drafts.csswg.org/css-mixins-1/#typedef-dashed-function",
       "type": "type"
-    },
-    {
-      "name": "<syntax-type>",
-      "href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-type",
-      "type": "type",
-      "value": "angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function"
-    },
-    {
-      "name": "<syntax-combinator>",
-      "href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-combinator",
-      "type": "type",
-      "value": "'|'"
-    },
-    {
-      "name": "<syntax-multiplier>",
-      "href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-multiplier",
-      "type": "type",
-      "value": "[ '#' | '+' ]"
-    },
-    {
-      "name": "<syntax-component-name>",
-      "href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-component-name",
-      "type": "type",
-      "value": "'<' <syntax-type> '>' | <custom-ident>"
-    },
-    {
-      "name": "<syntax-component>",
-      "href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax-component",
-      "type": "type",
-      "value": "<syntax-component-name> <syntax-multiplier>? | '<' transform-list '>'"
-    },
-    {
-      "name": "<syntax>",
-      "href": "https://drafts.csswg.org/css-mixins-1/#typedef-syntax",
-      "type": "type",
-      "value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]+"
     }
   ]
 }

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-pseudo.json packages/css/css-pseudo.json
--- webref/node_modules/@webref/css/css-pseudo.json
+++ packages/css/css-pseudo.json
@@ -36,6 +36,11 @@
       "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-selection"
     },
     {
+      "name": "::search-text",
+      "prose": "The ::search-text pseudo-element represents text identified by the user agent’s find-in-page feature. Since not all UAs style matched text in ways expressible with the highlight pseudo-elements, this pseudo-element is optional to implement. How to identify the current match? [Issue #10527]",
+      "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-search-text"
+    },
+    {
       "name": "::target-text",
       "prose": "The ::target-text pseudo-element represents text directly targeted by the document URL’s fragment, if any.",
       "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-target-text"
@@ -51,6 +56,11 @@
       "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-grammar-error"
     },
     {
+      "name": "::highlight()",
+      "value": "::highlight(<custom-ident>)",
+      "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-highlight-custom-ident"
+    },
+    {
       "name": "::before",
       "prose": "Represents a styleable child pseudo-element immediately before the originating element’s actual content.",
       "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-before"
@@ -72,19 +82,13 @@
     },
     {
       "name": "::file-selector-button",
-      "prose": "The ::file-selector-button pseudo-element targets the <button> inside an <input> element with type=file, if the UA renders such a button. It is a part-like pseudo-element.",
+      "prose": "The ::file-selector-button pseudo-element targets the <button> inside an <input> element with type=file, if the UA renders such a button. It is an element-backed pseudo-element.",
       "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-file-selector-button"
     },
     {
       "name": "::details-content",
-      "prose": "The ::details-content pseudo-element targets the additional information in a a details element that can be expanded or collapsed. It is a part-like pseudo-element.",
+      "prose": "The ::details-content pseudo-element targets the additional information in a a details element that can be expanded or collapsed. It is an element-backed pseudo-element.",
       "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-details-content"
-    },
-    {
-      "name": "::picker()",
-      "prose": "The ::picker() pseudo-element targets the popup picker of form control elements which have popup pickers, such as the select element. It is a part-like pseudo-element.",
-      "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-picker",
-      "value": "::picker( <ident>+ )"
     }
   ],
   "values": []

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-values-5.json packages/css/css-values-5.json
--- webref/node_modules/@webref/css/css-values-5.json
+++ packages/css/css-values-5.json
@@ -41,6 +41,42 @@
   "selectors": [],
   "values": [
     {
+      "name": "<syntax>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax",
+      "type": "type",
+      "value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]+"
+    },
+    {
+      "name": "<syntax-component>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-component",
+      "type": "type",
+      "value": "<syntax-single-component> <syntax-multiplier>? | '<' transform-list '>'"
+    },
+    {
+      "name": "<syntax-single-component>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-single-component",
+      "type": "type",
+      "value": "'<' <syntax-type-name> '>' | <ident>"
+    },
+    {
+      "name": "<syntax-type-name>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-type-name",
+      "type": "type",
+      "value": "angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function"
+    },
+    {
+      "name": "<syntax-combinator>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-combinator",
+      "type": "type",
+      "value": "'|'"
+    },
+    {
+      "name": "<syntax-multiplier>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-multiplier",
+      "type": "type",
+      "value": "[ '#' | '+' ]"
+    },
+    {
       "name": "<request-url-modifier>",
       "prose": "<request-url-modifier>s are <url-modifier>s that affect the <url>’s resource request by applying associated URL request modifier steps. See CSS Values 4 Β§ 4.5.4 URL Processing Model.",
       "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier",

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-view-transitions-2.json packages/css/css-view-transitions-2.json
--- webref/node_modules/@webref/css/css-view-transitions-2.json
+++ packages/css/css-view-transitions-2.json
@@ -50,28 +50,28 @@
       "values": [
         {
           "name": "normal",
-          "prose": "The used value is the element’s nearest containing group name.",
+          "prose": "containingGroupName.",
           "href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-normal",
           "type": "value",
           "value": "normal"
         },
         {
-          "name": "nearest",
-          "prose": "The used value is the view-transition-name computed value of the nearest ancestor whose view-transition-name computed value is not none.",
-          "href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-nearest",
-          "type": "value",
-          "value": "nearest"
-        },
-        {
           "name": "contain",
-          "prose": "The used value is the element’s nearest containing group name.",
+          "prose": "containingGroupName.",
           "href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-contain",
           "type": "value",
           "value": "contain"
         },
         {
+          "name": "nearest",
+          "prose": "The document-scoped view transition name of the element’s nearest flat tree ancestor which participates in the transition.",
+          "href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-nearest",
+          "type": "value",
+          "value": "nearest"
+        },
+        {
           "name": "<custom-ident>",
-          "prose": "The used value is the given <custom-ident> if the element has an ancestor whose view-transition-name computed value is that <custom-ident>, otherwise the element’s nearest containing group name",
+          "prose": "group if the element has a flat tree ancestor whose document-scoped view transition name is group and participates in transition; Otherwise containingGroupName.",
           "href": "https://drafts.csswg.org/css-view-transitions-2/#valdef-view-transition-group-custom-ident",
           "type": "value",
           "value": "<custom-ident>"

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/selectors.json packages/css/selectors.json
--- webref/node_modules/@webref/css/selectors.json
+++ packages/css/selectors.json
@@ -268,12 +268,12 @@
     },
     {
       "name": ":user-invalid",
-      "prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it.",
+      "prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it. Their purpose is to help the user identify mistakes in their input.",
       "href": "https://drafts.csswg.org/selectors-4/#user-invalid-pseudo"
     },
     {
       "name": ":user-valid",
-      "prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it.",
+      "prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it. Their purpose is to help the user identify mistakes in their input.",
       "href": "https://drafts.csswg.org/selectors-4/#user-valid-pseudo"
     },
     {

@github-actions github-actions bot force-pushed the release-css-20241014184847423 branch from 69030bb to 16fa55b Compare October 15, 2024 01:00
Copy link
Member

@dontcallmedom dontcallmedom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the updates to prose look bogus

@github-actions github-actions bot force-pushed the release-css-20241014184847423 branch from 16fa55b to c9af00b Compare October 18, 2024 07:48
@github-actions github-actions bot changed the title πŸ“¦ Release @webref/[email protected] πŸ“¦ Release @webref/[email protected] Oct 18, 2024
Copy link
Member

@dontcallmedom dontcallmedom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while the change in prose is a negative in readability, it is a proper extract of the spec

@tidoust tidoust merged commit 28220a3 into main Oct 18, 2024
@tidoust tidoust deleted the release-css-20241014184847423 branch October 18, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants