@atlaskit/empty-state 7.7.2 → 7.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +271 -104
  2. package/README.md +4 -4
  3. package/dist/cjs/styled/actions-container.js +8 -3
  4. package/dist/cjs/styled/container.js +7 -0
  5. package/dist/cjs/styled/description.js +8 -3
  6. package/dist/cjs/styled/header.js +9 -2
  7. package/dist/cjs/styled/image.js +6 -0
  8. package/dist/cjs/styled/spinner-container.js +6 -1
  9. package/dist/es2019/styled/actions-container.js +7 -3
  10. package/dist/es2019/styled/container.js +6 -0
  11. package/dist/es2019/styled/description.js +7 -3
  12. package/dist/es2019/styled/header.js +8 -2
  13. package/dist/es2019/styled/image.js +5 -0
  14. package/dist/es2019/styled/spinner-container.js +5 -1
  15. package/dist/esm/styled/actions-container.js +7 -3
  16. package/dist/esm/styled/container.js +6 -0
  17. package/dist/esm/styled/description.js +7 -3
  18. package/dist/esm/styled/header.js +8 -2
  19. package/dist/esm/styled/image.js +5 -0
  20. package/dist/esm/styled/spinner-container.js +5 -1
  21. package/dist/types/styled/actions-container.d.ts +4 -1
  22. package/dist/types/styled/container.d.ts +4 -1
  23. package/dist/types/styled/description.d.ts +4 -1
  24. package/dist/types/styled/header.d.ts +4 -1
  25. package/dist/types/styled/image.d.ts +4 -1
  26. package/dist/types/styled/spinner-container.d.ts +4 -1
  27. package/dist/types-ts4.5/styled/actions-container.d.ts +4 -1
  28. package/dist/types-ts4.5/styled/container.d.ts +4 -1
  29. package/dist/types-ts4.5/styled/description.d.ts +4 -1
  30. package/dist/types-ts4.5/styled/header.d.ts +4 -1
  31. package/dist/types-ts4.5/styled/image.d.ts +4 -1
  32. package/dist/types-ts4.5/styled/spinner-container.d.ts +4 -1
  33. package/package.json +82 -83
  34. package/report.api.md +44 -43
package/package.json CHANGED
@@ -1,84 +1,83 @@
1
1
  {
2
- "name": "@atlaskit/empty-state",
3
- "version": "7.7.2",
4
- "description": "An empty state appears when there is no data to display and describes what the user can do next.",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "sideEffects": false,
16
- "atlaskit:src": "src/index.tsx",
17
- "atlassian": {
18
- "team": "Design System Team",
19
- "releaseModel": "continuous",
20
- "productPushConsumption": [
21
- "jira"
22
- ],
23
- "website": {
24
- "name": "Empty state",
25
- "category": "Components"
26
- }
27
- },
28
- "dependencies": {
29
- "@atlaskit/button": "^17.7.0",
30
- "@atlaskit/spinner": "^16.0.0",
31
- "@atlaskit/theme": "^12.6.0",
32
- "@atlaskit/tokens": "^1.42.0",
33
- "@babel/runtime": "^7.0.0",
34
- "@emotion/react": "^11.7.1"
35
- },
36
- "peerDependencies": {
37
- "react": "^16.8.0"
38
- },
39
- "devDependencies": {
40
- "@af/accessibility-testing": "*",
41
- "@af/visual-regression": "*",
42
- "@atlaskit/ds-lib": "^2.2.0",
43
- "@atlaskit/ssr": "*",
44
- "@atlaskit/visual-regression": "*",
45
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
46
- "@testing-library/react": "^12.1.5",
47
- "react-dom": "^16.8.0",
48
- "typescript": "~5.4.2",
49
- "wait-for-expect": "^1.2.0"
50
- },
51
- "techstack": {
52
- "@atlassian/frontend": {
53
- "import-structure": "atlassian-conventions"
54
- },
55
- "@repo/internal": {
56
- "dom-events": "use-bind-event-listener",
57
- "analytics": "analytics-next",
58
- "design-tokens": [
59
- "color",
60
- "spacing"
61
- ],
62
- "styling": [
63
- "static",
64
- "emotion"
65
- ],
66
- "design-system": "v1",
67
- "deprecation": "no-deprecated-imports"
68
- }
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
- },
79
- "af:exports": {
80
- "./types": "./src/types.tsx",
81
- ".": "./src/index.tsx"
82
- },
83
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
84
- }
2
+ "name": "@atlaskit/empty-state",
3
+ "version": "7.9.0",
4
+ "description": "An empty state appears when there is no data to display and describes what the user can do next.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "sideEffects": false,
16
+ "atlaskit:src": "src/index.tsx",
17
+ "atlassian": {
18
+ "team": "Design System Team",
19
+ "releaseModel": "continuous",
20
+ "runReact18": true,
21
+ "productPushConsumption": [
22
+ "jira"
23
+ ],
24
+ "website": {
25
+ "name": "Empty state",
26
+ "category": "Components"
27
+ }
28
+ },
29
+ "dependencies": {
30
+ "@atlaskit/button": "^17.19.0",
31
+ "@atlaskit/spinner": "^16.2.0",
32
+ "@atlaskit/theme": "^12.10.0",
33
+ "@atlaskit/tokens": "^1.51.0",
34
+ "@babel/runtime": "^7.0.0",
35
+ "@emotion/react": "^11.7.1"
36
+ },
37
+ "peerDependencies": {
38
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
39
+ },
40
+ "devDependencies": {
41
+ "@af/accessibility-testing": "*",
42
+ "@af/visual-regression": "*",
43
+ "@atlaskit/ds-lib": "^2.3.0",
44
+ "@atlaskit/ssr": "*",
45
+ "@atlaskit/visual-regression": "*",
46
+ "@testing-library/react": "^12.1.5",
47
+ "react-dom": "^16.8.0",
48
+ "typescript": "~5.4.2",
49
+ "wait-for-expect": "^1.2.0"
50
+ },
51
+ "techstack": {
52
+ "@atlassian/frontend": {
53
+ "import-structure": "atlassian-conventions"
54
+ },
55
+ "@repo/internal": {
56
+ "dom-events": "use-bind-event-listener",
57
+ "analytics": "analytics-next",
58
+ "design-tokens": [
59
+ "color",
60
+ "spacing"
61
+ ],
62
+ "styling": [
63
+ "static",
64
+ "emotion"
65
+ ],
66
+ "design-system": "v1",
67
+ "deprecation": "no-deprecated-imports"
68
+ }
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
+ },
79
+ "af:exports": {
80
+ "./types": "./src/types.tsx",
81
+ ".": "./src/index.tsx"
82
+ }
83
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/empty-state"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -21,56 +22,56 @@ import type { ReactNode } from 'react';
21
22
 
22
23
  // @public
23
24
  const EmptyState: ({
24
- description,
25
- header,
26
- headingLevel,
27
- imageHeight,
28
- imageUrl,
29
- imageWidth,
30
- isLoading,
31
- maxImageHeight,
32
- maxImageWidth,
33
- primaryAction,
34
- renderImage,
35
- secondaryAction,
36
- width,
37
- size,
38
- tertiaryAction,
39
- testId,
25
+ description,
26
+ header,
27
+ headingLevel,
28
+ imageHeight,
29
+ imageUrl,
30
+ imageWidth,
31
+ isLoading,
32
+ maxImageHeight,
33
+ maxImageWidth,
34
+ primaryAction,
35
+ renderImage,
36
+ secondaryAction,
37
+ width,
38
+ size,
39
+ tertiaryAction,
40
+ testId,
40
41
  }: EmptyStateProps) => JSX.Element;
41
42
  export default EmptyState;
42
43
 
43
44
  // @public (undocumented)
44
45
  export interface EmptyStateProps {
45
- description?: ReactNode;
46
- header: string;
47
- headingLevel?: number;
48
- imageHeight?: number;
49
- imageUrl?: string;
50
- imageWidth?: number;
51
- isLoading?: boolean;
52
- maxImageHeight?: number;
53
- maxImageWidth?: number;
54
- primaryAction?: ReactNode;
55
- renderImage?: (props: RenderImageProps) => React.ReactNode;
56
- secondaryAction?: ReactNode;
57
- // @deprecated (undocumented)
58
- size?: Width;
59
- tertiaryAction?: ReactNode;
60
- testId?: string;
61
- width?: Width;
46
+ description?: ReactNode;
47
+ header: string;
48
+ headingLevel?: number;
49
+ imageHeight?: number;
50
+ imageUrl?: string;
51
+ imageWidth?: number;
52
+ isLoading?: boolean;
53
+ maxImageHeight?: number;
54
+ maxImageWidth?: number;
55
+ primaryAction?: ReactNode;
56
+ renderImage?: (props: RenderImageProps) => React.ReactNode;
57
+ secondaryAction?: ReactNode;
58
+ // @deprecated (undocumented)
59
+ size?: Width;
60
+ tertiaryAction?: ReactNode;
61
+ testId?: string;
62
+ width?: Width;
62
63
  }
63
64
 
64
65
  // @public (undocumented)
65
66
  export interface RenderImageProps {
66
- // (undocumented)
67
- imageHeight?: number;
68
- // (undocumented)
69
- imageWidth?: number;
70
- // (undocumented)
71
- maxImageHeight?: number;
72
- // (undocumented)
73
- maxImageWidth?: number;
67
+ // (undocumented)
68
+ imageHeight?: number;
69
+ // (undocumented)
70
+ imageWidth?: number;
71
+ // (undocumented)
72
+ maxImageHeight?: number;
73
+ // (undocumented)
74
+ maxImageWidth?: number;
74
75
  }
75
76
 
76
77
  // @public (undocumented)
@@ -90,7 +91,7 @@ export type Width = Sizes;
90
91
 
91
92
  ```json
92
93
  {
93
- "react": "^16.8.0"
94
+ "react": "^16.8.0"
94
95
  }
95
96
  ```
96
97