bonsaif-ui 0.1.17 → 0.1.18
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 +6 -0
- package/README.md +2 -0
- package/dist/bonsaif-ui.js +1315 -1300
- package/dist/bonsaif-ui.umd.cjs +1 -1
- package/dist/components/ui/DataTable.d.ts +2 -2
- package/dist/components/ui/DataTable.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.18 - 2026-05-06
|
|
4
|
+
|
|
5
|
+
- Render `DataTable` rows with CSS Grid instead of native table layout so column widths, resize handles, sticky columns, and future customization are controlled by the component.
|
|
6
|
+
- Fill spare table viewport width across visible columns and switch to horizontal scrolling once resized columns exceed the available space.
|
|
7
|
+
- Preserve rounded bottom corners when the `DataTable` pagination footer is hidden.
|
|
8
|
+
|
|
3
9
|
## 0.1.15 - 2026-05-05
|
|
4
10
|
|
|
5
11
|
- Add `Drawer` unsaved-changes guard props so internal close actions can require discard confirmation before closing.
|
package/README.md
CHANGED
|
@@ -198,6 +198,8 @@ When pagination is enabled with `pageSize`, the pagination footer is hidden auto
|
|
|
198
198
|
|
|
199
199
|
Header controls for column reordering, resizing, and visibility are floating controls. The drag handle and column visibility menu animate in on hover/focus and do not consume label width, so narrow headers keep as much readable text as possible.
|
|
200
200
|
|
|
201
|
+
DataTable renders its rows with CSS Grid instead of the browser's native table layout. Column resizing uses the saved column widths as the base grid tracks, fills any spare container width across visible columns, and switches to horizontal scrolling when the resized columns exceed the available space. This keeps resize behavior predictable without leaving a blank gutter on the right side.
|
|
202
|
+
|
|
201
203
|
```tsx
|
|
202
204
|
<DataTable
|
|
203
205
|
columns={columns}
|