css

The CSS Language and Framework

MIT License

Downloads
6.8K
Stars
1.7K
Committers
14

Bot releases are visible (Hide)

css - v2.0.0-beta.135

Published by github-actions[bot] over 1 year ago

Bug Fixes

  • CSS - Accidentally added undefined class name to <html> a2378b5

Deprecations

  • CSS - Continue to ensure <style id="master"> is inserted at the end of <head>, config.precedence is no longer required #188 b7443a8

Tests

  • JIT - Make sure JIT mode doesn't throw errors on page load 648991a
css - v2.0.0-beta.134

Published by github-actions[bot] over 1 year ago

Updates

  • Language Service - Semantics highlight ef73c43

Bug Fixes

  • CSS - Type does not allow custom rule names e7f89af
  • Language Service - Certain syntaxes display wrong CSS rules #186 1ff15c3

Upgrades

css - v2.0.0-beta.133

Published by github-actions[bot] over 1 year ago

Improvements

  • CSS - config.rules have no type hints 46154f3
css - v2.0.0-beta.132

Published by github-actions[bot] over 1 year ago

Bug Fixes

  • CSS - renderFromHTML decodes class name before inserting 5f4dcbf
css - v2.0.0-beta.131

Published by github-actions[bot] over 1 year ago

New Features

  • CSS - config.keyframes generated on demand #181 ffcdef7
  • CSS - config.precedence for how to insert <style id="master"> into the DOM tree or HTML #188 357811f
  • Svelte - CSSProvider and LazyCSSProvider standardly register Master CSS in Svelte 6864e11

Performance Upgrades

  • CSS - Solve FOUC caused by pure JIT mode 853e154

Improvements

  • CSS - Expose the css.observer property b8df93c
  • React - useLazyCSS, useCSS ed5d375

Bug Fixes

  • CSS - Google translated title="master" attribute value causing Hydration error 67daa57
  • CSS - Missed grid-template-columns and grid-template-rows default unit rem 43f53f3
  • React - Incorrect lifecycle in CSS providers 6a2fbcd
  • React - Infinite renders ff19f24
  • Svelte - Incorrect lifecycle in CSS providers d2fa878
css - v2.0.0-beta.130

Published by github-actions[bot] over 1 year ago

Improvements

  • CSS - Increase text:size line height 0084d68
  • CSS - Rename config.functions[].native to config.functions[].name 4b48166

Bug Fixes

  • CSS - Directory import '...providers' is not supported resolving ES modules imported from '...index.mjs' b5a673a
css - v2.0.0-beta.129

Published by github-actions[bot] over 1 year ago

Bug Fixes

  • ESModule import/export path missing .mjs extension #183 bc6afd1
css - v2.0.0-beta.128

Published by github-actions[bot] over 1 year ago

⚠️ This version still has issues, please wait for the next version @master/[email protected]

Improvements

  • CSS - Merge the spacing into margin and padding a4b8d21

Bug Fixes

css - v2.0.0-beta.127

Published by github-actions[bot] over 1 year ago

Bug Fixes

  • CSS - Importing ESM causes Circular dependency e1abf9c
css - v2.0.0-beta.126

Published by github-actions[bot] over 1 year ago

Improvements

  • CSS - Extend getDocThemeInitScript default settings d00ad98
css - v2.0.0-beta.125

Published by github-actions[bot] over 1 year ago

Improvements

  • React - Standalone ThemeProvider d19d7d8

Deprecations

  • CSS - Depreciate config.theme 31cbaec
css - v2.0.0-beta.124

Published by github-actions[bot] over 1 year ago

Bug Fixes

  • CSS - theme.default doesn't work 3fe701b
  • React - ThemeProvider theme was not updated b15dd11

Examples

  • React - Using ThemeProvider ff9a2c1
css - v2.0.0-beta.123

Published by github-actions[bot] over 1 year ago

Bug Fixes

  • CSS - Invalid browser ESM version f61379a
css - v2.0.0-beta.122

Published by github-actions[bot] over 1 year ago

Additions

  • CSS - getSyncWithStoredThemeScript for <script> a97c981
css - v2.0.0-beta.121

Published by github-actions[bot] over 1 year ago

Improvements

  • CSS - Merge config.values.x into config.rules.x.values and keep original config.values as global token values ⚠️ Breaking Change 88d96c5

    From Depreciated

    export const config = {
        values: {
            '2x': 32, // class="w:2x"
            fontSize: { 
                sm: 14 // class="font:sm"
            }
        },
    }
    

    To

    export const config = {
        values: {
            '2x': 32 // class="w:2x"
        },
        rules: {
            fontSize: { 
                values: {
                    sm: 14 // class="font:sm"
                }
            }
        },
    }
    
css - v2.0.0-beta.120

Published by github-actions[bot] over 1 year ago

Performance Upgrades

  • CSS - Make all exports tree-shakable 382bbe7
  • CSS - Merge all rules into one ( ↓ ~1KB Brotli ) ed72be5
  • CSS - Separately bundle Node and Browser packages 73c1b82
  • CSS - Simplify CSS architecture ( ↓ ~2.5KB Brotli ) 22af8ac
  • React - Resolve promises in parallel b1c0e08
  • React - Tree shakeable and more reliable automatic chunk splitting structure c229371

Bug Fixes

  • CSS - CSS is not defined 0e2f04d
  • React - LazyLoadProvider Incorrectly importing configuration dynamically efbbcd0
css - v2.0.0-beta.119

Published by github-actions[bot] over 1 year ago

Updates

  • CSS - Insert master style before <link rel="styleSheet"> or <style> 1dd3f8b
css - v2.0.0-beta.118

Published by github-actions[bot] over 1 year ago

New Features

  • CSS - Independent theme API f14182e
  • React - CSSLazyProvider for lazy loading JIT engine fa97d0c
  • React - CSSProvider, useCSS 45dccb1
  • React - ThemeProvider Pass theme context, state, and switch() 8fbb553

Updates

  • Compiler - Exclude non-classname strings like @typescript-eslint/no-empty-function 59db021
  • Compiler - Exclude some non-classname strings 2f37440

Bug Fixes

  • Compiler - Exclude non-classname strings like $(size):calc(100%-20px) 674c28f
  • CSS - Web APIs in node env 5e16531
  • React - Wrong TypeScript compile option e0d99f0

Examples

  • React - Use the latest Master CSS React API and add a theme switching example 9c38e84
css - v2.0.0-beta.117

Published by github-actions[bot] over 1 year ago

Bug Fixes

  • CSS - If variable Rule prefix contains (), will throw error 2a726ad
css - v2.0.0-beta.116

Published by github-actions[bot] over 1 year ago

Improvements

  • CLI - Terminal output for reading config file 8642745