@object-ui/plugin-list 4.0.7 → 4.0.9
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 +4 -0
- package/README.md +21 -0
- package/dist/index.js +881 -732
- package/dist/index.umd.cjs +2 -2
- package/dist/packages/plugin-list/src/ListView.d.ts +7 -0
- package/dist/packages/plugin-list/src/ListView.d.ts.map +1 -1
- package/dist/packages/plugin-list/src/ObjectGallery.d.ts.map +1 -1
- package/dist/packages/plugin-list/src/UserFilters.d.ts.map +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -12,6 +12,27 @@ ListView plugin for ObjectUI - A unified view component with view type switching
|
|
|
12
12
|
- **Flexible Configuration**: Configure available view types per object
|
|
13
13
|
- **Custom Templates**: Support for custom view options per view type
|
|
14
14
|
|
|
15
|
+
## Visual density defaults (renderer-only, metadata always wins)
|
|
16
|
+
|
|
17
|
+
The toolbar and cell renderers are tuned for low visual noise on dense tables:
|
|
18
|
+
|
|
19
|
+
- **Unified toolbar row**: view tabs (`schema.tabs`), user filters and tool
|
|
20
|
+
buttons share a single bordered row. The previous stacked rows (`tabs` /
|
|
21
|
+
`description` / `toolbar`) are collapsed into one separator line.
|
|
22
|
+
- **Flat user-filter pills**: `userFilters` (dropdown mode) render as ghost
|
|
23
|
+
text + count. Active state is shown via `text-foreground font-medium`
|
|
24
|
+
rather than a filled / bordered pill.
|
|
25
|
+
- **Quiet active state for tool buttons**: filter / group / sort / color /
|
|
26
|
+
density / search no longer paint a `bg-primary/10 border` block when
|
|
27
|
+
active — they switch to `text-foreground font-medium` and rely on the
|
|
28
|
+
trailing count for emphasis.
|
|
29
|
+
- **Dot-style select/status cells (opt-in)**: the cell renderer supports
|
|
30
|
+
`appearance: 'dot'` to render `● label` instead of a filled badge for
|
|
31
|
+
high-density tables. **This is opt-in** — by default select/status
|
|
32
|
+
cells render as filled badges in both list and detail views, keeping
|
|
33
|
+
visual consistency across views. Set `appearance: 'dot'` on the field
|
|
34
|
+
(or column) in metadata when you want the lighter style.
|
|
35
|
+
|
|
15
36
|
## Installation
|
|
16
37
|
|
|
17
38
|
```bash
|