Skip to content

v1.4.0

Latest
Compare
Choose a tag to compare
@76creates 76creates released this 11 Sep 19:03
· 2 commits to master since this release

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 and table into separate packages, github.com/76creates/stickers/flexbox and github.com/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 with FlexBoxRow.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