Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ“¦ Release @webref/[email protected] #1433

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 10, 2025

⚠ 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 c5b89d0.

🧐 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.18.1. Merging this pull request will release v6.18.2. 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.

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-grid-3.json packages/css/css-grid-3.json
--- webref/node_modules/@webref/css/css-grid-3.json
+++ packages/css/css-grid-3.json
@@ -143,7 +143,7 @@
     {
       "name": "masonry-fill",
       "href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-fill",
-      "value": "normal | reverse",
+      "value": "tie-start | tie-end",
       "initial": "normal",
       "appliesTo": "masonry containers",
       "inherited": "no",
@@ -153,18 +153,18 @@
       "animationType": "discrete",
       "values": [
         {
-          "name": "normal",
-          "prose": "Ties are broken by filling the startmost track",
-          "href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-normal",
+          "name": "tie-start",
+          "prose": "Ties are broken by putting the item in the start-most tied position.",
+          "href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-tie-start",
           "type": "value",
-          "value": "normal"
+          "value": "tie-start"
         },
         {
-          "name": "reverse",
-          "prose": "Ties are broken by filling the endmost track.",
-          "href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-reverse",
+          "name": "tie-end",
+          "prose": "Ties are broken by putting the item in the end-most tied position.",
+          "href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-tie-end",
           "type": "value",
-          "value": "reverse"
+          "value": "tie-end"
         }
       ],
       "styleDeclaration": [

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
@@ -17,18 +17,20 @@
           "initial": "n/a (see prose)"
         }
       ],
-      "value": "@function <function-name> [ ( <function-parameter-list> ) ]? [ using ( <function-dependency-list> ) ]? [ returns <css-type> ]? { <declaration-rule-list> }"
+      "value": "@function <function-name> <function-parameter-list>? ) [ using ( <function-dependency-list> ) ]? [ returns <css-type> ]? { <declaration-rule-list> }",
+      "values": [
+        {
+          "name": "type()",
+          "href": "https://drafts.csswg.org/css-mixins-1/#funcdef-function-type",
+          "type": "function",
+          "value": "type( <syntax> )"
+        }
+      ]
     }
   ],
   "selectors": [],
   "values": [
     {
-      "name": "<function-name>",
-      "href": "https://drafts.csswg.org/css-mixins-1/#typedef-function-name",
-      "type": "type",
-      "value": "<dashed-ident>"
-    },
-    {
       "name": "<function-parameter-list>",
       "href": "https://drafts.csswg.org/css-mixins-1/#typedef-function-parameter-list",
       "type": "type",
@@ -53,10 +55,10 @@
       "value": "<syntax-component> | <type()>"
     },
     {
-      "name": "<type()>",
-      "href": "https://drafts.csswg.org/css-mixins-1/#typedef-type",
-      "type": "type",
-      "value": "type( <syntax> )"
+      "name": "<function-name>",
+      "prose": "The <function-name> production is a <function-token>, with the additional restriction that it must start with two dashes (U+002D HYPHEN-MINUS).",
+      "href": "https://drafts.csswg.org/css-mixins-1/#typedef-function-name",
+      "type": "type"
     },
     {
       "name": "<dashed-function>",

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-shapes-2.json packages/css/css-shapes-2.json
--- webref/node_modules/@webref/css/css-shapes-2.json
+++ packages/css/css-shapes-2.json
@@ -160,26 +160,26 @@
         },
         {
           "name": "<curve-command>",
-          "value": "curve [ [ to <position> && [ with <control-point> [ / <control-point> ]? ] ] | [ by <coordinate-pair> && [ with <relative-control-point> [ / <relative-control-point> ]? ] ] ]",
+          "value": "curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]",
           "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-curve-command",
           "type": "type"
         },
         {
           "name": "curve",
-          "prose": "<curve-command> = curve [ [ to <position> && with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> && with <relative-control-point> [ / <relative-control-point> ]? ] ]",
+          "prose": "<curve-command> = curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]",
           "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-curve",
           "type": "value",
           "value": "curve"
         },
         {
           "name": "<smooth-command>",
-          "value": "smooth [ [ to <position> && [ with <control-point> ]? ] | [ by <coordinate-pair> && [ with <relative-control-point> ]? ] ]",
+          "value": "smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
           "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-smooth-command",
           "type": "type"
         },
         {
           "name": "smooth",
-          "prose": "<smooth-command> = smooth [ [ to <position> && [with <control-point> ]? ] | [ by <coordinate-pair> && [ with <relative-control-point> ]? ] ]",
+          "prose": "<smooth-command> = smooth [ [ to <position> [with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
           "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-smooth",
           "type": "value",
           "value": "smooth"
@@ -198,13 +198,13 @@
         },
         {
           "name": "<arc-command>",
-          "value": "arc [ <command-end-point> && [ of <coordinate-pair> ] && <arc-sweep>? && <arc-size>? && [rotate <angle>]? ]",
+          "value": "arc <command-end-point> [ [ of <length-percentage>{1,2} ] && <arc-sweep>? && <arc-size>? && [rotate <angle>]? ]",
           "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-arc-command",
           "type": "type"
         },
         {
           "name": "arc",
-          "prose": "<arc-command> = arc [[<by-to> <coordinate-pair>] || [of <length-percentage>{1,2}] || <arc-sweep>? || <arc-size>?|| rotate <angle>? ]",
+          "prose": "<arc-command> = arc <command-end-point> [[of <length-percentage>{1,2}] && <arc-sweep>? && <arc-size>? && rotate <angle>? ]",
           "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-arc",
           "type": "value",
           "value": "arc",

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
@@ -511,7 +511,15 @@
       "prose": "The attr() function substitutes the value of an attribute on an element into a property, similar to how the var() function substitutes a custom property value into a function.",
       "href": "https://drafts.csswg.org/css-values-5/#funcdef-attr",
       "type": "function",
-      "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)"
+      "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)",
+      "values": [
+        {
+          "name": "type()",
+          "value": "type( <syntax> )",
+          "href": "https://drafts.csswg.org/css-values-5/#funcdef-attr-type",
+          "type": "function"
+        }
+      ]
     },
     {
       "name": "<attr-name>",
@@ -532,6 +540,19 @@
       "type": "type"
     },
     {
+      "name": "ident()",
+      "prose": "The ident() function is an arbitrary substitution function that can be used to manually construct <custom-ident> values from several parts.",
+      "href": "https://drafts.csswg.org/css-values-5/#funcdef-ident",
+      "type": "function",
+      "value": "ident( <ident-arg>+ )"
+    },
+    {
+      "name": "<ident-arg>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-ident-arg",
+      "type": "type",
+      "value": "<string> | <integer> | <ident>"
+    },
+    {
       "name": "random()",
       "prose": "The random() function is a math function that represents a random value between a minimum and maximum value, drawn from a uniform distribution, optionally limiting the possible values to a step between those limits:",
       "href": "https://drafts.csswg.org/css-values-5/#funcdef-random",
@@ -600,6 +621,12 @@
   ],
   "warnings": [
     {
+      "msg": "Duplicate definition",
+      "name": "ident()",
+      "href": "https://drafts.csswg.org/css-values-5/#funcdef-ident%E2%91%A0",
+      "type": "function"
+    },
+    {
       "msg": "Missing definition",
       "name": "]>",
       "value": "not <boolean-expr-group> | <boolean-expr-group> [ [ and <boolean-expr-group> ]* | [ or <boolean-expr-group> ]* ]"

@github-actions github-actions bot force-pushed the release-css-20250110005929737 branch 22 times, most recently from a69ad17 to 335461b Compare January 16, 2025 00:53
@github-actions github-actions bot force-pushed the release-css-20250110005929737 branch from 335461b to a6e2be0 Compare January 16, 2025 06:43
@tidoust
Copy link
Member

tidoust commented Jan 16, 2025

Filed w3c/csswg-drafts#11512 to fix the duplicate warning about the ident() function. This does not prevent us from releasing the new package.

@tidoust tidoust merged commit 40fcf6e into main Jan 16, 2025
@tidoust tidoust deleted the release-css-20250110005929737 branch January 16, 2025 11:00
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.

1 participant