Releases: dhis2/ui
Releases · dhis2/ui
v5.0.0-alpha.11
5.0.0-alpha.11 (2020-04-29)
Bug Fixes
- core: no top margin if no label for field (a2d0bad)
Code Refactoring
- core: move fields to widgets (3b763fa)
- core: reimplement Field (fbdafb8)
- move to more explicit final-form api (a76da00)
BREAKING CHANGES
- core: Relocate all *Field components to @dhis2/ui-widgets.
They can be accessed from@dhis2/ui
using named exports. - core: Field has been reimplemented to compose a field
control, it now adds the Label, Help, Validation components instead of
being a simple div wrapper, which allows us to avoid the code
duplication in each *Field component. - core: ToggleGroup has been removed. Use a FieldSet for
grouping form controls.
BREKING CHANGE: ToggleGroupField has been renamed to FieldSetField,
which adds the necessary Label, Help, and Validation components to an
entire group of components.
- Field now provides a composition to provide all
necessary things for a *Field component. - RadioGroup has been deleted.
- CheckboxGroup has been deleted.
- CheckboxGroupControl has been deleted.
- RadioGroupControl has been deleted.
v5.0.0-alpha.9
v5.0.0-alpha.10
5.0.0-alpha.10 (2020-04-23)
Code Refactoring
- forms: namespace final-form and react-final-form re-exports (c59e0bb)
BREAKING CHANGES
- forms: final-form and react-final-form exports are now re-exported under the named exports FinalForm and ReactFinalForm respectively.
v5.0.0-alpha.8
5.0.0-alpha.8 (2020-04-22)
Bug Fixes
- update number range validation error to match actual bounds (646f782)
v5.0.0-alpha.7
v5.0.0-alpha.6
v5.0.0-alpha.5
5.0.0-alpha.5 (2020-04-16)
Code Refactoring
- layers and overlay components (24ead4c)
BREAKING CHANGES
- These new components replace the
Backdrop
and theScreenCover
, which had a slightly unclear scope and have now been removed.
v5.0.0-alpha.4
v5.0.0-alpha.3
5.0.0-alpha.3 (2020-04-01)
Code Refactoring
- use string based selection in multi- and single-select (e3627a4)
BREAKING CHANGES
-
- SingleSelect selection is now a string instead of an object with a value and label property
- MultiSelect selection is now an array of strings instead of an array of objects with a value and label property
v5.0.0-alpha.2
5.0.0-alpha.2 (2020-03-24)
Code Refactoring
BREAKING CHANGES
- core: base components can hold a ref.
- All @dhis2/ui-core exports have been migrated to
@dhis2/ui-widgets.