@nyaruka/temba-components 0.28.3 → 0.29.3

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 (135) hide show
  1. package/.eslintrc.js +1 -0
  2. package/.yarnrc +1 -1
  3. package/.yarnrc.yml +1 -0
  4. package/CHANGELOG.md +103 -56
  5. package/dist/{a549bd4a.js → a439f561.js} +56 -84
  6. package/dist/index.js +56 -84
  7. package/dist/sw.js +1 -1
  8. package/dist/sw.js.map +1 -1
  9. package/dist/templates/components-body.html +1 -1
  10. package/dist/templates/components-head.html +1 -1
  11. package/dist/workbox-80efdfd1.js.map +1 -1
  12. package/out-tsc/src/contacts/ContactBadges.js +2 -9
  13. package/out-tsc/src/contacts/ContactBadges.js.map +1 -1
  14. package/out-tsc/src/contacts/ContactChat.js +3 -0
  15. package/out-tsc/src/contacts/ContactChat.js.map +1 -1
  16. package/out-tsc/src/contacts/ContactStoreElement.js +9 -2
  17. package/out-tsc/src/contacts/ContactStoreElement.js.map +1 -1
  18. package/out-tsc/src/contacts/events.js +0 -3
  19. package/out-tsc/src/contacts/events.js.map +1 -1
  20. package/out-tsc/src/label/Label.js +29 -42
  21. package/out-tsc/src/label/Label.js.map +1 -1
  22. package/out-tsc/src/slider/TembaSlider.js +9 -1
  23. package/out-tsc/src/slider/TembaSlider.js.map +1 -1
  24. package/out-tsc/src/sms/gsmvalidator.js +9 -138
  25. package/out-tsc/src/sms/gsmvalidator.js.map +1 -1
  26. package/out-tsc/src/store/Store.js +4 -1
  27. package/out-tsc/src/store/Store.js.map +1 -1
  28. package/out-tsc/src/vectoricon/VectorIcon.js +0 -5
  29. package/out-tsc/src/vectoricon/VectorIcon.js.map +1 -1
  30. package/out-tsc/temba-components.js +1 -2
  31. package/out-tsc/temba-components.js.map +1 -1
  32. package/out-tsc/temba-modules.js +1 -1
  33. package/out-tsc/temba-modules.js.map +1 -1
  34. package/out-tsc/test/MouseHelper.js +47 -0
  35. package/out-tsc/test/MouseHelper.js.map +1 -0
  36. package/out-tsc/test/temba-contact-badges.test.js +23 -0
  37. package/out-tsc/test/temba-contact-badges.test.js.map +1 -0
  38. package/out-tsc/test/temba-contact-chat.test.js +111 -7
  39. package/out-tsc/test/temba-contact-chat.test.js.map +1 -1
  40. package/out-tsc/test/temba-contact-history.test.js +6 -6
  41. package/out-tsc/test/temba-contact-history.test.js.map +1 -1
  42. package/out-tsc/test/temba-dialog.test.js +1 -1
  43. package/out-tsc/test/temba-dialog.test.js.map +1 -1
  44. package/out-tsc/test/temba-label.test.js +66 -0
  45. package/out-tsc/test/temba-label.test.js.map +1 -0
  46. package/out-tsc/test/temba-list.test.js +1 -1
  47. package/out-tsc/test/temba-list.test.js.map +1 -1
  48. package/out-tsc/test/temba-menu.test.js +1 -1
  49. package/out-tsc/test/temba-menu.test.js.map +1 -1
  50. package/out-tsc/test/temba-select.test.js +1 -6
  51. package/out-tsc/test/temba-select.test.js.map +1 -1
  52. package/out-tsc/test/temba-slider.test.js +151 -8
  53. package/out-tsc/test/temba-slider.test.js.map +1 -1
  54. package/out-tsc/test/temba-store.test.js +5 -0
  55. package/out-tsc/test/temba-store.test.js.map +1 -1
  56. package/out-tsc/test/temba-textinput.test.js +3 -4
  57. package/out-tsc/test/temba-textinput.test.js.map +1 -1
  58. package/out-tsc/test/temba-tip.test.js +1 -1
  59. package/out-tsc/test/temba-tip.test.js.map +1 -1
  60. package/out-tsc/test/utils.test.js +26 -14
  61. package/out-tsc/test/utils.test.js.map +1 -1
  62. package/package.json +5 -4
  63. package/screenshots/truth/contacts/badges.png +0 -0
  64. package/screenshots/truth/contacts/contact-active-default.png +0 -0
  65. package/screenshots/truth/contacts/contact-active-show-chat-history.png +0 -0
  66. package/screenshots/truth/contacts/contact-active-show-chat-msg.png +0 -0
  67. package/screenshots/truth/contacts/contact-archived-hide-chat-msg.png +0 -0
  68. package/screenshots/truth/contacts/contact-archived-show-chat-history.png +0 -0
  69. package/screenshots/truth/contacts/contact-blocked-hide-chat-msg.png +0 -0
  70. package/screenshots/truth/contacts/contact-blocked-show-chat-history.png +0 -0
  71. package/screenshots/truth/contacts/contact-stopped-hide-chat-msg.png +0 -0
  72. package/screenshots/truth/contacts/contact-stopped-show-chat-history.png +0 -0
  73. package/screenshots/truth/contacts/history-expanded.png +0 -0
  74. package/screenshots/truth/contacts/history.png +0 -0
  75. package/screenshots/truth/label/custom.png +0 -0
  76. package/screenshots/truth/label/danger.png +0 -0
  77. package/screenshots/truth/label/dark.png +0 -0
  78. package/screenshots/truth/label/default-icon.png +0 -0
  79. package/screenshots/truth/label/no-icon.png +0 -0
  80. package/screenshots/truth/label/primary.png +0 -0
  81. package/screenshots/truth/label/secondary.png +0 -0
  82. package/screenshots/truth/label/shadow.png +0 -0
  83. package/screenshots/truth/label/tertiary.png +0 -0
  84. package/screenshots/truth/slider/custom-min-custom-max-valid-value.png +0 -0
  85. package/screenshots/truth/slider/custom-min-default-max-no-value.png +0 -0
  86. package/screenshots/truth/slider/default-min-custom-max-no-value.png +0 -0
  87. package/screenshots/truth/slider/default-min-default-max-invalid-value.png +0 -0
  88. package/screenshots/truth/slider/default-min-default-max-valid-value.png +0 -0
  89. package/screenshots/truth/slider/default.png +0 -0
  90. package/screenshots/truth/slider/no-visible-range-invalid-value.png +0 -0
  91. package/screenshots/truth/slider/no-visible-range-no-value.png +0 -0
  92. package/screenshots/truth/slider/no-visible-range-valid-value.png +0 -0
  93. package/screenshots/truth/slider/update-slider-on-circle-dragged.png +0 -0
  94. package/screenshots/truth/slider/update-slider-on-track-clicked.png +0 -0
  95. package/screenshots/truth/slider/update-slider-on-value-change.png +0 -0
  96. package/src/contacts/ContactBadges.ts +2 -9
  97. package/src/contacts/ContactChat.ts +3 -0
  98. package/src/contacts/ContactStoreElement.ts +5 -2
  99. package/src/contacts/events.ts +0 -3
  100. package/src/label/Label.ts +31 -43
  101. package/src/slider/TembaSlider.ts +8 -1
  102. package/src/sms/gsmvalidator.ts +9 -138
  103. package/src/store/Store.ts +17 -1
  104. package/src/untyped.d.ts +3 -0
  105. package/src/vectoricon/VectorIcon.ts +0 -5
  106. package/static/css/temba-components.css +3 -8
  107. package/static/icons/SVG/credits.svg +5 -0
  108. package/temba-components.ts +1 -2
  109. package/temba-modules.ts +1 -1
  110. package/test/MouseHelper.ts +47 -0
  111. package/test/temba-contact-badges.test.ts +33 -0
  112. package/test/temba-contact-chat.test.ts +202 -6
  113. package/test/temba-contact-history.test.ts +6 -6
  114. package/test/temba-dialog.test.ts +1 -1
  115. package/test/temba-label.test.ts +75 -0
  116. package/test/temba-list.test.ts +1 -1
  117. package/test/temba-menu.test.ts +1 -0
  118. package/test/temba-select.test.ts +6 -10
  119. package/test/temba-slider.test.ts +204 -8
  120. package/test/temba-store.test.ts +6 -0
  121. package/test/temba-textinput.test.ts +3 -4
  122. package/test/temba-tip.test.ts +1 -1
  123. package/test/utils.test.ts +34 -16
  124. package/test-assets/contacts/contact-barak-archived +40 -0
  125. package/test-assets/contacts/contact-dave-active +52 -0
  126. package/test-assets/contacts/contact-michelle-blocked +40 -0
  127. package/test-assets/contacts/contact-tim-stopped +52 -0
  128. package/test-assets/store/groups.json +29 -0
  129. package/test-assets/store/languages.json +290 -0
  130. package/test-assets/style.css +2 -0
  131. package/web-test-runner.config.mjs +16 -0
  132. package/.yarn/releases/yarn-1.22.10.cjs +0 -147392
  133. package/out-tsc/src/contacts/ContactGroups.js +0 -40
  134. package/out-tsc/src/contacts/ContactGroups.js.map +0 -1
  135. package/src/contacts/ContactGroups.ts +0 -42
package/.eslintrc.js CHANGED
@@ -11,6 +11,7 @@ module.exports = {
11
11
  ],
12
12
  rules: {
13
13
  // disable the rule for all files
14
+ '@typescript-eslint/camelcase': 'off',
14
15
  '@typescript-eslint/explicit-module-boundary-types': 'off',
15
16
  '@typescript-eslint/no-explicit-any': 'off',
16
17
  '@typescript-eslint/explicit-function-return-type': 'off',
package/.yarnrc CHANGED
@@ -2,4 +2,4 @@
2
2
  # yarn lockfile v1
3
3
 
4
4
 
5
- yarn-path ".yarn/releases/yarn-1.22.10.cjs"
5
+ # yarn-path ".yarn/releases/yarn-1.22.10.cjs"
package/.yarnrc.yml ADDED
@@ -0,0 +1 @@
1
+ nodeLinker: node-modules
package/CHANGELOG.md CHANGED
@@ -4,6 +4,42 @@ 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.29.3](https://github.com/nyaruka/temba-components/compare/v0.29.2...v0.29.3)
8
+
9
+ - archived contact cannot send msg [`#189`](https://github.com/nyaruka/temba-components/pull/189)
10
+ - archived, blocked, and stopped contacts cannot send msg [`8929d60`](https://github.com/nyaruka/temba-components/commit/8929d6052c7658f93ca194f1acc8a47217e5b15c)
11
+ - Load contact using static fetch [`a11e03d`](https://github.com/nyaruka/temba-components/commit/a11e03d5ef442cbfab42f6d75f17ed4aca11b1cc)
12
+ - Remove incompatible yarn plugin [`6bd49ba`](https://github.com/nyaruka/temba-components/commit/6bd49baacc210dfcbd025ba0e3156c3250ce1e57)
13
+
14
+ #### [v0.29.2](https://github.com/nyaruka/temba-components/compare/v0.29.1...v0.29.2)
15
+
16
+ > 11 August 2022
17
+
18
+ - Downgrade yarn [`240e084`](https://github.com/nyaruka/temba-components/commit/240e0840745a76436a2a51472e81dec624fb0ddb)
19
+ - Downgrade yarn [`6edfac0`](https://github.com/nyaruka/temba-components/commit/6edfac0fc004cae66f9ca8ef328fa1ff4365d33c)
20
+ - Add git plugin for yarn [`7f1eda2`](https://github.com/nyaruka/temba-components/commit/7f1eda2a9fa671ecc1c05a49f322576ca7e79f5e)
21
+
22
+ #### [v0.29.1](https://github.com/nyaruka/temba-components/compare/v0.29.0...v0.29.1)
23
+
24
+ > 11 August 2022
25
+
26
+ - Update label background options [`#188`](https://github.com/nyaruka/temba-components/pull/188)
27
+ - Updates for yarn 3 [`#185`](https://github.com/nyaruka/temba-components/pull/185)
28
+ - Bump terser from 4.8.0 to 4.8.1 [`#186`](https://github.com/nyaruka/temba-components/pull/186)
29
+ - Add mouse-helper to help with mouse-moving tests [`#184`](https://github.com/nyaruka/temba-components/pull/184)
30
+ - Fix slider update tests [`#183`](https://github.com/nyaruka/temba-components/pull/183)
31
+ - added render tests, update tests in progress [`#181`](https://github.com/nyaruka/temba-components/pull/181)
32
+ - Update auto-changelog [`72a5b66`](https://github.com/nyaruka/temba-components/commit/72a5b66038b0bac320d23590dbd690a797e97389)
33
+ - Add test for label shadow [`386e5b8`](https://github.com/nyaruka/temba-components/commit/386e5b8bde632662519aa6fc7cda558f10d1a362)
34
+ - merge [`fc6b29b`](https://github.com/nyaruka/temba-components/commit/fc6b29b512673fba007df5a91549d77f64c60ab2)
35
+
36
+ #### [v0.29.0](https://github.com/nyaruka/temba-components/compare/v0.28.3...v0.29.0)
37
+
38
+ > 12 July 2022
39
+
40
+ - Expose postUrl on temba-store for use in pages [`#182`](https://github.com/nyaruka/temba-components/pull/182)
41
+ - Add postUrl test [`4402616`](https://github.com/nyaruka/temba-components/commit/44026160722d053b69284aeefb7aaf9eefe63bcb)
42
+
7
43
  #### [v0.28.3](https://github.com/nyaruka/temba-components/compare/v0.28.2...v0.28.3)
8
44
 
9
45
  > 11 July 2022
@@ -18,7 +54,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
18
54
 
19
55
  #### [v0.28.1](https://github.com/nyaruka/temba-components/compare/v0.28.0...v0.28.1)
20
56
 
21
- > 8 July 2022
57
+ > 7 July 2022
22
58
 
23
59
  - Fix margin on menu collapse [`#180`](https://github.com/nyaruka/temba-components/pull/180)
24
60
 
@@ -33,7 +69,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
33
69
 
34
70
  #### [v0.27.2](https://github.com/nyaruka/temba-components/compare/v0.27.1...v0.27.2)
35
71
 
36
- > 2 July 2022
72
+ > 1 July 2022
37
73
 
38
74
  - Update contact search to work with start preview [`#177`](https://github.com/nyaruka/temba-components/pull/177)
39
75
  - temba-slider component [`#176`](https://github.com/nyaruka/temba-components/pull/176)
@@ -48,7 +84,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
48
84
 
49
85
  #### [v0.27.0](https://github.com/nyaruka/temba-components/compare/v0.26.11...v0.27.0)
50
86
 
51
- > 17 June 2022
87
+ > 16 June 2022
52
88
 
53
89
  - Pending events [`#173`](https://github.com/nyaruka/temba-components/pull/173)
54
90
  - Add pending events component [`ae49fb0`](https://github.com/nyaruka/temba-components/commit/ae49fb0ed9c0a076c4940e6b5da5b1be187c4d7c)
@@ -56,7 +92,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
56
92
 
57
93
  #### [v0.26.11](https://github.com/nyaruka/temba-components/compare/v0.26.10...v0.26.11)
58
94
 
59
- > 14 June 2022
95
+ > 13 June 2022
60
96
 
61
97
  - Use status names for badges [`26526fc`](https://github.com/nyaruka/temba-components/commit/26526fc339dc2fd1b2b9a3f3a724616f4f5aa8d7)
62
98
 
@@ -71,7 +107,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
71
107
 
72
108
  #### [v0.26.9](https://github.com/nyaruka/temba-components/compare/v0.26.8...v0.26.9)
73
109
 
74
- > 10 June 2022
110
+ > 9 June 2022
75
111
 
76
112
  - Nicer media embeds in ContactChat [`#171`](https://github.com/nyaruka/temba-components/pull/171)
77
113
  - Add better user-facing date format on contact fields [`#170`](https://github.com/nyaruka/temba-components/pull/170)
@@ -83,7 +119,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
83
119
 
84
120
  #### [v0.26.8](https://github.com/nyaruka/temba-components/compare/v0.26.7...v0.26.8)
85
121
 
86
- > 1 June 2022
122
+ > 31 May 2022
87
123
 
88
124
  - Encode query for contact search summary [`#168`](https://github.com/nyaruka/temba-components/pull/168)
89
125
  - Display failed reason for failed msg_created events [`#166`](https://github.com/nyaruka/temba-components/pull/166)
@@ -146,13 +182,14 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
146
182
 
147
183
  #### [v0.26.0](https://github.com/nyaruka/temba-components/compare/v0.25.2...v0.26.0)
148
184
 
149
- > 4 March 2022
185
+ > 3 March 2022
150
186
 
151
187
  - Bump marked from 0.7.0 to 4.0.10 [`#147`](https://github.com/nyaruka/temba-components/pull/147)
152
188
  - Bump node-fetch from 2.6.1 to 2.6.7 [`#149`](https://github.com/nyaruka/temba-components/pull/149)
153
189
  - Bump prismjs from 1.25.0 to 1.27.0 [`#153`](https://github.com/nyaruka/temba-components/pull/153)
154
190
  - Menu buttons [`#154`](https://github.com/nyaruka/temba-components/pull/154)
155
191
  - Add buttons to TembaMenu. Prefix for VectorIcon. [`f71c5ff`](https://github.com/nyaruka/temba-components/commit/f71c5ffa1a7f93614df15f72d058df4d877b733f)
192
+ - Add simple collapse to menu [`d12448e`](https://github.com/nyaruka/temba-components/commit/d12448e7158e75502c8400cc03e017c9a206dbe3)
156
193
 
157
194
  #### [v0.25.2](https://github.com/nyaruka/temba-components/compare/v0.25.1...v0.25.2)
158
195
 
@@ -166,7 +203,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
166
203
 
167
204
  - Hold focus on options until mouse up [`#151`](https://github.com/nyaruka/temba-components/pull/151)
168
205
  - Select format [`#150`](https://github.com/nyaruka/temba-components/pull/150)
169
- - Add simple collapse to menu [`d12448e`](https://github.com/nyaruka/temba-components/commit/d12448e7158e75502c8400cc03e017c9a206dbe3)
170
206
  - Pixel pushing on the select widget [`fb57486`](https://github.com/nyaruka/temba-components/commit/fb57486cc65e682809968815420fd717bd1489bc)
171
207
  - Update screenshots [`c2b4223`](https://github.com/nyaruka/temba-components/commit/c2b4223d286531797315309323f2f67a7858751b)
172
208
 
@@ -178,7 +214,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
178
214
 
179
215
  #### [v0.24.1](https://github.com/nyaruka/temba-components/compare/v0.24.0...v0.24.1)
180
216
 
181
- > 15 January 2022
217
+ > 14 January 2022
182
218
 
183
219
  - Remove spurious div [`4897f25`](https://github.com/nyaruka/temba-components/commit/4897f258fa5bdb3f2974afbb12dee1b38156aeaa)
184
220
 
@@ -194,7 +230,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
194
230
 
195
231
  #### [v0.23.0](https://github.com/nyaruka/temba-components/compare/v0.22.0...v0.23.0)
196
232
 
197
- > 30 November 2021
233
+ > 29 November 2021
198
234
 
199
235
  - Add temba-anchor [`#144`](https://github.com/nyaruka/temba-components/pull/144)
200
236
 
@@ -209,7 +245,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
209
245
 
210
246
  #### [v0.21.0](https://github.com/nyaruka/temba-components/compare/v0.20.0...v0.21.0)
211
247
 
212
- > 6 November 2021
248
+ > 5 November 2021
213
249
 
214
250
  - Collapsed nesting [`#141`](https://github.com/nyaruka/temba-components/pull/141)
215
251
  - Add collapsed nesting support to menu [`2974eb3`](https://github.com/nyaruka/temba-components/commit/2974eb3b2d2e9047655dcfcfe0e340581a38f456)
@@ -247,7 +283,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
247
283
  > 4 October 2021
248
284
 
249
285
  - ContactChat improvements [`#133`](https://github.com/nyaruka/temba-components/pull/133)
250
- - * Modify scroll title positioning to work sans scrollbars [`caffc39`](https://github.com/nyaruka/temba-components/commit/caffc3964a1d9f9014cb9ead2b06a4f39834c002)
286
+ - * Modify scroll title positioning to work sans scrollbars [`caffc39`](https://github.com/nyaruka/temba-components/commit/caffc3964a1d9f9014cb9ead2b06a4f39834c002)
251
287
  - Update tests [`c7e8875`](https://github.com/nyaruka/temba-components/commit/c7e88759eed3c5dfebc45ebe4702ff7aad7b3271)
252
288
  - Remove prepush temp [`f609243`](https://github.com/nyaruka/temba-components/commit/f609243e7f808cbe00b86e079c9ff461a9f81b63)
253
289
 
@@ -259,7 +295,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
259
295
 
260
296
  #### [v0.16.2](https://github.com/nyaruka/temba-components/compare/v0.16.1...v0.16.2)
261
297
 
262
- > 24 September 2021
298
+ > 23 September 2021
263
299
 
264
300
  - Render cleared fields properly [`#131`](https://github.com/nyaruka/temba-components/pull/131)
265
301
 
@@ -278,6 +314,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
278
314
  - Conditional load of custom elements [`#128`](https://github.com/nyaruka/temba-components/pull/128)
279
315
  - Fix pending menu options on load [`#124`](https://github.com/nyaruka/temba-components/pull/124)
280
316
  - Select first option with endpoints without placeholders [`#127`](https://github.com/nyaruka/temba-components/pull/127)
317
+ - Fix setting of pending path, add option to have menu wait for selection [`a96a22b`](https://github.com/nyaruka/temba-components/commit/a96a22b963e82555ec19f989d8d0bc8f9e1d2a36)
281
318
 
282
319
  #### [v0.15.4](https://github.com/nyaruka/temba-components/compare/v0.15.3...v0.15.4)
283
320
 
@@ -285,7 +322,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
285
322
 
286
323
  - Fix wrapping and network fetch asplode [`#126`](https://github.com/nyaruka/temba-components/pull/126)
287
324
  - Somebody did a thing [`#125`](https://github.com/nyaruka/temba-components/pull/125)
288
- - Fix setting of pending path, add option to have menu wait for selection [`a96a22b`](https://github.com/nyaruka/temba-components/commit/a96a22b963e82555ec19f989d8d0bc8f9e1d2a36)
289
325
 
290
326
  #### [v0.15.3](https://github.com/nyaruka/temba-components/compare/v0.15.2...v0.15.3)
291
327
 
@@ -295,7 +331,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
295
331
 
296
332
  #### [v0.15.2](https://github.com/nyaruka/temba-components/compare/v0.15.1...v0.15.2)
297
333
 
298
- > 1 September 2021
334
+ > 31 August 2021
299
335
 
300
336
  - Remove debug [`ea1936c`](https://github.com/nyaruka/temba-components/commit/ea1936c2d11388f5a68b3383dfadde3b15d1b244)
301
337
 
@@ -309,7 +345,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
309
345
 
310
346
  #### [v0.15.0](https://github.com/nyaruka/temba-components/compare/v0.14.5...v0.15.0)
311
347
 
312
- > 31 August 2021
348
+ > 30 August 2021
313
349
 
314
350
  - Add more general menu component [`#120`](https://github.com/nyaruka/temba-components/pull/120)
315
351
  - Remove css comments [`b9b078f`](https://github.com/nyaruka/temba-components/commit/b9b078fb29382060b4f8ad3c9dc72100d5fd888f)
@@ -332,7 +368,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
332
368
 
333
369
  #### [v0.14.3](https://github.com/nyaruka/temba-components/compare/v0.14.2...v0.14.3)
334
370
 
335
- > 29 July 2021
371
+ > 28 July 2021
336
372
 
337
373
  - initialize select value on temba-option evaluation [`#108`](https://github.com/nyaruka/temba-components/pull/108)
338
374
  - Don't embed omnibox in a field as it uses temba-select underneath [`#112`](https://github.com/nyaruka/temba-components/pull/112)
@@ -345,7 +381,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
345
381
 
346
382
  #### [v0.14.2](https://github.com/nyaruka/temba-components/compare/v0.14.1...v0.14.2)
347
383
 
348
- > 27 July 2021
384
+ > 26 July 2021
349
385
 
350
386
  - Reset secondary button on modal close [`#106`](https://github.com/nyaruka/temba-components/pull/106)
351
387
  - Fix widths for scrollbar hiders, consistent border radii [`#105`](https://github.com/nyaruka/temba-components/pull/105)
@@ -411,7 +447,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
411
447
 
412
448
  #### [v0.11.17](https://github.com/nyaruka/temba-components/compare/v0.11.16...v0.11.17)
413
449
 
414
- > 15 June 2021
450
+ > 14 June 2021
415
451
 
416
452
  - Only focus text inputs on dialog open [`#87`](https://github.com/nyaruka/temba-components/pull/87)
417
453
 
@@ -440,7 +476,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
440
476
 
441
477
  #### [v0.11.13](https://github.com/nyaruka/temba-components/compare/v0.11.11...v0.11.13)
442
478
 
443
- > 3 June 2021
479
+ > 2 June 2021
444
480
 
445
481
  - Use merged mailroom endpoint [`#82`](https://github.com/nyaruka/temba-components/pull/82)
446
482
 
@@ -467,7 +503,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
467
503
 
468
504
  #### [v0.11.8](https://github.com/nyaruka/temba-components/compare/v0.11.7...v0.11.8)
469
505
 
470
- > 8 May 2021
506
+ > 7 May 2021
471
507
 
472
508
  - Bump hosted-git-info from 2.8.8 to 2.8.9 [`#76`](https://github.com/nyaruka/temba-components/pull/76)
473
509
  - Default checkbox [`#77`](https://github.com/nyaruka/temba-components/pull/77)
@@ -476,10 +512,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
476
512
 
477
513
  #### [v0.11.7](https://github.com/nyaruka/temba-components/compare/v0.11.6...v0.11.7)
478
514
 
479
- > 8 May 2021
515
+ > 7 May 2021
480
516
 
481
517
  - Increase size of default checkbox [`4de970d`](https://github.com/nyaruka/temba-components/commit/4de970d515a0407ea7f5af0062f85b5b4c0c4da1)
482
- - Bump hosted-git-info from 2.8.8 to 2.8.9 [`01679c0`](https://github.com/nyaruka/temba-components/commit/01679c062311ade1ceff243c67c4b1d98de51afd)
483
518
 
484
519
  #### [v0.11.6](https://github.com/nyaruka/temba-components/compare/v0.11.5...v0.11.6)
485
520
 
@@ -514,13 +549,19 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
514
549
 
515
550
  - Create index build [`68cff93`](https://github.com/nyaruka/temba-components/commit/68cff937919ff4dec7a7764a9b60363d33f1209a)
516
551
 
517
- #### [v0.11.1](https://github.com/nyaruka/temba-components/compare/v0.10.3...v0.11.1)
552
+ #### [v0.11.1](https://github.com/nyaruka/temba-components/compare/v0.11.0...v0.11.1)
518
553
 
519
554
  > 27 April 2021
520
555
 
521
556
  - Revert "Create bundle index" [`94b11ca`](https://github.com/nyaruka/temba-components/commit/94b11caecf0004f53c75780720548e0f1240908d)
522
- - Create bundle index [`c39f230`](https://github.com/nyaruka/temba-components/commit/c39f2304271f2c437e87eab6918babe8191371de)
523
557
  - Revert "version" [`ea3cd27`](https://github.com/nyaruka/temba-components/commit/ea3cd27f218c970b8ef018275c05d0802bd202b2)
558
+ - version [`6a211a0`](https://github.com/nyaruka/temba-components/commit/6a211a0447d7f2c14954e8d9b97843daf8bca15b)
559
+
560
+ #### [v0.11.0](https://github.com/nyaruka/temba-components/compare/v0.10.3...v0.11.0)
561
+
562
+ > 27 April 2021
563
+
564
+ - Create bundle index [`c39f230`](https://github.com/nyaruka/temba-components/commit/c39f2304271f2c437e87eab6918babe8191371de)
524
565
 
525
566
  #### [v0.10.3](https://github.com/nyaruka/temba-components/compare/v0.10.2...v0.10.3)
526
567
 
@@ -564,7 +605,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
564
605
  - More updates to work toward agents. [`#55`](https://github.com/nyaruka/temba-components/pull/55)
565
606
  - Lots of progress on ticket controls, refreshing, rendering, etc [`ba35ac7`](https://github.com/nyaruka/temba-components/commit/ba35ac7ce707e2da1de26c904c692f2cf63fc636)
566
607
  - Dueling refreshes between contacts and history [`56ecbe2`](https://github.com/nyaruka/temba-components/commit/56ecbe2987abb73984d06ebd81104ebe9b62a5bd)
567
- - More event types, TemplateResult support on oxford fns [`0ae91ea`](https://github.com/nyaruka/temba-components/commit/0ae91eaede3ce2e6dceaa76db70fc57cd7bc30a4)
608
+ - Add rearward infinite scroll for contact history. [`12a63b3`](https://github.com/nyaruka/temba-components/commit/12a63b35db3e0bf298da74a3918696c36c693807)
568
609
 
569
610
  #### [v0.8.15](https://github.com/nyaruka/temba-components/compare/v0.8.14...v0.8.15)
570
611
 
@@ -572,9 +613,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
572
613
 
573
614
  - Multi select expressions [`#56`](https://github.com/nyaruka/temba-components/pull/56)
574
615
  - Add disabled state on TextInput [`#54`](https://github.com/nyaruka/temba-components/pull/54)
575
- - More updates to work toward agents. [`c5e91fe`](https://github.com/nyaruka/temba-components/commit/c5e91febc1aed9e6de50f686244da6ac10549497)
576
- - Add rearward infinite scroll for contact history. [`12a63b3`](https://github.com/nyaruka/temba-components/commit/12a63b35db3e0bf298da74a3918696c36c693807)
577
- - Add message sending and recent message polling [`fb780c0`](https://github.com/nyaruka/temba-components/commit/fb780c0b2c98080c24cc168a1ceadbd597c07fe9)
616
+ - Auto select on completion if its basic expression [`bfadc4b`](https://github.com/nyaruka/temba-components/commit/bfadc4bf2915e8a0648247a24e49230f9c03ed59)
617
+ - Update tests [`238a5cf`](https://github.com/nyaruka/temba-components/commit/238a5cf2221b1de023ed9d7d503e9176a66b68dd)
618
+ - Add text parameters to getInputHTML [`9bd3a88`](https://github.com/nyaruka/temba-components/commit/9bd3a8819f54ffc4be5ca849d8b7e6f8c0a22cba)
578
619
 
579
620
  #### [v0.8.14](https://github.com/nyaruka/temba-components/compare/v0.8.13...v0.8.14)
580
621
 
@@ -585,18 +626,15 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
585
626
  - Update to newer version of open-wc/testing-karma [`#51`](https://github.com/nyaruka/temba-components/pull/51)
586
627
  - Modax should hide on redirect [`#50`](https://github.com/nyaruka/temba-components/pull/50)
587
628
  - Roughed in components to support agents [`#46`](https://github.com/nyaruka/temba-components/pull/46)
629
+ - Deal with missing package in npm [`fdcfc6a`](https://github.com/nyaruka/temba-components/commit/fdcfc6a8aa9c598a5fc0a4fb70e0d7b253f97857)
630
+ - Revert yarn.lock [`54708a9`](https://github.com/nyaruka/temba-components/commit/54708a9c4c82d21c8e9fb264572280f47609386f)
588
631
  - Modax should hide on redirect, add tests [`790ea7e`](https://github.com/nyaruka/temba-components/commit/790ea7e137b155c2115bb8bfd5fab1722585b95b)
589
- - Simplify build [`86ddb45`](https://github.com/nyaruka/temba-components/commit/86ddb45dc880e07b059fb2282382caa8a07aefc7)
590
- - remove build dependency [`c50db62`](https://github.com/nyaruka/temba-components/commit/c50db624f1db3a5e8d9e74b02cb171e16befb865)
591
632
 
592
633
  #### [v0.8.13](https://github.com/nyaruka/temba-components/compare/v0.8.12...v0.8.13)
593
634
 
594
635
  > 21 January 2021
595
636
 
596
637
  - Add '@resume' to expression parsing [`#49`](https://github.com/nyaruka/temba-components/pull/49)
597
- - Revert yarn.lock [`54708a9`](https://github.com/nyaruka/temba-components/commit/54708a9c4c82d21c8e9fb264572280f47609386f)
598
- - Add some tests [`2f87241`](https://github.com/nyaruka/temba-components/commit/2f87241e71b2e9f6eba2b5efa1fddc5b36c67fb4)
599
- - Move coverage to screenshot build [`e56c79f`](https://github.com/nyaruka/temba-components/commit/e56c79f13d33725dd11fa1483f4beeb84c01fc46)
600
638
 
601
639
  #### [v0.8.12](https://github.com/nyaruka/temba-components/compare/v0.8.11...v0.8.12)
602
640
 
@@ -604,9 +642,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
604
642
 
605
643
  - Add node as allowed top-level for autocompletion [`#47`](https://github.com/nyaruka/temba-components/pull/47)
606
644
  - Bump axios from 0.20.0 to 0.21.1 [`#45`](https://github.com/nyaruka/temba-components/pull/45)
607
- - merge [`06af111`](https://github.com/nyaruka/temba-components/commit/06af11100126143a8428d2906531fbfea20f03c3)
608
- - Deal with missing package in npm [`fdcfc6a`](https://github.com/nyaruka/temba-components/commit/fdcfc6a8aa9c598a5fc0a4fb70e0d7b253f97857)
609
- - Roughed in components to support agents [`c5f7d94`](https://github.com/nyaruka/temba-components/commit/c5f7d94f4d2263e163c1d98fdbf4274fec0190a1)
610
645
 
611
646
  #### [v0.8.11](https://github.com/nyaruka/temba-components/compare/v0.8.10...v0.8.11)
612
647
 
@@ -648,12 +683,18 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
648
683
  - Add unit tests for dialog [`0e53b98`](https://github.com/nyaruka/temba-components/commit/0e53b98598e85e13994fd8ad75de0c13daf6490b)
649
684
  - Fix tests [`4614074`](https://github.com/nyaruka/temba-components/commit/46140742370b8afff408ad840af75c6142e06e2c)
650
685
 
651
- #### [v0.8.5](https://github.com/nyaruka/temba-components/compare/v0.8.3...v0.8.5)
686
+ #### [v0.8.5](https://github.com/nyaruka/temba-components/compare/v0.8.4...v0.8.5)
652
687
 
653
688
  > 10 November 2020
654
689
 
655
690
  - Pass down errors for omnibox [`#33`](https://github.com/nyaruka/temba-components/pull/33)
656
691
 
692
+ #### [v0.8.4](https://github.com/nyaruka/temba-components/compare/v0.8.3...v0.8.4)
693
+
694
+ > 10 November 2020
695
+
696
+ - Pass down errors for omnibox [`d76a3a2`](https://github.com/nyaruka/temba-components/commit/d76a3a2dfffda00c54bdadf16e3f8f5985187e32)
697
+
657
698
  #### [v0.8.3](https://github.com/nyaruka/temba-components/compare/v0.8.2...v0.8.3)
658
699
 
659
700
  > 28 October 2020
@@ -714,13 +755,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
714
755
 
715
756
  - Select expressions [`#17`](https://github.com/nyaruka/temba-components/pull/17)
716
757
  - Support for expressions within select. Add arbitrary select objects. [`ec69ec5`](https://github.com/nyaruka/temba-components/commit/ec69ec53ab30307708ff6e60c19c620c81901f49)
758
+ - Add screenshot test for searching with multiple selections [`200eda3`](https://github.com/nyaruka/temba-components/commit/200eda3bdf6918e95cfd61576aac4c1c98c4785f)
717
759
 
718
760
  #### [v0.5.0](https://github.com/nyaruka/temba-components/compare/v0.4.1...v0.5.0)
719
761
 
720
762
  > 21 September 2020
721
763
 
722
764
  - add disabled state for temba-field and temba-checkbox [`#16`](https://github.com/nyaruka/temba-components/pull/16)
723
- - Add screenshot test for searching with multiple selections [`200eda3`](https://github.com/nyaruka/temba-components/commit/200eda3bdf6918e95cfd61576aac4c1c98c4785f)
724
765
  - Fix security alert [`594711b`](https://github.com/nyaruka/temba-components/commit/594711b27bf8f9716920649d4f3d72a6cbfd30f7)
725
766
  - let temba-field set color, disable cursor [`fb48afd`](https://github.com/nyaruka/temba-components/commit/fb48afd1b2a8d73e7097d0d5ef8133f7c0d3201c)
726
767
 
@@ -752,13 +793,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
752
793
 
753
794
  #### [v0.3.8](https://github.com/nyaruka/temba-components/compare/v0.3.7...v0.3.8)
754
795
 
755
- > 1 September 2020
796
+ > 31 August 2020
756
797
 
757
798
  - Remove cruft [`bf952a7`](https://github.com/nyaruka/temba-components/commit/bf952a7f2823a49af9a656a404394539ce532f48)
758
799
 
759
800
  #### [v0.3.7](https://github.com/nyaruka/temba-components/compare/v0.3.6...v0.3.7)
760
801
 
761
- > 1 September 2020
802
+ > 31 August 2020
762
803
 
763
804
  - Initialize date picker to provided date [`621b2eb`](https://github.com/nyaruka/temba-components/commit/621b2eb599179753aa77e9395c73dd0e5bd6d312)
764
805
  - Dialog loading animation placement [`f9a1308`](https://github.com/nyaruka/temba-components/commit/f9a13084990062e246e4817300e665460e269a2e)
@@ -771,7 +812,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
771
812
 
772
813
  #### [v0.3.5](https://github.com/nyaruka/temba-components/compare/v0.3.4...v0.3.5)
773
814
 
774
- > 28 August 2020
815
+ > 27 August 2020
775
816
 
776
817
  - Remove debug [`edb3d17`](https://github.com/nyaruka/temba-components/commit/edb3d17f9e5b346062b9dbc6219e915b00170ffc)
777
818
 
@@ -783,14 +824,14 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
783
824
 
784
825
  #### [v0.3.3](https://github.com/nyaruka/temba-components/compare/v0.3.2...v0.3.3)
785
826
 
786
- > 27 August 2020
827
+ > 26 August 2020
787
828
 
788
829
  - Add specificity to deal with shadycss conflicts [`5337569`](https://github.com/nyaruka/temba-components/commit/53375699b409f8973db7715c8a00c73ab27561f4)
789
830
  - Make select the same height as inputs [`1ea7230`](https://github.com/nyaruka/temba-components/commit/1ea72305fcf828a7aaafdbb0682bcecd24b83777)
790
831
 
791
832
  #### [v0.3.2](https://github.com/nyaruka/temba-components/compare/v0.3.1...v0.3.2)
792
833
 
793
- > 23 August 2020
834
+ > 22 August 2020
794
835
 
795
836
  - Bump serialize-javascript from 3.0.0 to 3.1.0 [`#9`](https://github.com/nyaruka/temba-components/pull/9)
796
837
  - Support default datetimes, add clearable for TextInput [`1e53b38`](https://github.com/nyaruka/temba-components/commit/1e53b38c8aca05b18be0db409f23317966905c3d)
@@ -813,31 +854,35 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
813
854
 
814
855
  #### [v0.2.1](https://github.com/nyaruka/temba-components/compare/v0.2.0...v0.2.1)
815
856
 
816
- > 30 July 2020
857
+ > 29 July 2020
817
858
 
818
859
  - Better support for destructive modax and redirects [`1c950eb`](https://github.com/nyaruka/temba-components/commit/1c950eb6d3a19f0bc790a83b6f9f898648c171a8)
819
860
 
820
861
  #### [v0.2.0](https://github.com/nyaruka/temba-components/compare/v0.1.8...v0.2.0)
821
862
 
822
- > 27 July 2020
863
+ > 26 July 2020
823
864
 
824
865
  - Support for rp refresh [`#7`](https://github.com/nyaruka/temba-components/pull/7)
825
866
  - Add datepicker option to textinput, lots of styling tweaks [`e7a87f8`](https://github.com/nyaruka/temba-components/commit/e7a87f852f8c1b209ce31e10134815373e785768)
826
867
  - Tag support for multi select [`457b191`](https://github.com/nyaruka/temba-components/commit/457b1917396460209cc7c6ec31b1b8a6479e5e2e)
827
- - Bump lodash from 4.17.15 to 4.17.19 [`8d70b81`](https://github.com/nyaruka/temba-components/commit/8d70b81657ffc4e53e83d8bd2ccc2f48b718be29)
868
+ - Temporary transform to support animation without breaking fixed [`95f6079`](https://github.com/nyaruka/temba-components/commit/95f6079b2e5810e7f056a0caae7dc35589506947)
828
869
 
829
870
  #### [v0.1.8](https://github.com/nyaruka/temba-components/compare/v0.1.7...v0.1.8)
830
871
 
831
- > 18 June 2020
872
+ > 17 June 2020
832
873
 
833
- - Bump websocket-extensions from 0.1.3 to 0.1.4 [`bd4b634`](https://github.com/nyaruka/temba-components/commit/bd4b6346ffc07a1c2286effd2ebd95d661f7010c)
834
874
  - Add event hooks for textinput [`12f37f0`](https://github.com/nyaruka/temba-components/commit/12f37f0fed5a736eff283ccd41daa815c7b188f0)
835
875
 
836
- #### [v0.1.7](https://github.com/nyaruka/temba-components/compare/v0.1.5...v0.1.7)
876
+ #### [v0.1.7](https://github.com/nyaruka/temba-components/compare/v0.1.6...v0.1.7)
837
877
 
838
- > 2 June 2020
878
+ > 1 June 2020
839
879
 
840
880
  - General styling updates [`#4`](https://github.com/nyaruka/temba-components/pull/4)
881
+
882
+ #### [v0.1.6](https://github.com/nyaruka/temba-components/compare/v0.1.5...v0.1.6)
883
+
884
+ > 1 June 2020
885
+
841
886
  - More tweaks for edge [`#3`](https://github.com/nyaruka/temba-components/pull/3)
842
887
  - Add disabled select, and extra styling options for button [`ef6942f`](https://github.com/nyaruka/temba-components/commit/ef6942f83eaa13905c18c247e9b02ec20fc5fe52)
843
888
 
@@ -876,7 +921,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
876
921
 
877
922
  #### [v0.1.0](https://github.com/nyaruka/temba-components/compare/v0.0.19...v0.1.0)
878
923
 
879
- > 12 March 2020
924
+ > 11 March 2020
880
925
 
881
926
  - Update include replacement pattern [`0be3a97`](https://github.com/nyaruka/temba-components/commit/0be3a972076a221a9c713a12153131f0f5645187)
882
927
 
@@ -914,21 +959,23 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
914
959
 
915
960
  > 11 March 2020
916
961
 
962
+ - Update publish.yml [`a8d5bb4`](https://github.com/nyaruka/temba-components/commit/a8d5bb45489a4adffd339a7ebe08ae661d7a84b8)
963
+
917
964
  #### [v0.0.13](https://github.com/nyaruka/temba-components/compare/v0.0.12...v0.0.13)
918
965
 
919
966
  > 11 March 2020
920
967
 
921
- - Update publish.yml [`a8d5bb4`](https://github.com/nyaruka/temba-components/commit/a8d5bb45489a4adffd339a7ebe08ae661d7a84b8)
922
-
923
968
  #### [v0.0.12](https://github.com/nyaruka/temba-components/compare/v0.0.11...v0.0.12)
924
969
 
925
970
  > 11 March 2020
926
971
 
972
+ - Create publish.yml [`022aa78`](https://github.com/nyaruka/temba-components/commit/022aa781310870a9e5786ad6128fc3491fceb4ed)
973
+
927
974
  #### [v0.0.11](https://github.com/nyaruka/temba-components/compare/v0.0.10...v0.0.11)
928
975
 
929
976
  > 11 March 2020
930
977
 
931
- - Create publish.yml [`022aa78`](https://github.com/nyaruka/temba-components/commit/022aa781310870a9e5786ad6128fc3491fceb4ed)
978
+ - Create LICENSE.md [`a6574fc`](https://github.com/nyaruka/temba-components/commit/a6574fc2c3e5b57d5fda0c3aaecedd30faaf01a3)
932
979
 
933
980
  #### v0.0.10
934
981
 
@@ -937,4 +984,4 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
937
984
  - Bump axios from 0.18.0 to 0.18.1 [`#1`](https://github.com/nyaruka/temba-components/pull/1)
938
985
  - Initial temba components [`86e8cce`](https://github.com/nyaruka/temba-components/commit/86e8cce2bae797da8851d2c2caa4e005c137f279)
939
986
  - package audit [`6e613a9`](https://github.com/nyaruka/temba-components/commit/6e613a956abf091ff1f17898f8b31440c93b0bdc)
940
- - Create LICENSE.md [`a6574fc`](https://github.com/nyaruka/temba-components/commit/a6574fc2c3e5b57d5fda0c3aaecedd30faaf01a3)
987
+ - Prep for npm publishing [`66f3f44`](https://github.com/nyaruka/temba-components/commit/66f3f442049da4bb6874436240bdeb9e5d4872e6)