@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.
- package/CHANGELOG.md +19 -2
- package/dist/static/svg/index.svg +1 -1
- package/dist/temba-components.js +362 -355
- package/dist/temba-components.js.map +1 -1
- package/out-tsc/src/compose/Compose.js +62 -106
- package/out-tsc/src/compose/Compose.js.map +1 -1
- package/out-tsc/src/contacts/ContactChat.js +64 -59
- package/out-tsc/src/contacts/ContactChat.js.map +1 -1
- package/out-tsc/src/vectoricon/index.js +1 -2
- package/out-tsc/src/vectoricon/index.js.map +1 -1
- package/out-tsc/test/temba-compose.test.js +24 -440
- package/out-tsc/test/temba-compose.test.js.map +1 -1
- package/out-tsc/test/temba-contact-chat.test.js +30 -167
- package/out-tsc/test/temba-contact-chat.test.js.map +1 -1
- package/package.json +1 -1
- package/screenshots/truth/compose/attachments-tab.png +0 -0
- package/screenshots/truth/compose/attachments-with-failures.png +0 -0
- package/screenshots/truth/compose/attachments-with-files-and-failures.png +0 -0
- package/screenshots/truth/compose/attachments-with-files-focused.png +0 -0
- package/screenshots/truth/compose/attachments-with-files.png +0 -0
- package/screenshots/truth/compose/intial-text.png +0 -0
- package/screenshots/truth/compose/no-counter.png +0 -0
- package/screenshots/truth/compose/wraps-text-and-spaces.png +0 -0
- package/screenshots/truth/compose/wraps-text-and-url.png +0 -0
- package/screenshots/truth/compose/wraps-text-no-spaces.png +0 -0
- package/screenshots/truth/contacts/chat-failure.png +0 -0
- package/src/compose/Compose.ts +69 -103
- package/src/contacts/ContactChat.ts +69 -70
- package/src/untyped.d.ts +1 -1
- package/src/vectoricon/index.ts +1 -2
- package/static/svg/index.svg +1 -1
- package/test/temba-compose.test.ts +29 -590
- package/test/temba-contact-chat.test.ts +30 -263
- package/web-test-runner.config.mjs +1 -0
- package/screenshots/truth/compose/attachments-and-send-button.png +0 -0
- package/screenshots/truth/compose/attachments-no-send-button.png +0 -0
- package/screenshots/truth/compose/attachments-with-all-files-and-click-send.png +0 -0
- package/screenshots/truth/compose/attachments-with-all-files.png +0 -0
- package/screenshots/truth/compose/attachments-with-failure-files.png +0 -0
- package/screenshots/truth/compose/attachments-with-success-files-and-click-send.png +0 -0
- package/screenshots/truth/compose/attachments-with-success-files.png +0 -0
- package/screenshots/truth/compose/chatbox-attachments-counter-and-send-button.png +0 -0
- package/screenshots/truth/compose/chatbox-attachments-counter-no-send-button.png +0 -0
- package/screenshots/truth/compose/chatbox-attachments-no-counter-and-send-button.png +0 -0
- package/screenshots/truth/compose/chatbox-attachments-no-counter-no-send-button.png +0 -0
- package/screenshots/truth/compose/chatbox-counter-and-send-button.png +0 -0
- package/screenshots/truth/compose/chatbox-counter-no-send-button.png +0 -0
- package/screenshots/truth/compose/chatbox-no-counter-and-send-button.png +0 -0
- package/screenshots/truth/compose/chatbox-no-counter-no-send-button.png +0 -0
- package/screenshots/truth/compose/chatbox-no-text-attachments-with-all-files-and-click-send.png +0 -0
- package/screenshots/truth/compose/chatbox-no-text-attachments-with-all-files.png +0 -0
- package/screenshots/truth/compose/chatbox-no-text-attachments-with-failure-files.png +0 -0
- package/screenshots/truth/compose/chatbox-no-text-attachments-with-success-files-and-click-send.png +0 -0
- package/screenshots/truth/compose/chatbox-no-text-attachments-with-success-files.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-and-click-send.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-and-hit-enter.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-and-spaces.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-and-url.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-no-files-and-click-send.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-no-files-and-hit-enter.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-no-files.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-with-all-files-and-click-send.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-with-all-files-and-hit-enter.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-with-all-files.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-with-failure-files.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-with-success-files-and-click-send.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-with-success-files-and-hit-enter.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-attachments-with-success-files.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text-no-spaces.png +0 -0
- package/screenshots/truth/compose/chatbox-with-text.png +0 -0
- package/screenshots/truth/contacts/compose-attachments-no-text-failure.png +0 -0
- package/screenshots/truth/contacts/compose-text-and-attachments-failure-attachments.png +0 -0
- package/screenshots/truth/contacts/compose-text-and-attachments-failure-generic.png +0 -0
- package/screenshots/truth/contacts/compose-text-and-attachments-failure-text-and-attachments.png +0 -0
- package/screenshots/truth/contacts/compose-text-and-attachments-failure-text.png +0 -0
- package/screenshots/truth/contacts/compose-text-no-attachments-failure.png +0 -0
- package/screenshots/truth/contacts/compose-text-no-attachments-success.png +0 -0
- package/static/svg/work/traced/folder-shield.svg +0 -1
- package/static/svg/work/used/folder-shield.svg +0 -3
- /package/screenshots/truth/contacts/{compose-attachments-no-text-success.png → chat-for-active-contact.png} +0 -0
- /package/screenshots/truth/contacts/{contact-archived-hide-chatbox.png → chat-for-archived-contact.png} +0 -0
- /package/screenshots/truth/contacts/{contact-blocked-hide-chatbox.png → chat-for-blocked-contact.png} +0 -0
- /package/screenshots/truth/contacts/{contact-stopped-hide-chatbox.png → chat-for-stopped-contact.png} +0 -0
- /package/screenshots/truth/contacts/{compose-text-and-attachments-success.png → chat-sends-attachments-only.png} +0 -0
- /package/screenshots/truth/contacts/{contact-active-default.png → chat-sends-text-and-attachments.png} +0 -0
- /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.
|
|
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.
|
|
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
|