@genesislcap/foundation-notifications 14.50.2-alpha-f13a8e3.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.
Files changed (135) hide show
  1. package/README.md +66 -0
  2. package/dist/dts/banner/banner-builder.d.ts +35 -0
  3. package/dist/dts/banner/banner-builder.d.ts.map +1 -0
  4. package/dist/dts/banner/banner-launcher.d.ts +11 -0
  5. package/dist/dts/banner/banner-launcher.d.ts.map +1 -0
  6. package/dist/dts/banner/index.d.ts +3 -0
  7. package/dist/dts/banner/index.d.ts.map +1 -0
  8. package/dist/dts/dialog/dialog-builder.d.ts +35 -0
  9. package/dist/dts/dialog/dialog-builder.d.ts.map +1 -0
  10. package/dist/dts/dialog/dialog-launcher.d.ts +10 -0
  11. package/dist/dts/dialog/dialog-launcher.d.ts.map +1 -0
  12. package/dist/dts/dialog/index.d.ts +3 -0
  13. package/dist/dts/dialog/index.d.ts.map +1 -0
  14. package/dist/dts/index.d.ts +9 -0
  15. package/dist/dts/index.d.ts.map +1 -0
  16. package/dist/dts/index.federated.d.ts +1 -0
  17. package/dist/dts/index.federated.d.ts.map +1 -0
  18. package/dist/dts/logger.d.ts +2 -0
  19. package/dist/dts/logger.d.ts.map +1 -0
  20. package/dist/dts/notification-builder.d.ts +83 -0
  21. package/dist/dts/notification-builder.d.ts.map +1 -0
  22. package/dist/dts/notification-launcher.d.ts +11 -0
  23. package/dist/dts/notification-launcher.d.ts.map +1 -0
  24. package/dist/dts/notification-util.d.ts +32 -0
  25. package/dist/dts/notification-util.d.ts.map +1 -0
  26. package/dist/dts/snackbar/index.d.ts +3 -0
  27. package/dist/dts/snackbar/index.d.ts.map +1 -0
  28. package/dist/dts/snackbar/snackbar-builder.d.ts +34 -0
  29. package/dist/dts/snackbar/snackbar-builder.d.ts.map +1 -0
  30. package/dist/dts/snackbar/snackbar-launcher.d.ts +10 -0
  31. package/dist/dts/snackbar/snackbar-launcher.d.ts.map +1 -0
  32. package/dist/dts/toast/index.d.ts +3 -0
  33. package/dist/dts/toast/index.d.ts.map +1 -0
  34. package/dist/dts/toast/toast-builder.d.ts +49 -0
  35. package/dist/dts/toast/toast-builder.d.ts.map +1 -0
  36. package/dist/dts/toast/toast-launcher.d.ts +10 -0
  37. package/dist/dts/toast/toast-launcher.d.ts.map +1 -0
  38. package/dist/dts/tsdoc-metadata.json +11 -0
  39. package/dist/dts/types.d.ts +106 -0
  40. package/dist/dts/types.d.ts.map +1 -0
  41. package/dist/esm/banner/banner-builder.js +49 -0
  42. package/dist/esm/banner/banner-launcher.js +23 -0
  43. package/dist/esm/banner/index.js +2 -0
  44. package/dist/esm/dialog/dialog-builder.js +49 -0
  45. package/dist/esm/dialog/dialog-launcher.js +16 -0
  46. package/dist/esm/dialog/index.js +2 -0
  47. package/dist/esm/index.federated.js +1 -0
  48. package/dist/esm/index.js +8 -0
  49. package/dist/esm/logger.js +2 -0
  50. package/dist/esm/notification-builder.js +133 -0
  51. package/dist/esm/notification-launcher.js +36 -0
  52. package/dist/esm/notification-util.js +67 -0
  53. package/dist/esm/snackbar/index.js +2 -0
  54. package/dist/esm/snackbar/snackbar-builder.js +48 -0
  55. package/dist/esm/snackbar/snackbar-launcher.js +15 -0
  56. package/dist/esm/toast/index.js +2 -0
  57. package/dist/esm/toast/toast-builder.js +70 -0
  58. package/dist/esm/toast/toast-launcher.js +54 -0
  59. package/dist/esm/types.js +8 -0
  60. package/dist/foundation-notifications.api.json +2531 -0
  61. package/dist/foundation-notifications.d.ts +435 -0
  62. package/docs/.gitattributes +2 -0
  63. package/docs/api/foundation-notifications.banner.confirmingactions.md +11 -0
  64. package/docs/api/foundation-notifications.banner.dismissingaction.md +11 -0
  65. package/docs/api/foundation-notifications.banner.md +21 -0
  66. package/docs/api/foundation-notifications.bannerbuilder.build.md +19 -0
  67. package/docs/api/foundation-notifications.bannerbuilder.md +22 -0
  68. package/docs/api/foundation-notifications.bannerbuilder.withconfirmingaction.md +25 -0
  69. package/docs/api/foundation-notifications.bannerbuilder.withdismissingaction.md +25 -0
  70. package/docs/api/foundation-notifications.confirmingaction.action.md +11 -0
  71. package/docs/api/foundation-notifications.confirmingaction.label.md +11 -0
  72. package/docs/api/foundation-notifications.confirmingaction.md +21 -0
  73. package/docs/api/foundation-notifications.dialog.confirmingactions.md +11 -0
  74. package/docs/api/foundation-notifications.dialog.dismissingaction.md +11 -0
  75. package/docs/api/foundation-notifications.dialog.md +21 -0
  76. package/docs/api/foundation-notifications.dialogbuilder.build.md +19 -0
  77. package/docs/api/foundation-notifications.dialogbuilder.md +22 -0
  78. package/docs/api/foundation-notifications.dialogbuilder.withconfirmingaction.md +25 -0
  79. package/docs/api/foundation-notifications.dialogbuilder.withdismissingaction.md +25 -0
  80. package/docs/api/foundation-notifications.dismissingaction.action.md +11 -0
  81. package/docs/api/foundation-notifications.dismissingaction.label.md +11 -0
  82. package/docs/api/foundation-notifications.dismissingaction.md +21 -0
  83. package/docs/api/foundation-notifications.getbanneranchor.md +13 -0
  84. package/docs/api/foundation-notifications.getbannerbuilder.md +13 -0
  85. package/docs/api/foundation-notifications.getdialogbuilder.md +13 -0
  86. package/docs/api/foundation-notifications.getloglevel.md +13 -0
  87. package/docs/api/foundation-notifications.getnotificationbuilder.md +13 -0
  88. package/docs/api/foundation-notifications.getnotificationcontainer.md +13 -0
  89. package/docs/api/foundation-notifications.getnotificationdetails.md +13 -0
  90. package/docs/api/foundation-notifications.getsnackbarbuilder.md +13 -0
  91. package/docs/api/foundation-notifications.gettoastbuilder.md +13 -0
  92. package/docs/api/foundation-notifications.md +58 -0
  93. package/docs/api/foundation-notifications.notificationbuilder.build.md +18 -0
  94. package/docs/api/foundation-notifications.notificationbuilder.md +28 -0
  95. package/docs/api/foundation-notifications.notificationbuilder.withalert.md +25 -0
  96. package/docs/api/foundation-notifications.notificationbuilder.withbanner.md +25 -0
  97. package/docs/api/foundation-notifications.notificationbuilder.withbody.md +25 -0
  98. package/docs/api/foundation-notifications.notificationbuilder.withdialog.md +25 -0
  99. package/docs/api/foundation-notifications.notificationbuilder.withloglevel.md +25 -0
  100. package/docs/api/foundation-notifications.notificationbuilder.withsnackbar.md +25 -0
  101. package/docs/api/foundation-notifications.notificationbuilder.withtitle.md +25 -0
  102. package/docs/api/foundation-notifications.notificationbuilder.withtoast.md +25 -0
  103. package/docs/api/foundation-notifications.notificationevent.md +20 -0
  104. package/docs/api/foundation-notifications.notificationstructure.body.md +11 -0
  105. package/docs/api/foundation-notifications.notificationstructure.config.md +18 -0
  106. package/docs/api/foundation-notifications.notificationstructure.loglevel.md +11 -0
  107. package/docs/api/foundation-notifications.notificationstructure.md +23 -0
  108. package/docs/api/foundation-notifications.notificationstructure.title.md +11 -0
  109. package/docs/api/foundation-notifications.notificationtype.md +13 -0
  110. package/docs/api/foundation-notifications.showbanner.md +13 -0
  111. package/docs/api/foundation-notifications.shownotification.md +13 -0
  112. package/docs/api/foundation-notifications.snackbar.confirmingactions.md +11 -0
  113. package/docs/api/foundation-notifications.snackbar.md +21 -0
  114. package/docs/api/foundation-notifications.snackbar.type.md +11 -0
  115. package/docs/api/foundation-notifications.snackbarbuilder.build.md +19 -0
  116. package/docs/api/foundation-notifications.snackbarbuilder.md +22 -0
  117. package/docs/api/foundation-notifications.snackbarbuilder.withconfirmingaction.md +25 -0
  118. package/docs/api/foundation-notifications.snackbarbuilder.withtype.md +23 -0
  119. package/docs/api/foundation-notifications.snackbartype.md +13 -0
  120. package/docs/api/foundation-notifications.toast.autoclose.md +11 -0
  121. package/docs/api/foundation-notifications.toast.closetimeout.md +11 -0
  122. package/docs/api/foundation-notifications.toast.md +23 -0
  123. package/docs/api/foundation-notifications.toast.position.md +11 -0
  124. package/docs/api/foundation-notifications.toast.type.md +11 -0
  125. package/docs/api/foundation-notifications.toastbuilder.build.md +19 -0
  126. package/docs/api/foundation-notifications.toastbuilder.md +23 -0
  127. package/docs/api/foundation-notifications.toastbuilder.withautoclose.md +25 -0
  128. package/docs/api/foundation-notifications.toastbuilder.withclosetimeout.md +25 -0
  129. package/docs/api/foundation-notifications.toastbuilder.withposition.md +25 -0
  130. package/docs/api/foundation-notifications.toastbuilder.withtype.md +25 -0
  131. package/docs/api/foundation-notifications.toastposition.md +13 -0
  132. package/docs/api/index.md +12 -0
  133. package/docs/api-report.md +203 -0
  134. package/license.txt +46 -0
  135. package/package.json +57 -0
@@ -0,0 +1,23 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [NotificationStructure](./foundation-notifications.notificationstructure.md)
4
+
5
+ ## NotificationStructure interface
6
+
7
+ Interface for Structure
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface NotificationStructure
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Modifiers | Type | Description |
18
+ | --- | --- | --- | --- |
19
+ | [body](./foundation-notifications.notificationstructure.body.md) | <code>readonly</code> | string | |
20
+ | [config?](./foundation-notifications.notificationstructure.config.md) | <code>readonly</code> | { readonly logLevel?: LogLevel; readonly alert?: boolean; readonly toast?: [Toast](./foundation-notifications.toast.md)<!-- -->; readonly banner?: [Banner](./foundation-notifications.banner.md)<!-- -->; readonly snackbar?: [Snackbar](./foundation-notifications.snackbar.md)<!-- -->; readonly dialog?: [Dialog](./foundation-notifications.dialog.md)<!-- -->; } | _(Optional)_ |
21
+ | [logLevel?](./foundation-notifications.notificationstructure.loglevel.md) | <code>readonly</code> | LogLevel | _(Optional)_ |
22
+ | [title](./foundation-notifications.notificationstructure.title.md) | <code>readonly</code> | string | |
23
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [NotificationStructure](./foundation-notifications.notificationstructure.md) &gt; [title](./foundation-notifications.notificationstructure.title.md)
4
+
5
+ ## NotificationStructure.title property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly title: string;
11
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [NotificationType](./foundation-notifications.notificationtype.md)
4
+
5
+ ## NotificationType type
6
+
7
+ type for notification
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type NotificationType = 'error' | 'warning' | 'success';
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [showBanner](./foundation-notifications.showbanner.md)
4
+
5
+ ## showBanner variable
6
+
7
+ Shows the notificationStructure dialog
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ showBanner: (notificationStructure: NotificationStructure, tagName: String, notificationBoundary: HTMLElement) => void
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [showNotification](./foundation-notifications.shownotification.md)
4
+
5
+ ## showNotification variable
6
+
7
+ Shows the notificationStructure in the appropriate component
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ showNotification: (notificationStructure: NotificationStructure, tagName: String, notificationBoundary?: HTMLElement) => void
13
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [Snackbar](./foundation-notifications.snackbar.md) &gt; [confirmingActions](./foundation-notifications.snackbar.confirmingactions.md)
4
+
5
+ ## Snackbar.confirmingActions property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly confirmingActions?: Array<ConfirmingAction>;
11
+ ```
@@ -0,0 +1,21 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [Snackbar](./foundation-notifications.snackbar.md)
4
+
5
+ ## Snackbar interface
6
+
7
+ Interface for Snackbar configuration
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface Snackbar
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Modifiers | Type | Description |
18
+ | --- | --- | --- | --- |
19
+ | [confirmingActions?](./foundation-notifications.snackbar.confirmingactions.md) | <code>readonly</code> | Array&lt;[ConfirmingAction](./foundation-notifications.confirmingaction.md)<!-- -->&gt; | _(Optional)_ |
20
+ | [type?](./foundation-notifications.snackbar.type.md) | <code>readonly</code> | [SnackbarType](./foundation-notifications.snackbartype.md) | _(Optional)_ |
21
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [Snackbar](./foundation-notifications.snackbar.md) &gt; [type](./foundation-notifications.snackbar.type.md)
4
+
5
+ ## Snackbar.type property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly type?: SnackbarType;
11
+ ```
@@ -0,0 +1,19 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [SnackbarBuilder](./foundation-notifications.snackbarbuilder.md) &gt; [build](./foundation-notifications.snackbarbuilder.build.md)
4
+
5
+ ## SnackbarBuilder.build() method
6
+
7
+ Build snackbar
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ build(): Snackbar;
13
+ ```
14
+ **Returns:**
15
+
16
+ [Snackbar](./foundation-notifications.snackbar.md)
17
+
18
+ Snackbar
19
+
@@ -0,0 +1,22 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [SnackbarBuilder](./foundation-notifications.snackbarbuilder.md)
4
+
5
+ ## SnackbarBuilder class
6
+
7
+ SnackbarBuilder to build Snackbar
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export declare class SnackbarBuilder
13
+ ```
14
+
15
+ ## Methods
16
+
17
+ | Method | Modifiers | Description |
18
+ | --- | --- | --- |
19
+ | [build()](./foundation-notifications.snackbarbuilder.build.md) | | Build snackbar |
20
+ | [withConfirmingAction(confirmingAction)](./foundation-notifications.snackbarbuilder.withconfirmingaction.md) | | Add confirming action to snackbar |
21
+ | [withType(type)](./foundation-notifications.snackbarbuilder.withtype.md) | | |
22
+
@@ -0,0 +1,25 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [SnackbarBuilder](./foundation-notifications.snackbarbuilder.md) &gt; [withConfirmingAction](./foundation-notifications.snackbarbuilder.withconfirmingaction.md)
4
+
5
+ ## SnackbarBuilder.withConfirmingAction() method
6
+
7
+ Add confirming action to snackbar
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ withConfirmingAction(confirmingAction: ConfirmingAction): SnackbarBuilder;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | confirmingAction | [ConfirmingAction](./foundation-notifications.confirmingaction.md) | [ConfirmingAction](./foundation-notifications.confirmingaction.md) |
20
+
21
+ **Returns:**
22
+
23
+ [SnackbarBuilder](./foundation-notifications.snackbarbuilder.md)
24
+
25
+
@@ -0,0 +1,23 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [SnackbarBuilder](./foundation-notifications.snackbarbuilder.md) &gt; [withType](./foundation-notifications.snackbarbuilder.withtype.md)
4
+
5
+ ## SnackbarBuilder.withType() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ withType(type: SnackbarType): SnackbarBuilder;
11
+ ```
12
+
13
+ ## Parameters
14
+
15
+ | Parameter | Type | Description |
16
+ | --- | --- | --- |
17
+ | type | [SnackbarType](./foundation-notifications.snackbartype.md) | [SnackbarType](./foundation-notifications.snackbartype.md) |
18
+
19
+ **Returns:**
20
+
21
+ [SnackbarBuilder](./foundation-notifications.snackbarbuilder.md)
22
+
23
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [SnackbarType](./foundation-notifications.snackbartype.md)
4
+
5
+ ## SnackbarType type
6
+
7
+ type for snackbar type
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type SnackbarType = 'error';
13
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [Toast](./foundation-notifications.toast.md) &gt; [autoClose](./foundation-notifications.toast.autoclose.md)
4
+
5
+ ## Toast.autoClose property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly autoClose?: boolean;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [Toast](./foundation-notifications.toast.md) &gt; [closeTimeout](./foundation-notifications.toast.closetimeout.md)
4
+
5
+ ## Toast.closeTimeout property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly closeTimeout?: number;
11
+ ```
@@ -0,0 +1,23 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [Toast](./foundation-notifications.toast.md)
4
+
5
+ ## Toast interface
6
+
7
+ Interface for Toast configuration
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface Toast
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ | Property | Modifiers | Type | Description |
18
+ | --- | --- | --- | --- |
19
+ | [autoClose?](./foundation-notifications.toast.autoclose.md) | <code>readonly</code> | boolean | _(Optional)_ |
20
+ | [closeTimeout?](./foundation-notifications.toast.closetimeout.md) | <code>readonly</code> | number | _(Optional)_ |
21
+ | [position?](./foundation-notifications.toast.position.md) | <code>readonly</code> | [ToastPosition](./foundation-notifications.toastposition.md) | _(Optional)_ |
22
+ | [type?](./foundation-notifications.toast.type.md) | <code>readonly</code> | [NotificationType](./foundation-notifications.notificationtype.md) | _(Optional)_ |
23
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [Toast](./foundation-notifications.toast.md) &gt; [position](./foundation-notifications.toast.position.md)
4
+
5
+ ## Toast.position property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly position?: ToastPosition;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [Toast](./foundation-notifications.toast.md) &gt; [type](./foundation-notifications.toast.type.md)
4
+
5
+ ## Toast.type property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly type?: NotificationType;
11
+ ```
@@ -0,0 +1,19 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [ToastBuilder](./foundation-notifications.toastbuilder.md) &gt; [build](./foundation-notifications.toastbuilder.build.md)
4
+
5
+ ## ToastBuilder.build() method
6
+
7
+ Build notification
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ build(): Toast;
13
+ ```
14
+ **Returns:**
15
+
16
+ [Toast](./foundation-notifications.toast.md)
17
+
18
+ Toast
19
+
@@ -0,0 +1,23 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [ToastBuilder](./foundation-notifications.toastbuilder.md)
4
+
5
+ ## ToastBuilder class
6
+
7
+
8
+ **Signature:**
9
+
10
+ ```typescript
11
+ export declare class ToastBuilder
12
+ ```
13
+
14
+ ## Methods
15
+
16
+ | Method | Modifiers | Description |
17
+ | --- | --- | --- |
18
+ | [build()](./foundation-notifications.toastbuilder.build.md) | | Build notification |
19
+ | [withAutoClose(autoClose)](./foundation-notifications.toastbuilder.withautoclose.md) | | Add auto close to notification |
20
+ | [withCloseTimeout(closeTimeout)](./foundation-notifications.toastbuilder.withclosetimeout.md) | | Add close timeout to notification |
21
+ | [withPosition(position)](./foundation-notifications.toastbuilder.withposition.md) | | Add position to toast |
22
+ | [withType(type)](./foundation-notifications.toastbuilder.withtype.md) | | Add type to notification, if the type is anything other than 'warning' or 'success' do not add it |
23
+
@@ -0,0 +1,25 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [ToastBuilder](./foundation-notifications.toastbuilder.md) &gt; [withAutoClose](./foundation-notifications.toastbuilder.withautoclose.md)
4
+
5
+ ## ToastBuilder.withAutoClose() method
6
+
7
+ Add auto close to notification
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ withAutoClose(autoClose: boolean): ToastBuilder;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | autoClose | boolean | boolean |
20
+
21
+ **Returns:**
22
+
23
+ [ToastBuilder](./foundation-notifications.toastbuilder.md)
24
+
25
+
@@ -0,0 +1,25 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [ToastBuilder](./foundation-notifications.toastbuilder.md) &gt; [withCloseTimeout](./foundation-notifications.toastbuilder.withclosetimeout.md)
4
+
5
+ ## ToastBuilder.withCloseTimeout() method
6
+
7
+ Add close timeout to notification
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ withCloseTimeout(closeTimeout: number): ToastBuilder;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | closeTimeout | number | number |
20
+
21
+ **Returns:**
22
+
23
+ [ToastBuilder](./foundation-notifications.toastbuilder.md)
24
+
25
+
@@ -0,0 +1,25 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [ToastBuilder](./foundation-notifications.toastbuilder.md) &gt; [withPosition](./foundation-notifications.toastbuilder.withposition.md)
4
+
5
+ ## ToastBuilder.withPosition() method
6
+
7
+ Add position to toast
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ withPosition(position: ToastPosition): ToastBuilder;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | position | [ToastPosition](./foundation-notifications.toastposition.md) | [ToastPosition](./foundation-notifications.toastposition.md) |
20
+
21
+ **Returns:**
22
+
23
+ [ToastBuilder](./foundation-notifications.toastbuilder.md)
24
+
25
+
@@ -0,0 +1,25 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [ToastBuilder](./foundation-notifications.toastbuilder.md) &gt; [withType](./foundation-notifications.toastbuilder.withtype.md)
4
+
5
+ ## ToastBuilder.withType() method
6
+
7
+ Add type to notification, if the type is anything other than 'warning' or 'success' do not add it
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ withType(type: NotificationType): ToastBuilder;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | type | [NotificationType](./foundation-notifications.notificationtype.md) | [NotificationType](./foundation-notifications.notificationtype.md) |
20
+
21
+ **Returns:**
22
+
23
+ [ToastBuilder](./foundation-notifications.toastbuilder.md)
24
+
25
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-notifications](./foundation-notifications.md) &gt; [ToastPosition](./foundation-notifications.toastposition.md)
4
+
5
+ ## ToastPosition type
6
+
7
+ type for notification position
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type ToastPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
13
+ ```
@@ -0,0 +1,12 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md)
4
+
5
+ ## API Reference
6
+
7
+ ## Packages
8
+
9
+ | Package | Description |
10
+ | --- | --- |
11
+ | [@genesislcap/foundation-notifications](./foundation-notifications.md) | |
12
+