Skip to content

Commit

Permalink
Prepare 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
VLuisa committed Oct 6, 2022
1 parent 0e7cf3e commit 782f410
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 782f410

Please sign in to comment.