@eui/components 18.0.0-rc.27 → 18.0.0-rc.28
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/docs/components/EuiMenuItemComponent.html +1 -0
- package/docs/components/EuiNotificationItemComponent.html +3 -3
- package/docs/components/EuiNotificationItemV2Component.html +1 -1
- package/docs/components/EuiNotificationsComponent.html +24 -92
- package/docs/components/EuiPaginatorComponent.html +1 -1
- package/docs/components/EuiTimelineComponent.html +55 -5
- package/docs/components/EuiTimelineItemComponent.html +0 -10
- package/docs/dependencies.html +1 -1
- package/docs/index.html +1 -1
- package/docs/interfaces/NotificationMetadata.html +546 -0
- package/docs/js/menu-wc.js +3 -0
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2022/eui-button/eui-button.component.mjs +2 -2
- package/esm2022/eui-menu/eui-menu-item.component.mjs +16 -2
- package/esm2022/eui-menu/eui-menu.component.mjs +2 -2
- package/esm2022/eui-menu/models/eui-menu-item.model.mjs +2 -2
- package/esm2022/eui-page/eui-page.component.mjs +2 -2
- package/esm2022/eui-paginator/eui-paginator.component.mjs +3 -3
- package/esm2022/eui-timeline/eui-timeline-item.component.mjs +1 -3
- package/esm2022/eui-timeline/eui-timeline.component.mjs +29 -11
- package/esm2022/layout/eui-notifications/eui-notification-item.component.mjs +1 -1
- package/esm2022/layout/eui-notifications/eui-notifications.component.mjs +1 -25
- package/esm2022/layout/eui-notifications-v2/eui-notification-item.component.mjs +1 -1
- package/esm2022/layout/eui-toolbar/toolbar-menu/toolbar-menu.component.mjs +2 -2
- package/eui-menu/eui-menu-item.component.d.ts +5 -4
- package/eui-menu/eui-menu-item.component.d.ts.map +1 -1
- package/eui-menu/eui-menu.component.d.ts.map +1 -1
- package/eui-timeline/eui-timeline-item.component.d.ts.map +1 -1
- package/eui-timeline/eui-timeline.component.d.ts +9 -1
- package/eui-timeline/eui-timeline.component.d.ts.map +1 -1
- package/fesm2022/eui-components-eui-button.mjs +2 -2
- package/fesm2022/eui-components-eui-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-menu.mjs +16 -3
- package/fesm2022/eui-components-eui-menu.mjs.map +1 -1
- package/fesm2022/eui-components-eui-page.mjs +2 -2
- package/fesm2022/eui-components-eui-page.mjs.map +1 -1
- package/fesm2022/eui-components-eui-paginator.mjs +2 -2
- package/fesm2022/eui-components-eui-paginator.mjs.map +1 -1
- package/fesm2022/eui-components-eui-timeline.mjs +28 -12
- package/fesm2022/eui-components-eui-timeline.mjs.map +1 -1
- package/fesm2022/eui-components-layout.mjs +1 -25
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/layout/eui-app/eui-app-sidebar/sidebar-menu/sidebar-menu.component.d.ts +1 -1
- package/layout/eui-app/eui-app-sidebar/sidebar-menu/sidebar-menu.component.d.ts.map +1 -1
- package/layout/eui-notifications/eui-notification-item.component.d.ts +12 -3
- package/layout/eui-notifications/eui-notification-item.component.d.ts.map +1 -1
- package/layout/eui-notifications/eui-notifications.component.d.ts +16 -14
- package/layout/eui-notifications/eui-notifications.component.d.ts.map +1 -1
- package/layout/eui-notifications-v2/eui-notification-item.component.d.ts +2 -1
- package/layout/eui-notifications-v2/eui-notification-item.component.d.ts.map +1 -1
- package/layout/eui-toolbar/toolbar-menu/toolbar-menu.component.d.ts +1 -1
- package/layout/eui-toolbar/toolbar-menu/toolbar-menu.component.d.ts.map +1 -1
- package/package.json +3 -3
@@ -517,7 +517,7 @@ class EuiToolbarMenuComponent {
|
|
517
517
|
});
|
518
518
|
}
|
519
519
|
if (link.urlExternal) {
|
520
|
-
window.open(link.urlExternal, link?.urlExternalTarget);
|
520
|
+
window.open(link.urlExternal, link?.urlExternalTarget || '_blank');
|
521
521
|
}
|
522
522
|
if (link.command) {
|
523
523
|
link.command();
|
@@ -2150,29 +2150,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
2150
2150
|
|
2151
2151
|
class EuiNotificationsComponent {
|
2152
2152
|
constructor() {
|
2153
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2154
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2155
2153
|
this.refreshClick = new EventEmitter();
|
2156
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2157
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2158
2154
|
this.notificationsClick = new EventEmitter();
|
2159
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2160
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2161
2155
|
this.viewAllClick = new EventEmitter();
|
2162
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2163
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2164
2156
|
this.settingsClick = new EventEmitter();
|
2165
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2166
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2167
2157
|
this.markAllAsReadClick = new EventEmitter();
|
2168
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2169
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2170
2158
|
this.noNotificationFoundClick = new EventEmitter();
|
2171
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2172
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2173
2159
|
this.itemClick = new EventEmitter();
|
2174
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2175
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2176
2160
|
this.itemMarkAsReadClick = new EventEmitter();
|
2177
2161
|
this.isOverlayActive = false;
|
2178
2162
|
this.currentDayNotifications = [];
|
@@ -2206,8 +2190,6 @@ class EuiNotificationsComponent {
|
|
2206
2190
|
onHide() {
|
2207
2191
|
this.isOverlayActive = false;
|
2208
2192
|
}
|
2209
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2210
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2211
2193
|
onClicked(event) {
|
2212
2194
|
this.notificationsClick.emit();
|
2213
2195
|
consumeEvent(event);
|
@@ -2230,8 +2212,6 @@ class EuiNotificationsComponent {
|
|
2230
2212
|
this.refreshClick.emit();
|
2231
2213
|
consumeEvent(event);
|
2232
2214
|
}
|
2233
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2234
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2235
2215
|
onItemClick(link) {
|
2236
2216
|
this.itemClick.emit(link);
|
2237
2217
|
consumeEvent(event);
|
@@ -2245,8 +2225,6 @@ class EuiNotificationsComponent {
|
|
2245
2225
|
onNoNotificationFoundClick() {
|
2246
2226
|
this.noNotificationFoundClick.emit();
|
2247
2227
|
}
|
2248
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2249
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2250
2228
|
onItemMarkAsRead(link) {
|
2251
2229
|
this.itemMarkAsReadClick.emit(link);
|
2252
2230
|
}
|
@@ -2258,8 +2236,6 @@ class EuiNotificationsComponent {
|
|
2258
2236
|
this.settingsClick.emit(e);
|
2259
2237
|
consumeEvent(e);
|
2260
2238
|
}
|
2261
|
-
// TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html
|
2262
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2263
2239
|
trackByFn(index, item) {
|
2264
2240
|
return item.id;
|
2265
2241
|
}
|