Skip to content

Releases: dhis2/ui

v5.0.0-alpha.20

28 May 07:15
Compare
Choose a tag to compare
v5.0.0-alpha.20 Pre-release
Pre-release

5.0.0-alpha.20 (2020-05-28)

Code Refactoring

  • transfer: align with select & monorepo structure (c15477d), closes #50
  • transfer: align with select & monorepo structure (d50f960)

BREAKING CHANGES

  • transfer: The Transfer component now expects options to be passed in as objects, not as children. Custom components can be provided via the optionComponent prop for all options or via the component property on an individual option.
  • transfer: The Transfer component now expects strings as selected
    values instead of option objects.
  • transfer: The Transfer component is now part of widgets
  • transfer: The Transfer component now expects strings as selected
    values instead of option objects.
  • transfer: The Transfer component is now part of widgets

v5.0.0-alpha.19

26 May 15:04
Compare
Choose a tag to compare
v5.0.0-alpha.19 Pre-release
Pre-release

5.0.0-alpha.19 (2020-05-26)

Bug Fixes

  • popover: fix arrow rotation (880395b)
  • fix improper merge resolution (0daeffb)

Code Refactoring

BREAKING CHANGES

  • The Popover's onBackdropClick prop has been renamed to onClickOutside

v5.0.0-alpha.18

26 May 09:51
Compare
Choose a tag to compare
v5.0.0-alpha.18 Pre-release
Pre-release

5.0.0-alpha.18 (2020-05-26)

Code Refactoring

  • make menu click-based and reorganise related components (a8b26a0)

BREAKING CHANGES

  • Fully overhauled Menu and related components:
  • MenuList was renamed to Menu
  • Menu was renamed to FlyoutMenu
  • The sub-menus now open on click instead of hover
  • We have introduced a dedicated MenuDivider and MenuSectionHeader
  • To create sub-menus, you can now add MenuItems directly under a parent MenuItem, no need to wrap them in a Menu/FlyoutMenu anymore

v5.0.0-alpha.17

20 May 13:04
Compare
Choose a tag to compare
v5.0.0-alpha.17 Pre-release
Pre-release

5.0.0-alpha.17 (2020-05-20)

Bug Fixes

  • select: debounce menu width measurement (0e17c59)

v5.0.0-alpha.16

20 May 09:46
Compare
Choose a tag to compare
v5.0.0-alpha.16 Pre-release
Pre-release

5.0.0-alpha.16 (2020-05-20)

Bug Fixes

  • widgets: add translated default texts (c85342d)

v5.0.0-alpha.15

19 May 10:57
Compare
Choose a tag to compare
v5.0.0-alpha.15 Pre-release
Pre-release

5.0.0-alpha.15 (2020-05-19)

Features

  • constants: export constants as well (51c2eb0)

v5.0.0-alpha.14

30 Apr 15:44
Compare
Choose a tag to compare
v5.0.0-alpha.14 Pre-release
Pre-release

5.0.0-alpha.14 (2020-04-30)

Bug Fixes

  • prop-types: add missing dhis2 prop-types for ui-icons (c207524)

v5.0.0-alpha.13

30 Apr 10:50
Compare
Choose a tag to compare
v5.0.0-alpha.13 Pre-release
Pre-release

5.0.0-alpha.13 (2020-04-30)

Bug Fixes

  • noticebox: add missing export (ec2a739)

v5.0.0-alpha.12

30 Apr 09:48
Compare
Choose a tag to compare
v5.0.0-alpha.12 Pre-release
Pre-release

5.0.0-alpha.12 (2020-04-30)

Bug Fixes

  • field: fix prop-type warning (d55d049)

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.