@atlaskit/panel 0.9.11 → 0.9.12

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,14 @@
1
1
  # @atlaskit/panel
2
2
 
3
+ ## 0.9.12
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
+
3
12
  ## 0.9.11
4
13
 
5
14
  ### Patch Changes
@@ -9,7 +9,7 @@ exports.default = void 0;
9
9
  var _react = _interopRequireDefault(require("react"));
10
10
  var _reactAnimateHeight = _interopRequireDefault(require("react-animate-height"));
11
11
  var _reactIntlNext = require("react-intl-next");
12
- var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
12
+ var _button = _interopRequireDefault(require("@atlaskit/button"));
13
13
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-down"));
14
14
  var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-right"));
15
15
  var styles = _interopRequireWildcard(require("./styledPanel"));
@@ -42,7 +42,7 @@ var PanelStateless = function PanelStateless(_ref) {
42
42
  }
43
43
  }, /*#__PURE__*/_react.default.createElement(styles.ButtonWrapper, {
44
44
  isHidden: isExpanded
45
- }, /*#__PURE__*/_react.default.createElement(_customThemeButton.default, {
45
+ }, /*#__PURE__*/_react.default.createElement(_button.default, {
46
46
  appearance: "subtle",
47
47
  "aria-expanded": isExpanded,
48
48
  spacing: "none",
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import AnimateHeight from 'react-animate-height';
3
3
  import { defineMessages, useIntl } from 'react-intl-next';
4
- import Button from '@atlaskit/button/custom-theme-button';
4
+ import Button from '@atlaskit/button';
5
5
  import ChevronDownIcon from '@atlaskit/icon/glyph/chevron-down';
6
6
  import ChevronRightIcon from '@atlaskit/icon/glyph/chevron-right';
7
7
  import * as styles from './styledPanel';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import AnimateHeight from 'react-animate-height';
3
3
  import { defineMessages, useIntl } from 'react-intl-next';
4
- import Button from '@atlaskit/button/custom-theme-button';
4
+ import Button from '@atlaskit/button';
5
5
  import ChevronDownIcon from '@atlaskit/icon/glyph/chevron-down';
6
6
  import ChevronRightIcon from '@atlaskit/icon/glyph/chevron-right';
7
7
  import * as styles from './styledPanel';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/panel",
3
- "version": "0.9.11",
3
+ "version": "0.9.12",
4
4
  "description": "A React component rendering a collapsible panel",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,7 +35,7 @@
35
35
  "@atlaskit/button": "^18.0.0",
36
36
  "@atlaskit/icon": "^22.4.0",
37
37
  "@atlaskit/theme": "^12.11.0",
38
- "@atlaskit/tokens": "^1.52.0",
38
+ "@atlaskit/tokens": "^1.53.0",
39
39
  "@babel/runtime": "^7.0.0",
40
40
  "react-animate-height": "^2.0.5",
41
41
  "react-focus-within": "^2.0.1",