@atlaskit/panel 0.11.25 → 0.12.0
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,19 @@
|
|
|
1
1
|
# @atlaskit/panel
|
|
2
2
|
|
|
3
|
+
## 0.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
|
|
8
|
+
Removed usages of LEGACY icon props
|
|
9
|
+
|
|
10
|
+
## 0.11.26
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`7b2a6c98563cb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b2a6c98563cb) -
|
|
15
|
+
Icon entry point migration update
|
|
16
|
+
|
|
3
17
|
## 0.11.25
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -10,8 +10,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
10
10
|
var _reactAnimateHeight = _interopRequireDefault(require("react-animate-height"));
|
|
11
11
|
var _reactIntlNext = require("react-intl-next");
|
|
12
12
|
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
13
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
14
|
-
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
13
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
14
|
+
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
|
|
15
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
16
|
var styles = _interopRequireWildcard(require("./styledPanel"));
|
|
17
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -52,7 +52,6 @@ var PanelStateless = function PanelStateless(_ref) {
|
|
|
52
52
|
}, /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
53
53
|
color: "currentColor",
|
|
54
54
|
label: i18nCollapseText,
|
|
55
|
-
LEGACY_margin: "0 0 0 -4px",
|
|
56
55
|
size: "small"
|
|
57
56
|
})) : /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
58
57
|
as: "span",
|
|
@@ -60,7 +59,6 @@ var PanelStateless = function PanelStateless(_ref) {
|
|
|
60
59
|
}, /*#__PURE__*/_react.default.createElement(_chevronRight.default, {
|
|
61
60
|
color: "currentColor",
|
|
62
61
|
label: i18nExpandText,
|
|
63
|
-
LEGACY_margin: "0 0 0 -4px",
|
|
64
62
|
size: "small"
|
|
65
63
|
}))
|
|
66
64
|
})), /*#__PURE__*/_react.default.createElement("span", null, header)), /*#__PURE__*/_react.default.createElement(_reactAnimateHeight.default, {
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import AnimateHeight from 'react-animate-height';
|
|
3
3
|
import { defineMessages, useIntl } from 'react-intl-next';
|
|
4
4
|
import Button from '@atlaskit/button';
|
|
5
|
-
import ChevronDownIcon from '@atlaskit/icon/core/
|
|
6
|
-
import ChevronRightIcon from '@atlaskit/icon/core/
|
|
5
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
6
|
+
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import * as styles from './styledPanel';
|
|
9
9
|
const i18n = defineMessages({
|
|
@@ -41,7 +41,6 @@ const PanelStateless = ({
|
|
|
41
41
|
}, /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
42
42
|
color: "currentColor",
|
|
43
43
|
label: i18nCollapseText,
|
|
44
|
-
LEGACY_margin: "0 0 0 -4px",
|
|
45
44
|
size: "small"
|
|
46
45
|
})) : /*#__PURE__*/React.createElement(Box, {
|
|
47
46
|
as: "span",
|
|
@@ -49,7 +48,6 @@ const PanelStateless = ({
|
|
|
49
48
|
}, /*#__PURE__*/React.createElement(ChevronRightIcon, {
|
|
50
49
|
color: "currentColor",
|
|
51
50
|
label: i18nExpandText,
|
|
52
|
-
LEGACY_margin: "0 0 0 -4px",
|
|
53
51
|
size: "small"
|
|
54
52
|
}))
|
|
55
53
|
})), /*#__PURE__*/React.createElement("span", null, header)), /*#__PURE__*/React.createElement(AnimateHeight, {
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import AnimateHeight from 'react-animate-height';
|
|
3
3
|
import { defineMessages, useIntl } from 'react-intl-next';
|
|
4
4
|
import Button from '@atlaskit/button';
|
|
5
|
-
import ChevronDownIcon from '@atlaskit/icon/core/
|
|
6
|
-
import ChevronRightIcon from '@atlaskit/icon/core/
|
|
5
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
6
|
+
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import * as styles from './styledPanel';
|
|
9
9
|
var i18n = defineMessages({
|
|
@@ -43,7 +43,6 @@ var PanelStateless = function PanelStateless(_ref) {
|
|
|
43
43
|
}, /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
44
44
|
color: "currentColor",
|
|
45
45
|
label: i18nCollapseText,
|
|
46
|
-
LEGACY_margin: "0 0 0 -4px",
|
|
47
46
|
size: "small"
|
|
48
47
|
})) : /*#__PURE__*/React.createElement(Box, {
|
|
49
48
|
as: "span",
|
|
@@ -51,7 +50,6 @@ var PanelStateless = function PanelStateless(_ref) {
|
|
|
51
50
|
}, /*#__PURE__*/React.createElement(ChevronRightIcon, {
|
|
52
51
|
color: "currentColor",
|
|
53
52
|
label: i18nExpandText,
|
|
54
|
-
LEGACY_margin: "0 0 0 -4px",
|
|
55
53
|
size: "small"
|
|
56
54
|
}))
|
|
57
55
|
})), /*#__PURE__*/React.createElement("span", null, header)), /*#__PURE__*/React.createElement(AnimateHeight, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/panel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "A React component rendering a collapsible panel",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/afm-i18n-platform-bitbucket-panel": "2.7.0",
|
|
32
32
|
"@atlaskit/button": "^23.9.0",
|
|
33
|
-
"@atlaskit/icon": "^29.
|
|
34
|
-
"@atlaskit/link": "^3.
|
|
33
|
+
"@atlaskit/icon": "^29.4.0",
|
|
34
|
+
"@atlaskit/link": "^3.3.0",
|
|
35
35
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
36
36
|
"@atlaskit/primitives": "^17.0.0",
|
|
37
37
|
"@atlaskit/theme": "^21.0.0",
|
|
38
|
-
"@atlaskit/tokens": "^9.
|
|
38
|
+
"@atlaskit/tokens": "^9.1.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
40
|
"react-animate-height": "^2.1.0",
|
|
41
41
|
"react-focus-within": "^2.0.1",
|