Skip to content

DUI v1.4.0 Release

Latest
Compare
Choose a tag to compare
@fuma-nama fuma-nama released this 16 Sep 14:37

Features

  • Supports DynamicComponent which parses data from event info
  • Passing the default listener type in RenderContext
  • New Switch Component which displays the page that matches the specified key

Fixes

  • Fix Pager has no respond After clicking Buttons

Changes

  • Rename NoDataComponent to NoPropsComponent
  • Pager and TabLayout now pass InteractionContext to setPage lambda parameter
  • The id field from Data now moved to KeyData
  • component property in RenderContext stored as Component<D> instead of generic types
  • Listener ID use String instead of Long
  • Store Data as Generic Type (Component<Props: Any> -> Component<Data: Data<P>>)

Internal

  • Rewrite Component Structure: parseData and encodeData
  • Supports custom the method to parse or encode data