docblocks-react-ui 0.32.1 → 0.33.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 +57 -0
- package/dist/{Editor-GTU07ClJ.mjs → Editor-DoT9RYUJ.mjs} +1866 -640
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/mermaid/index.mjs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# docblocks-react-ui
|
|
2
2
|
|
|
3
|
+
## 0.33.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 42f3584: The orthogonal connector's fixed-sectors model: the connector block gains
|
|
8
|
+
the optional `sectors` attr (the `{ axis, offset, from, to }` fixed runs —
|
|
9
|
+
the exported `ConnectorSector` type over the strict validator's tuple
|
|
10
|
+
check; the reader's lenient posture over the unknown attr stands). The
|
|
11
|
+
parallel segment drag now commits the dragged run as a fixed sector (its
|
|
12
|
+
carrier line — the axis + the offset) and keeps the rest automatic (the
|
|
13
|
+
auto links re-route around the obstacles; the fixed run stands absolute
|
|
14
|
+
over them); a sector whose extent collapses to zero leaves the data (the
|
|
15
|
+
route stands stitched, the gesture's release and the commit stand the
|
|
16
|
+
prune). The old `points` custom lines keep their stored-bends behavior
|
|
17
|
+
until the next drag commit converts them to sectors (the `points` attr
|
|
18
|
+
then drops). The automatic orthogonal route's selection stands the strict
|
|
19
|
+
total order (the length, then the bend count, then the canonical geometric
|
|
20
|
+
key — one deterministic winner over the equal set).
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- f13c3e4: The connector's label edit stands over the selected line's endpoint handles:
|
|
25
|
+
the double-click near an endpoint resolves the handle's hit circle (the DOM's
|
|
26
|
+
top), which read as empty canvas and opened the ghost text block. The ghost's
|
|
27
|
+
entry now requires the point's geometry to resolve no canvas object.
|
|
28
|
+
- b84e1cb: Enter at the start of an internal line (the caret right after a soft line
|
|
29
|
+
break) stands the plain editor's empty line: the text before the break keeps
|
|
30
|
+
the block, an empty block takes the caret, and the caret's line and below
|
|
31
|
+
move to the next block. The break is consumed, so no ghost line survives in
|
|
32
|
+
either part.
|
|
33
|
+
- 61f644f: The shape's inline text edit keeps its session under the page-frame block's
|
|
34
|
+
window: the window's inert copy of the surface re-provided no text-edit
|
|
35
|
+
session, so the copy of the same shape rendered its own editor and took the
|
|
36
|
+
focus from the live one (the blur closed the session). The inert layer
|
|
37
|
+
re-provides an empty session now — the copies render the committed text only.
|
|
38
|
+
- f618afc: The letter shortcuts read the physical key (`event.code`) instead of the
|
|
39
|
+
layout's character: over a non-US layout the same key stands another letter,
|
|
40
|
+
so undo/redo, select-all, the mark shortcuts, the link's mod+k, the canvas's
|
|
41
|
+
clipboard / mode / group keys and the database grid's copy / undo never
|
|
42
|
+
matched. An AltGr letter (Ctrl+Alt+key on the layouts that stand it) is
|
|
43
|
+
character input and stands no shortcut; the typed triggers (the slash, the
|
|
44
|
+
mention) stay the character's.
|
|
45
|
+
- a0d20ff: A click on the mention chip seats the caret on the side the press landed on:
|
|
46
|
+
the left half before the chip, the right half after it (the end of the word).
|
|
47
|
+
The chip's press suppresses the browser's default over the shared page
|
|
48
|
+
editable, so the package stands the seat itself; a drag's range stands
|
|
49
|
+
untouched. The seat stands over a live caret: a press from outside the
|
|
50
|
+
editing surface plants no focus.
|
|
51
|
+
- e54223c: The mention chip survives the copy → paste round trip: the clipboard's html
|
|
52
|
+
carried the chip's kind but not the target's id, and the rich paste's
|
|
53
|
+
whitelist dropped the chip's span to plain text. The payload carries
|
|
54
|
+
`data-mention-id` now, and the paste re-stands the mark over such a span
|
|
55
|
+
(the chip's own `data-mention-kind` spelling included); a span without an id
|
|
56
|
+
or with an unknown kind degrades to its text.
|
|
57
|
+
- Updated dependencies [42f3584]
|
|
58
|
+
- docblocks-core@0.15.0
|
|
59
|
+
|
|
3
60
|
## 0.32.1
|
|
4
61
|
|
|
5
62
|
### Patch Changes
|