Skip to content

v.1.6.0

Latest

Choose a tag to compare

@brammo brammo released this 24 Oct 06:18

Changed

  • TableHelper::header(), row(), and body() return the helper for chaining (previously void)
  • TableHelper render wrapper / table attributes are merged with the defaults; passing attributes without class keeps table-responsive / table
  • TableHelper body cells accept [content] and [content => attrs], matching header cells
  • NavHelper adds role="tablist" only when the nav contains tab buttons; links-only navs have no role unless set in navAttrs
  • NavHelper and CarouselHelper treat any truthy active (and Nav disabled) value as true
  • Minimum PHP is documented as 8.2 (matching composer.json); CI now also runs on PHP 8.4
  • Removed the version field from composer.json; versions come from git tags

Fixed

  • CardHelper no longer renders headerAttrs / footerAttrs as card attributes when header / footer is omitted
  • TableHelper body options set with body() or the body render option no longer leak into the next table when the rendered table has no rows
  • TableHelper no longer raises an undefined-key warning for a body cell given as [content]
  • NavHelper appends a tab or link class option to the nav-link classes instead of dropping it
  • CarouselHelper renders controls and indicators when id is '0'
  • docs/table.md example used FriendsOfCake Html->badge() and wrong Html->link() / Form->postLink() arguments