@nyaruka/temba-components 0.62.3 → 0.63.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.
- package/CHANGELOG.md +13 -0
- package/demo/index.html +0 -11
- package/dist/{2e129758.js → bb49b9c8.js} +423 -256
- package/dist/index.js +423 -256
- package/dist/static/svg/index.svg +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/templates/components-body.html +1 -1
- package/dist/templates/components-head.html +1 -1
- package/out-tsc/src/RapidElement.js +6 -0
- package/out-tsc/src/RapidElement.js.map +1 -1
- package/out-tsc/src/compose/Compose.js +189 -88
- package/out-tsc/src/compose/Compose.js.map +1 -1
- package/out-tsc/src/contacts/ContactChat.js +4 -5
- package/out-tsc/src/contacts/ContactChat.js.map +1 -1
- package/out-tsc/src/interfaces.js.map +1 -1
- package/out-tsc/src/lightbox/Lightbox.js +1 -0
- package/out-tsc/src/lightbox/Lightbox.js.map +1 -1
- package/out-tsc/src/select/Select.js +1 -1
- package/out-tsc/src/select/Select.js.map +1 -1
- package/out-tsc/src/tabpane/Tab.js.map +1 -1
- package/out-tsc/src/tabpane/TabPane.js +155 -25
- package/out-tsc/src/tabpane/TabPane.js.map +1 -1
- package/out-tsc/src/textinput/TextInput.js +1 -0
- package/out-tsc/src/textinput/TextInput.js.map +1 -1
- package/out-tsc/src/thumbnail/Thumbnail.js +121 -0
- package/out-tsc/src/thumbnail/Thumbnail.js.map +1 -0
- package/out-tsc/src/utils/index.js +6 -0
- package/out-tsc/src/utils/index.js.map +1 -1
- package/out-tsc/src/vectoricon/index.js +2 -1
- package/out-tsc/src/vectoricon/index.js.map +1 -1
- package/out-tsc/temba-modules.js +2 -0
- package/out-tsc/temba-modules.js.map +1 -1
- package/out-tsc/test/temba-compose.test.js +2 -1
- package/out-tsc/test/temba-compose.test.js.map +1 -1
- package/out-tsc/test/temba-contact-chat.test.js.map +1 -1
- package/package.json +1 -1
- 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-attachments-no-text-success.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-and-attachments-success.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/screenshots/truth/contacts/contact-active-default.png +0 -0
- package/screenshots/truth/contacts/contact-active-show-chatbox.png +0 -0
- package/screenshots/truth/contacts/contact-archived-hide-chatbox.png +0 -0
- package/screenshots/truth/contacts/contact-blocked-hide-chatbox.png +0 -0
- package/screenshots/truth/contacts/contact-stopped-hide-chatbox.png +0 -0
- package/src/RapidElement.ts +7 -0
- package/src/compose/Compose.ts +199 -104
- package/src/contacts/ContactChat.ts +4 -5
- package/src/interfaces.ts +9 -0
- package/src/lightbox/Lightbox.ts +1 -0
- package/src/select/Select.ts +1 -1
- package/src/tabpane/Tab.ts +1 -1
- package/src/tabpane/TabPane.ts +154 -26
- package/src/textinput/TextInput.ts +1 -0
- package/src/thumbnail/Thumbnail.ts +119 -0
- package/src/utils/index.ts +8 -1
- package/src/vectoricon/index.ts +2 -1
- package/static/svg/index.svg +1 -1
- package/static/svg/work/traced/dotpoints-01.svg +1 -0
- package/static/svg/work/used/dotpoints-01.svg +3 -0
- package/temba-modules.ts +2 -0
- package/test/temba-compose.test.ts +8 -2
- package/test/temba-contact-chat.test.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,21 @@ 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.63.1](https://github.com/nyaruka/temba-components/compare/v0.63.0...v0.63.1)
|
|
8
|
+
|
|
9
|
+
- Replace attachment rendering [`#380`](https://github.com/nyaruka/temba-components/pull/380)
|
|
10
|
+
|
|
11
|
+
#### [v0.63.0](https://github.com/nyaruka/temba-components/compare/v0.62.3...v0.63.0)
|
|
12
|
+
|
|
13
|
+
> 30 October 2023
|
|
14
|
+
|
|
15
|
+
- Compose tabs [`#378`](https://github.com/nyaruka/temba-components/pull/378)
|
|
16
|
+
- Use tabs for compose [`d26fb18`](https://github.com/nyaruka/temba-components/commit/d26fb1802cfdfa8c7e2c13307251704863a47b5e)
|
|
17
|
+
|
|
7
18
|
#### [v0.62.3](https://github.com/nyaruka/temba-components/compare/v0.62.2...v0.62.3)
|
|
8
19
|
|
|
20
|
+
> 23 October 2023
|
|
21
|
+
|
|
9
22
|
- Fire content changed on compose for full delete [`#377`](https://github.com/nyaruka/temba-components/pull/377)
|
|
10
23
|
|
|
11
24
|
#### [v0.62.2](https://github.com/nyaruka/temba-components/compare/v0.62.1...v0.62.2)
|
package/demo/index.html
CHANGED
|
@@ -144,17 +144,6 @@
|
|
|
144
144
|
<div class="header">temba-components</div>
|
|
145
145
|
|
|
146
146
|
<temba-tabs collapses>
|
|
147
|
-
|
|
148
|
-
<temba-tab name="Color Picker" icon="colors">
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
<temba-compose chatbox attachments counter
|
|
152
|
-
languages="[{"name":"English", "iso":"eng"}, {"name":"Spanish", "iso":"esp"}]"></temba-compose>
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
</temba-tab>
|
|
157
|
-
|
|
158
147
|
<temba-tab name="Overview" icon="default">
|
|
159
148
|
<div style="display:flex;flex-wrap: wrap;">
|
|
160
149
|
<temba-checkbox label="Check this out" checked></temba-checkbox>
|