@nyaruka/temba-components 0.20.0 → 0.24.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/.eslintrc.js +1 -0
- package/CHANGELOG.md +38 -0
- package/dist/ef1b57e2.js +356 -0
- package/dist/index.js +356 -1
- package/dist/static/icons/symbol-defs.svg +56 -20
- 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/anchor/Anchor.js +25 -0
- package/out-tsc/src/anchor/Anchor.js.map +1 -0
- package/out-tsc/src/checkbox/Checkbox.js +29 -14
- package/out-tsc/src/checkbox/Checkbox.js.map +1 -1
- package/out-tsc/src/contacts/ContactDetails.js +9 -5
- package/out-tsc/src/contacts/ContactDetails.js.map +1 -1
- package/out-tsc/src/contacts/ContactHistory.js +1 -5
- package/out-tsc/src/contacts/ContactHistory.js.map +1 -1
- package/out-tsc/src/contacts/events.js +33 -7
- package/out-tsc/src/contacts/events.js.map +1 -1
- package/out-tsc/src/contactsearch/ContactSearch.js +126 -51
- package/out-tsc/src/contactsearch/ContactSearch.js.map +1 -1
- package/out-tsc/src/dialog/Dialog.js +11 -2
- package/out-tsc/src/dialog/Dialog.js.map +1 -1
- package/out-tsc/src/dialog/Modax.js +23 -4
- package/out-tsc/src/dialog/Modax.js.map +1 -1
- package/out-tsc/src/interfaces.js +1 -0
- package/out-tsc/src/interfaces.js.map +1 -1
- package/out-tsc/src/list/TembaMenu.js +384 -81
- package/out-tsc/src/list/TembaMenu.js.map +1 -1
- package/out-tsc/src/omnibox/Omnibox.js +7 -1
- package/out-tsc/src/omnibox/Omnibox.js.map +1 -1
- package/out-tsc/src/select/Select.js +7 -1
- package/out-tsc/src/select/Select.js.map +1 -1
- package/out-tsc/src/textinput/TextInput.js +42 -1
- package/out-tsc/src/textinput/TextInput.js.map +1 -1
- package/out-tsc/src/utils/index.js +13 -14
- package/out-tsc/src/utils/index.js.map +1 -1
- package/out-tsc/src/vectoricon/VectorIcon.js +2 -1
- package/out-tsc/src/vectoricon/VectorIcon.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-menu.test.js +0 -13
- package/out-tsc/test/temba-menu.test.js.map +1 -1
- package/package.json +4 -4
- package/screenshots/truth/checkbox/checked.png +0 -0
- package/screenshots/truth/checkbox/default.png +0 -0
- package/screenshots/truth/contacts/history-expanded.png +0 -0
- package/screenshots/truth/list/items-selected.png +0 -0
- package/screenshots/truth/list/items-updated.png +0 -0
- package/screenshots/truth/list/items.png +0 -0
- package/screenshots/truth/list/menu-submenu.png +0 -0
- package/src/anchor/Anchor.ts +26 -0
- package/src/checkbox/Checkbox.ts +31 -16
- package/src/contacts/ContactDetails.ts +9 -5
- package/src/contacts/ContactHistory.ts +0 -4
- package/src/contacts/events.ts +33 -7
- package/src/contactsearch/ContactSearch.ts +132 -54
- package/src/dialog/Dialog.ts +12 -2
- package/src/dialog/Modax.ts +20 -4
- package/src/interfaces.ts +1 -0
- package/src/list/TembaMenu.ts +424 -93
- package/src/omnibox/Omnibox.ts +9 -1
- package/src/select/Select.ts +9 -1
- package/src/textinput/TextInput.ts +47 -1
- package/src/utils/index.ts +17 -16
- package/src/vectoricon/VectorIcon.ts +2 -1
- package/static/icons/Read Me.txt +1 -1
- package/static/icons/SVG/channel.svg +5 -0
- package/static/icons/SVG/cloud1.svg +5 -0
- package/static/icons/SVG/codepen.svg +5 -0
- package/static/icons/SVG/codesandbox.svg +5 -0
- package/static/icons/SVG/git-pull-request.svg +5 -0
- package/static/icons/SVG/grid.svg +5 -0
- package/static/icons/SVG/hard-drive.svg +5 -0
- package/static/icons/SVG/layout.svg +5 -0
- package/static/icons/SVG/list.svg +5 -0
- package/static/icons/SVG/map-pin.svg +5 -0
- package/static/icons/SVG/menu.svg +5 -0
- package/static/icons/SVG/package.svg +5 -0
- package/static/icons/SVG/zapier.svg +5 -0
- package/static/icons/demo-external-svg.html +232 -172
- package/static/icons/demo-files/demo.css +4 -4
- package/static/icons/demo.html +288 -192
- package/static/icons/selection.json +646 -345
- package/static/icons/style.css +4 -4
- package/static/icons/symbol-defs.svg +56 -20
- package/temba-modules.ts +2 -0
- package/test/temba-menu.test.ts +0 -16
- package/test-assets/style.css +1 -1
- package/dist/b10b5805.js +0 -1
- package/static/icons/SVG/zendesk1.svg +0 -5
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/explicit-module-boundary-types': 'off',
|
|
14
15
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
15
16
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
16
17
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,44 @@ 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.24.0](https://github.com/nyaruka/temba-components/compare/v0.23.0...v0.24.0)
|
|
8
|
+
|
|
9
|
+
> 14 January 2022
|
|
10
|
+
|
|
11
|
+
- Changes for start flow [`#146`](https://github.com/nyaruka/temba-components/pull/146)
|
|
12
|
+
- Add autogrow attribute for temba-textinput [`#145`](https://github.com/nyaruka/temba-components/pull/145)
|
|
13
|
+
- Update contact search to have link instead of summary [`ee8435e`](https://github.com/nyaruka/temba-components/commit/ee8435e6f707c136ee0a212365300bfdc2582e05)
|
|
14
|
+
- Tweak styling for checkboxes, make full width [`2f3915e`](https://github.com/nyaruka/temba-components/commit/2f3915ef8c3ad9ace1bbde968e732f6c86434d44)
|
|
15
|
+
- Add auto grow option for textareas [`a4cc8aa`](https://github.com/nyaruka/temba-components/commit/a4cc8aaed56c32805c54d21cab3d119a3bfd79d0)
|
|
16
|
+
|
|
17
|
+
#### [v0.23.0](https://github.com/nyaruka/temba-components/compare/v0.22.0...v0.23.0)
|
|
18
|
+
|
|
19
|
+
> 30 November 2021
|
|
20
|
+
|
|
21
|
+
- Add temba-anchor [`#144`](https://github.com/nyaruka/temba-components/pull/144)
|
|
22
|
+
|
|
23
|
+
#### [v0.22.0](https://github.com/nyaruka/temba-components/compare/v0.21.0...v0.22.0)
|
|
24
|
+
|
|
25
|
+
> 19 November 2021
|
|
26
|
+
|
|
27
|
+
- Event log [`#143`](https://github.com/nyaruka/temba-components/pull/143)
|
|
28
|
+
- Add vanity url support to menu [`#142`](https://github.com/nyaruka/temba-components/pull/142)
|
|
29
|
+
- Fix event log links, new icons, menu no-path events [`eef97a8`](https://github.com/nyaruka/temba-components/commit/eef97a8db9b6492d199be08240d6ea58596a10a7)
|
|
30
|
+
- Update screenshots [`f4dc4f1`](https://github.com/nyaruka/temba-components/commit/f4dc4f1a9e4c3e0eafe26354be118779609b5a2d)
|
|
31
|
+
|
|
32
|
+
#### [v0.21.0](https://github.com/nyaruka/temba-components/compare/v0.20.0...v0.21.0)
|
|
33
|
+
|
|
34
|
+
> 6 November 2021
|
|
35
|
+
|
|
36
|
+
- Collapsed nesting [`#141`](https://github.com/nyaruka/temba-components/pull/141)
|
|
37
|
+
- Add collapsed nesting support to menu [`2974eb3`](https://github.com/nyaruka/temba-components/commit/2974eb3b2d2e9047655dcfcfe0e340581a38f456)
|
|
38
|
+
- Update tests [`af39e71`](https://github.com/nyaruka/temba-components/commit/af39e71eb8d2a5086ca103d1c8e5afe6db01f5f4)
|
|
39
|
+
- Tweak item alignment [`775c6ac`](https://github.com/nyaruka/temba-components/commit/775c6acb76a97b06764ae6b6542862c9f8b824c4)
|
|
40
|
+
|
|
41
|
+
#### [v0.20.0](https://github.com/nyaruka/temba-components/compare/v0.19.0...v0.20.0)
|
|
42
|
+
|
|
43
|
+
> 21 October 2021
|
|
44
|
+
|
|
7
45
|
#### [v0.19.0](https://github.com/nyaruka/temba-components/compare/v0.18.1...v0.19.0)
|
|
8
46
|
|
|
9
47
|
> 21 October 2021
|