@websolutespa/ask-ui 1.0.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.
@@ -0,0 +1,6 @@
1
+ import { ClassValue } from "clsx";
2
+
3
+ //#region src/lib/utils.d.ts
4
+ declare function cn(...inputs: ClassValue[]): string;
5
+ //#endregion
6
+ export { cn as t };
@@ -0,0 +1,8 @@
1
+ import { clsx } from "clsx";
2
+ import { twMerge } from "tailwind-merge";
3
+ //#region src/lib/utils.ts
4
+ function cn(...inputs) {
5
+ return twMerge(clsx(inputs));
6
+ }
7
+ //#endregion
8
+ export { cn as t };
package/package.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "name": "@websolutespa/ask-ui",
3
+ "version": "1.0.0",
4
+ "description": "Ask UI",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./src/index.ts",
9
+ "types": "./src/index.ts",
10
+ "default": "./src/index.ts"
11
+ },
12
+ "./components/*": "./src/components/*.tsx",
13
+ "./hooks/*": "./src/hooks/*.ts",
14
+ "./lib/*": "./src/lib/*.ts",
15
+ "./globals.css": "./src/globals.css",
16
+ "./postcss.config": "./postcss.config.mjs"
17
+ },
18
+ "main": "./src/index.ts",
19
+ "types": "./src/index.ts",
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "scripts": {
24
+ "clean": "rimraf {dist,*.tsbuildinfo}",
25
+ "copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
26
+ "compile:tsdown": "tsdown",
27
+ "compile:copy": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
28
+ "compile:tailwind": "tailwindcss build --input \"./src/globals.css\" --output \"./dist/styles.css\"",
29
+ "compile": "run-s compile:*",
30
+ "lint": "eslint",
31
+ "lint:fix": "eslint ./src --fix",
32
+ "test": "pnpm test:int && pnpm test:e2e",
33
+ "test:e2e": "playwright test",
34
+ "test:int": "vitest",
35
+ "types": "tsc --noEmit"
36
+ },
37
+ "dependencies": {
38
+ "@base-ui/react": "^1.3.0",
39
+ "@streamdown/cjk": "^1.0.3",
40
+ "@streamdown/code": "^1.1.1",
41
+ "@streamdown/math": "^1.0.2",
42
+ "@streamdown/mermaid": "^1.0.2",
43
+ "ai": "^6.0.141",
44
+ "class-variance-authority": "^0.7.1",
45
+ "clsx": "^2.1.1",
46
+ "cmdk": "^1.1.1",
47
+ "copyfiles": "2.4.1",
48
+ "date-fns": "^4.1.0",
49
+ "embla-carousel-react": "^8.6.0",
50
+ "input-otp": "^1.4.2",
51
+ "lucide-react": "^1.7.0",
52
+ "nanoid": "^5.1.6",
53
+ "next-themes": "^0.4.6",
54
+ "radix-ui": "^1.4.3",
55
+ "react": "^19.2.4",
56
+ "react-day-picker": "^9.14.0",
57
+ "react-dom": "^19.2.4",
58
+ "react-resizable-panels": "^4.8.0",
59
+ "recharts": "3.8.0",
60
+ "shadcn": "^4.1.2",
61
+ "sonner": "^2.0.7",
62
+ "streamdown": "^2.5.0",
63
+ "tailwind-merge": "^3.5.0",
64
+ "tw-animate-css": "^1.4.0",
65
+ "use-stick-to-bottom": "^1.1.3",
66
+ "vaul": "^1.1.2",
67
+ "zod": "^4.3.6"
68
+ },
69
+ "devDependencies": {
70
+ "@tailwindcss/cli": "^4.2.2",
71
+ "@tailwindcss/postcss": "^4.1.18",
72
+ "@turbo/gen": "^2.8.1",
73
+ "@types/node": "^25.1.0",
74
+ "@types/react": "^19.2.14",
75
+ "@types/react-dom": "^19.2.3",
76
+ "eslint": "^9.39.2",
77
+ "tailwindcss": "^4.1.18",
78
+ "tsdown": "^0.21.7",
79
+ "typescript": "^5.9.3"
80
+ },
81
+ "publishConfig": {
82
+ "exports": {
83
+ ".": {
84
+ "import": "./dist/index.js",
85
+ "types": "./dist/index.d.ts",
86
+ "default": "./dist/index.js"
87
+ },
88
+ "./components/*": "./dist/exports/components.mjs",
89
+ "./hooks/*": "./dist/exports/hooks.mjs",
90
+ "./lib/*": "./dist/exports/lib.mjs",
91
+ "./globals.css": "./dist/globals.css",
92
+ "./postcss.config": "./dist/postcss.config.mjs"
93
+ },
94
+ "main": "./dist/index.js",
95
+ "types": "./dist/index.d.ts"
96
+ },
97
+ "registry": "https://registry.npmjs.org/"
98
+ }