pdfmake 0.3.4 → 0.3.5

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
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.5 - 2026-02-22
4
+
5
+ - Added `snakingColumns` property for columns to enable newspaper-like column flow
6
+ - Added outlines / bookmarks for `text` node
7
+ - `outline` - set to `true` for add to bookmarks
8
+ - `outlineText` (optional) - set custom bookmark text, otherwise text from node
9
+ - `outlineExpanded` (optional) - set to `true` for expanded/opened bookmark
10
+ - `outlineParentId` (optional) - parent bookmark `id`
11
+ - Added property `outlines` for ToC, which adds all items to outlines / bookmarks (any existing outline settings on texts are respected)
12
+
3
13
  ## 0.3.4 - 2026-02-13
4
14
 
5
15
  - Added vertical alignment for table cells via `verticalAlignment` property, values: `top` (default), `middle`, `bottom`
@@ -9,7 +19,7 @@
9
19
 
10
20
  - Added properties for ToC:
11
21
  - `hideEmpty` - set to `true` if you can hide an empty ToC
12
- - `sortBy` - `'page'` (default) or `'title'`
22
+ - `sortBy` - `'page'` (default) or `'title'`
13
23
  - `sortLocale` - custom locale to sort by property `sortBy`
14
24
  - Added property `decorationThickness` for `text` to set width of the decoration line
15
25
  - Added inherited/extends styles, use property `extends` in style with style name or array of string with style names
package/README.md CHANGED
@@ -23,6 +23,7 @@ Check out [the playground](http://bpampuch.github.io/pdfmake/playground.html) an
23
23
  * auto/fixed/star-sized widths,
24
24
  * col-spans and row-spans,
25
25
  * headers automatically repeated in case of a page-break,
26
+ * snaking columns (newspaper-style layout where content flows column-to-column),
26
27
  * images and vector graphics,
27
28
  * convenient styling and style inheritance,
28
29
  * page headers and footers: