@atlaskit/image 1.1.6 → 1.2.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 CHANGED
@@ -1,94 +1,140 @@
1
1
  # @atlaskit/image
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#96499](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96499)
8
+ [`d9a3724cdeb8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d9a3724cdeb8) -
9
+ Add support for React 18.
10
+
11
+ ## 1.1.7
12
+
13
+ ### Patch Changes
14
+
15
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
16
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
17
+ Upgrade Typescript from `4.9.5` to `5.4.2`
18
+
3
19
  ## 1.1.6
4
20
 
5
21
  ### Patch Changes
6
22
 
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.
23
+ - [#38487](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38487)
24
+ [`b2da5b33468`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2da5b33468) -
25
+ Documents that props like `css` and `className` are unsafe and will be deprecated in the future.
8
26
 
9
27
  ## 1.1.5
10
28
 
11
29
  ### Patch Changes
12
30
 
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.
31
+ - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
32
+ [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
33
+ `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
34
+ testing.
14
35
 
15
36
  ## 1.1.4
16
37
 
17
38
  ### Patch Changes
18
39
 
19
- - [`d0a020ae050`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0a020ae050) - Basic accessibility unit tests with jest-axe
40
+ - [#34853](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34853)
41
+ [`d0a020ae050`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0a020ae050) - Basic
42
+ accessibility unit tests with jest-axe
20
43
 
21
44
  ## 1.1.3
22
45
 
23
46
  ### Patch Changes
24
47
 
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.
48
+ - [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
49
+ [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) -
50
+ Internal change to enforce token usage for spacing properties. There is no expected visual or
51
+ behaviour change.
26
52
 
27
53
  ## 1.1.2
28
54
 
29
55
  ### Patch Changes
30
56
 
31
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
57
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
58
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
59
+ legacy types are published for TS 4.5-4.8
32
60
 
33
61
  ## 1.1.1
34
62
 
35
63
  ### Patch Changes
36
64
 
37
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
65
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
66
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
67
+ Upgrade Typescript from `4.5.5` to `4.9.5`
38
68
 
39
69
  ## 1.1.0
40
70
 
41
71
  ### Minor Changes
42
72
 
43
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
73
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
74
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
75
+ minor dependency bump
44
76
 
45
77
  ### Patch Changes
46
78
 
47
- - Updated dependencies
79
+ - Updated dependencies
48
80
 
49
81
  ## 1.0.4
50
82
 
51
83
  ### Patch Changes
52
84
 
53
- - [`718d5ad3044`](https://bitbucket.org/atlassian/atlassian-frontend/commits/718d5ad3044) - Updates to support the new `@atlaskit/tokens` theming API.
54
- - Updated dependencies
85
+ - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
86
+ [`718d5ad3044`](https://bitbucket.org/atlassian/atlassian-frontend/commits/718d5ad3044) -
87
+ Updates to support the new `@atlaskit/tokens` theming API.
88
+ - Updated dependencies
55
89
 
56
90
  ## 1.0.3
57
91
 
58
92
  ### Patch Changes
59
93
 
60
- - Updated dependencies
94
+ - Updated dependencies
61
95
 
62
96
  ## 1.0.2
63
97
 
64
98
  ### Patch Changes
65
99
 
66
- - Updated dependencies
100
+ - Updated dependencies
67
101
 
68
102
  ## 1.0.1
69
103
 
70
104
  ### Patch Changes
71
105
 
72
- - [`98f5ba36c98`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f5ba36c98) - Updates atlaskit/image thumbnails + descriptions for the website
106
+ - [#28081](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28081)
107
+ [`98f5ba36c98`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98f5ba36c98) -
108
+ Updates atlaskit/image thumbnails + descriptions for the website
73
109
 
74
110
  ## 1.0.0
75
111
 
76
112
  ### Major Changes
77
113
 
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.
114
+ - [#28012](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28012)
115
+ [`bc74a5feb7d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc74a5feb7d) - This
116
+ package is no longer experimental and the API is considered stable. Version contains no changes
117
+ what so ever.
79
118
 
80
119
  ## 0.2.1
81
120
 
82
121
  ### Patch Changes
83
122
 
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.
123
+ - [#27885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27885)
124
+ [`c674eafa051`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c674eafa051) - Fixes
125
+ a bug where the system preference would override the default behaviour when the color-mode was
126
+ not set to auto. As a result, an OS setting of "dark" and a product setting of "light" would
127
+ result in a "dark" image.
85
128
 
86
129
  ## 0.2.0
87
130
 
88
131
  ### Minor Changes
89
132
 
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.
133
+ - [#27046](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27046)
134
+ [`8ab96dfc824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8ab96dfc824) - Adds a
135
+ new Image primitive that works like the native HTML img element, with the added functionality of
136
+ being theme-aware.
91
137
 
92
138
  ## 0.1.0
93
139
 
94
- - Create Image component with theme functionality.
140
+ - Create Image component with theme functionality.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/image",
3
- "version": "1.1.6",
3
+ "version": "1.2.0",
4
4
  "description": "An image that changes in light or dark themes.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,10 +24,11 @@
24
24
  "status": {
25
25
  "type": "beta"
26
26
  }
27
- }
27
+ },
28
+ "runReact18": true
28
29
  },
29
30
  "dependencies": {
30
- "@atlaskit/tokens": "^1.19.0",
31
+ "@atlaskit/tokens": "^1.45.0",
31
32
  "@babel/runtime": "^7.0.0",
32
33
  "@emotion/react": "^11.7.1"
33
34
  },
@@ -36,15 +37,15 @@
36
37
  },
37
38
  "devDependencies": {
38
39
  "@af/accessibility-testing": "*",
40
+ "@af/integration-testing": "*",
39
41
  "@af/visual-regression": "*",
40
- "@atlaskit/ds-lib": "^2.2.0",
42
+ "@atlaskit/ds-lib": "^2.3.0",
41
43
  "@atlaskit/ssr": "*",
42
44
  "@atlaskit/visual-regression": "*",
43
- "@atlaskit/webdriver-runner": "*",
44
45
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
45
46
  "@testing-library/react": "^12.1.5",
46
47
  "react-dom": "^16.8.0",
47
- "typescript": "~4.9.5",
48
+ "typescript": "~5.4.2",
48
49
  "wait-for-expect": "^1.2.0"
49
50
  },
50
51
  "techstack": {
@@ -74,11 +75,9 @@
74
75
  "ui-components": [
75
76
  "lite-mode"
76
77
  ],
77
- "deprecation": [
78
- "no-deprecated-imports"
79
- ],
78
+ "deprecation": "no-deprecated-imports",
80
79
  "styling": [
81
- "static",
80
+ "emotion",
82
81
  "emotion"
83
82
  ],
84
83
  "imports": [
@@ -99,4 +98,4 @@
99
98
  ".": "./src/index.tsx"
100
99
  },
101
100
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
102
- }
101
+ }
@@ -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
- ```