@atlaskit/image 3.0.2 → 3.0.4

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,17 @@
1
1
  # @atlaskit/image
2
2
 
3
+ ## 3.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.0.2
4
16
 
5
17
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./index.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["src", "srcDark", "alt", "testId", "className"];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
3
2
  /**
4
3
  * Image URL to use for dark mode. This overrides `src` when the user
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
3
2
  /**
4
3
  * Image URL to use for dark mode. This overrides `src` when the user
package/offerings.json ADDED
@@ -0,0 +1,34 @@
1
+ [
2
+ {
3
+ "name": "Image",
4
+ "package": "@atlaskit/image",
5
+ "import": {
6
+ "name": "Image",
7
+ "package": "@atlaskit/image",
8
+ "type": "default"
9
+ },
10
+ "keywords": ["image", "picture", "photo", "visual", "media"],
11
+ "categories": ["data-display"],
12
+ "shortDescription": "A component for displaying images with theme support.",
13
+ "status": "open-beta",
14
+ "accessibilityGuidelines": [
15
+ "Always provide meaningful alt text",
16
+ "Ensure appropriate image sizing",
17
+ "Consider loading states and error handling",
18
+ "Use appropriate image formats"
19
+ ],
20
+ "usageGuidelines": [
21
+ "Use for displaying images in content",
22
+ "Provide appropriate alt text",
23
+ "Consider responsive image sizing",
24
+ "Handle loading and error states"
25
+ ],
26
+ "contentGuidelines": [
27
+ "Use clear, descriptive alt text",
28
+ "Choose appropriate image dimensions",
29
+ "Consider image quality and file size",
30
+ "Use meaningful image content"
31
+ ],
32
+ "examples": ["./examples/ai/image.tsx"]
33
+ }
34
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/image",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "An image that changes in light or dark themes.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,10 +27,10 @@
27
27
  }
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/app-provider": "^3.0.0",
31
- "@atlaskit/tokens": "^6.0.0",
30
+ "@atlaskit/app-provider": "^3.2.0",
31
+ "@atlaskit/tokens": "^8.0.0",
32
32
  "@babel/runtime": "^7.0.0",
33
- "@compiled/react": "^0.18.3"
33
+ "@compiled/react": "^0.18.6"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": "^18.2.0"
@@ -39,15 +39,14 @@
39
39
  "@af/accessibility-testing": "workspace:^",
40
40
  "@af/integration-testing": "workspace:^",
41
41
  "@af/visual-regression": "workspace:^",
42
- "@atlaskit/docs": "^11.0.0",
43
- "@atlaskit/ds-lib": "^5.0.0",
42
+ "@atlaskit/docs": "^11.2.0",
43
+ "@atlaskit/ds-lib": "^5.2.0",
44
44
  "@atlaskit/link": "^3.2.0",
45
- "@atlaskit/primitives": "^14.11.0",
46
- "@atlaskit/section-message": "^8.5.0",
47
- "@atlassian/ssr-tests": "^0.2.0",
45
+ "@atlaskit/primitives": "^16.1.0",
46
+ "@atlaskit/section-message": "^8.9.0",
47
+ "@atlassian/ssr-tests": "workspace:^",
48
48
  "@testing-library/react": "^13.4.0",
49
- "react-dom": "^18.2.0",
50
- "typescript": "~5.4.2"
49
+ "react-dom": "^18.2.0"
51
50
  },
52
51
  "techstack": {
53
52
  "@atlassian/frontend": {
@@ -94,8 +93,5 @@
94
93
  "dist/types-ts4.5/index.d.ts"
95
94
  ]
96
95
  }
97
- },
98
- "af:exports": {
99
- ".": "./src/index.tsx"
100
96
  }
101
97
  }