@atlaskit/atlassian-navigation 5.7.1 → 5.7.3
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 +13 -0
- package/afm-cc/tsconfig.json +0 -1
- package/afm-products/tsconfig.json +0 -1
- package/dist/cjs/common/action-section-desktop-css.js +12 -0
- package/dist/cjs/common/action-section-mobile-css.js +12 -0
- package/dist/cjs/common/constants.js +3 -0
- package/dist/cjs/common/styles.js +13 -9
- package/dist/cjs/components/AppSwitcher/app-switcher-nav4.js +61 -0
- package/dist/cjs/components/AppSwitcher/app-switcher.js +79 -0
- package/dist/cjs/components/AppSwitcher/index.js +1 -119
- package/dist/cjs/components/AtlassianNavigation/index.js +6 -0
- package/dist/cjs/components/AtlassianNavigation/skeleton.js +2 -0
- package/dist/cjs/components/Create/index.js +2 -0
- package/dist/cjs/components/Help/index.js +2 -0
- package/dist/cjs/components/IconButton/index.js +1 -0
- package/dist/cjs/components/Notifications/index.js +2 -0
- package/dist/cjs/components/PrimaryButton/index.js +2 -0
- package/dist/cjs/components/PrimaryDropdownButton/index.js +2 -0
- package/dist/cjs/components/PrimaryItemsContainer/index.js +5 -4
- package/dist/cjs/components/ProductHome/app-home.js +180 -0
- package/dist/cjs/components/ProductHome/custom-product-home.js +2 -0
- package/dist/cjs/components/ProductHome/product-home.js +21 -110
- package/dist/cjs/components/Profile/index.js +2 -0
- package/dist/cjs/components/Profile/profile.js +74 -0
- package/dist/cjs/components/Search/index.js +2 -0
- package/dist/cjs/components/Settings/index.js +2 -0
- package/dist/cjs/components/SignIn/index.js +2 -0
- package/dist/cjs/controllers/overflow/index.js +2 -0
- package/dist/cjs/controllers/overflow/overflow-context.js +16 -0
- package/dist/cjs/controllers/overflow/overflow-provider.js +27 -0
- package/dist/cjs/controllers/overflow/use-overflow-controller.js +111 -0
- package/dist/cjs/controllers/overflow/use-overflow-status.js +20 -0
- package/dist/cjs/entry-points/app-switcher.js +4 -3
- package/dist/cjs/entry-points/overflow.js +2 -2
- package/dist/cjs/entry-points/profile.js +2 -2
- package/dist/cjs/entry-points/skeleton-help-button.js +2 -1
- package/dist/cjs/index.js +8 -7
- package/dist/cjs/nav4-skeleton-help-button.js +33 -0
- package/dist/cjs/nav4-skeleton-notification-button.js +24 -0
- package/dist/cjs/nav4-skeleton-settings-button.js +23 -0
- package/dist/cjs/nav4-skeleton-switcher-button.js +24 -0
- package/dist/cjs/skeleton-help-button.js +1 -24
- package/dist/cjs/skeleton-notification-button.js +8 -16
- package/dist/cjs/skeleton-settings-button.js +8 -15
- package/dist/cjs/skeleton-switcher-button.js +14 -17
- package/dist/cjs/theme/atlassian-theme.js +16 -0
- package/dist/cjs/theme/convert-hex-shorthand.js +47 -0
- package/dist/cjs/theme/default-theme-brand-refresh.js +10 -0
- package/dist/cjs/theme/default-theme.js +1 -2
- package/dist/cjs/theme/generate-text-color.js +13 -0
- package/dist/cjs/theme/get-box-shadow.js +9 -0
- package/dist/cjs/theme/get-contrast-color.js +12 -0
- package/dist/cjs/theme/hex-to-rgba.js +18 -0
- package/dist/cjs/theme/index.js +2 -2
- package/dist/cjs/theme/theme-context.js +10 -0
- package/dist/cjs/theme/theme-generator.js +28 -18
- package/dist/cjs/theme/theme-helpers.js +10 -5
- package/dist/cjs/theme/theme-provider.js +11 -8
- package/dist/cjs/theme/themes.js +11 -8
- package/dist/cjs/theme/use-theme.js +2 -2
- package/dist/es2019/common/action-section-desktop-css.js +6 -0
- package/dist/es2019/common/action-section-mobile-css.js +6 -0
- package/dist/es2019/common/constants.js +3 -0
- package/dist/es2019/common/styles.js +2 -11
- package/dist/es2019/components/AppSwitcher/app-switcher-nav4.js +52 -0
- package/dist/es2019/components/AppSwitcher/app-switcher.js +70 -0
- package/dist/es2019/components/AppSwitcher/index.js +0 -116
- package/dist/es2019/components/AtlassianNavigation/index.js +6 -0
- package/dist/es2019/components/AtlassianNavigation/skeleton.js +2 -0
- package/dist/es2019/components/Create/index.js +2 -0
- package/dist/es2019/components/Help/index.js +2 -0
- package/dist/es2019/components/IconButton/index.js +1 -0
- package/dist/es2019/components/Notifications/index.js +2 -0
- package/dist/es2019/components/PrimaryButton/index.js +2 -0
- package/dist/es2019/components/PrimaryDropdownButton/index.js +2 -0
- package/dist/es2019/components/PrimaryItemsContainer/index.js +2 -1
- package/dist/es2019/components/ProductHome/app-home.js +185 -0
- package/dist/es2019/components/ProductHome/custom-product-home.js +2 -0
- package/dist/es2019/components/ProductHome/product-home.js +5 -110
- package/dist/es2019/components/Profile/index.js +2 -0
- package/dist/es2019/components/Profile/profile.js +65 -0
- package/dist/es2019/components/Search/index.js +2 -0
- package/dist/es2019/components/Settings/index.js +2 -0
- package/dist/es2019/components/SignIn/index.js +2 -0
- package/dist/es2019/controllers/overflow/index.js +2 -0
- package/dist/es2019/controllers/overflow/overflow-context.js +8 -0
- package/dist/es2019/controllers/overflow/overflow-provider.js +18 -0
- package/dist/es2019/controllers/overflow/use-overflow-controller.js +89 -0
- package/dist/es2019/controllers/overflow/use-overflow-status.js +13 -0
- package/dist/es2019/entry-points/app-switcher.js +2 -1
- package/dist/es2019/entry-points/overflow.js +1 -1
- package/dist/es2019/entry-points/profile.js +1 -1
- package/dist/es2019/entry-points/skeleton-help-button.js +2 -1
- package/dist/es2019/index.js +4 -3
- package/dist/es2019/nav4-skeleton-help-button.js +24 -0
- package/dist/es2019/nav4-skeleton-notification-button.js +15 -0
- package/dist/es2019/nav4-skeleton-settings-button.js +14 -0
- package/dist/es2019/nav4-skeleton-switcher-button.js +15 -0
- package/dist/es2019/skeleton-help-button.js +1 -22
- package/dist/es2019/skeleton-notification-button.js +1 -13
- package/dist/es2019/skeleton-settings-button.js +1 -12
- package/dist/es2019/skeleton-switcher-button.js +8 -14
- package/dist/es2019/theme/atlassian-theme.js +10 -0
- package/dist/es2019/theme/convert-hex-shorthand.js +27 -0
- package/dist/es2019/theme/default-theme-brand-refresh.js +3 -0
- package/dist/es2019/theme/default-theme.js +0 -1
- package/dist/es2019/theme/generate-text-color.js +6 -0
- package/dist/es2019/theme/get-box-shadow.js +1 -0
- package/dist/es2019/theme/get-contrast-color.js +3 -0
- package/dist/es2019/theme/hex-to-rgba.js +8 -0
- package/dist/es2019/theme/index.js +1 -1
- package/dist/es2019/theme/theme-context.js +4 -0
- package/dist/es2019/theme/theme-generator.js +12 -2
- package/dist/es2019/theme/theme-helpers.js +3 -5
- package/dist/es2019/theme/theme-provider.js +5 -7
- package/dist/es2019/theme/themes.js +6 -8
- package/dist/es2019/theme/use-theme.js +1 -1
- package/dist/esm/common/action-section-desktop-css.js +5 -0
- package/dist/esm/common/action-section-mobile-css.js +5 -0
- package/dist/esm/common/constants.js +3 -0
- package/dist/esm/common/styles.js +2 -8
- package/dist/esm/components/AppSwitcher/app-switcher-nav4.js +52 -0
- package/dist/esm/components/AppSwitcher/app-switcher.js +70 -0
- package/dist/esm/components/AppSwitcher/index.js +0 -115
- package/dist/esm/components/AtlassianNavigation/index.js +6 -0
- package/dist/esm/components/AtlassianNavigation/skeleton.js +2 -0
- package/dist/esm/components/Create/index.js +2 -0
- package/dist/esm/components/Help/index.js +2 -0
- package/dist/esm/components/IconButton/index.js +1 -0
- package/dist/esm/components/Notifications/index.js +2 -0
- package/dist/esm/components/PrimaryButton/index.js +2 -0
- package/dist/esm/components/PrimaryDropdownButton/index.js +2 -0
- package/dist/esm/components/PrimaryItemsContainer/index.js +2 -1
- package/dist/esm/components/ProductHome/app-home.js +172 -0
- package/dist/esm/components/ProductHome/custom-product-home.js +2 -0
- package/dist/esm/components/ProductHome/product-home.js +16 -110
- package/dist/esm/components/Profile/index.js +2 -0
- package/dist/esm/components/Profile/profile.js +65 -0
- package/dist/esm/components/Search/index.js +2 -0
- package/dist/esm/components/Settings/index.js +2 -0
- package/dist/esm/components/SignIn/index.js +2 -0
- package/dist/esm/controllers/overflow/index.js +2 -0
- package/dist/esm/controllers/overflow/overflow-context.js +8 -0
- package/dist/esm/controllers/overflow/overflow-provider.js +19 -0
- package/dist/esm/controllers/overflow/use-overflow-controller.js +103 -0
- package/dist/esm/controllers/overflow/use-overflow-status.js +15 -0
- package/dist/esm/entry-points/app-switcher.js +2 -1
- package/dist/esm/entry-points/overflow.js +1 -1
- package/dist/esm/entry-points/profile.js +1 -1
- package/dist/esm/entry-points/skeleton-help-button.js +2 -1
- package/dist/esm/index.js +4 -3
- package/dist/esm/nav4-skeleton-help-button.js +26 -0
- package/dist/esm/nav4-skeleton-notification-button.js +17 -0
- package/dist/esm/nav4-skeleton-settings-button.js +16 -0
- package/dist/esm/nav4-skeleton-switcher-button.js +17 -0
- package/dist/esm/skeleton-help-button.js +0 -23
- package/dist/esm/skeleton-notification-button.js +1 -15
- package/dist/esm/skeleton-settings-button.js +1 -14
- package/dist/esm/skeleton-switcher-button.js +8 -16
- package/dist/esm/theme/atlassian-theme.js +10 -0
- package/dist/esm/theme/convert-hex-shorthand.js +40 -0
- package/dist/esm/theme/default-theme-brand-refresh.js +3 -0
- package/dist/esm/theme/default-theme.js +0 -1
- package/dist/esm/theme/generate-text-color.js +6 -0
- package/dist/esm/theme/get-box-shadow.js +3 -0
- package/dist/esm/theme/get-contrast-color.js +5 -0
- package/dist/esm/theme/hex-to-rgba.js +11 -0
- package/dist/esm/theme/index.js +1 -1
- package/dist/esm/theme/theme-context.js +4 -0
- package/dist/esm/theme/theme-generator.js +12 -2
- package/dist/esm/theme/theme-helpers.js +3 -5
- package/dist/esm/theme/theme-provider.js +5 -7
- package/dist/esm/theme/themes.js +6 -8
- package/dist/esm/theme/use-theme.js +1 -1
- package/dist/types/common/action-section-desktop-css.d.ts +5 -0
- package/dist/types/common/action-section-mobile-css.d.ts +5 -0
- package/dist/types/common/constants.d.ts +3 -0
- package/dist/types/common/styles.d.ts +2 -10
- package/dist/types/components/AppSwitcher/app-switcher-nav4.d.ts +6 -0
- package/dist/types/components/AppSwitcher/app-switcher.d.ts +14 -0
- package/dist/types/components/AppSwitcher/index.d.ts +0 -12
- package/dist/types/components/AppSwitcher/types.d.ts +3 -0
- package/dist/types/components/AtlassianNavigation/index.d.ts +2 -0
- package/dist/types/components/AtlassianNavigation/skeleton.d.ts +2 -0
- package/dist/types/components/AtlassianNavigation/types.d.ts +6 -0
- package/dist/types/components/Create/index.d.ts +2 -0
- package/dist/types/components/Help/index.d.ts +2 -0
- package/dist/types/components/IconButton/index.d.ts +1 -0
- package/dist/types/components/Notifications/index.d.ts +2 -0
- package/dist/types/components/PrimaryButton/index.d.ts +2 -0
- package/dist/types/components/PrimaryDropdownButton/index.d.ts +2 -0
- package/dist/types/components/ProductHome/app-home.d.ts +20 -0
- package/dist/types/components/ProductHome/custom-product-home.d.ts +2 -0
- package/dist/types/components/ProductHome/product-home.d.ts +4 -13
- package/dist/types/components/Profile/index.d.ts +2 -0
- package/dist/types/components/Profile/profile.d.ts +14 -0
- package/dist/types/components/Profile/types.d.ts +3 -0
- package/dist/types/components/Search/index.d.ts +2 -0
- package/dist/types/components/Search/types.d.ts +3 -0
- package/dist/types/components/Settings/index.d.ts +2 -0
- package/dist/types/components/Settings/types.d.ts +3 -0
- package/dist/types/components/SignIn/index.d.ts +2 -0
- package/dist/types/components/SignIn/types.d.ts +3 -0
- package/dist/types/components/SkeletonCreateButton/types.d.ts +3 -0
- package/dist/types/components/SkeletonIconButton/types.d.ts +3 -0
- package/dist/types/components/SkeletonPrimaryButton/types.d.ts +3 -0
- package/dist/types/controllers/overflow/index.d.ts +2 -0
- package/dist/types/controllers/overflow/overflow-context.d.ts +17 -0
- package/dist/types/controllers/overflow/overflow-provider.d.ts +3 -0
- package/dist/types/controllers/overflow/use-overflow-controller.d.ts +7 -0
- package/dist/types/controllers/overflow/use-overflow-status.d.ts +11 -0
- package/dist/types/entry-points/app-switcher.d.ts +2 -1
- package/dist/types/entry-points/overflow.d.ts +1 -1
- package/dist/types/entry-points/profile.d.ts +1 -1
- package/dist/types/entry-points/skeleton-help-button.d.ts +2 -1
- package/dist/types/index.d.ts +4 -3
- package/dist/types/nav4-skeleton-help-button.d.ts +8 -0
- package/dist/types/nav4-skeleton-notification-button.d.ts +9 -0
- package/dist/types/nav4-skeleton-settings-button.d.ts +8 -0
- package/dist/types/nav4-skeleton-switcher-button.d.ts +8 -0
- package/dist/types/skeleton-help-button.d.ts +0 -6
- package/dist/types/skeleton-notification-button.d.ts +1 -7
- package/dist/types/skeleton-settings-button.d.ts +1 -6
- package/dist/types/skeleton-switcher-button.d.ts +6 -6
- package/dist/types/theme/atlassian-theme.d.ts +5 -0
- package/dist/types/theme/convert-hex-shorthand.d.ts +1 -0
- package/dist/types/theme/default-theme-brand-refresh.d.ts +1 -0
- package/dist/types/theme/default-theme.d.ts +0 -1
- package/dist/types/theme/generate-text-color.d.ts +1 -0
- package/dist/types/theme/get-box-shadow.d.ts +1 -0
- package/dist/types/theme/get-contrast-color.d.ts +1 -0
- package/dist/types/theme/hex-to-rgba.d.ts +1 -0
- package/dist/types/theme/index.d.ts +1 -1
- package/dist/types/theme/theme-context.d.ts +3 -0
- package/dist/types/theme/theme-generator.d.ts +5 -0
- package/dist/types/theme/theme-helpers.d.ts +1 -1
- package/dist/types/theme/theme-provider.d.ts +4 -2
- package/dist/types/theme/themes.d.ts +4 -1
- package/dist/types/theme/types.d.ts +30 -0
- package/dist/types-ts4.5/common/action-section-desktop-css.d.ts +5 -0
- package/dist/types-ts4.5/common/action-section-mobile-css.d.ts +5 -0
- package/dist/types-ts4.5/common/constants.d.ts +3 -0
- package/dist/types-ts4.5/common/styles.d.ts +2 -10
- package/dist/types-ts4.5/components/AppSwitcher/app-switcher-nav4.d.ts +6 -0
- package/dist/types-ts4.5/components/AppSwitcher/app-switcher.d.ts +14 -0
- package/dist/types-ts4.5/components/AppSwitcher/index.d.ts +0 -12
- package/dist/types-ts4.5/components/AppSwitcher/types.d.ts +3 -0
- package/dist/types-ts4.5/components/AtlassianNavigation/index.d.ts +2 -0
- package/dist/types-ts4.5/components/AtlassianNavigation/skeleton.d.ts +2 -0
- package/dist/types-ts4.5/components/AtlassianNavigation/types.d.ts +6 -0
- package/dist/types-ts4.5/components/Create/index.d.ts +2 -0
- package/dist/types-ts4.5/components/Help/index.d.ts +2 -0
- package/dist/types-ts4.5/components/IconButton/index.d.ts +1 -0
- package/dist/types-ts4.5/components/Notifications/index.d.ts +2 -0
- package/dist/types-ts4.5/components/PrimaryButton/index.d.ts +2 -0
- package/dist/types-ts4.5/components/PrimaryDropdownButton/index.d.ts +2 -0
- package/dist/types-ts4.5/components/ProductHome/app-home.d.ts +20 -0
- package/dist/types-ts4.5/components/ProductHome/custom-product-home.d.ts +2 -0
- package/dist/types-ts4.5/components/ProductHome/product-home.d.ts +4 -13
- package/dist/types-ts4.5/components/Profile/index.d.ts +2 -0
- package/dist/types-ts4.5/components/Profile/profile.d.ts +14 -0
- package/dist/types-ts4.5/components/Profile/types.d.ts +3 -0
- package/dist/types-ts4.5/components/Search/index.d.ts +2 -0
- package/dist/types-ts4.5/components/Search/types.d.ts +3 -0
- package/dist/types-ts4.5/components/Settings/index.d.ts +2 -0
- package/dist/types-ts4.5/components/Settings/types.d.ts +3 -0
- package/dist/types-ts4.5/components/SignIn/index.d.ts +2 -0
- package/dist/types-ts4.5/components/SignIn/types.d.ts +3 -0
- package/dist/types-ts4.5/components/SkeletonCreateButton/types.d.ts +3 -0
- package/dist/types-ts4.5/components/SkeletonIconButton/types.d.ts +3 -0
- package/dist/types-ts4.5/components/SkeletonPrimaryButton/types.d.ts +3 -0
- package/dist/types-ts4.5/controllers/overflow/index.d.ts +2 -0
- package/dist/types-ts4.5/controllers/overflow/overflow-context.d.ts +17 -0
- package/dist/types-ts4.5/controllers/overflow/overflow-provider.d.ts +3 -0
- package/dist/types-ts4.5/controllers/overflow/use-overflow-controller.d.ts +7 -0
- package/dist/types-ts4.5/controllers/overflow/use-overflow-status.d.ts +11 -0
- package/dist/types-ts4.5/entry-points/app-switcher.d.ts +2 -1
- package/dist/types-ts4.5/entry-points/overflow.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/profile.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/skeleton-help-button.d.ts +2 -1
- package/dist/types-ts4.5/index.d.ts +4 -3
- package/dist/types-ts4.5/nav4-skeleton-help-button.d.ts +8 -0
- package/dist/types-ts4.5/nav4-skeleton-notification-button.d.ts +9 -0
- package/dist/types-ts4.5/nav4-skeleton-settings-button.d.ts +8 -0
- package/dist/types-ts4.5/nav4-skeleton-switcher-button.d.ts +8 -0
- package/dist/types-ts4.5/skeleton-help-button.d.ts +0 -6
- package/dist/types-ts4.5/skeleton-notification-button.d.ts +1 -7
- package/dist/types-ts4.5/skeleton-settings-button.d.ts +1 -6
- package/dist/types-ts4.5/skeleton-switcher-button.d.ts +6 -6
- package/dist/types-ts4.5/theme/atlassian-theme.d.ts +5 -0
- package/dist/types-ts4.5/theme/convert-hex-shorthand.d.ts +1 -0
- package/dist/types-ts4.5/theme/default-theme-brand-refresh.d.ts +1 -0
- package/dist/types-ts4.5/theme/default-theme.d.ts +0 -1
- package/dist/types-ts4.5/theme/generate-text-color.d.ts +1 -0
- package/dist/types-ts4.5/theme/get-box-shadow.d.ts +1 -0
- package/dist/types-ts4.5/theme/get-contrast-color.d.ts +1 -0
- package/dist/types-ts4.5/theme/hex-to-rgba.d.ts +1 -0
- package/dist/types-ts4.5/theme/index.d.ts +1 -1
- package/dist/types-ts4.5/theme/theme-context.d.ts +3 -0
- package/dist/types-ts4.5/theme/theme-generator.d.ts +5 -0
- package/dist/types-ts4.5/theme/theme-helpers.d.ts +1 -1
- package/dist/types-ts4.5/theme/theme-provider.d.ts +4 -2
- package/dist/types-ts4.5/theme/themes.d.ts +4 -1
- package/dist/types-ts4.5/theme/types.d.ts +30 -0
- package/package.json +12 -12
- package/afm-jira/tsconfig.json +0 -64
- /package/dist/cjs/components/AppSwitcher/{index.compiled.css → app-switcher.compiled.css} +0 -0
- /package/dist/cjs/{skeleton-help-button.compiled.css → nav4-skeleton-help-button.compiled.css} +0 -0
- /package/dist/es2019/components/AppSwitcher/{index.compiled.css → app-switcher.compiled.css} +0 -0
- /package/dist/es2019/{skeleton-help-button.compiled.css → nav4-skeleton-help-button.compiled.css} +0 -0
- /package/dist/esm/components/AppSwitcher/{index.compiled.css → app-switcher.compiled.css} +0 -0
- /package/dist/esm/{skeleton-help-button.compiled.css → nav4-skeleton-help-button.compiled.css} +0 -0
|
@@ -14,24 +14,45 @@ export type ButtonCSSContext = {
|
|
|
14
14
|
selected: ButtonCSSProperties;
|
|
15
15
|
selectedHover?: ButtonCSSProperties;
|
|
16
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
19
|
+
*/
|
|
17
20
|
export type CreateCSS = ButtonCSSContext;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
23
|
+
*/
|
|
18
24
|
export type IconButtonCSS = ButtonCSSContext;
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
27
|
+
*/
|
|
19
28
|
export type PrimaryButtonCSS = ButtonCSSContext;
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
31
|
+
*/
|
|
20
32
|
export type NavigationCSS = CSSProperties;
|
|
21
33
|
type LogoStyleProps = {
|
|
22
34
|
iconColor?: string;
|
|
23
35
|
textColor?: string;
|
|
24
36
|
};
|
|
25
37
|
export type ProductHomeCSS = CSSProperties & LogoStyleProps;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
40
|
+
*/
|
|
26
41
|
export type SearchCSS = {
|
|
27
42
|
default: CSSProperties;
|
|
28
43
|
focus: CSSObject;
|
|
29
44
|
hover: CSSObject;
|
|
30
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
48
|
+
*/
|
|
31
49
|
export type SkeletonCSS = CSSObject & {
|
|
32
50
|
backgroundColor: string;
|
|
33
51
|
opacity: number;
|
|
34
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
55
|
+
*/
|
|
35
56
|
export type Mode = {
|
|
36
57
|
create: CreateCSS;
|
|
37
58
|
iconButton: IconButtonCSS;
|
|
@@ -41,13 +62,22 @@ export type Mode = {
|
|
|
41
62
|
search: SearchCSS;
|
|
42
63
|
skeleton: SkeletonCSS;
|
|
43
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
67
|
+
*/
|
|
44
68
|
export type NavigationTheme = {
|
|
45
69
|
mode: Mode;
|
|
46
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
73
|
+
*/
|
|
47
74
|
export type Colors = {
|
|
48
75
|
backgroundColor: string;
|
|
49
76
|
color: string;
|
|
50
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
80
|
+
*/
|
|
51
81
|
export type GenerateThemeArgs = {
|
|
52
82
|
/**
|
|
53
83
|
* Name of the theme.
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
3
|
+
*/
|
|
1
4
|
export declare const HORIZONTAL_GLOBAL_NAV_HEIGHT = 56;
|
|
2
5
|
export declare const PRODUCT_HOME_BREAKPOINT = 1280;
|
|
3
6
|
export declare const CREATE_BREAKPOINT = 1130;
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
display: string;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export declare const actionSectionMobileCSS: {
|
|
7
|
-
'@media (min-width: 1130px)': {
|
|
8
|
-
display: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
1
|
+
export { actionSectionDesktopCSS } from './action-section-desktop-css';
|
|
2
|
+
export { actionSectionMobileCSS } from './action-section-mobile-css';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type AppSwitcherProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
5
|
+
*/
|
|
6
|
+
export declare const AppSwitcherNav4: React.ForwardRefExoticComponent<React.PropsWithoutRef<AppSwitcherProps> & React.RefAttributes<any>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type AppSwitcherProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* _App switcher__
|
|
5
|
+
*
|
|
6
|
+
* An AppSwitcher button that can be passed into `AtlassianNavigation`'s
|
|
7
|
+
* `renderAppSwitcher` prop.
|
|
8
|
+
*
|
|
9
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#app-switcher)
|
|
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 AppSwitcher: React.ForwardRefExoticComponent<React.PropsWithoutRef<AppSwitcherProps> & React.RefAttributes<any>>;
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type AppSwitcherProps } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* _App switcher__
|
|
5
|
-
*
|
|
6
|
-
* An AppSwitcher button that can be passed into `AtlassianNavigation`'s
|
|
7
|
-
* `renderAppSwitcher` prop.
|
|
8
|
-
*
|
|
9
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#app-switcher)
|
|
10
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
11
|
-
*/
|
|
12
|
-
export declare const AppSwitcher: React.ForwardRefExoticComponent<React.PropsWithoutRef<AppSwitcherProps> & React.RefAttributes<any>>;
|
|
13
|
-
export declare const AppSwitcherNav4: React.ForwardRefExoticComponent<React.PropsWithoutRef<AppSwitcherProps> & React.RefAttributes<any>>;
|
|
14
2
|
declare const _default: (_props: AppSwitcherProps) => void;
|
|
15
3
|
export default _default;
|
|
@@ -11,5 +11,7 @@ import { type AtlassianNavigationProps } from './types';
|
|
|
11
11
|
*
|
|
12
12
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples)
|
|
13
13
|
* - [Code](https://atlassian.design/components/atlassian-navigation/examples)
|
|
14
|
+
*
|
|
15
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
14
16
|
*/
|
|
15
17
|
export declare const AtlassianNavigation: (props: AtlassianNavigationProps) => React.JSX.Element;
|
|
@@ -16,5 +16,7 @@ import { type NavigationSkeletonProps } from './types';
|
|
|
16
16
|
*
|
|
17
17
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-loader)
|
|
18
18
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
19
|
+
*
|
|
20
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
19
21
|
*/
|
|
20
22
|
export declare const NavigationSkeleton: ({ primaryItemsCount, secondaryItemsCount, theme, showSiteName, shouldShowSearch, testId, }: NavigationSkeletonProps) => React.JSX.Element;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { type default as React, type ReactNode, type ReactNodeArray } from 'react';
|
|
2
2
|
import { type NavigationTheme } from '../../theme';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
5
|
+
*/
|
|
3
6
|
export interface AtlassianNavigationProps {
|
|
4
7
|
/**
|
|
5
8
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -77,6 +80,9 @@ export interface AtlassianNavigationProps {
|
|
|
77
80
|
*/
|
|
78
81
|
isSSRPlaceholderEnabled?: boolean;
|
|
79
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
85
|
+
*/
|
|
80
86
|
export interface NavigationSkeletonProps {
|
|
81
87
|
/**
|
|
82
88
|
* How many skeleton primary items to display.
|
|
@@ -12,5 +12,7 @@ import { type CreateProps } from './types';
|
|
|
12
12
|
*
|
|
13
13
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#create)
|
|
14
14
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
15
|
+
*
|
|
16
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
15
17
|
*/
|
|
16
18
|
export declare const Create: ({ onClick, href, text, buttonTooltip, iconButtonTooltip, testId, label, }: CreateProps) => React.JSX.Element;
|
|
@@ -7,5 +7,7 @@ import { type HelpProps } from './types';
|
|
|
7
7
|
*
|
|
8
8
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#help)
|
|
9
9
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
|
+
*
|
|
11
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
10
12
|
*/
|
|
11
13
|
export declare const Help: React.ForwardRefExoticComponent<React.PropsWithoutRef<HelpProps> & React.RefAttributes<any>>;
|
|
@@ -8,5 +8,6 @@ import { type IconButtonProps } from './types';
|
|
|
8
8
|
* pass into `AtlassianNavigation`'s render props, but where possible you should
|
|
9
9
|
* rely on the defaults.
|
|
10
10
|
*
|
|
11
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
11
12
|
*/
|
|
12
13
|
export declare const IconButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<IconButtonProps> & React.RefAttributes<HTMLElement>>;
|
|
@@ -8,5 +8,7 @@ import { type NotificationsProps } from './types';
|
|
|
8
8
|
*
|
|
9
9
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#notifications)
|
|
10
10
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
11
|
+
*
|
|
12
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
11
13
|
*/
|
|
12
14
|
export declare const Notifications: React.ForwardRefExoticComponent<React.PropsWithoutRef<NotificationsProps> & React.RefAttributes<any>>;
|
|
@@ -7,5 +7,7 @@ import { type PrimaryButtonProps } from './types';
|
|
|
7
7
|
*
|
|
8
8
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#dropdown-menu)
|
|
9
9
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
|
+
*
|
|
11
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
10
12
|
*/
|
|
11
13
|
export declare const PrimaryButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<PrimaryButtonProps> & React.RefAttributes<HTMLElement>>;
|
|
@@ -7,5 +7,7 @@ import { type PrimaryDropdownButtonProps } from './types';
|
|
|
7
7
|
*
|
|
8
8
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#button)
|
|
9
9
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
|
+
*
|
|
11
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
10
12
|
*/
|
|
11
13
|
export declare const PrimaryDropdownButton: React.ForwardRefExoticComponent<React.PropsWithoutRef<PrimaryDropdownButtonProps> & React.RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type AppHomeProps } from './types';
|
|
7
|
+
/**
|
|
8
|
+
* __App home__
|
|
9
|
+
*
|
|
10
|
+
* A variant of the ProductHome component designed for use with the updated app logos.
|
|
11
|
+
*
|
|
12
|
+
* Takes an icon, displayed at all viewport sizes, and a product name, which is
|
|
13
|
+
* displayed only at larger viewport sizes.
|
|
14
|
+
*
|
|
15
|
+
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#app-product-home)
|
|
16
|
+
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
17
|
+
*
|
|
18
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
19
|
+
*/
|
|
20
|
+
export declare const AppHome: ({ "aria-label": ariaLabel, href, name, icon: Icon, onClick, onMouseDown, siteTitle, testId, ...rest }: AppHomeProps) => React.JSX.Element;
|
|
@@ -11,6 +11,8 @@ import { type CustomProductHomeProps } from './types';
|
|
|
11
11
|
*
|
|
12
12
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#custom-product-home)
|
|
13
13
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
14
|
+
*
|
|
15
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
14
16
|
*/
|
|
15
17
|
declare const CustomProductHome: (props: CustomProductHomeProps) => React.JSX.Element;
|
|
16
18
|
export default CustomProductHome;
|
|
@@ -3,19 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { type
|
|
7
|
-
/**
|
|
8
|
-
* __App home__
|
|
9
|
-
*
|
|
10
|
-
* A variant of the ProductHome component designed for use with the updated app logos.
|
|
11
|
-
*
|
|
12
|
-
* Takes an icon, displayed at all viewport sizes, and a product name, which is
|
|
13
|
-
* displayed only at larger viewport sizes.
|
|
14
|
-
*
|
|
15
|
-
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#app-product-home)
|
|
16
|
-
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
17
|
-
*/
|
|
18
|
-
export declare const AppHome: ({ "aria-label": ariaLabel, href, name, icon: Icon, onClick, onMouseDown, siteTitle, testId, ...rest }: AppHomeProps) => React.JSX.Element;
|
|
6
|
+
import { type ProductHomeProps } from './types';
|
|
19
7
|
/**
|
|
20
8
|
* __Product home__
|
|
21
9
|
*
|
|
@@ -26,6 +14,9 @@ export declare const AppHome: ({ "aria-label": ariaLabel, href, name, icon: Icon
|
|
|
26
14
|
*
|
|
27
15
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#product-home)
|
|
28
16
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
17
|
+
*
|
|
18
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
29
19
|
*/
|
|
30
20
|
declare const ProductHome: ({ "aria-label": ariaLabel, href, icon: Icon, logo: Logo, logoMaxWidth, onClick, onMouseDown, siteTitle, testId, ...rest }: ProductHomeProps) => React.JSX.Element;
|
|
31
21
|
export default ProductHome;
|
|
22
|
+
export { AppHome } from './app-home';
|
|
@@ -8,6 +8,8 @@ import { type ProfileProps } from './types';
|
|
|
8
8
|
*
|
|
9
9
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#profile)
|
|
10
10
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
11
|
+
*
|
|
12
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
11
13
|
*/
|
|
12
14
|
export declare const Profile: React.ForwardRefExoticComponent<React.PropsWithoutRef<ProfileProps> & React.RefAttributes<HTMLElement>>;
|
|
13
15
|
declare const _default: (_props: ProfileProps) => void;
|
|
@@ -0,0 +1,14 @@
|
|
|
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>>;
|
|
@@ -11,5 +11,7 @@ import { type SearchProps } from './types';
|
|
|
11
11
|
*
|
|
12
12
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#search)
|
|
13
13
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
14
|
+
*
|
|
15
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
14
16
|
*/
|
|
15
17
|
export declare const Search: (props: SearchProps) => React.JSX.Element;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { type BaseIconButtonProps } from '../IconButton/types';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
4
|
+
*/
|
|
2
5
|
export type SearchProps = BaseIconButtonProps & {
|
|
3
6
|
/**
|
|
4
7
|
* Placeholder text for the search textbox.
|
|
@@ -7,5 +7,7 @@ import { type SettingsProps } from './types';
|
|
|
7
7
|
*
|
|
8
8
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#settings)
|
|
9
9
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
|
+
*
|
|
11
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
10
12
|
*/
|
|
11
13
|
export declare const Settings: React.ForwardRefExoticComponent<React.PropsWithoutRef<SettingsProps> & React.RefAttributes<any>>;
|
|
@@ -7,5 +7,7 @@ import { type SignInProps } from './types';
|
|
|
7
7
|
*
|
|
8
8
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#sign-in)
|
|
9
9
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
|
+
*
|
|
11
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
10
12
|
*/
|
|
11
13
|
export declare const SignIn: (props: SignInProps) => React.JSX.Element;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
4
|
+
*/
|
|
2
5
|
export type SkeletonPrimaryButtonProps = {
|
|
3
6
|
/**
|
|
4
7
|
* Text content to be displayed inside the skeleton button.
|
|
@@ -24,6 +24,8 @@ export declare const OverflowProvider: ({ children, isVisible, openOverflowMenu,
|
|
|
24
24
|
* Returns the current context value for the nearest OverflowProvider.
|
|
25
25
|
*
|
|
26
26
|
* - [Example](https://atlassian.design/components/atlassian-navigation/examples#responsive)
|
|
27
|
+
*
|
|
28
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
27
29
|
*/
|
|
28
30
|
export declare const useOverflowStatus: () => OverflowContext;
|
|
29
31
|
export declare const useOverflowController: (nodes: ReactNode | ReactNode[]) => {
|
|
@@ -0,0 +1,17 @@
|
|
|
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>;
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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 +1,2 @@
|
|
|
1
|
-
export { AppSwitcher
|
|
1
|
+
export { AppSwitcher } from '../components/AppSwitcher/app-switcher';
|
|
2
|
+
export { AppSwitcherNav4 } from '../components/AppSwitcher/app-switcher-nav4';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { useOverflowStatus } from '../controllers/overflow/
|
|
1
|
+
export { useOverflowStatus } from '../controllers/overflow/use-overflow-status';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Profile } from '../components/Profile/
|
|
1
|
+
export { Profile } from '../components/Profile/profile';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { Nav4SkeletonHelpButton
|
|
1
|
+
export { Nav4SkeletonHelpButton } from '../nav4-skeleton-help-button';
|
|
2
|
+
export { SkeletonHelpButton } from '../skeleton-help-button';
|
|
2
3
|
export type { SkeletonHelpButtonProps } from '../skeleton-help-button';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { AtlassianNavigation } from './components/AtlassianNavigation';
|
|
2
2
|
export type { AtlassianNavigationProps } from './components/AtlassianNavigation/types';
|
|
3
|
-
export { AppSwitcher
|
|
3
|
+
export { AppSwitcher } from './components/AppSwitcher/app-switcher';
|
|
4
|
+
export { AppSwitcherNav4 } from './components/AppSwitcher/app-switcher-nav4';
|
|
4
5
|
export type { AppSwitcherProps } from './components/AppSwitcher/types';
|
|
5
6
|
export { Create } from './components/Create';
|
|
6
7
|
export type { CreateProps } from './components/Create/types';
|
|
@@ -16,7 +17,7 @@ export { IconButton } from './components/IconButton';
|
|
|
16
17
|
export type { IconButtonProps, BaseIconButtonProps } from './components/IconButton/types';
|
|
17
18
|
export { CustomProductHome, ProductHome, AppHome } from './components/ProductHome';
|
|
18
19
|
export type { CustomProductHomeProps, ProductHomeProps, AppHomeProps, } from './components/ProductHome/types';
|
|
19
|
-
export { Profile } from './components/Profile';
|
|
20
|
+
export { Profile } from './components/Profile/profile';
|
|
20
21
|
export type { ProfileProps } from './components/Profile/types';
|
|
21
22
|
export { Search } from './components/Search';
|
|
22
23
|
export type { SearchProps } from './components/Search/types';
|
|
@@ -24,7 +25,7 @@ export { Settings } from './components/Settings';
|
|
|
24
25
|
export type { SettingsProps } from './components/Settings/types';
|
|
25
26
|
export { SignIn } from './components/SignIn';
|
|
26
27
|
export type { SignInProps } from './components/SignIn/types';
|
|
27
|
-
export { useOverflowStatus } from './controllers/overflow';
|
|
28
|
+
export { useOverflowStatus } from './controllers/overflow/use-overflow-status';
|
|
28
29
|
export { HORIZONTAL_GLOBAL_NAV_HEIGHT } from './common/constants';
|
|
29
30
|
export { atlassianTheme, generateTheme, ThemeProvider } from './theme';
|
|
30
31
|
export type { Colors, CreateCSS, GenerateThemeArgs, IconButtonCSS, Mode, NavigationCSS, NavigationTheme, PrimaryButtonCSS, SearchCSS, SkeletonCSS, } from './theme';
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
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;
|
|
@@ -17,9 +17,3 @@ export type SkeletonHelpButtonProps = {
|
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
19
|
export declare const SkeletonHelpButton: ({ label }: SkeletonHelpButtonProps) => React.JSX.Element;
|
|
20
|
-
/**
|
|
21
|
-
* __Nav 4 skeleton help button__
|
|
22
|
-
*
|
|
23
|
-
* A nav 4 skeleton help button {description}.
|
|
24
|
-
*/
|
|
25
|
-
export declare const Nav4SkeletonHelpButton: ({ label, }: SkeletonHelpButtonProps) => React.JSX.Element;
|
|
@@ -17,10 +17,4 @@ export type SkeletonNotificationButtonProps = {
|
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
19
|
export declare const SkeletonNotificationButton: ({ label, }: SkeletonNotificationButtonProps) => React.JSX.Element;
|
|
20
|
-
|
|
21
|
-
* __Nav 4 skeleton notification button__
|
|
22
|
-
*
|
|
23
|
-
* A nav 4 skeleton notification button.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
export declare const Nav4SkeletonNotificationButton: ({ label, }: SkeletonNotificationButtonProps) => React.JSX.Element;
|
|
20
|
+
export { Nav4SkeletonNotificationButton } from './nav4-skeleton-notification-button';
|
|
@@ -17,9 +17,4 @@ export type SkeletonSettingsButtonProps = {
|
|
|
17
17
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
18
18
|
*/
|
|
19
19
|
export declare const SkeletonSettingsButton: ({ label, }: SkeletonSettingsButtonProps) => React.JSX.Element;
|
|
20
|
-
|
|
21
|
-
* __Nav 4 skeleton settings button__
|
|
22
|
-
*
|
|
23
|
-
* A nav 4 skeleton settings button
|
|
24
|
-
*/
|
|
25
|
-
export declare const Nav4SkeletonSettingsButton: ({ label, }: SkeletonSettingsButtonProps) => React.JSX.Element;
|
|
20
|
+
export { Nav4SkeletonSettingsButton } from './nav4-skeleton-settings-button';
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
8
|
+
*/
|
|
6
9
|
export type SkeletonSwitcherButtonProps = {
|
|
7
10
|
/**
|
|
8
11
|
* Describes the specific role of this navigation component for users viewing the page with a screen
|
|
@@ -25,11 +28,8 @@ export type SkeletonSwitcherButtonProps = {
|
|
|
25
28
|
*
|
|
26
29
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
27
30
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
28
|
-
*/
|
|
29
|
-
export declare const SkeletonSwitcherButton: ({ label, testId, }: SkeletonSwitcherButtonProps) => React.JSX.Element;
|
|
30
|
-
/**
|
|
31
|
-
* __Nav 4 skeleton switcher button__
|
|
32
31
|
*
|
|
33
|
-
*
|
|
32
|
+
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
|
|
34
33
|
*/
|
|
35
|
-
export declare const
|
|
34
|
+
export declare const SkeletonSwitcherButton: ({ label, testId, }: SkeletonSwitcherButtonProps) => React.JSX.Element;
|
|
35
|
+
export { Nav4SkeletonSwitcherButton } from './nav4-skeleton-switcher-button';
|