@nyaruka/temba-components 0.109.1 → 0.110.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 (86) hide show
  1. package/CHANGELOG.md +19 -2
  2. package/dist/static/svg/index.svg +1 -1
  3. package/dist/temba-components.js +362 -355
  4. package/dist/temba-components.js.map +1 -1
  5. package/out-tsc/src/compose/Compose.js +62 -106
  6. package/out-tsc/src/compose/Compose.js.map +1 -1
  7. package/out-tsc/src/contacts/ContactChat.js +64 -59
  8. package/out-tsc/src/contacts/ContactChat.js.map +1 -1
  9. package/out-tsc/src/vectoricon/index.js +1 -2
  10. package/out-tsc/src/vectoricon/index.js.map +1 -1
  11. package/out-tsc/test/temba-compose.test.js +24 -440
  12. package/out-tsc/test/temba-compose.test.js.map +1 -1
  13. package/out-tsc/test/temba-contact-chat.test.js +30 -167
  14. package/out-tsc/test/temba-contact-chat.test.js.map +1 -1
  15. package/package.json +1 -1
  16. package/screenshots/truth/compose/attachments-tab.png +0 -0
  17. package/screenshots/truth/compose/attachments-with-failures.png +0 -0
  18. package/screenshots/truth/compose/attachments-with-files-and-failures.png +0 -0
  19. package/screenshots/truth/compose/attachments-with-files-focused.png +0 -0
  20. package/screenshots/truth/compose/attachments-with-files.png +0 -0
  21. package/screenshots/truth/compose/intial-text.png +0 -0
  22. package/screenshots/truth/compose/no-counter.png +0 -0
  23. package/screenshots/truth/compose/wraps-text-and-spaces.png +0 -0
  24. package/screenshots/truth/compose/wraps-text-and-url.png +0 -0
  25. package/screenshots/truth/compose/wraps-text-no-spaces.png +0 -0
  26. package/screenshots/truth/contacts/chat-failure.png +0 -0
  27. package/src/compose/Compose.ts +69 -103
  28. package/src/contacts/ContactChat.ts +69 -70
  29. package/src/untyped.d.ts +1 -1
  30. package/src/vectoricon/index.ts +1 -2
  31. package/static/svg/index.svg +1 -1
  32. package/test/temba-compose.test.ts +29 -590
  33. package/test/temba-contact-chat.test.ts +30 -263
  34. package/web-test-runner.config.mjs +1 -0
  35. package/screenshots/truth/compose/attachments-and-send-button.png +0 -0
  36. package/screenshots/truth/compose/attachments-no-send-button.png +0 -0
  37. package/screenshots/truth/compose/attachments-with-all-files-and-click-send.png +0 -0
  38. package/screenshots/truth/compose/attachments-with-all-files.png +0 -0
  39. package/screenshots/truth/compose/attachments-with-failure-files.png +0 -0
  40. package/screenshots/truth/compose/attachments-with-success-files-and-click-send.png +0 -0
  41. package/screenshots/truth/compose/attachments-with-success-files.png +0 -0
  42. package/screenshots/truth/compose/chatbox-attachments-counter-and-send-button.png +0 -0
  43. package/screenshots/truth/compose/chatbox-attachments-counter-no-send-button.png +0 -0
  44. package/screenshots/truth/compose/chatbox-attachments-no-counter-and-send-button.png +0 -0
  45. package/screenshots/truth/compose/chatbox-attachments-no-counter-no-send-button.png +0 -0
  46. package/screenshots/truth/compose/chatbox-counter-and-send-button.png +0 -0
  47. package/screenshots/truth/compose/chatbox-counter-no-send-button.png +0 -0
  48. package/screenshots/truth/compose/chatbox-no-counter-and-send-button.png +0 -0
  49. package/screenshots/truth/compose/chatbox-no-counter-no-send-button.png +0 -0
  50. package/screenshots/truth/compose/chatbox-no-text-attachments-with-all-files-and-click-send.png +0 -0
  51. package/screenshots/truth/compose/chatbox-no-text-attachments-with-all-files.png +0 -0
  52. package/screenshots/truth/compose/chatbox-no-text-attachments-with-failure-files.png +0 -0
  53. package/screenshots/truth/compose/chatbox-no-text-attachments-with-success-files-and-click-send.png +0 -0
  54. package/screenshots/truth/compose/chatbox-no-text-attachments-with-success-files.png +0 -0
  55. package/screenshots/truth/compose/chatbox-with-text-and-click-send.png +0 -0
  56. package/screenshots/truth/compose/chatbox-with-text-and-hit-enter.png +0 -0
  57. package/screenshots/truth/compose/chatbox-with-text-and-spaces.png +0 -0
  58. package/screenshots/truth/compose/chatbox-with-text-and-url.png +0 -0
  59. package/screenshots/truth/compose/chatbox-with-text-attachments-no-files-and-click-send.png +0 -0
  60. package/screenshots/truth/compose/chatbox-with-text-attachments-no-files-and-hit-enter.png +0 -0
  61. package/screenshots/truth/compose/chatbox-with-text-attachments-no-files.png +0 -0
  62. package/screenshots/truth/compose/chatbox-with-text-attachments-with-all-files-and-click-send.png +0 -0
  63. package/screenshots/truth/compose/chatbox-with-text-attachments-with-all-files-and-hit-enter.png +0 -0
  64. package/screenshots/truth/compose/chatbox-with-text-attachments-with-all-files.png +0 -0
  65. package/screenshots/truth/compose/chatbox-with-text-attachments-with-failure-files.png +0 -0
  66. package/screenshots/truth/compose/chatbox-with-text-attachments-with-success-files-and-click-send.png +0 -0
  67. package/screenshots/truth/compose/chatbox-with-text-attachments-with-success-files-and-hit-enter.png +0 -0
  68. package/screenshots/truth/compose/chatbox-with-text-attachments-with-success-files.png +0 -0
  69. package/screenshots/truth/compose/chatbox-with-text-no-spaces.png +0 -0
  70. package/screenshots/truth/compose/chatbox-with-text.png +0 -0
  71. package/screenshots/truth/contacts/compose-attachments-no-text-failure.png +0 -0
  72. package/screenshots/truth/contacts/compose-text-and-attachments-failure-attachments.png +0 -0
  73. package/screenshots/truth/contacts/compose-text-and-attachments-failure-generic.png +0 -0
  74. package/screenshots/truth/contacts/compose-text-and-attachments-failure-text-and-attachments.png +0 -0
  75. package/screenshots/truth/contacts/compose-text-and-attachments-failure-text.png +0 -0
  76. package/screenshots/truth/contacts/compose-text-no-attachments-failure.png +0 -0
  77. package/screenshots/truth/contacts/compose-text-no-attachments-success.png +0 -0
  78. package/static/svg/work/traced/folder-shield.svg +0 -1
  79. package/static/svg/work/used/folder-shield.svg +0 -3
  80. /package/screenshots/truth/contacts/{compose-attachments-no-text-success.png → chat-for-active-contact.png} +0 -0
  81. /package/screenshots/truth/contacts/{contact-archived-hide-chatbox.png → chat-for-archived-contact.png} +0 -0
  82. /package/screenshots/truth/contacts/{contact-blocked-hide-chatbox.png → chat-for-blocked-contact.png} +0 -0
  83. /package/screenshots/truth/contacts/{contact-stopped-hide-chatbox.png → chat-for-stopped-contact.png} +0 -0
  84. /package/screenshots/truth/contacts/{compose-text-and-attachments-success.png → chat-sends-attachments-only.png} +0 -0
  85. /package/screenshots/truth/contacts/{contact-active-default.png → chat-sends-text-and-attachments.png} +0 -0
  86. /package/screenshots/truth/contacts/{contact-active-show-chatbox.png → chat-sends-text-only.png} +0 -0
package/CHANGELOG.md CHANGED
@@ -4,8 +4,17 @@ 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.110.0](https://github.com/nyaruka/temba-components/compare/v0.109.1...v0.110.0)
8
+
9
+ - Compose cleanup [`#461`](https://github.com/nyaruka/temba-components/pull/461)
10
+ - Cleanup error and attachmenst tests [`49f63e2`](https://github.com/nyaruka/temba-components/commit/49f63e2ebdb22fe801b567edf955b8aa553c5b31)
11
+ - [WIP] Simplify compose [`344bd07`](https://github.com/nyaruka/temba-components/commit/344bd07b7851ac9d71d4c6f8013cad406ca6f857)
12
+ - Remove no longer needed icon [`b5c7a93`](https://github.com/nyaruka/temba-components/commit/b5c7a93063180c0475f7d3e529db39acfac6e634)
13
+
7
14
  #### [v0.109.1](https://github.com/nyaruka/temba-components/compare/v0.109.0...v0.109.1)
8
15
 
16
+ > 24 October 2024
17
+
9
18
  - Find better team icon [`4214f8a`](https://github.com/nyaruka/temba-components/commit/4214f8a628255625882aa38c27fac8aa72a6541b)
10
19
 
11
20
  #### [v0.109.0](https://github.com/nyaruka/temba-components/compare/v0.108.7...v0.109.0)
@@ -170,13 +179,17 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
170
179
 
171
180
  - Use base_template instead of array [`#442`](https://github.com/nyaruka/temba-components/pull/442)
172
181
 
173
- #### [v0.97.0](https://github.com/nyaruka/temba-components/compare/v0.95.0...v0.97.0)
182
+ #### [v0.97.0](https://github.com/nyaruka/temba-components/compare/v0.96.0...v0.97.0)
174
183
 
175
184
  > 11 July 2024
176
185
 
177
186
  - Make location fields have select box [`#441`](https://github.com/nyaruka/temba-components/pull/441)
178
187
  - Update select searching [`5d2b096`](https://github.com/nyaruka/temba-components/commit/5d2b09639eaf6aae37876a8b30f0e8d41c663cd9)
179
188
 
189
+ #### [v0.96.0](https://github.com/nyaruka/temba-components/compare/v0.95.0...v0.96.0)
190
+
191
+ > 11 July 2024
192
+
180
193
  #### [v0.95.0](https://github.com/nyaruka/temba-components/compare/v0.94.5...v0.95.0)
181
194
 
182
195
  > 3 July 2024
@@ -681,12 +694,16 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
681
694
  - Fix reading created_by for msg events [`#364`](https://github.com/nyaruka/temba-components/pull/364)
682
695
  - Add logical icon names for optin and optout [`#365`](https://github.com/nyaruka/temba-components/pull/365)
683
696
 
684
- #### [v0.58.8](https://github.com/nyaruka/temba-components/compare/v0.58.6...v0.58.8)
697
+ #### [v0.58.8](https://github.com/nyaruka/temba-components/compare/v0.58.7...v0.58.8)
685
698
 
686
699
  > 28 September 2023
687
700
 
688
701
  - Update publish.yml [`7dc7d69`](https://github.com/nyaruka/temba-components/commit/7dc7d69822942b39c3b35e06846cfd4c65108b2d)
689
702
 
703
+ #### [v0.58.7](https://github.com/nyaruka/temba-components/compare/v0.58.6...v0.58.7)
704
+
705
+ > 28 September 2023
706
+
690
707
  #### [v0.58.6](https://github.com/nyaruka/temba-components/compare/v0.58.5...v0.58.6)
691
708
 
692
709
  > 28 September 2023