@atlaskit/modal-dialog 14.5.1 → 14.5.3
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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/modal-dialog
|
|
2
2
|
|
|
3
|
+
## 14.5.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 14.5.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 14.5.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1608,7 +1620,6 @@
|
|
|
1608
1620
|
### Composable API
|
|
1609
1621
|
|
|
1610
1622
|
The old version of modal dialog had three props that mapped into components.
|
|
1611
|
-
|
|
1612
1623
|
- `heading` was the text for the header.
|
|
1613
1624
|
- `children` was the React node that ended up in the modal body.
|
|
1614
1625
|
- `actions` was an array of objects that mapped into buttons in the footer.
|
|
@@ -1927,7 +1938,6 @@
|
|
|
1927
1938
|
Modal actions: `{testId}-dialog-content--action-{index}` -> Removed, can set on Button
|
|
1928
1939
|
|
|
1929
1940
|
### Miscallaneous changes
|
|
1930
|
-
|
|
1931
1941
|
- `ModalFooter` now uses `flex-end` instead of `space-between` to justify its contents.
|
|
1932
1942
|
- Inner components `ModalFooter`, `ModalHeader` and `ModalBody` no longer accepts style prop. If
|
|
1933
1943
|
you wish to modify the styles, you have to build your own component.
|
|
@@ -2523,7 +2533,6 @@
|
|
|
2523
2533
|
|
|
2524
2534
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
2525
2535
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
2526
|
-
|
|
2527
2536
|
- @atlaskit/docs@8.3.2
|
|
2528
2537
|
- @atlaskit/visual-regression@0.1.9
|
|
2529
2538
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -2751,12 +2760,10 @@
|
|
|
2751
2760
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
2752
2761
|
|
|
2753
2762
|
**Breaking changes**
|
|
2754
|
-
|
|
2755
2763
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
2756
2764
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
2757
2765
|
|
|
2758
2766
|
**Breaking changes to TypeScript annotations**
|
|
2759
|
-
|
|
2760
2767
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
2761
2768
|
props as a generic type.
|
|
2762
2769
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -2821,7 +2828,6 @@
|
|
|
2821
2828
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
2822
2829
|
|
|
2823
2830
|
In this PR, we are:
|
|
2824
|
-
|
|
2825
2831
|
- Re-introducing dist build folders
|
|
2826
2832
|
- Adding back cjs
|
|
2827
2833
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -2949,19 +2955,16 @@
|
|
|
2949
2955
|
## 10.0.1
|
|
2950
2956
|
|
|
2951
2957
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
2952
|
-
|
|
2953
2958
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
2954
2959
|
Request #5942 for details
|
|
2955
2960
|
|
|
2956
2961
|
## 10.0.0
|
|
2957
2962
|
|
|
2958
2963
|
- [major][06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
|
|
2959
|
-
|
|
2960
2964
|
- modal-dialog has been converted to Typescript. Typescript consumers will now get static type
|
|
2961
2965
|
safety. Flow types are no longer provided. No API or behavioural changes.
|
|
2962
2966
|
|
|
2963
2967
|
- [patch][c3ab82ed42](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c3ab82ed42):
|
|
2964
|
-
|
|
2965
2968
|
- Bump react-focus-lock to latest 1.19.1, it will fix a bug with document.activeElement
|
|
2966
2969
|
|
|
2967
2970
|
- Updated dependencies
|
|
@@ -2971,7 +2974,6 @@
|
|
|
2971
2974
|
## 9.0.0
|
|
2972
2975
|
|
|
2973
2976
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
2974
|
-
|
|
2975
2977
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
2976
2978
|
this package, please ensure you use at least this version of react and react-dom.
|
|
2977
2979
|
|
|
@@ -3032,7 +3034,6 @@
|
|
|
3032
3034
|
## 8.0.5
|
|
3033
3035
|
|
|
3034
3036
|
- [patch][cc8378fcd4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc8378fcd4):
|
|
3035
|
-
|
|
3036
3037
|
- Modal-dialog has been migrated from styled-components to Emotion (v10)
|
|
3037
3038
|
- styled-components is no longer a peer-dependency
|
|
3038
3039
|
- Render props Body, Header, Footer and Container continue to get styles applied via className
|
|
@@ -3092,13 +3093,11 @@
|
|
|
3092
3093
|
## 8.0.1
|
|
3093
3094
|
|
|
3094
3095
|
- [patch][0f764dbd7c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0f764dbd7c):
|
|
3095
|
-
|
|
3096
3096
|
- Modal-dialog no longer shows unnecessary scrollbars in modern browsers
|
|
3097
3097
|
|
|
3098
3098
|
## 8.0.0
|
|
3099
3099
|
|
|
3100
3100
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
3101
|
-
|
|
3102
3101
|
- Drop ES5 from all the flow modules
|
|
3103
3102
|
|
|
3104
3103
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -3143,7 +3142,6 @@
|
|
|
3143
3142
|
## 7.3.0
|
|
3144
3143
|
|
|
3145
3144
|
- [minor][f26a3d0235](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f26a3d0235):
|
|
3146
|
-
|
|
3147
3145
|
- Added media queries to make Modal Dialogs Responsive
|
|
3148
3146
|
|
|
3149
3147
|
## 7.2.4
|
|
@@ -3156,13 +3154,11 @@
|
|
|
3156
3154
|
## 7.2.3
|
|
3157
3155
|
|
|
3158
3156
|
- [patch][06713e0a0c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06713e0a0c):
|
|
3159
|
-
|
|
3160
3157
|
- popup select "target" is now a function that must resolve to a node
|
|
3161
3158
|
|
|
3162
3159
|
## 7.2.2
|
|
3163
3160
|
|
|
3164
3161
|
- [patch][a7670c1488](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a7670c1488):
|
|
3165
|
-
|
|
3166
3162
|
- Enabling handling focus in model-dialog by rendering component in model-dialog only after portal
|
|
3167
3163
|
in model-dialog is attached to DOM.
|
|
3168
3164
|
|
|
@@ -3188,7 +3184,6 @@
|
|
|
3188
3184
|
## 7.2.0
|
|
3189
3185
|
|
|
3190
3186
|
- [minor][07c4cd1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/07c4cd1):
|
|
3191
|
-
|
|
3192
3187
|
- **Feature**: `components` prop now has an optional `container` entry that is wrapped around the
|
|
3193
3188
|
header, body and footer. This provides compatibility for forms with fields in the body, and
|
|
3194
3189
|
submit buttons in the footer
|
|
@@ -3203,7 +3198,6 @@
|
|
|
3203
3198
|
## 7.1.2
|
|
3204
3199
|
|
|
3205
3200
|
- [patch][2686f21](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2686f21):
|
|
3206
|
-
|
|
3207
3201
|
- Removed example demonstrating deprecated reference behaviour
|
|
3208
3202
|
|
|
3209
3203
|
## 7.1.1
|
|
@@ -3226,7 +3220,6 @@
|
|
|
3226
3220
|
## 7.1.0
|
|
3227
3221
|
|
|
3228
3222
|
- [minor][7f99dec](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7f99dec):
|
|
3229
|
-
|
|
3230
3223
|
- Fix usage of PopupSelect inside ModalDialog
|
|
3231
3224
|
|
|
3232
3225
|
## 7.0.14
|
|
@@ -3274,17 +3267,14 @@
|
|
|
3274
3267
|
## 7.0.11
|
|
3275
3268
|
|
|
3276
3269
|
- [patch][abd3a39](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abd3a39):
|
|
3277
|
-
|
|
3278
3270
|
- Bump react-beautiful-dnd dependency to v10.0.2
|
|
3279
3271
|
|
|
3280
3272
|
## 7.0.10
|
|
3281
3273
|
|
|
3282
3274
|
- [patch][e151c1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e151c1a):
|
|
3283
|
-
|
|
3284
3275
|
- Removes dependency on @atlaskit/layer-manager
|
|
3285
3276
|
|
|
3286
3277
|
As of component versions:
|
|
3287
|
-
|
|
3288
3278
|
- \`@atlaskit/modal-dialog@7.0.0\`
|
|
3289
3279
|
- \`@atlaskit/tooltip@12.0.2\`
|
|
3290
3280
|
- \`@atlaskit/flag@9.0.6\`
|
|
@@ -3297,7 +3287,6 @@
|
|
|
3297
3287
|
## 7.0.9
|
|
3298
3288
|
|
|
3299
3289
|
- [patch][1fb2c2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1fb2c2a):
|
|
3300
|
-
|
|
3301
3290
|
- Fixed issue where tooltips and modals would initially render in the wrong location
|
|
3302
3291
|
|
|
3303
3292
|
## 7.0.8
|
|
@@ -3308,24 +3297,20 @@
|
|
|
3308
3297
|
## 7.0.7
|
|
3309
3298
|
|
|
3310
3299
|
- [patch][a637f5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a637f5e):
|
|
3311
|
-
|
|
3312
3300
|
- Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow
|
|
3313
3301
|
to type check properly
|
|
3314
3302
|
|
|
3315
3303
|
## 7.0.6
|
|
3316
3304
|
|
|
3317
3305
|
- [patch][7cbd729](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7cbd729):
|
|
3318
|
-
|
|
3319
3306
|
- Fixes visual bug where header and footer keylines appeared below textboxes and other components
|
|
3320
3307
|
|
|
3321
3308
|
## 7.0.5
|
|
3322
3309
|
|
|
3323
3310
|
- [patch][72bc8da](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/72bc8da):
|
|
3324
|
-
|
|
3325
3311
|
- Removes reference to window in initial state to properly support ssr
|
|
3326
3312
|
|
|
3327
3313
|
- [patch][b332c91](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b332c91):
|
|
3328
|
-
|
|
3329
3314
|
- upgrades verison of react-scrolllock to SSR safe version
|
|
3330
3315
|
|
|
3331
3316
|
## 7.0.4
|
|
@@ -87,7 +87,7 @@ var InternalModalWrapper = function InternalModalWrapper(props) {
|
|
|
87
87
|
action: 'closed',
|
|
88
88
|
componentName: 'modalDialog',
|
|
89
89
|
packageName: "@atlaskit/modal-dialog",
|
|
90
|
-
packageVersion: "
|
|
90
|
+
packageVersion: "14.5.2"
|
|
91
91
|
});
|
|
92
92
|
var onBlanketClicked = (0, _react.useCallback)(function (e) {
|
|
93
93
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -74,7 +74,7 @@ const InternalModalWrapper = props => {
|
|
|
74
74
|
action: 'closed',
|
|
75
75
|
componentName: 'modalDialog',
|
|
76
76
|
packageName: "@atlaskit/modal-dialog",
|
|
77
|
-
packageVersion: "
|
|
77
|
+
packageVersion: "14.5.2"
|
|
78
78
|
});
|
|
79
79
|
const onBlanketClicked = useCallback(e => {
|
|
80
80
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -78,7 +78,7 @@ var InternalModalWrapper = function InternalModalWrapper(props) {
|
|
|
78
78
|
action: 'closed',
|
|
79
79
|
componentName: 'modalDialog',
|
|
80
80
|
packageName: "@atlaskit/modal-dialog",
|
|
81
|
-
packageVersion: "
|
|
81
|
+
packageVersion: "14.5.2"
|
|
82
82
|
});
|
|
83
83
|
var onBlanketClicked = useCallback(function (e) {
|
|
84
84
|
if (shouldCloseOnOverlayClick) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "14.5.
|
|
3
|
+
"version": "14.5.3",
|
|
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/"
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/portal": "^5.1.0",
|
|
41
41
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
42
|
-
"@atlaskit/primitives": "^
|
|
42
|
+
"@atlaskit/primitives": "^16.0.0",
|
|
43
43
|
"@atlaskit/theme": "^21.0.0",
|
|
44
|
-
"@atlaskit/tokens": "^
|
|
44
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
|
-
"@compiled/react": "^0.18.
|
|
46
|
+
"@compiled/react": "^0.18.6",
|
|
47
47
|
"bind-event-listener": "^3.0.0",
|
|
48
48
|
"raf-schd": "^4.0.3",
|
|
49
49
|
"react-focus-lock": "^2.9.5",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"@atlaskit/checkbox": "^17.1.0",
|
|
64
64
|
"@atlaskit/code": "^17.2.0",
|
|
65
65
|
"@atlaskit/datetime-picker": "^17.1.0",
|
|
66
|
-
"@atlaskit/docs": "^11.
|
|
66
|
+
"@atlaskit/docs": "^11.2.0",
|
|
67
67
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
68
|
-
"@atlaskit/flag": "^17.
|
|
68
|
+
"@atlaskit/flag": "^17.5.0",
|
|
69
69
|
"@atlaskit/form": "^14.2.0",
|
|
70
70
|
"@atlaskit/heading": "^5.2.0",
|
|
71
71
|
"@atlaskit/link": "^3.2.0",
|