@genesislcap/foundation-notifications 14.441.0 → 14.442.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.
@@ -3,5 +3,5 @@ import { BannerStructure } from '../types';
3
3
  * Shows the notification banner
4
4
  * @public
5
5
  */
6
- export declare const showNotificationBanner: (configuration: BannerStructure, tagName: String, notificationBoundary?: HTMLElement) => void;
6
+ export declare const showNotificationBanner: (configuration: BannerStructure, tagName: string, notificationBoundary?: HTMLElement) => void;
7
7
  //# sourceMappingURL=banner-builder.d.ts.map
@@ -7,5 +7,5 @@ import { NotificationStructure } from '../types';
7
7
  * @param notificationBoundary - target listener for the notification
8
8
  * @returns
9
9
  * */
10
- export declare const showBanner: (notificationStructure: NotificationStructure, tagName: String, notificationBoundary: HTMLElement) => void;
10
+ export declare const showBanner: (notificationStructure: NotificationStructure, tagName: string, notificationBoundary: HTMLElement) => void;
11
11
  //# sourceMappingURL=banner-launcher.d.ts.map
@@ -3,5 +3,5 @@ import { DialogStructure } from '../types';
3
3
  * Shows the notification dialog
4
4
  * @public
5
5
  */
6
- export declare const showNotificationDialog: (configuration: DialogStructure, tagName: String, notificationBoundary?: HTMLElement) => void;
6
+ export declare const showNotificationDialog: (configuration: DialogStructure, tagName: string, notificationBoundary?: HTMLElement) => void;
7
7
  //# sourceMappingURL=dialog-builder.d.ts.map
@@ -7,5 +7,5 @@ import { NotificationStructure } from '../types';
7
7
  * @param notificationBoundary - Optional boundary element to place the dialog within. If provided, the dialog will be created within this element's context, which can help with z-index stacking issues when the dialog needs to appear above modals or other elements.
8
8
  * @returns
9
9
  * */
10
- export declare const showDialog: (notificationStructure: NotificationStructure, tagName: String, notificationBoundary?: HTMLElement) => void;
10
+ export declare const showDialog: (notificationStructure: NotificationStructure, tagName: string, notificationBoundary?: HTMLElement) => void;
11
11
  //# sourceMappingURL=dialog-launcher.d.ts.map
@@ -7,5 +7,5 @@ import { NotificationStructure } from './types';
7
7
  * @param notificationBoundary - The notificationStructure boundary element
8
8
  * @returns
9
9
  * */
10
- export declare const showNotification: (notificationStructure: NotificationStructure, tagName: String, notificationBoundary?: HTMLElement) => void;
10
+ export declare const showNotification: (notificationStructure: NotificationStructure, tagName: string, notificationBoundary?: HTMLElement) => void;
11
11
  //# sourceMappingURL=notification-launcher.d.ts.map
@@ -27,7 +27,7 @@ export declare const showLoggerLogLevel: (notificationStructure: NotificationStr
27
27
  * @param tagName - The tag name to create prefix for the design system provider
28
28
  * @returns
29
29
  */
30
- export declare const getNotificationContainer: (id: string, tagName: String) => HTMLElement;
30
+ export declare const getNotificationContainer: (id: string, tagName: string) => HTMLElement;
31
31
  /**
32
32
  * Get the banner anchor to attach the banner to
33
33
  * @public
@@ -3,5 +3,5 @@ import { SnackbarStructure } from '../types';
3
3
  * Shows the notification snackbar
4
4
  * @public
5
5
  */
6
- export declare const showNotificationSnackbar: (configuration: SnackbarStructure, tagName: String) => void;
6
+ export declare const showNotificationSnackbar: (configuration: SnackbarStructure, tagName: string) => void;
7
7
  //# sourceMappingURL=snackbar-builder.d.ts.map
@@ -6,5 +6,5 @@ import { NotificationStructure } from '../types';
6
6
  * @param tagName - The tag name to create prefix for the design system provider & notification component
7
7
  * @returns
8
8
  * */
9
- export declare const showSnackbar: (notificationStructure: NotificationStructure, tagName: String) => void;
9
+ export declare const showSnackbar: (notificationStructure: NotificationStructure, tagName: string) => void;
10
10
  //# sourceMappingURL=snackbar-launcher.d.ts.map
@@ -3,5 +3,5 @@ import { ToastStructure } from '../types';
3
3
  * Shows the notification toast
4
4
  * @public
5
5
  */
6
- export declare const showNotificationToast: (configuration: ToastStructure, tagName: String, notificationContainer?: HTMLElement) => void;
6
+ export declare const showNotificationToast: (configuration: ToastStructure, tagName: string, notificationContainer?: HTMLElement) => void;
7
7
  //# sourceMappingURL=toast-builder.d.ts.map
@@ -7,5 +7,5 @@ import { NotificationStructure } from '../types';
7
7
  * @param notificationContainer - The notificationStructure container element
8
8
  * @returns
9
9
  * */
10
- export declare const showToast: (notificationStructure: NotificationStructure, tagName: String, notificationContainer?: HTMLElement) => void;
10
+ export declare const showToast: (notificationStructure: NotificationStructure, tagName: string, notificationContainer?: HTMLElement) => void;
11
11
  //# sourceMappingURL=toast-launcher.d.ts.map
@@ -74,7 +74,7 @@ export interface Toast {
74
74
  * @public
75
75
  */
76
76
  export interface DismissingAction {
77
- readonly label: String;
77
+ readonly label: string;
78
78
  readonly action?: Function;
79
79
  }
80
80
  /**
@@ -82,7 +82,7 @@ export interface DismissingAction {
82
82
  * @public
83
83
  */
84
84
  export interface ConfirmingAction {
85
- readonly label: String;
85
+ readonly label: string;
86
86
  readonly action: Function;
87
87
  }
88
88
  /**
@@ -719,9 +719,8 @@
719
719
  "text": "readonly label: "
720
720
  },
721
721
  {
722
- "kind": "Reference",
723
- "text": "String",
724
- "canonicalReference": "!String:interface"
722
+ "kind": "Content",
723
+ "text": "string"
725
724
  },
726
725
  {
727
726
  "kind": "Content",
@@ -1159,9 +1158,8 @@
1159
1158
  "text": "readonly label: "
1160
1159
  },
1161
1160
  {
1162
- "kind": "Reference",
1163
- "text": "String",
1164
- "canonicalReference": "!String:interface"
1161
+ "kind": "Content",
1162
+ "text": "string"
1165
1163
  },
1166
1164
  {
1167
1165
  "kind": "Content",
@@ -1362,9 +1360,8 @@
1362
1360
  "text": ", tagName: "
1363
1361
  },
1364
1362
  {
1365
- "kind": "Reference",
1366
- "text": "String",
1367
- "canonicalReference": "!String:interface"
1363
+ "kind": "Content",
1364
+ "text": "string"
1368
1365
  },
1369
1366
  {
1370
1367
  "kind": "Content",
@@ -3299,9 +3296,8 @@
3299
3296
  "text": ", tagName: "
3300
3297
  },
3301
3298
  {
3302
- "kind": "Reference",
3303
- "text": "String",
3304
- "canonicalReference": "!String:interface"
3299
+ "kind": "Content",
3300
+ "text": "string"
3305
3301
  },
3306
3302
  {
3307
3303
  "kind": "Content",
@@ -3417,9 +3413,8 @@
3417
3413
  "text": ", tagName: "
3418
3414
  },
3419
3415
  {
3420
- "kind": "Reference",
3421
- "text": "String",
3422
- "canonicalReference": "!String:interface"
3416
+ "kind": "Content",
3417
+ "text": "string"
3423
3418
  },
3424
3419
  {
3425
3420
  "kind": "Content",
@@ -3535,9 +3530,8 @@
3535
3530
  "text": ", tagName: "
3536
3531
  },
3537
3532
  {
3538
- "kind": "Reference",
3539
- "text": "String",
3540
- "canonicalReference": "!String:interface"
3533
+ "kind": "Content",
3534
+ "text": "string"
3541
3535
  },
3542
3536
  {
3543
3537
  "kind": "Content",
@@ -3611,9 +3605,8 @@
3611
3605
  "text": ", tagName: "
3612
3606
  },
3613
3607
  {
3614
- "kind": "Reference",
3615
- "text": "String",
3616
- "canonicalReference": "!String:interface"
3608
+ "kind": "Content",
3609
+ "text": "string"
3617
3610
  },
3618
3611
  {
3619
3612
  "kind": "Content",
@@ -3687,9 +3680,8 @@
3687
3680
  "text": ", tagName: "
3688
3681
  },
3689
3682
  {
3690
- "kind": "Reference",
3691
- "text": "String",
3692
- "canonicalReference": "!String:interface"
3683
+ "kind": "Content",
3684
+ "text": "string"
3693
3685
  },
3694
3686
  {
3695
3687
  "kind": "Content",
@@ -3746,9 +3738,8 @@
3746
3738
  "text": ", tagName: "
3747
3739
  },
3748
3740
  {
3749
- "kind": "Reference",
3750
- "text": "String",
3751
- "canonicalReference": "!String:interface"
3741
+ "kind": "Content",
3742
+ "text": "string"
3752
3743
  },
3753
3744
  {
3754
3745
  "kind": "Content",
@@ -76,7 +76,7 @@ export declare const configureNotifications: (config: Partial<NotifyContainerCon
76
76
  * @public
77
77
  */
78
78
  export declare interface ConfirmingAction {
79
- readonly label: String;
79
+ readonly label: string;
80
80
  readonly action: Function;
81
81
  }
82
82
 
@@ -145,7 +145,7 @@ export declare interface DialogStructure {
145
145
  * @public
146
146
  */
147
147
  export declare interface DismissingAction {
148
- readonly label: String;
148
+ readonly label: string;
149
149
  readonly action?: Function;
150
150
  }
151
151
 
@@ -193,7 +193,7 @@ export declare const getNotificationBuilder: () => NotificationBuilder;
193
193
  * @param tagName - The tag name to create prefix for the design system provider
194
194
  * @returns
195
195
  */
196
- export declare const getNotificationContainer: (id: string, tagName: String) => HTMLElement;
196
+ export declare const getNotificationContainer: (id: string, tagName: string) => HTMLElement;
197
197
 
198
198
  /**
199
199
  * Retrieves the notification details from an NotificationStructure object
@@ -496,7 +496,7 @@ export declare interface NotifyContainerConfig {
496
496
  * @param notificationBoundary - target listener for the notification
497
497
  * @returns
498
498
  * */
499
- export declare const showBanner: (notificationStructure: NotificationStructure, tagName: String, notificationBoundary: HTMLElement) => void;
499
+ export declare const showBanner: (notificationStructure: NotificationStructure, tagName: string, notificationBoundary: HTMLElement) => void;
500
500
 
501
501
  /**
502
502
  * Shows the dialog
@@ -506,7 +506,7 @@ export declare const showBanner: (notificationStructure: NotificationStructure,
506
506
  * @param notificationBoundary - Optional boundary element to place the dialog within. If provided, the dialog will be created within this element's context, which can help with z-index stacking issues when the dialog needs to appear above modals or other elements.
507
507
  * @returns
508
508
  * */
509
- export declare const showDialog: (notificationStructure: NotificationStructure, tagName: String, notificationBoundary?: HTMLElement) => void;
509
+ export declare const showDialog: (notificationStructure: NotificationStructure, tagName: string, notificationBoundary?: HTMLElement) => void;
510
510
 
511
511
  /**
512
512
  * Shows logger with log level from NotificationStructure object
@@ -523,7 +523,7 @@ export declare const showLoggerLogLevel: (notificationStructure: NotificationStr
523
523
  * @param notificationBoundary - The notificationStructure boundary element
524
524
  * @returns
525
525
  * */
526
- export declare const showNotification: (notificationStructure: NotificationStructure, tagName: String, notificationBoundary?: HTMLElement) => void;
526
+ export declare const showNotification: (notificationStructure: NotificationStructure, tagName: string, notificationBoundary?: HTMLElement) => void;
527
527
 
528
528
  /**
529
529
  * Shows the notification alert
@@ -535,25 +535,25 @@ export declare const showNotificationAlert: (configuration: AlertStructure) => v
535
535
  * Shows the notification banner
536
536
  * @public
537
537
  */
538
- export declare const showNotificationBanner: (configuration: BannerStructure, tagName: String, notificationBoundary?: HTMLElement) => void;
538
+ export declare const showNotificationBanner: (configuration: BannerStructure, tagName: string, notificationBoundary?: HTMLElement) => void;
539
539
 
540
540
  /**
541
541
  * Shows the notification dialog
542
542
  * @public
543
543
  */
544
- export declare const showNotificationDialog: (configuration: DialogStructure, tagName: String, notificationBoundary?: HTMLElement) => void;
544
+ export declare const showNotificationDialog: (configuration: DialogStructure, tagName: string, notificationBoundary?: HTMLElement) => void;
545
545
 
546
546
  /**
547
547
  * Shows the notification snackbar
548
548
  * @public
549
549
  */
550
- export declare const showNotificationSnackbar: (configuration: SnackbarStructure, tagName: String) => void;
550
+ export declare const showNotificationSnackbar: (configuration: SnackbarStructure, tagName: string) => void;
551
551
 
552
552
  /**
553
553
  * Shows the notification toast
554
554
  * @public
555
555
  */
556
- export declare const showNotificationToast: (configuration: ToastStructure, tagName: String, notificationContainer?: HTMLElement) => void;
556
+ export declare const showNotificationToast: (configuration: ToastStructure, tagName: string, notificationContainer?: HTMLElement) => void;
557
557
 
558
558
  /**
559
559
  * Shows the snackbar
@@ -562,7 +562,7 @@ export declare const showNotificationToast: (configuration: ToastStructure, tagN
562
562
  * @param tagName - The tag name to create prefix for the design system provider & notification component
563
563
  * @returns
564
564
  * */
565
- export declare const showSnackbar: (notificationStructure: NotificationStructure, tagName: String) => void;
565
+ export declare const showSnackbar: (notificationStructure: NotificationStructure, tagName: string) => void;
566
566
 
567
567
  /**
568
568
  * Shows the notificationStructure
@@ -572,7 +572,7 @@ export declare const showSnackbar: (notificationStructure: NotificationStructure
572
572
  * @param notificationContainer - The notificationStructure container element
573
573
  * @returns
574
574
  * */
575
- export declare const showToast: (notificationStructure: NotificationStructure, tagName: String, notificationContainer?: HTMLElement) => void;
575
+ export declare const showToast: (notificationStructure: NotificationStructure, tagName: string, notificationContainer?: HTMLElement) => void;
576
576
 
577
577
  /**
578
578
  * Interface for Snackbar configuration
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-notifications",
3
3
  "description": "Genesis Foundation UI Notifications Utils",
4
- "version": "14.441.0",
4
+ "version": "14.442.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -40,8 +40,8 @@
40
40
  "test:unit:browser:watch": "genx test --browser --watch",
41
41
  "test:unit:watch": "genx test --watch",
42
42
  "test:debug": "genx test --debug",
43
- "lint": "genx lint --profile",
44
- "lint:fix": "genx lint --fix"
43
+ "lint": "genx lint -l ox",
44
+ "lint:fix": "genx lint -l ox --fix"
45
45
  },
46
46
  "madge": {
47
47
  "detectiveOptions": {
@@ -51,18 +51,18 @@
51
51
  }
52
52
  },
53
53
  "devDependencies": {
54
- "@genesislcap/foundation-testing": "14.441.0",
55
- "@genesislcap/genx": "14.441.0",
56
- "@genesislcap/rollup-builder": "14.441.0",
57
- "@genesislcap/ts-builder": "14.441.0",
58
- "@genesislcap/uvu-playwright-builder": "14.441.0",
59
- "@genesislcap/vite-builder": "14.441.0",
60
- "@genesislcap/webpack-builder": "14.441.0"
54
+ "@genesislcap/foundation-testing": "14.442.0",
55
+ "@genesislcap/genx": "14.442.0",
56
+ "@genesislcap/rollup-builder": "14.442.0",
57
+ "@genesislcap/ts-builder": "14.442.0",
58
+ "@genesislcap/uvu-playwright-builder": "14.442.0",
59
+ "@genesislcap/vite-builder": "14.442.0",
60
+ "@genesislcap/webpack-builder": "14.442.0"
61
61
  },
62
62
  "dependencies": {
63
- "@genesislcap/foundation-logger": "14.441.0",
64
- "@genesislcap/foundation-utils": "14.441.0",
65
- "@genesislcap/web-core": "14.441.0"
63
+ "@genesislcap/foundation-logger": "14.442.0",
64
+ "@genesislcap/foundation-utils": "14.442.0",
65
+ "@genesislcap/web-core": "14.442.0"
66
66
  },
67
67
  "repository": {
68
68
  "type": "git",
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "7aa35983955df48854be7f8e1ea6d56eff71c3b5"
75
+ "gitHead": "ad425e4ea17dad7d5b580200f2ca31758896d07f"
76
76
  }