@atlaskit/image 1.2.2 → 1.3.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,14 @@
1
1
  # @atlaskit/image
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#110670](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110670)
8
+ [`c733254a2dd6e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c733254a2dd6e) -
9
+ Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
10
+ is implicitly set to automatic.
11
+
3
12
  ## 1.2.2
4
13
 
5
14
  ### Patch Changes
@@ -12,7 +12,11 @@ var _react2 = require("@emotion/react");
12
12
  var _appProvider = require("@atlaskit/app-provider");
13
13
  var _tokens = require("@atlaskit/tokens");
14
14
  var _excluded = ["src", "srcDark", "alt", "testId"];
15
+ /**
16
+ * @jsxRuntime classic
17
+ */
15
18
  /** @jsx jsx */
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
20
  var baseImageStyles = (0, _react2.css)({
17
21
  maxWidth: '100%',
18
22
  height: 'auto'
@@ -1,6 +1,11 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
+ /**
3
+ * @jsxRuntime classic
4
+ */
2
5
  /** @jsx jsx */
3
6
  import { useEffect, useRef } from 'react';
7
+
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
9
  import { css, jsx } from '@emotion/react';
5
10
  import { UNSAFE_useColorModeForMigration } from '@atlaskit/app-provider';
6
11
  import { useThemeObserver } from '@atlaskit/tokens';
@@ -1,8 +1,13 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["src", "srcDark", "alt", "testId"];
4
+ /**
5
+ * @jsxRuntime classic
6
+ */
4
7
  /** @jsx jsx */
5
8
  import { useEffect, useRef } from 'react';
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
11
  import { css, jsx } from '@emotion/react';
7
12
  import { UNSAFE_useColorModeForMigration } from '@atlaskit/app-provider';
8
13
  import { useThemeObserver } from '@atlaskit/tokens';
package/package.json CHANGED
@@ -1,100 +1,100 @@
1
1
  {
2
- "name": "@atlaskit/image",
3
- "version": "1.2.2",
4
- "description": "An image that changes in light or dark themes.",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "sideEffects": false,
16
- "atlaskit:src": "src/index.tsx",
17
- "atlassian": {
18
- "team": "Design System Team",
19
- "inPublicMirror": true,
20
- "releaseModel": "continuous",
21
- "website": {
22
- "name": "Image",
23
- "category": "Components",
24
- "status": {
25
- "type": "beta"
26
- }
27
- },
28
- "runReact18": true
29
- },
30
- "dependencies": {
31
- "@atlaskit/app-provider": "1.3.3",
32
- "@atlaskit/tokens": "^1.50.0",
33
- "@babel/runtime": "^7.0.0",
34
- "@emotion/react": "^11.7.1"
35
- },
36
- "peerDependencies": {
37
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
38
- },
39
- "devDependencies": {
40
- "@af/accessibility-testing": "*",
41
- "@af/integration-testing": "*",
42
- "@af/visual-regression": "*",
43
- "@atlaskit/ds-lib": "^2.3.0",
44
- "@atlaskit/ssr": "*",
45
- "@atlaskit/visual-regression": "*",
46
- "@testing-library/react": "^12.1.5",
47
- "react-dom": "^16.8.0",
48
- "typescript": "~5.4.2",
49
- "wait-for-expect": "^1.2.0"
50
- },
51
- "techstack": {
52
- "@atlassian/frontend": {
53
- "code-structure": [
54
- "tangerine-next"
55
- ],
56
- "import-structure": [
57
- "atlassian-conventions"
58
- ],
59
- "circular-dependencies": [
60
- "file-and-folder-level"
61
- ]
62
- },
63
- "@repo/internal": {
64
- "design-system": "v1",
65
- "analytics": [
66
- "analytics-next"
67
- ],
68
- "design-tokens": [
69
- "color",
70
- "spacing"
71
- ],
72
- "theming": [
73
- "react-context"
74
- ],
75
- "ui-components": [
76
- "lite-mode"
77
- ],
78
- "deprecation": "no-deprecated-imports",
79
- "styling": [
80
- "emotion",
81
- "emotion"
82
- ],
83
- "imports": [
84
- "import-no-extraneous-disable-for-examples-and-docs"
85
- ]
86
- }
87
- },
88
- "homepage": "https://atlassian.design/components/image/",
89
- "typesVersions": {
90
- ">=4.5 <4.9": {
91
- "*": [
92
- "dist/types-ts4.5/*",
93
- "dist/types-ts4.5/index.d.ts"
94
- ]
95
- }
96
- },
97
- "af:exports": {
98
- ".": "./src/index.tsx"
99
- }
100
- }
2
+ "name": "@atlaskit/image",
3
+ "version": "1.3.0",
4
+ "description": "An image that changes in light or dark themes.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "sideEffects": false,
16
+ "atlaskit:src": "src/index.tsx",
17
+ "atlassian": {
18
+ "team": "Design System Team",
19
+ "inPublicMirror": true,
20
+ "releaseModel": "continuous",
21
+ "website": {
22
+ "name": "Image",
23
+ "category": "Components",
24
+ "status": {
25
+ "type": "beta"
26
+ }
27
+ },
28
+ "runReact18": true
29
+ },
30
+ "dependencies": {
31
+ "@atlaskit/app-provider": "1.3.3",
32
+ "@atlaskit/tokens": "^1.51.0",
33
+ "@babel/runtime": "^7.0.0",
34
+ "@emotion/react": "^11.7.1"
35
+ },
36
+ "peerDependencies": {
37
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
38
+ },
39
+ "devDependencies": {
40
+ "@af/accessibility-testing": "*",
41
+ "@af/integration-testing": "*",
42
+ "@af/visual-regression": "*",
43
+ "@atlaskit/ds-lib": "^2.3.0",
44
+ "@atlaskit/ssr": "*",
45
+ "@atlaskit/visual-regression": "*",
46
+ "@testing-library/react": "^12.1.5",
47
+ "react-dom": "^16.8.0",
48
+ "typescript": "~5.4.2",
49
+ "wait-for-expect": "^1.2.0"
50
+ },
51
+ "techstack": {
52
+ "@atlassian/frontend": {
53
+ "code-structure": [
54
+ "tangerine-next"
55
+ ],
56
+ "import-structure": [
57
+ "atlassian-conventions"
58
+ ],
59
+ "circular-dependencies": [
60
+ "file-and-folder-level"
61
+ ]
62
+ },
63
+ "@repo/internal": {
64
+ "design-system": "v1",
65
+ "analytics": [
66
+ "analytics-next"
67
+ ],
68
+ "design-tokens": [
69
+ "color",
70
+ "spacing"
71
+ ],
72
+ "theming": [
73
+ "react-context"
74
+ ],
75
+ "ui-components": [
76
+ "lite-mode"
77
+ ],
78
+ "deprecation": "no-deprecated-imports",
79
+ "styling": [
80
+ "emotion",
81
+ "emotion"
82
+ ],
83
+ "imports": [
84
+ "import-no-extraneous-disable-for-examples-and-docs"
85
+ ]
86
+ }
87
+ },
88
+ "homepage": "https://atlassian.design/components/image/",
89
+ "typesVersions": {
90
+ ">=4.5 <4.9": {
91
+ "*": [
92
+ "dist/types-ts4.5/*",
93
+ "dist/types-ts4.5/index.d.ts"
94
+ ]
95
+ }
96
+ },
97
+ "af:exports": {
98
+ ".": "./src/index.tsx"
99
+ }
100
+ }