@atlaskit/panel 0.11.9 → 0.11.10
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
|
@@ -12,7 +12,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
12
12
|
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
13
13
|
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down"));
|
|
14
14
|
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-right"));
|
|
15
|
-
var
|
|
15
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
16
|
var styles = _interopRequireWildcard(require("./styledPanel"));
|
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -47,14 +47,14 @@ var PanelStateless = function PanelStateless(_ref) {
|
|
|
47
47
|
appearance: "subtle",
|
|
48
48
|
"aria-expanded": isExpanded,
|
|
49
49
|
spacing: "none",
|
|
50
|
-
iconBefore: isExpanded ? /*#__PURE__*/_react.default.createElement(
|
|
50
|
+
iconBefore: isExpanded ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
51
51
|
as: "span",
|
|
52
52
|
paddingInlineStart: "space.050"
|
|
53
53
|
}, /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
54
54
|
color: "currentColor",
|
|
55
55
|
label: i18nCollapseText,
|
|
56
56
|
LEGACY_margin: "0 0 0 -4px"
|
|
57
|
-
})) : /*#__PURE__*/_react.default.createElement(
|
|
57
|
+
})) : /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
58
58
|
as: "span",
|
|
59
59
|
paddingInlineStart: "space.050"
|
|
60
60
|
}, /*#__PURE__*/_react.default.createElement(_chevronRight.default, {
|
|
@@ -4,7 +4,7 @@ import { defineMessages, useIntl } from 'react-intl-next';
|
|
|
4
4
|
import Button from '@atlaskit/button';
|
|
5
5
|
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
6
6
|
import ChevronRightIcon from '@atlaskit/icon/utility/migration/chevron-right';
|
|
7
|
-
import { Box } from '@atlaskit/primitives';
|
|
7
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import * as styles from './styledPanel';
|
|
9
9
|
const i18n = defineMessages({
|
|
10
10
|
collapse: {
|
|
@@ -4,7 +4,7 @@ import { defineMessages, useIntl } from 'react-intl-next';
|
|
|
4
4
|
import Button from '@atlaskit/button';
|
|
5
5
|
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
6
6
|
import ChevronRightIcon from '@atlaskit/icon/utility/migration/chevron-right';
|
|
7
|
-
import { Box } from '@atlaskit/primitives';
|
|
7
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import * as styles from './styledPanel';
|
|
9
9
|
var i18n = defineMessages({
|
|
10
10
|
collapse: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/panel",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.10",
|
|
4
4
|
"description": "A React component rendering a collapsible panel",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/button": "^23.0.0",
|
|
35
|
-
"@atlaskit/icon": "^
|
|
36
|
-
"@atlaskit/primitives": "^14.
|
|
35
|
+
"@atlaskit/icon": "^26.0.0",
|
|
36
|
+
"@atlaskit/primitives": "^14.7.0",
|
|
37
37
|
"@atlaskit/theme": "^18.0.0",
|
|
38
|
-
"@atlaskit/tokens": "^4.
|
|
38
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
40
|
"react-animate-height": "^2.1.0",
|
|
41
41
|
"react-focus-within": "^2.0.1",
|