Skip to content

Commit e38face

Browse files
authored
Chore/person/update wc person (#4143)
* chore(people): update fusion-wc-person * fix(people): update cookbook with new properties * chore: update @equinor/fusion-wc-person to version 3.4.0 in development dependencies * fix: copilot suggestions
1 parent 7532500 commit e38face

File tree

7 files changed

+351
-105
lines changed

7 files changed

+351
-105
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@equinor/fusion-framework-dev-portal": patch
3+
"@equinor/fusion-framework-react-components-people-provider": patch
4+
---
5+
6+
Internal: update `@equinor/fusion-wc-person` to `3.4.0` in development dependencies for dev portal and people provider packages; no public API changes.

cookbooks/app-react-people/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@equinor/eds-icons": "^0.22.0",
3030
"@equinor/fusion-framework-module-navigation": "workspace:^",
3131
"@equinor/fusion-react-person": "^1.0.0",
32-
"@equinor/fusion-wc-people": "^1.0.2",
32+
"@equinor/fusion-wc-people": "^2.0.0",
3333
"@remix-run/router": "^1.8.0",
3434
"react-router-dom": "^6.16.0",
3535
"styled-components": "^6.0.7"

cookbooks/app-react-people/src/pages/ListItemPage.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ export const ListItemPage = () => {
6969
<FlexGridColumn>
7070
{persons.map(mapPersonToListItem)}
7171
{/*
72-
// Alternative way of mapping components, where the host people resolver is used.
73-
// Note this will cause the host to re-resolve each person and use the data from the host api.
74-
persons.map(person => (<PersonListItem key={person.azureUniqueId} azureId={person.azureUniqueId} />))
75-
*/}
72+
Alternative way of mapping components, where the host people resolver is used.
73+
Note this will cause the host to re-resolve each person and use the data from the host api.
74+
persons.map(person => (<PersonListItem key={person.azureUniqueId} azureId={person.azureUniqueId} />))
75+
*/}
7676
</FlexGridColumn>
7777
</>
7878
);

cookbooks/app-react-people/src/pages/PeopleConceptPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export const PeopleConceptPage = () => {
9494
<fwc-people-viewer
9595
// selected people state from People Picker
9696
people={JSON.stringify(selected)}
97+
display="table"
9798
/>
9899
</div>
99100
</div>

packages/dev-portal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@equinor/fusion-react-side-sheet": "2.0.0",
3232
"@equinor/fusion-react-styles": "^0.6.4",
3333
"@equinor/fusion-wc-chip": "^1.2.2",
34-
"@equinor/fusion-wc-person": "^3.3.1",
34+
"@equinor/fusion-wc-person": "^3.4.0",
3535
"@material-ui/styles": "^4.11.5",
3636
"@types/dotenv": "^8.2.3",
3737
"@types/react": "^18.2.50",

packages/react/components/people-resolver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@equinor/fusion-framework-module-app": "workspace:^",
3737
"@equinor/fusion-framework-module-bookmark": "workspace:^",
3838
"@equinor/fusion-framework-module-event": "workspace:^",
39-
"@equinor/fusion-wc-person": "^3.3.1",
39+
"@equinor/fusion-wc-person": "^3.4.0",
4040
"@types/react": "^18.2.50",
4141
"react": "^18.2.0",
4242
"typescript": "^5.8.2"

pnpm-lock.yaml

Lines changed: 337 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)