@fluentui/react-image 0.0.0-nightly-20220503-0421.1 → 0.0.0-nightly-20220504-0420.1
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 +15 -9
- package/CHANGELOG.md +8 -7
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/package.json +5 -5
- package/lib/Image.d.ts +0 -1
- package/lib/components/Image/Image.d.ts +0 -6
- package/lib/components/Image/Image.types.d.ts +0 -30
- package/lib/components/Image/index.d.ts +0 -5
- package/lib/components/Image/renderImage.d.ts +0 -6
- package/lib/components/Image/useImage.d.ts +0 -6
- package/lib/components/Image/useImageStyles.d.ts +0 -8
- package/lib/index.d.ts +0 -2
- package/lib-commonjs/Image.d.ts +0 -1
- package/lib-commonjs/components/Image/Image.d.ts +0 -6
- package/lib-commonjs/components/Image/Image.types.d.ts +0 -30
- package/lib-commonjs/components/Image/index.d.ts +0 -5
- package/lib-commonjs/components/Image/renderImage.d.ts +0 -6
- package/lib-commonjs/components/Image/useImage.d.ts +0 -6
- package/lib-commonjs/components/Image/useImageStyles.d.ts +0 -8
- package/lib-commonjs/index.d.ts +0 -2
package/CHANGELOG.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"name": "@fluentui/react-image",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"tag": "@fluentui/react-image_v0.0.0-nightly-
|
|
7
|
-
"version": "0.0.0-nightly-
|
|
5
|
+
"date": "Wed, 04 May 2022 04:33:42 GMT",
|
|
6
|
+
"tag": "@fluentui/react-image_v0.0.0-nightly-20220504-0420.1",
|
|
7
|
+
"version": "0.0.0-nightly-20220504-0420.1",
|
|
8
8
|
"comments": {
|
|
9
9
|
"prerelease": [
|
|
10
10
|
{
|
|
@@ -13,23 +13,29 @@
|
|
|
13
13
|
"commit": "not available",
|
|
14
14
|
"comment": "Release nightly v9"
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"author": "martinhochel@microsoft.com",
|
|
18
|
+
"package": "@fluentui/react-image",
|
|
19
|
+
"commit": "fd41e5b15e3a2f08245cd4e4bbcc0f07a367ce3b",
|
|
20
|
+
"comment": "feat: ship rolluped only dts"
|
|
21
|
+
},
|
|
16
22
|
{
|
|
17
23
|
"author": "beachball",
|
|
18
24
|
"package": "@fluentui/react-image",
|
|
19
|
-
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-
|
|
20
|
-
"commit": "
|
|
25
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20220504-0420.1",
|
|
26
|
+
"commit": "158bbd218038e21eb173d3fa7efa00c595be789c"
|
|
21
27
|
},
|
|
22
28
|
{
|
|
23
29
|
"author": "beachball",
|
|
24
30
|
"package": "@fluentui/react-image",
|
|
25
|
-
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-
|
|
26
|
-
"commit": "
|
|
31
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20220504-0420.1",
|
|
32
|
+
"commit": "158bbd218038e21eb173d3fa7efa00c595be789c"
|
|
27
33
|
},
|
|
28
34
|
{
|
|
29
35
|
"author": "beachball",
|
|
30
36
|
"package": "@fluentui/react-image",
|
|
31
|
-
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
|
32
|
-
"commit": "
|
|
37
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220504-0420.1",
|
|
38
|
+
"commit": "158bbd218038e21eb173d3fa7efa00c595be789c"
|
|
33
39
|
}
|
|
34
40
|
],
|
|
35
41
|
"none": [
|
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-image
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 04 May 2022 04:33:42 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [0.0.0-nightly-
|
|
7
|
+
## [0.0.0-nightly-20220504-0420.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-image_v0.0.0-nightly-20220504-0420.1)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-image_v9.0.0-rc.6..@fluentui/react-image_v0.0.0-nightly-
|
|
9
|
+
Wed, 04 May 2022 04:33:42 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-image_v9.0.0-rc.6..@fluentui/react-image_v0.0.0-nightly-20220504-0420.1)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
|
|
15
|
-
-
|
|
16
|
-
- Bump @fluentui/react-
|
|
17
|
-
- Bump @fluentui/react-
|
|
15
|
+
- feat: ship rolluped only dts ([PR #22708](https://github.com/microsoft/fluentui/pull/22708) by martinhochel@microsoft.com)
|
|
16
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20220504-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/158bbd218038e21eb173d3fa7efa00c595be789c) by beachball)
|
|
17
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20220504-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/158bbd218038e21eb173d3fa7efa00c595be789c) by beachball)
|
|
18
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20220504-0420.1 ([commit](https://github.com/microsoft/fluentui/commit/158bbd218038e21eb173d3fa7efa00c595be789c) by beachball)
|
|
18
19
|
|
|
19
20
|
## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-image_v9.0.0-rc.6)
|
|
20
21
|
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-image",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20220504-0420.1",
|
|
4
4
|
"description": "Fluent UI React Image component.",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
7
|
-
"typings": "
|
|
7
|
+
"typings": "dist/index.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@fluentui/eslint-plugin": "*",
|
|
30
30
|
"@fluentui/react-conformance": "*",
|
|
31
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
|
31
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20220504-0420.1",
|
|
32
32
|
"@fluentui/scripts": "^1.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@griffel/react": "1.0.3",
|
|
36
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
|
37
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
|
36
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20220504-0420.1",
|
|
37
|
+
"@fluentui/react-theme": "0.0.0-nightly-20220504-0420.1",
|
|
38
38
|
"tslib": "^2.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
package/lib/Image.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components/Image/index';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { ComponentState, ComponentProps, Slot } from '@fluentui/react-utilities';
|
|
2
|
-
export declare type ImageSlots = {
|
|
3
|
-
root: Slot<'img'>;
|
|
4
|
-
};
|
|
5
|
-
declare type ImageCommons = {
|
|
6
|
-
/**
|
|
7
|
-
* An image can appear with rectangular border.
|
|
8
|
-
*/
|
|
9
|
-
bordered?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* An image can set how it should be resized to fit its container.
|
|
12
|
-
*/
|
|
13
|
-
fit?: 'none' | 'center' | 'contain' | 'cover';
|
|
14
|
-
/**
|
|
15
|
-
* An image can take up the width of its container.
|
|
16
|
-
*/
|
|
17
|
-
block?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* An image can appear square, circular, or rounded.
|
|
20
|
-
* @defaultvalue square
|
|
21
|
-
*/
|
|
22
|
-
shape?: 'square' | 'circular' | 'rounded';
|
|
23
|
-
/**
|
|
24
|
-
* An image can appear elevated with shadow.
|
|
25
|
-
*/
|
|
26
|
-
shadow?: boolean;
|
|
27
|
-
};
|
|
28
|
-
export declare type ImageProps = ComponentProps<ImageSlots> & Partial<ImageCommons>;
|
|
29
|
-
export declare type ImageState = ComponentState<ImageSlots> & ImageCommons;
|
|
30
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ImageProps, ImageState } from './Image.types';
|
|
3
|
-
/**
|
|
4
|
-
* Given user props, returns state and render function for an Image.
|
|
5
|
-
*/
|
|
6
|
-
export declare const useImage_unstable: (props: ImageProps, ref: React.Ref<HTMLImageElement>) => ImageState;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ImageSlots, ImageState } from './Image.types';
|
|
2
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated Use `imageClassNames.root` instead.
|
|
5
|
-
*/
|
|
6
|
-
export declare const imageClassName = "fui-Image";
|
|
7
|
-
export declare const imageClassNames: SlotClassNames<ImageSlots>;
|
|
8
|
-
export declare const useImageStyles_unstable: (state: ImageState) => void;
|
package/lib/index.d.ts
DELETED
package/lib-commonjs/Image.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components/Image/index';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { ComponentState, ComponentProps, Slot } from '@fluentui/react-utilities';
|
|
2
|
-
export declare type ImageSlots = {
|
|
3
|
-
root: Slot<'img'>;
|
|
4
|
-
};
|
|
5
|
-
declare type ImageCommons = {
|
|
6
|
-
/**
|
|
7
|
-
* An image can appear with rectangular border.
|
|
8
|
-
*/
|
|
9
|
-
bordered?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* An image can set how it should be resized to fit its container.
|
|
12
|
-
*/
|
|
13
|
-
fit?: 'none' | 'center' | 'contain' | 'cover';
|
|
14
|
-
/**
|
|
15
|
-
* An image can take up the width of its container.
|
|
16
|
-
*/
|
|
17
|
-
block?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* An image can appear square, circular, or rounded.
|
|
20
|
-
* @defaultvalue square
|
|
21
|
-
*/
|
|
22
|
-
shape?: 'square' | 'circular' | 'rounded';
|
|
23
|
-
/**
|
|
24
|
-
* An image can appear elevated with shadow.
|
|
25
|
-
*/
|
|
26
|
-
shadow?: boolean;
|
|
27
|
-
};
|
|
28
|
-
export declare type ImageProps = ComponentProps<ImageSlots> & Partial<ImageCommons>;
|
|
29
|
-
export declare type ImageState = ComponentState<ImageSlots> & ImageCommons;
|
|
30
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ImageProps, ImageState } from './Image.types';
|
|
3
|
-
/**
|
|
4
|
-
* Given user props, returns state and render function for an Image.
|
|
5
|
-
*/
|
|
6
|
-
export declare const useImage_unstable: (props: ImageProps, ref: React.Ref<HTMLImageElement>) => ImageState;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ImageSlots, ImageState } from './Image.types';
|
|
2
|
-
import type { SlotClassNames } from '@fluentui/react-utilities';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated Use `imageClassNames.root` instead.
|
|
5
|
-
*/
|
|
6
|
-
export declare const imageClassName = "fui-Image";
|
|
7
|
-
export declare const imageClassNames: SlotClassNames<ImageSlots>;
|
|
8
|
-
export declare const useImageStyles_unstable: (state: ImageState) => void;
|
package/lib-commonjs/index.d.ts
DELETED