Skip to content

Releases: mrmartineau/design-system-utils

v1.5.0

02 Mar 22:51
f49dc7b
Compare
Choose a tag to compare

Added a new set() method so you can update or add values to your tokens.

v1.4.0

27 Feb 15:02
Compare
Choose a tag to compare
  • format code / update dependencies / tweak test data fd2f44e
  • feat(design-system-utils): Enable color to accept a path 4ef20e1 thanks @ivoreis

v1.3.1...v1.4.0

v1.3.1

05 Feb 13:06
Compare
Choose a tag to compare

Removed the umd build because it was breaking things.. 🤷‍♂️

v1.3.0

25 Jan 10:23
Compare
Choose a tag to compare
  • ⛓️ switched from object-get to @ngard/tiny-get because it is a more modern package
  • 🎉 reduced bundle size
  • 💯 improved rollup build
  • 👍 output a umd version
  • ➖ removed some unused devDependencies and updated others
  • ⬆️ Update/improve comments so that they are included in TS definition
$ size-limit

  build/cjs.js
  Package size: 842 B
  Size limit:   1 KB

  build/es.js
  Package size: 851 B
  Size limit:   1 KB

  With all dependencies, minified and gzipped

The API did not change in this release

v1.2.0

16 Oct 13:15
Compare
Choose a tag to compare
  • 👍 converted to Typescript so declaration files are always kept up-to-date
  • 😄 added error checking to improve DX
  • ✅ tests have been updated and improved
  • ⚡️ perf should have been improved due to the compression used (terser)
  • 🚨 errors give relevant information and a stack trace
$ size-limit

  cjs/index.js
  Package size: 814 B
  Size limit:   1 KB

  es/index.js
  Package size: 806 B
  Size limit:   1 KB

  With all dependencies, minified and gzipped

The API did not change in this release

1.0.0

05 Jun 15:20
Compare
Choose a tag to compare

This release focused on improving performance and removing some of the ambiguity around the ds.fontSize() method.

Updated

  • Simplified and improved font-size retrieval
  • removed modularscale-js dependency. If you need a scale, the readme has example usage
  • reduced file size even more!
  • improved some of the Typescript typings
  • improved the test suite

Breaking

  • The ds.pxTo and ds.toPx() functions have been extracted into their own functions, not on the ds class. The readme has usage info for them.
  • Also the base font size for the above two functions is 16 not 20 to conform with common browser defaults.

0.11.0

12 Dec 17:19
Compare
Choose a tag to compare

Update colors API to include another item brand

The color palette section has been expanded to include brand color-scheme as well. This means that the existing colorPalette data has moved and is now nested beneath a new colors object.

...
colors: {
  colorPalette: {},
  brand: {}
}

v0.10.0

24 Nov 14:27
Compare
Choose a tag to compare

Patches

  • Added a browser field to the package.json #23

Add types

16 Nov 23:29
915a95e
Compare
Choose a tag to compare

Minor Changes

allow numbers to set font-size when using modular scale

09 Nov 22:56
22cd54f
Compare
Choose a tag to compare

Minor Changes

  • ✨ allow numbers to set font-size when using modular scale: ec816bd

Patches

  • Bump size-limit from 0.12.1 to 0.13.1: 1ec4050
  • Bump prettier from 1.7.4 to 1.8.2: b7f2620
  • Ignore code coverage results: 7acb13b
  • Change format of .prettierrc to json: e93c888
  • Jest: ignore cjs directory from code coverage: 8fca218
  • Improve example design system file: b72abb5
  • Merge branch 'master' of github.com:mrmartineau/design-system-utils: 0f147d9