Commit Graph

6 Commits

Author SHA1 Message Date
7d1129900f Fix: separate vertical alignment enums for ITableCellOptions and ISectionPropertiesOptions (#3079)
* fix: separate vertical alignment enums for table and section properties

- Introduced `VerticalAlignTable` for table-cell vertical alignment with valid values: `top`, `center`, and `bottom`.
- Added `VerticalAlignSection` for section properties, extending `VerticalAlignTable` with an additional value `both`.
- Marked the original `VerticalAlign` as deprecated for backward compatibility, directing users to the new enums.
- Updated type definitions for better clarity on valid vertical alignments.

* refactor: update vertical alignment imports and types for section and table properties

- Renamed `VerticalAlign` to `VerticalAlignSection` in section properties and `VerticalAlignTable` in table-cell properties for clarity.
- Updated type definitions to reflect the new enum names, ensuring better organization and understanding of vertical alignment options.
- Adjusted related test cases to utilize the new imports and types.

* refactor: update demos to use new enums for table and section properties for vertical alignment
2025-05-02 19:58:10 +01:00
e69b063687 Porting tests over to vitest 2023-06-05 00:33:43 +01:00
3299c557a0 Make .addSection fully declarative 2021-03-19 20:53:56 +00:00
caf188caae Make adding images declarative and simple 2021-03-18 02:48:37 +00:00
bd40b11ce4 #815 Rotation and flipping images 2021-03-15 02:41:37 +00:00
4f3cb49076 Add new image for README 2019-12-31 15:49:34 +00:00