@griddo/core 10.2.19 → 10.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -195,7 +195,8 @@ export type GriddoDamDefaults = {
195
195
  crop?: ImageCropType;
196
196
  loading?: ImageLoading;
197
197
  decoding?: ImageDecoding;
198
- formats?: Array<ImageFormats>;
198
+ formats?: Array<Extract<ImageFormats, "avif" | "webp">>;
199
+ widths?: Array<string>;
199
200
  };
200
201
  /** Describe a Griddo site object for final Gatsby template */
201
202
  export interface Site {
@@ -252,7 +253,7 @@ export type ImageFormats = "avif" | "webp" | "jpeg" | "jpg" | "png" | "gif" | "s
252
253
  /** Kind of browser image load method */
253
254
  export type ImageLoading = "lazy" | "eager";
254
255
  /** Image transforms for the Griddo cdn image provider */
255
- export type ImageTransform = "grayscale" | "flip" | "flop" | "blur";
256
+ export type ImageTransform = "grayscale" | "flip" | "flop" | `blur(${string})`;
256
257
  /** Background image type */
257
258
  export type BackgroundImageSizesProps = {
258
259
  /** Breakpoint in px */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@griddo/core",
3
3
  "description": "Reload version of Griddo Core",
4
4
  "license": "UNLICENSED",
5
- "version": "10.2.19",
5
+ "version": "10.2.21",
6
6
  "authors": [
7
7
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
8
8
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -28,7 +28,8 @@
28
28
  "prepare": "yarn build",
29
29
  "start:storybook": "start-storybook -p 6006",
30
30
  "test": "jest",
31
- "watch:test": "jest --watch",
31
+ "test:watch": "jest --watch",
32
+ "test:watch-all": "jest --watch",
32
33
  "test:coverage": "jest --coverage",
33
34
  "test:clear": "jest --clearCache"
34
35
  },
@@ -80,5 +81,5 @@
80
81
  "resolutions": {
81
82
  "colors": "1.4.0"
82
83
  },
83
- "gitHead": "098f21c232cae6a7b9af920d9b09f95667aad6d7"
84
+ "gitHead": "76f7c6804b511c785978ceb9bf94a2516c7da5bd"
84
85
  }