Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Upgrade `FocusZone` to the latest version from `fabric-ui` @sophieH29 ([#1772](https://github.com/stardust-ui/react/pull/1772))
- Add possibility for a Toolbar to rearrange its items according to space available @miroslavstastny ([#1657](https://github.com/stardust-ui/react/pull/1657))
- Edit `buttonBehavior` Adding aria-disabled when button has loading state @kolaps33 ([#1789](https://github.com/stardust-ui/react/pull/1789))
- Added `audio-off` and `clipboard-copied-to` icon to Teams theme @bcalvery ([#1792](https://github.com/stardust-ui/react/pull/1792))

### Documentation
- Restore docs for `Ref` component @layershifter ([#1777](https://github.com/stardust-ui/react/pull/1777))
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import * as React from 'react'
import cx from 'classnames'
import { TeamsSvgIconSpec } from '../types'
import { teamsIconClassNames } from '../teamsIconClassNames'

export default {
icon: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
className={cx(teamsIconClassNames.outline, classes.outlinePart)}
d="M22.04,10.667l1.812-1.812A.5.5,0,0,0,23.5,8a.517.517,0,0,0-.359.148L8.148,23.145a.5.5,0,0,0,.711.7l4.263-4.264L16.207,21.9a.459.459,0,0,0,.3.1.5.5,0,0,0,.5-.5V15.7L19.112,13.6a4.147,4.147,0,0,1-.031,4.865c-.125.172-.274.32-.414.484a.5.5,0,0,0-.149.351.5.5,0,0,0,.5.5.517.517,0,0,0,.359-.148,4.46,4.46,0,0,0,.438-.492,5.146,5.146,0,0,0,.007-6.271l1.515-1.515A7.285,7.285,0,0,1,21.6,20.3c-.227.3-.476.562-.726.843a.5.5,0,0,0-.149.351.5.5,0,0,0,.5.5.455.455,0,0,0,.351-.148,6.178,6.178,0,0,0,.7-.8,8.246,8.246,0,0,0-.234-10.385ZM16,20.5l-2.163-1.632L16,16.7ZM9.2,19h1.772L12,17.968H11.92c-.882,0-1.757.031-2.639.031a7.2,7.2,0,0,1-.274-2,6.91,6.91,0,0,1,.274-2c.882,0,1.764.031,2.647.031a2.525,2.525,0,0,0,.89-.133L16,11.5V13.97l1-1V10.5a.5.5,0,0,0-.5-.5.459.459,0,0,0-.3.1L12.349,13H9.2c-1.2,0-1.2,2.187-1.2,3S8.016,19,9.2,19Z"
/>
<path
className={cx(teamsIconClassNames.filled, classes.filledPart)}
d="M22.04,10.667l1.812-1.812A.5.5,0,0,0,23.5,8a.517.517,0,0,0-.359.148L8.148,23.145a.5.5,0,0,0,.711.7l4.263-4.264L16.207,21.9a.459.459,0,0,0,.3.1.5.5,0,0,0,.5-.5V15.7L19.112,13.6a4.147,4.147,0,0,1-.031,4.865c-.125.172-.274.32-.414.484a.5.5,0,0,0-.149.351.5.5,0,0,0,.5.5.517.517,0,0,0,.359-.148,4.46,4.46,0,0,0,.438-.492,5.146,5.146,0,0,0,.007-6.271l1.515-1.515A7.285,7.285,0,0,1,21.6,20.3c-.227.3-.476.562-.726.843a.5.5,0,0,0-.149.351.5.5,0,0,0,.5.5.455.455,0,0,0,.351-.148,6.178,6.178,0,0,0,.7-.8,8.246,8.246,0,0,0-.234-10.385ZM9.2,19h1.772L17,12.97V10.5a.5.5,0,0,0-.5-.5.459.459,0,0,0-.3.1L12.349,13H9.2c-1.2,0-1.2,2.187-1.2,3S8.016,19,9.2,19Z"
/>
</svg>
),
styles: {},
} as TeamsSvgIconSpec
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import * as React from 'react'
import cx from 'classnames'
import { TeamsSvgIconSpec } from '../types'
import { teamsIconClassNames } from '../teamsIconClassNames'

export default {
icon: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}>
<path
className={cx(teamsIconClassNames.outline, classes.outlinePart)}
d="M15,8c0.2705,0,0.5273,0.0537,0.7695,0.1602c0.2422,0.1069,0.4541,0.2515,0.6367,0.4336
c0.1816,0.1826,0.3262,0.3945,0.4336,0.6367C16.9463,9.4727,17,9.7295,17,10h2.5c0.2031,0,0.3945,0.0405,0.5742,0.1211
c0.1797,0.0811,0.3379,0.1904,0.4766,0.3281c0.1377,0.1382,0.2471,0.2969,0.3281,0.4766C20.959,11.1055,21,11.2969,21,11.5V14
h0.2734c0.1348,0,0.2695,0.0068,0.4023,0.0195c0.1328,0.0132,0.2637,0.0459,0.3945,0.0977c0.1348,0.0522,0.2598,0.1265,0.375,0.2227
c0.1143,0.0967,0.2129,0.2061,0.2969,0.3281c0.083,0.1226,0.1465,0.2554,0.1914,0.3984C22.9775,15.21,23,15.3545,23,15.5v7
c0,0.2031-0.041,0.3945-0.1211,0.5742c-0.0811,0.1797-0.1904,0.3389-0.3281,0.4766c-0.1387,0.1387-0.2969,0.248-0.4766,0.3281
C21.8945,23.96,21.7031,24,21.5,24h-5c-0.1562,0-0.3076-0.0244-0.4531-0.0742c-0.146-0.0488-0.2812-0.1182-0.4062-0.207
c-0.125-0.0879-0.2344-0.1934-0.3281-0.3164c-0.0938-0.1221-0.167-0.2559-0.2188-0.4023H10.5c-0.1982,0-0.3882-0.04-0.5703-0.1211
c-0.1826-0.0801-0.3428-0.1895-0.4805-0.3281c-0.1382-0.1377-0.2476-0.2979-0.3281-0.4805C9.04,21.8887,9,21.6982,9,21.5v-10
c0-0.2031,0.04-0.3945,0.1211-0.5742c0.0806-0.1797,0.1899-0.3384,0.3281-0.4766c0.1377-0.1377,0.2969-0.2471,0.4766-0.3281
C10.1055,10.0405,10.2969,10,10.5,10H13c0-0.2705,0.0532-0.5273,0.1602-0.7695c0.1064-0.2422,0.251-0.4541,0.4336-0.6367
c0.1821-0.1821,0.3945-0.3267,0.6367-0.4336C14.4727,8.0537,14.729,8,15,8z M10.7344,10.9922c-0.0889,0-0.1772,0.0054-0.2656,0.0156
c-0.0889,0.0107-0.168,0.0342-0.2383,0.0703c-0.0703,0.0366-0.1265,0.0889-0.168,0.1562C10.0205,11.3022,10,11.3906,10,11.5v10
c0,0.1357,0.0493,0.2529,0.1484,0.3516C10.2471,21.9512,10.3643,22,10.5,22H15v-6.5c0-0.2031,0.04-0.3945,0.1211-0.5742
c0.0806-0.1797,0.1899-0.3384,0.3281-0.4766c0.1377-0.1377,0.2969-0.2471,0.4766-0.3281C16.1055,14.0405,16.2969,14,16.5,14H20v-2.5
c0-0.1143-0.0225-0.2056-0.0664-0.2734c-0.0449-0.0674-0.1035-0.1182-0.1758-0.1523c-0.0732-0.0337-0.1553-0.0547-0.2461-0.0625
C19.4199,11.0039,19.3301,11,19.2422,11h-0.2578c0,0.1201,0.001,0.2383,0.0039,0.3555c0.002,0.1172,0.0039,0.2358,0.0039,0.3555
c0,0.1719-0.0146,0.335-0.043,0.4883c-0.0293,0.1538-0.0801,0.2891-0.1523,0.4062c-0.0732,0.1172-0.1748,0.21-0.3047,0.2773
c-0.1309,0.0679-0.2949,0.1016-0.4922,0.1016h-6c-0.2764,0-0.4834-0.0674-0.6211-0.2031c-0.1382-0.1353-0.2344-0.3018-0.2891-0.5
c-0.0547-0.1978-0.0811-0.4126-0.0781-0.6445c0.0024-0.2314,0.0039-0.4438,0.0039-0.6367c-0.0469,0-0.0938-0.001-0.1406-0.0039
C10.8281,10.9937,10.7812,10.9922,10.7344,10.9922z M11.9844,11v1L18,12.0156L18.0156,12v-1H11.9844z M15,9
c-0.1304,0-0.2568,0.0273-0.3789,0.082c-0.1226,0.0547-0.2295,0.1279-0.3203,0.2188c-0.0913,0.0913-0.1641,0.1968-0.2188,0.3164
C14.0273,9.7373,14,9.8647,14,10h2c0-0.1353-0.0273-0.2627-0.082-0.3828c-0.0547-0.1196-0.1279-0.2251-0.2188-0.3164
C15.6079,9.21,15.5024,9.1367,15.3828,9.082C15.2627,9.0273,15.1353,9,15,9z M16.5,15c-0.1357,0-0.2529,0.0498-0.3516,0.1484
C16.0488,15.2476,16,15.3647,16,15.5v7c0,0.1357,0.0488,0.2529,0.1484,0.3516C16.2471,22.9512,16.3643,23,16.5,23h5
c0.1348,0,0.252-0.0488,0.3516-0.1484C21.9502,22.7529,22,22.6357,22,22.5v-7c0-0.1353-0.0498-0.2524-0.1484-0.3516
C21.752,15.0498,21.6348,15,21.5,15H16.5z"
/>
<path
className={cx(teamsIconClassNames.filled, classes.filledPart)}
d="M15,8c0.2705,0,0.5273,0.0537,0.7695,0.1602c0.2422,0.1069,0.4541,0.2515,0.6367,0.4336
c0.1816,0.1826,0.3262,0.3945,0.4336,0.6367C16.9463,9.4727,17,9.7295,17,10h2.5c0.2031,0,0.3955,0.0405,0.5781,0.1211
c0.1816,0.0811,0.3408,0.189,0.4766,0.3242c0.1348,0.1357,0.2432,0.2944,0.3242,0.4766C20.959,11.1045,21,11.2969,21,11.5V14
c0.1924,0,0.373,0.0015,0.543,0.0039c0.1689,0.0029,0.3447,0.0405,0.5273,0.1133c0.2754,0.1201,0.5,0.3047,0.6719,0.5547
S23,15.1982,23,15.5v7c0,0.2031-0.041,0.3965-0.1211,0.5781c-0.0811,0.1826-0.1895,0.3418-0.3242,0.4766
c-0.1357,0.1357-0.2949,0.2441-0.4766,0.3242C21.8955,23.96,21.7031,24,21.5,24h-5c-0.1514,0-0.2998-0.0244-0.4453-0.0742
c-0.146-0.0488-0.2812-0.1182-0.4062-0.207c-0.125-0.0879-0.2358-0.1934-0.332-0.3164c-0.0967-0.1221-0.1709-0.2559-0.2227-0.4023
H10.5c-0.2031,0-0.396-0.04-0.5781-0.1211c-0.1826-0.0801-0.3413-0.1885-0.4766-0.3242c-0.1357-0.1348-0.2437-0.2939-0.3242-0.4766
C9.04,21.8965,9,21.7031,9,21.5v-10c0-0.2031,0.04-0.3955,0.1211-0.5781c0.0806-0.1821,0.1885-0.3408,0.3242-0.4766
c0.1353-0.1353,0.2939-0.2432,0.4766-0.3242C10.104,10.0405,10.2969,10,10.5,10H13c0-0.2705,0.0532-0.5273,0.1602-0.7695
c0.1064-0.2422,0.251-0.4541,0.4336-0.6367c0.1821-0.1821,0.3945-0.3267,0.6367-0.4336C14.4727,8.0537,14.729,8,15,8z M18.9844,11
c0,0.1201,0.001,0.2383,0.0039,0.3555c0.002,0.1172,0.0039,0.2358,0.0039,0.3555c0,0.1719-0.0146,0.335-0.043,0.4883
c-0.0293,0.1538-0.0811,0.2891-0.1562,0.4062c-0.0762,0.1172-0.1777,0.21-0.3047,0.2773c-0.1279,0.0679-0.291,0.1016-0.4883,0.1016
h-6c-0.1875,0-0.3428-0.0312-0.4648-0.0938c-0.1226-0.0625-0.2202-0.1455-0.293-0.25c-0.0732-0.104-0.125-0.2227-0.1562-0.3555
s-0.0522-0.2734-0.0625-0.4219c-0.0107-0.1484-0.0146-0.2969-0.0117-0.4453c0.0024-0.1484,0.0039-0.2876,0.0039-0.418
c-0.0469,0-0.0938-0.001-0.1406-0.0039c-0.0469-0.0024-0.0938-0.0039-0.1406-0.0039c-0.0938,0-0.1836,0.0054-0.2695,0.0156
c-0.0859,0.0107-0.1641,0.0327-0.2344,0.0664c-0.0703,0.0342-0.1265,0.085-0.168,0.1523C10.0205,11.2944,10,11.3857,10,11.5v10
c0,0.1357,0.0493,0.2529,0.1484,0.3516C10.2471,21.9512,10.3643,22,10.5,22H15v-6.5c0-0.2031,0.04-0.3955,0.1211-0.5781
c0.0806-0.1821,0.1885-0.3408,0.3242-0.4766c0.1353-0.1353,0.2939-0.2432,0.4766-0.3242C16.1035,14.0405,16.2969,14,16.5,14H20v-2.5
c0-0.1143-0.0215-0.2056-0.0625-0.2734c-0.042-0.0674-0.0967-0.1182-0.1641-0.1523c-0.0684-0.0337-0.1465-0.0557-0.2344-0.0664
c-0.0889-0.0103-0.1797-0.0156-0.2734-0.0156c-0.0469,0-0.0938,0.0015-0.1406,0.0039C19.0781,10.999,19.0312,11,18.9844,11z
M11.9844,11v1L18,12.0156L18.0156,12v-1H11.9844z M15,9c-0.1304,0-0.2568,0.0273-0.3789,0.082
c-0.1226,0.0547-0.2295,0.1279-0.3203,0.2188c-0.0913,0.0913-0.1641,0.1968-0.2188,0.3164C14.0273,9.7373,14,9.8647,14,10h2
c0-0.1353-0.0273-0.2627-0.082-0.3828c-0.0547-0.1196-0.1279-0.2251-0.2188-0.3164C15.6079,9.21,15.5024,9.1367,15.3828,9.082
C15.2627,9.0273,15.1353,9,15,9z"
/>
</svg>
),
styles: {},
} as TeamsSvgIconSpec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import arrowUp from './arrowUp'
import arrowDown from './arrowDown'
import arrowLeft from './arrowLeft'
import arrowRight from './arrowRight'
import audioOff from './audioOff'
import ban from './ban'
import bold from './bold'
import bookmark from './bookmark'
Expand All @@ -32,6 +33,7 @@ import callMissedLine from './callMissedLine'
import screencast from './screencast'
import chat from './chat'
import chevronDown from './chevronDown'
import clipboardCopiedTo from './clipboardCopiedTo'
import close from './close'
import codeSnippet from './codeSnippet'
import filesAftereffects from './filesAftereffects'
Expand Down Expand Up @@ -157,6 +159,7 @@ export default {
'arrow-down': arrowDown,
'arrow-left': arrowLeft,
'arrow-right': arrowRight,
'audio-off': audioOff,
ban,
bold,
bookmark,
Expand All @@ -183,6 +186,7 @@ export default {
'canvas-add-page': canvasAddPage,
chat,
'chevron-down': chevronDown,
'clipboard-copied-to': clipboardCopiedTo,
close,
'code-snippet': codeSnippet,
'files-aftereffects': filesAftereffects,
Expand Down