v0.46.0
0.46.0 (2024-08-19)
Breaking changes
1. Removed Legacy and Deprecated Components
- Removed Legacy and Deprecated Components: We have removed the legacy layouts form
@dzangolab/react-layout
and@dzangolab/react-user
along with all deprecated components. - Affected Component: Applications still using old layouts and deprecated components.
- Migration Steps: Applications using the components mentioned below should migrate to their respective alternatives as per given below.
Deprecated Component Alternative BasicLayout
HeaderLayout
MainMenu
NAvigationMenu
UserEnabledBasicLayout
UserEnabledHeaderLayout
CollapsibleSidebarLayout
SidebarOnlyLayout
orSidebarHeaderLayout
DropdownUserMenu
UserMenu
ResponsiveMenu
None
create your ownUserEnabledCollapsibleSidebarLayout
UserEnabledSidebarOnlyLayout
orUserEnabledSidebarHeaderLayout
2. Layout: Make Class-name Consistent
-
Make Class-name Consistent: In
@dzangolab/react-layout
package we have refactored theclassName
oflayouts
andcomponents
to make it consistent throughout the package. -
Affected Component: Applications using the package
className
to add custom styles to@dzangolab/react-layout
component may get affected. -
Migration Steps: Applications using the
className
mentioned below should rename them to their respective alternatives as per given below.Before Renaming After Renaming copyright
dz-copyright
header-container
dz-header-container
header-menu
dz-header-menu
header-title
dz-header-title
header
dz-header-layout
logo
dz-logo
nav-group-toggle
dz-nav-group-toggle
nav-group
dz-nav-group
nav-item
dz-nav-item
nav-menu-item
dz-nav-menu-item
navigation-menu
dz-navigation-menu
sidebar-footer
dz-sidebar-footer
sidebar-header-layout
dz-sidebar-header-layout
sidebar-header
dz-sidebar-header
sidebar-only
dz-sidebar-only-layout
submenu
dz-submenu
toggle-menu
dz-toggle-menu
toggle-sidebar
dz-toggle-sidebar
user-menu
dz-user-menu
version
dz-version
Bug Fixes
- editable-title: improve the editable title demo page (#1087) (4ba02df)
- icon-only button width (#1104) (89076c4)
- layout: header pading in horizontal view (#1083) (6ba7312)
- layout: mobile view for header menu (#1073) (5a60c09)
- ui: render all rows if pagination is disabled in a table (#1105) (0d023a4)
- user: update the class name for layout css (#1092) (b619253)
Features
- add ability to disable the edit functionality (#1097) (64c85f3)
- add css for rounded button (#1103) (5c8946c)
- demo: add copy action to codeBlock (#1093) (9e62fa7)
- demo: update buttons page (#1094) (261a8d0)
- editable-header: add the editable title component (#1078) (797125f)
- form: export controller and its types (#1106) (8e73ece)
- header-only-classname: change the header only class name to header (#1081) (d87361c)
- layout-footer: add footer component in the header layout (#1079) (436968f)
- layout: add support for user-menu in sidebar (#1088) (0805ecd)
- remove deprecated legacy layouts and components (#1077) (a96b466)
- remove storybook (#1099) (3b204fa)
- ui: deprecate Primereact table (#1101) (1ae8d13)