@twintag/twintag-form 1.6.2-beta.1 → 1.7.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/.turbo/turbo-build.log +16 -16
- package/CHANGELOG.md +241 -221
- package/README.md +407 -407
- package/dev/index.css +32 -32
- package/dev/main.tsx +461 -460
- package/dist/common/button.d.ts +0 -1
- package/dist/common/form.d.ts +0 -1
- package/dist/common/icon.d.ts +0 -1
- package/dist/common/input.d.ts +0 -1
- package/dist/common/label.d.ts +0 -1
- package/dist/common/textarea.d.ts +0 -1
- package/dist/components/config.d.ts +0 -1
- package/dist/components/containers/accordion.d.ts +1 -2
- package/dist/components/containers/category.d.ts +0 -1
- package/dist/components/fields/checkbox.d.ts +0 -1
- package/dist/components/fields/file.d.ts +0 -1
- package/dist/components/fields/input.d.ts +0 -1
- package/dist/components/fields/radiogroup.d.ts +0 -1
- package/dist/components/fields/submit.d.ts +0 -1
- package/dist/components/fields/textarea.d.ts +0 -1
- package/dist/components/fields/toggle.d.ts +0 -1
- package/dist/components/fields/tri-toggle.d.ts +0 -1
- package/dist/components/form.d.ts +0 -1
- package/dist/components/input.d.ts +0 -1
- package/dist/components/label.d.ts +0 -1
- package/dist/components/provider.d.ts +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1437 -1601
- package/dist/types/index.d.ts +0 -1
- package/dist/utils/data.d.ts +0 -1
- package/dist/utils/style.d.ts +0 -1
- package/dist/webcomponent.cjs +1 -1
- package/dist/webcomponent.js +1118 -1104
- package/lib/common/icon.tsx +2 -1
- package/lib/components/config.tsx +1 -0
- package/lib/components/containers/accordion.tsx +3 -2
- package/lib/components/containers/category.tsx +1 -1
- package/lib/components/fields/checkbox.tsx +3 -6
- package/lib/components/fields/date-picker.tsx +151 -154
- package/lib/components/fields/file.tsx +81 -84
- package/lib/components/fields/input.tsx +67 -70
- package/lib/components/fields/radiogroup.tsx +3 -6
- package/lib/components/fields/submit.tsx +1 -0
- package/lib/components/fields/textarea.tsx +69 -72
- package/lib/components/fields/toggle.tsx +3 -6
- package/lib/components/fields/tri-toggle.tsx +3 -4
- package/lib/components/input.tsx +2 -1
- package/lib/components/label.tsx +1 -0
- package/lib/components/provider.tsx +163 -162
- package/lib/components/renderer.tsx +2 -1
- package/lib/index.tsx +46 -45
- package/lib/types/index.ts +102 -102
- package/lib/webcomponent.ts +1 -2
- package/package.json +9 -10
- package/prettier.config.mjs +1 -17
- package/vite.config.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twintag/twintag-form",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"author": "Twintag",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@twind/with-web-components": "^1.1.3",
|
|
34
34
|
"clsx": "^2.1.0",
|
|
35
35
|
"date-fns": "^3.3.1",
|
|
36
|
-
"lucide-react": "
|
|
37
|
-
"react": "^
|
|
36
|
+
"lucide-react": "0.543.0",
|
|
37
|
+
"react": "^19.2.4",
|
|
38
38
|
"react-day-picker": "^8.10.0",
|
|
39
|
-
"react-dom": "^
|
|
39
|
+
"react-dom": "^19.2.4",
|
|
40
40
|
"react-hook-form": "^7.50.1",
|
|
41
41
|
"tailwind-merge": "^2.2.1",
|
|
42
42
|
"uuid": "^9.0.1"
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@twind/with-react": "^1.1.3",
|
|
46
46
|
"@types/uuid": "^9.0.7",
|
|
47
|
-
"@vitejs/plugin-react-swc": "^
|
|
48
|
-
"vite": "^
|
|
49
|
-
"vite-plugin-dts": "^
|
|
47
|
+
"@vitejs/plugin-react-swc": "^4.1.0",
|
|
48
|
+
"vite": "^7.3.2",
|
|
49
|
+
"vite-plugin-dts": "^4.5.4",
|
|
50
50
|
"tsconfig": "0.0.0",
|
|
51
|
-
"twintag-types": "0.
|
|
51
|
+
"twintag-types": "0.6.0"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"scripts": {
|
|
57
57
|
"dev": "vite",
|
|
58
58
|
"build": "tsc && vite build",
|
|
59
|
-
"format": "prettier --write \"**/*.{ts,md,tsx,cjs,mjs,json,html}\" --ignore-path ../../.gitignore"
|
|
60
|
-
"format:check": "prettier --check \"**/*.{ts,md,tsx,cjs,mjs,json,html}\" --ignore-path ../../.gitignore"
|
|
59
|
+
"format": "prettier --write \"**/*.{ts,md,tsx,cjs,mjs,json,html}\" --ignore-path ../../.gitignore"
|
|
61
60
|
}
|
|
62
61
|
}
|
package/prettier.config.mjs
CHANGED
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
import baseConfig from '../../prettier.config.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @type {import('prettier').Config & import('prettier-plugin-tailwindcss').PluginOptions
|
|
5
|
-
* import("@ianvs/prettier-plugin-sort-imports").PluginConfig}
|
|
4
|
+
* @type {import('prettier').Config & import('prettier-plugin-tailwindcss').PluginOptions
|
|
6
5
|
*/
|
|
7
6
|
const config = {
|
|
8
7
|
...baseConfig,
|
|
9
|
-
importOrder: [
|
|
10
|
-
'<TYPES>^react$',
|
|
11
|
-
'<TYPES>',
|
|
12
|
-
'<TYPES>^@/.*$',
|
|
13
|
-
'<TYPES>^[./]',
|
|
14
|
-
'',
|
|
15
|
-
'^zod$',
|
|
16
|
-
'^react$',
|
|
17
|
-
'<THIRD_PARTY_MODULES>',
|
|
18
|
-
'',
|
|
19
|
-
'^@twintag/twintag-form/.*$',
|
|
20
|
-
'^@/.*$',
|
|
21
|
-
'',
|
|
22
|
-
'^[./]',
|
|
23
|
-
],
|
|
24
8
|
};
|
|
25
9
|
|
|
26
10
|
export default config;
|
package/vite.config.ts
CHANGED