github quasarframework/quasar quasar-v2.35.0

5 hours ago

Changes

  • feat(colors): rgbToText() -> new util on the colors object, the inverse of textToRgb(): turns an { r, g, b, a } object into an rgb()/rgba() string, just as rgbToHex() mirrors hexToRgb()
  • fix(QColor): hex alpha precision -> typing a hex alpha byte such as #ff000001 no longer turns it into #ff000000 (which also left the header out of sync), and #..02 no longer becomes #..03. An rgba() alpha with more than two decimals is kept instead of rounded. The Tune alpha field now accepts and shows a fractional percent (the sliders keep whole-percent steps). The color utils change along with it: hexToRgb() now returns the alpha as a percent with one decimal (#..80 gives a: 50.2, not 50), and textToRgb() keeps the decimals of an rgba() alpha, so a color comes back unchanged after a round trip through the utils (#18562)
  • fix(Screen): missing Screen Orientation API -> the app no longer fails to mount on Safari < 16.4 (and in jsdom) with "Right side of assignment cannot be destructured". Where the API is missing, $q.screen.orientation stays at its 'portrait-primary' default, the same as on the server (#18561)

Donations

Quasar Framework is an open-source MIT-licensed project made possible due to the generous contributions by sponsors and backers. If Quasar is useful in your workflow and you want to support ongoing maintenance, please consider the following:

Don't miss a new quasar release

NewReleases is sending notifications on new releases.