pdfmake 0.3.2 → 0.3.3
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 +13 -0
- package/build/pdfmake.js +13070 -12989
- package/build/pdfmake.js.map +1 -1
- package/build/pdfmake.min.js +2 -2
- package/build/pdfmake.min.js.map +1 -1
- package/js/3rd-party/svg-to-pdfkit/source.js +1 -1
- package/js/DocMeasure.js +5 -0
- package/js/LayoutBuilder.js +3 -0
- package/js/StyleContextStack.js +26 -3
- package/js/TextDecorator.js +12 -3
- package/js/TextInlines.js +1 -0
- package/js/helpers/node.js +36 -11
- package/package.json +8 -8
- package/src/3rd-party/svg-to-pdfkit/source.js +1 -1
- package/src/DocMeasure.js +7 -0
- package/src/LayoutBuilder.js +4 -0
- package/src/StyleContextStack.js +32 -3
- package/src/TextDecorator.js +17 -3
- package/src/TextInlines.js +1 -0
- package/src/helpers/node.js +41 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.3 - 2026-01-18
|
|
4
|
+
|
|
5
|
+
- Added properties for ToC:
|
|
6
|
+
- `hideEmpty` - set to `true` if you can hide an empty ToC
|
|
7
|
+
- `sortBy` - `'page'` (default) or `'title'`
|
|
8
|
+
- `sortLocale` - custom locale to sort by property `sortBy`
|
|
9
|
+
- Added property `decorationThickness` for `text` to set width of the decoration line
|
|
10
|
+
- Added inherited/extends styles, use property `extends` in style with style name or array of string with style names
|
|
11
|
+
- Fixed margin override with 0 value
|
|
12
|
+
- Fixed margin override from multiple styles
|
|
13
|
+
- Fixed text decoration for superscript and subscript
|
|
14
|
+
- Fixed svg-to-pdfkit - TypeError: t.classList.contains is not a function
|
|
15
|
+
|
|
3
16
|
## 0.3.2 - 2026-01-11
|
|
4
17
|
|
|
5
18
|
- Fixed non-working `open()` and `print()` methods in browser
|