@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.
Files changed (199) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/app-switcher/package.json +1 -8
  3. package/app-switcher/types/package.json +1 -8
  4. package/atlassian-navigation/package.json +1 -8
  5. package/constants/package.json +1 -8
  6. package/create/package.json +1 -8
  7. package/create/types/package.json +1 -8
  8. package/custom-product-home/package.json +1 -8
  9. package/dist/cjs/components/AppSwitcher/index.js +1 -0
  10. package/dist/cjs/components/ProductHome/product-home.js +0 -1
  11. package/dist/cjs/components/Profile/index.js +1 -0
  12. package/dist/cjs/controllers/overflow/index.js +4 -0
  13. package/dist/cjs/theme/theme-helpers.js +6 -0
  14. package/dist/es2019/components/AppSwitcher/index.js +1 -0
  15. package/dist/es2019/components/ProductHome/product-home.js +0 -3
  16. package/dist/es2019/components/Profile/index.js +1 -0
  17. package/dist/es2019/controllers/overflow/index.js +4 -0
  18. package/dist/es2019/theme/theme-helpers.js +6 -0
  19. package/dist/esm/components/AppSwitcher/index.js +1 -0
  20. package/dist/esm/components/ProductHome/product-home.js +0 -3
  21. package/dist/esm/components/Profile/index.js +1 -0
  22. package/dist/esm/controllers/overflow/index.js +4 -0
  23. package/dist/esm/theme/theme-helpers.js +6 -0
  24. package/help/package.json +1 -8
  25. package/help/types/package.json +1 -8
  26. package/icon-button/package.json +1 -8
  27. package/icon-button/types/package.json +1 -8
  28. package/notifications/package.json +1 -8
  29. package/notifications/types/package.json +1 -8
  30. package/overflow/package.json +1 -8
  31. package/package.json +27 -35
  32. package/primary-button/package.json +1 -8
  33. package/primary-button/types/package.json +1 -8
  34. package/primary-dropdown-button/package.json +1 -8
  35. package/primary-dropdown-button/types/package.json +1 -8
  36. package/product-home/package.json +1 -8
  37. package/product-home/types/package.json +1 -8
  38. package/profile/package.json +1 -8
  39. package/profile/types/package.json +1 -8
  40. package/search/package.json +1 -8
  41. package/search/types/package.json +1 -8
  42. package/settings/package.json +1 -8
  43. package/settings/types/package.json +1 -8
  44. package/sign-in/package.json +1 -8
  45. package/sign-in/types/package.json +1 -8
  46. package/skeleton/package.json +1 -8
  47. package/skeleton-base/package.json +1 -8
  48. package/skeleton-base/types/package.json +1 -8
  49. package/skeleton-create-button/package.json +1 -8
  50. package/skeleton-create-button/types/package.json +1 -8
  51. package/skeleton-help-button/package.json +1 -8
  52. package/skeleton-icon-button/package.json +1 -8
  53. package/skeleton-icon-button/types/package.json +1 -8
  54. package/skeleton-notification-button/package.json +1 -8
  55. package/skeleton-primary-button/package.json +1 -8
  56. package/skeleton-primary-button/types/package.json +1 -8
  57. package/skeleton-settings-button/package.json +1 -8
  58. package/skeleton-switcher-button/package.json +1 -8
  59. package/theme/types/package.json +1 -8
  60. package/theme-generator/package.json +1 -8
  61. package/theme-provider/package.json +1 -8
  62. package/themes/package.json +1 -8
  63. package/types/package.json +1 -8
  64. package/dist/types-ts4.5/common/action-section-desktop-css.d.ts +0 -5
  65. package/dist/types-ts4.5/common/action-section-mobile-css.d.ts +0 -5
  66. package/dist/types-ts4.5/common/constants.d.ts +0 -11
  67. package/dist/types-ts4.5/common/styles.d.ts +0 -2
  68. package/dist/types-ts4.5/components/AppSwitcher/app-switcher-nav4.d.ts +0 -6
  69. package/dist/types-ts4.5/components/AppSwitcher/app-switcher.d.ts +0 -14
  70. package/dist/types-ts4.5/components/AppSwitcher/index.d.ts +0 -3
  71. package/dist/types-ts4.5/components/AppSwitcher/types.d.ts +0 -5
  72. package/dist/types-ts4.5/components/AtlassianNavigation/index.d.ts +0 -17
  73. package/dist/types-ts4.5/components/AtlassianNavigation/skeleton.d.ts +0 -22
  74. package/dist/types-ts4.5/components/AtlassianNavigation/types.d.ts +0 -121
  75. package/dist/types-ts4.5/components/BadgeContainer/index.d.ts +0 -7
  76. package/dist/types-ts4.5/components/BadgeContainer/types.d.ts +0 -10
  77. package/dist/types-ts4.5/components/Create/index.d.ts +0 -18
  78. package/dist/types-ts4.5/components/Create/styles.d.ts +0 -3
  79. package/dist/types-ts4.5/components/Create/types.d.ts +0 -39
  80. package/dist/types-ts4.5/components/Help/index.d.ts +0 -13
  81. package/dist/types-ts4.5/components/Help/types.d.ts +0 -9
  82. package/dist/types-ts4.5/components/IconButton/index.d.ts +0 -13
  83. package/dist/types-ts4.5/components/IconButton/skeleton.d.ts +0 -7
  84. package/dist/types-ts4.5/components/IconButton/styles.d.ts +0 -3
  85. package/dist/types-ts4.5/components/IconButton/types.d.ts +0 -104
  86. package/dist/types-ts4.5/components/Notifications/index.d.ts +0 -14
  87. package/dist/types-ts4.5/components/Notifications/types.d.ts +0 -9
  88. package/dist/types-ts4.5/components/PrimaryButton/index.d.ts +0 -13
  89. package/dist/types-ts4.5/components/PrimaryButton/skeleton.d.ts +0 -7
  90. package/dist/types-ts4.5/components/PrimaryButton/styles.d.ts +0 -3
  91. package/dist/types-ts4.5/components/PrimaryButton/types.d.ts +0 -51
  92. package/dist/types-ts4.5/components/PrimaryDropdownButton/index.d.ts +0 -13
  93. package/dist/types-ts4.5/components/PrimaryDropdownButton/types.d.ts +0 -17
  94. package/dist/types-ts4.5/components/PrimaryItemsContainer/index.d.ts +0 -10
  95. package/dist/types-ts4.5/components/PrimaryItemsContainer/skeleton.d.ts +0 -7
  96. package/dist/types-ts4.5/components/PrimaryItemsContainer/types.d.ts +0 -10
  97. package/dist/types-ts4.5/components/ProductHome/app-home.d.ts +0 -20
  98. package/dist/types-ts4.5/components/ProductHome/custom-product-home.d.ts +0 -18
  99. package/dist/types-ts4.5/components/ProductHome/index.d.ts +0 -2
  100. package/dist/types-ts4.5/components/ProductHome/product-home.d.ts +0 -22
  101. package/dist/types-ts4.5/components/ProductHome/skeleton.d.ts +0 -8
  102. package/dist/types-ts4.5/components/ProductHome/types.d.ts +0 -154
  103. package/dist/types-ts4.5/components/ProductHome/utils.d.ts +0 -1
  104. package/dist/types-ts4.5/components/Profile/index.d.ts +0 -16
  105. package/dist/types-ts4.5/components/Profile/profile.d.ts +0 -14
  106. package/dist/types-ts4.5/components/Profile/skeleton.d.ts +0 -2
  107. package/dist/types-ts4.5/components/Profile/types.d.ts +0 -5
  108. package/dist/types-ts4.5/components/Search/index.d.ts +0 -17
  109. package/dist/types-ts4.5/components/Search/skeleton.d.ts +0 -6
  110. package/dist/types-ts4.5/components/Search/types.d.ts +0 -19
  111. package/dist/types-ts4.5/components/Settings/index.d.ts +0 -13
  112. package/dist/types-ts4.5/components/Settings/types.d.ts +0 -5
  113. package/dist/types-ts4.5/components/SignIn/index.d.ts +0 -13
  114. package/dist/types-ts4.5/components/SignIn/skeleton.d.ts +0 -2
  115. package/dist/types-ts4.5/components/SignIn/types.d.ts +0 -5
  116. package/dist/types-ts4.5/components/SkeletonCreateButton/index.d.ts +0 -17
  117. package/dist/types-ts4.5/components/SkeletonCreateButton/types.d.ts +0 -15
  118. package/dist/types-ts4.5/components/SkeletonIconButton/index.d.ts +0 -17
  119. package/dist/types-ts4.5/components/SkeletonIconButton/types.d.ts +0 -21
  120. package/dist/types-ts4.5/components/SkeletonPrimaryButton/index.d.ts +0 -17
  121. package/dist/types-ts4.5/components/SkeletonPrimaryButton/types.d.ts +0 -28
  122. package/dist/types-ts4.5/controllers/overflow/index.d.ts +0 -37
  123. package/dist/types-ts4.5/controllers/overflow/overflow-context.d.ts +0 -17
  124. package/dist/types-ts4.5/controllers/overflow/overflow-provider.d.ts +0 -3
  125. package/dist/types-ts4.5/controllers/overflow/types.d.ts +0 -7
  126. package/dist/types-ts4.5/controllers/overflow/use-overflow-controller.d.ts +0 -7
  127. package/dist/types-ts4.5/controllers/overflow/use-overflow-status.d.ts +0 -11
  128. package/dist/types-ts4.5/entry-points/app-switcher-types.d.ts +0 -1
  129. package/dist/types-ts4.5/entry-points/app-switcher.d.ts +0 -2
  130. package/dist/types-ts4.5/entry-points/atlassian-navigation.d.ts +0 -1
  131. package/dist/types-ts4.5/entry-points/constants.d.ts +0 -1
  132. package/dist/types-ts4.5/entry-points/create-types.d.ts +0 -1
  133. package/dist/types-ts4.5/entry-points/create.d.ts +0 -1
  134. package/dist/types-ts4.5/entry-points/custom-product-home.d.ts +0 -1
  135. package/dist/types-ts4.5/entry-points/help-types.d.ts +0 -1
  136. package/dist/types-ts4.5/entry-points/help.d.ts +0 -1
  137. package/dist/types-ts4.5/entry-points/icon-button-types.d.ts +0 -1
  138. package/dist/types-ts4.5/entry-points/icon-button.d.ts +0 -1
  139. package/dist/types-ts4.5/entry-points/notifications-types.d.ts +0 -1
  140. package/dist/types-ts4.5/entry-points/notifications.d.ts +0 -1
  141. package/dist/types-ts4.5/entry-points/overflow.d.ts +0 -1
  142. package/dist/types-ts4.5/entry-points/primary-button-types.d.ts +0 -1
  143. package/dist/types-ts4.5/entry-points/primary-button.d.ts +0 -1
  144. package/dist/types-ts4.5/entry-points/primary-dropdown-button-types.d.ts +0 -1
  145. package/dist/types-ts4.5/entry-points/primary-dropdown-button.d.ts +0 -1
  146. package/dist/types-ts4.5/entry-points/product-home-types.d.ts +0 -1
  147. package/dist/types-ts4.5/entry-points/product-home.d.ts +0 -1
  148. package/dist/types-ts4.5/entry-points/profile-types.d.ts +0 -1
  149. package/dist/types-ts4.5/entry-points/profile.d.ts +0 -1
  150. package/dist/types-ts4.5/entry-points/search-types.d.ts +0 -1
  151. package/dist/types-ts4.5/entry-points/search.d.ts +0 -1
  152. package/dist/types-ts4.5/entry-points/settings-types.d.ts +0 -1
  153. package/dist/types-ts4.5/entry-points/settings.d.ts +0 -1
  154. package/dist/types-ts4.5/entry-points/sign-in-types.d.ts +0 -1
  155. package/dist/types-ts4.5/entry-points/sign-in.d.ts +0 -1
  156. package/dist/types-ts4.5/entry-points/skeleton-base-types.d.ts +0 -1
  157. package/dist/types-ts4.5/entry-points/skeleton-base.d.ts +0 -1
  158. package/dist/types-ts4.5/entry-points/skeleton-create-button-types.d.ts +0 -1
  159. package/dist/types-ts4.5/entry-points/skeleton-create-button.d.ts +0 -1
  160. package/dist/types-ts4.5/entry-points/skeleton-help-button.d.ts +0 -3
  161. package/dist/types-ts4.5/entry-points/skeleton-icon-button-types.d.ts +0 -1
  162. package/dist/types-ts4.5/entry-points/skeleton-icon-button.d.ts +0 -1
  163. package/dist/types-ts4.5/entry-points/skeleton-notification-button.d.ts +0 -2
  164. package/dist/types-ts4.5/entry-points/skeleton-primary-button-types.d.ts +0 -1
  165. package/dist/types-ts4.5/entry-points/skeleton-primary-button.d.ts +0 -1
  166. package/dist/types-ts4.5/entry-points/skeleton-settings-button.d.ts +0 -2
  167. package/dist/types-ts4.5/entry-points/skeleton-switcher-button.d.ts +0 -2
  168. package/dist/types-ts4.5/entry-points/theme-generator.d.ts +0 -1
  169. package/dist/types-ts4.5/entry-points/theme-provider.d.ts +0 -1
  170. package/dist/types-ts4.5/entry-points/theme-types.d.ts +0 -1
  171. package/dist/types-ts4.5/entry-points/themes.d.ts +0 -1
  172. package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
  173. package/dist/types-ts4.5/index.d.ts +0 -36
  174. package/dist/types-ts4.5/nav4-skeleton-help-button.d.ts +0 -8
  175. package/dist/types-ts4.5/nav4-skeleton-notification-button.d.ts +0 -9
  176. package/dist/types-ts4.5/nav4-skeleton-settings-button.d.ts +0 -8
  177. package/dist/types-ts4.5/nav4-skeleton-switcher-button.d.ts +0 -8
  178. package/dist/types-ts4.5/skeleton-help-button.d.ts +0 -19
  179. package/dist/types-ts4.5/skeleton-notification-button.d.ts +0 -20
  180. package/dist/types-ts4.5/skeleton-settings-button.d.ts +0 -20
  181. package/dist/types-ts4.5/skeleton-switcher-button.d.ts +0 -35
  182. package/dist/types-ts4.5/skeleton.d.ts +0 -5
  183. package/dist/types-ts4.5/theme/atlassian-theme.d.ts +0 -5
  184. package/dist/types-ts4.5/theme/convert-hex-shorthand.d.ts +0 -1
  185. package/dist/types-ts4.5/theme/default-theme-brand-refresh.d.ts +0 -1
  186. package/dist/types-ts4.5/theme/default-theme.d.ts +0 -6
  187. package/dist/types-ts4.5/theme/generate-text-color.d.ts +0 -1
  188. package/dist/types-ts4.5/theme/get-box-shadow.d.ts +0 -1
  189. package/dist/types-ts4.5/theme/get-contrast-color.d.ts +0 -1
  190. package/dist/types-ts4.5/theme/hex-to-rgba.d.ts +0 -1
  191. package/dist/types-ts4.5/theme/index.d.ts +0 -6
  192. package/dist/types-ts4.5/theme/theme-context.d.ts +0 -3
  193. package/dist/types-ts4.5/theme/theme-generator.d.ts +0 -7
  194. package/dist/types-ts4.5/theme/theme-helpers.d.ts +0 -5
  195. package/dist/types-ts4.5/theme/theme-provider.d.ts +0 -11
  196. package/dist/types-ts4.5/theme/themes.d.ts +0 -6
  197. package/dist/types-ts4.5/theme/types.d.ts +0 -97
  198. package/dist/types-ts4.5/theme/use-theme.d.ts +0 -2
  199. 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,5 +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 atlassianTheme: NavigationTheme;
@@ -1 +0,0 @@
1
- export declare const convertHexShorthand: (color: string) => string;
@@ -1 +0,0 @@
1
- export declare const defaultThemeBrandRefresh: any;
@@ -1,6 +0,0 @@
1
- import { type Mode } from './types';
2
- declare const defaultTheme: {
3
- mode: Mode;
4
- };
5
- export declare const DEFAULT_THEME_NAME = "atlassian";
6
- export default defaultTheme;
@@ -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,3 +0,0 @@
1
- import { type Context } from 'react';
2
- import type { NavigationTheme } from './types';
3
- export declare const ThemeContext: Context<NavigationTheme>;
@@ -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,2 +0,0 @@
1
- import type { NavigationTheme } from './types';
2
- export declare const useTheme: () => NavigationTheme;
@@ -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>;