@genesislcap/foundation-zero 14.487.0 → 14.488.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.
@@ -16268,118 +16268,91 @@
16268
16268
  },
16269
16269
  {
16270
16270
  "kind": "javascript-module",
16271
- "path": "src/error-boundary/error-boundary.ts",
16271
+ "path": "src/error-dialog/error-dialog.ts",
16272
16272
  "declarations": [
16273
- {
16274
- "kind": "variable",
16275
- "name": "zeroErrorBoundaryShadowOptions",
16276
- "type": {
16277
- "text": "ShadowRootInit"
16278
- },
16279
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
16280
- },
16281
16273
  {
16282
16274
  "kind": "class",
16283
16275
  "description": "",
16284
- "name": "ErrorBoundary",
16276
+ "name": "ErrorDialog",
16285
16277
  "superclass": {
16286
- "name": "FoundationErrorBoundary",
16278
+ "name": "FoundationErrorDialog",
16287
16279
  "package": "@genesislcap/foundation-ui"
16288
16280
  },
16289
- "deprecated": "true",
16290
- "tagName": "%%prefix%%-error-boundary",
16281
+ "tagName": "%%prefix%%-error-dialog",
16291
16282
  "customElement": true,
16292
- "attributes": [
16293
- {
16294
- "name": "resource-name",
16295
- "description": "The resource name holding new and existing notifications",
16296
- "fieldName": "resourceName",
16297
- "inheritedFrom": {
16298
- "name": "ErrorBoundary",
16299
- "module": "src/error-boundary/error-boundary.ts"
16300
- }
16301
- },
16302
- {
16303
- "name": "close-timeout",
16304
- "type": {
16305
- "text": "number"
16306
- },
16307
- "default": "0",
16308
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
16309
- "fieldName": "closeTimeout",
16310
- "inheritedFrom": {
16311
- "name": "ErrorBoundary",
16312
- "module": "src/error-boundary/error-boundary.ts"
16313
- }
16314
- }
16315
- ],
16316
16283
  "members": [
16317
16284
  {
16318
16285
  "kind": "field",
16319
- "name": "logger",
16320
- "privacy": "private",
16286
+ "name": "dialog",
16287
+ "type": {
16288
+ "text": "HTMLElement & { close: () => void; show: () => void }"
16289
+ },
16290
+ "privacy": "public",
16321
16291
  "inheritedFrom": {
16322
- "name": "ErrorBoundary",
16323
- "module": "src/error-boundary/error-boundary.ts"
16292
+ "name": "ErrorDialog",
16293
+ "module": "src/error-dialog/error-dialog.ts"
16324
16294
  }
16325
16295
  },
16326
16296
  {
16327
16297
  "kind": "field",
16328
- "name": "errorBoundary",
16298
+ "name": "error",
16329
16299
  "type": {
16330
- "text": "HTMLElement"
16300
+ "text": "ErrorStructure"
16331
16301
  },
16332
16302
  "inheritedFrom": {
16333
- "name": "ErrorBoundary",
16334
- "module": "src/error-boundary/error-boundary.ts"
16303
+ "name": "ErrorDialog",
16304
+ "module": "src/error-dialog/error-dialog.ts"
16335
16305
  }
16336
16306
  },
16337
16307
  {
16338
16308
  "kind": "field",
16339
- "name": "resourceName",
16340
- "description": "The resource name holding new and existing notifications",
16341
- "privacy": "public",
16309
+ "name": "notification",
16310
+ "type": {
16311
+ "text": "NotificationStructure"
16312
+ },
16342
16313
  "inheritedFrom": {
16343
- "name": "ErrorBoundary",
16344
- "module": "src/error-boundary/error-boundary.ts"
16314
+ "name": "ErrorDialog",
16315
+ "module": "src/error-dialog/error-dialog.ts"
16345
16316
  }
16346
16317
  },
16347
16318
  {
16348
- "kind": "field",
16349
- "name": "closeTimeout",
16350
- "type": {
16351
- "text": "number"
16352
- },
16353
- "default": "0",
16354
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
16319
+ "kind": "method",
16320
+ "name": "show",
16355
16321
  "privacy": "public",
16322
+ "return": {
16323
+ "type": {
16324
+ "text": "void"
16325
+ }
16326
+ },
16327
+ "description": "Show the Error Dialog.",
16356
16328
  "inheritedFrom": {
16357
- "name": "ErrorBoundary",
16358
- "module": "src/error-boundary/error-boundary.ts"
16329
+ "name": "ErrorDialog",
16330
+ "module": "src/error-dialog/error-dialog.ts"
16359
16331
  }
16360
16332
  },
16361
16333
  {
16362
- "kind": "field",
16363
- "name": "dataSub",
16364
- "type": {
16365
- "text": "Subscription"
16366
- },
16367
- "privacy": "protected",
16334
+ "kind": "method",
16335
+ "name": "dismiss",
16336
+ "privacy": "public",
16337
+ "description": "Dismiss the Error Dialog from display and calls the dismissing action.",
16368
16338
  "inheritedFrom": {
16369
- "name": "ErrorBoundary",
16370
- "module": "src/error-boundary/error-boundary.ts"
16339
+ "name": "ErrorDialog",
16340
+ "module": "src/error-dialog/error-dialog.ts"
16371
16341
  }
16372
16342
  },
16373
16343
  {
16374
- "kind": "field",
16375
- "name": "datasource",
16376
- "type": {
16377
- "text": "Datasource"
16344
+ "kind": "method",
16345
+ "name": "closeDialog",
16346
+ "privacy": "public",
16347
+ "return": {
16348
+ "type": {
16349
+ "text": "void"
16350
+ }
16378
16351
  },
16379
- "privacy": "private",
16352
+ "description": "Dismiss the Error Dialog from display.",
16380
16353
  "inheritedFrom": {
16381
- "name": "ErrorBoundary",
16382
- "module": "src/error-boundary/error-boundary.ts"
16354
+ "name": "ErrorDialog",
16355
+ "module": "src/error-dialog/error-dialog.ts"
16383
16356
  }
16384
16357
  },
16385
16358
  {
@@ -16497,39 +16470,33 @@
16497
16470
  },
16498
16471
  {
16499
16472
  "kind": "variable",
16500
- "name": "zeroErrorBoundary"
16473
+ "name": "zeroErrorDialog",
16474
+ "description": "The zero ErrorDialog",
16475
+ "privacy": "public"
16501
16476
  }
16502
16477
  ],
16503
16478
  "exports": [
16504
16479
  {
16505
16480
  "kind": "js",
16506
- "name": "zeroErrorBoundaryShadowOptions",
16507
- "declaration": {
16508
- "name": "zeroErrorBoundaryShadowOptions",
16509
- "module": "src/error-boundary/error-boundary.ts"
16510
- }
16511
- },
16512
- {
16513
- "kind": "js",
16514
- "name": "ErrorBoundary",
16481
+ "name": "ErrorDialog",
16515
16482
  "declaration": {
16516
- "name": "ErrorBoundary",
16517
- "module": "src/error-boundary/error-boundary.ts"
16483
+ "name": "ErrorDialog",
16484
+ "module": "src/error-dialog/error-dialog.ts"
16518
16485
  }
16519
16486
  },
16520
16487
  {
16521
16488
  "kind": "js",
16522
- "name": "zeroErrorBoundary",
16489
+ "name": "zeroErrorDialog",
16523
16490
  "declaration": {
16524
- "name": "zeroErrorBoundary",
16525
- "module": "src/error-boundary/error-boundary.ts"
16491
+ "name": "zeroErrorDialog",
16492
+ "module": "src/error-dialog/error-dialog.ts"
16526
16493
  }
16527
16494
  }
16528
16495
  ]
16529
16496
  },
16530
16497
  {
16531
16498
  "kind": "javascript-module",
16532
- "path": "src/error-boundary/index.ts",
16499
+ "path": "src/error-dialog/index.ts",
16533
16500
  "declarations": [],
16534
16501
  "exports": [
16535
16502
  {
@@ -16537,98 +16504,125 @@
16537
16504
  "name": "*",
16538
16505
  "declaration": {
16539
16506
  "name": "*",
16540
- "package": "./error-boundary"
16507
+ "package": "./error-dialog"
16541
16508
  }
16542
16509
  }
16543
16510
  ]
16544
16511
  },
16545
16512
  {
16546
16513
  "kind": "javascript-module",
16547
- "path": "src/error-dialog/error-dialog.ts",
16514
+ "path": "src/error-boundary/error-boundary.ts",
16548
16515
  "declarations": [
16516
+ {
16517
+ "kind": "variable",
16518
+ "name": "zeroErrorBoundaryShadowOptions",
16519
+ "type": {
16520
+ "text": "ShadowRootInit"
16521
+ },
16522
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
16523
+ },
16549
16524
  {
16550
16525
  "kind": "class",
16551
16526
  "description": "",
16552
- "name": "ErrorDialog",
16527
+ "name": "ErrorBoundary",
16553
16528
  "superclass": {
16554
- "name": "FoundationErrorDialog",
16529
+ "name": "FoundationErrorBoundary",
16555
16530
  "package": "@genesislcap/foundation-ui"
16556
16531
  },
16557
- "tagName": "%%prefix%%-error-dialog",
16532
+ "deprecated": "true",
16533
+ "tagName": "%%prefix%%-error-boundary",
16558
16534
  "customElement": true,
16559
- "members": [
16535
+ "attributes": [
16560
16536
  {
16561
- "kind": "field",
16562
- "name": "dialog",
16563
- "type": {
16564
- "text": "HTMLElement & { close: () => void; show: () => void }"
16565
- },
16566
- "privacy": "public",
16537
+ "name": "resource-name",
16538
+ "description": "The resource name holding new and existing notifications",
16539
+ "fieldName": "resourceName",
16567
16540
  "inheritedFrom": {
16568
- "name": "ErrorDialog",
16569
- "module": "src/error-dialog/error-dialog.ts"
16541
+ "name": "ErrorBoundary",
16542
+ "module": "src/error-boundary/error-boundary.ts"
16570
16543
  }
16571
16544
  },
16572
16545
  {
16573
- "kind": "field",
16574
- "name": "error",
16546
+ "name": "close-timeout",
16575
16547
  "type": {
16576
- "text": "ErrorStructure"
16548
+ "text": "number"
16577
16549
  },
16550
+ "default": "0",
16551
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
16552
+ "fieldName": "closeTimeout",
16578
16553
  "inheritedFrom": {
16579
- "name": "ErrorDialog",
16580
- "module": "src/error-dialog/error-dialog.ts"
16554
+ "name": "ErrorBoundary",
16555
+ "module": "src/error-boundary/error-boundary.ts"
16556
+ }
16557
+ }
16558
+ ],
16559
+ "members": [
16560
+ {
16561
+ "kind": "field",
16562
+ "name": "logger",
16563
+ "privacy": "private",
16564
+ "inheritedFrom": {
16565
+ "name": "ErrorBoundary",
16566
+ "module": "src/error-boundary/error-boundary.ts"
16581
16567
  }
16582
16568
  },
16583
16569
  {
16584
16570
  "kind": "field",
16585
- "name": "notification",
16571
+ "name": "errorBoundary",
16586
16572
  "type": {
16587
- "text": "NotificationStructure"
16573
+ "text": "HTMLElement"
16588
16574
  },
16589
16575
  "inheritedFrom": {
16590
- "name": "ErrorDialog",
16591
- "module": "src/error-dialog/error-dialog.ts"
16576
+ "name": "ErrorBoundary",
16577
+ "module": "src/error-boundary/error-boundary.ts"
16592
16578
  }
16593
16579
  },
16594
16580
  {
16595
- "kind": "method",
16596
- "name": "show",
16581
+ "kind": "field",
16582
+ "name": "resourceName",
16583
+ "description": "The resource name holding new and existing notifications",
16597
16584
  "privacy": "public",
16598
- "return": {
16599
- "type": {
16600
- "text": "void"
16601
- }
16602
- },
16603
- "description": "Show the Error Dialog.",
16604
16585
  "inheritedFrom": {
16605
- "name": "ErrorDialog",
16606
- "module": "src/error-dialog/error-dialog.ts"
16586
+ "name": "ErrorBoundary",
16587
+ "module": "src/error-boundary/error-boundary.ts"
16607
16588
  }
16608
16589
  },
16609
16590
  {
16610
- "kind": "method",
16611
- "name": "dismiss",
16591
+ "kind": "field",
16592
+ "name": "closeTimeout",
16593
+ "type": {
16594
+ "text": "number"
16595
+ },
16596
+ "default": "0",
16597
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
16612
16598
  "privacy": "public",
16613
- "description": "Dismiss the Error Dialog from display and calls the dismissing action.",
16614
16599
  "inheritedFrom": {
16615
- "name": "ErrorDialog",
16616
- "module": "src/error-dialog/error-dialog.ts"
16600
+ "name": "ErrorBoundary",
16601
+ "module": "src/error-boundary/error-boundary.ts"
16617
16602
  }
16618
16603
  },
16619
16604
  {
16620
- "kind": "method",
16621
- "name": "closeDialog",
16622
- "privacy": "public",
16623
- "return": {
16624
- "type": {
16625
- "text": "void"
16626
- }
16605
+ "kind": "field",
16606
+ "name": "dataSub",
16607
+ "type": {
16608
+ "text": "Subscription"
16627
16609
  },
16628
- "description": "Dismiss the Error Dialog from display.",
16610
+ "privacy": "protected",
16629
16611
  "inheritedFrom": {
16630
- "name": "ErrorDialog",
16631
- "module": "src/error-dialog/error-dialog.ts"
16612
+ "name": "ErrorBoundary",
16613
+ "module": "src/error-boundary/error-boundary.ts"
16614
+ }
16615
+ },
16616
+ {
16617
+ "kind": "field",
16618
+ "name": "datasource",
16619
+ "type": {
16620
+ "text": "Datasource"
16621
+ },
16622
+ "privacy": "private",
16623
+ "inheritedFrom": {
16624
+ "name": "ErrorBoundary",
16625
+ "module": "src/error-boundary/error-boundary.ts"
16632
16626
  }
16633
16627
  },
16634
16628
  {
@@ -16746,33 +16740,39 @@
16746
16740
  },
16747
16741
  {
16748
16742
  "kind": "variable",
16749
- "name": "zeroErrorDialog",
16750
- "description": "The zero ErrorDialog",
16751
- "privacy": "public"
16743
+ "name": "zeroErrorBoundary"
16752
16744
  }
16753
16745
  ],
16754
16746
  "exports": [
16755
16747
  {
16756
16748
  "kind": "js",
16757
- "name": "ErrorDialog",
16749
+ "name": "zeroErrorBoundaryShadowOptions",
16758
16750
  "declaration": {
16759
- "name": "ErrorDialog",
16760
- "module": "src/error-dialog/error-dialog.ts"
16751
+ "name": "zeroErrorBoundaryShadowOptions",
16752
+ "module": "src/error-boundary/error-boundary.ts"
16761
16753
  }
16762
16754
  },
16763
16755
  {
16764
16756
  "kind": "js",
16765
- "name": "zeroErrorDialog",
16757
+ "name": "ErrorBoundary",
16766
16758
  "declaration": {
16767
- "name": "zeroErrorDialog",
16768
- "module": "src/error-dialog/error-dialog.ts"
16759
+ "name": "ErrorBoundary",
16760
+ "module": "src/error-boundary/error-boundary.ts"
16761
+ }
16762
+ },
16763
+ {
16764
+ "kind": "js",
16765
+ "name": "zeroErrorBoundary",
16766
+ "declaration": {
16767
+ "name": "zeroErrorBoundary",
16768
+ "module": "src/error-boundary/error-boundary.ts"
16769
16769
  }
16770
16770
  }
16771
16771
  ]
16772
16772
  },
16773
16773
  {
16774
16774
  "kind": "javascript-module",
16775
- "path": "src/error-dialog/index.ts",
16775
+ "path": "src/error-boundary/index.ts",
16776
16776
  "declarations": [],
16777
16777
  "exports": [
16778
16778
  {
@@ -16780,7 +16780,7 @@
16780
16780
  "name": "*",
16781
16781
  "declaration": {
16782
16782
  "name": "*",
16783
- "package": "./error-dialog"
16783
+ "package": "./error-boundary"
16784
16784
  }
16785
16785
  }
16786
16786
  ]
@@ -402,23 +402,23 @@ export declare const ErrorBanner: React.ForwardRefExoticComponent<
402
402
  >;
403
403
  export type ErrorBannerRef = ErrorBannerWC;
404
404
 
405
- export declare const ErrorBoundary: React.ForwardRefExoticComponent<
405
+ export declare const ErrorDialog: React.ForwardRefExoticComponent<
406
406
  React.PropsWithChildren<
407
- Omit<PublicOf<ErrorBoundaryWC>, 'children' | 'style'> &
407
+ Omit<PublicOf<ErrorDialogWC>, 'children' | 'style'> &
408
408
  HTMLWCProps & {
409
409
  }
410
- > & React.RefAttributes<ErrorBoundaryWC>
410
+ > & React.RefAttributes<ErrorDialogWC>
411
411
  >;
412
- export type ErrorBoundaryRef = ErrorBoundaryWC;
412
+ export type ErrorDialogRef = ErrorDialogWC;
413
413
 
414
- export declare const ErrorDialog: React.ForwardRefExoticComponent<
414
+ export declare const ErrorBoundary: React.ForwardRefExoticComponent<
415
415
  React.PropsWithChildren<
416
- Omit<PublicOf<ErrorDialogWC>, 'children' | 'style'> &
416
+ Omit<PublicOf<ErrorBoundaryWC>, 'children' | 'style'> &
417
417
  HTMLWCProps & {
418
418
  }
419
- > & React.RefAttributes<ErrorDialogWC>
419
+ > & React.RefAttributes<ErrorBoundaryWC>
420
420
  >;
421
- export type ErrorDialogRef = ErrorDialogWC;
421
+ export type ErrorBoundaryRef = ErrorBoundaryWC;
422
422
 
423
423
  export declare const ZeroExpressionBuilder: React.ForwardRefExoticComponent<
424
424
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -358,14 +358,14 @@ const ErrorBanner = React.forwardRef(function ErrorBanner(props, ref) {
358
358
  return React.createElement(customElements.getName(ErrorBannerWC) ?? '%%prefix%%-error-banner', { ...rest, ref }, children);
359
359
  });
360
360
 
361
- const ErrorBoundary = React.forwardRef(function ErrorBoundary(props, ref) {
361
+ const ErrorDialog = React.forwardRef(function ErrorDialog(props, ref) {
362
362
  const { children, ...rest } = props;
363
- return React.createElement(customElements.getName(ErrorBoundaryWC) ?? '%%prefix%%-error-boundary', { ...rest, ref }, children);
363
+ return React.createElement(customElements.getName(ErrorDialogWC) ?? '%%prefix%%-error-dialog', { ...rest, ref }, children);
364
364
  });
365
365
 
366
- const ErrorDialog = React.forwardRef(function ErrorDialog(props, ref) {
366
+ const ErrorBoundary = React.forwardRef(function ErrorBoundary(props, ref) {
367
367
  const { children, ...rest } = props;
368
- return React.createElement(customElements.getName(ErrorDialogWC) ?? '%%prefix%%-error-dialog', { ...rest, ref }, children);
368
+ return React.createElement(customElements.getName(ErrorBoundaryWC) ?? '%%prefix%%-error-boundary', { ...rest, ref }, children);
369
369
  });
370
370
 
371
371
  const ZeroExpressionBuilder = React.forwardRef(function ZeroExpressionBuilder(props, ref) {
@@ -1016,8 +1016,8 @@ module.exports = {
1016
1016
  DropdownMenu,
1017
1017
  EnvironmentIndicator,
1018
1018
  ErrorBanner,
1019
- ErrorBoundary,
1020
1019
  ErrorDialog,
1020
+ ErrorBoundary,
1021
1021
  ZeroExpressionBuilder,
1022
1022
  ZeroRuleExpressionBuilder,
1023
1023
  ZeroValueExpressionBuilder,
package/dist/react.mjs CHANGED
@@ -356,14 +356,14 @@ export const ErrorBanner = React.forwardRef(function ErrorBanner(props, ref) {
356
356
  return React.createElement(customElements.getName(ErrorBannerWC) ?? '%%prefix%%-error-banner', { ...rest, ref }, children);
357
357
  });
358
358
 
359
- export const ErrorBoundary = React.forwardRef(function ErrorBoundary(props, ref) {
359
+ export const ErrorDialog = React.forwardRef(function ErrorDialog(props, ref) {
360
360
  const { children, ...rest } = props;
361
- return React.createElement(customElements.getName(ErrorBoundaryWC) ?? '%%prefix%%-error-boundary', { ...rest, ref }, children);
361
+ return React.createElement(customElements.getName(ErrorDialogWC) ?? '%%prefix%%-error-dialog', { ...rest, ref }, children);
362
362
  });
363
363
 
364
- export const ErrorDialog = React.forwardRef(function ErrorDialog(props, ref) {
364
+ export const ErrorBoundary = React.forwardRef(function ErrorBoundary(props, ref) {
365
365
  const { children, ...rest } = props;
366
- return React.createElement(customElements.getName(ErrorDialogWC) ?? '%%prefix%%-error-dialog', { ...rest, ref }, children);
366
+ return React.createElement(customElements.getName(ErrorBoundaryWC) ?? '%%prefix%%-error-boundary', { ...rest, ref }, children);
367
367
  });
368
368
 
369
369
  export const ZeroExpressionBuilder = React.forwardRef(function ZeroExpressionBuilder(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "14.487.0",
4
+ "version": "14.488.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -73,18 +73,18 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
76
- "@genesislcap/genx": "14.487.0",
77
- "@genesislcap/rollup-builder": "14.487.0",
78
- "@genesislcap/ts-builder": "14.487.0",
79
- "@genesislcap/uvu-playwright-builder": "14.487.0",
80
- "@genesislcap/vite-builder": "14.487.0",
81
- "@genesislcap/webpack-builder": "14.487.0"
76
+ "@genesislcap/genx": "14.488.0",
77
+ "@genesislcap/rollup-builder": "14.488.0",
78
+ "@genesislcap/ts-builder": "14.488.0",
79
+ "@genesislcap/uvu-playwright-builder": "14.488.0",
80
+ "@genesislcap/vite-builder": "14.488.0",
81
+ "@genesislcap/webpack-builder": "14.488.0"
82
82
  },
83
83
  "dependencies": {
84
- "@genesislcap/foundation-comms": "14.487.0",
85
- "@genesislcap/foundation-logger": "14.487.0",
86
- "@genesislcap/foundation-ui": "14.487.0",
87
- "@genesislcap/foundation-utils": "14.487.0",
84
+ "@genesislcap/foundation-comms": "14.488.0",
85
+ "@genesislcap/foundation-logger": "14.488.0",
86
+ "@genesislcap/foundation-ui": "14.488.0",
87
+ "@genesislcap/foundation-utils": "14.488.0",
88
88
  "@microsoft/fast-colors": "5.3.1",
89
89
  "@microsoft/fast-components": "2.30.6",
90
90
  "@microsoft/fast-element": "1.14.0",
@@ -111,5 +111,5 @@
111
111
  "require": "./dist/react.cjs"
112
112
  }
113
113
  },
114
- "gitHead": "e91b34059e2dab1ad9b0799de26c31f3fdfc0ece"
114
+ "gitHead": "621daeb7e3612007d300f8510bb6d12b80a5cb53"
115
115
  }