@atlaskit/modal-dialog 12.14.6 → 12.14.7

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,13 @@
1
1
  # @atlaskit/modal-dialog
2
2
 
3
+ ## 12.14.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#122722](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/122722)
8
+ [`512798d699bd1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/512798d699bd1) -
9
+ GA layering in modal-dialog to support multiple layers
10
+
3
11
  ## 12.14.6
4
12
 
5
13
  ### Patch Changes
@@ -16,7 +16,6 @@ var _blanket = _interopRequireDefault(require("@atlaskit/blanket"));
16
16
  var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
17
17
  var _layering = require("@atlaskit/layering");
18
18
  var _fadeIn = _interopRequireDefault(require("@atlaskit/motion/fade-in"));
19
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
20
19
  var _portal = _interopRequireDefault(require("@atlaskit/portal"));
21
20
  var _constants = require("@atlaskit/theme/constants");
22
21
  var _modalDialog = _interopRequireDefault(require("./internal/components/modal-dialog"));
@@ -100,7 +99,7 @@ var ModalWrapper = function ModalWrapper(props) {
100
99
  action: 'closed',
101
100
  componentName: 'modalDialog',
102
101
  packageName: "@atlaskit/modal-dialog",
103
- packageVersion: "12.14.6"
102
+ packageVersion: "12.14.7"
104
103
  });
105
104
  var onBlanketClicked = (0, _react.useCallback)(function (e) {
106
105
  if (shouldCloseOnOverlayClick) {
@@ -138,7 +137,7 @@ var ModalWrapper = function ModalWrapper(props) {
138
137
  };
139
138
  }
140
139
  return (0, _react2.jsx)(_layering.UNSAFE_LAYERING, {
141
- isDisabled: (0, _platformFeatureFlags.fg)('platform.design-system-team.layering_qmiw3') ? false : true
140
+ isDisabled: false
142
141
  }, (0, _react2.jsx)(_portal.default, {
143
142
  zIndex: _constants.layers.modal()
144
143
  }, (0, _react2.jsx)(_fadeIn.default, null, function (fadeInProps) {
@@ -15,7 +15,6 @@ import Blanket from '@atlaskit/blanket';
15
15
  import noop from '@atlaskit/ds-lib/noop';
16
16
  import { UNSAFE_LAYERING } from '@atlaskit/layering';
17
17
  import FadeIn from '@atlaskit/motion/fade-in';
18
- import { fg } from '@atlaskit/platform-feature-flags';
19
18
  import Portal from '@atlaskit/portal';
20
19
  import { layers } from '@atlaskit/theme/constants';
21
20
  import ModalDialog from './internal/components/modal-dialog';
@@ -85,7 +84,7 @@ const ModalWrapper = props => {
85
84
  action: 'closed',
86
85
  componentName: 'modalDialog',
87
86
  packageName: "@atlaskit/modal-dialog",
88
- packageVersion: "12.14.6"
87
+ packageVersion: "12.14.7"
89
88
  });
90
89
  const onBlanketClicked = useCallback(e => {
91
90
  if (shouldCloseOnOverlayClick) {
@@ -123,7 +122,7 @@ const ModalWrapper = props => {
123
122
  };
124
123
  }
125
124
  return jsx(UNSAFE_LAYERING, {
126
- isDisabled: fg('platform.design-system-team.layering_qmiw3') ? false : true
125
+ isDisabled: false
127
126
  }, jsx(Portal, {
128
127
  zIndex: layers.modal()
129
128
  }, jsx(FadeIn, null, fadeInProps => jsx("div", _extends({}, fadeInProps, {
@@ -15,7 +15,6 @@ import Blanket from '@atlaskit/blanket';
15
15
  import noop from '@atlaskit/ds-lib/noop';
16
16
  import { UNSAFE_LAYERING } from '@atlaskit/layering';
17
17
  import FadeIn from '@atlaskit/motion/fade-in';
18
- import { fg } from '@atlaskit/platform-feature-flags';
19
18
  import Portal from '@atlaskit/portal';
20
19
  import { layers } from '@atlaskit/theme/constants';
21
20
  import ModalDialog from './internal/components/modal-dialog';
@@ -90,7 +89,7 @@ var ModalWrapper = function ModalWrapper(props) {
90
89
  action: 'closed',
91
90
  componentName: 'modalDialog',
92
91
  packageName: "@atlaskit/modal-dialog",
93
- packageVersion: "12.14.6"
92
+ packageVersion: "12.14.7"
94
93
  });
95
94
  var onBlanketClicked = useCallback(function (e) {
96
95
  if (shouldCloseOnOverlayClick) {
@@ -128,7 +127,7 @@ var ModalWrapper = function ModalWrapper(props) {
128
127
  };
129
128
  }
130
129
  return jsx(UNSAFE_LAYERING, {
131
- isDisabled: fg('platform.design-system-team.layering_qmiw3') ? false : true
130
+ isDisabled: false
132
131
  }, jsx(Portal, {
133
132
  zIndex: layers.modal()
134
133
  }, jsx(FadeIn, null, function (fadeInProps) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/modal-dialog",
3
- "version": "12.14.6",
3
+ "version": "12.14.7",
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/"
@@ -35,7 +35,7 @@
35
35
  "@atlaskit/codemod-utils": "^4.2.0",
36
36
  "@atlaskit/ds-lib": "^2.3.0",
37
37
  "@atlaskit/focus-ring": "^1.5.0",
38
- "@atlaskit/icon": "^22.6.0",
38
+ "@atlaskit/icon": "^22.7.0",
39
39
  "@atlaskit/layering": "^0.3.0",
40
40
  "@atlaskit/motion": "^1.7.0",
41
41
  "@atlaskit/platform-feature-flags": "^0.3.0",
@@ -68,7 +68,6 @@
68
68
  "@atlaskit/textfield": "^6.4.0",
69
69
  "@atlaskit/tooltip": "^18.5.0",
70
70
  "@atlaskit/visual-regression": "*",
71
- "@atlassian/feature-flags-test-utils": "*",
72
71
  "@testing-library/dom": "^10.1.0",
73
72
  "@testing-library/react": "^12.1.5",
74
73
  "@testing-library/react-hooks": "^8.0.1",
@@ -128,19 +127,12 @@
128
127
  "./modal-transition": "./src/modal-transition.tsx"
129
128
  },
130
129
  "platform-feature-flags": {
131
- "platform.design-system-team.layering_qmiw3": {
132
- "type": "boolean"
133
- },
134
130
  "platform.design-system-team.popup-select-close_8h15h": {
135
131
  "type": "boolean",
136
132
  "referenceOnly": "true"
137
133
  },
138
134
  "platform.design-system-team.iframe_gojiv": {
139
135
  "type": "boolean"
140
- },
141
- "platform.design-system-team.iframe-layering_p3eb8": {
142
- "type": "boolean",
143
- "referenceOnly": "true"
144
136
  }
145
137
  },
146
138
  "homepage": "https://atlassian.design/components/modal-dialog/"