@genesislcap/foundation-errors 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/error-banner-launcher.d.ts +1 -1
- package/dist/dts/dialog/error-dialog-launcher.d.ts +1 -1
- package/dist/dts/error-launcher.d.ts +1 -1
- package/dist/dts/error-util.d.ts +1 -1
- package/dist/dts/notification/notification-launcher.d.ts +1 -1
- package/dist/dts/snackbar/snackbar-launcher.d.ts +1 -1
- package/dist/dts/types.d.ts +2 -2
- package/dist/foundation-errors.api.json +15 -10
- package/dist/foundation-errors.d.ts +8 -8
- package/package.json +10 -10
|
@@ -6,5 +6,5 @@ import { ErrorStructure } from '../types';
|
|
|
6
6
|
* @param tagName - The tag name to create prefix for the design system provider & error component
|
|
7
7
|
* @returns
|
|
8
8
|
* */
|
|
9
|
-
export declare const showBanner: (error: ErrorStructure, tagName:
|
|
9
|
+
export declare const showBanner: (error: ErrorStructure, tagName: String, errorBoundary: HTMLElement) => void;
|
|
10
10
|
//# sourceMappingURL=error-banner-launcher.d.ts.map
|
|
@@ -6,5 +6,5 @@ import { ErrorStructure } from '../types';
|
|
|
6
6
|
* @param tagName - The tag name to create prefix for the design system provider & error component
|
|
7
7
|
* @returns
|
|
8
8
|
* */
|
|
9
|
-
export declare const showDialog: (error: ErrorStructure, tagName:
|
|
9
|
+
export declare const showDialog: (error: ErrorStructure, tagName: String) => void;
|
|
10
10
|
//# sourceMappingURL=error-dialog-launcher.d.ts.map
|
|
@@ -7,5 +7,5 @@ import { ErrorStructure } from './types';
|
|
|
7
7
|
* @param errorBoundary - The error boundary element
|
|
8
8
|
* @returns
|
|
9
9
|
* */
|
|
10
|
-
export declare const showError: (error: ErrorStructure, tagName:
|
|
10
|
+
export declare const showError: (error: ErrorStructure, tagName: String, errorBoundary?: HTMLElement) => void;
|
|
11
11
|
//# sourceMappingURL=error-launcher.d.ts.map
|
package/dist/dts/error-util.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare const getLoglevel: (details: ErrorStructure) => LogLevel;
|
|
|
21
21
|
* @param tagName - The tag name to create prefix for the design system provider
|
|
22
22
|
* @returns
|
|
23
23
|
*/
|
|
24
|
-
export declare const getErrorContainer: (id: string, tagName:
|
|
24
|
+
export declare const getErrorContainer: (id: string, tagName: String) => HTMLElement;
|
|
25
25
|
/**
|
|
26
26
|
* Get the error banner anchor to attach the banner to
|
|
27
27
|
* @public
|
|
@@ -6,5 +6,5 @@ import { ErrorStructure } from '../types';
|
|
|
6
6
|
* @param tagName - The tag name to create prefix for the design system provider & error component
|
|
7
7
|
* @returns
|
|
8
8
|
* */
|
|
9
|
-
export declare const showNotification: (error: ErrorStructure, tagName:
|
|
9
|
+
export declare const showNotification: (error: ErrorStructure, tagName: String) => void;
|
|
10
10
|
//# sourceMappingURL=notification-launcher.d.ts.map
|
|
@@ -6,5 +6,5 @@ import { ErrorStructure } from '../types';
|
|
|
6
6
|
* @param tagName - The tag name to create prefix for the design system provider & error component
|
|
7
7
|
* @returns
|
|
8
8
|
* */
|
|
9
|
-
export declare const showSnackbar: (error: ErrorStructure, tagName:
|
|
9
|
+
export declare const showSnackbar: (error: ErrorStructure, tagName: String) => void;
|
|
10
10
|
//# sourceMappingURL=snackbar-launcher.d.ts.map
|
package/dist/dts/types.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface ErrorNotification {
|
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
33
|
export interface DismissingAction {
|
|
34
|
-
readonly label:
|
|
34
|
+
readonly label: String;
|
|
35
35
|
readonly action?: Function;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
@@ -39,7 +39,7 @@ export interface DismissingAction {
|
|
|
39
39
|
* @public
|
|
40
40
|
*/
|
|
41
41
|
export interface ConfirmingAction {
|
|
42
|
-
readonly label:
|
|
42
|
+
readonly label: String;
|
|
43
43
|
readonly action: Function;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
@@ -225,8 +225,9 @@
|
|
|
225
225
|
"text": "readonly label: "
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
|
-
"kind": "
|
|
229
|
-
"text": "
|
|
228
|
+
"kind": "Reference",
|
|
229
|
+
"text": "String",
|
|
230
|
+
"canonicalReference": "!String:interface"
|
|
230
231
|
},
|
|
231
232
|
{
|
|
232
233
|
"kind": "Content",
|
|
@@ -298,8 +299,9 @@
|
|
|
298
299
|
"text": "readonly label: "
|
|
299
300
|
},
|
|
300
301
|
{
|
|
301
|
-
"kind": "
|
|
302
|
-
"text": "
|
|
302
|
+
"kind": "Reference",
|
|
303
|
+
"text": "String",
|
|
304
|
+
"canonicalReference": "!String:interface"
|
|
303
305
|
},
|
|
304
306
|
{
|
|
305
307
|
"kind": "Content",
|
|
@@ -1746,8 +1748,9 @@
|
|
|
1746
1748
|
"text": ", tagName: "
|
|
1747
1749
|
},
|
|
1748
1750
|
{
|
|
1749
|
-
"kind": "
|
|
1750
|
-
"text": "
|
|
1751
|
+
"kind": "Reference",
|
|
1752
|
+
"text": "String",
|
|
1753
|
+
"canonicalReference": "!String:interface"
|
|
1751
1754
|
},
|
|
1752
1755
|
{
|
|
1753
1756
|
"kind": "Content",
|
|
@@ -2214,8 +2217,9 @@
|
|
|
2214
2217
|
"text": ", tagName: "
|
|
2215
2218
|
},
|
|
2216
2219
|
{
|
|
2217
|
-
"kind": "
|
|
2218
|
-
"text": "
|
|
2220
|
+
"kind": "Reference",
|
|
2221
|
+
"text": "String",
|
|
2222
|
+
"canonicalReference": "!String:interface"
|
|
2219
2223
|
},
|
|
2220
2224
|
{
|
|
2221
2225
|
"kind": "Content",
|
|
@@ -2289,8 +2293,9 @@
|
|
|
2289
2293
|
"text": ", tagName: "
|
|
2290
2294
|
},
|
|
2291
2295
|
{
|
|
2292
|
-
"kind": "
|
|
2293
|
-
"text": "
|
|
2296
|
+
"kind": "Reference",
|
|
2297
|
+
"text": "String",
|
|
2298
|
+
"canonicalReference": "!String:interface"
|
|
2294
2299
|
},
|
|
2295
2300
|
{
|
|
2296
2301
|
"kind": "Content",
|
|
@@ -5,7 +5,7 @@ import { LogLevel } from '@genesislcap/foundation-logger';
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare interface ConfirmingAction {
|
|
8
|
-
readonly label:
|
|
8
|
+
readonly label: String;
|
|
9
9
|
readonly action: Function;
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ export declare interface ConfirmingAction {
|
|
|
14
14
|
* @public
|
|
15
15
|
*/
|
|
16
16
|
export declare interface DismissingAction {
|
|
17
|
-
readonly label:
|
|
17
|
+
readonly label: String;
|
|
18
18
|
readonly action?: Function;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -263,7 +263,7 @@ export declare const getErrorBuilder: () => ErrorBuilder;
|
|
|
263
263
|
* @param tagName - The tag name to create prefix for the design system provider
|
|
264
264
|
* @returns
|
|
265
265
|
*/
|
|
266
|
-
export declare const getErrorContainer: (id: string, tagName:
|
|
266
|
+
export declare const getErrorContainer: (id: string, tagName: String) => HTMLElement;
|
|
267
267
|
|
|
268
268
|
/**
|
|
269
269
|
* Retrieves the error details from an ErrorStructure object
|
|
@@ -350,7 +350,7 @@ export declare class NotificationBuilder {
|
|
|
350
350
|
* @param tagName - The tag name to create prefix for the design system provider & error component
|
|
351
351
|
* @returns
|
|
352
352
|
* */
|
|
353
|
-
export declare const showBanner: (error: ErrorStructure, tagName:
|
|
353
|
+
export declare const showBanner: (error: ErrorStructure, tagName: String, errorBoundary: HTMLElement) => void;
|
|
354
354
|
|
|
355
355
|
/**
|
|
356
356
|
* Shows the error dialog
|
|
@@ -359,7 +359,7 @@ export declare const showBanner: (error: ErrorStructure, tagName: string, errorB
|
|
|
359
359
|
* @param tagName - The tag name to create prefix for the design system provider & error component
|
|
360
360
|
* @returns
|
|
361
361
|
* */
|
|
362
|
-
export declare const showDialog: (error: ErrorStructure, tagName:
|
|
362
|
+
export declare const showDialog: (error: ErrorStructure, tagName: String) => void;
|
|
363
363
|
|
|
364
364
|
/**
|
|
365
365
|
* Shows the error in the appropriate component
|
|
@@ -369,7 +369,7 @@ export declare const showDialog: (error: ErrorStructure, tagName: string) => voi
|
|
|
369
369
|
* @param errorBoundary - The error boundary element
|
|
370
370
|
* @returns
|
|
371
371
|
* */
|
|
372
|
-
export declare const showError: (error: ErrorStructure, tagName:
|
|
372
|
+
export declare const showError: (error: ErrorStructure, tagName: String, errorBoundary?: HTMLElement) => void;
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
375
|
* Shows the error notification
|
|
@@ -378,7 +378,7 @@ export declare const showError: (error: ErrorStructure, tagName: string, errorBo
|
|
|
378
378
|
* @param tagName - The tag name to create prefix for the design system provider & error component
|
|
379
379
|
* @returns
|
|
380
380
|
* */
|
|
381
|
-
export declare const showNotification: (error: ErrorStructure, tagName:
|
|
381
|
+
export declare const showNotification: (error: ErrorStructure, tagName: String) => void;
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
384
|
* Shows the snackbar
|
|
@@ -387,7 +387,7 @@ export declare const showNotification: (error: ErrorStructure, tagName: string)
|
|
|
387
387
|
* @param tagName - The tag name to create prefix for the design system provider & error component
|
|
388
388
|
* @returns
|
|
389
389
|
* */
|
|
390
|
-
export declare const showSnackbar: (error: ErrorStructure, tagName:
|
|
390
|
+
export declare const showSnackbar: (error: ErrorStructure, tagName: String) => void;
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* Interface for Error Snackbar configuration
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-errors",
|
|
3
3
|
"description": "Genesis Foundation UI Error 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,16 +51,16 @@
|
|
|
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.
|
|
63
|
+
"@genesislcap/foundation-logger": "14.437.0"
|
|
64
64
|
},
|
|
65
65
|
"repository": {
|
|
66
66
|
"type": "git",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "c30c777f0ab5e45f4e931a9cc1200ac85bcace35"
|
|
74
74
|
}
|