@contrail/documents 1.4.0 → 1.4.1-dev-tel-own-otel-1

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
@@ -7,7 +7,11 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [1.4.0] - 2026-03-27
10
+ ## [1.3.29] - 2026-03-30
11
+
12
+ - Added `imageSize` and `imagePosition` to the `DocumentElement` interface to support the canvas thumbnail crop feature.
13
+
14
+ ## [1.4.0] - 2026-03-31
11
15
 
12
16
  ### Added
13
17
 
@@ -1,5 +1,5 @@
1
1
  import { PropertyLevel } from '@contrail/types';
2
- import { CropDefinition, LineDefinition, PositionDefinition, RotationDefinition } from './common';
2
+ import { CropDefinition, LineDefinition, PositionDefinition, RotationDefinition, SizeDefinition } from './common';
3
3
  import { Document } from './document';
4
4
  import { ScaleTransformation } from './element-transformation';
5
5
  export interface AlternateUrls {
@@ -45,6 +45,8 @@ export interface DocumentElement extends Document {
45
45
  rowspan?: number;
46
46
  start?: LinkedEdgeDefinition;
47
47
  end?: LinkedEdgeDefinition;
48
+ imageSize?: SizeDefinition;
49
+ imagePosition?: PositionDefinition;
48
50
  propertyBindingsMetaData?: {
49
51
  displayFunction: string;
50
52
  propertyType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/documents",
3
- "version": "1.4.0",
3
+ "version": "1.4.1-dev-tel-own-otel-1",
4
4
  "description": "Documents library for contrail platform",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  "@contrail/actions": "^1.0.17",
42
42
  "@contrail/document-table": "^1.0.19",
43
43
  "@contrail/document-util": "^1.0.15",
44
- "@contrail/telemetry": "^1.0.2",
44
+ "@contrail/telemetry": "^2.0.0-dev-telemetry-own-otel-1",
45
45
  "@contrail/types": "^3.1.4",
46
46
  "reflect-metadata": "^0.1.13"
47
47
  }