Skip to content

Commit 782f410

Browse files
author
VLuisa
committed
Prepare 2.1.0
1 parent 0e7cf3e commit 782f410

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

CHANGELOG.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
Changelog
2-
---
1+
## Changelog
32

43
## HEAD
54

6-
- Support `disabled` option in modal actions. [#199](https://github.com/mapbox/mr-ui/pull/199)
5+
## 2.1.0
76

7+
- [feature] Add **Toast** component.
8+
- [fix] Support `disabled` option in modal actions. [#199](https://github.com/mapbox/mr-ui/pull/199)
89

910
## 2.0.0
1011

@@ -55,8 +56,8 @@ Changelog
5556
- Dropped `block` I'm not seeing strong usage of this property and I believe its a tradeoff we can make
5657
- 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.
5758
- [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**:
58-
- Dropped `optional`: Additional text like "optional" should be applied by the consumer using the label prop.
59-
- Dropped `initialValue` and `validator` which were previously provided by the form component.
59+
- Dropped `optional`: Additional text like "optional" should be applied by the consumer using the label prop.
60+
- Dropped `initialValue` and `validator` which were previously provided by the form component.
6061
- [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.
6162
- [breaking] Rewrites `src/components/control-wrapper` as a functional component.
6263
- [feature] Introduces TypeScript to the source code and converts:

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mapbox/mr-ui",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "UI components for Mapbox projects",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)