Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@microsoft/mgt-spfx

microsoftgraph20.3kMIT3.1.3TypeScript support: included

SharePoint Framework library for Microsoft Graph Toolkit

microsoft graph, microsoft graph toolkit, sharepoint framework, sharepoint

readme

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.1.3 (2023-10-06)

Bug Fixes

  • a11y: mgt-file and mgt-picker visibility issues in dark-mode (#2667) (239bfb0)
  • add Group entity to IDynamicPerson type and introduce typeguards to find the entity type (#2688) (b3bc50d)
  • add spaces to presence hover text in mgt-person (#2693) (f50e6ab)
  • disable todo checkboxes and inputs in read-only mode (#2745) (d19f078)
  • ensure batch url resources start with / (#2740) (247f37a)
  • ensure msal public client application is initialized (#2702) (b9fcfe7)
  • ensure people-picker search works when userIds are supplied(#2736) (a724b05)
  • initials rendering in mgt-person (#2764) (882aaf6)
  • MgtProfile: Fix handling of null values for educations & work positions (#2717) (ba381c8)
  • typing for template props data context (#2754) (c9023c2)
  • update mgt-taxonomy-picker colors to match mgt-picker (#2747) (be7add8)

3.1.2 (2023-09-05)

Bug Fixes

  • adds pointer cursor to logged in accounts (#2674) (11e5a1c)
  • disable open on click behavior (#2685) (10b25f9)
  • set custom css token --default-font-family to apply to all elements in DOM (#2677) (cb69e01)
  • use correct scope for group member resolution (#2690) (ca313c1)

3.1.1 (2023-08-17)

Bug Fixes

  • dismiss login flyout when moving out of the popup (#2637) (263f36f)
  • use pointer cursor when person card enabled in mgt-person. (#2652) (48ea18b)

3.1.0 (2023-07-28)

Features

  • add canary url to allowed endpoints for graph (#2635) (ec621cd)

Bug Fixes

  • a11y: add distinct name definitions for copy code buttons in storybook overview (#2622) (4e52f41)
  • add a title text if displaying images only. (#2625) (28703c9)
  • check the file type being uploaded before performing upload (#2584) (7fb265c)
  • remove agenda tooltip (#2621) (27e1fc9)

3.0.1 (2023-07-18)

Bug Fixes

  • a11y: unset custom color of storybook left chevrons (#2595) (764bf12)
  • add InAConferenceCall activity when availability is Busy (#2585) (bd17195)
  • add class to people-picker styles story to enable custom css (#2605) (dcec953)
  • add font family to tasks (#2603) (e380b4a)
  • add login custom styles, removes style not in use (#2587) (7ba98e4)
  • adds customHosts support for non-graph domain requests (#2592) (1f97215)
  • announce teams channel results when you type (#2561) (5260ce0)
  • aspnet proxy provider sample (#2594) (362339a)
  • correct sppkg upload script (#2552) (8b20d84)
  • files compact view in person card (#2597) (6985717)
  • people picker default selections (#2579) (49b81bf)
  • use iterator to load events from event-query (#2600) (0ba37cc)

3.0.0 (2023-06-26)

⚠ BREAKING CHANGES

  • removes MgtTeamsChannelPickerConfig
  • removes use of user.read.all and group.read.all scopes for team/channel reading

Features

  • remove legacy mgt-dark and mgt-light theme and stories (#2284) (4065d2f)

Bug Fixes

3.0.0-rc.3 (2023-06-05)

3.0.0-rc.2 (2023-06-05)

Bug Fixes

  • add aria-label text announce cancelling adding a new task (#2359) (ffaa0e7)
  • make spfx version script work for rc version (#2396) (2d953fa)

3.0.0-rc.1 (2023-06-02)

Features

Bug Fixes

  • add a title tag to be announced for location svg (#2285) (8c601c9)
  • change override design token logic (#2384) (ed6c9b3)
  • editor tabs keyboard navigation (#2371) (669b1ea)
  • execute beta queries and eliminate re-renders (#2391) (70bef48)
  • include mgt-mock-provider as dependency to mgt (#2336) (b166aaf)
  • keyboard navigation of login account list (#2289) (af34d15)
  • make tasks header navigable with the keyboard. (#2313) (4747189)
  • new task select rendering (#2368) (f55a88a)
  • open file/folder when you press enter/backspace on focused item (#2325) (e7efa21)
  • person component responsive issue (#2297) (fbd397d)
  • person text visibility in custom properties (#2298) (71aef6b)
  • remove theme-toggle capability from custom CSS property and templating stories (#2326) (fbbb1e3)
  • set react peer dependency as range (#2393) (2ee0078)
  • set the teams-channel-picker dropdown to overlay all other elements (#2337) (1ce13ae)
  • storybook footer accessibility (#2369) (6dafa61)
  • using mgt-search-results instead of mgt-search-box (#2395) (f10a96b)

v3.0.0-preview.2 (2023-05-09)

New feature:

  • use fluent UI to theme the tasks component (#2150) by Musale Martin
  • move completed items to bottom of the list in mgt-todo (#2215) by Nickii Miaro
  • Support for new component mgt-search-results (#2047) by Sébastien Levert
  • update Todo component to new Fluent designs (#1967) by Nickii Miaro
  • use fluentui to theme the person component. (#2072) by Musale Martin
  • allow programmatically theming a component without the theme-toggle component (#2199) by Musale Martin
  • migrate to eslint (#2125) by Gavin Barron
  • added spec for mgt-taxonomy-picker (#2156) by Anoop T
  • add custom CSS properties for the people picker flyout text (#2162) by Musale Martin
  • Storybook authentication (#2048) by Sébastien Levert
  • use fluentui tokens for theming file and file-list (#2044) by Musale Martin

Bugs fixed:

  • use fixed graph client version (#2274) by Gavin Barron
  • react peer dependencies (#2254) by Gavin Barron
  • remove mgt-spfx dependency from react webpart sample (#2196) by Gavin Barron
  • fix mgt-spfx-utils packing (#2195) by Gavin Barron

v3.0.0-preview.1 (2023-03-02)

New feature:

  • add quick messaging to fluent person-card (#1958) by Nickii Miaro
  • update agenda component to the fluent UI spec (#1867) by Musale Martin
  • update teams-channel-picker to fluent UI designs (#1805) by Musale Martin
  • report custom element name collisions (#2053) by Gavin Barron
  • add theme management tools (#2037) by Gavin Barron
  • mgt-picker component for generic picking of entities from Microsoft Graph (#1937) by Nickii Miaro
  • update File List component to Fluent UI (#1833) by Nickii Miaro
  • update TeamsFxProvider.ts for v3.0.0 (#1983) by rentu
  • add typing to events for react components (#1981) by Gavin Barron
  • add spfx utils for disambiguation (#1914) by Gavin Barron
  • add tests and example jest config (#1987) by Gavin Barron
  • add support for GCC and other sovereign clouds (#1928) by Musale Martin
  • add nodejs 16 support (#1911) by Gavin Barron
  • upgrade sample to angular 14 (#1968) by Gavin Barron
  • add custom element disambiguation #1852) by Gavin Barron
  • update people-picker component to fluentui design (#1801) by Musale Martin
  • update the people component to Fluent UI (#1786) by Musale Martin
  • update mgt-login to new fluent-ui designs (#1807) by Gavin Barron
  • update Person Card to latest Fluent UI (#1797) by Nickii Miaro
  • update File component to latest Fluent design (#1802) by Nickii Miaro
  • update person component to latest Fluent UI design (#1773) by Nickii Miaro
  • updated Graph Client to v3 (#1040) by Nikola Metulev
  • person-card fluent controls upgrade (#1253) by Nicolas Vogt
  • added option to disable incremental consent (#1316) by amrutha95
  • update fluentui registration (#1338) by Beth Pan
  • added multi-user cache functionality and enabled multi user login in Msal2Provider (#1299) by amrutha95
  • msal2 multi-account UI (#1041) by Nicolas Vogt

Bugs fixed:

  • fix: set the search icon to be on the same level with the input field (#2043) by Musale Martin
  • fix: update typescript and ts-node versions for proxy samples (#2020) by Gavin Barron
  • fix: correct typing problems in sample vue app (#2021) by Gavin Barron
  • fix: restore provided msal public client behavior (#1931) by Gavin Barron
  • fix: people picker RTL renders, focus and storybook loading errors (#1864) by Musale Martin
  • fix: lock responselike resolutions to v2.0.0 (#1851) by Nickii Miaro

BREAKING CHANGES:

  • In mgt-agenda for eventClick the clicked MicrosoftGraph.Event moves from a property of e.detail to be the value of e.detail
  • All events for mgt-task now emit a CustomEvent<ITask>
  • Numerous changes to design tokens that may break styling customizations
  • @microsoft/microsoft-graph-client now uses v3.0.2, upgraded from v2.2.1, solutions using the graph client from the provider will experience breaking changes.