Releases: dzangolab/react
Releases · dzangolab/react
v0.49.0
0.49.0 (2024-11-13)
Bug Fixes
- add transition to dropdown component (#1203) (f0364cc)
- deps: update dependency @hookform/resolvers to v3.9.1 (#1193) (7033d31)
- deps: update dependency i18next to v23.16.4 (#1182) (da70a18)
- deps: update dependency react-dropzone to v14.3.5 (#1197) (cbab455)
- deps: update dependency react-hook-form to v7.53.1 (#1173) (9274c68)
- deps: update dependency react-i18next to v15.1.0 (#1149) (4158d6a)
- deps: update dependency react-i18next to v15.1.1 (#1201) (ce0230c)
- editable-title: update edit icon position (#1188) (5b203f7)
- email-verification: update ui (#1171) (c629554)
- fileDropzone: update ui in mobile view (#1170) (8e0f157)
- layout: remove vertical scroll for user-menu (#1157) (23aba47)
- react/form: fix classname issues with form fields (#1165) (9d54c97)
- update demo page (#1189) (f13f037)
- update textOnly button ui (#1164) (e2d20ed)
- user: improve pages ui (#1204) (60762d7)
Features
- add default border radius to nav items in header layout (#1191) (4bbb190)
- add helper text for DaysInput component (#1202) (1c5b196)
- add helper text for password component (#1196) (06b0606)
- add helper text for TextInput component (#1195) (a7c7b7e)
- add helper text on different form components (#1200) (8f867a6)
- form: add helper text for Input component (#1192) (3feec1a)
- react/form: render custom content for input label (#1211) (e72646d)
- ui: add GridContainer ui component (#1212) (c5f379f)
- ui: improve Data component ui (#1205) (20250b0)
v0.48.3
v0.48.2
v0.48.1
v0.48.0
0.48.0 (2024-09-26)
Breaking Changes
Removal of deprecated primereact/datatable
- Removal of deprecated
primereact/datatable
: The deprecatedprimereact/datatable
is now completed removed from our@dzangolab/react-ui
package. - Affected Component: Applications using
DataTable
from@dzangolab/react-ui
package. - Migration Steps: Use
TDataTable
from@dzangolab/react-ui
package. For examples refer to our demo page at https://dzangolab.github.io/react/#/ui/table
Required dzangolab/fastify dependency
- Fastify v0.75.1 required: This release requires dzangolab/fastify v0.75.1 or newer due to compatibility and feature dependencies for users pacakge.
- Migration Steps: Make sure to update your dzangolab/fastify version before upgrading to this release of the package.
Bug Fixes
- ui/dropdown: improve dropdown default ui (#1116) (6814e63)
- ui/dropdown: improve dropdown ui (#1118) (53aa32e)
- ui: remove default inline style from loading page (#1130) (345bcb2)
- ui: rows not rendering in table component (#1127) (58e5103)
- user: fetch user on page refresh (#1137) (7acfaf4)
- user: profile form validation message (#1140) (5df6cf2)
Features
- demo: add doc for SwitchInput component (#1136) (03b15db)
- form: add new DateInput component (#1125) (920f1bc)
- i18n: export Trans component (#1115) (0c05b81)
- layout: add prop className and disabled for nav-item (#1129) (9fd846b)
- layout: expand user-menu upward with label fixed at the bottom (#1131) (9bcbd9a)
- ui: remove primereact datatable (#1139) (93b7d6a)
- update font stack to use system ui font (#1111) (581215c)
v0.47.0
0.47.0 (2024-08-26)
Breaking Changes
1. Removal of @dzangolab/react-form
CSS from @dzangolab/react-user
Package
- Removed Form CSS from User Package: The default import of
@dzangolab/react-form
CSS has been removed from the@dzangolab/react-user
package. The@dzangolab/react-form
package is now a peer dependency of the@dzangolab/react-user
package. - Affected Component: Applications using the
@dzangolab/react-user
package. - Migration Steps:
- Add
@dzangolab/react-form
as a dependency in your application. - Import the
@dzangolab/react-form
CSS into your application manually. Example:import "@dzangolab/react-form/dist/DzangolabReactForm.css";
- Add
2. Make Table Actions
Column's Visibility Configurable
- Configurable Table
Actions
Column: TheActions
column in theTable
component's visibility can now be configured using thevisibleColumns
prop. By default, theActions
column will be included in the table if thedataActionsMenu
prop is provided. However, you must explicitly include it in thevisibleColumns
prop if you want it to appear. - Affected Component: Applications using the
visibleColumns
prop inTable
component. - Migration Steps: If you are using the
visibleColumns
prop in theTable
component and have actions defined, ensure that"actions"
is included in thevisibleColumns
array. Example:<UsersTable visibleColumns={["email", ..., "actions"]} // <-- include "actions" here dataActionsMenu={dataActionsMenu} />
Bug Fixes
- invitations: disabled resend action if invitation status is not… (#1108) (021bc1d)
- table: make actions column visibility configurable via visibleCo… (#1109) (d116940)
Features
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)
v0.45.1
v0.45.0
0.45.0 (2024-07-16)
Breaking changes
- Removed CSS Export From @dzangolab/react-i18n: The CSS exported from @dzangolab /react-i18n\ package has been removed. All the CSS related to this will be handled by the @dzangolab /react-ui package.
- Affected Component: Applications importing CSS styles directly from @dzangolab /react-i18n.
- Migration Steps: Applications should now remove the import of CSS from @dzangolab /react-i18n.
Bug Fixes
- ui: set selected value to undefined instead of empty string on clear (#1070) (7ee1f44)
- user: error handaling for login and signup (#1068) (68a171f)
- user: remove manual validation trigger for confirm password (#1049) (331861b)
Features
- confirmation-modal: replace the prime react dialog with html di… (#1057) (3adc328)
- demo: add changelog link in the header (#1071) (850266d)
- form: remove Primereact's Overlay usage from FileInputBasic and FileAttach (#1053) (1d5a194)
- i18n: remove css export from i18n package (#1072) (c919e8d)
- ui: add Card component (#1055) (a5e3e8e)
- ui: add modal component (#1058) (98bba3e)
- ui: export type PageProperties from ui package (#1054) (d3e78c7)
v0.44.0
0.44.0 (2024-06-27)
Bug Fixes
Features
- demo-ui: add demo page for confirmation modal (#1036) (d149d01)
- form-textarea: add a new textarea component controller (#1033) (f50f235)
- form: remove deprecated RolePicker (#1043) (779301c)
- typeahead: allow user to enter value when there are no suggestions (#1029) (6277fa5)
- ui-textarea: add a new text area component (#1032) (ca590a0)
- ui-typeahead: support object as suggestion (#1030) (6690a6d)
- ui: add DropdownMenuV3 component (#1044) (bc81522)
- update i18n, layout and user package to use new dropdown component (#1047) (b84f942)
- user: support grace period by profileValidation (#1046) (8cea526)