@pyck/react 0.0.2 → 0.0.3
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.
|
@@ -4,14 +4,14 @@ import { ark } from "@ark-ui/react/factory";
|
|
|
4
4
|
import { Stack, createStyleContext } from "@pyck/styled-system/jsx";
|
|
5
5
|
import { dialog } from "@pyck/styled-system/recipes";
|
|
6
6
|
import { CheckCircleIcon, FilePenLineIcon, Trash2Icon } from "lucide-react";
|
|
7
|
-
import { useForm } from "react-hook-form";
|
|
8
7
|
import { omit } from "@pyck/react/utils";
|
|
8
|
+
import { useForm } from "react-hook-form";
|
|
9
9
|
import { Show } from "@pyck/react/show";
|
|
10
|
+
import { Dialog, DialogContext as Context, useDialogContext } from "@ark-ui/react/dialog";
|
|
10
11
|
import { Portal } from "@ark-ui/react/portal";
|
|
11
12
|
import { Button, CloseButton } from "@pyck/react/button";
|
|
12
13
|
import { FeaturedIcon } from "@pyck/react/icon";
|
|
13
14
|
import { shallow } from "zustand/shallow";
|
|
14
|
-
import { Dialog, DialogContext as Context, useDialogContext } from "@ark-ui/react/dialog";
|
|
15
15
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
16
16
|
import { Form } from "@pyck/react/form";
|
|
17
17
|
|
|
@@ -2,10 +2,10 @@ import { P, match } from "ts-pattern";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { Fragment } from "react";
|
|
4
4
|
import { Box, HStack, Stack } from "@pyck/styled-system/jsx";
|
|
5
|
+
import { capitalize } from "@pyck/react/utils";
|
|
5
6
|
import { CheckboxField } from "@pyck/react/checkbox";
|
|
6
7
|
import { Field } from "@pyck/react/field";
|
|
7
8
|
import { Controller, FormProvider, useForm, useFormContext } from "react-hook-form";
|
|
8
|
-
import { capitalize } from "@pyck/react/utils";
|
|
9
9
|
import { Portal } from "@ark-ui/react/portal";
|
|
10
10
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
11
11
|
import { Form } from "@pyck/react/form";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyck/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://pyck.ai",
|
|
7
7
|
"repository": {
|
|
@@ -20,31 +20,19 @@
|
|
|
20
20
|
"lint": "biome ci",
|
|
21
21
|
"test": "vitest",
|
|
22
22
|
"test:ci": "vitest run",
|
|
23
|
-
"typecheck": "tsc"
|
|
23
|
+
"typecheck": "tsc",
|
|
24
|
+
"prepack": "bunx clean-package",
|
|
25
|
+
"postpack": "bunx clean-package restore"
|
|
24
26
|
},
|
|
25
27
|
"exports": {
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
"./*": {
|
|
29
|
+
"types": "./dist/components/*/index.d.ts",
|
|
30
|
+
"default": "./dist/components/*/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./package.json": "./package.json"
|
|
30
33
|
},
|
|
31
34
|
"publishConfig": {
|
|
32
|
-
"access": "public"
|
|
33
|
-
"exports": {
|
|
34
|
-
"./package.json": "./package.json",
|
|
35
|
-
"./types": {
|
|
36
|
-
"types": "./dist/types/index.d.ts",
|
|
37
|
-
"default": "./dist/types/index.js"
|
|
38
|
-
},
|
|
39
|
-
"./utils": {
|
|
40
|
-
"types": "./dist/utils/index.d.ts",
|
|
41
|
-
"default": "./dist/utils/index.js"
|
|
42
|
-
},
|
|
43
|
-
"./*": {
|
|
44
|
-
"types": "./dist/components/*/index.d.ts",
|
|
45
|
-
"default": "./dist/components/*/index.js"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
35
|
+
"access": "public"
|
|
48
36
|
},
|
|
49
37
|
"dependencies": {
|
|
50
38
|
"@ark-ui/react": "5.31.0",
|
|
@@ -57,7 +45,7 @@
|
|
|
57
45
|
},
|
|
58
46
|
"devDependencies": {
|
|
59
47
|
"@hookform/resolvers": "5.2.2",
|
|
60
|
-
"@pyck/styled-system": "0.0.
|
|
48
|
+
"@pyck/styled-system": "0.0.3",
|
|
61
49
|
"@storybook/react": "10.2.10",
|
|
62
50
|
"@testing-library/dom": "10.4.1",
|
|
63
51
|
"@testing-library/jest-dom": "6.9.1",
|
|
@@ -79,11 +67,22 @@
|
|
|
79
67
|
"zod": "4.3.6"
|
|
80
68
|
},
|
|
81
69
|
"peerDependencies": {
|
|
82
|
-
"@pyck/styled-system": ">=0.0.
|
|
70
|
+
"@pyck/styled-system": ">=0.0.3",
|
|
83
71
|
"react": ">=18.0.0",
|
|
84
72
|
"react-dom": ">=18.0.0",
|
|
85
73
|
"react-hook-form": ">=7.0.0",
|
|
86
74
|
"zod": ">=3.0.0",
|
|
87
75
|
"@hookform/resolvers": ">=5.0.0"
|
|
76
|
+
},
|
|
77
|
+
"clean-package": {
|
|
78
|
+
"replace": {
|
|
79
|
+
"exports": {
|
|
80
|
+
"./*": {
|
|
81
|
+
"types": "./dist/components/*/index.d.ts",
|
|
82
|
+
"default": "./dist/components/*/index.js"
|
|
83
|
+
},
|
|
84
|
+
"./package.json": "./package.json"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
88
87
|
}
|
|
89
88
|
}
|