This repository has been archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[terra-clinical-header] Added wrapContent to make wrapping of content…
… optional (#940)
- Loading branch information
Showing
54 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,8 @@ | |
padding: 0; | ||
padding-right: 10px; | ||
} | ||
|
||
.button { | ||
margin: 5px; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
.../terra-clinical-header/src/terra-dev-site/test/clinical-header/HeaderWrapContent.test.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
import classNames from 'classnames/bind'; | ||
|
||
import Header from 'terra-clinical-header'; | ||
import Button from 'terra-button'; | ||
import styles from './ClinicalHeaderCommontest.module.scss'; | ||
|
||
const cx = classNames.bind(styles); | ||
|
||
const endContent = ( | ||
<div | ||
id="headerTest--endContent" | ||
> | ||
<Button text="Update" className={cx('button')} /> | ||
<Button text="Renew" className={cx('button')} /> | ||
<Button text="Cancel" className={cx('button')} /> | ||
<Button text="Complete" className={cx('button')} /> | ||
</div> | ||
); | ||
|
||
export default () => ( | ||
<Header | ||
id="Header" | ||
text="Lorem ipsum dolor sit amet " | ||
endContent={endContent} | ||
wrapContent | ||
/> | ||
); |
Binary file added
BIN
+8.9 KB
...ence/clinical-lowlight-theme/en/chrome_enormous/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.79 KB
...eference/clinical-lowlight-theme/en/chrome_huge/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.5 KB
...ference/clinical-lowlight-theme/en/chrome_large/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.37 KB
...erence/clinical-lowlight-theme/en/chrome_medium/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.18 KB
...ference/clinical-lowlight-theme/en/chrome_small/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.01 KB
...eference/clinical-lowlight-theme/en/chrome_tiny/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10 KB
...reference/orion-fusion-theme/en/chrome_enormous/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.88 KB
...s__/reference/orion-fusion-theme/en/chrome_huge/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.87 KB
...__/reference/orion-fusion-theme/en/chrome_large/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.58 KB
..._/reference/orion-fusion-theme/en/chrome_medium/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.44 KB
...__/reference/orion-fusion-theme/en/chrome_small/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.27 KB
...s__/reference/orion-fusion-theme/en/chrome_tiny/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.09 KB
...eference/terra-default-theme/en/chrome_enormous/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.03 KB
...__/reference/terra-default-theme/en/chrome_huge/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.73 KB
..._/reference/terra-default-theme/en/chrome_large/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.61 KB
.../reference/terra-default-theme/en/chrome_medium/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.28 KB
..._/reference/terra-default-theme/en/chrome_small/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.25 KB
...__/reference/terra-default-theme/en/chrome_tiny/header-spec/wrapped_content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.52 KB
(110%)
...hots__/reference/orion-fusion-theme/en/chrome_enormous/onset-spec/age_input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.62 KB
(110%)
...ots__/reference/orion-fusion-theme/en/chrome_enormous/onset-spec/date_input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.19 KB
(100%)
...eference/orion-fusion-theme/en/chrome_enormous/onset-spec/invalid_age_input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.83 KB
(110%)
...ence/orion-fusion-theme/en/chrome_enormous/onset-spec/month_and_year_select.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+622 Bytes
(100%)
...ence/orion-fusion-theme/en/chrome_enormous/onset-spec/month_option_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+465 Bytes
(100%)
...__/reference/orion-fusion-theme/en/chrome_enormous/onset-spec/month_options.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+485 Bytes
(100%)
...eference/orion-fusion-theme/en/chrome_enormous/onset-spec/unknown_precision.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+838 Bytes
(100%)
...rence/orion-fusion-theme/en/chrome_enormous/onset-spec/year_option_selected.png
Oops, something went wrong.
Binary file modified
BIN
+799 Bytes
(100%)
...s__/reference/orion-fusion-theme/en/chrome_enormous/onset-spec/year_options.png
Oops, something went wrong.
Binary file modified
BIN
+1.47 KB
(110%)
...ts__/reference/orion-fusion-theme/en/chrome_enormous/onset-spec/year_select.png
Oops, something went wrong.
Binary file modified
BIN
+1.5 KB
(110%)
...pshots__/reference/orion-fusion-theme/en/chrome_medium/onset-spec/age_input.png
Oops, something went wrong.
Binary file modified
BIN
+1.52 KB
(110%)
...shots__/reference/orion-fusion-theme/en/chrome_medium/onset-spec/date_input.png
Oops, something went wrong.
Binary file modified
BIN
+1.08 KB
(100%)
.../reference/orion-fusion-theme/en/chrome_medium/onset-spec/invalid_age_input.png
Oops, something went wrong.
Binary file modified
BIN
+1.75 KB
(110%)
...erence/orion-fusion-theme/en/chrome_medium/onset-spec/month_and_year_select.png
Oops, something went wrong.
Binary file modified
BIN
+560 Bytes
(100%)
...erence/orion-fusion-theme/en/chrome_medium/onset-spec/month_option_selected.png
Oops, something went wrong.
Binary file modified
BIN
+528 Bytes
(100%)
...ts__/reference/orion-fusion-theme/en/chrome_medium/onset-spec/month_options.png
Oops, something went wrong.
Binary file modified
BIN
+504 Bytes
(100%)
.../reference/orion-fusion-theme/en/chrome_medium/onset-spec/unknown_precision.png
Oops, something went wrong.
Binary file modified
BIN
+777 Bytes
(100%)
...ference/orion-fusion-theme/en/chrome_medium/onset-spec/year_option_selected.png
Oops, something went wrong.
Binary file modified
BIN
+832 Bytes
(100%)
...ots__/reference/orion-fusion-theme/en/chrome_medium/onset-spec/year_options.png
Oops, something went wrong.
Binary file modified
BIN
+1.38 KB
(110%)
...hots__/reference/orion-fusion-theme/en/chrome_medium/onset-spec/year_select.png
Oops, something went wrong.
Binary file modified
BIN
+613 Bytes
(100%)
...napshots__/reference/orion-fusion-theme/en/chrome_tiny/onset-spec/age_input.png
Oops, something went wrong.
Binary file modified
BIN
+51 Bytes
(100%)
...apshots__/reference/orion-fusion-theme/en/chrome_tiny/onset-spec/date_input.png
Oops, something went wrong.
Binary file modified
BIN
-916 Bytes
(97%)
...__/reference/orion-fusion-theme/en/chrome_tiny/onset-spec/invalid_age_input.png
Oops, something went wrong.
Binary file modified
BIN
+562 Bytes
(100%)
...eference/orion-fusion-theme/en/chrome_tiny/onset-spec/month_and_year_select.png
Oops, something went wrong.
Binary file modified
BIN
+19 Bytes
(100%)
...eference/orion-fusion-theme/en/chrome_tiny/onset-spec/month_option_selected.png
Oops, something went wrong.
Binary file modified
BIN
-1.32 KB
(96%)
...hots__/reference/orion-fusion-theme/en/chrome_tiny/onset-spec/month_options.png
Oops, something went wrong.
Binary file modified
BIN
-648 Bytes
(96%)
...__/reference/orion-fusion-theme/en/chrome_tiny/onset-spec/unknown_precision.png
Oops, something went wrong.
Binary file modified
BIN
-200 Bytes
(99%)
...reference/orion-fusion-theme/en/chrome_tiny/onset-spec/year_option_selected.png
Oops, something went wrong.
Binary file modified
BIN
-939 Bytes
(97%)
...shots__/reference/orion-fusion-theme/en/chrome_tiny/onset-spec/year_options.png
Oops, something went wrong.
Binary file modified
BIN
+440 Bytes
(100%)
...pshots__/reference/orion-fusion-theme/en/chrome_tiny/onset-spec/year_select.png
Oops, something went wrong.