Skip to content

v0.5.0: Container Widgets and Parallel Tests

Choose a tag to compare

@jdrumgoole jdrumgoole released this 30 Jan 10:06
· 2 commits to main since this release

What's New

Container Widgets

Layout containers for organizing HTML content:

  • HTMLRow - Horizontal flexbox container with justify/align/wrap/gap
  • HTMLColumn - Vertical flexbox container with align/gap/max-width
  • HTMLCard - Visual container with title, shadows, borders, backgrounds
  • HTMLDivider - Horizontal/vertical separator with optional label
  • HTMLSpacer - Fixed or flexible spacing element

Layout Methods

Simple Python methods for full-window layouts (no CSS knowledge required):

  • .full_width() - Expand to 100% width
  • .full_height() - Expand to 100vh height
  • .full_screen() - Fill entire viewport
  • .expand() - Fill available flex space

CSS Enums

Type-safe enums for styling:

  • ShadowSize - NONE, SM, DEFAULT, MD, LG, XL
  • RadiusSize - NONE, SM, DEFAULT, MD, LG, XL, XXL, FULL
  • DividerStyle - SOLID, DASHED, DOTTED

Tutorial & Demos

  • Interactive container explorer in the tutorial app
  • 5 new demo programs showcasing container features

Performance

  • Parallel test execution with pytest-xdist (~3x faster)

Installation

pip install animaid==0.5.0

Documentation

See containers documentation for examples and API reference.