diff --git a/.cz.json b/.cz.json index 3edf05c..8a7352f 100644 --- a/.cz.json +++ b/.cz.json @@ -1,7 +1,7 @@ { "commitizen": { "name": "cz_nhm", - "version": "0.6.0", + "version": "0.7.0", "tag_format": "v$version", "update_changelog_on_bump": true, "changelog_incremental": true, diff --git a/CHANGELOG.md b/CHANGELOG.md index 985647e..8a4971c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,65 @@ +## v0.7.0 (2024-01-12) + +### Feature + +- add order for dropdown options +- skip level of year options if there's only one option +- move between year part boxes automatically on typing +- expose target element(s) on input components +- add clear button to y/m/d options +- add min/max date options to ambiguous date +- add earliest/latest date estimates to ambiguous date +- add help icon with tooltip +- add "empty" input for positioning multiple inputs under one label +- add class prop to all components +- add toggle button + +### Fix + +- remove misleading pointer hands +- add high z-index for multiselect popup +- use computed wrapper value for checkbox to avoid nulls +- define checked before it's used +- move toggle function onto checkbox from wrapper +- handle multiselect value = null, use array if checkbox name is set +- break loop after first different digit +- pad earliest/latest date parts to avoid ambiguity +- use utc date parts for min/max +- improve layout for no label, enable changing help popup position +- use fieldset for empty input +- export empty input +- make labels available to screen readers even if not shown +- show all items if the list is short +- set initial checkbox modelValue to undefined + +### Refactor + +- major refactor to use single input component +- use zoa-empty to structure range slider +- rearrange checkbox elements to match structure of other inputs + +### Docs + +- update readme + +### Build System(s) + +- replace hash with component name in css modules + +### Chores/Misc + +- build dist package +- build dist package +- build dist package +- build dist package +- build dist package + +### Minor UI Changes + +- make the dropdown for ambiguous date smaller and left aligned +- move labels closer vertically and make gap configurable separately +- change tertiary colour, add text colour vars, add alt button type + ## v0.6.0 (2023-10-31) ### Feature diff --git a/package-lock.json b/package-lock.json index cce81ce..f309c75 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@nhm-data/zoa", - "version": "0.5.1", + "version": "0.6.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@nhm-data/zoa", - "version": "0.5.1", + "version": "0.6.0", "license": "GPL-3.0-or-later", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.4.0", diff --git a/package.json b/package.json index 8f03b58..25a1815 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nhm-data/zoa", - "version": "0.6.0", + "version": "0.7.0", "description": "UI toolkit for the NHM Data Portal.", "homepage": "https://github.com/NaturalHistoryMuseum/zoa", "bugs": {