@genesislcap/foundation-utils 15.36.1 → 15.37.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 (2) hide show
  1. package/dist/custom-elements.json +253 -253
  2. package/package.json +10 -10
@@ -209,246 +209,6 @@
209
209
  }
210
210
  ]
211
211
  },
212
- {
213
- "kind": "javascript-module",
214
- "path": "src/design-system/design-system.ts",
215
- "declarations": [
216
- {
217
- "kind": "function",
218
- "name": "assureDesignSystem",
219
- "return": {
220
- "type": {
221
- "text": "DesignSystemModule"
222
- }
223
- },
224
- "parameters": [
225
- {
226
- "name": "module",
227
- "type": {
228
- "text": "DesignSystemModule"
229
- }
230
- }
231
- ],
232
- "description": "assureDesignSystem.",
233
- "privacy": "public"
234
- },
235
- {
236
- "kind": "function",
237
- "name": "getCurrentDesignSystem",
238
- "return": {
239
- "type": {
240
- "text": ""
241
- }
242
- },
243
- "parameters": [
244
- {
245
- "name": "element",
246
- "type": {
247
- "text": "HTMLElement"
248
- },
249
- "description": "The starting HTML element"
250
- },
251
- {
252
- "name": "fallbackPrefix",
253
- "type": {
254
- "text": "string"
255
- },
256
- "description": "The prefix to fallback to if the provider is not available"
257
- }
258
- ],
259
- "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
260
- "privacy": "public"
261
- },
262
- {
263
- "kind": "function",
264
- "name": "getCurrentDesignSystemPrefix",
265
- "return": {
266
- "type": {
267
- "text": ""
268
- }
269
- },
270
- "parameters": [
271
- {
272
- "name": "element",
273
- "type": {
274
- "text": "HTMLElement"
275
- },
276
- "description": "The starting HTML element"
277
- },
278
- {
279
- "name": "fallbackPrefix",
280
- "type": {
281
- "text": "string"
282
- },
283
- "description": "The prefix to fallback to if the provider is not available"
284
- }
285
- ],
286
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
287
- "privacy": "public"
288
- }
289
- ],
290
- "exports": [
291
- {
292
- "kind": "js",
293
- "name": "assureDesignSystem",
294
- "declaration": {
295
- "name": "assureDesignSystem",
296
- "module": "src/design-system/design-system.ts"
297
- }
298
- },
299
- {
300
- "kind": "js",
301
- "name": "getCurrentDesignSystem",
302
- "declaration": {
303
- "name": "getCurrentDesignSystem",
304
- "module": "src/design-system/design-system.ts"
305
- }
306
- },
307
- {
308
- "kind": "js",
309
- "name": "getCurrentDesignSystemPrefix",
310
- "declaration": {
311
- "name": "getCurrentDesignSystemPrefix",
312
- "module": "src/design-system/design-system.ts"
313
- }
314
- }
315
- ]
316
- },
317
- {
318
- "kind": "javascript-module",
319
- "path": "src/design-system/editable-elements.ts",
320
- "declarations": [
321
- {
322
- "kind": "variable",
323
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
324
- "type": {
325
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
326
- },
327
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
328
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
329
- },
330
- {
331
- "kind": "variable",
332
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
333
- "type": {
334
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
335
- },
336
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
337
- "description": "Design-system specific editable host selectors."
338
- },
339
- {
340
- "kind": "function",
341
- "name": "buildEditableElementSelector",
342
- "return": {
343
- "type": {
344
- "text": "string"
345
- }
346
- },
347
- "parameters": [
348
- {
349
- "name": "designSystems",
350
- "type": {
351
- "text": "readonly EditableDesignSystemPrefix[]"
352
- }
353
- },
354
- {
355
- "name": "customEditableSelectors",
356
- "default": "[]",
357
- "type": {
358
- "text": "readonly string[]"
359
- }
360
- }
361
- ]
362
- }
363
- ],
364
- "exports": [
365
- {
366
- "kind": "js",
367
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
368
- "declaration": {
369
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
370
- "module": "src/design-system/editable-elements.ts"
371
- }
372
- },
373
- {
374
- "kind": "js",
375
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
376
- "declaration": {
377
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
378
- "module": "src/design-system/editable-elements.ts"
379
- }
380
- },
381
- {
382
- "kind": "js",
383
- "name": "buildEditableElementSelector",
384
- "declaration": {
385
- "name": "buildEditableElementSelector",
386
- "module": "src/design-system/editable-elements.ts"
387
- }
388
- }
389
- ]
390
- },
391
- {
392
- "kind": "javascript-module",
393
- "path": "src/design-system/index.ts",
394
- "declarations": [],
395
- "exports": [
396
- {
397
- "kind": "js",
398
- "name": "*",
399
- "declaration": {
400
- "name": "*",
401
- "package": "./design-system"
402
- }
403
- },
404
- {
405
- "kind": "js",
406
- "name": "*",
407
- "declaration": {
408
- "name": "*",
409
- "package": "./editable-elements"
410
- }
411
- }
412
- ]
413
- },
414
- {
415
- "kind": "javascript-module",
416
- "path": "src/directives/index.ts",
417
- "declarations": [],
418
- "exports": [
419
- {
420
- "kind": "js",
421
- "name": "*",
422
- "declaration": {
423
- "name": "*",
424
- "package": "./sync"
425
- }
426
- },
427
- {
428
- "kind": "js",
429
- "name": "*",
430
- "declaration": {
431
- "name": "*",
432
- "package": "./when-else"
433
- }
434
- }
435
- ]
436
- },
437
- {
438
- "kind": "javascript-module",
439
- "path": "src/encoding/index.ts",
440
- "declarations": [],
441
- "exports": [
442
- {
443
- "kind": "js",
444
- "name": "*",
445
- "declaration": {
446
- "name": "*",
447
- "package": "./base64"
448
- }
449
- }
450
- ]
451
- },
452
212
  {
453
213
  "kind": "javascript-module",
454
214
  "path": "src/converters/index.ts",
@@ -690,7 +450,7 @@
690
450
  },
691
451
  {
692
452
  "kind": "javascript-module",
693
- "path": "src/decorators/index.ts",
453
+ "path": "src/directives/index.ts",
694
454
  "declarations": [],
695
455
  "exports": [
696
456
  {
@@ -698,45 +458,232 @@
698
458
  "name": "*",
699
459
  "declaration": {
700
460
  "name": "*",
701
- "package": "./renderOnChange"
461
+ "package": "./sync"
462
+ }
463
+ },
464
+ {
465
+ "kind": "js",
466
+ "name": "*",
467
+ "declaration": {
468
+ "name": "*",
469
+ "package": "./when-else"
702
470
  }
703
471
  }
704
472
  ]
705
473
  },
706
474
  {
707
475
  "kind": "javascript-module",
708
- "path": "src/decorators/renderOnChange.ts",
476
+ "path": "src/design-system/design-system.ts",
709
477
  "declarations": [
710
478
  {
711
479
  "kind": "function",
712
- "name": "renderOnChange",
480
+ "name": "assureDesignSystem",
481
+ "return": {
482
+ "type": {
483
+ "text": "DesignSystemModule"
484
+ }
485
+ },
713
486
  "parameters": [
714
487
  {
715
- "name": "target",
488
+ "name": "module",
716
489
  "type": {
717
- "text": "FASTElement & { render(): void }"
490
+ "text": "DesignSystemModule"
491
+ }
492
+ }
493
+ ],
494
+ "description": "assureDesignSystem.",
495
+ "privacy": "public"
496
+ },
497
+ {
498
+ "kind": "function",
499
+ "name": "getCurrentDesignSystem",
500
+ "return": {
501
+ "type": {
502
+ "text": ""
503
+ }
504
+ },
505
+ "parameters": [
506
+ {
507
+ "name": "element",
508
+ "type": {
509
+ "text": "HTMLElement"
718
510
  },
719
- "description": "The target to define the property change handler on."
511
+ "description": "The starting HTML element"
720
512
  },
721
513
  {
722
- "name": "name",
514
+ "name": "fallbackPrefix",
723
515
  "type": {
724
516
  "text": "string"
725
517
  },
726
- "description": "The property name."
518
+ "description": "The prefix to fallback to if the provider is not available"
727
519
  }
728
520
  ],
729
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
521
+ "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
522
+ "privacy": "public"
523
+ },
524
+ {
525
+ "kind": "function",
526
+ "name": "getCurrentDesignSystemPrefix",
527
+ "return": {
528
+ "type": {
529
+ "text": ""
530
+ }
531
+ },
532
+ "parameters": [
533
+ {
534
+ "name": "element",
535
+ "type": {
536
+ "text": "HTMLElement"
537
+ },
538
+ "description": "The starting HTML element"
539
+ },
540
+ {
541
+ "name": "fallbackPrefix",
542
+ "type": {
543
+ "text": "string"
544
+ },
545
+ "description": "The prefix to fallback to if the provider is not available"
546
+ }
547
+ ],
548
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
730
549
  "privacy": "public"
731
550
  }
732
551
  ],
733
552
  "exports": [
734
553
  {
735
554
  "kind": "js",
736
- "name": "renderOnChange",
555
+ "name": "assureDesignSystem",
737
556
  "declaration": {
738
- "name": "renderOnChange",
739
- "module": "src/decorators/renderOnChange.ts"
557
+ "name": "assureDesignSystem",
558
+ "module": "src/design-system/design-system.ts"
559
+ }
560
+ },
561
+ {
562
+ "kind": "js",
563
+ "name": "getCurrentDesignSystem",
564
+ "declaration": {
565
+ "name": "getCurrentDesignSystem",
566
+ "module": "src/design-system/design-system.ts"
567
+ }
568
+ },
569
+ {
570
+ "kind": "js",
571
+ "name": "getCurrentDesignSystemPrefix",
572
+ "declaration": {
573
+ "name": "getCurrentDesignSystemPrefix",
574
+ "module": "src/design-system/design-system.ts"
575
+ }
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "kind": "javascript-module",
581
+ "path": "src/design-system/editable-elements.ts",
582
+ "declarations": [
583
+ {
584
+ "kind": "variable",
585
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
586
+ "type": {
587
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
588
+ },
589
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
590
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
591
+ },
592
+ {
593
+ "kind": "variable",
594
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
595
+ "type": {
596
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
597
+ },
598
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
599
+ "description": "Design-system specific editable host selectors."
600
+ },
601
+ {
602
+ "kind": "function",
603
+ "name": "buildEditableElementSelector",
604
+ "return": {
605
+ "type": {
606
+ "text": "string"
607
+ }
608
+ },
609
+ "parameters": [
610
+ {
611
+ "name": "designSystems",
612
+ "type": {
613
+ "text": "readonly EditableDesignSystemPrefix[]"
614
+ }
615
+ },
616
+ {
617
+ "name": "customEditableSelectors",
618
+ "default": "[]",
619
+ "type": {
620
+ "text": "readonly string[]"
621
+ }
622
+ }
623
+ ]
624
+ }
625
+ ],
626
+ "exports": [
627
+ {
628
+ "kind": "js",
629
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
630
+ "declaration": {
631
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
632
+ "module": "src/design-system/editable-elements.ts"
633
+ }
634
+ },
635
+ {
636
+ "kind": "js",
637
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
638
+ "declaration": {
639
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
640
+ "module": "src/design-system/editable-elements.ts"
641
+ }
642
+ },
643
+ {
644
+ "kind": "js",
645
+ "name": "buildEditableElementSelector",
646
+ "declaration": {
647
+ "name": "buildEditableElementSelector",
648
+ "module": "src/design-system/editable-elements.ts"
649
+ }
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ "kind": "javascript-module",
655
+ "path": "src/design-system/index.ts",
656
+ "declarations": [],
657
+ "exports": [
658
+ {
659
+ "kind": "js",
660
+ "name": "*",
661
+ "declaration": {
662
+ "name": "*",
663
+ "package": "./design-system"
664
+ }
665
+ },
666
+ {
667
+ "kind": "js",
668
+ "name": "*",
669
+ "declaration": {
670
+ "name": "*",
671
+ "package": "./editable-elements"
672
+ }
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "kind": "javascript-module",
678
+ "path": "src/encoding/index.ts",
679
+ "declarations": [],
680
+ "exports": [
681
+ {
682
+ "kind": "js",
683
+ "name": "*",
684
+ "declaration": {
685
+ "name": "*",
686
+ "package": "./base64"
740
687
  }
741
688
  }
742
689
  ]
@@ -1240,6 +1187,59 @@
1240
1187
  }
1241
1188
  ]
1242
1189
  },
1190
+ {
1191
+ "kind": "javascript-module",
1192
+ "path": "src/decorators/index.ts",
1193
+ "declarations": [],
1194
+ "exports": [
1195
+ {
1196
+ "kind": "js",
1197
+ "name": "*",
1198
+ "declaration": {
1199
+ "name": "*",
1200
+ "package": "./renderOnChange"
1201
+ }
1202
+ }
1203
+ ]
1204
+ },
1205
+ {
1206
+ "kind": "javascript-module",
1207
+ "path": "src/decorators/renderOnChange.ts",
1208
+ "declarations": [
1209
+ {
1210
+ "kind": "function",
1211
+ "name": "renderOnChange",
1212
+ "parameters": [
1213
+ {
1214
+ "name": "target",
1215
+ "type": {
1216
+ "text": "FASTElement & { render(): void }"
1217
+ },
1218
+ "description": "The target to define the property change handler on."
1219
+ },
1220
+ {
1221
+ "name": "name",
1222
+ "type": {
1223
+ "text": "string"
1224
+ },
1225
+ "description": "The property name."
1226
+ }
1227
+ ],
1228
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
1229
+ "privacy": "public"
1230
+ }
1231
+ ],
1232
+ "exports": [
1233
+ {
1234
+ "kind": "js",
1235
+ "name": "renderOnChange",
1236
+ "declaration": {
1237
+ "name": "renderOnChange",
1238
+ "module": "src/decorators/renderOnChange.ts"
1239
+ }
1240
+ }
1241
+ ]
1242
+ },
1243
1243
  {
1244
1244
  "kind": "javascript-module",
1245
1245
  "path": "src/error/errorMap.ts",
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.36.1",
4
+ "version": "15.37.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -29,18 +29,18 @@
29
29
  }
30
30
  },
31
31
  "devDependencies": {
32
- "@genesislcap/foundation-testing": "15.36.1",
33
- "@genesislcap/genx": "15.36.1",
34
- "@genesislcap/rollup-builder": "15.36.1",
35
- "@genesislcap/ts-builder": "15.36.1",
36
- "@genesislcap/uvu-playwright-builder": "15.36.1",
37
- "@genesislcap/vite-builder": "15.36.1",
38
- "@genesislcap/webpack-builder": "15.36.1",
32
+ "@genesislcap/foundation-testing": "15.37.0",
33
+ "@genesislcap/genx": "15.37.0",
34
+ "@genesislcap/rollup-builder": "15.37.0",
35
+ "@genesislcap/ts-builder": "15.37.0",
36
+ "@genesislcap/uvu-playwright-builder": "15.37.0",
37
+ "@genesislcap/vite-builder": "15.37.0",
38
+ "@genesislcap/webpack-builder": "15.37.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "15.36.1",
43
- "@genesislcap/foundation-logger": "15.36.1",
42
+ "@genesislcap/expression-builder": "15.37.0",
43
+ "@genesislcap/foundation-logger": "15.37.0",
44
44
  "@microsoft/fast-components": "2.30.6",
45
45
  "@microsoft/fast-element": "1.14.0",
46
46
  "@microsoft/fast-foundation": "2.50.0",