@nyaruka/temba-components 0.19.0 → 0.23.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 +28 -0
- package/dist/28f45617.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/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/dialog/Modax.js +11 -2
- package/out-tsc/src/dialog/Modax.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/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/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/contacts/ContactDetails.ts +9 -5
- package/src/contacts/ContactHistory.ts +0 -4
- package/src/contacts/events.ts +33 -7
- package/src/dialog/Modax.ts +11 -2
- package/src/list/TembaMenu.ts +424 -93
- 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,34 @@ 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.23.0](https://github.com/nyaruka/temba-components/compare/v0.22.0...v0.23.0)
|
|
8
|
+
|
|
9
|
+
> 30 November 2021
|
|
10
|
+
|
|
11
|
+
- Add temba-anchor [`#144`](https://github.com/nyaruka/temba-components/pull/144)
|
|
12
|
+
|
|
13
|
+
#### [v0.22.0](https://github.com/nyaruka/temba-components/compare/v0.21.0...v0.22.0)
|
|
14
|
+
|
|
15
|
+
> 19 November 2021
|
|
16
|
+
|
|
17
|
+
- Event log [`#143`](https://github.com/nyaruka/temba-components/pull/143)
|
|
18
|
+
- Add vanity url support to menu [`#142`](https://github.com/nyaruka/temba-components/pull/142)
|
|
19
|
+
- Fix event log links, new icons, menu no-path events [`eef97a8`](https://github.com/nyaruka/temba-components/commit/eef97a8db9b6492d199be08240d6ea58596a10a7)
|
|
20
|
+
- Update screenshots [`f4dc4f1`](https://github.com/nyaruka/temba-components/commit/f4dc4f1a9e4c3e0eafe26354be118779609b5a2d)
|
|
21
|
+
|
|
22
|
+
#### [v0.21.0](https://github.com/nyaruka/temba-components/compare/v0.20.0...v0.21.0)
|
|
23
|
+
|
|
24
|
+
> 6 November 2021
|
|
25
|
+
|
|
26
|
+
- Collapsed nesting [`#141`](https://github.com/nyaruka/temba-components/pull/141)
|
|
27
|
+
- Add collapsed nesting support to menu [`2974eb3`](https://github.com/nyaruka/temba-components/commit/2974eb3b2d2e9047655dcfcfe0e340581a38f456)
|
|
28
|
+
- Update tests [`af39e71`](https://github.com/nyaruka/temba-components/commit/af39e71eb8d2a5086ca103d1c8e5afe6db01f5f4)
|
|
29
|
+
- Tweak item alignment [`775c6ac`](https://github.com/nyaruka/temba-components/commit/775c6acb76a97b06764ae6b6542862c9f8b824c4)
|
|
30
|
+
|
|
31
|
+
#### [v0.20.0](https://github.com/nyaruka/temba-components/compare/v0.19.0...v0.20.0)
|
|
32
|
+
|
|
33
|
+
> 21 October 2021
|
|
34
|
+
|
|
7
35
|
#### [v0.19.0](https://github.com/nyaruka/temba-components/compare/v0.18.1...v0.19.0)
|
|
8
36
|
|
|
9
37
|
> 21 October 2021
|