@atlaskit/atlassian-navigation 2.2.10 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/cjs/common/styles.js +2 -16
- package/dist/cjs/components/AtlassianNavigation/index.js +11 -11
- package/dist/cjs/components/AtlassianNavigation/skeleton.js +14 -14
- package/dist/cjs/components/BadgeContainer/index.js +6 -6
- package/dist/cjs/components/Create/index.js +9 -9
- package/dist/cjs/components/Create/skeleton.js +5 -5
- package/dist/cjs/components/IconButton/skeleton.js +3 -3
- package/dist/cjs/components/PrimaryButton/index.js +6 -6
- package/dist/cjs/components/PrimaryButton/skeleton.js +3 -3
- package/dist/cjs/components/PrimaryDropdownButton/index.js +5 -5
- package/dist/cjs/components/PrimaryItemsContainer/index.js +10 -10
- package/dist/cjs/components/PrimaryItemsContainer/skeleton.js +4 -4
- package/dist/cjs/components/ProductHome/custom-product-home.js +10 -10
- package/dist/cjs/components/ProductHome/product-home.js +12 -12
- package/dist/cjs/components/ProductHome/skeleton.js +9 -9
- package/dist/cjs/components/Search/index.js +13 -12
- package/dist/cjs/components/Search/skeleton.js +7 -7
- package/dist/cjs/components/SkeletonCreateButton/index.js +3 -3
- package/dist/cjs/components/SkeletonIconButton/index.js +3 -3
- package/dist/cjs/components/SkeletonPrimaryButton/index.js +7 -7
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/common/styles.js +1 -10
- package/dist/es2019/components/AtlassianNavigation/index.js +1 -1
- package/dist/es2019/components/AtlassianNavigation/skeleton.js +1 -1
- package/dist/es2019/components/BadgeContainer/index.js +1 -1
- package/dist/es2019/components/Create/index.js +1 -1
- package/dist/es2019/components/Create/skeleton.js +1 -1
- package/dist/es2019/components/IconButton/skeleton.js +1 -1
- package/dist/es2019/components/PrimaryButton/index.js +1 -1
- package/dist/es2019/components/PrimaryButton/skeleton.js +1 -1
- package/dist/es2019/components/PrimaryDropdownButton/index.js +1 -1
- package/dist/es2019/components/PrimaryItemsContainer/index.js +1 -1
- package/dist/es2019/components/PrimaryItemsContainer/skeleton.js +1 -1
- package/dist/es2019/components/ProductHome/custom-product-home.js +1 -1
- package/dist/es2019/components/ProductHome/product-home.js +1 -1
- package/dist/es2019/components/ProductHome/skeleton.js +1 -1
- package/dist/es2019/components/Search/index.js +3 -2
- package/dist/es2019/components/Search/skeleton.js +1 -1
- package/dist/es2019/components/SkeletonCreateButton/index.js +1 -1
- package/dist/es2019/components/SkeletonIconButton/index.js +1 -1
- package/dist/es2019/components/SkeletonPrimaryButton/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/common/styles.js +1 -13
- package/dist/esm/components/AtlassianNavigation/index.js +1 -1
- package/dist/esm/components/AtlassianNavigation/skeleton.js +1 -1
- package/dist/esm/components/BadgeContainer/index.js +1 -1
- package/dist/esm/components/Create/index.js +1 -1
- package/dist/esm/components/Create/skeleton.js +1 -1
- package/dist/esm/components/IconButton/skeleton.js +1 -1
- package/dist/esm/components/PrimaryButton/index.js +1 -1
- package/dist/esm/components/PrimaryButton/skeleton.js +1 -1
- package/dist/esm/components/PrimaryDropdownButton/index.js +1 -1
- package/dist/esm/components/PrimaryItemsContainer/index.js +1 -1
- package/dist/esm/components/PrimaryItemsContainer/skeleton.js +1 -1
- package/dist/esm/components/ProductHome/custom-product-home.js +1 -1
- package/dist/esm/components/ProductHome/product-home.js +1 -1
- package/dist/esm/components/ProductHome/skeleton.js +1 -1
- package/dist/esm/components/Search/index.js +3 -2
- package/dist/esm/components/Search/skeleton.js +1 -1
- package/dist/esm/components/SkeletonCreateButton/index.js +1 -1
- package/dist/esm/components/SkeletonIconButton/index.js +1 -1
- package/dist/esm/components/SkeletonPrimaryButton/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/common/styles.d.ts +0 -914
- package/dist/types/components/AtlassianNavigation/index.d.ts +3 -2
- package/dist/types/components/AtlassianNavigation/skeleton.d.ts +3 -2
- package/dist/types/components/BadgeContainer/index.d.ts +3 -2
- package/dist/types/components/Create/index.d.ts +2 -2
- package/dist/types/components/Create/skeleton.d.ts +2 -2
- package/dist/types/components/IconButton/skeleton.d.ts +3 -2
- package/dist/types/components/PrimaryButton/skeleton.d.ts +2 -2
- package/dist/types/components/PrimaryItemsContainer/index.d.ts +2 -2
- package/dist/types/components/PrimaryItemsContainer/skeleton.d.ts +2 -2
- package/dist/types/components/ProductHome/custom-product-home.d.ts +2 -2
- package/dist/types/components/ProductHome/product-home.d.ts +2 -2
- package/dist/types/components/ProductHome/skeleton.d.ts +2 -2
- package/dist/types/components/Search/index.d.ts +2 -2
- package/dist/types/components/Search/skeleton.d.ts +2 -2
- package/dist/types/components/SkeletonCreateButton/index.d.ts +3 -2
- package/dist/types/components/SkeletonIconButton/index.d.ts +3 -2
- package/dist/types/components/SkeletonPrimaryButton/index.d.ts +3 -2
- package/dist/types/theme/types.d.ts +1 -1
- package/dist/types-ts4.0/common/styles.d.ts +0 -914
- package/dist/types-ts4.0/components/AtlassianNavigation/index.d.ts +3 -2
- package/dist/types-ts4.0/components/AtlassianNavigation/skeleton.d.ts +3 -2
- package/dist/types-ts4.0/components/BadgeContainer/index.d.ts +3 -2
- package/dist/types-ts4.0/components/Create/index.d.ts +2 -2
- package/dist/types-ts4.0/components/Create/skeleton.d.ts +2 -2
- package/dist/types-ts4.0/components/IconButton/skeleton.d.ts +3 -2
- package/dist/types-ts4.0/components/PrimaryButton/skeleton.d.ts +2 -2
- package/dist/types-ts4.0/components/PrimaryItemsContainer/index.d.ts +2 -2
- package/dist/types-ts4.0/components/PrimaryItemsContainer/skeleton.d.ts +2 -2
- package/dist/types-ts4.0/components/ProductHome/custom-product-home.d.ts +2 -2
- package/dist/types-ts4.0/components/ProductHome/product-home.d.ts +2 -2
- package/dist/types-ts4.0/components/ProductHome/skeleton.d.ts +2 -2
- package/dist/types-ts4.0/components/Search/index.d.ts +2 -2
- package/dist/types-ts4.0/components/Search/skeleton.d.ts +2 -2
- package/dist/types-ts4.0/components/SkeletonCreateButton/index.d.ts +3 -2
- package/dist/types-ts4.0/components/SkeletonIconButton/index.d.ts +3 -2
- package/dist/types-ts4.0/components/SkeletonPrimaryButton/index.d.ts +3 -2
- package/dist/types-ts4.0/theme/types.d.ts +1 -1
- package/package.json +3 -3
- package/report.api.md +136 -513
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { AtlassianNavigationProps } from './types';
|
|
3
4
|
/**
|
|
4
5
|
* __Atlassian navigation__
|
|
@@ -8,5 +9,5 @@ import { AtlassianNavigationProps } from './types';
|
|
|
8
9
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples)
|
|
9
10
|
* - [Code](https://atlassian.design/components/atlassian-navigation/examples)
|
|
10
11
|
*/
|
|
11
|
-
export declare const AtlassianNavigation: (props: AtlassianNavigationProps) => JSX.Element;
|
|
12
|
+
export declare const AtlassianNavigation: (props: AtlassianNavigationProps) => jsx.JSX.Element;
|
|
12
13
|
export default AtlassianNavigation;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { NavigationSkeletonProps } from './types';
|
|
3
4
|
/**
|
|
4
5
|
* __Navigation skeleton__
|
|
@@ -13,5 +14,5 @@ import { NavigationSkeletonProps } from './types';
|
|
|
13
14
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-loader)
|
|
14
15
|
* - [Code](https://atlassian.design/components/{packageName}/code)
|
|
15
16
|
*/
|
|
16
|
-
export declare const NavigationSkeleton: ({ primaryItemsCount, secondaryItemsCount, theme, showSiteName, shouldShowSearch, testId, }: NavigationSkeletonProps) => JSX.Element;
|
|
17
|
+
export declare const NavigationSkeleton: ({ primaryItemsCount, secondaryItemsCount, theme, showSiteName, shouldShowSearch, testId, }: NavigationSkeletonProps) => jsx.JSX.Element;
|
|
17
18
|
export default NavigationSkeleton;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { BadgeProps } from './types';
|
|
3
|
-
export declare const BadgeContainer: (props: BadgeProps) => JSX.Element;
|
|
4
|
+
export declare const BadgeContainer: (props: BadgeProps) => jsx.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
2
|
import { CreateProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* _Create__
|
|
@@ -9,5 +9,5 @@ import { CreateProps } from './types';
|
|
|
9
9
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#create)
|
|
10
10
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
11
11
|
*/
|
|
12
|
-
export declare const Create: ({ onClick, href, text, buttonTooltip, iconButtonTooltip, testId, }: CreateProps) => JSX.Element;
|
|
12
|
+
export declare const Create: ({ onClick, href, text, buttonTooltip, iconButtonTooltip, testId, }: CreateProps) => jsx.JSX.Element;
|
|
13
13
|
export default Create;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const CreateSkeleton: () => JSX.Element;
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
|
+
export declare const CreateSkeleton: () => jsx.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { IconButtonSkeletonProps } from './types';
|
|
3
|
-
export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) => JSX.Element;
|
|
4
|
+
export declare const IconButtonSkeleton: ({ className, marginLeft, marginRight, size, }: IconButtonSkeletonProps) => jsx.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
3
|
import { PrimaryButtonSkeletonProps } from './types';
|
|
4
|
-
export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) => JSX.Element;
|
|
4
|
+
export declare const PrimaryButtonSkeleton: (props: PrimaryButtonSkeletonProps) => jsx.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
2
|
import { NavigationTheme } from '../../theme';
|
|
3
3
|
import { PrimaryItemsContainerProps } from './types';
|
|
4
4
|
export declare const PrimaryItemsContainer: ({ moreLabel, items, create: Create, theme, testId, }: PrimaryItemsContainerProps & {
|
|
5
5
|
theme: NavigationTheme;
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => jsx.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
2
|
import { PrimaryItemsContainerSkeletonProps } from './types';
|
|
3
|
-
export declare const PrimaryItemsContainerSkeleton: ({ count, }: PrimaryItemsContainerSkeletonProps) => JSX.Element;
|
|
3
|
+
export declare const PrimaryItemsContainerSkeleton: ({ count, }: PrimaryItemsContainerSkeletonProps) => jsx.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
2
|
import { CustomProductHomeProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* __Custom product home__
|
|
@@ -8,5 +8,5 @@ import { CustomProductHomeProps } from './types';
|
|
|
8
8
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#custom-product-home)
|
|
9
9
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
10
|
*/
|
|
11
|
-
declare const CustomProductHome: (props: CustomProductHomeProps) => JSX.Element;
|
|
11
|
+
declare const CustomProductHome: (props: CustomProductHomeProps) => jsx.JSX.Element;
|
|
12
12
|
export default CustomProductHome;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
2
|
import { ProductHomeProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* __Product home__
|
|
@@ -11,5 +11,5 @@ import { ProductHomeProps } from './types';
|
|
|
11
11
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#product-home)
|
|
12
12
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
13
13
|
*/
|
|
14
|
-
declare const ProductHome: ({ icon: Icon, logo: Logo, siteTitle, onClick, href, onMouseDown, testId, logoMaxWidth, ...rest }: ProductHomeProps) => JSX.Element;
|
|
14
|
+
declare const ProductHome: ({ icon: Icon, logo: Logo, siteTitle, onClick, href, onMouseDown, testId, logoMaxWidth, ...rest }: ProductHomeProps) => jsx.JSX.Element;
|
|
15
15
|
export default ProductHome;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
2
|
import { SearchProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* __Search__
|
|
@@ -8,5 +8,5 @@ import { SearchProps } from './types';
|
|
|
8
8
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#search)
|
|
9
9
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
10
10
|
*/
|
|
11
|
-
export declare const Search: (props: SearchProps) => JSX.Element;
|
|
11
|
+
export declare const Search: (props: SearchProps) => jsx.JSX.Element;
|
|
12
12
|
export default Search;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SearchSkeleton: () => JSX.Element;
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
|
+
export declare const SearchSkeleton: () => jsx.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { SkeletonCreateButtonProps } from './types';
|
|
3
4
|
/**
|
|
4
5
|
* __Skeleton create button__
|
|
@@ -10,4 +11,4 @@ import { SkeletonCreateButtonProps } from './types';
|
|
|
10
11
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
11
12
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
12
13
|
*/
|
|
13
|
-
export declare const SkeletonCreateButton: ({ text, testId, }: SkeletonCreateButtonProps) => JSX.Element;
|
|
14
|
+
export declare const SkeletonCreateButton: ({ text, testId, }: SkeletonCreateButtonProps) => jsx.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { SkeletonIconButtonProps } from './types';
|
|
3
4
|
/**
|
|
4
5
|
* __Skeleton icon button__
|
|
@@ -10,4 +11,4 @@ import { SkeletonIconButtonProps } from './types';
|
|
|
10
11
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
11
12
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
12
13
|
*/
|
|
13
|
-
export declare const SkeletonIconButton: ({ children, testId, }: SkeletonIconButtonProps) => JSX.Element;
|
|
14
|
+
export declare const SkeletonIconButton: ({ children, testId, }: SkeletonIconButtonProps) => jsx.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { SkeletonPrimaryButtonProps } from './types';
|
|
3
4
|
/**
|
|
4
5
|
* __Skeleton primary button__
|
|
@@ -10,4 +11,4 @@ import { SkeletonPrimaryButtonProps } from './types';
|
|
|
10
11
|
* - [Examples](https://atlassian.design/components/atlassian-navigation/examples#skeleton-button)
|
|
11
12
|
* - [Code](https://atlassian.design/components/atlassian-navigation/code)
|
|
12
13
|
*/
|
|
13
|
-
export declare const SkeletonPrimaryButton: ({ isDropdownButton, isHighlighted, text, children, testId, }: SkeletonPrimaryButtonProps) => JSX.Element;
|
|
14
|
+
export declare const SkeletonPrimaryButton: ({ isDropdownButton, isHighlighted, text, children, testId, }: SkeletonPrimaryButtonProps) => jsx.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^6.5.0",
|
|
37
|
-
"@atlaskit/button": "^16.
|
|
37
|
+
"@atlaskit/button": "^16.4.0",
|
|
38
38
|
"@atlaskit/ds-lib": "^2.1.0",
|
|
39
39
|
"@atlaskit/icon": "^21.11.0",
|
|
40
40
|
"@atlaskit/logo": "*",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/tooltip": "^17.6.0",
|
|
45
45
|
"@atlaskit/width-detector": "^4.0.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
|
-
"@emotion/
|
|
47
|
+
"@emotion/react": "^11.7.1",
|
|
48
48
|
"chromatism": "^2.6.0",
|
|
49
49
|
"lodash": "^4.17.21"
|
|
50
50
|
},
|