@ithouse-bd/ngx-table 0.0.0-stage → 1.0.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 +70 -0
- package/DOCUMENTATION.md +711 -0
- package/LICENSE +21 -0
- package/README.md +304 -2
- package/THEMING.md +270 -0
- package/docs/images/table-dark.svg +136 -0
- package/docs/images/table-overview.svg +140 -0
- package/docs/images/table-selection.svg +164 -0
- package/fesm2022/ithouse-bd-ngx-table.mjs +1016 -0
- package/fesm2022/ithouse-bd-ngx-table.mjs.map +1 -0
- package/index.d.ts +516 -0
- package/index.d.ts.map +1 -0
- package/package.json +51 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@ithouse-bd/ngx-table` are documented here.
|
|
4
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
5
|
+
[Semantic Versioning](https://semver.org/).
|
|
6
|
+
|
|
7
|
+
## [1.0.0] — 2026-11-24
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `<ith-table>` standalone component with signal inputs, `model()` inputs and outputs.
|
|
12
|
+
- `TableColumn<T>` configuration: dot-path fields, alignment, widths, formatters, custom
|
|
13
|
+
comparators, custom search/filter values, hidden columns, header/cell classes.
|
|
14
|
+
- Client-side mode with global search, per-column filters, sorting and pagination.
|
|
15
|
+
- Customizable filters on every column: `filterType` (`text`, `number`, `date`, `select`),
|
|
16
|
+
`filterOptions`, `filterPlaceholder`, `filterPredicate`, `filterAllLabel` and a custom
|
|
17
|
+
control template (`ithTableFilter="key"`).
|
|
18
|
+
- Server-side mode (`mode="server"`) with `total`, `loading`, `sortChange`, `searchChange`,
|
|
19
|
+
`filterChange`, `pageChange` and `pageSizeChange` outputs.
|
|
20
|
+
- Sorting: `asc → desc → unsorted` cycling, `aria-sort`, custom `sortFn`, table-wide and
|
|
21
|
+
per-column opt-out.
|
|
22
|
+
- Selection: `none` / `single` / `multi`, page or all-filtered select-all, indeterminate
|
|
23
|
+
header checkbox, selection preserved across pages by `keyField`.
|
|
24
|
+
- Row actions: declarative buttons (icon, class, disabled/hidden rules) and the
|
|
25
|
+
`ithTableRowActions` template.
|
|
26
|
+
- Custom templates: `ithTableCell`, `ithTableHeader`, `ithTableFilter`,
|
|
27
|
+
`ithTableRowActions`, `ithTableToolbar`, `ithTableFooter`, `ithTableEmpty`,
|
|
28
|
+
`ithTableRowMenu`.
|
|
29
|
+
- Copy to clipboard: `copyable`, a per-cell hover button, Ctrl/Cmd+C on a focused cell and
|
|
30
|
+
the `cellCopy` output.
|
|
31
|
+
- Right-click context menu: `rowContextMenu` output plus the projected `ithTableRowMenu`
|
|
32
|
+
template, rendered in a floating panel at the pointer (closes on outside click/Escape).
|
|
33
|
+
- Column visibility picker (`showColumnPicker`) with `columnsChange`, persisted together with
|
|
34
|
+
the comfortable/compact density (`showDensityToggle`) through `storageKey`.
|
|
35
|
+
- Sticky columns: `sticky: 'start' | 'end'` per column, plus `stickySelection` and
|
|
36
|
+
`stickyActions` for the checkbox/actions columns.
|
|
37
|
+
- Native cell tooltips (`TableColumn.tooltip`, default on) and skeleton rows while loading.
|
|
38
|
+
- Standalone-only: the `NgxTableModule` wrapper was removed; import the component and the
|
|
39
|
+
template directives directly.
|
|
40
|
+
- Brand theming: a single `--ith-table-brand` token now drives the header, hover, selected
|
|
41
|
+
rows, filters, footer, focus ring and toolbar accents via `color-mix()`, in light and dark
|
|
42
|
+
mode.
|
|
43
|
+
- Pagination footer: range summary, total label, centred page window, first/previous/next/last
|
|
44
|
+
buttons, rows-per-page selector.
|
|
45
|
+
- Presentation: `striped`, `bordered`, `dense`, `hoverable`, `stickyHeader`, `maxHeight`,
|
|
46
|
+
loading overlay and empty state.
|
|
47
|
+
- Theming with CSS variables for light, dark (`[data-theme="dark"]` / `.dark`) and system
|
|
48
|
+
(`[data-theme="auto"]`) modes.
|
|
49
|
+
- Accessibility: `aria-sort`, `aria-current`, labelled checkboxes and pagination, `aria-busy`,
|
|
50
|
+
`aria-selected` rows, and `Enter`/`Space` activation for clickable rows.
|
|
51
|
+
- Published package now ships `DOCUMENTATION.md`, `THEMING.md`, `CHANGELOG.md` and the SVG
|
|
52
|
+
previews next to the README.
|
|
53
|
+
- `NgxTableModule` wrapper for NgModule-based applications.
|
|
54
|
+
- Documentation (README, DOCUMENTATION, THEMING), SVG previews, MIT license.
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
|
|
58
|
+
- Server mode no longer resets `page` when `search`, `filters`, `sort` or `pageSize` change,
|
|
59
|
+
so one query change produces one request instead of two.
|
|
60
|
+
- `filterType: 'date'` compares the calendar date, so ISO strings are not shifted by the
|
|
61
|
+
browser time zone.
|
|
62
|
+
- `filterType: 'number'` compares numerically, so `12`, `12.0` and `012` all match `12`.
|
|
63
|
+
- Empty-state `colspan` falls back to `1` when the table has no visible columns.
|
|
64
|
+
- The host element is `display: block` by default, so the table no longer depends on the
|
|
65
|
+
page's CSS to lay out correctly.
|
|
66
|
+
|
|
67
|
+
### Requirements
|
|
68
|
+
|
|
69
|
+
- Angular **20 or newer** (`@angular/common`, `@angular/core` peer dependencies).
|
|
70
|
+
- No runtime dependencies except `tslib`.
|