@plaudit/gutenberg-api-extensions 2.25.1 → 2.26.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.
package/build/index.d.ts CHANGED
@@ -1,4 +1,15 @@
1
1
  export * from "./blocks";
2
2
  export * from "./controls";
3
3
  export * from "./lib/plaudit-icons";
4
+ import type { PointerEvent as ReactPointerEvent } from "react";
4
5
  export declare function installGutenbergExtensions(): void;
6
+ declare module 'react' {
7
+ interface HTMLAttributes<T> {
8
+ onPointerEnterCapture?: (e: ReactPointerEvent<T>) => void;
9
+ onPointerLeaveCapture?: (e: ReactPointerEvent<T>) => void;
10
+ }
11
+ interface RefAttributes<T> {
12
+ onPointerEnterCapture?: (e: ReactPointerEvent<T>) => void;
13
+ onPointerLeaveCapture?: (e: ReactPointerEvent<T>) => void;
14
+ }
15
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EAAC,oCAAoC,EAAC,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAC,0CAA0C,EAAC,MAAM,8BAA8B,CAAC;AAExF,MAAM,UAAU,0BAA0B;IACzC,IAAK,MAAc,CAAC,mCAAmC,EAAE,CAAC;QACzD,OAAO;IACR,CAAC;IACA,MAAc,CAAC,mCAAmC,GAAG,IAAI,CAAC;IAC3D,oCAAoC,EAAE,CAAC;IACvC,0CAA0C,EAAE,CAAC;AAC9C,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EAAC,oCAAoC,EAAC,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAC,0CAA0C,EAAC,MAAM,8BAA8B,CAAC;AAIxF,MAAM,UAAU,0BAA0B;IACzC,IAAK,MAAc,CAAC,mCAAmC,EAAE,CAAC;QACzD,OAAO;IACR,CAAC;IACA,MAAc,CAAC,mCAAmC,GAAG,IAAI,CAAC;IAC3D,oCAAoC,EAAE,CAAC;IACvC,0CAA0C,EAAE,CAAC;AAC9C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaudit/gutenberg-api-extensions",
3
- "version": "2.25.1",
3
+ "version": "2.26.0",
4
4
  "scripts": {
5
5
  "prepublishOnly": "rm -rf build && mkdir build && tsc",
6
6
  "build": "tsc",
@@ -25,27 +25,24 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@wordpress/block-editor": "^12.22.0",
29
- "@wordpress/blocks": "^12.31.0",
30
- "@wordpress/components": "^27.2.0",
31
- "@wordpress/compose": "^6.31.0",
32
- "@wordpress/core-data": "^6.31.0",
33
- "@wordpress/data": "^9.24.0",
34
- "@wordpress/editor": "^13.31.0",
35
- "@wordpress/element": "^5.31.0",
36
- "@wordpress/hooks": "^3.54.0",
37
- "@wordpress/i18n": "^4.54.0",
28
+ "@wordpress/block-editor": "^12.24.0",
29
+ "@wordpress/blocks": "^12.33.0",
30
+ "@wordpress/components": "^27.4.0",
31
+ "@wordpress/compose": "^6.33.0",
32
+ "@wordpress/core-data": "^6.33.0",
33
+ "@wordpress/data": "^9.26.0",
34
+ "@wordpress/editor": "^13.33.0",
35
+ "@wordpress/element": "^5.33.0",
36
+ "@wordpress/hooks": "^3.56.0",
37
+ "@wordpress/i18n": "^4.56.0",
38
38
  "react": "^18.2.0",
39
39
  "react-dom": "^18.2.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/react": "18.2.65",
43
- "@types/wordpress__block-editor": "^11.5.13",
44
- "@types/wordpress__blocks": "^12.5.13",
45
- "@types/wordpress__editor": "^13.6.7",
46
- "typescript": "^5.4.3"
47
- },
48
- "overrides": {
49
- "@types/react": "$@types/react"
42
+ "@types/react": "^18.2.79",
43
+ "@types/wordpress__block-editor": "^11.5.14",
44
+ "@types/wordpress__blocks": "^12.5.14",
45
+ "@types/wordpress__editor": "^13.6.8",
46
+ "typescript": "^5.4.5"
50
47
  }
51
48
  }