Skip to content

Commit

Permalink
feat: Dialog positions
Browse files Browse the repository at this point in the history
  • Loading branch information
orrgottlieb committed Jun 14, 2021
1 parent 9c80813 commit d655e69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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": "monday-ui-react-core",
"version": "0.3.41",
"version": "0.3.42",
"description": "Official monday.com UI resources for application development in React.js",
"main": "dist/main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/components/Dialog/Dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { isInsideClass } from "../../utils/dom-utils";
import "./Dialog.scss";
import { Refable } from "../Refable/Refable";
import { HIDE_SHOW_EVENTS } from "./consts/dialog-show-hide-event";
import {DialogPositions} from "../../constants/sizes";

const NOOP = () => {};

Expand Down Expand Up @@ -375,7 +376,7 @@ export default class Dialog extends PureComponent {
}

Dialog.hideShowTriggers = HIDE_SHOW_EVENTS;

Dialog.positions = DialogPositions;
Dialog.defaultProps = {
referenceWrapperClassName: "",
position: "top",
Expand Down

0 comments on commit d655e69

Please sign in to comment.