Releases: NaturalHistoryMuseum/zoa
Releases · NaturalHistoryMuseum/zoa
v0.10.1
v0.10.0
v0.9.0
v0.9.0 (2024-03-05)
Feature
- add "disabled" property to inputs
- close modal when clicking outside
- add more slots to modal
Fix
- don't round all corners on internal dialog boxes
- toggle: fix toggle button spacing
- tabs: only set initial value if value not already set
- make content of tab label afters always empty
Refactor
- make only the header of dialogs the highlight colour
Chores/Misc
- build dist package
- build dist package
- build dist package
[main 57ec0a3] bump: version 0.8.0 → 0.9.0
4 files changed, 29 insertions(+), 4 deletions(-)
v0.8.0
v0.8.0 (2024-02-13)
Feature
- add tabs component
Fix
- fix option sorting based on order
Refactor
- move buttons into separate folder
Docs
- storybook: improve docs for buttons in storybook
Chores/Misc
- build dist package
- build dist package
[main be142ad] bump: version 0.7.0 → 0.8.0
3 files changed, 25 insertions(+), 2 deletions(-)
v0.7.0
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
[main a8aacfb] bump: version 0.6.0 → 0.7.0
4 files changed, 66 insertions(+), 4 deletions(-)
v0.6.0
v0.6.0 (2023-10-31)
Feature
- sort dropdown items (by group, order, then label)
- implement basic fuzzy search for multiselect
- implement crude filtering for multiselect
- add multiselect component
- add name and value to checkbox
Fix
- force all options to be single-line and truncate strings
- add extra space for the group header by increasing ix
- add array to value types for checkbox
- set correct default label
- toggle checkbox on space, not enter, and make it work in a group
Refactor
- distinguish between visible and filtered
- remove nesting and render options as a single list
Performance
- lazy-load date utils
- debounce updating the search term
- load a subset of multiselect options at once for large lists
Docs
- randomise length of option names
- add notice about alpha status and frequent changes
Style
- remove border on top group if no ungrouped items
- set maximum height for dropdown
- explicitly define the input text colour
- rename "dark" to "tertiary" and add new neutral dark
Build System(s)
- add rollup visualiser
Chores/Misc
- build dist package
- build dist package
- regenerate package-lock.json
- build dist package
Minor UI Changes
- remove extra selectAll border and make labels fit li height
- stop checkbox label wrapping unnecessarily
[main c51214f] bump: version 0.5.1 → 0.6.0
3 files changed, 59 insertions(+), 2 deletions(-)
v0.5.1
v0.5.0
v0.4.1
v0.4.1 (2023-09-15)
Fix
- force update label text before calculating width
Refactor
- move slider.js functions into vue file
Docs
- add docstrings for inputs
- add docstrings for dialogs
Chores/Misc
- build dist package
- build dist package
- update storybook to 7.4.1
- merge build and bump jobs so they run sequentially
- remove permissions block from npm publish workflow
- build dist package
- add registry url to npm publish workflow
[main 0702f72] bump: version 0.4.0 → 0.4.1
4 files changed, 6943 insertions(+), 10243 deletions(-)
v0.4.0
v0.4.0 (2023-09-12)
Feature
- add keyboard controls to slider
- add value label to single slider
Fix
- allow switching the active track colour to the right side
- add a label for range slider and allow putting sublabels at right
- show both sliders in the range slider
- make valueLabel a span and reassociate the main label
- set better initial values for the range slider
Chores/Misc
- separate build workflows for dev/patch and main
- build dist package
- build dist package
- add workflow to push releases to npm
- build dist package
- rename build workflow
- build dist package
- add workflow to build dist on push to any primary branch
[main 5c605aa] bump: version 0.3.1 → 0.4.0
3 files changed, 28 insertions(+), 2 deletions(-)