v1.4.0
This is something that was waiting for over a year now, frustrated by the fact, but on the other hand no other way than forward. I will make some efforts to locate bugs and improvements in the following period. Hope folks are still finding stickers usefull nowadays ⚡
Changelog
⚠ BREAKING CHANGES
- Moved
flexbox
andtable
into separate packages,github.com/76creates/stickers/flexbox
andgit.luolix.top/76creates/stickers/table
respectively. #10 @jon4hz
Fixes
- Minor lexical fixes
- Fixed repo tags to match go semver format.
Dependencies
- Updated
github.com/charmbracelet/lipgloss
to `v0.6.0'
Features
- Added
SetStylePassing
to Table that will pass down the style all the way, from box to cell. No granularity for now. - Added
HorizontalFlexBox
. #10 @jon4hz
Updates
- Refactored
FlexBox.GetRow
,FlexBox.Row
,FlexBox.MustGetRow
,FlexBoxRow.Cell
,FlexBoxRow.GetCellWithID
,FlexBoxRow.MustGetCellWithIndex
.
They are replaced withFlexBoxRow.GetCell
,FlexBoxRow.GetCellCopy
,FlexBox.GetRow
,FlexBox.GetRowCopy
,FlexBox.GetRowCellCopy
.
Get* now returns pointer and triggers recalculation, while one can use Copy* function to get pointer to copied structs which can be used to lookup values without triggering recalculation. AddCells
now take cells as a variadic argument. #10 @jon4hz