# 5.0.0 scope - Co-locate UI libraries in repo `dhis2/ui` - Introduce the `@dhis2/ui` top-level package and main entry-point for the UI libraries. - Keep `@dhis2/ui-core` and `@dhis2/ui-widgets` as-is: - - **core**: Ready-to-go building blocks for UI - - **widgets**: Components that need translations and/or DHIS2 API - Internal split to: - - `@dhis2/constants` - - `@dhis2/icons` # Upgrade path from 4.x to 5.x - Generally all imports from either `@dhis2/ui-core`, `@dhis2/ui-widgets`, and `@dhis2/ui-forms` can be replaced by a single namespace: `@dhis2/ui`. - There are some cases where we have rename a component to avoid name conflicts. - Some components have been dropped, see the CHANGELOG for more information.
5.0.0 scope
dhis2/ui@dhis2/uitop-level package and main entry-point for the UI libraries.@dhis2/ui-coreand@dhis2/ui-widgetsas-is:@dhis2/constants@dhis2/iconsUpgrade path from 4.x to 5.x
@dhis2/ui-core,@dhis2/ui-widgets, and@dhis2/ui-formscan be replaced by a single namespace:@dhis2/ui.