@wordpress/media-utils 5.47.0 → 5.48.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 +8 -0
- package/build-style/style-rtl.css +5 -1
- package/build-style/style.css +5 -1
- package/package.json +24 -18
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 5.48.1 (2026-06-16)
|
|
6
|
+
|
|
7
|
+
## 5.48.0 (2026-06-10)
|
|
8
|
+
|
|
9
|
+
### Code Quality
|
|
10
|
+
|
|
11
|
+
- Add missing `@types/react` dependency. [#78882](https://github.com/WordPress/gutenberg/pull/78882).
|
|
12
|
+
|
|
5
13
|
## 5.47.0 (2026-05-27)
|
|
6
14
|
|
|
7
15
|
## 5.46.0 (2026-05-14)
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
.media-author-field__avatar img {
|
|
101
101
|
width: 16px;
|
|
102
102
|
height: 16px;
|
|
103
|
+
-o-object-fit: cover;
|
|
103
104
|
object-fit: cover;
|
|
104
105
|
opacity: 1;
|
|
105
106
|
border-radius: 100%;
|
|
@@ -135,7 +136,9 @@
|
|
|
135
136
|
overflow: hidden;
|
|
136
137
|
}
|
|
137
138
|
|
|
138
|
-
.dataviews-media-field__filename
|
|
139
|
+
.dataviews-view-table .dataviews-media-field__filename,
|
|
140
|
+
.dataviews-view-grid .dataviews-media-field__filename,
|
|
141
|
+
.dataviews-view-list .dataviews-media-field__filename {
|
|
139
142
|
display: inline-block;
|
|
140
143
|
max-inline-size: 15ch;
|
|
141
144
|
overflow: hidden;
|
|
@@ -168,6 +171,7 @@
|
|
|
168
171
|
display: block;
|
|
169
172
|
width: 100%;
|
|
170
173
|
height: 100%;
|
|
174
|
+
-o-object-fit: cover;
|
|
171
175
|
object-fit: cover;
|
|
172
176
|
}
|
|
173
177
|
|
package/build-style/style.css
CHANGED
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
.media-author-field__avatar img {
|
|
101
101
|
width: 16px;
|
|
102
102
|
height: 16px;
|
|
103
|
+
-o-object-fit: cover;
|
|
103
104
|
object-fit: cover;
|
|
104
105
|
opacity: 1;
|
|
105
106
|
border-radius: 100%;
|
|
@@ -135,7 +136,9 @@
|
|
|
135
136
|
overflow: hidden;
|
|
136
137
|
}
|
|
137
138
|
|
|
138
|
-
.dataviews-media-field__filename
|
|
139
|
+
.dataviews-view-table .dataviews-media-field__filename,
|
|
140
|
+
.dataviews-view-grid .dataviews-media-field__filename,
|
|
141
|
+
.dataviews-view-list .dataviews-media-field__filename {
|
|
139
142
|
display: inline-block;
|
|
140
143
|
max-inline-size: 15ch;
|
|
141
144
|
overflow: hidden;
|
|
@@ -168,6 +171,7 @@
|
|
|
168
171
|
display: block;
|
|
169
172
|
width: 100%;
|
|
170
173
|
height: 100%;
|
|
174
|
+
-o-object-fit: cover;
|
|
171
175
|
object-fit: cover;
|
|
172
176
|
}
|
|
173
177
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/media-utils",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.48.1",
|
|
4
4
|
"description": "WordPress Media Upload Utils.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -47,28 +47,34 @@
|
|
|
47
47
|
"build-style/**"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@
|
|
51
|
-
"@wordpress/
|
|
52
|
-
"@wordpress/
|
|
53
|
-
"@wordpress/
|
|
54
|
-
"@wordpress/
|
|
55
|
-
"@wordpress/data": "^
|
|
56
|
-
"@wordpress/
|
|
57
|
-
"@wordpress/
|
|
58
|
-
"@wordpress/
|
|
59
|
-
"@wordpress/
|
|
60
|
-
"@wordpress/
|
|
61
|
-
"@wordpress/
|
|
62
|
-
"@wordpress/
|
|
63
|
-
"@wordpress/
|
|
64
|
-
"@wordpress/
|
|
50
|
+
"@types/react": "^18.3.27",
|
|
51
|
+
"@wordpress/api-fetch": "^7.48.1",
|
|
52
|
+
"@wordpress/base-styles": "^10.0.1",
|
|
53
|
+
"@wordpress/blob": "^4.48.1",
|
|
54
|
+
"@wordpress/components": "^35.0.1",
|
|
55
|
+
"@wordpress/core-data": "^7.48.1",
|
|
56
|
+
"@wordpress/data": "^10.48.1",
|
|
57
|
+
"@wordpress/dataviews": "^16.0.1",
|
|
58
|
+
"@wordpress/element": "^8.0.1",
|
|
59
|
+
"@wordpress/i18n": "^6.21.1",
|
|
60
|
+
"@wordpress/icons": "^14.0.1",
|
|
61
|
+
"@wordpress/media-fields": "^0.13.1",
|
|
62
|
+
"@wordpress/notices": "^5.48.1",
|
|
63
|
+
"@wordpress/private-apis": "^1.48.1",
|
|
64
|
+
"@wordpress/ui": "^0.15.1",
|
|
65
|
+
"@wordpress/views": "^1.15.1",
|
|
65
66
|
"clsx": "^2.1.1"
|
|
66
67
|
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@testing-library/dom": "^10.4.1",
|
|
70
|
+
"@testing-library/react": "^16.3.2",
|
|
71
|
+
"@testing-library/user-event": "^14.6.1"
|
|
72
|
+
},
|
|
67
73
|
"peerDependencies": {
|
|
68
|
-
"react": "^
|
|
74
|
+
"react": "^18.0.0"
|
|
69
75
|
},
|
|
70
76
|
"publishConfig": {
|
|
71
77
|
"access": "public"
|
|
72
78
|
},
|
|
73
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "99df7432c5c7cb83ba41146fd1f57f3c19004305"
|
|
74
80
|
}
|