@genesislcap/pbc-notify-ui 15.19.1 → 15.19.2-FUI-2596.1

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.
@@ -4918,6 +4918,149 @@
4918
4918
  }
4919
4919
  ]
4920
4920
  },
4921
+ {
4922
+ "kind": "javascript-module",
4923
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
4924
+ "declarations": [
4925
+ {
4926
+ "kind": "variable",
4927
+ "name": "noItemsClass",
4928
+ "type": {
4929
+ "text": "string"
4930
+ },
4931
+ "default": "'no-items'",
4932
+ "description": "Class to use when there are no items"
4933
+ },
4934
+ {
4935
+ "kind": "variable",
4936
+ "name": "FoundationInboxCounterStyles",
4937
+ "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`"
4938
+ }
4939
+ ],
4940
+ "exports": [
4941
+ {
4942
+ "kind": "js",
4943
+ "name": "noItemsClass",
4944
+ "declaration": {
4945
+ "name": "noItemsClass",
4946
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
4947
+ }
4948
+ },
4949
+ {
4950
+ "kind": "js",
4951
+ "name": "FoundationInboxCounterStyles",
4952
+ "declaration": {
4953
+ "name": "FoundationInboxCounterStyles",
4954
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
4955
+ }
4956
+ }
4957
+ ]
4958
+ },
4959
+ {
4960
+ "kind": "javascript-module",
4961
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
4962
+ "declarations": [
4963
+ {
4964
+ "kind": "variable",
4965
+ "name": "FoundationInboxCounterTemplate",
4966
+ "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`"
4967
+ }
4968
+ ],
4969
+ "exports": [
4970
+ {
4971
+ "kind": "js",
4972
+ "name": "FoundationInboxCounterTemplate",
4973
+ "declaration": {
4974
+ "name": "FoundationInboxCounterTemplate",
4975
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
4976
+ }
4977
+ }
4978
+ ]
4979
+ },
4980
+ {
4981
+ "kind": "javascript-module",
4982
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
4983
+ "declarations": [
4984
+ {
4985
+ "kind": "class",
4986
+ "description": "",
4987
+ "name": "FoundationInboxCounter",
4988
+ "members": [
4989
+ {
4990
+ "kind": "field",
4991
+ "name": "value",
4992
+ "type": {
4993
+ "text": "number"
4994
+ },
4995
+ "default": "0"
4996
+ },
4997
+ {
4998
+ "kind": "field",
4999
+ "name": "connect",
5000
+ "type": {
5001
+ "text": "Connect"
5002
+ }
5003
+ },
5004
+ {
5005
+ "kind": "field",
5006
+ "name": "inboxService",
5007
+ "type": {
5008
+ "text": "FoundationInboxService"
5009
+ }
5010
+ },
5011
+ {
5012
+ "kind": "field",
5013
+ "name": "connectionSub",
5014
+ "type": {
5015
+ "text": "Subscription"
5016
+ },
5017
+ "privacy": "private"
5018
+ },
5019
+ {
5020
+ "kind": "method",
5021
+ "name": "subscribeToAlerts",
5022
+ "privacy": "private",
5023
+ "return": {
5024
+ "type": {
5025
+ "text": "Promise<void>"
5026
+ }
5027
+ },
5028
+ "description": "Subscribes to alerts from the inbox service"
5029
+ },
5030
+ {
5031
+ "kind": "field",
5032
+ "name": "subscriptionHandler",
5033
+ "privacy": "private",
5034
+ "description": "Handles subscription updates from the inbox service"
5035
+ }
5036
+ ],
5037
+ "superclass": {
5038
+ "name": "GenesisElement",
5039
+ "package": "@genesislcap/web-core"
5040
+ },
5041
+ "tagName": "foundation-inbox-counter",
5042
+ "customElement": true
5043
+ }
5044
+ ],
5045
+ "exports": [
5046
+ {
5047
+ "kind": "js",
5048
+ "name": "FoundationInboxCounter",
5049
+ "declaration": {
5050
+ "name": "FoundationInboxCounter",
5051
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
5052
+ }
5053
+ },
5054
+ {
5055
+ "kind": "custom-element-definition",
5056
+ "name": "foundation-inbox-counter",
5057
+ "declaration": {
5058
+ "name": "FoundationInboxCounter",
5059
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
5060
+ }
5061
+ }
5062
+ ]
5063
+ },
4921
5064
  {
4922
5065
  "kind": "javascript-module",
4923
5066
  "path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
@@ -6030,149 +6173,6 @@
6030
6173
  }
6031
6174
  ]
6032
6175
  },
6033
- {
6034
- "kind": "javascript-module",
6035
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
6036
- "declarations": [
6037
- {
6038
- "kind": "variable",
6039
- "name": "noItemsClass",
6040
- "type": {
6041
- "text": "string"
6042
- },
6043
- "default": "'no-items'",
6044
- "description": "Class to use when there are no items"
6045
- },
6046
- {
6047
- "kind": "variable",
6048
- "name": "FoundationInboxCounterStyles",
6049
- "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`"
6050
- }
6051
- ],
6052
- "exports": [
6053
- {
6054
- "kind": "js",
6055
- "name": "noItemsClass",
6056
- "declaration": {
6057
- "name": "noItemsClass",
6058
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
6059
- }
6060
- },
6061
- {
6062
- "kind": "js",
6063
- "name": "FoundationInboxCounterStyles",
6064
- "declaration": {
6065
- "name": "FoundationInboxCounterStyles",
6066
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
6067
- }
6068
- }
6069
- ]
6070
- },
6071
- {
6072
- "kind": "javascript-module",
6073
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
6074
- "declarations": [
6075
- {
6076
- "kind": "variable",
6077
- "name": "FoundationInboxCounterTemplate",
6078
- "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`"
6079
- }
6080
- ],
6081
- "exports": [
6082
- {
6083
- "kind": "js",
6084
- "name": "FoundationInboxCounterTemplate",
6085
- "declaration": {
6086
- "name": "FoundationInboxCounterTemplate",
6087
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
6088
- }
6089
- }
6090
- ]
6091
- },
6092
- {
6093
- "kind": "javascript-module",
6094
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
6095
- "declarations": [
6096
- {
6097
- "kind": "class",
6098
- "description": "",
6099
- "name": "FoundationInboxCounter",
6100
- "members": [
6101
- {
6102
- "kind": "field",
6103
- "name": "value",
6104
- "type": {
6105
- "text": "number"
6106
- },
6107
- "default": "0"
6108
- },
6109
- {
6110
- "kind": "field",
6111
- "name": "connect",
6112
- "type": {
6113
- "text": "Connect"
6114
- }
6115
- },
6116
- {
6117
- "kind": "field",
6118
- "name": "inboxService",
6119
- "type": {
6120
- "text": "FoundationInboxService"
6121
- }
6122
- },
6123
- {
6124
- "kind": "field",
6125
- "name": "connectionSub",
6126
- "type": {
6127
- "text": "Subscription"
6128
- },
6129
- "privacy": "private"
6130
- },
6131
- {
6132
- "kind": "method",
6133
- "name": "subscribeToAlerts",
6134
- "privacy": "private",
6135
- "return": {
6136
- "type": {
6137
- "text": "Promise<void>"
6138
- }
6139
- },
6140
- "description": "Subscribes to alerts from the inbox service"
6141
- },
6142
- {
6143
- "kind": "field",
6144
- "name": "subscriptionHandler",
6145
- "privacy": "private",
6146
- "description": "Handles subscription updates from the inbox service"
6147
- }
6148
- ],
6149
- "superclass": {
6150
- "name": "GenesisElement",
6151
- "package": "@genesislcap/web-core"
6152
- },
6153
- "tagName": "foundation-inbox-counter",
6154
- "customElement": true
6155
- }
6156
- ],
6157
- "exports": [
6158
- {
6159
- "kind": "js",
6160
- "name": "FoundationInboxCounter",
6161
- "declaration": {
6162
- "name": "FoundationInboxCounter",
6163
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6164
- }
6165
- },
6166
- {
6167
- "kind": "custom-element-definition",
6168
- "name": "foundation-inbox-counter",
6169
- "declaration": {
6170
- "name": "FoundationInboxCounter",
6171
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
6172
- }
6173
- }
6174
- ]
6175
- },
6176
6176
  {
6177
6177
  "kind": "javascript-module",
6178
6178
  "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.19.1",
4
+ "version": "15.19.2-FUI-2596.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -81,30 +81,30 @@
81
81
  "@commitlint/cli": "^19.2.1",
82
82
  "@commitlint/config-conventional": "^19.1.0",
83
83
  "@commitlint/format": "^19.0.3",
84
- "@genesislcap/design-system-configurator": "15.19.1",
85
- "@genesislcap/eslint-config": "15.19.1",
86
- "@genesislcap/eslint-stylelint-builder": "15.19.1",
87
- "@genesislcap/foundation-testing": "15.19.1",
88
- "@genesislcap/genx": "15.19.1",
89
- "@genesislcap/prettier-config": "15.19.1",
90
- "@genesislcap/stylelint-config": "15.19.1",
91
- "@genesislcap/vite-builder": "15.19.1",
92
- "@genesislcap/webpack-builder": "15.19.1",
84
+ "@genesislcap/design-system-configurator": "15.19.2-FUI-2596.1",
85
+ "@genesislcap/eslint-config": "15.19.2-FUI-2596.1",
86
+ "@genesislcap/eslint-stylelint-builder": "15.19.2-FUI-2596.1",
87
+ "@genesislcap/foundation-testing": "15.19.2-FUI-2596.1",
88
+ "@genesislcap/genx": "15.19.2-FUI-2596.1",
89
+ "@genesislcap/prettier-config": "15.19.2-FUI-2596.1",
90
+ "@genesislcap/stylelint-config": "15.19.2-FUI-2596.1",
91
+ "@genesislcap/vite-builder": "15.19.2-FUI-2596.1",
92
+ "@genesislcap/webpack-builder": "15.19.2-FUI-2596.1",
93
93
  "dayjs": "^1.11.7"
94
94
  },
95
95
  "dependencies": {
96
- "@genesislcap/foundation-comms": "15.19.1",
97
- "@genesislcap/foundation-criteria": "15.19.1",
98
- "@genesislcap/foundation-entity-management": "15.19.1",
99
- "@genesislcap/foundation-forms": "15.19.1",
100
- "@genesislcap/foundation-layout": "15.19.1",
101
- "@genesislcap/foundation-logger": "15.19.1",
102
- "@genesislcap/foundation-notifications": "15.19.1",
103
- "@genesislcap/foundation-ui": "15.19.1",
104
- "@genesislcap/foundation-utils": "15.19.1",
105
- "@genesislcap/rapid-design-system": "15.19.1",
106
- "@genesislcap/rapid-grid-pro": "15.19.1",
107
- "@genesislcap/web-core": "15.19.1",
96
+ "@genesislcap/foundation-comms": "15.19.2-FUI-2596.1",
97
+ "@genesislcap/foundation-criteria": "15.19.2-FUI-2596.1",
98
+ "@genesislcap/foundation-entity-management": "15.19.2-FUI-2596.1",
99
+ "@genesislcap/foundation-forms": "15.19.2-FUI-2596.1",
100
+ "@genesislcap/foundation-layout": "15.19.2-FUI-2596.1",
101
+ "@genesislcap/foundation-logger": "15.19.2-FUI-2596.1",
102
+ "@genesislcap/foundation-notifications": "15.19.2-FUI-2596.1",
103
+ "@genesislcap/foundation-ui": "15.19.2-FUI-2596.1",
104
+ "@genesislcap/foundation-utils": "15.19.2-FUI-2596.1",
105
+ "@genesislcap/rapid-design-system": "15.19.2-FUI-2596.1",
106
+ "@genesislcap/rapid-grid-pro": "15.19.2-FUI-2596.1",
107
+ "@genesislcap/web-core": "15.19.2-FUI-2596.1",
108
108
  "lodash.debounce": "^4.0.8",
109
109
  "rxjs": "^7.5.4"
110
110
  },