@epilot/base-elements 2.5.11 → 2.6.0
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 +12 -0
- package/dist/Dialog/types.d.ts +24 -2
- package/dist/Slide/Slide.d.ts +3 -0
- package/dist/Slide/Slide.js +12 -0
- package/dist/Slide/Slide.js.map +1 -0
- package/dist/Slide/index.d.ts +2 -0
- package/dist/Slide/index.js +8 -0
- package/dist/Slide/index.js.map +1 -0
- package/dist/Slide/types.d.ts +2 -0
- package/dist/Slide/types.js +3 -0
- package/dist/Slide/types.js.map +1 -0
- package/dist/bundle.js +55 -55
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/styles/styles.d.ts +1 -1
- package/dist/styles/styles.js +2 -1
- package/dist/styles/styles.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
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.6.0](https://gitlab.com/e-pilot/frontend/base/elements/compare/v2.5.14...v2.6.0) (2022-02-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* expose help MUI function ([76f6582](https://gitlab.com/e-pilot/frontend/base/elements/commit/76f6582ca1d9127fb1634fee0a618b4484a8c556))
|
|
11
|
+
|
|
12
|
+
### [2.5.14](https://gitlab.com/e-pilot/product/frontend/base/elements/compare/v2.5.13...v2.5.14) (2022-02-14)
|
|
13
|
+
|
|
14
|
+
### [2.5.13](https://gitlab.com/e-pilot/product/frontend/base/elements/compare/v2.5.12...v2.5.13) (2022-02-11)
|
|
15
|
+
|
|
16
|
+
### [2.5.12](https://gitlab.com/e-pilot/frontend/base/elements/compare/v2.5.11...v2.5.12) (2022-02-11)
|
|
5
17
|
### [2.5.11](https://gitlab.com/e-pilot/frontend/base/elements/compare/v2.5.10...v2.5.11) (2022-01-24)
|
|
6
18
|
|
|
7
19
|
### [2.5.10](https://gitlab.com/e-pilot/frontend/base/elements/compare/v2.5.9...v2.5.10) (2022-01-24)
|
package/dist/Dialog/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import { DialogActionsProps as MuiDialogActionsProps, DialogContentProps as MuiDialogContentProps, DialogContentTextProps as MuiDialogContentTextProps, DialogTitleProps as MuiDialogTitleProps, ModalProps, PaperProps, PortalProps } from '@material-ui/core';
|
|
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.
|
|
@@ -14,6 +14,12 @@ export declare type DialogProps = {
|
|
|
14
14
|
* Dialog children, usually the included sub-components.
|
|
15
15
|
*/
|
|
16
16
|
children?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Override or extend the styles applied to the component. See https://v4.mui.com/api/dialog/#css for more details.
|
|
19
|
+
*/
|
|
20
|
+
classes?: Partial<{
|
|
21
|
+
[P in DialogClassKey]: string;
|
|
22
|
+
}>;
|
|
17
23
|
/**
|
|
18
24
|
* If `true`, clicking the backdrop will not fire the `onClose` callback.
|
|
19
25
|
*/
|
|
@@ -79,6 +85,18 @@ export declare type DialogProps = {
|
|
|
79
85
|
* Callback fired when the dialog is entering.
|
|
80
86
|
*/
|
|
81
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>;
|
|
82
100
|
/**
|
|
83
101
|
* Callback fired when the escape key is pressed,
|
|
84
102
|
* `disableKeyboard` is false and the modal is in focus.
|
|
@@ -112,6 +130,10 @@ export declare type DialogProps = {
|
|
|
112
130
|
* Determine the container for scrolling the dialog.
|
|
113
131
|
*/
|
|
114
132
|
scroll?: 'body' | 'paper';
|
|
133
|
+
/**
|
|
134
|
+
* CSS override style
|
|
135
|
+
*/
|
|
136
|
+
style?: React.CSSProperties;
|
|
115
137
|
/**
|
|
116
138
|
* The component used for the transition.
|
|
117
139
|
* [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.Slide = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var Slide_1 = tslib_1.__importDefault(require("@material-ui/core/Slide"));
|
|
6
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
+
function Slide(props) {
|
|
8
|
+
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
9
|
+
return react_1["default"].createElement(Slide_1["default"], tslib_1.__assign({}, rest), children);
|
|
10
|
+
}
|
|
11
|
+
exports.Slide = Slide;
|
|
12
|
+
//# sourceMappingURL=Slide.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slide.js","sourceRoot":"","sources":["../../src/Slide/Slide.tsx"],"names":[],"mappings":";;;;AAAA,0EAA8C;AAC9C,wDAAyB;AAIzB,SAAgB,KAAK,CAAC,KAAiB;IAC7B,IAAA,QAAQ,GAAc,KAAK,SAAnB,EAAK,IAAI,kBAAK,KAAK,EAA7B,YAAqB,CAAF,CAAU;IAEnC,OAAO,iCAAC,kBAAQ,uBAAK,IAAI,GAAG,QAAQ,CAAY,CAAA;AAClD,CAAC;AAJD,sBAIC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.Slide = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var Slide_1 = require("./Slide");
|
|
6
|
+
tslib_1.__createBinding(exports, Slide_1, "Slide");
|
|
7
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Slide/index.ts"],"names":[],"mappings":";;;;AAAA,iCAA+B;AAAtB,mDAAK;AACd,kDAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/Slide/types.ts"],"names":[],"mappings":""}
|