abstract-document 18.2.49 → 19.0.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
@@ -2,27 +2,31 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [19.0.0] - 2026-05-23
6
+
7
+ - Abstract doc xml split into separete export to enable simple code splitting with rolldown.
8
+
5
9
  ## [18.1.0] - 2026-01-16
6
10
 
7
11
  - The alignments of a single TextField inside a Paragraph now work.
8
12
  - Multiple styles can now have the name 'Default' if they have different style types.
9
13
  - Added new style attributes to override a certain side (these should mirror the normal ones that encapsulates all sides). This can be used if a an override of a single side is desired, leaving the rest to the inherited style.
10
- * borderTop
11
- * borderBottom
12
- * borderLeft
13
- * borderRight
14
- * borderColorTop
15
- * borderColorBottom
16
- * borderColorLeft
17
- * borderColorRight
18
- * marginTop
19
- * marginBottom
20
- * marginLeft
21
- * marginRight
22
- * paddingTop
23
- * paddingBottom
24
- * paddingLeft
25
- * paddingRight
14
+ - borderTop
15
+ - borderBottom
16
+ - borderLeft
17
+ - borderRight
18
+ - borderColorTop
19
+ - borderColorBottom
20
+ - borderColorLeft
21
+ - borderColorRight
22
+ - marginTop
23
+ - marginBottom
24
+ - marginLeft
25
+ - marginRight
26
+ - paddingTop
27
+ - paddingBottom
28
+ - paddingLeft
29
+ - paddingRight
26
30
 
27
31
  ## [18.0.2] - 2025.12.16
28
32
 
package/lib/index.d.ts CHANGED
@@ -2,5 +2,4 @@ export * as AbstractDoc from "./abstract-document/index.js";
2
2
  export * as AbstractDocDocx from "./abstract-document-exporters/docx2/render.js";
3
3
  export * as AbstractDocPdf from "./abstract-document-exporters/pdf/render.js";
4
4
  export * as AbstractDocJsx from "./abstract-document-jsx/index.js";
5
- export * as AbstractDocXml from "./abstract-document-xml/index.js";
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,eAAe,MAAM,+CAA+C,CAAC;AACjF,OAAO,KAAK,cAAc,MAAM,6CAA6C,CAAC;AAC9E,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,eAAe,MAAM,+CAA+C,CAAC;AACjF,OAAO,KAAK,cAAc,MAAM,6CAA6C,CAAC;AAC9E,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAC"}
package/lib/index.js CHANGED
@@ -2,6 +2,4 @@ export * as AbstractDoc from "./abstract-document/index.js";
2
2
  export * as AbstractDocDocx from "./abstract-document-exporters/docx2/render.js";
3
3
  export * as AbstractDocPdf from "./abstract-document-exporters/pdf/render.js";
4
4
  export * as AbstractDocJsx from "./abstract-document-jsx/index.js";
5
- export * as AbstractDocXml from "./abstract-document-xml/index.js";
6
- //dummy
7
5
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,eAAe,MAAM,+CAA+C,CAAC;AACjF,OAAO,KAAK,cAAc,MAAM,6CAA6C,CAAC;AAC9E,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAC;AACnE,OAAO"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,eAAe,MAAM,+CAA+C,CAAC;AACjF,OAAO,KAAK,cAAc,MAAM,6CAA6C,CAAC;AAC9E,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abstract-document",
3
- "version": "18.2.49",
3
+ "version": "19.0.1",
4
4
  "description": "Dynamically create documents using code or JSX and render to any format",
5
5
  "repository": "https://github.com/dividab/abstract-visuals/tree/master/packages/abstract-document",
6
6
  "main": "lib/index.js",
@@ -9,7 +9,14 @@
9
9
  "type": "module",
10
10
  "license": "MIT",
11
11
  "exports": {
12
- ".": "./lib/index.js"
12
+ ".": {
13
+ "ts": "./src/index.ts",
14
+ "import": "./lib/index.js"
15
+ },
16
+ "./xml": {
17
+ "ts": "./src/abstract-document-xml/index.ts",
18
+ "import": "./lib/abstract-document-xml/index.js"
19
+ }
13
20
  },
14
21
  "files": [
15
22
  "/lib",
@@ -21,7 +28,7 @@
21
28
  "!/**/__tests__"
22
29
  ],
23
30
  "dependencies": {
24
- "abstract-image": "^13.0.34",
31
+ "abstract-image": "^13.0.35",
25
32
  "docx": "^6.0.3",
26
33
  "fast-xml-parser": "^4.5.0",
27
34
  "handlebars": "4.7.8",
@@ -48,5 +55,5 @@
48
55
  "vite": "^6.0.1",
49
56
  "vitest": "^2.1.6"
50
57
  },
51
- "gitHead": "e4e3300277e5439a3d4f3f573588731e6768f683"
58
+ "gitHead": "af50066693dc04d6032ad9f546ed1dc27182d333"
52
59
  }
package/src/index.ts CHANGED
@@ -2,5 +2,3 @@ export * as AbstractDoc from "./abstract-document/index.js";
2
2
  export * as AbstractDocDocx from "./abstract-document-exporters/docx2/render.js";
3
3
  export * as AbstractDocPdf from "./abstract-document-exporters/pdf/render.js";
4
4
  export * as AbstractDocJsx from "./abstract-document-jsx/index.js";
5
- export * as AbstractDocXml from "./abstract-document-xml/index.js";
6
- //dummy