Releases: mrmartineau/design-system-utils
Releases · mrmartineau/design-system-utils
v1.5.0
v1.4.0
v1.3.1
Removed the umd build because it was breaking things.. 🤷♂️
v1.3.0
- ⛓️ 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
- 👍 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
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
andds.toPx()
functions have been extracted into their own functions, not on theds
class. The readme has usage info for them. - Also the base font size for the above two functions is
16
not20
to conform with common browser defaults.
0.11.0
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
Add types
allow numbers to set font-size when using modular scale
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