@atlaskit/help-layout 4.2.17 → 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 +6 -0
- 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/constants.d.ts +1 -7
- package/dist/types-ts4.5/analytics.d.ts +2 -2
- package/dist/types-ts4.5/components/constants.d.ts +1 -7
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
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
|
+
|
|
3
9
|
## 4.2.17
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
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;
|
|
@@ -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;
|
|
@@ -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/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",
|