@reformer/ui-kit 1.0.0-beta.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 (67) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +96 -0
  3. package/dist/components/form-array/form-array-section.d.ts +60 -0
  4. package/dist/components/form-array/index.d.ts +2 -0
  5. package/dist/components/form-wizard/form-wizard-actions.d.ts +11 -0
  6. package/dist/components/form-wizard/form-wizard-progress.d.ts +7 -0
  7. package/dist/components/form-wizard/form-wizard.d.ts +40 -0
  8. package/dist/components/form-wizard/index.d.ts +8 -0
  9. package/dist/components/form-wizard/step-indicator.d.ts +10 -0
  10. package/dist/components/state/error-state.d.ts +10 -0
  11. package/dist/components/state/index.d.ts +2 -0
  12. package/dist/components/state/loading-state.d.ts +8 -0
  13. package/dist/components/ui/async-boundary.d.ts +63 -0
  14. package/dist/components/ui/box.d.ts +41 -0
  15. package/dist/components/ui/button.d.ts +35 -0
  16. package/dist/components/ui/checkbox.d.ts +48 -0
  17. package/dist/components/ui/collapsible.d.ts +59 -0
  18. package/dist/components/ui/example-card.d.ts +57 -0
  19. package/dist/components/ui/form-field.d.ts +72 -0
  20. package/dist/components/ui/input-mask.d.ts +52 -0
  21. package/dist/components/ui/input-password.d.ts +51 -0
  22. package/dist/components/ui/input.d.ts +54 -0
  23. package/dist/components/ui/radio-group.d.ts +60 -0
  24. package/dist/components/ui/section.d.ts +52 -0
  25. package/dist/components/ui/select.d.ts +316 -0
  26. package/dist/components/ui/textarea.d.ts +53 -0
  27. package/dist/form-array-section-CItAR061.js +92 -0
  28. package/dist/form-array.d.ts +2 -0
  29. package/dist/form-array.js +4 -0
  30. package/dist/form-wizard-C-yRYqTI.js +118 -0
  31. package/dist/form-wizard.d.ts +2 -0
  32. package/dist/form-wizard.js +7 -0
  33. package/dist/index.d.ts +37 -0
  34. package/dist/index.js +170 -0
  35. package/dist/lib/utils.d.ts +29 -0
  36. package/dist/loading-state-4VeOE6iN.js +38 -0
  37. package/dist/state.d.ts +2 -0
  38. package/dist/state.js +5 -0
  39. package/dist/ui/async-boundary.d.ts +2 -0
  40. package/dist/ui/async-boundary.js +12 -0
  41. package/dist/ui/box.d.ts +2 -0
  42. package/dist/ui/box.js +7 -0
  43. package/dist/ui/button.d.ts +2 -0
  44. package/dist/ui/button.js +78 -0
  45. package/dist/ui/checkbox.d.ts +2 -0
  46. package/dist/ui/checkbox.js +35 -0
  47. package/dist/ui/collapsible.d.ts +2 -0
  48. package/dist/ui/collapsible.js +31 -0
  49. package/dist/ui/form-field.d.ts +2 -0
  50. package/dist/ui/form-field.js +217 -0
  51. package/dist/ui/input-mask.d.ts +2 -0
  52. package/dist/ui/input-mask.js +36 -0
  53. package/dist/ui/input-password.d.ts +2 -0
  54. package/dist/ui/input-password.js +72 -0
  55. package/dist/ui/input.d.ts +2 -0
  56. package/dist/ui/input.js +48 -0
  57. package/dist/ui/radio-group.d.ts +2 -0
  58. package/dist/ui/radio-group.js +53 -0
  59. package/dist/ui/section.d.ts +2 -0
  60. package/dist/ui/section.js +16 -0
  61. package/dist/ui/select.d.ts +2 -0
  62. package/dist/ui/select.js +241 -0
  63. package/dist/ui/textarea.d.ts +2 -0
  64. package/dist/ui/textarea.js +38 -0
  65. package/dist/utils-DtaLkIY8.js +2776 -0
  66. package/llms.txt +3461 -0
  67. package/package.json +161 -0
package/package.json ADDED
@@ -0,0 +1,161 @@
1
+ {
2
+ "name": "@reformer/ui-kit",
3
+ "version": "1.0.0-beta.2",
4
+ "description": "Styled form components with Tailwind CSS and Radix UI for @reformer ecosystem",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ },
14
+ "./form-array": {
15
+ "types": "./dist/form-array.d.ts",
16
+ "import": "./dist/form-array.js"
17
+ },
18
+ "./form-wizard": {
19
+ "types": "./dist/form-wizard.d.ts",
20
+ "import": "./dist/form-wizard.js"
21
+ },
22
+ "./form-field": {
23
+ "types": "./dist/form-field.d.ts",
24
+ "import": "./dist/form-field.js"
25
+ },
26
+ "./input": {
27
+ "types": "./dist/ui/input.d.ts",
28
+ "import": "./dist/ui/input.js"
29
+ },
30
+ "./select": {
31
+ "types": "./dist/ui/select.d.ts",
32
+ "import": "./dist/ui/select.js"
33
+ },
34
+ "./checkbox": {
35
+ "types": "./dist/ui/checkbox.d.ts",
36
+ "import": "./dist/ui/checkbox.js"
37
+ },
38
+ "./textarea": {
39
+ "types": "./dist/ui/textarea.d.ts",
40
+ "import": "./dist/ui/textarea.js"
41
+ },
42
+ "./radio-group": {
43
+ "types": "./dist/ui/radio-group.d.ts",
44
+ "import": "./dist/ui/radio-group.js"
45
+ },
46
+ "./button": {
47
+ "types": "./dist/ui/button.d.ts",
48
+ "import": "./dist/ui/button.js"
49
+ },
50
+ "./box": {
51
+ "types": "./dist/ui/box.d.ts",
52
+ "import": "./dist/ui/box.js"
53
+ },
54
+ "./section": {
55
+ "types": "./dist/ui/section.d.ts",
56
+ "import": "./dist/ui/section.js"
57
+ },
58
+ "./input-mask": {
59
+ "types": "./dist/ui/input-mask.d.ts",
60
+ "import": "./dist/ui/input-mask.js"
61
+ },
62
+ "./input-password": {
63
+ "types": "./dist/ui/input-password.d.ts",
64
+ "import": "./dist/ui/input-password.js"
65
+ },
66
+ "./collapsible": {
67
+ "types": "./dist/ui/collapsible.d.ts",
68
+ "import": "./dist/ui/collapsible.js"
69
+ },
70
+ "./async-boundary": {
71
+ "types": "./dist/ui/async-boundary.d.ts",
72
+ "import": "./dist/ui/async-boundary.js"
73
+ },
74
+ "./state": {
75
+ "types": "./dist/state.d.ts",
76
+ "import": "./dist/state.js"
77
+ }
78
+ },
79
+ "sideEffects": false,
80
+ "scripts": {
81
+ "generate:llms": "node ../../scripts/generate-llms-txt .",
82
+ "build": "npm run generate:llms && vite build",
83
+ "build:stackblitz": "vite build",
84
+ "dev": "vite",
85
+ "test": "node ../../scripts/run-vitest.mjs",
86
+ "test:watch": "vitest watch"
87
+ },
88
+ "keywords": [
89
+ "react",
90
+ "forms",
91
+ "ui-components",
92
+ "tailwindcss",
93
+ "radix-ui",
94
+ "form-array",
95
+ "multi-step-form",
96
+ "wizard",
97
+ "reformer",
98
+ "typescript"
99
+ ],
100
+ "engines": {
101
+ "node": ">=18.0.0"
102
+ },
103
+ "author": "Alexandr Bukhtatyy",
104
+ "license": "MIT",
105
+ "repository": {
106
+ "type": "git",
107
+ "url": "https://github.com/AlexandrBukhtatyy/ReFormer.git",
108
+ "directory": "packages/reformer-ui-kit"
109
+ },
110
+ "homepage": "https://alexandrbukhtatyy.github.io/ReFormer/",
111
+ "bugs": {
112
+ "url": "https://github.com/AlexandrBukhtatyy/ReFormer/issues"
113
+ },
114
+ "publishConfig": {
115
+ "access": "public"
116
+ },
117
+ "files": [
118
+ "dist",
119
+ "README.md",
120
+ "LICENSE",
121
+ "llms.txt"
122
+ ],
123
+ "peerDependencies": {
124
+ "@radix-ui/react-select": "^2.0.0",
125
+ "@radix-ui/react-slot": "^1.0.0",
126
+ "@reformer/cdk": ">=1.0.0-beta.0",
127
+ "@reformer/core": ">=1.1.0-beta.0",
128
+ "@reformer/renderer-react": ">=1.0.0-beta.0",
129
+ "lucide-react": "^0.400.0",
130
+ "react": "^18.0.0 || ^19.0.0",
131
+ "react-dom": "^18.0.0 || ^19.0.0"
132
+ },
133
+ "dependencies": {
134
+ "class-variance-authority": "^0.7.0",
135
+ "clsx": "^2.0.0",
136
+ "tailwind-merge": "^2.0.0 || ^3.0.0"
137
+ },
138
+ "devDependencies": {
139
+ "@radix-ui/react-select": "^2.2.6",
140
+ "@radix-ui/react-slot": "^1.2.4",
141
+ "@reformer/cdk": "*",
142
+ "@reformer/core": "*",
143
+ "@reformer/renderer-react": "*",
144
+ "@types/node": "^24.10.1",
145
+ "@types/react": "^19.2.7",
146
+ "@types/react-dom": "^19.2.3",
147
+ "@vitejs/plugin-react": "^5.1.0",
148
+ "@vitest/utils": "^4.0.8",
149
+ "class-variance-authority": "^0.7.1",
150
+ "clsx": "^2.1.1",
151
+ "lucide-react": "^0.553.0",
152
+ "react": "^19.2.1",
153
+ "react-dom": "^19.2.1",
154
+ "tailwind-merge": "^3.4.0",
155
+ "tsx": "^4.19.2",
156
+ "typescript": "^5.9.3",
157
+ "vite": "^7.2.2",
158
+ "vite-plugin-dts": "^4.5.4",
159
+ "vitest": "^4.0.8"
160
+ }
161
+ }