@nyaruka/temba-components 0.118.7 → 0.118.8
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 +7 -0
- package/dist/temba-components.js +4 -0
- package/dist/temba-components.js.map +1 -1
- package/out-tsc/src/textinput/TextInput.js +4 -0
- package/out-tsc/src/textinput/TextInput.js.map +1 -1
- package/package.json +1 -1
- package/screenshots/truth/contacts/chat-failure.png +0 -0
- package/screenshots/truth/contacts/chat-for-active-contact.png +0 -0
- package/screenshots/truth/contacts/chat-sends-attachments-only.png +0 -0
- package/screenshots/truth/contacts/chat-sends-text-and-attachments.png +0 -0
- package/screenshots/truth/contacts/chat-sends-text-only.png +0 -0
- package/src/textinput/TextInput.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,15 @@ 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.118.8](https://github.com/nyaruka/temba-components/compare/v0.118.7...v0.118.8)
|
|
8
|
+
|
|
9
|
+
- Add max-height for autogrow textinputs [`#481`](https://github.com/nyaruka/temba-components/pull/481)
|
|
10
|
+
- Update screenshots [`3836421`](https://github.com/nyaruka/temba-components/commit/3836421a07e78bbc040aee382d21ef2f96da8a55)
|
|
11
|
+
|
|
7
12
|
#### [v0.118.7](https://github.com/nyaruka/temba-components/compare/v0.117.1...v0.118.7)
|
|
8
13
|
|
|
14
|
+
> 24 March 2025
|
|
15
|
+
|
|
9
16
|
- Add ai icons [`#480`](https://github.com/nyaruka/temba-components/pull/480)
|
|
10
17
|
- Bump koa from 2.15.2 to 2.15.4 [`#478`](https://github.com/nyaruka/temba-components/pull/478)
|
|
11
18
|
- Respect aspect ratio on thumbnails [`#477`](https://github.com/nyaruka/temba-components/pull/477)
|
package/dist/temba-components.js
CHANGED
|
@@ -152,6 +152,7 @@ const ve=t=>t??H
|
|
|
152
152
|
height: var(--textarea-height);
|
|
153
153
|
min-height: var(--textarea-min-height, var(--textarea-height));
|
|
154
154
|
transition: height var(--transition-speed) ease-in-out;
|
|
155
|
+
unicode-bidi: var(--unicode-bidi, normal);
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
.textinput:focus {
|
|
@@ -187,6 +188,7 @@ const ve=t=>t??H
|
|
|
187
188
|
display: flex;
|
|
188
189
|
align-items: stretch;
|
|
189
190
|
width: 100%;
|
|
191
|
+
margin-bottom: 1em;
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
.grow-wrap > div {
|
|
@@ -207,11 +209,13 @@ const ve=t=>t??H
|
|
|
207
209
|
word-break: break-word;
|
|
208
210
|
opacity: 0;
|
|
209
211
|
z-index: -1;
|
|
212
|
+
max-height: var(--temba-textinput-max-height, 30em);
|
|
210
213
|
}
|
|
211
214
|
|
|
212
215
|
.grow-wrap textarea {
|
|
213
216
|
margin-left: -100%;
|
|
214
217
|
height: 100%;
|
|
218
|
+
flex-grow: 1;
|
|
215
219
|
}
|
|
216
220
|
|
|
217
221
|
input[type='number'] {
|