@product7/product7-js 0.5.6 → 0.5.7
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 +6 -7
- package/dist/README.md +6 -7
- package/dist/product7-js.js +7155 -6999
- package/dist/product7-js.js.map +1 -1
- package/dist/product7-js.min.js +1 -1
- package/dist/product7-js.min.js.map +1 -1
- package/package.json +1 -1
- package/src/api/services/LiveChatService.js +12 -12
- package/src/core/APIService.js +1 -1
- package/src/core/WebSocketService.js +1 -1
- package/src/index.js +6 -5
- package/src/styles/base.js +8 -8
- package/src/styles/{live-chat-components.js → liveChat-components.js} +113 -113
- package/src/styles/{live-chat-core.js → liveChat-core.js} +95 -30
- package/src/styles/{live-chat-features.js → liveChat-features.js} +19 -19
- package/src/styles/{live-chat-views.js → liveChat-views.js} +136 -136
- package/src/styles/liveChat.js +17 -0
- package/src/styles/liveChatCustomStyles.js +14 -14
- package/src/styles/styles.js +2 -2
- package/src/widgets/BaseWidget.js +2 -2
- package/src/widgets/ChangelogWidget.js +3 -3
- package/src/widgets/LiveChatWidget.js +17 -13
- package/src/widgets/SurveyWidget.js +7 -7
- package/src/widgets/WidgetFactory.js +1 -1
- package/src/widgets/{live-chat → liveChat}/components/LiveChatLauncher.js +15 -15
- package/src/widgets/{live-chat → liveChat}/components/LiveChatPanel.js +40 -9
- package/src/widgets/{live-chat → liveChat}/components/NavigationTabs.js +16 -16
- package/src/widgets/{live-chat → liveChat}/views/ChangelogView.js +17 -17
- package/src/widgets/{live-chat → liveChat}/views/ChatView.js +153 -95
- package/src/widgets/{live-chat → liveChat}/views/ConversationsView.js +24 -24
- package/src/widgets/{live-chat → liveChat}/views/HelpView.js +32 -32
- package/src/widgets/{live-chat → liveChat}/views/HomeView.js +52 -52
- package/src/widgets/{live-chat → liveChat}/views/PreChatFormView.js +15 -18
- package/types/index.d.ts +0 -2
- package/src/styles/live-chat.js +0 -17
- /package/src/widgets/{live-chat → liveChat}/LiveChatState.js +0 -0
package/README.md
CHANGED
|
@@ -75,12 +75,12 @@ widget.mount();
|
|
|
75
75
|
|
|
76
76
|
## Widgets
|
|
77
77
|
|
|
78
|
-
| Widget | Type string
|
|
79
|
-
| --------- |
|
|
80
|
-
| Feedback | `'feedback'`
|
|
81
|
-
| Live Chat
|
|
82
|
-
| Survey | `'survey'`
|
|
83
|
-
| Inline | `'inline'`
|
|
78
|
+
| Widget | Type string | Description |
|
|
79
|
+
| --------- | ------------ | ----------------------------------------------------- |
|
|
80
|
+
| Feedback | `'feedback'` | Floating button that opens a feedback panel or modal |
|
|
81
|
+
| Live Chat | `'liveChat'` | Live chat, help articles, and changelog in one widget |
|
|
82
|
+
| Survey | `'survey'` | NPS, CSAT, CES, and custom multi-step surveys |
|
|
83
|
+
| Inline | `'inline'` | Embed feedback directly into a page element |
|
|
84
84
|
|
|
85
85
|
```javascript
|
|
86
86
|
// Feedback
|
|
@@ -167,4 +167,3 @@ sdk.destroy(); // call on app unmount to prevent memory leaks
|
|
|
167
167
|
---
|
|
168
168
|
|
|
169
169
|
Made by the [Product7 Team](https://product7.io)
|
|
170
|
-
|
package/dist/README.md
CHANGED
|
@@ -75,12 +75,12 @@ widget.mount();
|
|
|
75
75
|
|
|
76
76
|
## Widgets
|
|
77
77
|
|
|
78
|
-
| Widget | Type string
|
|
79
|
-
| --------- |
|
|
80
|
-
| Feedback | `'feedback'`
|
|
81
|
-
| Live Chat
|
|
82
|
-
| Survey | `'survey'`
|
|
83
|
-
| Inline | `'inline'`
|
|
78
|
+
| Widget | Type string | Description |
|
|
79
|
+
| --------- | ------------ | ----------------------------------------------------- |
|
|
80
|
+
| Feedback | `'feedback'` | Floating button that opens a feedback panel or modal |
|
|
81
|
+
| Live Chat | `'liveChat'` | Live chat, help articles, and changelog in one widget |
|
|
82
|
+
| Survey | `'survey'` | NPS, CSAT, CES, and custom multi-step surveys |
|
|
83
|
+
| Inline | `'inline'` | Embed feedback directly into a page element |
|
|
84
84
|
|
|
85
85
|
```javascript
|
|
86
86
|
// Feedback
|
|
@@ -167,4 +167,3 @@ sdk.destroy(); // call on app unmount to prevent memory leaks
|
|
|
167
167
|
---
|
|
168
168
|
|
|
169
169
|
Made by the [Product7 Team](https://product7.io)
|
|
170
|
-
|