docblocks-react-ui 0.8.2 → 0.9.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 CHANGED
@@ -1,5 +1,133 @@
1
1
  # docblocks-react-ui
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6b1f954: The collapsible document-attributes panel over the editor page column
8
+ (collapsed by default, session-only state): the system rows (id /
9
+ created / last updated, read-only — the dates stand the locale's
10
+ medium date, the id over the monospace), the preset rows (description,
11
+ tags, the `createdBy` creator reference (the id-only mention, display
12
+ over the consumer's resolution), cover, the `status` stand
13
+ (display-only — the consumer's own data, the panel's editor stands
14
+ absent), published date) with the inline editors, the custom
15
+ attributes (the add's flow over the list's tail's button — the popover's
16
+ one-line sliding-pill type pick (the document view's selector's parity
17
+
18
+ - the light bounce's animation) + the name's draft (the `Name`'s
19
+ placeholder) + the commit's button over the input's right (the disabled
20
+ over the empty name); the `ATTRIBUTE_TYPES` enum over the type's
21
+ vocabulary; the mention's name stands the target's id; the custom
22
+ value's edit over the row's zone — the string / number / mention inline
23
+ inputs over the typed form's write-back (the invalid number's no-write),
24
+ the list over the vertical's line editor (each item over its own line —
25
+ the line's input + the ×'s removal + the "Add a line"'s input over the
26
+ stack's tail; every discrete change commits the whole list over the
27
+ value's form: plain `string[]` → plain, typed → typed; the read-only's
28
+ stacked display; the row's key + the remove button stand opposite the
29
+ first line over the stack (the row's center stand dropped)), the boolean over the project's checkbox (the checked's
30
+ toggle — one write over the value's form: the plain's plain stand, the
31
+ typed's typed stand; the read-only's disabled stand over the view /
32
+ published's modes); the row's value zone centers its content vertically
33
+ (the page's inherited line-height no longer stands the value's text
34
+ above the label's center — the value's "jump" stand dropped) and the
35
+ single value's rows stand the uniform height (the row's `min-h` — the
36
+ checkbox's row's shorter stand dropped), the custom key's rename over
37
+ the key's click (the inline input over the key's column — the
38
+ select-all's mount stand, the Enter / the blur's commit over the
39
+ `renameAttribute`, the Escape's cancel, the invalid target's (the
40
+ reserved / the taken key) open stand over the `aria-invalid`'s
41
+ destructive frame, the preset / the system rows' and the read-only's
42
+ no-entry stand), the tags' add input stands the
43
+ value column's font size (the placeholder's `text-xs` stand over the
44
+ `text-sm`'s column's parity), the custom rows' display order
45
+ (the preset rows' fixed order; the custom rows over `attributesOrder` —
46
+ last-added last, drag-reorderable over the grip with the block's
47
+ grip's offset parity: the hover's reveal, the framer's live slide's
48
+ preview, the release's `reorderAttributes` commit over the wire, the
49
+ undo's single step, the no-move release's no-op stand), and the
50
+ consumer's `hiddenAttributes` + `tagEditor` + `renderAttribute` +
51
+ `attributeTypePicker` provider props. The `renderAttribute` callback replaces a row's value
52
+ zone over its key (the `null` / the absent stands the built-in); the
53
+ `attributeTypePicker` component replaces the built-in type picker over
54
+ the add flow. The panel's in-row fields (the tags' add input, the
55
+ list's line / the new-line inputs, the key's rename input, the typed
56
+ value's inline edits) all stand the shared `Input` primitive over its
57
+ new flat `inline` variant (the frame / the background / the shadow
58
+ stand off — the focus's border stand only), replacing the ad-hoc raw
59
+ inputs; the custom key's text stands the label column's left edge
60
+ (the preset's keys' parity — the key's button's padding stand
61
+ dropped), and the list's row's drag grip stands opposite the first
62
+ line (the key's line — the row's center stand dropped over the
63
+ stack's rows); the rename's input's frame stands the text's edge's
64
+ left (the text's position's keep over the display's parity — the
65
+ frame's no-glue over the text's left stand; the label column's clip
66
+ stands off over the edit mode — the frame's / the band's overhang's
67
+ visibility stand, the display's truncate's parity untouched). The
68
+ panel's hover stands one style and one height (the rows' bands — the
69
+ key's, the value's, the description's, the published date's — stand the
70
+ 28px's band over the 6px's glyph's inset, the key's band's stand over
71
+ the label column's edge's left (the text's column's edge's parity
72
+ kept); the icon's buttons (the row's removal, the cover's) stand the
73
+ same hover's stand). The
74
+ `AttributesPanel` stands the composition over the unit's
75
+ row files (the `CustomAttributeRow`'s custom row, the preset's
76
+ editors, the add's popover, the value's pure reads). Markdown import and paste now read the YAML-frontmatter
77
+ subset into the meta over the fresh documents (the title + the mapped
78
+ attribute presets — the `author` / `created_by` keys map to the
79
+ `createdBy` id-only reference) and strip it before the blocks parse; the
80
+ HTML import keeps the frontmatter as a plain paragraph.
81
+ - f5d29df: The `@` mention's contract updates:
82
+
83
+ - The mention mark is id-only (the pick writes the `{ kind, id }`
84
+ mark; the `mentionInteractions` target stands the identity — the
85
+ label is the consumer's resolution).
86
+ - `MentionProvider` gains the optional `resolveLabel(kind, id)`: the
87
+ chip's live label over the target's id (the rename's stand); the
88
+ insertion-time label (the run's text) / the legacy snapshot stand
89
+ otherwise.
90
+ - The mention query is the whole `@`-to-caret phrase: the space is
91
+ part of the query (`@my doc` searches `my doc`), and only Escape
92
+ breaks the phrase (the former word-boundary close is removed).
93
+ - The pick seats the caret after the chip: the chip is a
94
+ `contenteditable=false` island, and a flat offset over it snaps to
95
+ the adjacent slot (never the chip's text) — the type's
96
+ continuation keeps the focus without a re-click.
97
+ - `mentionInteractions` gains the optional `renderEmptyState(query)`
98
+ (the picker's empty state; `null` stands the built-in "No
99
+ matches").
100
+
101
+ ### Patch Changes
102
+
103
+ - e0c7167: Fix the sliding-pill segment selector's stand over an ancestor transform:
104
+ the active-button geometry now stands the scale factor (the
105
+ `getBoundingClientRect`'s delta and size over the untransformed layout's
106
+ factor), so the pill's measurement over a transformed container — the
107
+ popover's `zoom-in-95` entry's frames — stands the list's local
108
+ (untransformed) geometry. The pill no longer stands off (shifted toward
109
+ the group's start, sized under) over the later options' stand when the
110
+ selector's container mounts over an entry animation; the end position
111
+ stands exact over the animation's frames.
112
+ - Updated dependencies [6b1f954]
113
+ - Updated dependencies [f5d29df]
114
+ - docblocks-core@0.4.0
115
+
116
+ ## 0.8.3
117
+
118
+ ### Patch Changes
119
+
120
+ - e207327: The database grid's datetime cell commits the draft (the picked date + the
121
+ typed time) on Enter over the open picker and closes it, and Escape cancels
122
+ the in-flight draft without a write; the close over the outside press / the
123
+ trigger press / the session's teardown keeps the deferred commit stand.
124
+ - d6d6c7a: The filter builder's date-and-time value picker (the shared
125
+ `DateTimePicker`) stands the same key contract as the database grid's
126
+ datetime cell: Enter commits the draft (the picked date + the typed time)
127
+ and closes the picker, Escape cancels the in-flight draft without a
128
+ write; the close over the outside press / the trigger press keeps the
129
+ deferred commit stand.
130
+
3
131
  ## 0.8.2
4
132
 
5
133
  ### Patch Changes