@atlaskit/inline-message 12.2.0 → 12.2.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,20 @@
1
1
  # @atlaskit/inline-message
2
2
 
3
+ ## 12.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#113051](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113051)
8
+ [`8fb8ca26fb173`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8fb8ca26fb173) -
9
+ Integrate layering in inline dialog
10
+ - Updated dependencies
11
+
12
+ ## 12.2.1
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 12.2.0
4
19
 
5
20
  ### Minor Changes
@@ -10,8 +10,6 @@ var _react = require("react");
10
10
  var _react2 = require("@emotion/react");
11
11
  var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
12
12
  var _inlineDialog = _interopRequireDefault(require("@atlaskit/inline-dialog"));
13
- var _layering = require("@atlaskit/layering");
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
13
  var _primitives = require("@atlaskit/primitives");
16
14
  var _colors = require("@atlaskit/theme/colors");
17
15
  var _messageIcon = _interopRequireDefault(require("../message-icon"));
@@ -114,8 +112,6 @@ var InlineMessage = function InlineMessage(_ref) {
114
112
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
115
113
  },
116
114
  "data-testid": testId
117
- }, (0, _react2.jsx)(_layering.UNSAFE_LAYERING, {
118
- isDisabled: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.inline-message-layering_wfp1p') ? !isOpen : true
119
115
  }, (0, _react2.jsx)(_inlineDialog.default, {
120
116
  onClose: onCloseDialog,
121
117
  content: children,
@@ -146,6 +142,6 @@ var InlineMessage = function InlineMessage(_ref) {
146
142
  color: "color.text.subtlest",
147
143
  maxLines: 1,
148
144
  testId: testId && "".concat(testId, "--text")
149
- }, secondaryText)))))));
145
+ }, secondaryText))))));
150
146
  };
151
147
  var _default = exports.default = InlineMessage;
@@ -8,8 +8,6 @@ import { useCallback, useState } from 'react';
8
8
  import { css, jsx } from '@emotion/react';
9
9
  import Button from '@atlaskit/button/custom-theme-button';
10
10
  import InlineDialog from '@atlaskit/inline-dialog';
11
- import { UNSAFE_LAYERING } from '@atlaskit/layering';
12
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
13
11
  import { Inline, Text } from '@atlaskit/primitives';
14
12
  import { B300, G200, P200, R300, Y200 } from '@atlaskit/theme/colors';
15
13
  import MessageIcon from '../message-icon';
@@ -95,8 +93,6 @@ const InlineMessage = ({
95
93
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
96
94
  },
97
95
  "data-testid": testId
98
- }, jsx(UNSAFE_LAYERING, {
99
- isDisabled: getBooleanFF('platform.design-system-team.inline-message-layering_wfp1p') ? !isOpen : true
100
96
  }, jsx(InlineDialog, {
101
97
  onClose: onCloseDialog,
102
98
  content: children,
@@ -127,6 +123,6 @@ const InlineMessage = ({
127
123
  color: "color.text.subtlest",
128
124
  maxLines: 1,
129
125
  testId: testId && `${testId}--text`
130
- }, secondaryText)))))));
126
+ }, secondaryText))))));
131
127
  };
132
128
  export default InlineMessage;
@@ -9,8 +9,6 @@ import { useCallback, useState } from 'react';
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import Button from '@atlaskit/button/custom-theme-button';
11
11
  import InlineDialog from '@atlaskit/inline-dialog';
12
- import { UNSAFE_LAYERING } from '@atlaskit/layering';
13
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
14
12
  import { Inline, Text } from '@atlaskit/primitives';
15
13
  import { B300, G200, P200, R300, Y200 } from '@atlaskit/theme/colors';
16
14
  import MessageIcon from '../message-icon';
@@ -106,8 +104,6 @@ var InlineMessage = function InlineMessage(_ref) {
106
104
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
107
105
  },
108
106
  "data-testid": testId
109
- }, jsx(UNSAFE_LAYERING, {
110
- isDisabled: getBooleanFF('platform.design-system-team.inline-message-layering_wfp1p') ? !isOpen : true
111
107
  }, jsx(InlineDialog, {
112
108
  onClose: onCloseDialog,
113
109
  content: children,
@@ -138,6 +134,6 @@ var InlineMessage = function InlineMessage(_ref) {
138
134
  color: "color.text.subtlest",
139
135
  maxLines: 1,
140
136
  testId: testId && "".concat(testId, "--text")
141
- }, secondaryText)))))));
137
+ }, secondaryText))))));
142
138
  };
143
139
  export default InlineMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-message",
3
- "version": "12.2.0",
3
+ "version": "12.2.2",
4
4
  "description": "An inline message lets users know when important information is available or when an action is required.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,13 +32,11 @@
32
32
  "runReact18": true
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/button": "^17.17.0",
35
+ "@atlaskit/button": "^17.22.0",
36
36
  "@atlaskit/icon": "^22.4.0",
37
37
  "@atlaskit/inline-dialog": "^14.2.0",
38
- "@atlaskit/layering": "^0.3.0",
39
- "@atlaskit/platform-feature-flags": "^0.2.0",
40
- "@atlaskit/primitives": "^7.4.0",
41
- "@atlaskit/theme": "^12.10.0",
38
+ "@atlaskit/primitives": "^8.0.0",
39
+ "@atlaskit/theme": "^12.11.0",
42
40
  "@atlaskit/tokens": "^1.51.0",
43
41
  "@babel/runtime": "^7.0.0",
44
42
  "@emotion/react": "^11.7.1"
@@ -98,7 +96,8 @@
98
96
  "referenceOnly": true
99
97
  },
100
98
  "platform.design-system-team.inline-message-layering_wfp1p": {
101
- "type": "boolean"
99
+ "type": "boolean",
100
+ "referenceOnly": true
102
101
  }
103
102
  },
104
103
  "homepage": "https://atlassian.design/components/inline-message/"