@eherve/angular-material-datatable 22.0.0 → 22.2.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/README.md CHANGED
@@ -51,3 +51,18 @@ A datasource response contains `draw`, `recordsFiltered`, `data`, optional `face
51
51
  ## Runtime dependencies
52
52
 
53
53
  Angular framework packages and the external libraries used directly by this package are declared as peer dependencies so the consuming Angular application keeps a single compatible runtime instance.
54
+
55
+ ## Theme tokens
56
+
57
+ Set inherited CSS custom properties on the datatable or an application ancestor. The library uses Angular Material's public Sass override APIs and does not depend on application-specific colors.
58
+
59
+ | Token | Default | Purpose |
60
+ | --- | --- | --- |
61
+ | `--ngx-mat-extended-control-height` | `32px` | Shared toolbar icon button and records counter height. Material touch targets retain the application theme size. |
62
+ | `--ngx-mat-extended-radius` | `8px` | Toolbar icon button corner radius. |
63
+ | `--ngx-mat-extended-space-1` | `4px` | Records count separation. |
64
+ | `--ngx-mat-extended-space-2` | `8px` | Records counter horizontal padding. |
65
+ | `--ngx-mat-extended-accent` | Material primary | Selected header checkbox and focused header search control color. |
66
+ | `--ngx-mat-extended-on-accent` | Material on-primary | Selected header checkbox checkmark color. |
67
+
68
+ The counter sizes to its content and shares the toolbar button height; long counts remain fully visible. Header checkbox overrides include selected, focused, hovered, pressed and indeterminate states; disabled colors retain the Material theme defaults. Existing `--ngx-mat-datatable-*` color and sticky positioning properties remain supported.