@meetelise/chat 1.7.0 → 1.9.1
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/CONTRIBUTING.md +2 -0
- package/README.md +13 -0
- package/package.json +1 -2
- package/public/dist/index.js +1 -1
- package/public/dist/src/ChatButton.d.ts +9 -0
- package/public/dist/src/ChatIcon.d.ts +6 -0
- package/public/dist/src/InHouseLauncher.d.ts +1 -0
- package/public/dist/src/MEChat.d.ts +8 -4
- package/public/dist/src/chatID.d.ts +2 -1
- package/public/dist/src/createConversation.d.ts +2 -2
- package/public/dist/src/fetchBuildingInfo.d.ts +0 -12
- package/public/dist/src/themes.d.ts +32 -159
- package/public/index.html +37 -37
- package/src/ChatButton.module.scss +52 -0
- package/src/ChatButton.tsx +26 -0
- package/src/ChatIcon.tsx +26 -0
- package/src/DemoApp.tsx +1 -0
- package/src/InHouseLauncher.module.scss +75 -75
- package/src/InHouseLauncher.tsx +23 -17
- package/src/MEChat.d.ts +0 -2
- package/src/MEChat.test.ts +10 -11
- package/src/MEChat.tsx +84 -74
- package/src/chatID.ts +47 -12
- package/src/createConversation.ts +14 -22
- package/src/fetchBuildingInfo.ts +0 -14
- package/src/themes.ts +53 -14
- package/public/dist/src/getAvatarUrl.d.ts +0 -13
- package/public/dist/src/getIcons.d.ts +0 -8
- package/public/dist/src/installTalkJSStyles.d.ts +0 -8
- package/public/dist/src/launchDarklyManager.d.ts +0 -6
- package/public/dist/src/resolveTheme.d.ts +0 -15
- package/src/ChatBubble.d.ts +0 -11
- package/src/ChatBubble.module.scss +0 -58
- package/src/ChatBubble.tsx +0 -55
- package/src/getAvatarUrl.ts +0 -39
- package/src/getIcons.ts +0 -51
- package/src/installTalkJSStyles.ts +0 -26
- package/src/launchDarklyManager.ts +0 -30
- package/src/resolveTheme.ts +0 -44
package/CONTRIBUTING.md
CHANGED
|
@@ -13,6 +13,8 @@ This is the widget clients of MeetElise install on their websites. It's publishe
|
|
|
13
13
|
|
|
14
14
|
Run `npm start` to run the dev server, Ctrl+C to stop it.
|
|
15
15
|
|
|
16
|
+
To test the build on a static test page, run `npx serve public`, optionally supplying a port number with the `-p` flag.
|
|
17
|
+
|
|
16
18
|
## Unit tests
|
|
17
19
|
|
|
18
20
|
Run `npm test` to run unit tests via [Web Test Runner](https://modern-web.dev/docs/test-runner/overview/) in a headless browser.
|
package/README.md
CHANGED
|
@@ -14,6 +14,19 @@ To install MeetElise webchat on your site, add the following code:
|
|
|
14
14
|
</script>
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
For the mini widget:
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<script type="module">
|
|
21
|
+
import Chat from "https://cdn.skypack.dev/@meetelise/chat";
|
|
22
|
+
Chat.start({
|
|
23
|
+
organization: "{your org here}",
|
|
24
|
+
building: "{your building here}",
|
|
25
|
+
mini: true,
|
|
26
|
+
});
|
|
27
|
+
</script>
|
|
28
|
+
```
|
|
29
|
+
|
|
17
30
|
### Custom Styles
|
|
18
31
|
|
|
19
32
|
To customize the brand colors, title, and subtitle of your chat widget, configure your webchat through the MeetElise portal. To _reposition_ your chat widget on the page, add the following code to your web page.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetelise/chat",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "public/dist/index.js",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"eslint-config-prettier": "^8.3.0",
|
|
47
47
|
"html-webpack-plugin": "^5.5.0",
|
|
48
48
|
"husky": "^7.0.2",
|
|
49
|
-
"launchdarkly-js-client-sdk": "^2.20.0",
|
|
50
49
|
"lint-staged": "^11.1.2",
|
|
51
50
|
"prettier": "^2.4.1",
|
|
52
51
|
"sass": "^1.45.2",
|