@atlaskit/modal-dialog 14.5.0 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/modal-dialog
2
2
 
3
+ ## 14.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 14.5.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 14.5.0
4
16
 
5
17
  ### Minor Changes
@@ -1602,7 +1614,6 @@
1602
1614
  ### Composable API
1603
1615
 
1604
1616
  The old version of modal dialog had three props that mapped into components.
1605
-
1606
1617
  - `heading` was the text for the header.
1607
1618
  - `children` was the React node that ended up in the modal body.
1608
1619
  - `actions` was an array of objects that mapped into buttons in the footer.
@@ -1921,7 +1932,6 @@
1921
1932
  Modal actions: `{testId}-dialog-content--action-{index}` -> Removed, can set on Button
1922
1933
 
1923
1934
  ### Miscallaneous changes
1924
-
1925
1935
  - `ModalFooter` now uses `flex-end` instead of `space-between` to justify its contents.
1926
1936
  - Inner components `ModalFooter`, `ModalHeader` and `ModalBody` no longer accepts style prop. If
1927
1937
  you wish to modify the styles, you have to build your own component.
@@ -2517,7 +2527,6 @@
2517
2527
 
2518
2528
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
2519
2529
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
2520
-
2521
2530
  - @atlaskit/docs@8.3.2
2522
2531
  - @atlaskit/visual-regression@0.1.9
2523
2532
  - @atlaskit/analytics-next@6.3.5
@@ -2745,12 +2754,10 @@
2745
2754
  safety. Flow types are no longer provided. No behavioural changes.
2746
2755
 
2747
2756
  **Breaking changes**
2748
-
2749
2757
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
2750
2758
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
2751
2759
 
2752
2760
  **Breaking changes to TypeScript annotations**
2753
-
2754
2761
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
2755
2762
  props as a generic type.
2756
2763
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -2815,7 +2822,6 @@
2815
2822
  - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
2816
2823
 
2817
2824
  In this PR, we are:
2818
-
2819
2825
  - Re-introducing dist build folders
2820
2826
  - Adding back cjs
2821
2827
  - Replacing es5 by cjs and es2015 by esm
@@ -2943,19 +2949,16 @@
2943
2949
  ## 10.0.1
2944
2950
 
2945
2951
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
2946
-
2947
2952
  - This is just a safety release in case anything strange happened in in the previous one. See Pull
2948
2953
  Request #5942 for details
2949
2954
 
2950
2955
  ## 10.0.0
2951
2956
 
2952
2957
  - [major][06c5cccf9d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c5cccf9d):
2953
-
2954
2958
  - modal-dialog has been converted to Typescript. Typescript consumers will now get static type
2955
2959
  safety. Flow types are no longer provided. No API or behavioural changes.
2956
2960
 
2957
2961
  - [patch][c3ab82ed42](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c3ab82ed42):
2958
-
2959
2962
  - Bump react-focus-lock to latest 1.19.1, it will fix a bug with document.activeElement
2960
2963
 
2961
2964
  - Updated dependencies
@@ -2965,7 +2968,6 @@
2965
2968
  ## 9.0.0
2966
2969
 
2967
2970
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
2968
-
2969
2971
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
2970
2972
  this package, please ensure you use at least this version of react and react-dom.
2971
2973
 
@@ -3026,7 +3028,6 @@
3026
3028
  ## 8.0.5
3027
3029
 
3028
3030
  - [patch][cc8378fcd4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc8378fcd4):
3029
-
3030
3031
  - Modal-dialog has been migrated from styled-components to Emotion (v10)
3031
3032
  - styled-components is no longer a peer-dependency
3032
3033
  - Render props Body, Header, Footer and Container continue to get styles applied via className
@@ -3086,13 +3087,11 @@
3086
3087
  ## 8.0.1
3087
3088
 
3088
3089
  - [patch][0f764dbd7c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0f764dbd7c):
3089
-
3090
3090
  - Modal-dialog no longer shows unnecessary scrollbars in modern browsers
3091
3091
 
3092
3092
  ## 8.0.0
3093
3093
 
3094
3094
  - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
3095
-
3096
3095
  - Drop ES5 from all the flow modules
3097
3096
 
3098
3097
  ### Dropping CJS support in all @atlaskit packages
@@ -3137,7 +3136,6 @@
3137
3136
  ## 7.3.0
3138
3137
 
3139
3138
  - [minor][f26a3d0235](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f26a3d0235):
3140
-
3141
3139
  - Added media queries to make Modal Dialogs Responsive
3142
3140
 
3143
3141
  ## 7.2.4
@@ -3150,13 +3148,11 @@
3150
3148
  ## 7.2.3
3151
3149
 
3152
3150
  - [patch][06713e0a0c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06713e0a0c):
3153
-
3154
3151
  - popup select "target" is now a function that must resolve to a node
3155
3152
 
3156
3153
  ## 7.2.2
3157
3154
 
3158
3155
  - [patch][a7670c1488](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a7670c1488):
3159
-
3160
3156
  - Enabling handling focus in model-dialog by rendering component in model-dialog only after portal
3161
3157
  in model-dialog is attached to DOM.
3162
3158
 
@@ -3182,7 +3178,6 @@
3182
3178
  ## 7.2.0
3183
3179
 
3184
3180
  - [minor][07c4cd1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/07c4cd1):
3185
-
3186
3181
  - **Feature**: `components` prop now has an optional `container` entry that is wrapped around the
3187
3182
  header, body and footer. This provides compatibility for forms with fields in the body, and
3188
3183
  submit buttons in the footer
@@ -3197,7 +3192,6 @@
3197
3192
  ## 7.1.2
3198
3193
 
3199
3194
  - [patch][2686f21](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2686f21):
3200
-
3201
3195
  - Removed example demonstrating deprecated reference behaviour
3202
3196
 
3203
3197
  ## 7.1.1
@@ -3220,7 +3214,6 @@
3220
3214
  ## 7.1.0
3221
3215
 
3222
3216
  - [minor][7f99dec](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7f99dec):
3223
-
3224
3217
  - Fix usage of PopupSelect inside ModalDialog
3225
3218
 
3226
3219
  ## 7.0.14
@@ -3268,17 +3261,14 @@
3268
3261
  ## 7.0.11
3269
3262
 
3270
3263
  - [patch][abd3a39](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abd3a39):
3271
-
3272
3264
  - Bump react-beautiful-dnd dependency to v10.0.2
3273
3265
 
3274
3266
  ## 7.0.10
3275
3267
 
3276
3268
  - [patch][e151c1a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e151c1a):
3277
-
3278
3269
  - Removes dependency on @atlaskit/layer-manager
3279
3270
 
3280
3271
  As of component versions:
3281
-
3282
3272
  - \`@atlaskit/modal-dialog@7.0.0\`
3283
3273
  - \`@atlaskit/tooltip@12.0.2\`
3284
3274
  - \`@atlaskit/flag@9.0.6\`
@@ -3291,7 +3281,6 @@
3291
3281
  ## 7.0.9
3292
3282
 
3293
3283
  - [patch][1fb2c2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1fb2c2a):
3294
-
3295
3284
  - Fixed issue where tooltips and modals would initially render in the wrong location
3296
3285
 
3297
3286
  ## 7.0.8
@@ -3302,24 +3291,20 @@
3302
3291
  ## 7.0.7
3303
3292
 
3304
3293
  - [patch][a637f5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a637f5e):
3305
-
3306
3294
  - Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow
3307
3295
  to type check properly
3308
3296
 
3309
3297
  ## 7.0.6
3310
3298
 
3311
3299
  - [patch][7cbd729](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7cbd729):
3312
-
3313
3300
  - Fixes visual bug where header and footer keylines appeared below textboxes and other components
3314
3301
 
3315
3302
  ## 7.0.5
3316
3303
 
3317
3304
  - [patch][72bc8da](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/72bc8da):
3318
-
3319
3305
  - Removes reference to window in initial state to properly support ssr
3320
3306
 
3321
3307
  - [patch][b332c91](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b332c91):
3322
-
3323
3308
  - upgrades verison of react-scrolllock to SSR safe version
3324
3309
 
3325
3310
  ## 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: "14.4.2"
90
+ packageVersion: "0.0.0-development"
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: "14.4.2"
77
+ packageVersion: "0.0.0-development"
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: "14.4.2"
81
+ packageVersion: "0.0.0-development"
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.0",
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/"
@@ -30,7 +30,7 @@
30
30
  "@atlaskit/analytics-next": "^11.1.0",
31
31
  "@atlaskit/blanket": "^15.0.0",
32
32
  "@atlaskit/button": "^23.5.0",
33
- "@atlaskit/css": "^0.14.0",
33
+ "@atlaskit/css": "^0.15.0",
34
34
  "@atlaskit/ds-lib": "^5.1.0",
35
35
  "@atlaskit/focus-ring": "^3.0.0",
36
36
  "@atlaskit/icon": "^28.5.0",
@@ -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": "^14.15.0",
42
+ "@atlaskit/primitives": "^15.0.0",
43
43
  "@atlaskit/theme": "^21.0.0",
44
- "@atlaskit/tokens": "^6.4.0",
44
+ "@atlaskit/tokens": "^7.0.0",
45
45
  "@babel/runtime": "^7.0.0",
46
- "@compiled/react": "^0.18.3",
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",
@@ -56,16 +56,16 @@
56
56
  "@af/accessibility-testing": "workspace:^",
57
57
  "@af/integration-testing": "workspace:^",
58
58
  "@af/visual-regression": "workspace:^",
59
- "@atlaskit/avatar": "^25.3.0",
59
+ "@atlaskit/avatar": "^25.4.0",
60
60
  "@atlaskit/avatar-group": "^12.3.0",
61
61
  "@atlaskit/banner": "^14.0.0",
62
62
  "@atlaskit/breadcrumbs": "^15.3.0",
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.1.0",
66
+ "@atlaskit/docs": "^11.2.0",
67
67
  "@atlaskit/dropdown-menu": "^16.3.0",
68
- "@atlaskit/flag": "^17.4.0",
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",