@nyaruka/temba-components 0.25.0 → 0.26.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/demo/index.html +3 -1
  3. package/dist/b5b37a88.js +1 -0
  4. package/dist/index.js +1 -356
  5. package/dist/sw.js +1 -1
  6. package/dist/sw.js.map +1 -1
  7. package/dist/templates/components-body.html +1 -1
  8. package/dist/templates/components-head.html +1 -1
  9. package/out-tsc/src/aliaseditor/AliasEditor.js +1 -2
  10. package/out-tsc/src/aliaseditor/AliasEditor.js.map +1 -1
  11. package/out-tsc/src/list/TembaMenu.js +76 -22
  12. package/out-tsc/src/list/TembaMenu.js.map +1 -1
  13. package/out-tsc/src/options/Options.js +14 -4
  14. package/out-tsc/src/options/Options.js.map +1 -1
  15. package/out-tsc/src/select/Select.js +14 -12
  16. package/out-tsc/src/select/Select.js.map +1 -1
  17. package/out-tsc/src/vectoricon/VectorIcon.js +6 -1
  18. package/out-tsc/src/vectoricon/VectorIcon.js.map +1 -1
  19. package/package.json +2 -2
  20. package/screenshots/truth/select/disabled-multi-selection.png +0 -0
  21. package/screenshots/truth/select/disabled-selection.png +0 -0
  22. package/screenshots/truth/select/disabled.png +0 -0
  23. package/screenshots/truth/select/embedded.png +0 -0
  24. package/screenshots/truth/select/expression-selected.png +0 -0
  25. package/screenshots/truth/select/expressions.png +0 -0
  26. package/screenshots/truth/select/functions.png +0 -0
  27. package/screenshots/truth/select/local-options.png +0 -0
  28. package/screenshots/truth/select/remote-options.png +0 -0
  29. package/screenshots/truth/select/search-enabled.png +0 -0
  30. package/screenshots/truth/select/search-multi-no-matches.png +0 -0
  31. package/screenshots/truth/select/search-selected-focus.png +0 -0
  32. package/screenshots/truth/select/search-selected.png +0 -0
  33. package/screenshots/truth/select/search-with-selected.png +0 -0
  34. package/screenshots/truth/select/searching.png +0 -0
  35. package/screenshots/truth/select/selected-multi.png +0 -0
  36. package/screenshots/truth/select/selected-single.png +0 -0
  37. package/screenshots/truth/select/selection-clearable.png +0 -0
  38. package/screenshots/truth/select/with-placeholder.png +0 -0
  39. package/screenshots/truth/select/without-placeholder.png +0 -0
  40. package/src/aliaseditor/AliasEditor.ts +1 -2
  41. package/src/list/TembaMenu.ts +82 -22
  42. package/src/options/Options.ts +15 -4
  43. package/src/select/Select.ts +14 -12
  44. package/src/vectoricon/VectorIcon.ts +6 -1
  45. package/web-test-runner.config.mjs +127 -117
  46. package/dist/e4bb741a.js +0 -356
package/CHANGELOG.md CHANGED
@@ -4,6 +4,32 @@ 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.26.0](https://github.com/nyaruka/temba-components/compare/v0.25.2...v0.26.0)
8
+
9
+ > 4 March 2022
10
+
11
+ - Bump marked from 0.7.0 to 4.0.10 [`#147`](https://github.com/nyaruka/temba-components/pull/147)
12
+ - Bump node-fetch from 2.6.1 to 2.6.7 [`#149`](https://github.com/nyaruka/temba-components/pull/149)
13
+ - Bump prismjs from 1.25.0 to 1.27.0 [`#153`](https://github.com/nyaruka/temba-components/pull/153)
14
+ - Menu buttons [`#154`](https://github.com/nyaruka/temba-components/pull/154)
15
+ - Add buttons to TembaMenu. Prefix for VectorIcon. [`f71c5ff`](https://github.com/nyaruka/temba-components/commit/f71c5ffa1a7f93614df15f72d058df4d877b733f)
16
+
17
+ #### [v0.25.2](https://github.com/nyaruka/temba-components/compare/v0.25.1...v0.25.2)
18
+
19
+ > 5 February 2022
20
+
21
+ - Capture mouse down on option scroll [`2767d53`](https://github.com/nyaruka/temba-components/commit/2767d534267d810cd6cc1ed4ab7b1268c1eb2c47)
22
+
23
+ #### [v0.25.1](https://github.com/nyaruka/temba-components/compare/v0.25.0...v0.25.1)
24
+
25
+ > 4 February 2022
26
+
27
+ - Hold focus on options until mouse up [`#151`](https://github.com/nyaruka/temba-components/pull/151)
28
+ - Select format [`#150`](https://github.com/nyaruka/temba-components/pull/150)
29
+ - Add simple collapse to menu [`d12448e`](https://github.com/nyaruka/temba-components/commit/d12448e7158e75502c8400cc03e017c9a206dbe3)
30
+ - Pixel pushing on the select widget [`fb57486`](https://github.com/nyaruka/temba-components/commit/fb57486cc65e682809968815420fd717bd1489bc)
31
+ - Update screenshots [`c2b4223`](https://github.com/nyaruka/temba-components/commit/c2b4223d286531797315309323f2f67a7858751b)
32
+
7
33
  #### [v0.25.0](https://github.com/nyaruka/temba-components/compare/v0.24.1...v0.25.0)
8
34
 
9
35
  > 26 January 2022
package/demo/index.html CHANGED
@@ -18,12 +18,15 @@
18
18
  border: 0px solid gray;
19
19
  padding: 10px;
20
20
  max-width: 500px;
21
+
22
+ --temba-select-selected-font-size: 1em;
21
23
  }
22
24
  </style>
23
25
  <script type="module">
24
26
  import '../out-tsc/temba-modules.js';
25
27
  </script>
26
28
  <script>
29
+ // var static_url = '/static/';
27
30
  function handleColorChange(event) {
28
31
  var color = event.target.values[0].name;
29
32
  if (color == 'Green') {
@@ -92,7 +95,6 @@
92
95
  values='[{"name":"Red","value":"0"}]'
93
96
  searchable
94
97
  multi
95
- disabled
96
98
  >
97
99
  <temba-option name="Red" value="0"></temba-option>
98
100
  <temba-option name="Green" value="1"></temba-option>