docblocks-react-ui 0.4.1 → 0.4.3
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 +40 -0
- package/dist/{Editor-CUToaW9z.mjs → Editor-BHXnrEJ1.mjs} +3030 -2882
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/mermaid/index.mjs +1 -1
- package/dist/styles.css +7 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# docblocks-react-ui
|
|
2
2
|
|
|
3
|
+
## 0.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0d75fe3: The callout's icon stands vertically centered over the block (the
|
|
8
|
+
marker-zone zone's top-alignment is replaced by the block's vertical
|
|
9
|
+
center); the icon catalog's "Preset" entry is removed — the icon's
|
|
10
|
+
override is reset by the type preset (the current variant's re-pick
|
|
11
|
+
stands the preset's reset: the variant + the overrides, one transact).
|
|
12
|
+
- Updated dependencies [c0559db]
|
|
13
|
+
- docblocks-core@0.2.1
|
|
14
|
+
|
|
15
|
+
## 0.4.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 90b529c: The callout's management moves from the format toolbar to the block's own
|
|
20
|
+
affordance: the marker-zone icon stands a button (edit mode only) whose
|
|
21
|
+
click opens the block's management menu (the type presets, the background
|
|
22
|
+
palette, the icon catalog) beside the icon. The menu manages the block's
|
|
23
|
+
attrs, not the selection's marks, so it stands for an empty callout (no
|
|
24
|
+
text selection needed). The format toolbar over a callout's text range
|
|
25
|
+
keeps the shared text marks and the alignment only (the callout's section
|
|
26
|
+
is removed). The background palette gains the custom swatch: the `ColorPicker`
|
|
27
|
+
primitive (the native `input type="color"` + the strict `#rrggbb` hex
|
|
28
|
+
field) commits one `updateBlock({ color })` per pick (one undo step, one
|
|
29
|
+
wire update); the close without a commit discards the draft. The read-only
|
|
30
|
+
stands (view / published) render the icon without a button (no pointer
|
|
31
|
+
events, the editing-surface parity).
|
|
32
|
+
- f482152: The Enter's split over the empty LAST line stands the exit's parity: the
|
|
33
|
+
caret on an empty line at the text's end (the block's text ends with a
|
|
34
|
+
soft line break) consumes that break with the gesture — the first block
|
|
35
|
+
stands without the ghost empty line, the new sibling (the same type and
|
|
36
|
+
attrs) stands empty. Before the fix the break survived the split in the
|
|
37
|
+
first block as a rendered empty line that the line-boundary gestures
|
|
38
|
+
(Home / End / the selection's deletes) do not reach. The quote /
|
|
39
|
+
callout / code gesture family's exit stand (the same block over its
|
|
40
|
+
own Enter handler) was the reference; the mid-text split's stand is
|
|
41
|
+
unchanged (the new block's leading break is the caret's new line).
|
|
42
|
+
|
|
3
43
|
## 0.4.1
|
|
4
44
|
|
|
5
45
|
### Patch Changes
|