Skip to content

v2.0.0-rc.27

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Apr 12:54
· 560 commits to rc since this release

New Features

  • @master/css-explore-config - A utility for exploring a Master CSS config file @1aron e1e3994

Performance Upgrades

Language Service
  • Improve CSS generation and hint interaction latency @1aron 7b2c1a2

Additions

  • leading alias for line-height @1aron 4f04d20
      <div class="line-height:1">
    + <div class="leading:1">
  • text-truncate: alias for lines: @1aron 3de751e
      <div class="lines:3">
    + <div class="text-truncate:3">
  • text-underline-position: @1aron bf0d43c
    <p class="text-underline:front-font">
    <p class="text-underline:under">
    <p class="text-underline:left">
    <p class="text-underline:right">
  • tracking: alias for letter-spacing: @1aron ffe607f
      <p class="letter-spacing:1">
    + <p class="tracking:1">
  • Function generatedCSS(config) @1aron 3a12c6e
Language Service

Improvements

  • @all, @print, @screen, @speech should be set in the default query @1aron 53ef2d0
  • Rename config.semantics to config.utilities to prevent confusion with component classes @1aron 6728364
    export default {
    -    semantics: { ... },
    +    utilities: { ... }
    }
  • Rules API @1aron 02f033d
Language Service

Bug Fixes

Core
ESLint
Language Service
VSCode Language Service

Deprecations

  • .hide utility class in favor of .hidden @1aron 43499ad
    - <div class="hide">
    + <div class="hidden">
  • lh: alias in favor of line-h: @1aron 8e7dcb2
    - <div class="lh:1">
    + <div class="line-h:1">
    + <div class="leading:1">
  • Unused ::meter @1aron ffa5251

Tests

Language Service