@atlaskit/atlassian-navigation 2.3.0 → 2.3.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 +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/components/IconButton/styles.d.ts +1 -1
- package/dist/types/components/PrimaryButton/styles.d.ts +1 -1
- package/package.json +3 -11
- package/report.api.md +12 -5
- package/dist/types-ts4.0/common/constants.d.ts +0 -6
- package/dist/types-ts4.0/common/styles.d.ts +0 -10
- package/dist/types-ts4.0/components/AppSwitcher/index.d.ts +0 -14
- package/dist/types-ts4.0/components/AppSwitcher/types.d.ts +0 -2
- package/dist/types-ts4.0/components/AtlassianNavigation/index.d.ts +0 -13
- package/dist/types-ts4.0/components/AtlassianNavigation/skeleton.d.ts +0 -18
- package/dist/types-ts4.0/components/AtlassianNavigation/types.d.ts +0 -107
- package/dist/types-ts4.0/components/BadgeContainer/index.d.ts +0 -4
- package/dist/types-ts4.0/components/BadgeContainer/types.d.ts +0 -6
- package/dist/types-ts4.0/components/Create/index.d.ts +0 -13
- package/dist/types-ts4.0/components/Create/skeleton.d.ts +0 -2
- package/dist/types-ts4.0/components/Create/styles.d.ts +0 -3
- package/dist/types-ts4.0/components/Create/types.d.ts +0 -35
- package/dist/types-ts4.0/components/Help/index.d.ts +0 -13
- package/dist/types-ts4.0/components/Help/types.d.ts +0 -9
- package/dist/types-ts4.0/components/IconButton/index.d.ts +0 -14
- package/dist/types-ts4.0/components/IconButton/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/components/IconButton/styles.d.ts +0 -3
- package/dist/types-ts4.0/components/IconButton/types.d.ts +0 -100
- package/dist/types-ts4.0/components/Notifications/index.d.ts +0 -14
- package/dist/types-ts4.0/components/Notifications/types.d.ts +0 -9
- package/dist/types-ts4.0/components/PrimaryButton/index.d.ts +0 -18
- package/dist/types-ts4.0/components/PrimaryButton/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/components/PrimaryButton/styles.d.ts +0 -3
- package/dist/types-ts4.0/components/PrimaryButton/types.d.ts +0 -43
- package/dist/types-ts4.0/components/PrimaryDropdownButton/index.d.ts +0 -16
- package/dist/types-ts4.0/components/PrimaryDropdownButton/types.d.ts +0 -18
- package/dist/types-ts4.0/components/PrimaryItemsContainer/index.d.ts +0 -6
- package/dist/types-ts4.0/components/PrimaryItemsContainer/skeleton.d.ts +0 -3
- package/dist/types-ts4.0/components/PrimaryItemsContainer/types.d.ts +0 -10
- package/dist/types-ts4.0/components/ProductHome/custom-product-home.d.ts +0 -12
- package/dist/types-ts4.0/components/ProductHome/index.d.ts +0 -2
- package/dist/types-ts4.0/components/ProductHome/product-home.d.ts +0 -15
- package/dist/types-ts4.0/components/ProductHome/skeleton.d.ts +0 -5
- package/dist/types-ts4.0/components/ProductHome/types.d.ts +0 -100
- package/dist/types-ts4.0/components/ProductHome/utils.d.ts +0 -1
- package/dist/types-ts4.0/components/Profile/index.d.ts +0 -17
- package/dist/types-ts4.0/components/Profile/skeleton.d.ts +0 -2
- package/dist/types-ts4.0/components/Profile/types.d.ts +0 -2
- package/dist/types-ts4.0/components/Search/index.d.ts +0 -12
- package/dist/types-ts4.0/components/Search/skeleton.d.ts +0 -2
- package/dist/types-ts4.0/components/Search/types.d.ts +0 -16
- package/dist/types-ts4.0/components/Settings/index.d.ts +0 -11
- package/dist/types-ts4.0/components/Settings/types.d.ts +0 -2
- package/dist/types-ts4.0/components/SignIn/index.d.ts +0 -12
- package/dist/types-ts4.0/components/SignIn/skeleton.d.ts +0 -2
- package/dist/types-ts4.0/components/SignIn/types.d.ts +0 -2
- package/dist/types-ts4.0/components/SkeletonCreateButton/index.d.ts +0 -14
- package/dist/types-ts4.0/components/SkeletonCreateButton/types.d.ts +0 -12
- package/dist/types-ts4.0/components/SkeletonIconButton/index.d.ts +0 -14
- package/dist/types-ts4.0/components/SkeletonIconButton/types.d.ts +0 -18
- package/dist/types-ts4.0/components/SkeletonPrimaryButton/index.d.ts +0 -14
- package/dist/types-ts4.0/components/SkeletonPrimaryButton/types.d.ts +0 -25
- package/dist/types-ts4.0/controllers/overflow/index.d.ts +0 -44
- package/dist/types-ts4.0/controllers/overflow/types.d.ts +0 -7
- package/dist/types-ts4.0/index.d.ts +0 -30
- package/dist/types-ts4.0/skeleton-help-button.d.ts +0 -19
- package/dist/types-ts4.0/skeleton-notification-button.d.ts +0 -19
- package/dist/types-ts4.0/skeleton-settings-button.d.ts +0 -19
- package/dist/types-ts4.0/skeleton-switcher-button.d.ts +0 -19
- package/dist/types-ts4.0/skeleton.d.ts +0 -5
- package/dist/types-ts4.0/theme/default-theme.d.ts +0 -6
- package/dist/types-ts4.0/theme/index.d.ts +0 -6
- package/dist/types-ts4.0/theme/theme-generator.d.ts +0 -3
- package/dist/types-ts4.0/theme/theme-helpers.d.ts +0 -5
- package/dist/types-ts4.0/theme/theme-provider.d.ts +0 -8
- package/dist/types-ts4.0/theme/themes.d.ts +0 -3
- package/dist/types-ts4.0/theme/types.d.ts +0 -74
- package/dist/types-ts4.0/theme/use-theme.d.ts +0 -1
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { CSSObject } from '@emotion/react';
|
|
2
|
-
export declare type CSSProperties = CSSObject & {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
color: string;
|
|
5
|
-
};
|
|
6
|
-
export declare type ButtonCSSProperties = CSSProperties & {
|
|
7
|
-
boxShadow: string;
|
|
8
|
-
};
|
|
9
|
-
export declare type ButtonFocusCSSProperties = {
|
|
10
|
-
boxShadow: string;
|
|
11
|
-
color: string;
|
|
12
|
-
backgroundColor: string;
|
|
13
|
-
};
|
|
14
|
-
export declare type ButtonCSSContext = {
|
|
15
|
-
default: ButtonCSSProperties;
|
|
16
|
-
hover: ButtonCSSProperties;
|
|
17
|
-
focus: ButtonFocusCSSProperties;
|
|
18
|
-
active: ButtonCSSProperties;
|
|
19
|
-
selected: ButtonCSSProperties;
|
|
20
|
-
selectedHover?: ButtonCSSProperties;
|
|
21
|
-
};
|
|
22
|
-
export declare type CreateCSS = ButtonCSSContext;
|
|
23
|
-
export declare type IconButtonCSS = ButtonCSSContext;
|
|
24
|
-
export declare type PrimaryButtonCSS = ButtonCSSContext;
|
|
25
|
-
export declare type NavigationCSS = CSSProperties;
|
|
26
|
-
declare type LogoStyleProps = {
|
|
27
|
-
iconGradientStart?: string;
|
|
28
|
-
iconGradientStop?: string;
|
|
29
|
-
iconColor?: string;
|
|
30
|
-
textColor?: string;
|
|
31
|
-
};
|
|
32
|
-
export declare type ProductHomeCSS = CSSProperties & LogoStyleProps;
|
|
33
|
-
export declare type SearchCSS = {
|
|
34
|
-
default: CSSProperties;
|
|
35
|
-
focus: CSSObject;
|
|
36
|
-
hover: CSSObject;
|
|
37
|
-
};
|
|
38
|
-
export declare type SkeletonCSS = CSSObject & {
|
|
39
|
-
backgroundColor: string;
|
|
40
|
-
opacity: number;
|
|
41
|
-
};
|
|
42
|
-
export declare type Mode = {
|
|
43
|
-
create: CreateCSS;
|
|
44
|
-
iconButton: IconButtonCSS;
|
|
45
|
-
navigation: NavigationCSS;
|
|
46
|
-
primaryButton: PrimaryButtonCSS;
|
|
47
|
-
productHome: ProductHomeCSS;
|
|
48
|
-
search: SearchCSS;
|
|
49
|
-
skeleton: SkeletonCSS;
|
|
50
|
-
};
|
|
51
|
-
export declare type NavigationTheme = {
|
|
52
|
-
mode: Mode;
|
|
53
|
-
};
|
|
54
|
-
export declare type Colors = {
|
|
55
|
-
backgroundColor: string;
|
|
56
|
-
color: string;
|
|
57
|
-
};
|
|
58
|
-
export declare type GenerateThemeArgs = {
|
|
59
|
-
/**
|
|
60
|
-
* Name of the theme.
|
|
61
|
-
* If you pass in "atlassian" will return the default atlassian theme and not
|
|
62
|
-
* use any of the colors you pass in.
|
|
63
|
-
*/
|
|
64
|
-
name?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Main background color of the horizontal navigation bar.
|
|
67
|
-
*/
|
|
68
|
-
backgroundColor: string;
|
|
69
|
-
/**
|
|
70
|
-
* Highlight color for the navigation actions.
|
|
71
|
-
*/
|
|
72
|
-
highlightColor: string;
|
|
73
|
-
};
|
|
74
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useTheme: () => import("./types").NavigationTheme;
|