@atlaskit/atlassian-navigation 5.7.4 → 6.0.1
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 +35 -0
- package/afm-cc/tsconfig.json +3 -0
- package/afm-products/tsconfig.json +3 -0
- package/app-switcher/package.json +1 -8
- package/app-switcher/types/package.json +1 -8
- package/atlassian-navigation/package.json +1 -8
- package/constants/package.json +1 -8
- package/create/package.json +1 -8
- package/create/types/package.json +1 -8
- package/custom-product-home/package.json +1 -8
- package/dist/cjs/components/AppSwitcher/index.js +1 -0
- package/dist/cjs/components/ProductHome/product-home.js +0 -1
- package/dist/cjs/components/Profile/index.js +1 -0
- package/dist/cjs/controllers/overflow/index.js +4 -0
- package/dist/cjs/theme/theme-helpers.js +6 -0
- package/dist/es2019/components/AppSwitcher/index.js +1 -0
- package/dist/es2019/components/ProductHome/product-home.js +0 -3
- package/dist/es2019/components/Profile/index.js +1 -0
- package/dist/es2019/controllers/overflow/index.js +4 -0
- package/dist/es2019/theme/theme-helpers.js +6 -0
- package/dist/esm/components/AppSwitcher/index.js +1 -0
- package/dist/esm/components/ProductHome/product-home.js +0 -3
- package/dist/esm/components/Profile/index.js +1 -0
- package/dist/esm/controllers/overflow/index.js +4 -0
- package/dist/esm/theme/theme-helpers.js +6 -0
- package/help/package.json +1 -8
- package/help/types/package.json +1 -8
- package/icon-button/package.json +1 -8
- package/icon-button/types/package.json +1 -8
- package/notifications/package.json +1 -8
- package/notifications/types/package.json +1 -8
- package/overflow/package.json +1 -8
- package/package.json +29 -37
- package/primary-button/package.json +1 -8
- package/primary-button/types/package.json +1 -8
- package/primary-dropdown-button/package.json +1 -8
- package/primary-dropdown-button/types/package.json +1 -8
- package/product-home/package.json +1 -8
- package/product-home/types/package.json +1 -8
- package/profile/package.json +1 -8
- package/profile/types/package.json +1 -8
- package/search/package.json +1 -8
- package/search/types/package.json +1 -8
- package/settings/package.json +1 -8
- package/settings/types/package.json +1 -8
- package/sign-in/package.json +1 -8
- package/sign-in/types/package.json +1 -8
- package/skeleton/package.json +1 -8
- package/skeleton-base/package.json +1 -8
- package/skeleton-base/types/package.json +1 -8
- package/skeleton-create-button/package.json +1 -8
- package/skeleton-create-button/types/package.json +1 -8
- package/skeleton-help-button/package.json +1 -8
- package/skeleton-icon-button/package.json +1 -8
- package/skeleton-icon-button/types/package.json +1 -8
- package/skeleton-notification-button/package.json +1 -8
- package/skeleton-primary-button/package.json +1 -8
- package/skeleton-primary-button/types/package.json +1 -8
- package/skeleton-settings-button/package.json +1 -8
- package/skeleton-switcher-button/package.json +1 -8
- package/theme/types/package.json +1 -8
- package/theme-generator/package.json +1 -8
- package/theme-provider/package.json +1 -8
- package/themes/package.json +1 -8
- package/types/package.json +1 -8
- package/dist/types-ts4.5/common/action-section-desktop-css.d.ts +0 -5
- package/dist/types-ts4.5/common/action-section-mobile-css.d.ts +0 -5
- package/dist/types-ts4.5/common/constants.d.ts +0 -11
- package/dist/types-ts4.5/common/styles.d.ts +0 -2
- package/dist/types-ts4.5/components/AppSwitcher/app-switcher-nav4.d.ts +0 -6
- package/dist/types-ts4.5/components/AppSwitcher/app-switcher.d.ts +0 -14
- package/dist/types-ts4.5/components/AppSwitcher/index.d.ts +0 -3
- package/dist/types-ts4.5/components/AppSwitcher/types.d.ts +0 -5
- package/dist/types-ts4.5/components/AtlassianNavigation/index.d.ts +0 -17
- package/dist/types-ts4.5/components/AtlassianNavigation/skeleton.d.ts +0 -22
- package/dist/types-ts4.5/components/AtlassianNavigation/types.d.ts +0 -121
- package/dist/types-ts4.5/components/BadgeContainer/index.d.ts +0 -7
- package/dist/types-ts4.5/components/BadgeContainer/types.d.ts +0 -10
- package/dist/types-ts4.5/components/Create/index.d.ts +0 -18
- package/dist/types-ts4.5/components/Create/styles.d.ts +0 -3
- package/dist/types-ts4.5/components/Create/types.d.ts +0 -39
- package/dist/types-ts4.5/components/Help/index.d.ts +0 -13
- package/dist/types-ts4.5/components/Help/types.d.ts +0 -9
- package/dist/types-ts4.5/components/IconButton/index.d.ts +0 -13
- package/dist/types-ts4.5/components/IconButton/skeleton.d.ts +0 -7
- package/dist/types-ts4.5/components/IconButton/styles.d.ts +0 -3
- package/dist/types-ts4.5/components/IconButton/types.d.ts +0 -104
- package/dist/types-ts4.5/components/Notifications/index.d.ts +0 -14
- package/dist/types-ts4.5/components/Notifications/types.d.ts +0 -9
- package/dist/types-ts4.5/components/PrimaryButton/index.d.ts +0 -13
- package/dist/types-ts4.5/components/PrimaryButton/skeleton.d.ts +0 -7
- package/dist/types-ts4.5/components/PrimaryButton/styles.d.ts +0 -3
- package/dist/types-ts4.5/components/PrimaryButton/types.d.ts +0 -51
- package/dist/types-ts4.5/components/PrimaryDropdownButton/index.d.ts +0 -13
- package/dist/types-ts4.5/components/PrimaryDropdownButton/types.d.ts +0 -17
- package/dist/types-ts4.5/components/PrimaryItemsContainer/index.d.ts +0 -10
- package/dist/types-ts4.5/components/PrimaryItemsContainer/skeleton.d.ts +0 -7
- package/dist/types-ts4.5/components/PrimaryItemsContainer/types.d.ts +0 -10
- package/dist/types-ts4.5/components/ProductHome/app-home.d.ts +0 -20
- package/dist/types-ts4.5/components/ProductHome/custom-product-home.d.ts +0 -18
- package/dist/types-ts4.5/components/ProductHome/index.d.ts +0 -2
- package/dist/types-ts4.5/components/ProductHome/product-home.d.ts +0 -22
- package/dist/types-ts4.5/components/ProductHome/skeleton.d.ts +0 -8
- package/dist/types-ts4.5/components/ProductHome/types.d.ts +0 -154
- package/dist/types-ts4.5/components/ProductHome/utils.d.ts +0 -1
- package/dist/types-ts4.5/components/Profile/index.d.ts +0 -16
- package/dist/types-ts4.5/components/Profile/profile.d.ts +0 -14
- package/dist/types-ts4.5/components/Profile/skeleton.d.ts +0 -2
- package/dist/types-ts4.5/components/Profile/types.d.ts +0 -5
- package/dist/types-ts4.5/components/Search/index.d.ts +0 -17
- package/dist/types-ts4.5/components/Search/skeleton.d.ts +0 -6
- package/dist/types-ts4.5/components/Search/types.d.ts +0 -19
- package/dist/types-ts4.5/components/Settings/index.d.ts +0 -13
- package/dist/types-ts4.5/components/Settings/types.d.ts +0 -5
- package/dist/types-ts4.5/components/SignIn/index.d.ts +0 -13
- package/dist/types-ts4.5/components/SignIn/skeleton.d.ts +0 -2
- package/dist/types-ts4.5/components/SignIn/types.d.ts +0 -5
- package/dist/types-ts4.5/components/SkeletonCreateButton/index.d.ts +0 -17
- package/dist/types-ts4.5/components/SkeletonCreateButton/types.d.ts +0 -15
- package/dist/types-ts4.5/components/SkeletonIconButton/index.d.ts +0 -17
- package/dist/types-ts4.5/components/SkeletonIconButton/types.d.ts +0 -21
- package/dist/types-ts4.5/components/SkeletonPrimaryButton/index.d.ts +0 -17
- package/dist/types-ts4.5/components/SkeletonPrimaryButton/types.d.ts +0 -28
- package/dist/types-ts4.5/controllers/overflow/index.d.ts +0 -37
- package/dist/types-ts4.5/controllers/overflow/overflow-context.d.ts +0 -17
- package/dist/types-ts4.5/controllers/overflow/overflow-provider.d.ts +0 -3
- package/dist/types-ts4.5/controllers/overflow/types.d.ts +0 -7
- package/dist/types-ts4.5/controllers/overflow/use-overflow-controller.d.ts +0 -7
- package/dist/types-ts4.5/controllers/overflow/use-overflow-status.d.ts +0 -11
- package/dist/types-ts4.5/entry-points/app-switcher-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/app-switcher.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/atlassian-navigation.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/constants.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/create-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/create.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/custom-product-home.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/help-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/help.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/icon-button-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/icon-button.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/notifications-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/notifications.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/overflow.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primary-button-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primary-button.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primary-dropdown-button-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primary-dropdown-button.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/product-home-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/product-home.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/profile-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/profile.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/search-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/search.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/settings-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/settings.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/sign-in-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/sign-in.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/skeleton-base-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/skeleton-base.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/skeleton-create-button-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/skeleton-create-button.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/skeleton-help-button.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/skeleton-icon-button-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/skeleton-icon-button.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/skeleton-notification-button.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/skeleton-primary-button-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/skeleton-primary-button.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/skeleton-settings-button.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/skeleton-switcher-button.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/theme-generator.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/theme-provider.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/theme-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/themes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -36
- package/dist/types-ts4.5/nav4-skeleton-help-button.d.ts +0 -8
- package/dist/types-ts4.5/nav4-skeleton-notification-button.d.ts +0 -9
- package/dist/types-ts4.5/nav4-skeleton-settings-button.d.ts +0 -8
- package/dist/types-ts4.5/nav4-skeleton-switcher-button.d.ts +0 -8
- package/dist/types-ts4.5/skeleton-help-button.d.ts +0 -19
- package/dist/types-ts4.5/skeleton-notification-button.d.ts +0 -20
- package/dist/types-ts4.5/skeleton-settings-button.d.ts +0 -20
- package/dist/types-ts4.5/skeleton-switcher-button.d.ts +0 -35
- package/dist/types-ts4.5/skeleton.d.ts +0 -5
- package/dist/types-ts4.5/theme/atlassian-theme.d.ts +0 -5
- package/dist/types-ts4.5/theme/convert-hex-shorthand.d.ts +0 -1
- package/dist/types-ts4.5/theme/default-theme-brand-refresh.d.ts +0 -1
- package/dist/types-ts4.5/theme/default-theme.d.ts +0 -6
- package/dist/types-ts4.5/theme/generate-text-color.d.ts +0 -1
- package/dist/types-ts4.5/theme/get-box-shadow.d.ts +0 -1
- package/dist/types-ts4.5/theme/get-contrast-color.d.ts +0 -1
- package/dist/types-ts4.5/theme/hex-to-rgba.d.ts +0 -1
- package/dist/types-ts4.5/theme/index.d.ts +0 -6
- package/dist/types-ts4.5/theme/theme-context.d.ts +0 -3
- package/dist/types-ts4.5/theme/theme-generator.d.ts +0 -7
- package/dist/types-ts4.5/theme/theme-helpers.d.ts +0 -5
- package/dist/types-ts4.5/theme/theme-provider.d.ts +0 -11
- package/dist/types-ts4.5/theme/themes.d.ts +0 -6
- package/dist/types-ts4.5/theme/types.d.ts +0 -97
- package/dist/types-ts4.5/theme/use-theme.d.ts +0 -2
- package/dist/types-ts4.5/utils.d.ts +0 -10
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type ProfileProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* __Profile__
|
|
5
|
-
*
|
|
6
|
-
* A profile button which takes an icon/avatar component can be that can be
|
|
7
|
-
* passed into `AtlassianNavigation`'s `renderProfile` prop.
|
|
8
|
-
*
|
|
9
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#profile)
|
|
10
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
11
|
-
*
|
|
12
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
13
|
-
*/
|
|
14
|
-
export declare const Profile: React.ForwardRefExoticComponent<React.PropsWithoutRef<ProfileProps> & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { type SearchProps } from './types';
|
|
7
|
-
/**
|
|
8
|
-
* __Search__
|
|
9
|
-
*
|
|
10
|
-
* A search input that can be passed into `AtlassianNavigation`'s `renderSearch` prop.
|
|
11
|
-
*
|
|
12
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#search)
|
|
13
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
14
|
-
*
|
|
15
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
16
|
-
*/
|
|
17
|
-
export declare const Search: (props: SearchProps) => React.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type BaseIconButtonProps } from '../IconButton/types';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
4
|
-
*/
|
|
5
|
-
export type SearchProps = BaseIconButtonProps & {
|
|
6
|
-
/**
|
|
7
|
-
* Placeholder text for the search textbox.
|
|
8
|
-
*/
|
|
9
|
-
placeholder: string;
|
|
10
|
-
/**
|
|
11
|
-
* Used to describe the search icon and text field for people viewing the
|
|
12
|
-
* page with a screen reader.
|
|
13
|
-
*/
|
|
14
|
-
label: string;
|
|
15
|
-
/**
|
|
16
|
-
* Value of search field.
|
|
17
|
-
*/
|
|
18
|
-
value?: string;
|
|
19
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type SettingsProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* __Settings__
|
|
5
|
-
*
|
|
6
|
-
* A settings button that can be passed into `AtlassianNavigation`'s `renderSettings` prop.
|
|
7
|
-
*
|
|
8
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#settings)
|
|
9
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
|
-
*
|
|
11
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
12
|
-
*/
|
|
13
|
-
export declare const Settings: React.ForwardRefExoticComponent<React.PropsWithoutRef<SettingsProps> & React.RefAttributes<any>>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type SignInProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* __Sign in__
|
|
5
|
-
*
|
|
6
|
-
* A sign-in button that can be passed into `AtlassianNavigation`'s `renderSignIn` prop.
|
|
7
|
-
*
|
|
8
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#sign-in)
|
|
9
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
|
-
*
|
|
11
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
12
|
-
*/
|
|
13
|
-
export declare const SignIn: (props: SignInProps) => React.JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { type SkeletonCreateButtonProps } from './types';
|
|
7
|
-
/**
|
|
8
|
-
* __Skeleton create button__
|
|
9
|
-
*
|
|
10
|
-
* Skeleton buttons are lightweight HTML button elements with CSS that represent
|
|
11
|
-
* their heavier interactive counterparts, for use when elements of the
|
|
12
|
-
* navigation are loaded dynamically. This one represents the Create button.
|
|
13
|
-
*
|
|
14
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
15
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
16
|
-
*/
|
|
17
|
-
export declare const SkeletonCreateButton: ({ text, testId, }: SkeletonCreateButtonProps) => React.JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
3
|
-
*/
|
|
4
|
-
export type SkeletonCreateButtonProps = {
|
|
5
|
-
/**
|
|
6
|
-
* Text to be displayed inside the skeleton create button.
|
|
7
|
-
*/
|
|
8
|
-
text: string;
|
|
9
|
-
/**
|
|
10
|
-
* A `testId` prop is provided for specified elements,
|
|
11
|
-
* which is a unique string that appears as a data attribute `data-testid` in the rendered code,
|
|
12
|
-
* serving as a hook for automated tests.
|
|
13
|
-
*/
|
|
14
|
-
testId?: string;
|
|
15
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { type SkeletonIconButtonProps } from './types';
|
|
7
|
-
/**
|
|
8
|
-
* __Skeleton icon button__
|
|
9
|
-
*
|
|
10
|
-
* Skeleton buttons are lightweight HTML button elements with CSS that represent
|
|
11
|
-
* their heavier interactive counterparts, for use when elements of the
|
|
12
|
-
* navigation are loaded dynamically. This one represents a generic icon button.
|
|
13
|
-
*
|
|
14
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
15
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
16
|
-
*/
|
|
17
|
-
export declare const SkeletonIconButton: ({ children, testId, }: SkeletonIconButtonProps) => React.JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
4
|
-
*/
|
|
5
|
-
export type SkeletonIconButtonProps = {
|
|
6
|
-
/**
|
|
7
|
-
* Content to be placed inside the skeleton.
|
|
8
|
-
*/
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* A `testId` prop is provided for specified elements,
|
|
12
|
-
* which is a unique string that appears as a data attribute `data-testid` in the rendered code,
|
|
13
|
-
* serving as a hook for automated tests.
|
|
14
|
-
*/
|
|
15
|
-
testId?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
18
|
-
* reader. Differentiates from other navigation buttons on a page.
|
|
19
|
-
*/
|
|
20
|
-
label?: string;
|
|
21
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { type SkeletonPrimaryButtonProps } from './types';
|
|
7
|
-
/**
|
|
8
|
-
* __Skeleton primary button__
|
|
9
|
-
*
|
|
10
|
-
* Skeleton buttons are lightweight HTML button elements with CSS that represent
|
|
11
|
-
* their heavier interactive counterparts, for use when elements of the
|
|
12
|
-
* navigation are loaded dynamically. This one represents a primary button.
|
|
13
|
-
*
|
|
14
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
15
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
16
|
-
*/
|
|
17
|
-
export declare const SkeletonPrimaryButton: ({ isDropdownButton, isHighlighted, text, children, testId, }: SkeletonPrimaryButtonProps) => React.JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
4
|
-
*/
|
|
5
|
-
export type SkeletonPrimaryButtonProps = {
|
|
6
|
-
/**
|
|
7
|
-
* Text content to be displayed inside the skeleton button.
|
|
8
|
-
*/
|
|
9
|
-
text?: ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* Children to be displayed inside the skeleton button.
|
|
12
|
-
* Renders if `text` prop not set
|
|
13
|
-
*/
|
|
14
|
-
children?: ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the appearance of the skeleton button to look like a dropdown button.
|
|
17
|
-
*/
|
|
18
|
-
isDropdownButton?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the appearance of the skeleton button to look highlighted.
|
|
21
|
-
*/
|
|
22
|
-
isHighlighted?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* A unique string that appears as a data attribute `data-testid` in the rendered code,
|
|
25
|
-
* serving as a hook for automated tests.
|
|
26
|
-
*/
|
|
27
|
-
testId?: string;
|
|
28
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type { DebouncedFuncLeading } from 'lodash';
|
|
3
|
-
import { type OverflowProviderProps } from './types';
|
|
4
|
-
interface OverflowContext {
|
|
5
|
-
/**
|
|
6
|
-
* Returns `true` when the navigation item is visible,
|
|
7
|
-
* and `false` when the navigation item has been pushed into the overflow menu.
|
|
8
|
-
*/
|
|
9
|
-
isVisible: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Method that can be used to programmatically open the overflow menu
|
|
12
|
-
*/
|
|
13
|
-
openOverflowMenu: () => void;
|
|
14
|
-
/**
|
|
15
|
-
* Method that can be used to programmatically close the overflow menu
|
|
16
|
-
*/
|
|
17
|
-
closeOverflowMenu: () => void;
|
|
18
|
-
}
|
|
19
|
-
declare const OverflowContext: React.Context<OverflowContext>;
|
|
20
|
-
export declare const OverflowProvider: ({ children, isVisible, openOverflowMenu, closeOverflowMenu, }: OverflowProviderProps) => React.JSX.Element;
|
|
21
|
-
/**
|
|
22
|
-
* __useOverFlowStatus__
|
|
23
|
-
*
|
|
24
|
-
* Returns the current context value for the nearest OverflowProvider.
|
|
25
|
-
*
|
|
26
|
-
* - [Example](https://atlassian.design/components/atlassian-navigation/examples#responsive)
|
|
27
|
-
*
|
|
28
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
29
|
-
*/
|
|
30
|
-
export declare const useOverflowStatus: () => OverflowContext;
|
|
31
|
-
export declare const useOverflowController: (nodes: ReactNode | ReactNode[]) => {
|
|
32
|
-
visibleItems: ReactNode[];
|
|
33
|
-
overflowItems: ReactNode[];
|
|
34
|
-
updateWidth: DebouncedFuncLeading<React.Dispatch<React.SetStateAction<number>>>;
|
|
35
|
-
};
|
|
36
|
-
declare const _default: (_props: OverflowContext) => void;
|
|
37
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface OverflowContext {
|
|
3
|
-
/**
|
|
4
|
-
* Returns `true` when the navigation item is visible,
|
|
5
|
-
* and `false` when the navigation item has been pushed into the overflow menu.
|
|
6
|
-
*/
|
|
7
|
-
isVisible: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Method that can be used to programmatically open the overflow menu
|
|
10
|
-
*/
|
|
11
|
-
openOverflowMenu: () => void;
|
|
12
|
-
/**
|
|
13
|
-
* Method that can be used to programmatically close the overflow menu
|
|
14
|
-
*/
|
|
15
|
-
closeOverflowMenu: () => void;
|
|
16
|
-
}
|
|
17
|
-
export declare const OverflowContext: React.Context<OverflowContext>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type { DebouncedFuncLeading } from 'lodash';
|
|
3
|
-
export declare const useOverflowController: (nodes: ReactNode | ReactNode[]) => {
|
|
4
|
-
visibleItems: ReactNode[];
|
|
5
|
-
overflowItems: ReactNode[];
|
|
6
|
-
updateWidth: DebouncedFuncLeading<React.Dispatch<React.SetStateAction<number>>>;
|
|
7
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { OverflowContext } from './overflow-context';
|
|
2
|
-
/**
|
|
3
|
-
* __useOverFlowStatus__
|
|
4
|
-
*
|
|
5
|
-
* Returns the current context value for the nearest OverflowProvider.
|
|
6
|
-
*
|
|
7
|
-
* - [Example](https://atlassian.design/components/atlassian-navigation/examples#responsive)
|
|
8
|
-
*
|
|
9
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
10
|
-
*/
|
|
11
|
-
export declare const useOverflowStatus: () => OverflowContext;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { AppSwitcherProps } from '../components/AppSwitcher/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AtlassianNavigation } from '../components/AtlassianNavigation/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { HORIZONTAL_GLOBAL_NAV_HEIGHT } from '../common/constants';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { CreateProps } from '../components/Create/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Create } from '../components/Create/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as CustomProductHome } from '../components/ProductHome/custom-product-home';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { HelpProps } from '../components/Help/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Help } from '../components/Help/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { IconButtonProps, BaseIconButtonProps } from '../components/IconButton/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IconButton } from '../components/IconButton/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { NotificationsProps } from '../components/Notifications/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Notifications } from '../components/Notifications/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useOverflowStatus } from '../controllers/overflow/use-overflow-status';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { PrimaryButtonProps } from '../components/PrimaryButton/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PrimaryButton } from '../components/PrimaryButton/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { PrimaryDropdownButtonProps } from '../components/PrimaryDropdownButton/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PrimaryDropdownButton } from '../components/PrimaryDropdownButton/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { CustomProductHomeProps, ProductHomeProps, AppHomeProps, } from '../components/ProductHome/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ProductHome, AppHome } from '../components/ProductHome/product-home';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { ProfileProps } from '../components/Profile/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Profile } from '../components/Profile/profile';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { SearchProps } from '../components/Search/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Search } from '../components/Search/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { SettingsProps } from '../components/Settings/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Settings } from '../components/Settings/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { SignInProps } from '../components/SignIn/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SignIn } from '../components/SignIn/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { NavigationSkeletonProps } from '../components/AtlassianNavigation/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NavigationSkeleton } from '../components/AtlassianNavigation/skeleton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { SkeletonCreateButtonProps } from '../components/SkeletonCreateButton/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SkeletonCreateButton } from '../components/SkeletonCreateButton/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { SkeletonIconButtonProps } from '../components/SkeletonIconButton/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SkeletonIconButton } from '../components/SkeletonIconButton/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { SkeletonPrimaryButtonProps } from '../components/SkeletonPrimaryButton/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SkeletonPrimaryButton } from '../components/SkeletonPrimaryButton/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { generateTheme } from '../theme/theme-generator';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ThemeProvider } from '../theme/theme-provider';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { Colors, CreateCSS, GenerateThemeArgs, IconButtonCSS, Mode, NavigationCSS, NavigationTheme, PrimaryButtonCSS, SearchCSS, SkeletonCSS, } from '../theme/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { atlassianTheme } from '../theme/themes';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { AtlassianNavigationProps, NavigationSkeletonProps, } from '../components/AtlassianNavigation/types';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export { AtlassianNavigation } from './components/AtlassianNavigation';
|
|
2
|
-
export type { AtlassianNavigationProps } from './components/AtlassianNavigation/types';
|
|
3
|
-
export { AppSwitcher } from './components/AppSwitcher/app-switcher';
|
|
4
|
-
export { AppSwitcherNav4 } from './components/AppSwitcher/app-switcher-nav4';
|
|
5
|
-
export type { AppSwitcherProps } from './components/AppSwitcher/types';
|
|
6
|
-
export { Create } from './components/Create';
|
|
7
|
-
export type { CreateProps } from './components/Create/types';
|
|
8
|
-
export { Help } from './components/Help';
|
|
9
|
-
export type { HelpProps } from './components/Help/types';
|
|
10
|
-
export { Notifications } from './components/Notifications';
|
|
11
|
-
export type { NotificationsProps } from './components/Notifications/types';
|
|
12
|
-
export { PrimaryButton } from './components/PrimaryButton';
|
|
13
|
-
export type { PrimaryButtonProps } from './components/PrimaryButton/types';
|
|
14
|
-
export { PrimaryDropdownButton } from './components/PrimaryDropdownButton';
|
|
15
|
-
export type { PrimaryDropdownButtonProps } from './components/PrimaryDropdownButton/types';
|
|
16
|
-
export { IconButton } from './components/IconButton';
|
|
17
|
-
export type { IconButtonProps, BaseIconButtonProps } from './components/IconButton/types';
|
|
18
|
-
export { CustomProductHome, ProductHome, AppHome } from './components/ProductHome';
|
|
19
|
-
export type { CustomProductHomeProps, ProductHomeProps, AppHomeProps, } from './components/ProductHome/types';
|
|
20
|
-
export { Profile } from './components/Profile/profile';
|
|
21
|
-
export type { ProfileProps } from './components/Profile/types';
|
|
22
|
-
export { Search } from './components/Search';
|
|
23
|
-
export type { SearchProps } from './components/Search/types';
|
|
24
|
-
export { Settings } from './components/Settings';
|
|
25
|
-
export type { SettingsProps } from './components/Settings/types';
|
|
26
|
-
export { SignIn } from './components/SignIn';
|
|
27
|
-
export type { SignInProps } from './components/SignIn/types';
|
|
28
|
-
export { useOverflowStatus } from './controllers/overflow/use-overflow-status';
|
|
29
|
-
export { HORIZONTAL_GLOBAL_NAV_HEIGHT } from './common/constants';
|
|
30
|
-
export { atlassianTheme, generateTheme, ThemeProvider } from './theme';
|
|
31
|
-
export type { Colors, CreateCSS, GenerateThemeArgs, IconButtonCSS, Mode, NavigationCSS, NavigationTheme, PrimaryButtonCSS, SearchCSS, SkeletonCSS, } from './theme';
|
|
32
|
-
export type { NavigationSkeletonProps } from './components/AtlassianNavigation/types';
|
|
33
|
-
export type { SkeletonCreateButtonProps } from './components/SkeletonCreateButton/types';
|
|
34
|
-
export type { SkeletonIconButtonProps } from './components/SkeletonIconButton/types';
|
|
35
|
-
export type { SkeletonPrimaryButtonProps } from './components/SkeletonPrimaryButton/types';
|
|
36
|
-
export type { SkeletonSwitcherButtonProps } from './skeleton-switcher-button';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type SkeletonHelpButtonProps } from './skeleton-help-button';
|
|
3
|
-
/**
|
|
4
|
-
* __Nav 4 skeleton help button__
|
|
5
|
-
*
|
|
6
|
-
* A nav 4 skeleton help button {description}.
|
|
7
|
-
*/
|
|
8
|
-
export declare const Nav4SkeletonHelpButton: ({ label, }: SkeletonHelpButtonProps) => React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SkeletonNotificationButtonProps } from './skeleton-notification-button';
|
|
3
|
-
/**
|
|
4
|
-
* __Nav 4 skeleton notification button__
|
|
5
|
-
*
|
|
6
|
-
* A nav 4 skeleton notification button.
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export declare const Nav4SkeletonNotificationButton: ({ label, }: SkeletonNotificationButtonProps) => React.JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SkeletonSettingsButtonProps } from './skeleton-settings-button';
|
|
3
|
-
/**
|
|
4
|
-
* __Nav 4 skeleton settings button__
|
|
5
|
-
*
|
|
6
|
-
* A nav 4 skeleton settings button
|
|
7
|
-
*/
|
|
8
|
-
export declare const Nav4SkeletonSettingsButton: ({ label, }: SkeletonSettingsButtonProps) => React.JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SkeletonSwitcherButtonProps } from './skeleton-switcher-button';
|
|
3
|
-
/**
|
|
4
|
-
* __Nav 4 skeleton switcher button__
|
|
5
|
-
*
|
|
6
|
-
* A nav 4 skeleton switcher button
|
|
7
|
-
*/
|
|
8
|
-
export declare const Nav4SkeletonSwitcherButton: ({ label, }: SkeletonSwitcherButtonProps) => React.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type SkeletonHelpButtonProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
5
|
-
* reader. Use this to differentiate the buttons from other navigation buttons on a page.
|
|
6
|
-
*/
|
|
7
|
-
label: string;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* __Skeleton notification button__
|
|
11
|
-
*
|
|
12
|
-
* Skeleton buttons are lightweight HTML button elements with CSS that represent
|
|
13
|
-
* their heavier interactive counterparts, for use when elements of the
|
|
14
|
-
* navigation are loaded dynamically. This one represents the Help button.
|
|
15
|
-
*
|
|
16
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
17
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
|
-
*/
|
|
19
|
-
export declare const SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => React.JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type SkeletonNotificationButtonProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
5
|
-
* reader. Use this to differentiate the buttons from other navigation buttons on a page.
|
|
6
|
-
*/
|
|
7
|
-
label: string;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* __Skeleton notification button__
|
|
11
|
-
*
|
|
12
|
-
* Skeleton buttons are lightweight HTML button elements with CSS that represent
|
|
13
|
-
* their heavier interactive counterparts, for use when elements of the
|
|
14
|
-
* navigation are loaded dynamically. This one represents the Notification button.
|
|
15
|
-
*
|
|
16
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
17
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
|
-
*/
|
|
19
|
-
export declare const SkeletonNotificationButton: ({ label, }: SkeletonNotificationButtonProps) => React.JSX.Element;
|
|
20
|
-
export { Nav4SkeletonNotificationButton } from './nav4-skeleton-notification-button';
|