Skip to content

Releases: dhis2/ui

v5.0.0-alpha.11

29 Apr 21:16
Compare
Choose a tag to compare
v5.0.0-alpha.11 Pre-release
Pre-release

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

23 Apr 11:19
Compare
Choose a tag to compare
v5.0.0-alpha.9 Pre-release
Pre-release

5.0.0-alpha.9 (2020-04-23)

Bug Fixes

v5.0.0-alpha.10

23 Apr 11:59
Compare
Choose a tag to compare
v5.0.0-alpha.10 Pre-release
Pre-release

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

22 Apr 14:50
Compare
Choose a tag to compare
v5.0.0-alpha.8 Pre-release
Pre-release

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

22 Apr 09:23
Compare
Choose a tag to compare
v5.0.0-alpha.7 Pre-release
Pre-release

5.0.0-alpha.7 (2020-04-22)

Bug Fixes

  • update final-form to fix setstate warning (1bc62b9)

v5.0.0-alpha.6

20 Apr 10:07
Compare
Choose a tag to compare
v5.0.0-alpha.6 Pre-release
Pre-release

5.0.0-alpha.6 (2020-04-20)

Bug Fixes

  • icons: add missing icon file (de0a157)

v5.0.0-alpha.5

16 Apr 14:07
Compare
Choose a tag to compare
v5.0.0-alpha.5 Pre-release
Pre-release

5.0.0-alpha.5 (2020-04-16)

Code Refactoring

  • layers and overlay components (24ead4c)

BREAKING CHANGES

  • These new components replace the Backdrop and the ScreenCover, which had a slightly unclear scope and have now been removed.

v5.0.0-alpha.4

08 Apr 14:39
Compare
Choose a tag to compare
v5.0.0-alpha.4 Pre-release
Pre-release

5.0.0-alpha.4 (2020-04-08)

Features

  • add noticebox component (357ef6d)

v5.0.0-alpha.3

01 Apr 11:38
Compare
Choose a tag to compare
v5.0.0-alpha.3 Pre-release
Pre-release

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

24 Mar 10:52
Compare
Choose a tag to compare
v5.0.0-alpha.2 Pre-release
Pre-release

5.0.0-alpha.2 (2020-03-24)

Code Refactoring

  • core: add forward refs to base components (699b194)
  • move all core components to widgets (d6f8a7b)

BREAKING CHANGES

  • core: base components can hold a ref.
  • All @dhis2/ui-core exports have been migrated to
    @dhis2/ui-widgets.