@atlaskit/inline-message 12.2.2 → 12.2.4

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.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#114683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114683)
8
+ [`ff0815316ab38`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff0815316ab38) -
9
+ Removes usage of custom theme button in places where its API is not being used and the default
10
+ button is able to be used instead. This should give a slight performance (runtime) improvement.
11
+
12
+ ## 12.2.3
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 12.2.2
4
19
 
5
20
  ### Patch Changes
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
9
9
  var _react = require("react");
10
10
  var _react2 = require("@emotion/react");
11
- var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
11
+ var _button = _interopRequireDefault(require("@atlaskit/button"));
12
12
  var _inlineDialog = _interopRequireDefault(require("@atlaskit/inline-dialog"));
13
13
  var _primitives = require("@atlaskit/primitives");
14
14
  var _colors = require("@atlaskit/theme/colors");
@@ -118,7 +118,7 @@ var InlineMessage = function InlineMessage(_ref) {
118
118
  isOpen: isOpen,
119
119
  placement: placement,
120
120
  testId: testId && "".concat(testId, "--inline-dialog")
121
- }, (0, _react2.jsx)(_customThemeButton.default, {
121
+ }, (0, _react2.jsx)(_button.default, {
122
122
  "data-ds--inline-message--button": true,
123
123
  appearance: "subtle-link",
124
124
  onClick: toggleDialog,
@@ -6,7 +6,7 @@ import { useCallback, useState } from 'react';
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
9
- import Button from '@atlaskit/button/custom-theme-button';
9
+ import Button from '@atlaskit/button';
10
10
  import InlineDialog from '@atlaskit/inline-dialog';
11
11
  import { Inline, Text } from '@atlaskit/primitives';
12
12
  import { B300, G200, P200, R300, Y200 } from '@atlaskit/theme/colors';
@@ -7,7 +7,7 @@ import { useCallback, useState } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
- import Button from '@atlaskit/button/custom-theme-button';
10
+ import Button from '@atlaskit/button';
11
11
  import InlineDialog from '@atlaskit/inline-dialog';
12
12
  import { Inline, Text } from '@atlaskit/primitives';
13
13
  import { B300, G200, P200, R300, Y200 } from '@atlaskit/theme/colors';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-message",
3
- "version": "12.2.2",
3
+ "version": "12.2.4",
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,12 +32,12 @@
32
32
  "runReact18": true
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/button": "^17.22.0",
35
+ "@atlaskit/button": "^18.0.0",
36
36
  "@atlaskit/icon": "^22.4.0",
37
37
  "@atlaskit/inline-dialog": "^14.2.0",
38
- "@atlaskit/primitives": "^8.0.0",
38
+ "@atlaskit/primitives": "^8.2.0",
39
39
  "@atlaskit/theme": "^12.11.0",
40
- "@atlaskit/tokens": "^1.51.0",
40
+ "@atlaskit/tokens": "^1.53.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "@emotion/react": "^11.7.1"
43
43
  },