ikoncomponents 1.6.2 → 1.6.4
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 +36 -36
- package/dist/ikoncomponents/assistant-ui/Assistant.d.ts +14 -0
- package/dist/ikoncomponents/assistant-ui/Assistant.js +20 -0
- package/dist/ikoncomponents/assistant-ui/agentTextChatTransport.d.ts +28 -0
- package/dist/ikoncomponents/assistant-ui/agentTextChatTransport.js +198 -0
- package/dist/ikoncomponents/assistant-ui/attachment.d.ts +4 -0
- package/dist/ikoncomponents/assistant-ui/attachment.js +93 -0
- package/dist/ikoncomponents/assistant-ui/markdown-text.d.ts +2 -0
- package/dist/ikoncomponents/assistant-ui/markdown-text.js +126 -0
- package/dist/ikoncomponents/assistant-ui/thread.d.ts +5 -0
- package/dist/ikoncomponents/assistant-ui/thread.js +109 -0
- package/dist/ikoncomponents/assistant-ui/tool-fallback.d.ts +2 -0
- package/dist/ikoncomponents/assistant-ui/tool-fallback.js +18 -0
- package/dist/ikoncomponents/assistant-ui/tooltip-icon-button.d.ts +7 -0
- package/dist/ikoncomponents/assistant-ui/tooltip-icon-button.js +23 -0
- package/dist/ikoncomponents/main-layout/RefreshContext.js +0 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/styles.css +6866 -2
- package/dist/utils/userType.d.ts +13 -0
- package/dist/utils/userType.js +1 -0
- package/package.json +12 -15
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface UserData {
|
|
2
|
+
userId: string;
|
|
3
|
+
userName: string;
|
|
4
|
+
userLogin: string;
|
|
5
|
+
password: string;
|
|
6
|
+
userPhone?: string;
|
|
7
|
+
userEmail: string;
|
|
8
|
+
userThumbnail?: string | null;
|
|
9
|
+
userType?: string;
|
|
10
|
+
active?: boolean;
|
|
11
|
+
accountId?: string;
|
|
12
|
+
userDeleted?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ikoncomponents",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"main": "
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
".": {
|
|
8
|
-
"import": "./dist/index.mjs",
|
|
9
|
-
"require": "./dist/index.js"
|
|
10
|
-
},
|
|
11
|
-
"./styles.css": "./dist/styles.css"
|
|
12
|
-
},
|
|
3
|
+
"version": "1.6.4",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"css": "dist/styles.css",
|
|
13
7
|
"files": [
|
|
14
8
|
"dist"
|
|
15
9
|
],
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
10
|
"scripts": {
|
|
18
11
|
"build": "npm run build:js && npm run build:css",
|
|
19
12
|
"build:js": "tsc -p tsconfig.json",
|
|
20
|
-
"build:css": "
|
|
13
|
+
"build:css": "postcss src/styles.css -o dist/styles.css --config postcss.config.mjs --minify",
|
|
21
14
|
"clean": "rimraf dist",
|
|
22
15
|
"prepublishOnly": "npm run build"
|
|
23
16
|
},
|
|
24
17
|
"dependencies": {
|
|
18
|
+
"@assistant-ui/react": "^0.12.3",
|
|
19
|
+
"@assistant-ui/react-ai-sdk": "1.3.3",
|
|
20
|
+
"@assistant-ui/react-markdown": "0.12.1",
|
|
25
21
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
26
22
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
27
23
|
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
|
@@ -70,16 +66,17 @@
|
|
|
70
66
|
"react-day-picker": "^9.9.0",
|
|
71
67
|
"react-dom": "^18.2.0",
|
|
72
68
|
"react-hook-form": "^7.64.0",
|
|
69
|
+
"remark-gfm": "^4.0.1",
|
|
73
70
|
"shadcn": "^3.5.0",
|
|
74
71
|
"sonner": "^2.0.7",
|
|
75
72
|
"tailwind-merge": "^3.3.1",
|
|
76
73
|
"tailwindcss-animate": "^1.0.7",
|
|
77
74
|
"uuid": "^13.0.0",
|
|
78
75
|
"vaul": "^1.1.2",
|
|
76
|
+
"zustand": "^5.0.10",
|
|
79
77
|
"zxcvbn": "^4.4.2"
|
|
80
78
|
},
|
|
81
79
|
"devDependencies": {
|
|
82
|
-
"@tailwindcss/cli": "^4.1.18",
|
|
83
80
|
"@tailwindcss/postcss": "^4",
|
|
84
81
|
"@types/crypto-js": "^4.2.2",
|
|
85
82
|
"@types/node": "^20",
|
|
@@ -87,7 +84,7 @@
|
|
|
87
84
|
"@types/react-big-calendar": "^1.16.3",
|
|
88
85
|
"@types/react-dom": "^19",
|
|
89
86
|
"@types/zxcvbn": "^4.4.5",
|
|
90
|
-
"autoprefixer": "^10.4.
|
|
87
|
+
"autoprefixer": "^10.4.21",
|
|
91
88
|
"eslint": "^9",
|
|
92
89
|
"eslint-config-next": "16.0.0",
|
|
93
90
|
"next": "^14.0.0",
|
|
@@ -96,7 +93,7 @@
|
|
|
96
93
|
"postcss-import": "^16.1.1",
|
|
97
94
|
"postcss-preset-env": "^10.4.0",
|
|
98
95
|
"rimraf": "^6.0.1",
|
|
99
|
-
"tailwindcss": "^4
|
|
96
|
+
"tailwindcss": "^4",
|
|
100
97
|
"tw-animate-css": "^1.4.0",
|
|
101
98
|
"typescript": "^5"
|
|
102
99
|
},
|