diff --git a/CHANGELOG.md b/CHANGELOG.md index 7006d2dd84..54048534ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Features - Add `color` prop to `Text` component @Bugaa92 ([#597](https://github.com/stardust-ui/react/pull/597)) - Add `color` prop to `Header` and `HeaderDescription` components @Bugaa92 ([#628](https://github.com/stardust-ui/react/pull/628)) +- Add and export compose icons in Teams theme @joheredi ([#639](https://github.com/stardust-ui/react/pull/639)) ## [v0.15.0](https://github.com/stardust-ui/react/tree/v0.15.0) (2018-12-17) diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-horizontal-rule.tsx b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-horizontal-rule.tsx new file mode 100644 index 0000000000..97214fac20 --- /dev/null +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-horizontal-rule.tsx @@ -0,0 +1,32 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, + exportedAs: 'horizontal-rule', +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-indent.tsx b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-indent.tsx new file mode 100644 index 0000000000..23562d5298 --- /dev/null +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-indent.tsx @@ -0,0 +1,36 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, + exportedAs: 'indent', +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-outdent.tsx b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-outdent.tsx new file mode 100644 index 0000000000..86ba6327da --- /dev/null +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-outdent.tsx @@ -0,0 +1,37 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, + exportedAs: 'outdent', +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-redo.tsx b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-redo.tsx new file mode 100644 index 0000000000..3d6ae7cf57 --- /dev/null +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-redo.tsx @@ -0,0 +1,28 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, + exportedAs: 'redo', +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-remove-format.tsx b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-remove-format.tsx new file mode 100644 index 0000000000..83d0de1007 --- /dev/null +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-remove-format.tsx @@ -0,0 +1,39 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, + exportedAs: 'remove-format', +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-strike.tsx b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-strike.tsx new file mode 100644 index 0000000000..cf979f0698 --- /dev/null +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-strike.tsx @@ -0,0 +1,34 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, + exportedAs: 'strike', +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-undo.tsx b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-undo.tsx new file mode 100644 index 0000000000..ceb53d862b --- /dev/null +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-undo.tsx @@ -0,0 +1,32 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, + exportedAs: 'undo', +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts b/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts index 8c36bb365d..fd5909cba7 100644 --- a/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts @@ -13,6 +13,7 @@ import processedIcons_videooff from './icons-video-off' import processedIcons_video from './icons-video' import processedIcons_urgent from './icons-urgent' import processedIcons_unfollowchannel from './icons-unfollow-channel' +import processedIcons_undo from './icons-undo' import processedIcons_underline from './icons-underline' import processedIcons_txt from './icons-txt' import processedIcons_triangleupsmall from './icons-triangle-up-small' @@ -32,6 +33,7 @@ import processedIcons_tabledelete from './icons-table-delete' import processedIcons_tableadd from './icons-table-add' import processedIcons_table from './icons-table' import processedIcons_tabbadge from './icons-tab-badge' +import processedIcons_strike from './icons-strike' import processedIcons_sticker from './icons-sticker' import processedIcons_statusyo from './icons-status-yo' import processedIcons_starred from './icons-starred' @@ -51,7 +53,9 @@ import processedIcons_roster from './icons-roster' import processedIcons_retry from './icons-retry' import processedIcons_resetzoom from './icons-reset-zoom' import processedIcons_reply from './icons-reply' +import processedIcons_removeFormat from './icons-remove-format' import processedIcons_refresh from './icons-refresh' +import processedIcons_redo from './icons-redo' import processedIcons_redbang from './icons-redbang' import processedIcons_recurrence from './icons-recurrence' import processedIcons_recents from './icons-recents' @@ -75,6 +79,7 @@ import processedIcons_patharrow from './icons-patharrow' import processedIcons_paste from './icons-paste' import processedIcons_participantremove from './icons-participant-remove' import processedIcons_outline from './icons-outline' +import processedIcons_outdent from './icons-outdent' import processedIcons_orgwide from './icons-org-wide' import processedIcons_org from './icons-org' import processedIcons_openoutside from './icons-open-outside' @@ -153,7 +158,9 @@ import processedIcons_inputinvalid from './icons-input-invalid' import processedIcons_info from './icons-info' import processedIcons_inferred from './icons-inferred' import processedIcons_indicator from './icons-indicator' +import processedIcons_indent from './icons-indent' import processedIcons_image from './icons-image' +import processedIcons_horizontalrule from './icons-horizontal-rule' import processedIcons_home from './icons-home' import processedIcons_hive from './icons-hive' import processedIcons_highlight from './icons-highlight' @@ -310,6 +317,7 @@ export default { processedIcons_video, processedIcons_urgent, processedIcons_unfollowchannel, + processedIcons_undo, processedIcons_underline, processedIcons_txt, processedIcons_triangleupsmall, @@ -329,6 +337,7 @@ export default { processedIcons_tableadd, processedIcons_table, processedIcons_tabbadge, + processedIcons_strike, processedIcons_sticker, processedIcons_statusyo, processedIcons_starred, @@ -348,7 +357,9 @@ export default { processedIcons_retry, processedIcons_resetzoom, processedIcons_reply, + processedIcons_removeFormat, processedIcons_refresh, + processedIcons_redo, processedIcons_redbang, processedIcons_recurrence, processedIcons_recents, @@ -372,6 +383,7 @@ export default { processedIcons_paste, processedIcons_participantremove, processedIcons_outline, + processedIcons_outdent, processedIcons_orgwide, processedIcons_org, processedIcons_openoutside, @@ -450,7 +462,9 @@ export default { processedIcons_info, processedIcons_inferred, processedIcons_indicator, + processedIcons_indent, processedIcons_image, + processedIcons_horizontalrule, processedIcons_home, processedIcons_hive, processedIcons_highlight, diff --git a/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts b/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts index 225f463ec6..84d712f3a3 100644 --- a/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts +++ b/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts @@ -14,6 +14,7 @@ import processedIcons_videooff from './icons-video-off' import processedIcons_video from './icons-video' import processedIcons_urgent from './icons-urgent' import processedIcons_unfollowchannel from './icons-unfollow-channel' +import processedIcons_undo from './icons-undo' import processedIcons_underline from './icons-underline' import processedIcons_txt from './icons-txt' import processedIcons_triangleupsmall from './icons-triangle-up-small' @@ -33,6 +34,7 @@ import processedIcons_tabledelete from './icons-table-delete' import processedIcons_tableadd from './icons-table-add' import processedIcons_table from './icons-table' import processedIcons_tabbadge from './icons-tab-badge' +import processedIcons_strike from './icons-strike' import processedIcons_sticker from './icons-sticker' import processedIcons_statusyo from './icons-status-yo' import processedIcons_starred from './icons-starred' @@ -52,7 +54,9 @@ import processedIcons_roster from './icons-roster' import processedIcons_retry from './icons-retry' import processedIcons_resetzoom from './icons-reset-zoom' import processedIcons_reply from './icons-reply' +import processedIcons_removeFormat from './icons-remove-format' import processedIcons_refresh from './icons-refresh' +import processedIcons_redo from './icons-redo' import processedIcons_redbang from './icons-redbang' import processedIcons_recurrence from './icons-recurrence' import processedIcons_recents from './icons-recents' @@ -76,6 +80,7 @@ import processedIcons_patharrow from './icons-patharrow' import processedIcons_paste from './icons-paste' import processedIcons_participantremove from './icons-participant-remove' import processedIcons_outline from './icons-outline' +import processedIcons_outdent from './icons-outdent' import processedIcons_orgwide from './icons-org-wide' import processedIcons_org from './icons-org' import processedIcons_openoutside from './icons-open-outside' @@ -154,7 +159,9 @@ import processedIcons_inputinvalid from './icons-input-invalid' import processedIcons_info from './icons-info' import processedIcons_inferred from './icons-inferred' import processedIcons_indicator from './icons-indicator' +import processedIcons_indent from './icons-indent' import processedIcons_image from './icons-image' +import processedIcons_horizontalrule from './icons-horizontal-rule' import processedIcons_home from './icons-home' import processedIcons_hive from './icons-hive' import processedIcons_highlight from './icons-highlight' @@ -311,6 +318,7 @@ export default { processedIcons_video, processedIcons_urgent, processedIcons_unfollowchannel, + processedIcons_undo, processedIcons_underline, processedIcons_txt, processedIcons_triangleupsmall, @@ -330,6 +338,7 @@ export default { processedIcons_tableadd, processedIcons_table, processedIcons_tabbadge, + processedIcons_strike, processedIcons_sticker, processedIcons_statusyo, processedIcons_starred, @@ -349,7 +358,9 @@ export default { processedIcons_retry, processedIcons_resetzoom, processedIcons_reply, + processedIcons_removeFormat, processedIcons_refresh, + processedIcons_redo, processedIcons_redbang, processedIcons_recurrence, processedIcons_recents, @@ -373,6 +384,7 @@ export default { processedIcons_paste, processedIcons_participantremove, processedIcons_outline, + processedIcons_outdent, processedIcons_orgwide, processedIcons_org, processedIcons_openoutside, @@ -451,7 +463,9 @@ export default { processedIcons_info, processedIcons_inferred, processedIcons_indicator, + processedIcons_indent, processedIcons_image, + processedIcons_horizontalrule, processedIcons_home, processedIcons_hive, processedIcons_highlight, diff --git a/src/themes/teams/components/Icon/svg/icons/horizontalRule.tsx b/src/themes/teams/components/Icon/svg/icons/horizontalRule.tsx new file mode 100644 index 0000000000..48d956d94b --- /dev/null +++ b/src/themes/teams/components/Icon/svg/icons/horizontalRule.tsx @@ -0,0 +1,31 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/icons/indent.tsx b/src/themes/teams/components/Icon/svg/icons/indent.tsx new file mode 100644 index 0000000000..c0a7466b91 --- /dev/null +++ b/src/themes/teams/components/Icon/svg/icons/indent.tsx @@ -0,0 +1,35 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/icons/index.ts b/src/themes/teams/components/Icon/svg/icons/index.ts index f50c2fe168..eefdb42324 100644 --- a/src/themes/teams/components/Icon/svg/icons/index.ts +++ b/src/themes/teams/components/Icon/svg/icons/index.ts @@ -21,6 +21,8 @@ import format from './format' import gallery from './gallery' import giphy from './giphy' import highlight from './highlight' +import horizontalRule from './horizontalRule' +import indent from './indent' import leave from './leave' import like from './like' import markAsUnread from './markAsUnread' @@ -29,15 +31,20 @@ import menu from './menu' import mic from './mic' import micOff from './micOff' import more from './more' +import outdent from './outdent' import participantRemove from './participantRemove' import redbang from './redbang' +import redo from './redo' +import removeFormat from './removeFormat' import reply from './reply' import retry from './retry' import send from './send' +import strike from './strike' import teamCreate from './teamCreate' import teams from './teams' import translation from './translation' import trashCan from './trashCan' +import undo from './undo' export default { add, @@ -60,6 +67,8 @@ export default { gallery, giphy, highlight, + 'horizontal-rule': horizontalRule, + indent, leave, like, 'mark-as-unread': markAsUnread, @@ -68,14 +77,19 @@ export default { mic, 'mic-off': micOff, more, + outdent, 'participant-add': addParticipant, 'participant-remove': participantRemove, redbang, + redo, + 'remove-format': removeFormat, reply, retry, send, + strike, teams, translation, 'trash-can': trashCan, 'team-create': teamCreate, + undo, } as { [iconName: string]: TeamsSvgIconSpec } diff --git a/src/themes/teams/components/Icon/svg/icons/outdent.tsx b/src/themes/teams/components/Icon/svg/icons/outdent.tsx new file mode 100644 index 0000000000..ae0e3ba9f2 --- /dev/null +++ b/src/themes/teams/components/Icon/svg/icons/outdent.tsx @@ -0,0 +1,36 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/icons/redo.tsx b/src/themes/teams/components/Icon/svg/icons/redo.tsx new file mode 100644 index 0000000000..f8a671ed52 --- /dev/null +++ b/src/themes/teams/components/Icon/svg/icons/redo.tsx @@ -0,0 +1,27 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/icons/removeFormat.tsx b/src/themes/teams/components/Icon/svg/icons/removeFormat.tsx new file mode 100644 index 0000000000..a864434b79 --- /dev/null +++ b/src/themes/teams/components/Icon/svg/icons/removeFormat.tsx @@ -0,0 +1,38 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/icons/strike.tsx b/src/themes/teams/components/Icon/svg/icons/strike.tsx new file mode 100644 index 0000000000..6d91660a2f --- /dev/null +++ b/src/themes/teams/components/Icon/svg/icons/strike.tsx @@ -0,0 +1,33 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec diff --git a/src/themes/teams/components/Icon/svg/icons/undo.tsx b/src/themes/teams/components/Icon/svg/icons/undo.tsx new file mode 100644 index 0000000000..cbc0ff574b --- /dev/null +++ b/src/themes/teams/components/Icon/svg/icons/undo.tsx @@ -0,0 +1,31 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec