Skip to content

Releases: oddbird/accoutrement

v4.0.4

14 Dec 20:07
38f0c93
Compare
Choose a tag to compare
  • 🏠 INTERNAL: Remove documentation from npm package
  • 🏠 INTERNAL: Upgrade dev dependencies

Full Changelog: v4.0.3...v4.0.4

v4.0.3

20 Jul 13:57
5ca9345
Compare
Choose a tag to compare

What's Changed

  • BUGFIX: Fixed a bug with tokens.get() that didn't allow per-property inline functional adjustments -- #117

New Contributors

Full Changelog: v4.0.2...v4.0.3

v4.0.2

18 Jul 20:29
c220bf4
Compare
Choose a tag to compare

What's Changed

  • BUGFIX: Fixed a bug with tokens.get() memorization -- #112
  • INTERNAL: Upgrade dev dependencies.
  • Tokens:
    • NEW: Add $ignore-cache parameter to tokens.get() function, in order to override the cached value of a token.
  • Sass Utilities:
    • NEW: Removed unnecessary string length checks in the split() function.

New Contributors

Full Changelog: v4.0.1...v4.0.2

v4.0.1

28 Mar 16:01
ac2c484
Compare
Choose a tag to compare

4.0.1 - 03/28/22

  • INTERNAL: Upgrade dev dependencies.
  • DOCS: Update modules list -- #111

Full Changelog: v4.0.0...v4.0.1

v4.0.0

02 Mar 16:59
6f27fcd
Compare
Choose a tag to compare

4.0.0 - 03/02/22

No changes since v4.0.0-rc.1.

This is a major update, moving over to Sass modules, and removing some features that no longer seem necessary.

In addition to fixing a bug with the handling of non-alias # symbols, and implementing deep map merges where appropriate, we also added some functionality around compiling maps for export, and working with different color palettes.

See the Changelog for details.

New Contributors

Full Changelog: v3.0.1...v4.0.0

v4.0.0-rc.1

24 Feb 23:20
827a367
Compare
Choose a tag to compare
v4.0.0-rc.1 Pre-release
Pre-release

No substantive changes (mostly documentation) since v4.0.0-beta.3.

Full Changelog: v4.0.0-beta.3...v4.0.0-rc.1

Bug fixes and token map compilers

18 Jan 19:20
4c30af3
Compare
Choose a tag to compare
Pre-release

In addition to fixing a bug with the handling of non-alias # symbols, and implementing deep map merges where appropriate, we also added some functionality around compiling maps for export, and working with different color palettes…

  • BREAKING: Map multi-merge utility and all add-* functions
    for adding one or more token maps (eg add-sizes, add-colors, etc)
    now perform a deep merge of the token maps.
    Previously a shallow merge was performed,
    which could result in removing nested values from maps.

  • Tokens:

    • NEW: map-compile and map-compile-with functions for compiling
      tokens in Accoutrement maps and formatting them for static exports.
  • Animate:

    • NEW: compile-* functions provide an export option for respective token maps
      (see: compile-changes, compile-easing, compile-times).
  • Color:

    • NEW: compile-colors function provides an export option for color token maps.
    • NEW: with-colors mixin allows the overriding of the global color palette for
      a section of contents.
  • Ratio:

    • NEW: compile-ratios function provides an export option for ratio token maps.
  • Scale:

    • NEW: compile-sizes function provides an export option for size token maps.
  • Type:

    • NEW: compile-fonts function provides an export option for font token maps.

Beta: Migratation to Sass Modules

03 Dec 22:29
cc2f21a
Compare
Choose a tag to compare
Pre-release

This is a major update, moving over to Sass modules,
and removing some features that no longer seem necessary.

  • BREAKING: Requires Sass modules, and other recent features of Dart Sass.
    Legacy versions of Sass (Node & Ruby) are no longer supported

  • BREAKING: The old "init" module, which provided light-weight
    browser normalization, is no longer included. We now recommend
    using CSS Remedy.

  • BREAKING: The old "core" module has been broken into individual modules
    for "utilities" (extending several Sass modules),
    "tokens" (the map syntax parser),
    "variables" (converting Sass variables & maps to CSS custom properties),
    and "ratios" (for typographic scales and layout aspect ratios)

  • Sass Utilities:

    • NEW: These functions are now available directly,
      as well as being registered in the map syntax
  • Variables:

    • NEW: ident() function adds -- and an optional prefix to any string,
      in order to generate a custom property identifier.
    • NEW: custom-props() mixin generates custom properties
      for every key/value pair in a map.
  • Tokens:

    • NEW: A module just for the custom map syntax parser & function registration
    • BREAKING: The $functions map no longer accepts alias references
      or any other aspects of the token syntax
    • BREAKING: Ratios are no longer first-class adjustments
      (like functions) in the token syntax
    • BREAKING: tokens.$handle-missing-keys defaults to null,
      and no longer supports the legacy silent option.
    • BREAKING: get-token() is renamed get(),
      and only accepts bare token names (no # prefix),
      including the outer->inner nested token syntax.
    • NEW: The new compile() function provides direct access to
      parse & resolve an arbitrary token value
      (including aliases with # prefix),
      rather than calling a specific token by name.
    • NEW: All the built-in Sass module functions are registered by default,
      as <module-name>.<function-name>
    • NEW: has-token() function checks a map
      to see if the given token is defined,
      and supports the outer->inner nested token syntax.
  • Ratios:

    • NEW: Built-in named ratios are now available as individual variables,
      (without the _ prefix that is applied in token maps)
    • NEW: is-ratio() function can be used to type-check ratios,
      including ratio tokens.
  • Scale:

    • NEW: scale() function applies a modular scale to any value,
      allowing you to move up or down the scale any number of steps.
  • Layout:

    • BREAKING: Removed global-box-sizing
    • BREAKING: Removed clearfix
    • BREAKING: Removed fluid-ratio
    • BREAKING: Removed position. Can achieve the majority of functionality in CSS using
      Inset

Beta: Migratation to Sass Modules

03 Dec 21:22
2b5a750
Compare
Choose a tag to compare
Pre-release

(configuration is broken in this release)

Fix docs and upgrade dependencies

01 Mar 18:31
903b9d5
Compare
Choose a tag to compare
  • INTERNAL: Upgrade dev dependencies.
  • DOCS: Fix changelog typo.