@genesislcap/foundation-utils 15.73.0 → 15.75.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.
@@ -258,204 +258,6 @@
258
258
  }
259
259
  ]
260
260
  },
261
- {
262
- "kind": "javascript-module",
263
- "path": "src/data/inMemoryDatabase.ts",
264
- "declarations": [
265
- {
266
- "kind": "class",
267
- "description": "An in memory database of specific DatabaseRecord types.",
268
- "name": "InMemoryDatabase",
269
- "members": [
270
- {
271
- "kind": "field",
272
- "name": "isWorking",
273
- "type": {
274
- "text": "boolean"
275
- },
276
- "privacy": "public",
277
- "default": "false"
278
- },
279
- {
280
- "kind": "field",
281
- "name": "records",
282
- "type": {
283
- "text": "Record<string, T>"
284
- },
285
- "privacy": "private",
286
- "default": "{}"
287
- },
288
- {
289
- "kind": "field",
290
- "name": "beforeUpdateListeners",
291
- "privacy": "private"
292
- },
293
- {
294
- "kind": "field",
295
- "name": "afterUpdateListeners",
296
- "privacy": "private"
297
- },
298
- {
299
- "kind": "method",
300
- "name": "create",
301
- "privacy": "public",
302
- "return": {
303
- "type": {
304
- "text": "Promise<DatabaseAccessResult.Create<T>>"
305
- }
306
- },
307
- "parameters": [
308
- {
309
- "name": "newValue",
310
- "type": {
311
- "text": "Omit<T, 'id'>"
312
- }
313
- }
314
- ]
315
- },
316
- {
317
- "kind": "method",
318
- "name": "read",
319
- "privacy": "public",
320
- "return": {
321
- "type": {
322
- "text": "Promise<DatabaseAccessResult.Read<T>>"
323
- }
324
- },
325
- "parameters": [
326
- {
327
- "name": "id",
328
- "type": {
329
- "text": "string"
330
- }
331
- }
332
- ]
333
- },
334
- {
335
- "kind": "method",
336
- "name": "update",
337
- "privacy": "public",
338
- "return": {
339
- "type": {
340
- "text": "Promise<DatabaseAccessResult.Update<T>>"
341
- }
342
- },
343
- "parameters": [
344
- {
345
- "name": "id",
346
- "type": {
347
- "text": "string"
348
- }
349
- },
350
- {
351
- "name": "newValue",
352
- "type": {
353
- "text": "Omit<Partial<T>, 'id'>"
354
- }
355
- }
356
- ]
357
- },
358
- {
359
- "kind": "method",
360
- "name": "delete",
361
- "privacy": "public",
362
- "return": {
363
- "type": {
364
- "text": "Promise<DatabaseAccessResult.Delete>"
365
- }
366
- },
367
- "parameters": [
368
- {
369
- "name": "id",
370
- "type": {
371
- "text": "string"
372
- }
373
- }
374
- ]
375
- },
376
- {
377
- "kind": "method",
378
- "name": "visit",
379
- "privacy": "public",
380
- "return": {
381
- "type": {
382
- "text": "Promise<void>"
383
- }
384
- },
385
- "parameters": [
386
- {
387
- "name": "visitor",
388
- "type": {
389
- "text": "(record: T) => void"
390
- }
391
- }
392
- ]
393
- },
394
- {
395
- "kind": "method",
396
- "name": "onBeforeUpdate",
397
- "privacy": "public",
398
- "return": {
399
- "type": {
400
- "text": "() => void"
401
- }
402
- },
403
- "parameters": [
404
- {
405
- "name": "listener",
406
- "type": {
407
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
408
- }
409
- }
410
- ]
411
- },
412
- {
413
- "kind": "method",
414
- "name": "onAfterUpdate",
415
- "privacy": "public",
416
- "return": {
417
- "type": {
418
- "text": "() => void"
419
- }
420
- },
421
- "parameters": [
422
- {
423
- "name": "listener",
424
- "type": {
425
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
426
- }
427
- }
428
- ]
429
- }
430
- ]
431
- }
432
- ],
433
- "exports": [
434
- {
435
- "kind": "js",
436
- "name": "InMemoryDatabase",
437
- "declaration": {
438
- "name": "InMemoryDatabase",
439
- "module": "src/data/inMemoryDatabase.ts"
440
- }
441
- }
442
- ]
443
- },
444
- {
445
- "kind": "javascript-module",
446
- "path": "src/data/index.ts",
447
- "declarations": [],
448
- "exports": [
449
- {
450
- "kind": "js",
451
- "name": "*",
452
- "declaration": {
453
- "name": "*",
454
- "package": "./inMemoryDatabase"
455
- }
456
- }
457
- ]
458
- },
459
261
  {
460
262
  "kind": "javascript-module",
461
263
  "path": "src/design-system/design-system.ts",
@@ -580,7 +382,7 @@
580
382
  "type": {
581
383
  "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
582
384
  },
583
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
385
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n}",
584
386
  "description": "Design-system specific editable host selectors."
585
387
  },
586
388
  {
@@ -696,23 +498,198 @@
696
498
  },
697
499
  {
698
500
  "kind": "javascript-module",
699
- "path": "src/directives/index.ts",
700
- "declarations": [],
501
+ "path": "src/data/inMemoryDatabase.ts",
502
+ "declarations": [
503
+ {
504
+ "kind": "class",
505
+ "description": "An in memory database of specific DatabaseRecord types.",
506
+ "name": "InMemoryDatabase",
507
+ "members": [
508
+ {
509
+ "kind": "field",
510
+ "name": "isWorking",
511
+ "type": {
512
+ "text": "boolean"
513
+ },
514
+ "privacy": "public",
515
+ "default": "false"
516
+ },
517
+ {
518
+ "kind": "field",
519
+ "name": "records",
520
+ "type": {
521
+ "text": "Record<string, T>"
522
+ },
523
+ "privacy": "private",
524
+ "default": "{}"
525
+ },
526
+ {
527
+ "kind": "field",
528
+ "name": "beforeUpdateListeners",
529
+ "privacy": "private"
530
+ },
531
+ {
532
+ "kind": "field",
533
+ "name": "afterUpdateListeners",
534
+ "privacy": "private"
535
+ },
536
+ {
537
+ "kind": "method",
538
+ "name": "create",
539
+ "privacy": "public",
540
+ "return": {
541
+ "type": {
542
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
543
+ }
544
+ },
545
+ "parameters": [
546
+ {
547
+ "name": "newValue",
548
+ "type": {
549
+ "text": "Omit<T, 'id'>"
550
+ }
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "kind": "method",
556
+ "name": "read",
557
+ "privacy": "public",
558
+ "return": {
559
+ "type": {
560
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
561
+ }
562
+ },
563
+ "parameters": [
564
+ {
565
+ "name": "id",
566
+ "type": {
567
+ "text": "string"
568
+ }
569
+ }
570
+ ]
571
+ },
572
+ {
573
+ "kind": "method",
574
+ "name": "update",
575
+ "privacy": "public",
576
+ "return": {
577
+ "type": {
578
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
579
+ }
580
+ },
581
+ "parameters": [
582
+ {
583
+ "name": "id",
584
+ "type": {
585
+ "text": "string"
586
+ }
587
+ },
588
+ {
589
+ "name": "newValue",
590
+ "type": {
591
+ "text": "Omit<Partial<T>, 'id'>"
592
+ }
593
+ }
594
+ ]
595
+ },
596
+ {
597
+ "kind": "method",
598
+ "name": "delete",
599
+ "privacy": "public",
600
+ "return": {
601
+ "type": {
602
+ "text": "Promise<DatabaseAccessResult.Delete>"
603
+ }
604
+ },
605
+ "parameters": [
606
+ {
607
+ "name": "id",
608
+ "type": {
609
+ "text": "string"
610
+ }
611
+ }
612
+ ]
613
+ },
614
+ {
615
+ "kind": "method",
616
+ "name": "visit",
617
+ "privacy": "public",
618
+ "return": {
619
+ "type": {
620
+ "text": "Promise<void>"
621
+ }
622
+ },
623
+ "parameters": [
624
+ {
625
+ "name": "visitor",
626
+ "type": {
627
+ "text": "(record: T) => void"
628
+ }
629
+ }
630
+ ]
631
+ },
632
+ {
633
+ "kind": "method",
634
+ "name": "onBeforeUpdate",
635
+ "privacy": "public",
636
+ "return": {
637
+ "type": {
638
+ "text": "() => void"
639
+ }
640
+ },
641
+ "parameters": [
642
+ {
643
+ "name": "listener",
644
+ "type": {
645
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
646
+ }
647
+ }
648
+ ]
649
+ },
650
+ {
651
+ "kind": "method",
652
+ "name": "onAfterUpdate",
653
+ "privacy": "public",
654
+ "return": {
655
+ "type": {
656
+ "text": "() => void"
657
+ }
658
+ },
659
+ "parameters": [
660
+ {
661
+ "name": "listener",
662
+ "type": {
663
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
664
+ }
665
+ }
666
+ ]
667
+ }
668
+ ]
669
+ }
670
+ ],
701
671
  "exports": [
702
672
  {
703
673
  "kind": "js",
704
- "name": "*",
674
+ "name": "InMemoryDatabase",
705
675
  "declaration": {
706
- "name": "*",
707
- "package": "./sync"
676
+ "name": "InMemoryDatabase",
677
+ "module": "src/data/inMemoryDatabase.ts"
708
678
  }
709
- },
679
+ }
680
+ ]
681
+ },
682
+ {
683
+ "kind": "javascript-module",
684
+ "path": "src/data/index.ts",
685
+ "declarations": [],
686
+ "exports": [
710
687
  {
711
688
  "kind": "js",
712
689
  "name": "*",
713
690
  "declaration": {
714
691
  "name": "*",
715
- "package": "./when-else"
692
+ "package": "./inMemoryDatabase"
716
693
  }
717
694
  }
718
695
  ]
@@ -770,6 +747,29 @@
770
747
  }
771
748
  ]
772
749
  },
750
+ {
751
+ "kind": "javascript-module",
752
+ "path": "src/directives/index.ts",
753
+ "declarations": [],
754
+ "exports": [
755
+ {
756
+ "kind": "js",
757
+ "name": "*",
758
+ "declaration": {
759
+ "name": "*",
760
+ "package": "./sync"
761
+ }
762
+ },
763
+ {
764
+ "kind": "js",
765
+ "name": "*",
766
+ "declaration": {
767
+ "name": "*",
768
+ "package": "./when-else"
769
+ }
770
+ }
771
+ ]
772
+ },
773
773
  {
774
774
  "kind": "javascript-module",
775
775
  "path": "src/encoding/index.ts",
@@ -5062,7 +5062,7 @@
5062
5062
  "type": {
5063
5063
  "text": "Map<string, EventName>"
5064
5064
  },
5065
- "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
5065
+ "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n])",
5066
5066
  "description": "A map that associates specific HTML element tags with their corresponding default event names.",
5067
5067
  "privacy": "public"
5068
5068
  },
@@ -21,21 +21,21 @@ export type DesignSystemResource<T = DesignSystemModule> = Promise<T>;
21
21
  *
22
22
  * @example
23
23
  * ```ts
24
- * async function zeroDesignSystemImport(): Promise<DesignSystemModule> {
24
+ * async function rapidDesignSystemImport(): Promise<DesignSystemModule> {
25
25
  * let module: DesignSystemModule;
26
26
  * let type: ResourceType = ResourceType.remote;
27
27
  * try {
28
- * module = await import('foundationZero/ZeroDesignSystem');
28
+ * module = await import('foundationRapid/RapidDesignSystem');
29
29
  * return assureDesignSystem(module);
30
30
  * } catch (e) {
31
31
  * logger.info(
32
32
  * `Please note remoteEntry.js load errors are expected if module federated dependencies are offline. Falling back to locally bundled versions.`,
33
33
  * );
34
34
  * type = ResourceType.local;
35
- * module = await import('@genesislcap/foundation-zero');
35
+ * module = await import('@genesislcap/rapid-design-system');
36
36
  * return assureDesignSystem(module);
37
37
  * } finally {
38
- * logger.debug(`Using '${type}' version of foundation-zero`);
38
+ * logger.debug(`Using '${type}' version of rapid-design-system`);
39
39
  * }
40
40
  * }
41
41
  * ```
@@ -1,4 +1,4 @@
1
- export type EditableDesignSystemPrefix = 'rapid' | 'zero';
1
+ export type EditableDesignSystemPrefix = 'rapid';
2
2
  /**
3
3
  * Base selectors treated as editable context regardless of design system.
4
4
  * Includes native controls, contenteditable, and ARIA-editable roles.
@@ -1 +1 @@
1
- {"version":3,"file":"editable-elements.d.ts","sourceRoot":"","sources":["../../../src/design-system/editable-elements.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG,MAAM,CAAC;AAW1D;;;GAGG;AACH,eAAO,MAAM,+BAA+B,uKAIlC,CAAC;AAMX;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAC3D,0BAA0B,EAC1B,SAAS,MAAM,EAAE,CAIlB,CAAC;AAEF,wBAAgB,4BAA4B,CAC1C,aAAa,EAAE,SAAS,0BAA0B,EAAE,EACpD,uBAAuB,GAAE,SAAS,MAAM,EAAO,GAC9C,MAAM,CASR;AAsCD;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,aAAa,EACpB,gBAAgB,GAAE,MAA0C,GAC3D,OAAO,CAKT"}
1
+ {"version":3,"file":"editable-elements.d.ts","sourceRoot":"","sources":["../../../src/design-system/editable-elements.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAAC;AAWjD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,uKAIlC,CAAC;AAMX;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAC3D,0BAA0B,EAC1B,SAAS,MAAM,EAAE,CAGlB,CAAC;AAEF,wBAAgB,4BAA4B,CAC1C,aAAa,EAAE,SAAS,0BAA0B,EAAE,EACpD,uBAAuB,GAAE,SAAS,MAAM,EAAO,GAC9C,MAAM,CASR;AAsCD;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,aAAa,EACpB,gBAAgB,GAAE,MAA0C,GAC3D,OAAO,CAKT"}
@@ -1 +1 @@
1
- {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../src/directives/sync/sync.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAEjC;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAEtE;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAOjD,CAAC;AAiGH;;;GAGG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,EAC/C,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,EAClC,cAAc,GAAE,cAAyB,EACzC,SAAS,GAAE,SAAqB,EAChC,OAAO,CAAC,EAAE,MAAM,GACf,WAAW,CAAC,OAAO,CAAC,CAEtB"}
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../src/directives/sync/sync.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAEjC;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAEtE;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAMjD,CAAC;AAiGH;;;GAGG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAG,GAAG,EAAE,OAAO,GAAG,GAAG,EAC/C,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,EAClC,cAAc,GAAE,cAAyB,EACzC,SAAS,GAAE,SAAqB,EAChC,OAAO,CAAC,EAAE,MAAM,GACf,WAAW,CAAC,OAAO,CAAC,CAEtB"}
@@ -8,21 +8,21 @@ import { getAllElements, logger } from '../utils';
8
8
  *
9
9
  * @example
10
10
  * ```ts
11
- * async function zeroDesignSystemImport(): Promise<DesignSystemModule> {
11
+ * async function rapidDesignSystemImport(): Promise<DesignSystemModule> {
12
12
  * let module: DesignSystemModule;
13
13
  * let type: ResourceType = ResourceType.remote;
14
14
  * try {
15
- * module = await import('foundationZero/ZeroDesignSystem');
15
+ * module = await import('foundationRapid/RapidDesignSystem');
16
16
  * return assureDesignSystem(module);
17
17
  * } catch (e) {
18
18
  * logger.info(
19
19
  * `Please note remoteEntry.js load errors are expected if module federated dependencies are offline. Falling back to locally bundled versions.`,
20
20
  * );
21
21
  * type = ResourceType.local;
22
- * module = await import('@genesislcap/foundation-zero');
22
+ * module = await import('@genesislcap/rapid-design-system');
23
23
  * return assureDesignSystem(module);
24
24
  * } finally {
25
- * logger.debug(`Using '${type}' version of foundation-zero`);
25
+ * logger.debug(`Using '${type}' version of rapid-design-system`);
26
26
  * }
27
27
  * }
28
28
  * ```
@@ -21,7 +21,6 @@ const buildDesignSystemEditableSelectors = (prefix) => DESIGN_SYSTEM_EDITABLE_CO
21
21
  */
22
22
  export const DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS = {
23
23
  rapid: buildDesignSystemEditableSelectors('rapid'),
24
- zero: buildDesignSystemEditableSelectors('zero'),
25
24
  };
26
25
  export function buildEditableElementSelector(designSystems, customEditableSelectors = []) {
27
26
  const designSystemSelectors = designSystems.flatMap((designSystem) => { var _a; return (_a = DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS[designSystem]) !== null && _a !== void 0 ? _a : []; });
@@ -9,7 +9,6 @@ export const defaultEventMap = new Map([
9
9
  ['FOUNDATION-TEXT-AREA', 'input'],
10
10
  ['FOUNDATION-TEXT-FIELD', 'input'],
11
11
  ['INPUT', 'input'],
12
- ['ZERO-TEXT-FIELD', 'input'],
13
12
  ]);
14
13
  function customUpdateTarget(value) {
15
14
  if (this['keyAttr']) {
@@ -302,7 +302,7 @@ export class DefaultShortcutManager {
302
302
  }
303
303
  configureEditableContext(config = {}) {
304
304
  var _a, _b;
305
- const nextDesignSystems = ((_a = config.designSystems) !== null && _a !== void 0 ? _a : DEFAULT_SHORTCUT_EDITABLE_CONTEXT_CONFIG.designSystems).filter((value) => value === 'rapid' || value === 'zero');
305
+ const nextDesignSystems = ((_a = config.designSystems) !== null && _a !== void 0 ? _a : DEFAULT_SHORTCUT_EDITABLE_CONTEXT_CONFIG.designSystems).filter((value) => value === 'rapid');
306
306
  const nextCustomSelectors = ((_b = config.customEditableSelectors) !== null && _b !== void 0 ? _b : DEFAULT_SHORTCUT_EDITABLE_CONTEXT_CONFIG.customEditableSelectors)
307
307
  .map((value) => value === null || value === void 0 ? void 0 : value.trim())
308
308
  .filter((value) => !!value);
@@ -253,7 +253,7 @@
253
253
  {
254
254
  "kind": "Function",
255
255
  "canonicalReference": "@genesislcap/foundation-utils!assureDesignSystem:function(1)",
256
- "docComment": "/**\n * assureDesignSystem.\n *\n * @remarks\n *\n * Webpack caching strategies can backfill missing modules with placeholders in an attempt to prevent errors. In the case of offline remotes, we rely on the error to fall back to local versions. This utility assures we have a design system.\n *\n * @example\n * ```ts\n * async function zeroDesignSystemImport(): Promise<DesignSystemModule> {\n * let module: DesignSystemModule;\n * let type: ResourceType = ResourceType.remote;\n * try {\n * module = await import('foundationZero/ZeroDesignSystem');\n * return assureDesignSystem(module);\n * } catch (e) {\n * logger.info(\n * `Please note remoteEntry.js load errors are expected if module federated dependencies are offline. Falling back to locally bundled versions.`,\n * );\n * type = ResourceType.local;\n * module = await import('@genesislcap/foundation-zero');\n * return assureDesignSystem(module);\n * } finally {\n * logger.debug(`Using '${type}' version of foundation-zero`);\n * }\n * }\n * ```\n *\n * @example\n *\n * You should also instruct webpack to use strict module handling.\n * ```ts\n * output: {\n * strictModuleErrorHandling: true,\n * strictModuleExceptionHandling: true,\n * }\n * ```\n *\n * @public\n */\n",
256
+ "docComment": "/**\n * assureDesignSystem.\n *\n * @remarks\n *\n * Webpack caching strategies can backfill missing modules with placeholders in an attempt to prevent errors. In the case of offline remotes, we rely on the error to fall back to local versions. This utility assures we have a design system.\n *\n * @example\n * ```ts\n * async function rapidDesignSystemImport(): Promise<DesignSystemModule> {\n * let module: DesignSystemModule;\n * let type: ResourceType = ResourceType.remote;\n * try {\n * module = await import('foundationRapid/RapidDesignSystem');\n * return assureDesignSystem(module);\n * } catch (e) {\n * logger.info(\n * `Please note remoteEntry.js load errors are expected if module federated dependencies are offline. Falling back to locally bundled versions.`,\n * );\n * type = ResourceType.local;\n * module = await import('@genesislcap/rapid-design-system');\n * return assureDesignSystem(module);\n * } finally {\n * logger.debug(`Using '${type}' version of rapid-design-system`);\n * }\n * }\n * ```\n *\n * @example\n *\n * You should also instruct webpack to use strict module handling.\n * ```ts\n * output: {\n * strictModuleErrorHandling: true,\n * strictModuleExceptionHandling: true,\n * }\n * ```\n *\n * @public\n */\n",
257
257
  "excerptTokens": [
258
258
  {
259
259
  "kind": "Content",
@@ -4664,7 +4664,7 @@
4664
4664
  },
4665
4665
  {
4666
4666
  "kind": "Content",
4667
- "text": "'rapid' | 'zero'"
4667
+ "text": "'rapid'"
4668
4668
  },
4669
4669
  {
4670
4670
  "kind": "Content",
@@ -54,21 +54,21 @@ export declare const applyActivatedFeaturesToUrl: (url: URL, features: string[])
54
54
  *
55
55
  * @example
56
56
  * ```ts
57
- * async function zeroDesignSystemImport(): Promise<DesignSystemModule> {
57
+ * async function rapidDesignSystemImport(): Promise<DesignSystemModule> {
58
58
  * let module: DesignSystemModule;
59
59
  * let type: ResourceType = ResourceType.remote;
60
60
  * try {
61
- * module = await import('foundationZero/ZeroDesignSystem');
61
+ * module = await import('foundationRapid/RapidDesignSystem');
62
62
  * return assureDesignSystem(module);
63
63
  * } catch (e) {
64
64
  * logger.info(
65
65
  * `Please note remoteEntry.js load errors are expected if module federated dependencies are offline. Falling back to locally bundled versions.`,
66
66
  * );
67
67
  * type = ResourceType.local;
68
- * module = await import('@genesislcap/foundation-zero');
68
+ * module = await import('@genesislcap/rapid-design-system');
69
69
  * return assureDesignSystem(module);
70
70
  * } finally {
71
- * logger.debug(`Using '${type}' version of foundation-zero`);
71
+ * logger.debug(`Using '${type}' version of rapid-design-system`);
72
72
  * }
73
73
  * }
74
74
  * ```
@@ -522,7 +522,7 @@ export declare interface DTOMapper<TDTO, TEntity> {
522
522
  toDTO: (entity: Partial<TEntity>) => TDTO;
523
523
  }
524
524
 
525
- export declare type EditableDesignSystemPrefix = 'rapid' | 'zero';
525
+ export declare type EditableDesignSystemPrefix = 'rapid';
526
526
 
527
527
  export declare function emitShortcutBlockedEvent(detail: Omit<ShortcutBlockedEventDetail, 'blockedMessage'> & {
528
528
  blockedMessage?: ShortcutBlockedMessage;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "15.73.0",
4
+ "version": "15.75.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,17 +29,17 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "15.73.0",
33
- "@genesislcap/genx": "15.73.0",
34
- "@genesislcap/ts-builder": "15.73.0",
35
- "@genesislcap/uvu-playwright-builder": "15.73.0",
36
- "@genesislcap/vite-builder": "15.73.0",
37
- "@genesislcap/webpack-builder": "15.73.0",
32
+ "@genesislcap/foundation-testing": "15.75.0",
33
+ "@genesislcap/genx": "15.75.0",
34
+ "@genesislcap/ts-builder": "15.75.0",
35
+ "@genesislcap/uvu-playwright-builder": "15.75.0",
36
+ "@genesislcap/vite-builder": "15.75.0",
37
+ "@genesislcap/webpack-builder": "15.75.0",
38
38
  "@types/json-schema": "^7.0.11"
39
39
  },
40
40
  "dependencies": {
41
- "@genesislcap/expression-builder": "15.73.0",
42
- "@genesislcap/foundation-logger": "15.73.0",
41
+ "@genesislcap/expression-builder": "15.75.0",
42
+ "@genesislcap/foundation-logger": "15.75.0",
43
43
  "@microsoft/fast-components": "2.30.6",
44
44
  "@microsoft/fast-element": "1.14.0",
45
45
  "@microsoft/fast-foundation": "2.50.0",