@novely/solid-renderer 0.54.0 → 0.56.0

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 CHANGED
@@ -1,11 +1,12 @@
1
- # @novely/solid-renderer
2
-
3
- Renderer for @novely/core powered by SolidJS
4
-
5
- ## Features Used
6
-
7
- Including, but not limited to:
8
- - Dialog HTML element
9
- - `Promise.withResolvers`
10
- - `Array.prototype.findLast`
11
- - `Array.prototype.findLastIndex`
1
+ # @novely/solid-renderer
2
+
3
+ Renderer for @novely/core powered by SolidJS 2.0
4
+
5
+ ## Features Used
6
+
7
+ Including, but not limited to:
8
+
9
+ - Dialog HTML element
10
+ - `Promise.withResolvers`
11
+ - `Array.prototype.findLast`
12
+ - `Array.prototype.findLastIndex`
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { MountableElement } from "solid-js/web";
2
- import { JSX } from "solid-js";
1
+ import { JSX } from "@solidjs/web";
3
2
  import * as _novely_core0 from "@novely/core";
4
3
  import { Character, Context, Lang, NovelyScreen, RendererInit } from "@novely/core";
5
4
 
@@ -36,7 +35,7 @@ type CreateSolidRendererOptions = {
36
35
  * Where Novely will be mounted
37
36
  * @default document.body
38
37
  */
39
- target?: MountableElement;
38
+ target?: Element | Document | ShadowRoot | DocumentFragment | Node;
40
39
  /**
41
40
  * Show audio settings in settings menu?
42
41
  * @default true