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] #1495

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 8, 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 a5c7661.

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

New repo files that are not yet in the released package:
+ css-forms.json

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-align.json packages/css/css-align.json
--- webref/node_modules/@webref/css/css-align.json
+++ packages/css/css-align.json
@@ -165,7 +165,7 @@
         },
         {
           "name": "stretch",
-          "prose": "As defined for justify-self in § 6.1 Inline-Axis (or Main-Axis) Alignment: the justify-self property.",
+          "prose": "As defined for justify-self in § 6.1 Inline-Axis (or Main-Axis) Self-Alignment: the justify-self property.",
           "href": "https://drafts.csswg.org/css-align-3/#valdef-align-self-stretch",
           "type": "value",
           "value": "stretch"

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-counter-styles.json packages/css/css-counter-styles.json
--- webref/node_modules/@webref/css/css-counter-styles.json
+++ packages/css/css-counter-styles.json
@@ -505,6 +505,20 @@
           "value": "cjk-heavenly-stem"
         },
         {
+          "name": "japanese-informal",
+          "prose": "Informal Japanese Kanji numbering (e.g., 千百十一)",
+          "href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-informal",
+          "type": "value",
+          "value": "japanese-informal"
+        },
+        {
+          "name": "japanese-formal",
+          "prose": "Formal Japanese Kanji numbering (e.g. 壱阡壱百壱拾壱)",
+          "href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-formal",
+          "type": "value",
+          "value": "japanese-formal"
+        },
+        {
           "name": "korean-hangul-formal",
           "prose": "Korean Hangul numbering (e.g., 일천일백일십일)",
           "href": "https://drafts.csswg.org/css-counter-styles-3/#korean-hangul-formal",
@@ -559,20 +573,6 @@
       "value": "<counter-style-name> | <symbols()>",
       "values": [
         {
-          "name": "japanese-informal",
-          "prose": "Informal Japanese Kanji numbering (e.g., 千百十一)",
-          "href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-informal",
-          "type": "value",
-          "value": "japanese-informal"
-        },
-        {
-          "name": "japanese-formal",
-          "prose": "Formal Japanese Kanji numbering (e.g. 壱阡壱百壱拾壱)",
-          "href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-formal",
-          "type": "value",
-          "value": "japanese-formal"
-        },
-        {
           "name": "simp-chinese-informal",
           "prose": "Simplified Chinese informal numbering (e.g., 一千一百一十一)",
           "href": "https://drafts.csswg.org/css-counter-styles-3/#simp-chinese-informal",

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
@@ -81,11 +81,6 @@
       "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-placeholder"
     },
     {
-      "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 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 an element-backed pseudo-element.",
       "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-details-content"

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-round-display.json packages/css/css-round-display.json
--- webref/node_modules/@webref/css/css-round-display.json
+++ packages/css/css-round-display.json
@@ -49,45 +49,37 @@
           ]
         }
       ]
-    },
-    {
-      "name": "@viewport",
-      "descriptors": [
-        {
-          "name": "viewport-fit",
-          "href": "https://drafts.csswg.org/css-round-display-1/#descdef-viewport-viewport-fit",
-          "for": "@viewport",
-          "value": "auto | contain | cover",
-          "initial": "auto",
-          "percentages": "N/A",
-          "computedValue": "as specified",
-          "values": [
-            {
-              "name": "auto",
-              "prose": "This value doesn’t affect the initial layout viewport, and the whole web page is viewable. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
-              "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-auto",
-              "type": "value",
-              "value": "auto"
-            },
-            {
-              "name": "contain",
-              "prose": "The initial layout viewport and the visual viewport are set to the largest rectangle which is inscribed in the display of the device. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
-              "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-contain",
-              "type": "value",
-              "value": "contain"
-            },
-            {
-              "name": "cover",
-              "prose": "The initial layout viewport and the visual viewport are set to the circumscribed rectangle of the physical screen of the device.",
-              "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-cover",
-              "type": "value",
-              "value": "cover"
-            }
-          ]
-        }
-      ]
     }
   ],
   "selectors": [],
-  "values": []
+  "values": [],
+  "warnings": [
+    {
+      "msg": "Dangling value",
+      "name": "auto",
+      "prose": "This value doesn’t affect the initial layout viewport, and the whole web page is viewable. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
+      "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-auto",
+      "type": "value",
+      "value": "auto",
+      "for": "viewport-fit"
+    },
+    {
+      "msg": "Dangling value",
+      "name": "contain",
+      "prose": "The initial layout viewport and the visual viewport are set to the largest rectangle which is inscribed in the display of the device. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
+      "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-contain",
+      "type": "value",
+      "value": "contain",
+      "for": "viewport-fit"
+    },
+    {
+      "msg": "Dangling value",
+      "name": "cover",
+      "prose": "The initial layout viewport and the visual viewport are set to the circumscribed rectangle of the physical screen of the device.",
+      "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-cover",
+      "type": "value",
+      "value": "cover",
+      "for": "viewport-fit"
+    }
+  ]
 }

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
@@ -557,20 +557,20 @@
       "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",
       "type": "function",
-      "value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? )"
+      "value": "random( <random-value-sharing>? , <calc-sum>, <calc-sum>, <calc-sum>? )"
     },
     {
-      "name": "<random-caching-options>",
-      "href": "https://drafts.csswg.org/css-values-5/#typedef-random-caching-options",
+      "name": "<random-value-sharing>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-random-value-sharing",
       "type": "type",
-      "value": "<dashed-ident> || per-element"
+      "value": "[ [ auto | <dashed-ident> ] || match-element ] | fixed <number [0,1]>"
     },
     {
       "name": "random-item()",
       "prose": "The random-item() function resolves to a random item from among its list of items.",
       "href": "https://drafts.csswg.org/css-values-5/#funcdef-random-item",
       "type": "function",
-      "value": "random-item( <random-caching-options> , [ <declaration-value>? ]# )"
+      "value": "random-item( <random-value-sharing> , [ <declaration-value>? ]# )"
     },
     {
       "name": "sibling-count()",
@@ -649,6 +649,42 @@
       "msg": "Missing definition",
       "name": "<cross-fade()>",
       "value": "cross-fade( <progress>, [ <image> | <color> ], [ <image> | <color> ] ) | cross-fade( <cf-image># )"
+    },
+    {
+      "msg": "Dangling value",
+      "name": "auto",
+      "prose": "Each random function in an element’s styles will use a distinct random base value. (But see the note below for a small wrinkle about this.) If neither auto nor <dashed-ident> are specified, it behaves as auto.",
+      "href": "https://drafts.csswg.org/css-values-5/#valdef-randomrandom-value-sharing-auto",
+      "type": "value",
+      "value": "auto",
+      "for": "random()|<random-value-sharing>"
+    },
+    {
+      "msg": "Dangling value",
+      "name": "<dashed-ident>",
+      "prose": "Each random function in an element’s styles with the same <dashed-ident> will share the same random base value; ones with different <dashed-ident>s will use distinct random base values.",
+      "href": "https://drafts.csswg.org/css-values-5/#valdef-randomrandom-value-sharing-dashed-ident",
+      "type": "value",
+      "value": "<dashed-ident>",
+      "for": "random()|<random-value-sharing>"
+    },
+    {
+      "msg": "Dangling value",
+      "name": "match-element",
+      "prose": "If match-element is omitted, random functions on different elements will use distinct random base values. If specified, random functions on different elements will share the same random base value if they have the same <dashed-ident> (if specified) or if they’re used in the same style in the same way (if not). (Again, see the note below for a small wrinkle about this.)",
+      "href": "https://drafts.csswg.org/css-values-5/#valdef-randomrandom-value-sharing-match-element",
+      "type": "value",
+      "value": "match-element",
+      "for": "random()|<random-value-sharing>"
+    },
+    {
+      "msg": "Dangling value",
+      "name": "<number>",
+      "prose": "If fixed <number> is specified, the <number> is used as the random function’s random base value, rather than allowing the UA to generate a random base value and controlling how it’s shared. While 1 is technically allowed as a valid value (because CSS grammars can only express closed ranges), the random base value is clamped to the highest representable value less than 1, so random base values remain in the half-open range `[0, 1)`.",
+      "href": "https://drafts.csswg.org/css-values-5/#valdef-randomrandom-value-sharing-fixed",
+      "type": "value",
+      "value": "<number>",
+      "for": "random()|<random-value-sharing>"
     }
   ]
 }

@github-actions github-actions bot force-pushed the release-css-20250308064713549 branch 16 times, most recently from 5e53e6b to 9b10410 Compare March 12, 2025 06:46
@tidoust
Copy link
Member

tidoust commented Mar 12, 2025

Pending resolution of w3c/csswg-drafts#11920

@github-actions github-actions bot force-pushed the release-css-20250308064713549 branch 2 times, most recently from 86c89ff to c6d6769 Compare March 12, 2025 12:51
@github-actions github-actions bot force-pushed the release-css-20250308064713549 branch 5 times, most recently from bf0dc4e to 1548c42 Compare March 15, 2025 06:44
@github-actions github-actions bot force-pushed the release-css-20250308064713549 branch from 1548c42 to 0efbfcf Compare March 15, 2025 12:50
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