@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.
Files changed (36) hide show
  1. package/README.md +6 -7
  2. package/dist/README.md +6 -7
  3. package/dist/product7-js.js +7155 -6999
  4. package/dist/product7-js.js.map +1 -1
  5. package/dist/product7-js.min.js +1 -1
  6. package/dist/product7-js.min.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/api/services/LiveChatService.js +12 -12
  9. package/src/core/APIService.js +1 -1
  10. package/src/core/WebSocketService.js +1 -1
  11. package/src/index.js +6 -5
  12. package/src/styles/base.js +8 -8
  13. package/src/styles/{live-chat-components.js → liveChat-components.js} +113 -113
  14. package/src/styles/{live-chat-core.js → liveChat-core.js} +95 -30
  15. package/src/styles/{live-chat-features.js → liveChat-features.js} +19 -19
  16. package/src/styles/{live-chat-views.js → liveChat-views.js} +136 -136
  17. package/src/styles/liveChat.js +17 -0
  18. package/src/styles/liveChatCustomStyles.js +14 -14
  19. package/src/styles/styles.js +2 -2
  20. package/src/widgets/BaseWidget.js +2 -2
  21. package/src/widgets/ChangelogWidget.js +3 -3
  22. package/src/widgets/LiveChatWidget.js +17 -13
  23. package/src/widgets/SurveyWidget.js +7 -7
  24. package/src/widgets/WidgetFactory.js +1 -1
  25. package/src/widgets/{live-chat → liveChat}/components/LiveChatLauncher.js +15 -15
  26. package/src/widgets/{live-chat → liveChat}/components/LiveChatPanel.js +40 -9
  27. package/src/widgets/{live-chat → liveChat}/components/NavigationTabs.js +16 -16
  28. package/src/widgets/{live-chat → liveChat}/views/ChangelogView.js +17 -17
  29. package/src/widgets/{live-chat → liveChat}/views/ChatView.js +153 -95
  30. package/src/widgets/{live-chat → liveChat}/views/ConversationsView.js +24 -24
  31. package/src/widgets/{live-chat → liveChat}/views/HelpView.js +32 -32
  32. package/src/widgets/{live-chat → liveChat}/views/HomeView.js +52 -52
  33. package/src/widgets/{live-chat → liveChat}/views/PreChatFormView.js +15 -18
  34. package/types/index.d.ts +0 -2
  35. package/src/styles/live-chat.js +0 -17
  36. /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 | 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 |
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 | 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 |
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
-