@atlaskit/help-layout 4.2.16 → 4.2.18
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 +1 -1
- package/dist/cjs/components/Header/BackButton.js +1 -1
- package/dist/cjs/components/Header/CloseButton.js +1 -1
- package/dist/cjs/components/constants.js +2 -10
- 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/es2019/components/constants.js +1 -9
- 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/constants.js +1 -9
- package/dist/types/analytics.d.ts +2 -2
- 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/components/constants.d.ts +1 -7
- package/dist/types-ts4.5/analytics.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/dist/types-ts4.5/components/constants.d.ts +1 -7
- package/messages/package.json +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/help-layout
|
|
2
2
|
|
|
3
|
+
## 4.2.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007) [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) - Migrated to the new button component
|
|
8
|
+
|
|
9
|
+
## 4.2.17
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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`
|
|
14
|
+
|
|
3
15
|
## 4.2.16
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/analytics/package.json
CHANGED
package/dist/cjs/analytics.js
CHANGED
|
@@ -14,5 +14,5 @@ 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.18"
|
|
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.18"
|
|
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.18"
|
|
54
54
|
}
|
|
55
55
|
}, /*#__PURE__*/_react.default.createElement(CloseButton, props));
|
|
56
56
|
};
|
|
@@ -3,14 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.TRANSITION_DURATION_MS = void 0;
|
|
7
7
|
// Animation related consts
|
|
8
|
-
var TRANSITION_DURATION_MS = exports.TRANSITION_DURATION_MS = 220;
|
|
9
|
-
var TRANSITION_STATUS = exports.TRANSITION_STATUS = /*#__PURE__*/function (TRANSITION_STATUS) {
|
|
10
|
-
TRANSITION_STATUS["UNMOUNTED"] = "unmounted";
|
|
11
|
-
TRANSITION_STATUS["EXITED"] = "exited";
|
|
12
|
-
TRANSITION_STATUS["ENTERING"] = "entering";
|
|
13
|
-
TRANSITION_STATUS["ENTERED"] = "entered";
|
|
14
|
-
TRANSITION_STATUS["EXITING"] = "exiting";
|
|
15
|
-
return TRANSITION_STATUS;
|
|
16
|
-
}({});
|
|
8
|
+
var TRANSITION_DURATION_MS = exports.TRANSITION_DURATION_MS = 220;
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
1
|
// Animation related consts
|
|
2
|
-
export const TRANSITION_DURATION_MS = 220;
|
|
3
|
-
export let TRANSITION_STATUS = /*#__PURE__*/function (TRANSITION_STATUS) {
|
|
4
|
-
TRANSITION_STATUS["UNMOUNTED"] = "unmounted";
|
|
5
|
-
TRANSITION_STATUS["EXITED"] = "exited";
|
|
6
|
-
TRANSITION_STATUS["ENTERING"] = "entering";
|
|
7
|
-
TRANSITION_STATUS["ENTERED"] = "entered";
|
|
8
|
-
TRANSITION_STATUS["EXITING"] = "exiting";
|
|
9
|
-
return TRANSITION_STATUS;
|
|
10
|
-
}({});
|
|
2
|
+
export const TRANSITION_DURATION_MS = 220;
|
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.18"
|
|
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.18"
|
|
47
47
|
}
|
|
48
48
|
}, /*#__PURE__*/React.createElement(CloseButton, props));
|
|
49
49
|
};
|
|
@@ -1,10 +1,2 @@
|
|
|
1
1
|
// Animation related consts
|
|
2
|
-
export var TRANSITION_DURATION_MS = 220;
|
|
3
|
-
export var TRANSITION_STATUS = /*#__PURE__*/function (TRANSITION_STATUS) {
|
|
4
|
-
TRANSITION_STATUS["UNMOUNTED"] = "unmounted";
|
|
5
|
-
TRANSITION_STATUS["EXITED"] = "exited";
|
|
6
|
-
TRANSITION_STATUS["ENTERING"] = "entering";
|
|
7
|
-
TRANSITION_STATUS["ENTERED"] = "entered";
|
|
8
|
-
TRANSITION_STATUS["EXITING"] = "exiting";
|
|
9
|
-
return TRANSITION_STATUS;
|
|
10
|
-
}({});
|
|
2
|
+
export var TRANSITION_DURATION_MS = 220;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as x from '@atlaskit/analytics-next';
|
|
3
|
-
export declare const withAnalyticsEvents: (createEventMap?: import("@atlaskit/analytics-next/types").CreateEventMap | undefined) => <Props extends x.WithAnalyticsEventsProps, Component>(WrappedComponent: import("react").
|
|
4
|
-
export declare const withAnalyticsContext: (defaultData?: any) => <Props, Component>(WrappedComponent: import("react").
|
|
3
|
+
export declare const withAnalyticsEvents: (createEventMap?: import("@atlaskit/analytics-next/types").CreateEventMap | undefined) => <Props extends x.WithAnalyticsEventsProps, Component>(WrappedComponent: import("react").ComponentType<Props> & Component) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<JSX.LibraryManagedAttributes<Component, Omit<Props, keyof x.WithAnalyticsEventsProps>>> & import("react").RefAttributes<any>>;
|
|
4
|
+
export declare const withAnalyticsContext: (defaultData?: any) => <Props, Component>(WrappedComponent: import("react").ComponentType<Props> & Component) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<JSX.LibraryManagedAttributes<Component, Props & x.WithContextProps>> & import("react").RefAttributes<any>>;
|
|
5
5
|
export declare const createAndFire: (payload: x.AnalyticsEventPayload) => (createAnalyticsEvent: x.CreateUIAnalyticsEvent) => x.UIAnalyticsEvent;
|
|
6
6
|
export declare const defaultAnalyticsAttributes: {
|
|
7
7
|
componentName: string;
|
|
@@ -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;
|
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
export declare const TRANSITION_DURATION_MS = 220;
|
|
2
|
-
export
|
|
3
|
-
UNMOUNTED = "unmounted",
|
|
4
|
-
EXITED = "exited",
|
|
5
|
-
ENTERING = "entering",
|
|
6
|
-
ENTERED = "entered",
|
|
7
|
-
EXITING = "exiting"
|
|
8
|
-
}
|
|
2
|
+
export type TransitionStatus = 'unmounted' | 'exiting' | 'entering' | 'entered' | 'exited';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as x from '@atlaskit/analytics-next';
|
|
3
|
-
export declare const withAnalyticsEvents: (createEventMap?: import("@atlaskit/analytics-next/types").CreateEventMap | undefined) => <Props extends x.WithAnalyticsEventsProps, Component>(WrappedComponent: import("react").
|
|
4
|
-
export declare const withAnalyticsContext: (defaultData?: any) => <Props, Component>(WrappedComponent: import("react").
|
|
3
|
+
export declare const withAnalyticsEvents: (createEventMap?: import("@atlaskit/analytics-next/types").CreateEventMap | undefined) => <Props extends x.WithAnalyticsEventsProps, Component>(WrappedComponent: import("react").ComponentType<Props> & Component) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<JSX.LibraryManagedAttributes<Component, Omit<Props, keyof x.WithAnalyticsEventsProps>>> & import("react").RefAttributes<any>>;
|
|
4
|
+
export declare const withAnalyticsContext: (defaultData?: any) => <Props, Component>(WrappedComponent: import("react").ComponentType<Props> & Component) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<JSX.LibraryManagedAttributes<Component, Props & x.WithContextProps>> & import("react").RefAttributes<any>>;
|
|
5
5
|
export declare const createAndFire: (payload: x.AnalyticsEventPayload) => (createAnalyticsEvent: x.CreateUIAnalyticsEvent) => x.UIAnalyticsEvent;
|
|
6
6
|
export declare const defaultAnalyticsAttributes: {
|
|
7
7
|
componentName: string;
|
|
@@ -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;
|
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
export declare const TRANSITION_DURATION_MS = 220;
|
|
2
|
-
export
|
|
3
|
-
UNMOUNTED = "unmounted",
|
|
4
|
-
EXITED = "exited",
|
|
5
|
-
ENTERING = "entering",
|
|
6
|
-
ENTERED = "entered",
|
|
7
|
-
EXITING = "exiting"
|
|
8
|
-
}
|
|
2
|
+
export type TransitionStatus = 'unmounted' | 'exiting' | 'entering' | 'entered' | 'exited';
|
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.18",
|
|
4
4
|
"description": "Layout for the atlaskit/help component.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/analytics-next": "^9.
|
|
37
|
-
"@atlaskit/button": "^17.
|
|
36
|
+
"@atlaskit/analytics-next": "^9.3.0",
|
|
37
|
+
"@atlaskit/button": "^17.14.0",
|
|
38
38
|
"@atlaskit/icon": "^22.1.0",
|
|
39
|
-
"@atlaskit/theme": "^12.
|
|
40
|
-
"@atlaskit/tokens": "^1.
|
|
41
|
-
"@atlaskit/tooltip": "^18.
|
|
39
|
+
"@atlaskit/theme": "^12.7.0",
|
|
40
|
+
"@atlaskit/tokens": "^1.43.0",
|
|
41
|
+
"@atlaskit/tooltip": "^18.2.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/react": "^11.7.1",
|
|
44
44
|
"@emotion/styled": "^11.0.0",
|
|
@@ -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
|
+
}
|