@nyaruka/temba-components 0.33.3 → 0.33.5
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/build.yml +4 -5
- package/CHANGELOG.md +33 -3
- package/demo/index.html +1 -1
- package/dist/{7b0d8aca.js → 72be961a.js} +304 -78
- package/dist/index.js +304 -78
- 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/FormElement.js +9 -6
- package/out-tsc/src/FormElement.js.map +1 -1
- package/out-tsc/src/contacts/ContactDetails.js +1 -1
- package/out-tsc/src/contacts/ContactDetails.js.map +1 -1
- package/out-tsc/src/contacts/ContactFields.js +6 -5
- package/out-tsc/src/contacts/ContactFields.js.map +1 -1
- package/out-tsc/src/contacts/ContactHistory.js +4 -4
- package/out-tsc/src/contacts/ContactHistory.js.map +1 -1
- package/out-tsc/src/fields/FieldManager.js +323 -0
- package/out-tsc/src/fields/FieldManager.js.map +1 -0
- package/out-tsc/src/interfaces.js +3 -0
- package/out-tsc/src/interfaces.js.map +1 -1
- package/out-tsc/src/list/SortableList.js +193 -0
- package/out-tsc/src/list/SortableList.js.map +1 -0
- package/out-tsc/src/store/Store.js +28 -17
- package/out-tsc/src/store/Store.js.map +1 -1
- package/out-tsc/src/store/StoreElement.js +1 -0
- package/out-tsc/src/store/StoreElement.js.map +1 -1
- package/out-tsc/src/vectoricon/index.js +7 -3
- package/out-tsc/src/vectoricon/index.js.map +1 -1
- package/out-tsc/temba-modules.js +4 -0
- package/out-tsc/temba-modules.js.map +1 -1
- package/out-tsc/test/temba-field-manager.test.js +47 -0
- package/out-tsc/test/temba-field-manager.test.js.map +1 -0
- package/out-tsc/test/temba-sortable-list.test.js +48 -0
- package/out-tsc/test/temba-sortable-list.test.js.map +1 -0
- package/out-tsc/test/temba-store.test.js +1 -1
- package/out-tsc/test/temba-store.test.js.map +1 -1
- package/package.json +1 -1
- package/screenshots/truth/list/fields-dragging.png +0 -0
- package/screenshots/truth/list/fields-filtered.png +0 -0
- package/screenshots/truth/list/fields-hovered.png +0 -0
- package/screenshots/truth/list/fields.png +0 -0
- package/screenshots/truth/list/sortable-dragging.png +0 -0
- package/screenshots/truth/list/sortable-dropped.png +0 -0
- package/screenshots/truth/list/sortable.png +0 -0
- package/src/FormElement.ts +9 -6
- package/src/contacts/ContactDetails.ts +1 -1
- package/src/contacts/ContactFields.ts +6 -5
- package/src/contacts/ContactHistory.ts +4 -4
- package/src/fields/FieldManager.ts +353 -0
- package/src/interfaces.ts +5 -1
- package/src/list/SortableList.ts +224 -0
- package/src/store/Store.ts +34 -21
- package/src/store/StoreElement.ts +1 -0
- package/src/vectoricon/index.ts +7 -3
- package/static/svg/index.pdf +274 -0
- package/temba-modules.ts +4 -0
- package/test/temba-field-manager.test.ts +60 -0
- package/test/temba-sortable-list.test.ts +58 -0
- package/test/temba-store.test.ts +1 -1
- package/test-assets/store/fields.json +50 -5
|
@@ -7,10 +7,9 @@ jobs:
|
|
|
7
7
|
runs-on: macOS-11
|
|
8
8
|
steps:
|
|
9
9
|
- uses: actions/checkout@v1
|
|
10
|
-
-
|
|
11
|
-
uses: actions/setup-node@v1
|
|
10
|
+
- uses: actions/setup-node@v3
|
|
12
11
|
with:
|
|
13
|
-
node-version:
|
|
12
|
+
node-version: 16
|
|
14
13
|
- name: Screenshot Tests
|
|
15
14
|
run: |
|
|
16
15
|
yarn install
|
|
@@ -23,7 +22,7 @@ jobs:
|
|
|
23
22
|
name: screenshots
|
|
24
23
|
path: screenshots/
|
|
25
24
|
- name: Upload coverage to Codecov
|
|
26
|
-
uses: codecov/codecov-action@
|
|
25
|
+
uses: codecov/codecov-action@v3
|
|
27
26
|
with:
|
|
28
27
|
token: ${{secrets.CODECOV_TOKEN}}
|
|
29
|
-
|
|
28
|
+
files: coverage/lcov.info
|
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,26 @@ 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.33.5](https://github.com/nyaruka/temba-components/compare/v0.33.4...v0.33.5)
|
|
8
|
+
|
|
9
|
+
- Workspace icon [`#221`](https://github.com/nyaruka/temba-components/pull/221)
|
|
10
|
+
- Update icons [`841c5bb`](https://github.com/nyaruka/temba-components/commit/841c5bbd8fcf76e6ee5f7662037beb22020a05f6)
|
|
11
|
+
- Change workspace icon [`b2c3d0e`](https://github.com/nyaruka/temba-components/commit/b2c3d0ed5f81564e8052556fcdb6efa18b1e8ad9)
|
|
12
|
+
|
|
13
|
+
#### [v0.33.4](https://github.com/nyaruka/temba-components/compare/v0.33.3...v0.33.4)
|
|
14
|
+
|
|
15
|
+
> 29 November 2022
|
|
16
|
+
|
|
17
|
+
- Switch to node 16 [`#219`](https://github.com/nyaruka/temba-components/pull/219)
|
|
18
|
+
- Add sortable and field manager [`#218`](https://github.com/nyaruka/temba-components/pull/218)
|
|
19
|
+
- Add tests for field manager [`291efb6`](https://github.com/nyaruka/temba-components/commit/291efb6c0a0beb3b949e984f87e74ec85267d05d)
|
|
20
|
+
- pinned to featured [`63a75f8`](https://github.com/nyaruka/temba-components/commit/63a75f85b3b14a42dabd322b41dd8ae765e948f8)
|
|
21
|
+
- Remove useless test [`43dccae`](https://github.com/nyaruka/temba-components/commit/43dccae2a0dea7625a511826885d5064a2e5c887)
|
|
22
|
+
|
|
7
23
|
#### [v0.33.3](https://github.com/nyaruka/temba-components/compare/v0.33.2...v0.33.3)
|
|
8
24
|
|
|
25
|
+
> 21 November 2022
|
|
26
|
+
|
|
9
27
|
- Tweak tab alignment, nicer hovers [`#216`](https://github.com/nyaruka/temba-components/pull/216)
|
|
10
28
|
- Add link icon [`ae8d181`](https://github.com/nyaruka/temba-components/commit/ae8d181134287e11b6b11206e66eaa4df7cf41a0)
|
|
11
29
|
|
|
@@ -128,13 +146,19 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
128
146
|
- Allow null labels [`ca6e105`](https://github.com/nyaruka/temba-components/commit/ca6e10560fa3ee2099043d26ae1a11c43610d29e)
|
|
129
147
|
- Fix checkboxes with no label [`0587ed9`](https://github.com/nyaruka/temba-components/commit/0587ed9fb6fd1833d2b669d3b6e0f8cb9d710557)
|
|
130
148
|
|
|
131
|
-
#### [v0.31.0](https://github.com/nyaruka/temba-components/compare/v0.
|
|
149
|
+
#### [v0.31.0](https://github.com/nyaruka/temba-components/compare/v0.30.0...v0.31.0)
|
|
132
150
|
|
|
133
151
|
> 23 August 2022
|
|
134
152
|
|
|
135
153
|
- Add RunList component [`#191`](https://github.com/nyaruka/temba-components/pull/191)
|
|
136
154
|
- fixed goofy checkbox label background hover [`#190`](https://github.com/nyaruka/temba-components/pull/190)
|
|
137
155
|
- added trim for whitespace to remove goofy label background hover [`fd6ed1a`](https://github.com/nyaruka/temba-components/commit/fd6ed1aa961844d997376d025ff817725d63f1cb)
|
|
156
|
+
|
|
157
|
+
#### [v0.30.0](https://github.com/nyaruka/temba-components/compare/v0.29.3...v0.30.0)
|
|
158
|
+
|
|
159
|
+
> 23 August 2022
|
|
160
|
+
|
|
161
|
+
- Add RunList component [`4135992`](https://github.com/nyaruka/temba-components/commit/41359924c09ed0b75f73207e7f182bebb325b5e3)
|
|
138
162
|
- Remove comment, tweak formatting [`f31ac4b`](https://github.com/nyaruka/temba-components/commit/f31ac4b423b38d0feaf59a05a254f8aac726f4da)
|
|
139
163
|
- Reduce wait for screenshot a bit [`1ef77ae`](https://github.com/nyaruka/temba-components/commit/1ef77aecb941e2cc0442308e580aa6a55920d127)
|
|
140
164
|
|
|
@@ -685,13 +709,19 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
685
709
|
|
|
686
710
|
- Create index build [`68cff93`](https://github.com/nyaruka/temba-components/commit/68cff937919ff4dec7a7764a9b60363d33f1209a)
|
|
687
711
|
|
|
688
|
-
#### [v0.11.1](https://github.com/nyaruka/temba-components/compare/v0.
|
|
712
|
+
#### [v0.11.1](https://github.com/nyaruka/temba-components/compare/v0.11.0...v0.11.1)
|
|
689
713
|
|
|
690
714
|
> 27 April 2021
|
|
691
715
|
|
|
692
716
|
- Revert "Create bundle index" [`94b11ca`](https://github.com/nyaruka/temba-components/commit/94b11caecf0004f53c75780720548e0f1240908d)
|
|
693
|
-
- Create bundle index [`c39f230`](https://github.com/nyaruka/temba-components/commit/c39f2304271f2c437e87eab6918babe8191371de)
|
|
694
717
|
- Revert "version" [`ea3cd27`](https://github.com/nyaruka/temba-components/commit/ea3cd27f218c970b8ef018275c05d0802bd202b2)
|
|
718
|
+
- version [`6a211a0`](https://github.com/nyaruka/temba-components/commit/6a211a0447d7f2c14954e8d9b97843daf8bca15b)
|
|
719
|
+
|
|
720
|
+
#### [v0.11.0](https://github.com/nyaruka/temba-components/compare/v0.10.3...v0.11.0)
|
|
721
|
+
|
|
722
|
+
> 27 April 2021
|
|
723
|
+
|
|
724
|
+
- Create bundle index [`c39f230`](https://github.com/nyaruka/temba-components/commit/c39f2304271f2c437e87eab6918babe8191371de)
|
|
695
725
|
|
|
696
726
|
#### [v0.10.3](https://github.com/nyaruka/temba-components/compare/v0.10.2...v0.10.3)
|
|
697
727
|
|