@pdfme/common 6.2.6 → 6.2.7-dev.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/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { Buffer } from "buffer";
3
3
  import { PDFName } from "@pdfme/pdf-lib";
4
4
  import * as acorn from "acorn";
5
5
  //#region src/version.ts
6
- var PDFME_VERSION = "6.2.6";
6
+ var PDFME_VERSION = "6.2.7";
7
7
  //#endregion
8
8
  //#region src/pageSize.ts
9
9
  var PAGE_SIZE_PRESETS = {
@@ -351,6 +351,8 @@ var UIOptions = CommonOptions.extend({
351
351
  requiredByDefault: z.boolean().optional(),
352
352
  maxZoom: z.number().optional(),
353
353
  sidebarOpen: z.boolean().optional(),
354
+ leftSidebarWidth: z.number().positive().finite().optional(),
355
+ rightSidebarWidth: z.number().positive().finite().optional(),
354
356
  zoomLevel: z.number().optional()
355
357
  });
356
358
  var HTMLElementSchema = z.any().refine((v) => v instanceof HTMLElement);