-
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 #1020 from HealthCatalyst/dev
Merge dev -> master
- Loading branch information
Showing
44 changed files
with
474 additions
and
337 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
22 changes: 11 additions & 11 deletions
22
projects/cashmere-examples/src/lib/popover-menu/popover-menu-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,31 +1,31 @@ | ||
<button hc-button buttonStyle="secondary" [hcPop]="menu">Menu</button> | ||
|
||
<hc-pop #menu [autoCloseOnContentClick]="true" [showArrow]="false"> | ||
<div class="hc-menu-panel"> | ||
<button hcButtonItem> | ||
<hc-pop #menu [autoCloseOnContentClick]="true" [showArrow]="false" horizontalAlign="start"> | ||
<div hcMenu> | ||
<button hcMenuItem> | ||
<hc-icon hcMenuIcon fontSet="fa" fontIcon="fa-snowflake-o"></hc-icon> | ||
<span hcMenuText>Snowflake</span> | ||
<span hcMenuSubText>Ctrl + S</span> | ||
</button> | ||
<button hcButtonItem> | ||
<button hcMenuItem> | ||
<hc-icon hcMenuIcon fontSet="fa" fontIcon="fa-plus"></hc-icon> | ||
<span hcMenuText>Add a new one</span> | ||
</button> | ||
<div hcButtonItem hcDivider></div> | ||
<button hcButtonItem> | ||
<div hcMenuItem hcDivider></div> | ||
<button hcMenuItem> | ||
<hc-icon hcMenuIcon fontSet="fa" fontIcon="fa-camera-retro"></hc-icon> | ||
<span hcMenuText>Hip Photo</span> | ||
<span hcMenuSubText>Ctrl + P</span> | ||
</button> | ||
<button hcButtonItem disabled> | ||
<button hcMenuItem disabled> | ||
<span hcMenuIcon></span> | ||
<span hcMenuText>Menu item 3</span> | ||
<span hcMenuSubText>I'm disabled</span> | ||
</button> | ||
</div> | ||
</hc-pop> | ||
|
||
<br><br> | ||
<p class="hc-font-sm"> | ||
Note: Must import Cashmere's <code>ButtonModule</code> to use the | ||
<code>hcButtonItem</code> & <code>hcMenu*</code> directives. | ||
</p> | ||
The directives <code>hcMenu</code>, <code>hcMenuItem</code>, <code>hcMenuIcon</code>, | ||
<code>hcMenuText</code>, and <code>hcMenuSubText</code> may be used to create menus using the popover component. | ||
</p> |
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 |
---|---|---|
|
@@ -33,6 +33,7 @@ | |
|
||
.progress-row { | ||
display: flex; | ||
align-items: end; | ||
width: 100%; | ||
} | ||
|
||
|
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
export {AnchorComponent} from './anchor.component'; | ||
export {ButtonComponent} from './button.component'; | ||
export {ButtonModule} from './button.module'; | ||
export {ButtonItemDirective} from './split-button/directives/button-item.directive'; | ||
export {SplitButtonComponent, SplitButtonClickEvent} from './split-button/split-button.component'; |
10 changes: 0 additions & 10 deletions
10
projects/cashmere/src/lib/button/split-button/directives/button-item.directive.ts
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -47,10 +47,3 @@ | |
@include hc-navbar-mobile-menu(); | ||
} | ||
} | ||
|
||
.more-popover a { | ||
&.active { | ||
color: $text; | ||
cursor: default; | ||
} | ||
} |
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.