diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c8c00e0..b88d08de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,11 @@ -Changelog ---- +## Changelog ## HEAD -- Support `disabled` option in modal actions. [#199](https://github.com/mapbox/mr-ui/pull/199) +## 2.1.0 +- [feature] Add **Toast** component. +- [fix] Support `disabled` option in modal actions. [#199](https://github.com/mapbox/mr-ui/pull/199) ## 2.0.0 @@ -55,8 +56,8 @@ Changelog - Dropped `block` I'm not seeing strong usage of this property and I believe its a tradeoff we can make - Dropped `testId` Passing custom data attributes to the Radix tooltip isn't supported. There are other good ways to test the presence of tooltip contents like: `screen.getByRole('tooltip')` or by wrapping a child prop in a data test attribute. - [breaking] Rewrites `src/components/control-switch` as a functional component.and uses [`swtich` from Radix](https://radix-website-git-release.modulz-deploys.com/docs/primitives/components/switch). 🚨 **Prop changes**: - - Dropped `optional`: Additional text like "optional" should be applied by the consumer using the label prop. - - Dropped `initialValue` and `validator` which were previously provided by the form component. + - Dropped `optional`: Additional text like "optional" should be applied by the consumer using the label prop. + - Dropped `initialValue` and `validator` which were previously provided by the form component. - [breaking] Rewrites `src/components/icon` as a functional component and uses [`accessible-icon` from Radix](https://www.radix-ui.com/docs/primitives/utilities/accessible-icon) as an internal primitive. - [breaking] Rewrites `src/components/control-wrapper` as a functional component. - [feature] Introduces TypeScript to the source code and converts: diff --git a/package-lock.json b/package-lock.json index 4274770d..e673dc8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mapbox/mr-ui", - "version": "2.0.0", + "version": "2.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@mapbox/mr-ui", - "version": "2.0.0", + "version": "2.1.0", "license": "BSD-2-Clause", "dependencies": { "@mapbox/mbx-assembly": "^1.3.0", diff --git a/package.json b/package.json index 5e982232..1afddff2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mapbox/mr-ui", - "version": "2.0.0", + "version": "2.1.0", "description": "UI components for Mapbox projects", "main": "index.js", "scripts": {