@intentai/react 1.0.2 → 2.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.
- package/README.md +160 -315
- package/dist/index.d.mts +85 -334
- package/dist/index.d.ts +85 -334
- package/dist/index.js +1503 -2
- package/dist/index.mjs +1485 -2
- package/dist/styles.css +1047 -0
- package/package.json +22 -21
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentai/react",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "React component for Intent AI feedback widget - easily collect user feedback with AI-powered analysis",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org",
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
5
9
|
"main": "dist/index.js",
|
|
6
10
|
"module": "dist/index.mjs",
|
|
7
11
|
"types": "dist/index.d.ts",
|
|
@@ -10,51 +14,48 @@
|
|
|
10
14
|
"types": "./dist/index.d.ts",
|
|
11
15
|
"import": "./dist/index.mjs",
|
|
12
16
|
"require": "./dist/index.js"
|
|
13
|
-
}
|
|
17
|
+
},
|
|
18
|
+
"./styles.css": "./dist/styles.css"
|
|
14
19
|
},
|
|
15
20
|
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
"README.md"
|
|
21
|
+
"dist"
|
|
18
22
|
],
|
|
19
|
-
"sideEffects": false,
|
|
20
23
|
"scripts": {
|
|
21
|
-
"build": "tsup src/index.
|
|
22
|
-
"dev": "tsup src/index.
|
|
23
|
-
"lint": "tsc --noEmit",
|
|
24
|
+
"build": "tsup src/index.tsx --format cjs,esm --dts --external react --external framer-motion && cp src/styles/premium-widget.css dist/styles.css",
|
|
25
|
+
"dev": "tsup src/index.tsx --format cjs,esm --dts --external react --external framer-motion --watch",
|
|
24
26
|
"prepublishOnly": "npm run build"
|
|
25
27
|
},
|
|
26
28
|
"keywords": [
|
|
27
29
|
"react",
|
|
28
|
-
"nextjs",
|
|
29
30
|
"feedback",
|
|
30
31
|
"widget",
|
|
31
32
|
"intent-ai",
|
|
32
|
-
"intentai",
|
|
33
33
|
"user-feedback",
|
|
34
34
|
"voice-feedback",
|
|
35
35
|
"ai-feedback",
|
|
36
|
-
"customer-feedback"
|
|
37
|
-
"nps",
|
|
38
|
-
"csat"
|
|
36
|
+
"customer-feedback"
|
|
39
37
|
],
|
|
40
|
-
"author": "Intent AI
|
|
38
|
+
"author": "Intent AI",
|
|
41
39
|
"license": "MIT",
|
|
42
40
|
"repository": {
|
|
43
41
|
"type": "git",
|
|
44
|
-
"url": "https://github.com/
|
|
45
|
-
|
|
46
|
-
"homepage": "https://intent-ai.com/docs/react",
|
|
47
|
-
"bugs": {
|
|
48
|
-
"url": "https://github.com/intentai/react-sdk/issues"
|
|
42
|
+
"url": "https://github.com/aibasicintent-dev/Intetnt-ai-v1.git",
|
|
43
|
+
"directory": "packages/react-widget"
|
|
49
44
|
},
|
|
45
|
+
"homepage": "https://intent-ai.com",
|
|
50
46
|
"peerDependencies": {
|
|
51
47
|
"react": ">=16.8.0",
|
|
52
|
-
"react-dom": ">=16.8.0"
|
|
48
|
+
"react-dom": ">=16.8.0",
|
|
49
|
+
"framer-motion": ">=10.0.0"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"framer-motion": "^11.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/node": "^20.0.0",
|
|
56
56
|
"@types/react": "^18.2.0",
|
|
57
57
|
"@types/react-dom": "^18.2.0",
|
|
58
|
+
"framer-motion": "^11.0.0",
|
|
58
59
|
"react": "^18.2.0",
|
|
59
60
|
"react-dom": "^18.2.0",
|
|
60
61
|
"tsup": "^8.0.0",
|