From 1f5eaaeed9a81b4bca09e19f19ba59a91db7e5fa Mon Sep 17 00:00:00 2001 From: aswinshenoy Date: Mon, 4 Mar 2019 15:30:31 +0530 Subject: [PATCH 01/12] Add Scoped Notification Component --- .../__docs__/site-stories.js | 11 +++ .../__docs__/storybook-stories.jsx | 12 +++ .../scoped-notification/__examples__/dark.jsx | 25 +++++++ .../__examples__/light.jsx | 25 +++++++ components/scoped-notification/docs.json | 7 ++ components/scoped-notification/index.jsx | 74 +++++++++++++++++++ components/storybook-stories.js | 1 + utilities/constants.js | 1 + 8 files changed, 156 insertions(+) create mode 100644 components/scoped-notification/__docs__/site-stories.js create mode 100644 components/scoped-notification/__docs__/storybook-stories.jsx create mode 100644 components/scoped-notification/__examples__/dark.jsx create mode 100644 components/scoped-notification/__examples__/light.jsx create mode 100644 components/scoped-notification/docs.json create mode 100644 components/scoped-notification/index.jsx diff --git a/components/scoped-notification/__docs__/site-stories.js b/components/scoped-notification/__docs__/site-stories.js new file mode 100644 index 0000000000..f3758f8937 --- /dev/null +++ b/components/scoped-notification/__docs__/site-stories.js @@ -0,0 +1,11 @@ +// This object is imported into the documentation site. An example for the documentation site should be part of the pull request for the component. The object key is the kabob case of the "URL folder". In the case of `http://localhost:8080/components/app-launcher/`, `app-launcher` is the `key`. The folder name is created by `components.component` value in `package.json`. The following uses webpack's raw-loader plugin to get "text files" that will be eval()'d by CodeMirror within the documentation site on page load. + +/* eslint-env node */ +/* eslint-disable global-require */ + +const siteStories = [ + require('raw-loader!@salesforce/design-system-react/components/scoped-notification/__examples__/light.jsx'), + require('raw-loader!@salesforce/design-system-react/components/scoped-notification/__examples__/dark.jsx'), +]; + +module.exports = siteStories; diff --git a/components/scoped-notification/__docs__/storybook-stories.jsx b/components/scoped-notification/__docs__/storybook-stories.jsx new file mode 100644 index 0000000000..86b34a82a5 --- /dev/null +++ b/components/scoped-notification/__docs__/storybook-stories.jsx @@ -0,0 +1,12 @@ +import React from 'react'; +import { storiesOf } from '@storybook/react'; +import { SCOPED_NOTIFICATION } from '../../../utilities/constants'; +import Light from '../__examples__/light'; +import Dark from '../__examples__/dark'; + +storiesOf(SCOPED_NOTIFICATION, module) + .addDecorator((getStory) => ( +
{getStory()}
+ )) + .add('Light', () => ) + .add('Dark', () => ); diff --git a/components/scoped-notification/__examples__/dark.jsx b/components/scoped-notification/__examples__/dark.jsx new file mode 100644 index 0000000000..84464c92cf --- /dev/null +++ b/components/scoped-notification/__examples__/dark.jsx @@ -0,0 +1,25 @@ +import React from 'react'; +import ScopedNotification from '~/components/scoped-notification'; + +class Example extends React.Component { + render() { + return ( +
+ +

+ It looks as if duplicates exist for this lead.{' '} + View Duplicates. +

+
+
+ ); + } +} +Example.displayName = 'ScopedNotificationLight'; + +export default Example; // export is replaced with `ReactDOM.render(, mountNode);` at runtime diff --git a/components/scoped-notification/__examples__/light.jsx b/components/scoped-notification/__examples__/light.jsx new file mode 100644 index 0000000000..941e2d2a12 --- /dev/null +++ b/components/scoped-notification/__examples__/light.jsx @@ -0,0 +1,25 @@ +import React from 'react'; +import ScopedNotification from '~/components/scoped-notification'; + +class Example extends React.Component { + render() { + return ( +
+ +

+ It looks as if duplicates exist for this lead.{' '} + View Duplicates. +

+
+
+ ); + } +} +Example.displayName = 'ScopedNotificationLight'; + +export default Example; // export is replaced with `ReactDOM.render(, mountNode);` at runtime diff --git a/components/scoped-notification/docs.json b/components/scoped-notification/docs.json new file mode 100644 index 0000000000..b4fe8f7bae --- /dev/null +++ b/components/scoped-notification/docs.json @@ -0,0 +1,7 @@ +{ + "component": "scoped-notification", + "status": "prod", + "display-name": "Scoped Notifications", + "SLDS-component-path": "/components/scoped-notification", + "url-slug": "scoped-notifications" +} diff --git a/components/scoped-notification/index.jsx b/components/scoped-notification/index.jsx new file mode 100644 index 0000000000..92b2105e53 --- /dev/null +++ b/components/scoped-notification/index.jsx @@ -0,0 +1,74 @@ +/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */ +/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */ + +// Implements the [Scoped Notification design pattern](https://lightningdesignsystem.com/components/scoped-notifications/) in React. +// Based on SLDS v2.4.5 +import IconSettings from '~/components/icon-settings'; +import Icon from '~/components/icon'; +import React from 'react'; +import PropTypes from 'prop-types'; +import classNames from 'classnames'; + +import { SCOPED_NOTIFICATION } from '../../utilities/constants'; + +const propTypes = { + /** + * CSS classes to be added to tag with `.slds-scoped-notification`. Uses `classNames` [API](https://github.com/JedWatson/classnames). + */ + className: PropTypes.oneOfType([ + PropTypes.array, + PropTypes.object, + PropTypes.string, + ]), + /** + * Theme for the scoped notification + */ + theme: PropTypes.oneOf(['dark', 'light']), + /** + * Icon for the scoped notification + */ + icon: PropTypes.string.isRequired, +}; + +const defaultProps = { + theme: 'light', +}; + +/** + * A scoped notification component communicates to the user the progress of a particular process + */ +class ScopedNotification extends React.Component { + render() { + return ( +
+
+ + + +
+
{this.props.children}
+
+ ); + } +} + +ScopedNotification.displayName = SCOPED_NOTIFICATION; +ScopedNotification.propTypes = propTypes; +ScopedNotification.defaultProps = defaultProps; + +export default ScopedNotification; diff --git a/components/storybook-stories.js b/components/storybook-stories.js index e44eb197d3..1692704887 100644 --- a/components/storybook-stories.js +++ b/components/storybook-stories.js @@ -51,6 +51,7 @@ export Picklist from '../components/menu-picklist/__docs__/storybook-stories'; export RadioGroup from '../components/radio-group/__docs__/storybook-stories'; export Radio from '../components/radio/__docs__/storybook-stories'; export RadioButtonGroup from '../components/radio-button-group/__docs__/storybook-stories'; +export ScopedNotification from '../components/scoped-notification/__docs__/storybook-stories'; export Slider from '../components/slider/__docs__/storybook-stories'; export SplitView from '../components/split-view/__docs__/storybook-stories'; export Spinner from '../components/spinner/__docs__/storybook-stories'; diff --git a/utilities/constants.js b/utilities/constants.js index 4ed1442ea0..bd8f350f57 100644 --- a/utilities/constants.js +++ b/utilities/constants.js @@ -83,6 +83,7 @@ export const PROGRESS_INDICATOR = 'SLDSProgressIndicator'; export const PROGRESS_INDICATOR_PROGRESS = 'SLDSProgressIndicatorProgress'; export const PROGRESS_INDICATOR_STEP = 'SLDSProgressIndicatorStep'; export const PROGRESS_RING = 'SLDSProgressRing'; +export const SCOPED_NOTIFICATION = 'SLDSScopedNotification'; export const SLIDER = 'SLDSSlider'; export const SPINNER = 'SLDSSpinner'; export const SPLIT_VIEW = 'SLDSSplitView'; From a72a80dcccee8b4294ba0c91ca0f1b05c92ae839 Mon Sep 17 00:00:00 2001 From: Ashwin Shenoy Date: Mon, 4 Mar 2019 17:30:43 +0530 Subject: [PATCH 02/12] Correct Typo in Comment --- components/scoped-notification/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/scoped-notification/index.jsx b/components/scoped-notification/index.jsx index 92b2105e53..db2908e881 100644 --- a/components/scoped-notification/index.jsx +++ b/components/scoped-notification/index.jsx @@ -35,7 +35,7 @@ const defaultProps = { }; /** - * A scoped notification component communicates to the user the progress of a particular process + * A Scoped Notification Component serve advisory information for the user that is not important enough to justify an alert. */ class ScopedNotification extends React.Component { render() { From 450de849bc896e9687ee94dc853826bf4417b6a9 Mon Sep 17 00:00:00 2001 From: aswinshenoy Date: Mon, 18 Mar 2019 14:22:05 +0530 Subject: [PATCH 03/12] Update Prop Icon to Optional, with info as Default --- .../scoped-notification/__examples__/dark.jsx | 2 +- .../scoped-notification/__examples__/light.jsx | 2 +- components/scoped-notification/index.jsx | 3 ++- package.json | 14 ++++++++++++++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/components/scoped-notification/__examples__/dark.jsx b/components/scoped-notification/__examples__/dark.jsx index 84464c92cf..60d8153524 100644 --- a/components/scoped-notification/__examples__/dark.jsx +++ b/components/scoped-notification/__examples__/dark.jsx @@ -10,7 +10,7 @@ class Example extends React.Component { background: 'rgb(244, 246, 249)', }} > - +

It looks as if duplicates exist for this lead.{' '} View Duplicates. diff --git a/components/scoped-notification/__examples__/light.jsx b/components/scoped-notification/__examples__/light.jsx index 941e2d2a12..6a65128519 100644 --- a/components/scoped-notification/__examples__/light.jsx +++ b/components/scoped-notification/__examples__/light.jsx @@ -10,7 +10,7 @@ class Example extends React.Component { background: 'rgb(244, 246, 249)', }} > - +

It looks as if duplicates exist for this lead.{' '} View Duplicates. diff --git a/components/scoped-notification/index.jsx b/components/scoped-notification/index.jsx index 92b2105e53..9572cdf592 100644 --- a/components/scoped-notification/index.jsx +++ b/components/scoped-notification/index.jsx @@ -27,11 +27,12 @@ const propTypes = { /** * Icon for the scoped notification */ - icon: PropTypes.string.isRequired, + icon: PropTypes.string, }; const defaultProps = { theme: 'light', + icon: 'info' }; /** diff --git a/package.json b/package.json index 86f93eae15..6d3b67cfe2 100644 --- a/package.json +++ b/package.json @@ -561,6 +561,13 @@ "SLDS-component-path": "/components/page-headers", "url-slug": "page-headers" }, + { + "component": "progress-bar", + "status": "prod", + "display-name": "Progress Bars", + "SLDS-component-path": "/components/progress-bar", + "url-slug": "progress-bars" + }, { "component": "progress-indicator", "status": "prod", @@ -647,6 +654,13 @@ "SLDS-component-path": "/components/radio-button-group", "url-slug": "radio-button-groups" }, + { + "component": "scoped-notification", + "status": "prod", + "display-name": "Scoped Notifications", + "SLDS-component-path": "/components/scoped-notification", + "url-slug": "scoped-notifications" + }, { "component": "slider", "status": "prod", From 17e0af968fed24dad228cfe82e0f0966d78ea343 Mon Sep 17 00:00:00 2001 From: Ashwin Shenoy Date: Mon, 18 Mar 2019 14:26:03 +0530 Subject: [PATCH 04/12] Fix typo --- package.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package.json b/package.json index 6d3b67cfe2..0b21de7d9e 100644 --- a/package.json +++ b/package.json @@ -561,13 +561,6 @@ "SLDS-component-path": "/components/page-headers", "url-slug": "page-headers" }, - { - "component": "progress-bar", - "status": "prod", - "display-name": "Progress Bars", - "SLDS-component-path": "/components/progress-bar", - "url-slug": "progress-bars" - }, { "component": "progress-indicator", "status": "prod", From a6f0059f5b2a7f38cc1297083826fa1671b90b2a Mon Sep 17 00:00:00 2001 From: aswinshenoy Date: Thu, 21 Mar 2019 17:33:59 +0530 Subject: [PATCH 05/12] Update with Review Suggestions --- .../scoped-notification/__examples__/dark.jsx | 19 ++++++------------- .../__examples__/light.jsx | 19 ++++++------------- components/scoped-notification/index.jsx | 13 ++++++++----- 3 files changed, 20 insertions(+), 31 deletions(-) diff --git a/components/scoped-notification/__examples__/dark.jsx b/components/scoped-notification/__examples__/dark.jsx index 60d8153524..0cb16bb6fd 100644 --- a/components/scoped-notification/__examples__/dark.jsx +++ b/components/scoped-notification/__examples__/dark.jsx @@ -4,19 +4,12 @@ import ScopedNotification from '~/components/scoped-notification'; class Example extends React.Component { render() { return ( -

- -

- It looks as if duplicates exist for this lead.{' '} - View Duplicates. -

-
-
+ +

+ It looks as if duplicates exist for this lead.{' '} + View Duplicates. +

+
); } } diff --git a/components/scoped-notification/__examples__/light.jsx b/components/scoped-notification/__examples__/light.jsx index 6a65128519..26e449cf48 100644 --- a/components/scoped-notification/__examples__/light.jsx +++ b/components/scoped-notification/__examples__/light.jsx @@ -4,19 +4,12 @@ import ScopedNotification from '~/components/scoped-notification'; class Example extends React.Component { render() { return ( -
- -

- It looks as if duplicates exist for this lead.{' '} - View Duplicates. -

-
-
+ +

+ It looks as if duplicates exist for this lead.{' '} + View Duplicates. +

+
); } } diff --git a/components/scoped-notification/index.jsx b/components/scoped-notification/index.jsx index 35e3015085..f275bcb2aa 100644 --- a/components/scoped-notification/index.jsx +++ b/components/scoped-notification/index.jsx @@ -3,12 +3,13 @@ // Implements the [Scoped Notification design pattern](https://lightningdesignsystem.com/components/scoped-notifications/) in React. // Based on SLDS v2.4.5 -import IconSettings from '~/components/icon-settings'; -import Icon from '~/components/icon'; import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; +import IconSettings from '../icon-settings'; +import Icon from '../icon'; + import { SCOPED_NOTIFICATION } from '../../utilities/constants'; const propTypes = { @@ -32,11 +33,11 @@ const propTypes = { const defaultProps = { theme: 'light', - icon: 'info' + icon: 'info', }; /** - * A Scoped Notification Component serve advisory information for the user that is not important enough to justify an alert. + * A Scoped Notification Component serve advisory information for the user that is not important enough to justify an alert. */ class ScopedNotification extends React.Component { render() { @@ -46,7 +47,9 @@ class ScopedNotification extends React.Component { `slds-scoped-notification`, `slds-media`, `slds-media_center`, - `slds-scoped-notification_${this.props.theme}`, + this.props.theme === 'light' + ? 'slds-scoped-notification_light' + : 'slds-scoped-notification_dark', this.props.className )} role="status" From 86f2abf37f6363d0530deb07e2262e6f045af7f4 Mon Sep 17 00:00:00 2001 From: Stephen James Date: Fri, 26 Apr 2019 01:48:51 -0600 Subject: [PATCH 06/12] Scoped Notifications: Move IconSettings, add iconName update icon to iconName since it is not an Icon component --- .../scoped-notification/__examples__/dark.jsx | 15 +++++++----- .../__examples__/light.jsx | 15 +++++++----- components/scoped-notification/index.jsx | 24 +++++++++---------- 3 files changed, 29 insertions(+), 25 deletions(-) diff --git a/components/scoped-notification/__examples__/dark.jsx b/components/scoped-notification/__examples__/dark.jsx index 60d8153524..882470737f 100644 --- a/components/scoped-notification/__examples__/dark.jsx +++ b/components/scoped-notification/__examples__/dark.jsx @@ -1,4 +1,5 @@ import React from 'react'; +import IconSettings from '~/components/icon-settings'; import ScopedNotification from '~/components/scoped-notification'; class Example extends React.Component { @@ -10,12 +11,14 @@ class Example extends React.Component { background: 'rgb(244, 246, 249)', }} > - -

- It looks as if duplicates exist for this lead.{' '} - View Duplicates. -

-
+ + +

+ It looks as if duplicates exist for this lead.{' '} + View Duplicates. +

+
+
); } diff --git a/components/scoped-notification/__examples__/light.jsx b/components/scoped-notification/__examples__/light.jsx index 6a65128519..aa9880c402 100644 --- a/components/scoped-notification/__examples__/light.jsx +++ b/components/scoped-notification/__examples__/light.jsx @@ -1,4 +1,5 @@ import React from 'react'; +import IconSettings from '~/components/icon-settings'; import ScopedNotification from '~/components/scoped-notification'; class Example extends React.Component { @@ -10,12 +11,14 @@ class Example extends React.Component { background: 'rgb(244, 246, 249)', }} > - -

- It looks as if duplicates exist for this lead.{' '} - View Duplicates. -

-
+ + +

+ It looks as if duplicates exist for this lead.{' '} + View Duplicates. +

+
+
); } diff --git a/components/scoped-notification/index.jsx b/components/scoped-notification/index.jsx index 35e3015085..905294d0e6 100644 --- a/components/scoped-notification/index.jsx +++ b/components/scoped-notification/index.jsx @@ -25,18 +25,18 @@ const propTypes = { */ theme: PropTypes.oneOf(['dark', 'light']), /** - * Icon for the scoped notification + * Icon for the scoped notification. This is currently limited to the utility set of icons. */ - icon: PropTypes.string, + iconName: PropTypes.string, }; const defaultProps = { theme: 'light', - icon: 'info' + iconName: 'info', }; /** - * A Scoped Notification Component serve advisory information for the user that is not important enough to justify an alert. + * A Scoped Notification Component serve advisory information for the user that is not important enough to justify an alert. */ class ScopedNotification extends React.Component { render() { @@ -52,15 +52,13 @@ class ScopedNotification extends React.Component { role="status" >
- - - +
{this.props.children}
From 7098b5cf9ac767d7589af15448bedb62569e0a8a Mon Sep 17 00:00:00 2001 From: Stephen James Date: Fri, 26 Apr 2019 01:55:37 -0600 Subject: [PATCH 07/12] ScopedNotification: Add snapshots --- .../__snapshots__/storybook-stories.storyshot | 99 ++++++++++++++++++ components/story-based-tests.js | 1 + ...s-slds-scoped-notification-dark-1-snap.png | Bin 0 -> 9320 bytes ...-slds-scoped-notification-light-1-snap.png | Bin 0 -> 9831 bytes 4 files changed, 100 insertions(+) create mode 100644 components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot create mode 100644 tests/__image_snapshots__/story-based-tests-snapshot-test-js-image-snapshots-image-storyshots-slds-scoped-notification-dark-1-snap.png create mode 100644 tests/__image_snapshots__/story-based-tests-snapshot-test-js-image-snapshots-image-storyshots-slds-scoped-notification-light-1-snap.png diff --git a/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot b/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot new file mode 100644 index 0000000000..18c4bbee19 --- /dev/null +++ b/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot @@ -0,0 +1,99 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`DOM snapshots SLDSScopedNotification Dark 1`] = ` +
+
+
+
+ + + + +
+
+

+ It looks as if duplicates exist for this lead. + + + View Duplicates. + +

+
+
+
+
+`; + +exports[`DOM snapshots SLDSScopedNotification Light 1`] = ` +
+
+
+
+ + + + +
+
+

+ It looks as if duplicates exist for this lead. + + + View Duplicates. + +

+
+
+
+
+`; diff --git a/components/story-based-tests.js b/components/story-based-tests.js index a6322b6cf0..a61a975bf8 100644 --- a/components/story-based-tests.js +++ b/components/story-based-tests.js @@ -48,6 +48,7 @@ export Spinner from '../components/spinner/__docs__/storybook-stories'; // export ProgressRing from '../components/progress-ring/__docs__/storybook-stories'; // export RadioGroup from '../components/radio-group/__docs__/storybook-stories'; // export RadioButtonGroup from '../components/radio-button-group/__docs__/storybook-stories'; +export ScopedNotification from '../components/scoped-notification/__docs__/storybook-stories'; // export Search from '../components/input/__docs__/search/storybook-stories'; // export Slider from '../components/slider/__docs__/storybook-stories'; // export SplitView from '../components/split-view/__docs__/storybook-stories'; diff --git a/tests/__image_snapshots__/story-based-tests-snapshot-test-js-image-snapshots-image-storyshots-slds-scoped-notification-dark-1-snap.png b/tests/__image_snapshots__/story-based-tests-snapshot-test-js-image-snapshots-image-storyshots-slds-scoped-notification-dark-1-snap.png new file mode 100644 index 0000000000000000000000000000000000000000..e74bb79c8e6b476ae0f27c4861e1cb7af3a32190 GIT binary patch literal 9320 zcmeHN`CF6MwoXfrw#R|CwkjaRQ&4PCkfB79Kx(NBqNJ9iltF?e5Gg}|pcq1kLo271 zL5K`7Ayh$VML+^FWfBKMNJs<(41q)pB*YMcNeDwoa^rpO{R8fE&TrSBzV+;9f8W}B z?f2dL{npyQeIFjYM26%)Kay=I37DY&n*5dOg7iIkMrr_7oQ#`{?qr1!yg^^Gq$`5}hCY+&T5_r3!7rS(LKfd*su@_5b+duuCWM zWYF)JkAB#7rf%h^;3Q*YTe86x@|*05z;+JOg@@Mt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zHMSsoFP9{~P1UVX-%247L%EbHHjp=O*;0MG^nJiX zU?=Qf0KfRNXZNYb*=0*Agx_eOwFFZ9Q*{0({{R3E`hWB>0Psg4z}hzO;s4d-|4(hD zA=momL*PcuMQcX>KTuHl_e(PGzVM$aZoP}-yGXvH^na{Y{Qrqg*M{%B0subP{`M}w pI}*Jk(K`~o6G#7h>&6UfzcbqHzGL!)RWbrXkA#2M{B8W@{{rofOSJ$1 literal 0 HcmV?d00001 diff --git a/tests/__image_snapshots__/story-based-tests-snapshot-test-js-image-snapshots-image-storyshots-slds-scoped-notification-light-1-snap.png b/tests/__image_snapshots__/story-based-tests-snapshot-test-js-image-snapshots-image-storyshots-slds-scoped-notification-light-1-snap.png new file mode 100644 index 0000000000000000000000000000000000000000..0469e744a907361f235821cfabcf94aaa26b993c GIT binary patch literal 9831 zcmeHtYh04q+BfA)&g?8_cDo!)r9G0)WNE2sfJ)EQq~w9wyUFvR@<8SR^Mr`NG`;0+ zJSC>2Bu+cir}02SLLR`%Nks%wOH>px4@fE~D2SXMW#%Nr7vjI`Py7D_004Hu1J3*%0I)a+0BjHcWQX}nP415w=Et_Izx#g!Xyx0< z0Dyx4_?iFuKJWg@G@)2xiIZx>{_bqtpV22?5r#0JuK$($=I3jN-lv8Xe~b>g^UJ4G zmu*7tHJtlqcsKKH;^aT+t&xR0SwY`}sGYB#Ua)OH^fvY*F93k&8}Al`;h*t;Fq29A z=o0|oyR&~Z|DVdCs(W~6hJ5+4cmC%9z&mN*uD~kx0~LD5M*zTAj;G98cHjQ*H3P+q zALsen`)=LP3r$-EY+bDZT(G&?tV!=$VRX;7?$TDqb$Gah8R_0vKHX*}E&A8S(nLC$ zm7fyzLlzRjVtfh$W0VO-NjZ|HAY-XlH|6N`A=8^IRMpWab&Yfv03fV5P;~?sJS)-f zM_h{5Y|GqSg)PW>wBM9E_~r-CwnTTh1GOcRp){tUNa#rb0G?60hqq`dkSvX1qg`2ZhtF0!;GBB9{Ntwet@p!k)!`R@ zSZ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t~Ry{m88kOx*=& z)|dVGJg<_o@niJk_^pt+@nL$hr`Vj-3aop34Mc{WsMW#LV+D(8$gJhXj^=PoiD2^C zlMs62G{kr=GJ3@~|YZBJOp(vWPC;94p2GSq7caITngQ@A7d2%fhiU&J>o~E$M89PT1NpVu z2$e10K2Jpocs{SQN}Ve#PCZysTMb~$Y5I8M!eh5+RrQ@H6zgb@@rCs~Lu7oFQUhx@ zCm&OO3fa`=c(u$nj)cpXEuRazytk|da)1Zny3A&C`hMdV#itl4v`a;yXdtR>fae1H zZA!>T1DM~^_5zscU-gPGALqHTC=?eepS%NAbpNYZAxxtH02#iYAEd_rR*Bk)eP}V) z$@ Date: Fri, 26 Apr 2019 02:14:47 -0600 Subject: [PATCH 08/12] ScopedNotification: Remove IconSettings import --- components/scoped-notification/index.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/components/scoped-notification/index.jsx b/components/scoped-notification/index.jsx index 104d5472ae..ba463d6d03 100644 --- a/components/scoped-notification/index.jsx +++ b/components/scoped-notification/index.jsx @@ -7,7 +7,6 @@ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; -import IconSettings from '../icon-settings'; import Icon from '../icon'; import { SCOPED_NOTIFICATION } from '../../utilities/constants'; From a704abd9a4cd0b76433ac4583e303fdc4db0f467 Mon Sep 17 00:00:00 2001 From: Stephen James Date: Fri, 26 Apr 2019 02:14:47 -0600 Subject: [PATCH 09/12] ScopedNotification: Update Snapshots --- .../__snapshots__/storybook-stories.storyshot | 127 ++++++++---------- components/scoped-notification/index.jsx | 1 - 2 files changed, 55 insertions(+), 73 deletions(-) diff --git a/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot b/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot index 18c4bbee19..f5213b24eb 100644 --- a/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot +++ b/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot @@ -5,45 +5,36 @@ exports[`DOM snapshots SLDSScopedNotification Dark 1`] = ` className="slds-p-around_medium" >
-
- - - - -
-
-

- It looks as if duplicates exist for this lead. - - - View Duplicates. - -

-
+ + + + +
+
+

+ It looks as if duplicates exist for this lead. + + + View Duplicates. + +

@@ -54,45 +45,37 @@ exports[`DOM snapshots SLDSScopedNotification Light 1`] = ` className="slds-p-around_medium" >
+ + + + +
+
-
- - - - -
-
-

- It looks as if duplicates exist for this lead. - - - View Duplicates. - -

-
+

+ It looks as if duplicates exist for this lead. + + + View Duplicates. + + +

diff --git a/components/scoped-notification/index.jsx b/components/scoped-notification/index.jsx index 104d5472ae..ba463d6d03 100644 --- a/components/scoped-notification/index.jsx +++ b/components/scoped-notification/index.jsx @@ -7,7 +7,6 @@ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; -import IconSettings from '../icon-settings'; import Icon from '../icon'; import { SCOPED_NOTIFICATION } from '../../utilities/constants'; From c9b3839e66c1606e5dd37b00e53d890b9ecba86d Mon Sep 17 00:00:00 2001 From: Stephen James Date: Fri, 26 Apr 2019 02:36:40 -0600 Subject: [PATCH 10/12] Scoped Notification: lint --- components/scoped-notification/__examples__/light.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/scoped-notification/__examples__/light.jsx b/components/scoped-notification/__examples__/light.jsx index 516cbed631..8474a91547 100644 --- a/components/scoped-notification/__examples__/light.jsx +++ b/components/scoped-notification/__examples__/light.jsx @@ -9,7 +9,8 @@ class Example extends React.Component {

It looks as if duplicates exist for this lead.{' '} - View Duplicates.

+ View Duplicates.{' '} +

); From de76dcbf313a5e9f4eba8912fbb579fa33fad77e Mon Sep 17 00:00:00 2001 From: Stephen James Date: Fri, 26 Apr 2019 02:50:35 -0600 Subject: [PATCH 11/12] Scoped Notification: update snapshot from lint --- .../__docs__/__snapshots__/storybook-stories.storyshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot b/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot index f5213b24eb..699b2d18ed 100644 --- a/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot +++ b/components/scoped-notification/__docs__/__snapshots__/storybook-stories.storyshot @@ -74,7 +74,7 @@ exports[`DOM snapshots SLDSScopedNotification Light 1`] = ` > View Duplicates. - +

From 7272a74be1b43b0fe7dcffe139025db07436d9cf Mon Sep 17 00:00:00 2001 From: Stephen James Date: Thu, 2 May 2019 17:19:09 -0600 Subject: [PATCH 12/12] Scoped Notification: Add to site stories --- components/site-stories.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/site-stories.js b/components/site-stories.js index 5042b7403a..e1ca223b36 100644 --- a/components/site-stories.js +++ b/components/site-stories.js @@ -49,6 +49,7 @@ const documentationSiteLiveExamples = { 'radio-group': require('@salesforce/design-system-react/components/radio-group/__docs__/site-stories.js'), radio: require('@salesforce/design-system-react/components/radio/__docs__/site-stories.js'), tabs: require('@salesforce/design-system-react/components/tabs/__docs__/site-stories.js'), + 'scoped-notification': require('@salesforce/design-system-react/components/scoped-notification/__docs__/site-stories.js'), slider: require('@salesforce/design-system-react/components/slider/__docs__/site-stories.js'), spinner: require('@salesforce/design-system-react/components/spinner/__docs__/site-stories.js'), 'split-view': require('@salesforce/design-system-react/components/split-view/__docs__/site-stories.js'),