@atlaskit/help-layout 4.2.15 → 4.2.17
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 +12 -0
- package/analytics/package.json +1 -1
- package/dist/cjs/analytics.js +3 -3
- package/dist/cjs/components/Header/BackButton.js +1 -1
- package/dist/cjs/components/Header/CloseButton.js +1 -1
- package/dist/cjs/components/Header/styled.js +2 -2
- package/dist/cjs/components/HelpLayout.js +1 -1
- package/dist/cjs/components/styled.js +2 -2
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/Header/BackButton.js +1 -1
- package/dist/es2019/components/Header/CloseButton.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/Header/BackButton.js +1 -1
- package/dist/esm/components/Header/CloseButton.js +1 -1
- package/dist/esm/components/HelpLayout.js +1 -1
- package/dist/types/components/Header/BackButton.d.ts +2 -2
- package/dist/types/components/Header/CloseButton.d.ts +2 -2
- package/dist/types/components/Header/index.d.ts +2 -2
- package/dist/types/components/HelpLayoutContent.d.ts +2 -2
- package/dist/types/components/MessagesIntlProvider.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/BackButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/CloseButton.d.ts +2 -2
- package/dist/types-ts4.5/components/Header/index.d.ts +2 -2
- package/dist/types-ts4.5/components/HelpLayoutContent.d.ts +2 -2
- package/dist/types-ts4.5/components/MessagesIntlProvider.d.ts +2 -2
- package/docs/0-intro.tsx +1 -1
- package/messages/package.json +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/help-layout
|
|
2
2
|
|
|
3
|
+
## 4.2.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
|
+
|
|
9
|
+
## 4.2.16
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085) [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) - Update usage of `React.FC` to explicity include `children`
|
|
14
|
+
|
|
3
15
|
## 4.2.15
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/analytics/package.json
CHANGED
package/dist/cjs/analytics.js
CHANGED
|
@@ -6,13 +6,13 @@ 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
|
-
function _getRequireWildcardCache(
|
|
10
|
-
function _interopRequireWildcard(
|
|
9
|
+
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); }
|
|
10
|
+
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 && Object.prototype.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; }
|
|
11
11
|
var withAnalyticsEvents = exports.withAnalyticsEvents = x.withAnalyticsEvents;
|
|
12
12
|
var withAnalyticsContext = exports.withAnalyticsContext = x.withAnalyticsContext;
|
|
13
13
|
var createAndFire = exports.createAndFire = x.createAndFireEvent('atlaskit');
|
|
14
14
|
var defaultAnalyticsAttributes = exports.defaultAnalyticsAttributes = {
|
|
15
15
|
componentName: 'helpPanel',
|
|
16
16
|
packageName: "@atlaskit/help-layout",
|
|
17
|
-
packageVersion: "4.2.
|
|
17
|
+
packageVersion: "4.2.17"
|
|
18
18
|
};
|
|
@@ -75,7 +75,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
75
75
|
data: {
|
|
76
76
|
componentName: 'backButton',
|
|
77
77
|
packageName: "@atlaskit/help-layout",
|
|
78
|
-
packageVersion: "4.2.
|
|
78
|
+
packageVersion: "4.2.17"
|
|
79
79
|
}
|
|
80
80
|
}, /*#__PURE__*/_react.default.createElement(BackButton, props));
|
|
81
81
|
};
|
|
@@ -50,7 +50,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
|
|
|
50
50
|
data: {
|
|
51
51
|
componentName: 'closeButton',
|
|
52
52
|
packageName: "@atlaskit/help-layout",
|
|
53
|
-
packageVersion: "4.2.
|
|
53
|
+
packageVersion: "4.2.17"
|
|
54
54
|
}
|
|
55
55
|
}, /*#__PURE__*/_react.default.createElement(CloseButton, props));
|
|
56
56
|
};
|
|
@@ -8,8 +8,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.HeaderTitle = exports.HeaderContent = exports.HeaderContainer = exports.CloseButtonContainer = exports.BackButtonContainer = void 0;
|
|
9
9
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
10
10
|
var colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
|
|
11
|
-
function _getRequireWildcardCache(
|
|
12
|
-
function _interopRequireWildcard(
|
|
11
|
+
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); }
|
|
12
|
+
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 && Object.prototype.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; }
|
|
13
13
|
/** @jsx jsx */
|
|
14
14
|
|
|
15
15
|
var HeaderContainer = exports.HeaderContainer = _styled.default.div({
|
|
@@ -16,7 +16,7 @@ var _analytics = require("../analytics");
|
|
|
16
16
|
var _MessagesIntlProvider = _interopRequireDefault(require("./MessagesIntlProvider"));
|
|
17
17
|
var _HelpLayoutContent = _interopRequireDefault(require("./HelpLayoutContent"));
|
|
18
18
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
19
|
-
function _isNativeReflectConstruct() {
|
|
19
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20
20
|
var HelpLayout = exports.HelpLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
21
21
|
(0, _inherits2.default)(HelpLayout, _React$PureComponent);
|
|
22
22
|
var _super = _createSuper(HelpLayout);
|
|
@@ -14,8 +14,8 @@ var _templateObject;
|
|
|
14
14
|
/* eslint-disable @atlaskit/design-system/no-exported-keyframes */
|
|
15
15
|
/* eslint-disable @atlaskit/design-system/no-styled-tagged-template-expression */
|
|
16
16
|
/** @jsx jsx */
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
function _interopRequireWildcard(
|
|
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
|
+
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 && Object.prototype.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; }
|
|
19
19
|
var Container = exports.Container = _styled.default.div({
|
|
20
20
|
position: 'absolute',
|
|
21
21
|
top: 0,
|
package/dist/es2019/analytics.js
CHANGED
package/dist/esm/analytics.js
CHANGED
|
@@ -68,7 +68,7 @@ var BackButtonWithContext = function BackButtonWithContext(props) {
|
|
|
68
68
|
data: {
|
|
69
69
|
componentName: 'backButton',
|
|
70
70
|
packageName: "@atlaskit/help-layout",
|
|
71
|
-
packageVersion: "4.2.
|
|
71
|
+
packageVersion: "4.2.17"
|
|
72
72
|
}
|
|
73
73
|
}, /*#__PURE__*/React.createElement(BackButton, props));
|
|
74
74
|
};
|
|
@@ -43,7 +43,7 @@ var CloseButtonWithContext = function CloseButtonWithContext(props) {
|
|
|
43
43
|
data: {
|
|
44
44
|
componentName: 'closeButton',
|
|
45
45
|
packageName: "@atlaskit/help-layout",
|
|
46
|
-
packageVersion: "4.2.
|
|
46
|
+
packageVersion: "4.2.17"
|
|
47
47
|
}
|
|
48
48
|
}, /*#__PURE__*/React.createElement(CloseButton, props));
|
|
49
49
|
};
|
|
@@ -4,7 +4,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
5
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
6
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
7
|
-
function _isNativeReflectConstruct() {
|
|
7
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { withAnalyticsEvents, withAnalyticsContext } from '@atlaskit/analytics-next';
|
|
10
10
|
import { defaultAnalyticsAttributes } from '../analytics';
|
|
@@ -6,7 +6,7 @@ interface Props {
|
|
|
6
6
|
isVisible?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const BackButton: React.FC<Props & WrappedComponentProps>;
|
|
9
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
10
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
9
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
10
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
@@ -11,7 +11,7 @@ interface Props {
|
|
|
11
11
|
* @param onClick - Function executed when the close btn is clicked
|
|
12
12
|
*/
|
|
13
13
|
export declare const CloseButton: React.FC<Props & WrappedComponentProps>;
|
|
14
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
15
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
14
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
15
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
16
16
|
};
|
|
17
17
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { HelpPanelHeader } from '../../model/HelpLayout';
|
|
4
4
|
export declare const HelpContent: React.FC<HelpPanelHeader & WrappedComponentProps>;
|
|
5
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpPanelHeader & WrappedComponentProps
|
|
6
|
-
WrappedComponent: React.ComponentType<HelpPanelHeader & WrappedComponentProps
|
|
5
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpPanelHeader & WrappedComponentProps>> & {
|
|
6
|
+
WrappedComponent: React.ComponentType<HelpPanelHeader & WrappedComponentProps>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { HelpLayout } from '../model/HelpLayout';
|
|
4
4
|
export declare const HelpContent: React.FC<HelpLayout & WrappedComponentProps>;
|
|
5
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpLayout & WrappedComponentProps
|
|
6
|
-
WrappedComponent: React.ComponentType<HelpLayout & WrappedComponentProps
|
|
5
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpLayout & WrappedComponentProps>> & {
|
|
6
|
+
WrappedComponent: React.ComponentType<HelpLayout & WrappedComponentProps>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export interface Props {
|
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export declare const MessagesIntlProvider: React.FC<Props & WrappedComponentProps>;
|
|
8
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
9
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
8
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
9
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
|
@@ -6,7 +6,7 @@ interface Props {
|
|
|
6
6
|
isVisible?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const BackButton: React.FC<Props & WrappedComponentProps>;
|
|
9
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
10
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
9
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
10
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
@@ -11,7 +11,7 @@ interface Props {
|
|
|
11
11
|
* @param onClick - Function executed when the close btn is clicked
|
|
12
12
|
*/
|
|
13
13
|
export declare const CloseButton: React.FC<Props & WrappedComponentProps>;
|
|
14
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
15
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
14
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
15
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
16
16
|
};
|
|
17
17
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { HelpPanelHeader } from '../../model/HelpLayout';
|
|
4
4
|
export declare const HelpContent: React.FC<HelpPanelHeader & WrappedComponentProps>;
|
|
5
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpPanelHeader & WrappedComponentProps
|
|
6
|
-
WrappedComponent: React.ComponentType<HelpPanelHeader & WrappedComponentProps
|
|
5
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpPanelHeader & WrappedComponentProps>> & {
|
|
6
|
+
WrappedComponent: React.ComponentType<HelpPanelHeader & WrappedComponentProps>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import { HelpLayout } from '../model/HelpLayout';
|
|
4
4
|
export declare const HelpContent: React.FC<HelpLayout & WrappedComponentProps>;
|
|
5
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpLayout & WrappedComponentProps
|
|
6
|
-
WrappedComponent: React.ComponentType<HelpLayout & WrappedComponentProps
|
|
5
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HelpLayout & WrappedComponentProps>> & {
|
|
6
|
+
WrappedComponent: React.ComponentType<HelpLayout & WrappedComponentProps>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export interface Props {
|
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export declare const MessagesIntlProvider: React.FC<Props & WrappedComponentProps>;
|
|
8
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps
|
|
9
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps
|
|
8
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
|
|
9
|
+
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
package/docs/0-intro.tsx
CHANGED
package/messages/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/help-layout",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.17",
|
|
4
4
|
"description": "Layout for the atlaskit/help component.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
37
|
-
"@atlaskit/button": "^17.
|
|
37
|
+
"@atlaskit/button": "^17.7.0",
|
|
38
38
|
"@atlaskit/icon": "^22.1.0",
|
|
39
39
|
"@atlaskit/theme": "^12.6.0",
|
|
40
|
-
"@atlaskit/tokens": "^1.
|
|
40
|
+
"@atlaskit/tokens": "^1.42.0",
|
|
41
41
|
"@atlaskit/tooltip": "^18.1.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/react": "^11.7.1",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"algoliasearch": "^3.35.1",
|
|
58
58
|
"enzyme": "^3.10.0",
|
|
59
59
|
"react-test-renderer": "^16.8.0",
|
|
60
|
-
"typescript": "~4.
|
|
60
|
+
"typescript": "~5.4.2"
|
|
61
61
|
},
|
|
62
62
|
"keywords": [
|
|
63
63
|
"atlaskit",
|
|
@@ -79,4 +79,4 @@
|
|
|
79
79
|
"./analytics": "./src/analytics.ts",
|
|
80
80
|
"./messages": "./src/messages.ts"
|
|
81
81
|
}
|
|
82
|
-
}
|
|
82
|
+
}
|