-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui5-flexible-column-layout): new component (#1867)
Introduce new component in the "fiori" package, called FlexibleColumnLayout. The component implements the master-detail-detail paradigm by displaying up to three pages in separate columns. There are several possible layouts that can be changed either with the component API, or by pressing the arrows, displayed between the columns. Fixes: #1851
- Loading branch information
Showing
22 changed files
with
2,766 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<div class="ui5-fcl-root"> | ||
<div | ||
role="region" | ||
class="{{classes.columns.start}}" | ||
style="{{styles.columns.start}}" | ||
aria-labelledby="{{_id}}-startColumnText" | ||
> | ||
<slot name="startColumn"></slot> | ||
</div> | ||
|
||
<div class="ui5-fcl-arrow-container" style="{{styles.arrowsContainer.start}}"> | ||
<ui5-button | ||
class="ui5-fcl-arrow ui5-fcl-arrow--start" | ||
icon="slim-arrow-right" | ||
design="Transparent" | ||
@click="{{startArrowClick}}" | ||
style="{{styles.arrows.start}}" | ||
></ui5-button> | ||
</div> | ||
|
||
<div | ||
role="region" | ||
class="{{classes.columns.middle}}" | ||
style="{{styles.columns.middle}}" | ||
aria-labelledby="{{_id}}-midColumnText" | ||
> | ||
<slot name="midColumn"></slot> | ||
</div> | ||
|
||
<div class="ui5-fcl-arrow-container" style="{{styles.arrowsContainer.end}}"> | ||
<ui5-button | ||
class="ui5-fcl-arrow ui5-fcl-arrow--end" | ||
style="{{styles.arrows.end}}" | ||
icon="slim-arrow-left" | ||
design="Transparent" | ||
@click="{{endArrowClick}}" | ||
></ui5-button> | ||
</div> | ||
|
||
<div | ||
role="region" | ||
class="{{classes.columns.end}}" | ||
style="{{styles.columns.end}}" | ||
aria-labelledby="{{_id}}-endColumnText" | ||
> | ||
<slot name="endColumn"></slot> | ||
</div> | ||
|
||
<span id="{{_id}}-startColumnText" class="ui5-hidden-text">{{accStartColumnText}}</span> | ||
<span id="{{_id}}-midColumnText" class="ui5-hidden-text">{{accMiddleColumnText}}</span> | ||
<span id="{{_id}}-endColumnText" class="ui5-hidden-text">{{accEndColumnText}}</span> | ||
</div> |
Oops, something went wrong.