@novely/solid-renderer 0.51.0-next.1 → 0.51.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/dist/index.jsx +310 -433
- package/package.json +8 -8
- package/dist/components/Select copy.d.ts +0 -14
- package/dist/components/ShadowRoot.d.ts +0 -3
- package/dist/custom-actions/show-arbitrary-character.d.ts +0 -10
- package/dist/custom-actions.d.ts +0 -24
- package/dist/hooks/createComputedWithMemory.d.ts +0 -3
- package/dist/hooks/previous-value.d.ts +0 -6
- package/dist/hooks/usePrevious.d.ts +0 -3
- package/dist/show-modal.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@novely/solid-renderer",
|
|
3
|
-
"version": "0.51.0
|
|
3
|
+
"version": "0.51.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
"module": "./dist/index.jsx",
|
|
11
11
|
"sideEffects": false,
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"esbuild": "^0.
|
|
13
|
+
"esbuild": "^0.25.5",
|
|
14
14
|
"esbuild-plugin-solid": "^0.6.0",
|
|
15
|
-
"typescript": "^5.
|
|
15
|
+
"typescript": "^5.8.3"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@
|
|
19
|
-
"@solid-primitives/destructure": "^0.2.0",
|
|
18
|
+
"@solid-primitives/destructure": "^0.2.1",
|
|
20
19
|
"clsx": "^2.1.1",
|
|
21
|
-
"es-toolkit": "^1.
|
|
22
|
-
"solid-js": "~1.9.
|
|
23
|
-
"solid-transition-group": "^0.
|
|
20
|
+
"es-toolkit": "^1.39.5",
|
|
21
|
+
"solid-js": "~1.9.7",
|
|
22
|
+
"solid-transition-group": "^0.3.0",
|
|
23
|
+
"@novely/core": "^0.52.0",
|
|
24
24
|
"@novely/renderer-toolkit": "0.13.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { FlowComponent, JSX } from 'solid-js';
|
|
2
|
-
type NativeSelectProps = Omit<JSX.SelectHTMLAttributes<HTMLSelectElement>, 'class' | 'id'>;
|
|
3
|
-
type SelectProps = NativeSelectProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Icon HTML string
|
|
6
|
-
*/
|
|
7
|
-
icon: string;
|
|
8
|
-
/**
|
|
9
|
-
* Label
|
|
10
|
-
*/
|
|
11
|
-
label: string;
|
|
12
|
-
};
|
|
13
|
-
declare const Select: FlowComponent<SelectProps>;
|
|
14
|
-
export { Select };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Character, CharactersData, Lang, ValidAction } from "@novely/core";
|
|
2
|
-
type ShowArbitraryCharacterParams<$Characters extends CharactersData<Record<string, Character<Lang>>>, $Character extends keyof $Characters> = {
|
|
3
|
-
id: $Character & string;
|
|
4
|
-
emotion: $Characters[$Character]['emotions'][number] & string;
|
|
5
|
-
extendWith: () => string | string[];
|
|
6
|
-
classes?: string;
|
|
7
|
-
style?: string;
|
|
8
|
-
};
|
|
9
|
-
declare const createShowArbitraryCharacterAction: <$Characters extends CharactersData<Record<string, Character>>>() => <$Character extends keyof $Characters>(params: ShowArbitraryCharacterParams<$Characters, $Character>) => ValidAction;
|
|
10
|
-
export { createShowArbitraryCharacterAction };
|
package/dist/custom-actions.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Character, Lang, ValidAction } from "@novely/core";
|
|
2
|
-
type ShowArbitraryCharacterParams<$Characters extends Record<string, Character<Lang>>, $Character extends keyof $Characters> = {
|
|
3
|
-
id: $Character & string;
|
|
4
|
-
emotion: keyof $Characters[$Character]['emotions'] & string;
|
|
5
|
-
extendWith: () => string | string[];
|
|
6
|
-
classes?: string;
|
|
7
|
-
style?: string;
|
|
8
|
-
};
|
|
9
|
-
declare const createShowArbitraryCharacterAction: <$Characters extends Record<string, Character>>(_: $Characters) => <$Character extends keyof $Characters>(params: ShowArbitraryCharacterParams<$Characters, $Character>) => ValidAction;
|
|
10
|
-
type ShowImageParams = {
|
|
11
|
-
z?: number;
|
|
12
|
-
in?: string;
|
|
13
|
-
class?: string;
|
|
14
|
-
style?: string;
|
|
15
|
-
position?: string;
|
|
16
|
-
await?: boolean;
|
|
17
|
-
};
|
|
18
|
-
declare const showImage: (source: string, params?: ShowImageParams) => ValidAction;
|
|
19
|
-
type HideImageParams = {
|
|
20
|
-
out?: string;
|
|
21
|
-
await?: boolean;
|
|
22
|
-
};
|
|
23
|
-
declare const hideImage: (source: string, params?: HideImageParams) => ValidAction;
|
|
24
|
-
export { createShowArbitraryCharacterAction, showImage, hideImage };
|
package/dist/show-modal.d.ts
DELETED