Skip to content

v0.19.0

Compare
Choose a tag to compare
@jeremeamia jeremeamia released this 18 Jun 20:25
  • Adds tapIf() to all Elements. Works the same as tap(), but allows you to specify a condition to decide if the tap is needed.
  • Adds blocks() methods to all Surfaces for adding arrays/iterables of blocks easily.
  • Adds support for callbackId, externalId, and privateMetadata to AppHome surfaces. This was previously missing.
    • This was done by creating a base View surface class that both Modal and AppHome extend.
  • Adds the encodePrivateMetadata(array $data) method to Modal and AppHome, which provides an easy way to set encoded private metadata from an array.
  • Adds support for the newInput() method to all surfaces, instead of just Modals.
  • Updates all VirtualBlocks to implement IteratorAggregate for emitting it's BlockElements.