vobi_document 1.1.4 → 1.1.6

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.
Files changed (47) hide show
  1. package/dist/blocks.cjs +25 -25
  2. package/dist/blocks.d.cts +1 -1
  3. package/dist/blocks.d.ts +1 -1
  4. package/dist/blocks.js +1 -1
  5. package/dist/{chunk-3KIK2XTA.cjs → chunk-CSQHYPHU.cjs} +14 -14
  6. package/dist/{chunk-3KIK2XTA.cjs.map → chunk-CSQHYPHU.cjs.map} +1 -1
  7. package/dist/{chunk-D3JG6YEL.cjs → chunk-LQIV7LT7.cjs} +8 -8
  8. package/dist/{chunk-D3JG6YEL.cjs.map → chunk-LQIV7LT7.cjs.map} +1 -1
  9. package/dist/{chunk-2EVBMRJR.js → chunk-NLM2NZWH.js} +3 -3
  10. package/dist/{chunk-2EVBMRJR.js.map → chunk-NLM2NZWH.js.map} +1 -1
  11. package/dist/{chunk-P2FDTTXF.js → chunk-NPNQGHGK.js} +9 -9
  12. package/dist/{chunk-P2FDTTXF.js.map → chunk-NPNQGHGK.js.map} +1 -1
  13. package/dist/{chunk-EX252M4Y.js → chunk-PNCVE5YE.js} +3 -3
  14. package/dist/{chunk-EX252M4Y.js.map → chunk-PNCVE5YE.js.map} +1 -1
  15. package/dist/{chunk-5H27FECZ.cjs → chunk-RGA2OGHE.cjs} +4 -4
  16. package/dist/{chunk-5H27FECZ.cjs.map → chunk-RGA2OGHE.cjs.map} +1 -1
  17. package/dist/{chunk-CPU4SK5F.cjs → chunk-RGG5BGMG.cjs} +105 -105
  18. package/dist/chunk-RGG5BGMG.cjs.map +1 -0
  19. package/dist/{chunk-RP4T57MA.cjs → chunk-USMVHVHF.cjs} +9 -9
  20. package/dist/{chunk-RP4T57MA.cjs.map → chunk-USMVHVHF.cjs.map} +1 -1
  21. package/dist/{chunk-PBBPAMLP.js → chunk-Y7ADQ2HV.js} +93 -93
  22. package/dist/chunk-Y7ADQ2HV.js.map +1 -0
  23. package/dist/{chunk-DQ4AL6SJ.js → chunk-Z3ZCB3ZT.js} +4 -4
  24. package/dist/{chunk-DQ4AL6SJ.js.map → chunk-Z3ZCB3ZT.js.map} +1 -1
  25. package/dist/editor.cjs +14 -14
  26. package/dist/editor.d.cts +1 -1
  27. package/dist/editor.d.ts +1 -1
  28. package/dist/editor.js +2 -2
  29. package/dist/index.cjs +83 -83
  30. package/dist/index.d.cts +2 -2
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.js +6 -6
  33. package/dist/print.cjs +19 -19
  34. package/dist/print.cjs.map +1 -1
  35. package/dist/print.d.cts +1 -1
  36. package/dist/print.d.ts +1 -1
  37. package/dist/print.js +5 -5
  38. package/dist/print.js.map +1 -1
  39. package/dist/render.cjs +18 -18
  40. package/dist/render.d.cts +1 -1
  41. package/dist/render.d.ts +1 -1
  42. package/dist/render.js +3 -3
  43. package/dist/{theme-BuEFpQeZ.d.cts → theme-DWRLG-2_.d.cts} +1 -1
  44. package/dist/{theme-BuEFpQeZ.d.ts → theme-DWRLG-2_.d.ts} +1 -1
  45. package/package.json +1 -1
  46. package/dist/chunk-CPU4SK5F.cjs.map +0 -1
  47. package/dist/chunk-PBBPAMLP.js.map +0 -1
package/dist/print.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ComponentType, ReactNode } from 'react';
2
2
  import { Data, Metadata } from '@puckeditor/core';
3
3
  import { R as Registry } from './types-CvKSS1Sy.cjs';
4
- import { T as Theme } from './theme-BuEFpQeZ.cjs';
4
+ import { T as Theme } from './theme-DWRLG-2_.cjs';
5
5
  import { V as VariableDef, R as ResolvedVariables, U as UnresolvedDisplay } from './types-BgIugNWW.cjs';
6
6
  import { C as CompanyInfo } from './messages-Bi0JxNIH.cjs';
7
7
  export { D as DG_ERROR, a as DG_MESSAGE_SOURCE, b as DG_READY } from './messages-Bi0JxNIH.cjs';
package/dist/print.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ComponentType, ReactNode } from 'react';
2
2
  import { Data, Metadata } from '@puckeditor/core';
3
3
  import { R as Registry } from './types-CvKSS1Sy.js';
4
- import { T as Theme } from './theme-BuEFpQeZ.js';
4
+ import { T as Theme } from './theme-DWRLG-2_.js';
5
5
  import { V as VariableDef, R as ResolvedVariables, U as UnresolvedDisplay } from './types-BgIugNWW.js';
6
6
  import { C as CompanyInfo } from './messages-Bi0JxNIH.js';
7
7
  export { D as DG_ERROR, a as DG_MESSAGE_SOURCE, b as DG_READY } from './messages-Bi0JxNIH.js';
package/dist/print.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { devWarn } from './chunk-ZOJBDFKU.js';
2
- import { DG_MESSAGE_SOURCE, DG_READY, DG_ERROR, DocumentRenderer, CoverPage, HeaderBar, FooterBar } from './chunk-PBBPAMLP.js';
3
- export { DG_ERROR, DG_MESSAGE_SOURCE, DG_READY } from './chunk-PBBPAMLP.js';
4
- import { DEFAULT_PAGE_MARGINS, DEFAULT_DOCUMENT_COLORS, pageWidthPx, pageHeightPx, gfontHref } from './chunk-DQ4AL6SJ.js';
2
+ import { DG_MESSAGE_SOURCE, DG_READY, DG_ERROR, DocumentRenderer, CoverPage, HeaderBar, FooterBar } from './chunk-Y7ADQ2HV.js';
3
+ export { DG_ERROR, DG_MESSAGE_SOURCE, DG_READY } from './chunk-Y7ADQ2HV.js';
4
+ import { DEFAULT_PAGE_MARGINS, DEFAULT_DOCUMENT_COLORS, pageWidthPx, pageHeightPx, gfontHref } from './chunk-Z3ZCB3ZT.js';
5
5
  import './chunk-CZB7F2LA.js';
6
6
  import './chunk-SOIYSSU3.js';
7
7
  import { createElement, Fragment } from 'react';
@@ -81,7 +81,7 @@ function buildPageCss(theme = {}, opts = {}) {
81
81
  .pagedjs_page .pagedjs_margin-top,
82
82
  .pagedjs_page .pagedjs_margin-top-left-corner-holder,
83
83
  .pagedjs_page .pagedjs_margin-top-right-corner-holder {
84
- background: linear-gradient(${headerBg} ${headerH}px, transparent ${headerH}px);
84
+ background: linear-gradient(${headerBg}, ${headerBg}) no-repeat 0 0 / 100% ${headerH}px;
85
85
  }`);
86
86
  }
87
87
  if (hasFooterBox) {
@@ -106,7 +106,7 @@ function buildPageCss(theme = {}, opts = {}) {
106
106
  parts.push(`.pagedjs_page .pagedjs_margin-bottom,
107
107
  .pagedjs_page .pagedjs_margin-bottom-left-corner-holder,
108
108
  .pagedjs_page .pagedjs_margin-bottom-right-corner-holder {
109
- background: linear-gradient(transparent ${NUMBER_STRIP_PX}px, ${footerBg} ${NUMBER_STRIP_PX}px);
109
+ background: linear-gradient(${footerBg}, ${footerBg}) no-repeat 0 100% / 100% ${footerH}px;
110
110
  }`);
111
111
  }
112
112
  parts.push(`.pagedjs_page_content [data-docgen-root] {