From dd996f0bb40b43881f81305270b1e35defc52f87 Mon Sep 17 00:00:00 2001 From: PRIYANKAR GUPTA Date: Sun, 10 Feb 2019 21:43:10 +0530 Subject: [PATCH 1/2] Adding missing lock icon and exporting it --- .../svg/ProcessedIcons/icons-lock-new.tsx | 65 +++++++++++++++++++ .../Icon/svg/ProcessedIcons/index-new.ts | 2 + .../Icon/svg/ProcessedIcons/index.ts | 2 + .../teams/components/Icon/svg/icons/index.ts | 2 + .../components/Icon/svg/icons/lockNew.tsx | 64 ++++++++++++++++++ 5 files changed, 135 insertions(+) create mode 100644 packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-lock-new.tsx create mode 100644 packages/react/src/themes/teams/components/Icon/svg/icons/lockNew.tsx diff --git a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-lock-new.tsx b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-lock-new.tsx new file mode 100644 index 0000000000..63ff194bab --- /dev/null +++ b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/icons-lock-new.tsx @@ -0,0 +1,65 @@ +import * as React from 'react' +import cx from 'classnames' +import { TeamsProcessedSvgIconSpec } from '../types' +import { teamsIconClassNames } from '../teamsIconClassNames' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, + exportedAs: 'lock-new', +} as TeamsProcessedSvgIconSpec diff --git a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts index 4bdc1490f4..81fa9c4cd2 100644 --- a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts +++ b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index-new.ts @@ -138,6 +138,7 @@ import processedIcons_manageteams from './icons-manage-teams' import processedIcons_lock18 from './icons-lock-18' import processedIcons_lock14 from './icons-lock-14' import processedIcons_lock from './icons-lock' +import processedIcons_locknew from './icons-lock-new' import processedIcons_locationoff from './icons-location-off' import processedIcons_location from './icons-location' import processedIcons_link from './icons-link' @@ -441,6 +442,7 @@ export default { processedIcons_lock18, processedIcons_lock14, processedIcons_lock, + processedIcons_locknew, processedIcons_locationoff, processedIcons_location, processedIcons_link, diff --git a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts index 7520f0a28b..54c4b61610 100644 --- a/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts +++ b/packages/react/src/themes/teams/components/Icon/svg/ProcessedIcons/index.ts @@ -139,6 +139,7 @@ import processedIcons_manageteams from './icons-manage-teams' import processedIcons_lock18 from './icons-lock-18' import processedIcons_lock14 from './icons-lock-14' import processedIcons_lock from './icons-lock' +import processedIcons_locknew from './icons-lock-new' import processedIcons_locationoff from './icons-location-off' import processedIcons_location from './icons-location' import processedIcons_link from './icons-link' @@ -442,6 +443,7 @@ export default { processedIcons_lock18, processedIcons_lock14, processedIcons_lock, + processedIcons_locknew, processedIcons_locationoff, processedIcons_location, processedIcons_link, 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 97c2d7e04c..1d9ae4dc3b 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 @@ -31,6 +31,7 @@ import italic from './italic' import leave from './leave' import like from './like' import link from './link' +import lockNew from './lockNew' import markAsUnread from './markAsUnread' import meetingNew from './meetingNew' import mention from './mention' @@ -96,6 +97,7 @@ export default { leave, like, link, + 'lock-new': lockNew, 'mark-as-unread': markAsUnread, 'meeting-new': meetingNew, mention, diff --git a/packages/react/src/themes/teams/components/Icon/svg/icons/lockNew.tsx b/packages/react/src/themes/teams/components/Icon/svg/icons/lockNew.tsx new file mode 100644 index 0000000000..0e0177d838 --- /dev/null +++ b/packages/react/src/themes/teams/components/Icon/svg/icons/lockNew.tsx @@ -0,0 +1,64 @@ +import * as React from 'react' +import cx from 'classnames' +import { TeamsProcessedSvgIconSpec } from '../types' +import { teamsIconClassNames } from '../teamsIconClassNames' + +export default { + icon: ({ classes }) => ( + + + + + + + ), + styles: {}, +} as TeamsProcessedSvgIconSpec From 51f53a441ca035eba48155c0b4be53b26de8c3f8 Mon Sep 17 00:00:00 2001 From: PRIYANKAR GUPTA Date: Sun, 10 Feb 2019 21:50:10 +0530 Subject: [PATCH 2/2] Updating changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 163da63a0e..2919cafa09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Add `black` and `white` options for the `color` prop of the `Label` component @mnajdova ([#855](https://github.com/stardust-ui/react/pull/855)) - Add `Flex` component @kuzhelov ([#802](https://github.com/stardust-ui/react/pull/802)) - Add `inline` prop for `Dropdown` component @Bugaa92 ([#863](https://github.com/stardust-ui/react/pull/863)) +- Export `lock-new` SVG icon @priyankar205 ([#872](https://github.com/stardust-ui/react/pull/872)) ### Fixes - Focus the last focused element which triggered `Popup` on ESC @sophieH29 ([#861](https://github.com/stardust-ui/react/pull/861))