@genesislcap/foundation-utils 14.225.2-alpha-a51f60c.0 → 14.225.2-alpha-9256cb8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/dist/custom-elements.json +199 -199
  2. package/dist/dts/error/errorMap.d.ts.map +1 -1
  3. package/dist/dts/mixins/lifecycle/lifecycle.d.ts +29 -51
  4. package/dist/dts/mixins/lifecycle/lifecycle.d.ts.map +1 -1
  5. package/dist/dts/mixins/pendingState/pendingState.d.ts +29 -45
  6. package/dist/dts/mixins/pendingState/pendingState.d.ts.map +1 -1
  7. package/dist/dts/observer/observer.d.ts.map +1 -1
  8. package/dist/dts/promise/resolveAfter.d.ts.map +1 -1
  9. package/dist/dts/tsdoc-metadata.json +1 -1
  10. package/dist/esm/mixins/lifecycle/lifecycle.js +5 -5
  11. package/dist/esm/mixins/pendingState/pendingState.js +2 -2
  12. package/dist/esm/uuid/uuid.js +2 -2
  13. package/dist/foundation-utils.api.json +267 -1106
  14. package/dist/foundation-utils.d.ts +58 -93
  15. package/docs/api/foundation-utils.createerrormap.md +1 -14
  16. package/docs/api/foundation-utils.createobserver.md +1 -5
  17. package/docs/api/foundation-utils.getfontmixin.md +1 -16
  18. package/docs/api/foundation-utils.iniframe.md +1 -7
  19. package/docs/api/foundation-utils.insertdocumentcssrule.md +1 -15
  20. package/docs/api/foundation-utils.insertdocumentlink.md +1 -12
  21. package/docs/api/foundation-utils.insymphonydesktop.md +1 -7
  22. package/docs/api/foundation-utils.isdev.md +1 -5
  23. package/docs/api/foundation-utils.lifecyclemixin.md +30 -56
  24. package/docs/api/foundation-utils.loadfontfaces.md +1 -13
  25. package/docs/api/foundation-utils.md +14 -14
  26. package/docs/api/foundation-utils.openpopup.md +1 -17
  27. package/docs/api/foundation-utils.pendingstate.md +30 -57
  28. package/docs/api/foundation-utils.resolveafter.md +1 -12
  29. package/docs/api/foundation-utils.respondtovisibility.md +1 -13
  30. package/docs/{api-report.md.api.md → api-report.md} +58 -93
  31. package/package.json +11 -11
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) > [@genesislcap/foundation-utils](./foundation-utils.md) > [respondToVisibility](./foundation-utils.respondtovisibility.md)
4
4
 
5
- ## respondToVisibility() function
5
+ ## respondToVisibility variable
6
6
 
7
7
  Setup an `IntersectionObserver` which will activate a callback function when an element becomes visible on screen
8
8
 
@@ -11,15 +11,3 @@ Setup an `IntersectionObserver` which will activate a callback function when an
11
11
  ```typescript
12
12
  respondToVisibility: (element: HTMLElement, callback: (arg0: boolean) => any) => void
13
13
  ```
14
-
15
- ## Parameters
16
-
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | element | HTMLElement | HTMLElement to observe |
20
- | callback | (arg0: boolean) => any | any function called when the visibility changes |
21
-
22
- **Returns:**
23
-
24
- void
25
-
@@ -4,9 +4,6 @@
4
4
 
5
5
  ```ts
6
6
 
7
- /// <reference types="node" />
8
- /// <reference types="webpack-env" />
9
-
10
7
  import { Binding } from '@microsoft/fast-element';
11
8
  import { CaptureType } from '@microsoft/fast-element';
12
9
  import { ComposableStyles } from '@microsoft/fast-element';
@@ -385,15 +382,11 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
385
382
  readonly offsetTop: number;
386
383
  readonly offsetWidth: number;
387
384
  outerText: string;
388
- popover: string;
389
385
  spellcheck: boolean;
390
386
  title: string;
391
387
  translate: boolean;
392
388
  attachInternals(): ElementInternals;
393
389
  click(): void;
394
- hidePopover(): void;
395
- showPopover(): void;
396
- togglePopover(force?: boolean): boolean;
397
390
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
398
391
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
399
392
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
@@ -422,12 +415,9 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
422
415
  slot: string;
423
416
  readonly tagName: string;
424
417
  attachShadow(init: ShadowRootInit): ShadowRoot;
425
- checkVisibility(options?: CheckVisibilityOptions): boolean;
426
418
  closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
427
419
  closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
428
- closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
429
420
  closest<E extends Element = Element>(selectors: string): E;
430
- computedStyleMap(): StylePropertyMapReadOnly;
431
421
  getAttribute(qualifiedName: string): string;
432
422
  getAttributeNS(namespace: string, localName: string): string;
433
423
  getAttributeNames(): string[];
@@ -436,14 +426,11 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
436
426
  getBoundingClientRect(): DOMRect;
437
427
  getClientRects(): DOMRectList;
438
428
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
439
- getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
440
- getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
441
- getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
442
- getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
429
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
430
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
443
431
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
444
432
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
445
433
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
446
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
447
434
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
448
435
  hasAttribute(qualifiedName: string): boolean;
449
436
  hasAttributeNS(namespace: string, localName: string): boolean;
@@ -500,24 +487,24 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
500
487
  normalize(): void;
501
488
  removeChild<T_3 extends Node>(child: T_3): T_3;
502
489
  replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
503
- readonly ELEMENT_NODE: 1;
504
- readonly ATTRIBUTE_NODE: 2;
505
- readonly TEXT_NODE: 3;
506
- readonly CDATA_SECTION_NODE: 4;
507
- readonly ENTITY_REFERENCE_NODE: 5;
508
- readonly ENTITY_NODE: 6;
509
- readonly PROCESSING_INSTRUCTION_NODE: 7;
510
- readonly COMMENT_NODE: 8;
511
- readonly DOCUMENT_NODE: 9;
512
- readonly DOCUMENT_TYPE_NODE: 10;
513
- readonly DOCUMENT_FRAGMENT_NODE: 11;
514
- readonly NOTATION_NODE: 12;
515
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
516
- readonly DOCUMENT_POSITION_PRECEDING: 2;
517
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
518
- readonly DOCUMENT_POSITION_CONTAINS: 8;
519
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
520
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
490
+ readonly ATTRIBUTE_NODE: number;
491
+ readonly CDATA_SECTION_NODE: number;
492
+ readonly COMMENT_NODE: number;
493
+ readonly DOCUMENT_FRAGMENT_NODE: number;
494
+ readonly DOCUMENT_NODE: number;
495
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
496
+ readonly DOCUMENT_POSITION_CONTAINS: number;
497
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
498
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
499
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
500
+ readonly DOCUMENT_POSITION_PRECEDING: number;
501
+ readonly DOCUMENT_TYPE_NODE: number;
502
+ readonly ELEMENT_NODE: number;
503
+ readonly ENTITY_NODE: number;
504
+ readonly ENTITY_REFERENCE_NODE: number;
505
+ readonly NOTATION_NODE: number;
506
+ readonly PROCESSING_INSTRUCTION_NODE: number;
507
+ readonly TEXT_NODE: number;
521
508
  dispatchEvent(event: Event): boolean;
522
509
  ariaAtomic: string;
523
510
  ariaAutoComplete: string;
@@ -525,9 +512,9 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
525
512
  ariaChecked: string;
526
513
  ariaColCount: string;
527
514
  ariaColIndex: string;
515
+ ariaColIndexText: string;
528
516
  ariaColSpan: string;
529
517
  ariaCurrent: string;
530
- ariaDescription: string;
531
518
  ariaDisabled: string;
532
519
  ariaExpanded: string;
533
520
  ariaHasPopup: string;
@@ -549,6 +536,7 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
549
536
  ariaRoleDescription: string;
550
537
  ariaRowCount: string;
551
538
  ariaRowIndex: string;
539
+ ariaRowIndexText: string;
552
540
  ariaRowSpan: string;
553
541
  ariaSelected: string;
554
542
  ariaSetSize: string;
@@ -573,19 +561,17 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
573
561
  readonly lastElementChild: Element;
574
562
  append(...nodes: (string | Node)[]): void;
575
563
  prepend(...nodes: (string | Node)[]): void;
576
- querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
577
- querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
578
- querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
579
- querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
564
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
565
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
580
566
  querySelector<E_1 extends Element = Element>(selectors: string): E_1;
581
- querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
582
- querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
583
- querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
584
- querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
567
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
568
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
585
569
  querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
586
570
  replaceChildren(...nodes: (string | Node)[]): void;
587
571
  readonly assignedSlot: HTMLSlotElement;
588
- readonly attributeStyleMap: StylePropertyMap;
572
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
573
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
574
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
589
575
  readonly style: CSSStyleDeclaration;
590
576
  contentEditable: string;
591
577
  enterKeyHint: string;
@@ -598,7 +584,6 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
598
584
  onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
599
585
  onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
600
586
  onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
601
- onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
602
587
  onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
603
588
  oncancel: (this: GlobalEventHandlers, ev: Event) => any;
604
589
  oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
@@ -607,9 +592,7 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
607
592
  onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
608
593
  onclose: (this: GlobalEventHandlers, ev: Event) => any;
609
594
  oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
610
- oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
611
595
  oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
612
- oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
613
596
  ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
614
597
  ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
615
598
  ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
@@ -642,7 +625,6 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
642
625
  onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
643
626
  onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
644
627
  onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
645
- onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
646
628
  onpause: (this: GlobalEventHandlers, ev: Event) => any;
647
629
  onplay: (this: GlobalEventHandlers, ev: Event) => any;
648
630
  onplaying: (this: GlobalEventHandlers, ev: Event) => any;
@@ -659,7 +641,6 @@ export const LifecycleMixin: <T extends ConstructableLifecycleHandler>(Base: T)
659
641
  onreset: (this: GlobalEventHandlers, ev: Event) => any;
660
642
  onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
661
643
  onscroll: (this: GlobalEventHandlers, ev: Event) => any;
662
- onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
663
644
  onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
664
645
  onseeked: (this: GlobalEventHandlers, ev: Event) => any;
665
646
  onseeking: (this: GlobalEventHandlers, ev: Event) => any;
@@ -774,15 +755,11 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
774
755
  readonly offsetTop: number;
775
756
  readonly offsetWidth: number;
776
757
  outerText: string;
777
- popover: string;
778
758
  spellcheck: boolean;
779
759
  title: string;
780
760
  translate: boolean;
781
761
  attachInternals(): ElementInternals;
782
762
  click(): void;
783
- hidePopover(): void;
784
- showPopover(): void;
785
- togglePopover(force?: boolean): boolean;
786
763
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
787
764
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
788
765
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
@@ -811,12 +788,9 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
811
788
  slot: string;
812
789
  readonly tagName: string;
813
790
  attachShadow(init: ShadowRootInit): ShadowRoot;
814
- checkVisibility(options?: CheckVisibilityOptions): boolean;
815
791
  closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
816
792
  closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
817
- closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
818
793
  closest<E extends Element = Element>(selectors: string): E;
819
- computedStyleMap(): StylePropertyMapReadOnly;
820
794
  getAttribute(qualifiedName: string): string;
821
795
  getAttributeNS(namespace: string, localName: string): string;
822
796
  getAttributeNames(): string[];
@@ -825,14 +799,11 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
825
799
  getBoundingClientRect(): DOMRect;
826
800
  getClientRects(): DOMRectList;
827
801
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
828
- getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
829
- getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
830
- getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
831
- getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
802
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
803
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
832
804
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
833
805
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
834
806
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
835
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
836
807
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
837
808
  hasAttribute(qualifiedName: string): boolean;
838
809
  hasAttributeNS(namespace: string, localName: string): boolean;
@@ -890,24 +861,24 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
890
861
  normalize(): void;
891
862
  removeChild<T_2 extends Node>(child: T_2): T_2;
892
863
  replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
893
- readonly ELEMENT_NODE: 1;
894
- readonly ATTRIBUTE_NODE: 2;
895
- readonly TEXT_NODE: 3;
896
- readonly CDATA_SECTION_NODE: 4;
897
- readonly ENTITY_REFERENCE_NODE: 5;
898
- readonly ENTITY_NODE: 6;
899
- readonly PROCESSING_INSTRUCTION_NODE: 7;
900
- readonly COMMENT_NODE: 8;
901
- readonly DOCUMENT_NODE: 9;
902
- readonly DOCUMENT_TYPE_NODE: 10;
903
- readonly DOCUMENT_FRAGMENT_NODE: 11;
904
- readonly NOTATION_NODE: 12;
905
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
906
- readonly DOCUMENT_POSITION_PRECEDING: 2;
907
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
908
- readonly DOCUMENT_POSITION_CONTAINS: 8;
909
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
910
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
864
+ readonly ATTRIBUTE_NODE: number;
865
+ readonly CDATA_SECTION_NODE: number;
866
+ readonly COMMENT_NODE: number;
867
+ readonly DOCUMENT_FRAGMENT_NODE: number;
868
+ readonly DOCUMENT_NODE: number;
869
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
870
+ readonly DOCUMENT_POSITION_CONTAINS: number;
871
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
872
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
873
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
874
+ readonly DOCUMENT_POSITION_PRECEDING: number;
875
+ readonly DOCUMENT_TYPE_NODE: number;
876
+ readonly ELEMENT_NODE: number;
877
+ readonly ENTITY_NODE: number;
878
+ readonly ENTITY_REFERENCE_NODE: number;
879
+ readonly NOTATION_NODE: number;
880
+ readonly PROCESSING_INSTRUCTION_NODE: number;
881
+ readonly TEXT_NODE: number;
911
882
  dispatchEvent(event: Event): boolean;
912
883
  ariaAtomic: string;
913
884
  ariaAutoComplete: string;
@@ -915,9 +886,9 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
915
886
  ariaChecked: string;
916
887
  ariaColCount: string;
917
888
  ariaColIndex: string;
889
+ ariaColIndexText: string;
918
890
  ariaColSpan: string;
919
891
  ariaCurrent: string;
920
- ariaDescription: string;
921
892
  ariaDisabled: string;
922
893
  ariaExpanded: string;
923
894
  ariaHasPopup: string;
@@ -939,6 +910,7 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
939
910
  ariaRoleDescription: string;
940
911
  ariaRowCount: string;
941
912
  ariaRowIndex: string;
913
+ ariaRowIndexText: string;
942
914
  ariaRowSpan: string;
943
915
  ariaSelected: string;
944
916
  ariaSetSize: string;
@@ -963,19 +935,17 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
963
935
  readonly lastElementChild: Element;
964
936
  append(...nodes: (string | Node)[]): void;
965
937
  prepend(...nodes: (string | Node)[]): void;
966
- querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
967
- querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
968
- querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
969
- querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
938
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
939
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
970
940
  querySelector<E_1 extends Element = Element>(selectors: string): E_1;
971
- querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
972
- querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
973
- querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
974
- querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
941
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
942
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
975
943
  querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
976
944
  replaceChildren(...nodes: (string | Node)[]): void;
977
945
  readonly assignedSlot: HTMLSlotElement;
978
- readonly attributeStyleMap: StylePropertyMap;
946
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
947
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
948
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
979
949
  readonly style: CSSStyleDeclaration;
980
950
  contentEditable: string;
981
951
  enterKeyHint: string;
@@ -988,7 +958,6 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
988
958
  onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
989
959
  onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
990
960
  onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
991
- onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
992
961
  onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
993
962
  oncancel: (this: GlobalEventHandlers, ev: Event) => any;
994
963
  oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
@@ -997,9 +966,7 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
997
966
  onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
998
967
  onclose: (this: GlobalEventHandlers, ev: Event) => any;
999
968
  oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1000
- oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
1001
969
  oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
1002
- oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
1003
970
  ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1004
971
  ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
1005
972
  ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
@@ -1032,7 +999,6 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
1032
999
  onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1033
1000
  onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1034
1001
  onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1035
- onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
1036
1002
  onpause: (this: GlobalEventHandlers, ev: Event) => any;
1037
1003
  onplay: (this: GlobalEventHandlers, ev: Event) => any;
1038
1004
  onplaying: (this: GlobalEventHandlers, ev: Event) => any;
@@ -1049,7 +1015,6 @@ export const PendingState: <TBase extends ConstructablePendingState>(Base: TBase
1049
1015
  onreset: (this: GlobalEventHandlers, ev: Event) => any;
1050
1016
  onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
1051
1017
  onscroll: (this: GlobalEventHandlers, ev: Event) => any;
1052
- onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
1053
1018
  onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
1054
1019
  onseeked: (this: GlobalEventHandlers, ev: Event) => any;
1055
1020
  onseeking: (this: GlobalEventHandlers, ev: Event) => any;
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.225.2-alpha-a51f60c.0",
4
+ "version": "14.225.2-alpha-9256cb8.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -27,23 +27,23 @@
27
27
  }
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.225.2-alpha-a51f60c.0",
31
- "@genesislcap/genx": "14.225.2-alpha-a51f60c.0",
32
- "@genesislcap/rollup-builder": "14.225.2-alpha-a51f60c.0",
33
- "@genesislcap/ts-builder": "14.225.2-alpha-a51f60c.0",
34
- "@genesislcap/uvu-playwright-builder": "14.225.2-alpha-a51f60c.0",
35
- "@genesislcap/vite-builder": "14.225.2-alpha-a51f60c.0",
36
- "@genesislcap/webpack-builder": "14.225.2-alpha-a51f60c.0",
30
+ "@genesislcap/foundation-testing": "14.225.2-alpha-9256cb8.0",
31
+ "@genesislcap/genx": "14.225.2-alpha-9256cb8.0",
32
+ "@genesislcap/rollup-builder": "14.225.2-alpha-9256cb8.0",
33
+ "@genesislcap/ts-builder": "14.225.2-alpha-9256cb8.0",
34
+ "@genesislcap/uvu-playwright-builder": "14.225.2-alpha-9256cb8.0",
35
+ "@genesislcap/vite-builder": "14.225.2-alpha-9256cb8.0",
36
+ "@genesislcap/webpack-builder": "14.225.2-alpha-9256cb8.0",
37
37
  "rimraf": "^5.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@genesislcap/foundation-logger": "14.225.2-alpha-a51f60c.0",
40
+ "@genesislcap/foundation-logger": "14.225.2-alpha-9256cb8.0",
41
41
  "@microsoft/fast-components": "2.30.6",
42
42
  "@microsoft/fast-element": "1.14.0",
43
43
  "@microsoft/fast-foundation": "2.49.6",
44
44
  "lossless-json": "^2.0.11",
45
45
  "numeral": "2.0.6",
46
- "tslib": "2.8.1",
46
+ "tslib": "^2.3.1",
47
47
  "uuid": "^8.3.2"
48
48
  },
49
49
  "repository": {
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "customElements": "dist/custom-elements.json",
58
- "gitHead": "4e2f49c901b8ee0f06d4df645c355d7f6c7bde70"
58
+ "gitHead": "0ff7bf51c67a95415ea9ba050104add9e4e62283"
59
59
  }