@meetelise/chat 1.6.0 → 1.6.3
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/package.json +2 -1
- package/public/demo/index.html +11 -1
- package/public/dist/bundle.js +1 -1
- package/public/dist/bundle.js.LICENSE.txt +6 -0
- package/public/ts-loader-build/InHouseLauncher.d.ts +10 -0
- package/public/ts-loader-build/MEChat.d.ts +5 -2
- package/public/ts-loader-build/createConversation.d.ts +1 -1
- package/public/ts-loader-build/fetchBuildingInfo.d.ts +9 -8
- package/public/ts-loader-build/themes.d.ts +179 -0
- package/public/ts-loader-build/utils.d.ts +1 -0
- package/src/DemoApp.tsx +27 -18
- package/src/InHouseLauncher.module.scss +135 -0
- package/src/InHouseLauncher.tsx +59 -0
- package/src/MEChat.module.scss +14 -50
- package/src/MEChat.test.ts +26 -16
- package/src/MEChat.tsx +90 -85
- package/src/createConversation.ts +30 -7
- package/src/fetchBuildingInfo.ts +10 -8
- package/src/themes.ts +88 -0
- package/src/utils.ts +3 -0
- package/public/ts-loader-build/ChatBubble.d.ts +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetelise/chat",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "public/dist/bundle.js",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"webpack-dev-server": "^4.7.2"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
+
"classnames": "^2.3.1",
|
|
65
66
|
"lodash": "^4.17.21",
|
|
66
67
|
"react": "^17.0.2",
|
|
67
68
|
"react-dom": "^17.0.2",
|
package/public/demo/index.html
CHANGED
|
@@ -5,8 +5,14 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
<title>Chat Dev Page</title>
|
|
7
7
|
<style>
|
|
8
|
+
/* Uncomment this to check if changing the root font size interferes with any of our widget's styles */
|
|
9
|
+
/* html {
|
|
10
|
+
font-size: 62.5%;
|
|
11
|
+
} */
|
|
8
12
|
body {
|
|
9
|
-
background
|
|
13
|
+
/* Complex background image so we can evaluate transparency and blur effects */
|
|
14
|
+
background: url("https://assets.dnainfo.com/photo/2016/9/1473799613-272887/original.jpg");
|
|
15
|
+
background-size: cover;
|
|
10
16
|
margin: 0;
|
|
11
17
|
min-height: 100vh;
|
|
12
18
|
width: 100%;
|
|
@@ -47,6 +53,10 @@
|
|
|
47
53
|
bottom: calc(10vh + 60px);
|
|
48
54
|
right: calc(10vh - 25px);
|
|
49
55
|
}
|
|
56
|
+
/* Test CSS isolation: this padding will make the launcher look terrible unless it has taken defensive measures against host page styles */
|
|
57
|
+
div {
|
|
58
|
+
padding: 10px;
|
|
59
|
+
}
|
|
50
60
|
</style>
|
|
51
61
|
</head>
|
|
52
62
|
<body>
|