Repository navigation
Commit bb54644
feat(data-table): add declarative cell-editing errors (#635)
* feat(data-table): add declarative cell-editing errors
* fix(data-table): remove built-in cell error reset action
* feat(data-table): refine the cell-error popover UI (#638)
* feat(data-table): give the default cell-error popover an error look and undo hint
The standard popover body showed only the message, so it read like a
neutral tooltip. It now leads with a destructive alert icon, shows the
message in medium weight, and adds the existing "Press Esc to undo" hint.
Custom error.render content is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(data-table): tighten the cell-error popover
Drop the undo hint and the popup border, reduce padding and cap the width
at max-w-xs so long messages wrap. The lab's Draft note column now throws
a longer message on "?" to show wrapping.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(data-table): refine cell-error popover placement and tint
- 1px error ring on the cell, including while focused
- popup opens directly under the cell, aligned to its left edge
- light red tint (Alert's danger-surface) layered over the opaque popover
colour so table lines don't show through; softer shadow-sm
- icon centred on the first text line, at 70% of the text colour
- lab: "!!" in Draft note throws a long message to show wrapping
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(data-table): 1.5px error outline, heavier error icons
- cell error ring is 1.5px (resting and focused)
- error icons in the cell and popover use strokeWidth 2.5
- drop the focus ring on the in-cell error trigger; it drew a second
box around the icon when focus returned to it on popover close
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(data-table): refine editing error handling and examples
* docs(changeset): add cell editing error usage examples
* docs(changeset): clarify cell editing error summary
* fix(data-table): clarify edit confirmation failure feedback
* fix(data-table): preserve errors and dismiss details on Tab
---------
Co-authored-by: pradeep <6978383+itsprade@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IzumiSy <982850+IzumiSy@users.noreply.github.com>1 parent 2413432 commit bb54644
17 files changed
Lines changed: 2488 additions & 216 deletions
File tree
- .changeset
- docs-src/components
- docs/components
- examples/vite-app/src/pages/showcase/data-table-lab
- packages/core/src
- components/data-table
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
415 | 416 | | |
416 | 417 | | |
417 | 418 | | |
| |||
471 | 472 | | |
472 | 473 | | |
473 | 474 | | |
474 | | - | |
475 | | - | |
| 475 | + | |
| 476 | + | |
476 | 477 | | |
477 | | - | |
| 478 | + | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
| |||
1786 | 1787 | | |
1787 | 1788 | | |
1788 | 1789 | | |
1789 | | - | |
| 1790 | + | |
1790 | 1791 | | |
1791 | 1792 | | |
1792 | 1793 | | |
| |||
0 commit comments