Skip to content

v0.46.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Aug 05:57
· 93 commits to main since this release
17a2919

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 or SidebarHeaderLayout
    DropdownUserMenu UserMenu
    ResponsiveMenu None create your own
    UserEnabledCollapsibleSidebarLayout UserEnabledSidebarOnlyLayout or UserEnabledSidebarHeaderLayout

2. Layout: Make Class-name Consistent

  • Make Class-name Consistent: In @‌dzangolab/react-layout package we have refactored the className of layouts and components 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