@atlaskit/image 3.0.1 → 3.0.3
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 +12 -0
- package/dist/cjs/ui/image/index.js +1 -1
- package/dist/es2019/ui/image/index.js +1 -1
- package/dist/esm/ui/image/index.js +1 -1
- package/dist/types/ui/image/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/image/index.d.ts +0 -1
- package/offerings.json +34 -0
- package/package.json +11 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v0.
|
|
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"];
|
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.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "An image that changes in light or dark themes.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,14 +24,13 @@
|
|
|
24
24
|
"status": {
|
|
25
25
|
"type": "beta"
|
|
26
26
|
}
|
|
27
|
-
}
|
|
28
|
-
"runReact18": true
|
|
27
|
+
}
|
|
29
28
|
},
|
|
30
29
|
"dependencies": {
|
|
31
|
-
"@atlaskit/app-provider": "^
|
|
32
|
-
"@atlaskit/tokens": "^
|
|
30
|
+
"@atlaskit/app-provider": "^3.2.0",
|
|
31
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
33
32
|
"@babel/runtime": "^7.0.0",
|
|
34
|
-
"@compiled/react": "^0.18.
|
|
33
|
+
"@compiled/react": "^0.18.6"
|
|
35
34
|
},
|
|
36
35
|
"peerDependencies": {
|
|
37
36
|
"react": "^18.2.0"
|
|
@@ -40,15 +39,14 @@
|
|
|
40
39
|
"@af/accessibility-testing": "workspace:^",
|
|
41
40
|
"@af/integration-testing": "workspace:^",
|
|
42
41
|
"@af/visual-regression": "workspace:^",
|
|
43
|
-
"@atlaskit/docs": "^
|
|
44
|
-
"@atlaskit/ds-lib": "^
|
|
42
|
+
"@atlaskit/docs": "^11.2.0",
|
|
43
|
+
"@atlaskit/ds-lib": "^5.1.0",
|
|
45
44
|
"@atlaskit/link": "^3.2.0",
|
|
46
|
-
"@atlaskit/primitives": "^
|
|
47
|
-
"@atlaskit/section-message": "^8.
|
|
48
|
-
"@atlassian/ssr-tests": "^0.
|
|
45
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
46
|
+
"@atlaskit/section-message": "^8.7.0",
|
|
47
|
+
"@atlassian/ssr-tests": "^0.3.0",
|
|
49
48
|
"@testing-library/react": "^13.4.0",
|
|
50
|
-
"react-dom": "^18.2.0"
|
|
51
|
-
"typescript": "~5.4.2"
|
|
49
|
+
"react-dom": "^18.2.0"
|
|
52
50
|
},
|
|
53
51
|
"techstack": {
|
|
54
52
|
"@atlassian/frontend": {
|
|
@@ -95,8 +93,5 @@
|
|
|
95
93
|
"dist/types-ts4.5/index.d.ts"
|
|
96
94
|
]
|
|
97
95
|
}
|
|
98
|
-
},
|
|
99
|
-
"af:exports": {
|
|
100
|
-
".": "./src/index.tsx"
|
|
101
96
|
}
|
|
102
97
|
}
|