github nacular/doodle v0.6.2
0.6.2

latest releases: v0.11.5, v0.11.4, v0.11.3...
4 years ago

Features

Forms

Doodle now supports Forms. They make data collection simple, while still preserving flexibility to build just the right experience. The new Form hides a lot of the complexity associated with mapping visual components to fields, state management, and validation. The result is an intuitive metaphor modeled around the idea of a constructor.

There is also a set of helpful forms controls that cover a reasonable range of data-types. These make its easy to create forms without much hassle. Forms are also extensible, allowing full customization of the data they bind to and how each fields is visualized.

Customizable Text Fields

TextFields that use the NativeTextFieldBehavior can now be customized using the new NativeTextFieldBehaviorModifier. This allows custom background and foregrounds for TextFields, which allows a wide range of styling when combined with the ability to hide borders and change background/foreground color.

APIs

  • View now exposes mirrored property that indicates whether it has been horizontally flipped due to contentDirection
  • New limitsChanged property to ProgressIndicator
  • New list-based API for constrain layout that removes the need to …
  • New math APIs for AffineTransform and underlying matrix types
  • SimpleMutableListModel's constructor is no longer protected
  • Moved Extractor to top-level util and deprecated local versions
  • Extended toString ItemVisualizer so it takes a custom string mapper
  • Encoder expanded to use Result based mappers
  • Replaced NativeHyperLinkBehaviorBuilder with NativeHyperLinkStyler and made it available via Themes library so it can be used on all platforms

Fixes | Improvements

General

  • ListLayout so it no longer sets ideal/minSize of container when widthSource is Parent
  • List/TreeRow, which wrap the item visualizers for each view are no longer focusable
  • Improvements to BasicCheckBoxBehavior and BasicRadioBehavior
  • ThemePicker no longer directly focusable since the spinner within it is
  • ListLayout now uses the container's width instead of idealSize.width when widthSource is set to Parent
  • Inspector.contains(Point) now delegates to behavior when present
  • BasicButtonBehavior and CheckRadioButtonBehavior now respond to mirrored state
  • Removed focusability for sub views generated by behaviors
  • Improved Path.toString
  • Improved default focus traversal
  • Fixed bug in ConfinedRangeModel that allowed range to exceed limits
  • Fixed bug where View not properly handled when moved from parent to Display
  • Fixed ambiguity with calls to Display.plusAssign(Container) and Container.plusAssign(Container)
  • Fixed bug where BasicDropdownBehavior could assign a negative height to an item
  • Fixed issue where Dropdown list not sized correctly after bounds change
  • Fixed bug where listItemVisualizer was not being used
  • Fixed visual bug in browser rendering
  • Fixed rendering for List with null items
  • Fixed focus traversal bug
  • Fixed ScrollPanel layout bug when content changes
  • Fixed empty List bug

Browser

  • Suppress pointer for canvas rendered elements
  • Fixed rendering issue with importing data into Canvas
  • Fixed Display cleanup on shutdown
  • Fixed clicking bug in native behaviors, and AccessibilityManagerImpl

Desktop

  • Improved focus traversal
  • Improved drag-drop support
  • Fixed text decoration bug

Dependencies

  • Kotlin -> 1.5.31
  • Removed old repositories

Don't miss a new doodle release

NewReleases is sending notifications on new releases.