document-schema 7.7.0 → 7.8.0

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 (41) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{content-BlTHCDvF.d.cts → content-CBkzO-uB.d.cts} +1732 -31
  4. package/dist/content-json-schema-defs.cjs +126 -15
  5. package/dist/content-json-schema-defs.js +126 -15
  6. package/dist/{content-BqSMRlSK.d.ts → content-xlX3HwY8.d.ts} +1732 -31
  7. package/dist/content.cjs +70 -17
  8. package/dist/content.d.cts +2 -2
  9. package/dist/content.d.ts +2 -2
  10. package/dist/content.js +67 -18
  11. package/dist/decompose.d.cts +2 -2
  12. package/dist/decompose.d.ts +2 -2
  13. package/dist/definitions.d.cts +4 -4
  14. package/dist/definitions.d.ts +4 -4
  15. package/dist/factor-styles.d.cts +1 -1
  16. package/dist/factor-styles.d.ts +1 -1
  17. package/dist/flatten.d.cts +1 -1
  18. package/dist/flatten.d.ts +1 -1
  19. package/dist/index.cjs +4 -0
  20. package/dist/index.d.cts +4 -4
  21. package/dist/index.d.ts +4 -4
  22. package/dist/index.js +2 -2
  23. package/dist/{package-node-Btm9VsaX.d.cts → package-node-BWHA7o_U.d.cts} +302 -5
  24. package/dist/{package-node-DPm8hWYt.d.ts → package-node-F0sdAYc9.d.ts} +302 -5
  25. package/dist/package-node.d.cts +1 -1
  26. package/dist/package-node.d.ts +1 -1
  27. package/dist/package.d.cts +33 -6
  28. package/dist/package.d.ts +33 -6
  29. package/dist/schema-io.cjs +2 -2
  30. package/dist/schema-io.d.cts +1 -1
  31. package/dist/schema-io.d.ts +1 -1
  32. package/dist/schema-io.js +2 -2
  33. package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
  34. package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
  35. package/dist/style.d.cts +1 -1
  36. package/dist/style.d.ts +1 -1
  37. package/dist/text-layout.d.cts +1 -1
  38. package/dist/text-layout.d.ts +1 -1
  39. package/package.json +1 -1
  40. package/schemas/content-document.schema.json +1138 -13
  41. package/schemas/document-tree.schema.json +208 -3
package/dist/style.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.cjs";
1
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.cjs";
2
2
  export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
package/dist/style.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.js";
1
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.js";
2
2
  export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
@@ -1,5 +1,5 @@
1
1
  import { n as Color } from "./color-AELCDH_b.cjs";
2
- import { i as LayoutFont } from "./style-D06NwxAJ.cjs";
2
+ import { i as LayoutFont } from "./style-BGMcYrD2.cjs";
3
3
  //#region src/text-layout.d.ts
4
4
  interface UnderlineMetrics {
5
5
  readonly offsetPt: number;
@@ -1,5 +1,5 @@
1
1
  import { n as Color } from "./color-AELCDH_b.js";
2
- import { i as LayoutFont } from "./style-D06NwxAJ.js";
2
+ import { i as LayoutFont } from "./style-BGMcYrD2.js";
3
3
  //#region src/text-layout.d.ts
4
4
  interface UnderlineMetrics {
5
5
  readonly offsetPt: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-schema",
3
- "version": "7.7.0",
3
+ "version": "7.8.0",
4
4
  "description": "The canonical, format-agnostic content and document-tree schemas shared by ooxml.js, odf.js, documents.js, pdf-codec, and markdown-codec, plus the structural transform between them -- no format-specific or I/O behaviour.",
5
5
  "type": "module",
6
6
  "repository": {