@genesislcap/pbc-notify-ui 15.46.3 → 15.46.4

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.
@@ -5896,6 +5896,149 @@
5896
5896
  }
5897
5897
  ]
5898
5898
  },
5899
+ {
5900
+ "kind": "javascript-module",
5901
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
5902
+ "declarations": [
5903
+ {
5904
+ "kind": "variable",
5905
+ "name": "noItemsClass",
5906
+ "type": {
5907
+ "text": "string"
5908
+ },
5909
+ "default": "'no-items'",
5910
+ "description": "Class to use when there are no items"
5911
+ },
5912
+ {
5913
+ "kind": "variable",
5914
+ "name": "FoundationInboxCounterStyles",
5915
+ "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`"
5916
+ }
5917
+ ],
5918
+ "exports": [
5919
+ {
5920
+ "kind": "js",
5921
+ "name": "noItemsClass",
5922
+ "declaration": {
5923
+ "name": "noItemsClass",
5924
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
5925
+ }
5926
+ },
5927
+ {
5928
+ "kind": "js",
5929
+ "name": "FoundationInboxCounterStyles",
5930
+ "declaration": {
5931
+ "name": "FoundationInboxCounterStyles",
5932
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
5933
+ }
5934
+ }
5935
+ ]
5936
+ },
5937
+ {
5938
+ "kind": "javascript-module",
5939
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
5940
+ "declarations": [
5941
+ {
5942
+ "kind": "variable",
5943
+ "name": "FoundationInboxCounterTemplate",
5944
+ "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`"
5945
+ }
5946
+ ],
5947
+ "exports": [
5948
+ {
5949
+ "kind": "js",
5950
+ "name": "FoundationInboxCounterTemplate",
5951
+ "declaration": {
5952
+ "name": "FoundationInboxCounterTemplate",
5953
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
5954
+ }
5955
+ }
5956
+ ]
5957
+ },
5958
+ {
5959
+ "kind": "javascript-module",
5960
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
5961
+ "declarations": [
5962
+ {
5963
+ "kind": "class",
5964
+ "description": "",
5965
+ "name": "FoundationInboxCounter",
5966
+ "members": [
5967
+ {
5968
+ "kind": "field",
5969
+ "name": "value",
5970
+ "type": {
5971
+ "text": "number"
5972
+ },
5973
+ "default": "0"
5974
+ },
5975
+ {
5976
+ "kind": "field",
5977
+ "name": "connect",
5978
+ "type": {
5979
+ "text": "Connect"
5980
+ }
5981
+ },
5982
+ {
5983
+ "kind": "field",
5984
+ "name": "inboxService",
5985
+ "type": {
5986
+ "text": "FoundationInboxService"
5987
+ }
5988
+ },
5989
+ {
5990
+ "kind": "field",
5991
+ "name": "connectionSub",
5992
+ "type": {
5993
+ "text": "Subscription"
5994
+ },
5995
+ "privacy": "private"
5996
+ },
5997
+ {
5998
+ "kind": "method",
5999
+ "name": "subscribeToAlerts",
6000
+ "privacy": "private",
6001
+ "return": {
6002
+ "type": {
6003
+ "text": "Promise<void>"
6004
+ }
6005
+ },
6006
+ "description": "Subscribes to alerts from the inbox service"
6007
+ },
6008
+ {
6009
+ "kind": "field",
6010
+ "name": "subscriptionHandler",
6011
+ "privacy": "private",
6012
+ "description": "Handles subscription updates from the inbox service"
6013
+ }
6014
+ ],
6015
+ "superclass": {
6016
+ "name": "GenesisElement",
6017
+ "package": "@genesislcap/web-core"
6018
+ },
6019
+ "tagName": "foundation-inbox-counter",
6020
+ "customElement": true
6021
+ }
6022
+ ],
6023
+ "exports": [
6024
+ {
6025
+ "kind": "js",
6026
+ "name": "FoundationInboxCounter",
6027
+ "declaration": {
6028
+ "name": "FoundationInboxCounter",
6029
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6030
+ }
6031
+ },
6032
+ {
6033
+ "kind": "custom-element-definition",
6034
+ "name": "foundation-inbox-counter",
6035
+ "declaration": {
6036
+ "name": "FoundationInboxCounter",
6037
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6038
+ }
6039
+ }
6040
+ ]
6041
+ },
5899
6042
  {
5900
6043
  "kind": "javascript-module",
5901
6044
  "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
@@ -7228,149 +7371,6 @@
7228
7371
  }
7229
7372
  ]
7230
7373
  },
7231
- {
7232
- "kind": "javascript-module",
7233
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
7234
- "declarations": [
7235
- {
7236
- "kind": "variable",
7237
- "name": "noItemsClass",
7238
- "type": {
7239
- "text": "string"
7240
- },
7241
- "default": "'no-items'",
7242
- "description": "Class to use when there are no items"
7243
- },
7244
- {
7245
- "kind": "variable",
7246
- "name": "FoundationInboxCounterStyles",
7247
- "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`"
7248
- }
7249
- ],
7250
- "exports": [
7251
- {
7252
- "kind": "js",
7253
- "name": "noItemsClass",
7254
- "declaration": {
7255
- "name": "noItemsClass",
7256
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7257
- }
7258
- },
7259
- {
7260
- "kind": "js",
7261
- "name": "FoundationInboxCounterStyles",
7262
- "declaration": {
7263
- "name": "FoundationInboxCounterStyles",
7264
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
7265
- }
7266
- }
7267
- ]
7268
- },
7269
- {
7270
- "kind": "javascript-module",
7271
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
7272
- "declarations": [
7273
- {
7274
- "kind": "variable",
7275
- "name": "FoundationInboxCounterTemplate",
7276
- "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`"
7277
- }
7278
- ],
7279
- "exports": [
7280
- {
7281
- "kind": "js",
7282
- "name": "FoundationInboxCounterTemplate",
7283
- "declaration": {
7284
- "name": "FoundationInboxCounterTemplate",
7285
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
7286
- }
7287
- }
7288
- ]
7289
- },
7290
- {
7291
- "kind": "javascript-module",
7292
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
7293
- "declarations": [
7294
- {
7295
- "kind": "class",
7296
- "description": "",
7297
- "name": "FoundationInboxCounter",
7298
- "members": [
7299
- {
7300
- "kind": "field",
7301
- "name": "value",
7302
- "type": {
7303
- "text": "number"
7304
- },
7305
- "default": "0"
7306
- },
7307
- {
7308
- "kind": "field",
7309
- "name": "connect",
7310
- "type": {
7311
- "text": "Connect"
7312
- }
7313
- },
7314
- {
7315
- "kind": "field",
7316
- "name": "inboxService",
7317
- "type": {
7318
- "text": "FoundationInboxService"
7319
- }
7320
- },
7321
- {
7322
- "kind": "field",
7323
- "name": "connectionSub",
7324
- "type": {
7325
- "text": "Subscription"
7326
- },
7327
- "privacy": "private"
7328
- },
7329
- {
7330
- "kind": "method",
7331
- "name": "subscribeToAlerts",
7332
- "privacy": "private",
7333
- "return": {
7334
- "type": {
7335
- "text": "Promise<void>"
7336
- }
7337
- },
7338
- "description": "Subscribes to alerts from the inbox service"
7339
- },
7340
- {
7341
- "kind": "field",
7342
- "name": "subscriptionHandler",
7343
- "privacy": "private",
7344
- "description": "Handles subscription updates from the inbox service"
7345
- }
7346
- ],
7347
- "superclass": {
7348
- "name": "GenesisElement",
7349
- "package": "@genesislcap/web-core"
7350
- },
7351
- "tagName": "foundation-inbox-counter",
7352
- "customElement": true
7353
- }
7354
- ],
7355
- "exports": [
7356
- {
7357
- "kind": "js",
7358
- "name": "FoundationInboxCounter",
7359
- "declaration": {
7360
- "name": "FoundationInboxCounter",
7361
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
7362
- }
7363
- },
7364
- {
7365
- "kind": "custom-element-definition",
7366
- "name": "foundation-inbox-counter",
7367
- "declaration": {
7368
- "name": "FoundationInboxCounter",
7369
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
7370
- }
7371
- }
7372
- ]
7373
- },
7374
7374
  {
7375
7375
  "kind": "javascript-module",
7376
7376
  "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 FoundationInboxFlyout: React.ForwardRefExoticComponent<
109
+ export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
110
110
  React.PropsWithChildren<
111
- Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
111
+ Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
112
112
  HTMLWCProps & {
113
113
  }
114
- > & React.RefAttributes<FoundationInboxFlyoutWC>
114
+ > & React.RefAttributes<FoundationInboxCounterWC>
115
115
  >;
116
- export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
116
+ export type FoundationInboxCounterRef = FoundationInboxCounterWC;
117
117
 
118
- export declare const FoundationInboxCounter: React.ForwardRefExoticComponent<
118
+ export declare const FoundationInboxFlyout: React.ForwardRefExoticComponent<
119
119
  React.PropsWithChildren<
120
- Omit<PublicOf<FoundationInboxCounterWC>, 'children' | 'style'> &
120
+ Omit<PublicOf<FoundationInboxFlyoutWC>, 'children' | 'style'> &
121
121
  HTMLWCProps & {
122
122
  }
123
- > & React.RefAttributes<FoundationInboxCounterWC>
123
+ > & React.RefAttributes<FoundationInboxFlyoutWC>
124
124
  >;
125
- export type FoundationInboxCounterRef = FoundationInboxCounterWC;
125
+ export type FoundationInboxFlyoutRef = FoundationInboxFlyoutWC;
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 FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
70
+ const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
71
71
  const { children, ...rest } = props;
72
- return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
72
+ return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
73
73
  });
74
74
 
75
- const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
75
+ const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
76
76
  const { children, ...rest } = props;
77
- return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
77
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...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
- FoundationInboxFlyout,
320
319
  FoundationInboxCounter,
320
+ FoundationInboxFlyout,
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 FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
68
+ export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
69
69
  const { children, ...rest } = props;
70
- return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...rest, ref }, children);
70
+ return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
71
71
  });
72
72
 
73
- export const FoundationInboxCounter = React.forwardRef(function FoundationInboxCounter(props, ref) {
73
+ export const FoundationInboxFlyout = React.forwardRef(function FoundationInboxFlyout(props, ref) {
74
74
  const { children, ...rest } = props;
75
- return React.createElement(customElements.getName(FoundationInboxCounterWC) ?? 'foundation-inbox-counter', { ...rest, ref }, children);
75
+ return React.createElement(customElements.getName(FoundationInboxFlyoutWC) ?? 'foundation-inbox-flyout', { ...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.46.3",
4
+ "version": "15.46.4",
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.46.3",
84
- "@genesislcap/eslint-config": "15.46.3",
85
- "@genesislcap/eslint-stylelint-builder": "15.46.3",
86
- "@genesislcap/foundation-testing": "15.46.3",
87
- "@genesislcap/genx": "15.46.3",
88
- "@genesislcap/prettier-config": "15.46.3",
89
- "@genesislcap/stylelint-config": "15.46.3",
90
- "@genesislcap/vite-builder": "15.46.3",
91
- "@genesislcap/webpack-builder": "15.46.3",
83
+ "@genesislcap/design-system-configurator": "15.46.4",
84
+ "@genesislcap/eslint-config": "15.46.4",
85
+ "@genesislcap/eslint-stylelint-builder": "15.46.4",
86
+ "@genesislcap/foundation-testing": "15.46.4",
87
+ "@genesislcap/genx": "15.46.4",
88
+ "@genesislcap/prettier-config": "15.46.4",
89
+ "@genesislcap/stylelint-config": "15.46.4",
90
+ "@genesislcap/vite-builder": "15.46.4",
91
+ "@genesislcap/webpack-builder": "15.46.4",
92
92
  "dayjs": "^1.11.7"
93
93
  },
94
94
  "dependencies": {
95
- "@genesislcap/foundation-comms": "15.46.3",
96
- "@genesislcap/foundation-criteria": "15.46.3",
97
- "@genesislcap/foundation-entity-management": "15.46.3",
98
- "@genesislcap/foundation-forms": "15.46.3",
99
- "@genesislcap/foundation-layout": "15.46.3",
100
- "@genesislcap/foundation-logger": "15.46.3",
101
- "@genesislcap/foundation-notifications": "15.46.3",
102
- "@genesislcap/foundation-ui": "15.46.3",
103
- "@genesislcap/foundation-utils": "15.46.3",
104
- "@genesislcap/rapid-design-system": "15.46.3",
105
- "@genesislcap/rapid-grid-pro": "15.46.3",
106
- "@genesislcap/web-core": "15.46.3",
95
+ "@genesislcap/foundation-comms": "15.46.4",
96
+ "@genesislcap/foundation-criteria": "15.46.4",
97
+ "@genesislcap/foundation-entity-management": "15.46.4",
98
+ "@genesislcap/foundation-forms": "15.46.4",
99
+ "@genesislcap/foundation-layout": "15.46.4",
100
+ "@genesislcap/foundation-logger": "15.46.4",
101
+ "@genesislcap/foundation-notifications": "15.46.4",
102
+ "@genesislcap/foundation-ui": "15.46.4",
103
+ "@genesislcap/foundation-utils": "15.46.4",
104
+ "@genesislcap/rapid-design-system": "15.46.4",
105
+ "@genesislcap/rapid-grid-pro": "15.46.4",
106
+ "@genesislcap/web-core": "15.46.4",
107
107
  "lodash.debounce": "^4.0.8",
108
108
  "rxjs": "^7.5.4"
109
109
  },