Skip to content

Commit

Permalink
chore(release): cut 5.0.0-alpha.11 [skip ci]
Browse files Browse the repository at this point in the history
# [5.0.0-alpha.11](v5.0.0-alpha.10...v5.0.0-alpha.11) (2020-04-29)

### Bug Fixes

* **core:** no top margin if no label for field ([a2d0bad](a2d0bad))

### Code Refactoring

* **core:** move fields to widgets ([3b763fa](3b763fa))
* **core:** reimplement Field ([fbdafb8](fbdafb8))
* move to more explicit final-form api ([a76da00](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.
  • Loading branch information
dhis2-bot committed Apr 29, 2020
1 parent 2675828 commit 2f35f95
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 25 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# [5.0.0-alpha.11](https://github.com/dhis2/ui/compare/v5.0.0-alpha.10...v5.0.0-alpha.11) (2020-04-29)


### Bug Fixes

* **core:** no top margin if no label for field ([a2d0bad](https://github.com/dhis2/ui/commit/a2d0badea9e384d9047dc2f05a2a0705249a4561))


### Code Refactoring

* **core:** move fields to widgets ([3b763fa](https://github.com/dhis2/ui/commit/3b763fa8b3f1d36b8090cf037dd2d4135ca1d56c))
* **core:** reimplement Field ([fbdafb8](https://github.com/dhis2/ui/commit/fbdafb800eb2033ad9b673350243bdc0d49a8f02))
* move to more explicit final-form api ([a76da00](https://github.com/dhis2/ui/commit/a76da00bffed6e1a7fce2a6a29505ae58ea0db52))


### 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.

# [5.0.0-alpha.10](https://github.com/dhis2/ui/compare/v5.0.0-alpha.9...v5.0.0-alpha.10) (2020-04-23)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "5.0.0-alpha.10",
"version": "5.0.0-alpha.11",
"repository": {
"type": "git",
"url": "https://github.com/dhis2/ui.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui-constants",
"version": "5.0.0-alpha.10",
"version": "5.0.0-alpha.11",
"description": "Constants used in the UI libs",
"main": "build/cjs/lib.js",
"module": "build/es/lib.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dhis2/ui-core",
"description": "Component primitives for DHIS2 user interfaces",
"version": "5.0.0-alpha.10",
"version": "5.0.0-alpha.11",
"main": "build/cjs/lib.js",
"module": "build/es/lib.js",
"sideEffects": false,
Expand All @@ -25,8 +25,8 @@
},
"dependencies": {
"@dhis2/prop-types": "^1.5.0",
"@dhis2/ui-constants": "5.0.0-alpha.10",
"@dhis2/ui-icons": "5.0.0-alpha.10",
"@dhis2/ui-constants": "5.0.0-alpha.11",
"@dhis2/ui-icons": "5.0.0-alpha.11",
"@popperjs/core": "^2.1.0",
"classnames": "^2.2.6"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/forms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui-forms",
"version": "5.0.0-alpha.10",
"version": "5.0.0-alpha.11",
"main": "./build/cjs/lib.js",
"module": "./build/es/lib.js",
"sideEffects": false,
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^1.6.4",
"@dhis2/ui-core": "5.0.0-alpha.10",
"@dhis2/ui-core": "5.0.0-alpha.11",
"classnames": "^2.2.6",
"final-form": "^4.19.1",
"react-final-form": "^6.4.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui-icons",
"version": "5.0.0-alpha.10",
"version": "5.0.0-alpha.11",
"description": "Icons used in the UI libs",
"main": "build/cjs/lib.js",
"module": "build/es/lib.js",
Expand Down
12 changes: 6 additions & 6 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui",
"version": "5.0.0-alpha.10",
"version": "5.0.0-alpha.11",
"main": "build/cjs/lib.js",
"module": "build/es/lib.js",
"author": "Viktor Varland <[email protected]>",
Expand All @@ -10,10 +10,10 @@
"build": "d2-app-scripts build"
},
"dependencies": {
"@dhis2/ui-constants": "5.0.0-alpha.10",
"@dhis2/ui-icons": "5.0.0-alpha.10",
"@dhis2/ui-core": "5.0.0-alpha.10",
"@dhis2/ui-forms": "5.0.0-alpha.10",
"@dhis2/ui-widgets": "5.0.0-alpha.10"
"@dhis2/ui-constants": "5.0.0-alpha.11",
"@dhis2/ui-icons": "5.0.0-alpha.11",
"@dhis2/ui-core": "5.0.0-alpha.11",
"@dhis2/ui-forms": "5.0.0-alpha.11",
"@dhis2/ui-widgets": "5.0.0-alpha.11"
}
}
8 changes: 4 additions & 4 deletions packages/widgets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui-widgets",
"version": "5.0.0-alpha.10",
"version": "5.0.0-alpha.11",
"main": "build/cjs/lib.js",
"module": "build/es/lib.js",
"sideEffects": false,
Expand All @@ -26,9 +26,9 @@
"@dhis2/app-runtime": "^2.1.0",
"@dhis2/d2-i18n": "^1",
"@dhis2/prop-types": "^1.6.4",
"@dhis2/ui-constants": "5.0.0-alpha.10",
"@dhis2/ui-core": "5.0.0-alpha.10",
"@dhis2/ui-icons": "5.0.0-alpha.10",
"@dhis2/ui-constants": "5.0.0-alpha.11",
"@dhis2/ui-core": "5.0.0-alpha.11",
"@dhis2/ui-icons": "5.0.0-alpha.11",
"classnames": "^2.2.6",
"resize-observer-polyfill": "^1.5.1"
},
Expand Down
14 changes: 7 additions & 7 deletions storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storybook",
"version": "5.0.0-alpha.10",
"version": "5.0.0-alpha.11",
"description": "Stories for DHIS2 UI",
"main": "index.js",
"license": "BSD-3-Clause",
Expand All @@ -21,11 +21,11 @@
"typeface-roboto": "^0.0.75"
},
"dependencies": {
"@dhis2/ui": "5.0.0-alpha.10",
"@dhis2/ui-constants": "5.0.0-alpha.10",
"@dhis2/ui-core": "5.0.0-alpha.10",
"@dhis2/ui-forms": "5.0.0-alpha.10",
"@dhis2/ui-icons": "5.0.0-alpha.10",
"@dhis2/ui-widgets": "5.0.0-alpha.10"
"@dhis2/ui": "5.0.0-alpha.11",
"@dhis2/ui-constants": "5.0.0-alpha.11",
"@dhis2/ui-core": "5.0.0-alpha.11",
"@dhis2/ui-forms": "5.0.0-alpha.11",
"@dhis2/ui-icons": "5.0.0-alpha.11",
"@dhis2/ui-widgets": "5.0.0-alpha.11"
}
}

0 comments on commit 2f35f95

Please sign in to comment.