@wordpress/media-fields 0.24.0 → 0.25.0

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.
@@ -202,10 +202,10 @@
202
202
  padding: 0 16px;
203
203
  width: 100%;
204
204
  container-type: inline-size;
205
- font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
205
+ font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
206
206
  font-weight: var(--wpds-typography-font-weight-default, 400);
207
- font-size: 12px;
208
- line-height: 16px;
207
+ font-size: var(--wpds-typography-font-size-sm, 12px);
208
+ line-height: var(--wpds-typography-line-height-xs, 16px);
209
209
  }
210
210
  .dataviews-media-field__media-thumbnail__filename__truncate {
211
211
  margin-top: 4px;
@@ -202,10 +202,10 @@
202
202
  padding: 0 16px;
203
203
  width: 100%;
204
204
  container-type: inline-size;
205
- font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
205
+ font-family: var(--wpds-typography-font-family-body, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
206
206
  font-weight: var(--wpds-typography-font-weight-default, 400);
207
- font-size: 12px;
208
- line-height: 16px;
207
+ font-size: var(--wpds-typography-font-size-sm, 12px);
208
+ line-height: var(--wpds-typography-line-height-xs, 16px);
209
209
  }
210
210
  .dataviews-media-field__media-thumbnail__filename__truncate {
211
211
  margin-top: 4px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/media-fields",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Reusable field definitions for displaying and editing media attachment properties in WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -46,24 +46,24 @@
46
46
  "src/**/*.scss"
47
47
  ],
48
48
  "dependencies": {
49
- "@wordpress/base-styles": "^15.0.0",
50
- "@wordpress/components": "^44.0.0",
51
- "@wordpress/compose": "^9.1.0",
52
- "@wordpress/core-data": "^9.1.0",
53
- "@wordpress/data": "^11.1.0",
54
- "@wordpress/dataviews": "^22.0.0",
55
- "@wordpress/element": "^10.1.0",
56
- "@wordpress/i18n": "^7.1.0",
57
- "@wordpress/icons": "^20.0.0",
58
- "@wordpress/ui": "^0.26.0",
59
- "@wordpress/url": "^5.1.0",
49
+ "@wordpress/base-styles": "^15.1.0",
50
+ "@wordpress/components": "^45.0.0",
51
+ "@wordpress/compose": "^9.2.0",
52
+ "@wordpress/core-data": "^9.2.0",
53
+ "@wordpress/data": "^11.2.0",
54
+ "@wordpress/dataviews": "^22.1.0",
55
+ "@wordpress/element": "^10.2.0",
56
+ "@wordpress/i18n": "^7.2.0",
57
+ "@wordpress/icons": "^21.0.0",
58
+ "@wordpress/ui": "^0.27.0",
59
+ "@wordpress/url": "^5.2.0",
60
60
  "clsx": "^2.1.1"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@testing-library/dom": "^10.4.2",
64
64
  "@testing-library/jest-dom": "^7.0.1",
65
65
  "@testing-library/react": "^16.3.3",
66
- "vitest": "^5.0.5"
66
+ "vitest": "^5.1.0"
67
67
  },
68
68
  "peerDependencies": {
69
69
  "@types/react": "^18 || ^19",
@@ -82,5 +82,5 @@
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "9b70363b9f93cff0583a1f3153738d383cf5a49e"
85
+ "gitHead": "1000cdf1dffd5b5e69f75cc4360aa76db8252264"
86
86
  }