@fundamental-styles/mcp 0.41.7-rc.8 → 0.41.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/AI_USAGE.md +425 -0
- package/data/CHANGELOG.md +53 -3
- package/data/component-catalog.json +62 -209
- package/data/components/README.md +281 -0
- package/data/components/action-bar.md +443 -0
- package/data/components/ai-busy-indicator.md +79 -0
- package/data/components/ai-loading-bar.md +66 -0
- package/data/components/avatar-btp.md +198 -0
- package/data/components/avatar-group.md +2660 -0
- package/data/components/avatar-product-switch.md +476 -0
- package/data/components/avatar.md +993 -0
- package/data/components/bar.md +574 -0
- package/data/components/border-radius.md +148 -0
- package/data/components/border.md +412 -0
- package/data/components/breadcrumb.md +546 -0
- package/data/components/button-2.md +440 -0
- package/data/components/button-action-sheet.md +292 -0
- package/data/components/button-ai.md +730 -0
- package/data/components/button-btp.md +223 -0
- package/data/components/button-button.md +233 -0
- package/data/components/button-counter.md +176 -0
- package/data/components/button-patterns.md +731 -0
- package/data/components/button-split.md +459 -0
- package/data/components/button.md +469 -0
- package/data/components/calendar.md +5784 -0
- package/data/components/card-card-media.md +707 -0
- package/data/components/card-card.md +2426 -0
- package/data/components/card-layouts.md +1201 -0
- package/data/components/card.md +2404 -0
- package/data/components/carousel.md +1506 -0
- package/data/components/code.md +139 -0
- package/data/components/component-reset.md +272 -0
- package/data/components/components-icons-businesssuiteinappsymbol-icons.md +85 -0
- package/data/components/components-icons-sap-icons.md +147 -0
- package/data/components/components-icons-tnt-icons.md +85 -0
- package/data/components/container-queries.md +221 -0
- package/data/components/container.md +227 -0
- package/data/components/dialog-docs-static-busy-indicator.md +165 -0
- package/data/components/dialog-docs-static-dialog.md +949 -0
- package/data/components/dialog-docs-static-patterns.md +147 -0
- package/data/components/dialog-docs-static-settings.md +528 -0
- package/data/components/dialog-docs-static.md +982 -0
- package/data/components/dialog.md +606 -0
- package/data/components/dynamic-page-dynamic-page.md +1914 -0
- package/data/components/dynamic-page.md +973 -0
- package/data/components/dynamic-side.md +197 -0
- package/data/components/elevation.md +110 -0
- package/data/components/feed-input.md +346 -0
- package/data/components/feed-list.md +580 -0
- package/data/components/fieldset-2.md +292 -0
- package/data/components/fieldset-forms.md +169 -0
- package/data/components/fieldset.md +381 -0
- package/data/components/flexible-column-layout.md +205 -0
- package/data/components/form-group.md +287 -0
- package/data/components/form-header.md +71 -0
- package/data/components/form-item-2.md +98 -0
- package/data/components/form-item-3.md +134 -0
- package/data/components/form-item-4.md +556 -0
- package/data/components/form-item-5.md +182 -0
- package/data/components/form-item-6.md +539 -0
- package/data/components/form-item-7.md +239 -0
- package/data/components/form-item-ai.md +158 -0
- package/data/components/form-item-file-uploader.md +445 -0
- package/data/components/form-item-forms.md +234 -0
- package/data/components/form-item-patterns.md +426 -0
- package/data/components/form-item.md +464 -0
- package/data/components/form-label-ai.md +126 -0
- package/data/components/form-label-layouts.md +306 -0
- package/data/components/form-label-patterns.md +1175 -0
- package/data/components/form-label-status-indicator.md +1083 -0
- package/data/components/form-label-step-input.md +620 -0
- package/data/components/form-label.md +2876 -0
- package/data/components/generic-tag.md +747 -0
- package/data/components/grid-list-grid-list.md +1185 -0
- package/data/components/grid-list.md +1449 -0
- package/data/components/heading.md +66 -0
- package/data/components/horizontal-navigation.md +568 -0
- package/data/components/icon-tab-bar-dev.md +190 -0
- package/data/components/icon-tab-bar.md +2620 -0
- package/data/components/icon.md +171 -0
- package/data/components/iconBusinessSuite.md +92 -0
- package/data/components/iconTnt.md +92 -0
- package/data/components/illustrated-message.md +439 -0
- package/data/components/info-label.md +348 -0
- package/data/components/input-group.md +2068 -0
- package/data/components/label.md +66 -0
- package/data/components/layout-grid.md +447 -0
- package/data/components/layout-panel.md +261 -0
- package/data/components/layouts-layout-grid.md +608 -0
- package/data/components/layouts-paddings.md +133 -0
- package/data/components/layouts-section.md +287 -0
- package/data/components/list-2.md +148 -0
- package/data/components/list-3.md +735 -0
- package/data/components/list-list.md +790 -0
- package/data/components/list-object-list.md +1225 -0
- package/data/components/list.md +1286 -0
- package/data/components/media-queries.md +168 -0
- package/data/components/menu.md +946 -0
- package/data/components/message-box-docs-static-ai.md +149 -0
- package/data/components/message-box-docs-static.md +527 -0
- package/data/components/message-page-upload-collection.md +678 -0
- package/data/components/message-page.md +256 -0
- package/data/components/message-strip.md +977 -0
- package/data/components/message-toast.md +119 -0
- package/data/components/micro-process-flow.md +991 -0
- package/data/components/navigation-menu.md +366 -0
- package/data/components/navigation-navigation.md +1245 -0
- package/data/components/navigation.md +2604 -0
- package/data/components/numeric-content.md +317 -0
- package/data/components/object-attribute.md +96 -0
- package/data/components/object-identifier.md +227 -0
- package/data/components/object-marker.md +202 -0
- package/data/components/object-number.md +327 -0
- package/data/components/object-status.md +1538 -0
- package/data/components/off-screen.md +87 -0
- package/data/components/overflow.md +97 -0
- package/data/components/padding.md +122 -0
- package/data/components/paddings.md +130 -0
- package/data/components/page.md +300 -0
- package/data/components/pagination.md +672 -0
- package/data/components/panel-layouts.md +345 -0
- package/data/components/panel.md +514 -0
- package/data/components/patterns-label.md +74 -0
- package/data/components/popover-2.md +906 -0
- package/data/components/popover-ai.md +466 -0
- package/data/components/popover-btp.md +886 -0
- package/data/components/popover-deprecated.md +308 -0
- package/data/components/popover-message-popover.md +683 -0
- package/data/components/popover-notification.md +1511 -0
- package/data/components/popover-patterns.md +1100 -0
- package/data/components/popover-popover.md +1862 -0
- package/data/components/popover-quick-view.md +385 -0
- package/data/components/popover-timepicker.md +1836 -0
- package/data/components/popover-user-menu.md +1303 -0
- package/data/components/popover.md +1938 -0
- package/data/components/progress-indicator.md +351 -0
- package/data/components/prompt-input-ai.md +226 -0
- package/data/components/prompt-input.md +226 -0
- package/data/components/rating-indicator.md +1469 -0
- package/data/components/resizable-card-layout.md +951 -0
- package/data/components/scrollbar.md +86 -0
- package/data/components/search-field.md +287 -0
- package/data/components/section.md +250 -0
- package/data/components/segmented-button.md +324 -0
- package/data/components/shellbar.md +2183 -0
- package/data/components/side-nav.md +1562 -0
- package/data/components/skeleton.md +243 -0
- package/data/components/slider.md +395 -0
- package/data/components/splitter.md +353 -0
- package/data/components/table.md +2749 -0
- package/data/components/tabs.md +658 -0
- package/data/components/text-text.md +380 -0
- package/data/components/text.md +253 -0
- package/data/components/tile.md +1132 -0
- package/data/components/time.md +818 -0
- package/data/components/title.md +153 -0
- package/data/components/titles.md +83 -0
- package/data/components/token.md +311 -0
- package/data/components/tokenizer.md +398 -0
- package/data/components/tool-header.md +1352 -0
- package/data/components/tool-layout.md +199 -0
- package/data/components/toolbar-ai.md +174 -0
- package/data/components/toolbar-btp.md +526 -0
- package/data/components/toolbar-title-bar.md +473 -0
- package/data/components/toolbar.md +432 -0
- package/data/components/tree.md +1031 -0
- package/data/components/typography.md +435 -0
- package/data/components/variant-management.md +360 -0
- package/data/components/vertical-nav.md +589 -0
- package/data/components/wizard.md +1429 -0
- package/data/examples/Components/dialog/device-specifications.example.html +39 -30
- package/data/examples/Components/shellbar/optional-items.example.html +210 -157
- package/data/examples/Components/shellbar/overflow-toolbar.example.html +202 -177
- package/data/examples/Components/shellbar/responsive-paddings.example.html +217 -146
- package/data/examples/Components/shellbar/responsiveness.example.html +825 -613
- package/data/examples/Components/user-menu/default.example.html +241 -83
- package/data/schemas/badge.schema.json +1 -1
- package/data/schemas/button-split.schema.json +1 -1
- package/data/schemas/component-frontmatter.schema.json +123 -0
- package/data/schemas/component-markdown.schema.json +81 -0
- package/data/schemas/counter.schema.json +1 -1
- package/data/schemas/dynamic-page.schema.json +1 -1
- package/data/schemas/dynamic-side-content.schema.json +1 -1
- package/data/schemas/facet.schema.json +1 -1
- package/data/schemas/fieldset.schema.json +1 -1
- package/data/schemas/flexible-column-layout.schema.json +1 -1
- package/data/schemas/form-group.schema.json +3 -2
- package/data/schemas/form-header.schema.json +1 -1
- package/data/schemas/form-label.schema.json +1 -0
- package/data/schemas/form-message.schema.json +1 -1
- package/data/schemas/grid-list.schema.json +1 -1
- package/data/schemas/input-group.schema.json +1 -1
- package/data/schemas/layout-panel.schema.json +1 -1
- package/data/schemas/page.schema.json +1 -1
- package/data/schemas/quick-view.schema.json +2 -1
- package/data/schemas/section.schema.json +1 -1
- package/data/schemas/side-nav.schema.json +1 -1
- package/data/schemas/splitter.schema.json +1 -1
- package/data/schemas/tabs.schema.json +1 -1
- package/data/schemas/tile.schema.json +1 -1
- package/data/schemas/tool-layout.schema.json +1 -1
- package/data/schemas/user-menu.schema.json +10 -0
- package/data/schemas/wizard.schema.json +1 -1
- package/package.json +1 -1
- package/src/data/load-catalog.d.ts +2 -0
- package/src/data/load-catalog.js +5 -1
- package/src/data/load-catalog.js.map +1 -1
- package/src/data/load-markdown-docs.d.ts +44 -0
- package/src/data/load-markdown-docs.js +179 -0
- package/src/data/load-markdown-docs.js.map +1 -0
- package/src/data/markdown-cache.d.ts +60 -0
- package/src/data/markdown-cache.js +218 -0
- package/src/data/markdown-cache.js.map +1 -0
- package/src/server.js +72 -1
- package/src/server.js.map +1 -1
|
@@ -0,0 +1,818 @@
|
|
|
1
|
+
---
|
|
2
|
+
component: fd-time
|
|
3
|
+
title: Components/Time
|
|
4
|
+
category: Components
|
|
5
|
+
selector: fd-time
|
|
6
|
+
cssFile: time.css
|
|
7
|
+
sourcePath: packages/styles/stories/Components/time/time.stories.js
|
|
8
|
+
tags: []
|
|
9
|
+
dependencies: ["button","icon","time"]
|
|
10
|
+
relatedComponents: ["button","icon","time"]
|
|
11
|
+
stability: stable
|
|
12
|
+
generatedAt: 2026-06-09T18:29:01.339Z
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Components/Time
|
|
16
|
+
|
|
17
|
+
The time component is used to select a time value. It can be used to choose hours, minutes, seconds and/or a given period of the day. This component is rarely used alone and will likely be paired with the **Time Picker** pattern.
|
|
18
|
+
<br>
|
|
19
|
+
<br>
|
|
20
|
+
The time component consists of three main styles to indicate a specific state:
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
| Style | Modifier class | Description |
|
|
24
|
+
| -------------| :------------- | :-------------- |
|
|
25
|
+
| <li class='fd-time__item'><span class='fd-time__unit'>01</span></li> | <code>.fd-time__item</code> | Class used to style inactive time slider items. |
|
|
26
|
+
| <li class='fd-time__item fd-time__item--collapsed'><span class='fd-time__unit'>01</span></li> | <code>.fd-time__item--collapsed</code> | Class used to style collapsed time slider items. <br>When this item is displayed, all inactive items below/above it are collapsed (out of sight). |
|
|
27
|
+
| <li class='fd-time__item fd-time__item--current'><span class='fd-time__unit'>01</span></li> | <code>.fd-time__item--current</code> | Class used to style current (active) time slider items. |
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
##Usage
|
|
31
|
+
**Use the time component in Time Picker if:**
|
|
32
|
+
|
|
33
|
+
- You want the user to select a time.
|
|
34
|
+
- You want the user to select a time range. In this case, one time picker can be used to set the starting time and a second one to set the end time.
|
|
35
|
+
- You want the user to select a detailed duration, such as 1 minute and 30 seconds.
|
|
36
|
+
|
|
37
|
+
**Do not use the time component in Time Picker if:**
|
|
38
|
+
|
|
39
|
+
- You want the user to select a duration such as 15 minutes, 30 minutes, 1 hour, or 2 hours. In this case, use the **Select** component instead.
|
|
40
|
+
- You want the user to select a date and time. In this case, use the **Date Picker**.
|
|
41
|
+
<br>
|
|
42
|
+
|
|
43
|
+
## Usage Guidelines
|
|
44
|
+
|
|
45
|
+
**Use the time component in Time Picker if:**
|
|
46
|
+
|
|
47
|
+
- You want the user to select a time.
|
|
48
|
+
- You want the user to select a time range. In this case, one time picker can be used to set the starting time and a second one to set the end time.
|
|
49
|
+
- You want the user to select a detailed duration, such as 1 minute and 30 seconds.
|
|
50
|
+
|
|
51
|
+
## When Not To Use
|
|
52
|
+
|
|
53
|
+
- You want the user to select a duration such as 15 minutes, 30 minutes, 1 hour, or 2 hours. In this case, use the **Select** component instead.
|
|
54
|
+
- You want the user to select a date and time. In this case, use the **Date Picker**.
|
|
55
|
+
<br>
|
|
56
|
+
|
|
57
|
+
## Dependencies
|
|
58
|
+
|
|
59
|
+
This component depends on the following CSS files:
|
|
60
|
+
|
|
61
|
+
- `button.css`
|
|
62
|
+
- `icon.css`
|
|
63
|
+
- `time.css`
|
|
64
|
+
|
|
65
|
+
## Installation
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm install fundamental-styles
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
```html
|
|
72
|
+
<!-- Include theme -->
|
|
73
|
+
<link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
|
|
74
|
+
|
|
75
|
+
<!-- Include component CSS -->
|
|
76
|
+
<link href="node_modules/fundamental-styles/dist/time.css" rel="stylesheet">
|
|
77
|
+
|
|
78
|
+
<!-- Include dependencies -->
|
|
79
|
+
<link href="node_modules/fundamental-styles/dist/button.css" rel="stylesheet">
|
|
80
|
+
<link href="node_modules/fundamental-styles/dist/icon.css" rel="stylesheet">
|
|
81
|
+
<link href="node_modules/fundamental-styles/dist/time.css" rel="stylesheet">
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Basic Usage
|
|
85
|
+
|
|
86
|
+
```html
|
|
87
|
+
<div class='fd-time'>
|
|
88
|
+
<div class='fd-time__col'>
|
|
89
|
+
<label class='fd-time__slider-label'>Hrs</label>
|
|
90
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Increase hours'>
|
|
91
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
92
|
+
</button>
|
|
93
|
+
<div class='fd-time__wrapper fd-time__wrapper--active'>
|
|
94
|
+
<ul class='fd-time__list'>
|
|
95
|
+
<li class='fd-time__item'>
|
|
96
|
+
<span class='fd-time__unit'>01</span>
|
|
97
|
+
</li>
|
|
98
|
+
<li class='fd-time__item'>
|
|
99
|
+
<span class='fd-time__unit'>02</span>
|
|
100
|
+
</li>
|
|
101
|
+
<li class='fd-time__item'>
|
|
102
|
+
<span class='fd-time__unit'>03</span>
|
|
103
|
+
</li>
|
|
104
|
+
<li class='fd-time__item'>
|
|
105
|
+
|
|
106
|
+
<span class='fd-time__unit'>
|
|
107
|
+
04
|
|
108
|
+
</span>
|
|
109
|
+
</li>
|
|
110
|
+
<li class='fd-time__item'>
|
|
111
|
+
<span class='fd-time__unit'>05</span>
|
|
112
|
+
</li>
|
|
113
|
+
<li class='fd-time__item'>
|
|
114
|
+
<span class='fd-time__unit'>06</span>
|
|
115
|
+
</li>
|
|
116
|
+
<li class='fd-time__item'>
|
|
117
|
+
<span class='fd-time__unit'>07</span>
|
|
118
|
+
</li>
|
|
119
|
+
<li class='fd-time__item'>
|
|
120
|
+
<span class='fd-time__unit'>08</span>
|
|
121
|
+
</li>
|
|
122
|
+
<li class='fd-time__item'>
|
|
123
|
+
<span class='fd-time__unit'>09</span>
|
|
124
|
+
</li>
|
|
125
|
+
<li class='fd-time__item'>
|
|
126
|
+
<span class='fd-time__unit'>10</span>
|
|
127
|
+
</li>
|
|
128
|
+
</ul>
|
|
129
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Decrease hours'>
|
|
130
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
131
|
+
</button>
|
|
132
|
+
</div>
|
|
133
|
+
<div class='fd-time__col'>
|
|
134
|
+
<label class='fd-time__slider-label'>Min</label>
|
|
135
|
+
<div class='fd-time__wrapper'>
|
|
136
|
+
<span class='fd-time__item fd-time__item--collapsed'>25</span>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
|
|
141
|
+
<div class='fd-time'>
|
|
142
|
+
<div class='fd-time__col'>
|
|
143
|
+
<label class='fd-time__slider-label'>Hrs</label>
|
|
144
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Increase hours'>
|
|
145
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
146
|
+
</button>
|
|
147
|
+
<div class='fd-time__wrapper fd-time__wrapper--active'>
|
|
148
|
+
<ul class='fd-time__list'>
|
|
149
|
+
<li class='fd-time__item'>
|
|
150
|
+
<span class='fd-time__unit'>01</span>
|
|
151
|
+
</li>
|
|
152
|
+
<li class='fd-time__item'>
|
|
153
|
+
<span class='fd-time__unit'>02</span>
|
|
154
|
+
</li>
|
|
155
|
+
<li class='fd-time__item'>
|
|
156
|
+
<span class='fd-time__unit'>03</span>
|
|
157
|
+
</li>
|
|
158
|
+
<li class='fd-time__item'>
|
|
159
|
+
|
|
160
|
+
<span class='fd-time__unit'>
|
|
161
|
+
04
|
|
162
|
+
</span>
|
|
163
|
+
</li>
|
|
164
|
+
<li class='fd-time__item'>
|
|
165
|
+
<span class='fd-time__unit'>05</span>
|
|
166
|
+
</li>
|
|
167
|
+
<li class='fd-time__item'>
|
|
168
|
+
<span class='fd-time__unit'>06</span>
|
|
169
|
+
</li>
|
|
170
|
+
<li class='fd-time__item'>
|
|
171
|
+
<span class='fd-time__unit'>07</span>
|
|
172
|
+
</li>
|
|
173
|
+
<li class='fd-time__item'>
|
|
174
|
+
<span class='fd-time__unit'>08</span>
|
|
175
|
+
</li>
|
|
176
|
+
<li class='fd-time__item'>
|
|
177
|
+
<span class='fd-time__unit'>09</span>
|
|
178
|
+
</li>
|
|
179
|
+
<li class='fd-time__item'>
|
|
180
|
+
<span class='fd-time__unit'>10</span>
|
|
181
|
+
</li>
|
|
182
|
+
</ul>
|
|
183
|
+
</div>
|
|
184
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Decrease hours'>
|
|
185
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
186
|
+
</button>
|
|
187
|
+
</div>
|
|
188
|
+
<div class='fd-time__col'>
|
|
189
|
+
<label class='fd-time__slider-label'>Min</label>
|
|
190
|
+
<div class='fd-time__wrapper'>
|
|
191
|
+
<span class='fd-time__item fd-time__item--collapsed'>25</span>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
<div class='fd-time__col'>
|
|
195
|
+
<label class='fd-time__slider-label'>Sec</label>
|
|
196
|
+
<div class='fd-time__wrapper'>
|
|
197
|
+
<span class='fd-time__item fd-time__item--collapsed'>10</span>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
|
|
202
|
+
<div class='fd-time'>
|
|
203
|
+
<div class='fd-time__col'>
|
|
204
|
+
<label class='fd-time__slider-label'>Hrs</label>
|
|
205
|
+
<div class='fd-time__wrapper'>
|
|
206
|
+
<span class='fd-time__item fd-time__item--collapsed'>04</span>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
<div class='fd-time__col'>
|
|
210
|
+
<label class='fd-time__slider-label'>Min</label>
|
|
211
|
+
<div class='fd-time__wrapper'>
|
|
212
|
+
<span class='fd-time__item fd-time__item--collapsed'>25</span>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
<div class='fd-time__col'>
|
|
216
|
+
<label class='fd-time__slider-label'>Sec</label>
|
|
217
|
+
<div class='fd-time__wrapper'>
|
|
218
|
+
<span class='fd-time__item fd-time__item--collapsed'>10</span>
|
|
219
|
+
</div>
|
|
220
|
+
</div>
|
|
221
|
+
<div class='fd-time__col fd-time__col--period'>
|
|
222
|
+
<label class='fd-time__slider-label'>AM/PM</label>
|
|
223
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Change Meridian'>
|
|
224
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
225
|
+
</button>
|
|
226
|
+
<div class='fd-time__wrapper fd-time__wrapper--active fd-time__wrapper--meridian'>
|
|
227
|
+
<ul class='fd-time__list'>
|
|
228
|
+
<li class='fd-time__item'>
|
|
229
|
+
<span class='fd-time__unit'>
|
|
230
|
+
AM
|
|
231
|
+
</span>
|
|
232
|
+
|
|
233
|
+
</li>
|
|
234
|
+
<li class='fd-time__item'>
|
|
235
|
+
<span class='fd-time__unit'>
|
|
236
|
+
PM
|
|
237
|
+
</span>
|
|
238
|
+
</li>
|
|
239
|
+
</ul>
|
|
240
|
+
</div>
|
|
241
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Change Meridian'>
|
|
242
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
243
|
+
</button>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
## Modifiers
|
|
250
|
+
|
|
251
|
+
| Class | Description |
|
|
252
|
+
|-------|-------------|
|
|
253
|
+
| `fd-time--scrollable` | Time can be scrollable by adding the \ |
|
|
254
|
+
| `fd-time--tablet` | Time can be optimized for tablet screens, which adds padding on each side of the component |
|
|
255
|
+
|
|
256
|
+
## BEM Elements
|
|
257
|
+
|
|
258
|
+
This component uses the following BEM elements:
|
|
259
|
+
|
|
260
|
+
- `fd-time__col`
|
|
261
|
+
- `fd-time__col--period`
|
|
262
|
+
- `fd-time__current-indicator`
|
|
263
|
+
- `fd-time__item`
|
|
264
|
+
- `fd-time__item--collapsed`
|
|
265
|
+
- `fd-time__list`
|
|
266
|
+
- `fd-time__slider-label`
|
|
267
|
+
- `fd-time__unit`
|
|
268
|
+
- `fd-time__wrapper`
|
|
269
|
+
- `fd-time__wrapper--active`
|
|
270
|
+
- `fd-time__wrapper--meridian`
|
|
271
|
+
|
|
272
|
+
## Related Components
|
|
273
|
+
|
|
274
|
+
This component works with or depends on:
|
|
275
|
+
|
|
276
|
+
- `button`
|
|
277
|
+
- `icon`
|
|
278
|
+
- `time`
|
|
279
|
+
|
|
280
|
+
## Design Tokens
|
|
281
|
+
|
|
282
|
+
Key CSS variables used by this component:
|
|
283
|
+
|
|
284
|
+
- `--active`
|
|
285
|
+
- `--collapsed`
|
|
286
|
+
- `--current`
|
|
287
|
+
- `--fdTime_Dropdown_Padding`
|
|
288
|
+
- `--fdTime_Item_Height`
|
|
289
|
+
- `--fdTime_Text_Shadow`
|
|
290
|
+
- `--fdTime_Unit_Line_Height`
|
|
291
|
+
- `--fdTime_Wrapper_Height`
|
|
292
|
+
- `--hidden`
|
|
293
|
+
- `--meridian`
|
|
294
|
+
- `--sapButton_BorderCornerRadius`
|
|
295
|
+
- `--sapContent_Selected_Background`
|
|
296
|
+
- `--sapContent_Selected_Hover_Background`
|
|
297
|
+
- `--sapContent_Selected_TextColor`
|
|
298
|
+
- `--sapFontSmallSize`
|
|
299
|
+
|
|
300
|
+
*...and 5 more*
|
|
301
|
+
|
|
302
|
+
## Examples
|
|
303
|
+
|
|
304
|
+
### Default
|
|
305
|
+
|
|
306
|
+
The default time component is displayed in cozy mode, which is ideal for mobile screens.
|
|
307
|
+
|
|
308
|
+
Only one item and wrapper should be active at a time with the \
|
|
309
|
+
|
|
310
|
+
```html
|
|
311
|
+
<div class='fd-time'>
|
|
312
|
+
<div class='fd-time__col'>
|
|
313
|
+
<label class='fd-time__slider-label'>Hrs</label>
|
|
314
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Increase hours'>
|
|
315
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
316
|
+
</button>
|
|
317
|
+
<div class='fd-time__wrapper fd-time__wrapper--active'>
|
|
318
|
+
<ul class='fd-time__list'>
|
|
319
|
+
<li class='fd-time__item'>
|
|
320
|
+
<span class='fd-time__unit'>01</span>
|
|
321
|
+
</li>
|
|
322
|
+
<li class='fd-time__item'>
|
|
323
|
+
<span class='fd-time__unit'>02</span>
|
|
324
|
+
</li>
|
|
325
|
+
<li class='fd-time__item'>
|
|
326
|
+
<span class='fd-time__unit'>03</span>
|
|
327
|
+
</li>
|
|
328
|
+
<li class='fd-time__item'>
|
|
329
|
+
|
|
330
|
+
<span class='fd-time__unit'>
|
|
331
|
+
04
|
|
332
|
+
</span>
|
|
333
|
+
</li>
|
|
334
|
+
<li class='fd-time__item'>
|
|
335
|
+
<span class='fd-time__unit'>05</span>
|
|
336
|
+
</li>
|
|
337
|
+
<li class='fd-time__item'>
|
|
338
|
+
<span class='fd-time__unit'>06</span>
|
|
339
|
+
</li>
|
|
340
|
+
<li class='fd-time__item'>
|
|
341
|
+
<span class='fd-time__unit'>07</span>
|
|
342
|
+
</li>
|
|
343
|
+
<li class='fd-time__item'>
|
|
344
|
+
<span class='fd-time__unit'>08</span>
|
|
345
|
+
</li>
|
|
346
|
+
<li class='fd-time__item'>
|
|
347
|
+
<span class='fd-time__unit'>09</span>
|
|
348
|
+
</li>
|
|
349
|
+
<li class='fd-time__item'>
|
|
350
|
+
<span class='fd-time__unit'>10</span>
|
|
351
|
+
</li>
|
|
352
|
+
</ul>
|
|
353
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Decrease hours'>
|
|
354
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
355
|
+
</button>
|
|
356
|
+
</div>
|
|
357
|
+
<div class='fd-time__col'>
|
|
358
|
+
<label class='fd-time__slider-label'>Min</label>
|
|
359
|
+
<div class='fd-time__wrapper'>
|
|
360
|
+
<span class='fd-time__item fd-time__item--collapsed'>25</span>
|
|
361
|
+
</div>
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
|
|
365
|
+
<div class='fd-time'>
|
|
366
|
+
<div class='fd-time__col'>
|
|
367
|
+
<label class='fd-time__slider-label'>Hrs</label>
|
|
368
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Increase hours'>
|
|
369
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
370
|
+
</button>
|
|
371
|
+
<div class='fd-time__wrapper fd-time__wrapper--active'>
|
|
372
|
+
<ul class='fd-time__list'>
|
|
373
|
+
<li class='fd-time__item'>
|
|
374
|
+
<span class='fd-time__unit'>01</span>
|
|
375
|
+
</li>
|
|
376
|
+
<li class='fd-time__item'>
|
|
377
|
+
<span class='fd-time__unit'>02</span>
|
|
378
|
+
</li>
|
|
379
|
+
<li class='fd-time__item'>
|
|
380
|
+
<span class='fd-time__unit'>03</span>
|
|
381
|
+
</li>
|
|
382
|
+
<li class='fd-time__item'>
|
|
383
|
+
|
|
384
|
+
<span class='fd-time__unit'>
|
|
385
|
+
04
|
|
386
|
+
</span>
|
|
387
|
+
</li>
|
|
388
|
+
<li class='fd-time__item'>
|
|
389
|
+
<span class='fd-time__unit'>05</span>
|
|
390
|
+
</li>
|
|
391
|
+
<li class='fd-time__item'>
|
|
392
|
+
<span class='fd-time__unit'>06</span>
|
|
393
|
+
</li>
|
|
394
|
+
<li class='fd-time__item'>
|
|
395
|
+
<span class='fd-time__unit'>07</span>
|
|
396
|
+
</li>
|
|
397
|
+
<li class='fd-time__item'>
|
|
398
|
+
<span class='fd-time__unit'>08</span>
|
|
399
|
+
</li>
|
|
400
|
+
<li class='fd-time__item'>
|
|
401
|
+
<span class='fd-time__unit'>09</span>
|
|
402
|
+
</li>
|
|
403
|
+
<li class='fd-time__item'>
|
|
404
|
+
<span class='fd-time__unit'>10</span>
|
|
405
|
+
</li>
|
|
406
|
+
</ul>
|
|
407
|
+
</div>
|
|
408
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Decrease hours'>
|
|
409
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
410
|
+
</button>
|
|
411
|
+
</div>
|
|
412
|
+
<div class='fd-time__col'>
|
|
413
|
+
<label class='fd-time__slider-label'>Min</label>
|
|
414
|
+
<div class='fd-time__wrapper'>
|
|
415
|
+
<span class='fd-time__item fd-time__item--collapsed'>25</span>
|
|
416
|
+
</div>
|
|
417
|
+
</div>
|
|
418
|
+
<div class='fd-time__col'>
|
|
419
|
+
<label class='fd-time__slider-label'>Sec</label>
|
|
420
|
+
<div class='fd-time__wrapper'>
|
|
421
|
+
<span class='fd-time__item fd-time__item--collapsed'>10</span>
|
|
422
|
+
</div>
|
|
423
|
+
</div>
|
|
424
|
+
</div>
|
|
425
|
+
|
|
426
|
+
<div class='fd-time'>
|
|
427
|
+
<div class='fd-time__col'>
|
|
428
|
+
<label class='fd-time__slider-label'>Hrs</label>
|
|
429
|
+
<div class='fd-time__wrapper'>
|
|
430
|
+
<span class='fd-time__item fd-time__item--collapsed'>04</span>
|
|
431
|
+
</div>
|
|
432
|
+
</div>
|
|
433
|
+
<div class='fd-time__col'>
|
|
434
|
+
<label class='fd-time__slider-label'>Min</label>
|
|
435
|
+
<div class='fd-time__wrapper'>
|
|
436
|
+
<span class='fd-time__item fd-time__item--collapsed'>25</span>
|
|
437
|
+
</div>
|
|
438
|
+
</div>
|
|
439
|
+
<div class='fd-time__col'>
|
|
440
|
+
<label class='fd-time__slider-label'>Sec</label>
|
|
441
|
+
<div class='fd-time__wrapper'>
|
|
442
|
+
<span class='fd-time__item fd-time__item--collapsed'>10</span>
|
|
443
|
+
</div>
|
|
444
|
+
</div>
|
|
445
|
+
<div class='fd-time__col fd-time__col--period'>
|
|
446
|
+
<label class='fd-time__slider-label'>AM/PM</label>
|
|
447
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Change Meridian'>
|
|
448
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
449
|
+
</button>
|
|
450
|
+
<div class='fd-time__wrapper fd-time__wrapper--active fd-time__wrapper--meridian'>
|
|
451
|
+
<ul class='fd-time__list'>
|
|
452
|
+
<li class='fd-time__item'>
|
|
453
|
+
<span class='fd-time__unit'>
|
|
454
|
+
AM
|
|
455
|
+
</span>
|
|
456
|
+
|
|
457
|
+
</li>
|
|
458
|
+
<li class='fd-time__item'>
|
|
459
|
+
<span class='fd-time__unit'>
|
|
460
|
+
PM
|
|
461
|
+
</span>
|
|
462
|
+
</li>
|
|
463
|
+
</ul>
|
|
464
|
+
</div>
|
|
465
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Change Meridian'>
|
|
466
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
467
|
+
</button>
|
|
468
|
+
</div>
|
|
469
|
+
</div>
|
|
470
|
+
</div>
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
### Tablet
|
|
474
|
+
|
|
475
|
+
Time can be optimized for tablet screens, which adds padding on each side of the component. To display the time component for tablet, add the \
|
|
476
|
+
|
|
477
|
+
```html
|
|
478
|
+
<div class='fd-time fd-time--tablet'>
|
|
479
|
+
<div class='fd-time__col'>
|
|
480
|
+
<label class='fd-time__slider-label'>Hrs</label>
|
|
481
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Increase hours'>
|
|
482
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
483
|
+
</button>
|
|
484
|
+
<div class='fd-time__wrapper fd-time__wrapper--active'>
|
|
485
|
+
<ul class='fd-time__list'>
|
|
486
|
+
<li class='fd-time__item'>
|
|
487
|
+
<span class='fd-time__unit'>01</span>
|
|
488
|
+
</li>
|
|
489
|
+
<li class='fd-time__item'>
|
|
490
|
+
<span class='fd-time__unit'>02</span>
|
|
491
|
+
</li>
|
|
492
|
+
<li class='fd-time__item'>
|
|
493
|
+
<span class='fd-time__unit'>03</span>
|
|
494
|
+
</li>
|
|
495
|
+
<li class='fd-time__item'>
|
|
496
|
+
|
|
497
|
+
<span class='fd-time__unit'>
|
|
498
|
+
04
|
|
499
|
+
</span>
|
|
500
|
+
</li>
|
|
501
|
+
<li class='fd-time__item'>
|
|
502
|
+
<span class='fd-time__unit'>05</span>
|
|
503
|
+
</li>
|
|
504
|
+
<li class='fd-time__item'>
|
|
505
|
+
<span class='fd-time__unit'>06</span>
|
|
506
|
+
</li>
|
|
507
|
+
<li class='fd-time__item'>
|
|
508
|
+
<span class='fd-time__unit'>07</span>
|
|
509
|
+
</li>
|
|
510
|
+
<li class='fd-time__item'>
|
|
511
|
+
<span class='fd-time__unit'>08</span>
|
|
512
|
+
</li>
|
|
513
|
+
<li class='fd-time__item'>
|
|
514
|
+
<span class='fd-time__unit'>09</span>
|
|
515
|
+
</li>
|
|
516
|
+
<li class='fd-time__item'>
|
|
517
|
+
<span class='fd-time__unit'>10</span>
|
|
518
|
+
</li>
|
|
519
|
+
</ul>
|
|
520
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Decrease hours'>
|
|
521
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
522
|
+
</button>
|
|
523
|
+
</div>
|
|
524
|
+
<div class='fd-time__col'>
|
|
525
|
+
<label class='fd-time__slider-label'>Min</label>
|
|
526
|
+
<div class='fd-time__wrapper'>
|
|
527
|
+
<span class='fd-time__item fd-time__item--collapsed'>25</span>
|
|
528
|
+
</div>
|
|
529
|
+
</div>
|
|
530
|
+
</div>
|
|
531
|
+
|
|
532
|
+
<div class='fd-time fd-time--tablet'>
|
|
533
|
+
<div class='fd-time__col'>
|
|
534
|
+
<label class='fd-time__slider-label'>Hrs</label>
|
|
535
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Increase hours'>
|
|
536
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
537
|
+
</button>
|
|
538
|
+
<div class='fd-time__wrapper fd-time__wrapper--active'>
|
|
539
|
+
<ul class='fd-time__list'>
|
|
540
|
+
<li class='fd-time__item'>
|
|
541
|
+
<span class='fd-time__unit'>01</span>
|
|
542
|
+
</li>
|
|
543
|
+
<li class='fd-time__item'>
|
|
544
|
+
<span class='fd-time__unit'>02</span>
|
|
545
|
+
</li>
|
|
546
|
+
<li class='fd-time__item'>
|
|
547
|
+
<span class='fd-time__unit'>03</span>
|
|
548
|
+
</li>
|
|
549
|
+
<li class='fd-time__item'>
|
|
550
|
+
|
|
551
|
+
<span class='fd-time__unit'>
|
|
552
|
+
04
|
|
553
|
+
</span>
|
|
554
|
+
</li>
|
|
555
|
+
<li class='fd-time__item'>
|
|
556
|
+
<span class='fd-time__unit'>05</span>
|
|
557
|
+
</li>
|
|
558
|
+
<li class='fd-time__item'>
|
|
559
|
+
<span class='fd-time__unit'>06</span>
|
|
560
|
+
</li>
|
|
561
|
+
<li class='fd-time__item'>
|
|
562
|
+
<span class='fd-time__unit'>07</span>
|
|
563
|
+
</li>
|
|
564
|
+
<li class='fd-time__item'>
|
|
565
|
+
<span class='fd-time__unit'>08</span>
|
|
566
|
+
</li>
|
|
567
|
+
<li class='fd-time__item'>
|
|
568
|
+
<span class='fd-time__unit'>09</span>
|
|
569
|
+
</li>
|
|
570
|
+
<li class='fd-time__item'>
|
|
571
|
+
<span class='fd-time__unit'>10</span>
|
|
572
|
+
</li>
|
|
573
|
+
</ul>
|
|
574
|
+
</div>
|
|
575
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Decrease hours'>
|
|
576
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
577
|
+
</button>
|
|
578
|
+
</div>
|
|
579
|
+
<div class='fd-time__col'>
|
|
580
|
+
<label class='fd-time__slider-label'>Min</label>
|
|
581
|
+
<div class='fd-time__wrapper'>
|
|
582
|
+
<span class='fd-time__item fd-time__item--collapsed'>25</span>
|
|
583
|
+
</div>
|
|
584
|
+
</div>
|
|
585
|
+
<div class='fd-time__col'>
|
|
586
|
+
<label class='fd-time__slider-label'>Sec</label>
|
|
587
|
+
<div class='fd-time__wrapper'>
|
|
588
|
+
<span class='fd-time__item fd-time__item--collapsed'>10</span>
|
|
589
|
+
</div>
|
|
590
|
+
</div>
|
|
591
|
+
</div>
|
|
592
|
+
|
|
593
|
+
<div class='fd-time fd-time--tablet'>
|
|
594
|
+
<div class='fd-time__col'>
|
|
595
|
+
<label class='fd-time__slider-label'>Hrs</label>
|
|
596
|
+
<div class='fd-time__wrapper'>
|
|
597
|
+
<span class='fd-time__item fd-time__item--collapsed'>04</span>
|
|
598
|
+
</div>
|
|
599
|
+
</div>
|
|
600
|
+
<div class='fd-time__col'>
|
|
601
|
+
<label class='fd-time__slider-label'>Min</label>
|
|
602
|
+
<div class='fd-time__wrapper'>
|
|
603
|
+
<span class='fd-time__item fd-time__item--collapsed'>25</span>
|
|
604
|
+
</div>
|
|
605
|
+
</div>
|
|
606
|
+
<div class='fd-time__col'>
|
|
607
|
+
<label class='fd-time__slider-label'>Sec</label>
|
|
608
|
+
<div class='fd-time__wrapper'>
|
|
609
|
+
<span class='fd-time__item fd-time__item--collapsed'>10</span>
|
|
610
|
+
</div>
|
|
611
|
+
</div>
|
|
612
|
+
<div class='fd-time__col fd-time__col--period'>
|
|
613
|
+
<label class='fd-time__slider-label'>AM/PM</label>
|
|
614
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Change Meridian'>
|
|
615
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
616
|
+
</button>
|
|
617
|
+
<div class='fd-time__wrapper fd-time__wrapper--active fd-time__wrapper--meridian'>
|
|
618
|
+
<ul class='fd-time__list'>
|
|
619
|
+
<li class='fd-time__item'>
|
|
620
|
+
<span class='fd-time__unit'>
|
|
621
|
+
AM
|
|
622
|
+
</span>
|
|
623
|
+
|
|
624
|
+
</li>
|
|
625
|
+
<li class='fd-time__item'>
|
|
626
|
+
<span class='fd-time__unit'>
|
|
627
|
+
PM
|
|
628
|
+
</span>
|
|
629
|
+
</li>
|
|
630
|
+
</ul>
|
|
631
|
+
</div>
|
|
632
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Change Meridian'>
|
|
633
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
634
|
+
</button>
|
|
635
|
+
</div>
|
|
636
|
+
</div>
|
|
637
|
+
</div>
|
|
638
|
+
```
|
|
639
|
+
|
|
640
|
+
### Scrollable
|
|
641
|
+
|
|
642
|
+
Time can be scrollable by adding the \
|
|
643
|
+
|
|
644
|
+
```html
|
|
645
|
+
<div class="fd-time fd-time--scrollable">
|
|
646
|
+
<div class="fd-time__col">
|
|
647
|
+
<label class="fd-time__slider-label">Hrs</label>
|
|
648
|
+
<button class="fd-button fd-button--transparent" aria-label="Increase hours">
|
|
649
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
650
|
+
</button>
|
|
651
|
+
<div class="fd-time__wrapper fd-time__wrapper--active">
|
|
652
|
+
<ul class="fd-time__list">
|
|
653
|
+
<li class="fd-time__item">
|
|
654
|
+
<span class="fd-time__unit">01</span>
|
|
655
|
+
</li>
|
|
656
|
+
<li class="fd-time__item">
|
|
657
|
+
<span class="fd-time__unit">02</span>
|
|
658
|
+
</li>
|
|
659
|
+
<li class="fd-time__item">
|
|
660
|
+
<span class="fd-time__unit">03</span>
|
|
661
|
+
</li>
|
|
662
|
+
<li class="fd-time__item">
|
|
663
|
+
|
|
664
|
+
<span class="fd-time__unit">
|
|
665
|
+
04
|
|
666
|
+
</span>
|
|
667
|
+
</li>
|
|
668
|
+
<li class="fd-time__item">
|
|
669
|
+
<span class="fd-time__unit">05</span>
|
|
670
|
+
</li>
|
|
671
|
+
<li class="fd-time__item">
|
|
672
|
+
<span class="fd-time__unit">06</span>
|
|
673
|
+
</li>
|
|
674
|
+
<li class="fd-time__item">
|
|
675
|
+
<span class="fd-time__unit">07</span>
|
|
676
|
+
</li>
|
|
677
|
+
<li class="fd-time__item">
|
|
678
|
+
<span class="fd-time__unit">08</span>
|
|
679
|
+
</li>
|
|
680
|
+
<li class="fd-time__item">
|
|
681
|
+
<span class="fd-time__unit">09</span>
|
|
682
|
+
</li>
|
|
683
|
+
<li class="fd-time__item">
|
|
684
|
+
<span class="fd-time__unit">10</span>
|
|
685
|
+
</li>
|
|
686
|
+
</ul>
|
|
687
|
+
<button class='fd-button fd-button fd-button--transparent' aria-label='Decrease hours'>
|
|
688
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
689
|
+
</button>
|
|
690
|
+
</div>
|
|
691
|
+
<div class="fd-time__col">
|
|
692
|
+
<label class="fd-time__slider-label">Min</label>
|
|
693
|
+
<div class="fd-time__wrapper">
|
|
694
|
+
<span class="fd-time__item fd-time__item--collapsed">25</span>
|
|
695
|
+
</div>
|
|
696
|
+
</div>
|
|
697
|
+
</div>
|
|
698
|
+
|
|
699
|
+
<div class="fd-time fd-time--scrollable">
|
|
700
|
+
<div class="fd-time__col">
|
|
701
|
+
<label class="fd-time__slider-label">Hrs</label>
|
|
702
|
+
<button class="fd-button fd-button--transparent" aria-label="Increase hours">
|
|
703
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
704
|
+
</button>
|
|
705
|
+
<div class="fd-time__wrapper fd-time__wrapper--active">
|
|
706
|
+
<ul class="fd-time__list">
|
|
707
|
+
<li class="fd-time__item">
|
|
708
|
+
<span class="fd-time__unit">01</span>
|
|
709
|
+
</li>
|
|
710
|
+
<li class="fd-time__item">
|
|
711
|
+
<span class="fd-time__unit">02</span>
|
|
712
|
+
</li>
|
|
713
|
+
<li class="fd-time__item">
|
|
714
|
+
<span class="fd-time__unit">03</span>
|
|
715
|
+
</li>
|
|
716
|
+
<li class="fd-time__item">
|
|
717
|
+
|
|
718
|
+
<span class="fd-time__unit">
|
|
719
|
+
04
|
|
720
|
+
</span>
|
|
721
|
+
</li>
|
|
722
|
+
<li class="fd-time__item">
|
|
723
|
+
<span class="fd-time__unit">05</span>
|
|
724
|
+
</li>
|
|
725
|
+
<li class="fd-time__item">
|
|
726
|
+
<span class="fd-time__unit">06</span>
|
|
727
|
+
</li>
|
|
728
|
+
<li class="fd-time__item">
|
|
729
|
+
<span class="fd-time__unit">07</span>
|
|
730
|
+
</li>
|
|
731
|
+
<li class="fd-time__item">
|
|
732
|
+
<span class="fd-time__unit">08</span>
|
|
733
|
+
</li>
|
|
734
|
+
<li class="fd-time__item">
|
|
735
|
+
<span class="fd-time__unit">09</span>
|
|
736
|
+
</li>
|
|
737
|
+
<li class="fd-time__item">
|
|
738
|
+
<span class="fd-time__unit">10</span>
|
|
739
|
+
</li>
|
|
740
|
+
</ul>
|
|
741
|
+
</div>
|
|
742
|
+
<button class="fd-button fd-button--transparent" aria-label="Decrease hours">
|
|
743
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
744
|
+
</button>
|
|
745
|
+
</div>
|
|
746
|
+
<div class="fd-time__col">
|
|
747
|
+
<label class="fd-time__slider-label">Min</label>
|
|
748
|
+
<div class="fd-time__wrapper">
|
|
749
|
+
<span class="fd-time__item fd-time__item--collapsed">25</span>
|
|
750
|
+
</div>
|
|
751
|
+
</div>
|
|
752
|
+
<div class="fd-time__col">
|
|
753
|
+
<label class="fd-time__slider-label">Sec</label>
|
|
754
|
+
<div class="fd-time__wrapper">
|
|
755
|
+
<span class="fd-time__item fd-time__item--collapsed">10</span>
|
|
756
|
+
</div>
|
|
757
|
+
</div>
|
|
758
|
+
</div>
|
|
759
|
+
|
|
760
|
+
<div class="fd-time fd-time--scrollable">
|
|
761
|
+
<div class="fd-time__col">
|
|
762
|
+
<label class="fd-time__slider-label">Hrs</label>
|
|
763
|
+
<div class="fd-time__wrapper">
|
|
764
|
+
<span class="fd-time__item fd-time__item--collapsed">04</span>
|
|
765
|
+
</div>
|
|
766
|
+
</div>
|
|
767
|
+
<div class="fd-time__col">
|
|
768
|
+
<label class="fd-time__slider-label">Min</label>
|
|
769
|
+
<div class="fd-time__wrapper">
|
|
770
|
+
<span class="fd-time__item fd-time__item--collapsed">25</span>
|
|
771
|
+
</div>
|
|
772
|
+
</div>
|
|
773
|
+
<div class="fd-time__col">
|
|
774
|
+
<label class="fd-time__slider-label">Sec</label>
|
|
775
|
+
<div class="fd-time__wrapper">
|
|
776
|
+
<span class="fd-time__item fd-time__item--collapsed">10</span>
|
|
777
|
+
</div>
|
|
778
|
+
</div>
|
|
779
|
+
<div class="fd-time__col fd-time__col--period">
|
|
780
|
+
<label class="fd-time__slider-label">AM/PM</label>
|
|
781
|
+
<button class="fd-button fd-button--transparent" aria-label="Change Meridian">
|
|
782
|
+
<i class="sap-icon--navigation-up-arrow"></i>
|
|
783
|
+
</button>
|
|
784
|
+
<div class="fd-time__wrapper fd-time__wrapper--active fd-time__wrapper--meridian">
|
|
785
|
+
<ul class="fd-time__list">
|
|
786
|
+
<li class="fd-time__item">
|
|
787
|
+
<span class="fd-time__unit">
|
|
788
|
+
AM
|
|
789
|
+
</span>
|
|
790
|
+
|
|
791
|
+
</li>
|
|
792
|
+
<li class="fd-time__item">
|
|
793
|
+
<span class="fd-time__unit">
|
|
794
|
+
PM
|
|
795
|
+
</span>
|
|
796
|
+
</li>
|
|
797
|
+
</ul>
|
|
798
|
+
</div>
|
|
799
|
+
<button class="fd-button fd-button--transparent" aria-label="Change Meridian">
|
|
800
|
+
<i class="sap-icon--navigation-down-arrow"></i>
|
|
801
|
+
</button>
|
|
802
|
+
</div>
|
|
803
|
+
</div>
|
|
804
|
+
</div>
|
|
805
|
+
```
|
|
806
|
+
|
|
807
|
+
## Accessibility
|
|
808
|
+
|
|
809
|
+
- Use semantic HTML elements where appropriate
|
|
810
|
+
- Include proper ARIA attributes for interactive elements
|
|
811
|
+
- Ensure keyboard navigation support
|
|
812
|
+
- Provide adequate color contrast
|
|
813
|
+
|
|
814
|
+
## Source
|
|
815
|
+
|
|
816
|
+
This documentation was automatically generated from: `packages/styles/stories/Components/time/time.stories.js`
|
|
817
|
+
|
|
818
|
+
For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).
|