@eagami/ui 5.80.0 → 5.81.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/fesm2022/eagami-ui.mjs +10 -2
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +12 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagami/ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.81.0",
|
|
4
4
|
"description": "Lightweight, accessible, themeable Angular UI component library and icon set built on CSS custom properties",
|
|
5
5
|
"author": "Michal Wiraszka <michal@eagami.com>",
|
|
6
6
|
"license": "MIT",
|
package/types/eagami-ui.d.ts
CHANGED
|
@@ -3345,6 +3345,13 @@ export interface DataTableColumn<T = Record<string, unknown>> {
|
|
|
3345
3345
|
$implicit: DataTableColumn<T>;
|
|
3346
3346
|
index: number;
|
|
3347
3347
|
}>;
|
|
3348
|
+
/**
|
|
3349
|
+
* Set to `false` for a column whose cells hold links or buttons of their own, to keep
|
|
3350
|
+
* them out of the link `rowHref` gives every cell: a link inside a link is invalid, and
|
|
3351
|
+
* the row's links after the first are hidden from assistive technology. A click
|
|
3352
|
+
* elsewhere in the cell still activates the row.
|
|
3353
|
+
*/
|
|
3354
|
+
rowLink?: boolean;
|
|
3348
3355
|
}
|
|
3349
3356
|
/** A body row's context-menu request, as `rowContextMenu` emits it. */
|
|
3350
3357
|
export interface DataTableRowContextMenuEvent<T = Record<string, unknown>> {
|
|
@@ -3418,9 +3425,10 @@ export declare class DataTableComponent<T = Record<string, unknown>> {
|
|
|
3418
3425
|
readonly clickable: import("@angular/core").InputSignal<boolean>;
|
|
3419
3426
|
/**
|
|
3420
3427
|
* Gives a row its link target, or `null` for none. Every cell of the row then holds
|
|
3421
|
-
* a real link,
|
|
3422
|
-
*
|
|
3423
|
-
* A row given `null` is inert: no link,
|
|
3428
|
+
* a real link, unless its column sets `rowLink: false`, so the browser shows the
|
|
3429
|
+
* target on hover and a modified click opens it elsewhere, while a plain click still
|
|
3430
|
+
* emits `rowActivate` for the app to route. A row given `null` is inert: no link,
|
|
3431
|
+
* hover highlight, focus or activation.
|
|
3424
3432
|
*/
|
|
3425
3433
|
readonly rowHref: import("@angular/core").InputSignal<((row: T) => string | null) | undefined>;
|
|
3426
3434
|
/**
|
|
@@ -3445,6 +3453,7 @@ export declare class DataTableComponent<T = Record<string, unknown>> {
|
|
|
3445
3453
|
readonly noDataTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
3446
3454
|
/** Empty-state text, falling back to the active locale's translation. */
|
|
3447
3455
|
readonly resolvedNoDataText: import("@angular/core").Signal<string>;
|
|
3456
|
+
protected readonly announcedLinkColumn: import("@angular/core").Signal<number>;
|
|
3448
3457
|
readonly placeholderRows: import("@angular/core").Signal<number[]>;
|
|
3449
3458
|
private readonly bodyRowCount;
|
|
3450
3459
|
readonly hostClasses: import("@angular/core").Signal<{
|