abstract-document 18.2.49 → 19.0.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 +20 -16
- package/lib/index.d.ts +0 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -2
- package/lib/index.js.map +1 -1
- package/package.json +10 -3
- package/src/index.ts +0 -2
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
package/lib/index.d.ts.map
CHANGED
|
@@ -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
|
|
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
|
|
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": "
|
|
3
|
+
"version": "19.0.0",
|
|
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
|
-
".":
|
|
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",
|
|
@@ -48,5 +55,5 @@
|
|
|
48
55
|
"vite": "^6.0.1",
|
|
49
56
|
"vitest": "^2.1.6"
|
|
50
57
|
},
|
|
51
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "a6f6ff3a902c339bba96bcbc2399afc3a49a4f82"
|
|
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
|