@nyaruka/temba-components 0.89.0 → 0.90.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/.devcontainer/devcontainer.json +10 -2
- package/CHANGELOG.md +9 -0
- package/dist/temba-components.js +437 -443
- package/dist/temba-components.js.map +1 -1
- package/out-tsc/src/compose/Compose.js +21 -340
- package/out-tsc/src/compose/Compose.js.map +1 -1
- package/out-tsc/src/mediapicker/MediaPicker.js +312 -0
- package/out-tsc/src/mediapicker/MediaPicker.js.map +1 -0
- package/out-tsc/src/templates/TemplateEditor.js +75 -4
- package/out-tsc/src/templates/TemplateEditor.js.map +1 -1
- package/out-tsc/src/thumbnail/Thumbnail.js +31 -29
- package/out-tsc/src/thumbnail/Thumbnail.js.map +1 -1
- package/out-tsc/src/vectoricon/VectorIcon.js +0 -1
- package/out-tsc/src/vectoricon/VectorIcon.js.map +1 -1
- package/out-tsc/src/vectoricon/index.js +1 -0
- 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 +11 -12
- package/out-tsc/test/temba-compose.test.js.map +1 -1
- package/package.json +1 -1
- package/screenshots/truth/compose/attachments-with-all-files-and-click-send.png +0 -0
- package/screenshots/truth/compose/attachments-with-success-files-and-click-send.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-success-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-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-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/templates/default.png +0 -0
- package/screenshots/truth/templates/french.png +0 -0
- package/src/compose/Compose.ts +23 -378
- package/src/mediapicker/MediaPicker.ts +338 -0
- package/src/templates/TemplateEditor.ts +81 -4
- package/src/thumbnail/Thumbnail.ts +43 -39
- package/src/vectoricon/VectorIcon.ts +0 -1
- package/src/vectoricon/index.ts +1 -0
- package/temba-modules.ts +2 -0
- package/test/temba-compose.test.ts +13 -53
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
"build": {
|
|
4
4
|
"dockerfile": "Dockerfile"
|
|
5
5
|
},
|
|
6
|
+
"features": {},
|
|
6
7
|
"forwardPorts": [
|
|
7
8
|
3010
|
|
8
9
|
],
|
|
9
10
|
"runArgs": [
|
|
11
|
+
"--name=dev-components",
|
|
10
12
|
"--network=textit_default",
|
|
11
13
|
"--hostname=temba-components"
|
|
12
14
|
],
|
|
@@ -16,8 +18,14 @@
|
|
|
16
18
|
"vscode": {
|
|
17
19
|
"extensions": [
|
|
18
20
|
"lfs.vscode-emacs-friendly"
|
|
19
|
-
]
|
|
21
|
+
],
|
|
22
|
+
"settings": {
|
|
23
|
+
"terminal.integrated.defaultProfile.linux": "zsh",
|
|
24
|
+
"editor.formatOnSave": true,
|
|
25
|
+
"editor.rulers": [
|
|
26
|
+
120
|
|
27
|
+
]
|
|
28
|
+
}
|
|
20
29
|
}
|
|
21
30
|
}
|
|
22
|
-
// "features": {},
|
|
23
31
|
}
|
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.90.0](https://github.com/nyaruka/temba-components/compare/v0.89.0...v0.90.0)
|
|
8
|
+
|
|
9
|
+
- Add media picker, use for compose and templates [`#430`](https://github.com/nyaruka/temba-components/pull/430)
|
|
10
|
+
- Fix drop acceptance [`f520af6`](https://github.com/nyaruka/temba-components/commit/f520af64ceaa2630833d36d36eac4e42c97204f1)
|
|
11
|
+
- Make templates work for different content types [`58b7ed8`](https://github.com/nyaruka/temba-components/commit/58b7ed8a49d537055f946f3ed404aecd592d6db3)
|
|
12
|
+
- Remove attachments by url instead of uuid [`c6f272e`](https://github.com/nyaruka/temba-components/commit/c6f272effcb48a93d0f8766249a034ff200ea988)
|
|
13
|
+
|
|
7
14
|
#### [v0.89.0](https://github.com/nyaruka/temba-components/compare/v0.88.0...v0.89.0)
|
|
8
15
|
|
|
16
|
+
> 23 May 2024
|
|
17
|
+
|
|
9
18
|
- Add csrf fallback if cookie isn't there [`#429`](https://github.com/nyaruka/temba-components/pull/429)
|
|
10
19
|
- Check for existence of csrf element first [`c136a78`](https://github.com/nyaruka/temba-components/commit/c136a78d36e28760fe95b2dfa7a994b1c82b338c)
|
|
11
20
|
|