From 6421e83e9a070a812f2faa092720291f0beaf098 Mon Sep 17 00:00:00 2001 From: Christopher Winsor Date: Thu, 11 Apr 2024 20:45:17 -0500 Subject: [PATCH] Navbar: add missing notificationCount definition (#2427) --- .../src/lib/stencil-generated/components.ts | 8 ++++---- .../src/lib/stencil-generated/components.ts | 8 ++++---- .../src/lib/stencil-generated/components.ts | 8 ++++---- .../src/lib/stencil-generated/components.ts | 8 ++++---- stencil-workspace/src/components.d.ts | 8 ++++++++ 5 files changed, 24 insertions(+), 16 deletions(-) diff --git a/angular-workspace/ng14/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts b/angular-workspace/ng14/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts index 8e437ae3e..3784b5e3f 100644 --- a/angular-workspace/ng14/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts +++ b/angular-workspace/ng14/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts @@ -625,7 +625,7 @@ export declare interface ModusModal extends Components.ModusModal { @ProxyCmp({ - inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], + inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'notificationCount', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], methods: ['hideMainMenu'] }) @Component({ @@ -633,7 +633,7 @@ export declare interface ModusModal extends Components.ModusModal { changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], + inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'notificationCount', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], }) export class ModusNavbar { protected el: HTMLElement; @@ -1533,14 +1533,14 @@ export declare interface ModusTimePicker extends Components.ModusTimePicker { @ProxyCmp({ - inputs: ['ariaLabel', 'dismissible', 'showIcon', 'type'] + inputs: ['ariaLabel', 'dismissible', 'role', 'showIcon', 'type'] }) @Component({ selector: 'modus-toast', changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: ['ariaLabel', 'dismissible', 'showIcon', 'type'], + inputs: ['ariaLabel', 'dismissible', 'role', 'showIcon', 'type'], }) export class ModusToast { protected el: HTMLElement; diff --git a/angular-workspace/ng15/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts b/angular-workspace/ng15/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts index 8e437ae3e..3784b5e3f 100644 --- a/angular-workspace/ng15/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts +++ b/angular-workspace/ng15/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts @@ -625,7 +625,7 @@ export declare interface ModusModal extends Components.ModusModal { @ProxyCmp({ - inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], + inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'notificationCount', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], methods: ['hideMainMenu'] }) @Component({ @@ -633,7 +633,7 @@ export declare interface ModusModal extends Components.ModusModal { changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], + inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'notificationCount', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], }) export class ModusNavbar { protected el: HTMLElement; @@ -1533,14 +1533,14 @@ export declare interface ModusTimePicker extends Components.ModusTimePicker { @ProxyCmp({ - inputs: ['ariaLabel', 'dismissible', 'showIcon', 'type'] + inputs: ['ariaLabel', 'dismissible', 'role', 'showIcon', 'type'] }) @Component({ selector: 'modus-toast', changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: ['ariaLabel', 'dismissible', 'showIcon', 'type'], + inputs: ['ariaLabel', 'dismissible', 'role', 'showIcon', 'type'], }) export class ModusToast { protected el: HTMLElement; diff --git a/angular-workspace/ng16/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts b/angular-workspace/ng16/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts index 8e437ae3e..3784b5e3f 100644 --- a/angular-workspace/ng16/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts +++ b/angular-workspace/ng16/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts @@ -625,7 +625,7 @@ export declare interface ModusModal extends Components.ModusModal { @ProxyCmp({ - inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], + inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'notificationCount', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], methods: ['hideMainMenu'] }) @Component({ @@ -633,7 +633,7 @@ export declare interface ModusModal extends Components.ModusModal { changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], + inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'notificationCount', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], }) export class ModusNavbar { protected el: HTMLElement; @@ -1533,14 +1533,14 @@ export declare interface ModusTimePicker extends Components.ModusTimePicker { @ProxyCmp({ - inputs: ['ariaLabel', 'dismissible', 'showIcon', 'type'] + inputs: ['ariaLabel', 'dismissible', 'role', 'showIcon', 'type'] }) @Component({ selector: 'modus-toast', changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: ['ariaLabel', 'dismissible', 'showIcon', 'type'], + inputs: ['ariaLabel', 'dismissible', 'role', 'showIcon', 'type'], }) export class ModusToast { protected el: HTMLElement; diff --git a/angular-workspace/ng17/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts b/angular-workspace/ng17/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts index 8e437ae3e..3784b5e3f 100644 --- a/angular-workspace/ng17/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts +++ b/angular-workspace/ng17/projects/trimble-oss/modus-angular-components/src/lib/stencil-generated/components.ts @@ -625,7 +625,7 @@ export declare interface ModusModal extends Components.ModusModal { @ProxyCmp({ - inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], + inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'notificationCount', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], methods: ['hideMainMenu'] }) @Component({ @@ -633,7 +633,7 @@ export declare interface ModusModal extends Components.ModusModal { changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], + inputs: ['apps', 'buttons', 'enableSearchOverlay', 'helpTooltip', 'helpUrl', 'logoOptions', 'notificationCount', 'profileMenuOptions', 'reverse', 'searchTooltip', 'showAppsMenu', 'showHelp', 'showMainMenu', 'showNotifications', 'showPendoPlaceholder', 'showProfile', 'showSearch', 'showShadow', 'variant'], }) export class ModusNavbar { protected el: HTMLElement; @@ -1533,14 +1533,14 @@ export declare interface ModusTimePicker extends Components.ModusTimePicker { @ProxyCmp({ - inputs: ['ariaLabel', 'dismissible', 'showIcon', 'type'] + inputs: ['ariaLabel', 'dismissible', 'role', 'showIcon', 'type'] }) @Component({ selector: 'modus-toast', changeDetection: ChangeDetectionStrategy.OnPush, template: '', // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property - inputs: ['ariaLabel', 'dismissible', 'showIcon', 'type'], + inputs: ['ariaLabel', 'dismissible', 'role', 'showIcon', 'type'], }) export class ModusToast { protected el: HTMLElement; diff --git a/stencil-workspace/src/components.d.ts b/stencil-workspace/src/components.d.ts index f1d286342..b621957c0 100644 --- a/stencil-workspace/src/components.d.ts +++ b/stencil-workspace/src/components.d.ts @@ -744,6 +744,10 @@ export namespace Components { * (optional) Set the primary logo to display when the screen size is greater than 576 pixels, and the secondary logo to display when the screen size is less than or equal to 576 pixels. */ "logoOptions": ModusNavbarLogoOptions; + /** + * (optional) Whether to show badge on top of notification + */ + "notificationCount": number; /** * (required) Profile menu options. */ @@ -3365,6 +3369,10 @@ declare namespace LocalJSX { * (optional) Set the primary logo to display when the screen size is greater than 576 pixels, and the secondary logo to display when the screen size is less than or equal to 576 pixels. */ "logoOptions"?: ModusNavbarLogoOptions; + /** + * (optional) Whether to show badge on top of notification + */ + "notificationCount"?: number; /** * An event that fires when an apps menu app opens. */