@genesislcap/foundation-utils 14.459.0 → 14.460.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 +191 -191
  2. package/package.json +11 -11
@@ -252,202 +252,53 @@
252
252
  },
253
253
  {
254
254
  "kind": "javascript-module",
255
- "path": "src/design-system/design-system.ts",
256
- "declarations": [
257
- {
258
- "kind": "function",
259
- "name": "assureDesignSystem",
260
- "return": {
261
- "type": {
262
- "text": "DesignSystemModule"
263
- }
264
- },
265
- "parameters": [
266
- {
267
- "name": "module",
268
- "type": {
269
- "text": "DesignSystemModule"
270
- }
271
- }
272
- ],
273
- "description": "assureDesignSystem.",
274
- "privacy": "public"
275
- },
276
- {
277
- "kind": "function",
278
- "name": "getCurrentDesignSystem",
279
- "return": {
280
- "type": {
281
- "text": ""
282
- }
283
- },
284
- "parameters": [
285
- {
286
- "name": "element",
287
- "type": {
288
- "text": "HTMLElement"
289
- },
290
- "description": "The starting HTML element"
291
- },
292
- {
293
- "name": "fallbackPrefix",
294
- "type": {
295
- "text": "string"
296
- },
297
- "description": "The prefix to fallback to if the provider is not available"
298
- }
299
- ],
300
- "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.",
301
- "privacy": "public"
302
- },
303
- {
304
- "kind": "function",
305
- "name": "getCurrentDesignSystemPrefix",
306
- "return": {
307
- "type": {
308
- "text": ""
309
- }
310
- },
311
- "parameters": [
312
- {
313
- "name": "element",
314
- "type": {
315
- "text": "HTMLElement"
316
- },
317
- "description": "The starting HTML element"
318
- },
319
- {
320
- "name": "fallbackPrefix",
321
- "type": {
322
- "text": "string"
323
- },
324
- "description": "The prefix to fallback to if the provider is not available"
325
- }
326
- ],
327
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
328
- "privacy": "public"
329
- }
330
- ],
255
+ "path": "src/decorators/index.ts",
256
+ "declarations": [],
331
257
  "exports": [
332
258
  {
333
259
  "kind": "js",
334
- "name": "assureDesignSystem",
335
- "declaration": {
336
- "name": "assureDesignSystem",
337
- "module": "src/design-system/design-system.ts"
338
- }
339
- },
340
- {
341
- "kind": "js",
342
- "name": "getCurrentDesignSystem",
343
- "declaration": {
344
- "name": "getCurrentDesignSystem",
345
- "module": "src/design-system/design-system.ts"
346
- }
347
- },
348
- {
349
- "kind": "js",
350
- "name": "getCurrentDesignSystemPrefix",
260
+ "name": "*",
351
261
  "declaration": {
352
- "name": "getCurrentDesignSystemPrefix",
353
- "module": "src/design-system/design-system.ts"
262
+ "name": "*",
263
+ "package": "./renderOnChange"
354
264
  }
355
265
  }
356
266
  ]
357
267
  },
358
268
  {
359
269
  "kind": "javascript-module",
360
- "path": "src/design-system/editable-elements.ts",
270
+ "path": "src/decorators/renderOnChange.ts",
361
271
  "declarations": [
362
- {
363
- "kind": "variable",
364
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
365
- "type": {
366
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
367
- },
368
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
369
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
370
- },
371
- {
372
- "kind": "variable",
373
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
374
- "type": {
375
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
376
- },
377
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
378
- "description": "Design-system specific editable host selectors."
379
- },
380
272
  {
381
273
  "kind": "function",
382
- "name": "buildEditableElementSelector",
383
- "return": {
384
- "type": {
385
- "text": "string"
386
- }
387
- },
274
+ "name": "renderOnChange",
388
275
  "parameters": [
389
276
  {
390
- "name": "designSystems",
277
+ "name": "target",
391
278
  "type": {
392
- "text": "readonly EditableDesignSystemPrefix[]"
393
- }
279
+ "text": "FASTElement & { render(): void }"
280
+ },
281
+ "description": "The target to define the property change handler on."
394
282
  },
395
283
  {
396
- "name": "customEditableSelectors",
397
- "default": "[]",
284
+ "name": "name",
398
285
  "type": {
399
- "text": "readonly string[]"
400
- }
286
+ "text": "string"
287
+ },
288
+ "description": "The property name."
401
289
  }
402
- ]
290
+ ],
291
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
292
+ "privacy": "public"
403
293
  }
404
294
  ],
405
295
  "exports": [
406
296
  {
407
297
  "kind": "js",
408
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
409
- "declaration": {
410
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
411
- "module": "src/design-system/editable-elements.ts"
412
- }
413
- },
414
- {
415
- "kind": "js",
416
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
417
- "declaration": {
418
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
419
- "module": "src/design-system/editable-elements.ts"
420
- }
421
- },
422
- {
423
- "kind": "js",
424
- "name": "buildEditableElementSelector",
425
- "declaration": {
426
- "name": "buildEditableElementSelector",
427
- "module": "src/design-system/editable-elements.ts"
428
- }
429
- }
430
- ]
431
- },
432
- {
433
- "kind": "javascript-module",
434
- "path": "src/design-system/index.ts",
435
- "declarations": [],
436
- "exports": [
437
- {
438
- "kind": "js",
439
- "name": "*",
440
- "declaration": {
441
- "name": "*",
442
- "package": "./design-system"
443
- }
444
- },
445
- {
446
- "kind": "js",
447
- "name": "*",
298
+ "name": "renderOnChange",
448
299
  "declaration": {
449
- "name": "*",
450
- "package": "./editable-elements"
300
+ "name": "renderOnChange",
301
+ "module": "src/decorators/renderOnChange.ts"
451
302
  }
452
303
  }
453
304
  ]
@@ -690,53 +541,202 @@
690
541
  },
691
542
  {
692
543
  "kind": "javascript-module",
693
- "path": "src/decorators/index.ts",
694
- "declarations": [],
544
+ "path": "src/design-system/design-system.ts",
545
+ "declarations": [
546
+ {
547
+ "kind": "function",
548
+ "name": "assureDesignSystem",
549
+ "return": {
550
+ "type": {
551
+ "text": "DesignSystemModule"
552
+ }
553
+ },
554
+ "parameters": [
555
+ {
556
+ "name": "module",
557
+ "type": {
558
+ "text": "DesignSystemModule"
559
+ }
560
+ }
561
+ ],
562
+ "description": "assureDesignSystem.",
563
+ "privacy": "public"
564
+ },
565
+ {
566
+ "kind": "function",
567
+ "name": "getCurrentDesignSystem",
568
+ "return": {
569
+ "type": {
570
+ "text": ""
571
+ }
572
+ },
573
+ "parameters": [
574
+ {
575
+ "name": "element",
576
+ "type": {
577
+ "text": "HTMLElement"
578
+ },
579
+ "description": "The starting HTML element"
580
+ },
581
+ {
582
+ "name": "fallbackPrefix",
583
+ "type": {
584
+ "text": "string"
585
+ },
586
+ "description": "The prefix to fallback to if the provider is not available"
587
+ }
588
+ ],
589
+ "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.",
590
+ "privacy": "public"
591
+ },
592
+ {
593
+ "kind": "function",
594
+ "name": "getCurrentDesignSystemPrefix",
595
+ "return": {
596
+ "type": {
597
+ "text": ""
598
+ }
599
+ },
600
+ "parameters": [
601
+ {
602
+ "name": "element",
603
+ "type": {
604
+ "text": "HTMLElement"
605
+ },
606
+ "description": "The starting HTML element"
607
+ },
608
+ {
609
+ "name": "fallbackPrefix",
610
+ "type": {
611
+ "text": "string"
612
+ },
613
+ "description": "The prefix to fallback to if the provider is not available"
614
+ }
615
+ ],
616
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
617
+ "privacy": "public"
618
+ }
619
+ ],
695
620
  "exports": [
696
621
  {
697
622
  "kind": "js",
698
- "name": "*",
623
+ "name": "assureDesignSystem",
699
624
  "declaration": {
700
- "name": "*",
701
- "package": "./renderOnChange"
625
+ "name": "assureDesignSystem",
626
+ "module": "src/design-system/design-system.ts"
627
+ }
628
+ },
629
+ {
630
+ "kind": "js",
631
+ "name": "getCurrentDesignSystem",
632
+ "declaration": {
633
+ "name": "getCurrentDesignSystem",
634
+ "module": "src/design-system/design-system.ts"
635
+ }
636
+ },
637
+ {
638
+ "kind": "js",
639
+ "name": "getCurrentDesignSystemPrefix",
640
+ "declaration": {
641
+ "name": "getCurrentDesignSystemPrefix",
642
+ "module": "src/design-system/design-system.ts"
702
643
  }
703
644
  }
704
645
  ]
705
646
  },
706
647
  {
707
648
  "kind": "javascript-module",
708
- "path": "src/decorators/renderOnChange.ts",
649
+ "path": "src/design-system/editable-elements.ts",
709
650
  "declarations": [
651
+ {
652
+ "kind": "variable",
653
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
654
+ "type": {
655
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
656
+ },
657
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
658
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
659
+ },
660
+ {
661
+ "kind": "variable",
662
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
663
+ "type": {
664
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
665
+ },
666
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
667
+ "description": "Design-system specific editable host selectors."
668
+ },
710
669
  {
711
670
  "kind": "function",
712
- "name": "renderOnChange",
671
+ "name": "buildEditableElementSelector",
672
+ "return": {
673
+ "type": {
674
+ "text": "string"
675
+ }
676
+ },
713
677
  "parameters": [
714
678
  {
715
- "name": "target",
679
+ "name": "designSystems",
716
680
  "type": {
717
- "text": "FASTElement & { render(): void }"
718
- },
719
- "description": "The target to define the property change handler on."
681
+ "text": "readonly EditableDesignSystemPrefix[]"
682
+ }
720
683
  },
721
684
  {
722
- "name": "name",
685
+ "name": "customEditableSelectors",
686
+ "default": "[]",
723
687
  "type": {
724
- "text": "string"
725
- },
726
- "description": "The property name."
688
+ "text": "readonly string[]"
689
+ }
727
690
  }
728
- ],
729
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
730
- "privacy": "public"
691
+ ]
731
692
  }
732
693
  ],
733
694
  "exports": [
734
695
  {
735
696
  "kind": "js",
736
- "name": "renderOnChange",
697
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
737
698
  "declaration": {
738
- "name": "renderOnChange",
739
- "module": "src/decorators/renderOnChange.ts"
699
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
700
+ "module": "src/design-system/editable-elements.ts"
701
+ }
702
+ },
703
+ {
704
+ "kind": "js",
705
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
706
+ "declaration": {
707
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
708
+ "module": "src/design-system/editable-elements.ts"
709
+ }
710
+ },
711
+ {
712
+ "kind": "js",
713
+ "name": "buildEditableElementSelector",
714
+ "declaration": {
715
+ "name": "buildEditableElementSelector",
716
+ "module": "src/design-system/editable-elements.ts"
717
+ }
718
+ }
719
+ ]
720
+ },
721
+ {
722
+ "kind": "javascript-module",
723
+ "path": "src/design-system/index.ts",
724
+ "declarations": [],
725
+ "exports": [
726
+ {
727
+ "kind": "js",
728
+ "name": "*",
729
+ "declaration": {
730
+ "name": "*",
731
+ "package": "./design-system"
732
+ }
733
+ },
734
+ {
735
+ "kind": "js",
736
+ "name": "*",
737
+ "declaration": {
738
+ "name": "*",
739
+ "package": "./editable-elements"
740
740
  }
741
741
  }
742
742
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "14.459.0",
4
+ "version": "14.460.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": "14.459.0",
33
- "@genesislcap/genx": "14.459.0",
34
- "@genesislcap/rollup-builder": "14.459.0",
35
- "@genesislcap/ts-builder": "14.459.0",
36
- "@genesislcap/uvu-playwright-builder": "14.459.0",
37
- "@genesislcap/vite-builder": "14.459.0",
38
- "@genesislcap/webpack-builder": "14.459.0",
32
+ "@genesislcap/foundation-testing": "14.460.0",
33
+ "@genesislcap/genx": "14.460.0",
34
+ "@genesislcap/rollup-builder": "14.460.0",
35
+ "@genesislcap/ts-builder": "14.460.0",
36
+ "@genesislcap/uvu-playwright-builder": "14.460.0",
37
+ "@genesislcap/vite-builder": "14.460.0",
38
+ "@genesislcap/webpack-builder": "14.460.0",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.459.0",
43
- "@genesislcap/foundation-logger": "14.459.0",
42
+ "@genesislcap/expression-builder": "14.460.0",
43
+ "@genesislcap/foundation-logger": "14.460.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",
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "customElements": "dist/custom-elements.json",
61
- "gitHead": "b501804b11ff99945c7c6d2afbe7a101e1bb735a"
61
+ "gitHead": "12d48ef6ec786b6fc0ad12bccb3682d0792e508c"
62
62
  }