Skip to content

Releases: fuzetsu/zaftig

0.7.2

06 Sep 02:30
Compare
Choose a tag to compare

Fixed browser prefixing bug where properties in the popular list would never be prefixed when necessary.
In this case user-select was not properly being resolved to -moz-user-select in firefox.

Added special handling for [] attribute selectors, when nested within another selector the parent will be pre-pended without a space, as with :.

z`
  :active {  }
  [some-prop] {  }
`

Fixed a bug where styles defined inside a root level media query without a selector were not being added.

// bc red would not have been applied to :root
z.global`
  @media only screen {
    bc red
  }
`

Added border-bottom to popular properties to give it a higher shorthand priority. Previously bb resolved to break-before.

0.7.0

23 Aug 18:55
Compare
Choose a tag to compare

Breaking Changes

  • removed parser options (BREAK, OPEN, CLOSE)
  • removed .style property on style objects returned by z, use z.style instead

Enhancements / Bug Fixes

  • string based helpers will automatically have args appended
  • added z.style to parse style strings without generating classNames
  • added flex to popular list
  • fixed px detection for border properties in firefox