@stencil/core 5.0.0-beta.2 → 5.0.0-beta.20
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.
- package/dist/app-data/index.d.ts +1 -1
- package/dist/{client-BRu0GtRn.mjs → client-CVXS3JZ-.mjs} +105 -60
- package/dist/compiler/browser.d.ts +110 -79
- package/dist/compiler/browser.js +542 -241
- package/dist/compiler/index.d.mts +110 -2
- package/dist/compiler/index.mjs +3 -3
- package/dist/compiler/utils/index.d.mts +1 -1
- package/dist/{compiler-C8yf59oh.mjs → compiler-CUsOl_Kw.mjs} +4428 -2709
- package/dist/declarations/stencil-public-compiler.d.ts +144 -120
- package/dist/declarations/stencil-public-docs.d.ts +23 -0
- package/dist/declarations/stencil-public-runtime.d.ts +60 -58
- package/dist/{index-BopBfjPu.d.mts → index-B9-Byy8z.d.mts} +142 -118
- package/dist/{index-BXAcVN2j.d.ts → index-BHciXst1.d.ts} +57 -55
- package/dist/{index-DmHmu3y0.d.mts → index-Dz1G9pWZ.d.mts} +2 -2
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +1 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/{node-75gQKkFz.mjs → node-Bz2SOK7_.mjs} +6 -35
- package/dist/runtime/client/lazy.js +228 -180
- package/dist/runtime/client/runtime.d.ts +67 -66
- package/dist/runtime/client/runtime.js +228 -180
- package/dist/runtime/index.d.ts +4 -5
- package/dist/runtime/index.js +226 -178
- package/dist/runtime/server/index.d.mts +11 -11
- package/dist/runtime/server/index.mjs +287 -220
- package/dist/runtime/server/runner.d.mts +4 -4
- package/dist/runtime/server/runner.mjs +82 -54
- package/dist/signals/index.d.ts +11 -2
- package/dist/signals/index.js +11 -1
- package/dist/sys/node/index.d.mts +1 -1
- package/dist/sys/node/index.mjs +1 -1
- package/dist/sys/node/worker.mjs +2 -2
- package/dist/testing/index.d.mts +129 -112
- package/dist/testing/index.mjs +244 -193
- package/package.json +8 -4
|
@@ -239,7 +239,7 @@ interface VNode {
|
|
|
239
239
|
$signal$?: any;
|
|
240
240
|
}
|
|
241
241
|
declare namespace JSXBase {
|
|
242
|
-
interface IntrinsicElements {
|
|
242
|
+
export interface IntrinsicElements {
|
|
243
243
|
slot: JSXBase.SlotAttributes<HTMLSlotElement>;
|
|
244
244
|
a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
245
245
|
abbr: JSXBase.HTMLAttributes;
|
|
@@ -410,12 +410,12 @@ declare namespace JSXBase {
|
|
|
410
410
|
use: JSXBase.SVGAttributes;
|
|
411
411
|
view: JSXBase.SVGAttributes;
|
|
412
412
|
}
|
|
413
|
-
interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
413
|
+
export interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
414
414
|
name?: string;
|
|
415
415
|
slot?: string;
|
|
416
416
|
onSlotchange?: (event: Event$1) => void;
|
|
417
417
|
}
|
|
418
|
-
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
418
|
+
export interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
419
419
|
download?: any;
|
|
420
420
|
href?: string;
|
|
421
421
|
hrefLang?: string;
|
|
@@ -426,8 +426,8 @@ declare namespace JSXBase {
|
|
|
426
426
|
target?: string;
|
|
427
427
|
referrerPolicy?: ReferrerPolicy;
|
|
428
428
|
}
|
|
429
|
-
interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
|
|
430
|
-
interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
429
|
+
export interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
|
|
430
|
+
export interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
431
431
|
alt?: string;
|
|
432
432
|
coords?: string;
|
|
433
433
|
download?: any;
|
|
@@ -439,14 +439,14 @@ declare namespace JSXBase {
|
|
|
439
439
|
shape?: string;
|
|
440
440
|
target?: string;
|
|
441
441
|
}
|
|
442
|
-
interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
442
|
+
export interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
443
443
|
href?: string;
|
|
444
444
|
target?: string;
|
|
445
445
|
}
|
|
446
|
-
interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
446
|
+
export interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
447
447
|
cite?: string;
|
|
448
448
|
}
|
|
449
|
-
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
449
|
+
export interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
450
450
|
disabled?: boolean;
|
|
451
451
|
form?: string;
|
|
452
452
|
formAction?: string;
|
|
@@ -469,45 +469,45 @@ declare namespace JSXBase {
|
|
|
469
469
|
commandFor?: string;
|
|
470
470
|
commandfor?: string;
|
|
471
471
|
}
|
|
472
|
-
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
472
|
+
export interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
473
473
|
height?: number | string;
|
|
474
474
|
width?: number | string;
|
|
475
475
|
}
|
|
476
|
-
interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
476
|
+
export interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
477
477
|
span?: number;
|
|
478
478
|
}
|
|
479
|
-
interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
479
|
+
export interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
480
480
|
span?: number;
|
|
481
481
|
}
|
|
482
|
-
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
482
|
+
export interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
483
483
|
open?: boolean;
|
|
484
484
|
name?: string;
|
|
485
485
|
onToggle?: (event: ToggleEvent) => void;
|
|
486
486
|
}
|
|
487
|
-
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
487
|
+
export interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
488
488
|
cite?: string;
|
|
489
489
|
dateTime?: string;
|
|
490
490
|
datetime?: string;
|
|
491
491
|
}
|
|
492
|
-
interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
492
|
+
export interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
493
493
|
onCancel?: (event: Event$1) => void;
|
|
494
494
|
onClose?: (event: Event$1) => void;
|
|
495
495
|
open?: boolean;
|
|
496
496
|
returnValue?: string;
|
|
497
497
|
closedby?: 'any' | 'closerequest' | 'none';
|
|
498
498
|
}
|
|
499
|
-
interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
499
|
+
export interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
500
500
|
height?: number | string;
|
|
501
501
|
src?: string;
|
|
502
502
|
type?: string;
|
|
503
503
|
width?: number | string;
|
|
504
504
|
}
|
|
505
|
-
interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
505
|
+
export interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
506
506
|
disabled?: boolean;
|
|
507
507
|
form?: string;
|
|
508
508
|
name?: string;
|
|
509
509
|
}
|
|
510
|
-
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
510
|
+
export interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
511
511
|
acceptCharset?: string;
|
|
512
512
|
acceptcharset?: string;
|
|
513
513
|
action?: string;
|
|
@@ -521,10 +521,10 @@ declare namespace JSXBase {
|
|
|
521
521
|
novalidate?: boolean | string;
|
|
522
522
|
target?: string;
|
|
523
523
|
}
|
|
524
|
-
interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
524
|
+
export interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
525
525
|
manifest?: string;
|
|
526
526
|
}
|
|
527
|
-
interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
527
|
+
export interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
528
528
|
allow?: string;
|
|
529
529
|
allowFullScreen?: boolean;
|
|
530
530
|
allowfullScreen?: string | boolean;
|
|
@@ -551,7 +551,7 @@ declare namespace JSXBase {
|
|
|
551
551
|
srcdoc?: string;
|
|
552
552
|
width?: number | string;
|
|
553
553
|
}
|
|
554
|
-
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
554
|
+
export interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
555
555
|
alt?: string;
|
|
556
556
|
crossOrigin?: string;
|
|
557
557
|
crossorigin?: string;
|
|
@@ -570,12 +570,12 @@ declare namespace JSXBase {
|
|
|
570
570
|
usemap?: string;
|
|
571
571
|
width?: number | string;
|
|
572
572
|
}
|
|
573
|
-
interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
573
|
+
export interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
574
574
|
cite?: string;
|
|
575
575
|
dateTime?: string;
|
|
576
576
|
datetime?: string;
|
|
577
577
|
}
|
|
578
|
-
interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
578
|
+
export interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
579
579
|
accept?: string;
|
|
580
580
|
allowdirs?: boolean;
|
|
581
581
|
alt?: string;
|
|
@@ -638,7 +638,7 @@ declare namespace JSXBase {
|
|
|
638
638
|
popoverTargetElement?: globalThis.Element | null;
|
|
639
639
|
popoverTarget?: string;
|
|
640
640
|
}
|
|
641
|
-
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
641
|
+
export interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
642
642
|
challenge?: string;
|
|
643
643
|
disabled?: boolean;
|
|
644
644
|
form?: string;
|
|
@@ -648,14 +648,14 @@ declare namespace JSXBase {
|
|
|
648
648
|
keyparams?: string;
|
|
649
649
|
name?: string;
|
|
650
650
|
}
|
|
651
|
-
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
651
|
+
export interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
652
652
|
form?: string;
|
|
653
653
|
htmlFor?: string;
|
|
654
654
|
}
|
|
655
|
-
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
655
|
+
export interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
656
656
|
value?: string | string[] | number;
|
|
657
657
|
}
|
|
658
|
-
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
658
|
+
export interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
659
659
|
as?: string;
|
|
660
660
|
fetchPriority?: 'high' | 'low' | 'auto';
|
|
661
661
|
fetchpriority?: 'high' | 'low' | 'auto';
|
|
@@ -669,13 +669,13 @@ declare namespace JSXBase {
|
|
|
669
669
|
sizes?: string;
|
|
670
670
|
type?: string;
|
|
671
671
|
}
|
|
672
|
-
interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
672
|
+
export interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
673
673
|
name?: string;
|
|
674
674
|
}
|
|
675
|
-
interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
675
|
+
export interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
676
676
|
type?: string;
|
|
677
677
|
}
|
|
678
|
-
interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
678
|
+
export interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
679
679
|
autoPlay?: boolean;
|
|
680
680
|
autoplay?: boolean | string;
|
|
681
681
|
controls?: boolean;
|
|
@@ -715,7 +715,7 @@ declare namespace JSXBase {
|
|
|
715
715
|
onVolumeChange?: (event: Event$1) => void;
|
|
716
716
|
onWaiting?: (event: Event$1) => void;
|
|
717
717
|
}
|
|
718
|
-
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
718
|
+
export interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
719
719
|
charSet?: string;
|
|
720
720
|
charset?: string;
|
|
721
721
|
content?: string;
|
|
@@ -723,7 +723,7 @@ declare namespace JSXBase {
|
|
|
723
723
|
httpequiv?: string;
|
|
724
724
|
name?: string;
|
|
725
725
|
}
|
|
726
|
-
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
726
|
+
export interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
727
727
|
form?: string;
|
|
728
728
|
high?: number;
|
|
729
729
|
low?: number;
|
|
@@ -732,10 +732,10 @@ declare namespace JSXBase {
|
|
|
732
732
|
optimum?: number;
|
|
733
733
|
value?: string | string[] | number;
|
|
734
734
|
}
|
|
735
|
-
interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
735
|
+
export interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
736
736
|
cite?: string;
|
|
737
737
|
}
|
|
738
|
-
interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
738
|
+
export interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
739
739
|
classID?: string;
|
|
740
740
|
classid?: string;
|
|
741
741
|
data?: string;
|
|
@@ -748,34 +748,34 @@ declare namespace JSXBase {
|
|
|
748
748
|
width?: number | string;
|
|
749
749
|
wmode?: string;
|
|
750
750
|
}
|
|
751
|
-
interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
751
|
+
export interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
752
752
|
reversed?: boolean;
|
|
753
753
|
start?: number;
|
|
754
754
|
}
|
|
755
|
-
interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
755
|
+
export interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
756
756
|
disabled?: boolean;
|
|
757
757
|
label?: string;
|
|
758
758
|
}
|
|
759
|
-
interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
759
|
+
export interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
760
760
|
disabled?: boolean;
|
|
761
761
|
label?: string;
|
|
762
762
|
selected?: boolean;
|
|
763
763
|
value?: string | string[] | number;
|
|
764
764
|
}
|
|
765
|
-
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
765
|
+
export interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
766
766
|
form?: string;
|
|
767
767
|
htmlFor?: string;
|
|
768
768
|
name?: string;
|
|
769
769
|
}
|
|
770
|
-
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
770
|
+
export interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
771
771
|
name?: string;
|
|
772
772
|
value?: string | string[] | number;
|
|
773
773
|
}
|
|
774
|
-
interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
774
|
+
export interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
775
775
|
max?: number | string;
|
|
776
776
|
value?: string | string[] | number;
|
|
777
777
|
}
|
|
778
|
-
interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
778
|
+
export interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
779
779
|
async?: boolean;
|
|
780
780
|
charSet?: string;
|
|
781
781
|
charset?: string;
|
|
@@ -790,7 +790,7 @@ declare namespace JSXBase {
|
|
|
790
790
|
src?: string;
|
|
791
791
|
type?: string;
|
|
792
792
|
}
|
|
793
|
-
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
793
|
+
export interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
794
794
|
disabled?: boolean;
|
|
795
795
|
form?: string;
|
|
796
796
|
multiple?: boolean;
|
|
@@ -800,7 +800,7 @@ declare namespace JSXBase {
|
|
|
800
800
|
autoComplete?: string;
|
|
801
801
|
autocomplete?: string;
|
|
802
802
|
}
|
|
803
|
-
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
803
|
+
export interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
804
804
|
height?: number;
|
|
805
805
|
media?: string;
|
|
806
806
|
sizes?: string;
|
|
@@ -809,20 +809,20 @@ declare namespace JSXBase {
|
|
|
809
809
|
type?: string;
|
|
810
810
|
width?: number;
|
|
811
811
|
}
|
|
812
|
-
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
812
|
+
export interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
813
813
|
media?: string;
|
|
814
814
|
nonce?: string;
|
|
815
815
|
scoped?: boolean;
|
|
816
816
|
type?: string;
|
|
817
817
|
}
|
|
818
|
-
interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
818
|
+
export interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
819
819
|
cellPadding?: number | string;
|
|
820
820
|
cellpadding?: number | string;
|
|
821
821
|
cellSpacing?: number | string;
|
|
822
822
|
cellspacing?: number | string;
|
|
823
823
|
summary?: string;
|
|
824
824
|
}
|
|
825
|
-
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
825
|
+
export interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
826
826
|
autoComplete?: string;
|
|
827
827
|
autocomplete?: string;
|
|
828
828
|
cols?: number;
|
|
@@ -843,12 +843,12 @@ declare namespace JSXBase {
|
|
|
843
843
|
value?: string | string[] | number;
|
|
844
844
|
wrap?: string;
|
|
845
845
|
}
|
|
846
|
-
interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
846
|
+
export interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
847
847
|
colSpan?: number;
|
|
848
848
|
headers?: string;
|
|
849
849
|
rowSpan?: number;
|
|
850
850
|
}
|
|
851
|
-
interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
851
|
+
export interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
852
852
|
abbr?: string;
|
|
853
853
|
colSpan?: number;
|
|
854
854
|
headers?: string;
|
|
@@ -856,10 +856,10 @@ declare namespace JSXBase {
|
|
|
856
856
|
rowspan?: number | string;
|
|
857
857
|
scope?: string;
|
|
858
858
|
}
|
|
859
|
-
interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
859
|
+
export interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
860
860
|
dateTime?: string;
|
|
861
861
|
}
|
|
862
|
-
interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
862
|
+
export interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
863
863
|
default?: boolean;
|
|
864
864
|
kind?: string;
|
|
865
865
|
label?: string;
|
|
@@ -867,14 +867,14 @@ declare namespace JSXBase {
|
|
|
867
867
|
srcLang?: string;
|
|
868
868
|
srclang?: string;
|
|
869
869
|
}
|
|
870
|
-
interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
870
|
+
export interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
871
871
|
height?: number | string;
|
|
872
872
|
playsInline?: boolean;
|
|
873
873
|
playsinline?: boolean | string;
|
|
874
874
|
poster?: string;
|
|
875
875
|
width?: number | string;
|
|
876
876
|
}
|
|
877
|
-
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
877
|
+
export interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
878
878
|
innerHTML?: string;
|
|
879
879
|
accessKey?: string;
|
|
880
880
|
autoFocus?: boolean;
|
|
@@ -940,7 +940,7 @@ declare namespace JSXBase {
|
|
|
940
940
|
security?: string;
|
|
941
941
|
unselectable?: boolean;
|
|
942
942
|
}
|
|
943
|
-
interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
943
|
+
export interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
944
944
|
class?: string | {
|
|
945
945
|
[className: string]: boolean;
|
|
946
946
|
} | SignalRef<string>;
|
|
@@ -1202,13 +1202,15 @@ declare namespace JSXBase {
|
|
|
1202
1202
|
zoomAndPan?: string;
|
|
1203
1203
|
}
|
|
1204
1204
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
|
|
1205
|
-
interface ToggleEvent extends Event$1 {
|
|
1205
|
+
export interface ToggleEvent extends Event$1 {
|
|
1206
1206
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
|
|
1207
1207
|
readonly newState: string;
|
|
1208
1208
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
|
|
1209
1209
|
readonly oldState: string;
|
|
1210
1210
|
}
|
|
1211
|
-
|
|
1211
|
+
type AriaIDLPropertyName = { [K in keyof ARIAMixin]: ARIAMixin[K] extends string | null ? K : never; }[keyof ARIAMixin];
|
|
1212
|
+
type JSXAriaProperties = { [K in AriaIDLPropertyName]?: string | boolean | undefined; };
|
|
1213
|
+
export interface DOMAttributes<T> extends JSXAttributes<T>, JSXAriaProperties {
|
|
1212
1214
|
slot?: string;
|
|
1213
1215
|
part?: string;
|
|
1214
1216
|
exportparts?: string;
|
|
@@ -1338,8 +1340,8 @@ declare namespace JSXBase {
|
|
|
1338
1340
|
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1339
1341
|
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1340
1342
|
[key: `aria-${string}`]: string | boolean | undefined;
|
|
1341
|
-
[key: `aria${string}`]: string | boolean | undefined;
|
|
1342
1343
|
}
|
|
1344
|
+
export {};
|
|
1343
1345
|
}
|
|
1344
1346
|
interface JSXAttributes<T = globalThis.Element> {
|
|
1345
1347
|
key?: string | number;
|
|
@@ -1489,7 +1491,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
|
|
|
1489
1491
|
* Note that this is "approximate", in that HTML may often not be able
|
|
1490
1492
|
* to be split at an exact line width. Additionally, new lines created
|
|
1491
1493
|
* is where HTML naturally already has whitespace, such as before an
|
|
1492
|
-
* attribute or spaces between words. Defaults to `100
|
|
1494
|
+
* attribute or spaces between words. Defaults to no wrapping (`100` when prerendering).
|
|
1493
1495
|
*/
|
|
1494
1496
|
approximateLineWidth?: number;
|
|
1495
1497
|
/**
|
|
@@ -1507,12 +1509,12 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
|
|
|
1507
1509
|
prettyHtml?: boolean;
|
|
1508
1510
|
/**
|
|
1509
1511
|
* Remove quotes from attribute values when possible.
|
|
1510
|
-
* Defaults to `true
|
|
1512
|
+
* Defaults to `false` (`true` when prerendering).
|
|
1511
1513
|
*/
|
|
1512
1514
|
removeAttributeQuotes?: boolean;
|
|
1513
1515
|
/**
|
|
1514
1516
|
* Remove the `=""` from standardized `boolean` attributes,
|
|
1515
|
-
* such as `hidden` or `checked`. Defaults to `true
|
|
1517
|
+
* such as `hidden` or `checked`. Defaults to `false` (`true` when prerendering).
|
|
1516
1518
|
*/
|
|
1517
1519
|
removeBooleanAttributeQuotes?: boolean;
|
|
1518
1520
|
/**
|
|
@@ -1521,7 +1523,7 @@ interface SerializeDocumentOptions extends SsrDocumentOptions {
|
|
|
1521
1523
|
*/
|
|
1522
1524
|
removeEmptyAttributes?: boolean;
|
|
1523
1525
|
/**
|
|
1524
|
-
* Remove HTML comments. Defaults to `true
|
|
1526
|
+
* Remove HTML comments. Defaults to `false` (`true` when prerendering).
|
|
1525
1527
|
*/
|
|
1526
1528
|
removeHtmlComments?: boolean;
|
|
1527
1529
|
/**
|
|
@@ -2275,8 +2277,8 @@ declare const setErrorHandler: (handler: ErrorHandler) => ErrorHandler;
|
|
|
2275
2277
|
//#endregion
|
|
2276
2278
|
//#region src/client/client-style.d.ts
|
|
2277
2279
|
declare const styles: StyleMap;
|
|
2278
|
-
declare const
|
|
2279
|
-
declare const
|
|
2280
|
+
declare const modeResolver: ResolutionHandler[];
|
|
2281
|
+
declare const setScopedSSR: (_opts: SsrFactoryOptions) => void;
|
|
2280
2282
|
declare const needsScopedSSR: () => boolean;
|
|
2281
2283
|
//#endregion
|
|
2282
2284
|
//#region src/client/client-task-queue.d.ts
|
|
@@ -2382,13 +2384,13 @@ type Ctor<T = {}> = new (...args: any[]) => T;
|
|
|
2382
2384
|
declare function Mixin(...mixins: ((base: Ctor) => Ctor)[]): Ctor<{}>;
|
|
2383
2385
|
//#endregion
|
|
2384
2386
|
//#region src/runtime/mode.d.ts
|
|
2385
|
-
declare const setMode: (handler: ResolutionHandler) =>
|
|
2387
|
+
declare const setMode: (handler: ResolutionHandler) => void;
|
|
2386
2388
|
declare const getMode: (ref: RuntimeRef) => string;
|
|
2387
2389
|
//#endregion
|
|
2388
2390
|
//#region src/runtime/nonce.d.ts
|
|
2389
2391
|
/**
|
|
2390
2392
|
* Assigns the given value to the nonce property on the runtime platform object.
|
|
2391
|
-
* During runtime, this value is used to set the nonce attribute on all dynamically created
|
|
2393
|
+
* During runtime, this value is used to set the nonce attribute on all dynamically created style tags.
|
|
2392
2394
|
* @param nonce The value to be assigned to the platform nonce property.
|
|
2393
2395
|
* @returns void
|
|
2394
2396
|
*/
|
|
@@ -2440,10 +2442,9 @@ declare const normalizeWatchers: (raw: ComponentConstructorChangeHandlers | unde
|
|
|
2440
2442
|
*
|
|
2441
2443
|
* @param propValue the new value to coerce to some type
|
|
2442
2444
|
* @param propType the type of the prop, expressed as a binary number
|
|
2443
|
-
* @param isFormAssociated whether the component is form-associated (optional)
|
|
2444
2445
|
* @returns the parsed/coerced value
|
|
2445
2446
|
*/
|
|
2446
|
-
declare const parsePropertyValue: (propValue: unknown, propType: number
|
|
2447
|
+
declare const parsePropertyValue: (propValue: unknown, propType: number) => any;
|
|
2447
2448
|
//#endregion
|
|
2448
2449
|
//#region src/runtime/platform-options.d.ts
|
|
2449
2450
|
interface SetPlatformOptions {
|
|
@@ -2540,4 +2541,4 @@ declare const jsxs: typeof jsx;
|
|
|
2540
2541
|
*/
|
|
2541
2542
|
declare const jsxDEV: typeof jsx;
|
|
2542
2543
|
//#endregion
|
|
2543
|
-
export { AttachInternals, AttrDeserialize, BUILD, Build, Component, Element$1 as Element, Env, Event, Fragment, H, H as HTMLElement, type HTMLStencilElement, HYDRATED_STYLE_ID, Host, type JSXBase, Listen, Method, Mixin, NAMESPACE, Prop, PropSerialize, ReactiveControllerHost, STENCIL_DEV_MODE, State, Watch, addHostEventListeners, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, forceModeUpdate, forceUpdate, getAssetPath, getElement, getHostRef, getMode, getRegistry, getRenderingRef, getShadowRoot, getValue, h, injectSideEffectStyle, isMemberInElement, jsx, jsxDEV, jsxs, loadModule,
|
|
2544
|
+
export { AttachInternals, AttrDeserialize, BUILD, Build, Component, Element$1 as Element, Env, Event, Fragment, H, H as HTMLElement, type HTMLStencilElement, HYDRATED_STYLE_ID, Host, type JSXBase, Listen, Method, Mixin, NAMESPACE, Prop, PropSerialize, ReactiveControllerHost, STENCIL_DEV_MODE, State, Watch, addHostEventListeners, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, forceModeUpdate, forceUpdate, getAssetPath, getElement, getHostRef, getMode, getRegistry, getRenderingRef, getShadowRoot, getValue, h, injectSideEffectStyle, isMemberInElement, jsx, jsxDEV, jsxs, loadModule, modeResolver, needsScopedSSR, nextTick, normalizeWatchers, parsePropertyValue, plt, postUpdateComponent, promiseResolve, proxyComponent, proxyCustomElement, readTask, registerHost, registerInstance, registerSideEffectStyleTarget, render, resolveVar, setAssetPath, setErrorHandler, setLazyLoadBasePath, setMode, setNonce, setPlatformHelpers, setPlatformOptions, setRegistry, setScopedSSR, setTagTransformer, setValue, styles, supportsConstructableStylesheets, supportsListenerOptions, supportsMutableAdoptedStyleSheets, transformTag, unregisterSideEffectStyleTarget, win, writeTask };
|