@atlaskit/help-layout 4.3.6 → 4.3.8

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,20 @@
1
1
  # @atlaskit/help-layout
2
2
 
3
+ ## 4.3.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#153797](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/153797)
8
+ [`413eaa2995ab6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/413eaa2995ab6) -
9
+ [ux] Increased header title to h1 for better accessibility
10
+ - Updated dependencies
11
+
12
+ ## 4.3.7
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 4.3.6
4
19
 
5
20
  ### Patch Changes
@@ -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.3.6"
17
+ packageVersion: "4.3.8"
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.3.6"
78
+ packageVersion: "4.3.8"
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.3.6"
53
+ packageVersion: "4.3.8"
54
54
  }
55
55
  }, /*#__PURE__*/_react.default.createElement(CloseButton, props));
56
56
  };
@@ -41,7 +41,7 @@ var BackButtonContainer = exports.BackButtonContainer = _styled.default.div({
41
41
  });
42
42
 
43
43
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
- var HeaderTitle = exports.HeaderTitle = _styled.default.h2({
44
+ var HeaderTitle = exports.HeaderTitle = _styled.default.h1({
45
45
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
46
46
  color: "var(--ds-text-subtle, ".concat(colors.N500, ")"),
47
47
  textAlign: 'center',
@@ -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: "4.3.6"
8
+ packageVersion: "4.3.8"
9
9
  };
@@ -71,7 +71,7 @@ const BackButtonWithContext = props => {
71
71
  data: {
72
72
  componentName: 'backButton',
73
73
  packageName: "@atlaskit/help-layout",
74
- packageVersion: "4.3.6"
74
+ packageVersion: "4.3.8"
75
75
  }
76
76
  }, /*#__PURE__*/React.createElement(BackButton, props));
77
77
  };
@@ -47,7 +47,7 @@ const CloseButtonWithContext = props => {
47
47
  data: {
48
48
  componentName: 'closeButton',
49
49
  packageName: "@atlaskit/help-layout",
50
- packageVersion: "4.3.6"
50
+ packageVersion: "4.3.8"
51
51
  }
52
52
  }, /*#__PURE__*/React.createElement(CloseButton, props));
53
53
  };
@@ -30,7 +30,7 @@ export const BackButtonContainer = styled.div({
30
30
  });
31
31
 
32
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
33
- export const HeaderTitle = styled.h2({
33
+ export const HeaderTitle = styled.h1({
34
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
35
35
  color: `var(--ds-text-subtle, ${colors.N500})`,
36
36
  textAlign: 'center',
@@ -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: "4.3.6"
8
+ packageVersion: "4.3.8"
9
9
  };
@@ -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.3.6"
71
+ packageVersion: "4.3.8"
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.3.6"
46
+ packageVersion: "4.3.8"
47
47
  }
48
48
  }, /*#__PURE__*/React.createElement(CloseButton, props));
49
49
  };
@@ -30,7 +30,7 @@ export var BackButtonContainer = styled.div({
30
30
  });
31
31
 
32
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
33
- export var HeaderTitle = styled.h2({
33
+ export var HeaderTitle = styled.h1({
34
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
35
35
  color: "var(--ds-text-subtle, ".concat(colors.N500, ")"),
36
36
  textAlign: 'center',
@@ -1,6 +1,6 @@
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").ComponentType<Props> & Component) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<JSX.LibraryManagedAttributes<Component, Omit<Props, keyof x.WithAnalyticsEventsProps>>> & import("react").RefAttributes<any>>;
3
+ export declare const withAnalyticsEvents: (createEventMap?: import("@atlaskit/analytics-next/types").CreateEventMap | undefined) => <Props, Component>(WrappedComponent: import("react").ComponentType<x.WithAnalyticsEventsProps & Props> & Component) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<JSX.LibraryManagedAttributes<Component, Omit<Props, keyof x.WithAnalyticsEventsProps>>> & import("react").RefAttributes<any>>;
4
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: {
@@ -5,5 +5,5 @@ export type Props = HelpLayoutProps & WithAnalyticsEventsProps;
5
5
  export declare class HelpLayout extends React.PureComponent<Props> {
6
6
  render(): JSX.Element;
7
7
  }
8
- declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "analyticsContext" | "key" | keyof HelpLayoutProps> & React.RefAttributes<any>>;
8
+ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<HelpLayoutProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "analyticsContext" | "key" | keyof HelpLayoutProps> & React.RefAttributes<any>>;
9
9
  export default _default;
@@ -1,6 +1,6 @@
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").ComponentType<Props> & Component) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<JSX.LibraryManagedAttributes<Component, Omit<Props, keyof x.WithAnalyticsEventsProps>>> & import("react").RefAttributes<any>>;
3
+ export declare const withAnalyticsEvents: (createEventMap?: import("@atlaskit/analytics-next/types").CreateEventMap | undefined) => <Props, Component>(WrappedComponent: import("react").ComponentType<x.WithAnalyticsEventsProps & Props> & Component) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<JSX.LibraryManagedAttributes<Component, Omit<Props, keyof x.WithAnalyticsEventsProps>>> & import("react").RefAttributes<any>>;
4
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: {
@@ -5,5 +5,5 @@ export type Props = HelpLayoutProps & WithAnalyticsEventsProps;
5
5
  export declare class HelpLayout extends React.PureComponent<Props> {
6
6
  render(): JSX.Element;
7
7
  }
8
- declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "analyticsContext" | "key" | keyof HelpLayoutProps> & React.RefAttributes<any>>;
8
+ declare const _default: React.ForwardRefExoticComponent<Pick<Omit<HelpLayoutProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "analyticsContext" | "key" | keyof HelpLayoutProps> & React.RefAttributes<any>>;
9
9
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/help-layout",
3
- "version": "4.3.6",
3
+ "version": "4.3.8",
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
  "dependencies": {
33
33
  "@atlaskit/analytics-next": "^10.1.0",
34
34
  "@atlaskit/button": "^20.2.0",
35
- "@atlaskit/icon": "^22.18.0",
36
- "@atlaskit/theme": "^13.0.0",
37
- "@atlaskit/tokens": "^1.61.0",
38
- "@atlaskit/tooltip": "^18.7.0",
35
+ "@atlaskit/icon": "^22.22.0",
36
+ "@atlaskit/theme": "^14.0.0",
37
+ "@atlaskit/tokens": "^2.0.0",
38
+ "@atlaskit/tooltip": "^18.8.0",
39
39
  "@babel/runtime": "^7.0.0",
40
40
  "@emotion/react": "^11.7.1",
41
41
  "@emotion/styled": "^11.0.0",