Releases: lkzhao/UIComponent
Releases · lkzhao/UIComponent
0.7.2
0.7.1
`FlexRow`, `FlexColumn`, `flex` support in `Flow`, and `tailJustifyContent`
Thanks to @wwdc14 for the initial changes and ideas.
- Added
FlexRow
andFlexColumn
, which are wrapping version ofHStack
andVStack
that supportflex
. - Support
flex
inFlow
layout.Flow
layout basically is aFlexRow
now. - Added
tailJustifyContent
for flex based layouts.
Bug fixes
0.6.1
0.5.0
0.4.1
- rename
ComponentFunctionBuilder
toComponentArrayBuilder
- remove
ComponentFunctionBuilderItem
- remove
constraint
param fromComponentBuilder
- support
for in
loop inside aComponentArrayBuilder
- rename and cleanup few properties on
ComponentDisplayableView
- remove
ForEach
in favor offor in
loop - remove
.join
method onComponentFunctionBuilderItem
and add a newJoin
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
0.3.1 add tappable view configuration
Add tappableView modifier
0.3.0 add tappable view component
Swift Package Support
0.2.1 Support SPM