From 874153a37a661c0e1ae4f7e647055040974a4602 Mon Sep 17 00:00:00 2001 From: "REDMOND\\jajaya" Date: Tue, 11 Jun 2019 15:26:09 -0700 Subject: [PATCH 1/4] #1485 Icons for screen sharing control in the calling screen --- .../icons-call-control-release.tsx | 27 +++++++++++++++++++ .../icons-call-control-request.tsx | 24 +++++++++++++++++ .../Icon/svg/ProcessedIcons/index-new.ts | 4 +++ .../Icon/svg/ProcessedIcons/index.ts | 4 +++ .../Icon/svg/icons/callControlRelease.tsx | 27 +++++++++++++++++++ .../Icon/svg/icons/callControlRequest.tsx | 24 +++++++++++++++++ .../teams/components/Icon/svg/icons/index.ts | 4 +++ 7 files changed, 114 insertions(+) create mode 100644 packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-call-control-release.tsx create mode 100644 packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-call-control-request.tsx create mode 100644 packages/react/src/themes/teams/components/Icon/svg/icons/callControlRelease.tsx create mode 100644 packages/react/src/themes/teams/components/Icon/svg/icons/callControlRequest.tsx diff --git a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-call-control-release.tsx b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-call-control-release.tsx new file mode 100644 index 0000000000..dcf36c52bf --- /dev/null +++ b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-call-control-release.tsx @@ -0,0 +1,27 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + ), + styles: {}, + exportedAs: 'call-control-release', +} as TeamsProcessedSvgIconSpec diff --git a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-call-control-request.tsx b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-call-control-request.tsx new file mode 100644 index 0000000000..eaef449a98 --- /dev/null +++ b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-call-control-request.tsx @@ -0,0 +1,24 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + ), + styles: {}, + exportedAs: 'call-control-request', +} as TeamsProcessedSvgIconSpec diff --git a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts index 2fa218551e..6b7d12962c 100644 --- a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts +++ b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts @@ -263,6 +263,8 @@ import processedIcons_callincomingvideo from './icons-call-incoming-video' import processedIcons_callhold from './icons-call-hold' import processedIcons_callend from './icons-call-end' import processedIcons_calldialpad from './icons-call-dialpad' +import processedIcons_callcontrolrelease from './icons-call-control-release' +import processedIcons_callcontrolrequest from './icons-call-control-request' import processedIcons_callcontrolstoppresentingnew from './icons-call-control-stop-presenting-new' import processedIcons_callcontrolpresentnew from './icons-call-control-present-new' import processedIcons_callblocked from './icons-call-blocked' @@ -565,6 +567,8 @@ export default { processedIcons_callhold, processedIcons_callend, processedIcons_calldialpad, + processedIcons_callcontrolrelease, + processedIcons_callcontrolrequest, processedIcons_callcontrolstoppresentingnew, processedIcons_callcontrolpresentnew, processedIcons_callblocked, diff --git a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts index d0f74f6133..da681439f1 100644 --- a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts +++ b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts @@ -267,6 +267,8 @@ import processedIcons_callincomingvideo from './icons-call-incoming-video' import processedIcons_callhold from './icons-call-hold' import processedIcons_callend from './icons-call-end' import processedIcons_calldialpad from './icons-call-dialpad' +import processedIcons_callcontrolrelease from './icons-call-control-release' +import processedIcons_callcontrolrequest from './icons-call-control-request' import processedIcons_callcontrolstoppresentingnew from './icons-call-control-stop-presenting-new' import processedIcons_callcontrolpresentnew from './icons-call-control-present-new' import processedIcons_callblocked from './icons-call-blocked' @@ -572,6 +574,8 @@ export default { processedIcons_callhold, processedIcons_callend, processedIcons_calldialpad, + processedIcons_callcontrolrelease, + processedIcons_callcontrolrequest, processedIcons_callcontrolstoppresentingnew, processedIcons_callcontrolpresentnew, processedIcons_callblocked, diff --git a/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRelease.tsx b/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRelease.tsx new file mode 100644 index 0000000000..dcf36c52bf --- /dev/null +++ b/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRelease.tsx @@ -0,0 +1,27 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + ), + styles: {}, + exportedAs: 'call-control-release', +} as TeamsProcessedSvgIconSpec diff --git a/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRequest.tsx b/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRequest.tsx new file mode 100644 index 0000000000..1e9d2ad4e8 --- /dev/null +++ b/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRequest.tsx @@ -0,0 +1,24 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + ), + styles: {}, + exportedAs: 'call-control-request', +} as TeamsProcessedSvgIconSpec diff --git a/packages/react/src/themes/teams/components/Icon/svg/icons/index.ts b/packages/react/src/themes/teams/components/Icon/svg/icons/index.ts index edf8d449fb..fa1ffb0563 100644 --- a/packages/react/src/themes/teams/components/Icon/svg/icons/index.ts +++ b/packages/react/src/themes/teams/components/Icon/svg/icons/index.ts @@ -12,6 +12,8 @@ import bullets from './bullets' import calendar from './calendar' import call from './call' import callParking from './callParking' +import callControlRelease from './callControlRelease' +import callControlRequest from './callControlRequest' import callControlPresentNew from './callControlPresentNew' import callControlStopPresentingNew from './callControlStopPresentingNew' import callControlShare from './callControlShare' @@ -150,6 +152,8 @@ export default { 'call-parking': callParking, 'call-video': callVideo, 'call-video-off': callVideoOff, + 'call-control-release': callControlRelease, + 'call-control-request': callControlRequest, 'call-control-close-tray': callControlCloseTray, 'call-control-present-new': callControlPresentNew, 'call-control-stop-presenting-new': callControlStopPresentingNew, From ac4d5b3c36657fc9745d4a68a4f4d7bf6269935e Mon Sep 17 00:00:00 2001 From: "REDMOND\\jajaya" Date: Wed, 12 Jun 2019 08:38:57 -0700 Subject: [PATCH 2/4] Fix the view box --- .../teams/components/Icon/svg/icons/callControlRequest.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRequest.tsx b/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRequest.tsx index 1e9d2ad4e8..eaef449a98 100644 --- a/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRequest.tsx +++ b/packages/react/src/themes/teams/components/Icon/svg/icons/callControlRequest.tsx @@ -3,7 +3,7 @@ import { TeamsProcessedSvgIconSpec } from '../types' export default { icon: ({ classes }) => ( - + Date: Wed, 12 Jun 2019 10:17:55 -0700 Subject: [PATCH 3/4] Add a changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e87914361a..d741d46b9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Improve accessibility for `Checkbox` @jurokapsiar ([1479](https://github.com/stardust-ui/react/pull/1479)) - Add `unstable_pinned` prop to `Popup` and `Dropdown` components @Bugaa92 ([#1471](https://github.com/stardust-ui/react/pull/1471)) - Add `Tooltip` component @mnajdova ([#1455](https://github.com/stardust-ui/react/pull/1455)) +- Add 'callControlRelease' and 'callControlRequest' icon to Teams theme @jajaya ([#1490](https://github.com/stardust-ui/react/pull/1490)) ### Fixes - Fix click handling on focus for `action` slot in `Attachment` component @Bugaa92 ([#1444](https://github.com/stardust-ui/react/pull/1444)) From 5c300795009ad4058ab03ba1f597d363962a5625 Mon Sep 17 00:00:00 2001 From: "REDMOND\\jajaya" Date: Wed, 12 Jun 2019 10:25:19 -0700 Subject: [PATCH 4/4] Fix the changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d741d46b9d..2e772854c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Improve accessibility for `Checkbox` @jurokapsiar ([1479](https://github.com/stardust-ui/react/pull/1479)) - Add `unstable_pinned` prop to `Popup` and `Dropdown` components @Bugaa92 ([#1471](https://github.com/stardust-ui/react/pull/1471)) - Add `Tooltip` component @mnajdova ([#1455](https://github.com/stardust-ui/react/pull/1455)) -- Add 'callControlRelease' and 'callControlRequest' icon to Teams theme @jajaya ([#1490](https://github.com/stardust-ui/react/pull/1490)) +- Add 'call-control-release' and 'call-control-request' icon to Teams theme @jay-howe ([#1490](https://github.com/stardust-ui/react/pull/1490)) ### Fixes - Fix click handling on focus for `action` slot in `Attachment` component @Bugaa92 ([#1444](https://github.com/stardust-ui/react/pull/1444))