@contrail/documents 1.21.0 → 1.22.0-alpha.cf41460

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
@@ -5,6 +5,15 @@ All notable changes to `@contrail/documents` are documented here.
5
5
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
  Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.22.0] - 2026-10-07
9
+
10
+ Maintenance release on the 1.x line; the same change ships on 2.x as 2.5.0.
11
+
12
+ ### Added
13
+
14
+ - `DocumentChange.keepSortIndex`: set on an add to keep the sortIndex its element carries when no
15
+ element holds it, instead of appending it on top.
16
+
8
17
  ## [1.21.0] - 2026-09-26
9
18
 
10
19
  Maintenance release on the 1.x line; the same change ships on 2.x as 2.4.0.
@@ -19,4 +19,5 @@ export interface DocumentChange {
19
19
  targetSortIndex?: number;
20
20
  skipUndo?: boolean;
21
21
  gestureId?: string;
22
+ keepSortIndex?: boolean;
22
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/documents",
3
- "version": "1.21.0",
3
+ "version": "1.22.0-alpha.cf41460",
4
4
  "description": "Documents library for contrail platform",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",