@genesislcap/foundation-utils 14.461.1 → 14.461.2

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.
@@ -303,204 +303,6 @@
303
303
  }
304
304
  ]
305
305
  },
306
- {
307
- "kind": "javascript-module",
308
- "path": "src/data/inMemoryDatabase.ts",
309
- "declarations": [
310
- {
311
- "kind": "class",
312
- "description": "An in memory database of specific DatabaseRecord types.",
313
- "name": "InMemoryDatabase",
314
- "members": [
315
- {
316
- "kind": "field",
317
- "name": "isWorking",
318
- "type": {
319
- "text": "boolean"
320
- },
321
- "privacy": "public",
322
- "default": "false"
323
- },
324
- {
325
- "kind": "field",
326
- "name": "records",
327
- "type": {
328
- "text": "Record<string, T>"
329
- },
330
- "privacy": "private",
331
- "default": "{}"
332
- },
333
- {
334
- "kind": "field",
335
- "name": "beforeUpdateListeners",
336
- "privacy": "private"
337
- },
338
- {
339
- "kind": "field",
340
- "name": "afterUpdateListeners",
341
- "privacy": "private"
342
- },
343
- {
344
- "kind": "method",
345
- "name": "create",
346
- "privacy": "public",
347
- "return": {
348
- "type": {
349
- "text": "Promise<DatabaseAccessResult.Create<T>>"
350
- }
351
- },
352
- "parameters": [
353
- {
354
- "name": "newValue",
355
- "type": {
356
- "text": "Omit<T, 'id'>"
357
- }
358
- }
359
- ]
360
- },
361
- {
362
- "kind": "method",
363
- "name": "read",
364
- "privacy": "public",
365
- "return": {
366
- "type": {
367
- "text": "Promise<DatabaseAccessResult.Read<T>>"
368
- }
369
- },
370
- "parameters": [
371
- {
372
- "name": "id",
373
- "type": {
374
- "text": "string"
375
- }
376
- }
377
- ]
378
- },
379
- {
380
- "kind": "method",
381
- "name": "update",
382
- "privacy": "public",
383
- "return": {
384
- "type": {
385
- "text": "Promise<DatabaseAccessResult.Update<T>>"
386
- }
387
- },
388
- "parameters": [
389
- {
390
- "name": "id",
391
- "type": {
392
- "text": "string"
393
- }
394
- },
395
- {
396
- "name": "newValue",
397
- "type": {
398
- "text": "Omit<Partial<T>, 'id'>"
399
- }
400
- }
401
- ]
402
- },
403
- {
404
- "kind": "method",
405
- "name": "delete",
406
- "privacy": "public",
407
- "return": {
408
- "type": {
409
- "text": "Promise<DatabaseAccessResult.Delete>"
410
- }
411
- },
412
- "parameters": [
413
- {
414
- "name": "id",
415
- "type": {
416
- "text": "string"
417
- }
418
- }
419
- ]
420
- },
421
- {
422
- "kind": "method",
423
- "name": "visit",
424
- "privacy": "public",
425
- "return": {
426
- "type": {
427
- "text": "Promise<void>"
428
- }
429
- },
430
- "parameters": [
431
- {
432
- "name": "visitor",
433
- "type": {
434
- "text": "(record: T) => void"
435
- }
436
- }
437
- ]
438
- },
439
- {
440
- "kind": "method",
441
- "name": "onBeforeUpdate",
442
- "privacy": "public",
443
- "return": {
444
- "type": {
445
- "text": "() => void"
446
- }
447
- },
448
- "parameters": [
449
- {
450
- "name": "listener",
451
- "type": {
452
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
453
- }
454
- }
455
- ]
456
- },
457
- {
458
- "kind": "method",
459
- "name": "onAfterUpdate",
460
- "privacy": "public",
461
- "return": {
462
- "type": {
463
- "text": "() => void"
464
- }
465
- },
466
- "parameters": [
467
- {
468
- "name": "listener",
469
- "type": {
470
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
471
- }
472
- }
473
- ]
474
- }
475
- ]
476
- }
477
- ],
478
- "exports": [
479
- {
480
- "kind": "js",
481
- "name": "InMemoryDatabase",
482
- "declaration": {
483
- "name": "InMemoryDatabase",
484
- "module": "src/data/inMemoryDatabase.ts"
485
- }
486
- }
487
- ]
488
- },
489
- {
490
- "kind": "javascript-module",
491
- "path": "src/data/index.ts",
492
- "declarations": [],
493
- "exports": [
494
- {
495
- "kind": "js",
496
- "name": "*",
497
- "declaration": {
498
- "name": "*",
499
- "package": "./inMemoryDatabase"
500
- }
501
- }
502
- ]
503
- },
504
306
  {
505
307
  "kind": "javascript-module",
506
308
  "path": "src/design-system/design-system.ts",
@@ -705,63 +507,238 @@
705
507
  },
706
508
  {
707
509
  "kind": "javascript-module",
708
- "path": "src/directives/index.ts",
709
- "declarations": [],
710
- "exports": [
711
- {
712
- "kind": "js",
713
- "name": "*",
714
- "declaration": {
715
- "name": "*",
716
- "package": "./sync"
717
- }
718
- },
719
- {
720
- "kind": "js",
721
- "name": "*",
722
- "declaration": {
723
- "name": "*",
724
- "package": "./when-else"
725
- }
726
- }
727
- ]
728
- },
729
- {
730
- "kind": "javascript-module",
731
- "path": "src/encoding/index.ts",
732
- "declarations": [],
733
- "exports": [
734
- {
735
- "kind": "js",
736
- "name": "*",
737
- "declaration": {
738
- "name": "*",
739
- "package": "./base64"
740
- }
741
- }
742
- ]
743
- },
744
- {
745
- "kind": "javascript-module",
746
- "path": "src/env/index.ts",
747
- "declarations": [],
748
- "exports": [
749
- {
750
- "kind": "js",
751
- "name": "*",
752
- "declaration": {
753
- "name": "*",
754
- "package": "./is-dev"
755
- }
756
- },
510
+ "path": "src/data/inMemoryDatabase.ts",
511
+ "declarations": [
757
512
  {
758
- "kind": "js",
759
- "name": "*",
760
- "declaration": {
761
- "name": "*",
762
- "package": "./variables"
763
- }
764
- }
513
+ "kind": "class",
514
+ "description": "An in memory database of specific DatabaseRecord types.",
515
+ "name": "InMemoryDatabase",
516
+ "members": [
517
+ {
518
+ "kind": "field",
519
+ "name": "isWorking",
520
+ "type": {
521
+ "text": "boolean"
522
+ },
523
+ "privacy": "public",
524
+ "default": "false"
525
+ },
526
+ {
527
+ "kind": "field",
528
+ "name": "records",
529
+ "type": {
530
+ "text": "Record<string, T>"
531
+ },
532
+ "privacy": "private",
533
+ "default": "{}"
534
+ },
535
+ {
536
+ "kind": "field",
537
+ "name": "beforeUpdateListeners",
538
+ "privacy": "private"
539
+ },
540
+ {
541
+ "kind": "field",
542
+ "name": "afterUpdateListeners",
543
+ "privacy": "private"
544
+ },
545
+ {
546
+ "kind": "method",
547
+ "name": "create",
548
+ "privacy": "public",
549
+ "return": {
550
+ "type": {
551
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
552
+ }
553
+ },
554
+ "parameters": [
555
+ {
556
+ "name": "newValue",
557
+ "type": {
558
+ "text": "Omit<T, 'id'>"
559
+ }
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "kind": "method",
565
+ "name": "read",
566
+ "privacy": "public",
567
+ "return": {
568
+ "type": {
569
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
570
+ }
571
+ },
572
+ "parameters": [
573
+ {
574
+ "name": "id",
575
+ "type": {
576
+ "text": "string"
577
+ }
578
+ }
579
+ ]
580
+ },
581
+ {
582
+ "kind": "method",
583
+ "name": "update",
584
+ "privacy": "public",
585
+ "return": {
586
+ "type": {
587
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
588
+ }
589
+ },
590
+ "parameters": [
591
+ {
592
+ "name": "id",
593
+ "type": {
594
+ "text": "string"
595
+ }
596
+ },
597
+ {
598
+ "name": "newValue",
599
+ "type": {
600
+ "text": "Omit<Partial<T>, 'id'>"
601
+ }
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "kind": "method",
607
+ "name": "delete",
608
+ "privacy": "public",
609
+ "return": {
610
+ "type": {
611
+ "text": "Promise<DatabaseAccessResult.Delete>"
612
+ }
613
+ },
614
+ "parameters": [
615
+ {
616
+ "name": "id",
617
+ "type": {
618
+ "text": "string"
619
+ }
620
+ }
621
+ ]
622
+ },
623
+ {
624
+ "kind": "method",
625
+ "name": "visit",
626
+ "privacy": "public",
627
+ "return": {
628
+ "type": {
629
+ "text": "Promise<void>"
630
+ }
631
+ },
632
+ "parameters": [
633
+ {
634
+ "name": "visitor",
635
+ "type": {
636
+ "text": "(record: T) => void"
637
+ }
638
+ }
639
+ ]
640
+ },
641
+ {
642
+ "kind": "method",
643
+ "name": "onBeforeUpdate",
644
+ "privacy": "public",
645
+ "return": {
646
+ "type": {
647
+ "text": "() => void"
648
+ }
649
+ },
650
+ "parameters": [
651
+ {
652
+ "name": "listener",
653
+ "type": {
654
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
655
+ }
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ "kind": "method",
661
+ "name": "onAfterUpdate",
662
+ "privacy": "public",
663
+ "return": {
664
+ "type": {
665
+ "text": "() => void"
666
+ }
667
+ },
668
+ "parameters": [
669
+ {
670
+ "name": "listener",
671
+ "type": {
672
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
673
+ }
674
+ }
675
+ ]
676
+ }
677
+ ]
678
+ }
679
+ ],
680
+ "exports": [
681
+ {
682
+ "kind": "js",
683
+ "name": "InMemoryDatabase",
684
+ "declaration": {
685
+ "name": "InMemoryDatabase",
686
+ "module": "src/data/inMemoryDatabase.ts"
687
+ }
688
+ }
689
+ ]
690
+ },
691
+ {
692
+ "kind": "javascript-module",
693
+ "path": "src/data/index.ts",
694
+ "declarations": [],
695
+ "exports": [
696
+ {
697
+ "kind": "js",
698
+ "name": "*",
699
+ "declaration": {
700
+ "name": "*",
701
+ "package": "./inMemoryDatabase"
702
+ }
703
+ }
704
+ ]
705
+ },
706
+ {
707
+ "kind": "javascript-module",
708
+ "path": "src/encoding/index.ts",
709
+ "declarations": [],
710
+ "exports": [
711
+ {
712
+ "kind": "js",
713
+ "name": "*",
714
+ "declaration": {
715
+ "name": "*",
716
+ "package": "./base64"
717
+ }
718
+ }
719
+ ]
720
+ },
721
+ {
722
+ "kind": "javascript-module",
723
+ "path": "src/env/index.ts",
724
+ "declarations": [],
725
+ "exports": [
726
+ {
727
+ "kind": "js",
728
+ "name": "*",
729
+ "declaration": {
730
+ "name": "*",
731
+ "package": "./is-dev"
732
+ }
733
+ },
734
+ {
735
+ "kind": "js",
736
+ "name": "*",
737
+ "declaration": {
738
+ "name": "*",
739
+ "package": "./variables"
740
+ }
741
+ }
765
742
  ]
766
743
  },
767
744
  {
@@ -1216,6 +1193,29 @@
1216
1193
  }
1217
1194
  ]
1218
1195
  },
1196
+ {
1197
+ "kind": "javascript-module",
1198
+ "path": "src/directives/index.ts",
1199
+ "declarations": [],
1200
+ "exports": [
1201
+ {
1202
+ "kind": "js",
1203
+ "name": "*",
1204
+ "declaration": {
1205
+ "name": "*",
1206
+ "package": "./sync"
1207
+ }
1208
+ },
1209
+ {
1210
+ "kind": "js",
1211
+ "name": "*",
1212
+ "declaration": {
1213
+ "name": "*",
1214
+ "package": "./when-else"
1215
+ }
1216
+ }
1217
+ ]
1218
+ },
1219
1219
  {
1220
1220
  "kind": "javascript-module",
1221
1221
  "path": "src/error/errorMap.ts",
@@ -4823,160 +4823,6 @@
4823
4823
  }
4824
4824
  ]
4825
4825
  },
4826
- {
4827
- "kind": "javascript-module",
4828
- "path": "src/directives/sync/index.ts",
4829
- "declarations": [],
4830
- "exports": [
4831
- {
4832
- "kind": "js",
4833
- "name": "*",
4834
- "declaration": {
4835
- "name": "*",
4836
- "package": "./sync"
4837
- }
4838
- }
4839
- ]
4840
- },
4841
- {
4842
- "kind": "javascript-module",
4843
- "path": "src/directives/sync/sync.ts",
4844
- "declarations": [
4845
- {
4846
- "kind": "variable",
4847
- "name": "defaultEventMap",
4848
- "type": {
4849
- "text": "Map<string, EventName>"
4850
- },
4851
- "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])",
4852
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
4853
- "privacy": "public"
4854
- },
4855
- {
4856
- "kind": "function",
4857
- "name": "sync",
4858
- "return": {
4859
- "type": {
4860
- "text": "CaptureType<TSource>"
4861
- }
4862
- },
4863
- "parameters": [
4864
- {
4865
- "name": "binding",
4866
- "type": {
4867
- "text": "Binding<TSource, TReturn>"
4868
- }
4869
- },
4870
- {
4871
- "name": "conversionType",
4872
- "default": "'string'",
4873
- "type": {
4874
- "text": "ConversionType"
4875
- }
4876
- },
4877
- {
4878
- "name": "eventName",
4879
- "default": "'default'",
4880
- "type": {
4881
- "text": "EventName"
4882
- }
4883
- },
4884
- {
4885
- "name": "keyAttr",
4886
- "optional": true,
4887
- "type": {
4888
- "text": "string"
4889
- }
4890
- }
4891
- ],
4892
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
4893
- "privacy": "public"
4894
- }
4895
- ],
4896
- "exports": [
4897
- {
4898
- "kind": "js",
4899
- "name": "defaultEventMap",
4900
- "declaration": {
4901
- "name": "defaultEventMap",
4902
- "module": "src/directives/sync/sync.ts"
4903
- }
4904
- },
4905
- {
4906
- "kind": "js",
4907
- "name": "sync",
4908
- "declaration": {
4909
- "name": "sync",
4910
- "module": "src/directives/sync/sync.ts"
4911
- }
4912
- }
4913
- ]
4914
- },
4915
- {
4916
- "kind": "javascript-module",
4917
- "path": "src/directives/when-else/index.ts",
4918
- "declarations": [],
4919
- "exports": [
4920
- {
4921
- "kind": "js",
4922
- "name": "*",
4923
- "declaration": {
4924
- "name": "*",
4925
- "package": "./when-else"
4926
- }
4927
- }
4928
- ]
4929
- },
4930
- {
4931
- "kind": "javascript-module",
4932
- "path": "src/directives/when-else/when-else.ts",
4933
- "declarations": [
4934
- {
4935
- "kind": "function",
4936
- "name": "whenElse",
4937
- "return": {
4938
- "type": {
4939
- "text": "CaptureType<TSource>"
4940
- }
4941
- },
4942
- "parameters": [
4943
- {
4944
- "name": "binding",
4945
- "type": {
4946
- "text": "Binding<TSource, TReturn>"
4947
- },
4948
- "description": "The condition to test for rendering."
4949
- },
4950
- {
4951
- "name": "trueTemplateOrTemplateBinding",
4952
- "type": {
4953
- "text": "WhenTemplate<TSource>"
4954
- },
4955
- "description": "The template or a binding that gets the template to render when the condition is true."
4956
- },
4957
- {
4958
- "name": "falseTemplateOrTemplateBinding",
4959
- "type": {
4960
- "text": "WhenTemplate<TSource>"
4961
- },
4962
- "description": "The template or a binding that gets the template to render when the condition is false."
4963
- }
4964
- ],
4965
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
4966
- "privacy": "public"
4967
- }
4968
- ],
4969
- "exports": [
4970
- {
4971
- "kind": "js",
4972
- "name": "whenElse",
4973
- "declaration": {
4974
- "name": "whenElse",
4975
- "module": "src/directives/when-else/when-else.ts"
4976
- }
4977
- }
4978
- ]
4979
- },
4980
4826
  {
4981
4827
  "kind": "javascript-module",
4982
4828
  "path": "src/encoding/base64/decode.ts",
@@ -5131,6 +4977,160 @@
5131
4977
  }
5132
4978
  ]
5133
4979
  },
4980
+ {
4981
+ "kind": "javascript-module",
4982
+ "path": "src/directives/sync/index.ts",
4983
+ "declarations": [],
4984
+ "exports": [
4985
+ {
4986
+ "kind": "js",
4987
+ "name": "*",
4988
+ "declaration": {
4989
+ "name": "*",
4990
+ "package": "./sync"
4991
+ }
4992
+ }
4993
+ ]
4994
+ },
4995
+ {
4996
+ "kind": "javascript-module",
4997
+ "path": "src/directives/sync/sync.ts",
4998
+ "declarations": [
4999
+ {
5000
+ "kind": "variable",
5001
+ "name": "defaultEventMap",
5002
+ "type": {
5003
+ "text": "Map<string, EventName>"
5004
+ },
5005
+ "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])",
5006
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
5007
+ "privacy": "public"
5008
+ },
5009
+ {
5010
+ "kind": "function",
5011
+ "name": "sync",
5012
+ "return": {
5013
+ "type": {
5014
+ "text": "CaptureType<TSource>"
5015
+ }
5016
+ },
5017
+ "parameters": [
5018
+ {
5019
+ "name": "binding",
5020
+ "type": {
5021
+ "text": "Binding<TSource, TReturn>"
5022
+ }
5023
+ },
5024
+ {
5025
+ "name": "conversionType",
5026
+ "default": "'string'",
5027
+ "type": {
5028
+ "text": "ConversionType"
5029
+ }
5030
+ },
5031
+ {
5032
+ "name": "eventName",
5033
+ "default": "'default'",
5034
+ "type": {
5035
+ "text": "EventName"
5036
+ }
5037
+ },
5038
+ {
5039
+ "name": "keyAttr",
5040
+ "optional": true,
5041
+ "type": {
5042
+ "text": "string"
5043
+ }
5044
+ }
5045
+ ],
5046
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
5047
+ "privacy": "public"
5048
+ }
5049
+ ],
5050
+ "exports": [
5051
+ {
5052
+ "kind": "js",
5053
+ "name": "defaultEventMap",
5054
+ "declaration": {
5055
+ "name": "defaultEventMap",
5056
+ "module": "src/directives/sync/sync.ts"
5057
+ }
5058
+ },
5059
+ {
5060
+ "kind": "js",
5061
+ "name": "sync",
5062
+ "declaration": {
5063
+ "name": "sync",
5064
+ "module": "src/directives/sync/sync.ts"
5065
+ }
5066
+ }
5067
+ ]
5068
+ },
5069
+ {
5070
+ "kind": "javascript-module",
5071
+ "path": "src/directives/when-else/index.ts",
5072
+ "declarations": [],
5073
+ "exports": [
5074
+ {
5075
+ "kind": "js",
5076
+ "name": "*",
5077
+ "declaration": {
5078
+ "name": "*",
5079
+ "package": "./when-else"
5080
+ }
5081
+ }
5082
+ ]
5083
+ },
5084
+ {
5085
+ "kind": "javascript-module",
5086
+ "path": "src/directives/when-else/when-else.ts",
5087
+ "declarations": [
5088
+ {
5089
+ "kind": "function",
5090
+ "name": "whenElse",
5091
+ "return": {
5092
+ "type": {
5093
+ "text": "CaptureType<TSource>"
5094
+ }
5095
+ },
5096
+ "parameters": [
5097
+ {
5098
+ "name": "binding",
5099
+ "type": {
5100
+ "text": "Binding<TSource, TReturn>"
5101
+ },
5102
+ "description": "The condition to test for rendering."
5103
+ },
5104
+ {
5105
+ "name": "trueTemplateOrTemplateBinding",
5106
+ "type": {
5107
+ "text": "WhenTemplate<TSource>"
5108
+ },
5109
+ "description": "The template or a binding that gets the template to render when the condition is true."
5110
+ },
5111
+ {
5112
+ "name": "falseTemplateOrTemplateBinding",
5113
+ "type": {
5114
+ "text": "WhenTemplate<TSource>"
5115
+ },
5116
+ "description": "The template or a binding that gets the template to render when the condition is false."
5117
+ }
5118
+ ],
5119
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
5120
+ "privacy": "public"
5121
+ }
5122
+ ],
5123
+ "exports": [
5124
+ {
5125
+ "kind": "js",
5126
+ "name": "whenElse",
5127
+ "declaration": {
5128
+ "name": "whenElse",
5129
+ "module": "src/directives/when-else/when-else.ts"
5130
+ }
5131
+ }
5132
+ ]
5133
+ },
5134
5134
  {
5135
5135
  "kind": "javascript-module",
5136
5136
  "path": "src/mappers/dto/index.ts",
@@ -0,0 +1,67 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ import type React from 'react';
7
+ import type { InactivityDialog as InactivityDialogWC } from './inactivity/inactivity-dialog';
8
+ import type { FoundationShortcutListener as FoundationShortcutListenerWC } from './shortcut-manager/shortcut-listener';
9
+ import type { SlottedStyles as SlottedStylesWC } from './styles/slotted-styles';
10
+
11
+ /** @internal Maps a web component class to its public props only.
12
+ * keyof T skips private/protected members, so this avoids the TS error
13
+ * "property may not be private or protected" on exported anonymous types. */
14
+ type PublicOf<T> = { [K in keyof T]?: T[K] };
15
+
16
+ /** @internal Safe React HTML attributes for web component wrappers.
17
+ * onChange/onInput use method signatures for bivariant parameter checking so both
18
+ * native Event and CustomEvent callbacks are accepted. */
19
+ interface HTMLWCProps extends React.AriaAttributes {
20
+ className?: string; style?: React.CSSProperties; id?: string; slot?: string;
21
+ tabIndex?: number; dir?: string; lang?: string; title?: string;
22
+ onClick?: React.MouseEventHandler<HTMLElement>;
23
+ onDoubleClick?: React.MouseEventHandler<HTMLElement>;
24
+ onContextMenu?: React.MouseEventHandler<HTMLElement>;
25
+ onMouseEnter?: React.MouseEventHandler<HTMLElement>;
26
+ onMouseLeave?: React.MouseEventHandler<HTMLElement>;
27
+ onMouseDown?: React.MouseEventHandler<HTMLElement>;
28
+ onMouseUp?: React.MouseEventHandler<HTMLElement>;
29
+ onMouseMove?: React.MouseEventHandler<HTMLElement>;
30
+ onKeyDown?: React.KeyboardEventHandler<HTMLElement>;
31
+ onKeyUp?: React.KeyboardEventHandler<HTMLElement>;
32
+ onFocus?: React.FocusEventHandler<HTMLElement>;
33
+ onBlur?: React.FocusEventHandler<HTMLElement>;
34
+ onScroll?: React.UIEventHandler<HTMLElement>;
35
+ onWheel?: React.WheelEventHandler<HTMLElement>;
36
+ onChange?(e: Event): void;
37
+ onInput?(e: Event): void;
38
+ }
39
+
40
+ export declare const InactivityDialog: React.ForwardRefExoticComponent<
41
+ React.PropsWithChildren<
42
+ Omit<PublicOf<InactivityDialogWC>, 'children' | 'style'> &
43
+ HTMLWCProps & {
44
+ }
45
+ > & React.RefAttributes<InactivityDialogWC>
46
+ >;
47
+ export type InactivityDialogRef = InactivityDialogWC;
48
+
49
+ export declare const FoundationShortcutListener: React.ForwardRefExoticComponent<
50
+ React.PropsWithChildren<
51
+ Omit<PublicOf<FoundationShortcutListenerWC>, 'children' | 'style'> &
52
+ HTMLWCProps & {
53
+ }
54
+ > & React.RefAttributes<FoundationShortcutListenerWC>
55
+ >;
56
+ export type FoundationShortcutListenerRef = FoundationShortcutListenerWC;
57
+
58
+ export declare const SlottedStyles: React.ForwardRefExoticComponent<
59
+ React.PropsWithChildren<
60
+ Omit<PublicOf<SlottedStylesWC>, 'children' | 'style'> &
61
+ HTMLWCProps & {
62
+ }
63
+ > & React.RefAttributes<SlottedStylesWC>
64
+ >;
65
+ export type SlottedStylesRef = SlottedStylesWC;
66
+
67
+ export {};
package/dist/react.cjs ADDED
@@ -0,0 +1,32 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ 'use strict';
7
+
8
+ const React = require('react');
9
+ const { InactivityDialog: InactivityDialogWC } = require('./esm/inactivity/inactivity-dialog.js');
10
+ const { FoundationShortcutListener: FoundationShortcutListenerWC } = require('./esm/shortcut-manager/shortcut-listener.js');
11
+ const { SlottedStyles: SlottedStylesWC } = require('./esm/styles/slotted-styles.js');
12
+
13
+ const InactivityDialog = React.forwardRef(function InactivityDialog(props, ref) {
14
+ const { children, ...rest } = props;
15
+ return React.createElement(customElements.getName(InactivityDialogWC) ?? 'inactivity-dialog', { ...rest, ref }, children);
16
+ });
17
+
18
+ const FoundationShortcutListener = React.forwardRef(function FoundationShortcutListener(props, ref) {
19
+ const { children, ...rest } = props;
20
+ return React.createElement(customElements.getName(FoundationShortcutListenerWC) ?? 'foundation-shortcut-listener', { ...rest, ref }, children);
21
+ });
22
+
23
+ const SlottedStyles = React.forwardRef(function SlottedStyles(props, ref) {
24
+ const { children, ...rest } = props;
25
+ return React.createElement(customElements.getName(SlottedStylesWC) ?? 'slotted-styles', { ...rest, ref }, children);
26
+ });
27
+
28
+ module.exports = {
29
+ InactivityDialog,
30
+ FoundationShortcutListener,
31
+ SlottedStyles,
32
+ };
package/dist/react.mjs ADDED
@@ -0,0 +1,24 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT.
3
+ * Generated from custom-elements manifest.
4
+ */
5
+
6
+ import React from 'react';
7
+ import { InactivityDialog as InactivityDialogWC } from './esm/inactivity/inactivity-dialog.js';
8
+ import { FoundationShortcutListener as FoundationShortcutListenerWC } from './esm/shortcut-manager/shortcut-listener.js';
9
+ import { SlottedStyles as SlottedStylesWC } from './esm/styles/slotted-styles.js';
10
+
11
+ export const InactivityDialog = React.forwardRef(function InactivityDialog(props, ref) {
12
+ const { children, ...rest } = props;
13
+ return React.createElement(customElements.getName(InactivityDialogWC) ?? 'inactivity-dialog', { ...rest, ref }, children);
14
+ });
15
+
16
+ export const FoundationShortcutListener = React.forwardRef(function FoundationShortcutListener(props, ref) {
17
+ const { children, ...rest } = props;
18
+ return React.createElement(customElements.getName(FoundationShortcutListenerWC) ?? 'foundation-shortcut-listener', { ...rest, ref }, children);
19
+ });
20
+
21
+ export const SlottedStyles = React.forwardRef(function SlottedStyles(props, ref) {
22
+ const { children, ...rest } = props;
23
+ return React.createElement(customElements.getName(SlottedStylesWC) ?? 'slotted-styles', { ...rest, ref }, children);
24
+ });
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.461.1",
4
+ "version": "14.461.2",
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.461.1",
33
- "@genesislcap/genx": "14.461.1",
34
- "@genesislcap/rollup-builder": "14.461.1",
35
- "@genesislcap/ts-builder": "14.461.1",
36
- "@genesislcap/uvu-playwright-builder": "14.461.1",
37
- "@genesislcap/vite-builder": "14.461.1",
38
- "@genesislcap/webpack-builder": "14.461.1",
32
+ "@genesislcap/foundation-testing": "14.461.2",
33
+ "@genesislcap/genx": "14.461.2",
34
+ "@genesislcap/rollup-builder": "14.461.2",
35
+ "@genesislcap/ts-builder": "14.461.2",
36
+ "@genesislcap/uvu-playwright-builder": "14.461.2",
37
+ "@genesislcap/vite-builder": "14.461.2",
38
+ "@genesislcap/webpack-builder": "14.461.2",
39
39
  "@types/json-schema": "^7.0.11"
40
40
  },
41
41
  "dependencies": {
42
- "@genesislcap/expression-builder": "14.461.1",
43
- "@genesislcap/foundation-logger": "14.461.1",
42
+ "@genesislcap/expression-builder": "14.461.2",
43
+ "@genesislcap/foundation-logger": "14.461.2",
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": "6ecd9dcda48da1ad9b09bb94d50ec5e7769e8e51"
61
+ "gitHead": "7999f5af9df17157002c463d10fe75a14ac43521"
62
62
  }