Skip to content

4.0

Choose a tag to compare

@kalashnikovisme kalashnikovisme released this 23 Sep 23:10
· 16 commits to main since this release

Tramway

  • Dropped Rails 7.x support — now verified only against Rails 8.0 and 8.1
  • Removed gemfiles/rails_7.0.gemfile, rails_7.1.gemfile, rails_7.2.gemfile
  • Font Awesome is now bundled via the engine (font-awesome-rails), with font asset paths and font-awesome.css precompilation wired up automatically for Propshaft apps

Tramway Navbar

  • Added direction: option to tramway_navbar (:vertical is now the default, :horizontal for the classic top navbar)
  • Default :vertical navbar now renders as a fixed, collapsible left sidebar on desktop (mobile always shows the top navbar regardless of direction:)
  • Sidebar collapse toggle now uses a single rotating fa-chevron-left icon instead of swapping between two icons
  • Tuned collapse/expand transitions per element (width/padding-left vs. opacity) with custom easing curves, respecting prefers-reduced-motion
  • tramway_main_container now auto-syncs its left offset (md:pl-72/md:pl-24) with the navbar's direction and collapsed state

Tramway Grid (new)

  • Added tramway_grid and tramway_card for dashboard-style layouts with cards spanning multiple rows and columns
  • Supports rows:, columns:, and outline: true (centered separators between cells)

Tramway Table

  • Added size: option to tramway_table (:small, :medium, :large; default :medium matches prior behavior)
  • tramway_row, tramway_header, and tramway_cell now automatically follow the table's active size
  • Table carries a default bg-zinc-950 background, overridable via class:
  • Linked rows (href:) keep a transparent background

Tramway Chat

  • Added custom tramway-scrollbar styling to the messages panel

Fixes & Internals

  • Fixed CSS class concatenation in Containers::Main/Containers::Narrow (previous string concatenation could produce classes glued together without a space)
  • Replaced rubocop:disable/rubocop:enable block comments with rubocop:disable-next throughout
  • lefthook version now pinned via .tool-versions for mise/make install

Full Changelog: 3.1.2.8...4.0