docblocks-react-ui 0.17.0 → 0.18.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.
- package/CHANGELOG.md +33 -0
- package/README.md +3 -3
- package/dist/{Editor-CbHCJZ6R.mjs → Editor-DQg2tfne.mjs} +15537 -14542
- package/dist/{constants-D8PSgkwi.mjs → constants-DWJbJpt5.mjs} +76 -8
- package/dist/{index-C3vzW1Mv.d.mts → index-DLLPjOP5.d.mts} +20 -206
- package/dist/index-G44JW36p.d.mts +236 -0
- package/dist/index.d.mts +114 -49
- package/dist/index.mjs +4 -4
- package/dist/mermaid/index.d.mts +1 -1
- package/dist/mermaid/index.mjs +210 -147
- package/dist/pdf/index.d.mts +1 -1
- package/dist/pdf/index.mjs +421 -362
- package/package.json +1 -1
- package/dist/index-YJcgf8Hh.d.mts +0 -39
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# docblocks-react-ui
|
|
2
2
|
|
|
3
|
+
## 0.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d89891d: The editor stands a top-level render boundary: a throw of the editor's
|
|
8
|
+
chrome outside a block's renderer (the attributes panel, the canvas chrome,
|
|
9
|
+
the row list) is contained to the editor's content with a failure note and a
|
|
10
|
+
retry, so the consumer's application stays mounted. The boundary is exported
|
|
11
|
+
for the consumer's own wrappers (`fallback` and `resetKey` props); a block's
|
|
12
|
+
renderer keeps its narrower per-block boundary.
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- dea90e3: The add-column form surfaces a failed commit's cause over its own error line:
|
|
17
|
+
the bridge's refusal (an in-use enum option's delete, a failed table or column
|
|
18
|
+
creation) no longer stands only in the console while the form shows nothing.
|
|
19
|
+
- ab7a859: The database table's row and column writes drop their late tail after the
|
|
20
|
+
block's table changes: a rollback, an error note or a post-commit refetch of
|
|
21
|
+
the previous table no longer overwrites the relinked grid's rows or leaves it
|
|
22
|
+
loading.
|
|
23
|
+
- 7e0e7c5: The markdown frontmatter drops a `__proto__` key: the entries live in plain
|
|
24
|
+
objects, where the assignment wrote the prototype chain instead of a value,
|
|
25
|
+
so a pasted or imported header could poison the parse's record. The key never
|
|
26
|
+
reaches the document's meta, and the rest of the header parses as usual.
|
|
27
|
+
- 16b251a: The react-ui layer stands a typed error family (`DocBlocksUiError` base +
|
|
28
|
+
the `EditorProviderError`, `BlobNotFoundError`, `PdfFetchError`,
|
|
29
|
+
`CanvasPasteError`, `UnknownSlashCommandError`, `UnhandledValueError`
|
|
30
|
+
conditions, all exported from the base entry): the former raw `Error`
|
|
31
|
+
throws of the provider's prop contract, the blob store's missing-id
|
|
32
|
+
rejections, the PDF fetch's non-ok response, and the internal invariant
|
|
33
|
+
guards now throw the named class — the messages are unchanged, so a
|
|
34
|
+
consumer can catch by class.
|
|
35
|
+
|
|
3
36
|
## 0.17.0
|
|
4
37
|
|
|
5
38
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -654,9 +654,9 @@ A nested provider that supplies none inherits the enclosing one.
|
|
|
654
654
|
|
|
655
655
|
### Links
|
|
656
656
|
|
|
657
|
-
The `link` mark's href stands one of four classes (the
|
|
658
|
-
`linkHrefKindOf` — the classifier the
|
|
659
|
-
click's open all stand on):
|
|
657
|
+
The `link` mark's href stands one of four classes (the core's
|
|
658
|
+
`linkHrefKindOf`, exported from `docblocks-core` — the classifier the
|
|
659
|
+
validator, the renderer, and the click's open all stand on):
|
|
660
660
|
|
|
661
661
|
| Class | Example | The click's open |
|
|
662
662
|
| ---------- | ------------------------------------------------ | ------------------------------------ |
|