Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Update teams-channel-picker to fluent UI designs (#1805)
* update: Set rtl and images for fluent UI look * update: Make card height wrap around the content * update: Make searched channels expand in dropdown * refactor: Remove deprecated even.keyCode for event.code * fix: Apply auto card height on the fluent-card * fix: Set render direction to ltr by default and auto height card * update: set the dir attribute at the top most part of the element This together with setting the dir attribute on the fluent-tree-view enables the fluentui components to set the dir on their own. Multiple dir attributes are unnecessary and cause the fluentui components to exhibit unexpected behaviour. * update: Change the usage of fluentui components * update: Set card width * update: Set the width to 368px * update: Handle enter keypress on channel * fix: use min-width to allow growth of element when txt is long * fix: flexible width for the dropdown and selected values * fix: hide the dropdown on losing component focus * fix: change the loading component props to align with main component * refactor: remove unused code * fix: format fixes and new lock file * fix: disable input on selecting a channel * fix: toggle the chevrons and close btn correctly * fix: set a fixed width and resize selected channel img * fix: truncate selected team or channel to fit the width * fix: test the fluent component in spinner * fix: custom event detail should be an obj in an array * fix: mark a channel selected by ID as highlighted in the DOM * fix: remove the click event on the team tree-item * fix: remove highlight on clicking a team name - make clicking the team only expand/collapse channel list * fix: stop showing the previously selected channel * remove the DOM properties that show it selected manually to avoid reloading the state of the component * fix: selectionChanged evt to emit correct type * fix: update the layout of selected pills * fix: remove end slot on selected team Render the team parent name with the default slot --------- Co-authored-by: Gavin Barron <[email protected]>
- Loading branch information