@atlaskit/help-layout 6.3.2 → 6.3.3

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,11 @@
1
1
  # @atlaskit/help-layout
2
2
 
3
+ ## 6.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 6.3.2
4
10
 
5
11
  ### Patch Changes
@@ -4,7 +4,7 @@
4
4
  "declaration": true,
5
5
  "target": "es5",
6
6
  "composite": true,
7
- "outDir": "../dist",
7
+ "outDir": "../../../../../confluence/tsDist/@atlaskit__help-layout",
8
8
  "rootDir": "../"
9
9
  },
10
10
  "include": [
@@ -13,5 +13,5 @@ var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
13
13
  var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
14
14
  componentName: 'helpPanel',
15
15
  packageName: "@atlaskit/help-layout",
16
- packageVersion: "6.3.2"
16
+ packageVersion: "6.3.3"
17
17
  };
@@ -10,12 +10,13 @@ exports.DynamicHeader = void 0;
10
10
  require("./index.compiled.css");
11
11
  var React = _interopRequireWildcard(require("react"));
12
12
  var _runtime = require("@compiled/react/runtime");
13
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
14
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
14
15
  var _CloseButton = _interopRequireDefault(require("../Header/CloseButton"));
15
16
  var _compiled = require("@atlaskit/primitives/compiled");
16
17
  var _new = require("@atlaskit/button/new");
17
18
  var _NewChatButton = require("./NewChatButton");
18
- var _chevronLeftChevronLeftLarge = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-left--chevron-left-large"));
19
+ var _chevronLeftChevronLeftLarge = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-left--chevron-left-large"));
19
20
  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); }
20
21
  var styles = {
21
22
  container: "_ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _4cvr1h6o"
@@ -39,7 +40,11 @@ var DynamicHeader = exports.DynamicHeader = function DynamicHeader(_ref) {
39
40
  }, onGoBackToHistoryList && isBackButtonVisible && /*#__PURE__*/React.createElement(_new.IconButton, {
40
41
  appearance: "subtle",
41
42
  label: "Back",
42
- icon: _chevronLeftChevronLeftLarge.default,
43
+ icon: function icon(iconProps) {
44
+ return /*#__PURE__*/React.createElement(_chevronLeftChevronLeftLarge.default, (0, _extends2.default)({}, iconProps, {
45
+ size: "small"
46
+ }));
47
+ },
43
48
  onClick: onGoBackToHistoryList,
44
49
  testId: "back-button-history-item"
45
50
  }), /*#__PURE__*/React.createElement(_heading.default, {
@@ -56,7 +56,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
56
56
  data: {
57
57
  componentName: 'backButton',
58
58
  packageName: "@atlaskit/help-layout",
59
- packageVersion: "6.3.2"
59
+ packageVersion: "6.3.3"
60
60
  }
61
61
  }, /*#__PURE__*/_react.default.createElement(BackButton, props));
62
62
  };
@@ -55,7 +55,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
55
55
  data: {
56
56
  componentName: 'closeButton',
57
57
  packageName: "@atlaskit/help-layout",
58
- packageVersion: "6.3.2"
58
+ packageVersion: "6.3.3"
59
59
  }
60
60
  }, /*#__PURE__*/_react.default.createElement(CloseButton, props));
61
61
  };
@@ -5,5 +5,5 @@ export const createAndFire = x.createAndFireEvent('atlaskit');
5
5
  export const defaultAnalyticsAttributes = {
6
6
  componentName: 'helpPanel',
7
7
  packageName: "@atlaskit/help-layout",
8
- packageVersion: "6.3.2"
8
+ packageVersion: "6.3.3"
9
9
  };
@@ -1,4 +1,5 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
2
3
  import "./index.compiled.css";
3
4
  import * as React from 'react';
4
5
  import { ax, ix } from "@compiled/react/runtime";
@@ -7,7 +8,7 @@ import CloseButton from '../Header/CloseButton';
7
8
  import { Flex, Inline } from '@atlaskit/primitives/compiled';
8
9
  import { IconButton } from '@atlaskit/button/new';
9
10
  import { NewChatButton } from './NewChatButton';
10
- import ChevronLeftLargeIcon from '@atlaskit/icon/utility/migration/chevron-left--chevron-left-large';
11
+ import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
11
12
  const styles = {
12
13
  container: "_ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _4cvr1h6o"
13
14
  };
@@ -31,7 +32,9 @@ export const DynamicHeader = ({
31
32
  }, onGoBackToHistoryList && isBackButtonVisible && /*#__PURE__*/React.createElement(IconButton, {
32
33
  appearance: "subtle",
33
34
  label: "Back",
34
- icon: ChevronLeftLargeIcon,
35
+ icon: iconProps => /*#__PURE__*/React.createElement(ChevronLeftLargeIcon, _extends({}, iconProps, {
36
+ size: "small"
37
+ })),
35
38
  onClick: onGoBackToHistoryList,
36
39
  testId: "back-button-history-item"
37
40
  }), /*#__PURE__*/React.createElement(Heading, {
@@ -50,7 +50,7 @@ const BackButtonWithContext = props => {
50
50
  data: {
51
51
  componentName: 'backButton',
52
52
  packageName: "@atlaskit/help-layout",
53
- packageVersion: "6.3.2"
53
+ packageVersion: "6.3.3"
54
54
  }
55
55
  }, /*#__PURE__*/React.createElement(BackButton, props));
56
56
  };
@@ -51,7 +51,7 @@ const CloseButtonWithContext = props => {
51
51
  data: {
52
52
  componentName: 'closeButton',
53
53
  packageName: "@atlaskit/help-layout",
54
- packageVersion: "6.3.2"
54
+ packageVersion: "6.3.3"
55
55
  }
56
56
  }, /*#__PURE__*/React.createElement(CloseButton, props));
57
57
  };
@@ -5,5 +5,5 @@ export var createAndFire = x.createAndFireEvent('atlaskit');
5
5
  export var defaultAnalyticsAttributes = {
6
6
  componentName: 'helpPanel',
7
7
  packageName: "@atlaskit/help-layout",
8
- packageVersion: "6.3.2"
8
+ packageVersion: "6.3.3"
9
9
  };
@@ -1,4 +1,5 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import _extends from "@babel/runtime/helpers/extends";
2
3
  import "./index.compiled.css";
3
4
  import * as React from 'react';
4
5
  import { ax, ix } from "@compiled/react/runtime";
@@ -7,7 +8,7 @@ import CloseButton from '../Header/CloseButton';
7
8
  import { Flex, Inline } from '@atlaskit/primitives/compiled';
8
9
  import { IconButton } from '@atlaskit/button/new';
9
10
  import { NewChatButton } from './NewChatButton';
10
- import ChevronLeftLargeIcon from '@atlaskit/icon/utility/migration/chevron-left--chevron-left-large';
11
+ import ChevronLeftLargeIcon from '@atlaskit/icon/core/migration/chevron-left--chevron-left-large';
11
12
  var styles = {
12
13
  container: "_ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi _4cvr1h6o"
13
14
  };
@@ -30,7 +31,11 @@ export var DynamicHeader = function DynamicHeader(_ref) {
30
31
  }, onGoBackToHistoryList && isBackButtonVisible && /*#__PURE__*/React.createElement(IconButton, {
31
32
  appearance: "subtle",
32
33
  label: "Back",
33
- icon: ChevronLeftLargeIcon,
34
+ icon: function icon(iconProps) {
35
+ return /*#__PURE__*/React.createElement(ChevronLeftLargeIcon, _extends({}, iconProps, {
36
+ size: "small"
37
+ }));
38
+ },
34
39
  onClick: onGoBackToHistoryList,
35
40
  testId: "back-button-history-item"
36
41
  }), /*#__PURE__*/React.createElement(Heading, {
@@ -49,7 +49,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
49
49
  data: {
50
50
  componentName: 'backButton',
51
51
  packageName: "@atlaskit/help-layout",
52
- packageVersion: "6.3.2"
52
+ packageVersion: "6.3.3"
53
53
  }
54
54
  }, /*#__PURE__*/React.createElement(BackButton, props));
55
55
  };
@@ -48,7 +48,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
48
48
  data: {
49
49
  componentName: 'closeButton',
50
50
  packageName: "@atlaskit/help-layout",
51
- packageVersion: "6.3.2"
51
+ packageVersion: "6.3.3"
52
52
  }
53
53
  }, /*#__PURE__*/React.createElement(CloseButton, props));
54
54
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help-layout",
3
- "version": "6.3.2",
3
+ "version": "6.3.3",
4
4
  "description": "Layout for the atlaskit/help component.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,11 +36,11 @@
36
36
  "@atlaskit/button": "^23.2.0",
37
37
  "@atlaskit/css": "^0.10.0",
38
38
  "@atlaskit/heading": "^5.2.0",
39
- "@atlaskit/icon": "^26.4.0",
39
+ "@atlaskit/icon": "^27.0.0",
40
40
  "@atlaskit/primitives": "^14.8.0",
41
41
  "@atlaskit/theme": "^18.0.0",
42
- "@atlaskit/tokens": "^5.0.0",
43
- "@atlaskit/tooltip": "^20.2.0",
42
+ "@atlaskit/tokens": "^5.2.0",
43
+ "@atlaskit/tooltip": "^20.3.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@compiled/react": "^0.18.3",
46
46
  "react-transition-group": "^4.4.1"