@atlaskit/image 1.1.0 → 1.1.1
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 +11 -3
- package/tmp/api-report-tmp.d.ts +23 -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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/image",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "An image that changes in light or dark themes.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,13 +25,21 @@
|
|
|
25
25
|
"module": "dist/esm/index.js",
|
|
26
26
|
"module:es2019": "dist/es2019/index.js",
|
|
27
27
|
"types": "dist/types/index.d.ts",
|
|
28
|
+
"typesVersions": {
|
|
29
|
+
">=4.5 <4.9": {
|
|
30
|
+
"*": [
|
|
31
|
+
"dist/types-ts4.5/*",
|
|
32
|
+
"dist/types-ts4.5/index.d.ts"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
28
36
|
"sideEffects": false,
|
|
29
37
|
"atlaskit:src": "src/index.tsx",
|
|
30
38
|
"af:exports": {
|
|
31
39
|
".": "./src/index.tsx"
|
|
32
40
|
},
|
|
33
41
|
"dependencies": {
|
|
34
|
-
"@atlaskit/tokens": "^1.
|
|
42
|
+
"@atlaskit/tokens": "^1.4.0",
|
|
35
43
|
"@babel/runtime": "^7.0.0",
|
|
36
44
|
"@emotion/react": "^11.7.1"
|
|
37
45
|
},
|
|
@@ -48,7 +56,7 @@
|
|
|
48
56
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
49
57
|
"@testing-library/react": "^12.1.5",
|
|
50
58
|
"react-dom": "^16.8.0",
|
|
51
|
-
"typescript": "4.
|
|
59
|
+
"typescript": "~4.9.5",
|
|
52
60
|
"wait-for-expect": "^1.2.0"
|
|
53
61
|
},
|
|
54
62
|
"techstack": {
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
```
|