Skip to content

Releases: Microflash/preset

5.0.4

05 Jan 15:26
Compare
Choose a tag to compare

Changed

  • Use a less opinionated PostCSS configuration

Fixed

  • font-feature-settings for headings, td, math, and time elements

Full Changelog: 5.0.3...5.0.4

5.0.3

21 Dec 06:52
Compare
Choose a tag to compare

Changed

  • Set cursor for disabled elements with [role="button"]

Full Changelog: 5.0.2...5.0.3

5.0.2

19 Nov 17:20
Compare
Choose a tag to compare

Changed

  • Set stroke-linecap: round and stroke-linejoin: round only when they are not already set on SVG

Fixed

  • Selector that ensures button content is not selectable

Full Changelog: 5.0.1...5.0.2

5.0.1

02 Oct 14:47
Compare
Choose a tag to compare

Removed

  • Invalid font-feature-settings injected by PostCSS

Full Changelog: 5.0.0...5.0.1

5.0.0

02 Oct 10:46
Compare
Choose a tag to compare

Added

  • interpolate-size on document to allow animating intrinsic sizing keywords such as height, width and so on. Progressive enhancement, only supported by Chrome for now.
  • Balance text to avoid orphans for li and figcaption elements
  • Position numbers on baseline for headings, table cells, math element and time element with timestamp. Progressive enhancement, available if font supports this OpenType feature.
  • Sets numbers at same size for table cells, math element and time element with timestamp. Progressive enhancement, available if font supports this OpenType feature.

Changed

  • Breaking change Rename --preset-scroll-padding as --preset-scroll-offset
  • Apply scroll-margin-block on :target regardless of motion preference
  • Add rlh fallback for scroll-margin-block for supported browsers

Full Changelog: 4.1.0...5.0.0

4.1.0

23 Jul 17:00
Compare
Choose a tag to compare

Opt into user's color scheme preferences with color-scheme: light dark

Full Changelog: 4.0.3...4.1.0

4.0.3

08 Jul 18:53
Compare
Choose a tag to compare

No user-facing changes. Just polishing internal variable for outline transition.

Full Changelog: 4.0.2...4.0.3

4.0.2

11 Jun 18:02
Compare
Choose a tag to compare

Fixed

  • Stops hiding the hanging punctuation on input and textarea elements

Full Changelog: 4.0.1...4.0.2

4.0.1

07 Jun 17:22
Compare
Choose a tag to compare

Superceded by 4.0.2

Full Changelog: 4.0.0...4.0.1

4.0.0

01 Jun 16:36
e71382e
Compare
Choose a tag to compare

Added

  • Allows overriding the outline transition with --preset-outline-transition property
  • Applies field-sizing: content on select and textarea elements to resize them based on content

Changed

  • Stops applying the transitions on devices using low refresh rate screens (such as e-readers)

Full Changelog: 3.1.0...4.0.0