All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.3.0 (2024-10-03)
- handle popup login errors (#3290) (76a013d)
- mgt-people-picker flyout protruding issue (#3330) (ea37cbf)
- render people-picker flyout inside window (#3326) (5a11252)
- render person-card inside parent container (#3324) (ae49332)
- show max while picking multiple groups (#3289) (d2add09)
4.2.5 (2024-09-04)
- dialog content z-index (#3285) (3e8b0f5)
- display contact icons with personDetails (#3276) (e685aee)
- display default selected users and groups while disabling suggestions (#3279) (dfccd65)
- remove picker focus when using selectUsersById (#3282) (440211b)
- update the css query and events used to rename copy button aria-labels (#3271) (439d0fc)
4.2.4 (2024-08-06)
- add headers when people-picker has input (#3269) (ba87c32)
- add padding to the list of direct reports in person-card (#3265) (8036278)
- check the options scopes are not empty when getting access token (#3256) (432d8ce)
- implement caching on the card state for person card (#3266) (06cd925)
- remove space in findUsers query (#3267) (096a50d)
- show login component flyout on after login (#3250) (62b1ed4)
- use a consistent cachekey in file list cache (#3257) (5551351)
4.2.3 (2024-07-02)
- a11y: add stackblitz button styling for high contrast theming (#3213) (cb7621a)
- a11y: correctly narrate tab status in storybook editor (#3220) (7932f55)
- a11y: narrate person list position in mgt-agenda (#3221) (463687d)
- add userPrincipalName as an option in findPeople query (#3206) (97fe1c0)
- correct storybook overview component links (#3223) (5a94bfa)
- display only a person's shared files in mgt-person-card (#3238) (da90c5b)
- display only available person-card contact icons on mgt-person-card (#3237) (1f080d9)
- mgt-planner task deletion on keyboard interaction (#3214) (0ef8dd7)
- update tabbing behavior on person when closing person-card (#3193) (6a93c6e)
4.2.2 (2024-05-30)
- a11y: alert files reloaded on mgt-file-list (#3191) (3ac37de)
- a11y: announce expanded/collapsed state of options menu in mgt-planner (#3186) (6e51044)
- a11y: announce when no matches are found in people-picker (#3180) (bfa4af8)
- a11y: correct file upload button and file line-1 color contrast in mgt-file-list (#3177) (ae31d26)
- a11y: correct luminosity contrast in mgt-agenda custom styles (#3179) (b11f9c7)
- a11y: correct luminosity contrast in mgt-file and mgt-login text colors (#3178) (b42c743)
- a11y: correct mgt-get email story (#3194) (066e58c)
- a11y: correct mgt-person-card line-3 text color contrast in custom styles (#3176) (c5c1e53)
- a11y: correct people-picker placeholder luminosity contrast (#3175) (6acfbe7)
- a11y: focus on uploaded file and narrate status (#3189) (7f9eac3)
- a11y: person-card style contrast (#3174) (8078496)
- a11y: set the title and aria-label for the screen sizing buttons (#3188) (6395096)
- a11y: use descriptive alt text for file icon in mgt-file (#3195) (9f0799e)
- adds color variable for date and summary in mgt-search-results (#3153) (35b86ff)
- mgt-channel-picker icons tab behavior (#3185) (ef846d5)
4.2.1 (2024-03-27)
4.2.0 (2024-03-27)
- a11y: fix forced colors for file upload button (#3114) (81826d9)
- add a custom font-size token to people-picker (#3069) (bc8423c)
- add a shimmer for the loading state of person component (#3009) (daf0cf9)
- add aria-label text string for teams chevrons (#3129) (bc1fedf)
- disable input in single select mode and default userIds and groupIds (#3119) (948b078)
- prevent undefined account error when logging out (#3082) (da77913)
- theme colors for mgt-search-results (#3116) (ae5e343)
4.1.0 (2024-02-26)
- add ability to disable suggestions on people-picker (#3048) (f174714)
- move electron to peer dependency (#3046) (c572c01)
- make scope aware requests work for electron apps (c572c01)
4.0.1 (2024-02-12)
- apply keyboard focus when removing selected person or adding person from suggestion list on people-picker (#3011) (8c8b138)
- ensure consistency level header present for user search (#3029) (3d893b2)
4.0.0 (2024-02-05)
- mgt-loader.js is removed and there is no support for es5 only browsers direct from CDN. Developers loading mgt from a CDN must use module syntax and explicitly initialize their applications.
- mgt-spfx is deprecated, use disambiguation instead
- ViewType is now a string union type and not an enum
- UserType is now a string union type and not an enum
- PersonType is now a string union type and not an enum
- GroupType is now a string union type and not an enum
- groupType property on MgtPeoplePicker is now a GroupType[] not a GroupType that is a bitmask of the desired group types. Developers using the group-type attribute will find the behavior unchanged.
- the avatarType eunm has been renamed to AvatarType for consistency and converted to a string union type
- the ResponseType for mgt-get is now a string union type and not an enum
- PersonCardInteraction is now a string union type and not an enum
- convert attribute enums to string unions (#2962)
- PersonViewType has been removed. 'avatar' is no longer a valid value for the 'view' attribute on the 'mgt-person' component
- permissions: applications using mgt-person with fetch-image and person-detal where the supplied value is a group will now need to consent to either Group.Read.All or Group.ReadWrite.All. This replaces the existing behavior where the group image would silently fail to load and show an http 403 error in the console.
- permissions: minimal permission for planner calls changed from Group.ReadWrite.All to Tasks.ReadWrite for write operation and from Group.Read.All to Tasks.Read for read operations.
- prepScopes now accepts an array of scopes, this is checked against the set of currently consented scopes for the user. If any of the supplied scopes are found, then no additional scopes are requested. If no match is found, then the user will be prompted to consent to the first scope in the supplied array of scopes
- mgt-tasks has been removed and replaced with mgt-planner. mgt-planner does not support data-source switching to fetch data from the outlook tasks apis any longer.
- Developers must explicitly call the register function for all web components used in their application when using components from
@microsoft/mgt-components
. Importing from the root of@microsoft/mgt-components
no longer has an automatic registration side effect. NOTE Components from@microsoft/mgt-react
will automatically register the underlying web component when they are used for the first time. - MgtPersonCard no longer has a static config property.This config has been moved to the MgtPersonCardConfig class to allow developers to import the config and associated getMgtPersonCardScopes function at the top level of their applicaiton without automatically adding the weight of the full mgt-person-card component and dependencies to the entry file for their applications.
- default behavior of mgt-people-picker changes so presence is not shown unless show-presence attribute or showPresence property are set
- applications importing
@microsoft/mgt-react
but not using the wrapper components will not have components automatically registered in the browser. This leads to a breaking change when these applications emit raw web component markup rather than using the wrapper components.
- add edit funtionality to mgt-todo (#2783) (64acd1f)
- add ElectronContextBridgeProvider (#2914) (8900eb4)
- add optional person-card to people picker (#2900) (65ca8e2)
- add show-presence to mgt-people-picker (#2812) (f5bf7cc)
- add support for nested values in mgt-picker key-name (#2917) (e79fbdc)
- automatically convert disambiguation value to lowercase (#2898) (992ab85)
- convert attribute enums to string unions (#2962) (18d0aec)
- deprecate mgt-spfx package (#2940) (3da9560)
- enable live code inclusion for consuming applications (#2642) (c41d719)
- enable user sign-in for storybook (#2851) (335c2f3)
- promoting search components to GA (#2909) (86697f4)
- remove mgt-loader (#2963) (ea0f71b)
- rename mgt-tasks to mgt-planner (#2890) (df8af8c)
- require explicit component registration (#2848) (b7db262)
- scope aware requests (#2797) (81d124b)
- split config and permission methods out of mgt-person-card (#2840) (8177699)
- use
@lit/task
to schedule async data fetching (#2912) (14a96ff)
- add connect img and frame csp directives (#2910) (20eb7fc)
- add detail-line part attribute to person component (#2999) (b254e49)
- add focus on input field when you click the button to add a new task (#2994) (573fa45)
- add method to clear selected channel in mgt-teams-channel-picker (#2865) (c3a3d82)
- adding headers and count on all potential advanced aad queries (#2920) (90b2dd1)
- clean-up react-contoso homepage (#3008) (c8c564d)
- color inversion on suggestion list (65ca8e2)
- consolidate person view types (#2943) (6d44a17)
- correct completion of todo items (#3018) (52d8ad9)
- correct filter concatenation in mgt-people-picker (#2822) (18925a9)
- correct permissions used for some requests (#2953) (ec25e57)
- direct reports list formatting (#2930) (f2547d1)
- enable the input control when selectedPeople is cleared via code. (#2792) (f54dc81)
- ensure filtering of tasks actually works (#2894) (59cccb0)
- ensure loginInitiated is fired every time (2fb1064)
- ensure people-filters are added with and clause for people-picker (#2826) (0d671e6)
- enter email keypress behavior (#2928) (53b291c)
- flyout vertical positioning (#2771) (45163ed)
- focus on the input when you cancel adding a todo (#3005) (14bb9c1)
- guard on non-existent result (#2931) (981e6f9)
- increase area for placeholder (#2921) (513031b)
- mgt-person avatar size customization in vertical layout (#2875) (4c41534)
- msal setActiveAccount error (#3017) (0bad7e5)
- permissions: getGroupImage now correctly requires group.read.all or group.readwrite.all (#2797) (81d124b)
- permissions: updated todo and planner permissions (#2797) (81d124b)
- presence fallback logic (#2849) (1ab1970)
- presence icons for dark forced colors (#2817) (00b168b)
- register components for use in stories (335c2f3)
- remove readonly props from react components (#2946) (267bc19)
- revert csp tag in developer index.html (#2910) (20eb7fc)
- set add button to disabled until task name is provided (#2996) (eec74d0)
- stop keydown from bubbling beyond people-picker (#2892) (ad4cfa3)
- typing for LocalizationHelper.strings (#2998) (0317fc2)
- update person details when mgt-person attributes are changed (#2871) (9c53cbf)
- update rollup and rollup config (#2969) (606fffb)
- update the sandbox fallback url (#2924) (ebf5ed3)
- avatarType renamed to AvatarType and converted to string union type (18d0aec)
- GroupType is now a string union type and not an enum (18d0aec)
- groupType property on MgtPeoplePicker is now GroupType[] (18d0aec)
- PersonCardInteraction is now a string union type and not an enum (18d0aec)
- PersonType is now a string union type and not an enum (18d0aec)
- ResponseType for mgt-get converted to string union type from enum (18d0aec)
- UserType is now a string union type and not an enum (18d0aec)
- ViewType is now a string union type and not an enum (18d0aec)
3.1.3 (2023-10-06)
- 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)
- 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)
- 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)
- 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)
- a11y: unset custom color of storybook left chevrons (#2595) (764bf12)
- add
InAConferenceCall
activity when availability isBusy
(#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)
- removes MgtTeamsChannelPickerConfig
- removes use of user.read.all and group.read.all scopes for team/channel reading
- a11y: unset custom color of storybook left chevrons (#2595) (764bf12)
- a11y: set aria-expanded when open/closed (#2405) (d084665)
- Adding taxonomy-picker as an exported React component and updated used types (4c06bd2)
- announce more options button on narrator in mgt-tasks (#2399) (11ef91f)
- announce the label of the people-picker text field (#2398) (f6ba11f)
- announce the name of the selected user to remove in narrator (#2360) (a6af856)
- apply theme color to calendar icon of date input (#2312) (68a05bb)
- aspnet proxy provider sample (#2594) (362339a)
- caching story (#2516) (2bd21d1)
- disable autocomplete (#2481) (c9d2195)
- disambiguated tagname and query selectors (#2475) (f9f99e6)
- enable keyboard navigation in the picker (#2324) (622f000)
- enable text spacings on login, channel-picker and teams-channel-picker (#2413) (08819b1)
- ensure todo tasks are rendered in mgt-tasks (#2480) (46afd78)
- files compact view in person card (#2597) (6985717)
- fix person-card to use fluent-card (#2487) (6d3254d), closes #2512
- markdown table names (#2473) (511e05b)
- max picker list height (#2431) (7a22138)
- mgt-person narration (#2493) (c14af08)
- navigate mgt-people using left/right arrow keys when it is focused (#2283) (edab5f1)
- people picker default selections (#2579) (49b81bf)
- people picker single select mode (#2541) (7032e88)
- people-picker uses show-max attribute (#2527) (8691055)
- person card color (#2533) (a83ae28)
- person-card hover icons alignment (#2531) (5bdaea6)
- proxy provider sample (#2515) (70211aa)
- proxy sample node (#2491) (8ca93c9)
- remove mgt-agenda background colour (#2476) (e82bd1f)
- removing unused mgt-teams-channel-picker tokens (#2518) (6c39ea1)
- returning a JSON parsed version of the cache for insights types (#2524) (0bbb487)
- revert dot-options to use fluent controls (#2424) (59ef61a)
- sample electron app fixes (#2482) (cde48c8)
- scopes used to query team channels (#2519) (3da6333)
- select first list available to display on mgt-todo (#2456) (c5a5493)
- set default contrast colors to allow highlighting in high contrast mode (#2281) (4fc6460)
- set the avatar sizes for different mgt-person types with a single CSS prop (#2457) (3e16476)
- storybook deployment (#2553) (e979212)
- styling of nested disambiguated components (#2479) (3a60ed9)
- support target-id and initial-id attributes in mgt-todo (#2407) (f2d4668)
- task assignment button (#2528) (63ad055)
- templating story for teams messages (#2517) (3a51a52)
- use fluentui token to set person/login background (#2435) (99884f8)
- use iterator to load events from event-query (#2600) (0ba37cc)
- use optional chaining for search results hits (#2447) (da8b7e3)
3.0.0-rc.3 (2023-06-05)
3.0.0-rc.2 (2023-06-05)
- 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)
- add token overrides to theme switching (#2328) (c49f70c)
- added mgt-taxonomy-picker component (#2172) (00f6565)
- mgt-picker selected-value attribute (#2363) (abd00b4)
- preview component support (#2356) (38a13e1)
- remove the Teams, TeamsMsal2 and the Msal providers in v3.x.x (#2231) (c007abc)
- 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)
- 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
- 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
- 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
- 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
- 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
- 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.