@solidjs/h 2.0.0-beta.21 → 2.0.0-beta.22
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.
|
@@ -1101,7 +1101,7 @@ export namespace JSX {
|
|
|
1101
1101
|
|
|
1102
1102
|
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1103
1103
|
download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
|
|
1104
|
-
href?: FunctionMaybe<string | RemoveAttribute>;
|
|
1104
|
+
href?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
|
|
1105
1105
|
hreflang?: FunctionMaybe<string | RemoveAttribute>;
|
|
1106
1106
|
ping?: FunctionMaybe<string | RemoveAttribute>;
|
|
1107
1107
|
referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
|
|
@@ -1111,6 +1111,21 @@ export namespace JSX {
|
|
|
1111
1111
|
>;
|
|
1112
1112
|
type?: FunctionMaybe<string | RemoveAttribute>;
|
|
1113
1113
|
|
|
1114
|
+
// Client-side navigation contract. These attributes are inert markup on
|
|
1115
|
+
// their own — a routing integration that delegates anchor clicks (e.g.
|
|
1116
|
+
// @solidjs/router) reads them off the element at event time. Typed here
|
|
1117
|
+
// so plain `<a>` elements participate without per-router augmentation.
|
|
1118
|
+
/** Marks the anchor as a client-navigation link when the integration requires explicit opt-in. */
|
|
1119
|
+
link?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1120
|
+
/** Serialized (JSON) history state pushed alongside the navigation. */
|
|
1121
|
+
state?: FunctionMaybe<string | RemoveAttribute>;
|
|
1122
|
+
/** Suppress scroll restoration/reset after the navigation. */
|
|
1123
|
+
noScroll?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1124
|
+
/** Replace the current history entry instead of pushing a new one. */
|
|
1125
|
+
replace?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1126
|
+
/** Route preload intent; `"false"` disables the integration's default eager preload. */
|
|
1127
|
+
preload?: FunctionMaybe<boolean | "false" | RemoveAttribute>;
|
|
1128
|
+
|
|
1114
1129
|
/** @experimental */
|
|
1115
1130
|
attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
|
|
1116
1131
|
|
|
@@ -1130,7 +1145,7 @@ export namespace JSX {
|
|
|
1130
1145
|
alt?: FunctionMaybe<string | RemoveAttribute>;
|
|
1131
1146
|
coords?: FunctionMaybe<string | RemoveAttribute>;
|
|
1132
1147
|
download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
|
|
1133
|
-
href?: FunctionMaybe<string | RemoveAttribute>;
|
|
1148
|
+
href?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
|
|
1134
1149
|
ping?: FunctionMaybe<string | RemoveAttribute>;
|
|
1135
1150
|
referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
|
|
1136
1151
|
rel?: FunctionMaybe<string | RemoveAttribute>;
|
|
@@ -1101,7 +1101,7 @@ export namespace JSX {
|
|
|
1101
1101
|
|
|
1102
1102
|
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1103
1103
|
download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
|
|
1104
|
-
href?: FunctionMaybe<string | RemoveAttribute>;
|
|
1104
|
+
href?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
|
|
1105
1105
|
hreflang?: FunctionMaybe<string | RemoveAttribute>;
|
|
1106
1106
|
ping?: FunctionMaybe<string | RemoveAttribute>;
|
|
1107
1107
|
referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
|
|
@@ -1111,6 +1111,21 @@ export namespace JSX {
|
|
|
1111
1111
|
>;
|
|
1112
1112
|
type?: FunctionMaybe<string | RemoveAttribute>;
|
|
1113
1113
|
|
|
1114
|
+
// Client-side navigation contract. These attributes are inert markup on
|
|
1115
|
+
// their own — a routing integration that delegates anchor clicks (e.g.
|
|
1116
|
+
// @solidjs/router) reads them off the element at event time. Typed here
|
|
1117
|
+
// so plain `<a>` elements participate without per-router augmentation.
|
|
1118
|
+
/** Marks the anchor as a client-navigation link when the integration requires explicit opt-in. */
|
|
1119
|
+
link?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1120
|
+
/** Serialized (JSON) history state pushed alongside the navigation. */
|
|
1121
|
+
state?: FunctionMaybe<string | RemoveAttribute>;
|
|
1122
|
+
/** Suppress scroll restoration/reset after the navigation. */
|
|
1123
|
+
noScroll?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1124
|
+
/** Replace the current history entry instead of pushing a new one. */
|
|
1125
|
+
replace?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
|
|
1126
|
+
/** Route preload intent; `"false"` disables the integration's default eager preload. */
|
|
1127
|
+
preload?: FunctionMaybe<boolean | "false" | RemoveAttribute>;
|
|
1128
|
+
|
|
1114
1129
|
/** @experimental */
|
|
1115
1130
|
attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
|
|
1116
1131
|
|
|
@@ -1130,7 +1145,7 @@ export namespace JSX {
|
|
|
1130
1145
|
alt?: FunctionMaybe<string | RemoveAttribute>;
|
|
1131
1146
|
coords?: FunctionMaybe<string | RemoveAttribute>;
|
|
1132
1147
|
download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
|
|
1133
|
-
href?: FunctionMaybe<string | RemoveAttribute>;
|
|
1148
|
+
href?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
|
|
1134
1149
|
ping?: FunctionMaybe<string | RemoveAttribute>;
|
|
1135
1150
|
referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
|
|
1136
1151
|
rel?: FunctionMaybe<string | RemoveAttribute>;
|
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-beta.
|
|
4
|
+
"version": "2.0.0-beta.22",
|
|
5
5
|
"author": "Ryan Carniato",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://solidjs.com",
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
"./types/*": "./types/*"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@solidjs/web": "^2.0.0-beta.
|
|
66
|
+
"@solidjs/web": "^2.0.0-beta.22"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"
|
|
70
|
-
"
|
|
69
|
+
"solid-js": "2.0.0-beta.22",
|
|
70
|
+
"@solidjs/web": "2.0.0-beta.22"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "npm-run-all -nl build:clean types:copy build:js",
|