@atlaskit/atlassian-navigation 5.7.3 → 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 +32 -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,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,6 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import React from 'react';
6
- export declare const SearchSkeleton: () => 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,5 +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 SettingsProps = BaseIconButtonProps;
@@ -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,2 +0,0 @@
1
- import React from 'react';
2
- export declare const SignInSkeleton: () => React.JSX.Element;
@@ -1,5 +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 SignInProps = BaseIconButtonProps;
@@ -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,3 +0,0 @@
1
- import React from 'react';
2
- import { type OverflowProviderProps } from './types';
3
- export declare const OverflowProvider: ({ children, isVisible, openOverflowMenu, closeOverflowMenu, }: OverflowProviderProps) => React.JSX.Element;
@@ -1,7 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- export type OverflowProviderProps = {
3
- children: ReactNode;
4
- isVisible: boolean;
5
- openOverflowMenu: () => void;
6
- closeOverflowMenu: () => void;
7
- };
@@ -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,2 +0,0 @@
1
- export { AppSwitcher } from '../components/AppSwitcher/app-switcher';
2
- export { AppSwitcherNav4 } from '../components/AppSwitcher/app-switcher-nav4';
@@ -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,3 +0,0 @@
1
- export { Nav4SkeletonHelpButton } from '../nav4-skeleton-help-button';
2
- export { SkeletonHelpButton } from '../skeleton-help-button';
3
- export type { SkeletonHelpButtonProps } from '../skeleton-help-button';
@@ -1 +0,0 @@
1
- export type { SkeletonIconButtonProps } from '../components/SkeletonIconButton/types';
@@ -1 +0,0 @@
1
- export { SkeletonIconButton } from '../components/SkeletonIconButton/index';
@@ -1,2 +0,0 @@
1
- export { Nav4SkeletonNotificationButton, SkeletonNotificationButton, } from '../skeleton-notification-button';
2
- export type { SkeletonNotificationButtonProps } from '../skeleton-notification-button';
@@ -1 +0,0 @@
1
- export type { SkeletonPrimaryButtonProps } from '../components/SkeletonPrimaryButton/types';
@@ -1 +0,0 @@
1
- export { SkeletonPrimaryButton } from '../components/SkeletonPrimaryButton/index';
@@ -1,2 +0,0 @@
1
- export { Nav4SkeletonSettingsButton, SkeletonSettingsButton } from '../skeleton-settings-button';
2
- export type { SkeletonSettingsButtonProps } from '../skeleton-settings-button';
@@ -1,2 +0,0 @@
1
- export { Nav4SkeletonSwitcherButton, SkeletonSwitcherButton } from '../skeleton-switcher-button';
2
- export type { SkeletonSwitcherButtonProps } from '../skeleton-switcher-button';
@@ -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';
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- export type SkeletonSettingsButtonProps = {
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 settings 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 Settings 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 SkeletonSettingsButton: ({ label, }: SkeletonSettingsButtonProps) => React.JSX.Element;
20
- export { Nav4SkeletonSettingsButton } from './nav4-skeleton-settings-button';