@valbuild/react 0.65.2 → 0.67.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.
@@ -1,2 +1,2 @@
|
|
1
|
-
export function jsxDEV(type: any, props: any, key: any, isStaticChildren: any, source: any, self: any): any
|
1
|
+
export function jsxDEV(type: any, props: any, key: any, isStaticChildren: any, source: any, self: any): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
2
2
|
export * from "react/jsx-dev-runtime";
|
@@ -163,7 +163,7 @@ export type StegaOfRichTextSource<T extends Source> = Json extends T ? Json : T
|
|
163
163
|
export type RichText<O extends RichTextOptions> = StegaOfRichTextSource<RichTextSource<O>> & {
|
164
164
|
valPath: string;
|
165
165
|
};
|
166
|
-
export type StegaOfSource<T extends Source> = Json extends T ? Json : T extends RichTextSource<infer O> ? RichText<O> : T extends FileSource<infer M> ? M extends
|
166
|
+
export type StegaOfSource<T extends Source> = Json extends T ? Json : T extends RichTextSource<infer O> ? RichText<O> : T extends ImageSource ? Image : T extends FileSource<infer M> ? M extends FileMetadata ? File<M> : never : T extends SourceObject ? {
|
167
167
|
[key in keyof T]: StegaOfSource<T[key]>;
|
168
168
|
} : T extends SourceArray ? StegaOfSource<T[number]>[] : T extends RawString ? string : string extends T ? ValEncodedString : T extends JsonPrimitive ? T : never;
|
169
169
|
export declare function stegaEncode(input: any, opts: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@valbuild/react",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.67.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "Val - React internal helpers",
|
6
6
|
"sideEffects": false,
|
@@ -9,9 +9,9 @@
|
|
9
9
|
"test": "jest"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
|
-
"@valbuild/core": "~0.
|
13
|
-
"@valbuild/shared": "~0.
|
14
|
-
"@valbuild/ui": "~0.
|
12
|
+
"@valbuild/core": "~0.67.0",
|
13
|
+
"@valbuild/shared": "~0.67.0",
|
14
|
+
"@valbuild/ui": "~0.67.0",
|
15
15
|
"@vercel/stega": "^0.1.0",
|
16
16
|
"base64-arraybuffer": "^1.0.2"
|
17
17
|
},
|
@@ -23,8 +23,8 @@
|
|
23
23
|
"react-dom": "^18.2.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
26
|
-
"react": ">=18.2.0",
|
27
|
-
"react-dom": ">=18.2.0"
|
26
|
+
"react": ">=18.2.0 || ^19.0 || ^19.0.0-rc",
|
27
|
+
"react-dom": ">=18.2.0 || ^19.0 || ^19.0.0-rc"
|
28
28
|
},
|
29
29
|
"peerDependenciesMeta": {
|
30
30
|
"@types/react": {
|