diff --git a/bower.json b/bower.json index ddb5d3b..c6ebb21 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "imgix-url-params", - "version": "11.19.3", + "version": "11.19.4", "homepage": "https://github.com/imgix/imgix-url-params", "authors": ["Jason Eberle "], "description": "Organized, machine-friendly documentation of imgix's URL parameters", diff --git a/dist/parameters.js b/dist/parameters.js index ee5451e..b9a1de0 100644 --- a/dist/parameters.js +++ b/dist/parameters.js @@ -15,7 +15,7 @@ }(this, function () { return { - "version": "11.19.3", + "version": "11.19.4", "parameters": { "ar": { "display_name": "aspect ratio", @@ -1321,7 +1321,7 @@ return { ], "expects": [ { - "type": "list", + "type": "string", "possible_values": [ "linear", "srgb", @@ -1337,7 +1337,7 @@ return { "fill=gradient" ], "url": "https://docs.imgix.com/apis/url/fill/fill-gradient-cs", - "short_description": "Defines the color space as linear, sRGB, or Oklab for gradient color interpolation" + "short_description": "Defines the color space as linear, sRGB, Oklab, HSL, or LCH for gradient color interpolation" }, "fill-gradient-linear-direction": { "display_name": "fill gradient linear direction", @@ -1411,10 +1411,13 @@ return { { "type": "integer", "strict_range": { - "min": 0, - "max": 1 - }, - "suggested_range": { + "min": 2, + "max": 8192 + } + }, + { + "type": "unit_scalar", + "strict_range": { "min": 0, "max": 1 } @@ -1424,10 +1427,13 @@ return { { "type": "integer", "strict_range": { - "min": 0, - "max": 1 - }, - "suggested_range": { + "min": 2, + "max": 8192 + } + }, + { + "type": "unit_scalar", + "strict_range": { "min": 0, "max": 1 } @@ -1441,6 +1447,7 @@ return { "fit=fill", "fill=gradient" ], + "default": "0.25,0.5", "url": "https://docs.imgix.com/apis/url/fill/fill-gradient-radial-radius", "short_description": "Parameter defines the radial gradient's radius as pixels or a percentage (0.0-1.0) of the image's smallest dimension" }, @@ -1452,18 +1459,21 @@ return { ], "expects": [ { - "type": "number", - "suggested_range": { - "min": 0, - "max": 1 - }, + "type": "integer", + "strict_range": { + "min": 2, + "max": 8192 + } + }, + { + "type": "unit_scalar", "strict_range": { "min": 0, "max": 1 } } ], - "default": 0, + "default": 0.5, "depends": [ "fit=fill", "fill=gradient" @@ -1479,18 +1489,21 @@ return { ], "expects": [ { - "type": "number", - "suggested_range": { - "min": 0, - "max": 1 - }, + "type": "integer", + "strict_range": { + "min": 2, + "max": 8192 + } + }, + { + "type": "unit_scalar", "strict_range": { "min": 0, "max": 1 } } ], - "default": 0, + "default": 0.5, "depends": [ "fit=fill", "fill=gradient" @@ -1519,7 +1532,7 @@ return { "type": "hex_color" }, { - "type": "color_keywordi" + "type": "color_keyword" } ], "type": "list", @@ -1541,7 +1554,7 @@ return { ], "expects": [ { - "type": "list", + "type": "string", "possible_values": [ "linear", "radial" diff --git a/dist/parameters.json b/dist/parameters.json index f17af11..8598735 100644 --- a/dist/parameters.json +++ b/dist/parameters.json @@ -1,5 +1,5 @@ { - "version": "11.19.3", + "version": "11.19.4", "parameters": { "ar": { "display_name": "aspect ratio", @@ -1305,7 +1305,7 @@ ], "expects": [ { - "type": "list", + "type": "string", "possible_values": [ "linear", "srgb", @@ -1321,7 +1321,7 @@ "fill=gradient" ], "url": "https://docs.imgix.com/apis/url/fill/fill-gradient-cs", - "short_description": "Defines the color space as linear, sRGB, or Oklab for gradient color interpolation" + "short_description": "Defines the color space as linear, sRGB, Oklab, HSL, or LCH for gradient color interpolation" }, "fill-gradient-linear-direction": { "display_name": "fill gradient linear direction", @@ -1395,10 +1395,13 @@ { "type": "integer", "strict_range": { - "min": 0, - "max": 1 - }, - "suggested_range": { + "min": 2, + "max": 8192 + } + }, + { + "type": "unit_scalar", + "strict_range": { "min": 0, "max": 1 } @@ -1408,10 +1411,13 @@ { "type": "integer", "strict_range": { - "min": 0, - "max": 1 - }, - "suggested_range": { + "min": 2, + "max": 8192 + } + }, + { + "type": "unit_scalar", + "strict_range": { "min": 0, "max": 1 } @@ -1425,6 +1431,7 @@ "fit=fill", "fill=gradient" ], + "default": "0.25,0.5", "url": "https://docs.imgix.com/apis/url/fill/fill-gradient-radial-radius", "short_description": "Parameter defines the radial gradient's radius as pixels or a percentage (0.0-1.0) of the image's smallest dimension" }, @@ -1436,18 +1443,21 @@ ], "expects": [ { - "type": "number", - "suggested_range": { - "min": 0, - "max": 1 - }, + "type": "integer", + "strict_range": { + "min": 2, + "max": 8192 + } + }, + { + "type": "unit_scalar", "strict_range": { "min": 0, "max": 1 } } ], - "default": 0, + "default": 0.5, "depends": [ "fit=fill", "fill=gradient" @@ -1463,18 +1473,21 @@ ], "expects": [ { - "type": "number", - "suggested_range": { - "min": 0, - "max": 1 - }, + "type": "integer", + "strict_range": { + "min": 2, + "max": 8192 + } + }, + { + "type": "unit_scalar", "strict_range": { "min": 0, "max": 1 } } ], - "default": 0, + "default": 0.5, "depends": [ "fit=fill", "fill=gradient" @@ -1503,7 +1516,7 @@ "type": "hex_color" }, { - "type": "color_keywordi" + "type": "color_keyword" } ], "type": "list", @@ -1525,7 +1538,7 @@ ], "expects": [ { - "type": "list", + "type": "string", "possible_values": [ "linear", "radial" diff --git a/package.json b/package.json index 353ed8b..3b86e1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "imgix-url-params", - "version": "11.19.3", + "version": "11.19.4", "description": "Organized, machine-friendly documentation of imgix's URL parameters", "main": "dist/manifest.json", "scripts": {