Skip to content

1.3 Angry Acromantula Release

Choose a tag to compare

@apcom52 apcom52 released this 31 Mar 15:14
· 1249 commits to stable since this release

✨ New features

  • Selectable mode and Selectable Actions for DataTable. If you pass selectable prop 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 with selectableActions prop.

  • New ToolbarAction modes: context menu and popup. As well as DataTableAction, ToolbarAction component has received new opportunities for working with actions not only as a button, but as a context menu (contextMenu prop) or popup window (content prop).

  • System theme. Now you can use user's system theme preference. Try to use Theme.system and 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 ToolbarGroup has children actions with contextMenu or content then collapse prop is ignoring
  • ToolbarAction: made prop onClick as 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> component
  • useOffset hook
  • useMargin hook
  • usePadding hook
  • Offset interface
  • OffsetObject interface
  • Margin interface
  • Padding interface
  • OffsetAxis enum
  • DEFAULT_OFFSET constant
  • ZERO_MARGIN constant
  • ZERO_PADDING constant
  • VERTICAL_MARGIN constant
  • HORIZONTAL_MARGIN constant
  • PADDING constant

We highly recommend you update your code if you use these items and replace them with another values.