Skip to content

Releases: lkzhao/UIComponent

0.7.2

03 Aug 17:51
Compare
Choose a tag to compare
add context menu provider to TappableView

0.7.1

03 Aug 17:38
Compare
Choose a tag to compare
make TappableView support long press

`FlexRow`, `FlexColumn`, `flex` support in `Flow`, and `tailJustifyContent`

19 Jul 05:58
Compare
Choose a tag to compare

Thanks to @wwdc14 for the initial changes and ideas.

  • Added FlexRow and FlexColumn, which are wrapping version of HStack and VStack that support flex.
  • Support flex in Flow layout. Flow layout basically is a FlexRow now.
  • Added tailJustifyContent for flex based layouts.

Bug fixes

02 Jul 19:53
Compare
Choose a tag to compare
  • Fix HStack/VStack's size being limited to the bounds when justifyContent != .start
  • Fix size modifier limits the size to the constraint even when SizeStrategy is set to .fit.

0.6.1

22 Jun 19:40
Compare
Choose a tag to compare

Bug fixes and cleanup

0.5.0

14 Jun 19:47
Compare
Choose a tag to compare
  • implement structure identification based on element's position
  • remove id parameters from all view wrapper component and their corresponding modifiers
  • add AsyncImage example to the example project

0.4.1

12 Jun 08:32
Compare
Choose a tag to compare
  • rename ComponentFunctionBuilder to ComponentArrayBuilder
  • remove ComponentFunctionBuilderItem
  • remove constraint param from ComponentBuilder
  • support for in loop inside a ComponentArrayBuilder
  • rename and cleanup few properties on ComponentDisplayableView
  • remove ForEach in favor of for in loop
  • remove .join method on ComponentFunctionBuilderItem and add a new Join builder item.
// before
ForEach(cards) { card in
  Card(card: card)
}.join {
  Separator(color: .red)
}

// after
Join {
  for card in cards {
    Card(card: card)
  }
} separator: {
  Separator(color: .red)
}

Add TappableView Config

08 Jun 18:07
Compare
Choose a tag to compare
0.3.1

add tappable view configuration

Add tappableView modifier

08 Jun 16:29
Compare
Choose a tag to compare
0.3.0

add tappable view component

Swift Package Support

03 Feb 02:07
Compare
Choose a tag to compare
0.2.1

Support SPM