@genesislcap/pbc-notify-seed 1.2.1 → 1.3.0-pre-release.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.
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "prerequisites": {
3
3
  "foundationUI": "14.*",
4
- "gsf": "8.*"
4
+ "gsf": "1.*"
5
5
  },
6
6
  "dependencies": {
7
- "pbcNotify": "1.0.38",
8
- "serverDepId": "8.1.1",
9
- "fileServerDepId": "8.1.0"
7
+ "pbcNotify": "1.0.39",
8
+ "serverDepId": "1.0.0-PIPELINETEST-beta1",
9
+ "fileServerDepId": "1.0.0-PIPELINETEST-beta1"
10
10
  }
11
11
  }
@@ -16,7 +16,7 @@ export const notificationsButton: AppElement = {
16
16
  part="notifications-button"
17
17
  data-test-id="notifications-button"
18
18
  data-pbc-asset-id="notifications-button"
19
- @click=${(x, c) => c.parent.$emit('notification-icon-clicked')}
19
+ @click=${(x, c) => (c.parent ?? x).$emit('notification-icon-clicked')}
20
20
  >
21
21
  <rapid-icon variant="regular" name="bell" part="notifications-icon"></rapid-icon>
22
22
  <foundation-inbox-counter part="notifications-inbox-counter"></foundation-inbox-counter>
@@ -32,7 +32,7 @@ export const inboxFlyout: AppElement = {
32
32
  elements: html`
33
33
  <rapid-flyout
34
34
  position="right"
35
- @closed=${(x, c) => c.parent.$emit('change-inbox-display', false)}
35
+ @closed=${(x, c) => (c.parent ?? x).$emit('change-inbox-display', false)}
36
36
  ?closed=${() => !store.inboxDisplayState}
37
37
  data-pbc-asset-id="inbox-flyout"
38
38
  >
@@ -6,14 +6,14 @@ import type { AppMetadata } from '@genesislcap/foundation-shell/app';
6
6
  export const metadata: AppMetadata = {
7
7
  name: '@genesislcap/pbc-notify-ui',
8
8
  description: 'Genesis Notify PBC',
9
- version: '1.2.1',
9
+ version: '1.3.0-pre-release.2',
10
10
  prerequisites: {
11
11
  '@genesislcap/foundation-ui': '14.*',
12
- gsf: '8.*',
12
+ gsf: '1.*',
13
13
  },
14
14
  dependencies: {
15
- '@genesislcap/pbc-notify-ui': '1.0.38',
15
+ '@genesislcap/pbc-notify-ui': '1.0.39',
16
16
  '@genesislcap/foundation-notifications': '14.*',
17
- serverDepId: '8.1.1',
17
+ serverDepId: '1.0.0-PIPELINETEST-beta1',
18
18
  },
19
19
  };
@@ -68,6 +68,8 @@ export const notificationsDashboard: AppRoute = {
68
68
  path: 'notifications-dashboard',
69
69
  name: 'notifications-dashboard',
70
70
  element: Notifications,
71
+ // @ts-ignore
72
+ elementTag: 'notifications-dashboard',
71
73
  settings: { autoAuth: true },
72
74
  navItems: [
73
75
  {
@@ -40,6 +40,7 @@ export class DefaultNotifyStore
40
40
  */
41
41
  this.createListener<boolean | null>(
42
42
  ['change-inbox-display', 'notification-icon-clicked'],
43
+ // @ts-ignore add narrowing utils to store
43
44
  (_, { detail, type }) => {
44
45
  /**
45
46
  * Account for `'notification-icon-clicked': void;` which has a `null` detail payload. Prior logic proxied that
@@ -54,7 +55,7 @@ export class DefaultNotifyStore
54
55
  export const NotifyStore = registerStore<NotifyStore>(DefaultNotifyStore, 'NotifyStore');
55
56
 
56
57
  export function getNotifyStore(): NotifyStore {
57
- return DI.getOrCreateDOMContainer().get(NotifyStore);
58
+ return DI.getOrCreateDOMContainer().get(NotifyStore) as NotifyStore;
58
59
  }
59
60
 
60
61
  export const notifyAppStore: AppStore<NotifyStore> = {
@@ -36,7 +36,7 @@ export const inbox: AppStyle = {
36
36
  /**
37
37
  * @public
38
38
  */
39
- export const notificationsButton: AppStyle = {
39
+ export const notificationsButtonStyle: AppStyle = {
40
40
  targetId: 'header',
41
41
  styles: css`
42
42
  foundation-inbox-counter {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-seed",
3
- "version": "1.2.1",
3
+ "version": "1.3.0-pre-release.2",
4
4
  "description": "Genesis Notify PBC",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "publishConfig": {