@atlaskit/image 1.1.6 → 1.1.7

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 CHANGED
@@ -1,46 +1,52 @@
1
1
  # @atlaskit/image
2
2
 
3
+ ## 1.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
8
+
3
9
  ## 1.1.6
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - [`b2da5b33468`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2da5b33468) - Documents that props like `css` and `className` are unsafe and will be deprecated in the future.
13
+ - [#38487](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38487) [`b2da5b33468`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2da5b33468) - Documents that props like `css` and `className` are unsafe and will be deprecated in the future.
8
14
 
9
15
  ## 1.1.5
10
16
 
11
17
  ### Patch Changes
12
18
 
13
- - [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
19
+ - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
14
20
 
15
21
  ## 1.1.4
16
22
 
17
23
  ### Patch Changes
18
24
 
19
- - [`d0a020ae050`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0a020ae050) - Basic accessibility unit tests with jest-axe
25
+ - [#34853](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34853) [`d0a020ae050`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0a020ae050) - Basic accessibility unit tests with jest-axe
20
26
 
21
27
  ## 1.1.3
22
28
 
23
29
  ### Patch Changes
24
30
 
25
- - [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
31
+ - [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935) [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
26
32
 
27
33
  ## 1.1.2
28
34
 
29
35
  ### Patch Changes
30
36
 
31
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
37
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
32
38
 
33
39
  ## 1.1.1
34
40
 
35
41
  ### Patch Changes
36
42
 
37
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
43
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
38
44
 
39
45
  ## 1.1.0
40
46
 
41
47
  ### Minor Changes
42
48
 
43
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
49
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
44
50
 
45
51
  ### Patch Changes
46
52
 
@@ -50,7 +56,7 @@
50
56
 
51
57
  ### Patch Changes
52
58
 
53
- - [`718d5ad3044`](https://bitbucket.org/atlassian/atlassian-frontend/commits/718d5ad3044) - Updates to support the new `@atlaskit/tokens` theming API.
59
+ - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`718d5ad3044`](https://bitbucket.org/atlassian/atlassian-frontend/commits/718d5ad3044) - Updates to support the new `@atlaskit/tokens` theming API.
54
60
  - Updated dependencies
55
61
 
56
62
  ## 1.0.3
@@ -69,25 +75,25 @@
69
75
 
70
76
  ### Patch Changes
71
77
 
72
- - [`98f5ba36c98`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f5ba36c98) - Updates atlaskit/image thumbnails + descriptions for the website
78
+ - [#28081](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28081) [`98f5ba36c98`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f5ba36c98) - Updates atlaskit/image thumbnails + descriptions for the website
73
79
 
74
80
  ## 1.0.0
75
81
 
76
82
  ### Major Changes
77
83
 
78
- - [`bc74a5feb7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc74a5feb7d) - This package is no longer experimental and the API is considered stable. Version contains no changes what so ever.
84
+ - [#28012](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28012) [`bc74a5feb7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc74a5feb7d) - This package is no longer experimental and the API is considered stable. Version contains no changes what so ever.
79
85
 
80
86
  ## 0.2.1
81
87
 
82
88
  ### Patch Changes
83
89
 
84
- - [`c674eafa051`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c674eafa051) - Fixes a bug where the system preference would override the default behaviour when the color-mode was not set to auto. As a result, an OS setting of "dark" and a product setting of "light" would result in a "dark" image.
90
+ - [#27885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27885) [`c674eafa051`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c674eafa051) - Fixes a bug where the system preference would override the default behaviour when the color-mode was not set to auto. As a result, an OS setting of "dark" and a product setting of "light" would result in a "dark" image.
85
91
 
86
92
  ## 0.2.0
87
93
 
88
94
  ### Minor Changes
89
95
 
90
- - [`8ab96dfc824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ab96dfc824) - Adds a new Image primitive that works like the native HTML img element, with the added functionality of being theme-aware.
96
+ - [#27046](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27046) [`8ab96dfc824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ab96dfc824) - Adds a new Image primitive that works like the native HTML img element, with the added functionality of being theme-aware.
91
97
 
92
98
  ## 0.1.0
93
99
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/image",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "An image that changes in light or dark themes.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  }
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/tokens": "^1.19.0",
30
+ "@atlaskit/tokens": "^1.42.0",
31
31
  "@babel/runtime": "^7.0.0",
32
32
  "@emotion/react": "^11.7.1"
33
33
  },
@@ -36,15 +36,15 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@af/accessibility-testing": "*",
39
+ "@af/integration-testing": "*",
39
40
  "@af/visual-regression": "*",
40
41
  "@atlaskit/ds-lib": "^2.2.0",
41
42
  "@atlaskit/ssr": "*",
42
43
  "@atlaskit/visual-regression": "*",
43
- "@atlaskit/webdriver-runner": "*",
44
44
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
45
45
  "@testing-library/react": "^12.1.5",
46
46
  "react-dom": "^16.8.0",
47
- "typescript": "~4.9.5",
47
+ "typescript": "~5.4.2",
48
48
  "wait-for-expect": "^1.2.0"
49
49
  },
50
50
  "techstack": {
@@ -74,11 +74,9 @@
74
74
  "ui-components": [
75
75
  "lite-mode"
76
76
  ],
77
- "deprecation": [
78
- "no-deprecated-imports"
79
- ],
77
+ "deprecation": "no-deprecated-imports",
80
78
  "styling": [
81
- "static",
79
+ "emotion",
82
80
  "emotion"
83
81
  ],
84
82
  "imports": [
@@ -99,4 +97,4 @@
99
97
  ".": "./src/index.tsx"
100
98
  },
101
99
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
102
- }
100
+ }
@@ -1,23 +0,0 @@
1
- ## API Report File for "@atlaskit/image"
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 { jsx } from '@emotion/react';
10
-
11
- // @public
12
- function Image_2({ src, srcDark, alt, testId, ...props }: ImageProps): jsx.JSX.Element;
13
- export default Image_2;
14
-
15
- // @public (undocumented)
16
- interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
17
- srcDark?: string;
18
- testId?: string;
19
- }
20
-
21
- // (No @packageDocumentation comment for this package)
22
-
23
- ```