Skip to content

Releases: master-co/css

v2.0.0-rc.6

16 Jan 11:52
Compare
Choose a tag to compare
v2.0.0-rc.6 Pre-release
Pre-release

Bug Fixes

Class Variant

v2.0.0-rc.5

15 Jan 13:57
Compare
Choose a tag to compare
v2.0.0-rc.5 Pre-release
Pre-release

Bug Fixes

Server

v2.0.0-rc.4

15 Jan 09:27
Compare
Choose a tag to compare
v2.0.0-rc.4 Pre-release
Pre-release

Bug Fixes

Nuxt

v2.0.0-rc.3

15 Jan 03:06
Compare
Choose a tag to compare
v2.0.0-rc.3 Pre-release
Pre-release

Bug Fixes

Nuxt

v2.0.0-rc.2

10 Jan 15:03
Compare
Choose a tag to compare
v2.0.0-rc.2 Pre-release
Pre-release

Bug Fixes

Runtime

v2.0.0-rc.1

10 Jan 11:02
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release

New Features

  • @master/css.vue, including CSSProvider dac0ffd
  • Ambiguous shorthand support for config.values 7157d3b
  • Class Variant #191 3dd94ff
  • Integrate Master CSS Static Extraction in Vite way f461c83
  • Integrate Master CSS Static Extraction in Webpack way 761b902
  • Master CSS ESLint Plugin dfb66ee
  • Master CSS ESLint Plugin Config 91bce44
  • Master CSS Nuxt baf1e50
  • Master CSS Runtime, performs a single responsibility dac3834
  • Master CSS Server 970928b
  • Master CSS Server Nitro 72061c4
  • Master CSS static extractor for various raw text 2f51401
  • Master CSS Variables, resolved #283 c97de2f
  • Multiplier unit x and config.baseUnit #316 51bf4a2
  • Nested configuration for classes / mediaQueries cbd27ad
  • Pre-renders Master CSS class syntax in HTML 85d82a7
  • Smart conversion of units for factors in calc 6b7c08b
  • Theme Service 4e6ae25
  • Validator for Master CSS class syntax 73bfec1
Class Variant
Compiler
  • Option .additions for files scanned at startup 2364f92
  • Option .additions for files scanned at startup 3fac285
CSS
  • config.extends multiple configurations #180 5b080ae
  • config.keyframes generated on demand #181 ffcdef7
  • config.precedence for how to insert <style id="master"> into the DOM tree or HTML 357811f
  • config.themeDriver #177 797da10
  • gradient-text semantic + gradient() shorthand #167 fb92b98
  • mcss render .next/**/*.html command for things like Next.js #205 6e95826
  • vw vh max-vw max-vh min-vw min-vh semantics #124 ad024c4
  • Config colors support rgba() function #105 d6af6bf
  • Fallback invalid at-rules @.* to be themes #214 836e702
  • Fonts Configuration API, resolved #275 824d0ed
  • Independent theme API f14182e
  • Master CSS CLI 977daf5
  • Master CSS Variables bb3b660
  • Semantic fit = width:fit + height:fit #257 a199e34
  • Support BEM's double underscore naming #218 8c8586d
  • Support for converting unit-valued parameters in CSS functions 6cd038d
  • Support making all declarations important with config.important #131 ccbff2e
  • Support scoping all CSS rules with config.scope #133 c41baea #132
  • Support semantics and rules with animation keyframes #222 f2f8b87
React
  • CSSLazyProvider for lazy loading JIT engine fa97d0c
  • CSSProvider, useCSS 45dccb1
  • cve supports Boolean properties #247 c7b6c07
  • ThemeProvider Pass theme context, state, and switch() 8fbb553
  • Integrate Class Variant using React elements #191 277ee1d
Svelte
  • CSSProvider and LazyCSSProvider standardly register Master CSS in Svelte 6864e11
  • LazyCSSProvider for Progressive Rendering b5577b4
Syntax
  • A new shorthand max:WxH for max-width and max-height a2396d0
  • A new shorthand min:WxH for min-width and min-height 25c2398
  • A new shorthand WxH for width and height 1bb9e90
Vue
  • Class Variant Elements 2fa48d9
  • Register the theme service using ThemeServiceProvider f4dfaca

Performance Upgrades

Read more

v2.0.0-beta.215

08 Jan 14:16
Compare
Choose a tag to compare
v2.0.0-beta.215 Pre-release
Pre-release

‼️ This release contains syntactically breaking changes.

Performance Upgrades

Server
  • Add decodeHTML function and fix class duplication dd5d607 @1aron

Bug Fixes

Server

v2.0.0-beta.214

21 Dec 13:28
Compare
Choose a tag to compare
v2.0.0-beta.214 Pre-release
Pre-release

‼️ This release contains syntactically breaking changes.

Improvements

  • Refactor default media queries to use screen sizes tokens dd9dbbb @1aron
  • Remove unused variables size and simplify code 5619e66 @1aron
  • Rename variables box-size to screen a798d99 @1aron
    export default {
        variables: {
            screen: {
                '4xs': 360,
                '3xs': 480,
                '2xs': 600,
                'xs': 768,
                'sm': 834,
                'md': 1024,
                'lg': 1280,
                'xl': 1440,
                '2xl': 1600,
                '3xl': 1920,
                '4xl': 2560
            }
        }
    }
    Apply the screen variables:
    - max-w:md
    + max-w:screen-md
  • Use size:W|H, max:W|H, min:W|H instead of WxH, max:WxH, min:WxH da8331e @1aron
    - 16x16
    + size:16 = size:4x
    - max:16x32
    + max:16|32 = max:4x|8x
    - min:16x16
    + min:16 = min:4x
    The x separator in 16x32 collides with the latest unit multiplier x, like 16xx32x, and it is unintuitive.

Documentation

Tests

v2.0.0-beta.213

19 Dec 09:27
Compare
Choose a tag to compare
v2.0.0-beta.213 Pre-release
Pre-release

Bug Fixes

  • Prevent % or indeterminate CSS variables from converting units 51f4118 @BenSeage

v2.0.0-beta.212

15 Dec 16:21
Compare
Choose a tag to compare
v2.0.0-beta.212 Pre-release
Pre-release

📢 This release helps you fix hydration errors caused by progressive rendering in Next.js, Nuxt.js, etc.

Bug Fixes

Server
  • Class names from HTML must be decoded beforehand 13e07c7 @1aron

Documentation

  • New documentation Development strategies for minimizing CSS bb446d5 @1aron