@genesislcap/foundation-notifications 14.436.0-FUI-2489.2 → 14.437.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.
- package/dist/dts/banner/banner-builder.d.ts +1 -1
- package/dist/dts/banner/banner-launcher.d.ts +1 -1
- package/dist/dts/dialog/dialog-builder.d.ts +1 -1
- package/dist/dts/dialog/dialog-launcher.d.ts +1 -1
- package/dist/dts/notification-launcher.d.ts +1 -1
- package/dist/dts/notification-util.d.ts +1 -1
- package/dist/dts/snackbar/snackbar-builder.d.ts +1 -1
- package/dist/dts/snackbar/snackbar-launcher.d.ts +1 -1
- package/dist/dts/toast/toast-builder.d.ts +1 -1
- package/dist/dts/toast/toast-launcher.d.ts +1 -1
- package/dist/dts/types.d.ts +2 -2
- package/dist/foundation-notifications.api.json +27 -18
- package/dist/foundation-notifications.d.ts +12 -12
- package/package.json +12 -12
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
10
|
+
export declare const showToast: (notificationStructure: NotificationStructure, tagName: String, notificationContainer?: HTMLElement) => void;
|
|
11
11
|
//# sourceMappingURL=toast-launcher.d.ts.map
|
package/dist/dts/types.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export interface Toast {
|
|
|
74
74
|
* @public
|
|
75
75
|
*/
|
|
76
76
|
export interface DismissingAction {
|
|
77
|
-
readonly label:
|
|
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:
|
|
85
|
+
readonly label: String;
|
|
86
86
|
readonly action: Function;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
@@ -719,8 +719,9 @@
|
|
|
719
719
|
"text": "readonly label: "
|
|
720
720
|
},
|
|
721
721
|
{
|
|
722
|
-
"kind": "
|
|
723
|
-
"text": "
|
|
722
|
+
"kind": "Reference",
|
|
723
|
+
"text": "String",
|
|
724
|
+
"canonicalReference": "!String:interface"
|
|
724
725
|
},
|
|
725
726
|
{
|
|
726
727
|
"kind": "Content",
|
|
@@ -1158,8 +1159,9 @@
|
|
|
1158
1159
|
"text": "readonly label: "
|
|
1159
1160
|
},
|
|
1160
1161
|
{
|
|
1161
|
-
"kind": "
|
|
1162
|
-
"text": "
|
|
1162
|
+
"kind": "Reference",
|
|
1163
|
+
"text": "String",
|
|
1164
|
+
"canonicalReference": "!String:interface"
|
|
1163
1165
|
},
|
|
1164
1166
|
{
|
|
1165
1167
|
"kind": "Content",
|
|
@@ -1360,8 +1362,9 @@
|
|
|
1360
1362
|
"text": ", tagName: "
|
|
1361
1363
|
},
|
|
1362
1364
|
{
|
|
1363
|
-
"kind": "
|
|
1364
|
-
"text": "
|
|
1365
|
+
"kind": "Reference",
|
|
1366
|
+
"text": "String",
|
|
1367
|
+
"canonicalReference": "!String:interface"
|
|
1365
1368
|
},
|
|
1366
1369
|
{
|
|
1367
1370
|
"kind": "Content",
|
|
@@ -3296,8 +3299,9 @@
|
|
|
3296
3299
|
"text": ", tagName: "
|
|
3297
3300
|
},
|
|
3298
3301
|
{
|
|
3299
|
-
"kind": "
|
|
3300
|
-
"text": "
|
|
3302
|
+
"kind": "Reference",
|
|
3303
|
+
"text": "String",
|
|
3304
|
+
"canonicalReference": "!String:interface"
|
|
3301
3305
|
},
|
|
3302
3306
|
{
|
|
3303
3307
|
"kind": "Content",
|
|
@@ -3413,8 +3417,9 @@
|
|
|
3413
3417
|
"text": ", tagName: "
|
|
3414
3418
|
},
|
|
3415
3419
|
{
|
|
3416
|
-
"kind": "
|
|
3417
|
-
"text": "
|
|
3420
|
+
"kind": "Reference",
|
|
3421
|
+
"text": "String",
|
|
3422
|
+
"canonicalReference": "!String:interface"
|
|
3418
3423
|
},
|
|
3419
3424
|
{
|
|
3420
3425
|
"kind": "Content",
|
|
@@ -3530,8 +3535,9 @@
|
|
|
3530
3535
|
"text": ", tagName: "
|
|
3531
3536
|
},
|
|
3532
3537
|
{
|
|
3533
|
-
"kind": "
|
|
3534
|
-
"text": "
|
|
3538
|
+
"kind": "Reference",
|
|
3539
|
+
"text": "String",
|
|
3540
|
+
"canonicalReference": "!String:interface"
|
|
3535
3541
|
},
|
|
3536
3542
|
{
|
|
3537
3543
|
"kind": "Content",
|
|
@@ -3605,8 +3611,9 @@
|
|
|
3605
3611
|
"text": ", tagName: "
|
|
3606
3612
|
},
|
|
3607
3613
|
{
|
|
3608
|
-
"kind": "
|
|
3609
|
-
"text": "
|
|
3614
|
+
"kind": "Reference",
|
|
3615
|
+
"text": "String",
|
|
3616
|
+
"canonicalReference": "!String:interface"
|
|
3610
3617
|
},
|
|
3611
3618
|
{
|
|
3612
3619
|
"kind": "Content",
|
|
@@ -3680,8 +3687,9 @@
|
|
|
3680
3687
|
"text": ", tagName: "
|
|
3681
3688
|
},
|
|
3682
3689
|
{
|
|
3683
|
-
"kind": "
|
|
3684
|
-
"text": "
|
|
3690
|
+
"kind": "Reference",
|
|
3691
|
+
"text": "String",
|
|
3692
|
+
"canonicalReference": "!String:interface"
|
|
3685
3693
|
},
|
|
3686
3694
|
{
|
|
3687
3695
|
"kind": "Content",
|
|
@@ -3738,8 +3746,9 @@
|
|
|
3738
3746
|
"text": ", tagName: "
|
|
3739
3747
|
},
|
|
3740
3748
|
{
|
|
3741
|
-
"kind": "
|
|
3742
|
-
"text": "
|
|
3749
|
+
"kind": "Reference",
|
|
3750
|
+
"text": "String",
|
|
3751
|
+
"canonicalReference": "!String:interface"
|
|
3743
3752
|
},
|
|
3744
3753
|
{
|
|
3745
3754
|
"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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
4
|
+
"version": "14.437.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@genesislcap/foundation-testing": "14.
|
|
55
|
-
"@genesislcap/genx": "14.
|
|
56
|
-
"@genesislcap/rollup-builder": "14.
|
|
57
|
-
"@genesislcap/ts-builder": "14.
|
|
58
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
59
|
-
"@genesislcap/vite-builder": "14.
|
|
60
|
-
"@genesislcap/webpack-builder": "14.
|
|
54
|
+
"@genesislcap/foundation-testing": "14.437.0",
|
|
55
|
+
"@genesislcap/genx": "14.437.0",
|
|
56
|
+
"@genesislcap/rollup-builder": "14.437.0",
|
|
57
|
+
"@genesislcap/ts-builder": "14.437.0",
|
|
58
|
+
"@genesislcap/uvu-playwright-builder": "14.437.0",
|
|
59
|
+
"@genesislcap/vite-builder": "14.437.0",
|
|
60
|
+
"@genesislcap/webpack-builder": "14.437.0"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@genesislcap/foundation-logger": "14.
|
|
64
|
-
"@genesislcap/foundation-utils": "14.
|
|
65
|
-
"@genesislcap/web-core": "14.
|
|
63
|
+
"@genesislcap/foundation-logger": "14.437.0",
|
|
64
|
+
"@genesislcap/foundation-utils": "14.437.0",
|
|
65
|
+
"@genesislcap/web-core": "14.437.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": "
|
|
75
|
+
"gitHead": "c30c777f0ab5e45f4e931a9cc1200ac85bcace35"
|
|
76
76
|
}
|