@elementor/wp-media 0.5.0 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e953081]
8
+ - @elementor/utils@0.5.0
9
+
10
+ ## 0.6.0
11
+
12
+ ### Minor Changes
13
+
14
+ - b8a7725: Add settings transformers
15
+
3
16
  ## 0.5.0
4
17
 
5
18
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -3,6 +3,8 @@ import * as _tanstack_react_query from '@tanstack/react-query';
3
3
  type Attachment = {
4
4
  id: number;
5
5
  url: string;
6
+ height: number;
7
+ width: number;
6
8
  alt: string;
7
9
  filename: string;
8
10
  title: string;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,8 @@ import * as _tanstack_react_query from '@tanstack/react-query';
3
3
  type Attachment = {
4
4
  id: number;
5
5
  url: string;
6
+ height: number;
7
+ width: number;
6
8
  alt: string;
7
9
  filename: string;
8
10
  title: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elementor/wp-media",
3
3
  "description": "An adapter for WordPress' media utils",
4
- "version": "0.5.0",
4
+ "version": "0.6.1",
5
5
  "private": false,
6
6
  "author": "Elementor Team",
7
7
  "homepage": "https://elementor.com/",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@elementor/query": "0.2.4",
44
- "@elementor/utils": "0.4.0"
44
+ "@elementor/utils": "0.5.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": "^18.3.1"
@@ -1,6 +1,8 @@
1
1
  export type Attachment = {
2
2
  id: number;
3
3
  url: string;
4
+ height: number;
5
+ width: number;
4
6
  alt: string;
5
7
  filename: string;
6
8
  title: string;
@@ -44,6 +44,8 @@ export type WpAttachmentJSON = {
44
44
  alt: string;
45
45
  filename: string;
46
46
  title: string;
47
+ height: number;
48
+ width: number;
47
49
  mime: string;
48
50
  sizes: Record<
49
51
  string,