@atlaskit/image 1.0.4 → 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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/image
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
9
+ ## 1.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 1.0.4
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -2,8 +2,14 @@
2
2
 
3
3
  An image component with additional features, such as support for themes.
4
4
 
5
+ ## Installation
6
+
7
+ ```sh
8
+ yarn add @atlaskit/image
9
+ ```
10
+
5
11
  ## Usage
6
12
 
7
13
  `import Image from '@atlaskit/image';`
8
14
 
9
- Detailed docs and example usage can be found [here](https://atlaskit.atlassian.com/packages/design-system/image).
15
+ [View documentation](https://atlassian.design/components/image/).
@@ -11,6 +11,7 @@ var _react = require("react");
11
11
  var _react2 = require("@emotion/react");
12
12
  var _tokens = require("@atlaskit/tokens");
13
13
  var _excluded = ["src", "srcDark", "alt", "testId"];
14
+ /** @jsx jsx */
14
15
  var imageStyles = (0, _react2.css)({
15
16
  maxWidth: '100%',
16
17
  height: 'auto'
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/image",
3
- "version": "1.0.4",
3
+ "version": "1.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/image",
3
- "version": "1.0.4",
3
+ "version": "1.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/image",
3
- "version": "1.0.4",
3
+ "version": "1.1.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/image",
3
- "version": "1.0.4",
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.0.0",
42
+ "@atlaskit/tokens": "^1.4.0",
35
43
  "@babel/runtime": "^7.0.0",
36
44
  "@emotion/react": "^11.7.1"
37
45
  },
@@ -40,7 +48,7 @@
40
48
  },
41
49
  "devDependencies": {
42
50
  "@atlaskit/docs": "*",
43
- "@atlaskit/ds-lib": "^2.1.1",
51
+ "@atlaskit/ds-lib": "^2.2.0",
44
52
  "@atlaskit/section-message": "*",
45
53
  "@atlaskit/ssr": "*",
46
54
  "@atlaskit/visual-regression": "*",
@@ -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.5.5",
59
+ "typescript": "~4.9.5",
52
60
  "wait-for-expect": "^1.2.0"
53
61
  },
54
62
  "techstack": {
@@ -68,8 +76,11 @@
68
76
  "analytics": [
69
77
  "analytics-next"
70
78
  ],
79
+ "design-tokens": [
80
+ "color"
81
+ ],
71
82
  "theming": [
72
- "tokens"
83
+ "react-context"
73
84
  ],
74
85
  "ui-components": [
75
86
  "lite-mode"