@react-typed-forms/schemas-html 3.0.0 → 4.0.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/lib/components/CheckRenderer.d.ts +6 -8
- package/lib/components/ControlInput.d.ts +9 -2
- package/lib/components/DefaultAccordion.d.ts +1 -1
- package/lib/components/DefaultArrayRenderer.d.ts +5 -1
- package/lib/components/DefaultDialogRenderer.d.ts +20 -0
- package/lib/components/DefaultDisplay.d.ts +4 -1
- package/lib/components/DefaultDisplayOnly.d.ts +5 -5
- package/lib/components/DefaultGroupRenderer.d.ts +8 -10
- package/lib/components/DefaultLayout.d.ts +2 -3
- package/lib/components/DefaultVisibility.d.ts +3 -2
- package/lib/components/DefaultWizardRenderer.d.ts +28 -0
- package/lib/components/GridRenderer.d.ts +6 -0
- package/lib/components/JsonataRenderer.d.ts +3 -2
- package/lib/components/TabsRenderer.d.ts +0 -5
- package/lib/components/ValueForFieldRenderer.d.ts +2 -0
- package/lib/components/VisibleChildrenRenderer.d.ts +14 -0
- package/lib/createButtonActionRenderer.d.ts +21 -0
- package/lib/createDefaultRenderers.d.ts +26 -11
- package/lib/index.cjs +1314 -612
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1238 -543
- package/lib/index.js.map +1 -1
- package/lib/tailwind.d.ts +20 -6
- package/package.json +9 -8
package/lib/tailwind.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
export declare const defaultTailwindTheme: {
|
|
3
2
|
label: {
|
|
4
3
|
groupLabelClass: string;
|
|
5
|
-
requiredElement: (
|
|
4
|
+
requiredElement: ({ Span }: import("@react-typed-forms/schemas").HtmlComponents) => JSX.Element;
|
|
6
5
|
};
|
|
7
6
|
array: {
|
|
8
7
|
removableClass: string;
|
|
@@ -12,8 +11,12 @@ export declare const defaultTailwindTheme: {
|
|
|
12
11
|
};
|
|
13
12
|
group: {
|
|
14
13
|
standardClassName: string;
|
|
15
|
-
|
|
14
|
+
grid: {
|
|
15
|
+
className: string;
|
|
16
|
+
rowClass: string;
|
|
17
|
+
};
|
|
16
18
|
flexClassName: string;
|
|
19
|
+
inlineClass: string;
|
|
17
20
|
tabs: {
|
|
18
21
|
className: string;
|
|
19
22
|
tabListClass: string;
|
|
@@ -25,13 +28,18 @@ export declare const defaultTailwindTheme: {
|
|
|
25
28
|
};
|
|
26
29
|
};
|
|
27
30
|
action: {
|
|
28
|
-
|
|
31
|
+
buttonClass: string;
|
|
32
|
+
primaryClass: string;
|
|
33
|
+
secondaryClass: string;
|
|
34
|
+
iconBeforeClass: string;
|
|
35
|
+
iconAfterClass: string;
|
|
29
36
|
};
|
|
30
37
|
layout: {
|
|
31
38
|
className: string;
|
|
32
39
|
errorClass: string;
|
|
33
40
|
};
|
|
34
41
|
data: {
|
|
42
|
+
inputClass: string;
|
|
35
43
|
displayOnlyClass: string;
|
|
36
44
|
checkOptions: {
|
|
37
45
|
className: string;
|
|
@@ -56,8 +64,14 @@ export declare const defaultTailwindTheme: {
|
|
|
56
64
|
accordion: {
|
|
57
65
|
className: string;
|
|
58
66
|
titleClass: string;
|
|
59
|
-
|
|
60
|
-
|
|
67
|
+
iconOpen: {
|
|
68
|
+
library: import("@react-typed-forms/schemas").IconLibrary;
|
|
69
|
+
name: string;
|
|
70
|
+
};
|
|
71
|
+
iconClosed: {
|
|
72
|
+
library: import("@react-typed-forms/schemas").IconLibrary;
|
|
73
|
+
name: string;
|
|
74
|
+
};
|
|
61
75
|
};
|
|
62
76
|
optional: {
|
|
63
77
|
checkClass: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-typed-forms/schemas-html",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.cjs",
|
|
@@ -33,19 +33,20 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"clsx": "^1 || ^2",
|
|
35
35
|
"jsonata": "^2.0.4",
|
|
36
|
-
"@mui/base": "^5.0.0-beta.
|
|
36
|
+
"@mui/base": "^5.0.0-beta.70",
|
|
37
37
|
"@react-stately/overlays": "^3.6.13",
|
|
38
38
|
"@astroapps/aria-base": "^1.3.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@react-typed-forms/core": "^4.
|
|
42
|
-
"@react-typed-forms/schemas": "^
|
|
41
|
+
"@react-typed-forms/core": "^4.4.0",
|
|
42
|
+
"@react-typed-forms/schemas": "^16.0.0",
|
|
43
43
|
"react": "^18.2.0 || ^19"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@react-typed-forms/core": "^4.
|
|
47
|
-
"@react-typed-forms/schemas": "^
|
|
46
|
+
"@react-typed-forms/core": "^4.4.0",
|
|
47
|
+
"@react-typed-forms/schemas": "^16.0.0",
|
|
48
48
|
"react": "^18.2.0 || ^19",
|
|
49
|
+
"react-dom": "^18.2.0 || ^19",
|
|
49
50
|
"@react-typed-forms/transform": "^0.2.0",
|
|
50
51
|
"@types/uuid": "^10.0.0",
|
|
51
52
|
"@types/react": "^18.2.28",
|
|
@@ -58,8 +59,8 @@
|
|
|
58
59
|
},
|
|
59
60
|
"gitHead": "698e16cd3ab31b7dd0528fc76536f4d3205ce8c6",
|
|
60
61
|
"scripts": {
|
|
61
|
-
"build": "rimraf ./lib/ node_modules/.cache && microbundle -f modern,cjs --no-compress",
|
|
62
|
-
"watch": "microbundle -w -f modern,cjs --no-compress ",
|
|
62
|
+
"build": "rimraf ./lib/ node_modules/.cache && microbundle -f modern,cjs --no-compress --jsxImportSource=react",
|
|
63
|
+
"watch": "microbundle -w -f modern,cjs --no-compress --jsxImportSource=react",
|
|
63
64
|
"update-readme": "md-magic --path README.md"
|
|
64
65
|
}
|
|
65
66
|
}
|