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

feat(Icon): add alert, info, share-alt and microsoft-stream icons to Teams theme #1544

Merged
merged 8 commits into from
Jul 1, 2019

Conversation

marst89
Copy link
Contributor

@marst89 marst89 commented Jun 25, 2019

Add alert, info, share-alt and microsoft-stream icons to Teams theme.

@marst89
Copy link
Contributor Author

marst89 commented Jun 25, 2019

icons added
image

image

image

image


@codecov
Copy link

codecov bot commented Jun 25, 2019

Codecov Report

Merging #1544 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1544      +/-   ##
==========================================
+ Coverage   71.55%   71.56%   +0.01%     
==========================================
  Files         838      842       +4     
  Lines        6858     6862       +4     
  Branches     1947     1947              
==========================================
+ Hits         4907     4911       +4     
  Misses       1945     1945              
  Partials        6        6
Impacted Files Coverage Δ
...ents/Icon/svg/ProcessedIcons/icons-msft-stream.tsx 100% <ø> (ø) ⬆️
.../components/Icon/svg/ProcessedIcons/icons-info.tsx 100% <ø> (ø) ⬆️
...nents/Icon/svg/ProcessedIcons/icons-call-alert.tsx 100% <ø> (ø) ⬆️
...rc/themes/teams/components/Icon/svg/icons/info.tsx 100% <100%> (ø)
.../components/Icon/svg/icons/exclamationTriangle.tsx 100% <100%> (ø)
...eams/components/Icon/svg/icons/microsoftStream.tsx 100% <100%> (ø)
...hemes/teams/components/Icon/svg/icons/shareAlt.tsx 100% <100%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca579ed...b224b16. Read the comment docs.


export default {
icon: ({ classes }) => (
<svg role="presentation" focusable="false" className={classes.svg} viewBox="8 8 16 16">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codepretty This icon is always outline, never filled:
image
Is it ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my case is fine. Also, for this particular one I just exported this from the processed ones. I did not create this from scratch.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is the filled path

<path class="filled" d="M23.7,20L17.6,9.7c-0.1-0.2-0.3-0.4-0.5-0.5C16.9,9.1,16.7,9,16.4,9c-0.2,0-0.5,0.1-0.7,0.2c-0.2,0.1-0.4,0.3-0.5,0.5 L9.2,20C9.1,20.2,9,20.4,9,20.7c0,0.4,0.1,0.7,0.4,1c0.3,0.3,0.6,0.4,1,0.4h12.1c0.4,0,0.7-0.1,1-0.4c0.3-0.3,0.4-0.6,0.4-1 C23.9,20.4,23.8,20.2,23.7,20z M16,12.6c0-0.3,0.2-0.5,0.5-0.5s0.5,0.2,0.5,0.5v4.7c0,0.3-0.2,0.5-0.5,0.5S16,17.6,16,17.3V12.6z M16.5,20.8c-0.4,0-0.8-0.3-0.8-0.8c0-0.4,0.3-0.8,0.8-0.8s0.8,0.3,0.8,0.8C17.3,20.4,16.9,20.8,16.5,20.8z"></path>

@@ -3,6 +3,7 @@ import { TeamsSvgIconSpec } from '../types'
import accept from './accept'
import add from './add'
import addParticipant from './addParticipant'
import alert from './alert'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rename to exclamation-triangle

@@ -244,6 +250,7 @@ export default {
search,
send,
settings,
'share-recording': shareRecording,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

share-recording is too specific for this icon, i would suggest naming it more generically like share or share-alt as font awesome does

CHANGELOG.md Outdated Show resolved Hide resolved
@layershifter layershifter changed the title feat(Icon): add shareRecording , alert, info and msft-stream icons to in Teams theme feat(Icon): add alert, info, share-alt and microsoft-stream icons to Teams theme Jul 1, 2019
@layershifter layershifter merged commit ee412c7 into microsoft:master Jul 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants