Skip to content

Latest commit

Β 

History

History
423 lines (210 loc) Β· 17.2 KB

CHANGELOG.md

File metadata and controls

423 lines (210 loc) Β· 17.2 KB

1.3.2 (2022-10-28)

Bug Fixes

1.3.1 (2022-10-28)

Bug Fixes

  • revert adding themes to style object (#25) (0712080)

1.3.0 (2022-10-28)

Features

1.2.0 (2022-10-15)

Features

  • support constructable stylesheets (#23) (086a081)

1.1.1 (2022-09-01)

Bug Fixes

1.1.0 (2022-09-01)

Features

  • add insertRule batching optimization (#21) (d460435)

1.0.2 (2022-08-18)

Bug Fixes

  • add explicit function return types (#20) (d327470)

1.0.1 (2022-06-25)

Bug Fixes

1.0.0 (2022-06-25)

Bug Fixes

  • fix release (f0263f5)
  • fix release (2b7a428)
  • for the love of god semantic-release is a pain sometimes (46fb7e6)
  • make the release trigger (17ae4e5)

Features

BREAKING CHANGES

    • styles() -> styles.variants()

1.0.0 (2022-06-25)

Bug Fixes

Features

BREAKING CHANGES

    • styles() -> styles.variants()

1.0.0 (2022-06-25)

Bug Fixes

Features

BREAKING CHANGES

    • styles() -> styles.variants()

1.0.0 (2022-06-25)

Bug Fixes

  • make the release trigger (17ae4e5)

Features

BREAKING CHANGES

    • styles() -> styles.variants()

1.0.0-alpha.13 (2021-11-02)

Bug Fixes

  • allow number indexes in pathToToken (f43514b)

1.0.0-alpha.12 (2021-11-02)

Bug Fixes

  • make pathToToken more closely match real world scenario (abe91b3)

1.0.0-alpha.11 (2021-11-02)

Features

  • add pathToToken utility (c9a844d)

1.0.0-alpha.10 (2021-11-01)

Performance Improvements

  • swap out es6 map with plain objects in a few places it was consequential (e228f12)

1.0.0-alpha.9 (2021-11-01)

Bug Fixes

1.0.0-alpha.8 (2021-11-01)

Bug Fixes

  • fix labels for numeric tokens (8415c81)

1.0.0-alpha.7 (2021-10-31)

Performance Improvements

  • improve variants performance (47703a0)

1.0.0-alpha.6 (2021-10-31)

Bug Fixes

  • fix handling of numeric variants (dce553b)

1.0.0-alpha.5 (2021-10-30)

Bug Fixes

  • fix missing number variant types (bf6b466)

1.0.0-alpha.4 (2021-10-30)

Bug Fixes

  • allow style map to have numeric keys (ad16a2b)

1.0.0-alpha.3 (2021-10-29)

Bug Fixes

  • simplify token union type (3e1fad4)

1.0.0-alpha.2 (2021-10-29)

Bug Fixes

1.0.0-alpha.1 (2021-10-28)

Bug Fixes

  • add prerelease properties to semantic release branches (7e6e567)

chore

Code Refactoring

  • add a variants property and make styles an object (0348d95)

BREAKING CHANGES

  • createStyles() no longer returns a function, it returns an object.

  • This will break things that depend on the previous type definitions

  • chore(release): 1.0.0

1.0.0 (2021-10-28)

Code Refactoring

1.0.0 (2021-10-28)

chore

Code Refactoring

  • add a variants property and make styles an object (0348d95)

BREAKING CHANGES

  • createStyles() no longer returns a function, it returns an object.

  • This will break things that depend on the previous type definitions

  • chore(release): 1.0.0

1.0.0 (2021-10-28)

Code Refactoring

1.0.0 (2021-10-28)

Code Refactoring

BREAKING CHANGES

  • This will break things that depend on the previous type definitions

0.8.9 (2021-10-03)

Performance Improvements

  • improve lazy evaluation performance (31a7fa9)

0.8.8 (2021-09-27)

Bug Fixes

0.8.7 (2021-09-27)

Performance Improvements

0.8.6 (2020-08-08)

Features

  • styles: return empty string from css() when first argument falsy (e7628b3)

0.8.5 (2020-08-08)

0.8.4 (2020-08-08)

Features

  • styles: add lazy styles (f963a84)

0.8.3 (2020-08-07)

Bug Fixes

  • fix inadvertent style call (1648bc4)

0.8.2 (2020-08-07)

Features

  • types: improve style object autocompletion (d6d1dab)

0.8.1 (2020-07-29)

Bug Fixes

  • styles: fix tokens type (139b63c)

0.8.0 (2020-07-27)

⚠ BREAKING CHANGES

  • styles: All instances of "variables" in the API was renamed to "tokens", all instances of "Variables" was renamed to "Tokens"

  • styles: rename all instances of "variables" to "tokens" (b9c7577)

0.7.3 (2020-07-22)

0.7.2 (2020-07-21)

0.7.1 (2020-07-21)

0.7.0 (2020-07-20)

⚠ BREAKING CHANGES

  • styles: Normalizes CSS strings instead of minifying them. This will potentially result in changes to class names.

  • styles: normalize css strings but don't minify (dfa3e25)

0.6.2 (2020-07-17)

Features

  • styles: add css variables to styles instance (96c81b7)

0.6.1 (2020-07-16)

Bug Fixes

  • server: fix server types in package (64d5ded)

0.6.0 (2020-07-16)

⚠ BREAKING CHANGES

  • styles: Dash options are no longer assignable to createStyles(). Now, you have to ceate a dash instance with createDash() and provide it to the dash option in createStyles() options.
  • styles: Previously hash was accessible via styles.dash.hash, it is now only accessible from styles.hash
  • styles: Removes the clear() method from the Dash instance in favor of inserted.clear()
  • server: The styles property in the result object of writeStyles functions has been renamed to css in order to match the rest of the server api.
  • server: createStylesFromString(), writeStylesFromString() no longer have a clearCache option
  • styles: styles.global() was renamed styles.insertGlobal(), styles.variables() was renamed styles.insertVariables(), styles.themes() was renamed styles.insertThemes()
  • styles: Removes variables option from createDash() and removes the variables property from the object returned by createDash()
  • styles: Removes toString() methods from styles.one and styles.one.css
  • styles: You can no longer import the default styles function via default export e.g. import styles from '@dash-ui/styles'. You have to instead use a named export e.g.import {styles} from '@dash-ui/styles'`
  • styles: Refactor dash.inserted to use Set(), dash.cache and dash.sheets to use Map()

Bug Fixes

  • server: fix createStylesFromString regex (41b2267)
  • server: remove clearCache option from createStylesFromString (3f910d3)
  • styles: fix attr.map() should be attr.forEach() (8a9df4f)
  • styles: make keyframes persist between server clearCache calls (a3af977)
  • styles: prevent uncompiled variables from being set initially (d3c9881)
  • stop minifying compiled object style result (aa8035d)
  • server: rename styles to css in the writeFile functions (0118b18)
  • styles: add clarity to the public api (2a08830)
  • styles: add dash as a configuration option (b9b227c)
  • styles: move hash option from createDash to createStyles (7a5cfc9)
  • styles: move variables object from dash to styles (1dfb447)
  • styles: refactor cache to use Map/Set (2be1e22)
  • styles: remove clear() from dash instance (b98c741)
  • styles: remove default export (6bd20b8)
  • styles: remove superfluous toString() methods in styles.one (1b73790)

0.5.2 (2020-07-11)

Bug Fixes

  • deps: force stylis fixes (de565e8)

0.5.1 (2020-07-10)

Features

  • styles: add cls() function (91bc605)

0.5.0 (2020-06-17)