solid-js 1.9.5 → 1.9.6
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 +3 -2
- package/dist/dev.js +3 -2
- package/dist/solid.cjs +3 -2
- package/dist/solid.js +3 -2
- package/h/jsx-runtime/types/jsx.d.ts +2947 -1021
- package/html/dist/html.cjs +2 -2
- package/html/dist/html.js +2 -2
- package/package.json +1 -1
- package/types/jsx.d.ts +2091 -278
- package/universal/dist/dev.cjs +3 -1
- package/universal/dist/dev.js +4 -2
- package/universal/dist/universal.cjs +3 -1
- package/universal/dist/universal.js +4 -2
- package/web/dist/dev.cjs +8 -5
- package/web/dist/dev.js +9 -2
- package/web/dist/server.cjs +8 -5
- package/web/dist/server.js +9 -2
- package/web/dist/web.cjs +8 -5
- package/web/dist/web.js +9 -2
- package/web/types/core.d.ts +1 -1
package/universal/dist/dev.cjs
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var solidJs = require('solid-js');
|
|
4
4
|
|
|
5
|
+
const memo = fn => solidJs.createMemo(() => fn());
|
|
6
|
+
|
|
5
7
|
function createRenderer$1({
|
|
6
8
|
createElement,
|
|
7
9
|
createTextNode,
|
|
@@ -226,7 +228,7 @@ function createRenderer$1({
|
|
|
226
228
|
},
|
|
227
229
|
mergeProps: solidJs.mergeProps,
|
|
228
230
|
effect: solidJs.createRenderEffect,
|
|
229
|
-
memo
|
|
231
|
+
memo,
|
|
230
232
|
createComponent: solidJs.createComponent,
|
|
231
233
|
use(fn, element, arg) {
|
|
232
234
|
return solidJs.untrack(() => fn(element, arg));
|
package/universal/dist/dev.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
+
createMemo,
|
|
2
3
|
createRoot,
|
|
3
4
|
createRenderEffect,
|
|
4
5
|
mergeProps,
|
|
5
|
-
createMemo,
|
|
6
6
|
createComponent,
|
|
7
7
|
untrack
|
|
8
8
|
} from "solid-js";
|
|
9
9
|
|
|
10
|
+
const memo = fn => createMemo(() => fn());
|
|
11
|
+
|
|
10
12
|
function createRenderer$1({
|
|
11
13
|
createElement,
|
|
12
14
|
createTextNode,
|
|
@@ -240,7 +242,7 @@ function createRenderer$1({
|
|
|
240
242
|
},
|
|
241
243
|
mergeProps,
|
|
242
244
|
effect: createRenderEffect,
|
|
243
|
-
memo
|
|
245
|
+
memo,
|
|
244
246
|
createComponent,
|
|
245
247
|
use(fn, element, arg) {
|
|
246
248
|
return untrack(() => fn(element, arg));
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var solidJs = require('solid-js');
|
|
4
4
|
|
|
5
|
+
const memo = fn => solidJs.createMemo(() => fn());
|
|
6
|
+
|
|
5
7
|
function createRenderer$1({
|
|
6
8
|
createElement,
|
|
7
9
|
createTextNode,
|
|
@@ -226,7 +228,7 @@ function createRenderer$1({
|
|
|
226
228
|
},
|
|
227
229
|
mergeProps: solidJs.mergeProps,
|
|
228
230
|
effect: solidJs.createRenderEffect,
|
|
229
|
-
memo
|
|
231
|
+
memo,
|
|
230
232
|
createComponent: solidJs.createComponent,
|
|
231
233
|
use(fn, element, arg) {
|
|
232
234
|
return solidJs.untrack(() => fn(element, arg));
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
+
createMemo,
|
|
2
3
|
createRoot,
|
|
3
4
|
createRenderEffect,
|
|
4
5
|
mergeProps,
|
|
5
|
-
createMemo,
|
|
6
6
|
createComponent,
|
|
7
7
|
untrack
|
|
8
8
|
} from "solid-js";
|
|
9
9
|
|
|
10
|
+
const memo = fn => createMemo(() => fn());
|
|
11
|
+
|
|
10
12
|
function createRenderer$1({
|
|
11
13
|
createElement,
|
|
12
14
|
createTextNode,
|
|
@@ -240,7 +242,7 @@ function createRenderer$1({
|
|
|
240
242
|
},
|
|
241
243
|
mergeProps,
|
|
242
244
|
effect: createRenderEffect,
|
|
243
|
-
memo
|
|
245
|
+
memo,
|
|
244
246
|
createComponent,
|
|
245
247
|
use(fn, element, arg) {
|
|
246
248
|
return untrack(() => fn(element, arg));
|
package/web/dist/dev.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var solidJs = require('solid-js');
|
|
4
4
|
|
|
5
5
|
const booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
|
|
6
|
-
const Properties = /*#__PURE__*/new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
|
|
6
|
+
const Properties = /*#__PURE__*/new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
|
|
7
7
|
const ChildProperties = /*#__PURE__*/new Set(["innerHTML", "textContent", "innerText", "children"]);
|
|
8
8
|
const Aliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
9
9
|
className: "class",
|
|
@@ -11,6 +11,10 @@ const Aliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
|
11
11
|
});
|
|
12
12
|
const PropAliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
13
13
|
class: "className",
|
|
14
|
+
novalidate: {
|
|
15
|
+
$: "noValidate",
|
|
16
|
+
FORM: 1
|
|
17
|
+
},
|
|
14
18
|
formnovalidate: {
|
|
15
19
|
$: "formNoValidate",
|
|
16
20
|
BUTTON: 1,
|
|
@@ -50,6 +54,8 @@ const SVGNamespace = {
|
|
|
50
54
|
};
|
|
51
55
|
const DOMElements = /*#__PURE__*/new Set(["html", "base", "head", "link", "meta", "style", "title", "body", "address", "article", "aside", "footer", "header", "main", "nav", "section", "body", "blockquote", "dd", "div", "dl", "dt", "figcaption", "figure", "hr", "li", "ol", "p", "pre", "ul", "a", "abbr", "b", "bdi", "bdo", "br", "cite", "code", "data", "dfn", "em", "i", "kbd", "mark", "q", "rp", "rt", "ruby", "s", "samp", "small", "span", "strong", "sub", "sup", "time", "u", "var", "wbr", "area", "audio", "img", "map", "track", "video", "embed", "iframe", "object", "param", "picture", "portal", "source", "svg", "math", "canvas", "noscript", "script", "del", "ins", "caption", "col", "colgroup", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "button", "datalist", "fieldset", "form", "input", "label", "legend", "meter", "optgroup", "option", "output", "progress", "select", "textarea", "details", "dialog", "menu", "summary", "details", "slot", "template", "acronym", "applet", "basefont", "bgsound", "big", "blink", "center", "content", "dir", "font", "frame", "frameset", "hgroup", "image", "keygen", "marquee", "menuitem", "nobr", "noembed", "noframes", "plaintext", "rb", "rtc", "shadow", "spacer", "strike", "tt", "xmp", "a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "portal", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp", "input", "h1", "h2", "h3", "h4", "h5", "h6"]);
|
|
52
56
|
|
|
57
|
+
const memo = fn => solidJs.createMemo(() => fn());
|
|
58
|
+
|
|
53
59
|
function reconcileArrays(parentNode, a, b) {
|
|
54
60
|
let bLength = b.length,
|
|
55
61
|
aEnd = a.length,
|
|
@@ -736,10 +742,6 @@ Object.defineProperty(exports, "getOwner", {
|
|
|
736
742
|
enumerable: true,
|
|
737
743
|
get: function () { return solidJs.getOwner; }
|
|
738
744
|
});
|
|
739
|
-
Object.defineProperty(exports, "memo", {
|
|
740
|
-
enumerable: true,
|
|
741
|
-
get: function () { return solidJs.createMemo; }
|
|
742
|
-
});
|
|
743
745
|
Object.defineProperty(exports, "mergeProps", {
|
|
744
746
|
enumerable: true,
|
|
745
747
|
get: function () { return solidJs.mergeProps; }
|
|
@@ -784,6 +786,7 @@ exports.innerHTML = innerHTML;
|
|
|
784
786
|
exports.insert = insert;
|
|
785
787
|
exports.isDev = isDev;
|
|
786
788
|
exports.isServer = isServer;
|
|
789
|
+
exports.memo = memo;
|
|
787
790
|
exports.render = render;
|
|
788
791
|
exports.renderToStream = renderToStream;
|
|
789
792
|
exports.renderToString = renderToString;
|
package/web/dist/dev.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
createMemo,
|
|
2
3
|
createRoot,
|
|
3
4
|
createRenderEffect,
|
|
4
5
|
untrack,
|
|
@@ -7,7 +8,6 @@ import {
|
|
|
7
8
|
getOwner,
|
|
8
9
|
createEffect,
|
|
9
10
|
runWithOwner,
|
|
10
|
-
createMemo,
|
|
11
11
|
createSignal,
|
|
12
12
|
onCleanup,
|
|
13
13
|
$DEVCOMP,
|
|
@@ -25,7 +25,6 @@ export {
|
|
|
25
25
|
createComponent,
|
|
26
26
|
createRenderEffect as effect,
|
|
27
27
|
getOwner,
|
|
28
|
-
createMemo as memo,
|
|
29
28
|
mergeProps,
|
|
30
29
|
untrack
|
|
31
30
|
} from "solid-js";
|
|
@@ -61,6 +60,7 @@ const Properties = /*#__PURE__*/ new Set([
|
|
|
61
60
|
"className",
|
|
62
61
|
"value",
|
|
63
62
|
"readOnly",
|
|
63
|
+
"noValidate",
|
|
64
64
|
"formNoValidate",
|
|
65
65
|
"isMap",
|
|
66
66
|
"noModule",
|
|
@@ -79,6 +79,10 @@ const Aliases = /*#__PURE__*/ Object.assign(Object.create(null), {
|
|
|
79
79
|
});
|
|
80
80
|
const PropAliases = /*#__PURE__*/ Object.assign(Object.create(null), {
|
|
81
81
|
class: "className",
|
|
82
|
+
novalidate: {
|
|
83
|
+
$: "noValidate",
|
|
84
|
+
FORM: 1
|
|
85
|
+
},
|
|
82
86
|
formnovalidate: {
|
|
83
87
|
$: "formNoValidate",
|
|
84
88
|
BUTTON: 1,
|
|
@@ -495,6 +499,8 @@ const DOMElements = /*#__PURE__*/ new Set([
|
|
|
495
499
|
"h6"
|
|
496
500
|
]);
|
|
497
501
|
|
|
502
|
+
const memo = fn => createMemo(() => fn());
|
|
503
|
+
|
|
498
504
|
function reconcileArrays(parentNode, a, b) {
|
|
499
505
|
let bLength = b.length,
|
|
500
506
|
aEnd = a.length,
|
|
@@ -1222,6 +1228,7 @@ export {
|
|
|
1222
1228
|
insert,
|
|
1223
1229
|
isDev,
|
|
1224
1230
|
isServer,
|
|
1231
|
+
memo,
|
|
1225
1232
|
render,
|
|
1226
1233
|
renderToStream,
|
|
1227
1234
|
renderToString,
|
package/web/dist/server.cjs
CHANGED
|
@@ -6,7 +6,7 @@ var web = require('seroval-plugins/web');
|
|
|
6
6
|
|
|
7
7
|
const booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
|
|
8
8
|
const BooleanAttributes = /*#__PURE__*/new Set(booleans);
|
|
9
|
-
const Properties = /*#__PURE__*/new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
|
|
9
|
+
const Properties = /*#__PURE__*/new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
|
|
10
10
|
const ChildProperties = /*#__PURE__*/new Set(["innerHTML", "textContent", "innerText", "children"]);
|
|
11
11
|
const Aliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
12
12
|
className: "class",
|
|
@@ -14,6 +14,10 @@ const Aliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
|
14
14
|
});
|
|
15
15
|
const PropAliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
16
16
|
class: "className",
|
|
17
|
+
novalidate: {
|
|
18
|
+
$: "noValidate",
|
|
19
|
+
FORM: 1
|
|
20
|
+
},
|
|
17
21
|
formnovalidate: {
|
|
18
22
|
$: "formNoValidate",
|
|
19
23
|
BUTTON: 1,
|
|
@@ -53,6 +57,8 @@ const SVGNamespace = {
|
|
|
53
57
|
};
|
|
54
58
|
const DOMElements = /*#__PURE__*/new Set(["html", "base", "head", "link", "meta", "style", "title", "body", "address", "article", "aside", "footer", "header", "main", "nav", "section", "body", "blockquote", "dd", "div", "dl", "dt", "figcaption", "figure", "hr", "li", "ol", "p", "pre", "ul", "a", "abbr", "b", "bdi", "bdo", "br", "cite", "code", "data", "dfn", "em", "i", "kbd", "mark", "q", "rp", "rt", "ruby", "s", "samp", "small", "span", "strong", "sub", "sup", "time", "u", "var", "wbr", "area", "audio", "img", "map", "track", "video", "embed", "iframe", "object", "param", "picture", "portal", "source", "svg", "math", "canvas", "noscript", "script", "del", "ins", "caption", "col", "colgroup", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "button", "datalist", "fieldset", "form", "input", "label", "legend", "meter", "optgroup", "option", "output", "progress", "select", "textarea", "details", "dialog", "menu", "summary", "details", "slot", "template", "acronym", "applet", "basefont", "bgsound", "big", "blink", "center", "content", "dir", "font", "frame", "frameset", "hgroup", "image", "keygen", "marquee", "menuitem", "nobr", "noembed", "noframes", "plaintext", "rb", "rtc", "shadow", "spacer", "strike", "tt", "xmp", "a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "portal", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp", "input", "h1", "h2", "h3", "h4", "h5", "h6"]);
|
|
55
59
|
|
|
60
|
+
const memo = fn => solidJs.createMemo(() => fn());
|
|
61
|
+
|
|
56
62
|
const ES2017FLAG = seroval.Feature.AggregateError
|
|
57
63
|
| seroval.Feature.BigIntTypedArray;
|
|
58
64
|
const GLOBAL_IDENTIFIER = '_$HY.r';
|
|
@@ -729,10 +735,6 @@ Object.defineProperty(exports, "getOwner", {
|
|
|
729
735
|
enumerable: true,
|
|
730
736
|
get: function () { return solidJs.getOwner; }
|
|
731
737
|
});
|
|
732
|
-
Object.defineProperty(exports, "memo", {
|
|
733
|
-
enumerable: true,
|
|
734
|
-
get: function () { return solidJs.createMemo; }
|
|
735
|
-
});
|
|
736
738
|
Object.defineProperty(exports, "mergeProps", {
|
|
737
739
|
enumerable: true,
|
|
738
740
|
get: function () { return solidJs.mergeProps; }
|
|
@@ -775,6 +777,7 @@ exports.hydrate = notSup;
|
|
|
775
777
|
exports.insert = notSup;
|
|
776
778
|
exports.isDev = isDev;
|
|
777
779
|
exports.isServer = isServer;
|
|
780
|
+
exports.memo = memo;
|
|
778
781
|
exports.pipeToNodeWritable = pipeToNodeWritable;
|
|
779
782
|
exports.pipeToWritable = pipeToWritable;
|
|
780
783
|
exports.render = notSup;
|
package/web/dist/server.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { sharedConfig, createRoot, splitProps } from "solid-js";
|
|
1
|
+
import { createMemo, sharedConfig, createRoot, splitProps } from "solid-js";
|
|
2
2
|
export {
|
|
3
3
|
ErrorBoundary,
|
|
4
4
|
For,
|
|
@@ -11,7 +11,6 @@ export {
|
|
|
11
11
|
createComponent,
|
|
12
12
|
createRenderEffect as effect,
|
|
13
13
|
getOwner,
|
|
14
|
-
createMemo as memo,
|
|
15
14
|
mergeProps,
|
|
16
15
|
untrack
|
|
17
16
|
} from "solid-js";
|
|
@@ -61,6 +60,7 @@ const Properties = /*#__PURE__*/ new Set([
|
|
|
61
60
|
"className",
|
|
62
61
|
"value",
|
|
63
62
|
"readOnly",
|
|
63
|
+
"noValidate",
|
|
64
64
|
"formNoValidate",
|
|
65
65
|
"isMap",
|
|
66
66
|
"noModule",
|
|
@@ -79,6 +79,10 @@ const Aliases = /*#__PURE__*/ Object.assign(Object.create(null), {
|
|
|
79
79
|
});
|
|
80
80
|
const PropAliases = /*#__PURE__*/ Object.assign(Object.create(null), {
|
|
81
81
|
class: "className",
|
|
82
|
+
novalidate: {
|
|
83
|
+
$: "noValidate",
|
|
84
|
+
FORM: 1
|
|
85
|
+
},
|
|
82
86
|
formnovalidate: {
|
|
83
87
|
$: "formNoValidate",
|
|
84
88
|
BUTTON: 1,
|
|
@@ -495,6 +499,8 @@ const DOMElements = /*#__PURE__*/ new Set([
|
|
|
495
499
|
"h6"
|
|
496
500
|
]);
|
|
497
501
|
|
|
502
|
+
const memo = fn => createMemo(() => fn());
|
|
503
|
+
|
|
498
504
|
const ES2017FLAG = Feature.AggregateError | Feature.BigIntTypedArray;
|
|
499
505
|
const GLOBAL_IDENTIFIER = "_$HY.r";
|
|
500
506
|
function createSerializer({ onData, onDone, scopeId, onError }) {
|
|
@@ -1198,6 +1204,7 @@ export {
|
|
|
1198
1204
|
notSup as insert,
|
|
1199
1205
|
isDev,
|
|
1200
1206
|
isServer,
|
|
1207
|
+
memo,
|
|
1201
1208
|
pipeToNodeWritable,
|
|
1202
1209
|
pipeToWritable,
|
|
1203
1210
|
notSup as render,
|
package/web/dist/web.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var solidJs = require('solid-js');
|
|
4
4
|
|
|
5
5
|
const booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
|
|
6
|
-
const Properties = /*#__PURE__*/new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
|
|
6
|
+
const Properties = /*#__PURE__*/new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
|
|
7
7
|
const ChildProperties = /*#__PURE__*/new Set(["innerHTML", "textContent", "innerText", "children"]);
|
|
8
8
|
const Aliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
9
9
|
className: "class",
|
|
@@ -11,6 +11,10 @@ const Aliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
|
11
11
|
});
|
|
12
12
|
const PropAliases = /*#__PURE__*/Object.assign(Object.create(null), {
|
|
13
13
|
class: "className",
|
|
14
|
+
novalidate: {
|
|
15
|
+
$: "noValidate",
|
|
16
|
+
FORM: 1
|
|
17
|
+
},
|
|
14
18
|
formnovalidate: {
|
|
15
19
|
$: "formNoValidate",
|
|
16
20
|
BUTTON: 1,
|
|
@@ -50,6 +54,8 @@ const SVGNamespace = {
|
|
|
50
54
|
};
|
|
51
55
|
const DOMElements = /*#__PURE__*/new Set(["html", "base", "head", "link", "meta", "style", "title", "body", "address", "article", "aside", "footer", "header", "main", "nav", "section", "body", "blockquote", "dd", "div", "dl", "dt", "figcaption", "figure", "hr", "li", "ol", "p", "pre", "ul", "a", "abbr", "b", "bdi", "bdo", "br", "cite", "code", "data", "dfn", "em", "i", "kbd", "mark", "q", "rp", "rt", "ruby", "s", "samp", "small", "span", "strong", "sub", "sup", "time", "u", "var", "wbr", "area", "audio", "img", "map", "track", "video", "embed", "iframe", "object", "param", "picture", "portal", "source", "svg", "math", "canvas", "noscript", "script", "del", "ins", "caption", "col", "colgroup", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "button", "datalist", "fieldset", "form", "input", "label", "legend", "meter", "optgroup", "option", "output", "progress", "select", "textarea", "details", "dialog", "menu", "summary", "details", "slot", "template", "acronym", "applet", "basefont", "bgsound", "big", "blink", "center", "content", "dir", "font", "frame", "frameset", "hgroup", "image", "keygen", "marquee", "menuitem", "nobr", "noembed", "noframes", "plaintext", "rb", "rtc", "shadow", "spacer", "strike", "tt", "xmp", "a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "portal", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp", "input", "h1", "h2", "h3", "h4", "h5", "h6"]);
|
|
52
56
|
|
|
57
|
+
const memo = fn => solidJs.createMemo(() => fn());
|
|
58
|
+
|
|
53
59
|
function reconcileArrays(parentNode, a, b) {
|
|
54
60
|
let bLength = b.length,
|
|
55
61
|
aEnd = a.length,
|
|
@@ -725,10 +731,6 @@ Object.defineProperty(exports, "getOwner", {
|
|
|
725
731
|
enumerable: true,
|
|
726
732
|
get: function () { return solidJs.getOwner; }
|
|
727
733
|
});
|
|
728
|
-
Object.defineProperty(exports, "memo", {
|
|
729
|
-
enumerable: true,
|
|
730
|
-
get: function () { return solidJs.createMemo; }
|
|
731
|
-
});
|
|
732
734
|
Object.defineProperty(exports, "mergeProps", {
|
|
733
735
|
enumerable: true,
|
|
734
736
|
get: function () { return solidJs.mergeProps; }
|
|
@@ -773,6 +775,7 @@ exports.innerHTML = innerHTML;
|
|
|
773
775
|
exports.insert = insert;
|
|
774
776
|
exports.isDev = isDev;
|
|
775
777
|
exports.isServer = isServer;
|
|
778
|
+
exports.memo = memo;
|
|
776
779
|
exports.render = render;
|
|
777
780
|
exports.renderToStream = renderToStream;
|
|
778
781
|
exports.renderToString = renderToString;
|
package/web/dist/web.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
createMemo,
|
|
2
3
|
createRoot,
|
|
3
4
|
createRenderEffect,
|
|
4
5
|
untrack,
|
|
@@ -7,7 +8,6 @@ import {
|
|
|
7
8
|
getOwner,
|
|
8
9
|
createEffect,
|
|
9
10
|
runWithOwner,
|
|
10
|
-
createMemo,
|
|
11
11
|
createSignal,
|
|
12
12
|
onCleanup,
|
|
13
13
|
splitProps
|
|
@@ -24,7 +24,6 @@ export {
|
|
|
24
24
|
createComponent,
|
|
25
25
|
createRenderEffect as effect,
|
|
26
26
|
getOwner,
|
|
27
|
-
createMemo as memo,
|
|
28
27
|
mergeProps,
|
|
29
28
|
untrack
|
|
30
29
|
} from "solid-js";
|
|
@@ -60,6 +59,7 @@ const Properties = /*#__PURE__*/ new Set([
|
|
|
60
59
|
"className",
|
|
61
60
|
"value",
|
|
62
61
|
"readOnly",
|
|
62
|
+
"noValidate",
|
|
63
63
|
"formNoValidate",
|
|
64
64
|
"isMap",
|
|
65
65
|
"noModule",
|
|
@@ -78,6 +78,10 @@ const Aliases = /*#__PURE__*/ Object.assign(Object.create(null), {
|
|
|
78
78
|
});
|
|
79
79
|
const PropAliases = /*#__PURE__*/ Object.assign(Object.create(null), {
|
|
80
80
|
class: "className",
|
|
81
|
+
novalidate: {
|
|
82
|
+
$: "noValidate",
|
|
83
|
+
FORM: 1
|
|
84
|
+
},
|
|
81
85
|
formnovalidate: {
|
|
82
86
|
$: "formNoValidate",
|
|
83
87
|
BUTTON: 1,
|
|
@@ -494,6 +498,8 @@ const DOMElements = /*#__PURE__*/ new Set([
|
|
|
494
498
|
"h6"
|
|
495
499
|
]);
|
|
496
500
|
|
|
501
|
+
const memo = fn => createMemo(() => fn());
|
|
502
|
+
|
|
497
503
|
function reconcileArrays(parentNode, a, b) {
|
|
498
504
|
let bLength = b.length,
|
|
499
505
|
aEnd = a.length,
|
|
@@ -1201,6 +1207,7 @@ export {
|
|
|
1201
1207
|
insert,
|
|
1202
1208
|
isDev,
|
|
1203
1209
|
isServer,
|
|
1210
|
+
memo,
|
|
1204
1211
|
render,
|
|
1205
1212
|
renderToStream,
|
|
1206
1213
|
renderToString,
|
package/web/types/core.d.ts
CHANGED