Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

v2.21.0

Compare
Choose a tag to compare
@BPScott BPScott released this 03 Mar 01:30
· 55 commits to main since this release
  • Added mergeConfigs and Config to the public API of dist-modern/index.js (#180)
  • Added esm support for legacy tokens. Doing import {colorInk} from '@shopify/polaris-tokens'; shall load content from dist/index.esm.js which allows for better tree shaking. A default export so you can do import tokens from '@shopify/polaris-tokens'; is provided for backwards compatability however this is just a stopgap, and will be removed in polaris-tokens v3.0.0. You should use either named imports (import {colorInk}) or a namespace import (import * as tokens) (#181)