@atlaskit/help-layout 4.2.5 → 4.2.6
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 +6 -0
- package/dist/cjs/analytics.js +2 -3
- package/dist/cjs/components/Header/BackButton.js +2 -3
- package/dist/cjs/components/Header/CloseButton.js +2 -3
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/analytics.js +2 -3
- package/dist/es2019/components/Header/BackButton.js +2 -3
- package/dist/es2019/components/Header/CloseButton.js +2 -3
- package/dist/es2019/version.json +1 -1
- package/dist/esm/analytics.js +2 -3
- package/dist/esm/components/Header/BackButton.js +2 -3
- package/dist/esm/components/Header/CloseButton.js +2 -3
- package/dist/esm/version.json +1 -1
- package/dist/types/analytics.d.ts +2 -2
- package/dist/types-ts4.5/analytics.d.ts +2 -2
- package/package.json +3 -5
package/CHANGELOG.md
CHANGED
package/dist/cjs/analytics.js
CHANGED
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.withAnalyticsEvents = exports.withAnalyticsContext = exports.defaultAnalyticsAttributes = exports.createAndFire = void 0;
|
|
8
8
|
var x = _interopRequireWildcard(require("@atlaskit/analytics-next"));
|
|
9
|
-
var _version = require("./version.json");
|
|
10
9
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
10
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
11
|
var withAnalyticsEvents = x.withAnalyticsEvents;
|
|
@@ -17,7 +16,7 @@ var createAndFire = x.createAndFireEvent('atlaskit');
|
|
|
17
16
|
exports.createAndFire = createAndFire;
|
|
18
17
|
var defaultAnalyticsAttributes = {
|
|
19
18
|
componentName: 'helpPanel',
|
|
20
|
-
packageName:
|
|
21
|
-
packageVersion:
|
|
19
|
+
packageName: "@atlaskit/help-layout",
|
|
20
|
+
packageVersion: "4.2.6"
|
|
22
21
|
};
|
|
23
22
|
exports.defaultAnalyticsAttributes = defaultAnalyticsAttributes;
|
|
@@ -12,7 +12,6 @@ var _analyticsNext = require("@atlaskit/analytics-next");
|
|
|
12
12
|
var _reactTransitionGroup = require("react-transition-group");
|
|
13
13
|
var _arrowLeft = _interopRequireDefault(require("@atlaskit/icon/glyph/arrow-left"));
|
|
14
14
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
15
|
-
var _version = require("../../version.json");
|
|
16
15
|
var _messages = require("../../messages");
|
|
17
16
|
var _constants = require("../constants");
|
|
18
17
|
var _styled = require("./styled");
|
|
@@ -76,8 +75,8 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
76
75
|
return /*#__PURE__*/_react.default.createElement(_analyticsNext.AnalyticsContext, {
|
|
77
76
|
data: {
|
|
78
77
|
componentName: 'backButton',
|
|
79
|
-
packageName:
|
|
80
|
-
packageVersion:
|
|
78
|
+
packageName: "@atlaskit/help-layout",
|
|
79
|
+
packageVersion: "4.2.6"
|
|
81
80
|
}
|
|
82
81
|
}, /*#__PURE__*/_react.default.createElement(BackButton, props));
|
|
83
82
|
};
|
|
@@ -11,7 +11,6 @@ var _analyticsNext = require("@atlaskit/analytics-next");
|
|
|
11
11
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
12
12
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
13
13
|
var _close = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/close"));
|
|
14
|
-
var _version = require("../../version.json");
|
|
15
14
|
var _messages = require("../../messages");
|
|
16
15
|
var _styled = require("./styled");
|
|
17
16
|
/**
|
|
@@ -50,8 +49,8 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
|
|
|
50
49
|
return /*#__PURE__*/_react.default.createElement(_analyticsNext.AnalyticsContext, {
|
|
51
50
|
data: {
|
|
52
51
|
componentName: 'closeButton',
|
|
53
|
-
packageName:
|
|
54
|
-
packageVersion:
|
|
52
|
+
packageName: "@atlaskit/help-layout",
|
|
53
|
+
packageVersion: "4.2.6"
|
|
55
54
|
}
|
|
56
55
|
}, /*#__PURE__*/_react.default.createElement(CloseButton, props));
|
|
57
56
|
};
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/analytics.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as x from '@atlaskit/analytics-next';
|
|
2
|
-
import { name as packageName, version as packageVersion } from './version.json';
|
|
3
2
|
export const withAnalyticsEvents = x.withAnalyticsEvents;
|
|
4
3
|
export const withAnalyticsContext = x.withAnalyticsContext;
|
|
5
4
|
export const createAndFire = x.createAndFireEvent('atlaskit');
|
|
6
5
|
export const defaultAnalyticsAttributes = {
|
|
7
6
|
componentName: 'helpPanel',
|
|
8
|
-
packageName,
|
|
9
|
-
packageVersion
|
|
7
|
+
packageName: "@atlaskit/help-layout",
|
|
8
|
+
packageVersion: "4.2.6"
|
|
10
9
|
};
|
|
@@ -4,7 +4,6 @@ import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
|
4
4
|
import { Transition } from 'react-transition-group';
|
|
5
5
|
import ArrowleftIcon from '@atlaskit/icon/glyph/arrow-left';
|
|
6
6
|
import Button from '@atlaskit/button/standard-button';
|
|
7
|
-
import { name as packageName, version as packageVersion } from '../../version.json';
|
|
8
7
|
import { messages } from '../../messages';
|
|
9
8
|
import { TRANSITION_DURATION_MS } from '../constants';
|
|
10
9
|
import { BackButtonContainer } from './styled';
|
|
@@ -69,8 +68,8 @@ const BackButtonWithContext = props => {
|
|
|
69
68
|
return /*#__PURE__*/React.createElement(AnalyticsContext, {
|
|
70
69
|
data: {
|
|
71
70
|
componentName: 'backButton',
|
|
72
|
-
packageName,
|
|
73
|
-
packageVersion
|
|
71
|
+
packageName: "@atlaskit/help-layout",
|
|
72
|
+
packageVersion: "4.2.6"
|
|
74
73
|
}
|
|
75
74
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
76
75
|
};
|
|
@@ -4,7 +4,6 @@ import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
|
4
4
|
import Tooltip from '@atlaskit/tooltip';
|
|
5
5
|
import Button from '@atlaskit/button/standard-button';
|
|
6
6
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
7
|
-
import { name as packageName, version as packageVersion } from '../../version.json';
|
|
8
7
|
import { messages } from '../../messages';
|
|
9
8
|
import { CloseButtonContainer } from './styled';
|
|
10
9
|
/**
|
|
@@ -46,8 +45,8 @@ const CloseButtonWithContext = props => {
|
|
|
46
45
|
return /*#__PURE__*/React.createElement(AnalyticsContext, {
|
|
47
46
|
data: {
|
|
48
47
|
componentName: 'closeButton',
|
|
49
|
-
packageName,
|
|
50
|
-
packageVersion
|
|
48
|
+
packageName: "@atlaskit/help-layout",
|
|
49
|
+
packageVersion: "4.2.6"
|
|
51
50
|
}
|
|
52
51
|
}, /*#__PURE__*/React.createElement(CloseButton, props));
|
|
53
52
|
};
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/analytics.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as x from '@atlaskit/analytics-next';
|
|
2
|
-
import { name as packageName, version as packageVersion } from './version.json';
|
|
3
2
|
export var withAnalyticsEvents = x.withAnalyticsEvents;
|
|
4
3
|
export var withAnalyticsContext = x.withAnalyticsContext;
|
|
5
4
|
export var createAndFire = x.createAndFireEvent('atlaskit');
|
|
6
5
|
export var defaultAnalyticsAttributes = {
|
|
7
6
|
componentName: 'helpPanel',
|
|
8
|
-
packageName:
|
|
9
|
-
packageVersion:
|
|
7
|
+
packageName: "@atlaskit/help-layout",
|
|
8
|
+
packageVersion: "4.2.6"
|
|
10
9
|
};
|
|
@@ -7,7 +7,6 @@ import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
|
7
7
|
import { Transition } from 'react-transition-group';
|
|
8
8
|
import ArrowleftIcon from '@atlaskit/icon/glyph/arrow-left';
|
|
9
9
|
import Button from '@atlaskit/button/standard-button';
|
|
10
|
-
import { name as packageName, version as packageVersion } from '../../version.json';
|
|
11
10
|
import { messages } from '../../messages';
|
|
12
11
|
import { TRANSITION_DURATION_MS } from '../constants';
|
|
13
12
|
import { BackButtonContainer } from './styled';
|
|
@@ -68,8 +67,8 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
68
67
|
return /*#__PURE__*/React.createElement(AnalyticsContext, {
|
|
69
68
|
data: {
|
|
70
69
|
componentName: 'backButton',
|
|
71
|
-
packageName:
|
|
72
|
-
packageVersion:
|
|
70
|
+
packageName: "@atlaskit/help-layout",
|
|
71
|
+
packageVersion: "4.2.6"
|
|
73
72
|
}
|
|
74
73
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
75
74
|
};
|
|
@@ -4,7 +4,6 @@ import { useAnalyticsEvents, AnalyticsContext } from '@atlaskit/analytics-next';
|
|
|
4
4
|
import Tooltip from '@atlaskit/tooltip';
|
|
5
5
|
import Button from '@atlaskit/button/standard-button';
|
|
6
6
|
import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
|
|
7
|
-
import { name as packageName, version as packageVersion } from '../../version.json';
|
|
8
7
|
import { messages } from '../../messages';
|
|
9
8
|
import { CloseButtonContainer } from './styled';
|
|
10
9
|
/**
|
|
@@ -42,8 +41,8 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
|
|
|
42
41
|
return /*#__PURE__*/React.createElement(AnalyticsContext, {
|
|
43
42
|
data: {
|
|
44
43
|
componentName: 'closeButton',
|
|
45
|
-
packageName:
|
|
46
|
-
packageVersion:
|
|
44
|
+
packageName: "@atlaskit/help-layout",
|
|
45
|
+
packageVersion: "4.2.6"
|
|
47
46
|
}
|
|
48
47
|
}, /*#__PURE__*/React.createElement(CloseButton, props));
|
|
49
48
|
};
|
package/dist/esm/version.json
CHANGED
|
@@ -5,6 +5,6 @@ export declare const withAnalyticsContext: (defaultData?: any) => <Props, Compon
|
|
|
5
5
|
export declare const createAndFire: (payload: x.AnalyticsEventPayload) => (createAnalyticsEvent: x.CreateUIAnalyticsEvent) => x.UIAnalyticsEvent;
|
|
6
6
|
export declare const defaultAnalyticsAttributes: {
|
|
7
7
|
componentName: string;
|
|
8
|
-
packageName:
|
|
9
|
-
packageVersion:
|
|
8
|
+
packageName: string;
|
|
9
|
+
packageVersion: string;
|
|
10
10
|
};
|
|
@@ -5,6 +5,6 @@ export declare const withAnalyticsContext: (defaultData?: any) => <Props, Compon
|
|
|
5
5
|
export declare const createAndFire: (payload: x.AnalyticsEventPayload) => (createAnalyticsEvent: x.CreateUIAnalyticsEvent) => x.UIAnalyticsEvent;
|
|
6
6
|
export declare const defaultAnalyticsAttributes: {
|
|
7
7
|
componentName: string;
|
|
8
|
-
packageName:
|
|
9
|
-
packageVersion:
|
|
8
|
+
packageName: string;
|
|
9
|
+
packageVersion: string;
|
|
10
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-layout",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
4
4
|
"description": "Layout for the atlaskit/help component.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
35
|
-
"@atlaskit/button": "^16.
|
|
35
|
+
"@atlaskit/button": "^16.9.0",
|
|
36
36
|
"@atlaskit/icon": "^21.12.0",
|
|
37
37
|
"@atlaskit/theme": "^12.5.0",
|
|
38
|
-
"@atlaskit/tokens": "^1.
|
|
38
|
+
"@atlaskit/tokens": "^1.14.0",
|
|
39
39
|
"@atlaskit/tooltip": "^17.8.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
|
41
41
|
"@emotion/core": "^10.0.9",
|
|
@@ -49,9 +49,7 @@
|
|
|
49
49
|
"styled-components": "^3.2.6"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@atlaskit/docs": "*",
|
|
53
52
|
"@atlaskit/navigation": "^37.0.0",
|
|
54
|
-
"@atlaskit/page": "^12.3.0",
|
|
55
53
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
56
54
|
"algoliasearch": "^3.35.1",
|
|
57
55
|
"enzyme": "^3.10.0",
|