From 19609f0b7ae827e9d7145b07bc769830bd34796c Mon Sep 17 00:00:00 2001 From: Alina Medintu Date: Tue, 9 Apr 2019 16:19:24 +0200 Subject: [PATCH 1/3] exporting eye and eyeSlash icons for Teams theme --- .../components/Icon/svg/ProcessedIcons/icons-eye-slash.tsx | 1 + .../teams/components/Icon/svg/ProcessedIcons/icons-eye.tsx | 1 + .../react/src/themes/teams/components/Icon/svg/icons/index.ts | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-eye-slash.tsx b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-eye-slash.tsx index e9113c62c8..8fa94bff10 100644 --- a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-eye-slash.tsx +++ b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-eye-slash.tsx @@ -8,4 +8,5 @@ export default { ), styles: {}, + exportedAs: 'eye-slash', } as TeamsProcessedSvgIconSpec diff --git a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-eye.tsx b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-eye.tsx index aeac8adc06..288c8f95d7 100644 --- a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-eye.tsx +++ b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-eye.tsx @@ -8,4 +8,5 @@ export default { ), styles: {}, + exportedAs: 'eye', } 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 ea52c1143f..c0d26c5709 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 @@ -44,6 +44,8 @@ import email from './email' import emoji from './emoji' import error from './error' import exclamationCircle from './exclamationCircle' +import eye from './eye' +import eyeSlash from './eyeSlash' import filesExcel from './filesExcel' import filesExcelBrand from './filesExcelBrand' import filesOneNote from './filesOneNote' @@ -151,6 +153,8 @@ export default { emoji, error, 'exclamation-circle': exclamationCircle, + eye, + 'eye-slash': eyeSlash, format, 'font-color': fontColor, 'font-size': fontSize, From 99c39f142377dd35565303657c11a719338c3f4c Mon Sep 17 00:00:00 2001 From: Alina Medintu Date: Tue, 9 Apr 2019 16:27:24 +0200 Subject: [PATCH 2/3] updating changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ccd2e43cab..88fe5e3125 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 - Add `Reaction` variables to Teams dark and HOC themes @mnajdova ([#1152](https://github.com/stardust-ui/react/pull/1152)) - Move `Grid`'s and `Image`'s styles and variables from Teams to base theme @mnajdova ([#1182](https://github.com/stardust-ui/react/pull/1182)) - Export `play` and `pause` icons in Teams theme @layershifter ([#1189](https://github.com/stardust-ui/react/pull/1189)) +- Export `eye` and `eye-slash` icons in Teams theme @alinais ([#1194](https://github.com/stardust-ui/react/pull/1194)) ### Fixes - Fix the reset of the `highlightedIndex` when search query changes @silviuavram ([#1168](https://github.com/stardust-ui/react/pull/1168)) From ac75f21e855440b5f12ecba64757c9d7452c342b Mon Sep 17 00:00:00 2001 From: Alina Medintu Date: Tue, 9 Apr 2019 16:52:32 +0200 Subject: [PATCH 3/3] adding missing files :D --- .../themes/teams/components/Icon/svg/icons/eye.tsx | 11 +++++++++++ .../teams/components/Icon/svg/icons/eyeSlash.tsx | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 packages/react/src/themes/teams/components/Icon/svg/icons/eye.tsx create mode 100644 packages/react/src/themes/teams/components/Icon/svg/icons/eyeSlash.tsx diff --git a/packages/react/src/themes/teams/components/Icon/svg/icons/eye.tsx b/packages/react/src/themes/teams/components/Icon/svg/icons/eye.tsx new file mode 100644 index 0000000000..aeac8adc06 --- /dev/null +++ b/packages/react/src/themes/teams/components/Icon/svg/icons/eye.tsx @@ -0,0 +1,11 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec diff --git a/packages/react/src/themes/teams/components/Icon/svg/icons/eyeSlash.tsx b/packages/react/src/themes/teams/components/Icon/svg/icons/eyeSlash.tsx new file mode 100644 index 0000000000..e9113c62c8 --- /dev/null +++ b/packages/react/src/themes/teams/components/Icon/svg/icons/eyeSlash.tsx @@ -0,0 +1,11 @@ +import * as React from 'react' +import { TeamsProcessedSvgIconSpec } from '../types' + +export default { + icon: ({ classes }) => ( + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec