@atlaskit/modal-dialog 14.5.1 → 14.5.2
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 +6 -27
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/modal-dialog
|
|
2
2
|
|
|
3
|
+
## 14.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 14.5.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1608,7 +1614,6 @@
|
|
|
1608
1614
|
### Composable API
|
|
1609
1615
|
|
|
1610
1616
|
The old version of modal dialog had three props that mapped into components.
|
|
1611
|
-
|
|
1612
1617
|
- `heading` was the text for the header.
|
|
1613
1618
|
- `children` was the React node that ended up in the modal body.
|
|
1614
1619
|
- `actions` was an array of objects that mapped into buttons in the footer.
|
|
@@ -1927,7 +1932,6 @@
|
|
|
1927
1932
|
Modal actions: `{testId}-dialog-content--action-{index}` -> Removed, can set on Button
|
|
1928
1933
|
|
|
1929
1934
|
### Miscallaneous changes
|
|
1930
|
-
|
|
1931
1935
|
- `ModalFooter` now uses `flex-end` instead of `space-between` to justify its contents.
|
|
1932
1936
|
- Inner components `ModalFooter`, `ModalHeader` and `ModalBody` no longer accepts style prop. If
|
|
1933
1937
|
you wish to modify the styles, you have to build your own component.
|
|
@@ -2523,7 +2527,6 @@
|
|
|
2523
2527
|
|
|
2524
2528
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
2525
2529
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
2526
|
-
|
|
2527
2530
|
- @atlaskit/docs@8.3.2
|
|
2528
2531
|
- @atlaskit/visual-regression@0.1.9
|
|
2529
2532
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -2751,12 +2754,10 @@
|
|
|
2751
2754
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
2752
2755
|
|
|
2753
2756
|
**Breaking changes**
|
|
2754
|
-
|
|
2755
2757
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
2756
2758
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
2757
2759
|
|
|
2758
2760
|
**Breaking changes to TypeScript annotations**
|
|
2759
|
-
|
|
2760
2761
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
2761
2762
|
props as a generic type.
|
|
2762
2763
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -2821,7 +2822,6 @@
|
|
|
2821
2822
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
2822
2823
|
|
|
2823
2824
|
In this PR, we are:
|
|
2824
|
-
|
|
2825
2825
|
- Re-introducing dist build folders
|
|
2826
2826
|
- Adding back cjs
|
|
2827
2827
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -2949,19 +2949,16 @@
|
|
|
2949
2949
|
## 10.0.1
|
|
2950
2950
|
|
|
2951
2951
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
2952
|
-
|
|
2953
2952
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
2954
2953
|
Request #5942 for details
|
|
2955
2954
|
|
|
2956
2955
|
## 10.0.0
|
|
2957
2956
|
|
|
2958
2957
|
- [major][06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
|
|
2959
|
-
|
|
2960
2958
|
- modal-dialog has been converted to Typescript. Typescript consumers will now get static type
|
|
2961
2959
|
safety. Flow types are no longer provided. No API or behavioural changes.
|
|
2962
2960
|
|
|
2963
2961
|
- [patch][c3ab82ed42](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c3ab82ed42):
|
|
2964
|
-
|
|
2965
2962
|
- Bump react-focus-lock to latest 1.19.1, it will fix a bug with document.activeElement
|
|
2966
2963
|
|
|
2967
2964
|
- Updated dependencies
|
|
@@ -2971,7 +2968,6 @@
|
|
|
2971
2968
|
## 9.0.0
|
|
2972
2969
|
|
|
2973
2970
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
2974
|
-
|
|
2975
2971
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
2976
2972
|
this package, please ensure you use at least this version of react and react-dom.
|
|
2977
2973
|
|
|
@@ -3032,7 +3028,6 @@
|
|
|
3032
3028
|
## 8.0.5
|
|
3033
3029
|
|
|
3034
3030
|
- [patch][cc8378fcd4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc8378fcd4):
|
|
3035
|
-
|
|
3036
3031
|
- Modal-dialog has been migrated from styled-components to Emotion (v10)
|
|
3037
3032
|
- styled-components is no longer a peer-dependency
|
|
3038
3033
|
- Render props Body, Header, Footer and Container continue to get styles applied via className
|
|
@@ -3092,13 +3087,11 @@
|
|
|
3092
3087
|
## 8.0.1
|
|
3093
3088
|
|
|
3094
3089
|
- [patch][0f764dbd7c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0f764dbd7c):
|
|
3095
|
-
|
|
3096
3090
|
- Modal-dialog no longer shows unnecessary scrollbars in modern browsers
|
|
3097
3091
|
|
|
3098
3092
|
## 8.0.0
|
|
3099
3093
|
|
|
3100
3094
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
3101
|
-
|
|
3102
3095
|
- Drop ES5 from all the flow modules
|
|
3103
3096
|
|
|
3104
3097
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -3143,7 +3136,6 @@
|
|
|
3143
3136
|
## 7.3.0
|
|
3144
3137
|
|
|
3145
3138
|
- [minor][f26a3d0235](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f26a3d0235):
|
|
3146
|
-
|
|
3147
3139
|
- Added media queries to make Modal Dialogs Responsive
|
|
3148
3140
|
|
|
3149
3141
|
## 7.2.4
|
|
@@ -3156,13 +3148,11 @@
|
|
|
3156
3148
|
## 7.2.3
|
|
3157
3149
|
|
|
3158
3150
|
- [patch][06713e0a0c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06713e0a0c):
|
|
3159
|
-
|
|
3160
3151
|
- popup select "target" is now a function that must resolve to a node
|
|
3161
3152
|
|
|
3162
3153
|
## 7.2.2
|
|
3163
3154
|
|
|
3164
3155
|
- [patch][a7670c1488](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a7670c1488):
|
|
3165
|
-
|
|
3166
3156
|
- Enabling handling focus in model-dialog by rendering component in model-dialog only after portal
|
|
3167
3157
|
in model-dialog is attached to DOM.
|
|
3168
3158
|
|
|
@@ -3188,7 +3178,6 @@
|
|
|
3188
3178
|
## 7.2.0
|
|
3189
3179
|
|
|
3190
3180
|
- [minor][07c4cd1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/07c4cd1):
|
|
3191
|
-
|
|
3192
3181
|
- **Feature**: `components` prop now has an optional `container` entry that is wrapped around the
|
|
3193
3182
|
header, body and footer. This provides compatibility for forms with fields in the body, and
|
|
3194
3183
|
submit buttons in the footer
|
|
@@ -3203,7 +3192,6 @@
|
|
|
3203
3192
|
## 7.1.2
|
|
3204
3193
|
|
|
3205
3194
|
- [patch][2686f21](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2686f21):
|
|
3206
|
-
|
|
3207
3195
|
- Removed example demonstrating deprecated reference behaviour
|
|
3208
3196
|
|
|
3209
3197
|
## 7.1.1
|
|
@@ -3226,7 +3214,6 @@
|
|
|
3226
3214
|
## 7.1.0
|
|
3227
3215
|
|
|
3228
3216
|
- [minor][7f99dec](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7f99dec):
|
|
3229
|
-
|
|
3230
3217
|
- Fix usage of PopupSelect inside ModalDialog
|
|
3231
3218
|
|
|
3232
3219
|
## 7.0.14
|
|
@@ -3274,17 +3261,14 @@
|
|
|
3274
3261
|
## 7.0.11
|
|
3275
3262
|
|
|
3276
3263
|
- [patch][abd3a39](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abd3a39):
|
|
3277
|
-
|
|
3278
3264
|
- Bump react-beautiful-dnd dependency to v10.0.2
|
|
3279
3265
|
|
|
3280
3266
|
## 7.0.10
|
|
3281
3267
|
|
|
3282
3268
|
- [patch][e151c1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e151c1a):
|
|
3283
|
-
|
|
3284
3269
|
- Removes dependency on @atlaskit/layer-manager
|
|
3285
3270
|
|
|
3286
3271
|
As of component versions:
|
|
3287
|
-
|
|
3288
3272
|
- \`@atlaskit/modal-dialog@7.0.0\`
|
|
3289
3273
|
- \`@atlaskit/tooltip@12.0.2\`
|
|
3290
3274
|
- \`@atlaskit/flag@9.0.6\`
|
|
@@ -3297,7 +3281,6 @@
|
|
|
3297
3281
|
## 7.0.9
|
|
3298
3282
|
|
|
3299
3283
|
- [patch][1fb2c2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1fb2c2a):
|
|
3300
|
-
|
|
3301
3284
|
- Fixed issue where tooltips and modals would initially render in the wrong location
|
|
3302
3285
|
|
|
3303
3286
|
## 7.0.8
|
|
@@ -3308,24 +3291,20 @@
|
|
|
3308
3291
|
## 7.0.7
|
|
3309
3292
|
|
|
3310
3293
|
- [patch][a637f5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a637f5e):
|
|
3311
|
-
|
|
3312
3294
|
- Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow
|
|
3313
3295
|
to type check properly
|
|
3314
3296
|
|
|
3315
3297
|
## 7.0.6
|
|
3316
3298
|
|
|
3317
3299
|
- [patch][7cbd729](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7cbd729):
|
|
3318
|
-
|
|
3319
3300
|
- Fixes visual bug where header and footer keylines appeared below textboxes and other components
|
|
3320
3301
|
|
|
3321
3302
|
## 7.0.5
|
|
3322
3303
|
|
|
3323
3304
|
- [patch][72bc8da](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/72bc8da):
|
|
3324
|
-
|
|
3325
3305
|
- Removes reference to window in initial state to properly support ssr
|
|
3326
3306
|
|
|
3327
3307
|
- [patch][b332c91](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b332c91):
|
|
3328
|
-
|
|
3329
3308
|
- upgrades verison of react-scrolllock to SSR safe version
|
|
3330
3309
|
|
|
3331
3310
|
## 7.0.4
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "14.5.
|
|
3
|
+
"version": "14.5.2",
|
|
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/"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
42
42
|
"@atlaskit/primitives": "^15.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",
|