@visma-swno/vsn-navigation 1.6.0 → 1.7.0-beta.2
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.
|
@@ -103,6 +103,7 @@ export declare type SearchResultItem = {
|
|
|
103
103
|
id: string;
|
|
104
104
|
label: string;
|
|
105
105
|
url: string;
|
|
106
|
+
external?: boolean;
|
|
106
107
|
lines?: [string] | [string, string];
|
|
107
108
|
};
|
|
108
109
|
|
|
@@ -110,6 +111,10 @@ export declare type TreeItem = TreeParent | TreeLeaf;
|
|
|
110
111
|
|
|
111
112
|
export declare type TreeLeaf = BaseTreeItem & {
|
|
112
113
|
url: string;
|
|
114
|
+
/** when true, the link is rendered with an additional icon button to open the link in a new tab.
|
|
115
|
+
* When that icon button is used, the link will open in a new tab and no event will be triggered.
|
|
116
|
+
* When the usual link is used, an event will be triggered. */
|
|
117
|
+
external?: boolean;
|
|
113
118
|
keywords?: string;
|
|
114
119
|
};
|
|
115
120
|
|