@atlaskit/navigation-system 4.0.0 → 4.1.0
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 +11 -0
- package/dist/types/ui/top-nav-items/nav-logo/custom-logo.d.ts +2 -3
- package/dist/types/ui/top-nav-items/nav-logo/logo-renderer.d.ts +1 -2
- package/dist/types-ts4.5/ui/top-nav-items/nav-logo/custom-logo.d.ts +2 -3
- package/dist/types-ts4.5/ui/top-nav-items/nav-logo/logo-renderer.d.ts +1 -2
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlassian/navigation-system
|
|
2
2
|
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d55bbfc88149b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d55bbfc88149b) -
|
|
8
|
+
Removes type support for `@atlaskit/temp-nav-app-icons` package
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 4.0.0
|
|
4
15
|
|
|
5
16
|
### Major Changes
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { LogoProps } from '@atlaskit/logo';
|
|
7
|
-
import type { IconProps as TempIconProps, LogoProps as TempLogoProps } from '@atlaskit/temp-nav-app-icons/types';
|
|
8
7
|
/**
|
|
9
8
|
* __Custom logo__
|
|
10
9
|
*
|
|
@@ -25,11 +24,11 @@ export declare const CustomLogo: ({ href, logo, icon, onClick, label, }: {
|
|
|
25
24
|
/**
|
|
26
25
|
* The logo component to render. It will be used for large viewports.
|
|
27
26
|
*/
|
|
28
|
-
logo: (
|
|
27
|
+
logo: (props: LogoProps) => JSX.Element;
|
|
29
28
|
/**
|
|
30
29
|
* The icon component to render. It will be used for small viewports.
|
|
31
30
|
*/
|
|
32
|
-
icon: (
|
|
31
|
+
icon: (props: LogoProps) => JSX.Element;
|
|
33
32
|
/**
|
|
34
33
|
* Handler called on click.
|
|
35
34
|
*/
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { LogoProps } from '@atlaskit/logo';
|
|
7
|
-
import type { IconProps as TempIconProps, LogoProps as TempLogoProps } from '@atlaskit/temp-nav-app-icons/types';
|
|
8
7
|
export declare const themedLogoIcon = "--ds-top-bar-logo-icon";
|
|
9
8
|
export declare const themedLogoText = "--ds-top-bar-logo-text";
|
|
10
9
|
export declare function LogoRenderer({ logoOrIcon, shouldUseNewLogoDesign, }: React.ComponentProps<typeof LogoRendererNoMemo>): JSX.Element;
|
|
11
10
|
declare function LogoRendererNoMemo({ logoOrIcon: LogoOrIcon, shouldUseNewLogoDesign, }: {
|
|
12
|
-
logoOrIcon: (
|
|
11
|
+
logoOrIcon: (props: LogoProps) => JSX.Element;
|
|
13
12
|
shouldUseNewLogoDesign?: boolean;
|
|
14
13
|
}): JSX.Element;
|
|
15
14
|
export {};
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { LogoProps } from '@atlaskit/logo';
|
|
7
|
-
import type { IconProps as TempIconProps, LogoProps as TempLogoProps } from '@atlaskit/temp-nav-app-icons/types';
|
|
8
7
|
/**
|
|
9
8
|
* __Custom logo__
|
|
10
9
|
*
|
|
@@ -25,11 +24,11 @@ export declare const CustomLogo: ({ href, logo, icon, onClick, label, }: {
|
|
|
25
24
|
/**
|
|
26
25
|
* The logo component to render. It will be used for large viewports.
|
|
27
26
|
*/
|
|
28
|
-
logo: (
|
|
27
|
+
logo: (props: LogoProps) => JSX.Element;
|
|
29
28
|
/**
|
|
30
29
|
* The icon component to render. It will be used for small viewports.
|
|
31
30
|
*/
|
|
32
|
-
icon: (
|
|
31
|
+
icon: (props: LogoProps) => JSX.Element;
|
|
33
32
|
/**
|
|
34
33
|
* Handler called on click.
|
|
35
34
|
*/
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { LogoProps } from '@atlaskit/logo';
|
|
7
|
-
import type { IconProps as TempIconProps, LogoProps as TempLogoProps } from '@atlaskit/temp-nav-app-icons/types';
|
|
8
7
|
export declare const themedLogoIcon = "--ds-top-bar-logo-icon";
|
|
9
8
|
export declare const themedLogoText = "--ds-top-bar-logo-text";
|
|
10
9
|
export declare function LogoRenderer({ logoOrIcon, shouldUseNewLogoDesign, }: React.ComponentProps<typeof LogoRendererNoMemo>): JSX.Element;
|
|
11
10
|
declare function LogoRendererNoMemo({ logoOrIcon: LogoOrIcon, shouldUseNewLogoDesign, }: {
|
|
12
|
-
logoOrIcon: (
|
|
11
|
+
logoOrIcon: (props: LogoProps) => JSX.Element;
|
|
13
12
|
shouldUseNewLogoDesign?: boolean;
|
|
14
13
|
}): JSX.Element;
|
|
15
14
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/navigation-system",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "The latest navigation system for Atlassian apps.",
|
|
5
5
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
6
6
|
"author": "Atlassian Pty Ltd",
|
|
@@ -113,7 +113,6 @@
|
|
|
113
113
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
114
114
|
"@atlaskit/select": "^21.3.0",
|
|
115
115
|
"@atlaskit/skeleton": "^2.1.0",
|
|
116
|
-
"@atlaskit/temp-nav-app-icons": "^0.14.0",
|
|
117
116
|
"@atlaskit/textfield": "^8.0.0",
|
|
118
117
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
119
118
|
"@atlassian/gemini": "^1.20.0",
|