@wordpress/annotations 3.36.1-next.76cff8c98.0 → 3.36.1-next.8fd3f8831.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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Gutenberg
2
2
 
3
- Copyright 2016-2026 by the contributors
3
+ Copyright 2016-2025 by the contributors
4
4
 
5
5
  **License for Contributions (on and after April 15, 2021)**
6
6
 
@@ -33,9 +33,9 @@ __export(store_exports, {
33
33
  });
34
34
  module.exports = __toCommonJS(store_exports);
35
35
  var import_data = require("@wordpress/data");
36
- var import_reducer = __toESM(require("./reducer.cjs"));
37
- var selectors = __toESM(require("./selectors.cjs"));
38
- var actions = __toESM(require("./actions.cjs"));
36
+ var import_reducer = __toESM(require("./reducer.cjs"), 1);
37
+ var selectors = __toESM(require("./selectors.cjs"), 1);
38
+ var actions = __toESM(require("./actions.cjs"), 1);
39
39
  var import_constants = require("./constants.cjs");
40
40
  var store = (0, import_data.createReduxStore)(import_constants.STORE_NAME, {
41
41
  reducer: import_reducer.default,
@@ -1,7 +1,7 @@
1
1
  // packages/annotations/src/block/index.js
2
2
  import { addFilter } from "@wordpress/hooks";
3
3
  import { withSelect } from "@wordpress/data";
4
- import { STORE_NAME } from "../store/constants.mjs";
4
+ import { STORE_NAME } from "../store/constants.js";
5
5
  var addAnnotationClassName = (OriginalComponent) => {
6
6
  return withSelect((select, { clientId, className }) => {
7
7
  const annotations = select(STORE_NAME).__experimentalGetAnnotationsForBlock(
@@ -19,4 +19,4 @@ addFilter(
19
19
  "core/annotations",
20
20
  addAnnotationClassName
21
21
  );
22
- //# sourceMappingURL=index.mjs.map
22
+ //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  // packages/annotations/src/format/annotation.js
2
2
  import { __ } from "@wordpress/i18n";
3
3
  import { applyFormat, removeFormat } from "@wordpress/rich-text";
4
- import { STORE_NAME } from "../store/constants.mjs";
4
+ import { STORE_NAME } from "../store/constants.js";
5
5
  var FORMAT_NAME = "core/annotation";
6
6
  var ANNOTATION_ATTRIBUTE_PREFIX = "annotation-text-";
7
7
  function applyAnnotations(record, annotations = []) {
@@ -124,4 +124,4 @@ export {
124
124
  applyAnnotations,
125
125
  removeAnnotations
126
126
  };
127
- //# sourceMappingURL=annotation.mjs.map
127
+ //# sourceMappingURL=annotation.js.map
@@ -1,6 +1,6 @@
1
1
  // packages/annotations/src/format/index.js
2
2
  import { registerFormatType } from "@wordpress/rich-text";
3
- import { annotation } from "./annotation.mjs";
3
+ import { annotation } from "./annotation.js";
4
4
  var { name, ...settings } = annotation;
5
5
  registerFormatType(name, settings);
6
- //# sourceMappingURL=index.mjs.map
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,8 @@
1
+ // packages/annotations/src/index.js
2
+ import "./format/index.js";
3
+ import "./block/index.js";
4
+ import { store } from "./store/index.js";
5
+ export {
6
+ store
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -47,4 +47,4 @@ export {
47
47
  __experimentalRemoveAnnotationsBySource,
48
48
  __experimentalUpdateAnnotationRange
49
49
  };
50
- //# sourceMappingURL=actions.mjs.map
50
+ //# sourceMappingURL=actions.js.map
@@ -3,4 +3,4 @@ var STORE_NAME = "core/annotations";
3
3
  export {
4
4
  STORE_NAME
5
5
  };
6
- //# sourceMappingURL=constants.mjs.map
6
+ //# sourceMappingURL=constants.js.map
@@ -1,9 +1,9 @@
1
1
  // packages/annotations/src/store/index.js
2
2
  import { register, createReduxStore } from "@wordpress/data";
3
- import reducer from "./reducer.mjs";
4
- import * as selectors from "./selectors.mjs";
5
- import * as actions from "./actions.mjs";
6
- import { STORE_NAME } from "./constants.mjs";
3
+ import reducer from "./reducer.js";
4
+ import * as selectors from "./selectors.js";
5
+ import * as actions from "./actions.js";
6
+ import { STORE_NAME } from "./constants.js";
7
7
  var store = createReduxStore(STORE_NAME, {
8
8
  reducer,
9
9
  selectors,
@@ -13,4 +13,4 @@ register(store);
13
13
  export {
14
14
  store
15
15
  };
16
- //# sourceMappingURL=index.mjs.map
16
+ //# sourceMappingURL=index.js.map
@@ -82,4 +82,4 @@ export {
82
82
  annotations,
83
83
  reducer_default as default
84
84
  };
85
- //# sourceMappingURL=reducer.mjs.map
85
+ //# sourceMappingURL=reducer.js.map
@@ -35,4 +35,4 @@ export {
35
35
  __experimentalGetAnnotationsForBlock,
36
36
  __experimentalGetAnnotationsForRichText
37
37
  };
38
- //# sourceMappingURL=selectors.mjs.map
38
+ //# sourceMappingURL=selectors.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/annotations",
3
- "version": "3.36.1-next.76cff8c98.0",
3
+ "version": "3.36.1-next.8fd3f8831.0",
4
4
  "description": "Annotate content in the Gutenberg editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -29,11 +29,12 @@
29
29
  "build-types",
30
30
  "*.md"
31
31
  ],
32
+ "type": "module",
32
33
  "main": "build/index.cjs",
33
- "module": "build-module/index.mjs",
34
+ "module": "build-module/index.js",
34
35
  "exports": {
35
36
  ".": {
36
- "import": "./build-module/index.mjs",
37
+ "import": "./build-module/index.js",
37
38
  "require": "./build/index.cjs"
38
39
  },
39
40
  "./package.json": "./package.json"
@@ -41,10 +42,10 @@
41
42
  "react-native": "src/index",
42
43
  "wpScript": true,
43
44
  "dependencies": {
44
- "@wordpress/data": "^10.36.1-next.76cff8c98.0",
45
- "@wordpress/hooks": "^4.36.1-next.76cff8c98.0",
46
- "@wordpress/i18n": "^6.9.1-next.76cff8c98.0",
47
- "@wordpress/rich-text": "^7.36.1-next.76cff8c98.0",
45
+ "@wordpress/data": "^10.36.1-next.8fd3f8831.0",
46
+ "@wordpress/hooks": "^4.36.1-next.8fd3f8831.0",
47
+ "@wordpress/i18n": "^6.9.1-next.8fd3f8831.0",
48
+ "@wordpress/rich-text": "^7.36.1-next.8fd3f8831.0",
48
49
  "uuid": "^9.0.1"
49
50
  },
50
51
  "peerDependencies": {
@@ -53,5 +54,5 @@
53
54
  "publishConfig": {
54
55
  "access": "public"
55
56
  },
56
- "gitHead": "368727f14b858e75179e140967c2d9ec965c8790"
57
+ "gitHead": "e582b351bc4c4b8734bb087f63a3beec9875c3c7"
57
58
  }
@@ -1,8 +0,0 @@
1
- // packages/annotations/src/index.js
2
- import "./format/index.mjs";
3
- import "./block/index.mjs";
4
- import { store } from "./store/index.mjs";
5
- export {
6
- store
7
- };
8
- //# sourceMappingURL=index.mjs.map
File without changes