docblocks-react-ui 0.4.0 → 0.4.2

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,49 @@
1
1
  # docblocks-react-ui
2
2
 
3
+ ## 0.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 90b529c: The callout's management moves from the format toolbar to the block's own
8
+ affordance: the marker-zone icon stands a button (edit mode only) whose
9
+ click opens the block's management menu (the type presets, the background
10
+ palette, the icon catalog) beside the icon. The menu manages the block's
11
+ attrs, not the selection's marks, so it stands for an empty callout (no
12
+ text selection needed). The format toolbar over a callout's text range
13
+ keeps the shared text marks and the alignment only (the callout's section
14
+ is removed). The background palette gains the custom swatch: the `ColorPicker`
15
+ primitive (the native `input type="color"` + the strict `#rrggbb` hex
16
+ field) commits one `updateBlock({ color })` per pick (one undo step, one
17
+ wire update); the close without a commit discards the draft. The read-only
18
+ stands (view / published) render the icon without a button (no pointer
19
+ events, the editing-surface parity).
20
+ - f482152: The Enter's split over the empty LAST line stands the exit's parity: the
21
+ caret on an empty line at the text's end (the block's text ends with a
22
+ soft line break) consumes that break with the gesture — the first block
23
+ stands without the ghost empty line, the new sibling (the same type and
24
+ attrs) stands empty. Before the fix the break survived the split in the
25
+ first block as a rendered empty line that the line-boundary gestures
26
+ (Home / End / the selection's deletes) do not reach. The quote /
27
+ callout / code gesture family's exit stand (the same block over its
28
+ own Enter handler) was the reference; the mid-text split's stand is
29
+ unchanged (the new block's leading break is the caret's new line).
30
+
31
+ ## 0.4.1
32
+
33
+ ### Patch Changes
34
+
35
+ - ddc068e: The standalone `DatabaseTable` gains a `className` prop: the consumer's
36
+ sizing / layout classes merge over the component's root (the package's
37
+ `--docblocks-*` token scope's anchor, merged with the consumer's own
38
+ classes). The grid already stands the root's width (`w-full`); the
39
+ `className` closes the height's stand — a height-constrained root (the
40
+ consumer's `h-*` class) stands the grid's inner scroll over the toolbar
41
+
42
+ - header + rows (the card / content / grid-region's flex plumbing:
43
+ `flex-1 min-h-0`), and the unconstrained's stand is the content's height
44
+ (as over the document's database block — the plumbing stands inert over
45
+ the block's context).
46
+
3
47
  ## 0.4.0
4
48
 
5
49
  ### Minor Changes
package/README.md CHANGED
@@ -422,7 +422,8 @@ function TablesSection({ bridge }: { bridge: DatabaseBridge }) {
422
422
  }
423
423
  ```
424
424
 
425
- - `DatabaseTable({ bridge, tableId, readOnly?, view?, onViewChange? })` —
425
+ - `DatabaseTable({ bridge, tableId, readOnly?, view?, onViewChange?,
426
+ className? })` —
426
427
  the live grid over the bridge's table id (the same data stand as the
427
428
  document block: the schema, the rows, the live events, the optimistic
428
429
  cell layer). The view's settings (`filter`, `columnOrder`,
@@ -430,7 +431,12 @@ function TablesSection({ bridge }: { bridge: DatabaseBridge }) {
430
431
  the optional `view` prop at mount); `onViewChange(patch)` receives one
431
432
  patch per change for the consumer's persistence (the controlled mode
432
433
  stands absent — the state is never external). `readOnly` gates the
433
- editing's paths (the read-only block's parity). The component is
434
+ editing's paths (the read-only block's parity). The sizing's stand is
435
+ the consumer's: the grid stands the root's width (`w-full`), and the
436
+ `className` over the root (the component's own classes stand merged
437
+ over it) — a height-constrained root stands the grid's inner scroll
438
+ (the unconstrained's stand is the content's height, as over the
439
+ document's block). The component is
434
440
  self-contained: it wraps itself in the package's i18n scope and anchors
435
441
  the `--docblocks-*` token scope over its own root, so it themes
436
442
  standalone over the consumer's page (the `dark` class over an ancestor