x-ui-design 0.1.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/README.md +36 -0
- package/eslint.config.mjs +16 -0
- package/next.config.ts +7 -0
- package/package.json +27 -0
- package/src/app/components/Checkbox/index.tsx +90 -0
- package/src/app/components/Checkbox/style.css +88 -0
- package/src/app/components/Empty/index.tsx +31 -0
- package/src/app/components/Empty/style.css +12 -0
- package/src/app/components/Form/Item/index.tsx +63 -0
- package/src/app/components/Form/Item/style.css +46 -0
- package/src/app/components/Form/index.tsx +74 -0
- package/src/app/components/Input/index.tsx +99 -0
- package/src/app/components/Input/style.css +80 -0
- package/src/app/components/Radio/Button/index.tsx +43 -0
- package/src/app/components/Radio/Button/style.css +43 -0
- package/src/app/components/Radio/Group/index.tsx +88 -0
- package/src/app/components/Radio/Group/style.css +53 -0
- package/src/app/components/Radio/index.tsx +65 -0
- package/src/app/components/Radio/style.css +55 -0
- package/src/app/components/Select/Option/index.tsx +32 -0
- package/src/app/components/Select/Option/style.css +42 -0
- package/src/app/components/Select/Tag/index.tsx +40 -0
- package/src/app/components/Select/Tag/style.css +76 -0
- package/src/app/components/Select/index.tsx +411 -0
- package/src/app/components/Select/style.css +172 -0
- package/src/app/components/icons/index.tsx +37 -0
- package/src/app/favicon.ico +0 -0
- package/src/app/globals.css +27 -0
- package/src/app/helpers/index.ts +19 -0
- package/src/app/hooks/useForm.ts +204 -0
- package/src/app/hooks/useWatch.ts +35 -0
- package/src/app/layout.tsx +16 -0
- package/src/app/page.tsx +79 -0
- package/src/app/types/checkbox.ts +28 -0
- package/src/app/types/empty.ts +8 -0
- package/src/app/types/form.ts +70 -0
- package/src/app/types/index.ts +25 -0
- package/src/app/types/input.ts +20 -0
- package/src/app/types/radio.ts +57 -0
- package/src/app/types/select.ts +105 -0
- package/src/app/utils/index.ts +7 -0
- package/tsconfig.json +40 -0
package/tsconfig.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2017",
|
|
4
|
+
"lib": [
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.iterable",
|
|
7
|
+
"esnext"
|
|
8
|
+
],
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"esModuleInterop": true,
|
|
14
|
+
"module": "esnext",
|
|
15
|
+
"moduleResolution": "bundler",
|
|
16
|
+
"resolveJsonModule": true,
|
|
17
|
+
"isolatedModules": true,
|
|
18
|
+
"jsx": "preserve",
|
|
19
|
+
"incremental": true,
|
|
20
|
+
"plugins": [
|
|
21
|
+
{
|
|
22
|
+
"name": "next"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"paths": {
|
|
26
|
+
"@/*": [
|
|
27
|
+
"./src/*"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"include": [
|
|
32
|
+
"next-env.d.ts",
|
|
33
|
+
"**/*.ts",
|
|
34
|
+
"**/*.tsx",
|
|
35
|
+
".next/types/**/*.ts"
|
|
36
|
+
],
|
|
37
|
+
"exclude": [
|
|
38
|
+
"node_modules"
|
|
39
|
+
]
|
|
40
|
+
}
|