@fluentui/react-image 9.0.0-alpha.90 → 9.0.0-nightly.46b9ea7036.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.json +111 -1
- package/CHANGELOG.md +32 -2
- package/MIGRATION.md +235 -0
- package/README.md +4 -0
- package/package.json +7 -7
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,117 @@
|
|
|
2
2
|
"name": "@fluentui/react-image",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 25 Oct 2021 09:17:19 GMT",
|
|
6
|
+
"tag": "@fluentui/react-image_v9.0.0-nightly.46b9ea7036.0",
|
|
7
|
+
"version": "9.0.0-nightly.46b9ea7036.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"prerelease": [
|
|
10
|
+
{
|
|
11
|
+
"author": "email not defined",
|
|
12
|
+
"package": "@fluentui/react-image",
|
|
13
|
+
"comment": "Release nightly v9",
|
|
14
|
+
"commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "gcox@microsoft.com",
|
|
18
|
+
"package": "@fluentui/react-image",
|
|
19
|
+
"comment": "Removed duplicate 'Image' from story names",
|
|
20
|
+
"commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "peter@draxler.ml",
|
|
24
|
+
"package": "@fluentui/react-image",
|
|
25
|
+
"comment": "added styling of documentation",
|
|
26
|
+
"commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui/react-image",
|
|
31
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-nightly.46b9ea7036.0",
|
|
32
|
+
"commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui/react-image",
|
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-nightly.46b9ea7036.0",
|
|
38
|
+
"commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui/react-image",
|
|
43
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-nightly.46b9ea7036.0",
|
|
44
|
+
"commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui/react-image",
|
|
49
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.46b9ea7036.0",
|
|
50
|
+
"commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@fluentui/react-image",
|
|
55
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-nightly.46b9ea7036.0",
|
|
56
|
+
"commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"none": [
|
|
60
|
+
{
|
|
61
|
+
"author": "tkrasniqi@microsoft.com",
|
|
62
|
+
"package": "@fluentui/react-image",
|
|
63
|
+
"comment": "Updated migration guide",
|
|
64
|
+
"commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"date": "Wed, 06 Oct 2021 10:37:22 GMT",
|
|
71
|
+
"tag": "@fluentui/react-image_v9.0.0-beta.1",
|
|
72
|
+
"version": "9.0.0-beta.1",
|
|
73
|
+
"comments": {
|
|
74
|
+
"prerelease": [
|
|
75
|
+
{
|
|
76
|
+
"author": "lingfangao@hotmail.com",
|
|
77
|
+
"package": "@fluentui/react-image",
|
|
78
|
+
"comment": "Bump all v9 components to beta prerelease tag",
|
|
79
|
+
"commit": "5553164c190a4beb4780745d0e6403109e057913"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"author": "beachball",
|
|
83
|
+
"package": "@fluentui/react-image",
|
|
84
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.1",
|
|
85
|
+
"commit": "5553164c190a4beb4780745d0e6403109e057913"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"author": "beachball",
|
|
89
|
+
"package": "@fluentui/react-image",
|
|
90
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.1",
|
|
91
|
+
"commit": "5553164c190a4beb4780745d0e6403109e057913"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"author": "beachball",
|
|
95
|
+
"package": "@fluentui/react-image",
|
|
96
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.1",
|
|
97
|
+
"commit": "5553164c190a4beb4780745d0e6403109e057913"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"author": "beachball",
|
|
101
|
+
"package": "@fluentui/react-image",
|
|
102
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.1",
|
|
103
|
+
"commit": "5553164c190a4beb4780745d0e6403109e057913"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"author": "beachball",
|
|
107
|
+
"package": "@fluentui/react-image",
|
|
108
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.1",
|
|
109
|
+
"commit": "5553164c190a4beb4780745d0e6403109e057913"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"date": "Tue, 05 Oct 2021 12:47:58 GMT",
|
|
6
116
|
"tag": "@fluentui/react-image_v9.0.0-alpha.90",
|
|
7
117
|
"version": "9.0.0-alpha.90",
|
|
8
118
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-image
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 25 Oct 2021 09:17:19 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.0.0-nightly.46b9ea7036.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-image_v9.0.0-nightly.46b9ea7036.0)
|
|
8
|
+
|
|
9
|
+
Mon, 25 Oct 2021 09:17:19 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-image_v9.0.0-beta.1..@fluentui/react-image_v9.0.0-nightly.46b9ea7036.0)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by email not defined)
|
|
15
|
+
- Removed duplicate 'Image' from story names ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by gcox@microsoft.com)
|
|
16
|
+
- added styling of documentation ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by peter@draxler.ml)
|
|
17
|
+
- Bump @fluentui/react-make-styles to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
|
|
18
|
+
- Bump @fluentui/react-utilities to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
|
|
19
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
|
|
20
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
|
|
21
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
|
|
22
|
+
|
|
23
|
+
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-image_v9.0.0-beta.1)
|
|
24
|
+
|
|
25
|
+
Wed, 06 Oct 2021 10:37:22 GMT
|
|
26
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-image_v9.0.0-alpha.90..@fluentui/react-image_v9.0.0-beta.1)
|
|
27
|
+
|
|
28
|
+
### Changes
|
|
29
|
+
|
|
30
|
+
- Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
|
|
31
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
|
32
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
|
33
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
|
34
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
|
35
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
|
36
|
+
|
|
7
37
|
## [9.0.0-alpha.90](https://github.com/microsoft/fluentui/tree/@fluentui/react-image_v9.0.0-alpha.90)
|
|
8
38
|
|
|
9
|
-
Tue, 05 Oct 2021 12:47:
|
|
39
|
+
Tue, 05 Oct 2021 12:47:58 GMT
|
|
10
40
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-image_v9.0.0-alpha.89..@fluentui/react-image_v9.0.0-alpha.90)
|
|
11
41
|
|
|
12
42
|
### Changes
|
package/MIGRATION.md
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
# Image Migration
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
This guide is a reference for upgrading the Image component from v8 (Fabric) or v0 (Northstar) to v9 (FluentUI vNext).
|
|
6
|
+
|
|
7
|
+
## Migration from v8 (Fabric)
|
|
8
|
+
|
|
9
|
+
### Property mapping
|
|
10
|
+
|
|
11
|
+
The table below presents a mapping of props between the v8 (FabricUI) and v9 (Fluent UI vNext) in order to clarify which properties require changes to achieve the same result.
|
|
12
|
+
|
|
13
|
+
> ⚠️ Note - Properties not in this table are considered deprecated.
|
|
14
|
+
|
|
15
|
+
| v7 / v8 | v9 | Good to go? |
|
|
16
|
+
| ----------------------- | ------- | ----------- |
|
|
17
|
+
| `className` | - | ✔️ |
|
|
18
|
+
| `coverStyle` | `fit` | ⚠️ |
|
|
19
|
+
| `imageFit` | `fit` | ✔️ |
|
|
20
|
+
| `maximizeFrame` | `block` | ✔️ |
|
|
21
|
+
| `loading` | - | ✔️ |
|
|
22
|
+
| `onLoadingStateChanged` | - | ❌ |
|
|
23
|
+
| `shouldFadeIn` | - | ❌ |
|
|
24
|
+
| `shouldStartVisible` | - | ❌ |
|
|
25
|
+
| `styles` | - | ❌ |
|
|
26
|
+
| `theme` | - | ❓ |
|
|
27
|
+
|
|
28
|
+
### className
|
|
29
|
+
|
|
30
|
+
_This property has not changed and can be left as is._
|
|
31
|
+
|
|
32
|
+
### coverStyle
|
|
33
|
+
|
|
34
|
+
The behaviour of this prop can be achieved using the `fit` prop with the value of `cover`.
|
|
35
|
+
|
|
36
|
+
```jsx
|
|
37
|
+
<Image src="example.jpg" fit="cover" />
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### imageFit
|
|
41
|
+
|
|
42
|
+
This can be achieved using the `fit` prop by asigning the value of `contain`.
|
|
43
|
+
|
|
44
|
+
```jsx
|
|
45
|
+
<Image src="example.jpg" fit="contain" />
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### maximizeFrame
|
|
49
|
+
|
|
50
|
+
This prop has been renamed to `block` which will result in the same behaviour as before.
|
|
51
|
+
|
|
52
|
+
```jsx
|
|
53
|
+
<Image src="example.jpg" block />
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### loading
|
|
57
|
+
|
|
58
|
+
_This property has not changed and can be used as is._
|
|
59
|
+
|
|
60
|
+
### onLoadingStateChanged
|
|
61
|
+
|
|
62
|
+
For v9, this feature is no longer supported. The alternative would be to use the global events such as: `onLoad`, `onError` to detect the image loading state.
|
|
63
|
+
|
|
64
|
+
### shouldFadeIn
|
|
65
|
+
|
|
66
|
+
For v9, this feature is no longer supported. The alternative is to apply the animation through `make-styles` and using the global event `onLoad`. Below is an example of a migration:
|
|
67
|
+
|
|
68
|
+
```jsx
|
|
69
|
+
import { useState } from 'react';
|
|
70
|
+
import { Image } from '@fluentui/react-image';
|
|
71
|
+
import { makeStyles } from '@fluentui/react-make-styles';
|
|
72
|
+
|
|
73
|
+
const useStyles = makeStyles(theme => ({
|
|
74
|
+
fadeIn400: {
|
|
75
|
+
animationName: {
|
|
76
|
+
from : {
|
|
77
|
+
opacity: 0,
|
|
78
|
+
},
|
|
79
|
+
to: {
|
|
80
|
+
opacity: 1,
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
animationIterationCount: 'infinite',
|
|
84
|
+
animationDuration: '0.367s',
|
|
85
|
+
},
|
|
86
|
+
})
|
|
87
|
+
|
|
88
|
+
const MyComponent = () => {
|
|
89
|
+
const [isLoaded, setLoaded] = useState(false);
|
|
90
|
+
const styles = useStyles()
|
|
91
|
+
|
|
92
|
+
return <Image src="example.jpg" onLoad={()=> setLoaded(true)} className={!isLoaded? styles.fadeIn400 : ''} />
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### shouldStartVisible
|
|
97
|
+
|
|
98
|
+
For v9, this feature is no longer supported. The alternative would be to use the global events such as: `onLoad` and `onError` to achieve the same behaviour. Below is an example showcasing this:
|
|
99
|
+
|
|
100
|
+
```jsx
|
|
101
|
+
import { useState } from 'react';
|
|
102
|
+
import { makeStyles } from '@fluentui/react-make-styles';
|
|
103
|
+
import { Image } from '@fluentui/react-image';
|
|
104
|
+
|
|
105
|
+
const useStyles = makeStyles({
|
|
106
|
+
root: {
|
|
107
|
+
display: 'none',
|
|
108
|
+
},
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
export default function App() {
|
|
112
|
+
const [isLoaded, setLoaded] = useState(null);
|
|
113
|
+
|
|
114
|
+
const styles = useStyles();
|
|
115
|
+
|
|
116
|
+
return (
|
|
117
|
+
<Image
|
|
118
|
+
src="https://via.placeholder.com/300x300"
|
|
119
|
+
alt="Example image"
|
|
120
|
+
onLoad={() => setLoaded(true)}
|
|
121
|
+
onError={() => setLoaded(false)}
|
|
122
|
+
className={isLoaded === false ? styles.root : ''}
|
|
123
|
+
/>
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### styles
|
|
129
|
+
|
|
130
|
+
_This property has not changed and can be used as is. However, we highly recommend that you migrate to a `make-styles` styling solution for performance reasons._
|
|
131
|
+
|
|
132
|
+
### theme
|
|
133
|
+
|
|
134
|
+
_This property has not changed and can be used as is. However, we highly recommend that you migrate to a `make-styles` styling solution for performance reasons._
|
|
135
|
+
|
|
136
|
+
## Migration from v0 (Northstar)
|
|
137
|
+
|
|
138
|
+
### Property mapping
|
|
139
|
+
|
|
140
|
+
The table below presents a mapping of props between the v0 and v9 versions in order to make it clear which properties require changes to achieve the same result.
|
|
141
|
+
|
|
142
|
+
| v0 | v9 | Good to go? |
|
|
143
|
+
| --------------- | ------------------ | ----------- |
|
|
144
|
+
| `accessibility` | - | ❌ |
|
|
145
|
+
| `alt` | - | ✔️ |
|
|
146
|
+
| `aria-label` | - | ✔️ |
|
|
147
|
+
| `as` | - | ❌ |
|
|
148
|
+
| `avatar` | `shape="circular"` | ✔️ |
|
|
149
|
+
| `circular` | `shape="circular"` | ✔️ |
|
|
150
|
+
| `className` | - | ✔️ |
|
|
151
|
+
| `fluid` | `block` | ✔️ |
|
|
152
|
+
| `styles` | - | ❌ |
|
|
153
|
+
| `variables` | - | ❌ |
|
|
154
|
+
|
|
155
|
+
### accessibility
|
|
156
|
+
|
|
157
|
+
For v9, this property is no longer supported. It is recommended to follow the best practices of a11y in order for Image to be accessible to assistive tools. Thus:
|
|
158
|
+
|
|
159
|
+
- It is important for Image to have the `alt` description.
|
|
160
|
+
- In case the Image is decorative only, have either `role="presentation"` or `aria-hidden`. Ensure the correct usage of these two attributes, based on your objectives.
|
|
161
|
+
|
|
162
|
+
### alt
|
|
163
|
+
|
|
164
|
+
_This property has not changed and can be left as is._
|
|
165
|
+
|
|
166
|
+
### aria-label
|
|
167
|
+
|
|
168
|
+
_This property has not changed and can be left as is._
|
|
169
|
+
|
|
170
|
+
### as
|
|
171
|
+
|
|
172
|
+
For v9, this property is no longer supported. The Image prop will always be an `<img/>` element, it is not possible to show an image as any other element.
|
|
173
|
+
|
|
174
|
+
### avatar
|
|
175
|
+
|
|
176
|
+
This can be achieved using the `shape` prop with the value of `circular`.
|
|
177
|
+
|
|
178
|
+
```jsx
|
|
179
|
+
<Image src="example.jpg" shape="circular" />
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### circular
|
|
183
|
+
|
|
184
|
+
This can be achieved using the `shape` prop with the value of `circular`.
|
|
185
|
+
|
|
186
|
+
```jsx
|
|
187
|
+
<Image src="example.jpg" shape="circular" />
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### className
|
|
191
|
+
|
|
192
|
+
_This property has not changed and can be left as is._
|
|
193
|
+
|
|
194
|
+
### fluid
|
|
195
|
+
|
|
196
|
+
This prop has been renamed to `block` which will result into the same behaviour as before.
|
|
197
|
+
|
|
198
|
+
```jsx
|
|
199
|
+
<Image src="example.jpg" block />
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### styles
|
|
203
|
+
|
|
204
|
+
_This property has not changed and can be used as is. However, we highly recommend that you migrate to a `make-styles` styling solution for performance reasons._
|
|
205
|
+
|
|
206
|
+
### variables
|
|
207
|
+
|
|
208
|
+
For v9, this feature is no longer supported. The alternative is to apply styles through `make-styles`. Below is an example of a migration:
|
|
209
|
+
|
|
210
|
+
#### v0 (Northstar) implementation
|
|
211
|
+
|
|
212
|
+
```jsx
|
|
213
|
+
const MyComponent = () => {
|
|
214
|
+
return <Image src="example.jpg" variables={{ width: '100px' }} />;
|
|
215
|
+
};
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
#### v9 (Fluent UI vNext) implementation
|
|
219
|
+
|
|
220
|
+
```jsx
|
|
221
|
+
import { Image } from '@fluentui/react-image';
|
|
222
|
+
import { makeStyles } from '@fluentui/react-make-styles';
|
|
223
|
+
|
|
224
|
+
const useStyles = makeStyles(theme => ({
|
|
225
|
+
width100: {
|
|
226
|
+
width: '100px'
|
|
227
|
+
},
|
|
228
|
+
})
|
|
229
|
+
|
|
230
|
+
const MyComponent = () => {
|
|
231
|
+
const styles = useStyles()
|
|
232
|
+
|
|
233
|
+
return <Image src="example.jpg" className={styles.width100} />
|
|
234
|
+
}
|
|
235
|
+
```
|
package/README.md
CHANGED
|
@@ -51,3 +51,7 @@ The DOM structure will result into:
|
|
|
51
51
|
Image component is build upon the `<img/>` tag, which does support all the native attributes. Additionaly, the following properties are available: `bordered`, `fit`, `block`, `shape` and `shadow`.
|
|
52
52
|
|
|
53
53
|
For more information on the component, please refer to the [API documentation](https://aka.ms/fluentui-storybook).
|
|
54
|
+
|
|
55
|
+
## Migration
|
|
56
|
+
|
|
57
|
+
For migrating from older versions of FluentUI, please check out the [migration guide](./MIGRATION.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-image",
|
|
3
|
-
"version": "9.0.0-
|
|
3
|
+
"version": "9.0.0-nightly.46b9ea7036.0",
|
|
4
4
|
"description": "Fluent UI React Image component.",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"storybook": "start-storybook"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@fluentui/babel-make-styles": "9.0.0-
|
|
28
|
+
"@fluentui/babel-make-styles": "9.0.0-nightly.46b9ea7036.0",
|
|
29
29
|
"@fluentui/eslint-plugin": "*",
|
|
30
|
-
"@fluentui/jest-serializer-make-styles": "9.0.0-
|
|
30
|
+
"@fluentui/jest-serializer-make-styles": "9.0.0-nightly.46b9ea7036.0",
|
|
31
31
|
"@fluentui/react-conformance": "*",
|
|
32
|
-
"@fluentui/react-conformance-make-styles": "9.0.0-
|
|
32
|
+
"@fluentui/react-conformance-make-styles": "9.0.0-nightly.46b9ea7036.0",
|
|
33
33
|
"@fluentui/scripts": "^1.0.0",
|
|
34
34
|
"@types/enzyme": "3.10.3",
|
|
35
35
|
"@types/enzyme-adapter-react-16": "1.0.3",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"react-test-renderer": "^16.3.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@fluentui/react-make-styles": "9.0.0-
|
|
48
|
-
"@fluentui/react-utilities": "9.0.0-
|
|
47
|
+
"@fluentui/react-make-styles": "9.0.0-nightly.46b9ea7036.0",
|
|
48
|
+
"@fluentui/react-utilities": "9.0.0-nightly.46b9ea7036.0",
|
|
49
49
|
"tslib": "^2.1.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react-dom": ">=16.8.0 <18.0.0"
|
|
56
56
|
},
|
|
57
57
|
"beachball": {
|
|
58
|
-
"tag": "
|
|
58
|
+
"tag": "beta",
|
|
59
59
|
"disallowedChangeTypes": [
|
|
60
60
|
"major",
|
|
61
61
|
"minor",
|