Releases: Microflash/preset
Releases · Microflash/preset
5.0.1
5.0.0
Added
interpolate-size
on document to allow animating intrinsic sizing keywords such asheight
,width
and so on. Progressive enhancement, only supported by Chrome for now.- Balance text to avoid orphans for
li
andfigcaption
elements - Position numbers on baseline for headings, table cells,
math
element andtime
element with timestamp. Progressive enhancement, available if font supports this OpenType feature. - Sets numbers at same size for table cells,
math
element andtime
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 forscroll-margin-block
for supported browsers
Full Changelog: 4.1.0...5.0.0
4.1.0
Opt into user's color scheme preferences with color-scheme: light dark
Full Changelog: 4.0.3...4.1.0
4.0.3
No user-facing changes. Just polishing internal variable for outline transition.
Full Changelog: 4.0.2...4.0.3
4.0.2
Fixed
- Stops hiding the hanging punctuation on
input
andtextarea
elements
Full Changelog: 4.0.1...4.0.2
4.0.1
Superceded by 4.0.2
Full Changelog: 4.0.0...4.0.1
4.0.0
Added
- Allows overriding the outline transition with
--preset-outline-transition
property - Applies
field-sizing: content
onselect
andtextarea
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
3.1.0
Added
- New transition-timing-function for
outline-offset
based on linear() easing function for supported browsers
3.0.0
Changed
- Breaking Change:
stroke-color
is no longer being set on SVGs (mainly to allow design systems to enforce this on icon sets and illustrations). This also removes support for--preset-stroke-color
property.
2.0.0
Changed
- Breaking Change: Media elements (
img
,svg
,canvas
,audio
,video
,iframe
,embed
,object
) are no longer forced todisplay: block
. Instead, a gentler set of opinions are now applied on them. See 0887640