@atlaskit/atlassian-navigation 4.11.1 → 4.11.2
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/types/components/Profile/skeleton.d.ts +2 -2
- package/dist/types/components/SignIn/index.d.ts +2 -2
- package/dist/types/components/SignIn/skeleton.d.ts +2 -2
- package/dist/types/controllers/overflow/index.d.ts +3 -3
- package/dist/types/skeleton-help-button.d.ts +3 -3
- package/dist/types/skeleton-notification-button.d.ts +3 -3
- package/dist/types/skeleton-settings-button.d.ts +3 -3
- package/dist/types-ts4.5/components/Profile/skeleton.d.ts +2 -2
- package/dist/types-ts4.5/components/SignIn/index.d.ts +2 -2
- package/dist/types-ts4.5/components/SignIn/skeleton.d.ts +2 -2
- package/dist/types-ts4.5/controllers/overflow/index.d.ts +3 -3
- package/dist/types-ts4.5/skeleton-help-button.d.ts +3 -3
- package/dist/types-ts4.5/skeleton-notification-button.d.ts +3 -3
- package/dist/types-ts4.5/skeleton-settings-button.d.ts +3 -3
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ProfileSkeleton: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ProfileSkeleton: () => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type SignInProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* __Sign in__
|
|
@@ -8,4 +8,4 @@ import { type SignInProps } from './types';
|
|
|
8
8
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#sign-in)
|
|
9
9
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
10
|
*/
|
|
11
|
-
export declare const SignIn: (props: SignInProps) => JSX.Element;
|
|
11
|
+
export declare const SignIn: (props: SignInProps) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SignInSkeleton: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SignInSkeleton: () => React.JSX.Element;
|
|
@@ -21,7 +21,7 @@ declare const OverflowContext: React.Context<{
|
|
|
21
21
|
openOverflowMenu: typeof noop;
|
|
22
22
|
closeOverflowMenu: typeof noop;
|
|
23
23
|
}>;
|
|
24
|
-
export declare const OverflowProvider: ({ children, isVisible, openOverflowMenu, closeOverflowMenu, }: OverflowProviderProps) => JSX.Element;
|
|
24
|
+
export declare const OverflowProvider: ({ children, isVisible, openOverflowMenu, closeOverflowMenu, }: OverflowProviderProps) => React.JSX.Element;
|
|
25
25
|
/**
|
|
26
26
|
* __useOverFlowStatus__
|
|
27
27
|
*
|
|
@@ -35,8 +35,8 @@ export declare const useOverflowStatus: () => {
|
|
|
35
35
|
closeOverflowMenu: typeof noop;
|
|
36
36
|
};
|
|
37
37
|
export declare const useOverflowController: (nodes: ReactNode | ReactNode[]) => {
|
|
38
|
-
visibleItems: (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.
|
|
39
|
-
overflowItems: (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.
|
|
38
|
+
visibleItems: (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
39
|
+
overflowItems: (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
40
40
|
updateWidth: import("lodash").DebouncedFuncLeading<React.Dispatch<React.SetStateAction<number>>>;
|
|
41
41
|
};
|
|
42
42
|
declare const _default: (props: OverflowContext) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type SkeletonHelpButtonProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -16,10 +16,10 @@ export type SkeletonHelpButtonProps = {
|
|
|
16
16
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
|
-
export declare const SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => JSX.Element;
|
|
19
|
+
export declare const SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => React.JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
* __Nav 4 skeleton help button__
|
|
22
22
|
*
|
|
23
23
|
* A nav 4 skeleton help button {description}.
|
|
24
24
|
*/
|
|
25
|
-
export declare const Nav4SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => JSX.Element;
|
|
25
|
+
export declare const Nav4SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type SkeletonNotificationButtonProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -16,11 +16,11 @@ export type SkeletonNotificationButtonProps = {
|
|
|
16
16
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
|
-
export declare const SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => JSX.Element;
|
|
19
|
+
export declare const SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => React.JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
* __Nav 4 skeleton notification button__
|
|
22
22
|
*
|
|
23
23
|
* A nav 4 skeleton notification button.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
export declare const Nav4SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => JSX.Element;
|
|
26
|
+
export declare const Nav4SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type SkeletonSettingsButtonProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -16,10 +16,10 @@ export type SkeletonSettingsButtonProps = {
|
|
|
16
16
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
|
-
export declare const SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => JSX.Element;
|
|
19
|
+
export declare const SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => React.JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
* __Nav 4 skeleton settings button__
|
|
22
22
|
*
|
|
23
23
|
* A nav 4 skeleton settings button
|
|
24
24
|
*/
|
|
25
|
-
export declare const Nav4SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => JSX.Element;
|
|
25
|
+
export declare const Nav4SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ProfileSkeleton: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ProfileSkeleton: () => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type SignInProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* __Sign in__
|
|
@@ -8,4 +8,4 @@ import { type SignInProps } from './types';
|
|
|
8
8
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#sign-in)
|
|
9
9
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
10
|
*/
|
|
11
|
-
export declare const SignIn: (props: SignInProps) => JSX.Element;
|
|
11
|
+
export declare const SignIn: (props: SignInProps) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SignInSkeleton: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SignInSkeleton: () => React.JSX.Element;
|
|
@@ -21,7 +21,7 @@ declare const OverflowContext: React.Context<{
|
|
|
21
21
|
openOverflowMenu: typeof noop;
|
|
22
22
|
closeOverflowMenu: typeof noop;
|
|
23
23
|
}>;
|
|
24
|
-
export declare const OverflowProvider: ({ children, isVisible, openOverflowMenu, closeOverflowMenu, }: OverflowProviderProps) => JSX.Element;
|
|
24
|
+
export declare const OverflowProvider: ({ children, isVisible, openOverflowMenu, closeOverflowMenu, }: OverflowProviderProps) => React.JSX.Element;
|
|
25
25
|
/**
|
|
26
26
|
* __useOverFlowStatus__
|
|
27
27
|
*
|
|
@@ -35,8 +35,8 @@ export declare const useOverflowStatus: () => {
|
|
|
35
35
|
closeOverflowMenu: typeof noop;
|
|
36
36
|
};
|
|
37
37
|
export declare const useOverflowController: (nodes: ReactNode | ReactNode[]) => {
|
|
38
|
-
visibleItems: (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.
|
|
39
|
-
overflowItems: (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.
|
|
38
|
+
visibleItems: (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
39
|
+
overflowItems: (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
40
40
|
updateWidth: import("lodash").DebouncedFuncLeading<React.Dispatch<React.SetStateAction<number>>>;
|
|
41
41
|
};
|
|
42
42
|
declare const _default: (props: OverflowContext) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type SkeletonHelpButtonProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -16,10 +16,10 @@ export type SkeletonHelpButtonProps = {
|
|
|
16
16
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
|
-
export declare const SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => JSX.Element;
|
|
19
|
+
export declare const SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => React.JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
* __Nav 4 skeleton help button__
|
|
22
22
|
*
|
|
23
23
|
* A nav 4 skeleton help button {description}.
|
|
24
24
|
*/
|
|
25
|
-
export declare const Nav4SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => JSX.Element;
|
|
25
|
+
export declare const Nav4SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type SkeletonNotificationButtonProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -16,11 +16,11 @@ export type SkeletonNotificationButtonProps = {
|
|
|
16
16
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
|
-
export declare const SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => JSX.Element;
|
|
19
|
+
export declare const SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => React.JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
* __Nav 4 skeleton notification button__
|
|
22
22
|
*
|
|
23
23
|
* A nav 4 skeleton notification button.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
export declare const Nav4SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => JSX.Element;
|
|
26
|
+
export declare const Nav4SkeletonNotificationButton: ({ label }: SkeletonNotificationButtonProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export type SkeletonSettingsButtonProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -16,10 +16,10 @@ export type SkeletonSettingsButtonProps = {
|
|
|
16
16
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
|
-
export declare const SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => JSX.Element;
|
|
19
|
+
export declare const SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => React.JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
* __Nav 4 skeleton settings button__
|
|
22
22
|
*
|
|
23
23
|
* A nav 4 skeleton settings button
|
|
24
24
|
*/
|
|
25
|
-
export declare const Nav4SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => JSX.Element;
|
|
25
|
+
export declare const Nav4SkeletonSettingsButton: ({ label }: SkeletonSettingsButtonProps) => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.2",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@atlaskit/analytics-namespaced-context": "^6.13.0",
|
|
49
|
-
"@atlaskit/button": "^20.
|
|
49
|
+
"@atlaskit/button": "^20.5.0",
|
|
50
50
|
"@atlaskit/ds-lib": "^3.5.0",
|
|
51
|
-
"@atlaskit/icon": "^23.
|
|
51
|
+
"@atlaskit/icon": "^23.7.0",
|
|
52
52
|
"@atlaskit/logo": "*",
|
|
53
53
|
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
54
54
|
"@atlaskit/popup": "^1.31.0",
|
|
55
55
|
"@atlaskit/primitives": "^13.4.0",
|
|
56
|
-
"@atlaskit/theme": "^
|
|
56
|
+
"@atlaskit/theme": "^15.0.0",
|
|
57
57
|
"@atlaskit/tokens": "^3.3.0",
|
|
58
58
|
"@atlaskit/tooltip": "^19.1.0",
|
|
59
59
|
"@atlaskit/width-detector": "^4.4.0",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"@atlaskit/spinner": "^17.1.0",
|
|
85
85
|
"@atlaskit/textfield": "^6.8.0",
|
|
86
86
|
"@atlaskit/visual-regression": "*",
|
|
87
|
-
"@atlassian/switcher": "^33.
|
|
88
|
-
"@atlassian/switcher-test-utils": "^3.
|
|
87
|
+
"@atlassian/switcher": "^33.7.0",
|
|
88
|
+
"@atlassian/switcher-test-utils": "^3.4.0",
|
|
89
89
|
"@testing-library/react": "^13.4.0",
|
|
90
90
|
"@testing-library/react-hooks": "^8.0.1",
|
|
91
91
|
"jest-emotion": "^10.0.32",
|