@atlaskit/modal-dialog 12.4.13 → 12.5.1
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 +16 -0
- package/dist/cjs/modal-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/modal-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/modal-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/internal/constants.d.ts +1 -1
- package/dist/types/internal/context.d.ts +1 -1
- package/dist/types/types.d.ts +6 -6
- package/hooks/package.json +2 -2
- package/modal-body/package.json +2 -2
- package/modal-dialog/package.json +2 -2
- package/modal-footer/package.json +2 -2
- package/modal-header/package.json +2 -2
- package/modal-title/package.json +2 -2
- package/modal-transition/package.json +2 -2
- package/package.json +20 -12
- package/types/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/modal-dialog
|
|
2
2
|
|
|
3
|
+
## 12.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
8
|
+
|
|
9
|
+
## 12.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 12.4.13
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -85,7 +85,7 @@ var ModalWrapper = function ModalWrapper(props) {
|
|
|
85
85
|
action: 'closed',
|
|
86
86
|
componentName: 'modalDialog',
|
|
87
87
|
packageName: "@atlaskit/modal-dialog",
|
|
88
|
-
packageVersion: "12.
|
|
88
|
+
packageVersion: "12.5.1"
|
|
89
89
|
});
|
|
90
90
|
var onBlanketClicked = (0, _react.useCallback)(function (e) {
|
|
91
91
|
if (shouldCloseOnOverlayClick) {
|
package/dist/cjs/version.json
CHANGED
|
@@ -71,7 +71,7 @@ const ModalWrapper = props => {
|
|
|
71
71
|
action: 'closed',
|
|
72
72
|
componentName: 'modalDialog',
|
|
73
73
|
packageName: "@atlaskit/modal-dialog",
|
|
74
|
-
packageVersion: "12.
|
|
74
|
+
packageVersion: "12.5.1"
|
|
75
75
|
});
|
|
76
76
|
const onBlanketClicked = useCallback(e => {
|
|
77
77
|
if (shouldCloseOnOverlayClick) {
|
package/dist/es2019/version.json
CHANGED
|
@@ -75,7 +75,7 @@ var ModalWrapper = function ModalWrapper(props) {
|
|
|
75
75
|
action: 'closed',
|
|
76
76
|
componentName: 'modalDialog',
|
|
77
77
|
packageName: "@atlaskit/modal-dialog",
|
|
78
|
-
packageVersion: "12.
|
|
78
|
+
packageVersion: "12.5.1"
|
|
79
79
|
});
|
|
80
80
|
var onBlanketClicked = useCallback(function (e) {
|
|
81
81
|
if (shouldCloseOnOverlayClick) {
|
package/dist/esm/version.json
CHANGED
package/dist/types/types.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { RefObject } from 'react';
|
|
2
2
|
import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import type { WidthNames } from './internal/constants';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
4
|
+
export type KeyboardOrMouseEvent = React.MouseEvent<any> | React.KeyboardEvent<any> | KeyboardEvent;
|
|
5
|
+
export type Appearance = 'danger' | 'warning';
|
|
6
|
+
export type OnCloseHandler = (e: KeyboardOrMouseEvent, analyticEvent: UIAnalyticsEvent) => void;
|
|
7
|
+
export type OnCloseCompleteHandler = (element: HTMLElement) => void;
|
|
8
|
+
export type OnOpenCompleteHandler = (node: HTMLElement, isAppearing: boolean) => void;
|
|
9
|
+
export type OnStackChangeHandler = (stackIndex: number) => void;
|
|
10
10
|
export type { ModalHeaderProps } from './modal-header';
|
|
11
11
|
export type { ModalTitleProps } from './modal-title';
|
|
12
12
|
export type { ModalBodyProps } from './modal-body';
|
package/hooks/package.json
CHANGED
package/modal-body/package.json
CHANGED
package/modal-title/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.5.1",
|
|
4
4
|
"description": "A modal dialog displays content that requires user interaction, in a layer above the page.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
"sideEffects": false,
|
|
16
24
|
"af:exports": {
|
|
17
25
|
".": "./src/index.tsx",
|
|
@@ -37,16 +45,16 @@
|
|
|
37
45
|
"watch": "tsc --watch --noEmit --project './tsconfig.json'"
|
|
38
46
|
},
|
|
39
47
|
"dependencies": {
|
|
40
|
-
"@atlaskit/analytics-next": "^9.
|
|
41
|
-
"@atlaskit/blanket": "^12.
|
|
42
|
-
"@atlaskit/codemod-utils": "^4.
|
|
43
|
-
"@atlaskit/ds-lib": "^2.
|
|
44
|
-
"@atlaskit/focus-ring": "^1.
|
|
45
|
-
"@atlaskit/icon": "^21.
|
|
46
|
-
"@atlaskit/motion": "^1.
|
|
47
|
-
"@atlaskit/portal": "^4.
|
|
48
|
-
"@atlaskit/theme": "^12.
|
|
49
|
-
"@atlaskit/tokens": "^1.
|
|
48
|
+
"@atlaskit/analytics-next": "^9.1.0",
|
|
49
|
+
"@atlaskit/blanket": "^12.4.0",
|
|
50
|
+
"@atlaskit/codemod-utils": "^4.2.0",
|
|
51
|
+
"@atlaskit/ds-lib": "^2.2.0",
|
|
52
|
+
"@atlaskit/focus-ring": "^1.3.0",
|
|
53
|
+
"@atlaskit/icon": "^21.12.0",
|
|
54
|
+
"@atlaskit/motion": "^1.4.0",
|
|
55
|
+
"@atlaskit/portal": "^4.3.0",
|
|
56
|
+
"@atlaskit/theme": "^12.5.0",
|
|
57
|
+
"@atlaskit/tokens": "^1.4.0",
|
|
50
58
|
"@babel/runtime": "^7.0.0",
|
|
51
59
|
"@emotion/react": "^11.7.1",
|
|
52
60
|
"bind-event-listener": "^2.1.1",
|
|
@@ -91,7 +99,7 @@
|
|
|
91
99
|
"react-dom": "^16.8.0",
|
|
92
100
|
"react-lorem-component": "^0.13.0",
|
|
93
101
|
"storybook-addon-performance": "^0.16.0",
|
|
94
|
-
"typescript": "4.
|
|
102
|
+
"typescript": "~4.9.5",
|
|
95
103
|
"wait-for-expect": "^1.2.0"
|
|
96
104
|
},
|
|
97
105
|
"keywords": [
|