@atlaskit/image 1.0.4 → 1.1.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,5 +1,15 @@
1
1
  # @atlaskit/image
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 1.0.4
4
14
 
5
15
  ### 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.0",
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.0",
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.0",
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.0",
4
4
  "description": "An image that changes in light or dark themes.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  ".": "./src/index.tsx"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/tokens": "^1.0.0",
34
+ "@atlaskit/tokens": "^1.3.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@emotion/react": "^11.7.1"
37
37
  },
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@atlaskit/docs": "*",
43
- "@atlaskit/ds-lib": "^2.1.1",
43
+ "@atlaskit/ds-lib": "^2.2.0",
44
44
  "@atlaskit/section-message": "*",
45
45
  "@atlaskit/ssr": "*",
46
46
  "@atlaskit/visual-regression": "*",
@@ -68,8 +68,11 @@
68
68
  "analytics": [
69
69
  "analytics-next"
70
70
  ],
71
+ "design-tokens": [
72
+ "color"
73
+ ],
71
74
  "theming": [
72
- "tokens"
75
+ "react-context"
73
76
  ],
74
77
  "ui-components": [
75
78
  "lite-mode"
@@ -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
- ```