Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
miafan23 committed Dec 5, 2024
1 parent 39800ec commit 5fe0a59
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,33 @@
## Changelog

## 2.15.0

- [feature] support configuring z-index for Popover component
- [fix] change default z-index value of Modal component to auto

## 2.14.0

- [feature] support configuring z-index for Modal component

## 2.13.0

- [feature] add prop exitOnUnderlayClicked to Modal component

## 2.12.0

- [feature] add possibility to pass onCopy to Copiable component

## 2.11.0

- [feature] support onOpenChange handler for contextMenu

## 2.10.2

- [feature] upgrade @mapbox/mbx-assembly to 1.6.0

## 2.10.0
- [feature] upgrade to react 18

- [feature] upgrade to react 18

## 2.9.0

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.14.0",
"version": "2.15.0",
"description": "UI components for Mapbox projects",
"main": "index.js",
"homepage": "./",
Expand Down
2 changes: 1 addition & 1 deletion src/components/modal/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Modal.propTypes = {
/**
* z-index of the modal
*/
zIndex: PropTypes.number || PropTypes.string,
zIndex: PropTypes.number,
/**
* The modal's primary action. If this is provided, an encouraging
* button will be rendered at the bottom of the modal.
Expand Down
6 changes: 3 additions & 3 deletions src/components/popover/popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ Popover.propTypes = {
/**
* `'medium'`, `'small'`, or `'none'`.
*/
padding: PropTypes.oneOf(['medium', 'small', 'none'])
padding: PropTypes.oneOf(['medium', 'small', 'none']),
/**
* z-index of the popover.
*/,
zIndex: PropTypes.number || PropTypes.string,
*/
zIndex: PropTypes.number,
/**
* Whether or not the popover has a triangle pointer.
*/
Expand Down

0 comments on commit 5fe0a59

Please sign in to comment.