@atlaskit/link-picker 1.8.3 → 1.9.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 +18 -0
- package/dist/cjs/controllers/use-fix-height/index.js +27 -0
- package/dist/cjs/services/use-plugins/index.js +48 -90
- package/dist/cjs/services/use-plugins/reducer.js +64 -0
- package/dist/cjs/services/use-plugins/utils.js +134 -0
- package/dist/cjs/ui/index.js +2 -1
- package/dist/cjs/ui/link-picker/form-footer/index.js +76 -0
- package/dist/cjs/ui/link-picker/form-footer/styled.js +17 -0
- package/dist/cjs/ui/link-picker/index.js +35 -76
- package/dist/cjs/ui/link-picker/link-search-error/index.js +47 -6
- package/dist/cjs/ui/link-picker/link-search-list/index.js +89 -20
- package/dist/cjs/ui/link-picker/link-search-list/link-search-no-results/index.js +54 -0
- package/dist/cjs/ui/link-picker/{link-search-no-results → link-search-list/link-search-no-results}/no-results-svg/index.js +0 -0
- package/dist/cjs/ui/link-picker/{link-search-no-results → link-search-list/link-search-no-results}/no-results-svg/styled.js +0 -0
- package/dist/cjs/ui/link-picker/link-search-list/link-search-no-results/styled.js +17 -0
- package/dist/cjs/ui/link-picker/link-search-list/styled.js +13 -6
- package/dist/cjs/ui/link-picker/messages.js +0 -50
- package/dist/cjs/ui/link-picker/styled.js +16 -11
- package/dist/cjs/ui/link-picker/text-input/styled.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/controllers/use-fix-height/index.js +19 -0
- package/dist/es2019/services/use-plugins/index.js +35 -57
- package/dist/es2019/services/use-plugins/reducer.js +37 -0
- package/dist/es2019/services/use-plugins/utils.js +59 -0
- package/dist/es2019/ui/index.js +1 -1
- package/dist/es2019/ui/link-picker/form-footer/index.js +51 -0
- package/dist/es2019/ui/link-picker/form-footer/styled.js +5 -0
- package/dist/es2019/ui/link-picker/index.js +30 -68
- package/dist/es2019/ui/link-picker/link-search-error/index.js +40 -4
- package/dist/es2019/ui/link-picker/link-search-list/index.js +60 -14
- package/dist/es2019/ui/link-picker/link-search-list/link-search-no-results/index.js +35 -0
- package/dist/es2019/ui/link-picker/{link-search-no-results → link-search-list/link-search-no-results}/no-results-svg/index.js +0 -0
- package/dist/es2019/ui/link-picker/{link-search-no-results → link-search-list/link-search-no-results}/no-results-svg/styled.js +0 -0
- package/dist/es2019/ui/link-picker/link-search-list/link-search-no-results/styled.js +6 -0
- package/dist/es2019/ui/link-picker/link-search-list/styled.js +23 -2
- package/dist/es2019/ui/link-picker/messages.js +0 -50
- package/dist/es2019/ui/link-picker/styled.js +20 -15
- package/dist/es2019/ui/link-picker/text-input/styled.js +3 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/controllers/use-fix-height/index.js +19 -0
- package/dist/esm/services/use-plugins/index.js +49 -94
- package/dist/esm/services/use-plugins/reducer.js +43 -0
- package/dist/esm/services/use-plugins/utils.js +111 -0
- package/dist/esm/ui/index.js +1 -1
- package/dist/esm/ui/link-picker/form-footer/index.js +53 -0
- package/dist/esm/ui/link-picker/form-footer/styled.js +6 -0
- package/dist/esm/ui/link-picker/index.js +31 -73
- package/dist/esm/ui/link-picker/link-search-error/index.js +41 -5
- package/dist/esm/ui/link-picker/link-search-list/index.js +67 -13
- package/dist/esm/ui/link-picker/link-search-list/link-search-no-results/index.js +37 -0
- package/dist/esm/ui/link-picker/{link-search-no-results → link-search-list/link-search-no-results}/no-results-svg/index.js +0 -0
- package/dist/esm/ui/link-picker/{link-search-no-results → link-search-list/link-search-no-results}/no-results-svg/styled.js +0 -0
- package/dist/esm/ui/link-picker/link-search-list/link-search-no-results/styled.js +6 -0
- package/dist/esm/ui/link-picker/link-search-list/styled.js +11 -5
- package/dist/esm/ui/link-picker/messages.js +0 -50
- package/dist/esm/ui/link-picker/styled.js +14 -11
- package/dist/esm/ui/link-picker/text-input/styled.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/controllers/use-fix-height/index.d.ts +8 -0
- package/dist/types/services/use-plugins/reducer.d.ts +30 -0
- package/dist/types/services/use-plugins/utils.d.ts +18 -0
- package/dist/types/ui/index.d.ts +5 -0
- package/dist/types/ui/link-picker/form-footer/index.d.ts +13 -0
- package/dist/types/ui/link-picker/form-footer/styled.d.ts +1 -0
- package/dist/types/ui/link-picker/index.d.ts +21 -18
- package/dist/types/ui/link-picker/link-search-error/index.d.ts +19 -3
- package/dist/types/ui/link-picker/link-search-list/index.d.ts +30 -5
- package/dist/types/ui/link-picker/link-search-list/link-search-no-results/index.d.ts +19 -0
- package/dist/types/ui/link-picker/{link-search-no-results → link-search-list/link-search-no-results}/no-results-svg/index.d.ts +0 -0
- package/dist/types/ui/link-picker/{link-search-no-results → link-search-list/link-search-no-results}/no-results-svg/styled.d.ts +0 -0
- package/dist/types/ui/link-picker/link-search-list/link-search-no-results/styled.d.ts +1 -0
- package/dist/types/ui/link-picker/link-search-list/styled.d.ts +1 -0
- package/dist/types/ui/link-picker/messages.d.ts +0 -50
- package/dist/types/ui/link-picker/styled.d.ts +5 -1
- package/package.json +15 -14
- package/report.api.md +8 -2
- package/dist/cjs/ui/link-picker/link-search-no-results/index.js +0 -27
- package/dist/es2019/ui/link-picker/link-search-no-results/index.js +0 -10
- package/dist/esm/ui/link-picker/link-search-no-results/index.js +0 -14
- package/dist/types/ui/link-picker/link-search-no-results/index.d.ts +0 -4
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
3
|
import { LinkInputType, LinkPickerPlugin } from '../types';
|
|
3
4
|
export declare const RECENT_SEARCH_LIST_SIZE = 5;
|
|
4
5
|
export declare const CONTACT_SUPPORT_LINK = "https://support.atlassian.com/contact/";
|
|
5
6
|
export declare const testIds: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
emptyResultPage: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
readonly clearUrlButton: "clear-text";
|
|
8
|
+
readonly urlError: "link-error";
|
|
9
|
+
readonly tabList: "link-picker-tabs";
|
|
10
|
+
readonly tabItem: "link-picker-tab";
|
|
11
|
+
readonly resultListTitle: string;
|
|
12
|
+
readonly searchResultItem: string;
|
|
13
|
+
readonly searchResultList: string;
|
|
14
|
+
readonly searchResultLoadingIndicator: string;
|
|
15
|
+
readonly emptyResultPage: string;
|
|
16
|
+
readonly searchError: string;
|
|
17
|
+
readonly insertButton: "link-picker-insert-button";
|
|
18
|
+
readonly cancelButton: "link-picker-cancel-button";
|
|
19
|
+
readonly linkPicker: "link-picker";
|
|
20
|
+
readonly urlInputField: "link-url";
|
|
21
|
+
readonly textInputField: "link-text";
|
|
22
|
+
readonly searchIcon: "link-picker-search-icon";
|
|
22
23
|
};
|
|
23
24
|
interface Meta {
|
|
24
25
|
/** Indicates how the link was picked. */
|
|
@@ -42,8 +43,10 @@ interface OnSubmitParameter {
|
|
|
42
43
|
rawUrl?: string;
|
|
43
44
|
}
|
|
44
45
|
export interface LinkPickerProps {
|
|
45
|
-
/**
|
|
46
|
-
|
|
46
|
+
/**
|
|
47
|
+
* Callback to fire on form submission.
|
|
48
|
+
*/
|
|
49
|
+
onSubmit: (arg: OnSubmitParameter, analytic?: UIAnalyticsEvent | null) => void;
|
|
47
50
|
/** Callback to fire when the cancel button is clicked. */
|
|
48
51
|
onCancel: () => void;
|
|
49
52
|
/** Callback to fire when content is changed inside the link picker e.g. items, when loading, tabs */
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
declare const
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
export declare const CONTACT_SUPPORT_LINK = "https://support.atlassian.com/contact/";
|
|
4
|
+
export declare const messages: {
|
|
5
|
+
searchErrorHeader: {
|
|
6
|
+
id: string;
|
|
7
|
+
defaultMessage: string;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
searchErrorDescription: {
|
|
11
|
+
id: string;
|
|
12
|
+
defaultMessage: string;
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const testIds: {
|
|
17
|
+
searchError: string;
|
|
18
|
+
};
|
|
19
|
+
declare const LinkSearchError: () => jsx.JSX.Element;
|
|
4
20
|
export default LinkSearchError;
|
|
@@ -1,8 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
1
|
+
/// <reference types="react" />
|
|
3
2
|
import { LinkSearchListItemData } from '../../types';
|
|
4
|
-
export
|
|
5
|
-
|
|
3
|
+
export declare const messages: {
|
|
4
|
+
titleRecentlyViewed: {
|
|
5
|
+
id: string;
|
|
6
|
+
defaultMessage: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
titleResults: {
|
|
10
|
+
id: string;
|
|
11
|
+
defaultMessage: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
searchLinkResults: {
|
|
15
|
+
id: string;
|
|
16
|
+
defaultMessage: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare const testIds: {
|
|
21
|
+
resultListTitle: string;
|
|
22
|
+
searchResultItem: string;
|
|
23
|
+
searchResultList: string;
|
|
24
|
+
searchResultLoadingIndicator: string;
|
|
25
|
+
emptyResultPage: string;
|
|
26
|
+
};
|
|
27
|
+
export interface LinkSearchListProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect' | 'onMouseEnter' | 'onMouseLeave'> {
|
|
28
|
+
items?: LinkSearchListItemData[] | null;
|
|
6
29
|
isLoading: boolean;
|
|
7
30
|
selectedIndex: number;
|
|
8
31
|
activeIndex: number;
|
|
@@ -13,6 +36,8 @@ export interface LinkSearchListProps {
|
|
|
13
36
|
ariaLabelledBy?: string;
|
|
14
37
|
role?: string;
|
|
15
38
|
id?: string;
|
|
39
|
+
error?: unknown;
|
|
40
|
+
hasSearchTerm?: boolean;
|
|
16
41
|
}
|
|
17
|
-
declare const LinkSearchList: (
|
|
42
|
+
declare const LinkSearchList: import("react").ForwardRefExoticComponent<LinkSearchListProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
43
|
export default LinkSearchList;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
export declare const messages: {
|
|
4
|
+
noResults: {
|
|
5
|
+
id: string;
|
|
6
|
+
defaultMessage: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
noResultsDescription: {
|
|
10
|
+
id: string;
|
|
11
|
+
defaultMessage: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const testIds: {
|
|
16
|
+
emptyResultPage: string;
|
|
17
|
+
};
|
|
18
|
+
declare const NoResults: () => jsx.JSX.Element;
|
|
19
|
+
export default NoResults;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const emptyStateWrapperStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const listContainerStyles: import("@emotion/react").SerializedStyles;
|
|
2
2
|
export declare const spinnerContainerStyles: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export declare const listStyles: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const listTitleStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -44,11 +44,6 @@ export declare const messages: {
|
|
|
44
44
|
defaultMessage: string;
|
|
45
45
|
description: string;
|
|
46
46
|
};
|
|
47
|
-
searchLinkResults: {
|
|
48
|
-
id: string;
|
|
49
|
-
defaultMessage: string;
|
|
50
|
-
description: string;
|
|
51
|
-
};
|
|
52
47
|
linkAriaLabel: {
|
|
53
48
|
id: string;
|
|
54
49
|
defaultMessage: string;
|
|
@@ -69,49 +64,4 @@ export declare const messages: {
|
|
|
69
64
|
defaultMessage: string;
|
|
70
65
|
description: string;
|
|
71
66
|
};
|
|
72
|
-
titleRecentlyViewed: {
|
|
73
|
-
id: string;
|
|
74
|
-
defaultMessage: string;
|
|
75
|
-
description: string;
|
|
76
|
-
};
|
|
77
|
-
titleResults: {
|
|
78
|
-
id: string;
|
|
79
|
-
defaultMessage: string;
|
|
80
|
-
description: string;
|
|
81
|
-
};
|
|
82
|
-
cancelButton: {
|
|
83
|
-
id: string;
|
|
84
|
-
defaultMessage: string;
|
|
85
|
-
description: string;
|
|
86
|
-
};
|
|
87
|
-
insertButton: {
|
|
88
|
-
id: string;
|
|
89
|
-
defaultMessage: string;
|
|
90
|
-
description: string;
|
|
91
|
-
};
|
|
92
|
-
noResults: {
|
|
93
|
-
id: string;
|
|
94
|
-
defaultMessage: string;
|
|
95
|
-
description: string;
|
|
96
|
-
};
|
|
97
|
-
noResultsDescription: {
|
|
98
|
-
id: string;
|
|
99
|
-
defaultMessage: string;
|
|
100
|
-
description: string;
|
|
101
|
-
};
|
|
102
|
-
saveButton: {
|
|
103
|
-
id: string;
|
|
104
|
-
defaultMessage: string;
|
|
105
|
-
description: string;
|
|
106
|
-
};
|
|
107
|
-
searchErrorHeader: {
|
|
108
|
-
id: string;
|
|
109
|
-
defaultMessage: string;
|
|
110
|
-
description: string;
|
|
111
|
-
};
|
|
112
|
-
searchErrorDescription: {
|
|
113
|
-
id: string;
|
|
114
|
-
defaultMessage: string;
|
|
115
|
-
description: string;
|
|
116
|
-
};
|
|
117
67
|
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Half padding on the top as the form field has a `gridSize()` margin top that cannot be overridden
|
|
3
|
+
*/
|
|
1
4
|
export declare const rootContainerStyles: import("@emotion/react").SerializedStyles;
|
|
2
5
|
export declare const rootContainerStylesForLoader: import("@emotion/react").SerializedStyles;
|
|
3
6
|
export declare const searchIconStyles: import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const listTitleStyles: import("@emotion/react").SerializedStyles;
|
|
5
7
|
export declare const tabsWrapperStyles: import("@emotion/react").SerializedStyles;
|
|
8
|
+
export declare const flexColumnStyles: import("@emotion/react").SerializedStyles;
|
|
9
|
+
export declare const formFooterMargin: import("@emotion/react").SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@atlaskit/analytics-next": "^8.3.1",
|
|
34
34
|
"@atlaskit/button": "^16.2.0",
|
|
35
|
-
"@atlaskit/empty-state": "^7.
|
|
35
|
+
"@atlaskit/empty-state": "^7.4.0",
|
|
36
36
|
"@atlaskit/form": "^8.5.1",
|
|
37
37
|
"@atlaskit/icon": "^21.10.0",
|
|
38
38
|
"@atlaskit/spinner": "^15.1.0",
|
|
39
|
-
"@atlaskit/tabs": "^13.
|
|
40
|
-
"@atlaskit/textfield": "^5.
|
|
41
|
-
"@atlaskit/theme": "^12.
|
|
39
|
+
"@atlaskit/tabs": "^13.3.0",
|
|
40
|
+
"@atlaskit/textfield": "^5.2.0",
|
|
41
|
+
"@atlaskit/theme": "^12.2.0",
|
|
42
42
|
"@atlaskit/tokens": "^0.10.0",
|
|
43
43
|
"@atlaskit/tooltip": "^17.5.0",
|
|
44
|
-
"@atlaskit/visually-hidden": "^1.
|
|
44
|
+
"@atlaskit/visually-hidden": "^1.1.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"date-fns": "^2.17.0",
|
|
@@ -56,22 +56,23 @@
|
|
|
56
56
|
"@af/codegen": "*",
|
|
57
57
|
"@atlaskit/activity-provider": "^2.3.2",
|
|
58
58
|
"@atlaskit/docs": "*",
|
|
59
|
+
"@atlaskit/link-analytics": "^1.0.0",
|
|
59
60
|
"@atlaskit/link-test-helpers": "^1.4.0",
|
|
60
61
|
"@atlaskit/popup": "^1.4.0",
|
|
61
62
|
"@atlaskit/ssr": "*",
|
|
62
|
-
"@atlaskit/toggle": "^12.
|
|
63
|
+
"@atlaskit/toggle": "^12.5.0",
|
|
63
64
|
"@atlaskit/visual-regression": "*",
|
|
64
65
|
"@atlaskit/webdriver-runner": "*",
|
|
65
66
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
66
|
-
"@atlassian/link-picker-atlassian-plugin": "^
|
|
67
|
-
"@atlassian/link-picker-plugins": "^
|
|
67
|
+
"@atlassian/link-picker-atlassian-plugin": "^19.0.0",
|
|
68
|
+
"@atlassian/link-picker-plugins": "^6.0.0",
|
|
68
69
|
"@atlassian/recent-work-client": "^1.6.0",
|
|
69
70
|
"@atlassian/search-provider": "^2.3.0",
|
|
70
|
-
"@testing-library/dom": "^
|
|
71
|
-
"@testing-library/jest-dom": "^
|
|
72
|
-
"@testing-library/react": "^
|
|
73
|
-
"@testing-library/react-hooks": "^1.0
|
|
74
|
-
"@testing-library/user-event": "
|
|
71
|
+
"@testing-library/dom": "^8.17.1",
|
|
72
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
73
|
+
"@testing-library/react": "^12.1.5",
|
|
74
|
+
"@testing-library/react-hooks": "^1.1.0",
|
|
75
|
+
"@testing-library/user-event": "^13.5.0",
|
|
75
76
|
"@types/js-yaml": "^3.12.5",
|
|
76
77
|
"enzyme": "^3.10.0",
|
|
77
78
|
"fetch-mock": "^8.0.0",
|
package/report.api.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
import { MessageDescriptor } from 'react-intl-next';
|
|
11
11
|
import { default as React_2 } from 'react';
|
|
12
12
|
import { ReactNode } from 'react';
|
|
13
|
+
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
13
14
|
|
|
14
15
|
export declare type LinkInputType = 'manual' | 'typeAhead';
|
|
15
16
|
|
|
@@ -35,8 +36,13 @@ export declare type LinkPickerPluginErrorFallback = (
|
|
|
35
36
|
) => ReactNode;
|
|
36
37
|
|
|
37
38
|
export declare interface LinkPickerProps {
|
|
38
|
-
/**
|
|
39
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Callback to fire on form submission.
|
|
41
|
+
*/
|
|
42
|
+
onSubmit: (
|
|
43
|
+
arg: OnSubmitParameter,
|
|
44
|
+
analytic?: UIAnalyticsEvent | null,
|
|
45
|
+
) => void;
|
|
40
46
|
/** Callback to fire when the cancel button is clicked. */
|
|
41
47
|
onCancel: () => void;
|
|
42
48
|
/** Callback to fire when content is changed inside the link picker e.g. items, when loading, tabs */
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
|
|
10
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
|
-
var _react = _interopRequireDefault(require("react"));
|
|
13
|
-
|
|
14
|
-
var _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
|
|
15
|
-
|
|
16
|
-
var _noResultsSvg = _interopRequireDefault(require("./no-results-svg"));
|
|
17
|
-
|
|
18
|
-
var NoResults = function NoResults(props) {
|
|
19
|
-
return /*#__PURE__*/_react.default.createElement(_emptyState.default, (0, _extends2.default)({}, props, {
|
|
20
|
-
renderImage: function renderImage() {
|
|
21
|
-
return /*#__PURE__*/_react.default.createElement(_noResultsSvg.default, null);
|
|
22
|
-
}
|
|
23
|
-
}));
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
var _default = NoResults;
|
|
27
|
-
exports.default = _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import EmptyState from '@atlaskit/empty-state';
|
|
4
|
-
import NoResultsSVG from './no-results-svg';
|
|
5
|
-
|
|
6
|
-
const NoResults = props => /*#__PURE__*/React.createElement(EmptyState, _extends({}, props, {
|
|
7
|
-
renderImage: () => /*#__PURE__*/React.createElement(NoResultsSVG, null)
|
|
8
|
-
}));
|
|
9
|
-
|
|
10
|
-
export default NoResults;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import EmptyState from '@atlaskit/empty-state';
|
|
4
|
-
import NoResultsSVG from './no-results-svg';
|
|
5
|
-
|
|
6
|
-
var NoResults = function NoResults(props) {
|
|
7
|
-
return /*#__PURE__*/React.createElement(EmptyState, _extends({}, props, {
|
|
8
|
-
renderImage: function renderImage() {
|
|
9
|
-
return /*#__PURE__*/React.createElement(NoResultsSVG, null);
|
|
10
|
-
}
|
|
11
|
-
}));
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export default NoResults;
|