@epilot/base-elements 2.5.12 → 2.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/Dialog/types.d.ts +13 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.5.13](https://gitlab.com/e-pilot/product/frontend/base/elements/compare/v2.5.12...v2.5.13) (2022-02-11)
|
|
6
|
+
|
|
5
7
|
### [2.5.12](https://gitlab.com/e-pilot/frontend/base/elements/compare/v2.5.11...v2.5.12) (2022-02-11)
|
|
6
8
|
### [2.5.11](https://gitlab.com/e-pilot/frontend/base/elements/compare/v2.5.10...v2.5.11) (2022-01-24)
|
|
7
9
|
|
package/dist/Dialog/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { DialogActionsProps as MuiDialogActionsProps, DialogClassKey, DialogContentProps as MuiDialogContentProps, DialogContentTextProps as MuiDialogContentTextProps, DialogTitleProps as MuiDialogTitleProps, ModalProps, PaperProps, PortalProps } from '@material-ui/core';
|
|
3
2
|
import { TransitionHandlerProps, TransitionProps } from '@material-ui/core/transitions';
|
|
3
|
+
import { MouseEventHandler } from 'react';
|
|
4
4
|
export declare type DialogProps = {
|
|
5
5
|
/**
|
|
6
6
|
* The id(s) of the element(s) that describe the dialog.
|
|
@@ -85,6 +85,18 @@ export declare type DialogProps = {
|
|
|
85
85
|
* Callback fired when the dialog is entering.
|
|
86
86
|
*/
|
|
87
87
|
onEntering?: TransitionHandlerProps['onEntering'];
|
|
88
|
+
/**
|
|
89
|
+
* Callback fired when the mouse is clicked
|
|
90
|
+
*/
|
|
91
|
+
onMouseDown?: MouseEventHandler<HTMLDivElement>;
|
|
92
|
+
/**
|
|
93
|
+
* Callback fired when the mouse is clicked, held and moved
|
|
94
|
+
*/
|
|
95
|
+
onMouseMove?: MouseEventHandler<HTMLDivElement>;
|
|
96
|
+
/**
|
|
97
|
+
* Callback fired when the mouse is stopped clicking
|
|
98
|
+
*/
|
|
99
|
+
onMouseUp?: MouseEventHandler<HTMLDivElement>;
|
|
88
100
|
/**
|
|
89
101
|
* Callback fired when the escape key is pressed,
|
|
90
102
|
* `disableKeyboard` is false and the modal is in focus.
|