@solidjs/h 2.0.0-rc.4 → 2.0.0-rc.5
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/jsx-runtime/types/jsx.d.ts +11 -16
- package/jsx-runtime/types-cjs/jsx.d.cts +11 -16
- package/package.json +2 -2
|
@@ -1066,6 +1066,7 @@ export namespace JSX {
|
|
|
1066
1066
|
type HTMLFormEncType = "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
|
|
1067
1067
|
type HTMLFormMethod = "post" | "get" | "dialog";
|
|
1068
1068
|
type HTMLCrossorigin = "anonymous" | "use-credentials" | EnumeratedAcceptsEmpty;
|
|
1069
|
+
type HTMLFetchPriority = "high" | "low" | "auto";
|
|
1069
1070
|
type HTMLReferrerPolicy =
|
|
1070
1071
|
| "no-referrer"
|
|
1071
1072
|
| "no-referrer-when-downgrade"
|
|
@@ -1091,19 +1092,8 @@ export namespace JSX {
|
|
|
1091
1092
|
| "allow-top-navigation"
|
|
1092
1093
|
| "allow-top-navigation-by-user-activation"
|
|
1093
1094
|
| "allow-top-navigation-to-custom-protocols";
|
|
1094
|
-
type
|
|
1095
|
-
|
|
1096
|
-
| "document"
|
|
1097
|
-
| "embed"
|
|
1098
|
-
| "fetch"
|
|
1099
|
-
| "font"
|
|
1100
|
-
| "image"
|
|
1101
|
-
| "object"
|
|
1102
|
-
| "script"
|
|
1103
|
-
| "style"
|
|
1104
|
-
| "track"
|
|
1105
|
-
| "video"
|
|
1106
|
-
| "worker";
|
|
1095
|
+
type HTMLPreloadAs = "fetch" | "font" | "image" | "script" | "style" | "track";
|
|
1096
|
+
type HTMLLinkAs = HTMLPreloadAs | "audio" | "document" | "embed" | "object" | "video" | "worker";
|
|
1107
1097
|
|
|
1108
1098
|
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1109
1099
|
download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
|
|
@@ -1364,7 +1354,7 @@ export namespace JSX {
|
|
|
1364
1354
|
browsingtopics?: FunctionMaybe<string | RemoveAttribute>;
|
|
1365
1355
|
crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
|
|
1366
1356
|
decoding?: FunctionMaybe<"sync" | "async" | "auto" | RemoveAttribute>;
|
|
1367
|
-
fetchpriority?: FunctionMaybe<
|
|
1357
|
+
fetchpriority?: FunctionMaybe<HTMLFetchPriority | RemoveAttribute>;
|
|
1368
1358
|
height?: FunctionMaybe<number | string | RemoveAttribute>;
|
|
1369
1359
|
ismap?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1370
1360
|
loading?: FunctionMaybe<"eager" | "lazy" | RemoveAttribute>;
|
|
@@ -1520,7 +1510,7 @@ export namespace JSX {
|
|
|
1520
1510
|
color?: FunctionMaybe<string | RemoveAttribute>;
|
|
1521
1511
|
crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
|
|
1522
1512
|
disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1523
|
-
fetchpriority?: FunctionMaybe<
|
|
1513
|
+
fetchpriority?: FunctionMaybe<HTMLFetchPriority | RemoveAttribute>;
|
|
1524
1514
|
href?: FunctionMaybe<string | RemoveAttribute>;
|
|
1525
1515
|
hreflang?: FunctionMaybe<string | RemoveAttribute>;
|
|
1526
1516
|
imagesizes?: FunctionMaybe<string | RemoveAttribute>;
|
|
@@ -1715,7 +1705,7 @@ export namespace JSX {
|
|
|
1715
1705
|
blocking?: FunctionMaybe<"render" | RemoveAttribute>;
|
|
1716
1706
|
crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
|
|
1717
1707
|
defer?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1718
|
-
fetchpriority?: FunctionMaybe<
|
|
1708
|
+
fetchpriority?: FunctionMaybe<HTMLFetchPriority | RemoveAttribute>;
|
|
1719
1709
|
for?: FunctionMaybe<string | RemoveAttribute>;
|
|
1720
1710
|
integrity?: FunctionMaybe<string | RemoveAttribute>;
|
|
1721
1711
|
nomodule?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
@@ -3511,6 +3501,11 @@ export namespace JSX {
|
|
|
3511
3501
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement
|
|
3512
3502
|
*/
|
|
3513
3503
|
select: SelectHTMLAttributes<HTMLSelectElement> & Properties<HTMLSelectElement>;
|
|
3504
|
+
/**
|
|
3505
|
+
* @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/selectedcontent
|
|
3506
|
+
* @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectedContentElement
|
|
3507
|
+
*/
|
|
3508
|
+
selectedcontent: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
|
|
3514
3509
|
/**
|
|
3515
3510
|
* @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
|
|
3516
3511
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement
|
|
@@ -1066,6 +1066,7 @@ export namespace JSX {
|
|
|
1066
1066
|
type HTMLFormEncType = "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
|
|
1067
1067
|
type HTMLFormMethod = "post" | "get" | "dialog";
|
|
1068
1068
|
type HTMLCrossorigin = "anonymous" | "use-credentials" | EnumeratedAcceptsEmpty;
|
|
1069
|
+
type HTMLFetchPriority = "high" | "low" | "auto";
|
|
1069
1070
|
type HTMLReferrerPolicy =
|
|
1070
1071
|
| "no-referrer"
|
|
1071
1072
|
| "no-referrer-when-downgrade"
|
|
@@ -1091,19 +1092,8 @@ export namespace JSX {
|
|
|
1091
1092
|
| "allow-top-navigation"
|
|
1092
1093
|
| "allow-top-navigation-by-user-activation"
|
|
1093
1094
|
| "allow-top-navigation-to-custom-protocols";
|
|
1094
|
-
type
|
|
1095
|
-
|
|
1096
|
-
| "document"
|
|
1097
|
-
| "embed"
|
|
1098
|
-
| "fetch"
|
|
1099
|
-
| "font"
|
|
1100
|
-
| "image"
|
|
1101
|
-
| "object"
|
|
1102
|
-
| "script"
|
|
1103
|
-
| "style"
|
|
1104
|
-
| "track"
|
|
1105
|
-
| "video"
|
|
1106
|
-
| "worker";
|
|
1095
|
+
type HTMLPreloadAs = "fetch" | "font" | "image" | "script" | "style" | "track";
|
|
1096
|
+
type HTMLLinkAs = HTMLPreloadAs | "audio" | "document" | "embed" | "object" | "video" | "worker";
|
|
1107
1097
|
|
|
1108
1098
|
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1109
1099
|
download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
|
|
@@ -1364,7 +1354,7 @@ export namespace JSX {
|
|
|
1364
1354
|
browsingtopics?: FunctionMaybe<string | RemoveAttribute>;
|
|
1365
1355
|
crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
|
|
1366
1356
|
decoding?: FunctionMaybe<"sync" | "async" | "auto" | RemoveAttribute>;
|
|
1367
|
-
fetchpriority?: FunctionMaybe<
|
|
1357
|
+
fetchpriority?: FunctionMaybe<HTMLFetchPriority | RemoveAttribute>;
|
|
1368
1358
|
height?: FunctionMaybe<number | string | RemoveAttribute>;
|
|
1369
1359
|
ismap?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1370
1360
|
loading?: FunctionMaybe<"eager" | "lazy" | RemoveAttribute>;
|
|
@@ -1520,7 +1510,7 @@ export namespace JSX {
|
|
|
1520
1510
|
color?: FunctionMaybe<string | RemoveAttribute>;
|
|
1521
1511
|
crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
|
|
1522
1512
|
disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1523
|
-
fetchpriority?: FunctionMaybe<
|
|
1513
|
+
fetchpriority?: FunctionMaybe<HTMLFetchPriority | RemoveAttribute>;
|
|
1524
1514
|
href?: FunctionMaybe<string | RemoveAttribute>;
|
|
1525
1515
|
hreflang?: FunctionMaybe<string | RemoveAttribute>;
|
|
1526
1516
|
imagesizes?: FunctionMaybe<string | RemoveAttribute>;
|
|
@@ -1715,7 +1705,7 @@ export namespace JSX {
|
|
|
1715
1705
|
blocking?: FunctionMaybe<"render" | RemoveAttribute>;
|
|
1716
1706
|
crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
|
|
1717
1707
|
defer?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1718
|
-
fetchpriority?: FunctionMaybe<
|
|
1708
|
+
fetchpriority?: FunctionMaybe<HTMLFetchPriority | RemoveAttribute>;
|
|
1719
1709
|
for?: FunctionMaybe<string | RemoveAttribute>;
|
|
1720
1710
|
integrity?: FunctionMaybe<string | RemoveAttribute>;
|
|
1721
1711
|
nomodule?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
@@ -3511,6 +3501,11 @@ export namespace JSX {
|
|
|
3511
3501
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement
|
|
3512
3502
|
*/
|
|
3513
3503
|
select: SelectHTMLAttributes<HTMLSelectElement> & Properties<HTMLSelectElement>;
|
|
3504
|
+
/**
|
|
3505
|
+
* @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/selectedcontent
|
|
3506
|
+
* @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectedContentElement
|
|
3507
|
+
*/
|
|
3508
|
+
selectedcontent: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
|
|
3514
3509
|
/**
|
|
3515
3510
|
* @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
|
|
3516
3511
|
* @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidjs/h",
|
|
3
3
|
"description": "Hyperscript / h() factory for Solid — write components without compiled JSX.",
|
|
4
|
-
"version": "2.0.0-rc.
|
|
4
|
+
"version": "2.0.0-rc.5",
|
|
5
5
|
"author": "Ryan Carniato",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://solidjs.com",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"test": "vitest run"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@solidjs/web": "^2.0.0-rc.
|
|
79
|
+
"@solidjs/web": "^2.0.0-rc.5"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@solidjs/web": "workspace:*",
|