Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
feat(Icon): export call-missed-line icon in Teams theme (#1203)
Browse files Browse the repository at this point in the history
* exported icon

* exported outline version. modified changelog.md

* modified changelog.md

* fixed circular dependency
  • Loading branch information
96andrei authored and mnajdova committed Apr 11, 2019
1 parent ef5ab15 commit c3c9be7
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Features
- Add `Embed` and `Video` components @stuartlong ([#1108](https://github.com/stardust-ui/react/pull/1108))
- Add file video icon on `Icon` component @luzhon ([#1205](https://github.com/stardust-ui/react/pull/1250))
- Export `call-missed-line` icon in Teams theme @96andrei ([#1203](https://github.com/stardust-ui/react/pull/1203))

<!--------------------------------[ v0.27.0 ]------------------------------- -->
## [v0.27.0](https://github.com/stardust-ui/react/tree/v0.27.0) (2019-04-10)
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
import * as React from 'react'
import cx from 'classnames'
import { TeamsProcessedSvgIconSpec } from '../types'
import { teamsIconClassNames } from '../teamsIconClassNames'

export default {
icon: ({ classes }) => (
<svg role="presentation" focusable="false" className={classes.svg} viewBox="8 8 16 16">
<path d="M20.2 21.13c0 .23-.04.46-.13.66s-.21.4-.37.56c-.13.14-.25.27-.38.4s-.25.25-.38.36-.28.19-.43.26-.34.1-.54.1c-.14 0-.29-.02-.45-.06-.84-.23-1.63-.56-2.38-.96s-1.43-.89-2.07-1.44-1.2-1.16-1.71-1.84c-.51-.67-.93-1.39-1.29-2.15s-.62-1.56-.81-2.39c-.17-.84-.26-1.69-.26-2.55 0-.21 0-.42.02-.63.01-.21.05-.4.11-.58.06-.18.15-.34.27-.49.12-.15.3-.27.52-.38.12-.06.25-.12.38-.18s.25-.12.38-.17c.13-.05.26-.09.39-.13.13-.03.27-.05.41-.05.28 0 .52.04.71.13.19.09.36.21.5.36s.27.32.38.52.22.4.33.62c.14.29.25.59.34.9.09.31.13.63.13.95 0 .27-.03.51-.1.7-.07.2-.15.37-.24.52-.1.15-.2.28-.31.39l-.31.31c-.1.1-.18.19-.24.28-.07.09-.1.18-.1.28 0 .06.04.16.13.32s.2.33.33.53.28.41.44.64c.16.23.32.44.47.65.15.21.29.39.4.55s.2.28.25.35c.05.07.11.12.18.16.07.04.15.06.24.06s.2-.03.32-.09.25-.12.4-.19.31-.13.48-.19.36-.09.56-.09c.23 0 .46.03.68.1s.44.16.65.27.41.25.59.39.36.3.51.46c.13.14.25.27.37.39s.22.25.31.38.16.28.22.43.1.38.1.58zm-1 0c0-.11-.02-.22-.07-.32s-.11-.19-.18-.28-.15-.17-.23-.25-.16-.15-.23-.23c-.1-.11-.22-.22-.36-.33s-.27-.21-.42-.29-.3-.16-.46-.21-.32-.08-.48-.08c-.16 0-.3.03-.44.09s-.28.12-.42.19-.28.13-.43.19-.3.09-.47.09c-.25 0-.48-.06-.7-.18s-.4-.27-.54-.47l-1.93-2.75c-.18-.25-.27-.54-.27-.86 0-.21.03-.39.1-.54.06-.15.15-.28.24-.4.1-.12.2-.23.31-.33.11-.1.22-.21.31-.32a1.376 1.376 0 0 0 .34-.91c0-.24-.04-.48-.11-.71s-.16-.46-.27-.67c-.06-.11-.11-.24-.17-.36-.05-.13-.12-.24-.2-.35-.08-.11-.17-.2-.27-.27a.667.667 0 0 0-.39-.11c-.08 0-.17.02-.27.05-.1.03-.21.07-.31.12-.11.05-.21.1-.31.14-.1.05-.19.09-.26.12-.1.05-.17.12-.22.21a.75.75 0 0 0-.09.31c0 .12-.01.23 0 .35v.31a10.767 10.767 0 0 0 1 4.52c.32.69.71 1.34 1.18 1.96s.98 1.17 1.56 1.67c.58.5 1.21.94 1.9 1.32.68.38 1.41.68 2.18.9.05.02.11.02.16.02.1 0 .22-.05.36-.14s.27-.21.4-.36.24-.29.33-.44.13-.29.13-.4zm4.52-5.25c0 .15-.03.29-.09.42s-.13.24-.23.34-.21.17-.34.23-.27.09-.43.09h-6.27c-.15 0-.29-.03-.43-.09s-.25-.13-.34-.23-.17-.21-.23-.34-.09-.27-.09-.42c0-.18.04-.35.12-.52l3.14-5.82c.09-.18.23-.32.4-.42a1.084 1.084 0 0 1 1.5.41l3.14 5.83c.11.17.15.35.15.52zM20 13.97v-2.5a.47.47 0 0 0-.15-.35.485.485 0 0 0-.7 0c-.1.1-.15.22-.15.35v2.5c0 .14.05.25.15.35a.485.485 0 0 0 .7 0c.1-.1.15-.22.15-.35zm0 1.71v-.42c0-.08-.03-.15-.09-.2s-.12-.09-.2-.09h-.42c-.08 0-.15.03-.2.09s-.09.12-.09.2v.42c0 .08.03.15.09.2s.12.09.2.09h.42c.08 0 .15-.03.2-.09s.09-.12.09-.2z" />
<path
className={cx(teamsIconClassNames.filled, classes.filledPart)}
d="M9.305 7.615c.508 0 .939.085 1.294.254.354.17.633.456.835.86.325.644.563 1.162.712 1.552.202.56.303 1.117.303 1.67 0 .358-.04.67-.122.938-.081.267-.2.517-.356.752a4.732 4.732 0 0 1-.537.654l-.674.713 3.017 4.453.557-.264c.443-.221.82-.37 1.133-.449.182-.046.384-.068.605-.068.567 0 1.13.156 1.69.468.495.274.95.642 1.367 1.104l.41.43c.3.325.508.631.625.918.065.169.098.364.098.586 0 .195-.021.384-.064.566a11.7 11.7 0 0 1-.2.723c-.085.267-.17.491-.254.673a1.585 1.585 0 0 1-.312.46c-.28.299-.684.449-1.211.449a1.71 1.71 0 0 1-.557-.078c-2.057-.573-3.922-1.618-5.596-3.135a15.524 15.524 0 0 1-3.72-5.166c-.437-.99-.77-2.015-1.001-3.076A15.055 15.055 0 0 1 7 10.389c0-.365.008-.663.024-.894.017-.231.057-.45.122-.66a1.87 1.87 0 0 1 .352-.648c.156-.186.371-.344.645-.474.09-.04.283-.065.576-.078l.586-.02zM19.86 14.49a.347.347 0 0 0-.254.108.347.347 0 0 0-.107.254v.527c0 .098.036.182.107.254a.347.347 0 0 0 .254.107h.528a.347.347 0 0 0 .254-.107.347.347 0 0 0 .107-.254v-.527a.347.347 0 0 0-.107-.254.347.347 0 0 0-.254-.108h-.528zM20.125 7c.247 0 .479.063.693.19.215.127.381.298.498.513l3.926 7.285a1.386 1.386 0 0 1 .054 1.162 1.33 1.33 0 0 1-.288.43 1.382 1.382 0 0 1-.435.293 1.33 1.33 0 0 1-.532.107h-7.832a1.33 1.33 0 0 1-.957-.4 1.283 1.283 0 0 1-.4-.947c0-.228.052-.443.156-.645l3.926-7.275A1.34 1.34 0 0 1 20.125 7zm0 2.49a.6.6 0 0 0-.44.186.6.6 0 0 0-.185.44v3.124a.6.6 0 0 0 .186.44.6.6 0 0 0 .439.185.6.6 0 0 0 .44-.185.6.6 0 0 0 .185-.44v-3.125a.6.6 0 0 0-.186-.44.6.6 0 0 0-.439-.185z"
/>
<path
className={cx(teamsIconClassNames.outline, classes.outlinePart)}
d="M20.2 21.13c0 .23-.04.46-.13.66s-.21.4-.37.56c-.13.14-.25.27-.38.4s-.25.25-.38.36-.28.19-.43.26-.34.1-.54.1c-.14 0-.29-.02-.45-.06-.84-.23-1.63-.56-2.38-.96s-1.43-.89-2.07-1.44-1.2-1.16-1.71-1.84c-.51-.67-.93-1.39-1.29-2.15s-.62-1.56-.81-2.39c-.17-.84-.26-1.69-.26-2.55 0-.21 0-.42.02-.63.01-.21.05-.4.11-.58.06-.18.15-.34.27-.49.12-.15.3-.27.52-.38.12-.06.25-.12.38-.18s.25-.12.38-.17c.13-.05.26-.09.39-.13.13-.03.27-.05.41-.05.28 0 .52.04.71.13.19.09.36.21.5.36s.27.32.38.52.22.4.33.62c.14.29.25.59.34.9.09.31.13.63.13.95 0 .27-.03.51-.1.7-.07.2-.15.37-.24.52-.1.15-.2.28-.31.39l-.31.31c-.1.1-.18.19-.24.28-.07.09-.1.18-.1.28 0 .06.04.16.13.32s.2.33.33.53.28.41.44.64c.16.23.32.44.47.65.15.21.29.39.4.55s.2.28.25.35c.05.07.11.12.18.16.07.04.15.06.24.06s.2-.03.32-.09.25-.12.4-.19.31-.13.48-.19.36-.09.56-.09c.23 0 .46.03.68.1s.44.16.65.27.41.25.59.39.36.3.51.46c.13.14.25.27.37.39s.22.25.31.38.16.28.22.43.1.38.1.58zm-1 0c0-.11-.02-.22-.07-.32s-.11-.19-.18-.28-.15-.17-.23-.25-.16-.15-.23-.23c-.1-.11-.22-.22-.36-.33s-.27-.21-.42-.29-.3-.16-.46-.21-.32-.08-.48-.08c-.16 0-.3.03-.44.09s-.28.12-.42.19-.28.13-.43.19-.3.09-.47.09c-.25 0-.48-.06-.7-.18s-.4-.27-.54-.47l-1.93-2.75c-.18-.25-.27-.54-.27-.86 0-.21.03-.39.1-.54.06-.15.15-.28.24-.4.1-.12.2-.23.31-.33.11-.1.22-.21.31-.32a1.376 1.376 0 0 0 .34-.91c0-.24-.04-.48-.11-.71s-.16-.46-.27-.67c-.06-.11-.11-.24-.17-.36-.05-.13-.12-.24-.2-.35-.08-.11-.17-.2-.27-.27a.667.667 0 0 0-.39-.11c-.08 0-.17.02-.27.05-.1.03-.21.07-.31.12-.11.05-.21.1-.31.14-.1.05-.19.09-.26.12-.1.05-.17.12-.22.21a.75.75 0 0 0-.09.31c0 .12-.01.23 0 .35v.31a10.767 10.767 0 0 0 1 4.52c.32.69.71 1.34 1.18 1.96s.98 1.17 1.56 1.67c.58.5 1.21.94 1.9 1.32.68.38 1.41.68 2.18.9.05.02.11.02.16.02.1 0 .22-.05.36-.14s.27-.21.4-.36.24-.29.33-.44.13-.29.13-.4zm4.52-5.25c0 .15-.03.29-.09.42s-.13.24-.23.34-.21.17-.34.23-.27.09-.43.09h-6.27c-.15 0-.29-.03-.43-.09s-.25-.13-.34-.23-.17-.21-.23-.34-.09-.27-.09-.42c0-.18.04-.35.12-.52l3.14-5.82c.09-.18.23-.32.4-.42a1.084 1.084 0 0 1 1.5.41l3.14 5.83c.11.17.15.35.15.52zM20 13.97v-2.5a.47.47 0 0 0-.15-.35.485.485 0 0 0-.7 0c-.1.1-.15.22-.15.35v2.5c0 .14.05.25.15.35a.485.485 0 0 0 .7 0c.1-.1.15-.22.15-.35zm0 1.71v-.42c0-.08-.03-.15-.09-.2s-.12-.09-.2-.09h-.42c-.08 0-.15.03-.2.09s-.09.12-.09.2v.42c0 .08.03.15.09.2s.12.09.2.09h.42c.08 0 .15-.03.2-.09s.09-.12.09-.2z"
/>
</svg>
),
styles: {},
exportedAs: 'call-missed-line',
} as TeamsProcessedSvgIconSpec
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ import processedIcons_callparticipantending from './icons-call-participant-endin
import processedIcons_callparticipantconnectingline from './icons-call-participant-connecting-line'
import processedIcons_callparticipantconnecting from './icons-call-participant-connecting'
import processedIcons_callparticipantconnected from './icons-call-participant-connected'
import processedIcons_callmissedlinefilled from './icons-call-missed-line-filled'
import processedIcons_callmissedline from './icons-call-missed-line'
import processedIcons_callmissed from './icons-call-missed'
import processedIcons_callmicrophoneunmuting from './icons-call-microphone-unmuting'
Expand Down Expand Up @@ -557,7 +556,6 @@ export default {
processedIcons_callparticipantconnectingline,
processedIcons_callparticipantconnecting,
processedIcons_callparticipantconnected,
processedIcons_callmissedlinefilled,
processedIcons_callmissedline,
processedIcons_callmissed,
processedIcons_callmicrophoneunmuting,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ import processedIcons_callparticipantending from './icons-call-participant-endin
import processedIcons_callparticipantconnectingline from './icons-call-participant-connecting-line'
import processedIcons_callparticipantconnecting from './icons-call-participant-connecting'
import processedIcons_callparticipantconnected from './icons-call-participant-connected'
import processedIcons_callmissedlinefilled from './icons-call-missed-line-filled'
import processedIcons_callmissedline from './icons-call-missed-line'
import processedIcons_callmissed from './icons-call-missed'
import processedIcons_callmicrophoneunmuting from './icons-call-microphone-unmuting'
Expand Down Expand Up @@ -558,7 +557,6 @@ export default {
processedIcons_callparticipantconnectingline,
processedIcons_callparticipantconnecting,
processedIcons_callparticipantconnected,
processedIcons_callmissedlinefilled,
processedIcons_callmissedline,
processedIcons_callmissed,
processedIcons_callmicrophoneunmuting,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import * as React from 'react'
import { TeamsProcessedSvgIconSpec } from '../types'
import { teamsIconClassNames } from '../teamsIconClassNames'
import cx from 'classnames'

export default {
icon: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
className={cx(teamsIconClassNames.filled, classes.filledPart)}
d="M9.305 7.615c.508 0 .939.085 1.294.254.354.17.633.456.835.86.325.644.563 1.162.712 1.552.202.56.303 1.117.303 1.67 0 .358-.04.67-.122.938-.081.267-.2.517-.356.752a4.732 4.732 0 0 1-.537.654l-.674.713 3.017 4.453.557-.264c.443-.221.82-.37 1.133-.449.182-.046.384-.068.605-.068.567 0 1.13.156 1.69.468.495.274.95.642 1.367 1.104l.41.43c.3.325.508.631.625.918.065.169.098.364.098.586 0 .195-.021.384-.064.566a11.7 11.7 0 0 1-.2.723c-.085.267-.17.491-.254.673a1.585 1.585 0 0 1-.312.46c-.28.299-.684.449-1.211.449a1.71 1.71 0 0 1-.557-.078c-2.057-.573-3.922-1.618-5.596-3.135a15.524 15.524 0 0 1-3.72-5.166c-.437-.99-.77-2.015-1.001-3.076A15.055 15.055 0 0 1 7 10.389c0-.365.008-.663.024-.894.017-.231.057-.45.122-.66a1.87 1.87 0 0 1 .352-.648c.156-.186.371-.344.645-.474.09-.04.283-.065.576-.078l.586-.02zM19.86 14.49a.347.347 0 0 0-.254.108.347.347 0 0 0-.107.254v.527c0 .098.036.182.107.254a.347.347 0 0 0 .254.107h.528a.347.347 0 0 0 .254-.107.347.347 0 0 0 .107-.254v-.527a.347.347 0 0 0-.107-.254.347.347 0 0 0-.254-.108h-.528zM20.125 7c.247 0 .479.063.693.19.215.127.381.298.498.513l3.926 7.285a1.386 1.386 0 0 1 .054 1.162 1.33 1.33 0 0 1-.288.43 1.382 1.382 0 0 1-.435.293 1.33 1.33 0 0 1-.532.107h-7.832a1.33 1.33 0 0 1-.957-.4 1.283 1.283 0 0 1-.4-.947c0-.228.052-.443.156-.645l3.926-7.275A1.34 1.34 0 0 1 20.125 7zm0 2.49a.6.6 0 0 0-.44.186.6.6 0 0 0-.185.44v3.124a.6.6 0 0 0 .186.44.6.6 0 0 0 .439.185.6.6 0 0 0 .44-.185.6.6 0 0 0 .185-.44v-3.125a.6.6 0 0 0-.186-.44.6.6 0 0 0-.439-.185z"
/>
<path
className={cx(teamsIconClassNames.outline, classes.outlinePart)}
d="M20.2 21.13c0 .23-.04.46-.13.66s-.21.4-.37.56c-.13.14-.25.27-.38.4s-.25.25-.38.36-.28.19-.43.26-.34.1-.54.1c-.14 0-.29-.02-.45-.06-.84-.23-1.63-.56-2.38-.96s-1.43-.89-2.07-1.44-1.2-1.16-1.71-1.84c-.51-.67-.93-1.39-1.29-2.15s-.62-1.56-.81-2.39c-.17-.84-.26-1.69-.26-2.55 0-.21 0-.42.02-.63.01-.21.05-.4.11-.58.06-.18.15-.34.27-.49.12-.15.3-.27.52-.38.12-.06.25-.12.38-.18s.25-.12.38-.17c.13-.05.26-.09.39-.13.13-.03.27-.05.41-.05.28 0 .52.04.71.13.19.09.36.21.5.36s.27.32.38.52.22.4.33.62c.14.29.25.59.34.9.09.31.13.63.13.95 0 .27-.03.51-.1.7-.07.2-.15.37-.24.52-.1.15-.2.28-.31.39l-.31.31c-.1.1-.18.19-.24.28-.07.09-.1.18-.1.28 0 .06.04.16.13.32s.2.33.33.53.28.41.44.64c.16.23.32.44.47.65.15.21.29.39.4.55s.2.28.25.35c.05.07.11.12.18.16.07.04.15.06.24.06s.2-.03.32-.09.25-.12.4-.19.31-.13.48-.19.36-.09.56-.09c.23 0 .46.03.68.1s.44.16.65.27.41.25.59.39.36.3.51.46c.13.14.25.27.37.39s.22.25.31.38.16.28.22.43.1.38.1.58zm-1 0c0-.11-.02-.22-.07-.32s-.11-.19-.18-.28-.15-.17-.23-.25-.16-.15-.23-.23c-.1-.11-.22-.22-.36-.33s-.27-.21-.42-.29-.3-.16-.46-.21-.32-.08-.48-.08c-.16 0-.3.03-.44.09s-.28.12-.42.19-.28.13-.43.19-.3.09-.47.09c-.25 0-.48-.06-.7-.18s-.4-.27-.54-.47l-1.93-2.75c-.18-.25-.27-.54-.27-.86 0-.21.03-.39.1-.54.06-.15.15-.28.24-.4.1-.12.2-.23.31-.33.11-.1.22-.21.31-.32a1.376 1.376 0 0 0 .34-.91c0-.24-.04-.48-.11-.71s-.16-.46-.27-.67c-.06-.11-.11-.24-.17-.36-.05-.13-.12-.24-.2-.35-.08-.11-.17-.2-.27-.27a.667.667 0 0 0-.39-.11c-.08 0-.17.02-.27.05-.1.03-.21.07-.31.12-.11.05-.21.1-.31.14-.1.05-.19.09-.26.12-.1.05-.17.12-.22.21a.75.75 0 0 0-.09.31c0 .12-.01.23 0 .35v.31a10.767 10.767 0 0 0 1 4.52c.32.69.71 1.34 1.18 1.96s.98 1.17 1.56 1.67c.58.5 1.21.94 1.9 1.32.68.38 1.41.68 2.18.9.05.02.11.02.16.02.1 0 .22-.05.36-.14s.27-.21.4-.36.24-.29.33-.44.13-.29.13-.4zm4.52-5.25c0 .15-.03.29-.09.42s-.13.24-.23.34-.21.17-.34.23-.27.09-.43.09h-6.27c-.15 0-.29-.03-.43-.09s-.25-.13-.34-.23-.17-.21-.23-.34-.09-.27-.09-.42c0-.18.04-.35.12-.52l3.14-5.82c.09-.18.23-.32.4-.42a1.084 1.084 0 0 1 1.5.41l3.14 5.83c.11.17.15.35.15.52zM20 13.97v-2.5a.47.47 0 0 0-.15-.35.485.485 0 0 0-.7 0c-.1.1-.15.22-.15.35v2.5c0 .14.05.25.15.35a.485.485 0 0 0 .7 0c.1-.1.15-.22.15-.35zm0 1.71v-.42c0-.08-.03-.15-.09-.2s-.12-.09-.2-.09h-.42c-.08 0-.15.03-.2.09s-.09.12-.09.2v.42c0 .08.03.15.09.2s.12.09.2.09h.42c.08 0 .15-.03.2-.09s.09-.12.09-.2z"
/>
</svg>
),
styles: {},
} as TeamsProcessedSvgIconSpec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import callRecording from './callRecording'
import callVideo from './callVideo'
import callVideoOff from './callVideoOff'
import canvasAddPage from './canvasAddPage'
import callMissedLine from './callMissedLine'
import chat from './chat'
import chevronDown from './chevronDown'
import close from './close'
Expand Down Expand Up @@ -126,6 +127,7 @@ export default {
'call-video-off': callVideoOff,
'call-control-present-new': callControlPresentNew,
'call-control-stop-presenting-new': callControlStopPresentingNew,
'call-missed-line': callMissedLine,
'call-pstn': callPstn,
'call-recording': callRecording,
'canvas-add-page': canvasAddPage,
Expand Down

0 comments on commit c3c9be7

Please sign in to comment.