-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add quick messaging to fluent person-card (#1958)
* update: add quick message field to person-card overview * update: use Chat graph entity to create chat and send chat message * update: add chat permissions and mgt-person-card to developer test page * update: remove overview section double line * Update packages/mgt-components/src/components/mgt-person-card/mgt-person-card.graph.ts Co-authored-by: Musale Martin <[email protected]> * Update packages/mgt-components/src/components/mgt-person-card/mgt-person-card.scss Co-authored-by: Musale Martin <[email protected]> * Update packages/mgt-components/src/components/mgt-person-card/mgt-person-card.ts * update: update box placeholder, fix build * update: break down sections into own components * update: break down sections into own components-edit index * update: fix build * update: fix clear chatbox on sent message * update: uncomment base section styles * update: pull in latest changes from next/fluentui, fix file section styling * refactor: change CSS props for smoother RTL * fix: set the license text on the files * fix: use set-var to set the correct theme colors of border-top * fix: add new shared variables and update existing ones * fix: add theme file for profile component - set and document new custom CSS token * fix: add a them file for the organization component - set the --person-card-active-org-member-color for the person-card * fix: add a theme file for the contact component - set the custom CSS tokens for person card as theme values * fix: add title for the person card file component * fix: add a theme for person with correct tokens - add a new token for the line 1 color customization - refactor CSS properties to work in theme modes * fix: remove unused CSS tokens, add new CSS tokens - refactor CSS to use theme variables * fix: use latest yarn file * update: fix File section title * remove Base Card Section for file-list * fix file-list overview section * Update: Add confirmation icon Change chat input background color Disable send icon while sending * fix keyboard enter * Update packages/mgt-components/src/components/mgt-person-card/mgt-person-card.ts Co-authored-by: Gavin Barron <[email protected]> * Update packages/mgt-components/src/components/mgt-person-card/mgt-person-card.ts Co-authored-by: Gavin Barron <[email protected]> * update: replace send message with fluent-button * update: remove fluent-button disabled styles * improving message send button disable flow * fixing indents in html blocks --------- Co-authored-by: Musale Martin <[email protected]> Co-authored-by: Gavin Barron <[email protected]>
- Loading branch information
1 parent
96740ab
commit 94e390b
Showing
35 changed files
with
1,201 additions
and
807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
packages/mgt-components/src/components/mgt-contact/mgt-contact.theme.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* ------------------------------------------------------------------------------------------- | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. | ||
* See License in the project root for license information. | ||
* ------------------------------------------------------------------------------------------- | ||
*/ | ||
|
||
@import '../../styles/shared-sass-variables.scss'; | ||
|
||
$contact-theme: ( | ||
person-card-contact-link-color: ( | ||
_var: --person-card-contact-link-color, | ||
light: $link__color--light, | ||
dark: $link__color--dark | ||
), | ||
person-card-contact-link-hover-color: ( | ||
_var: --person-card-contact-link-hover-color, | ||
light: $link__color__hover--light, | ||
dark: $link__color__hover--dark | ||
) | ||
); | ||
|
||
@include create-themes($contact-theme); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.