@solidjs/html 2.0.0-rc.0 → 2.0.0-rc.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solidjs/html",
3
3
  "description": "Tagged-template-literal templating for Solid — write components with no build step.",
4
- "version": "2.0.0-rc.0",
4
+ "version": "2.0.0-rc.1",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",
7
7
  "homepage": "https://solidjs.com",
@@ -37,11 +37,11 @@
37
37
  }
38
38
  },
39
39
  "peerDependencies": {
40
- "@solidjs/web": "^2.0.0-rc.0"
40
+ "@solidjs/web": "^2.0.0-rc.1"
41
41
  },
42
42
  "devDependencies": {
43
- "@solidjs/web": "2.0.0-rc.0",
44
- "solid-js": "2.0.0-rc.0"
43
+ "@solidjs/web": "2.0.0-rc.1",
44
+ "solid-js": "2.0.0-rc.1"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "npm-run-all -nl build:*",
@@ -9514,6 +9514,15 @@ declare namespace JSX {
9514
9514
  ref?: Ref<T>;
9515
9515
  children?: Element | undefined;
9516
9516
  $ServerOnly?: boolean | undefined;
9517
+ /**
9518
+ * Entity identity for server markup (SSR-only): compiles to the `_key`
9519
+ * attribute the frame morph matches keyed elements by, so live element
9520
+ * state (form values, `open`, focus) follows the entity across
9521
+ * reordering morphs. Sibling-scoped, like client keyed rendering.
9522
+ * Stripped from DOM compiles; on components, `$key` is slot occurrence
9523
+ * identity instead.
9524
+ */
9525
+ $key?: string | number | undefined;
9517
9526
  }
9518
9527
  interface ExplicitProperties {}
9519
9528
  type PropAttributes = { [Key in keyof ExplicitProperties as `prop:${Key}`]?: ExplicitProperties[Key] };
@@ -9514,6 +9514,15 @@ declare namespace JSX {
9514
9514
  ref?: Ref<T>;
9515
9515
  children?: Element | undefined;
9516
9516
  $ServerOnly?: boolean | undefined;
9517
+ /**
9518
+ * Entity identity for server markup (SSR-only): compiles to the `_key`
9519
+ * attribute the frame morph matches keyed elements by, so live element
9520
+ * state (form values, `open`, focus) follows the entity across
9521
+ * reordering morphs. Sibling-scoped, like client keyed rendering.
9522
+ * Stripped from DOM compiles; on components, `$key` is slot occurrence
9523
+ * identity instead.
9524
+ */
9525
+ $key?: string | number | undefined;
9517
9526
  }
9518
9527
  interface ExplicitProperties {}
9519
9528
  type PropAttributes = { [Key in keyof ExplicitProperties as `prop:${Key}`]?: ExplicitProperties[Key] };