@nyaruka/temba-components 0.136.1 → 0.137.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/demo/components/webchat/example.html +2 -2
  3. package/dist/temba-components.js +487 -551
  4. package/dist/temba-components.js.map +1 -1
  5. package/out-tsc/src/display/Chat.js +123 -44
  6. package/out-tsc/src/display/Chat.js.map +1 -1
  7. package/out-tsc/src/events/eventRenderers.js +442 -0
  8. package/out-tsc/src/events/eventRenderers.js.map +1 -0
  9. package/out-tsc/src/flow/Editor.js +3 -2
  10. package/out-tsc/src/flow/Editor.js.map +1 -1
  11. package/out-tsc/src/flow/NodeEditor.js +0 -1
  12. package/out-tsc/src/flow/NodeEditor.js.map +1 -1
  13. package/out-tsc/src/list/ShortcutList.js +1 -1
  14. package/out-tsc/src/list/ShortcutList.js.map +1 -1
  15. package/out-tsc/src/live/ContactChat.js +12 -321
  16. package/out-tsc/src/live/ContactChat.js.map +1 -1
  17. package/out-tsc/src/simulator/Simulator.js +428 -571
  18. package/out-tsc/src/simulator/Simulator.js.map +1 -1
  19. package/out-tsc/test/temba-simulator.test.js +51 -32
  20. package/out-tsc/test/temba-simulator.test.js.map +1 -1
  21. package/package.json +1 -1
  22. package/screenshots/truth/contacts/chat-failure.png +0 -0
  23. package/screenshots/truth/contacts/chat-for-archived-contact.png +0 -0
  24. package/screenshots/truth/contacts/chat-for-blocked-contact.png +0 -0
  25. package/screenshots/truth/contacts/chat-for-stopped-contact.png +0 -0
  26. package/screenshots/truth/contacts/chat-sends-attachments-only.png +0 -0
  27. package/screenshots/truth/contacts/chat-sends-text-and-attachments.png +0 -0
  28. package/screenshots/truth/contacts/chat-sends-text-only.png +0 -0
  29. package/screenshots/truth/nodes/split_by_llm_categorize/editor/feedback-categorization.png +0 -0
  30. package/screenshots/truth/simulator/after-message-sent.png +0 -0
  31. package/screenshots/truth/simulator/after-reset.png +0 -0
  32. package/screenshots/truth/simulator/attachment-menu.png +0 -0
  33. package/screenshots/truth/simulator/context-expanded.png +0 -0
  34. package/screenshots/truth/simulator/context-explorer-open.png +0 -0
  35. package/screenshots/truth/simulator/event-info.png +0 -0
  36. package/screenshots/truth/simulator/image-attachment.png +0 -0
  37. package/screenshots/truth/simulator/open-initial.png +0 -0
  38. package/screenshots/truth/simulator/quick-replies.png +0 -0
  39. package/src/display/Chat.ts +123 -44
  40. package/src/events/eventRenderers.ts +527 -0
  41. package/src/flow/Editor.ts +3 -2
  42. package/src/flow/NodeEditor.ts +0 -1
  43. package/src/list/ShortcutList.ts +1 -1
  44. package/src/live/ContactChat.ts +17 -376
  45. package/src/simulator/Simulator.ts +487 -612
  46. package/test/temba-simulator.test.ts +64 -34
package/CHANGELOG.md CHANGED
@@ -4,8 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v0.137.0](https://github.com/nyaruka/temba-components/compare/v0.136.1...v0.137.0)
8
+
9
+ - Bump lodash from 4.17.21 to 4.17.23 [`#795`](https://github.com/nyaruka/temba-components/pull/795)
10
+ - Share event rendering with sim and contact history [`#796`](https://github.com/nyaruka/temba-components/pull/796)
11
+ - Switch to common chat component in sim [`dee39cf`](https://github.com/nyaruka/temba-components/commit/dee39cf78064d7c454fbe725d82d3c452046c9e3)
12
+ - Common event rendering path [`b675422`](https://github.com/nyaruka/temba-components/commit/b6754222aae55008ffae8487f640768d3dc16b1c)
13
+ - More consistent simulator screenshots [`dc293be`](https://github.com/nyaruka/temba-components/commit/dc293be4216e9f708b73a4869775ed66f285c2b2)
14
+
7
15
  #### [v0.136.1](https://github.com/nyaruka/temba-components/compare/v0.136.0...v0.136.1)
8
16
 
17
+ > 15 January 2026
18
+
9
19
  - Editor layout and styling tweaks [`#792`](https://github.com/nyaruka/temba-components/pull/792)
10
20
  - Node sorting. Sim errors and failures. [`e20be5d`](https://github.com/nyaruka/temba-components/commit/e20be5db37f800e0aca9cd6c75b9c6f4414f7271)
11
21
  - Update screenshots [`7c06f0c`](https://github.com/nyaruka/temba-components/commit/7c06f0ca2891bb2ac20d4913203a5dbfe01fdc13)
@@ -53,7 +53,7 @@
53
53
  <temba-textinput
54
54
  onkeypress="handleKeyPress(event)"
55
55
  placeholder="Channel UUID"
56
- value="f6e7fa80-bec9-409b-bd39-e687f136f6e6"
56
+ value="442cafcd-a052-4b2b-bdb5-5b4ce2a9962f"
57
57
  ></temba-textinput>
58
58
  </div>
59
59
  <temba-button
@@ -63,7 +63,7 @@
63
63
  </div>
64
64
 
65
65
  <temba-webchat
66
- channel="f6e7fa80-bec9-409b-bd39-e687f136f6e6"
66
+ channel="442cafcd-a052-4b2b-bdb5-5b4ce2a9962f"
67
67
  ></temba-webchat>
68
68
 
69
69
  <script type="module">