@atlaskit/atlassian-navigation 5.3.17 → 5.3.19

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/components/AtlassianNavigation/index.js +1 -1
  3. package/dist/cjs/components/AtlassianNavigation/skeleton.js +1 -1
  4. package/dist/cjs/components/ProductHome/custom-product-home.js +1 -1
  5. package/dist/cjs/components/SkeletonPrimaryButton/index.js +2 -2
  6. package/dist/cjs/theme/default-theme.js +1 -1
  7. package/dist/cjs/theme/theme-generator.js +1 -1
  8. package/dist/es2019/components/AtlassianNavigation/index.js +1 -1
  9. package/dist/es2019/components/AtlassianNavigation/skeleton.js +1 -1
  10. package/dist/es2019/components/ProductHome/custom-product-home.js +1 -1
  11. package/dist/es2019/components/SkeletonPrimaryButton/index.js +2 -2
  12. package/dist/es2019/theme/default-theme.js +1 -1
  13. package/dist/es2019/theme/theme-generator.js +1 -1
  14. package/dist/esm/components/AtlassianNavigation/index.js +1 -1
  15. package/dist/esm/components/AtlassianNavigation/skeleton.js +1 -1
  16. package/dist/esm/components/ProductHome/custom-product-home.js +1 -1
  17. package/dist/esm/components/SkeletonPrimaryButton/index.js +2 -2
  18. package/dist/esm/theme/default-theme.js +1 -1
  19. package/dist/esm/theme/theme-generator.js +1 -1
  20. package/dist/types/components/AppSwitcher/index.d.ts +2 -2
  21. package/dist/types/components/Help/index.d.ts +2 -3
  22. package/dist/types/components/IconButton/index.d.ts +2 -5
  23. package/dist/types/components/Notifications/index.d.ts +2 -3
  24. package/dist/types/components/PrimaryButton/index.d.ts +2 -7
  25. package/dist/types/components/PrimaryDropdownButton/index.d.ts +2 -5
  26. package/dist/types/components/Profile/index.d.ts +1 -5
  27. package/dist/types/components/Settings/index.d.ts +2 -1
  28. package/dist/types-ts4.5/components/AppSwitcher/index.d.ts +2 -2
  29. package/dist/types-ts4.5/components/Help/index.d.ts +2 -3
  30. package/dist/types-ts4.5/components/IconButton/index.d.ts +2 -5
  31. package/dist/types-ts4.5/components/Notifications/index.d.ts +2 -3
  32. package/dist/types-ts4.5/components/PrimaryButton/index.d.ts +2 -7
  33. package/dist/types-ts4.5/components/PrimaryDropdownButton/index.d.ts +2 -5
  34. package/dist/types-ts4.5/components/Profile/index.d.ts +1 -5
  35. package/dist/types-ts4.5/components/Settings/index.d.ts +2 -1
  36. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 5.3.19
4
+
5
+ ### Patch Changes
6
+
7
+ - [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) -
8
+ add type info to forwardRef components
9
+ - Updated dependencies
10
+
11
+ ## 5.3.18
12
+
13
+ ### Patch Changes
14
+
15
+ - [`248faa32d4835`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/248faa32d4835) -
16
+ Internal changes to how borders are applied.
17
+ - Updated dependencies
18
+
3
19
  ## 5.3.17
4
20
 
5
21
  ### Patch Changes
@@ -27,7 +27,7 @@ var containerStyles = (0, _react.css)({
27
27
  alignItems: 'center',
28
28
  justifyContent: 'space-between',
29
29
  flexShrink: 0,
30
- borderBlockEnd: "1px solid ".concat("var(--ds-border, ".concat(_colors.N30, ")")),
30
+ borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N30, ")")),
31
31
  paddingInlineEnd: "var(--ds-space-150, 12px)",
32
32
  paddingInlineStart: "var(--ds-space-150, 12px)"
33
33
  });
@@ -28,7 +28,7 @@ var containerStyles = (0, _react.css)({
28
28
  alignItems: 'center',
29
29
  justifyContent: 'space-between',
30
30
  flexShrink: 0,
31
- borderBlockEnd: "1px solid ".concat("var(--ds-border, ".concat(_colors.N30, ")")),
31
+ borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N30, ")")),
32
32
  paddingInlineEnd: "var(--ds-space-150, 12px)",
33
33
  paddingInlineStart: "var(--ds-space-150, 12px)"
34
34
  });
@@ -76,7 +76,7 @@ var productHomeButtonStyles = (0, _react2.css)((0, _defineProperty2.default)((0,
76
76
  '&:focus-visible': {
77
77
  backgroundColor: "var(".concat(VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS, ")"),
78
78
  color: "var(".concat(VAR_PRODUCT_HOME_COLOR_FOCUS, ")"),
79
- outline: "2px solid ".concat("var(--ds-border-focused, ".concat(_colors.B200, ")"))
79
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, ".concat(_colors.B200, ")"))
80
80
  },
81
81
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
82
82
  'div&': {
@@ -70,9 +70,9 @@ var isDropdownButtonStyles = (0, _react.css)({
70
70
  width: 4,
71
71
  height: 4,
72
72
  position: 'absolute',
73
- borderBlockEnd: '2px solid',
73
+ borderBlockEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
74
74
  borderColor: "var(".concat(VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR, ")"),
75
- borderInlineEnd: '2px solid',
75
+ borderInlineEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
76
76
  borderRadius: "var(--ds-radius-xsmall, 1px)",
77
77
  content: '""',
78
78
  insetBlockStart: 'calc(50% - 4px)',
@@ -74,7 +74,7 @@ var defaultTheme = {
74
74
  productHome: {
75
75
  backgroundColor: "var(--ds-text-brand, ".concat(_colors.B400, ")"),
76
76
  color: "var(--ds-text, ".concat(_colors.N700, ")"),
77
- borderRight: "1px solid ".concat("var(--ds-border, ".concat((0, _themeHelpers.hexToRGBA)(_colors.N200, 0.3), ")")),
77
+ borderRight: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat((0, _themeHelpers.hexToRGBA)(_colors.N200, 0.3), ")")),
78
78
  // TODO: replace with token after brand refresh
79
79
  iconColor: '#357DE8',
80
80
  textColor: "var(--ds-text, ".concat(_colors.N700, ")")
@@ -91,7 +91,7 @@ var generateTheme = exports.generateTheme = function generateTheme(themeColors)
91
91
  iconColor: color,
92
92
  textColor: color,
93
93
  backgroundColor: highlightColor,
94
- borderRight: "1px solid ".concat((0, _themeHelpers.hexToRGBA)(color, 0.5))
94
+ borderRight: "var(--ds-border-width, 1px)".concat(" solid ", (0, _themeHelpers.hexToRGBA)(color, 0.5))
95
95
  },
96
96
  search: {
97
97
  default: {
@@ -19,7 +19,7 @@ const containerStyles = css({
19
19
  alignItems: 'center',
20
20
  justifyContent: 'space-between',
21
21
  flexShrink: 0,
22
- borderBlockEnd: `1px solid ${`var(--ds-border, ${N30})`}`,
22
+ borderBlockEnd: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${N30})`}`,
23
23
  paddingInlineEnd: "var(--ds-space-150, 12px)",
24
24
  paddingInlineStart: "var(--ds-space-150, 12px)"
25
25
  });
@@ -21,7 +21,7 @@ const containerStyles = css({
21
21
  alignItems: 'center',
22
22
  justifyContent: 'space-between',
23
23
  flexShrink: 0,
24
- borderBlockEnd: `1px solid ${`var(--ds-border, ${N30})`}`,
24
+ borderBlockEnd: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${N30})`}`,
25
25
  paddingInlineEnd: "var(--ds-space-150, 12px)",
26
26
  paddingInlineStart: "var(--ds-space-150, 12px)"
27
27
  });
@@ -71,7 +71,7 @@ const productHomeButtonStyles = css({
71
71
  '&:focus-visible': {
72
72
  backgroundColor: `var(${VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS})`,
73
73
  color: `var(${VAR_PRODUCT_HOME_COLOR_FOCUS})`,
74
- outline: `2px solid ${`var(--ds-border-focused, ${B200})`}`
74
+ outline: `${"var(--ds-border-width-focused, 2px)"} solid ${`var(--ds-border-focused, ${B200})`}`
75
75
  },
76
76
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
77
77
  'div&': {
@@ -62,9 +62,9 @@ const isDropdownButtonStyles = css({
62
62
  width: 4,
63
63
  height: 4,
64
64
  position: 'absolute',
65
- borderBlockEnd: '2px solid',
65
+ borderBlockEnd: `${"var(--ds-border-width-selected, 2px)"} solid`,
66
66
  borderColor: `var(${VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR})`,
67
- borderInlineEnd: '2px solid',
67
+ borderInlineEnd: `${"var(--ds-border-width-selected, 2px)"} solid`,
68
68
  borderRadius: "var(--ds-radius-xsmall, 1px)",
69
69
  content: '""',
70
70
  insetBlockStart: 'calc(50% - 4px)',
@@ -68,7 +68,7 @@ const defaultTheme = {
68
68
  productHome: {
69
69
  backgroundColor: `var(--ds-text-brand, ${B400})`,
70
70
  color: `var(--ds-text, ${N700})`,
71
- borderRight: `1px solid ${`var(--ds-border, ${hexToRGBA(N200, 0.3)})`}`,
71
+ borderRight: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${hexToRGBA(N200, 0.3)})`}`,
72
72
  // TODO: replace with token after brand refresh
73
73
  iconColor: '#357DE8',
74
74
  textColor: `var(--ds-text, ${N700})`
@@ -82,7 +82,7 @@ export const generateTheme = themeColors => {
82
82
  iconColor: color,
83
83
  textColor: color,
84
84
  backgroundColor: highlightColor,
85
- borderRight: `1px solid ${hexToRGBA(color, 0.5)}`
85
+ borderRight: `${"var(--ds-border-width, 1px)"} solid ${hexToRGBA(color, 0.5)}`
86
86
  },
87
87
  search: {
88
88
  default: {
@@ -19,7 +19,7 @@ var containerStyles = css({
19
19
  alignItems: 'center',
20
20
  justifyContent: 'space-between',
21
21
  flexShrink: 0,
22
- borderBlockEnd: "1px solid ".concat("var(--ds-border, ".concat(N30, ")")),
22
+ borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")),
23
23
  paddingInlineEnd: "var(--ds-space-150, 12px)",
24
24
  paddingInlineStart: "var(--ds-space-150, 12px)"
25
25
  });
@@ -21,7 +21,7 @@ var containerStyles = css({
21
21
  alignItems: 'center',
22
22
  justifyContent: 'space-between',
23
23
  flexShrink: 0,
24
- borderBlockEnd: "1px solid ".concat("var(--ds-border, ".concat(N30, ")")),
24
+ borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")),
25
25
  paddingInlineEnd: "var(--ds-space-150, 12px)",
26
26
  paddingInlineStart: "var(--ds-space-150, 12px)"
27
27
  });
@@ -70,7 +70,7 @@ var productHomeButtonStyles = css(_defineProperty(_defineProperty({
70
70
  '&:focus-visible': {
71
71
  backgroundColor: "var(".concat(VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS, ")"),
72
72
  color: "var(".concat(VAR_PRODUCT_HOME_COLOR_FOCUS, ")"),
73
- outline: "2px solid ".concat("var(--ds-border-focused, ".concat(B200, ")"))
73
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, ".concat(B200, ")"))
74
74
  },
75
75
  // eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
76
76
  'div&': {
@@ -65,9 +65,9 @@ var isDropdownButtonStyles = css({
65
65
  width: 4,
66
66
  height: 4,
67
67
  position: 'absolute',
68
- borderBlockEnd: '2px solid',
68
+ borderBlockEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
69
69
  borderColor: "var(".concat(VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR, ")"),
70
- borderInlineEnd: '2px solid',
70
+ borderInlineEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
71
71
  borderRadius: "var(--ds-radius-xsmall, 1px)",
72
72
  content: '""',
73
73
  insetBlockStart: 'calc(50% - 4px)',
@@ -68,7 +68,7 @@ var defaultTheme = {
68
68
  productHome: {
69
69
  backgroundColor: "var(--ds-text-brand, ".concat(B400, ")"),
70
70
  color: "var(--ds-text, ".concat(N700, ")"),
71
- borderRight: "1px solid ".concat("var(--ds-border, ".concat(hexToRGBA(N200, 0.3), ")")),
71
+ borderRight: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(hexToRGBA(N200, 0.3), ")")),
72
72
  // TODO: replace with token after brand refresh
73
73
  iconColor: '#357DE8',
74
74
  textColor: "var(--ds-text, ".concat(N700, ")")
@@ -84,7 +84,7 @@ export var generateTheme = function generateTheme(themeColors) {
84
84
  iconColor: color,
85
85
  textColor: color,
86
86
  backgroundColor: highlightColor,
87
- borderRight: "1px solid ".concat(hexToRGBA(color, 0.5))
87
+ borderRight: "var(--ds-border-width, 1px)".concat(" solid ", hexToRGBA(color, 0.5))
88
88
  },
89
89
  search: {
90
90
  default: {
@@ -9,7 +9,7 @@ import { type AppSwitcherProps } from './types';
9
9
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#app-switcher)
10
10
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
11
11
  */
12
- export declare const AppSwitcher: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
13
- export declare const AppSwitcherNav4: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
12
+ export declare const AppSwitcher: React.ForwardRefExoticComponent<React.PropsWithoutRef<AppSwitcherProps> & React.RefAttributes<any>>;
13
+ export declare const AppSwitcherNav4: React.ForwardRefExoticComponent<React.PropsWithoutRef<AppSwitcherProps> & React.RefAttributes<any>>;
14
14
  declare const _default: (props: AppSwitcherProps) => void;
15
15
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { type HelpProps } from './types';
2
3
  /**
3
4
  * __Help__
4
5
  *
@@ -7,6 +8,4 @@ import React from 'react';
7
8
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#help)
8
9
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
9
10
  */
10
- export declare const Help: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & {
11
- badge?: React.ComponentType<{}>;
12
- } & React.RefAttributes<any>>;
11
+ export declare const Help: React.ForwardRefExoticComponent<React.PropsWithoutRef<HelpProps> & React.RefAttributes<any>>;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { type IconButtonProps } from './types';
2
3
  /**
3
4
  * __Icon button__
4
5
  *
@@ -8,8 +9,4 @@ import React from 'react';
8
9
  * rely on the defaults.
9
10
  *
10
11
  */
11
- export declare const IconButton: React.ForwardRefExoticComponent<import("./types").BaseIconButtonProps & {
12
- icon: import("@atlaskit/button/custom-theme-button").CustomThemeButtonProps["iconBefore"];
13
- theme?: import("@atlaskit/button/custom-theme-button").CustomThemeButtonProps["theme"];
14
- isTooltipAnnouncementDisabled?: boolean;
15
- } & React.RefAttributes<HTMLElement>>;
12
+ export declare const IconButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<IconButtonProps> & React.RefAttributes<HTMLElement>>;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { type NotificationsProps } from './types';
2
3
  /**
3
4
  * __Notifications__
4
5
  *
@@ -8,6 +9,4 @@ import React from 'react';
8
9
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#notifications)
9
10
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
10
11
  */
11
- export declare const Notifications: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & {
12
- badge: React.ComponentType<{}>;
13
- } & React.RefAttributes<any>>;
12
+ export declare const Notifications: React.ForwardRefExoticComponent<React.PropsWithoutRef<NotificationsProps> & React.RefAttributes<any>>;
@@ -1,3 +1,4 @@
1
+ import { type PrimaryButtonProps } from './types';
1
2
  /**
2
3
  * __Primary button__
3
4
  *
@@ -7,10 +8,4 @@
7
8
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#dropdown-menu)
8
9
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
9
10
  */
10
- export declare const PrimaryButton: import("react").ForwardRefExoticComponent<Omit<import("@atlaskit/button/custom-theme-button").CustomThemeButtonProps, "appearance" | "onClick"> & {
11
- component?: import("react").ComponentType<import("react").AllHTMLAttributes<HTMLElement>> | import("react").ElementType<any>;
12
- isHighlighted?: boolean;
13
- testId?: string;
14
- tooltip?: React.ReactNode;
15
- onClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: any) => void;
16
- } & import("react").RefAttributes<HTMLElement>>;
11
+ export declare const PrimaryButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<PrimaryButtonProps> & React.RefAttributes<HTMLElement>>;
@@ -1,3 +1,4 @@
1
+ import { type PrimaryDropdownButtonProps } from './types';
1
2
  /**
2
3
  * __Primary dropdown button__
3
4
  *
@@ -7,8 +8,4 @@
7
8
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#button)
8
9
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
9
10
  */
10
- export declare const PrimaryDropdownButton: import("react").ForwardRefExoticComponent<Omit<import("../..").PrimaryButtonProps, "iconAfter"> & {
11
- isHighlighted?: boolean;
12
- testId?: string;
13
- tooltip?: React.ReactNode;
14
- } & import("react").RefAttributes<HTMLElement>>;
11
+ export declare const PrimaryDropdownButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<PrimaryDropdownButtonProps> & React.RefAttributes<HTMLElement>>;
@@ -9,10 +9,6 @@ import { type ProfileProps } from './types';
9
9
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#profile)
10
10
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
11
11
  */
12
- export declare const Profile: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & {
13
- icon: import("@atlaskit/button").CustomThemeButtonProps["iconBefore"];
14
- theme?: import("@atlaskit/button").CustomThemeButtonProps["theme"];
15
- isTooltipAnnouncementDisabled?: boolean;
16
- } & React.RefAttributes<HTMLElement>>;
12
+ export declare const Profile: React.ForwardRefExoticComponent<React.PropsWithoutRef<ProfileProps> & React.RefAttributes<HTMLElement>>;
17
13
  declare const _default: (props: ProfileProps) => void;
18
14
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { type SettingsProps } from './types';
2
3
  /**
3
4
  * __Settings__
4
5
  *
@@ -7,4 +8,4 @@ import React from 'react';
7
8
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#settings)
8
9
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
9
10
  */
10
- export declare const Settings: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
11
+ export declare const Settings: React.ForwardRefExoticComponent<React.PropsWithoutRef<SettingsProps> & React.RefAttributes<any>>;
@@ -9,7 +9,7 @@ import { type AppSwitcherProps } from './types';
9
9
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#app-switcher)
10
10
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
11
11
  */
12
- export declare const AppSwitcher: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
13
- export declare const AppSwitcherNav4: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
12
+ export declare const AppSwitcher: React.ForwardRefExoticComponent<React.PropsWithoutRef<AppSwitcherProps> & React.RefAttributes<any>>;
13
+ export declare const AppSwitcherNav4: React.ForwardRefExoticComponent<React.PropsWithoutRef<AppSwitcherProps> & React.RefAttributes<any>>;
14
14
  declare const _default: (props: AppSwitcherProps) => void;
15
15
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { type HelpProps } from './types';
2
3
  /**
3
4
  * __Help__
4
5
  *
@@ -7,6 +8,4 @@ import React from 'react';
7
8
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#help)
8
9
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
9
10
  */
10
- export declare const Help: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & {
11
- badge?: React.ComponentType<{}>;
12
- } & React.RefAttributes<any>>;
11
+ export declare const Help: React.ForwardRefExoticComponent<React.PropsWithoutRef<HelpProps> & React.RefAttributes<any>>;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { type IconButtonProps } from './types';
2
3
  /**
3
4
  * __Icon button__
4
5
  *
@@ -8,8 +9,4 @@ import React from 'react';
8
9
  * rely on the defaults.
9
10
  *
10
11
  */
11
- export declare const IconButton: React.ForwardRefExoticComponent<import("./types").BaseIconButtonProps & {
12
- icon: import("@atlaskit/button/custom-theme-button").CustomThemeButtonProps["iconBefore"];
13
- theme?: import("@atlaskit/button/custom-theme-button").CustomThemeButtonProps["theme"];
14
- isTooltipAnnouncementDisabled?: boolean;
15
- } & React.RefAttributes<HTMLElement>>;
12
+ export declare const IconButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<IconButtonProps> & React.RefAttributes<HTMLElement>>;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { type NotificationsProps } from './types';
2
3
  /**
3
4
  * __Notifications__
4
5
  *
@@ -8,6 +9,4 @@ import React from 'react';
8
9
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#notifications)
9
10
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
10
11
  */
11
- export declare const Notifications: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & {
12
- badge: React.ComponentType<{}>;
13
- } & React.RefAttributes<any>>;
12
+ export declare const Notifications: React.ForwardRefExoticComponent<React.PropsWithoutRef<NotificationsProps> & React.RefAttributes<any>>;
@@ -1,3 +1,4 @@
1
+ import { type PrimaryButtonProps } from './types';
1
2
  /**
2
3
  * __Primary button__
3
4
  *
@@ -7,10 +8,4 @@
7
8
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#dropdown-menu)
8
9
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
9
10
  */
10
- export declare const PrimaryButton: import("react").ForwardRefExoticComponent<Omit<import("@atlaskit/button/custom-theme-button").CustomThemeButtonProps, "appearance" | "onClick"> & {
11
- component?: import("react").ComponentType<import("react").AllHTMLAttributes<HTMLElement>> | import("react").ElementType<any>;
12
- isHighlighted?: boolean;
13
- testId?: string;
14
- tooltip?: React.ReactNode;
15
- onClick?: (event: React.MouseEvent<HTMLElement>, analyticsEvent: any) => void;
16
- } & import("react").RefAttributes<HTMLElement>>;
11
+ export declare const PrimaryButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<PrimaryButtonProps> & React.RefAttributes<HTMLElement>>;
@@ -1,3 +1,4 @@
1
+ import { type PrimaryDropdownButtonProps } from './types';
1
2
  /**
2
3
  * __Primary dropdown button__
3
4
  *
@@ -7,8 +8,4 @@
7
8
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#button)
8
9
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
9
10
  */
10
- export declare const PrimaryDropdownButton: import("react").ForwardRefExoticComponent<Omit<import("../..").PrimaryButtonProps, "iconAfter"> & {
11
- isHighlighted?: boolean;
12
- testId?: string;
13
- tooltip?: React.ReactNode;
14
- } & import("react").RefAttributes<HTMLElement>>;
11
+ export declare const PrimaryDropdownButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<PrimaryDropdownButtonProps> & React.RefAttributes<HTMLElement>>;
@@ -9,10 +9,6 @@ import { type ProfileProps } from './types';
9
9
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#profile)
10
10
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
11
11
  */
12
- export declare const Profile: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & {
13
- icon: import("@atlaskit/button").CustomThemeButtonProps["iconBefore"];
14
- theme?: import("@atlaskit/button").CustomThemeButtonProps["theme"];
15
- isTooltipAnnouncementDisabled?: boolean;
16
- } & React.RefAttributes<HTMLElement>>;
12
+ export declare const Profile: React.ForwardRefExoticComponent<React.PropsWithoutRef<ProfileProps> & React.RefAttributes<HTMLElement>>;
17
13
  declare const _default: (props: ProfileProps) => void;
18
14
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { type SettingsProps } from './types';
2
3
  /**
3
4
  * __Settings__
4
5
  *
@@ -7,4 +8,4 @@ import React from 'react';
7
8
  * - [Examples](https://atlassian.design/components/atlassian-navigation/examples#settings)
8
9
  * - [Code](https://atlassian.design/components/atlassian-navigation/code)
9
10
  */
10
- export declare const Settings: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & React.RefAttributes<any>>;
11
+ export declare const Settings: React.ForwardRefExoticComponent<React.PropsWithoutRef<SettingsProps> & React.RefAttributes<any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "5.3.17",
3
+ "version": "5.3.19",
4
4
  "description": "A horizontal navigation component for Atlassian apps.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,17 +36,17 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@atlaskit/analytics-namespaced-context": "^7.0.0",
39
+ "@atlaskit/analytics-namespaced-context": "^7.1.0",
40
40
  "@atlaskit/button": "^23.4.0",
41
- "@atlaskit/ds-lib": "^5.0.0",
42
- "@atlaskit/icon": "^28.1.0",
41
+ "@atlaskit/ds-lib": "^5.1.0",
42
+ "@atlaskit/icon": "^28.3.0",
43
43
  "@atlaskit/logo": "^19.7.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
- "@atlaskit/popup": "^4.3.0",
46
- "@atlaskit/primitives": "^14.14.0",
45
+ "@atlaskit/popup": "^4.4.0",
46
+ "@atlaskit/primitives": "^14.15.0",
47
47
  "@atlaskit/theme": "^21.0.0",
48
- "@atlaskit/tokens": "^6.3.0",
49
- "@atlaskit/tooltip": "^20.4.0",
48
+ "@atlaskit/tokens": "^6.4.0",
49
+ "@atlaskit/tooltip": "^20.5.0",
50
50
  "@atlaskit/width-detector": "^5.0.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1",
@@ -62,20 +62,20 @@
62
62
  "@af/visual-regression": "workspace:^",
63
63
  "@atlaskit/analytics-next": "^11.1.0",
64
64
  "@atlaskit/atlassian-notifications": "^0.7.0",
65
- "@atlaskit/avatar": "^25.1.0",
65
+ "@atlaskit/avatar": "^25.2.0",
66
66
  "@atlaskit/badge": "^18.1.0",
67
- "@atlaskit/docs": "^11.0.0",
67
+ "@atlaskit/docs": "^11.1.0",
68
68
  "@atlaskit/drawer": "^11.0.0",
69
69
  "@atlaskit/dropdown-menu": "^16.3.0",
70
- "@atlaskit/form": "^12.5.0",
70
+ "@atlaskit/form": "^14.2.0",
71
71
  "@atlaskit/menu": "^8.4.0",
72
72
  "@atlaskit/notification-indicator": "^10.0.0",
73
73
  "@atlaskit/notification-log-client": "^6.2.0",
74
74
  "@atlaskit/section-message": "^8.7.0",
75
75
  "@atlaskit/spinner": "^19.0.0",
76
76
  "@atlaskit/textfield": "^8.0.0",
77
- "@atlassian/switcher": "^38.14.0",
78
- "@atlassian/switcher-test-utils": "^7.1.0",
77
+ "@atlassian/switcher": "^39.4.0",
78
+ "@atlassian/switcher-test-utils": "^7.2.0",
79
79
  "@testing-library/react": "^13.4.0",
80
80
  "@testing-library/react-hooks": "^8.0.1",
81
81
  "@testing-library/user-event": "^14.4.3",