@fluentui-react-native/experimental-avatar 0.17.11 → 0.17.13
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/.eslintrc.js +3 -0
- package/CHANGELOG.json +58 -1
- package/CHANGELOG.md +20 -2
- package/lib/NativeAvatar.d.ts +7 -7
- package/lib/NativeAvatar.d.ts.map +1 -1
- package/lib/NativeAvatar.js +0 -1
- package/lib/NativeAvatar.js.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/NativeAvatar.d.ts +7 -7
- package/lib-commonjs/NativeAvatar.d.ts.map +1 -1
- package/lib-commonjs/NativeAvatar.js +0 -1
- package/lib-commonjs/NativeAvatar.js.map +1 -1
- package/lib-commonjs/index.d.ts +2 -1
- package/lib-commonjs/index.d.ts.map +1 -1
- package/lib-commonjs/index.js +4 -11
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +17 -11
- package/src/NativeAvatar.tsx +4 -2
- package/src/index.ts +2 -1
package/.eslintrc.js
ADDED
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,64 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/experimental-avatar",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 02 Feb 2023 01:27:09 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/experimental-avatar_v0.17.13",
|
|
7
|
+
"version": "0.17.13",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui-react-native/experimental-avatar",
|
|
13
|
+
"commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d",
|
|
14
|
+
"comment": "Add eslint to packages missing a config"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/experimental-avatar",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/framework to v0.8.39",
|
|
20
|
+
"commit": "ac679ca51704ba5c2d2cc2385a71694b69735a1d"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Wed, 01 Feb 2023 22:33:17 GMT",
|
|
27
|
+
"tag": "@fluentui-react-native/experimental-avatar_v0.17.12",
|
|
28
|
+
"version": "0.17.12",
|
|
29
|
+
"comments": {
|
|
30
|
+
"patch": [
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/experimental-avatar",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/component-cache to v1.4.3",
|
|
35
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/experimental-avatar",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/framework to v0.8.38",
|
|
41
|
+
"commit": "2d0138c80d7512b905fcf32583760bec2b911910"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"date": "Mon, 30 Jan 2023 15:17:30 GMT",
|
|
48
|
+
"tag": "@fluentui-react-native/experimental-avatar_v0.17.11",
|
|
49
|
+
"version": "0.17.11",
|
|
50
|
+
"comments": {
|
|
51
|
+
"none": [
|
|
52
|
+
{
|
|
53
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
54
|
+
"package": "@fluentui-react-native/experimental-avatar",
|
|
55
|
+
"commit": "4de4c2b37c835ebd9af015ff767f9dd68452f786",
|
|
56
|
+
"comment": "Migrate to align-deps"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"date": "Mon, 30 Jan 2023 07:12:38 GMT",
|
|
6
63
|
"tag": "@fluentui-react-native/experimental-avatar_v0.17.11",
|
|
7
64
|
"version": "0.17.11",
|
|
8
65
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/experimental-avatar
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 02 Feb 2023 01:27:09 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.17.13
|
|
8
|
+
|
|
9
|
+
Thu, 02 Feb 2023 01:27:09 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Add eslint to packages missing a config (30809111+acoates-ms@users.noreply.github.com)
|
|
14
|
+
- Bump @fluentui-react-native/framework to v0.8.39
|
|
15
|
+
|
|
16
|
+
## 0.17.12
|
|
17
|
+
|
|
18
|
+
Wed, 01 Feb 2023 22:33:17 GMT
|
|
19
|
+
|
|
20
|
+
### Patches
|
|
21
|
+
|
|
22
|
+
- Bump @fluentui-react-native/component-cache to v1.4.3
|
|
23
|
+
- Bump @fluentui-react-native/framework to v0.8.38
|
|
24
|
+
|
|
7
25
|
## 0.17.11
|
|
8
26
|
|
|
9
|
-
Mon, 30 Jan 2023 07:
|
|
27
|
+
Mon, 30 Jan 2023 07:12:38 GMT
|
|
10
28
|
|
|
11
29
|
### Patches
|
|
12
30
|
|
package/lib/NativeAvatar.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ImageURISource, ViewProps, ColorValue } from 'react-native';
|
|
1
|
+
import type { ImageURISource, ViewProps, ColorValue } from 'react-native';
|
|
2
2
|
export declare const Sizes: readonly ["size16", "size20", "size24", "size32", "size40", "size56", "size72"];
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
3
|
+
export type Size = (typeof Sizes)[number];
|
|
4
|
+
export type AvatarStyle = 'default' | 'accent' | 'group' | 'outlined' | 'outlinedPrimary' | 'overflow';
|
|
5
|
+
export type Presence = 'none' | 'available' | 'away' | 'blocked' | 'doNotDisturb' | 'offline' | 'unknown';
|
|
6
|
+
export type NativeAvatarTokens = {
|
|
7
7
|
/**
|
|
8
8
|
* Supported Avatar sizes
|
|
9
9
|
*/
|
|
@@ -13,7 +13,7 @@ export declare type NativeAvatarTokens = {
|
|
|
13
13
|
*/
|
|
14
14
|
avatarStyle?: AvatarStyle;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type NativeAvatarProps = NativeAvatarTokens & {
|
|
17
17
|
/**
|
|
18
18
|
* The image to be displayed
|
|
19
19
|
*/
|
|
@@ -64,7 +64,7 @@ export declare type NativeAvatarProps = NativeAvatarTokens & {
|
|
|
64
64
|
*/
|
|
65
65
|
customBorderImageSource?: ImageURISource;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type NativeAvatarViewProps = ViewProps & NativeAvatarProps;
|
|
68
68
|
export declare const NativeAvatar: import("@fluentui-react-native/framework").ComposableComponent<NativeAvatarProps, {
|
|
69
69
|
root: NativeAvatarViewProps;
|
|
70
70
|
}, NativeAvatarTokens, object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAvatar.d.ts","sourceRoot":"","sources":["../src/NativeAvatar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NativeAvatar.d.ts","sourceRoot":"","sources":["../src/NativeAvatar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ1E,eAAO,MAAM,KAAK,iFAAkF,CAAC;AACrG,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1C,MAAM,MAAM,WAAW,GAAG,SAAS,GA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};
|
|
12
|
-
/** @jsx withSlots */
|
|
13
12
|
import { compose, buildProps, mergeProps, withSlots } from '@fluentui-react-native/framework';
|
|
14
13
|
import { NativeModules } from 'react-native';
|
|
15
14
|
import { ensureNativeComponent } from '@fluentui-react-native/component-cache';
|
package/lib/NativeAvatar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAvatar.js","sourceRoot":"","sources":["../src/NativeAvatar.tsx"],"names":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"NativeAvatar.js","sourceRoot":"","sources":["../src/NativeAvatar.tsx"],"names":[],"mappings":";;;;;;;;;;;AAEA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE9F,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,IAAM,UAAU,GAAG,cAAc,CAAC;AAElC,IAAM,gBAAgB,GAAG,qBAAqB,CAAC,eAAe,CAAC,CAAC;AAEhE,MAAM,CAAC,IAAM,KAAK,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAC;AAWrG,IAAM,uBAAuB,GAAsB,aAAa,CAAC,oBAAoB,CAAC;AA6EtF,IAAM,sBAAsB,GAAiC,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AASrF,MAAM,CAAC,IAAM,YAAY,GAAG,OAAO,CAAa;IAC9C,WAAW,EAAE,UAAU;IACvB,MAAM,EAAE;QACN;YACE,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,SAAS;SACvB;QACD,UAAU;KACX;IACD,sBAAsB,wBAAA;IACtB,KAAK,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;IACjC,SAAS,EAAE;QACT,IAAI,EAAE,UAAU,CACd,UAAC,MAAM,IAAK,OAAA,CAAC;YACX,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE;gBACL,MAAM,EAAE,uBAAuB,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;gBAClD,KAAK,EAAE,uBAAuB,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;aAClD;SACF,CAAC,EANU,CAMV,EACF,CAAC,MAAM,CAAC,CACT;KACF;IACD,SAAS,EAAE,UAAC,KAAwB,EAAE,QAA8B;QAClE,IAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;QAElC,OAAO,UAAC,IAAuB,IAAK,OAAA,UAAC,IAAI,eAAK,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,EAAI,EAArC,CAAqC,CAAC;IAC5E,CAAC;CACF,CAAC,CAAC"}
|
package/lib/index.d.ts
CHANGED
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACrD,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { NativeAvatar, Sizes } from './NativeAvatar';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ImageURISource, ViewProps, ColorValue } from 'react-native';
|
|
1
|
+
import type { ImageURISource, ViewProps, ColorValue } from 'react-native';
|
|
2
2
|
export declare const Sizes: readonly ["size16", "size20", "size24", "size32", "size40", "size56", "size72"];
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
3
|
+
export type Size = (typeof Sizes)[number];
|
|
4
|
+
export type AvatarStyle = 'default' | 'accent' | 'group' | 'outlined' | 'outlinedPrimary' | 'overflow';
|
|
5
|
+
export type Presence = 'none' | 'available' | 'away' | 'blocked' | 'doNotDisturb' | 'offline' | 'unknown';
|
|
6
|
+
export type NativeAvatarTokens = {
|
|
7
7
|
/**
|
|
8
8
|
* Supported Avatar sizes
|
|
9
9
|
*/
|
|
@@ -13,7 +13,7 @@ export declare type NativeAvatarTokens = {
|
|
|
13
13
|
*/
|
|
14
14
|
avatarStyle?: AvatarStyle;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type NativeAvatarProps = NativeAvatarTokens & {
|
|
17
17
|
/**
|
|
18
18
|
* The image to be displayed
|
|
19
19
|
*/
|
|
@@ -64,7 +64,7 @@ export declare type NativeAvatarProps = NativeAvatarTokens & {
|
|
|
64
64
|
*/
|
|
65
65
|
customBorderImageSource?: ImageURISource;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type NativeAvatarViewProps = ViewProps & NativeAvatarProps;
|
|
68
68
|
export declare const NativeAvatar: import("@fluentui-react-native/framework").ComposableComponent<NativeAvatarProps, {
|
|
69
69
|
root: NativeAvatarViewProps;
|
|
70
70
|
}, NativeAvatarTokens, object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAvatar.d.ts","sourceRoot":"","sources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ExB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;OAGG;IACH,uBAAuB,CAAC,EAAE,cAAc,CAAC;CAC1C,CAAC;AAIF,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,iBAAiB,CAAC;AAOlE,eAAO,MAAM,YAAY;UAJJ,qBAAqB;8BAgCxC,CAAC"}
|
|
@@ -12,7 +12,6 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.NativeAvatar = exports.Sizes = void 0;
|
|
15
|
-
/** @jsx withSlots */
|
|
16
15
|
var framework_1 = require("@fluentui-react-native/framework");
|
|
17
16
|
var react_native_1 = require("react-native");
|
|
18
17
|
var component_cache_1 = require("@fluentui-react-native/component-cache");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAvatar.js","sourceRoot":"","sources":["../src/NativeAvatar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"NativeAvatar.js","sourceRoot":"","sources":["../src/NativeAvatar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,8DAA8F;AAE9F,6CAA6C;AAC7C,0EAA+E;AAE/E,IAAM,UAAU,GAAG,cAAc,CAAC;AAElC,IAAM,gBAAgB,GAAG,IAAA,uCAAqB,EAAC,eAAe,CAAC,CAAC;AAEnD,QAAA,KAAK,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAC;AAWrG,IAAM,uBAAuB,GAAsB,4BAAa,CAAC,oBAAoB,CAAC;AA6EtF,IAAM,sBAAsB,GAAiC,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AASxE,QAAA,YAAY,GAAG,IAAA,mBAAO,EAAa;IAC9C,WAAW,EAAE,UAAU;IACvB,MAAM,EAAE;QACN;YACE,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,SAAS;SACvB;QACD,UAAU;KACX;IACD,sBAAsB,wBAAA;IACtB,KAAK,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;IACjC,SAAS,EAAE;QACT,IAAI,EAAE,IAAA,sBAAU,EACd,UAAC,MAAM,IAAK,OAAA,CAAC;YACX,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE;gBACL,MAAM,EAAE,uBAAuB,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;gBAClD,KAAK,EAAE,uBAAuB,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;aAClD;SACF,CAAC,EANU,CAMV,EACF,CAAC,MAAM,CAAC,CACT;KACF;IACD,SAAS,EAAE,UAAC,KAAwB,EAAE,QAA8B;QAClE,IAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC;QAElC,OAAO,UAAC,IAAuB,IAAK,OAAA,2BAAC,IAAI,eAAK,IAAA,sBAAU,EAAC,KAAK,EAAE,IAAI,CAAC,EAAI,EAArC,CAAqC,CAAC;IAC5E,CAAC;CACF,CAAC,CAAC"}
|
package/lib-commonjs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACrD,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
|
|
3
|
+
exports.Sizes = exports.NativeAvatar = void 0;
|
|
4
|
+
var NativeAvatar_1 = require("./NativeAvatar");
|
|
5
|
+
Object.defineProperty(exports, "NativeAvatar", { enumerable: true, get: function () { return NativeAvatar_1.NativeAvatar; } });
|
|
6
|
+
Object.defineProperty(exports, "Sizes", { enumerable: true, get: function () { return NativeAvatar_1.Sizes; } });
|
|
14
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+CAAqD;AAA5C,4GAAA,YAAY,OAAA;AAAE,qGAAA,KAAK,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/experimental-avatar",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.13",
|
|
4
4
|
"description": "A cross-platform Avatar component using the Fluent Design System. Currently only implemented on iOS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"directory": "packages/experimental/Avatar"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@fluentui-react-native/component-cache": "^1.4.
|
|
29
|
-
"@fluentui-react-native/framework": "0.8.
|
|
28
|
+
"@fluentui-react-native/component-cache": "^1.4.3",
|
|
29
|
+
"@fluentui-react-native/framework": "0.8.39"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
|
@@ -40,14 +40,20 @@
|
|
|
40
40
|
"react-native": "^0.68.0"
|
|
41
41
|
},
|
|
42
42
|
"rnx-kit": {
|
|
43
|
-
"reactNativeVersion": "^0.68",
|
|
44
|
-
"reactNativeDevVersion": "^0.68",
|
|
45
43
|
"kitType": "library",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
44
|
+
"alignDeps": {
|
|
45
|
+
"presets": [
|
|
46
|
+
"microsoft/react-native"
|
|
47
|
+
],
|
|
48
|
+
"requirements": [
|
|
49
|
+
"react-native@0.68"
|
|
50
|
+
],
|
|
51
|
+
"capabilities": [
|
|
52
|
+
"core",
|
|
53
|
+
"core-android",
|
|
54
|
+
"core-ios",
|
|
55
|
+
"react"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
52
58
|
}
|
|
53
59
|
}
|
package/src/NativeAvatar.tsx
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** @jsx withSlots */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { UseSlots } from '@fluentui-react-native/framework';
|
|
3
|
+
import { compose, buildProps, mergeProps, withSlots } from '@fluentui-react-native/framework';
|
|
4
|
+
import type { ImageURISource, ViewProps, ColorValue } from 'react-native';
|
|
5
|
+
import { NativeModules } from 'react-native';
|
|
4
6
|
import { ensureNativeComponent } from '@fluentui-react-native/component-cache';
|
|
5
7
|
|
|
6
8
|
const avatarName = 'NativeAvatar';
|
package/src/index.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { NativeAvatar, Sizes } from './NativeAvatar';
|
|
2
|
+
export type { AvatarStyle, NativeAvatarProps, NativeAvatarTokens, NativeAvatarViewProps, Presence, Size } from './NativeAvatar';
|