@atlaskit/atlassian-navigation 2.1.2 → 2.1.5
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 +19 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/common/styles.d.ts +511 -511
- package/dist/types/components/Help/index.d.ts +1 -1
- package/dist/types/components/IconButton/index.d.ts +1 -1
- package/dist/types/components/PrimaryButton/index.d.ts +1 -1
- package/dist/types/components/PrimaryDropdownButton/index.d.ts +1 -1
- package/dist/types/components/Profile/index.d.ts +1 -1
- package/dist/types/controllers/overflow/index.d.ts +2 -2
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const Help: React.ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & {
|
|
3
|
-
badge?: React.
|
|
3
|
+
badge?: React.ComponentType<{}> | undefined;
|
|
4
4
|
} & React.RefAttributes<any>>;
|
|
5
5
|
export default Help;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const IconButton: React.ForwardRefExoticComponent<import("./types").BaseIconButtonProps & {
|
|
3
|
-
icon:
|
|
3
|
+
icon: React.ReactChild | undefined;
|
|
4
4
|
theme?: ((current: (props: import("@atlaskit/button/custom-theme-button").ThemeProps) => import("@atlaskit/button/custom-theme-button").ThemeTokens, props: import("@atlaskit/button/custom-theme-button").ThemeProps) => import("@atlaskit/button/custom-theme-button").ThemeTokens) | undefined;
|
|
5
5
|
} & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const PrimaryButton: import("react").ForwardRefExoticComponent<
|
|
2
|
+
export declare const PrimaryButton: import("react").ForwardRefExoticComponent<Omit<import("@atlaskit/button/custom-theme-button").CustomThemeButtonProps, "appearance" | "onClick"> & {
|
|
3
3
|
isHighlighted?: boolean | undefined;
|
|
4
4
|
testId?: string | undefined;
|
|
5
5
|
tooltip?: import("react").ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const PrimaryDropdownButton: import("react").ForwardRefExoticComponent<
|
|
2
|
+
export declare const PrimaryDropdownButton: import("react").ForwardRefExoticComponent<Omit<import("../..").PrimaryButtonProps, "iconAfter"> & {
|
|
3
3
|
isHighlighted?: boolean | undefined;
|
|
4
4
|
testId?: string | undefined;
|
|
5
5
|
tooltip?: import("react").ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IconButtonProps } from '../IconButton/types';
|
|
3
3
|
export declare const Profile: import("react").ForwardRefExoticComponent<import("../IconButton/types").BaseIconButtonProps & {
|
|
4
|
-
icon:
|
|
4
|
+
icon: import("react").ReactChild | undefined;
|
|
5
5
|
theme?: ((current: (props: import("@atlaskit/button").ThemeProps) => import("@atlaskit/button").ThemeTokens, props: import("@atlaskit/button").ThemeProps) => import("@atlaskit/button").ThemeTokens) | undefined;
|
|
6
6
|
} & import("react").RefAttributes<HTMLElement>>;
|
|
7
7
|
declare const _default: (props: IconButtonProps) => void;
|
|
@@ -23,8 +23,8 @@ export declare const useOverflowStatus: () => {
|
|
|
23
23
|
closeOverflowMenu: () => void;
|
|
24
24
|
};
|
|
25
25
|
export declare const useOverflowController: (nodes: ReactNode | ReactNode[]) => {
|
|
26
|
-
visibleItems: React.
|
|
27
|
-
overflowItems: React.
|
|
26
|
+
visibleItems: (string | number | boolean | {} | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactNodeArray | React.ReactPortal | null | undefined)[];
|
|
27
|
+
overflowItems: (string | number | boolean | {} | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactNodeArray | React.ReactPortal | null | undefined)[];
|
|
28
28
|
updateWidth: React.Dispatch<React.SetStateAction<number>> & import("lodash").Cancelable;
|
|
29
29
|
};
|
|
30
30
|
declare const _default: (props: OverflowContextType) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@atlaskit/analytics-namespaced-context": "^6.4.0",
|
|
27
|
-
"@atlaskit/button": "^16.
|
|
27
|
+
"@atlaskit/button": "^16.3.0",
|
|
28
28
|
"@atlaskit/icon": "^21.10.0",
|
|
29
29
|
"@atlaskit/logo": "*",
|
|
30
30
|
"@atlaskit/popup": "^1.3.0",
|
|
31
31
|
"@atlaskit/theme": "^12.1.0",
|
|
32
|
-
"@atlaskit/tokens": "^0.
|
|
32
|
+
"@atlaskit/tokens": "^0.9.0",
|
|
33
33
|
"@atlaskit/tooltip": "^17.5.0",
|
|
34
34
|
"@atlaskit/width-detector": "^4.0.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"jest-emotion": "^10.0.32",
|
|
60
60
|
"react": "^16.8.0",
|
|
61
61
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
62
|
-
"typescript": "
|
|
62
|
+
"typescript": "4.2.4"
|
|
63
63
|
},
|
|
64
64
|
"techstack": {
|
|
65
65
|
"@atlassian/frontend": {
|