docblocks-react-ui 0.8.3 → 0.9.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,165 @@
1
1
  # docblocks-react-ui
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 942538d: **A paste over the full document selection replaces the selection instead
8
+ of wiping the document.**
9
+
10
+ Over the range the seam's absence (the whole-document delete stands no
11
+ seam) previously dropped the paste payload and cleared the document of all
12
+ blocks with no undo restore and an unplaceable caret. Now, when the
13
+ selection's delete consumes the whole document and no seam remains, a
14
+ fresh empty paragraph is inserted at the root as the paste seat and the
15
+ payload materializes into it (one transaction, one undo step); a
16
+ whitespace-only full paste leaves the editable empty seat. Partial
17
+ cross-range pastes are unchanged.
18
+ - 19ba6b7: **Keyboard gestures over cross-block ranges: the continuation's stands.**
19
+
20
+ - **Shift+ArrowUp/ArrowDown now chains over the cross-block range** — the
21
+ former stand collapsed the selection on the second press (the browser's
22
+ anchor read-back flips over the editor's backward cross seat, and the
23
+ continuation re-based the range over the far end). The editor now owns
24
+ the vertical extension over the cross range: the moving end stands the
25
+ selection's direction (the user's anchor's identity), a single-line
26
+ block's end crosses to the adjacent text block (the non-text siblings
27
+ skipped, the empty blocks' stand), and a multi-line block's inner line
28
+ keeps the browser's native line walk.
29
+ - **Ctrl/Meta+Home and Ctrl/Meta+End seat the caret over the document's
30
+ edges** (the first text block's start, the last's end) and scroll the
31
+ caret into view — the browser's native stand degenerates over the
32
+ page's nested editables (the Ctrl+Home's no-move's stand).
33
+ - **Ctrl/Meta+A stands over the read-only modes too** (the view /
34
+ published's document zone — the former stand let the browser's
35
+ select-all take the consumer's whole page).
36
+ - d4e76ab: **Editor selection gestures: the native stands.**
37
+
38
+ - **Ctrl/Meta+A now selects the whole document** over the page's nested
39
+ editables, where the browser's own select-all degenerates (the Chromium's
40
+ stand: a collapsed caret at the document's end instead of the full
41
+ selection). The editor seats the whole-document selection itself (the
42
+ first text block's start to the last text block's end, the cross-block
43
+ range the copy/paste/delete's cross paths stand over); form controls and
44
+ the canvas view keep their own select-all.
45
+ - **A click-then-Shift+click extends the selection across the blocks** —
46
+ the browser's native shift+click extension stands (the former stand tore
47
+ down the session and suppressed the default, which killed the native
48
+ extension and let the focus fall to the document body).
49
+
50
+ ## 0.9.0
51
+
52
+ ### Minor Changes
53
+
54
+ - 6b1f954: The collapsible document-attributes panel over the editor page column
55
+ (collapsed by default, session-only state): the system rows (id /
56
+ created / last updated, read-only — the dates stand the locale's
57
+ medium date, the id over the monospace), the preset rows (description,
58
+ tags, the `createdBy` creator reference (the id-only mention, display
59
+ over the consumer's resolution), cover, the `status` stand
60
+ (display-only — the consumer's own data, the panel's editor stands
61
+ absent), published date) with the inline editors, the custom
62
+ attributes (the add's flow over the list's tail's button — the popover's
63
+ one-line sliding-pill type pick (the document view's selector's parity
64
+
65
+ - the light bounce's animation) + the name's draft (the `Name`'s
66
+ placeholder) + the commit's button over the input's right (the disabled
67
+ over the empty name); the `ATTRIBUTE_TYPES` enum over the type's
68
+ vocabulary; the mention's name stands the target's id; the custom
69
+ value's edit over the row's zone — the string / number / mention inline
70
+ inputs over the typed form's write-back (the invalid number's no-write),
71
+ the list over the vertical's line editor (each item over its own line —
72
+ the line's input + the ×'s removal + the "Add a line"'s input over the
73
+ stack's tail; every discrete change commits the whole list over the
74
+ value's form: plain `string[]` → plain, typed → typed; the read-only's
75
+ stacked display; the row's key + the remove button stand opposite the
76
+ first line over the stack (the row's center stand dropped)), the boolean over the project's checkbox (the checked's
77
+ toggle — one write over the value's form: the plain's plain stand, the
78
+ typed's typed stand; the read-only's disabled stand over the view /
79
+ published's modes); the row's value zone centers its content vertically
80
+ (the page's inherited line-height no longer stands the value's text
81
+ above the label's center — the value's "jump" stand dropped) and the
82
+ single value's rows stand the uniform height (the row's `min-h` — the
83
+ checkbox's row's shorter stand dropped), the custom key's rename over
84
+ the key's click (the inline input over the key's column — the
85
+ select-all's mount stand, the Enter / the blur's commit over the
86
+ `renameAttribute`, the Escape's cancel, the invalid target's (the
87
+ reserved / the taken key) open stand over the `aria-invalid`'s
88
+ destructive frame, the preset / the system rows' and the read-only's
89
+ no-entry stand), the tags' add input stands the
90
+ value column's font size (the placeholder's `text-xs` stand over the
91
+ `text-sm`'s column's parity), the custom rows' display order
92
+ (the preset rows' fixed order; the custom rows over `attributesOrder` —
93
+ last-added last, drag-reorderable over the grip with the block's
94
+ grip's offset parity: the hover's reveal, the framer's live slide's
95
+ preview, the release's `reorderAttributes` commit over the wire, the
96
+ undo's single step, the no-move release's no-op stand), and the
97
+ consumer's `hiddenAttributes` + `tagEditor` + `renderAttribute` +
98
+ `attributeTypePicker` provider props. The `renderAttribute` callback replaces a row's value
99
+ zone over its key (the `null` / the absent stands the built-in); the
100
+ `attributeTypePicker` component replaces the built-in type picker over
101
+ the add flow. The panel's in-row fields (the tags' add input, the
102
+ list's line / the new-line inputs, the key's rename input, the typed
103
+ value's inline edits) all stand the shared `Input` primitive over its
104
+ new flat `inline` variant (the frame / the background / the shadow
105
+ stand off — the focus's border stand only), replacing the ad-hoc raw
106
+ inputs; the custom key's text stands the label column's left edge
107
+ (the preset's keys' parity — the key's button's padding stand
108
+ dropped), and the list's row's drag grip stands opposite the first
109
+ line (the key's line — the row's center stand dropped over the
110
+ stack's rows); the rename's input's frame stands the text's edge's
111
+ left (the text's position's keep over the display's parity — the
112
+ frame's no-glue over the text's left stand; the label column's clip
113
+ stands off over the edit mode — the frame's / the band's overhang's
114
+ visibility stand, the display's truncate's parity untouched). The
115
+ panel's hover stands one style and one height (the rows' bands — the
116
+ key's, the value's, the description's, the published date's — stand the
117
+ 28px's band over the 6px's glyph's inset, the key's band's stand over
118
+ the label column's edge's left (the text's column's edge's parity
119
+ kept); the icon's buttons (the row's removal, the cover's) stand the
120
+ same hover's stand). The
121
+ `AttributesPanel` stands the composition over the unit's
122
+ row files (the `CustomAttributeRow`'s custom row, the preset's
123
+ editors, the add's popover, the value's pure reads). Markdown import and paste now read the YAML-frontmatter
124
+ subset into the meta over the fresh documents (the title + the mapped
125
+ attribute presets — the `author` / `created_by` keys map to the
126
+ `createdBy` id-only reference) and strip it before the blocks parse; the
127
+ HTML import keeps the frontmatter as a plain paragraph.
128
+ - f5d29df: The `@` mention's contract updates:
129
+
130
+ - The mention mark is id-only (the pick writes the `{ kind, id }`
131
+ mark; the `mentionInteractions` target stands the identity — the
132
+ label is the consumer's resolution).
133
+ - `MentionProvider` gains the optional `resolveLabel(kind, id)`: the
134
+ chip's live label over the target's id (the rename's stand); the
135
+ insertion-time label (the run's text) / the legacy snapshot stand
136
+ otherwise.
137
+ - The mention query is the whole `@`-to-caret phrase: the space is
138
+ part of the query (`@my doc` searches `my doc`), and only Escape
139
+ breaks the phrase (the former word-boundary close is removed).
140
+ - The pick seats the caret after the chip: the chip is a
141
+ `contenteditable=false` island, and a flat offset over it snaps to
142
+ the adjacent slot (never the chip's text) — the type's
143
+ continuation keeps the focus without a re-click.
144
+ - `mentionInteractions` gains the optional `renderEmptyState(query)`
145
+ (the picker's empty state; `null` stands the built-in "No
146
+ matches").
147
+
148
+ ### Patch Changes
149
+
150
+ - e0c7167: Fix the sliding-pill segment selector's stand over an ancestor transform:
151
+ the active-button geometry now stands the scale factor (the
152
+ `getBoundingClientRect`'s delta and size over the untransformed layout's
153
+ factor), so the pill's measurement over a transformed container — the
154
+ popover's `zoom-in-95` entry's frames — stands the list's local
155
+ (untransformed) geometry. The pill no longer stands off (shifted toward
156
+ the group's start, sized under) over the later options' stand when the
157
+ selector's container mounts over an entry animation; the end position
158
+ stands exact over the animation's frames.
159
+ - Updated dependencies [6b1f954]
160
+ - Updated dependencies [f5d29df]
161
+ - docblocks-core@0.4.0
162
+
3
163
  ## 0.8.3
4
164
 
5
165
  ### Patch Changes