-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1522 from HealthCatalyst/dev
Cashmere 10.1.6
- Loading branch information
Showing
15 changed files
with
384 additions
and
105 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
8 changes: 6 additions & 2 deletions
8
projects/cashmere-examples/src/lib/chip-basic/chip-basic-example.component.scss
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
.example-chip-icon { | ||
margin-right: 10px; | ||
.example-chip-banner { | ||
display: flex; | ||
|
||
hc-icon { | ||
margin-right: 10px; | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
projects/cashmere-examples/src/lib/icon-overview/icon-overview-example.component.html
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
158 changes: 107 additions & 51 deletions
158
projects/cashmere-examples/src/lib/scroll-nav/scroll-nav-example.component.html
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 |
---|---|---|
@@ -1,59 +1,115 @@ | ||
<div class='container'> | ||
<hc-scroll-nav #ScrollNav> | ||
<ul> | ||
<li hcScrollLink='a1'> | ||
Care Management Team | ||
<ul> | ||
<li hcScrollLink='b1'> | ||
Care Managers | ||
<ul> | ||
<li hcScrollLink='c1'>Donald Duck</li> | ||
<li hcScrollLink='c2'>Goofy</li> | ||
</ul> | ||
</li> | ||
<li hcScrollLink='b2'>Nutritionists</li> | ||
</ul> | ||
</li> | ||
<li hcScrollLink='a2'>Providers</li> | ||
<li hcScrollLink='a3'>Active Medications</li> | ||
<li hcScrollLink='a4'>Medical History</li> | ||
<li hcScrollLink='a5'>Contacts</li> | ||
</ul> | ||
</hc-scroll-nav> | ||
<div class="scroll-nav-container"> | ||
<hc-scroll-nav #ScrollNav [scrollNavWithContent]="hasScrollNavWithContent"> | ||
<ul> | ||
<li hcScrollLink='a1'> | ||
Care Management Team | ||
<ul> | ||
<li hcScrollLink='b1'> | ||
Care Managers | ||
<ul> | ||
<li hcScrollLink='c1'>Donald Duck</li> | ||
<li hcScrollLink='c2'>Goofy</li> | ||
</ul> | ||
</li> | ||
<li hcScrollLink='b2'>Nutritionists</li> | ||
</ul> | ||
</li> | ||
<li hcScrollLink='a2'>Providers</li> | ||
<li hcScrollLink='a3'>Active Medications</li> | ||
<li hcScrollLink='a4'>Medical History</li> | ||
<li hcScrollLink='a5'>Contacts</li> | ||
<li hcScrollLink='a6'> | ||
Care Management Team | ||
<ul> | ||
<li hcScrollLink='b3'> | ||
Care Managers | ||
<ul> | ||
<li hcScrollLink='c3'>Donald Duck</li> | ||
<li hcScrollLink='c4'>Goofy</li> | ||
</ul> | ||
</li> | ||
<li hcScrollLink='b4'>Nutritionists</li> | ||
</ul> | ||
</li> | ||
<li hcScrollLink='a7'>Providers</li> | ||
<li hcScrollLink='a8'>Active Medications</li> | ||
<li hcScrollLink='a9'>Medical History</li> | ||
<li hcScrollLink='a10'>Contacts</li> | ||
</ul> | ||
</hc-scroll-nav> | ||
|
||
<hc-scroll-nav-content [nav]='ScrollNav' [makeLastTargetFullHeight]='true'> | ||
<section id='a1' hcScrollTarget> | ||
<h1>Care Management Team</h1> | ||
<section id='b1' hcScrollTarget> | ||
Care Managers | ||
<section id='c1' hcScrollTarget> | ||
<p>Donald Duck</p> | ||
<hc-scroll-nav-content [nav]='ScrollNav' [makeLastTargetFullHeight]='true' #NavContent> | ||
<section id='a1' hcScrollTarget> | ||
<h1>Care Management Team</h1> | ||
<section id='b1' hcScrollTarget> | ||
Care Managers | ||
<section id='c1' hcScrollTarget> | ||
<p>Donald Duck</p> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='c2' hcScrollTarget> | ||
<p>Goofy</p> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
</section> | ||
<section id='b2' hcScrollTarget> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='c2' hcScrollTarget> | ||
<p>Goofy</p> | ||
</section> | ||
<section id='a2' hcScrollTarget> | ||
<h1>Providers</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a3' hcScrollTarget> | ||
<h1>Active Medications</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a4' hcScrollTarget> | ||
<h1>Medical History</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a5' hcScrollTarget> | ||
<h1>Contacts</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a6' hcScrollTarget> | ||
<h1>Care Management Team</h1> | ||
<section id='b3' hcScrollTarget> | ||
Care Managers | ||
<section id='c3' hcScrollTarget> | ||
<p>Donald Duck</p> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='c4' hcScrollTarget> | ||
<p>Goofy</p> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
</section> | ||
<section id='b4' hcScrollTarget> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
</section> | ||
<section id='b2' hcScrollTarget> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
</section> | ||
<section id='a2' hcScrollTarget> | ||
<h1>Providers</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a3' hcScrollTarget> | ||
<h1>Active Medications</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a4' hcScrollTarget> | ||
<h1>Medical History</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a5' hcScrollTarget> | ||
<h1>Contacts</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
</hc-scroll-nav-content> | ||
<section id='a7' hcScrollTarget> | ||
<h1>Providers</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a8' hcScrollTarget> | ||
<h1>Active Medications</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a9' hcScrollTarget> | ||
<h1>Medical History</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
<section id='a10' hcScrollTarget> | ||
<h1>Contacts</h1> | ||
<p>{{medicalIpsum}}</p> | ||
</section> | ||
</hc-scroll-nav-content> | ||
</div> | ||
|
||
<div class="hc-font-bold"> | ||
<hc-checkbox [(ngModel)]="hasScrollNavWithContent">Enable scrolling on nav link area as content scrolls</hc-checkbox> | ||
</div> | ||
</div> |
27 changes: 19 additions & 8 deletions
27
projects/cashmere-examples/src/lib/scroll-nav/scroll-nav-example.component.scss
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 |
---|---|---|
@@ -1,12 +1,23 @@ | ||
.container { | ||
display: flex; | ||
height: 400px; | ||
} | ||
display: grid; | ||
grid-template-columns: 1fr; | ||
row-gap: 30px;; | ||
|
||
hc-scroll-nav { | ||
flex: 0 0 250px; | ||
} | ||
.scroll-nav-container { | ||
display: flex; | ||
height: 400px; | ||
|
||
ul { | ||
margin: 0; | ||
} | ||
} | ||
|
||
hc-scroll-nav { | ||
flex: 0 0 250px; | ||
height: 400px; | ||
} | ||
|
||
hc-scroll-nav-content { | ||
flex: 1 1 auto; | ||
hc-scroll-nav-content { | ||
flex: 1 1 auto; | ||
} | ||
} |
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 |
---|---|---|
|
@@ -21,7 +21,6 @@ | |
} | ||
|
||
@mixin hc-chip-content-color() { | ||
display: flex; | ||
padding-top: 7px; | ||
padding-bottom: 7px; | ||
} | ||
|
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
Oops, something went wrong.