diff --git a/CHANGELOG.md b/CHANGELOG.md index 74b58aad83..427ec3e0b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# [5.0.0-alpha.2](https://github.com/dhis2/ui/compare/v5.0.0-alpha.1...v5.0.0-alpha.2) (2020-03-24) + + +### Code Refactoring + +* **core:** add forward refs to base components ([699b194](https://github.com/dhis2/ui/commit/699b1945e83f6551d34137b9a650a580a0918d53)) +* move all core components to widgets ([d6f8a7b](https://github.com/dhis2/ui/commit/d6f8a7b0a379e27a4a0a38968efc2514c3938be5)) + + +### BREAKING CHANGES + +* **core:** base components can hold a ref. +* All @dhis2/ui-core exports have been migrated to +@dhis2/ui-widgets. + # [5.0.0-alpha.1](https://github.com/dhis2/ui/compare/v4.0.0...v5.0.0-alpha.1) (2020-03-19) diff --git a/package.json b/package.json index 8aa451cdf5..224fdec3ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "root", - "version": "5.0.0-alpha.1", + "version": "5.0.0-alpha.2", "repository": "git@github.com:dhis2/ui.git", "author": "Viktor Varland ", "license": "BSD-3-Clause", diff --git a/packages/constants/package.json b/packages/constants/package.json index 43634d1326..f06a6a54f2 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-constants", - "version": "5.0.0-alpha.1", + "version": "5.0.0-alpha.2", "description": "Constants used in the UI libs", "main": "build/cjs/lib.js", "module": "build/es/lib.js", diff --git a/packages/core/package.json b/packages/core/package.json index 6b96f93be8..c5876675ed 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@dhis2/ui-core", "description": "Component primitives for DHIS2 user interfaces", - "version": "5.0.0-alpha.1", + "version": "5.0.0-alpha.2", "main": "build/cjs/lib.js", "module": "build/es/lib.js", "sideEffects": false, @@ -25,8 +25,8 @@ }, "dependencies": { "@dhis2/prop-types": "^1.5.0", - "@dhis2/ui-constants": "5.0.0-alpha.1", - "@dhis2/ui-icons": "5.0.0-alpha.1", + "@dhis2/ui-constants": "5.0.0-alpha.2", + "@dhis2/ui-icons": "5.0.0-alpha.2", "@popperjs/core": "^2.1.0", "classnames": "^2.2.6" }, diff --git a/packages/forms/package.json b/packages/forms/package.json index 451b5a6acb..e4b0166bfb 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-forms", - "version": "5.0.0-alpha.1", + "version": "5.0.0-alpha.2", "main": "./build/cjs/lib.js", "module": "./build/es/lib.js", "sideEffects": false, @@ -21,8 +21,8 @@ }, "dependencies": { "@dhis2/prop-types": "^1.5", - "@dhis2/ui-core": "5.0.0-alpha.1", - "@dhis2/ui-widgets": "5.0.0-alpha.1", + "@dhis2/ui-core": "5.0.0-alpha.2", + "@dhis2/ui-widgets": "5.0.0-alpha.2", "classnames": "^2.2.6", "final-form": "^4.18.5", "react-final-form": "^6.3.0" diff --git a/packages/icons/package.json b/packages/icons/package.json index f786f43927..721f1e046b 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-icons", - "version": "5.0.0-alpha.1", + "version": "5.0.0-alpha.2", "description": "Icons used in the UI libs", "main": "build/cjs/lib.js", "module": "build/es/lib.js", diff --git a/packages/ui/package.json b/packages/ui/package.json index b8f5027ad5..2c91f2b5a5 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui", - "version": "5.0.0-alpha.1", + "version": "5.0.0-alpha.2", "main": "build/cjs/lib.js", "module": "build/es/lib.js", "author": "Viktor Varland ", @@ -10,10 +10,10 @@ "build": "d2-app-scripts build" }, "dependencies": { - "@dhis2/ui-constants": "5.0.0-alpha.1", - "@dhis2/ui-icons": "5.0.0-alpha.1", - "@dhis2/ui-core": "5.0.0-alpha.1", - "@dhis2/ui-forms": "5.0.0-alpha.1", - "@dhis2/ui-widgets": "5.0.0-alpha.1" + "@dhis2/ui-constants": "5.0.0-alpha.2", + "@dhis2/ui-icons": "5.0.0-alpha.2", + "@dhis2/ui-core": "5.0.0-alpha.2", + "@dhis2/ui-forms": "5.0.0-alpha.2", + "@dhis2/ui-widgets": "5.0.0-alpha.2" } } diff --git a/packages/widgets/package.json b/packages/widgets/package.json index 1fb3c60ff3..fae4754cf2 100644 --- a/packages/widgets/package.json +++ b/packages/widgets/package.json @@ -1,6 +1,6 @@ { "name": "@dhis2/ui-widgets", - "version": "5.0.0-alpha.1", + "version": "5.0.0-alpha.2", "main": "build/cjs/lib.js", "module": "build/es/lib.js", "sideEffects": false, @@ -26,9 +26,9 @@ "@dhis2/app-runtime": "^2.1.0", "@dhis2/d2-i18n": "^1", "@dhis2/prop-types": "^1.5", - "@dhis2/ui-constants": "5.0.0-alpha.1", - "@dhis2/ui-icons": "5.0.0-alpha.1", - "@dhis2/ui-core": "5.0.0-alpha.1", + "@dhis2/ui-constants": "5.0.0-alpha.2", + "@dhis2/ui-icons": "5.0.0-alpha.2", + "@dhis2/ui-core": "5.0.0-alpha.2", "classnames": "^2.2.6" }, "files": [ diff --git a/storybook/package.json b/storybook/package.json index d109d9bd76..afdccdcedf 100644 --- a/storybook/package.json +++ b/storybook/package.json @@ -1,6 +1,6 @@ { "name": "storybook", - "version": "5.0.0-alpha.1", + "version": "5.0.0-alpha.2", "description": "Stories for DHIS2 UI", "main": "index.js", "license": "BSD-3-Clause", @@ -21,11 +21,11 @@ "typeface-roboto": "^0.0.75" }, "dependencies": { - "@dhis2/ui": "5.0.0-alpha.1", - "@dhis2/ui-constants": "5.0.0-alpha.1", - "@dhis2/ui-core": "5.0.0-alpha.1", - "@dhis2/ui-forms": "5.0.0-alpha.1", - "@dhis2/ui-icons": "5.0.0-alpha.1", - "@dhis2/ui-widgets": "5.0.0-alpha.1" + "@dhis2/ui": "5.0.0-alpha.2", + "@dhis2/ui-constants": "5.0.0-alpha.2", + "@dhis2/ui-core": "5.0.0-alpha.2", + "@dhis2/ui-forms": "5.0.0-alpha.2", + "@dhis2/ui-icons": "5.0.0-alpha.2", + "@dhis2/ui-widgets": "5.0.0-alpha.2" } }