5.0.0-alpha.1 (2020-03-19)
Bug Fixes
Code Refactoring
- checkboxfield: move to ui-widgets (d979d96)
- fileinputfield: move to ui-widgets (6059625)
- fileinputfieldwithlist: move to ui-widgets (a512f00)
- forms: add suffix 'Control' (06896ea)
- inputfield: move to ui-widgets (50d9009)
- multiselectfield: move to ui-widgets (c3d42ad)
- singleselectfield: move to ui-widgets (e09c70c)
- switchfield: move to ui-widgets (2baa52a)
- textareafield: move to ui-widgets (3ef63da)
- togglegroupfield: migrate to ui-widgets (db55448)
- ui: list breaking changes (7ceddf0)
Features
- constants: move and expose the common proptypes (1bb0f9d)
- forms: integrate @dhis2/ui-forms (af49144)
- ui: expose @dhis2/ui-forms through metapackage (88a3782)
BREAKING CHANGES
- forms: Postfix all the @dhis2/ui-forms components with
'Control' to avoid conflicts with the base components in @dhis2/ui-core
and @dhis2/ui-widgets, since all components are now exported in
@dhis2/ui.
- textareafield: Import path changes from @dhis2/ui-core to
@dhis2/ui or @dhis2/ui-widgets.
- switchfield: Import path for SwichField changes from @dhis2/ui-core
to @dhis2/ui or @dhis2/ui-widgets.
- singleselectfield: Import path for SingleSelectField changes from
@dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
- multiselectfield: MultiSelectField import path changes from
@dhis2/ui-core to @dhis2/ui-widgets or @dhis2/ui
- inputfield: Move InputField from ui-core to ui-widgets, new import
path at @dhis2/ui-widgets or @dhis2/ui.
- fileinputfieldwithlist: Move FileInputFieldWithList from ui-core to ui-widgets,
new import from @dhis2/ui-widgets or @dhis2/ui.
- fileinputfield: Move FileInputField from ui-core to ui-widgets. New
import path from '@dhis2/ui-widgets' or '@dhis2/ui'.
- checkboxfield: CheckboxField has moved from ui-core to ui-widgets.
- togglegroupfield: move the ToggleGroupField component from ui-core to
ui-widgets.
- ui: Rename the Constrictor component to Box, which is
shorter and thus easier to type. This also expands the capabilities of
Box to make it more Box-like.
- ui: Replace SwitchGroupField, RadioGroupField,
CheckboxGroupField with ToggleGroupField.
- ui: Replace SwitchGroup, RadioGroup, CheckboxGroup with
ToggleGroup.
- ui: The exports: colors, theme, layers, spacers,
spacersNum, and elevations, have been moved from @dhis2/ui-core to
@dhis2/ui-constants for better code reuse.