@dxos/react-ui-form 0.8.1-main.303c73a → 0.8.1-main.a06ad20
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.
|
@@ -7,12 +7,12 @@ declare const TestSchema: S.mutable<S.Struct<{
|
|
|
7
7
|
name: S.optional<S.SchemaClass<string, string, never>>;
|
|
8
8
|
active: S.optional<S.SchemaClass<boolean, boolean, never>>;
|
|
9
9
|
rank: S.optional<S.SchemaClass<number, number, never>>;
|
|
10
|
-
website: S.optional<S.refine<string, S.
|
|
10
|
+
website: S.optional<S.refine<string, typeof S.String>>;
|
|
11
11
|
address: S.optional<S.Struct<{
|
|
12
12
|
street: S.optional<S.SchemaClass<string, string, never>>;
|
|
13
13
|
city: S.optional<S.SchemaClass<string, string, never>>;
|
|
14
|
-
zip: S.optional<S.refine<string, S.
|
|
15
|
-
location: S.optional<S.Tuple<[S.refine<number, S.
|
|
14
|
+
zip: S.optional<S.refine<string, typeof S.String>>;
|
|
15
|
+
location: S.optional<S.Tuple<[S.refine<number, S.transform<typeof S.Number, S.filter<S.SchemaClass<number, number, never>>>>, S.refine<number, S.transform<typeof S.Number, S.filter<S.SchemaClass<number, number, never>>>>, S.Element<typeof S.Number, "?">]>>;
|
|
16
16
|
}>>;
|
|
17
17
|
}>>;
|
|
18
18
|
type TestType = S.Schema.Type<typeof TestSchema>;
|
|
@@ -31,19 +31,19 @@ declare const ShapeSchema: S.mutable<S.Struct<{
|
|
|
31
31
|
radius: S.optional<S.SchemaClass<number, number, never>>;
|
|
32
32
|
}>, S.Struct<{
|
|
33
33
|
type: S.Literal<["square"]>;
|
|
34
|
-
size: S.optional<S.refine<number, S.
|
|
34
|
+
size: S.optional<S.refine<number, typeof S.Number>>;
|
|
35
35
|
}>]>>;
|
|
36
36
|
}>>;
|
|
37
37
|
type ShapeType = S.Schema.Type<typeof ShapeSchema>;
|
|
38
38
|
type DiscriminatedUnionStoryProps = FormProps<ShapeType>;
|
|
39
39
|
export declare const DiscriminatedShape: StoryObj<DiscriminatedUnionStoryProps>;
|
|
40
40
|
declare const ArraysSchema: S.mutable<S.Struct<{
|
|
41
|
-
names: S.Array$<S.filter<S.
|
|
41
|
+
names: S.Array$<S.filter<typeof S.String>>;
|
|
42
42
|
addresses: S.Array$<S.Struct<{
|
|
43
43
|
street: S.optional<S.SchemaClass<string, string, never>>;
|
|
44
44
|
city: S.optional<S.SchemaClass<string, string, never>>;
|
|
45
|
-
zip: S.optional<S.refine<string, S.
|
|
46
|
-
location: S.optional<S.Tuple<[S.refine<number, S.
|
|
45
|
+
zip: S.optional<S.refine<string, typeof S.String>>;
|
|
46
|
+
location: S.optional<S.Tuple<[S.refine<number, S.transform<typeof S.Number, S.filter<S.SchemaClass<number, number, never>>>>, S.refine<number, S.transform<typeof S.Number, S.filter<S.SchemaClass<number, number, never>>>>, S.Element<typeof S.Number, "?">]>>;
|
|
47
47
|
}>>;
|
|
48
48
|
}>>;
|
|
49
49
|
type ArraysType = S.Schema.Type<typeof ArraysSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-form",
|
|
3
|
-
"version": "0.8.1-main.
|
|
3
|
+
"version": "0.8.1-main.a06ad20",
|
|
4
4
|
"description": "Data components.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -28,46 +28,46 @@
|
|
|
28
28
|
"@radix-ui/react-context": "1.1.1",
|
|
29
29
|
"date-fns": "^3.3.1",
|
|
30
30
|
"jsonpath": "^1.1.1",
|
|
31
|
-
"@dxos/async": "0.8.1-main.
|
|
32
|
-
"@dxos/
|
|
33
|
-
"@dxos/echo-
|
|
34
|
-
"@dxos/
|
|
35
|
-
"@dxos/
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/effect": "0.8.1-main.
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/react-
|
|
41
|
-
"@dxos/react-ui-
|
|
42
|
-
"@dxos/react-ui-
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/
|
|
31
|
+
"@dxos/async": "0.8.1-main.a06ad20",
|
|
32
|
+
"@dxos/debug": "0.8.1-main.a06ad20",
|
|
33
|
+
"@dxos/echo-db": "0.8.1-main.a06ad20",
|
|
34
|
+
"@dxos/echo-schema": "0.8.1-main.a06ad20",
|
|
35
|
+
"@dxos/invariant": "0.8.1-main.a06ad20",
|
|
36
|
+
"@dxos/keys": "0.8.1-main.a06ad20",
|
|
37
|
+
"@dxos/effect": "0.8.1-main.a06ad20",
|
|
38
|
+
"@dxos/live-object": "0.8.1-main.a06ad20",
|
|
39
|
+
"@dxos/log": "0.8.1-main.a06ad20",
|
|
40
|
+
"@dxos/react-client": "0.8.1-main.a06ad20",
|
|
41
|
+
"@dxos/react-ui-list": "0.8.1-main.a06ad20",
|
|
42
|
+
"@dxos/react-ui-pickers": "0.8.1-main.a06ad20",
|
|
43
|
+
"@dxos/schema": "0.8.1-main.a06ad20",
|
|
44
|
+
"@dxos/util": "0.8.1-main.a06ad20",
|
|
45
|
+
"@dxos/react-ui-types": "0.8.1-main.a06ad20"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@phosphor-icons/react": "^2.1.5",
|
|
49
49
|
"@types/jsonpath": "^0.2.4",
|
|
50
50
|
"@types/react": "~18.2.0",
|
|
51
51
|
"@types/react-dom": "~18.2.0",
|
|
52
|
-
"effect": "3.
|
|
52
|
+
"effect": "3.13.3",
|
|
53
53
|
"fast-check": "^3.19.0",
|
|
54
54
|
"react": "~18.2.0",
|
|
55
55
|
"react-dom": "~18.2.0",
|
|
56
56
|
"vite": "5.4.7",
|
|
57
|
-
"@dxos/echo-signals": "0.8.1-main.
|
|
58
|
-
"@dxos/random": "0.8.1-main.
|
|
59
|
-
"@dxos/react-ui
|
|
60
|
-
"@dxos/react-ui-syntax-highlighter": "0.8.1-main.
|
|
61
|
-
"@dxos/react-ui": "0.8.1-main.
|
|
62
|
-
"@dxos/storybook-utils": "0.8.1-main.
|
|
57
|
+
"@dxos/echo-signals": "0.8.1-main.a06ad20",
|
|
58
|
+
"@dxos/random": "0.8.1-main.a06ad20",
|
|
59
|
+
"@dxos/react-ui": "0.8.1-main.a06ad20",
|
|
60
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.1-main.a06ad20",
|
|
61
|
+
"@dxos/react-ui-theme": "0.8.1-main.a06ad20",
|
|
62
|
+
"@dxos/storybook-utils": "0.8.1-main.a06ad20"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@phosphor-icons/react": "^2.1.5",
|
|
66
|
-
"effect": "3.
|
|
66
|
+
"effect": "3.13.3",
|
|
67
67
|
"react": "~18.2.0",
|
|
68
68
|
"react-dom": "~18.2.0",
|
|
69
|
-
"@dxos/react-ui": "0.8.1-main.
|
|
70
|
-
"@dxos/react-ui-theme": "0.8.1-main.
|
|
69
|
+
"@dxos/react-ui": "0.8.1-main.a06ad20",
|
|
70
|
+
"@dxos/react-ui-theme": "0.8.1-main.a06ad20"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|