feat: 🎸 OrderedSeriesDiagram component (#1573)
* feat: 🎸 OrderedSeriesDiagram component Created `orderd-series-diagram` component to look a the state of the ingress and egress filters and determine which diagram should be displayed. ✅ Closes: ICU-6459 * refactor: 💡 sass lint fix Fixed sass lint errors ✅ Closes: ICU-7347 * Update app.scss added closing tag * refactor: 💡 refactor of styling and test Refactored styling for `ordered-series-diagram` to match mocks, and fixed indent errors in test. ✅ Closes: ICU-7347 * refactor: 💡 clean up testing errors Clean up testing errors for `ordered-series-diagram` * refactor: 💡 refactor series diagram (#1577) * refactor: 💡 merge refactor changes and fix test Merged refactor changes to ordered series diagram and fix tests ✅ Closes: ICU-7347 Co-authored-by: Randall Morey <randall@randallmorey.com>
This commit is contained in:
1 parent
b02dc0aa43
commit
cf66235948
7 files changed
+214
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<li class='ordered-series-diagram-group'>
|
||||
|
||||
<div
|
||||
class='ordered-series-diagram-group-content
|
||||
{{if @color (concat "hds-surface-" @color)}}'
|
||||
>
|
||||
<div
|
||||
class='ordered-series-diagram-group-title
|
||||
{{if @color (concat "hds-foreground-" @color "-on-surface")}}'
|
||||
>
|
||||
{{@title}}
|
||||
</div>
|
||||
<ol class='ordered-series-diagram-group-items'>
|
||||
{{yield}}
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class='ordered-series-diagram-separator-icon'>
|
||||
{{!
|
||||
Separator icon is not configurable, but potentially could be.
|
||||
}}
|
||||
<FlightIcon @name='arrow-right' @size='24' />
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -0,0 +1,8 @@
|
||||
<ol class='ordered-series-diagram'>
|
||||
{{yield
|
||||
(hash
|
||||
Item=(component 'ordered-series-diagram/item')
|
||||
Group=(component 'ordered-series-diagram/group')
|
||||
)
|
||||
}}
|
||||
</ol>
|
||||
@@ -0,0 +1,17 @@
|
||||
<li class='ordered-series-diagram-item'>
|
||||
|
||||
<div class='ordered-series-diagram-item-content'>
|
||||
<Hds::IconTile @icon={{@icon}} @size='large' @color='hcp' />
|
||||
<span class='ordered-series-diagram-item-title'>
|
||||
{{yield}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class='ordered-series-diagram-separator-icon'>
|
||||
{{!
|
||||
Separator icon is not configurable, but potentially could be.
|
||||
}}
|
||||
<FlightIcon @name='arrow-right' @size='24' />
|
||||
</div>
|
||||
|
||||
</li>
|
||||
Reference in new issue
Block a user