@bizapps/design-system-testing 1.9.0 → 1.10.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 +1 -0
- package/dist/editor.cjs +1484 -0
- package/dist/editor.cjs.map +1 -0
- package/dist/editor.d.cts +428 -0
- package/dist/editor.d.ts +428 -0
- package/dist/editor.js +1467 -0
- package/dist/editor.js.map +1 -0
- package/dist/main.cjs +622 -130
- package/dist/main.cjs.map +1 -1
- package/dist/main.css +1 -1
- package/dist/main.d.cts +207 -50
- package/dist/main.d.ts +207 -50
- package/dist/main.js +617 -133
- package/dist/main.js.map +1 -1
- package/dist/policy-DPpMNLiO.d.cts +75 -0
- package/dist/policy-DPpMNLiO.d.ts +75 -0
- package/dist/policy.cjs +33 -0
- package/dist/policy.cjs.map +1 -0
- package/dist/policy.d.cts +1 -0
- package/dist/policy.d.ts +1 -0
- package/dist/policy.js +29 -0
- package/dist/policy.js.map +1 -0
- package/package.json +228 -175
package/package.json
CHANGED
|
@@ -1,177 +1,230 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
"eslint-plugin-storybook": "^10.2.17",
|
|
141
|
-
"globals": "^16.5.0",
|
|
142
|
-
"jsdom": "^30.0.1",
|
|
143
|
-
"motion": "^12.40.0",
|
|
144
|
-
"prettier": "^3.8.1",
|
|
145
|
-
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
146
|
-
"react": "^19.2.4",
|
|
147
|
-
"react-dom": "^19.2.4",
|
|
148
|
-
"shadcn": "^4.8.1",
|
|
149
|
-
"sonner": "^2.0.7",
|
|
150
|
-
"storybook": "^10.2.17",
|
|
151
|
-
"tailwindcss": "^4.2.1",
|
|
152
|
-
"ts-morph": "^24.0.0",
|
|
153
|
-
"tsup": "^8.5.1",
|
|
154
|
-
"tsx": "^4.19.4",
|
|
155
|
-
"typescript": "~5.8.3",
|
|
156
|
-
"typescript-eslint": "8.53.0",
|
|
157
|
-
"vite": "^7.3.1",
|
|
158
|
-
"vite-plugin-dts": "^4.5.4",
|
|
159
|
-
"vitest": "^4.1.10",
|
|
160
|
-
"vitest-axe": "^0.1.0",
|
|
161
|
-
"zod": "^4.4.3"
|
|
162
|
-
},
|
|
163
|
-
"packageManager": "pnpm@11.7.0+sha512.19cc852c120c7125760f2443ee6be0ca5b40f9f50598de1a09a1f177503e010e57c23c77646e01e761de59bf874fb22a3398c33ab9691fc13eb946b6f0f4d620",
|
|
164
|
-
"dependencies": {
|
|
165
|
-
"class-variance-authority": "^0.7.1",
|
|
166
|
-
"clsx": "^2.1.1",
|
|
167
|
-
"cmdk": "^1.1.1",
|
|
168
|
-
"color": "^5.0.3",
|
|
169
|
-
"country-flag-icons": "^1.6.20",
|
|
170
|
-
"date-fns": "^4.4.0",
|
|
171
|
-
"libphonenumber-js": "^1.13.10",
|
|
172
|
-
"react-dropzone": "^15.0.0",
|
|
173
|
-
"tailwind-merge": "^3.6.0",
|
|
174
|
-
"temporal-polyfill": "0.3.2",
|
|
175
|
-
"tw-animate-css": "^1.4.0"
|
|
2
|
+
"name": "@bizapps/design-system-testing",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"version": "1.10.0",
|
|
7
|
+
"description": "This package provides reusable UI components to ensure consistency across all CRM frontend applications",
|
|
8
|
+
"author": "BizAppsTotal <bizapps@tcce.biz>",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/main.cjs",
|
|
14
|
+
"module": "./dist/main.js",
|
|
15
|
+
"types": "./dist/main.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/main.d.ts",
|
|
19
|
+
"import": "./dist/main.js",
|
|
20
|
+
"require": "./dist/main.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./policy": {
|
|
23
|
+
"types": "./dist/policy.d.ts",
|
|
24
|
+
"import": "./dist/policy.js",
|
|
25
|
+
"require": "./dist/policy.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./phone": {
|
|
28
|
+
"types": "./dist/phone.d.ts",
|
|
29
|
+
"import": "./dist/phone.js",
|
|
30
|
+
"require": "./dist/phone.cjs"
|
|
31
|
+
},
|
|
32
|
+
"./editor": {
|
|
33
|
+
"types": "./dist/editor.d.ts",
|
|
34
|
+
"import": "./dist/editor.js",
|
|
35
|
+
"require": "./dist/editor.cjs"
|
|
36
|
+
},
|
|
37
|
+
"./styles": "./dist/main.css"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@hookform/resolvers": "^5.4.0",
|
|
41
|
+
"@schedule-x/calendar": "4.6.0",
|
|
42
|
+
"@schedule-x/calendar-controls": "4.6.0",
|
|
43
|
+
"@schedule-x/event-modal": "4.6.0",
|
|
44
|
+
"@schedule-x/events-service": "4.6.0",
|
|
45
|
+
"@schedule-x/react": "4.1.0",
|
|
46
|
+
"@schedule-x/theme-default": "4.6.0",
|
|
47
|
+
"@tanstack/react-table": "^8.21.3",
|
|
48
|
+
"@tiptap/core": "^3.30.5",
|
|
49
|
+
"@tiptap/extension-highlight": "^3.30.5",
|
|
50
|
+
"@tiptap/extension-image": "^3.30.5",
|
|
51
|
+
"@tiptap/extension-link": "^3.30.5",
|
|
52
|
+
"@tiptap/extension-table": "^3.30.5",
|
|
53
|
+
"@tiptap/pm": "^3.30.5",
|
|
54
|
+
"@tiptap/react": "^3.30.5",
|
|
55
|
+
"@tiptap/starter-kit": "^3.30.5",
|
|
56
|
+
"embla-carousel-react": "^8.6.0",
|
|
57
|
+
"lucide-react": "^1.16.0",
|
|
58
|
+
"motion": "^12.23.13",
|
|
59
|
+
"next-themes": "^0.4.6",
|
|
60
|
+
"radix-ui": "^1.4.3",
|
|
61
|
+
"react": "^19.1.1",
|
|
62
|
+
"react-day-picker": "^10.0.1",
|
|
63
|
+
"react-dom": "^19.1.1",
|
|
64
|
+
"react-hook-form": "^7.77.0",
|
|
65
|
+
"sonner": "^2.0.7",
|
|
66
|
+
"zod": "^4.4.3"
|
|
67
|
+
},
|
|
68
|
+
"peerDependenciesMeta": {
|
|
69
|
+
"@hookform/resolvers": {
|
|
70
|
+
"optional": true
|
|
71
|
+
},
|
|
72
|
+
"@schedule-x/calendar": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"@schedule-x/calendar-controls": {
|
|
76
|
+
"optional": true
|
|
77
|
+
},
|
|
78
|
+
"@schedule-x/event-modal": {
|
|
79
|
+
"optional": true
|
|
80
|
+
},
|
|
81
|
+
"@schedule-x/events-service": {
|
|
82
|
+
"optional": true
|
|
83
|
+
},
|
|
84
|
+
"@schedule-x/react": {
|
|
85
|
+
"optional": true
|
|
86
|
+
},
|
|
87
|
+
"@schedule-x/theme-default": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
90
|
+
"@tanstack/react-table": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
93
|
+
"@tiptap/core": {
|
|
94
|
+
"optional": true
|
|
95
|
+
},
|
|
96
|
+
"@tiptap/extension-highlight": {
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
99
|
+
"@tiptap/extension-image": {
|
|
100
|
+
"optional": true
|
|
101
|
+
},
|
|
102
|
+
"@tiptap/extension-link": {
|
|
103
|
+
"optional": true
|
|
104
|
+
},
|
|
105
|
+
"@tiptap/extension-table": {
|
|
106
|
+
"optional": true
|
|
107
|
+
},
|
|
108
|
+
"@tiptap/pm": {
|
|
109
|
+
"optional": true
|
|
110
|
+
},
|
|
111
|
+
"@tiptap/react": {
|
|
112
|
+
"optional": true
|
|
113
|
+
},
|
|
114
|
+
"@tiptap/starter-kit": {
|
|
115
|
+
"optional": true
|
|
116
|
+
},
|
|
117
|
+
"embla-carousel-react": {
|
|
118
|
+
"optional": true
|
|
119
|
+
},
|
|
120
|
+
"lucide-react": {
|
|
121
|
+
"optional": true
|
|
122
|
+
},
|
|
123
|
+
"motion": {
|
|
124
|
+
"optional": true
|
|
125
|
+
},
|
|
126
|
+
"next-themes": {
|
|
127
|
+
"optional": true
|
|
128
|
+
},
|
|
129
|
+
"react-day-picker": {
|
|
130
|
+
"optional": true
|
|
131
|
+
},
|
|
132
|
+
"react-hook-form": {
|
|
133
|
+
"optional": true
|
|
134
|
+
},
|
|
135
|
+
"sonner": {
|
|
136
|
+
"optional": true
|
|
137
|
+
},
|
|
138
|
+
"zod": {
|
|
139
|
+
"optional": true
|
|
176
140
|
}
|
|
177
|
-
}
|
|
141
|
+
},
|
|
142
|
+
"devDependencies": {
|
|
143
|
+
"@eslint/js": "^9.39.4",
|
|
144
|
+
"@faker-js/faker": "^10.4.0",
|
|
145
|
+
"@fontsource-variable/inter": "^5.2.8",
|
|
146
|
+
"@storybook/addon-a11y": "^10.2.17",
|
|
147
|
+
"@storybook/addon-docs": "^10.2.17",
|
|
148
|
+
"@storybook/addon-mcp": "^0.6.0",
|
|
149
|
+
"@storybook/react-vite": "^10.2.17",
|
|
150
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
151
|
+
"@tanstack/react-table": "^8.21.3",
|
|
152
|
+
"@testing-library/jest-dom": "^7.0.0",
|
|
153
|
+
"@testing-library/react": "^16.3.2",
|
|
154
|
+
"@testing-library/user-event": "^14.6.1",
|
|
155
|
+
"@tiptap/core": "3.30.5",
|
|
156
|
+
"@tiptap/extension-highlight": "3.30.5",
|
|
157
|
+
"@tiptap/extension-image": "3.30.5",
|
|
158
|
+
"@tiptap/extension-link": "3.30.5",
|
|
159
|
+
"@tiptap/extension-table": "3.30.5",
|
|
160
|
+
"@tiptap/pm": "3.30.5",
|
|
161
|
+
"@tiptap/react": "3.30.5",
|
|
162
|
+
"@tiptap/starter-kit": "3.30.5",
|
|
163
|
+
"@types/canvas-confetti": "^1.9.0",
|
|
164
|
+
"@types/node": "^24.12.0",
|
|
165
|
+
"@types/react": "^19.2.14",
|
|
166
|
+
"@types/react-dom": "^19.2.3",
|
|
167
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
168
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
169
|
+
"axe-core": "^4.12.1",
|
|
170
|
+
"eslint": "^9.39.4",
|
|
171
|
+
"eslint-config-prettier": "^10.1.8",
|
|
172
|
+
"eslint-plugin-react": "^7.37.5",
|
|
173
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
174
|
+
"eslint-plugin-react-refresh": "^0.4.26",
|
|
175
|
+
"eslint-plugin-storybook": "^10.2.17",
|
|
176
|
+
"globals": "^16.5.0",
|
|
177
|
+
"jsdom": "^30.0.1",
|
|
178
|
+
"motion": "^12.40.0",
|
|
179
|
+
"prettier": "^3.8.1",
|
|
180
|
+
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
181
|
+
"react": "^19.2.4",
|
|
182
|
+
"react-dom": "^19.2.4",
|
|
183
|
+
"shadcn": "^4.8.1",
|
|
184
|
+
"sonner": "^2.0.7",
|
|
185
|
+
"storybook": "^10.2.17",
|
|
186
|
+
"tailwindcss": "^4.2.1",
|
|
187
|
+
"ts-morph": "^24.0.0",
|
|
188
|
+
"tsup": "^8.5.1",
|
|
189
|
+
"tsx": "^4.19.4",
|
|
190
|
+
"typescript": "~5.8.3",
|
|
191
|
+
"typescript-eslint": "8.53.0",
|
|
192
|
+
"vite": "^7.3.1",
|
|
193
|
+
"vite-plugin-dts": "^4.5.4",
|
|
194
|
+
"vitest": "^4.1.10",
|
|
195
|
+
"vitest-axe": "^0.1.0",
|
|
196
|
+
"zod": "^4.4.3"
|
|
197
|
+
},
|
|
198
|
+
"dependencies": {
|
|
199
|
+
"canvas-confetti": "^1.9.4",
|
|
200
|
+
"class-variance-authority": "^0.7.1",
|
|
201
|
+
"clsx": "^2.1.1",
|
|
202
|
+
"cmdk": "^1.1.1",
|
|
203
|
+
"color": "^5.0.3",
|
|
204
|
+
"country-flag-icons": "^1.6.20",
|
|
205
|
+
"date-fns": "^4.4.0",
|
|
206
|
+
"libphonenumber-js": "^1.13.10",
|
|
207
|
+
"react-dropzone": "^15.0.0",
|
|
208
|
+
"signature_pad": "^5.1.4",
|
|
209
|
+
"tailwind-merge": "^3.6.0",
|
|
210
|
+
"temporal-polyfill": "0.3.2",
|
|
211
|
+
"tw-animate-css": "^1.4.0"
|
|
212
|
+
},
|
|
213
|
+
"scripts": {
|
|
214
|
+
"dev": "vite",
|
|
215
|
+
"build": "tsup && vite build --config vite.lib.config.ts",
|
|
216
|
+
"build:storybook": "storybook build",
|
|
217
|
+
"generate-catalog": "tsx scripts/generate-catalog.ts",
|
|
218
|
+
"generate-permissions": "tsx scripts/generate-permissions.ts",
|
|
219
|
+
"type-check": "tsc -p tsconfig.build.json --noEmit",
|
|
220
|
+
"lint": "eslint .",
|
|
221
|
+
"lint:fix": "eslint . --fix",
|
|
222
|
+
"format": "prettier --write .",
|
|
223
|
+
"preview": "vite preview",
|
|
224
|
+
"storybook": "storybook dev -p 6006 --host 0.0.0.0 --no-open",
|
|
225
|
+
"build-storybook": "storybook build",
|
|
226
|
+
"test": "vitest run",
|
|
227
|
+
"test:watch": "vitest",
|
|
228
|
+
"test:coverage": "vitest run --coverage"
|
|
229
|
+
}
|
|
230
|
+
}
|