@genesislcap/foundation-header 15.15.2 → 15.15.3-alpha-6d9a143.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.
@@ -188,228 +188,6 @@
188
188
  }
189
189
  ]
190
190
  },
191
- {
192
- "kind": "javascript-module",
193
- "path": "src/components/control-panel.ts",
194
- "declarations": [
195
- {
196
- "kind": "class",
197
- "description": "control-panel",
198
- "name": "ControlPanel",
199
- "members": [
200
- {
201
- "kind": "field",
202
- "name": "handleKeyDown",
203
- "privacy": "private"
204
- },
205
- {
206
- "kind": "field",
207
- "name": "handleKeyDownBound",
208
- "privacy": "private"
209
- },
210
- {
211
- "kind": "method",
212
- "name": "toggleSelection",
213
- "privacy": "private",
214
- "return": {
215
- "type": {
216
- "text": "SelectableKey[]"
217
- }
218
- },
219
- "parameters": [
220
- {
221
- "name": "key",
222
- "type": {
223
- "text": "string"
224
- }
225
- },
226
- {
227
- "name": "keys",
228
- "type": {
229
- "text": "SelectableKey[]"
230
- }
231
- }
232
- ]
233
- },
234
- {
235
- "kind": "method",
236
- "name": "deleteKeysFromSessionStorage",
237
- "privacy": "private",
238
- "parameters": [
239
- {
240
- "name": "storageKey",
241
- "type": {
242
- "text": "string"
243
- }
244
- },
245
- {
246
- "name": "keysToDelete",
247
- "type": {
248
- "text": "string[]"
249
- }
250
- }
251
- ]
252
- },
253
- {
254
- "kind": "method",
255
- "name": "deleteKeysFromLocalStorage",
256
- "privacy": "private",
257
- "parameters": [
258
- {
259
- "name": "storageKey",
260
- "type": {
261
- "text": "string"
262
- }
263
- },
264
- {
265
- "name": "keys",
266
- "type": {
267
- "text": "SelectableKey[]"
268
- }
269
- }
270
- ]
271
- },
272
- {
273
- "kind": "method",
274
- "name": "getKeysForSessionStorageItem",
275
- "privacy": "private",
276
- "return": {
277
- "type": {
278
- "text": "SelectableKey[]"
279
- }
280
- },
281
- "parameters": [
282
- {
283
- "name": "storageKey",
284
- "type": {
285
- "text": "string"
286
- }
287
- }
288
- ]
289
- },
290
- {
291
- "kind": "method",
292
- "name": "getKeysForStorageItem",
293
- "privacy": "private",
294
- "return": {
295
- "type": {
296
- "text": "SelectableKey[]"
297
- }
298
- },
299
- "parameters": [
300
- {
301
- "name": "storageKey",
302
- "type": {
303
- "text": "string"
304
- }
305
- }
306
- ]
307
- },
308
- {
309
- "kind": "method",
310
- "name": "getKeysForKVStorage",
311
- "privacy": "private",
312
- "return": {
313
- "type": {
314
- "text": "Promise<SelectableKey[]>"
315
- }
316
- }
317
- },
318
- {
319
- "kind": "method",
320
- "name": "deleteKeysFromKVStorage",
321
- "privacy": "private",
322
- "return": {
323
- "type": {
324
- "text": "Promise<void>"
325
- }
326
- },
327
- "parameters": [
328
- {
329
- "name": "keysToDelete",
330
- "type": {
331
- "text": "string[]"
332
- }
333
- }
334
- ]
335
- }
336
- ],
337
- "superclass": {
338
- "name": "GenesisElement",
339
- "package": "@genesislcap/web-core"
340
- },
341
- "tagName": "control-panel",
342
- "customElement": true
343
- }
344
- ],
345
- "exports": [
346
- {
347
- "kind": "custom-element-definition",
348
- "name": "control-panel",
349
- "declaration": {
350
- "name": "ControlPanel",
351
- "module": "src/components/control-panel.ts"
352
- }
353
- }
354
- ]
355
- },
356
- {
357
- "kind": "javascript-module",
358
- "path": "src/components/index.ts",
359
- "declarations": [],
360
- "exports": [
361
- {
362
- "kind": "js",
363
- "name": "*",
364
- "declaration": {
365
- "name": "*",
366
- "package": "./control-panel"
367
- }
368
- }
369
- ]
370
- },
371
- {
372
- "kind": "javascript-module",
373
- "path": "src/components/rapid-components.ts",
374
- "declarations": [
375
- {
376
- "kind": "function",
377
- "name": "registerCommonRapidComponents",
378
- "privacy": "public"
379
- }
380
- ],
381
- "exports": [
382
- {
383
- "kind": "js",
384
- "name": "registerCommonRapidComponents",
385
- "declaration": {
386
- "name": "registerCommonRapidComponents",
387
- "module": "src/components/rapid-components.ts"
388
- }
389
- }
390
- ]
391
- },
392
- {
393
- "kind": "javascript-module",
394
- "path": "src/components/zero-components.ts",
395
- "declarations": [
396
- {
397
- "kind": "function",
398
- "name": "registerCommonZeroComponents",
399
- "privacy": "public"
400
- }
401
- ],
402
- "exports": [
403
- {
404
- "kind": "js",
405
- "name": "registerCommonZeroComponents",
406
- "declaration": {
407
- "name": "registerCommonZeroComponents",
408
- "module": "src/components/zero-components.ts"
409
- }
410
- }
411
- ]
412
- },
413
191
  {
414
192
  "kind": "javascript-module",
415
193
  "path": "src/main/feature-flags-nav.ts",
@@ -4252,6 +4030,255 @@
4252
4030
  }
4253
4031
  ]
4254
4032
  },
4033
+ {
4034
+ "kind": "javascript-module",
4035
+ "path": "src/components/control-panel.ts",
4036
+ "declarations": [
4037
+ {
4038
+ "kind": "class",
4039
+ "description": "control-panel",
4040
+ "name": "ControlPanel",
4041
+ "members": [
4042
+ {
4043
+ "kind": "field",
4044
+ "name": "handleKeyDown",
4045
+ "privacy": "private"
4046
+ },
4047
+ {
4048
+ "kind": "field",
4049
+ "name": "handleKeyDownBound",
4050
+ "privacy": "private"
4051
+ },
4052
+ {
4053
+ "kind": "method",
4054
+ "name": "toggleSelection",
4055
+ "privacy": "private",
4056
+ "return": {
4057
+ "type": {
4058
+ "text": "SelectableKey[]"
4059
+ }
4060
+ },
4061
+ "parameters": [
4062
+ {
4063
+ "name": "key",
4064
+ "type": {
4065
+ "text": "string"
4066
+ }
4067
+ },
4068
+ {
4069
+ "name": "keys",
4070
+ "type": {
4071
+ "text": "SelectableKey[]"
4072
+ }
4073
+ }
4074
+ ]
4075
+ },
4076
+ {
4077
+ "kind": "method",
4078
+ "name": "deleteKeysFromSessionStorage",
4079
+ "privacy": "private",
4080
+ "parameters": [
4081
+ {
4082
+ "name": "storageKey",
4083
+ "type": {
4084
+ "text": "string"
4085
+ }
4086
+ },
4087
+ {
4088
+ "name": "keysToDelete",
4089
+ "type": {
4090
+ "text": "string[]"
4091
+ }
4092
+ }
4093
+ ]
4094
+ },
4095
+ {
4096
+ "kind": "method",
4097
+ "name": "deleteKeysFromLocalStorage",
4098
+ "privacy": "private",
4099
+ "parameters": [
4100
+ {
4101
+ "name": "storageKey",
4102
+ "type": {
4103
+ "text": "string"
4104
+ }
4105
+ },
4106
+ {
4107
+ "name": "keys",
4108
+ "type": {
4109
+ "text": "SelectableKey[]"
4110
+ }
4111
+ }
4112
+ ]
4113
+ },
4114
+ {
4115
+ "kind": "method",
4116
+ "name": "getKeysForSessionStorageItem",
4117
+ "privacy": "private",
4118
+ "return": {
4119
+ "type": {
4120
+ "text": "SelectableKey[]"
4121
+ }
4122
+ },
4123
+ "parameters": [
4124
+ {
4125
+ "name": "storageKey",
4126
+ "type": {
4127
+ "text": "string"
4128
+ }
4129
+ }
4130
+ ]
4131
+ },
4132
+ {
4133
+ "kind": "method",
4134
+ "name": "getKeysForStorageItem",
4135
+ "privacy": "private",
4136
+ "return": {
4137
+ "type": {
4138
+ "text": "SelectableKey[]"
4139
+ }
4140
+ },
4141
+ "parameters": [
4142
+ {
4143
+ "name": "storageKey",
4144
+ "type": {
4145
+ "text": "string"
4146
+ }
4147
+ }
4148
+ ]
4149
+ },
4150
+ {
4151
+ "kind": "method",
4152
+ "name": "getKeysForKVStorage",
4153
+ "privacy": "private",
4154
+ "return": {
4155
+ "type": {
4156
+ "text": "Promise<SelectableKey[]>"
4157
+ }
4158
+ }
4159
+ },
4160
+ {
4161
+ "kind": "method",
4162
+ "name": "deleteKeysFromKVStorage",
4163
+ "privacy": "private",
4164
+ "return": {
4165
+ "type": {
4166
+ "text": "Promise<void>"
4167
+ }
4168
+ },
4169
+ "parameters": [
4170
+ {
4171
+ "name": "keysToDelete",
4172
+ "type": {
4173
+ "text": "string[]"
4174
+ }
4175
+ }
4176
+ ]
4177
+ }
4178
+ ],
4179
+ "superclass": {
4180
+ "name": "GenesisElement",
4181
+ "package": "@genesislcap/web-core"
4182
+ },
4183
+ "tagName": "control-panel",
4184
+ "customElement": true
4185
+ }
4186
+ ],
4187
+ "exports": [
4188
+ {
4189
+ "kind": "custom-element-definition",
4190
+ "name": "control-panel",
4191
+ "declaration": {
4192
+ "name": "ControlPanel",
4193
+ "module": "src/components/control-panel.ts"
4194
+ }
4195
+ }
4196
+ ]
4197
+ },
4198
+ {
4199
+ "kind": "javascript-module",
4200
+ "path": "src/components/index.ts",
4201
+ "declarations": [],
4202
+ "exports": [
4203
+ {
4204
+ "kind": "js",
4205
+ "name": "*",
4206
+ "declaration": {
4207
+ "name": "*",
4208
+ "package": "./control-panel"
4209
+ }
4210
+ }
4211
+ ]
4212
+ },
4213
+ {
4214
+ "kind": "javascript-module",
4215
+ "path": "src/components/rapid-components.ts",
4216
+ "declarations": [
4217
+ {
4218
+ "kind": "function",
4219
+ "name": "registerCommonRapidComponents",
4220
+ "privacy": "public"
4221
+ }
4222
+ ],
4223
+ "exports": [
4224
+ {
4225
+ "kind": "js",
4226
+ "name": "registerCommonRapidComponents",
4227
+ "declaration": {
4228
+ "name": "registerCommonRapidComponents",
4229
+ "module": "src/components/rapid-components.ts"
4230
+ }
4231
+ }
4232
+ ]
4233
+ },
4234
+ {
4235
+ "kind": "javascript-module",
4236
+ "path": "src/components/zero-components.ts",
4237
+ "declarations": [
4238
+ {
4239
+ "kind": "function",
4240
+ "name": "registerCommonZeroComponents",
4241
+ "privacy": "public"
4242
+ }
4243
+ ],
4244
+ "exports": [
4245
+ {
4246
+ "kind": "js",
4247
+ "name": "registerCommonZeroComponents",
4248
+ "declaration": {
4249
+ "name": "registerCommonZeroComponents",
4250
+ "module": "src/components/zero-components.ts"
4251
+ }
4252
+ }
4253
+ ]
4254
+ },
4255
+ {
4256
+ "kind": "javascript-module",
4257
+ "path": "src/tags/index.ts",
4258
+ "declarations": [],
4259
+ "exports": [
4260
+ {
4261
+ "kind": "js",
4262
+ "name": "*",
4263
+ "declaration": {
4264
+ "name": "*",
4265
+ "package": "./tags"
4266
+ }
4267
+ }
4268
+ ]
4269
+ },
4270
+ {
4271
+ "kind": "javascript-module",
4272
+ "path": "src/tags/tags.ts",
4273
+ "declarations": [],
4274
+ "exports": []
4275
+ },
4276
+ {
4277
+ "kind": "javascript-module",
4278
+ "path": "src/templates/rapid.template.ts",
4279
+ "declarations": [],
4280
+ "exports": []
4281
+ },
4255
4282
  {
4256
4283
  "kind": "javascript-module",
4257
4284
  "path": "src/styles/colors.ts",
@@ -4413,33 +4440,6 @@
4413
4440
  }
4414
4441
  ]
4415
4442
  },
4416
- {
4417
- "kind": "javascript-module",
4418
- "path": "src/templates/rapid.template.ts",
4419
- "declarations": [],
4420
- "exports": []
4421
- },
4422
- {
4423
- "kind": "javascript-module",
4424
- "path": "src/tags/index.ts",
4425
- "declarations": [],
4426
- "exports": [
4427
- {
4428
- "kind": "js",
4429
- "name": "*",
4430
- "declaration": {
4431
- "name": "*",
4432
- "package": "./tags"
4433
- }
4434
- }
4435
- ]
4436
- },
4437
- {
4438
- "kind": "javascript-module",
4439
- "path": "src/tags/tags.ts",
4440
- "declarations": [],
4441
- "exports": []
4442
- },
4443
4443
  {
4444
4444
  "kind": "javascript-module",
4445
4445
  "path": "src/utils/index.ts",
@@ -37,15 +37,6 @@ interface HTMLWCProps extends React.AriaAttributes {
37
37
  onInput?(e: Event): void;
38
38
  }
39
39
 
40
- export declare const ControlPanel: React.ForwardRefExoticComponent<
41
- React.PropsWithChildren<
42
- Omit<PublicOf<ControlPanelWC>, 'children' | 'style'> &
43
- HTMLWCProps & {
44
- }
45
- > & React.RefAttributes<ControlPanelWC>
46
- >;
47
- export type ControlPanelRef = ControlPanelWC;
48
-
49
40
  export declare const Navigation: React.ForwardRefExoticComponent<
50
41
  React.PropsWithChildren<
51
42
  Omit<PublicOf<NavigationWC>, 'children' | 'style'> &
@@ -94,4 +85,13 @@ export declare const RapidHeader: React.ForwardRefExoticComponent<
94
85
  >;
95
86
  export type RapidHeaderRef = RapidHeaderWC;
96
87
 
88
+ export declare const ControlPanel: React.ForwardRefExoticComponent<
89
+ React.PropsWithChildren<
90
+ Omit<PublicOf<ControlPanelWC>, 'children' | 'style'> &
91
+ HTMLWCProps & {
92
+ }
93
+ > & React.RefAttributes<ControlPanelWC>
94
+ >;
95
+ export type ControlPanelRef = ControlPanelWC;
96
+
97
97
  export {};
package/dist/react.cjs CHANGED
@@ -18,11 +18,6 @@ function _mergeRefs(...refs) {
18
18
  };
19
19
  }
20
20
 
21
- const ControlPanel = React.forwardRef(function ControlPanel(props, ref) {
22
- const { children, ...rest } = props;
23
- return React.createElement(customElements.getName(ControlPanelWC) ?? 'control-panel', { ...rest, ref }, children);
24
- });
25
-
26
21
  const Navigation = React.forwardRef(function Navigation(props, ref) {
27
22
  const { onLuminanceIconClicked, onMiscIconClicked, onNotificationIconClicked, onLanguageChanged, onFeatureFlagsChanged, onLogoutClicked, onNavButtonClicked, children, ...rest } = props;
28
23
  const _innerRef = React.useRef(null);
@@ -164,9 +159,14 @@ const RapidHeader = React.forwardRef(function RapidHeader(props, ref) {
164
159
  return React.createElement(customElements.getName(RapidHeaderWC) ?? 'rapid-header', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
165
160
  });
166
161
 
162
+ const ControlPanel = React.forwardRef(function ControlPanel(props, ref) {
163
+ const { children, ...rest } = props;
164
+ return React.createElement(customElements.getName(ControlPanelWC) ?? 'control-panel', { ...rest, ref }, children);
165
+ });
166
+
167
167
  module.exports = {
168
- ControlPanel,
169
168
  Navigation,
170
169
  ZeroHeader,
171
170
  RapidHeader,
171
+ ControlPanel,
172
172
  };
package/dist/react.mjs CHANGED
@@ -16,11 +16,6 @@ function _mergeRefs(...refs) {
16
16
  };
17
17
  }
18
18
 
19
- export const ControlPanel = React.forwardRef(function ControlPanel(props, ref) {
20
- const { children, ...rest } = props;
21
- return React.createElement(customElements.getName(ControlPanelWC) ?? 'control-panel', { ...rest, ref }, children);
22
- });
23
-
24
19
  export const Navigation = React.forwardRef(function Navigation(props, ref) {
25
20
  const { onLuminanceIconClicked, onMiscIconClicked, onNotificationIconClicked, onLanguageChanged, onFeatureFlagsChanged, onLogoutClicked, onNavButtonClicked, children, ...rest } = props;
26
21
  const _innerRef = React.useRef(null);
@@ -161,3 +156,8 @@ export const RapidHeader = React.forwardRef(function RapidHeader(props, ref) {
161
156
  }, []);
162
157
  return React.createElement(customElements.getName(RapidHeaderWC) ?? 'rapid-header', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
163
158
  });
159
+
160
+ export const ControlPanel = React.forwardRef(function ControlPanel(props, ref) {
161
+ const { children, ...rest } = props;
162
+ return React.createElement(customElements.getName(ControlPanelWC) ?? 'control-panel', { ...rest, ref }, children);
163
+ });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-header",
3
3
  "description": "Genesis Foundation Header",
4
- "version": "15.15.2",
4
+ "version": "15.15.3-alpha-6d9a143.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-header.d.ts",
@@ -84,28 +84,28 @@
84
84
  }
85
85
  },
86
86
  "devDependencies": {
87
- "@genesislcap/foundation-testing": "15.15.2",
88
- "@genesislcap/genx": "15.15.2",
89
- "@genesislcap/rollup-builder": "15.15.2",
90
- "@genesislcap/ts-builder": "15.15.2",
91
- "@genesislcap/uvu-playwright-builder": "15.15.2",
92
- "@genesislcap/vite-builder": "15.15.2",
93
- "@genesislcap/webpack-builder": "15.15.2"
87
+ "@genesislcap/foundation-testing": "15.15.3-alpha-6d9a143.0",
88
+ "@genesislcap/genx": "15.15.3-alpha-6d9a143.0",
89
+ "@genesislcap/rollup-builder": "15.15.3-alpha-6d9a143.0",
90
+ "@genesislcap/ts-builder": "15.15.3-alpha-6d9a143.0",
91
+ "@genesislcap/uvu-playwright-builder": "15.15.3-alpha-6d9a143.0",
92
+ "@genesislcap/vite-builder": "15.15.3-alpha-6d9a143.0",
93
+ "@genesislcap/webpack-builder": "15.15.3-alpha-6d9a143.0"
94
94
  },
95
95
  "dependencies": {
96
- "@genesislcap/foundation-ai": "15.15.2",
97
- "@genesislcap/foundation-auth": "15.15.2",
98
- "@genesislcap/foundation-comms": "15.15.2",
99
- "@genesislcap/foundation-events": "15.15.2",
100
- "@genesislcap/foundation-i18n": "15.15.2",
101
- "@genesislcap/foundation-logger": "15.15.2",
102
- "@genesislcap/foundation-shell": "15.15.2",
103
- "@genesislcap/foundation-ui": "15.15.2",
104
- "@genesislcap/foundation-user": "15.15.2",
105
- "@genesislcap/foundation-utils": "15.15.2",
106
- "@genesislcap/foundation-zero": "15.15.2",
107
- "@genesislcap/rapid-design-system": "15.15.2",
108
- "@genesislcap/web-core": "15.15.2"
96
+ "@genesislcap/foundation-ai": "15.15.3-alpha-6d9a143.0",
97
+ "@genesislcap/foundation-auth": "15.15.3-alpha-6d9a143.0",
98
+ "@genesislcap/foundation-comms": "15.15.3-alpha-6d9a143.0",
99
+ "@genesislcap/foundation-events": "15.15.3-alpha-6d9a143.0",
100
+ "@genesislcap/foundation-i18n": "15.15.3-alpha-6d9a143.0",
101
+ "@genesislcap/foundation-logger": "15.15.3-alpha-6d9a143.0",
102
+ "@genesislcap/foundation-shell": "15.15.3-alpha-6d9a143.0",
103
+ "@genesislcap/foundation-ui": "15.15.3-alpha-6d9a143.0",
104
+ "@genesislcap/foundation-user": "15.15.3-alpha-6d9a143.0",
105
+ "@genesislcap/foundation-utils": "15.15.3-alpha-6d9a143.0",
106
+ "@genesislcap/foundation-zero": "15.15.3-alpha-6d9a143.0",
107
+ "@genesislcap/rapid-design-system": "15.15.3-alpha-6d9a143.0",
108
+ "@genesislcap/web-core": "15.15.3-alpha-6d9a143.0"
109
109
  },
110
110
  "repository": {
111
111
  "type": "git",
@@ -116,5 +116,5 @@
116
116
  "access": "public"
117
117
  },
118
118
  "customElements": "dist/custom-elements.json",
119
- "gitHead": "93190f6fb9fbb494a02b6a3fae68bdd1538797ff"
119
+ "gitHead": "a3b5df30b34bccc2c3603aa8fc26bd1c0a480e94"
120
120
  }