Skip to content

Commit c358b71

Browse files
author
Bernie Zang
committed
feat(components): Add new message separator, fix tests
1 parent f3db512 commit c358b71

File tree

9 files changed

+83
-7
lines changed

9 files changed

+83
-7
lines changed

packages/node_modules/@ciscospark/react-component-loading-screen/src/__snapshots__/index.test.js.snap

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node_modules/@ciscospark/react-component-loading-screen/src/index.test.js

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node_modules/@ciscospark/react-component-new-messages-separator/package.json

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node_modules/@ciscospark/react-component-new-messages-separator/src/__snapshots__/index.test.js.snap

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node_modules/@ciscospark/react-component-new-messages-separator/src/index.js

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node_modules/@ciscospark/react-component-new-messages-separator/src/index.test.js

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/node_modules/@ciscospark/react-component-new-messages-separator/src/styles.css

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/demo.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
ChipFile,
1818
ConfirmationModal,
1919
ListSeparator,
20+
NewMessagesSeparator,
2021
DaySeparator,
2122
LoadingScreen,
2223
Spinner
@@ -51,6 +52,7 @@ export default function Root() {
5152
/>
5253
</div>
5354
<div className={styles.component} ><ListSeparator isInformative primaryText="Test 123" /></div>
55+
<div className={styles.component} ><NewMessagesSeparator /></div>
5456
<div className={styles.component} >
5557
<DaySeparator
5658
fromDate={moment(today).subtract(5, `days`)}

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export {default as ChipFile} from '@ciscospark/react-component-chip-file';
1717
export {default as ConfirmationModal} from '@ciscospark/react-component-confirmation-modal';
1818
export {default as ListSeparator} from '@ciscospark/react-component-list-separator';
1919
export {default as DaySeparator} from '@ciscospark/react-component-day-separator';
20+
export {default as NewMessagesSeparator} from '@ciscospark/react-component-new-messages-separator';
2021
export {default as FileStagingArea} from '@ciscospark/react-component-file-staging-area';
2122
export {default as Spinner} from '@ciscospark/react-component-spinner';
2223
export {default as LoadingScreen} from '@ciscospark/react-component-loading-screen';

0 commit comments

Comments
 (0)