docblocks-react-ui 0.4.7 → 0.5.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,26 @@
1
1
  # docblocks-react-ui
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3d0b793: Add a database column manager for restoring hidden columns and reordering the full column list by mouse or keyboard while preserving visible column widths. Keep a newly inserted row visible with a themed orange outline when it does not match the active filter until editing loses focus.
8
+ - ca80cd1: Rebuild the database filter menu over the library's field style: the
9
+ condition's field / operator / value stand a single line over styled
10
+ controls in a widened popover, the conditions and the nested group cards
11
+ are bound by the group's left connector line, the AND/OR logic's labels
12
+ stand the UI's locale and the active pill takes the prominent `primary`
13
+ token's fill (the white's stand over the neutral's dark theme), and the
14
+ footer's apply/clear stand over a separator line. The grid toolbar's undo/redo/columns/filter buttons
15
+ stand the standard toolbar height and rounding, and the standalone
16
+ `DatabaseTable` renders no table name (the consumer's own visual element
17
+ stands the name — the document block's grid keeps the live name and the
18
+ rename).
19
+
20
+ ### Patch Changes
21
+
22
+ - 87a2cc9: Preserve thin cell boundaries in native table drag previews with or without a cell background, and keep the dragged handle aligned with the moving row or column by removing its positional animation lag.
23
+
3
24
  ## 0.4.7
4
25
 
5
26
  ### Patch Changes
package/README.md CHANGED
@@ -395,6 +395,26 @@ package root: `BridgeError` (the structured error type) with
395
395
  `isDatabaseBridge`, and `useDatabaseTable(bridge, tableId, filter?)` — the
396
396
  grid controller for a consumer-owned grid over the bridge.
397
397
 
398
+ The grid's **Columns** control lists every column, restores hidden columns,
399
+ and reorders them by dragging their grips or pressing ArrowUp/ArrowDown on a
400
+ focused grip. Header drag and the popover share one full column order, and
401
+ visible column widths follow the moved column.
402
+
403
+ The grid's **Filter** control edits a recursive and/or condition tree: one
404
+ row per condition (the field / the operator / the value over the column's
405
+ annotation, a single line), the nested groups over bordered cards, and the
406
+ conditions and the groups bound by the group's left connector line. The
407
+ logic's labels stand the UI's locale (en/ru), the active pill over the
408
+ prominent `primary` fill. `Apply` commits the draft as
409
+ the view's `filter` attr (the block's write stand); `Clear` resets it.
410
+
411
+ When an inserted row does not match the active filter, the grid keeps it
412
+ visible with an orange outline while its initial edit session has focus. The
413
+ row leaves the filtered view when focus moves elsewhere; the bridge data is
414
+ unchanged. `useDatabaseTable` exposes this transient row as `pendingRow` and
415
+ `dismissPendingRow(rowId?)` for consumer-owned grids implementing the same
416
+ interaction.
417
+
398
418
  ### Standalone database table
399
419
 
400
420
  The database's UI stands outside any document as well — the
@@ -431,7 +451,10 @@ className? })` —
431
451
  the optional `view` prop at mount); `onViewChange(patch)` receives one
432
452
  patch per change for the consumer's persistence (the controlled mode
433
453
  stands absent — the state is never external). `readOnly` gates the
434
- editing's paths (the read-only block's parity). The sizing's stand is
454
+ editing's paths (the read-only block's parity). The standalone's grid
455
+ stands no table-name display — the consumer's own visual element (the
456
+ section's list / the heading) stands the name; the document block's
457
+ grid keeps the live name + the rename over it. The sizing's stand is
435
458
  the consumer's: the grid stands the root's width (`w-full`), and the
436
459
  `className` over the root (the component's own classes stand merged
437
460
  over it) — a height-constrained root stands the grid's inner scroll