Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add date-picker today actions #1058

Merged
merged 10 commits into from
Jun 11, 2020
22 changes: 18 additions & 4 deletions docs/pages/patterns/date-picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ This component mostly relies on the CSS of other components and has very little
<button class="fd-button fd-button--transparent sap-icon--slim-arrow-left" aria-label="Previous" aria-disabled="true"></button>
</div>
<div class="fd-calendar__action">
<button class="fd-button fd-button--transparent fd-button--compact" aria-selected="false" aria-expanded="false" aria-controls="mGTGe998">September</button>
<button class="fd-button fd-button--transparent" aria-selected="false" aria-expanded="false" aria-controls="mGTGe998">September</button>
</div>
<div class="fd-calendar__action">
<button class="fd-button fd-button--transparent fd-button--compact" aria-selected="false" aria-expanded="false" aria-controls="D8NDL125">2018</button>
<button class="fd-button fd-button--transparent" aria-selected="false" aria-expanded="false" aria-controls="D8NDL125">2018</button>
</div>
<div class="fd-calendar__action">
<button class="fd-button fd-button--transparent sap-icon--slim-arrow-right" aria-label="Next"></button>
Expand Down Expand Up @@ -196,6 +196,13 @@ This component mostly relies on the CSS of other components and has very little
</div>
</div>
</div>
<footer class="fd-dialog__footer fd-bar fd-bar--footer fd-bar--cosy">
<div class="fd-bar__right">
<div class="fd-bar__element">
<button class="fd-dialog__decisive-button fd-button">Today</button>
</div>
</div>
</footer>
</div>
</div>
</div>
Expand All @@ -217,7 +224,7 @@ This component mostly relies on the CSS of other components and has very little
<header class="fd-calendar__header">
<div class="fd-calendar__navigation">
<div class="fd-calendar__action">
<button class="fd-button fd-button--transparent sap-icon--slim-arrow-left" aria-label="Previous" aria-disabled="true"></button>
<button class="fd-button fd-button--transparent sap-icon--slim-arrow-left fd-button--compact" aria-label="Previous" aria-disabled="true"></button>
</div>
<div class="fd-calendar__action">
<button class="fd-button fd-button--transparent fd-button--compact" aria-selected="false" aria-expanded="false" aria-controls="mGTGe998">September</button>
Expand All @@ -226,7 +233,7 @@ This component mostly relies on the CSS of other components and has very little
<button class="fd-button fd-button--transparent fd-button--compact" aria-selected="false" aria-expanded="false" aria-controls="D8NDL125">2018</button>
</div>
<div class="fd-calendar__action">
<button class="fd-button fd-button--transparent sap-icon--slim-arrow-right" aria-label="Next"></button>
<button class="fd-button fd-button--transparent sap-icon--slim-arrow-right fd-button--compact" aria-label="Next"></button>
</div>
</div>
</header>
Expand Down Expand Up @@ -379,6 +386,13 @@ This component mostly relies on the CSS of other components and has very little
</div>
</div>
</div>
<footer class="fd-dialog__footer fd-bar fd-bar--footer">
<div class="fd-bar__right">
<div class="fd-bar__element">
<button class="fd-dialog__decisive-button fd-button fd-button--compact">Today</button>
</div>
</div>
</footer>
</div>
</div>
</div>
Expand Down