@atlaskit/editor-plugin-local-id 6.0.23 → 6.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @atlaskit/editor-plugin-local-id
2
2
 
3
+ ## 6.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`e0d081a91e31c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e0d081a91e31c) -
8
+ @atlaskit/editor-common Add findNodeByLocalId utility for plain JSON ADF node search.
9
+ @atlaskit/editor-plugin-local-id Export generateShortUUID as a reusable util via the ./utils
10
+ subpath. @atlassian/adf-semantic-toolcalls New package for structure-aware semantic tool calls.
11
+ Adds createEmptyTable with aligned backend contract (localId, command, flat
12
+ headerRow/headerColumn/numberedRows).
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
18
+ ## 6.0.24
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
23
+
3
24
  ## 6.0.23
4
25
 
5
26
  ### Patch Changes
@@ -219,7 +219,6 @@ var createPlugin = exports.createPlugin = function createPlugin(api) {
219
219
  *
220
220
  * @param pos - The position of the node in the document
221
221
  * @param tr - The transaction to apply the change to
222
- * @param node - Node reference for integer ID generator
223
222
  */
224
223
  var addLocalIdToNode = exports.addLocalIdToNode = function addLocalIdToNode(pos, tr) {
225
224
  tr.setNodeAttribute(pos, 'localId', generateUUID());
@@ -201,7 +201,6 @@ export const createPlugin = api => {
201
201
  *
202
202
  * @param pos - The position of the node in the document
203
203
  * @param tr - The transaction to apply the change to
204
- * @param node - Node reference for integer ID generator
205
204
  */
206
205
  export const addLocalIdToNode = (pos, tr) => {
207
206
  tr.setNodeAttribute(pos, 'localId', generateUUID());
@@ -212,7 +212,6 @@ export var createPlugin = function createPlugin(api) {
212
212
  *
213
213
  * @param pos - The position of the node in the document
214
214
  * @param tr - The transaction to apply the change to
215
- * @param node - Node reference for integer ID generator
216
215
  */
217
216
  export var addLocalIdToNode = function addLocalIdToNode(pos, tr) {
218
217
  tr.setNodeAttribute(pos, 'localId', generateUUID());
@@ -11,7 +11,6 @@ export declare const createPlugin: (api: ExtractInjectionAPI<LocalIdPlugin> | un
11
11
  *
12
12
  * @param pos - The position of the node in the document
13
13
  * @param tr - The transaction to apply the change to
14
- * @param node - Node reference for integer ID generator
15
14
  */
16
15
  export declare const addLocalIdToNode: (pos: number, tr: Transaction) => void;
17
16
  /**
@@ -11,7 +11,6 @@ export declare const createPlugin: (api: ExtractInjectionAPI<LocalIdPlugin> | un
11
11
  *
12
12
  * @param pos - The position of the node in the document
13
13
  * @param tr - The transaction to apply the change to
14
- * @param node - Node reference for integer ID generator
15
14
  */
16
15
  export declare const addLocalIdToNode: (pos: number, tr: Transaction) => void;
17
16
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-local-id",
3
- "version": "6.0.23",
3
+ "version": "6.1.0",
4
4
  "description": "LocalId plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,12 +34,12 @@
34
34
  "@atlaskit/editor-plugin-limited-mode": "^5.0.0",
35
35
  "@atlaskit/editor-prosemirror": "^7.3.0",
36
36
  "@atlaskit/platform-feature-flags": "^1.1.0",
37
- "@atlaskit/tmp-editor-statsig": "^56.0.0",
37
+ "@atlaskit/tmp-editor-statsig": "^58.0.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "raf-schd": "^4.0.3"
40
40
  },
41
41
  "peerDependencies": {
42
- "@atlaskit/editor-common": "^112.18.0",
42
+ "@atlaskit/editor-common": "^112.19.0",
43
43
  "react": "^18.2.0"
44
44
  },
45
45
  "devDependencies": {
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-local-id/utils/generateShortUUID",
3
+ "main": "../../dist/cjs/pm-plugins/generateShortUUID.js",
4
+ "module": "../../dist/esm/pm-plugins/generateShortUUID.js",
5
+ "module:es2019": "../../dist/es2019/pm-plugins/generateShortUUID.js",
6
+ "sideEffects": false,
7
+ "types": "../../dist/types/pm-plugins/generateShortUUID.d.ts",
8
+ "typesVersions": {
9
+ ">=4.5 <5.9": {
10
+ "*": [
11
+ "../../dist/types-ts4.5/pm-plugins/generateShortUUID.d.ts"
12
+ ]
13
+ }
14
+ }
15
+ }