solid-js 1.9.0 → 1.9.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.
- package/README.md +1 -1
- package/dist/dev.cjs +1 -1
- package/dist/dev.js +318 -559
- package/dist/server.js +74 -168
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +276 -486
- package/h/dist/h.js +9 -40
- package/h/jsx-runtime/dist/jsx.js +1 -1
- package/h/jsx-runtime/types/index.d.ts +8 -11
- package/h/jsx-runtime/types/jsx.d.ts +196 -59
- package/h/types/hyperscript.d.ts +11 -11
- package/html/dist/html.cjs +1 -1
- package/html/dist/html.js +94 -219
- package/html/types/lit.d.ts +33 -52
- package/package.json +1 -1
- package/store/dist/dev.js +43 -123
- package/store/dist/server.js +8 -20
- package/store/dist/store.js +40 -114
- package/store/types/index.d.ts +7 -21
- package/store/types/modifiers.d.ts +3 -6
- package/store/types/mutable.d.ts +2 -5
- package/store/types/server.d.ts +5 -25
- package/store/types/store.d.ts +61 -218
- package/types/index.d.ts +10 -75
- package/types/jsx.d.ts +195 -47
- package/types/reactive/array.d.ts +4 -12
- package/types/reactive/observable.d.ts +17 -25
- package/types/reactive/scheduler.d.ts +6 -9
- package/types/reactive/signal.d.ts +142 -233
- package/types/render/Suspense.d.ts +5 -5
- package/types/render/component.d.ts +42 -73
- package/types/render/flow.d.ts +31 -43
- package/types/render/hydration.d.ts +15 -15
- package/types/server/index.d.ts +2 -57
- package/types/server/reactive.d.ts +42 -73
- package/types/server/rendering.d.ts +98 -169
- package/universal/dist/dev.js +12 -28
- package/universal/dist/universal.js +12 -28
- package/universal/types/index.d.ts +1 -3
- package/universal/types/universal.d.ts +1 -0
- package/web/dist/dev.cjs +15 -15
- package/web/dist/dev.js +89 -635
- package/web/dist/server.cjs +14 -14
- package/web/dist/server.js +108 -635
- package/web/dist/web.cjs +15 -15
- package/web/dist/web.js +87 -623
- package/web/storage/dist/storage.js +3 -3
- package/web/types/core.d.ts +1 -10
- package/web/types/index.d.ts +10 -27
- package/web/types/server-mock.d.ts +32 -47
package/web/dist/web.cjs
CHANGED
|
@@ -408,7 +408,7 @@ function eventHandler(e) {
|
|
|
408
408
|
data !== undefined ? handler.call(node, data, e) : handler.call(node, e);
|
|
409
409
|
if (e.cancelBubble) return;
|
|
410
410
|
}
|
|
411
|
-
node.host && node.
|
|
411
|
+
node.host && typeof node.host !== "string" && !node.host._$host && node.contains(e.target) && retarget(node.host);
|
|
412
412
|
return true;
|
|
413
413
|
};
|
|
414
414
|
const walkUpTree = () => {
|
|
@@ -678,59 +678,59 @@ function Dynamic(props) {
|
|
|
678
678
|
});
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
-
Object.defineProperty(exports,
|
|
681
|
+
Object.defineProperty(exports, "ErrorBoundary", {
|
|
682
682
|
enumerable: true,
|
|
683
683
|
get: function () { return solidJs.ErrorBoundary; }
|
|
684
684
|
});
|
|
685
|
-
Object.defineProperty(exports,
|
|
685
|
+
Object.defineProperty(exports, "For", {
|
|
686
686
|
enumerable: true,
|
|
687
687
|
get: function () { return solidJs.For; }
|
|
688
688
|
});
|
|
689
|
-
Object.defineProperty(exports,
|
|
689
|
+
Object.defineProperty(exports, "Index", {
|
|
690
690
|
enumerable: true,
|
|
691
691
|
get: function () { return solidJs.Index; }
|
|
692
692
|
});
|
|
693
|
-
Object.defineProperty(exports,
|
|
693
|
+
Object.defineProperty(exports, "Match", {
|
|
694
694
|
enumerable: true,
|
|
695
695
|
get: function () { return solidJs.Match; }
|
|
696
696
|
});
|
|
697
|
-
Object.defineProperty(exports,
|
|
697
|
+
Object.defineProperty(exports, "Show", {
|
|
698
698
|
enumerable: true,
|
|
699
699
|
get: function () { return solidJs.Show; }
|
|
700
700
|
});
|
|
701
|
-
Object.defineProperty(exports,
|
|
701
|
+
Object.defineProperty(exports, "Suspense", {
|
|
702
702
|
enumerable: true,
|
|
703
703
|
get: function () { return solidJs.Suspense; }
|
|
704
704
|
});
|
|
705
|
-
Object.defineProperty(exports,
|
|
705
|
+
Object.defineProperty(exports, "SuspenseList", {
|
|
706
706
|
enumerable: true,
|
|
707
707
|
get: function () { return solidJs.SuspenseList; }
|
|
708
708
|
});
|
|
709
|
-
Object.defineProperty(exports,
|
|
709
|
+
Object.defineProperty(exports, "Switch", {
|
|
710
710
|
enumerable: true,
|
|
711
711
|
get: function () { return solidJs.Switch; }
|
|
712
712
|
});
|
|
713
|
-
Object.defineProperty(exports,
|
|
713
|
+
Object.defineProperty(exports, "createComponent", {
|
|
714
714
|
enumerable: true,
|
|
715
715
|
get: function () { return solidJs.createComponent; }
|
|
716
716
|
});
|
|
717
|
-
Object.defineProperty(exports,
|
|
717
|
+
Object.defineProperty(exports, "effect", {
|
|
718
718
|
enumerable: true,
|
|
719
719
|
get: function () { return solidJs.createRenderEffect; }
|
|
720
720
|
});
|
|
721
|
-
Object.defineProperty(exports,
|
|
721
|
+
Object.defineProperty(exports, "getOwner", {
|
|
722
722
|
enumerable: true,
|
|
723
723
|
get: function () { return solidJs.getOwner; }
|
|
724
724
|
});
|
|
725
|
-
Object.defineProperty(exports,
|
|
725
|
+
Object.defineProperty(exports, "memo", {
|
|
726
726
|
enumerable: true,
|
|
727
727
|
get: function () { return solidJs.createMemo; }
|
|
728
728
|
});
|
|
729
|
-
Object.defineProperty(exports,
|
|
729
|
+
Object.defineProperty(exports, "mergeProps", {
|
|
730
730
|
enumerable: true,
|
|
731
731
|
get: function () { return solidJs.mergeProps; }
|
|
732
732
|
});
|
|
733
|
-
Object.defineProperty(exports,
|
|
733
|
+
Object.defineProperty(exports, "untrack", {
|
|
734
734
|
enumerable: true,
|
|
735
735
|
get: function () { return solidJs.untrack; }
|
|
736
736
|
});
|