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/css@6.17.1 #1368

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 19, 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 af2a9ee.

🧐 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.17.0. Merging this pull request will release v6.17.1. 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-color-hdr.json packages/css/css-color-hdr.json
--- webref/node_modules/@webref/css/css-color-hdr.json
+++ packages/css/css-color-hdr.json
@@ -7,18 +7,18 @@
     {
       "name": "dynamic-range-limit",
       "href": "https://drafts.csswg.org/css-color-hdr/#propdef-dynamic-range-limit",
-      "value": "standard | high | constrained-high",
+      "value": "standard | high | constrained-high | <dynamic-range-limit-mix()>",
       "initial": "high",
       "appliesTo": "all elements",
       "inherited": "no",
       "percentages": "n/a",
-      "computedValue": "specified value",
+      "computedValue": "see Computed Value for dynamic-range-limit",
       "canonicalOrder": "per grammar",
       "animationType": "by dynamic-range-limit-mix()",
       "values": [
         {
           "name": "standard",
-          "prose": "The highest luminance color that is displayed is the same as ' media white, i.e. the CSS color white.",
+          "prose": "The highest luminance color that is displayed is the same as media white, i.e. the CSS color white.",
           "href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-standard",
           "type": "value",
           "value": "standard"
@@ -51,7 +51,7 @@
       "name": "dynamic-range-limit-mix()",
       "href": "https://drafts.csswg.org/css-color-hdr/#funcdef-dynamic-range-limit-mix",
       "type": "function",
-      "value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]>? ]#{2})"
+      "value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]> ]+)"
     },
     {
       "name": "color()",

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-overflow-4.json packages/css/css-overflow-4.json
--- webref/node_modules/@webref/css/css-overflow-4.json
+++ packages/css/css-overflow-4.json
@@ -232,7 +232,7 @@
         },
         {
           "name": "fade()",
-          "value": "fade( [ <length> | <percentage> ] )",
+          "value": "fade( [ <length-percentage> ] )",
           "href": "https://drafts.csswg.org/css-overflow-4/#funcdef-text-overflow-fade",
           "type": "function"
         },
@@ -316,6 +316,7 @@
         },
         {
           "name": "<block-ellipsis>",
+          "prose": "Sets continue to discard if either or both values ares specified. Sets max-lines to the specified <integer> or to none if omitted, and block-ellipsis to other component of the value if specified or to auto if omitted.",
           "href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-block-ellipsis",
           "type": "value",
           "value": "<block-ellipsis>"

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-overflow-5.json packages/css/css-overflow-5.json
--- webref/node_modules/@webref/css/css-overflow-5.json
+++ packages/css/css-overflow-5.json
@@ -84,7 +84,7 @@
   "selectors": [
     {
       "name": "::scroll-marker-group",
-      "prose": "The ::scroll-marker-group pseudo-element box is generated by a scroll container element having a computed scroll-marker-group property that is not none, representing a stylable sibling pseudo-element immediately adjacent to the scroll container.",
+      "prose": "The ::scroll-marker-group fully stylable pseudo-element is generated by a scroll container element having a computed scroll-marker-group property that is not none, adjacent to the scroll container.",
       "href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker-group"
     },
     {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-page-floats.json packages/css/css-page-floats.json
--- webref/node_modules/@webref/css/css-page-floats.json
+++ packages/css/css-page-floats.json
@@ -276,7 +276,7 @@
     {
       "name": "float-offset",
       "href": "https://drafts.csswg.org/css-page-floats-3/#propdef-float-offset",
-      "value": "<length> | <percentage>",
+      "value": "<length-percentage>",
       "initial": "0",
       "appliesTo": "floats",
       "inherited": "no",

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-text-4.json packages/css/css-text-4.json
--- webref/node_modules/@webref/css/css-text-4.json
+++ packages/css/css-text-4.json
@@ -123,7 +123,7 @@
       "value": "normal | pre | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'> || <'white-space-trim'>",
       "initial": "normal",
       "appliesTo": "text",
-      "inherited": "individual properties",
+      "inherited": "see individual properties",
       "percentages": "n/a",
       "computedValue": "specified keyword",
       "canonicalOrder": "n/a",

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-ui.json packages/css/css-ui.json
--- webref/node_modules/@webref/css/css-ui.json
+++ packages/css/css-ui.json
@@ -7,7 +7,7 @@
     {
       "name": "outline",
       "href": "https://drafts.csswg.org/css-ui-4/#propdef-outline",
-      "value": "[ <'outline-width'> || <'outline-style'> || <'outline-color'> ]",
+      "value": "<'outline-width'> || <'outline-style'> || <'outline-color'>",
       "initial": "see individual properties",
       "appliesTo": "all elements",
       "inherited": "no",
@@ -54,7 +54,7 @@
     {
       "name": "outline-color",
       "href": "https://drafts.csswg.org/css-ui-4/#propdef-outline-color",
-      "value": "auto | [ <color> | <image-1D> ]",
+      "value": "auto | <color> | <image-1D>",
       "initial": "auto",
       "appliesTo": "all elements",
       "inherited": "no",

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
@@ -44,7 +44,7 @@
       "name": "<syntax>",
       "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax",
       "type": "type",
-      "value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]+"
+      "value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]* | <syntax-string>"
     },
     {
       "name": "<syntax-component>",
@@ -77,6 +77,12 @@
       "value": "[ '#' | '+' ]"
     },
     {
+      "name": "<syntax-string>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-string",
+      "type": "type",
+      "value": "<string>"
+    },
+    {
       "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",
@@ -326,7 +332,7 @@
       "name": "<progress()>",
       "href": "https://drafts.csswg.org/css-values-5/#typedef-progress-fn",
       "type": "type",
-      "value": "progress(<calc-sum> from <calc-sum> to <calc-sum>)"
+      "value": "progress(<calc-sum>, <calc-sum>, <calc-sum>)"
     },
     {
       "name": "media-progress()",
@@ -338,7 +344,7 @@
       "name": "<media-progress()>",
       "href": "https://drafts.csswg.org/css-values-5/#typedef-media-progress",
       "type": "type",
-      "value": "media-progress(<media-feature> from <calc-sum> to <calc-sum>)"
+      "value": "media-progress(<mf-name>, <calc-sum>, <calc-sum>)"
     },
     {
       "name": "container-progress()",
@@ -350,7 +356,7 @@
       "name": "<container-progress()>",
       "href": "https://drafts.csswg.org/css-values-5/#typedef-container-progress",
       "type": "type",
-      "value": "container-progress(<size-feature> [ of <container-name> ]? from <calc-sum> to <calc-sum>)"
+      "value": "container-progress(<mf-name> [ of <container-name> ]?, <calc-sum>, <calc-sum>)"
     },
     {
       "name": "<progress>",
@@ -423,7 +429,7 @@
       "name": "<mix()>",
       "href": "https://drafts.csswg.org/css-values-5/#typedef-mix",
       "type": "type",
-      "value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <'animation-name'> )"
+      "value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <keyframes-name> )"
     },
     {
       "name": "first-valid()",
@@ -438,6 +444,38 @@
       "value": "first-valid( <declaration-value># )"
     },
     {
+      "name": "if()",
+      "prose": "The if() notation is an arbitrary substitution function that represents conditional values. Its argument consists of an ordered semi-colon–separated list of statements, each consisting of a condition followed by a colon followed by a value. An if() notation represents the value corresponding to the first condition in its argument list to be true; if no condition matches, then the if() notation represents an empty token stream.",
+      "href": "https://drafts.csswg.org/css-values-5/#funcdef-if",
+      "type": "function",
+      "values": [
+        {
+          "name": "else",
+          "prose": "The else keyword represents a condition that is always true.",
+          "href": "https://drafts.csswg.org/css-values-5/#valdef-if-else",
+          "type": "value",
+          "value": "else"
+        }
+      ]
+    },
+    {
+      "name": "<if()>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-if",
+      "type": "type",
+      "value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ';'? )"
+    },
+    {
+      "name": "<if-condition>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-if-condition",
+      "type": "type"
+    },
+    {
+      "name": "<if-test>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-if-test",
+      "type": "type",
+      "value": "supports( [ <supports-condition> | <ident> : <declaration-value> ] ) | media( <media-query> ) | style( <style-query> )"
+    },
+    {
       "name": "toggle()",
       "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
       "href": "https://drafts.csswg.org/css-values-5/#funcdef-toggle",
@@ -450,90 +488,23 @@
       "value": "toggle( <whole-value># )"
     },
     {
+      "name": "inherit()",
+      "prose": "Like the inherit keyword, the inherit() functional notation resolves to the computed value of a property on the parent. Rather than resolving to the value of the same property, however, it resolves to the tokenized computed value of the property specified as its first argument. Its second argument, if present, is used as a fallback in case the first argument resolves to the guaranteed-invalid value.",
+      "href": "https://drafts.csswg.org/css-values-5/#funcdef-inherit",
+      "type": "function"
+    },
+    {
+      "name": "<inherit()>",
+      "href": "https://drafts.csswg.org/css-values-5/#typedef-inherit",
+      "type": "type",
+      "value": "inherit( <custom-property-name>, <declaration-value>? )"
+    },
+    {
       "name": "attr()",
       "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>?)",
-      "values": [
-        {
-          "name": "string",
-          "prose": "The substitution value is a CSS string, whose value is the literal value of the attribute. (No CSS parsing or \"cleanup\" of the value is performed.) No value triggers fallback.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-string",
-          "type": "value",
-          "value": "string"
-        },
-        {
-          "name": "ident",
-          "prose": "The substitution value is a CSS <custom-ident>, whose value is the literal value of the attribute, with leading and trailing ASCII whitespace stripped. (No CSS parsing of the value is performed.) If the attribute value, after trimming, is the empty string, there is instead no substitution value. If the <custom-ident>’s value is a CSS-wide keyword or default, there is instead no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-ident",
-          "type": "value",
-          "value": "ident"
-        },
-        {
-          "name": "color",
-          "prose": "Parse a component value from the attribute’s value. If the result is a <hex-color> or a named color ident, the substitution value is that result as a <color>. Otherwise there is no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-color",
-          "type": "value",
-          "value": "color"
-        },
-        {
-          "name": "number",
-          "prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the result is the substitution value. Otherwise, there is no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-number",
-          "type": "value",
-          "value": "number"
-        },
-        {
-          "name": "percentage",
-          "prose": "Parse a component value from the attribute’s value. If the result is a <percentage-token>, the result is the substitution value. Otherwise, there is no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-percentage",
-          "type": "value",
-          "value": "percentage"
-        },
-        {
-          "name": "length",
-          "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-length",
-          "type": "value",
-          "value": "length"
-        },
-        {
-          "name": "angle",
-          "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-angle",
-          "type": "value",
-          "value": "angle"
-        },
-        {
-          "name": "time",
-          "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-time",
-          "type": "value",
-          "value": "time"
-        },
-        {
-          "name": "frequency",
-          "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-frequency",
-          "type": "value",
-          "value": "frequency"
-        },
-        {
-          "name": "flex",
-          "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-flex",
-          "type": "value",
-          "value": "flex"
-        },
-        {
-          "name": "<dimension-unit>",
-          "prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the substitution value is a dimension with the result’s value, and the given unit. Otherwise, there is no substitution value.",
-          "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-dimension-unit",
-          "type": "value",
-          "value": "<dimension-unit>"
-        }
-      ]
+      "value": "attr( <attr-name> <syntax>? , <declaration-value>?)"
     },
     {
       "name": "<attr-name>",
@@ -542,18 +513,6 @@
       "value": "[ <ident-token> '|' ]? <ident-token>"
     },
     {
-      "name": "<attr-type>",
-      "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-type",
-      "type": "type",
-      "value": "string | ident | color | number | percentage | length | angle | time | frequency | flex | <dimension-unit>"
-    },
-    {
-      "name": "<dimension-unit>",
-      "prose": "The <dimension-unit> production matches a literal \"%\" character (that is, a <delim-token> with a value of \"%\") or an ident whose value is any of the CSS units for <length>, <angle>, <time>, <frequency>, or <flex> values (such as px or ms).",
-      "href": "https://drafts.csswg.org/css-values-5/#typedef-dimension-unit",
-      "type": "type"
-    },
-    {
       "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",
@@ -623,6 +582,16 @@
   "warnings": [
     {
       "msg": "Missing definition",
+      "name": "]>",
+      "value": "not <boolean-group> | <boolean-group> [ [ and <boolean-group> ]* | [ or <boolean-group> ]* ]"
+    },
+    {
+      "msg": "Missing definition",
+      "name": "<boolean-group>",
+      "value": "<test> | ( <boolean[ <test> ]> ) | <general-enclosed>"
+    },
+    {
+      "msg": "Missing definition",
       "name": "progress-function()",
       "value": "progress-function( progress value from start value to end value )"
     },

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/css-values.json packages/css/css-values.json
--- webref/node_modules/@webref/css/css-values.json
+++ packages/css/css-values.json
@@ -781,54 +781,6 @@
       "value": "e | pi | infinity | -infinity | NaN"
     },
     {
-      "name": "<boolean>",
-      "href": "https://drafts.csswg.org/css-values-4/#typedef-boolean",
-      "type": "type",
-      "value": "<bool-not> | <bool-in-parens> [ <bool-and>* | <bool-or>* ]"
-    },
-    {
-      "name": "<boolean-without-or>",
-      "href": "https://drafts.csswg.org/css-values-4/#typedef-boolean-without-or",
-      "type": "type",
-      "value": "<bool-not> | <bool-in-parens> <bool-and>*"
-    },
-    {
-      "name": "<bool-not>",
-      "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-not",
-      "type": "type",
-      "value": "not <bool-in-parens>"
-    },
-    {
-      "name": "<bool-and>",
-      "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-and",
-      "type": "type",
-      "value": "and <bool-in-parens>"
-    },
-    {
-      "name": "<bool-or>",
-      "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-or",
-      "type": "type",
-      "value": "or <bool-in-parens>"
-    },
-    {
-      "name": "<bool-in-parens>",
-      "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-in-parens",
-      "type": "type",
-      "value": "( <boolean> ) | <bool-test> | <general-enclosed>"
-    },
-    {
-      "name": "<general-enclosed>",
-      "href": "https://drafts.csswg.org/css-values-4/#typedef-general-enclosed",
-      "type": "type",
-      "value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
-    },
-    {
-      "name": "<bool-test>",
-      "prose": "Each specification using <boolean> must define what things are valid as <bool-test> values in that context, and whether it uses 2-value or 3-value logic. As well, <bool-test> values should either be wrapped in parentheses or be functions; if a specification needs to express some conditions in a different way, please contact the CSSWG for review.",
-      "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-test",
-      "type": "type"
-    },
-    {
       "name": "<quirky-length>",
       "prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:",
       "href": "https://drafts.csswg.org/css-values-4/#typedef-quirky-length",

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/css/motion.json packages/css/motion.json
--- webref/node_modules/@webref/css/motion.json
+++ packages/css/motion.json
@@ -26,7 +26,7 @@
         },
         {
           "name": "<offset-path> || <coord-box>",
-          "prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 2 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
+          "prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 3 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
           "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-offset-path--coord-box",
           "type": "value",
           "value": "<offset-path> || <coord-box>"

@github-actions github-actions bot force-pushed the release-css-20241019005838225 branch 11 times, most recently from d5c3345 to 69195da Compare October 22, 2024 00:58
@github-actions github-actions bot force-pushed the release-css-20241019005838225 branch from 69195da to 07aad6f Compare October 22, 2024 06:49
@github-actions github-actions bot force-pushed the release-css-20241019005838225 branch 2 times, most recently from bc18810 to eb716f8 Compare November 4, 2024 13:08
@github-actions github-actions bot force-pushed the release-css-20241019005838225 branch from eb716f8 to 73c6bd8 Compare November 4, 2024 14:11
@tidoust tidoust merged commit 50fa597 into main Nov 4, 2024
@tidoust tidoust deleted the release-css-20241019005838225 branch November 4, 2024 16:27
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.

2 participants