@atlaskit/atlassian-navigation 3.6.1 → 4.0.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 +725 -713
- package/afm-jira/tsconfig.json +58 -0
- package/dist/cjs/components/AtlassianNavigation/index.js +1 -0
- package/dist/cjs/components/AtlassianNavigation/skeleton.js +6 -5
- package/dist/cjs/components/Create/skeleton.js +1 -0
- package/dist/cjs/components/IconButton/skeleton.js +4 -1
- package/dist/cjs/components/PrimaryButton/index.js +1 -0
- package/dist/cjs/components/PrimaryButton/skeleton.js +4 -1
- package/dist/cjs/components/ProductHome/custom-product-home.js +9 -6
- package/dist/cjs/components/ProductHome/product-home.js +12 -18
- package/dist/cjs/components/ProductHome/skeleton.js +8 -4
- package/dist/cjs/components/Search/index.js +1 -0
- package/dist/cjs/components/Search/skeleton.js +1 -0
- package/dist/cjs/components/SkeletonCreateButton/index.js +2 -1
- package/dist/cjs/components/SkeletonIconButton/index.js +1 -0
- package/dist/cjs/components/SkeletonPrimaryButton/index.js +3 -1
- package/dist/cjs/theme/default-theme.js +1 -7
- package/dist/es2019/components/AtlassianNavigation/index.js +1 -0
- package/dist/es2019/components/AtlassianNavigation/skeleton.js +6 -5
- package/dist/es2019/components/Create/skeleton.js +1 -0
- package/dist/es2019/components/IconButton/skeleton.js +4 -1
- package/dist/es2019/components/PrimaryButton/index.js +1 -0
- package/dist/es2019/components/PrimaryButton/skeleton.js +4 -1
- package/dist/es2019/components/ProductHome/custom-product-home.js +9 -6
- package/dist/es2019/components/ProductHome/product-home.js +10 -14
- package/dist/es2019/components/ProductHome/skeleton.js +8 -4
- package/dist/es2019/components/Search/index.js +1 -0
- package/dist/es2019/components/Search/skeleton.js +1 -0
- package/dist/es2019/components/SkeletonCreateButton/index.js +2 -1
- package/dist/es2019/components/SkeletonIconButton/index.js +1 -0
- package/dist/es2019/components/SkeletonPrimaryButton/index.js +3 -1
- package/dist/es2019/theme/default-theme.js +1 -7
- package/dist/esm/components/AtlassianNavigation/index.js +1 -0
- package/dist/esm/components/AtlassianNavigation/skeleton.js +6 -5
- package/dist/esm/components/Create/skeleton.js +1 -0
- package/dist/esm/components/IconButton/skeleton.js +4 -1
- package/dist/esm/components/PrimaryButton/index.js +1 -0
- package/dist/esm/components/PrimaryButton/skeleton.js +4 -1
- package/dist/esm/components/ProductHome/custom-product-home.js +9 -6
- package/dist/esm/components/ProductHome/product-home.js +12 -18
- package/dist/esm/components/ProductHome/skeleton.js +8 -4
- package/dist/esm/components/Search/index.js +1 -0
- package/dist/esm/components/Search/skeleton.js +1 -0
- package/dist/esm/components/SkeletonCreateButton/index.js +2 -1
- package/dist/esm/components/SkeletonIconButton/index.js +1 -0
- package/dist/esm/components/SkeletonPrimaryButton/index.js +3 -1
- package/dist/esm/theme/default-theme.js +1 -7
- package/dist/types/components/AppSwitcher/index.d.ts +1 -1
- package/dist/types/components/AppSwitcher/types.d.ts +1 -1
- package/dist/types/components/AtlassianNavigation/index.d.ts +1 -1
- package/dist/types/components/AtlassianNavigation/skeleton.d.ts +1 -1
- package/dist/types/components/AtlassianNavigation/types.d.ts +2 -2
- package/dist/types/components/BadgeContainer/index.d.ts +1 -1
- package/dist/types/components/BadgeContainer/types.d.ts +1 -1
- package/dist/types/components/Create/index.d.ts +1 -1
- package/dist/types/components/Create/styles.d.ts +2 -2
- package/dist/types/components/Create/types.d.ts +1 -1
- package/dist/types/components/Help/types.d.ts +2 -2
- package/dist/types/components/IconButton/skeleton.d.ts +1 -1
- package/dist/types/components/IconButton/styles.d.ts +2 -2
- package/dist/types/components/IconButton/types.d.ts +2 -5
- package/dist/types/components/Notifications/types.d.ts +2 -2
- package/dist/types/components/PrimaryButton/skeleton.d.ts +1 -1
- package/dist/types/components/PrimaryButton/styles.d.ts +2 -2
- package/dist/types/components/PrimaryButton/types.d.ts +4 -5
- package/dist/types/components/PrimaryDropdownButton/types.d.ts +1 -1
- package/dist/types/components/PrimaryItemsContainer/index.d.ts +2 -2
- package/dist/types/components/PrimaryItemsContainer/skeleton.d.ts +1 -1
- package/dist/types/components/PrimaryItemsContainer/types.d.ts +1 -1
- package/dist/types/components/PrimaryItemsContainerV2/index.d.ts +2 -2
- package/dist/types/components/ProductHome/custom-product-home.d.ts +1 -1
- package/dist/types/components/ProductHome/product-home.d.ts +1 -1
- package/dist/types/components/ProductHome/types.d.ts +2 -2
- package/dist/types/components/Profile/index.d.ts +1 -1
- package/dist/types/components/Profile/types.d.ts +1 -1
- package/dist/types/components/Search/index.d.ts +1 -1
- package/dist/types/components/Search/types.d.ts +1 -1
- package/dist/types/components/Settings/types.d.ts +1 -1
- package/dist/types/components/SignIn/index.d.ts +1 -1
- package/dist/types/components/SignIn/types.d.ts +1 -1
- package/dist/types/components/SkeletonCreateButton/index.d.ts +1 -1
- package/dist/types/components/SkeletonIconButton/index.d.ts +1 -1
- package/dist/types/components/SkeletonIconButton/types.d.ts +1 -1
- package/dist/types/components/SkeletonPrimaryButton/index.d.ts +1 -1
- package/dist/types/components/SkeletonPrimaryButton/types.d.ts +1 -1
- package/dist/types/controllers/overflow/index.d.ts +2 -2
- package/dist/types/controllers/overflow/types.d.ts +1 -1
- package/dist/types/theme/default-theme.d.ts +1 -1
- package/dist/types/theme/theme-generator.d.ts +1 -1
- package/dist/types/theme/themes.d.ts +1 -1
- package/dist/types/theme/types.d.ts +1 -3
- package/dist/types-ts4.5/components/AppSwitcher/index.d.ts +1 -1
- package/dist/types-ts4.5/components/AppSwitcher/types.d.ts +1 -1
- package/dist/types-ts4.5/components/AtlassianNavigation/index.d.ts +1 -1
- package/dist/types-ts4.5/components/AtlassianNavigation/skeleton.d.ts +1 -1
- package/dist/types-ts4.5/components/AtlassianNavigation/types.d.ts +2 -2
- package/dist/types-ts4.5/components/BadgeContainer/index.d.ts +1 -1
- package/dist/types-ts4.5/components/BadgeContainer/types.d.ts +1 -1
- package/dist/types-ts4.5/components/Create/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Create/styles.d.ts +2 -2
- package/dist/types-ts4.5/components/Create/types.d.ts +1 -1
- package/dist/types-ts4.5/components/Help/types.d.ts +2 -2
- package/dist/types-ts4.5/components/IconButton/skeleton.d.ts +1 -1
- package/dist/types-ts4.5/components/IconButton/styles.d.ts +2 -2
- package/dist/types-ts4.5/components/IconButton/types.d.ts +2 -5
- package/dist/types-ts4.5/components/Notifications/types.d.ts +2 -2
- package/dist/types-ts4.5/components/PrimaryButton/skeleton.d.ts +1 -1
- package/dist/types-ts4.5/components/PrimaryButton/styles.d.ts +2 -2
- package/dist/types-ts4.5/components/PrimaryButton/types.d.ts +4 -5
- package/dist/types-ts4.5/components/PrimaryDropdownButton/types.d.ts +1 -1
- package/dist/types-ts4.5/components/PrimaryItemsContainer/index.d.ts +2 -2
- package/dist/types-ts4.5/components/PrimaryItemsContainer/skeleton.d.ts +1 -1
- package/dist/types-ts4.5/components/PrimaryItemsContainer/types.d.ts +1 -1
- package/dist/types-ts4.5/components/PrimaryItemsContainerV2/index.d.ts +2 -2
- package/dist/types-ts4.5/components/ProductHome/custom-product-home.d.ts +1 -1
- package/dist/types-ts4.5/components/ProductHome/product-home.d.ts +1 -1
- package/dist/types-ts4.5/components/ProductHome/types.d.ts +2 -2
- package/dist/types-ts4.5/components/Profile/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Profile/types.d.ts +1 -1
- package/dist/types-ts4.5/components/Search/index.d.ts +1 -1
- package/dist/types-ts4.5/components/Search/types.d.ts +1 -1
- package/dist/types-ts4.5/components/Settings/types.d.ts +1 -1
- package/dist/types-ts4.5/components/SignIn/index.d.ts +1 -1
- package/dist/types-ts4.5/components/SignIn/types.d.ts +1 -1
- package/dist/types-ts4.5/components/SkeletonCreateButton/index.d.ts +1 -1
- package/dist/types-ts4.5/components/SkeletonIconButton/index.d.ts +1 -1
- package/dist/types-ts4.5/components/SkeletonIconButton/types.d.ts +1 -1
- package/dist/types-ts4.5/components/SkeletonPrimaryButton/index.d.ts +1 -1
- package/dist/types-ts4.5/components/SkeletonPrimaryButton/types.d.ts +1 -1
- package/dist/types-ts4.5/controllers/overflow/index.d.ts +2 -2
- package/dist/types-ts4.5/controllers/overflow/types.d.ts +1 -1
- package/dist/types-ts4.5/theme/default-theme.d.ts +1 -1
- package/dist/types-ts4.5/theme/theme-generator.d.ts +1 -1
- package/dist/types-ts4.5/theme/themes.d.ts +1 -1
- package/dist/types-ts4.5/theme/types.d.ts +1 -3
- package/package.json +10 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentType, MouseEvent } from 'react';
|
|
2
|
-
import { LogoProps } from '@atlaskit/logo';
|
|
1
|
+
import { type ComponentType, type MouseEvent } from 'react';
|
|
2
|
+
import { type LogoProps } from '@atlaskit/logo';
|
|
3
3
|
export interface ProductHomeProps {
|
|
4
4
|
/**
|
|
5
5
|
* The product icon.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IconButtonProps } from '../IconButton/types';
|
|
1
|
+
import { type IconButtonProps } from '../IconButton/types';
|
|
2
2
|
export type ProfileProps = IconButtonProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseIconButtonProps } from '../IconButton/types';
|
|
1
|
+
import { type BaseIconButtonProps } from '../IconButton/types';
|
|
2
2
|
export type SettingsProps = BaseIconButtonProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseIconButtonProps } from '../IconButton/types';
|
|
1
|
+
import { type BaseIconButtonProps } from '../IconButton/types';
|
|
2
2
|
export type SignInProps = BaseIconButtonProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
2
|
+
import React, { type ReactNode } from 'react';
|
|
3
3
|
import noop from '@atlaskit/ds-lib/noop';
|
|
4
|
-
import { OverflowProviderProps } from './types';
|
|
4
|
+
import { type OverflowProviderProps } from './types';
|
|
5
5
|
interface OverflowContext {
|
|
6
6
|
/**
|
|
7
7
|
* Returns `true` when the navigation item is visible,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSObject } from '@emotion/react';
|
|
1
|
+
import { type CSSObject } from '@emotion/react';
|
|
2
2
|
export type CSSProperties = CSSObject & {
|
|
3
3
|
backgroundColor: string;
|
|
4
4
|
color: string;
|
|
@@ -19,8 +19,6 @@ export type IconButtonCSS = ButtonCSSContext;
|
|
|
19
19
|
export type PrimaryButtonCSS = ButtonCSSContext;
|
|
20
20
|
export type NavigationCSS = CSSProperties;
|
|
21
21
|
type LogoStyleProps = {
|
|
22
|
-
iconGradientStart?: string;
|
|
23
|
-
iconGradientStop?: string;
|
|
24
22
|
iconColor?: string;
|
|
25
23
|
textColor?: string;
|
|
26
24
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseIconButtonProps } from '../IconButton/types';
|
|
1
|
+
import { type BaseIconButtonProps } from '../IconButton/types';
|
|
2
2
|
export type AppSwitcherProps = BaseIconButtonProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import { NavigationTheme } from '../../theme';
|
|
1
|
+
import { type default as React, type ReactNode, type ReactNodeArray } from 'react';
|
|
2
|
+
import { type NavigationTheme } from '../../theme';
|
|
3
3
|
export interface AtlassianNavigationProps {
|
|
4
4
|
/**
|
|
5
5
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ThemeProps, ThemeTokens } from '@atlaskit/button/types';
|
|
2
|
-
import { NavigationTheme } from '../../theme';
|
|
1
|
+
import { type ThemeProps, type ThemeTokens } from '@atlaskit/button/types';
|
|
2
|
+
import { type NavigationTheme } from '../../theme';
|
|
3
3
|
export declare const getCreateButtonTheme: ({ mode: { create } }: NavigationTheme) => (current: (props: ThemeProps) => ThemeTokens, props: ThemeProps) => ThemeTokens;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { BaseIconButtonProps } from '../IconButton/types';
|
|
1
|
+
import { type ComponentType } from 'react';
|
|
2
|
+
import { type BaseIconButtonProps } from '../IconButton/types';
|
|
3
3
|
export type HelpProps = BaseIconButtonProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Component to be used for the badge.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/react';
|
|
3
|
-
import { IconButtonSkeletonProps } from './types';
|
|
3
|
+
import { type IconButtonSkeletonProps } from './types';
|
|
4
4
|
export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) => jsx.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ThemeProps, ThemeTokens } from '@atlaskit/button/types';
|
|
2
|
-
import { NavigationTheme } from '../../theme';
|
|
1
|
+
import { type ThemeProps, type ThemeTokens } from '@atlaskit/button/types';
|
|
2
|
+
import { type NavigationTheme } from '../../theme';
|
|
3
3
|
export declare const getIconButtonTheme: ({ mode: { iconButton } }: NavigationTheme) => (current: (props: ThemeProps) => ThemeTokens, props: ThemeProps) => ThemeTokens;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CustomThemeButtonProps } from '@atlaskit/button/types';
|
|
2
|
+
import { type CustomThemeButtonProps } from '@atlaskit/button/types';
|
|
3
3
|
export type IconButtonProps = BaseIconButtonProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Icon for the button.
|
|
@@ -60,12 +60,9 @@ export interface BaseIconButtonProps {
|
|
|
60
60
|
target?: string;
|
|
61
61
|
/**
|
|
62
62
|
* Allows for overriding the component used to render the button.
|
|
63
|
-
*
|
|
64
63
|
* This is primarily intended for compatibility with custom
|
|
65
64
|
* routing libraries when using the `href` prop.
|
|
66
|
-
*
|
|
67
|
-
* For further usage information, refer to the [documentation for button](https://atlassian.design/components/button/code).
|
|
68
|
-
*
|
|
65
|
+
* For further usage information, refer to the [documentation for button](/components/button/code).
|
|
69
66
|
* @example
|
|
70
67
|
* ```tsx
|
|
71
68
|
* <Settings
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { BaseIconButtonProps } from '../IconButton/types';
|
|
1
|
+
import { type ComponentType } from 'react';
|
|
2
|
+
import { type BaseIconButtonProps } from '../IconButton/types';
|
|
3
3
|
export type NotificationsProps = BaseIconButtonProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Component to be used for the badge.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@emotion/react';
|
|
3
|
-
import { PrimaryButtonSkeletonProps } from './types';
|
|
3
|
+
import { type PrimaryButtonSkeletonProps } from './types';
|
|
4
4
|
export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) => jsx.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ThemeProps, ThemeTokens } from '@atlaskit/button/types';
|
|
2
|
-
import { NavigationTheme } from '../../theme';
|
|
1
|
+
import { type ThemeProps, type ThemeTokens } from '@atlaskit/button/types';
|
|
2
|
+
import { type NavigationTheme } from '../../theme';
|
|
3
3
|
export declare const getPrimaryButtonTheme: ({ mode: { primaryButton } }: NavigationTheme) => (current: (props: ThemeProps) => ThemeTokens, props: ThemeProps) => ThemeTokens;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { AllHTMLAttributes, ComponentType, ElementType } from 'react';
|
|
2
|
-
import { CustomThemeButtonProps } from '@atlaskit/button/types';
|
|
1
|
+
import { type AllHTMLAttributes, type ComponentType, type ElementType } from 'react';
|
|
2
|
+
import { type CustomThemeButtonProps } from '@atlaskit/button/types';
|
|
3
3
|
export type PrimaryButtonProps = Omit<CustomThemeButtonProps, 'appearance' | 'onClick'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Allows for overriding the component used to render the button.
|
|
6
|
-
*
|
|
7
|
-
* This is primarily intended for compatibility with custom
|
|
6
|
+
* This is primarily intended for compatibility with custom
|
|
8
7
|
* routing libraries when using the `href` prop.
|
|
9
8
|
*
|
|
10
|
-
*
|
|
9
|
+
* For further usage information, refer to the [documentation for button](https://atlassian.design/components/button/button-legacy/code).
|
|
11
10
|
*
|
|
12
11
|
* @example
|
|
13
12
|
* ```tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { PrimaryButtonProps } from '../PrimaryButton/types';
|
|
2
|
+
import { type PrimaryButtonProps } from '../PrimaryButton/types';
|
|
3
3
|
export type PrimaryDropdownButtonProps = Omit<PrimaryButtonProps, 'iconAfter'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Will set the appearance of the button to look highlighted.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
|
-
import { NavigationTheme } from '../../theme';
|
|
3
|
-
import { PrimaryItemsContainerProps } from './types';
|
|
2
|
+
import { type NavigationTheme } from '../../theme';
|
|
3
|
+
import { type PrimaryItemsContainerProps } from './types';
|
|
4
4
|
export declare const PrimaryItemsContainer: ({ moreLabel, items, create: Create, theme, testId, }: PrimaryItemsContainerProps & {
|
|
5
5
|
theme: NavigationTheme;
|
|
6
6
|
}) => jsx.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { jsx } from '@emotion/react';
|
|
3
|
-
import { PrimaryItemsContainerSkeletonProps } from './types';
|
|
3
|
+
import { type PrimaryItemsContainerSkeletonProps } from './types';
|
|
4
4
|
export declare const PrimaryItemsContainerSkeleton: import("react").MemoExoticComponent<({ count }: PrimaryItemsContainerSkeletonProps) => jsx.JSX.Element>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { NavigationTheme } from '../../theme';
|
|
3
|
-
import { PrimaryItemsContainerProps } from '../PrimaryItemsContainer/types';
|
|
2
|
+
import { type NavigationTheme } from '../../theme';
|
|
3
|
+
import { type PrimaryItemsContainerProps } from '../PrimaryItemsContainer/types';
|
|
4
4
|
export declare const PrimaryItemsContainer: React.MemoExoticComponent<({ moreLabel, items, create: Create, theme, testId, }: PrimaryItemsContainerProps & {
|
|
5
5
|
theme: NavigationTheme;
|
|
6
6
|
}) => JSX.Element>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentType, MouseEvent } from 'react';
|
|
2
|
-
import { LogoProps } from '@atlaskit/logo';
|
|
1
|
+
import { type ComponentType, type MouseEvent } from 'react';
|
|
2
|
+
import { type LogoProps } from '@atlaskit/logo';
|
|
3
3
|
export interface ProductHomeProps {
|
|
4
4
|
/**
|
|
5
5
|
* The product icon.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IconButtonProps } from '../IconButton/types';
|
|
1
|
+
import { type IconButtonProps } from '../IconButton/types';
|
|
2
2
|
export type ProfileProps = IconButtonProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseIconButtonProps } from '../IconButton/types';
|
|
1
|
+
import { type BaseIconButtonProps } from '../IconButton/types';
|
|
2
2
|
export type SettingsProps = BaseIconButtonProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseIconButtonProps } from '../IconButton/types';
|
|
1
|
+
import { type BaseIconButtonProps } from '../IconButton/types';
|
|
2
2
|
export type SignInProps = BaseIconButtonProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
2
|
+
import React, { type ReactNode } from 'react';
|
|
3
3
|
import noop from '@atlaskit/ds-lib/noop';
|
|
4
|
-
import { OverflowProviderProps } from './types';
|
|
4
|
+
import { type OverflowProviderProps } from './types';
|
|
5
5
|
interface OverflowContext {
|
|
6
6
|
/**
|
|
7
7
|
* Returns `true` when the navigation item is visible,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSObject } from '@emotion/react';
|
|
1
|
+
import { type CSSObject } from '@emotion/react';
|
|
2
2
|
export type CSSProperties = CSSObject & {
|
|
3
3
|
backgroundColor: string;
|
|
4
4
|
color: string;
|
|
@@ -19,8 +19,6 @@ export type IconButtonCSS = ButtonCSSContext;
|
|
|
19
19
|
export type PrimaryButtonCSS = ButtonCSSContext;
|
|
20
20
|
export type NavigationCSS = CSSProperties;
|
|
21
21
|
type LogoStyleProps = {
|
|
22
|
-
iconGradientStart?: string;
|
|
23
|
-
iconGradientStop?: string;
|
|
24
22
|
iconColor?: string;
|
|
25
23
|
textColor?: string;
|
|
26
24
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|
|
47
|
-
"@atlaskit/button": "^17.
|
|
47
|
+
"@atlaskit/button": "^17.17.0",
|
|
48
48
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
49
|
-
"@atlaskit/icon": "^22.
|
|
49
|
+
"@atlaskit/icon": "^22.3.0",
|
|
50
50
|
"@atlaskit/logo": "*",
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
52
|
-
"@atlaskit/popup": "^1.
|
|
53
|
-
"@atlaskit/primitives": "^
|
|
54
|
-
"@atlaskit/theme": "^12.
|
|
55
|
-
"@atlaskit/tokens": "^1.
|
|
56
|
-
"@atlaskit/tooltip": "^18.
|
|
57
|
-
"@atlaskit/width-detector": "^4.
|
|
52
|
+
"@atlaskit/popup": "^1.17.0",
|
|
53
|
+
"@atlaskit/primitives": "^7.0.0",
|
|
54
|
+
"@atlaskit/theme": "^12.9.0",
|
|
55
|
+
"@atlaskit/tokens": "^1.49.0",
|
|
56
|
+
"@atlaskit/tooltip": "^18.4.0",
|
|
57
|
+
"@atlaskit/width-detector": "^4.2.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0",
|
|
59
59
|
"@emotion/react": "^11.7.1",
|
|
60
60
|
"chromatism": "^2.6.0",
|
|
@@ -66,11 +66,10 @@
|
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@af/accessibility-testing": "*",
|
|
68
68
|
"@af/visual-regression": "*",
|
|
69
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
69
|
+
"@atlaskit/dropdown-menu": "^12.11.0",
|
|
70
70
|
"@atlaskit/notification-indicator": "*",
|
|
71
71
|
"@atlaskit/notification-log-client": "*",
|
|
72
72
|
"@atlaskit/visual-regression": "*",
|
|
73
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
74
73
|
"@atlassian/feature-flags-test-utils": "^0.2.0",
|
|
75
74
|
"@testing-library/react": "^12.1.5",
|
|
76
75
|
"@testing-library/react-hooks": "^8.0.1",
|
|
@@ -102,13 +101,9 @@
|
|
|
102
101
|
}
|
|
103
102
|
},
|
|
104
103
|
"homepage": "https://atlassian.design/components/atlassian-navigation/",
|
|
105
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
|
|
106
104
|
"platform-feature-flags": {
|
|
107
105
|
"platform.design-system-team.navigation-v2-no-jank_5yhbd": {
|
|
108
106
|
"type": "boolean"
|
|
109
|
-
},
|
|
110
|
-
"platform.design-system-team.brand-refresh-update-product-logos_q7coo": {
|
|
111
|
-
"type": "boolean"
|
|
112
107
|
}
|
|
113
108
|
}
|
|
114
109
|
}
|