Skip to content

Commit

Permalink
chore(release): cut 5.0.0-alpha.18 [skip ci]
Browse files Browse the repository at this point in the history
# [5.0.0-alpha.18](v5.0.0-alpha.17...v5.0.0-alpha.18) (2020-05-26)

### Code Refactoring

* make menu click-based and reorganise related components ([a8b26a0](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
  • Loading branch information
dhis2-bot committed May 26, 2020
1 parent f12e960 commit 105bd3d
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 25 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# [5.0.0-alpha.18](https://github.com/dhis2/ui/compare/v5.0.0-alpha.17...v5.0.0-alpha.18) (2020-05-26)


### Code Refactoring

* make menu click-based and reorganise related components ([a8b26a0](https://github.com/dhis2/ui/commit/a8b26a0984f892ec9ea61a2c40bb6226e66903a9))


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

# [5.0.0-alpha.17](https://github.com/dhis2/ui/compare/v5.0.0-alpha.16...v5.0.0-alpha.17) (2020-05-20)


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.17",
"version": "5.0.0-alpha.18",
"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.17",
"version": "5.0.0-alpha.18",
"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.17",
"version": "5.0.0-alpha.18",
"main": "build/cjs/lib.js",
"module": "build/es/lib.js",
"sideEffects": false,
Expand All @@ -25,8 +25,8 @@
},
"dependencies": {
"@dhis2/prop-types": "^1.6.4",
"@dhis2/ui-constants": "5.0.0-alpha.17",
"@dhis2/ui-icons": "5.0.0-alpha.17",
"@dhis2/ui-constants": "5.0.0-alpha.18",
"@dhis2/ui-icons": "5.0.0-alpha.18",
"@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.17",
"version": "5.0.0-alpha.18",
"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.17",
"@dhis2/ui-core": "5.0.0-alpha.18",
"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.17",
"version": "5.0.0-alpha.18",
"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.17",
"version": "5.0.0-alpha.18",
"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.17",
"@dhis2/ui-icons": "5.0.0-alpha.17",
"@dhis2/ui-core": "5.0.0-alpha.17",
"@dhis2/ui-forms": "5.0.0-alpha.17",
"@dhis2/ui-widgets": "5.0.0-alpha.17"
"@dhis2/ui-constants": "5.0.0-alpha.18",
"@dhis2/ui-icons": "5.0.0-alpha.18",
"@dhis2/ui-core": "5.0.0-alpha.18",
"@dhis2/ui-forms": "5.0.0-alpha.18",
"@dhis2/ui-widgets": "5.0.0-alpha.18"
}
}
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.17",
"version": "5.0.0-alpha.18",
"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.17",
"@dhis2/ui-core": "5.0.0-alpha.17",
"@dhis2/ui-icons": "5.0.0-alpha.17",
"@dhis2/ui-constants": "5.0.0-alpha.18",
"@dhis2/ui-core": "5.0.0-alpha.18",
"@dhis2/ui-icons": "5.0.0-alpha.18",
"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.17",
"version": "5.0.0-alpha.18",
"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.17",
"@dhis2/ui-constants": "5.0.0-alpha.17",
"@dhis2/ui-core": "5.0.0-alpha.17",
"@dhis2/ui-forms": "5.0.0-alpha.17",
"@dhis2/ui-icons": "5.0.0-alpha.17",
"@dhis2/ui-widgets": "5.0.0-alpha.17"
"@dhis2/ui": "5.0.0-alpha.18",
"@dhis2/ui-constants": "5.0.0-alpha.18",
"@dhis2/ui-core": "5.0.0-alpha.18",
"@dhis2/ui-forms": "5.0.0-alpha.18",
"@dhis2/ui-icons": "5.0.0-alpha.18",
"@dhis2/ui-widgets": "5.0.0-alpha.18"
}
}

0 comments on commit 105bd3d

Please sign in to comment.