@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 +12 -11
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1998 -1203
- package/dist/index.js.map +1 -1
- package/dist/style.css +8 -8
- package/license +15 -15
- package/package.json +37 -36
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
|
-
|
|
9
|
-
-
|
|
10
|
-
- `
|
|
11
|
-
- `Array.prototype.
|
|
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 {
|
|
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?:
|
|
38
|
+
target?: Element | Document | ShadowRoot | DocumentFragment | Node;
|
|
40
39
|
/**
|
|
41
40
|
* Show audio settings in settings menu?
|
|
42
41
|
* @default true
|