solid-js 1.7.6 → 1.7.8
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/dev.cjs +35 -16
- package/dist/dev.js +35 -16
- package/dist/server.cjs +9 -5
- package/dist/server.js +9 -5
- package/dist/solid.cjs +35 -16
- package/dist/solid.js +35 -16
- package/h/jsx-runtime/types/jsx.d.ts +127 -100
- package/package.json +55 -109
- package/store/package.json +14 -28
- package/types/jsx.d.ts +7 -6
- package/types/reactive/signal.d.ts +1 -1
- package/types/render/hydration.d.ts +3 -0
- package/types/server/reactive.d.ts +1 -1
- package/universal/package.json +4 -8
- package/web/dist/dev.cjs +2 -2
- package/web/dist/dev.js +3 -3
- package/web/dist/server.cjs +4 -4
- package/web/dist/server.js +4 -4
- package/web/dist/web.cjs +2 -2
- package/web/dist/web.js +3 -3
- package/web/package.json +14 -28
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as csstype from
|
|
1
|
+
import * as csstype from "csstype";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Based on JSX types for Surplus and Inferno and adapted for `dom-expressions`.
|
|
@@ -9,7 +9,7 @@ import * as csstype from 'csstype';
|
|
|
9
9
|
type DOMElement = Element;
|
|
10
10
|
|
|
11
11
|
export namespace JSX {
|
|
12
|
-
type FunctionMaybe<T = unknown> =
|
|
12
|
+
type FunctionMaybe<T = unknown> = { (): T } | T;
|
|
13
13
|
type Element =
|
|
14
14
|
| Node
|
|
15
15
|
| ArrayElement
|
|
@@ -61,7 +61,7 @@ export namespace JSX {
|
|
|
61
61
|
};
|
|
62
62
|
$ServerOnly?: boolean;
|
|
63
63
|
}
|
|
64
|
-
type Accessor<T> = () => T
|
|
64
|
+
type Accessor<T> = () => T;
|
|
65
65
|
interface Directives {}
|
|
66
66
|
interface DirectiveFunctions {
|
|
67
67
|
[x: string]: (el: Element, accessor: Accessor<any>) => void;
|
|
@@ -74,7 +74,9 @@ export namespace JSX {
|
|
|
74
74
|
[Key in keyof Directives as `use:${Key}`]?: Directives[Key];
|
|
75
75
|
};
|
|
76
76
|
type DirectiveFunctionAttributes<T> = {
|
|
77
|
-
[K in keyof DirectiveFunctions as string extends K
|
|
77
|
+
[K in keyof DirectiveFunctions as string extends K
|
|
78
|
+
? never
|
|
79
|
+
: `use:${K}`]?: DirectiveFunctions[K] extends (
|
|
78
80
|
el: infer E, // will be unknown if not provided
|
|
79
81
|
...rest: infer R // use rest so that we can check whether it's provided or not
|
|
80
82
|
) => void
|
|
@@ -95,13 +97,23 @@ export namespace JSX {
|
|
|
95
97
|
};
|
|
96
98
|
type OnAttributes<T> = {
|
|
97
99
|
[Key in keyof CustomEvents as `on:${Key}`]?: EventHandler<T, CustomEvents[Key]>;
|
|
98
|
-
}
|
|
100
|
+
};
|
|
99
101
|
type OnCaptureAttributes<T> = {
|
|
100
|
-
[Key in keyof CustomCaptureEvents as `oncapture:${Key}`]?: EventHandler<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
[Key in keyof CustomCaptureEvents as `oncapture:${Key}`]?: EventHandler<
|
|
103
|
+
T,
|
|
104
|
+
CustomCaptureEvents[Key]
|
|
105
|
+
>;
|
|
106
|
+
};
|
|
107
|
+
interface DOMAttributes<T>
|
|
108
|
+
extends CustomAttributes<T>,
|
|
109
|
+
DirectiveAttributes,
|
|
110
|
+
DirectiveFunctionAttributes<T>,
|
|
111
|
+
PropAttributes,
|
|
112
|
+
AttrAttributes,
|
|
113
|
+
OnAttributes<T>,
|
|
114
|
+
OnCaptureAttributes<T>,
|
|
115
|
+
CustomEventHandlersCamelCase<T>,
|
|
116
|
+
CustomEventHandlersLowerCase<T> {
|
|
105
117
|
children?: Element;
|
|
106
118
|
innerHTML?: string;
|
|
107
119
|
innerText?: string | number;
|
|
@@ -187,7 +199,8 @@ export namespace JSX {
|
|
|
187
199
|
onProgress?: EventHandlerUnion<T, Event>;
|
|
188
200
|
onRateChange?: EventHandlerUnion<T, Event>;
|
|
189
201
|
onReset?: EventHandlerUnion<T, Event>;
|
|
190
|
-
onScroll?: EventHandlerUnion<T,
|
|
202
|
+
onScroll?: EventHandlerUnion<T, Event>;
|
|
203
|
+
onScrollEnd?: EventHandlerUnion<T, Event>;
|
|
191
204
|
onSeeked?: EventHandlerUnion<T, Event>;
|
|
192
205
|
onSeeking?: EventHandlerUnion<T, Event>;
|
|
193
206
|
onSelect?: EventHandlerUnion<T, UIEvent>;
|
|
@@ -204,7 +217,10 @@ export namespace JSX {
|
|
|
204
217
|
onTouchEnd?: EventHandlerUnion<T, TouchEvent>;
|
|
205
218
|
onTouchMove?: EventHandlerUnion<T, TouchEvent>;
|
|
206
219
|
onTouchStart?: EventHandlerUnion<T, TouchEvent>;
|
|
220
|
+
onTransitionStart?: EventHandlerUnion<T, TransitionEvent>;
|
|
207
221
|
onTransitionEnd?: EventHandlerUnion<T, TransitionEvent>;
|
|
222
|
+
onTransitionRun?: EventHandlerUnion<T, TransitionEvent>;
|
|
223
|
+
onTransitionCancel?: EventHandlerUnion<T, TransitionEvent>;
|
|
208
224
|
onVolumeChange?: EventHandlerUnion<T, Event>;
|
|
209
225
|
onWaiting?: EventHandlerUnion<T, Event>;
|
|
210
226
|
onWheel?: EventHandlerUnion<T, WheelEvent>;
|
|
@@ -270,7 +286,8 @@ export namespace JSX {
|
|
|
270
286
|
onprogress?: EventHandlerUnion<T, Event>;
|
|
271
287
|
onratechange?: EventHandlerUnion<T, Event>;
|
|
272
288
|
onreset?: EventHandlerUnion<T, Event>;
|
|
273
|
-
onscroll?: EventHandlerUnion<T,
|
|
289
|
+
onscroll?: EventHandlerUnion<T, Event>;
|
|
290
|
+
onscrollend?: EventHandlerUnion<T, Event>;
|
|
274
291
|
onseeked?: EventHandlerUnion<T, Event>;
|
|
275
292
|
onseeking?: EventHandlerUnion<T, Event>;
|
|
276
293
|
onselect?: EventHandlerUnion<T, UIEvent>;
|
|
@@ -287,7 +304,10 @@ export namespace JSX {
|
|
|
287
304
|
ontouchend?: EventHandlerUnion<T, TouchEvent>;
|
|
288
305
|
ontouchmove?: EventHandlerUnion<T, TouchEvent>;
|
|
289
306
|
ontouchstart?: EventHandlerUnion<T, TouchEvent>;
|
|
307
|
+
ontransitionstart?: EventHandlerUnion<T, TransitionEvent>;
|
|
290
308
|
ontransitionend?: EventHandlerUnion<T, TransitionEvent>;
|
|
309
|
+
ontransitionrun?: EventHandlerUnion<T, TransitionEvent>;
|
|
310
|
+
ontransitioncancel?: EventHandlerUnion<T, TransitionEvent>;
|
|
291
311
|
onvolumechange?: EventHandlerUnion<T, Event>;
|
|
292
312
|
onwaiting?: EventHandlerUnion<T, Event>;
|
|
293
313
|
onwheel?: EventHandlerUnion<T, WheelEvent>;
|
|
@@ -295,7 +315,7 @@ export namespace JSX {
|
|
|
295
315
|
|
|
296
316
|
interface CSSProperties extends csstype.PropertiesHyphen {
|
|
297
317
|
// Override
|
|
298
|
-
[key: `-${string}`]: string | number | undefined
|
|
318
|
+
[key: `-${string}`]: string | number | undefined;
|
|
299
319
|
}
|
|
300
320
|
|
|
301
321
|
type HTMLAutocapitalize = "off" | "none" | "on" | "sentences" | "words" | "characters";
|
|
@@ -538,76 +558,77 @@ export namespace JSX {
|
|
|
538
558
|
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
539
559
|
"aria-valuetext"?: string;
|
|
540
560
|
role?: FunctionMaybe<
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
561
|
+
| "alert"
|
|
562
|
+
| "alertdialog"
|
|
563
|
+
| "application"
|
|
564
|
+
| "article"
|
|
565
|
+
| "banner"
|
|
566
|
+
| "button"
|
|
567
|
+
| "cell"
|
|
568
|
+
| "checkbox"
|
|
569
|
+
| "columnheader"
|
|
570
|
+
| "combobox"
|
|
571
|
+
| "complementary"
|
|
572
|
+
| "contentinfo"
|
|
573
|
+
| "definition"
|
|
574
|
+
| "dialog"
|
|
575
|
+
| "directory"
|
|
576
|
+
| "document"
|
|
577
|
+
| "feed"
|
|
578
|
+
| "figure"
|
|
579
|
+
| "form"
|
|
580
|
+
| "grid"
|
|
581
|
+
| "gridcell"
|
|
582
|
+
| "group"
|
|
583
|
+
| "heading"
|
|
584
|
+
| "img"
|
|
585
|
+
| "link"
|
|
586
|
+
| "list"
|
|
587
|
+
| "listbox"
|
|
588
|
+
| "listitem"
|
|
589
|
+
| "log"
|
|
590
|
+
| "main"
|
|
591
|
+
| "marquee"
|
|
592
|
+
| "math"
|
|
593
|
+
| "menu"
|
|
594
|
+
| "menubar"
|
|
595
|
+
| "menuitem"
|
|
596
|
+
| "menuitemcheckbox"
|
|
597
|
+
| "menuitemradio"
|
|
598
|
+
| "meter"
|
|
599
|
+
| "navigation"
|
|
600
|
+
| "none"
|
|
601
|
+
| "note"
|
|
602
|
+
| "option"
|
|
603
|
+
| "presentation"
|
|
604
|
+
| "progressbar"
|
|
605
|
+
| "radio"
|
|
606
|
+
| "radiogroup"
|
|
607
|
+
| "region"
|
|
608
|
+
| "row"
|
|
609
|
+
| "rowgroup"
|
|
610
|
+
| "rowheader"
|
|
611
|
+
| "scrollbar"
|
|
612
|
+
| "search"
|
|
613
|
+
| "searchbox"
|
|
614
|
+
| "separator"
|
|
615
|
+
| "slider"
|
|
616
|
+
| "spinbutton"
|
|
617
|
+
| "status"
|
|
618
|
+
| "switch"
|
|
619
|
+
| "tab"
|
|
620
|
+
| "table"
|
|
621
|
+
| "tablist"
|
|
622
|
+
| "tabpanel"
|
|
623
|
+
| "term"
|
|
624
|
+
| "textbox"
|
|
625
|
+
| "timer"
|
|
626
|
+
| "toolbar"
|
|
627
|
+
| "tooltip"
|
|
628
|
+
| "tree"
|
|
629
|
+
| "treegrid"
|
|
630
|
+
| "treeitem"
|
|
631
|
+
>;
|
|
611
632
|
}
|
|
612
633
|
|
|
613
634
|
interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
|
@@ -643,7 +664,9 @@ export namespace JSX {
|
|
|
643
664
|
itemref?: FunctionMaybe<string>;
|
|
644
665
|
part?: FunctionMaybe<string>;
|
|
645
666
|
exportparts?: FunctionMaybe<string>;
|
|
646
|
-
inputmode?: FunctionMaybe<
|
|
667
|
+
inputmode?: FunctionMaybe<
|
|
668
|
+
"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search"
|
|
669
|
+
>;
|
|
647
670
|
contentEditable?: FunctionMaybe<boolean | "inherit">;
|
|
648
671
|
contextMenu?: FunctionMaybe<string>;
|
|
649
672
|
tabIndex?: FunctionMaybe<number | string>;
|
|
@@ -654,7 +677,9 @@ export namespace JSX {
|
|
|
654
677
|
itemId?: FunctionMaybe<string>;
|
|
655
678
|
itemRef?: FunctionMaybe<string>;
|
|
656
679
|
exportParts?: FunctionMaybe<string>;
|
|
657
|
-
inputMode?: FunctionMaybe<
|
|
680
|
+
inputMode?: FunctionMaybe<
|
|
681
|
+
"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search"
|
|
682
|
+
>;
|
|
658
683
|
}
|
|
659
684
|
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
660
685
|
download?: FunctionMaybe<any>;
|
|
@@ -741,7 +766,7 @@ export namespace JSX {
|
|
|
741
766
|
name?: FunctionMaybe<string>;
|
|
742
767
|
}
|
|
743
768
|
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
744
|
-
|
|
769
|
+
"accept-charset"?: FunctionMaybe<string>;
|
|
745
770
|
action?: FunctionMaybe<string>;
|
|
746
771
|
autocomplete?: FunctionMaybe<string>;
|
|
747
772
|
encoding?: FunctionMaybe<HTMLFormEncType>;
|
|
@@ -750,7 +775,6 @@ export namespace JSX {
|
|
|
750
775
|
name?: FunctionMaybe<string>;
|
|
751
776
|
novalidate?: FunctionMaybe<boolean>;
|
|
752
777
|
target?: FunctionMaybe<string>;
|
|
753
|
-
acceptCharset?: FunctionMaybe<string>;
|
|
754
778
|
noValidate?: FunctionMaybe<boolean>;
|
|
755
779
|
}
|
|
756
780
|
interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -885,9 +909,8 @@ export namespace JSX {
|
|
|
885
909
|
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
886
910
|
charset?: FunctionMaybe<string>;
|
|
887
911
|
content?: FunctionMaybe<string>;
|
|
888
|
-
|
|
912
|
+
"http-equiv"?: FunctionMaybe<string>;
|
|
889
913
|
name?: FunctionMaybe<string>;
|
|
890
|
-
httpEquiv?: FunctionMaybe<string>;
|
|
891
914
|
}
|
|
892
915
|
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
893
916
|
form?: FunctionMaybe<string>;
|
|
@@ -1017,7 +1040,7 @@ export namespace JSX {
|
|
|
1017
1040
|
rowspan?: FunctionMaybe<number | string>;
|
|
1018
1041
|
colSpan?: FunctionMaybe<number | string>;
|
|
1019
1042
|
rowSpan?: FunctionMaybe<number | string>;
|
|
1020
|
-
scope?: FunctionMaybe<
|
|
1043
|
+
scope?: FunctionMaybe<"col" | "row" | "rowgroup" | "colgroup">;
|
|
1021
1044
|
}
|
|
1022
1045
|
interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1023
1046
|
datetime?: FunctionMaybe<string>;
|
|
@@ -1223,26 +1246,30 @@ export namespace JSX {
|
|
|
1223
1246
|
| "stroke"
|
|
1224
1247
|
| "all"
|
|
1225
1248
|
| "none"
|
|
1226
|
-
| "inherit"
|
|
1227
|
-
|
|
1249
|
+
| "inherit"
|
|
1250
|
+
>;
|
|
1251
|
+
"shape-rendering"?: FunctionMaybe<
|
|
1252
|
+
"auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision" | "inherit"
|
|
1253
|
+
>;
|
|
1228
1254
|
"stop-color"?: FunctionMaybe<string>;
|
|
1229
1255
|
"stop-opacity"?: FunctionMaybe<number | string | "inherit">;
|
|
1230
1256
|
stroke?: FunctionMaybe<string>;
|
|
1231
1257
|
"stroke-dasharray"?: FunctionMaybe<string>;
|
|
1232
1258
|
"stroke-dashoffset"?: FunctionMaybe<number | string>;
|
|
1233
1259
|
"stroke-linecap"?: FunctionMaybe<"butt" | "round" | "square" | "inherit">;
|
|
1234
|
-
"stroke-linejoin"?: FunctionMaybe<
|
|
1260
|
+
"stroke-linejoin"?: FunctionMaybe<
|
|
1261
|
+
"arcs" | "bevel" | "miter" | "miter-clip" | "round" | "inherit"
|
|
1262
|
+
>;
|
|
1235
1263
|
"stroke-miterlimit"?: FunctionMaybe<number | string | "inherit">;
|
|
1236
1264
|
"stroke-opacity"?: FunctionMaybe<number | string | "inherit">;
|
|
1237
1265
|
"stroke-width"?: FunctionMaybe<number | string>;
|
|
1238
1266
|
"text-anchor"?: FunctionMaybe<"start" | "middle" | "end" | "inherit">;
|
|
1239
|
-
"text-decoration"?: FunctionMaybe<
|
|
1267
|
+
"text-decoration"?: FunctionMaybe<
|
|
1268
|
+
"none" | "underline" | "overline" | "line-through" | "blink" | "inherit"
|
|
1269
|
+
>;
|
|
1240
1270
|
"text-rendering"?: FunctionMaybe<
|
|
1241
|
-
| "
|
|
1242
|
-
|
|
1243
|
-
| "optimizeLegibility"
|
|
1244
|
-
| "geometricPrecision"
|
|
1245
|
-
| "inherit">;
|
|
1271
|
+
"auto" | "optimizeSpeed" | "optimizeLegibility" | "geometricPrecision" | "inherit"
|
|
1272
|
+
>;
|
|
1246
1273
|
"unicode-bidi"?: FunctionMaybe<string>;
|
|
1247
1274
|
visibility?: FunctionMaybe<"visible" | "hidden" | "collapse" | "inherit">;
|
|
1248
1275
|
"word-spacing"?: FunctionMaybe<number | string>;
|
|
@@ -1293,7 +1320,7 @@ export namespace JSX {
|
|
|
1293
1320
|
gradientUnits?: FunctionMaybe<SVGUnits>;
|
|
1294
1321
|
gradientTransform?: FunctionMaybe<string>;
|
|
1295
1322
|
spreadMethod?: FunctionMaybe<"pad" | "reflect" | "repeat">;
|
|
1296
|
-
href?: FunctionMaybe<string
|
|
1323
|
+
href?: FunctionMaybe<string>;
|
|
1297
1324
|
}
|
|
1298
1325
|
interface GraphicsElementSVGAttributes<T>
|
|
1299
1326
|
extends CoreSVGAttributes<T>,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solid-js",
|
|
3
3
|
"description": "A declarative JavaScript library for building user interfaces.",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.8",
|
|
5
5
|
"author": "Ryan Carniato",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://solidjs.com",
|
|
@@ -46,51 +46,37 @@
|
|
|
46
46
|
"exports": {
|
|
47
47
|
".": {
|
|
48
48
|
"worker": {
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
"default": "./dist/server.js"
|
|
52
|
-
},
|
|
49
|
+
"types": "./types/index.d.ts",
|
|
50
|
+
"import": "./dist/server.js",
|
|
53
51
|
"require": "./dist/server.cjs"
|
|
54
52
|
},
|
|
55
53
|
"browser": {
|
|
56
54
|
"development": {
|
|
57
|
-
"import": {
|
|
58
|
-
"types": "./types/index.d.ts",
|
|
59
|
-
"default": "./dist/dev.js"
|
|
60
|
-
},
|
|
61
|
-
"require": "./dist/dev.cjs"
|
|
62
|
-
},
|
|
63
|
-
"import": {
|
|
64
55
|
"types": "./types/index.d.ts",
|
|
65
|
-
"
|
|
56
|
+
"import": "./dist/dev.js",
|
|
57
|
+
"require": "./dist/dev.cjs"
|
|
66
58
|
},
|
|
59
|
+
"types": "./types/index.d.ts",
|
|
60
|
+
"import": "./dist/solid.js",
|
|
67
61
|
"require": "./dist/solid.cjs"
|
|
68
62
|
},
|
|
69
63
|
"deno": {
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
"default": "./dist/server.js"
|
|
73
|
-
},
|
|
64
|
+
"types": "./types/index.d.ts",
|
|
65
|
+
"import": "./dist/server.js",
|
|
74
66
|
"require": "./dist/server.cjs"
|
|
75
67
|
},
|
|
76
68
|
"node": {
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
"default": "./dist/server.js"
|
|
80
|
-
},
|
|
69
|
+
"types": "./types/index.d.ts",
|
|
70
|
+
"import": "./dist/server.js",
|
|
81
71
|
"require": "./dist/server.cjs"
|
|
82
72
|
},
|
|
83
73
|
"development": {
|
|
84
|
-
"import": {
|
|
85
|
-
"types": "./types/index.d.ts",
|
|
86
|
-
"default": "./dist/dev.js"
|
|
87
|
-
},
|
|
88
|
-
"require": "./dist/dev.cjs"
|
|
89
|
-
},
|
|
90
|
-
"import": {
|
|
91
74
|
"types": "./types/index.d.ts",
|
|
92
|
-
"
|
|
75
|
+
"import": "./dist/dev.js",
|
|
76
|
+
"require": "./dist/dev.cjs"
|
|
93
77
|
},
|
|
78
|
+
"types": "./types/index.d.ts",
|
|
79
|
+
"import": "./dist/solid.js",
|
|
94
80
|
"require": "./dist/solid.cjs"
|
|
95
81
|
},
|
|
96
82
|
"./dist/*": "./dist/*",
|
|
@@ -104,146 +90,106 @@
|
|
|
104
90
|
},
|
|
105
91
|
"./store": {
|
|
106
92
|
"worker": {
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
"default": "./store/dist/server.js"
|
|
110
|
-
},
|
|
93
|
+
"types": "./store/types/index.d.ts",
|
|
94
|
+
"import": "./store/dist/server.js",
|
|
111
95
|
"require": "./store/dist/server.cjs"
|
|
112
96
|
},
|
|
113
97
|
"browser": {
|
|
114
98
|
"development": {
|
|
115
|
-
"import": {
|
|
116
|
-
"types": "./store/types/index.d.ts",
|
|
117
|
-
"default": "./store/dist/dev.js"
|
|
118
|
-
},
|
|
119
|
-
"require": "./store/dist/dev.cjs"
|
|
120
|
-
},
|
|
121
|
-
"import": {
|
|
122
99
|
"types": "./store/types/index.d.ts",
|
|
123
|
-
"
|
|
100
|
+
"import": "./store/dist/dev.js",
|
|
101
|
+
"require": "./store/dist/dev.cjs"
|
|
124
102
|
},
|
|
103
|
+
"types": "./store/types/index.d.ts",
|
|
104
|
+
"import": "./store/dist/store.js",
|
|
125
105
|
"require": "./store/dist/store.cjs"
|
|
126
106
|
},
|
|
127
107
|
"deno": {
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
"default": "./store/dist/server.js"
|
|
131
|
-
},
|
|
108
|
+
"types": "./store/types/index.d.ts",
|
|
109
|
+
"import": "./store/dist/server.js",
|
|
132
110
|
"require": "./store/dist/server.cjs"
|
|
133
111
|
},
|
|
134
112
|
"node": {
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
"default": "./store/dist/server.js"
|
|
138
|
-
},
|
|
113
|
+
"types": "./store/types/index.d.ts",
|
|
114
|
+
"import": "./store/dist/server.js",
|
|
139
115
|
"require": "./store/dist/server.cjs"
|
|
140
116
|
},
|
|
141
117
|
"development": {
|
|
142
|
-
"import": {
|
|
143
|
-
"types": "./store/types/index.d.ts",
|
|
144
|
-
"default": "./store/dist/dev.js"
|
|
145
|
-
},
|
|
146
|
-
"require": "./store/dist/dev.cjs"
|
|
147
|
-
},
|
|
148
|
-
"import": {
|
|
149
118
|
"types": "./store/types/index.d.ts",
|
|
150
|
-
"
|
|
119
|
+
"import": "./store/dist/dev.js",
|
|
120
|
+
"require": "./store/dist/dev.cjs"
|
|
151
121
|
},
|
|
122
|
+
"types": "./store/types/index.d.ts",
|
|
123
|
+
"import": "./store/dist/store.js",
|
|
152
124
|
"require": "./store/dist/store.cjs"
|
|
153
125
|
},
|
|
154
126
|
"./store/dist/*": "./store/dist/*",
|
|
155
127
|
"./web": {
|
|
156
128
|
"worker": {
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
"default": "./web/dist/server.js"
|
|
160
|
-
},
|
|
129
|
+
"types": "./web/types/index.d.ts",
|
|
130
|
+
"import": "./web/dist/server.js",
|
|
161
131
|
"require": "./web/dist/server.cjs"
|
|
162
132
|
},
|
|
163
133
|
"browser": {
|
|
164
134
|
"development": {
|
|
165
|
-
"import": {
|
|
166
|
-
"types": "./web/types/index.d.ts",
|
|
167
|
-
"default": "./web/dist/dev.js"
|
|
168
|
-
},
|
|
169
|
-
"require": "./web/dist/dev.cjs"
|
|
170
|
-
},
|
|
171
|
-
"import": {
|
|
172
135
|
"types": "./web/types/index.d.ts",
|
|
173
|
-
"
|
|
136
|
+
"import": "./web/dist/dev.js",
|
|
137
|
+
"require": "./web/dist/dev.cjs"
|
|
174
138
|
},
|
|
139
|
+
"types": "./web/types/index.d.ts",
|
|
140
|
+
"import": "./web/dist/web.js",
|
|
175
141
|
"require": "./web/dist/web.cjs"
|
|
176
142
|
},
|
|
177
143
|
"deno": {
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
"default": "./web/dist/server.js"
|
|
181
|
-
},
|
|
144
|
+
"types": "./web/types/index.d.ts",
|
|
145
|
+
"import": "./web/dist/server.js",
|
|
182
146
|
"require": "./web/dist/server.cjs"
|
|
183
147
|
},
|
|
184
148
|
"node": {
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
"default": "./web/dist/server.js"
|
|
188
|
-
},
|
|
149
|
+
"types": "./web/types/index.d.ts",
|
|
150
|
+
"import": "./web/dist/server.js",
|
|
189
151
|
"require": "./web/dist/server.cjs"
|
|
190
152
|
},
|
|
191
153
|
"development": {
|
|
192
|
-
"import": {
|
|
193
|
-
"types": "./web/types/index.d.ts",
|
|
194
|
-
"default": "./web/dist/dev.js"
|
|
195
|
-
},
|
|
196
|
-
"require": "./web/dist/dev.cjs"
|
|
197
|
-
},
|
|
198
|
-
"import": {
|
|
199
154
|
"types": "./web/types/index.d.ts",
|
|
200
|
-
"
|
|
155
|
+
"import": "./web/dist/dev.js",
|
|
156
|
+
"require": "./web/dist/dev.cjs"
|
|
201
157
|
},
|
|
158
|
+
"types": "./web/types/index.d.ts",
|
|
159
|
+
"import": "./web/dist/web.js",
|
|
202
160
|
"require": "./web/dist/web.cjs"
|
|
203
161
|
},
|
|
204
162
|
"./web/dist/*": "./web/dist/*",
|
|
205
163
|
"./universal": {
|
|
206
164
|
"development": {
|
|
207
|
-
"import": {
|
|
208
|
-
"types": "./universal/types/index.d.ts",
|
|
209
|
-
"default": "./universal/dist/dev.js"
|
|
210
|
-
},
|
|
211
|
-
"require": "./universal/dist/dev.cjs"
|
|
212
|
-
},
|
|
213
|
-
"import": {
|
|
214
165
|
"types": "./universal/types/index.d.ts",
|
|
215
|
-
"
|
|
166
|
+
"import": "./universal/dist/dev.js",
|
|
167
|
+
"require": "./universal/dist/dev.cjs"
|
|
216
168
|
},
|
|
169
|
+
"types": "./universal/types/index.d.ts",
|
|
170
|
+
"import": "./universal/dist/universal.js",
|
|
217
171
|
"require": "./universal/dist/universal.cjs"
|
|
218
172
|
},
|
|
219
173
|
"./universal/dist/*": "./universal/dist/*",
|
|
220
174
|
"./h": {
|
|
221
|
-
"
|
|
222
|
-
|
|
223
|
-
"default": "./h/dist/h.js"
|
|
224
|
-
},
|
|
175
|
+
"types": "./h/types/index.d.ts",
|
|
176
|
+
"import": "./h/dist/h.js",
|
|
225
177
|
"require": "./h/dist/h.cjs"
|
|
226
178
|
},
|
|
227
179
|
"./h/jsx-runtime": {
|
|
228
|
-
"
|
|
229
|
-
|
|
230
|
-
"default": "./h/jsx-runtime/dist/jsx.js"
|
|
231
|
-
},
|
|
180
|
+
"types": "./h/jsx-runtime/types/index.d.ts",
|
|
181
|
+
"import": "./h/jsx-runtime/dist/jsx.js",
|
|
232
182
|
"require": "./h/jsx-runtime/dist/jsx.cjs"
|
|
233
183
|
},
|
|
234
184
|
"./h/jsx-dev-runtime": {
|
|
235
|
-
"
|
|
236
|
-
|
|
237
|
-
"default": "./h/jsx-runtime/dist/jsx.js"
|
|
238
|
-
},
|
|
185
|
+
"types": "./h/jsx-runtime/types/index.d.ts",
|
|
186
|
+
"import": "./h/jsx-runtime/dist/jsx.js",
|
|
239
187
|
"require": "./h/jsx-runtime/dist/jsx.cjs"
|
|
240
188
|
},
|
|
241
189
|
"./h/dist/*": "./h/dist/*",
|
|
242
190
|
"./html": {
|
|
243
|
-
"
|
|
244
|
-
|
|
245
|
-
"default": "./html/dist/html.js"
|
|
246
|
-
},
|
|
191
|
+
"types": "./html/types/index.d.ts",
|
|
192
|
+
"import": "./html/dist/html.js",
|
|
247
193
|
"require": "./html/dist/html.cjs"
|
|
248
194
|
},
|
|
249
195
|
"./html/dist/*": "./html/dist/*",
|