@truenas/ui-components 0.7.8 → 0.7.9
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/package.json
CHANGED
|
@@ -8829,6 +8829,14 @@ declare class TnListComponent {
|
|
|
8829
8829
|
* The primary-text slot is the deliberate exception — it has no gate, so
|
|
8830
8830
|
* `[tnListItemTitle]` and `[tnListItemPrimary]` render either way. See the
|
|
8831
8831
|
* comment in `list-item.component.html` for why the asymmetry is there.
|
|
8832
|
+
*
|
|
8833
|
+
* `[testId]` names the row for automation. It lands on the host, which is both
|
|
8834
|
+
* the click target (`(click)` is a host binding) and the `listitem` — so one id
|
|
8835
|
+
* addresses the row whether a suite clicks it or reads what it renders. The
|
|
8836
|
+
* value is written verbatim, with no element-type prefix, matching the other
|
|
8837
|
+
* components whose host *is* the target (`tn-tree-node`, `tn-table`): a row of
|
|
8838
|
+
* a list is not a control whose type the library can name, and its meaning
|
|
8839
|
+
* comes from the list it sits in, which only the consumer knows.
|
|
8832
8840
|
*/
|
|
8833
8841
|
declare class TnListItemComponent {
|
|
8834
8842
|
disabled: _angular_core.InputSignal<boolean>;
|
|
@@ -8853,7 +8861,7 @@ declare class TnListItemComponent {
|
|
|
8853
8861
|
hasThirdText: _angular_core.Signal<boolean>;
|
|
8854
8862
|
onClick(event: Event): void;
|
|
8855
8863
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TnListItemComponent, never>;
|
|
8856
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TnListItemComponent, "tn-list-item", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "dense": { "alias": "dense"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, ["leadingIcons", "leadingAvatars", "secondaryLines", "secondaryTexts", "trailing"], ["[tnListIcon], [tnListAvatar]", "[tnListItemTitle], [tnListItemPrimary]", "*", "[tnListItemLine], [tnListItemSecondary]", "[tnListItemTrailing]"], true,
|
|
8864
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TnListItemComponent, "tn-list-item", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "dense": { "alias": "dense"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, ["leadingIcons", "leadingAvatars", "secondaryLines", "secondaryTexts", "trailing"], ["[tnListIcon], [tnListAvatar]", "[tnListItemTitle], [tnListItemPrimary]", "*", "[tnListItemLine], [tnListItemSecondary]", "[tnListItemTrailing]"], true, [{ directive: typeof TnTestIdDirective; inputs: { "tnTestId": "testId"; }; outputs: {}; }]>;
|
|
8857
8865
|
}
|
|
8858
8866
|
|
|
8859
8867
|
/**
|