@atlaskit/empty-state 7.6.1 → 7.6.2
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 +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +16 -12
- package/tmp/api-report-tmp.d.ts +56 -0
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,41 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/empty-state",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.2",
|
|
4
4
|
"description": "An empty state appears when there is no data to display and describes what the user can do next.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
8
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
|
-
"homepage": "https://atlassian.design/components/empty-state/",
|
|
10
9
|
"author": "Atlassian Pty Ltd",
|
|
11
10
|
"license": "Apache-2.0",
|
|
12
11
|
"main": "dist/cjs/index.js",
|
|
13
12
|
"module": "dist/esm/index.js",
|
|
14
13
|
"module:es2019": "dist/es2019/index.js",
|
|
15
14
|
"types": "dist/types/index.d.ts",
|
|
16
|
-
"typesVersions": {
|
|
17
|
-
">=4.5 <4.9": {
|
|
18
|
-
"*": [
|
|
19
|
-
"dist/types-ts4.5/*",
|
|
20
|
-
"dist/types-ts4.5/index.d.ts"
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
15
|
"sideEffects": false,
|
|
25
16
|
"atlaskit:src": "src/index.tsx",
|
|
26
17
|
"atlassian": {
|
|
27
18
|
"team": "Design System Team",
|
|
28
19
|
"releaseModel": "continuous",
|
|
20
|
+
"productPushConsumption": [
|
|
21
|
+
"jira"
|
|
22
|
+
],
|
|
29
23
|
"website": {
|
|
30
24
|
"name": "Empty state",
|
|
31
25
|
"category": "Components"
|
|
32
26
|
}
|
|
33
27
|
},
|
|
34
28
|
"dependencies": {
|
|
35
|
-
"@atlaskit/button": "^16.
|
|
29
|
+
"@atlaskit/button": "^16.9.0",
|
|
36
30
|
"@atlaskit/spinner": "^15.5.0",
|
|
37
31
|
"@atlaskit/theme": "^12.5.0",
|
|
38
|
-
"@atlaskit/tokens": "^1.
|
|
32
|
+
"@atlaskit/tokens": "^1.14.0",
|
|
39
33
|
"@babel/runtime": "^7.0.0",
|
|
40
34
|
"@emotion/react": "^11.7.1"
|
|
41
35
|
},
|
|
@@ -44,6 +38,7 @@
|
|
|
44
38
|
},
|
|
45
39
|
"devDependencies": {
|
|
46
40
|
"@af/accessibility-testing": "*",
|
|
41
|
+
"@af/visual-regression": "*",
|
|
47
42
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
48
43
|
"@atlaskit/ssr": "*",
|
|
49
44
|
"@atlaskit/visual-regression": "*",
|
|
@@ -72,6 +67,15 @@
|
|
|
72
67
|
"deprecation": "no-deprecated-imports"
|
|
73
68
|
}
|
|
74
69
|
},
|
|
70
|
+
"homepage": "https://atlassian.design/components/empty-state/",
|
|
71
|
+
"typesVersions": {
|
|
72
|
+
">=4.5 <4.9": {
|
|
73
|
+
"*": [
|
|
74
|
+
"dist/types-ts4.5/*",
|
|
75
|
+
"dist/types-ts4.5/index.d.ts"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
75
79
|
"af:exports": {
|
|
76
80
|
"./types": "./src/types.tsx",
|
|
77
81
|
".": "./src/index.tsx"
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/empty-state"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
|
|
9
|
+
import type { ReactNode } from 'react';
|
|
10
|
+
|
|
11
|
+
// @public
|
|
12
|
+
const EmptyState: ({ description, header, headingLevel, imageHeight, imageUrl, imageWidth, isLoading, maxImageHeight, maxImageWidth, primaryAction, renderImage, secondaryAction, width, size, tertiaryAction, testId, }: EmptyStateProps) => JSX.Element;
|
|
13
|
+
export default EmptyState;
|
|
14
|
+
|
|
15
|
+
// @public (undocumented)
|
|
16
|
+
export interface EmptyStateProps {
|
|
17
|
+
description?: ReactNode;
|
|
18
|
+
header: string;
|
|
19
|
+
headingLevel?: number;
|
|
20
|
+
imageHeight?: number;
|
|
21
|
+
imageUrl?: string;
|
|
22
|
+
imageWidth?: number;
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
maxImageHeight?: number;
|
|
25
|
+
maxImageWidth?: number;
|
|
26
|
+
primaryAction?: ReactNode;
|
|
27
|
+
renderImage?: (props: RenderImageProps) => React.ReactNode;
|
|
28
|
+
secondaryAction?: ReactNode;
|
|
29
|
+
// @deprecated (undocumented)
|
|
30
|
+
size?: Width;
|
|
31
|
+
tertiaryAction?: ReactNode;
|
|
32
|
+
testId?: string;
|
|
33
|
+
width?: Width;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// @public (undocumented)
|
|
37
|
+
export interface RenderImageProps {
|
|
38
|
+
// (undocumented)
|
|
39
|
+
imageHeight?: number;
|
|
40
|
+
// (undocumented)
|
|
41
|
+
imageWidth?: number;
|
|
42
|
+
// (undocumented)
|
|
43
|
+
maxImageHeight?: number;
|
|
44
|
+
// (undocumented)
|
|
45
|
+
maxImageWidth?: number;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// @public (undocumented)
|
|
49
|
+
export type Sizes = 'narrow' | 'wide';
|
|
50
|
+
|
|
51
|
+
// @public (undocumented)
|
|
52
|
+
export type Width = Sizes;
|
|
53
|
+
|
|
54
|
+
// (No @packageDocumentation comment for this package)
|
|
55
|
+
|
|
56
|
+
```
|