@mirrormedia/lilith-draft-editor 1.2.0 → 1.3.1

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.
@@ -281,7 +281,7 @@ function ImageSelector(props) {
281
281
  const [delay, setDelay] = (0, _react.useState)(initialDelay ?? '5');
282
282
  const [align, setAlign] = (0, _react.useState)(initialAlign);
283
283
  const contentWrapperRef = (0, _react.useRef)();
284
- const pageSize = 6;
284
+ const pageSize = 18;
285
285
  const options = [{
286
286
  value: undefined,
287
287
  label: 'default',
@@ -53,6 +53,7 @@ function ImageEditorBlock(props) {
53
53
  name,
54
54
  imageFile,
55
55
  resized,
56
+ resizedWebP,
56
57
  desc,
57
58
  url,
58
59
  alignment
@@ -62,7 +63,8 @@ function ImageEditorBlock(props) {
62
63
  id,
63
64
  name,
64
65
  imageFile,
65
- resized
66
+ resized,
67
+ resizedWebP
66
68
  },
67
69
  desc,
68
70
  url
@@ -51,6 +51,14 @@ const imagesQuery = (0, _apollo.gql)`
51
51
  w1600
52
52
  w2400
53
53
  }
54
+ resizedWebp {
55
+ original
56
+ w480
57
+ w800
58
+ w1200
59
+ w1600
60
+ w2400
61
+ }
54
62
  }
55
63
  }
56
64
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirrormedia/lilith-draft-editor",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -23,7 +23,7 @@
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
25
  "draft-js": "^0.11.7",
26
- "@mirrormedia/lilith-draft-renderer": "1.3.0-alpha.26"
26
+ "@mirrormedia/lilith-draft-renderer": "1.3.0"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": "18.2.0",
@@ -37,4 +37,4 @@
37
37
  "files": [
38
38
  "lib"
39
39
  ]
40
- }
40
+ }