1.3 Angry Acromantula Release
✨ New features
-
Selectable mode and Selectable Actions for DataTable. If you pass
selectableprop for your DataTable you can click on ☑️ action and then select some rows. Also you can manage with selectable actions which work only in selectable mode withselectableActionsprop. -
New ToolbarAction modes: context menu and popup. As well as
DataTableAction,ToolbarActioncomponent has received new opportunities for working with actions not only as a button, but as a context menu (contextMenuprop) or popup window (contentprop). -
System theme. Now you can use user's system theme preference. Try to use
Theme.systemand when user set his system theme to dark - Altrone components will be dark too.
✅ Changes and improvements
- DataTableAction: added new prop
disabled - DataTable: added new prop
DataTableStatusComponent - Toolbar: when
ToolbarGrouphas children actions withcontextMenuorcontentthencollapseprop is ignoring - ToolbarAction: made prop
onClickas optional - NumberInput: added the ability to use increment or decrement value multipliers with ALT or SHIFT
- NavigationList: added separator support
🐞 Fixes
- FloatingBox: fixed incorrect extending of interface
- DataTable: fixed the issue with hidden header if passed only actions
🔧 Build
- improved build process
- reduced bundle size by 8 times
⚠️ Deprecated components
In Altrone 1.3 we marked some components, hooks, constants and interfaces as deprecated. THESE ITEMS WILL BE DELETED IN ALTRONE 3.0 RELEASE.
Full list of deprecated items:
<Box>componentuseOffsethookuseMarginhookusePaddinghookOffsetinterfaceOffsetObjectinterfaceMargininterfacePaddinginterfaceOffsetAxisenumDEFAULT_OFFSETconstantZERO_MARGINconstantZERO_PADDINGconstantVERTICAL_MARGINconstantHORIZONTAL_MARGINconstantPADDINGconstant
We highly recommend you update your code if you use these items and replace them with another values.