document-content-model 7.13.0 → 7.14.1

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 (44) hide show
  1. package/README.md +3 -3
  2. package/dist/codec.d.cts +1 -1
  3. package/dist/codec.d.ts +1 -1
  4. package/dist/{content-GHj_31uQ.d.ts → content-Cj_IC0ge.d.ts} +127 -124
  5. package/dist/{content-zNNPbwYY.d.cts → content-DZDor2Ct.d.cts} +127 -124
  6. package/dist/content-json-schema-defs.cjs +2 -1
  7. package/dist/content-json-schema-defs.js +2 -1
  8. package/dist/content.cjs +3 -2
  9. package/dist/content.d.cts +1 -1
  10. package/dist/content.d.ts +1 -1
  11. package/dist/content.js +3 -2
  12. package/dist/decompose.d.cts +2 -2
  13. package/dist/decompose.d.ts +2 -2
  14. package/dist/definitions.d.cts +4 -4
  15. package/dist/definitions.d.ts +4 -4
  16. package/dist/factor-styles.d.cts +1 -1
  17. package/dist/factor-styles.d.ts +1 -1
  18. package/dist/flatten.d.cts +1 -1
  19. package/dist/flatten.d.ts +1 -1
  20. package/dist/index.d.cts +3 -3
  21. package/dist/index.d.ts +3 -3
  22. package/dist/{package-node-DaPwHzsg.d.cts → package-node-DBtKtaqn.d.cts} +39 -39
  23. package/dist/{package-node-CIZQ2_C1.d.ts → package-node-SBZNVEGu.d.ts} +39 -39
  24. package/dist/package-node.d.cts +1 -1
  25. package/dist/package-node.d.ts +1 -1
  26. package/dist/package.d.cts +7 -7
  27. package/dist/package.d.ts +7 -7
  28. package/dist/schema-io.cjs +2 -2
  29. package/dist/schema-io.d.cts +1 -1
  30. package/dist/schema-io.d.ts +1 -1
  31. package/dist/schema-io.js +2 -2
  32. package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
  33. package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
  34. package/dist/style.d.cts +1 -1
  35. package/dist/style.d.ts +1 -1
  36. package/dist/table-grid.cjs +1 -1
  37. package/dist/table-grid.d.cts +5 -3
  38. package/dist/table-grid.d.ts +5 -3
  39. package/dist/table-grid.js +1 -1
  40. package/dist/text-layout.d.cts +1 -1
  41. package/dist/text-layout.d.ts +1 -1
  42. package/package.json +2 -2
  43. package/schemas/content-document.schema.json +19 -16
  44. package/schemas/document-tree.schema.json +6 -3
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/content-document.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/content-document.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -133,7 +133,7 @@
133
133
  "blocks": {
134
134
  "type": "array",
135
135
  "items": {
136
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
136
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
137
137
  }
138
138
  },
139
139
  "breakType": {
@@ -151,19 +151,19 @@
151
151
  "default": {
152
152
  "type": "array",
153
153
  "items": {
154
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
154
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
155
155
  }
156
156
  },
157
157
  "even": {
158
158
  "type": "array",
159
159
  "items": {
160
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
160
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
161
161
  }
162
162
  },
163
163
  "first": {
164
164
  "type": "array",
165
165
  "items": {
166
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
166
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
167
167
  }
168
168
  }
169
169
  },
@@ -175,19 +175,19 @@
175
175
  "default": {
176
176
  "type": "array",
177
177
  "items": {
178
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
178
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
179
179
  }
180
180
  },
181
181
  "even": {
182
182
  "type": "array",
183
183
  "items": {
184
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
184
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
185
185
  }
186
186
  },
187
187
  "first": {
188
188
  "type": "array",
189
189
  "items": {
190
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
190
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
191
191
  }
192
192
  }
193
193
  },
@@ -199,19 +199,19 @@
199
199
  "default": {
200
200
  "type": "array",
201
201
  "items": {
202
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
202
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
203
203
  }
204
204
  },
205
205
  "even": {
206
206
  "type": "array",
207
207
  "items": {
208
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
208
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
209
209
  }
210
210
  },
211
211
  "first": {
212
212
  "type": "array",
213
213
  "items": {
214
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
214
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
215
215
  }
216
216
  }
217
217
  },
@@ -638,7 +638,7 @@
638
638
  "blocks": {
639
639
  "type": "array",
640
640
  "items": {
641
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
641
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
642
642
  }
643
643
  }
644
644
  },
@@ -2659,7 +2659,7 @@
2659
2659
  ]
2660
2660
  },
2661
2661
  "document": {
2662
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/content-document.schema.json"
2662
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/content-document.schema.json"
2663
2663
  },
2664
2664
  "frame": {
2665
2665
  "type": "object",
@@ -5021,7 +5021,7 @@
5021
5021
  "blocks": {
5022
5022
  "type": "array",
5023
5023
  "items": {
5024
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/undefined#/$defs/schema2"
5024
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/undefined#/$defs/schema2"
5025
5025
  }
5026
5026
  }
5027
5027
  },
@@ -7955,6 +7955,9 @@
7955
7955
  "ltr",
7956
7956
  "rtl"
7957
7957
  ]
7958
+ },
7959
+ "isHeader": {
7960
+ "type": "boolean"
7958
7961
  }
7959
7962
  },
7960
7963
  "required": [
@@ -8027,7 +8030,7 @@
8027
8030
  ]
8028
8031
  },
8029
8032
  "document": {
8030
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/content-document.schema.json"
8033
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/content-document.schema.json"
8031
8034
  },
8032
8035
  "frame": {
8033
8036
  "$ref": "#/$defs/Box"
@@ -10353,7 +10356,7 @@
10353
10356
  ]
10354
10357
  },
10355
10358
  "document": {
10356
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/content-document.schema.json"
10359
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/content-document.schema.json"
10357
10360
  },
10358
10361
  "frame": {
10359
10362
  "$ref": "#/$defs/Box"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/document-tree.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/document-tree.schema.json",
4
4
  "oneOf": [
5
5
  {
6
6
  "type": "object",
@@ -1921,6 +1921,9 @@
1921
1921
  "ltr",
1922
1922
  "rtl"
1923
1923
  ]
1924
+ },
1925
+ "isHeader": {
1926
+ "type": "boolean"
1924
1927
  }
1925
1928
  },
1926
1929
  "required": [
@@ -1993,7 +1996,7 @@
1993
1996
  ]
1994
1997
  },
1995
1998
  "document": {
1996
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/content-document.schema.json"
1999
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/content-document.schema.json"
1997
2000
  },
1998
2001
  "frame": {
1999
2002
  "$ref": "#/$defs/Box"
@@ -4319,7 +4322,7 @@
4319
4322
  ]
4320
4323
  },
4321
4324
  "document": {
4322
- "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.13.0/schemas/content-document.schema.json"
4325
+ "$ref": "https://cdn.jsdelivr.net/npm/document-schema.js@7.14.1/schemas/content-document.schema.json"
4323
4326
  },
4324
4327
  "frame": {
4325
4328
  "$ref": "#/$defs/Box"