@atlaskit/atlassian-navigation 5.7.4 → 6.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 +26 -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 +27 -35
- 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,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
8
|
-
*/
|
|
9
|
-
export type SkeletonSwitcherButtonProps = {
|
|
10
|
-
/**
|
|
11
|
-
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
12
|
-
* reader. Use this to differentiate the buttons from other navigation buttons on a page.
|
|
13
|
-
*/
|
|
14
|
-
label: string;
|
|
15
|
-
/**
|
|
16
|
-
* A `testId` prop is provided for specified elements,
|
|
17
|
-
* which is a unique string that appears as a data attribute `data-testid` in the rendered code,
|
|
18
|
-
* serving as a hook for automated tests.
|
|
19
|
-
*/
|
|
20
|
-
testId?: string;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* __Skeleton switcher button__
|
|
24
|
-
*
|
|
25
|
-
* Skeleton buttons are lightweight HTML button elements with CSS that represent
|
|
26
|
-
* their heavier interactive counterparts, for use when elements of the
|
|
27
|
-
* navigation are loaded dynamically. This one represents the AppSwitcher button.
|
|
28
|
-
*
|
|
29
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
30
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
31
|
-
*
|
|
32
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
33
|
-
*/
|
|
34
|
-
export declare const SkeletonSwitcherButton: ({ label, testId, }: SkeletonSwitcherButtonProps) => React.JSX.Element;
|
|
35
|
-
export { Nav4SkeletonSwitcherButton } from './nav4-skeleton-switcher-button';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { NavigationSkeleton } from './components/AtlassianNavigation/skeleton';
|
|
2
|
-
export type { NavigationSkeletonProps } from './components/AtlassianNavigation/types';
|
|
3
|
-
export { SkeletonCreateButton } from './components/SkeletonCreateButton';
|
|
4
|
-
export { SkeletonIconButton } from './components/SkeletonIconButton';
|
|
5
|
-
export { SkeletonPrimaryButton } from './components/SkeletonPrimaryButton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const convertHexShorthand: (color: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const defaultThemeBrandRefresh: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const generateTextColor: (color: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getBoxShadow: (color: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getContrastColor: (contrastValue: number, opacityValue: number, color: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const hexToRGBA: (hex: string, opacity?: number) => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { generateTheme } from './theme-generator';
|
|
2
|
-
export { ThemeProvider } from './theme-provider';
|
|
3
|
-
export { atlassianTheme, defaultTheme } from './themes';
|
|
4
|
-
export type { CreateCSS, IconButtonCSS, Mode, NavigationCSS, NavigationTheme, PrimaryButtonCSS, SearchCSS, ProductHomeCSS, SkeletonCSS, Colors, GenerateThemeArgs, } from './types';
|
|
5
|
-
export { useTheme } from './use-theme';
|
|
6
|
-
export { hexToRGBA } from './hex-to-rgba';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type GenerateThemeArgs, type NavigationTheme } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* __generateTheme__
|
|
4
|
-
*
|
|
5
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
6
|
-
*/
|
|
7
|
-
export declare const generateTheme: (themeColors: GenerateThemeArgs) => NavigationTheme;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const hexToRGBA: (hex: string, opacity?: number) => string;
|
|
2
|
-
export declare const convertHexShorthand: (color: string) => string;
|
|
3
|
-
export declare const generateTextColor: (color: string) => string;
|
|
4
|
-
export declare const getContrastColor: (contrastValue: number, opacityValue: number, color: string) => string;
|
|
5
|
-
export { getBoxShadow } from './get-box-shadow';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type Provider } from 'react';
|
|
2
|
-
import type { NavigationTheme } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* __Theme provider__
|
|
5
|
-
*
|
|
6
|
-
* A provider for the theme context used by all navigation components.
|
|
7
|
-
*
|
|
8
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
9
|
-
*/
|
|
10
|
-
export declare const ThemeProvider: Provider<NavigationTheme>;
|
|
11
|
-
export { ThemeContext } from './theme-context';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type NavigationTheme } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
4
|
-
*/
|
|
5
|
-
export declare const defaultTheme: NavigationTheme;
|
|
6
|
-
export { atlassianTheme } from './atlassian-theme';
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { type CSSObject } from '@emotion/react';
|
|
2
|
-
type CSSProperties = CSSObject & {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
color: string;
|
|
5
|
-
};
|
|
6
|
-
type ButtonCSSProperties = CSSProperties & {
|
|
7
|
-
boxShadow: string;
|
|
8
|
-
};
|
|
9
|
-
export type ButtonCSSContext = {
|
|
10
|
-
default: ButtonCSSProperties;
|
|
11
|
-
hover: ButtonCSSProperties;
|
|
12
|
-
focus: ButtonCSSProperties;
|
|
13
|
-
active: ButtonCSSProperties;
|
|
14
|
-
selected: ButtonCSSProperties;
|
|
15
|
-
selectedHover?: ButtonCSSProperties;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
19
|
-
*/
|
|
20
|
-
export type CreateCSS = ButtonCSSContext;
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
23
|
-
*/
|
|
24
|
-
export type IconButtonCSS = ButtonCSSContext;
|
|
25
|
-
/**
|
|
26
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
27
|
-
*/
|
|
28
|
-
export type PrimaryButtonCSS = ButtonCSSContext;
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
31
|
-
*/
|
|
32
|
-
export type NavigationCSS = CSSProperties;
|
|
33
|
-
type LogoStyleProps = {
|
|
34
|
-
iconColor?: string;
|
|
35
|
-
textColor?: string;
|
|
36
|
-
};
|
|
37
|
-
export type ProductHomeCSS = CSSProperties & LogoStyleProps;
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
40
|
-
*/
|
|
41
|
-
export type SearchCSS = {
|
|
42
|
-
default: CSSProperties;
|
|
43
|
-
focus: CSSObject;
|
|
44
|
-
hover: CSSObject;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
48
|
-
*/
|
|
49
|
-
export type SkeletonCSS = CSSObject & {
|
|
50
|
-
backgroundColor: string;
|
|
51
|
-
opacity: number;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
55
|
-
*/
|
|
56
|
-
export type Mode = {
|
|
57
|
-
create: CreateCSS;
|
|
58
|
-
iconButton: IconButtonCSS;
|
|
59
|
-
navigation: NavigationCSS;
|
|
60
|
-
primaryButton: PrimaryButtonCSS;
|
|
61
|
-
productHome: ProductHomeCSS;
|
|
62
|
-
search: SearchCSS;
|
|
63
|
-
skeleton: SkeletonCSS;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
67
|
-
*/
|
|
68
|
-
export type NavigationTheme = {
|
|
69
|
-
mode: Mode;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
73
|
-
*/
|
|
74
|
-
export type Colors = {
|
|
75
|
-
backgroundColor: string;
|
|
76
|
-
color: string;
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
80
|
-
*/
|
|
81
|
-
export type GenerateThemeArgs = {
|
|
82
|
-
/**
|
|
83
|
-
* Name of the theme.
|
|
84
|
-
* If you pass in "atlassian" will return the default atlassian theme and not
|
|
85
|
-
* use any of the colors you pass in.
|
|
86
|
-
*/
|
|
87
|
-
name?: string;
|
|
88
|
-
/**
|
|
89
|
-
* Main background color of the horizontal navigation bar.
|
|
90
|
-
*/
|
|
91
|
-
backgroundColor: string;
|
|
92
|
-
/**
|
|
93
|
-
* Highlight color for the navigation actions.
|
|
94
|
-
*/
|
|
95
|
-
highlightColor: string;
|
|
96
|
-
};
|
|
97
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns a new object with only non-empty properties of the input object.
|
|
3
|
-
*
|
|
4
|
-
* In this context, "empty" refers to properties with `null`, `undefined`, or `""`
|
|
5
|
-
* (empty string) values.
|
|
6
|
-
*
|
|
7
|
-
* @param obj - The input object.
|
|
8
|
-
* @returns A new object with non-empty properties of the input object.
|
|
9
|
-
*/
|
|
10
|
-
export declare function stripEmptyProperties<T extends object>(obj: T): Partial<T>;
|