Skip to content

2.0.0-preview.9

Pre-release
Pre-release
Compare
Choose a tag to compare
@nmetulev nmetulev released this 03 Dec 02:32
· 1070 commits to main since this release

This prerelase update includes the following updates:

  • Added dark theme support to all remaining components - #793

  • Person Card - #774

    • Batching most graph calls to ensure the data is loaded as fast as possible with as few requests as possible
    • Sections now only render if there is data to show (there should no longer be 'no-data' rendered)
    • Restored basic templating (additional-details now works again)
    • Removed input box for sending quick message since those APIs are not available in the graph
    • Added global configuration api to configure what sections show up in the person card
      import { MgtPersonCard } from '@microsoft/mgt';
      MgtPersonCard.config.sections.profile = false;
    • Fixed issue with person card rendering of screen. The person card will make sure it is always visible and even move/animate when expanded
    • Fixed issue where the expanded view was not scrollable
    • Fixed issue where the person card state would not reset when dismissed
    • Sections
      • Contact compact view now supports copying
      • Files section now shows proper file icons
      • Organization now shows direct reports
      • Organization compact mode now shows direct reports when no manager is available (ex: CEO)
    • Added rtl support - #791
    • Added localization support - #798
  • Package split - factored out toolkit into more packages - #767

    • @microsoft/mgt-element - base classes for creating components and providers
    • @microsoft/mgtmgt-components - all components
    • providers
      • @microsoft/mgtmgt-msal-provider - the msal provider
      • @microsoft/mgtmgt-teams-provider - the teams provider
      • @microsoft/mgtmgt-proxy-provider - the proxy provider
      • @microsoft/mgtmgt-sharepoint-provider - the sharepoint provider
    • @microsoft/mgtmgt - main package re-exporting all of the above
    • @microsoft/mgtmgt-react - react package
  • Other

    • mgt-get - added support for caching - #763 (thanks @sebastienlevert)
    • Updated mgt-react components to default to default template when not specified - #778 (thanks @aakashbhardwaj619)
    • Fixed mgt-people-picker loading spinner when searching for people - #766
    • Fixed mgt-people-picker text highlighting - #770