@resistdesign/voltra 3.0.0-alpha.18 → 3.0.0-alpha.19
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
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
yarn add @resistdesign/voltra
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
Runtime peer dependencies:
|
|
18
|
+
|
|
19
|
+
- Consumers must provide `react` (required).
|
|
20
|
+
- Web consumers must provide `react-dom`.
|
|
21
|
+
- Native consumers must provide `react-native`.
|
|
22
|
+
|
|
17
23
|
### Imports
|
|
18
24
|
|
|
19
25
|
Prefer the public entrypoints below to keep imports stable and IDE auto-imports clean.
|
|
@@ -16,6 +16,6 @@ import type { ComponentSuite } from "../../app/forms/core/types";
|
|
|
16
16
|
export declare const createNativeFormRenderer: (options?: {
|
|
17
17
|
suite?: ComponentSuite<ReactElement>;
|
|
18
18
|
}) => {
|
|
19
|
-
AutoField: (props: import("../../app/forms/core").AutoFieldInput) => ReactElement<
|
|
20
|
-
suite: import("../../app").ResolvedSuite<ReactElement<
|
|
19
|
+
AutoField: (props: import("../../app/forms/core").AutoFieldInput) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
20
|
+
suite: import("../../app").ResolvedSuite<ReactElement<any, string | import("react").JSXElementConstructor<any>>>;
|
|
21
21
|
};
|
package/native/forms/suite.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export declare const nativeSuite: ComponentSuite<ReactElement>;
|
|
|
12
12
|
/**
|
|
13
13
|
* AutoField renderer backed by the default native suite.
|
|
14
14
|
*/
|
|
15
|
-
export declare const nativeAutoField: (props: import("../../app/forms/core").AutoFieldInput) => ReactElement<
|
|
15
|
+
export declare const nativeAutoField: (props: import("../../app/forms/core").AutoFieldInput) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@resistdesign/voltra",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.19",
|
|
4
4
|
"description": "With our powers combined!",
|
|
5
5
|
"homepage": "https://voltra.app",
|
|
6
6
|
"repository": "git@github.com:resistdesign/voltra.git",
|
|
@@ -95,12 +95,23 @@
|
|
|
95
95
|
"ace-builds": "^1.32.3",
|
|
96
96
|
"fast-glob": "^3.3.3",
|
|
97
97
|
"picocolors": "^1.1.1",
|
|
98
|
-
"react": "^18.2.0",
|
|
99
98
|
"react-ace": "^10.1.0",
|
|
100
|
-
"react-dom": "^18.3.1",
|
|
101
99
|
"styled-components": "^6.1.8",
|
|
102
100
|
"typescript": "^5.3.3",
|
|
103
101
|
"uuid": "^11.0.3",
|
|
104
102
|
"yaml": "^2.3.4"
|
|
103
|
+
},
|
|
104
|
+
"peerDependencies": {
|
|
105
|
+
"react": ">=18",
|
|
106
|
+
"react-dom": ">=18",
|
|
107
|
+
"react-native": ">=0.7"
|
|
108
|
+
},
|
|
109
|
+
"peerDependenciesMeta": {
|
|
110
|
+
"react-dom": {
|
|
111
|
+
"optional": true
|
|
112
|
+
},
|
|
113
|
+
"react-native": {
|
|
114
|
+
"optional": true
|
|
115
|
+
}
|
|
105
116
|
}
|
|
106
117
|
}
|
|
@@ -16,6 +16,6 @@ import type { ComponentSuite } from "../../app/forms/core/types";
|
|
|
16
16
|
export declare const createWebFormRenderer: (options?: {
|
|
17
17
|
suite?: ComponentSuite<ReactElement>;
|
|
18
18
|
}) => {
|
|
19
|
-
AutoField: (props: import("../../app/forms/core").AutoFieldInput) => ReactElement<
|
|
20
|
-
suite: import("../../app").ResolvedSuite<ReactElement<
|
|
19
|
+
AutoField: (props: import("../../app/forms/core").AutoFieldInput) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
20
|
+
suite: import("../../app").ResolvedSuite<ReactElement<any, string | import("react").JSXElementConstructor<any>>>;
|
|
21
21
|
};
|
package/web/forms/suite.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ export declare const webSuite: ComponentSuite<ReactElement>;
|
|
|
12
12
|
/**
|
|
13
13
|
* AutoField renderer backed by the default web suite.
|
|
14
14
|
*/
|
|
15
|
-
export declare const webAutoField: (props: import("../../app/forms/core").AutoFieldInput) => ReactElement<
|
|
15
|
+
export declare const webAutoField: (props: import("../../app/forms/core").AutoFieldInput) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|