UNPKG

10.5 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
8## [Unreleased]
9
10## [2.14.0] - 2020-11-1
11
12- Adds states for surfaceNeutral ([#155](https://github.com/Shopify/polaris-tokens/pull/155))
13- Changed dark mode values for some subdued borders ([#156](https://github.com/Shopify/polaris-tokens/pull/156))
14
15## [2.13.1] - 2020-11-1
16
17- Moved mistaken border variants to surface variants ([#154](https://github.com/Shopify/polaris-tokens/pull/154))
18
19## [2.13.0] - 2020-11-1
20
21- Add subdued variants to warning, highlight, and success ([#153](https://github.com/Shopify/polaris-tokens/pull/153))
22
23## [2.12.9] - 2020-09-11
24
25- Update action secondary depressed color / add border depressed ([#150](https://github.com/Shopify/polaris-tokens/pull/150))
26
27## [2.12.8] - 2020-09-10
28
29- Add icon and action colors to color-filters-map ([#149](https://github.com/Shopify/polaris-tokens/pull/149))
30
31## [2.12.7] - 2020-09-09
32
33- Updates the onSurface background name ([#147](https://github.com/Shopify/polaris-tokens/pull/147))
34
35## [2.12.6] - 2020-09-09
36
37- Added background under onSurface ([#146](https://github.com/Shopify/polaris-tokens/pull/146))
38
39## [2.12.5] - 2020-09-08
40
41- Updated borderSubdued and added borderShadow, borderShadowSubdued, and divider colors ([#145](https://github.com/Shopify/polaris-tokens/pull/145))
42
43## [2.12.4] - 2020-08-27
44
45- Updated background, surface, and action colors ([#140](https://github.com/Shopify/polaris-tokens/pull/140))
46
47## [2.12.3] - 2020-04-07
48
49- Updated the font stack so that Segoe UI comes before Roboto. ([#131](https://github.com/Shopify/polaris-tokens/pull/131))
50
51## [2.12.2] - 2020-03-25
52
53- Loosened the type of the first argument of `color-factory` to account for stricter merge checks in Typescript 3.8 ([#130](https://github.com/Shopify/polaris-tokens/pull/130))
54
55## [2.12.1] - 2020-03-18
56
57- Adjusted Figma metadata for variants. Adjusted description of one variant. ([#126](https://github.com/Shopify/polaris-tokens/pull/126))
58
59## [2.12.0] - 2020-03-13
60
61- Added variants for border subdued roles ([#123](https://github.com/Shopify/polaris-tokens/pull/123))
62
63## [2.11.0] - 2020-03-11
64
65- Added missing variants ([#121](https://github.com/Shopify/polaris-tokens/pull/121))
66- Updated hover variants ([#120](https://github.com/Shopify/polaris-tokens/pull/120))
67- Updated color variants to use `saturationAdjustmentFn` instead of `saturation` ([#119](https://github.com/Shopify/polaris-tokens/pull/119))
68
69## [2.10.0] - 2020-03-05
70
71- Removed `borderSecondary`, `borderSecondaryHovered`, and `borderSecondaryDisabled` color variants from the `secondary` role in favor of `border` and the newly added `borderHovered` and `borderDisabled` color variants in the `onSurface` role ([#115](https://github.com/Shopify/polaris-tokens/pull/115))
72 - Note: This is technically a breaking change although we will continue to ship as minor and patch versions until the new color system is enabled by default in production
73
74## [2.9.0] - 2020-03-03
75
76- Added Figma color name metadata ([#110](https://github.com/Shopify/polaris-tokens/pull/110))
77
78## [2.8.2] - 2020-02-27
79
80- Fixed an issue where dev environment utils and types were exported ([#113](https://github.com/Shopify/polaris-tokens/pull/113))
81
82## [2.8.1] - 2020-02-27
83
84- Updated color variants to match Figma ([#108](https://github.com/Shopify/polaris-tokens/pull/108))
85- Updated `interactiveCritical` description ([#107](https://github.com/Shopify/polaris-tokens/pull/107))
86
87## [2.8.0] - 2020-02-20
88
89- Added color factory and built modern tokens ([#105](https://github.com/Shopify/polaris-tokens/pull/105))
90 - Added surface disabled variant and updated other variant configs ([#101](https://github.com/Shopify/polaris-tokens/pull/101))
91 - Added TypeScript build for modern tokens, and shifted directory structures to differentiate between legacy and modern tokens ([#97](https://github.com/Shopify/polaris-tokens/pull/97))
92 - Updated variant names and descriptions ([#96](https://github.com/Shopify/polaris-tokens/pull/96))
93 - Added decorative icon variants ([#94](https://github.com/Shopify/polaris-tokens/pull/94))
94 - Built changes from previous release, and added textOnInteractive variant ([#93](https://github.com/Shopify/polaris-tokens/pull/93))
95 - Fixed an issue where legacy themes caused the color factory to throw ([#92](https://github.com/Shopify/polaris-tokens/pull/92))
96 - Updated color variants for consistency with changes in Polaris React ([#91](https://github.com/Shopify/polaris-tokens/pull/91))
97 - Marked the config as optional and the colors as partial ([dd3d8fc](https://github.com/Shopify/polaris-tokens/commit/dd3d8fc05572fb03e764a85a0519bbd3dde11855))
98 - Added the Color Factory. Long live the Color Factory! ([#89](https://github.com/Shopify/polaris-tokens/pull/89))
99
100## [2.7.0] - 2019-10-28
101
102- Updated filter for the Blue color ([#64](https://github.com/Shopify/polaris-tokens/pull/64))
103- Removed reliance on the Invision DSM import script (colors are now directly managed in `tokens/colors.yml`) ([#66](https://github.com/Shopify/polaris-tokens/pull/66))
104- Added a JSON color export for iOS ([`colors.ios.json`](/dist/colors.ios.json)) ([#86](https://github.com/Shopify/polaris-tokens/pull/86))
105
106## [2.6.0] - 2019-06-06
107
108- Update `color-blue` to `#006fbb` from `#007ace` for accessibility ([#63](https://github.com/Shopify/polaris-tokens/pull/63))
109- Add missing `colorYellowDark` values from ([#44](https://github.com/Shopify/polaris-tokens/pull/44))
110
111## [2.5.0] - 2019-04-19
112
113- Duration tokens (with `type: time`) are treated as unitless and converted to milliseconds in JavaScript formats
114
115## [2.4.0] - 2019-04-04
116
117- Added color names to the Sketch palette ([#53](https://github.com/Shopify/polaris-tokens/pull/53))
118- Fixed a bug where the font family value was wrapped in quotes ([#58](https://github.com/Shopify/polaris-tokens/pull/58))
119
120## [2.3.0] - 2019-02-19
121
122- Added spacing-map format, usable as `spacing.spacing-map.scss` ([#52](https://github.com/Shopify/polaris-tokens/pull/52))
123
124## [2.2.0] - 2019-02-19
125
126- Updated devDependencies ([#45](https://github.com/Shopify/polaris-tokens/pull/45))
127- Added `base-tight` to the spacing map ([#48](https://github.com/Shopify/polaris-tokens/pull/48))
128
129## [2.1.1] - 2019-01-04
130
131- No changes in this version (re-publishing as the 2.1.0 Gem release failed)
132
133## [2.1.0] - 2019-01-04
134
135- Updated `color-yellow-dark` for accessibility ([#44](https://github.com/Shopify/polaris-tokens/pull/44))
136- Documented how to import tokens using ES Modules ([#37](https://github.com/Shopify/polaris-tokens/pull/37))
137- Updated Node.js to v10
138- Updated Node.js & Ruby dependencies
139- Reformatted files using sewing-kit
140
141## [2.0.0] - 2018-10-23
142
143- **Breaking:** renamed `colors.android-colors.xml` to `colors.android.xml`
144- **Breaking:** removed `-base` suffix from base color token names (fixes [#16](https://github.com/Shopify/polaris-tokens/issues/16))
145
146 Upgrade path:
147
148 - CSS: remove `-base`. For example: `var(--color-ink-base)``var(--color-ink)`.
149 - Sass: remove `-base`. For example: `$color-ink-base``$color-ink`.
150 - JSON: remove `-base`. For example: `tokens['color-ink-base']``tokens['color-ink']`.
151 - Android: remove `_base`. For example: `polaris_color_blue_base``polaris_color_blue`.
152 - JavaScript: remove `Base`. For example: `colorPurpleBase``colorPurple`.
153
154- Updated dependencies, including Theo to from `^7.0.1` to `8.0.0-beta.2`
155- Updated the Android token format to enable it to format other properties than just colors
156
157## [1.3.1] - 2018-07-09
158
159- Updated devDependencies, including [Prettier](https://prettier.io/). This reformatted SCSS files in `./dist/` but didn’t impact the tokens themselves.
160
161## [1.3.0] - 2018-06-29
162
163- Added [`colors.android-colors.xml`](https://github.com/Shopify/polaris-tokens/blob/master/dist/colors.android-colors.xml), for Android apps
164
165## [1.2.0] - 2018-05-30
166
167- `ase` and `clr` palettes: removed the `color-` prefix from color names
168- Updated devDependencies
169
170## [1.1.0] - 2018-04-24
171
172Polaris tokens are now available as both a [npm package](https://www.npmjs.com/package/@shopify/polaris-tokens) and a [Ruby gem](https://rubygems.org/gems/polaris_tokens)! Check the [README](https://github.com/Shopify/polaris-tokens/blob/master/README.md) for installation and usage instructions for both.
173
174## 1.0.0 - 2018-04-13
175
176First stable release 🎉
177
178Color design tokens are now used in:
179
180- `Shopify/shopify`
181- `Shopify/polaris-styleguide`
182- `Shopify/polaris-react` (`@shopify/polaris` v2 on npm)
183
184[unreleased]: https://github.com/Shopify/polaris-tokens/compare/v2.12.3...HEAD
185[2.12.3]: https://github.com/Shopify/polaris-tokens/compare/v2.12.2..v2.12.3
186[2.12.2]: https://github.com/Shopify/polaris-tokens/compare/v2.12.1...v2.12.2
187[2.12.1]: https://github.com/Shopify/polaris-tokens/compare/v2.12.0...v2.12.1
188[2.12.0]: https://github.com/Shopify/polaris-tokens/compare/v2.11.0...v2.12.0
189[2.11.0]: https://github.com/Shopify/polaris-tokens/compare/v2.10.0...v2.11.0
190[2.10.0]: https://github.com/Shopify/polaris-tokens/compare/v2.9.0...v2.10.0
191[2.9.0]: https://github.com/Shopify/polaris-tokens/compare/v2.8.2...v2.9.0
192[2.8.2]: https://github.com/Shopify/polaris-tokens/compare/v2.8.1...v2.8.2
193[2.8.1]: https://github.com/Shopify/polaris-tokens/compare/v2.8.0...v2.8.1
194[2.8.0]: https://github.com/Shopify/polaris-tokens/compare/v2.7.0...v2.8.0
195[2.7.0]: https://github.com/Shopify/polaris-tokens/compare/v2.6.0...v2.7.0
196[2.6.0]: https://github.com/Shopify/polaris-tokens/compare/v2.5.0...v2.6.0
197[2.5.0]: https://github.com/Shopify/polaris-tokens/compare/v2.4.0...v2.5.0
198[2.4.0]: https://github.com/Shopify/polaris-tokens/compare/v2.3.0...v2.4.0
199[2.3.0]: https://github.com/Shopify/polaris-tokens/compare/v2.2.0...v2.3.0
200[2.2.0]: https://github.com/Shopify/polaris-tokens/compare/v2.1.1...v2.2.0
201[2.1.1]: https://github.com/Shopify/polaris-tokens/compare/v2.1.0...v2.1.1
202[2.1.0]: https://github.com/Shopify/polaris-tokens/compare/v2.0.0...v2.1.0
203[2.0.0]: https://github.com/Shopify/polaris-tokens/compare/v1.3.1...v2.0.0
204[1.3.1]: https://github.com/Shopify/polaris-tokens/compare/v1.3.0...v1.3.1
205[1.3.0]: https://github.com/Shopify/polaris-tokens/compare/v1.2.0...v1.3.0
206[1.2.0]: https://github.com/Shopify/polaris-tokens/compare/v1.1.0...v1.2.0
207[1.1.0]: https://github.com/Shopify/polaris-tokens/compare/v1.0.0...v1.1.0