@fluentui/react-persona 0.0.0-nightly-20230103-0425.1 → 0.0.0-nightly-20230105-0425.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 +72 -13
- package/CHANGELOG.md +22 -9
- package/README.md +0 -10
- package/lib/components/Persona/usePersonaStyles.js +81 -81
- package/lib-commonjs/components/Persona/usePersonaStyles.js +81 -81
- package/package.json +8 -10
package/CHANGELOG.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"name": "@fluentui/react-persona",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"tag": "@fluentui/react-persona_v0.0.0-nightly-
|
|
7
|
-
"version": "0.0.0-nightly-
|
|
5
|
+
"date": "Thu, 05 Jan 2023 04:32:39 GMT",
|
|
6
|
+
"tag": "@fluentui/react-persona_v0.0.0-nightly-20230105-0425.1",
|
|
7
|
+
"version": "0.0.0-nightly-20230105-0425.1",
|
|
8
8
|
"comments": {
|
|
9
9
|
"prerelease": [
|
|
10
10
|
{
|
|
@@ -16,32 +16,91 @@
|
|
|
16
16
|
{
|
|
17
17
|
"author": "beachball",
|
|
18
18
|
"package": "@fluentui/react-persona",
|
|
19
|
-
"comment": "Bump @fluentui/react-avatar to v0.0.0-nightly-
|
|
20
|
-
"commit": "
|
|
19
|
+
"comment": "Bump @fluentui/react-avatar to v0.0.0-nightly-20230105-0425.1",
|
|
20
|
+
"commit": "9505130bff7ee9348792ea30d4f770e8fd21f336"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"author": "beachball",
|
|
24
24
|
"package": "@fluentui/react-persona",
|
|
25
|
-
"comment": "Bump @fluentui/react-badge to v0.0.0-nightly-
|
|
26
|
-
"commit": "
|
|
25
|
+
"comment": "Bump @fluentui/react-badge to v0.0.0-nightly-20230105-0425.1",
|
|
26
|
+
"commit": "9505130bff7ee9348792ea30d4f770e8fd21f336"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"author": "beachball",
|
|
30
30
|
"package": "@fluentui/react-persona",
|
|
31
|
-
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-
|
|
32
|
-
"commit": "
|
|
31
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230105-0425.1",
|
|
32
|
+
"commit": "9505130bff7ee9348792ea30d4f770e8fd21f336"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"author": "beachball",
|
|
36
36
|
"package": "@fluentui/react-persona",
|
|
37
|
-
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-
|
|
38
|
-
"commit": "
|
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly-20230105-0425.1",
|
|
38
|
+
"commit": "9505130bff7ee9348792ea30d4f770e8fd21f336"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"author": "beachball",
|
|
42
42
|
"package": "@fluentui/react-persona",
|
|
43
|
-
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
|
44
|
-
"commit": "
|
|
43
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230105-0425.1",
|
|
44
|
+
"commit": "9505130bff7ee9348792ea30d4f770e8fd21f336"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Wed, 04 Jan 2023 01:40:15 GMT",
|
|
51
|
+
"tag": "@fluentui/react-persona_v9.1.0",
|
|
52
|
+
"version": "9.1.0",
|
|
53
|
+
"comments": {
|
|
54
|
+
"none": [
|
|
55
|
+
{
|
|
56
|
+
"author": "olfedias@microsoft.com",
|
|
57
|
+
"package": "@fluentui/react-persona",
|
|
58
|
+
"commit": "2c38f1e4ae07b2b60df596efe11015a68f166dbf",
|
|
59
|
+
"comment": "chore: Update Griffel to latest version"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "martinhochel@microsoft.com",
|
|
63
|
+
"package": "@fluentui/react-persona",
|
|
64
|
+
"commit": "4ec2b998b294d6d9c3196d3d82893bdd97d0c105",
|
|
65
|
+
"comment": "chore(scripts): move index.ts to to follow sub-folder domain packaging"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "martinhochel@microsoft.com",
|
|
69
|
+
"package": "@fluentui/react-persona",
|
|
70
|
+
"commit": "194b0cf0cc27c1c1233aa945f09b3ad29778d8ca",
|
|
71
|
+
"comment": "chore(scripts): use for @fluentui/scripts version within all package.json"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"minor": [
|
|
75
|
+
{
|
|
76
|
+
"author": "esteban.230@hotmail.com",
|
|
77
|
+
"package": "@fluentui/react-persona",
|
|
78
|
+
"commit": "3e322d15529451be153e97298873253e21af4082",
|
|
79
|
+
"comment": "feat: Moving Persona to stable."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"author": "beachball",
|
|
83
|
+
"package": "@fluentui/react-persona",
|
|
84
|
+
"comment": "Bump @fluentui/react-avatar to v9.2.11",
|
|
85
|
+
"commit": "3e322d15529451be153e97298873253e21af4082"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"author": "beachball",
|
|
89
|
+
"package": "@fluentui/react-persona",
|
|
90
|
+
"comment": "Bump @fluentui/react-badge to v9.0.17",
|
|
91
|
+
"commit": "3e322d15529451be153e97298873253e21af4082"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"author": "beachball",
|
|
95
|
+
"package": "@fluentui/react-persona",
|
|
96
|
+
"comment": "Bump @fluentui/react-utilities to v9.3.1",
|
|
97
|
+
"commit": "3e322d15529451be153e97298873253e21af4082"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"author": "beachball",
|
|
101
|
+
"package": "@fluentui/react-persona",
|
|
102
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.19",
|
|
103
|
+
"commit": "3e322d15529451be153e97298873253e21af4082"
|
|
45
104
|
}
|
|
46
105
|
]
|
|
47
106
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,35 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-persona
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 05 Jan 2023 04:32:39 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-20230105-0425.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-persona_v0.0.0-nightly-20230105-0425.1)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-persona_v9.1.0
|
|
9
|
+
Thu, 05 Jan 2023 04:32:39 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-persona_v9.1.0..@fluentui/react-persona_v0.0.0-nightly-20230105-0425.1)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
|
15
|
-
- Bump @fluentui/react-avatar to v0.0.0-nightly-
|
|
16
|
-
- Bump @fluentui/react-badge to v0.0.0-nightly-
|
|
17
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
|
18
|
-
- Bump @fluentui/react-utilities to v0.0.0-nightly-
|
|
19
|
-
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-
|
|
15
|
+
- Bump @fluentui/react-avatar to v0.0.0-nightly-20230105-0425.1 ([commit](https://github.com/microsoft/fluentui/commit/9505130bff7ee9348792ea30d4f770e8fd21f336) by beachball)
|
|
16
|
+
- Bump @fluentui/react-badge to v0.0.0-nightly-20230105-0425.1 ([commit](https://github.com/microsoft/fluentui/commit/9505130bff7ee9348792ea30d4f770e8fd21f336) by beachball)
|
|
17
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20230105-0425.1 ([commit](https://github.com/microsoft/fluentui/commit/9505130bff7ee9348792ea30d4f770e8fd21f336) by beachball)
|
|
18
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20230105-0425.1 ([commit](https://github.com/microsoft/fluentui/commit/9505130bff7ee9348792ea30d4f770e8fd21f336) by beachball)
|
|
19
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20230105-0425.1 ([commit](https://github.com/microsoft/fluentui/commit/9505130bff7ee9348792ea30d4f770e8fd21f336) by beachball)
|
|
20
|
+
|
|
21
|
+
## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-persona_v9.1.0)
|
|
22
|
+
|
|
23
|
+
Wed, 04 Jan 2023 01:40:15 GMT
|
|
24
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-persona_v9.1.0-beta.7..@fluentui/react-persona_v9.1.0)
|
|
25
|
+
|
|
26
|
+
### Minor changes
|
|
27
|
+
|
|
28
|
+
- feat: Moving Persona to stable. ([PR #26114](https://github.com/microsoft/fluentui/pull/26114) by esteban.230@hotmail.com)
|
|
29
|
+
- Bump @fluentui/react-avatar to v9.2.11 ([PR #26114](https://github.com/microsoft/fluentui/pull/26114) by beachball)
|
|
30
|
+
- Bump @fluentui/react-badge to v9.0.17 ([PR #26114](https://github.com/microsoft/fluentui/pull/26114) by beachball)
|
|
31
|
+
- Bump @fluentui/react-utilities to v9.3.1 ([PR #26114](https://github.com/microsoft/fluentui/pull/26114) by beachball)
|
|
32
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.19 ([PR #26114](https://github.com/microsoft/fluentui/pull/26114) by beachball)
|
|
20
33
|
|
|
21
34
|
## [9.1.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-persona_v9.1.0-beta.7)
|
|
22
35
|
|
package/README.md
CHANGED
|
@@ -2,20 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
**React Persona components for [Fluent UI React](https://react.fluentui.dev/)**
|
|
4
4
|
|
|
5
|
-
## STATUS: WIP 🚧
|
|
6
|
-
|
|
7
|
-
These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
|
|
8
|
-
|
|
9
5
|
## Usage
|
|
10
6
|
|
|
11
7
|
To import Persona:
|
|
12
8
|
|
|
13
|
-
```js
|
|
14
|
-
import { Persona } from '@fluentui/react-persona';
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Once the Persona component graduates to a production release, the component will be available at:
|
|
18
|
-
|
|
19
9
|
```js
|
|
20
10
|
import { Persona } from '@fluentui/react-components';
|
|
21
11
|
```
|
|
@@ -14,82 +14,82 @@ const avatarSpacing = `--fui-Persona__avatar--spacing`;
|
|
|
14
14
|
* Styles for the root slot
|
|
15
15
|
*/
|
|
16
16
|
const useStyles = /*#__PURE__*/__styles({
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
base: {
|
|
18
|
+
mc9l5x: "fwk3njj",
|
|
19
|
+
v29qe6: "fvtn1bl"
|
|
20
20
|
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
after: {
|
|
22
|
+
Bxotwcr: "f1u07yai",
|
|
23
|
+
B7hvi0a: "f1m2n5bn",
|
|
24
|
+
Budl1dq: "f1c1ms5d"
|
|
25
25
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
before: {
|
|
27
|
+
Bxotwcr: "f1u07yai",
|
|
28
|
+
B7hvi0a: "f1tll2w5",
|
|
29
|
+
Budl1dq: "ffvkwdr"
|
|
30
30
|
},
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
below: {
|
|
32
|
+
B7hvi0a: "f1oiokrs"
|
|
33
33
|
},
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
coin: {
|
|
35
|
+
Ijaq50: "f1hek2iy"
|
|
36
36
|
},
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
start: {
|
|
38
|
+
qb2dma: "f9h729m"
|
|
39
39
|
},
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
center: {
|
|
41
|
+
qb2dma: "f7nlbp4"
|
|
42
42
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
afterAlignToPrimary: {
|
|
44
|
+
qb2dma: "f7nlbp4",
|
|
45
|
+
Ijaq50: "f1rnkkuc",
|
|
46
|
+
Bw0ie65: "f1warjpf"
|
|
47
47
|
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
beforeAlignToPrimary: {
|
|
49
|
+
qb2dma: "f7nlbp4",
|
|
50
|
+
Ijaq50: "f1rnkkuc",
|
|
51
|
+
Br312pm: "fwu52yu"
|
|
52
52
|
}
|
|
53
53
|
}, {
|
|
54
|
-
|
|
54
|
+
d: [".fwk3njj{display:inline-grid;}", ".fvtn1bl{grid-auto-rows:max-content;}", ".f1u07yai{grid-auto-flow:column;}", ".f1m2n5bn{justify-items:start;}", ".f1c1ms5d{grid-template-columns:max-content [middle] auto;}", ".f1tll2w5{justify-items:end;}", ".ffvkwdr{grid-template-columns:auto [middle] max-content;}", ".f1oiokrs{justify-items:center;}", ".f1hek2iy{grid-row-start:span 5;}", ".f9h729m{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;}", ".f7nlbp4{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;}", ".f1rnkkuc{grid-row-start:unset;}", ".f1warjpf{grid-column-end:middle;}", ".fwu52yu{grid-column-start:middle;}"]
|
|
55
55
|
});
|
|
56
56
|
const useAvatarSpacingStyles = /*#__PURE__*/__styles({
|
|
57
57
|
"extra-small": {
|
|
58
|
-
|
|
58
|
+
Bs1gm4r: "f1e48tse"
|
|
59
59
|
},
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
small: {
|
|
61
|
+
Bs1gm4r: "f18q9vkd"
|
|
62
62
|
},
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
medium: {
|
|
64
|
+
Bs1gm4r: "f18q9vkd"
|
|
65
65
|
},
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
large: {
|
|
67
|
+
Bs1gm4r: "fx34bi6"
|
|
68
68
|
},
|
|
69
69
|
"extra-large": {
|
|
70
|
-
|
|
70
|
+
Bs1gm4r: "fx34bi6"
|
|
71
71
|
},
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
huge: {
|
|
73
|
+
Bs1gm4r: "f1o96qtm"
|
|
74
74
|
},
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
after: {
|
|
76
|
+
t21cq0: ["f103ycu4", "f1tao51"]
|
|
77
77
|
},
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
below: {
|
|
79
|
+
jrapky: "fbo7acy"
|
|
80
80
|
},
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
before: {
|
|
82
|
+
Frg6f3: ["f1tao51", "f103ycu4"]
|
|
83
83
|
}
|
|
84
84
|
}, {
|
|
85
|
-
|
|
85
|
+
d: [".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}", ".f18q9vkd{--fui-Persona__avatar--spacing:var(--spacingHorizontalS);}", ".fx34bi6{--fui-Persona__avatar--spacing:var(--spacingHorizontalMNudge);}", ".f1o96qtm{--fui-Persona__avatar--spacing:var(--spacingHorizontalM);}", ".f103ycu4{margin-right:var(--fui-Persona__avatar--spacing);}", ".f1tao51{margin-left:var(--fui-Persona__avatar--spacing);}", ".fbo7acy{margin-bottom:var(--fui-Persona__avatar--spacing);}"]
|
|
86
86
|
});
|
|
87
87
|
const usePresenceSpacingStyles = /*#__PURE__*/__styles({
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
small: {
|
|
89
|
+
Bs1gm4r: "f1e48tse"
|
|
90
90
|
}
|
|
91
91
|
}, {
|
|
92
|
-
|
|
92
|
+
d: [".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]
|
|
93
93
|
});
|
|
94
94
|
/**
|
|
95
95
|
* Apply styling to the Persona slots based on the state
|
|
@@ -134,41 +134,41 @@ export const usePersonaStyles_unstable = state => {
|
|
|
134
134
|
return state;
|
|
135
135
|
};
|
|
136
136
|
const useTextStyles = /*#__PURE__*/__styles({
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
},
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
},
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
},
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
},
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
},
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
},
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
137
|
+
base: {
|
|
138
|
+
mc9l5x: "ftgm304"
|
|
139
|
+
},
|
|
140
|
+
primaryText: {
|
|
141
|
+
sj55zd: "f19n0e5"
|
|
142
|
+
},
|
|
143
|
+
optionalText: {
|
|
144
|
+
sj55zd: "fkfq4zb"
|
|
145
|
+
},
|
|
146
|
+
beforeAlignToPrimary: {
|
|
147
|
+
Bw0ie65: "f1warjpf"
|
|
148
|
+
},
|
|
149
|
+
afterAlignToPrimary: {
|
|
150
|
+
Br312pm: "fwu52yu"
|
|
151
|
+
},
|
|
152
|
+
body1: {
|
|
153
|
+
Bahqtrf: "fk6fouc",
|
|
154
|
+
Be2twd7: "fkhj508",
|
|
155
|
+
Bhrd7zp: "figsok6",
|
|
156
|
+
Bg96gwp: "f1i3iumi"
|
|
157
|
+
},
|
|
158
|
+
caption1: {
|
|
159
|
+
Bahqtrf: "fk6fouc",
|
|
160
|
+
Be2twd7: "fy9rknc",
|
|
161
|
+
Bhrd7zp: "figsok6",
|
|
162
|
+
Bg96gwp: "fwrc4pm"
|
|
163
|
+
},
|
|
164
|
+
subtitle2: {
|
|
165
|
+
Bahqtrf: "fk6fouc",
|
|
166
|
+
Be2twd7: "fod5ikn",
|
|
167
|
+
Bhrd7zp: "fl43uef",
|
|
168
|
+
Bg96gwp: "faaz57k"
|
|
169
169
|
}
|
|
170
170
|
}, {
|
|
171
|
-
|
|
171
|
+
d: [".ftgm304{display:block;}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fkfq4zb{color:var(--colorNeutralForeground2);}", ".f1warjpf{grid-column-end:middle;}", ".fwu52yu{grid-column-start:middle;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
|
|
172
172
|
});
|
|
173
173
|
const useTextClassNames = (state, alignToPrimary) => {
|
|
174
174
|
const {
|
|
@@ -20,82 +20,82 @@ const avatarSpacing = `--fui-Persona__avatar--spacing`;
|
|
|
20
20
|
* Styles for the root slot
|
|
21
21
|
*/
|
|
22
22
|
const useStyles = /*#__PURE__*/react_1.__styles({
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
base: {
|
|
24
|
+
mc9l5x: "fwk3njj",
|
|
25
|
+
v29qe6: "fvtn1bl"
|
|
26
26
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
after: {
|
|
28
|
+
Bxotwcr: "f1u07yai",
|
|
29
|
+
B7hvi0a: "f1m2n5bn",
|
|
30
|
+
Budl1dq: "f1c1ms5d"
|
|
31
31
|
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
before: {
|
|
33
|
+
Bxotwcr: "f1u07yai",
|
|
34
|
+
B7hvi0a: "f1tll2w5",
|
|
35
|
+
Budl1dq: "ffvkwdr"
|
|
36
36
|
},
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
below: {
|
|
38
|
+
B7hvi0a: "f1oiokrs"
|
|
39
39
|
},
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
coin: {
|
|
41
|
+
Ijaq50: "f1hek2iy"
|
|
42
42
|
},
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
start: {
|
|
44
|
+
qb2dma: "f9h729m"
|
|
45
45
|
},
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
center: {
|
|
47
|
+
qb2dma: "f7nlbp4"
|
|
48
48
|
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
afterAlignToPrimary: {
|
|
50
|
+
qb2dma: "f7nlbp4",
|
|
51
|
+
Ijaq50: "f1rnkkuc",
|
|
52
|
+
Bw0ie65: "f1warjpf"
|
|
53
53
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
beforeAlignToPrimary: {
|
|
55
|
+
qb2dma: "f7nlbp4",
|
|
56
|
+
Ijaq50: "f1rnkkuc",
|
|
57
|
+
Br312pm: "fwu52yu"
|
|
58
58
|
}
|
|
59
59
|
}, {
|
|
60
|
-
|
|
60
|
+
d: [".fwk3njj{display:inline-grid;}", ".fvtn1bl{grid-auto-rows:max-content;}", ".f1u07yai{grid-auto-flow:column;}", ".f1m2n5bn{justify-items:start;}", ".f1c1ms5d{grid-template-columns:max-content [middle] auto;}", ".f1tll2w5{justify-items:end;}", ".ffvkwdr{grid-template-columns:auto [middle] max-content;}", ".f1oiokrs{justify-items:center;}", ".f1hek2iy{grid-row-start:span 5;}", ".f9h729m{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;}", ".f7nlbp4{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;}", ".f1rnkkuc{grid-row-start:unset;}", ".f1warjpf{grid-column-end:middle;}", ".fwu52yu{grid-column-start:middle;}"]
|
|
61
61
|
});
|
|
62
62
|
const useAvatarSpacingStyles = /*#__PURE__*/react_1.__styles({
|
|
63
63
|
"extra-small": {
|
|
64
|
-
|
|
64
|
+
Bs1gm4r: "f1e48tse"
|
|
65
65
|
},
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
small: {
|
|
67
|
+
Bs1gm4r: "f18q9vkd"
|
|
68
68
|
},
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
medium: {
|
|
70
|
+
Bs1gm4r: "f18q9vkd"
|
|
71
71
|
},
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
large: {
|
|
73
|
+
Bs1gm4r: "fx34bi6"
|
|
74
74
|
},
|
|
75
75
|
"extra-large": {
|
|
76
|
-
|
|
76
|
+
Bs1gm4r: "fx34bi6"
|
|
77
77
|
},
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
huge: {
|
|
79
|
+
Bs1gm4r: "f1o96qtm"
|
|
80
80
|
},
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
after: {
|
|
82
|
+
t21cq0: ["f103ycu4", "f1tao51"]
|
|
83
83
|
},
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
below: {
|
|
85
|
+
jrapky: "fbo7acy"
|
|
86
86
|
},
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
before: {
|
|
88
|
+
Frg6f3: ["f1tao51", "f103ycu4"]
|
|
89
89
|
}
|
|
90
90
|
}, {
|
|
91
|
-
|
|
91
|
+
d: [".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}", ".f18q9vkd{--fui-Persona__avatar--spacing:var(--spacingHorizontalS);}", ".fx34bi6{--fui-Persona__avatar--spacing:var(--spacingHorizontalMNudge);}", ".f1o96qtm{--fui-Persona__avatar--spacing:var(--spacingHorizontalM);}", ".f103ycu4{margin-right:var(--fui-Persona__avatar--spacing);}", ".f1tao51{margin-left:var(--fui-Persona__avatar--spacing);}", ".fbo7acy{margin-bottom:var(--fui-Persona__avatar--spacing);}"]
|
|
92
92
|
});
|
|
93
93
|
const usePresenceSpacingStyles = /*#__PURE__*/react_1.__styles({
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
small: {
|
|
95
|
+
Bs1gm4r: "f1e48tse"
|
|
96
96
|
}
|
|
97
97
|
}, {
|
|
98
|
-
|
|
98
|
+
d: [".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]
|
|
99
99
|
});
|
|
100
100
|
/**
|
|
101
101
|
* Apply styling to the Persona slots based on the state
|
|
@@ -141,41 +141,41 @@ const usePersonaStyles_unstable = state => {
|
|
|
141
141
|
};
|
|
142
142
|
exports.usePersonaStyles_unstable = usePersonaStyles_unstable;
|
|
143
143
|
const useTextStyles = /*#__PURE__*/react_1.__styles({
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
},
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
},
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
},
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
},
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
144
|
+
base: {
|
|
145
|
+
mc9l5x: "ftgm304"
|
|
146
|
+
},
|
|
147
|
+
primaryText: {
|
|
148
|
+
sj55zd: "f19n0e5"
|
|
149
|
+
},
|
|
150
|
+
optionalText: {
|
|
151
|
+
sj55zd: "fkfq4zb"
|
|
152
|
+
},
|
|
153
|
+
beforeAlignToPrimary: {
|
|
154
|
+
Bw0ie65: "f1warjpf"
|
|
155
|
+
},
|
|
156
|
+
afterAlignToPrimary: {
|
|
157
|
+
Br312pm: "fwu52yu"
|
|
158
|
+
},
|
|
159
|
+
body1: {
|
|
160
|
+
Bahqtrf: "fk6fouc",
|
|
161
|
+
Be2twd7: "fkhj508",
|
|
162
|
+
Bhrd7zp: "figsok6",
|
|
163
|
+
Bg96gwp: "f1i3iumi"
|
|
164
|
+
},
|
|
165
|
+
caption1: {
|
|
166
|
+
Bahqtrf: "fk6fouc",
|
|
167
|
+
Be2twd7: "fy9rknc",
|
|
168
|
+
Bhrd7zp: "figsok6",
|
|
169
|
+
Bg96gwp: "fwrc4pm"
|
|
170
|
+
},
|
|
171
|
+
subtitle2: {
|
|
172
|
+
Bahqtrf: "fk6fouc",
|
|
173
|
+
Be2twd7: "fod5ikn",
|
|
174
|
+
Bhrd7zp: "fl43uef",
|
|
175
|
+
Bg96gwp: "faaz57k"
|
|
176
176
|
}
|
|
177
177
|
}, {
|
|
178
|
-
|
|
178
|
+
d: [".ftgm304{display:block;}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fkfq4zb{color:var(--colorNeutralForeground2);}", ".f1warjpf{grid-column-end:middle;}", ".fwu52yu{grid-column-start:middle;}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
|
|
179
179
|
});
|
|
180
180
|
const useTextClassNames = (state, alignToPrimary) => {
|
|
181
181
|
const {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-persona",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230105-0425.1",
|
|
4
4
|
"description": "React components for building web experiences",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@fluentui/eslint-plugin": "*",
|
|
29
29
|
"@fluentui/react-conformance": "*",
|
|
30
|
-
"@fluentui/react-conformance-griffel": "0.0.0-nightly-
|
|
30
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20230105-0425.1",
|
|
31
31
|
"@fluentui/scripts": "*"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@fluentui/react-avatar": "0.0.0-nightly-
|
|
35
|
-
"@fluentui/react-badge": "0.0.0-nightly-
|
|
36
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
|
37
|
-
"@fluentui/react-utilities": "0.0.0-nightly-
|
|
38
|
-
"@griffel/react": "^1.
|
|
34
|
+
"@fluentui/react-avatar": "0.0.0-nightly-20230105-0425.1",
|
|
35
|
+
"@fluentui/react-badge": "0.0.0-nightly-20230105-0425.1",
|
|
36
|
+
"@fluentui/react-theme": "0.0.0-nightly-20230105-0425.1",
|
|
37
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20230105-0425.1",
|
|
38
|
+
"@griffel/react": "^1.5.2",
|
|
39
39
|
"tslib": "^2.1.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
@@ -44,9 +44,7 @@
|
|
|
44
44
|
"react": ">=16.8.0 <19.0.0",
|
|
45
45
|
"react-dom": ">=16.8.0 <19.0.0"
|
|
46
46
|
},
|
|
47
|
-
"beachball": {
|
|
48
|
-
"tag": "beta"
|
|
49
|
-
},
|
|
47
|
+
"beachball": {},
|
|
50
48
|
"exports": {
|
|
51
49
|
".": {
|
|
52
50
|
"types": "./dist/index.d.ts",
|