Repository navigation
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
flexboxandtableinto separate packages,github.com/76creates/stickers/flexboxandgithub.com/76creates/stickers/tablerespectively. #10 @jon4hz
Fixes
- Minor lexical fixes
- Fixed repo tags to match go semver format.
Dependencies
- Updated
github.com/charmbracelet/lipglossto `v0.6.0'
Features
- Added
SetStylePassingto 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. AddCellsnow take cells as a variadic argument. #10 @jon4hz