@types/wordpress__block-editor 14.21.6 → 14.21.7

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.
@@ -8,8 +8,8 @@ This package contains type definitions for @wordpress/block-editor (https://gith
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__block-editor.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sun, 28 Dec 2025 19:32:22 GMT
12
- * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/wordpress__blocks](https://npmjs.com/package/@types/wordpress__blocks), [@wordpress/components](https://npmjs.com/package/@wordpress/components), [@wordpress/data](https://npmjs.com/package/@wordpress/data), [@wordpress/element](https://npmjs.com/package/@wordpress/element), [@wordpress/keycodes](https://npmjs.com/package/@wordpress/keycodes), [react-autosize-textarea](https://npmjs.com/package/react-autosize-textarea)
11
+ * Last updated: Mon, 29 Dec 2025 00:04:30 GMT
12
+ * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/wordpress__blocks](https://npmjs.com/package/@types/wordpress__blocks), [@wordpress/components](https://npmjs.com/package/@wordpress/components), [@wordpress/data](https://npmjs.com/package/@wordpress/data), [@wordpress/element](https://npmjs.com/package/@wordpress/element), [@wordpress/global-styles-engine](https://npmjs.com/package/@wordpress/global-styles-engine), [@wordpress/keycodes](https://npmjs.com/package/@wordpress/keycodes), [react-autosize-textarea](https://npmjs.com/package/react-autosize-textarea)
13
13
 
14
14
  # Credits
15
15
  These definitions were written by [Derek Sifford](https://github.com/dsifford), [Jon Surrell](https://github.com/sirreal), [Dennis Snell](https://github.com/dmsnell), and [Joshua Lipstone](https://github.com/joshualip-plaudit).
@@ -1,4 +1,5 @@
1
1
  import { BlockAttributes } from "@wordpress/blocks";
2
+ import { GlobalStylesSettings } from "@wordpress/global-styles-engine";
2
3
 
3
4
  /**
4
5
  * Provides the CSS class names and inline styles for a block's typography support
@@ -6,11 +7,11 @@ import { BlockAttributes } from "@wordpress/blocks";
6
7
  *
7
8
  * @param attributes Block attributes.
8
9
  * @param fluidTypographySettings If boolean, whether the function should try to convert font sizes to fluid values,
9
- * otherwise an object containing theme fluid typography settings.
10
+ * otherwise an object containing theme (typography) settings.
10
11
  *
11
12
  * @return Typography block support derived CSS classes & styles.
12
13
  */
13
14
  export function getTypographyClassesAndStyles(
14
15
  attributes: BlockAttributes,
15
- fluidTypographySettings: { minFontSize?: string } | boolean,
16
+ fluidTypographySettings?: { minFontSize?: string } | GlobalStylesSettings | boolean,
16
17
  ): { className: string; style: Record<string, string> };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/wordpress__block-editor",
3
- "version": "14.21.6",
3
+ "version": "14.21.7",
4
4
  "description": "TypeScript definitions for @wordpress/block-editor",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__block-editor",
6
6
  "license": "MIT",
@@ -40,10 +40,11 @@
40
40
  "@wordpress/components": "^29.12.0",
41
41
  "@wordpress/data": "^10.26.0",
42
42
  "@wordpress/element": "^6.26.0",
43
+ "@wordpress/global-styles-engine": "^1.4.0",
43
44
  "@wordpress/keycodes": "^4.26.0",
44
45
  "react-autosize-textarea": "^7.1.0"
45
46
  },
46
47
  "peerDependencies": {},
47
- "typesPublisherContentHash": "bedb14407981ff7b865d3347a8be5b4d17afdc8b11570fcef9aac5b5798bd218",
48
+ "typesPublisherContentHash": "ddf16c4acd268772e70746aba24f86b7a53a9ebdffc639d49375049e201fa8c5",
48
49
  "typeScriptVersion": "5.2"
49
50
  }