Releases: dhis2/ui
Releases · dhis2/ui
v5.0.0-alpha.20
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
5.0.0-alpha.19 (2020-05-26)
Bug Fixes
Code Refactoring
- rename popover prop (f7d5c20)
BREAKING CHANGES
- The Popover's
onBackdropClick
prop has been renamed toonClickOutside
v5.0.0-alpha.18
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
andMenuSectionHeader
- 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
v5.0.0-alpha.16
v5.0.0-alpha.15
v5.0.0-alpha.14
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
v5.0.0-alpha.12
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.