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