v0.4.0

chenglou/pretextv0.4.0Sep 4, 2022by elkowar

AI Summary

This release focuses on widget improvements and CSS enhancements, notably fixing calendar indexing and adding new CSS selectors and input field options.

Key Highlights

  • Calendar widget months now start at 1 instead of 0
  • Added `:active` CSS pseudoselector and `:password` input option
  • Improved CSS error reporting and scale widget precision

Breaking Changes

  • Calendar widget month indexing changed from 0-based to 1-based

New Features

  • Monitor output name selection in X11
  • CSS `:active` pseudoselector
  • Input `:password` attribute
  • Scale `:round-digits` property

Full Release Notes

(Corresponding docs commit: https://github.com/elkowar/eww/commit/535f21f5f92d67a1c70d9359ed547a9a5b88c3d2)

### BREAKING CHANGES
- Change `calendar`-widget to index months starting at 1 rather than indexed from 0

### Features
- Add support for output names in X11 to select `:monitor`.
- Add support for `:active`-pseudoselector on eventbox (By: viandoxdev)
- Add support for `:password` on input (By: viandoxdev)

### Notable fixes and other changes
- Scale now only runs the onchange command on changes caused by user-interaction
- Improve CSS error reporting
- Fix deflisten scripts not always getting cleaned up properly
- Add `:round-digits` to scale widget (By: gavynriebau)
- Fix cirular-progress not properly displaying 100% values when clockwise is false