Skip to content

Commit

Permalink
Merge pull request #35 from imgix/SUPPORT-904_patch_version_after_fix…
Browse files Browse the repository at this point in the history
…ing_expects

[SUPPORT-904] Patching version
  • Loading branch information
vuryanh authored Apr 15, 2024
2 parents 1991ca7 + 217de2a commit 4c8c588
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 52 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"],
"description": "Organized, machine-friendly documentation of imgix's URL parameters",
Expand Down
63 changes: 38 additions & 25 deletions dist/parameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}(this, function () {

return {
"version": "11.19.3",
"version": "11.19.4",
"parameters": {
"ar": {
"display_name": "aspect ratio",
Expand Down Expand Up @@ -1321,7 +1321,7 @@ return {
],
"expects": [
{
"type": "list",
"type": "string",
"possible_values": [
"linear",
"srgb",
Expand All @@ -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",
Expand Down Expand Up @@ -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
}
Expand All @@ -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
}
Expand All @@ -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"
},
Expand All @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -1519,7 +1532,7 @@ return {
"type": "hex_color"
},
{
"type": "color_keywordi"
"type": "color_keyword"
}
],
"type": "list",
Expand All @@ -1541,7 +1554,7 @@ return {
],
"expects": [
{
"type": "list",
"type": "string",
"possible_values": [
"linear",
"radial"
Expand Down
63 changes: 38 additions & 25 deletions dist/parameters.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "11.19.3",
"version": "11.19.4",
"parameters": {
"ar": {
"display_name": "aspect ratio",
Expand Down Expand Up @@ -1305,7 +1305,7 @@
],
"expects": [
{
"type": "list",
"type": "string",
"possible_values": [
"linear",
"srgb",
Expand All @@ -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",
Expand Down Expand Up @@ -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
}
Expand All @@ -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
}
Expand All @@ -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"
},
Expand All @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -1503,7 +1516,7 @@
"type": "hex_color"
},
{
"type": "color_keywordi"
"type": "color_keyword"
}
],
"type": "list",
Expand All @@ -1525,7 +1538,7 @@
],
"expects": [
{
"type": "list",
"type": "string",
"possible_values": [
"linear",
"radial"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 4c8c588

Please sign in to comment.