Skip to content

v3.9.0

Choose a tag to compare

@rrenildopereiraa rrenildopereiraa released this 24 Jan 12:44

Added

  • [core] Implement a::* pseudo-element variant (::after).
  • [core] Implement b::* pseudo-element variant (::before).
  • [core] Implement fv:* pseudo-class variant (:focus-visible).
  • [core] Implement fw:* pseudo-class variant (:focus-within).
  • [core] Implement p::* pseudo-element variant (::placeholder).
  • [core] Implement s::* pseudo-element variant (::selection).
  • [core] Implement pc:* media query variant for touch devices (@media (pointer: coarse)).
  • [core] Implement 10 new cursor values: alias, all-scroll, cell, context-menu, copy, grab, grabbing, ew-resize, ns-resize, and vertical-text.
  • [core] Implement ta-* utilities (touch-action) with all 10 values.
  • [core] Implement auto value to b-* (bottom), i-* (inset), ix-* (inset-x), iy-* (inset-y), l-* (left), r-* (right), and t-* (top) utilities.
  • [core] Extend t-r-* (rotate) utility range from 0-100 to 0-360 degrees (steps of 5).
  • [core] Implement t-tx-* and t-ty-* utilities for translateX and translateY with full/half values.
  • [nitro] Implement support for negative values using -- syntax (e.g., m--1 for margin: -0.25rem).

Changed

  • [core] Rename package from @yummacss/api to @yummacss/core.
  • [core] Update mx-* (margin-x) to use margin-inline instead of margin-left and margin-right.
  • [core] Update my-* (margin-y) to use margin-block instead of margin-top and margin-bottom.
  • [core] Update px-* (padding-x) to use padding-inline instead of padding-left and padding-right.
  • [core] Update py-* (padding-y) to use padding-block instead of padding-top and padding-bottom.
  • [core] Rename bs-* (box-shadow) to bsh-* to resolve collision with border-style and border-spacing.
  • [core] Rename i-* (isolation) to is-* to resolve collision with inset.