@nyaruka/temba-components 0.36.1 → 0.37.1
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/.github/workflows/stale.yml +27 -0
- package/CHANGELOG.md +23 -0
- package/dist/135b99dc.js +5796 -0
- package/dist/index.js +5795 -0
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/templates/components-body.html +1 -0
- package/dist/templates/components-head.html +1 -0
- package/out-tsc/src/contacts/ContactFieldEditor.js +1 -1
- package/out-tsc/src/contacts/ContactFieldEditor.js.map +1 -1
- package/out-tsc/src/list/ContentMenu.js +22 -5
- package/out-tsc/src/list/ContentMenu.js.map +1 -1
- package/out-tsc/src/list/TembaList.js +8 -5
- package/out-tsc/src/list/TembaList.js.map +1 -1
- package/out-tsc/src/select/Select.js +18 -4
- package/out-tsc/src/select/Select.js.map +1 -1
- package/out-tsc/test/temba-contact-chat.test.js +40 -13
- package/out-tsc/test/temba-contact-chat.test.js.map +1 -1
- package/out-tsc/test/temba-contact-history.test.js +10 -10
- package/out-tsc/test/temba-contact-history.test.js.map +1 -1
- package/out-tsc/test/temba-content-menu.test.js +15 -1
- package/out-tsc/test/temba-content-menu.test.js.map +1 -1
- package/out-tsc/test/temba-field-manager.test.js +1 -1
- package/out-tsc/test/temba-field-manager.test.js.map +1 -1
- package/out-tsc/test/temba-list.test.js +29 -13
- package/out-tsc/test/temba-list.test.js.map +1 -1
- package/out-tsc/test/temba-modax.test.js +12 -8
- package/out-tsc/test/temba-modax.test.js.map +1 -1
- package/out-tsc/test/temba-select.test.js +21 -39
- package/out-tsc/test/temba-select.test.js.map +1 -1
- package/out-tsc/test/utils.test.js +10 -3
- package/out-tsc/test/utils.test.js.map +1 -1
- package/package.json +1 -1
- package/rollup.config.js +12 -7
- package/screenshots/truth/contacts/contact-active-default.png +0 -0
- package/screenshots/truth/contacts/contact-active-show-chatbox.png +0 -0
- package/screenshots/truth/contacts/contact-active-ticket-closed-show-reopen-button.png +0 -0
- package/screenshots/truth/contacts/contact-active-ticket-open-show-chatbox.png +0 -0
- package/screenshots/truth/contacts/contact-archived-hide-chatbox.png +0 -0
- package/screenshots/truth/contacts/contact-archived-ticket-closed-hide-chatbox.png +0 -0
- package/screenshots/truth/contacts/contact-blocked-hide-chatbox.png +0 -0
- package/screenshots/truth/contacts/contact-stopped-hide-chatbox.png +0 -0
- package/screenshots/truth/dialog/focused.png +0 -0
- package/screenshots/truth/modax/form.png +0 -0
- package/src/contacts/ContactFieldEditor.ts +1 -1
- package/src/list/ContentMenu.ts +26 -7
- package/src/list/TembaList.ts +9 -9
- package/src/select/Select.ts +23 -9
- package/test/temba-contact-chat.test.ts +54 -16
- package/test/temba-contact-history.test.ts +12 -20
- package/test/temba-content-menu.test.ts +24 -4
- package/test/temba-field-manager.test.ts +1 -1
- package/test/temba-list.test.ts +38 -16
- package/test/temba-modax.test.ts +30 -21
- package/test/temba-select.test.ts +25 -44
- package/test/utils.test.ts +11 -5
- package/test-assets/style.css +5 -0
- package/web-test-runner.config.mjs +18 -14
- package/dist/4d30c7b8.js +0 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
|
|
2
|
+
# For more information, see: https://github.com/actions/stale
|
|
3
|
+
name: Close stale issues and PRs
|
|
4
|
+
on:
|
|
5
|
+
schedule:
|
|
6
|
+
- cron: "30 1 * * *"
|
|
7
|
+
jobs:
|
|
8
|
+
stale:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
permissions:
|
|
11
|
+
issues: write
|
|
12
|
+
pull-requests: write
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/stale@v5
|
|
15
|
+
with:
|
|
16
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
17
|
+
stale-issue-label: "inactive"
|
|
18
|
+
stale-issue-message: "Without activity, this issue will be closed in 14 days."
|
|
19
|
+
close-issue-message: "This issue was closed for inactivity."
|
|
20
|
+
stale-pr-message: "Without activity, this PR will be closed in 14 days."
|
|
21
|
+
close-pr-message: "This PR was closed for inactivity."
|
|
22
|
+
stale-pr-label: "inactive"
|
|
23
|
+
days-before-pr-stale: 30
|
|
24
|
+
days-before-pr-close: 14
|
|
25
|
+
days-before-issue-stale: 30
|
|
26
|
+
days-before-issue-close: 14
|
|
27
|
+
exempt-all-assignees: true
|
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,31 @@ 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.37.1](https://github.com/nyaruka/temba-components/compare/v0.37.0...v0.37.1)
|
|
8
|
+
|
|
9
|
+
- Fix z-index for content-menu [`#252`](https://github.com/nyaruka/temba-components/pull/252)
|
|
10
|
+
- Test optimization for local vs ci [`#250`](https://github.com/nyaruka/temba-components/pull/250)
|
|
11
|
+
- Bump luxon from 2.5.0 to 2.5.2 [`#247`](https://github.com/nyaruka/temba-components/pull/247)
|
|
12
|
+
- Rework tests to be more deterministic [`#248`](https://github.com/nyaruka/temba-components/pull/248)
|
|
13
|
+
- Add logging for ci [`c62faab`](https://github.com/nyaruka/temba-components/commit/c62faab8cbcffbd1cad2828bd80eb15864f30b7c)
|
|
14
|
+
- Add extra wait if on ci [`f6247f0`](https://github.com/nyaruka/temba-components/commit/f6247f0375753c8233faf279642b6bfd6ddaaf65)
|
|
15
|
+
- Up the per-test timeout config [`50686ca`](https://github.com/nyaruka/temba-components/commit/50686ca870558dbeb1b02c09a9a96627f5004328)
|
|
16
|
+
|
|
17
|
+
#### [v0.37.0](https://github.com/nyaruka/temba-components/compare/v0.36.1...v0.37.0)
|
|
18
|
+
|
|
19
|
+
> 5 January 2023
|
|
20
|
+
|
|
21
|
+
- 🍔 new content menu part deux [`#233`](https://github.com/nyaruka/temba-components/pull/233)
|
|
22
|
+
- Fix template output on build [`#246`](https://github.com/nyaruka/temba-components/pull/246)
|
|
23
|
+
- Bump json5 from 1.0.1 to 1.0.2 [`#234`](https://github.com/nyaruka/temba-components/pull/234)
|
|
24
|
+
- console log cleanup and some unit tests [`6013e5a`](https://github.com/nyaruka/temba-components/commit/6013e5a5f89e9e24c0e5a73580b88dfe5bd6848f)
|
|
25
|
+
- query (search) working [`558cab0`](https://github.com/nyaruka/temba-components/commit/558cab088f7fb9c2cc686642ce2b0440d4e0a7f4)
|
|
26
|
+
- some logic updates - legacy (version) working, query (search) in progress [`4e60700`](https://github.com/nyaruka/temba-components/commit/4e6070005a554d71068870a01a74be8f7c5aa79a)
|
|
27
|
+
|
|
7
28
|
#### [v0.36.1](https://github.com/nyaruka/temba-components/compare/v0.36.0...v0.36.1)
|
|
8
29
|
|
|
30
|
+
> 16 December 2022
|
|
31
|
+
|
|
9
32
|
- Update publish target [`bbc151a`](https://github.com/nyaruka/temba-components/commit/bbc151a4ca1711c5eedac163623d6ac8bfd943d5)
|
|
10
33
|
|
|
11
34
|
#### [v0.36.0](https://github.com/nyaruka/temba-components/compare/v0.35.3...v0.36.0)
|