Skip to content

Commit 561339a

Browse files
carocao-msftvhuseinova-msftmgamis-msftdmceachernmsftgithub-actions[bot]
authored
API tag survey component (#3607)
* star survey * tag survey * tag survey * tag survey * componet changes * componet changes * componet changes * componet changes * Change files * Duplicate change files for beta release * pr change * Survey inside composite (#3608) * tag survey * tag survey * tag survey * tag survey * tag survey * tag survey * Add jest test coverage (#3577) * Capabilities doc in storybook (#3585) * Add storybook documentation for capabilities * Change files * Duplicate change files for beta release * major edit * lint fix * change 'Handling changes of capabilities' to 'Listening for changes in capabilities' * fix snippet code * rewording * wording fixes * typo fix * [CI fix] downgrade playwright (#3601) * downgrade playwright * Change files * Duplicate change files for beta release * [Gallery layouts] default gallery grid participant cap (#3574) * update logic to cap gallery participants * put leftovers into overflow * fix indexing issue * Change files * Duplicate change files for beta release * build files * Update packages/react-composites CallComposite browser test snapshots * update tests for new tile caps * cleanup per comments * Update logic to mix audtio video non dynamic * remove largeGallery API --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Gallery Layouts] Large Gallery (#3591) * update logic to cap gallery participants * put leftovers into overflow * fix indexing issue * Change files * Duplicate change files for beta release * build files * Update packages/react-composites CallComposite browser test snapshots * update tests for new tile caps * add new layout * add large gallery dropdown * add internal component to video gallery * add logic for large gallery * Change files * Duplicate change files for beta release * add tile count maxing at 48 less if no room * build fixes * cleanup per comments * fix cc * Update packages/react-composites CallComposite browser test snapshots * fix cc * fix cc * Update logic to mix audtio video non dynamic * remove largeGallery API * make large gallery alpha only * Address comments * fix cc * Update packages/react-composites CallComposite browser test snapshots * fix comment --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Gallery layouts] Large gallery e2e (#3597) * update logic to cap gallery participants * put leftovers into overflow * fix indexing issue * Change files * Duplicate change files for beta release * build files * Update packages/react-composites CallComposite browser test snapshots * update tests for new tile caps * add new layout * add large gallery dropdown * add internal component to video gallery * add logic for large gallery * Change files * Duplicate change files for beta release * add tile count maxing at 48 less if no room * build fixes * cleanup per comments * fix cc * add test * Update packages/react-composites CallComposite browser test snapshots * fix cc * fix cc * remove test.only * Change files * Duplicate change files for beta release * Update packages/react-composites CallComposite browser test snapshots * Update logic to mix audtio video non dynamic * remove largeGallery API * make large gallery alpha only * Address comments * fix cc * Update packages/react-composites CallComposite browser test snapshots * fix comment * update to correct cc * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update license to License (including lint rule) (#3588) * [Pipeline] New comment to explain issue (#3613) * Treeshaking Locales and Reduced Bundle Size (#3615) * Treeshake locales * Treeshake locales from composites * minor * Change files * Duplicate change files for beta release * minor changes * [Gallery Layouts] mobile gallery options (#3603) * update logic to cap gallery participants * put leftovers into overflow * fix indexing issue * Change files * Duplicate change files for beta release * build files * Update packages/react-composites CallComposite browser test snapshots * update tests for new tile caps * add new layout * add large gallery dropdown * add internal component to video gallery * add logic for large gallery * Change files * Duplicate change files for beta release * add tile count maxing at 48 less if no room * build fixes * cleanup per comments * fix cc * add test * Update packages/react-composites CallComposite browser test snapshots * fix cc * fix cc * remove test.only * Change files * Duplicate change files for beta release * Update packages/react-composites CallComposite browser test snapshots * add options to drop down * remove largeGallery from Mobile * fix scrollable gallery * Change files * Duplicate change files for beta release * add show label in default view always * fix lint * fix build * fix cc * Update packages/react-composites CallWithChatComposite browser test snapshots * rebuild API * Update packages/react-composites CallComposite browser test snapshots * fix double large button * update cc * build API * Update packages/react-composites CallComposite browser test snapshots * add auto dismiss on selection * add focused content to mobile * add icons representing selected mode * disable for hold screen --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Gallery layouts] Mobile gallery e2e testing (#3611) * update logic to cap gallery participants * put leftovers into overflow * fix indexing issue * Change files * Duplicate change files for beta release * build files * Update packages/react-composites CallComposite browser test snapshots * update tests for new tile caps * add new layout * add large gallery dropdown * add internal component to video gallery * add logic for large gallery * Change files * Duplicate change files for beta release * add tile count maxing at 48 less if no room * build fixes * cleanup per comments * fix cc * add test * Update packages/react-composites CallComposite browser test snapshots * fix cc * fix cc * remove test.only * Change files * Duplicate change files for beta release * Update packages/react-composites CallComposite browser test snapshots * add options to drop down * remove largeGallery from Mobile * fix scrollable gallery * Change files * Duplicate change files for beta release * add show label in default view always * fix lint * fix build * fix cc * Update packages/react-composites CallWithChatComposite browser test snapshots * rebuild API * Update packages/react-composites CallComposite browser test snapshots * fix double large button * update cc * build API * Update packages/react-composites CallComposite browser test snapshots * Add test * add auto dismiss on selection * Change files * Duplicate change files for beta release * remove test.only * Update packages/react-composites CallComposite browser test snapshots * add focused content to mobile * add icons representing selected mode * disable for hold screen * update test to have video people * remove test.only * add test to see menu options in bottom sheet * remove test.only * fix cc * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [A11y bugfix] Video effects pane focus focus issue (#3627) * update how to search for key * Change files * Duplicate change files for beta release * default render of participant list item will yield none for presence (#3619) * default render of participant list item will yield none for presence * Change files * Duplicate change files for beta release * Change files * Duplicate change files for beta release * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Chat] Updating storybook anchors to use ref (#3625) * [Gallery layouts] Update storybook for gallery layouts (#3616) * update storybook for gallery layouts * Change files * Duplicate change files for beta release * Update packages/storybook/stories/VideoGallery/VideoGallery.stories.tsx Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> * Update packages/storybook/stories/CallComposite/CallCompositeDocs.tsx Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> * add missing layout to storybook controls * fix prettier * videogallery QOL improvements * move layout state to composite * track overflow gallery position in composite * fix build * large gallery fixes --------- Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> * [Bug fix] configuration page fixes (#3621) * update mobile margins start call styles * update drop down styles * Change files * Duplicate change files for beta release * Update packages/react-composites CallWithChatComposite browser test snapshots * Update embed html bundle snapshots * Update packages/react-composites CallWithChatComposite browser test snapshots * Update embed html bundle snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * fix config margins * fix rejoin call button styles * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Chat] Long Display name truncation (#3633) * Improve compliance banner preview (#3635) * Improve ComplianceBanner preview in storybook * Change files * Duplicate change files for beta release * [bugfix] contextual menu overflow menu items extend background color and Call readiness prompt opacity lightened (#3639) * Apply background color to overflow menu items in contextual menu and lighten opacity for call readiness prompts * Increase outer padding of local PIP starting location (#3605) * Increase the gap of the floating local video's initial posiition from the bottom right * Change files * Duplicate change files for beta release * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Gallery Layouts] Update composite options and icons for public preview (#3637) * update CC for beta release * Change files * Duplicate change files for beta release * Fix mobile drawer * Update packages/react-composites CallWithChatComposite browser test snapshots * fix strings * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Remove Fluent NorthStar (#3578) * Remove Fluent NorthStar * Replace Chat components with fluent 9 and fluent-contrib-chat * Update styling for various bug fixes * Update storybook and documentation --------- Co-authored-by: vhuseinova-msft <98852890+vhuseinova-msft@users.noreply.github.com> Co-authored-by: Patrick Latter <73612854+palatter@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Leah Xia <107075081+Leah-Xia-Microsoft@users.noreply.github.com> * [Gallery Layouts] Release notes Changelogs (#3645) * [Image Gallery] Release notes Changelogs (#3646) * Change files * Duplicate change files for beta release --------- Co-authored-by: JoshuaLai <9044372+JoshuaLai@users.noreply.github.com> * [Chat] Remove unnecessary FocusTrapZone for ImageGallery (#3569) * Remove FocusTrapZone from ImageGallery * Change files * Duplicate change files for beta release * Remove unnecessary imports * [Gallery layouts] ARB updates (#3649) * make adjustments for ARB * Change files * Duplicate change files for beta release * [Gallery layouts] fix gallery layout cc in snapshot tests (#3655) * update cc * Change files * Duplicate change files for beta release * overflow tests * Documentation update to remove NorthStar dependency information (#3650) * [BugFix] Update MyMessage options menu to correct size/visibility on mobile browsers (#3654) * [Gallery layouts] more gallery cc fixes for beta release (#3656) * update CC for tests * Change files * Duplicate change files for beta release --------- Co-authored-by: Patrick Latter <73612854+palatter@users.noreply.github.com> * [Vertical Gallery] vertical gallery string update (#3652) * update verticalGallery key * Change files * Duplicate change files for beta release * 1.9.0-beta.1 Fetch Strings (#3660) * TDBuild - updating localized resource files. * TDBuild - updating localized resource files. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Bug fix]Decrease captions banner width when screen is too small to prevent more button overlapping with scroll bar (#3653) * width * Change files * Duplicate change files for beta release * [Chat] Updated Docs for Inline Image and File Sharing (#3599) * [Sample apps] add strict mode to sample apps again (#3659) * re introduce strict mode to samples * Change files * Duplicate change files for beta release * [Bug Fix] Allow custom avatar for captions component (#3643) * test changes to show how to get custom avatars in captions * Treeshaking Locales and Reduced Bundle Size (#3615) * Treeshake locales * Treeshake locales from composites * minor * Change files * Duplicate change files for beta release * minor changes * [Gallery Layouts] mobile gallery options (#3603) * update logic to cap gallery participants * put leftovers into overflow * fix indexing issue * Change files * Duplicate change files for beta release * build files * Update packages/react-composites CallComposite browser test snapshots * update tests for new tile caps * add new layout * add large gallery dropdown * add internal component to video gallery * add logic for large gallery * Change files * Duplicate change files for beta release * add tile count maxing at 48 less if no room * build fixes * cleanup per comments * fix cc * add test * Update packages/react-composites CallComposite browser test snapshots * fix cc * fix cc * remove test.only * Change files * Duplicate change files for beta release * Update packages/react-composites CallComposite browser test snapshots * add options to drop down * remove largeGallery from Mobile * fix scrollable gallery * Change files * Duplicate change files for beta release * add show label in default view always * fix lint * fix build * fix cc * Update packages/react-composites CallWithChatComposite browser test snapshots * rebuild API * Update packages/react-composites CallComposite browser test snapshots * fix double large button * update cc * build API * Update packages/react-composites CallComposite browser test snapshots * add auto dismiss on selection * add focused content to mobile * add icons representing selected mode * disable for hold screen --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Gallery layouts] Mobile gallery e2e testing (#3611) * update logic to cap gallery participants * put leftovers into overflow * fix indexing issue * Change files * Duplicate change files for beta release * build files * Update packages/react-composites CallComposite browser test snapshots * update tests for new tile caps * add new layout * add large gallery dropdown * add internal component to video gallery * add logic for large gallery * Change files * Duplicate change files for beta release * add tile count maxing at 48 less if no room * build fixes * cleanup per comments * fix cc * add test * Update packages/react-composites CallComposite browser test snapshots * fix cc * fix cc * remove test.only * Change files * Duplicate change files for beta release * Update packages/react-composites CallComposite browser test snapshots * add options to drop down * remove largeGallery from Mobile * fix scrollable gallery * Change files * Duplicate change files for beta release * add show label in default view always * fix lint * fix build * fix cc * Update packages/react-composites CallWithChatComposite browser test snapshots * rebuild API * Update packages/react-composites CallComposite browser test snapshots * fix double large button * update cc * build API * Update packages/react-composites CallComposite browser test snapshots * Add test * add auto dismiss on selection * Change files * Duplicate change files for beta release * remove test.only * Update packages/react-composites CallComposite browser test snapshots * add focused content to mobile * add icons representing selected mode * disable for hold screen * update test to have video people * remove test.only * add test to see menu options in bottom sheet * remove test.only * fix cc * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [A11y bugfix] Video effects pane focus focus issue (#3627) * update how to search for key * Change files * Duplicate change files for beta release * default render of participant list item will yield none for presence (#3619) * default render of participant list item will yield none for presence * Change files * Duplicate change files for beta release * Change files * Duplicate change files for beta release * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Chat] Updating storybook anchors to use ref (#3625) * [Gallery layouts] Update storybook for gallery layouts (#3616) * update storybook for gallery layouts * Change files * Duplicate change files for beta release * Update packages/storybook/stories/VideoGallery/VideoGallery.stories.tsx Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> * Update packages/storybook/stories/CallComposite/CallCompositeDocs.tsx Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> * add missing layout to storybook controls * fix prettier * videogallery QOL improvements * move layout state to composite * track overflow gallery position in composite * fix build * large gallery fixes --------- Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> * [Bug fix] configuration page fixes (#3621) * update mobile margins start call styles * update drop down styles * Change files * Duplicate change files for beta release * Update packages/react-composites CallWithChatComposite browser test snapshots * Update embed html bundle snapshots * Update packages/react-composites CallWithChatComposite browser test snapshots * Update embed html bundle snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * fix config margins * fix rejoin call button styles * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Chat] Long Display name truncation (#3633) * Improve compliance banner preview (#3635) * Improve ComplianceBanner preview in storybook * Change files * Duplicate change files for beta release * [bugfix] contextual menu overflow menu items extend background color and Call readiness prompt opacity lightened (#3639) * Apply background color to overflow menu items in contextual menu and lighten opacity for call readiness prompts * Increase outer padding of local PIP starting location (#3605) * Increase the gap of the floating local video's initial posiition from the bottom right * Change files * Duplicate change files for beta release * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Gallery Layouts] Update composite options and icons for public preview (#3637) * update CC for beta release * Change files * Duplicate change files for beta release * Fix mobile drawer * Update packages/react-composites CallWithChatComposite browser test snapshots * fix strings * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * tag survey * Change files * Duplicate change files for beta release * [Gallery Layouts] mobile gallery options (#3603) * update logic to cap gallery participants * put leftovers into overflow * fix indexing issue * Change files * Duplicate change files for beta release * build files * Update packages/react-composites CallComposite browser test snapshots * update tests for new tile caps * add new layout * add large gallery dropdown * add internal component to video gallery * add logic for large gallery * Change files * Duplicate change files for beta release * add tile count maxing at 48 less if no room * build fixes * cleanup per comments * fix cc * add test * Update packages/react-composites CallComposite browser test snapshots * fix cc * fix cc * remove test.only * Change files * Duplicate change files for beta release * Update packages/react-composites CallComposite browser test snapshots * add options to drop down * remove largeGallery from Mobile * fix scrollable gallery * Change files * Duplicate change files for beta release * add show label in default view always * fix lint * fix build * fix cc * Update packages/react-composites CallWithChatComposite browser test snapshots * rebuild API * Update packages/react-composites CallComposite browser test snapshots * fix double large button * update cc * build API * Update packages/react-composites CallComposite browser test snapshots * add auto dismiss on selection * add focused content to mobile * add icons representing selected mode * disable for hold screen --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Gallery layouts] Mobile gallery e2e testing (#3611) * update logic to cap gallery participants * put leftovers into overflow * fix indexing issue * Change files * Duplicate change files for beta release * build files * Update packages/react-composites CallComposite browser test snapshots * update tests for new tile caps * add new layout * add large gallery dropdown * add internal component to video gallery * add logic for large gallery * Change files * Duplicate change files for beta release * add tile count maxing at 48 less if no room * build fixes * cleanup per comments * fix cc * add test * Update packages/react-composites CallComposite browser test snapshots * fix cc * fix cc * remove test.only * Change files * Duplicate change files for beta release * Update packages/react-composites CallComposite browser test snapshots * add options to drop down * remove largeGallery from Mobile * fix scrollable gallery * Change files * Duplicate change files for beta release * add show label in default view always * fix lint * fix build * fix cc * Update packages/react-composites CallWithChatComposite browser test snapshots * rebuild API * Update packages/react-composites CallComposite browser test snapshots * fix double large button * update cc * build API * Update packages/react-composites CallComposite browser test snapshots * Add test * add auto dismiss on selection * Change files * Duplicate change files for beta release * remove test.only * Update packages/react-composites CallComposite browser test snapshots * add focused content to mobile * add icons representing selected mode * disable for hold screen * update test to have video people * remove test.only * add test to see menu options in bottom sheet * remove test.only * fix cc * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Gallery layouts] Update storybook for gallery layouts (#3616) * update storybook for gallery layouts * Change files * Duplicate change files for beta release * Update packages/storybook/stories/VideoGallery/VideoGallery.stories.tsx Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> * Update packages/storybook/stories/CallComposite/CallCompositeDocs.tsx Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> * add missing layout to storybook controls * fix prettier * videogallery QOL improvements * move layout state to composite * track overflow gallery position in composite * fix build * large gallery fixes --------- Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> * [Gallery Layouts] Update composite options and icons for public preview (#3637) * update CC for beta release * Change files * Duplicate change files for beta release * Fix mobile drawer * Update packages/react-composites CallWithChatComposite browser test snapshots * fix strings * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * tag survey * remove on render avatar from composites * remove on render avatar from composites * remove on render avatar from composites --------- Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Signed-off-by: carocao-msft <96077406+carocao-msft@users.noreply.github.com> Co-authored-by: alkwa-msft <79329532+alkwa-msft@users.noreply.github.com> Co-authored-by: prabhjot-msft <97124699+prabhjot-msft@users.noreply.github.com> Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: JoshuaLai <9044372+JoshuaLai@users.noreply.github.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Co-authored-by: mgamis-msft <79475487+mgamis-msft@users.noreply.github.com> Co-authored-by: edwardlee-msft <edwardlee@microsoft.com> * [Gallery layouts] stableize gallery layouts (#3665) * stable ize gallery layouts * Change files * Duplicate change files for beta release * update api files * Update packages/react-composites CallWithChatComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Merge Prerelease 1.9.0 beta.1 back to Main (#3669) * beta-release-minor version bump * Collect CHANGELOG * Beta 1.9.0-beta.1 Changelog Grooming (#3648) * Create groom me file for groom changelog branch * Update CHANGELOG.beta.md to include public preview features Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> * Update CHANGELOG.beta.md with grooming changes Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> * Update CHANGELOG.beta.md groom bugs Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> * Update CHANGELOG.beta.md more bug gooming Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> * Delete GROOMME.md Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> * Update CHANGELOG.beta.md combine communication stable and beta updates to one entry Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> * Update CHANGELOG.beta.md Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> --------- Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Change files * Duplicate change files for beta release --------- Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Package updates] Common, Calling, Chat updates (#3634) * Update stable common deps * Change files * Duplicate change files for beta release * fix build issues new package * Calling SDK updates * update locks * update beta * add rush common versions * remove casting * remove unused import * add new calling types from SDK * [Chat] Menu button accessibility fix (#3672) * Removed workaround for mouseDown event in jest tests (#3673) * [Chat]Update image padding for ImageGallery (#3651) * Update image padding for ImageGallery * Change files * Duplicate change files for beta release * Update packages/react-composites ChatComposite browser test snapshots * [Dependency updates] calling bindings fix (#3674) * fix component bindings * fix start call in adapter for new id * Change files * Duplicate change files for beta release * remove the console log * update API files --------- Co-authored-by: alkwa-msft <79329532+alkwa-msft@users.noreply.github.com> * [Bug Fix] Fix issue where Call with Chat adapter would create multiple clients (#3676) * remove old logic for open in other tab * fix cwc adapter hook multi create * Change files * Duplicate change files for beta release * remove commented code * remove commented code * [Dependabot] update webpack (#3667) * update webpack * Change files * Duplicate change files for beta release * create lock files * [Bugfix] Fix issue where bottom sheet was not selecting first item (#3678) * Fix focus on each subMenu * Change files * Duplicate change files for beta release * build API files * update stable * rename per nit * [Chat] Error message update for edit message component (#3680) * Update communication calling dependency (#3682) * update calling * Change files * Duplicate change files for beta release * [A11y bugfix] Focus picker when gallery effects are open (#3681) * make picker options buttons * add stack for spacing * remove commented code * add ref to sidepane to camera button [Broken] * remove ref and create hook * remove prop * Change files * Duplicate change files for beta release * build API * Update packages/react-composites CallComposite browser test snapshots * Update packages/react-composites CallComposite browser test snapshots --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * [Storybook] Update setup pages (#3658) * update adapters page wording * update quickstarts for stable setup * Change files * Duplicate change files for beta release * fix lint --------- Co-authored-by: Patrick Latter <73612854+palatter@users.noreply.github.com> * survey * star; * star survey * star survey * star survey * star survey * star survey * star survey * star survey * tag survey * [Chat] Removed bottom paddings for the edit message buttons (#3683) * [bugfix] calling version fix (#3685) * update entry point to latest calling beta * Change files * Duplicate change files for beta release * [Dependency Update] Rush -> 5.109.1 (#3687) * [Dependency Updates] Merge updates from v2 branch (part 1) (#3690) * Update backward-compatible packages * Update api-extractor and api-documentor * Alkwa/remove captions icon fade in (#3688) * adding in fluent prop to not fade in the persona * Change files * adding changelog entry * Merge Prerelease stable minor/1.9.0 into main (#3666) * stable-minor version bump * Collect CHANGELOG * Groom changelog for 1.9.0 stable release (#3664) * Create groom me file for groom changelog branch * Groom changelog for 1.9.0 stable release * Change files * Duplicate change files for beta release --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Bump package versions to beta.0 for next release --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * latest api * Update .babelrc.js Signed-off-by: carocao-msft <96077406+carocao-msft@users.noreply.github.com> * linter; * Latest API for end of call survey (#3693) * survey * star; * star survey * Change files * Duplicate change files for beta release * star survey * star survey * star survey * star survey * star survey * star survey * star survey * star survey * star survey * star survey * star survey * tag survey * tag survey * tag survey * tag survey * tag survey * tag survey * tag survey * tag survey * tag survey * latest api * build file * linter * api * api --------- Signed-off-by: carocao-msft <96077406+carocao-msft@users.noreply.github.com> * composite changes * changes * update pr --------- Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Signed-off-by: carocao-msft <96077406+carocao-msft@users.noreply.github.com> Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> Co-authored-by: vhuseinova-msft <98852890+vhuseinova-msft@users.noreply.github.com> Co-authored-by: mgamis-msft <79475487+mgamis-msft@users.noreply.github.com> Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Co-authored-by: JoshuaLai <9044372+JoshuaLai@users.noreply.github.com> Co-authored-by: prabhjot-msft <97124699+prabhjot-msft@users.noreply.github.com> Co-authored-by: alkwa-msft <79329532+alkwa-msft@users.noreply.github.com> Co-authored-by: edwardlee-msft <edwardlee@microsoft.com> Co-authored-by: Emlyn Bolton <3941071+emlynmac@users.noreply.github.com> Co-authored-by: Patrick Latter <73612854+palatter@users.noreply.github.com> Co-authored-by: Leah Xia <107075081+Leah-Xia-Microsoft@users.noreply.github.com> Co-authored-by: John <109105353+jpeng-ms@users.noreply.github.com> --------- Signed-off-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Signed-off-by: carocao-msft <96077406+carocao-msft@users.noreply.github.com> Signed-off-by: Patrick Latter <73612854+palatter@users.noreply.github.com> Co-authored-by: vhuseinova-msft <98852890+vhuseinova-msft@users.noreply.github.com> Co-authored-by: mgamis-msft <79475487+mgamis-msft@users.noreply.github.com> Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com> Co-authored-by: JoshuaLai <9044372+JoshuaLai@users.noreply.github.com> Co-authored-by: prabhjot-msft <97124699+prabhjot-msft@users.noreply.github.com> Co-authored-by: alkwa-msft <79329532+alkwa-msft@users.noreply.github.com> Co-authored-by: edwardlee-msft <edwardlee@microsoft.com> Co-authored-by: Emlyn Bolton <3941071+emlynmac@users.noreply.github.com> Co-authored-by: Patrick Latter <73612854+palatter@users.noreply.github.com> Co-authored-by: Leah Xia <107075081+Leah-Xia-Microsoft@users.noreply.github.com> Co-authored-by: John <109105353+jpeng-ms@users.noreply.github.com>
1 parent a7e9702 commit 561339a

34 files changed

Lines changed: 1352 additions & 46 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "feature",
4+
"workstream": "End of call survey",
5+
"comment": "Tag survey component",
6+
"packageName": "@azure/communication-react",
7+
"email": "96077406+carocao-msft@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "feature",
4+
"workstream": "End of call survey",
5+
"comment": "Tag survey component",
6+
"packageName": "@azure/communication-react",
7+
"email": "96077406+carocao-msft@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}

packages/calling-component-bindings/review/beta/calling-component-bindings.api.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ import { ScreenShareButton } from '@internal/react-components';
4949
import { StartCallOptions } from '@azure/communication-calling';
5050
import { StatefulCallClient } from '@internal/calling-stateful-client';
5151
import { StatefulDeviceManager } from '@internal/calling-stateful-client';
52-
import { SubmitSurveyOptions } from '@azure/communication-calling';
5352
import { TeamsCall } from '@azure/communication-calling';
5453
import { TeamsCallAgent } from '@azure/communication-calling';
5554
import { VideoDeviceInfo } from '@azure/communication-calling';
@@ -205,7 +204,7 @@ export interface CommonCallingHandlers {
205204
// (undocumented)
206205
onStopScreenShare: () => Promise<void>;
207206
// (undocumented)
208-
onSubmitSurvey(survey: CallSurvey, options?: SubmitSurveyOptions): Promise<CallSurveyResponse | undefined>;
207+
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
209208
// (undocumented)
210209
onToggleCamera: (options?: VideoStreamOptions) => Promise<void>;
211210
// (undocumented)

packages/calling-component-bindings/src/handlers/createCommonHandlers.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
BackgroundReplacementConfig
1414
} from '@azure/communication-calling';
1515
/* @conditional-compile-remove(end-of-call-survey) */
16-
import { CallSurvey, SubmitSurveyOptions, CallSurveyResponse } from '@azure/communication-calling';
16+
import { CallSurvey, CallSurveyResponse } from '@azure/communication-calling';
1717
/* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */
1818
import { DtmfTone, AddPhoneNumberOptions } from '@azure/communication-calling';
1919
/* @conditional-compile-remove(teams-identity-support) */
@@ -99,7 +99,7 @@ export interface CommonCallingHandlers {
9999
/* @conditional-compile-remove(close-captions) */
100100
onSetCaptionLanguage: (language: string) => Promise<void>;
101101
/* @conditional-compile-remove(end-of-call-survey) */
102-
onSubmitSurvey(survey: CallSurvey, options?: SubmitSurveyOptions): Promise<CallSurveyResponse | undefined>;
102+
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
103103
}
104104

105105
/**
@@ -561,10 +561,7 @@ export const createDefaultCommonCallingHandlers = memoizeOne(
561561
await captionsFeature.setCaptionLanguage(language);
562562
};
563563
/* @conditional-compile-remove(end-of-call-survey) */
564-
const onSubmitSurvey = async (
565-
survey: CallSurvey,
566-
options?: SubmitSurveyOptions
567-
): Promise<CallSurveyResponse | undefined> =>
564+
const onSubmitSurvey = async (survey: CallSurvey): Promise<CallSurveyResponse | undefined> =>
568565
await call?.feature(Features.CallSurvey).submitSurvey(survey, options);
569566

570567
return {

packages/communication-react/review/beta/communication-react.api.md

Lines changed: 94 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ import { ScalingMode } from '@azure/communication-calling';
8383
import { SendMessageOptions } from '@azure/communication-chat';
8484
import { StartCallOptions } from '@azure/communication-calling';
8585
import { StartCaptionsOptions } from '@azure/communication-calling';
86-
import { SubmitSurveyOptions } from '@azure/communication-calling';
8786
import { SyntheticEvent } from 'react';
8887
import { TeamsCall } from '@azure/communication-calling';
8988
import { TeamsCallAgent } from '@azure/communication-calling';
@@ -362,7 +361,7 @@ export interface CallAdapterCallOperations {
362361
stopScreenShare(): Promise<void>;
363362
stopVideoBackgroundEffects(): Promise<void>;
364363
// @beta
365-
submitSurvey(survey: CallSurvey, options?: SubmitSurveyOptions): Promise<CallSurveyResponse | undefined>;
364+
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
366365
unmute(): Promise<void>;
367366
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
368367
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
@@ -603,6 +602,15 @@ export type CallCompositeOptions = {
603602
galleryOptions?: {
604603
layout?: VideoGalleryLayout;
605604
};
605+
surveyOptions?: {
606+
hideSurvey?: boolean;
607+
onSurveySubmitted?: (callId: string, surveyId: string,
608+
submittedSurvey: CallSurvey,
609+
improvementSuggestions: {
610+
category: 'audio' | 'video' | 'screenshare';
611+
suggestion: string;
612+
}[]) => Promise<void>;
613+
};
606614
branding?: {
607615
logo?: {
608616
url: string;
@@ -753,11 +761,26 @@ export interface CallCompositeStrings {
753761
selectedPeopleButtonLabel: string;
754762
soundLabel: string;
755763
spokenLanguageStrings?: SpokenLanguageStrings;
764+
starRatingAriaLabel: string;
765+
starSurveyFiveStarText: string;
766+
starSurveyFourStarText: string;
767+
starSurveyHelperText: string;
768+
starSurveyOneStarText: string;
769+
starSurveyThreeStarText: string;
770+
starSurveyTwoStarText: string;
756771
startCallButtonLabel: string;
757772
startCaptionsButtonOffLabel?: string;
758773
startCaptionsButtonOnLabel?: string;
759774
startCaptionsButtonTooltipOffContent?: string;
760775
startCaptionsButtonTooltipOnContent?: string;
776+
surveyCancelButtonAriaLabel: string;
777+
surveyCategories: SurveyCategories;
778+
surveyConfirmButtonLabel: string;
779+
surveyIssues: SurveyIssues;
780+
surveyQuestion: string;
781+
surveyTextboxDefaultText: string;
782+
tagsSurveyHelperText: string;
783+
tagsSurveyQuestion: string;
761784
threeParticipantJoinedNoticeString: string;
762785
threeParticipantLeftNoticeString: string;
763786
transferPageNoticeString: string;
@@ -983,7 +1006,7 @@ export interface CallWithChatAdapterManagement {
9831006
stopScreenShare(): Promise<void>;
9841007
stopVideoBackgroundEffects(): Promise<void>;
9851008
// @beta
986-
submitSurvey(survey: CallSurvey, options?: SubmitSurveyOptions): Promise<CallSurveyResponse | undefined>;
1009+
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
9871010
unmute(): Promise<void>;
9881011
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
9891012
// @beta (undocumented)
@@ -1213,6 +1236,15 @@ export type CallWithChatCompositeOptions = {
12131236
galleryOptions?: {
12141237
layout?: VideoGalleryLayout;
12151238
};
1239+
surveyOptions?: {
1240+
hideSurvey?: boolean;
1241+
onSurveySubmitted?: (callId: string, surveyId: string,
1242+
submittedSurvey: CallSurvey,
1243+
improvementSuggestions: {
1244+
category: 'audio' | 'video' | 'screenshare';
1245+
suggestion: string;
1246+
}[]) => Promise<void>;
1247+
};
12161248
branding?: {
12171249
logo?: {
12181250
url: string;
@@ -1866,7 +1898,7 @@ export interface CommonCallingHandlers {
18661898
// (undocumented)
18671899
onStopScreenShare: () => Promise<void>;
18681900
// (undocumented)
1869-
onSubmitSurvey(survey: CallSurvey, options?: SubmitSurveyOptions): Promise<CallSurveyResponse | undefined>;
1901+
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
18701902
// (undocumented)
18711903
onToggleCamera: (options?: VideoStreamOptions) => Promise<void>;
18721904
// (undocumented)
@@ -3862,6 +3894,64 @@ export interface StreamMediaProps {
38623894
videoStreamElement: HTMLElement | null;
38633895
}
38643896

3897+
// @beta
3898+
export interface SurveyCategories {
3899+
// (undocumented)
3900+
audioRating: string;
3901+
// (undocumented)
3902+
overallRating: string;
3903+
// (undocumented)
3904+
screenshareRating: string;
3905+
// (undocumented)
3906+
videoRating: string;
3907+
}
3908+
3909+
// @beta
3910+
export interface SurveyIssues {
3911+
// (undocumented)
3912+
audioRating: {
3913+
noLocalAudio: string;
3914+
noRemoteAudio: string;
3915+
echo: string;
3916+
audioNoise: string;
3917+
lowVolume: string;
3918+
audioStoppedUnexpectedly: string;
3919+
distortedSpeech: string;
3920+
audioInterruption: string;
3921+
otherIssues: string;
3922+
};
3923+
// (undocumented)
3924+
overallRating: {
3925+
callCannotJoin: string;
3926+
callCannotInvite: string;
3927+
hadToRejoin: string;
3928+
callEndedUnexpectedly: string;
3929+
otherIssues: string;
3930+
};
3931+
// (undocumented)
3932+
screenshareRating: {
3933+
noContentLocal: string;
3934+
noContentRemote: string;
3935+
cannotPresent: string;
3936+
lowQuality: string;
3937+
freezes: string;
3938+
stoppedUnexpectedly: string;
3939+
largeDelay: string;
3940+
otherIssues: string;
3941+
};
3942+
// (undocumented)
3943+
videoRating: {
3944+
noVideoReceived: string;
3945+
noVideoSent: string;
3946+
lowQuality: string;
3947+
freezes: string;
3948+
stoppedUnexpectedly: string;
3949+
darkVideoReceived: string;
3950+
audioVideoOutOfSync: string;
3951+
otherIssues: string;
3952+
};
3953+
}
3954+
38653955
// @public
38663956
export type SystemMessage = ParticipantAddedSystemMessage | ParticipantRemovedSystemMessage | TopicUpdatedSystemMessage | ContentSystemMessage;
38673957

packages/communication-react/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,3 +376,7 @@ export type {
376376
} from '../../react-components/src';
377377
/* @conditional-compile-remove(close-captions) */
378378
export type { SpokenLanguageStrings, CaptionLanguageStrings } from '../../react-components/src';
379+
/* @conditional-compile-remove(end-of-call-survey) */
380+
export type { SurveyIssues } from '../../react-components/src';
381+
/* @conditional-compile-remove(end-of-call-survey) */
382+
export type { SurveyCategories } from '../../react-components/src';

packages/react-components/review/beta/react-components.api.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,6 +1337,9 @@ export interface InlineImageMetadata {
13371337
url: string;
13381338
}
13391339

1340+
// @internal
1341+
export type _IssueCategory = 'overallRating' | 'audioRating' | 'videoRating' | 'screenshareRating';
1342+
13401343
// @public
13411344
export interface JumpToNewMessageButtonProps {
13421345
onClick: () => void;
@@ -2182,6 +2185,84 @@ export interface StreamMediaProps {
21822185
videoStreamElement: HTMLElement | null;
21832186
}
21842187

2188+
// @beta
2189+
export interface SurveyCategories {
2190+
// (undocumented)
2191+
audioRating: string;
2192+
// (undocumented)
2193+
overallRating: string;
2194+
// (undocumented)
2195+
screenshareRating: string;
2196+
// (undocumented)
2197+
videoRating: string;
2198+
}
2199+
2200+
// @beta
2201+
export interface SurveyIssues {
2202+
// (undocumented)
2203+
audioRating: {
2204+
noLocalAudio: string;
2205+
noRemoteAudio: string;
2206+
echo: string;
2207+
audioNoise: string;
2208+
lowVolume: string;
2209+
audioStoppedUnexpectedly: string;
2210+
distortedSpeech: string;
2211+
audioInterruption: string;
2212+
otherIssues: string;
2213+
};
2214+
// (undocumented)
2215+
overallRating: {
2216+
callCannotJoin: string;
2217+
callCannotInvite: string;
2218+
hadToRejoin: string;
2219+
callEndedUnexpectedly: string;
2220+
otherIssues: string;
2221+
};
2222+
// (undocumented)
2223+
screenshareRating: {
2224+
noContentLocal: string;
2225+
noContentRemote: string;
2226+
cannotPresent: string;
2227+
lowQuality: string;
2228+
freezes: string;
2229+
stoppedUnexpectedly: string;
2230+
largeDelay: string;
2231+
otherIssues: string;
2232+
};
2233+
// (undocumented)
2234+
videoRating: {
2235+
noVideoReceived: string;
2236+
noVideoSent: string;
2237+
lowQuality: string;
2238+
freezes: string;
2239+
stoppedUnexpectedly: string;
2240+
darkVideoReceived: string;
2241+
audioVideoOutOfSync: string;
2242+
otherIssues: string;
2243+
};
2244+
}
2245+
2246+
// @public
2247+
export interface SurveyIssuesHeadingStrings {
2248+
// (undocumented)
2249+
audioRating: string;
2250+
// (undocumented)
2251+
overallRating: string;
2252+
// (undocumented)
2253+
screenshareRating: string;
2254+
// (undocumented)
2255+
videoRating: string;
2256+
}
2257+
2258+
// @internal
2259+
export type _SurveyTag = {
2260+
[issueCategory: string]: {
2261+
message: string;
2262+
issue: _AudioIssue | _OverallIssue | _ScreenshareIssue | _VideoIssue;
2263+
}[];
2264+
};
2265+
21852266
// @public
21862267
export type SystemMessage = ParticipantAddedSystemMessage | ParticipantRemovedSystemMessage | TopicUpdatedSystemMessage | ContentSystemMessage;
21872268

@@ -2193,6 +2274,24 @@ export interface SystemMessageCommon extends MessageCommon {
21932274
messageType: 'system';
21942275
}
21952276

2277+
// @internal
2278+
export const _TagsSurvey: (props: _TagsSurveyProps) => JSX.Element;
2279+
2280+
// @internal
2281+
export interface _TagsSurveyProps {
2282+
callIssuesToTag: SurveyIssues;
2283+
categoryHeadings: SurveyIssuesHeadingStrings;
2284+
issues: (_AudioIssue | _OverallIssue | _ScreenshareIssue | _VideoIssue)[];
2285+
onConfirm?: (selectedTags: _CallSurvey) => void;
2286+
strings?: _TagsSurveyStrings;
2287+
}
2288+
2289+
// @internal
2290+
export interface _TagsSurveyStrings {
2291+
tagsSurveyHelperText?: string;
2292+
tagsSurveyQuestion?: string;
2293+
}
2294+
21962295
// @internal (undocumented)
21972296
export type _TileOrientation = 'portrait' | 'landscape';
21982297

packages/react-components/src/components/Survey/StarSurvey/StarSurvey.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Text, useTheme, Stack } from '@fluentui/react';
66
import { Rating, RatingSize } from '@fluentui/react';
77
import { _formatString, _pxToRem } from '@internal/acs-ui-common';
88
import { helperTextStyle, ratingStyles, titleContainerClassName } from './StarSurvey.styles';
9-
import { _CallSurvey, _CallSurveyResponse } from './SurveyTypes';
9+
import { _CallSurvey, _CallSurveyResponse } from '../SurveyTypes';
1010
/**
1111
* Strings of {@link StarSurvey} that can be overridden.
1212
*

packages/react-components/src/components/Survey/StarSurvey/SurveyTypes.tsx renamed to packages/react-components/src/components/Survey/SurveyTypes.tsx

File renamed without changes.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
import { Theme, mergeStyles } from '@fluentui/react';
5+
import { _pxToRem } from '@internal/acs-ui-common';
6+
7+
/**
8+
* @private
9+
*/
10+
export const questionTextStyle = (theme: Theme): string =>
11+
mergeStyles({
12+
fontWeight: 600,
13+
fontSize: _pxToRem(14),
14+
lineHeight: _pxToRem(20),
15+
color: theme.palette.neutralPrimary,
16+
paddingTop: _pxToRem(20)
17+
});
18+
19+
/**
20+
* @private
21+
*/
22+
export const helperTextStyle = (theme: Theme): string =>
23+
mergeStyles({
24+
fontWeight: 400,
25+
fontSize: _pxToRem(12),
26+
lineHeight: _pxToRem(16),
27+
color: theme.palette.neutralPrimary
28+
});
29+
30+
/**
31+
* @private
32+
*/
33+
export const checkboxClassName = mergeStyles({
34+
padding: _pxToRem(8)
35+
});

0 commit comments

Comments
 (0)