@me1a/ui 1.1.2 → 1.2.2

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.
Files changed (47) hide show
  1. package/dist/example/example/index.d.ts +1 -0
  2. package/dist/example/example/simple.d.ts +4 -0
  3. package/dist/example/hook-forms/form-provider.d.ts +8 -0
  4. package/dist/example/hook-forms/index.d.ts +11 -0
  5. package/dist/example/hook-forms/rhf-autocomplete.d.ts +11 -0
  6. package/dist/example/hook-forms/rhf-checkbox.d.ts +19 -0
  7. package/dist/example/hook-forms/rhf-radio-group.d.ts +13 -0
  8. package/dist/example/hook-forms/rhf-select.d.ts +11 -0
  9. package/dist/example/hook-forms/rhf-slider.d.ts +7 -0
  10. package/dist/example/hook-forms/rhf-switch.d.ts +7 -0
  11. package/dist/example/hook-forms/rhf-text-field.d.ts +6 -0
  12. package/dist/example/index.cjs.js +1381 -0
  13. package/dist/example/index.cjs.js.map +1 -0
  14. package/dist/example/index.d.ts +2 -0
  15. package/dist/example/index.es.js +1379 -0
  16. package/dist/example/index.es.js.map +1 -0
  17. package/dist/example/simple.d.ts +4 -0
  18. package/dist/hook-forms/example/index.d.ts +1 -0
  19. package/dist/hook-forms/example/simple.d.ts +4 -0
  20. package/dist/hook-forms/form-provider.d.ts +8 -0
  21. package/dist/hook-forms/hook-forms/form-provider.d.ts +8 -0
  22. package/dist/hook-forms/hook-forms/index.d.ts +11 -0
  23. package/dist/hook-forms/hook-forms/rhf-autocomplete.d.ts +11 -0
  24. package/dist/hook-forms/hook-forms/rhf-checkbox.d.ts +19 -0
  25. package/dist/hook-forms/hook-forms/rhf-radio-group.d.ts +13 -0
  26. package/dist/hook-forms/hook-forms/rhf-select.d.ts +11 -0
  27. package/dist/hook-forms/hook-forms/rhf-slider.d.ts +7 -0
  28. package/dist/hook-forms/hook-forms/rhf-switch.d.ts +7 -0
  29. package/dist/hook-forms/hook-forms/rhf-text-field.d.ts +6 -0
  30. package/dist/hook-forms/index.cjs.js +30012 -0
  31. package/dist/hook-forms/index.cjs.js.map +1 -0
  32. package/dist/hook-forms/index.d.ts +2 -0
  33. package/dist/hook-forms/index.es.js +29971 -0
  34. package/dist/hook-forms/index.es.js.map +1 -0
  35. package/dist/hook-forms/rhf-autocomplete.d.ts +11 -0
  36. package/dist/hook-forms/rhf-checkbox.d.ts +19 -0
  37. package/dist/hook-forms/rhf-radio-group.d.ts +13 -0
  38. package/dist/hook-forms/rhf-select.d.ts +11 -0
  39. package/dist/hook-forms/rhf-slider.d.ts +7 -0
  40. package/dist/hook-forms/rhf-switch.d.ts +7 -0
  41. package/dist/hook-forms/rhf-text-field.d.ts +6 -0
  42. package/dist/index.cjs.js +7843 -5144
  43. package/dist/index.cjs.js.map +1 -1
  44. package/dist/index.d.ts +2 -74
  45. package/dist/index.es.js +7837 -5141
  46. package/dist/index.es.js.map +1 -1
  47. package/package.json +23 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@me1a/ui",
3
- "version": "1.1.2",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -8,6 +8,23 @@
8
8
  "files": [
9
9
  "/dist"
10
10
  ],
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.es.js",
14
+ "require": "./dist/index.cjs.js",
15
+ "types": "./dist/index.d.ts"
16
+ },
17
+ "./example": {
18
+ "import": "./dist/example/index.es.js",
19
+ "require": "./dist/example/index.cjs.js",
20
+ "types": "./dist/example/index.d.ts"
21
+ },
22
+ "./hook-forms": {
23
+ "import": "./dist/hook-forms/index.es.js",
24
+ "require": "./dist/hook-forms/index.cjs.js",
25
+ "types": "./dist/hook-forms/index.d.ts"
26
+ }
27
+ },
11
28
  "scripts": {
12
29
  "format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
13
30
  "lint": "eslint . --ext .ts,.tsx --ignore-path .gitignore --fix",
@@ -20,9 +37,11 @@
20
37
  "dependencies": {
21
38
  "@emotion/react": "^11.13.3",
22
39
  "@emotion/styled": "^11.13.0",
40
+ "@hookform/resolvers": "^3.9.1",
23
41
  "@mui/icons-material": "^6.1.5",
24
42
  "@mui/material": "^6.1.5",
25
- "react-hook-form": "^7.51.3"
43
+ "react-hook-form": "^7.51.3",
44
+ "yup": "^1.4.0"
26
45
  },
27
46
  "devDependencies": {
28
47
  "@babel/core": "^7.26.0",
@@ -61,7 +80,7 @@
61
80
  "typescript": "^5.4.5"
62
81
  },
63
82
  "peerDependencies": {
64
- "react": "^18.3.1",
65
- "react-dom": "^18.3.1"
83
+ "react": "18.2.0",
84
+ "react-dom": "18.2.0"
66
85
  }
67
86
  }