@genesislcap/pbc-notify-ui 15.81.0 → 15.82.0

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.
@@ -505,27 +505,6 @@
505
505
  }
506
506
  ]
507
507
  },
508
- {
509
- "kind": "javascript-module",
510
- "path": "src/styles/scrollbar.styles.ts",
511
- "declarations": [
512
- {
513
- "kind": "variable",
514
- "name": "scrollbarStyles",
515
- "default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
516
- }
517
- ],
518
- "exports": [
519
- {
520
- "kind": "js",
521
- "name": "scrollbarStyles",
522
- "declaration": {
523
- "name": "scrollbarStyles",
524
- "module": "src/styles/scrollbar.styles.ts"
525
- }
526
- }
527
- ]
528
- },
529
508
  {
530
509
  "kind": "javascript-module",
531
510
  "path": "src/utils/eventDetail.ts",
@@ -847,6 +826,27 @@
847
826
  }
848
827
  ]
849
828
  },
829
+ {
830
+ "kind": "javascript-module",
831
+ "path": "src/styles/scrollbar.styles.ts",
832
+ "declarations": [
833
+ {
834
+ "kind": "variable",
835
+ "name": "scrollbarStyles",
836
+ "default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
837
+ }
838
+ ],
839
+ "exports": [
840
+ {
841
+ "kind": "js",
842
+ "name": "scrollbarStyles",
843
+ "declaration": {
844
+ "name": "scrollbarStyles",
845
+ "module": "src/styles/scrollbar.styles.ts"
846
+ }
847
+ }
848
+ ]
849
+ },
850
850
  {
851
851
  "kind": "javascript-module",
852
852
  "path": "src/components/foundation-inbox/inbox.styles.ts",
@@ -5984,149 +5984,6 @@
5984
5984
  }
5985
5985
  ]
5986
5986
  },
5987
- {
5988
- "kind": "javascript-module",
5989
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
5990
- "declarations": [
5991
- {
5992
- "kind": "variable",
5993
- "name": "noItemsClass",
5994
- "type": {
5995
- "text": "string"
5996
- },
5997
- "default": "'no-items'",
5998
- "description": "Class to use when there are no items"
5999
- },
6000
- {
6001
- "kind": "variable",
6002
- "name": "FoundationInboxCounterStyles",
6003
- "default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
6004
- }
6005
- ],
6006
- "exports": [
6007
- {
6008
- "kind": "js",
6009
- "name": "noItemsClass",
6010
- "declaration": {
6011
- "name": "noItemsClass",
6012
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
6013
- }
6014
- },
6015
- {
6016
- "kind": "js",
6017
- "name": "FoundationInboxCounterStyles",
6018
- "declaration": {
6019
- "name": "FoundationInboxCounterStyles",
6020
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
6021
- }
6022
- }
6023
- ]
6024
- },
6025
- {
6026
- "kind": "javascript-module",
6027
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
6028
- "declarations": [
6029
- {
6030
- "kind": "variable",
6031
- "name": "FoundationInboxCounterTemplate",
6032
- "default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
6033
- }
6034
- ],
6035
- "exports": [
6036
- {
6037
- "kind": "js",
6038
- "name": "FoundationInboxCounterTemplate",
6039
- "declaration": {
6040
- "name": "FoundationInboxCounterTemplate",
6041
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
6042
- }
6043
- }
6044
- ]
6045
- },
6046
- {
6047
- "kind": "javascript-module",
6048
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
6049
- "declarations": [
6050
- {
6051
- "kind": "class",
6052
- "description": "",
6053
- "name": "FoundationInboxCounter",
6054
- "members": [
6055
- {
6056
- "kind": "field",
6057
- "name": "value",
6058
- "type": {
6059
- "text": "number"
6060
- },
6061
- "default": "0"
6062
- },
6063
- {
6064
- "kind": "field",
6065
- "name": "connect",
6066
- "type": {
6067
- "text": "Connect"
6068
- }
6069
- },
6070
- {
6071
- "kind": "field",
6072
- "name": "inboxService",
6073
- "type": {
6074
- "text": "FoundationInboxService"
6075
- }
6076
- },
6077
- {
6078
- "kind": "field",
6079
- "name": "connectionSub",
6080
- "type": {
6081
- "text": "Subscription"
6082
- },
6083
- "privacy": "private"
6084
- },
6085
- {
6086
- "kind": "method",
6087
- "name": "subscribeToAlerts",
6088
- "privacy": "private",
6089
- "return": {
6090
- "type": {
6091
- "text": "Promise<void>"
6092
- }
6093
- },
6094
- "description": "Subscribes to alerts from the inbox service"
6095
- },
6096
- {
6097
- "kind": "field",
6098
- "name": "subscriptionHandler",
6099
- "privacy": "private",
6100
- "description": "Handles subscription updates from the inbox service"
6101
- }
6102
- ],
6103
- "superclass": {
6104
- "name": "GenesisElement",
6105
- "package": "@genesislcap/web-core"
6106
- },
6107
- "tagName": "foundation-inbox-counter",
6108
- "customElement": true
6109
- }
6110
- ],
6111
- "exports": [
6112
- {
6113
- "kind": "js",
6114
- "name": "FoundationInboxCounter",
6115
- "declaration": {
6116
- "name": "FoundationInboxCounter",
6117
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6118
- }
6119
- },
6120
- {
6121
- "kind": "custom-element-definition",
6122
- "name": "foundation-inbox-counter",
6123
- "declaration": {
6124
- "name": "FoundationInboxCounter",
6125
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6126
- }
6127
- }
6128
- ]
6129
- },
6130
5987
  {
6131
5988
  "kind": "javascript-module",
6132
5989
  "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
@@ -7525,6 +7382,149 @@
7525
7382
  }
7526
7383
  ]
7527
7384
  },
7385
+ {
7386
+ "kind": "javascript-module",
7387
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
7388
+ "declarations": [
7389
+ {
7390
+ "kind": "variable",
7391
+ "name": "noItemsClass",
7392
+ "type": {
7393
+ "text": "string"
7394
+ },
7395
+ "default": "'no-items'",
7396
+ "description": "Class to use when there are no items"
7397
+ },
7398
+ {
7399
+ "kind": "variable",
7400
+ "name": "FoundationInboxCounterStyles",
7401
+ "default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
7402
+ }
7403
+ ],
7404
+ "exports": [
7405
+ {
7406
+ "kind": "js",
7407
+ "name": "noItemsClass",
7408
+ "declaration": {
7409
+ "name": "noItemsClass",
7410
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7411
+ }
7412
+ },
7413
+ {
7414
+ "kind": "js",
7415
+ "name": "FoundationInboxCounterStyles",
7416
+ "declaration": {
7417
+ "name": "FoundationInboxCounterStyles",
7418
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7419
+ }
7420
+ }
7421
+ ]
7422
+ },
7423
+ {
7424
+ "kind": "javascript-module",
7425
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
7426
+ "declarations": [
7427
+ {
7428
+ "kind": "variable",
7429
+ "name": "FoundationInboxCounterTemplate",
7430
+ "default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
7431
+ }
7432
+ ],
7433
+ "exports": [
7434
+ {
7435
+ "kind": "js",
7436
+ "name": "FoundationInboxCounterTemplate",
7437
+ "declaration": {
7438
+ "name": "FoundationInboxCounterTemplate",
7439
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
7440
+ }
7441
+ }
7442
+ ]
7443
+ },
7444
+ {
7445
+ "kind": "javascript-module",
7446
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
7447
+ "declarations": [
7448
+ {
7449
+ "kind": "class",
7450
+ "description": "",
7451
+ "name": "FoundationInboxCounter",
7452
+ "members": [
7453
+ {
7454
+ "kind": "field",
7455
+ "name": "value",
7456
+ "type": {
7457
+ "text": "number"
7458
+ },
7459
+ "default": "0"
7460
+ },
7461
+ {
7462
+ "kind": "field",
7463
+ "name": "connect",
7464
+ "type": {
7465
+ "text": "Connect"
7466
+ }
7467
+ },
7468
+ {
7469
+ "kind": "field",
7470
+ "name": "inboxService",
7471
+ "type": {
7472
+ "text": "FoundationInboxService"
7473
+ }
7474
+ },
7475
+ {
7476
+ "kind": "field",
7477
+ "name": "connectionSub",
7478
+ "type": {
7479
+ "text": "Subscription"
7480
+ },
7481
+ "privacy": "private"
7482
+ },
7483
+ {
7484
+ "kind": "method",
7485
+ "name": "subscribeToAlerts",
7486
+ "privacy": "private",
7487
+ "return": {
7488
+ "type": {
7489
+ "text": "Promise<void>"
7490
+ }
7491
+ },
7492
+ "description": "Subscribes to alerts from the inbox service"
7493
+ },
7494
+ {
7495
+ "kind": "field",
7496
+ "name": "subscriptionHandler",
7497
+ "privacy": "private",
7498
+ "description": "Handles subscription updates from the inbox service"
7499
+ }
7500
+ ],
7501
+ "superclass": {
7502
+ "name": "GenesisElement",
7503
+ "package": "@genesislcap/web-core"
7504
+ },
7505
+ "tagName": "foundation-inbox-counter",
7506
+ "customElement": true
7507
+ }
7508
+ ],
7509
+ "exports": [
7510
+ {
7511
+ "kind": "js",
7512
+ "name": "FoundationInboxCounter",
7513
+ "declaration": {
7514
+ "name": "FoundationInboxCounter",
7515
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
7516
+ }
7517
+ },
7518
+ {
7519
+ "kind": "custom-element-definition",
7520
+ "name": "foundation-inbox-counter",
7521
+ "declaration": {
7522
+ "name": "FoundationInboxCounter",
7523
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
7524
+ }
7525
+ }
7526
+ ]
7527
+ },
7528
7528
  {
7529
7529
  "kind": "javascript-module",
7530
7530
  "path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
@@ -106,23 +106,23 @@ export declare const FoundationSounds: React.ForwardRefExoticComponent<
106
106
  >;
107
107
  export type FoundationSoundsRef = FoundationSoundsWC;
108
108
 
109
- export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
109
+ export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
110
110
  React.PropsWithChildren<
111
- Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
111
+ Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
112
112
  HTMLWCProps & {
113
113
  }
114
- > & React.RefAttributes<FoundationInboxCounterWC>
114
+ > & React.RefAttributes<FoundationInboxFlyoutWC>
115
115
  >;
116
- export type FoundationInboxCounterRef = FoundationInboxCounterWC;
116
+ export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
117
117
 
118
- export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
118
+ export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
119
119
  React.PropsWithChildren<
120
- Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
120
+ Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
121
121
  HTMLWCProps & {
122
122
  }
123
- > & React.RefAttributes<FoundationInboxFlyoutWC>
123
+ > & React.RefAttributes<FoundationInboxCounterWC>
124
124
  >;
125
- export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
125
+ export type FoundationInboxCounterRef = FoundationInboxCounterWC;
126
126
 
127
127
  export declare const InboxSubscription: React.ForwardRefExoticComponent<
128
128
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -67,14 +67,14 @@ const FoundationSounds = React.forwardRef(function FoundationSounds(props, ref)
67
67
  return React.createElement(customElements.getName(FoundationSoundsWC) ?? 'foundation-sounds', { ...rest, ref }, children);
68
68
  });
69
69
 
70
- const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
70
+ const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
71
71
  const { children, ...rest } = props;
72
- return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
72
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
73
73
  });
74
74
 
75
- const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
75
+ const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
76
76
  const { children, ...rest } = props;
77
- return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
77
+ return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
78
78
  });
79
79
 
80
80
  const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
@@ -316,8 +316,8 @@ module.exports = {
316
316
  FoundationNotificationDashboard,
317
317
  FoundationSoundsPanel,
318
318
  FoundationSounds,
319
- FoundationInboxCounter,
320
319
  FoundationInboxFlyout,
320
+ FoundationInboxCounter,
321
321
  InboxSubscription,
322
322
  NotifyAuditManagement,
323
323
  RouteManagement,
package/dist/react.mjs CHANGED
@@ -65,14 +65,14 @@ export const FoundationSounds = React.forwardRef(function FoundationSounds(props
65
65
  return React.createElement(customElements.getName(FoundationSoundsWC) ?? 'foundation-sounds', { ...rest, ref }, children);
66
66
  });
67
67
 
68
- export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
68
+ export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
69
69
  const { children, ...rest } = props;
70
- return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
70
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
71
71
  });
72
72
 
73
- export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
73
+ export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
74
74
  const { children, ...rest } = props;
75
- return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
75
+ return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
76
76
  });
77
77
 
78
78
  export const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-ui",
3
3
  "description": "Genesis PBC Notify UI",
4
- "version": "15.81.0",
4
+ "version": "15.82.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -80,30 +80,30 @@
80
80
  "@commitlint/cli": "^19.2.1",
81
81
  "@commitlint/config-conventional": "^19.1.0",
82
82
  "@commitlint/format": "^19.0.3",
83
- "@genesislcap/design-system-configurator": "15.81.0",
84
- "@genesislcap/eslint-config": "15.81.0",
85
- "@genesislcap/eslint-stylelint-builder": "15.81.0",
86
- "@genesislcap/foundation-testing": "15.81.0",
87
- "@genesislcap/genx": "15.81.0",
88
- "@genesislcap/prettier-config": "15.81.0",
89
- "@genesislcap/stylelint-config": "15.81.0",
90
- "@genesislcap/vite-builder": "15.81.0",
91
- "@genesislcap/webpack-builder": "15.81.0",
83
+ "@genesislcap/design-system-configurator": "15.82.0",
84
+ "@genesislcap/eslint-config": "15.82.0",
85
+ "@genesislcap/eslint-stylelint-builder": "15.82.0",
86
+ "@genesislcap/foundation-testing": "15.82.0",
87
+ "@genesislcap/genx": "15.82.0",
88
+ "@genesislcap/prettier-config": "15.82.0",
89
+ "@genesislcap/stylelint-config": "15.82.0",
90
+ "@genesislcap/vite-builder": "15.82.0",
91
+ "@genesislcap/webpack-builder": "15.82.0",
92
92
  "dayjs": "^1.11.7"
93
93
  },
94
94
  "dependencies": {
95
- "@genesislcap/foundation-comms": "15.81.0",
96
- "@genesislcap/foundation-criteria": "15.81.0",
97
- "@genesislcap/foundation-entity-management": "15.81.0",
98
- "@genesislcap/foundation-forms": "15.81.0",
99
- "@genesislcap/foundation-layout": "15.81.0",
100
- "@genesislcap/foundation-logger": "15.81.0",
101
- "@genesislcap/foundation-notifications": "15.81.0",
102
- "@genesislcap/foundation-ui": "15.81.0",
103
- "@genesislcap/foundation-utils": "15.81.0",
104
- "@genesislcap/rapid-design-system": "15.81.0",
105
- "@genesislcap/rapid-grid-pro": "15.81.0",
106
- "@genesislcap/web-core": "15.81.0",
95
+ "@genesislcap/foundation-comms": "15.82.0",
96
+ "@genesislcap/foundation-criteria": "15.82.0",
97
+ "@genesislcap/foundation-entity-management": "15.82.0",
98
+ "@genesislcap/foundation-forms": "15.82.0",
99
+ "@genesislcap/foundation-layout": "15.82.0",
100
+ "@genesislcap/foundation-logger": "15.82.0",
101
+ "@genesislcap/foundation-notifications": "15.82.0",
102
+ "@genesislcap/foundation-ui": "15.82.0",
103
+ "@genesislcap/foundation-utils": "15.82.0",
104
+ "@genesislcap/rapid-design-system": "15.82.0",
105
+ "@genesislcap/rapid-grid-pro": "15.82.0",
106
+ "@genesislcap/web-core": "15.82.0",
107
107
  "lodash.debounce": "^4.0.8",
108
108
  "rxjs": "^7.5.4"
109
109
  },