@nyaruka/temba-components 0.33.3 → 0.33.4
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 +21 -5
- package/demo/index.html +1 -1
- package/dist/{7b0d8aca.js → a374554b.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 +3 -0
- 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 +3 -0
- package/static/svg/index.pdf +137 -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,10 +4,14 @@ 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.
|
|
7
|
+
#### [v0.33.4](https://github.com/nyaruka/temba-components/compare/v0.33.2...v0.33.4)
|
|
8
8
|
|
|
9
|
+
- Switch to node 16 [`#219`](https://github.com/nyaruka/temba-components/pull/219)
|
|
10
|
+
- Add sortable and field manager [`#218`](https://github.com/nyaruka/temba-components/pull/218)
|
|
9
11
|
- Tweak tab alignment, nicer hovers [`#216`](https://github.com/nyaruka/temba-components/pull/216)
|
|
10
|
-
- Add
|
|
12
|
+
- Add tests for field manager [`291efb6`](https://github.com/nyaruka/temba-components/commit/291efb6c0a0beb3b949e984f87e74ec85267d05d)
|
|
13
|
+
- pinned to featured [`63a75f8`](https://github.com/nyaruka/temba-components/commit/63a75f85b3b14a42dabd322b41dd8ae765e948f8)
|
|
14
|
+
- Remove useless test [`43dccae`](https://github.com/nyaruka/temba-components/commit/43dccae2a0dea7625a511826885d5064a2e5c887)
|
|
11
15
|
|
|
12
16
|
#### [v0.33.2](https://github.com/nyaruka/temba-components/compare/v0.33.1...v0.33.2)
|
|
13
17
|
|
|
@@ -128,13 +132,19 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
128
132
|
- Allow null labels [`ca6e105`](https://github.com/nyaruka/temba-components/commit/ca6e10560fa3ee2099043d26ae1a11c43610d29e)
|
|
129
133
|
- Fix checkboxes with no label [`0587ed9`](https://github.com/nyaruka/temba-components/commit/0587ed9fb6fd1833d2b669d3b6e0f8cb9d710557)
|
|
130
134
|
|
|
131
|
-
#### [v0.31.0](https://github.com/nyaruka/temba-components/compare/v0.
|
|
135
|
+
#### [v0.31.0](https://github.com/nyaruka/temba-components/compare/v0.30.0...v0.31.0)
|
|
132
136
|
|
|
133
137
|
> 23 August 2022
|
|
134
138
|
|
|
135
139
|
- Add RunList component [`#191`](https://github.com/nyaruka/temba-components/pull/191)
|
|
136
140
|
- fixed goofy checkbox label background hover [`#190`](https://github.com/nyaruka/temba-components/pull/190)
|
|
137
141
|
- added trim for whitespace to remove goofy label background hover [`fd6ed1a`](https://github.com/nyaruka/temba-components/commit/fd6ed1aa961844d997376d025ff817725d63f1cb)
|
|
142
|
+
|
|
143
|
+
#### [v0.30.0](https://github.com/nyaruka/temba-components/compare/v0.29.3...v0.30.0)
|
|
144
|
+
|
|
145
|
+
> 23 August 2022
|
|
146
|
+
|
|
147
|
+
- Add RunList component [`4135992`](https://github.com/nyaruka/temba-components/commit/41359924c09ed0b75f73207e7f182bebb325b5e3)
|
|
138
148
|
- Remove comment, tweak formatting [`f31ac4b`](https://github.com/nyaruka/temba-components/commit/f31ac4b423b38d0feaf59a05a254f8aac726f4da)
|
|
139
149
|
- Reduce wait for screenshot a bit [`1ef77ae`](https://github.com/nyaruka/temba-components/commit/1ef77aecb941e2cc0442308e580aa6a55920d127)
|
|
140
150
|
|
|
@@ -685,13 +695,19 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
685
695
|
|
|
686
696
|
- Create index build [`68cff93`](https://github.com/nyaruka/temba-components/commit/68cff937919ff4dec7a7764a9b60363d33f1209a)
|
|
687
697
|
|
|
688
|
-
#### [v0.11.1](https://github.com/nyaruka/temba-components/compare/v0.
|
|
698
|
+
#### [v0.11.1](https://github.com/nyaruka/temba-components/compare/v0.11.0...v0.11.1)
|
|
689
699
|
|
|
690
700
|
> 27 April 2021
|
|
691
701
|
|
|
692
702
|
- 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
703
|
- Revert "version" [`ea3cd27`](https://github.com/nyaruka/temba-components/commit/ea3cd27f218c970b8ef018275c05d0802bd202b2)
|
|
704
|
+
- version [`6a211a0`](https://github.com/nyaruka/temba-components/commit/6a211a0447d7f2c14954e8d9b97843daf8bca15b)
|
|
705
|
+
|
|
706
|
+
#### [v0.11.0](https://github.com/nyaruka/temba-components/compare/v0.10.3...v0.11.0)
|
|
707
|
+
|
|
708
|
+
> 27 April 2021
|
|
709
|
+
|
|
710
|
+
- Create bundle index [`c39f230`](https://github.com/nyaruka/temba-components/commit/c39f2304271f2c437e87eab6918babe8191371de)
|
|
695
711
|
|
|
696
712
|
#### [v0.10.3](https://github.com/nyaruka/temba-components/compare/v0.10.2...v0.10.3)
|
|
697
713
|
|