@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,1449 @@
|
|
|
1
|
+
---
|
|
2
|
+
component: fd-grid-list
|
|
3
|
+
title: Components/Grid List/Grid List
|
|
4
|
+
category: Components
|
|
5
|
+
selector: fd-grid-list
|
|
6
|
+
cssFile: grid-list.css
|
|
7
|
+
sourcePath: packages/styles/stories/Components/Grid List/list-grid/grid-list.stories.js
|
|
8
|
+
tags: []
|
|
9
|
+
dependencies: []
|
|
10
|
+
relatedComponents: []
|
|
11
|
+
stability: stable
|
|
12
|
+
generatedAt: 2026-06-09T18:29:01.583Z
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Components/Grid List/Grid List
|
|
16
|
+
|
|
17
|
+
As with the list and the responsive table, the grid list displays a set of items. In contrast to both controls, the grid list displays the items not in rows, but in a grid.
|
|
18
|
+
The grid list is usually used as an alternative view for a list or table. It is ideal for displaying images, charts, object cards, and other content, which profit from more height (but less width).
|
|
19
|
+
|
|
20
|
+
##Usage
|
|
21
|
+
**Use the grid list if:**
|
|
22
|
+
|
|
23
|
+
- Your content is “visual” and profits from the rectangular format of the items. This is true for e.g. images, charts, and object cards.
|
|
24
|
+
- The focus is on items, not on cells. The grid list shows complete items.
|
|
25
|
+
- You want to display a homogeneous set of basic data.
|
|
26
|
+
- You need to sort, group, or filter simple data sets.
|
|
27
|
+
- As an alternative view for tables or lists, if the content profits from the different format.
|
|
28
|
+
|
|
29
|
+
**Do not use the grid list if:**
|
|
30
|
+
|
|
31
|
+
- Your content is not appropriate for a card-like format. For example, do not use the grid list for displaying a wall of text. Use a table instead.
|
|
32
|
+
- The main use case is to select one item from a very small number of items, without viewing additional details. In this case, a select or combo box might be more appropriate.
|
|
33
|
+
- Data needs to be structured in a hierarchical manner. In this case, a tree might be more appropriate.
|
|
34
|
+
- You need an overview of a large amount of data. In this case, use a chart.
|
|
35
|
+
- You just need it for layout reasons. In this case, use a layout container such as the CSSGrid.
|
|
36
|
+
- You want to manage complex datasets that need to be extensively sorted, grouped, filtered, or edited. In this case, use a table.
|
|
37
|
+
|
|
38
|
+
## Usage Guidelines
|
|
39
|
+
|
|
40
|
+
**Use the grid list if:**
|
|
41
|
+
|
|
42
|
+
- Your content is “visual” and profits from the rectangular format of the items. This is true for e.g. images, charts, and object cards.
|
|
43
|
+
- The focus is on items, not on cells. The grid list shows complete items.
|
|
44
|
+
- You want to display a homogeneous set of basic data.
|
|
45
|
+
- You need to sort, group, or filter simple data sets.
|
|
46
|
+
- As an alternative view for tables or lists, if the content profits from the different format.
|
|
47
|
+
|
|
48
|
+
## When Not To Use
|
|
49
|
+
|
|
50
|
+
- Your content is not appropriate for a card-like format. For example, do not use the grid list for displaying a wall of text. Use a table instead.
|
|
51
|
+
- The main use case is to select one item from a very small number of items, without viewing additional details. In this case, a select or combo box might be more appropriate.
|
|
52
|
+
- Data needs to be structured in a hierarchical manner. In this case, a tree might be more appropriate.
|
|
53
|
+
- You need an overview of a large amount of data. In this case, use a chart.
|
|
54
|
+
- You just need it for layout reasons. In this case, use a layout container such as the CSSGrid.
|
|
55
|
+
- You want to manage complex datasets that need to be extensively sorted, grouped, filtered, or edited. In this case, use a table.
|
|
56
|
+
|
|
57
|
+
## Installation
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
npm install fundamental-styles
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
```html
|
|
64
|
+
<!-- Include theme -->
|
|
65
|
+
<link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
|
|
66
|
+
|
|
67
|
+
<!-- Include component CSS -->
|
|
68
|
+
<link href="node_modules/fundamental-styles/dist/grid-list.css" rel="stylesheet">
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Basic Usage
|
|
73
|
+
|
|
74
|
+
```html
|
|
75
|
+
<div class="fd-grid-list fd-grid-list--mode-delete">
|
|
76
|
+
<div class="fd-container">
|
|
77
|
+
<div class="fd-row">
|
|
78
|
+
<div class="fd-col fd-col--12">
|
|
79
|
+
<div class="fd-toolbar fd-toolbar--solid is-compact">
|
|
80
|
+
<span>Products (420)</span>
|
|
81
|
+
|
|
82
|
+
<span class="fd-toolbar__spacer"></span>
|
|
83
|
+
|
|
84
|
+
<button class="fd-button fd-button--transparent" aria-label="Sort">
|
|
85
|
+
<i class="sap-icon--sort"></i>
|
|
86
|
+
</button>
|
|
87
|
+
|
|
88
|
+
<button class="fd-button fd-button--transparent" aria-label="Filter">
|
|
89
|
+
<i class="sap-icon--filter"></i>
|
|
90
|
+
</button>
|
|
91
|
+
|
|
92
|
+
<button class="fd-button fd-button--transparent" aria-label="Group">
|
|
93
|
+
<i class="sap-icon--group-2"></i>
|
|
94
|
+
</button>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
<div class="fd-row">
|
|
99
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
100
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--link">
|
|
101
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
102
|
+
<span class="fd-toolbar__spacer"></span>
|
|
103
|
+
|
|
104
|
+
<span class="fd-grid-list__item-counter" aria-label="Item has 10 children">10</span>
|
|
105
|
+
|
|
106
|
+
<button class="fd-button fd-button--transparent" aria-label="Delete">
|
|
107
|
+
<i class="sap-icon--decline"></i>
|
|
108
|
+
</button>
|
|
109
|
+
|
|
110
|
+
<span class="fd-grid-list__item-navigation-indicator" aria-label="Navigation">
|
|
111
|
+
<i class="sap-icon--navigation-right-arrow"></i>
|
|
112
|
+
</span>
|
|
113
|
+
</div>
|
|
114
|
+
|
|
115
|
+
<div class="fd-grid-list__item-body">
|
|
116
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
117
|
+
|
|
118
|
+
<div class="fd-grid-list__item-header">
|
|
119
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
120
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
<div class="fd-grid-list__item-content">
|
|
124
|
+
<p>781 Main Street</p>
|
|
125
|
+
<p>Anytown, SD 57401</p>
|
|
126
|
+
<p>USA</p>
|
|
127
|
+
|
|
128
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
134
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
135
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
136
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
137
|
+
<span class="fd-toolbar__spacer"></span>
|
|
138
|
+
|
|
139
|
+
<button class="fd-button fd-button--transparent" aria-label="Edit">
|
|
140
|
+
<i class="sap-icon--edit"></i>
|
|
141
|
+
</button>
|
|
142
|
+
|
|
143
|
+
<button class="fd-button fd-button--transparent" aria-label="Delete">
|
|
144
|
+
<i class="sap-icon--decline"></i>
|
|
145
|
+
</button>
|
|
146
|
+
</div>
|
|
147
|
+
|
|
148
|
+
<div class="fd-grid-list__item-body">
|
|
149
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
150
|
+
|
|
151
|
+
<div class="fd-grid-list__item-header">
|
|
152
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
153
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<div class="fd-grid-list__item-content">
|
|
157
|
+
<p>781 Main Street</p>
|
|
158
|
+
<p>Anytown, SD 57401</p>
|
|
159
|
+
<p>USA</p>
|
|
160
|
+
|
|
161
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
168
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
169
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
170
|
+
<span class="fd-toolbar__spacer"></span>
|
|
171
|
+
|
|
172
|
+
<button class="fd-button fd-button--transparent" aria-label="Delete">
|
|
173
|
+
<i class="sap-icon--decline"></i>
|
|
174
|
+
</button>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<div class="fd-grid-list__item-body">
|
|
178
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
179
|
+
|
|
180
|
+
<div class="fd-grid-list__item-header">
|
|
181
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
182
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<div class="fd-grid-list__item-content">
|
|
186
|
+
<p>781 Main Street</p>
|
|
187
|
+
<p>Anytown, SD 57401</p>
|
|
188
|
+
<p>USA</p>
|
|
189
|
+
|
|
190
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
</div>
|
|
195
|
+
|
|
196
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
197
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
198
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
199
|
+
<span class="fd-toolbar__spacer"></span>
|
|
200
|
+
<button class="fd-button fd-button--transparent" aria-label="Delete">
|
|
201
|
+
<i class="sap-icon--decline"></i>
|
|
202
|
+
</button>
|
|
203
|
+
</div>
|
|
204
|
+
|
|
205
|
+
<div class="fd-grid-list__item-body">
|
|
206
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
207
|
+
|
|
208
|
+
<div class="fd-grid-list__item-header">
|
|
209
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
210
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
211
|
+
</div>
|
|
212
|
+
|
|
213
|
+
<div class="fd-grid-list__item-content">
|
|
214
|
+
<p>781 Main Street</p>
|
|
215
|
+
<p>Anytown, SD 57401</p>
|
|
216
|
+
<p>USA</p>
|
|
217
|
+
|
|
218
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
219
|
+
</div>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
## Modifiers
|
|
230
|
+
|
|
231
|
+
| Class | Description |
|
|
232
|
+
|-------|-------------|
|
|
233
|
+
| `fd-grid-list--mode-delete` | Style variant |
|
|
234
|
+
|
|
235
|
+
## States
|
|
236
|
+
|
|
237
|
+
| Class | Description |
|
|
238
|
+
|-------|-------------|
|
|
239
|
+
| `is-compact` | Compact state |
|
|
240
|
+
|
|
241
|
+
## BEM Elements
|
|
242
|
+
|
|
243
|
+
This component uses the following BEM elements:
|
|
244
|
+
|
|
245
|
+
- `fd-grid-list__filter`
|
|
246
|
+
- `fd-grid-list__footer`
|
|
247
|
+
- `fd-grid-list__group-header`
|
|
248
|
+
- `fd-grid-list__group-header--no-margin`
|
|
249
|
+
- `fd-grid-list__highlight`
|
|
250
|
+
- `fd-grid-list__highlight--critical`
|
|
251
|
+
- `fd-grid-list__highlight--negative`
|
|
252
|
+
- `fd-grid-list__highlight--neutral`
|
|
253
|
+
- `fd-grid-list__highlight--positive`
|
|
254
|
+
- `fd-grid-list__item`
|
|
255
|
+
- `fd-grid-list__item--draft`
|
|
256
|
+
- `fd-grid-list__item--height-auto`
|
|
257
|
+
- `fd-grid-list__item--link`
|
|
258
|
+
- `fd-grid-list__item--locked`
|
|
259
|
+
- `fd-grid-list__item--unread`
|
|
260
|
+
- `fd-grid-list__item-body`
|
|
261
|
+
- `fd-grid-list__item-body-actions`
|
|
262
|
+
- `fd-grid-list__item-content`
|
|
263
|
+
- `fd-grid-list__item-counter`
|
|
264
|
+
- `fd-grid-list__item-header`
|
|
265
|
+
- `fd-grid-list__item-image`
|
|
266
|
+
- `fd-grid-list__item-navigation-indicator`
|
|
267
|
+
- `fd-grid-list__item-subtitle`
|
|
268
|
+
- `fd-grid-list__item-title`
|
|
269
|
+
- `fd-grid-list__item-toolbar`
|
|
270
|
+
- `fd-grid-list__more`
|
|
271
|
+
- `fd-grid-list__more-description`
|
|
272
|
+
- `fd-grid-list__more-title`
|
|
273
|
+
|
|
274
|
+
## Examples
|
|
275
|
+
|
|
276
|
+
### Delete mode
|
|
277
|
+
|
|
278
|
+
This places a Delete button on the right side of an item toolbar.
|
|
279
|
+
To turn on the Delete mode, add the \
|
|
280
|
+
|
|
281
|
+
```html
|
|
282
|
+
<div class="fd-grid-list fd-grid-list--mode-delete">
|
|
283
|
+
<div class="fd-container">
|
|
284
|
+
<div class="fd-row">
|
|
285
|
+
<div class="fd-col fd-col--12">
|
|
286
|
+
<div class="fd-toolbar fd-toolbar--solid is-compact">
|
|
287
|
+
<span>Products (420)</span>
|
|
288
|
+
|
|
289
|
+
<span class="fd-toolbar__spacer"></span>
|
|
290
|
+
|
|
291
|
+
<button class="fd-button fd-button--transparent" aria-label="Sort">
|
|
292
|
+
<i class="sap-icon--sort"></i>
|
|
293
|
+
</button>
|
|
294
|
+
|
|
295
|
+
<button class="fd-button fd-button--transparent" aria-label="Filter">
|
|
296
|
+
<i class="sap-icon--filter"></i>
|
|
297
|
+
</button>
|
|
298
|
+
|
|
299
|
+
<button class="fd-button fd-button--transparent" aria-label="Group">
|
|
300
|
+
<i class="sap-icon--group-2"></i>
|
|
301
|
+
</button>
|
|
302
|
+
</div>
|
|
303
|
+
</div>
|
|
304
|
+
|
|
305
|
+
<div class="fd-row">
|
|
306
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
307
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--link">
|
|
308
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
309
|
+
<span class="fd-toolbar__spacer"></span>
|
|
310
|
+
|
|
311
|
+
<span class="fd-grid-list__item-counter" aria-label="Item has 10 children">10</span>
|
|
312
|
+
|
|
313
|
+
<button class="fd-button fd-button--transparent" aria-label="Delete">
|
|
314
|
+
<i class="sap-icon--decline"></i>
|
|
315
|
+
</button>
|
|
316
|
+
|
|
317
|
+
<span class="fd-grid-list__item-navigation-indicator" aria-label="Navigation">
|
|
318
|
+
<i class="sap-icon--navigation-right-arrow"></i>
|
|
319
|
+
</span>
|
|
320
|
+
</div>
|
|
321
|
+
|
|
322
|
+
<div class="fd-grid-list__item-body">
|
|
323
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
324
|
+
|
|
325
|
+
<div class="fd-grid-list__item-header">
|
|
326
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
327
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
328
|
+
</div>
|
|
329
|
+
|
|
330
|
+
<div class="fd-grid-list__item-content">
|
|
331
|
+
<p>781 Main Street</p>
|
|
332
|
+
<p>Anytown, SD 57401</p>
|
|
333
|
+
<p>USA</p>
|
|
334
|
+
|
|
335
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
336
|
+
</div>
|
|
337
|
+
</div>
|
|
338
|
+
</div>
|
|
339
|
+
</div>
|
|
340
|
+
|
|
341
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
342
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
343
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
344
|
+
<span class="fd-toolbar__spacer"></span>
|
|
345
|
+
|
|
346
|
+
<button class="fd-button fd-button--transparent" aria-label="Edit">
|
|
347
|
+
<i class="sap-icon--edit"></i>
|
|
348
|
+
</button>
|
|
349
|
+
|
|
350
|
+
<button class="fd-button fd-button--transparent" aria-label="Delete">
|
|
351
|
+
<i class="sap-icon--decline"></i>
|
|
352
|
+
</button>
|
|
353
|
+
</div>
|
|
354
|
+
|
|
355
|
+
<div class="fd-grid-list__item-body">
|
|
356
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
357
|
+
|
|
358
|
+
<div class="fd-grid-list__item-header">
|
|
359
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
360
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
361
|
+
</div>
|
|
362
|
+
|
|
363
|
+
<div class="fd-grid-list__item-content">
|
|
364
|
+
<p>781 Main Street</p>
|
|
365
|
+
<p>Anytown, SD 57401</p>
|
|
366
|
+
<p>USA</p>
|
|
367
|
+
|
|
368
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
371
|
+
</div>
|
|
372
|
+
</div>
|
|
373
|
+
|
|
374
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
375
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
376
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
377
|
+
<span class="fd-toolbar__spacer"></span>
|
|
378
|
+
|
|
379
|
+
<button class="fd-button fd-button--transparent" aria-label="Delete">
|
|
380
|
+
<i class="sap-icon--decline"></i>
|
|
381
|
+
</button>
|
|
382
|
+
</div>
|
|
383
|
+
|
|
384
|
+
<div class="fd-grid-list__item-body">
|
|
385
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
386
|
+
|
|
387
|
+
<div class="fd-grid-list__item-header">
|
|
388
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
389
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
390
|
+
</div>
|
|
391
|
+
|
|
392
|
+
<div class="fd-grid-list__item-content">
|
|
393
|
+
<p>781 Main Street</p>
|
|
394
|
+
<p>Anytown, SD 57401</p>
|
|
395
|
+
<p>USA</p>
|
|
396
|
+
|
|
397
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
398
|
+
</div>
|
|
399
|
+
</div>
|
|
400
|
+
</div>
|
|
401
|
+
</div>
|
|
402
|
+
|
|
403
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
404
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
405
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
406
|
+
<span class="fd-toolbar__spacer"></span>
|
|
407
|
+
<button class="fd-button fd-button--transparent" aria-label="Delete">
|
|
408
|
+
<i class="sap-icon--decline"></i>
|
|
409
|
+
</button>
|
|
410
|
+
</div>
|
|
411
|
+
|
|
412
|
+
<div class="fd-grid-list__item-body">
|
|
413
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
414
|
+
|
|
415
|
+
<div class="fd-grid-list__item-header">
|
|
416
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
417
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
418
|
+
</div>
|
|
419
|
+
|
|
420
|
+
<div class="fd-grid-list__item-content">
|
|
421
|
+
<p>781 Main Street</p>
|
|
422
|
+
<p>Anytown, SD 57401</p>
|
|
423
|
+
<p>USA</p>
|
|
424
|
+
|
|
425
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
426
|
+
</div>
|
|
427
|
+
</div>
|
|
428
|
+
</div>
|
|
429
|
+
</div>
|
|
430
|
+
</div>
|
|
431
|
+
</div>
|
|
432
|
+
</div>
|
|
433
|
+
</div>
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
### Group
|
|
437
|
+
|
|
438
|
+
If grouped, a group header is displayed above all items which belong to the corresponding group. The group header is not interactive.
|
|
439
|
+
To create grid list group headers use \
|
|
440
|
+
|
|
441
|
+
```html
|
|
442
|
+
<div class="fd-grid-list">
|
|
443
|
+
<div class="fd-container">
|
|
444
|
+
<div class="fd-row">
|
|
445
|
+
<div class="fd-col fd-col--12">
|
|
446
|
+
<div class="fd-toolbar is-compact fd-toolbar--solid">
|
|
447
|
+
<span>Products (420)</span>
|
|
448
|
+
|
|
449
|
+
<span class="fd-toolbar__spacer"></span>
|
|
450
|
+
|
|
451
|
+
<button class="fd-button fd-button--transparent" aria-label="Sort">
|
|
452
|
+
<i class="sap-icon--sort"></i>
|
|
453
|
+
</button>
|
|
454
|
+
|
|
455
|
+
<button class="fd-button fd-button--transparent" aria-label="Filter">
|
|
456
|
+
<i class="sap-icon--filter"></i>
|
|
457
|
+
</button>
|
|
458
|
+
|
|
459
|
+
<button class="fd-button fd-button--transparent" aria-label="Group">
|
|
460
|
+
<i class="sap-icon--group-2"></i>
|
|
461
|
+
</button>
|
|
462
|
+
</div>
|
|
463
|
+
</div>
|
|
464
|
+
|
|
465
|
+
<div class="fd-row">
|
|
466
|
+
<div class="fd-col fd-col--12">
|
|
467
|
+
<div class="fd-grid-list__group-header fd-grid-list__group-header--no-margin" tabindex="0" aria-label="Group Title: Grouped by Company A">
|
|
468
|
+
Company: Company A
|
|
469
|
+
</div>
|
|
470
|
+
</div>
|
|
471
|
+
|
|
472
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
473
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--link">
|
|
474
|
+
<div class="fd-toolbar fd-grid-list__item-toolbar">
|
|
475
|
+
<span class="fd-toolbar__spacer"></span>
|
|
476
|
+
|
|
477
|
+
<span class="fd-grid-list__item-counter" aria-label="Item has 10 children">10</span>
|
|
478
|
+
|
|
479
|
+
<span class="fd-grid-list__item-navigation-indicator" aria-label="Navigation">
|
|
480
|
+
<i class="sap-icon--navigation-right-arrow"></i>
|
|
481
|
+
</span>
|
|
482
|
+
</div>
|
|
483
|
+
|
|
484
|
+
<div class="fd-grid-list__item-body">
|
|
485
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
486
|
+
|
|
487
|
+
<div class="fd-grid-list__item-header">
|
|
488
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
489
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
490
|
+
</div>
|
|
491
|
+
|
|
492
|
+
<div class="fd-grid-list__item-content">
|
|
493
|
+
<p>781 Main Street</p>
|
|
494
|
+
<p>Anytown, SD 57401</p>
|
|
495
|
+
<p>USA</p>
|
|
496
|
+
|
|
497
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
498
|
+
</div>
|
|
499
|
+
</div>
|
|
500
|
+
</div>
|
|
501
|
+
</div>
|
|
502
|
+
|
|
503
|
+
<div tabindex="0" class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
504
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
505
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
506
|
+
<span class="fd-toolbar__spacer"></span>
|
|
507
|
+
|
|
508
|
+
<button class="fd-button fd-button--transparent" aria-label="Edit">
|
|
509
|
+
<i class="sap-icon--edit"></i>
|
|
510
|
+
</button>
|
|
511
|
+
</div>
|
|
512
|
+
|
|
513
|
+
<div class="fd-grid-list__item-body">
|
|
514
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
515
|
+
|
|
516
|
+
<div class="fd-grid-list__item-header">
|
|
517
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
518
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
519
|
+
</div>
|
|
520
|
+
|
|
521
|
+
<div class="fd-grid-list__item-content">
|
|
522
|
+
<p>781 Main Street</p>
|
|
523
|
+
<p>Anytown, SD 57401</p>
|
|
524
|
+
<p>USA</p>
|
|
525
|
+
|
|
526
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
527
|
+
</div>
|
|
528
|
+
</div>
|
|
529
|
+
</div>
|
|
530
|
+
</div>
|
|
531
|
+
|
|
532
|
+
<div class="fd-col fd-col--12">
|
|
533
|
+
<div class="fd-grid-list__group-header" tabindex="0" aria-label="Group Title: Grouped by Company B">
|
|
534
|
+
Company: Company B
|
|
535
|
+
</div>
|
|
536
|
+
</div>
|
|
537
|
+
|
|
538
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
539
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
540
|
+
<div class="fd-grid-list__item-body">
|
|
541
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
542
|
+
|
|
543
|
+
<div class="fd-grid-list__item-header">
|
|
544
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
545
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
546
|
+
</div>
|
|
547
|
+
|
|
548
|
+
<div class="fd-grid-list__item-content">
|
|
549
|
+
<p>781 Main Street</p>
|
|
550
|
+
<p>Anytown, SD 57401</p>
|
|
551
|
+
<p>USA</p>
|
|
552
|
+
|
|
553
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
554
|
+
</div>
|
|
555
|
+
</div>
|
|
556
|
+
</div>
|
|
557
|
+
</div>
|
|
558
|
+
|
|
559
|
+
<div tabindex="0" class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
560
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
561
|
+
<div class="fd-grid-list__item-body">
|
|
562
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
563
|
+
|
|
564
|
+
<div class="fd-grid-list__item-header">
|
|
565
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
566
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
567
|
+
</div>
|
|
568
|
+
|
|
569
|
+
<div class="fd-grid-list__item-content">
|
|
570
|
+
<p>781 Main Street</p>
|
|
571
|
+
<p>Anytown, SD 57401</p>
|
|
572
|
+
<p>USA</p>
|
|
573
|
+
|
|
574
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
575
|
+
</div>
|
|
576
|
+
</div>
|
|
577
|
+
</div>
|
|
578
|
+
</div>
|
|
579
|
+
</div>
|
|
580
|
+
</div>
|
|
581
|
+
</div>
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
### States
|
|
585
|
+
|
|
586
|
+
To apply state, add the corresponding class \
|
|
587
|
+
|
|
588
|
+
```html
|
|
589
|
+
<div class="fd-grid-list">
|
|
590
|
+
<div class="fd-container">
|
|
591
|
+
<div class="fd-row">
|
|
592
|
+
<div class="fd-col fd-col--12">
|
|
593
|
+
<div class="fd-toolbar is-compact fd-toolbar--solid">
|
|
594
|
+
<span>Products (420)</span>
|
|
595
|
+
|
|
596
|
+
<span class="fd-toolbar__spacer"></span>
|
|
597
|
+
|
|
598
|
+
<button class="fd-button fd-button--transparent" aria-label="Sort">
|
|
599
|
+
<i class="sap-icon--sort"></i>
|
|
600
|
+
</button>
|
|
601
|
+
|
|
602
|
+
<button class="fd-button fd-button--transparent" aria-label="Filter">
|
|
603
|
+
<i class="sap-icon--filter"></i>
|
|
604
|
+
</button>
|
|
605
|
+
|
|
606
|
+
<button class="fd-button fd-button--transparent" aria-label="Group">
|
|
607
|
+
<i class="sap-icon--group-2"></i>
|
|
608
|
+
</button>
|
|
609
|
+
</div>
|
|
610
|
+
</div>
|
|
611
|
+
|
|
612
|
+
<div class="fd-row">
|
|
613
|
+
<div class="fd-col fd-col--12">
|
|
614
|
+
<div class="fd-grid-list__group-header fd-grid-list__group-header--no-margin" tabindex="0" aria-label="Group Title: Unread">
|
|
615
|
+
State: Unread
|
|
616
|
+
</div>
|
|
617
|
+
</div>
|
|
618
|
+
|
|
619
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
620
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--link fd-grid-list__item--unread">
|
|
621
|
+
<div class="fd-toolbar fd-grid-list__item-toolbar">
|
|
622
|
+
<span class="fd-toolbar__spacer"></span>
|
|
623
|
+
|
|
624
|
+
<span class="fd-grid-list__item-counter" aria-label="Item has 10 children">10</span>
|
|
625
|
+
|
|
626
|
+
<span class="fd-grid-list__item-navigation-indicator" aria-label="Navigation">
|
|
627
|
+
<i class="sap-icon--navigation-right-arrow"></i>
|
|
628
|
+
</span>
|
|
629
|
+
</div>
|
|
630
|
+
|
|
631
|
+
<div class="fd-grid-list__item-body">
|
|
632
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
633
|
+
|
|
634
|
+
<div class="fd-grid-list__item-header">
|
|
635
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
636
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
637
|
+
</div>
|
|
638
|
+
|
|
639
|
+
<div class="fd-grid-list__item-content">
|
|
640
|
+
<p>781 Main Street</p>
|
|
641
|
+
<p>Anytown, SD 57401</p>
|
|
642
|
+
<p>USA</p>
|
|
643
|
+
|
|
644
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">john_li@example.com</span></a>
|
|
645
|
+
</div>
|
|
646
|
+
</div>
|
|
647
|
+
</div>
|
|
648
|
+
</div>
|
|
649
|
+
|
|
650
|
+
<div class="fd-col fd-col--12">
|
|
651
|
+
<div class="fd-grid-list__group-header" tabindex="0" aria-label="Group Title: Error">
|
|
652
|
+
State: Error
|
|
653
|
+
</div>
|
|
654
|
+
</div>
|
|
655
|
+
|
|
656
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
657
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
658
|
+
<span class="fd-grid-list__highlight fd-grid-list__highlight--negative" aria-label="Item is highlighted. Status: negative."></span>
|
|
659
|
+
|
|
660
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
661
|
+
<span class="fd-toolbar__spacer"></span>
|
|
662
|
+
|
|
663
|
+
<button class="fd-button fd-button--transparent" aria-label="Edit">
|
|
664
|
+
<i class="sap-icon--edit"></i>
|
|
665
|
+
</button>
|
|
666
|
+
</div>
|
|
667
|
+
|
|
668
|
+
<div class="fd-grid-list__item-body">
|
|
669
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
670
|
+
|
|
671
|
+
<div class="fd-grid-list__item-header">
|
|
672
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
673
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
674
|
+
</div>
|
|
675
|
+
|
|
676
|
+
<div class="fd-grid-list__item-content">
|
|
677
|
+
<p>781 Main Street</p>
|
|
678
|
+
<p>Anytown, SD 57401</p>
|
|
679
|
+
<p>USA</p>
|
|
680
|
+
|
|
681
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
682
|
+
</div>
|
|
683
|
+
|
|
684
|
+
<div class="fd-grid-list__item-body-actions">
|
|
685
|
+
<span class="fd-object-status fd-object-status--negative">
|
|
686
|
+
<span class="fd-object-status__text">(Contains errors)</span>
|
|
687
|
+
</span>
|
|
688
|
+
</div>
|
|
689
|
+
</div>
|
|
690
|
+
</div>
|
|
691
|
+
</div>
|
|
692
|
+
|
|
693
|
+
<div class="fd-col fd-col--12">
|
|
694
|
+
<div class="fd-grid-list__group-header" tabindex="0">
|
|
695
|
+
State: Locked
|
|
696
|
+
</div>
|
|
697
|
+
</div>
|
|
698
|
+
|
|
699
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
700
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--locked">
|
|
701
|
+
<div class="fd-grid-list__item-body">
|
|
702
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
703
|
+
|
|
704
|
+
<div class="fd-grid-list__item-header">
|
|
705
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
706
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
707
|
+
</div>
|
|
708
|
+
|
|
709
|
+
<div class="fd-grid-list__item-content">
|
|
710
|
+
<p>781 Main Street</p>
|
|
711
|
+
<p>Anytown, SD 57401</p>
|
|
712
|
+
<p>USA</p>
|
|
713
|
+
|
|
714
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
715
|
+
</div>
|
|
716
|
+
|
|
717
|
+
<div class="fd-grid-list__item-body-actions">
|
|
718
|
+
<button class="fd-button is-compact fd-button--transparent" aria-label="Locked">
|
|
719
|
+
<i class="sap-icon--private"></i>
|
|
720
|
+
<span class="fd-button__text">Locked</span>
|
|
721
|
+
</button>
|
|
722
|
+
</div>
|
|
723
|
+
</div>
|
|
724
|
+
</div>
|
|
725
|
+
</div>
|
|
726
|
+
|
|
727
|
+
<div class="fd-col fd-col--12">
|
|
728
|
+
<div class="fd-grid-list__group-header" tabindex="0">
|
|
729
|
+
State: Draft
|
|
730
|
+
</div>
|
|
731
|
+
</div>
|
|
732
|
+
|
|
733
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
734
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--draft">
|
|
735
|
+
<div class="fd-grid-list__item-body">
|
|
736
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
737
|
+
|
|
738
|
+
<div class="fd-grid-list__item-header">
|
|
739
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
740
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
741
|
+
</div>
|
|
742
|
+
|
|
743
|
+
<div class="fd-grid-list__item-content">
|
|
744
|
+
<p>781 Main Street</p>
|
|
745
|
+
<p>Anytown, SD 57401</p>
|
|
746
|
+
<p>USA</p>
|
|
747
|
+
|
|
748
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
749
|
+
</div>
|
|
750
|
+
|
|
751
|
+
<div class="fd-grid-list__item-body-actions">
|
|
752
|
+
<button class="fd-button is-compact fd-button--transparent" aria-label="Draft">
|
|
753
|
+
Draft
|
|
754
|
+
</button>
|
|
755
|
+
</div>
|
|
756
|
+
</div>
|
|
757
|
+
</div>
|
|
758
|
+
</div>
|
|
759
|
+
</div>
|
|
760
|
+
</div>
|
|
761
|
+
</div>
|
|
762
|
+
</div>
|
|
763
|
+
```
|
|
764
|
+
|
|
765
|
+
### Highlight
|
|
766
|
+
|
|
767
|
+
A highlight indicator is shown in front of the item it needs to show that an item needs attention.
|
|
768
|
+
To add highlight indicator, add a span element with \
|
|
769
|
+
|
|
770
|
+
```html
|
|
771
|
+
<div class="fd-grid-list">
|
|
772
|
+
<div class="fd-container">
|
|
773
|
+
<div class="fd-row">
|
|
774
|
+
<div class="fd-col fd-col--12">
|
|
775
|
+
<div class="fd-toolbar is-compact fd-toolbar--solid">
|
|
776
|
+
<span>Products (420)</span>
|
|
777
|
+
|
|
778
|
+
<span class="fd-toolbar__spacer"></span>
|
|
779
|
+
|
|
780
|
+
<button class="fd-button fd-button--transparent" aria-label="Sort">
|
|
781
|
+
<i class="sap-icon--sort"></i>
|
|
782
|
+
</button>
|
|
783
|
+
|
|
784
|
+
<button class="fd-button fd-button--transparent" aria-label="Filter">
|
|
785
|
+
<i class="sap-icon--filter"></i>
|
|
786
|
+
</button>
|
|
787
|
+
|
|
788
|
+
<button class="fd-button fd-button--transparent" aria-label="Group">
|
|
789
|
+
<i class="sap-icon--group-2"></i>
|
|
790
|
+
</button>
|
|
791
|
+
</div>
|
|
792
|
+
</div>
|
|
793
|
+
|
|
794
|
+
<div class="fd-row">
|
|
795
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
796
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--link">
|
|
797
|
+
<span class="fd-grid-list__highlight fd-grid-list__highlight--positive" aria-label="Item is highlighted. Status: positive."></span>
|
|
798
|
+
|
|
799
|
+
<div class="fd-toolbar fd-grid-list__item-toolbar">
|
|
800
|
+
<span class="fd-toolbar__spacer"></span>
|
|
801
|
+
|
|
802
|
+
<span class="fd-grid-list__item-counter" aria-label="Item has 10 children">10</span>
|
|
803
|
+
|
|
804
|
+
<span class="fd-grid-list__item-navigation-indicator" aria-label="Navigation">
|
|
805
|
+
<i class="sap-icon--navigation-right-arrow"></i>
|
|
806
|
+
</span>
|
|
807
|
+
</div>
|
|
808
|
+
|
|
809
|
+
<div class="fd-grid-list__item-body">
|
|
810
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
811
|
+
|
|
812
|
+
<div class="fd-grid-list__item-header">
|
|
813
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
814
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
815
|
+
</div>
|
|
816
|
+
|
|
817
|
+
<div class="fd-grid-list__item-content">
|
|
818
|
+
<p>781 Main Street</p>
|
|
819
|
+
<p>Anytown, SD 57401</p>
|
|
820
|
+
<p>USA</p>
|
|
821
|
+
|
|
822
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
823
|
+
</div>
|
|
824
|
+
</div>
|
|
825
|
+
</div>
|
|
826
|
+
</div>
|
|
827
|
+
|
|
828
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
829
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
830
|
+
<span class="fd-grid-list__highlight fd-grid-list__highlight--negative" aria-label="Item is highlighted. Status: negative."></span>
|
|
831
|
+
|
|
832
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
833
|
+
<span class="fd-toolbar__spacer"></span>
|
|
834
|
+
|
|
835
|
+
<button class="fd-button fd-button--transparent" aria-label="Edit">
|
|
836
|
+
<i class="sap-icon--edit"></i>
|
|
837
|
+
</button>
|
|
838
|
+
</div>
|
|
839
|
+
|
|
840
|
+
<div class="fd-grid-list__item-body">
|
|
841
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
842
|
+
|
|
843
|
+
<div class="fd-grid-list__item-header">
|
|
844
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
845
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
846
|
+
</div>
|
|
847
|
+
|
|
848
|
+
<div class="fd-grid-list__item-content">
|
|
849
|
+
<p>781 Main Street</p>
|
|
850
|
+
<p>Anytown, SD 57401</p>
|
|
851
|
+
<p>USA</p>
|
|
852
|
+
|
|
853
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
854
|
+
</div>
|
|
855
|
+
</div>
|
|
856
|
+
</div>
|
|
857
|
+
</div>
|
|
858
|
+
|
|
859
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
860
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
861
|
+
<span class="fd-grid-list__highlight fd-grid-list__highlight--critical" aria-label="Item is highlighted. Status: critical."></span>
|
|
862
|
+
|
|
863
|
+
<div class="fd-toolbar fd-grid-list__item-toolbar">
|
|
864
|
+
<span class="fd-toolbar__spacer"></span>
|
|
865
|
+
</div>
|
|
866
|
+
|
|
867
|
+
<div class="fd-grid-list__item-body">
|
|
868
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
869
|
+
|
|
870
|
+
<div class="fd-grid-list__item-header">
|
|
871
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
872
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
873
|
+
</div>
|
|
874
|
+
|
|
875
|
+
<div class="fd-grid-list__item-content">
|
|
876
|
+
<p>781 Main Street</p>
|
|
877
|
+
<p>Anytown, SD 57401</p>
|
|
878
|
+
<p>USA</p>
|
|
879
|
+
|
|
880
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
881
|
+
</div>
|
|
882
|
+
</div>
|
|
883
|
+
</div>
|
|
884
|
+
</div>
|
|
885
|
+
|
|
886
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
887
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
888
|
+
<span class="fd-grid-list__highlight fd-grid-list__highlight--neutral" aria-label="Item is highlighted. Status: neutral."></span>
|
|
889
|
+
|
|
890
|
+
<div class="fd-grid-list__item-body">
|
|
891
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
892
|
+
|
|
893
|
+
<div class="fd-grid-list__item-header">
|
|
894
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
895
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
896
|
+
</div>
|
|
897
|
+
|
|
898
|
+
<div class="fd-grid-list__item-content">
|
|
899
|
+
<p>781 Main Street</p>
|
|
900
|
+
<p>Anytown, SD 57401</p>
|
|
901
|
+
<p>USA</p>
|
|
902
|
+
|
|
903
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
904
|
+
</div>
|
|
905
|
+
</div>
|
|
906
|
+
</div>
|
|
907
|
+
</div>
|
|
908
|
+
</div>
|
|
909
|
+
</div>
|
|
910
|
+
</div>
|
|
911
|
+
</div>
|
|
912
|
+
```
|
|
913
|
+
|
|
914
|
+
### FilterInfobar
|
|
915
|
+
|
|
916
|
+
The filter information panel displays the selected filters.
|
|
917
|
+
To show filter information panel, follow the current example.
|
|
918
|
+
|
|
919
|
+
```html
|
|
920
|
+
<div class="fd-grid-list">
|
|
921
|
+
<div class="fd-container">
|
|
922
|
+
<div class="fd-row">
|
|
923
|
+
<div class="fd-col fd-col--12">
|
|
924
|
+
<div class="fd-toolbar is-compact fd-toolbar--solid">
|
|
925
|
+
<span>Products (420)</span>
|
|
926
|
+
|
|
927
|
+
<span class="fd-toolbar__spacer"></span>
|
|
928
|
+
|
|
929
|
+
<button class="fd-button fd-button--transparent" aria-label="Sort">
|
|
930
|
+
<i class="sap-icon--sort"></i>
|
|
931
|
+
</button>
|
|
932
|
+
|
|
933
|
+
<button class="fd-button fd-button--transparent" aria-label="Filter">
|
|
934
|
+
<i class="sap-icon--filter"></i>
|
|
935
|
+
</button>
|
|
936
|
+
|
|
937
|
+
<button class="fd-button fd-button--transparent" aria-label="Group">
|
|
938
|
+
<i class="sap-icon--group-2"></i>
|
|
939
|
+
</button>
|
|
940
|
+
</div>
|
|
941
|
+
</div>
|
|
942
|
+
|
|
943
|
+
<div class="fd-row">
|
|
944
|
+
<div class="fd-col fd-col--12">
|
|
945
|
+
<div class="fd-toolbar fd-toolbar--info fd-toolbar--active fd-grid-list__filter" tabindex="0">
|
|
946
|
+
Filtered by: Company (Company A, Company B)
|
|
947
|
+
<span class="fd-toolbar__spacer"></span>
|
|
948
|
+
|
|
949
|
+
<i class="sap-icon--decline"></i>
|
|
950
|
+
</div>
|
|
951
|
+
</div>
|
|
952
|
+
</div>
|
|
953
|
+
|
|
954
|
+
<div class="fd-row">
|
|
955
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
956
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--link">
|
|
957
|
+
<div class="fd-toolbar fd-grid-list__item-toolbar">
|
|
958
|
+
<span class="fd-toolbar__spacer"></span>
|
|
959
|
+
|
|
960
|
+
<span class="fd-grid-list__item-counter" aria-label="Item has 10 children">10</span>
|
|
961
|
+
|
|
962
|
+
<span class="fd-grid-list__item-navigation-indicator" aria-label="Navigation">
|
|
963
|
+
<i class="sap-icon--navigation-right-arrow"></i>
|
|
964
|
+
</span>
|
|
965
|
+
</div>
|
|
966
|
+
|
|
967
|
+
<div class="fd-grid-list__item-body">
|
|
968
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
969
|
+
|
|
970
|
+
<div class="fd-grid-list__item-header">
|
|
971
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
972
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
973
|
+
</div>
|
|
974
|
+
|
|
975
|
+
<div class="fd-grid-list__item-content">
|
|
976
|
+
<p>781 Main Street</p>
|
|
977
|
+
<p>Anytown, SD 57401</p>
|
|
978
|
+
<p>USA</p>
|
|
979
|
+
|
|
980
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
981
|
+
</div>
|
|
982
|
+
</div>
|
|
983
|
+
</div>
|
|
984
|
+
</div>
|
|
985
|
+
|
|
986
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
987
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
988
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
989
|
+
<span class="fd-toolbar__spacer"></span>
|
|
990
|
+
|
|
991
|
+
<button class="fd-button fd-button--transparent" aria-label="Edit">
|
|
992
|
+
<i class="sap-icon--edit"></i>
|
|
993
|
+
</button>
|
|
994
|
+
</div>
|
|
995
|
+
|
|
996
|
+
<div class="fd-grid-list__item-body">
|
|
997
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
998
|
+
|
|
999
|
+
<div class="fd-grid-list__item-header">
|
|
1000
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1001
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1002
|
+
</div>
|
|
1003
|
+
|
|
1004
|
+
<div class="fd-grid-list__item-content">
|
|
1005
|
+
<p>781 Main Street</p>
|
|
1006
|
+
<p>Anytown, SD 57401</p>
|
|
1007
|
+
<p>USA</p>
|
|
1008
|
+
|
|
1009
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1010
|
+
</div>
|
|
1011
|
+
</div>
|
|
1012
|
+
</div>
|
|
1013
|
+
</div>
|
|
1014
|
+
|
|
1015
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1016
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
1017
|
+
<div class="fd-grid-list__item-body">
|
|
1018
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1019
|
+
|
|
1020
|
+
<div class="fd-grid-list__item-header">
|
|
1021
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1022
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1023
|
+
</div>
|
|
1024
|
+
|
|
1025
|
+
<div class="fd-grid-list__item-content">
|
|
1026
|
+
<p>781 Main Street</p>
|
|
1027
|
+
<p>Anytown, SD 57401</p>
|
|
1028
|
+
<p>USA</p>
|
|
1029
|
+
|
|
1030
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1031
|
+
</div>
|
|
1032
|
+
</div>
|
|
1033
|
+
</div>
|
|
1034
|
+
</div>
|
|
1035
|
+
|
|
1036
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1037
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
1038
|
+
<div class="fd-grid-list__item-body">
|
|
1039
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1040
|
+
|
|
1041
|
+
<div class="fd-grid-list__item-header">
|
|
1042
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1043
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1044
|
+
</div>
|
|
1045
|
+
|
|
1046
|
+
<div class="fd-grid-list__item-content">
|
|
1047
|
+
<p>781 Main Street</p>
|
|
1048
|
+
<p>Anytown, SD 57401</p>
|
|
1049
|
+
<p>USA</p>
|
|
1050
|
+
|
|
1051
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1052
|
+
</div>
|
|
1053
|
+
</div>
|
|
1054
|
+
</div>
|
|
1055
|
+
</div>
|
|
1056
|
+
</div>
|
|
1057
|
+
</div>
|
|
1058
|
+
</div>
|
|
1059
|
+
</div>
|
|
1060
|
+
```
|
|
1061
|
+
|
|
1062
|
+
### More
|
|
1063
|
+
|
|
1064
|
+
The More button loads more items to the front end if not all items have yet been loaded.
|
|
1065
|
+
To show "More" button, follow the current example.
|
|
1066
|
+
|
|
1067
|
+
```html
|
|
1068
|
+
<div class="fd-grid-list">
|
|
1069
|
+
<div class="fd-container">
|
|
1070
|
+
<div class="fd-row">
|
|
1071
|
+
<div class="fd-col fd-col--12">
|
|
1072
|
+
<div class="fd-toolbar is-compact fd-toolbar--solid">
|
|
1073
|
+
<span>Products</span>
|
|
1074
|
+
|
|
1075
|
+
<span class="fd-toolbar__spacer"></span>
|
|
1076
|
+
|
|
1077
|
+
<button class="fd-button fd-button--transparent" aria-label="Sort">
|
|
1078
|
+
<i class="sap-icon--sort"></i>
|
|
1079
|
+
</button>
|
|
1080
|
+
|
|
1081
|
+
<button class="fd-button fd-button--transparent" aria-label="Filter">
|
|
1082
|
+
<i class="sap-icon--filter"></i>
|
|
1083
|
+
</button>
|
|
1084
|
+
|
|
1085
|
+
<button class="fd-button fd-button--transparent" aria-label="Group">
|
|
1086
|
+
<i class="sap-icon--group-2"></i>
|
|
1087
|
+
</button>
|
|
1088
|
+
</div>
|
|
1089
|
+
</div>
|
|
1090
|
+
|
|
1091
|
+
<div class="fd-row">
|
|
1092
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1093
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--link">
|
|
1094
|
+
<div class="fd-toolbar fd-grid-list__item-toolbar">
|
|
1095
|
+
<span class="fd-toolbar__spacer"></span>
|
|
1096
|
+
|
|
1097
|
+
<span class="fd-grid-list__item-counter" aria-label="Item has 10 children">10</span>
|
|
1098
|
+
|
|
1099
|
+
<span class="fd-grid-list__item-navigation-indicator" aria-label="Navigation">
|
|
1100
|
+
<i class="sap-icon--navigation-right-arrow"></i>
|
|
1101
|
+
</span>
|
|
1102
|
+
</div>
|
|
1103
|
+
|
|
1104
|
+
<div class="fd-grid-list__item-body">
|
|
1105
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1106
|
+
|
|
1107
|
+
<div class="fd-grid-list__item-header">
|
|
1108
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1109
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1110
|
+
</div>
|
|
1111
|
+
|
|
1112
|
+
<div class="fd-grid-list__item-content">
|
|
1113
|
+
<p>781 Main Street</p>
|
|
1114
|
+
<p>Anytown, SD 57401</p>
|
|
1115
|
+
<p>USA</p>
|
|
1116
|
+
|
|
1117
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1118
|
+
</div>
|
|
1119
|
+
</div>
|
|
1120
|
+
</div>
|
|
1121
|
+
</div>
|
|
1122
|
+
|
|
1123
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1124
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
1125
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
1126
|
+
<span class="fd-toolbar__spacer"></span>
|
|
1127
|
+
|
|
1128
|
+
<button class="fd-button fd-button--transparent" aria-label="Edit">
|
|
1129
|
+
<i class="sap-icon--edit"></i>
|
|
1130
|
+
</button>
|
|
1131
|
+
</div>
|
|
1132
|
+
|
|
1133
|
+
<div class="fd-grid-list__item-body">
|
|
1134
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1135
|
+
|
|
1136
|
+
<div class="fd-grid-list__item-header">
|
|
1137
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1138
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1139
|
+
</div>
|
|
1140
|
+
|
|
1141
|
+
<div class="fd-grid-list__item-content">
|
|
1142
|
+
<p>781 Main Street</p>
|
|
1143
|
+
<p>Anytown, SD 57401</p>
|
|
1144
|
+
<p>USA</p>
|
|
1145
|
+
|
|
1146
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1147
|
+
</div>
|
|
1148
|
+
</div>
|
|
1149
|
+
</div>
|
|
1150
|
+
</div>
|
|
1151
|
+
|
|
1152
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1153
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
1154
|
+
<div class="fd-grid-list__item-body">
|
|
1155
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1156
|
+
|
|
1157
|
+
<div class="fd-grid-list__item-header">
|
|
1158
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1159
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1160
|
+
</div>
|
|
1161
|
+
|
|
1162
|
+
<div class="fd-grid-list__item-content">
|
|
1163
|
+
<p>781 Main Street</p>
|
|
1164
|
+
<p>Anytown, SD 57401</p>
|
|
1165
|
+
<p>USA</p>
|
|
1166
|
+
|
|
1167
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1168
|
+
</div>
|
|
1169
|
+
</div>
|
|
1170
|
+
</div>
|
|
1171
|
+
</div>
|
|
1172
|
+
|
|
1173
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1174
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
1175
|
+
<div class="fd-grid-list__item-body">
|
|
1176
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1177
|
+
|
|
1178
|
+
<div class="fd-grid-list__item-header">
|
|
1179
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1180
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1181
|
+
</div>
|
|
1182
|
+
|
|
1183
|
+
<div class="fd-grid-list__item-content">
|
|
1184
|
+
<p>781 Main Street</p>
|
|
1185
|
+
<p>Anytown, SD 57401</p>
|
|
1186
|
+
<p>USA</p>
|
|
1187
|
+
|
|
1188
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1189
|
+
</div>
|
|
1190
|
+
</div>
|
|
1191
|
+
</div>
|
|
1192
|
+
</div>
|
|
1193
|
+
</div>
|
|
1194
|
+
|
|
1195
|
+
<div class="fd-row">
|
|
1196
|
+
<div class="fd-col fd-col--12">
|
|
1197
|
+
<div tabindex="0" role="button" class="fd-grid-list__more">
|
|
1198
|
+
<h5 class="fd-title fd-title--h6 fd-grid-list__more-title">More</h5>
|
|
1199
|
+
<p class="fd-grid-list__more-description">[ 5 / 10 ]</p>
|
|
1200
|
+
</div>
|
|
1201
|
+
</div>
|
|
1202
|
+
</div>
|
|
1203
|
+
</div>
|
|
1204
|
+
</div>
|
|
1205
|
+
</div>
|
|
1206
|
+
```
|
|
1207
|
+
|
|
1208
|
+
### Footer
|
|
1209
|
+
|
|
1210
|
+
The footer can be used to display additional static information relating to the content.
|
|
1211
|
+
To create a grid list footer, follow the current example.
|
|
1212
|
+
|
|
1213
|
+
```html
|
|
1214
|
+
<div class="fd-grid-list">
|
|
1215
|
+
<div class="fd-container">
|
|
1216
|
+
<div class="fd-row">
|
|
1217
|
+
<div class="fd-col fd-col--12">
|
|
1218
|
+
<div class="fd-toolbar is-compact fd-toolbar--solid">
|
|
1219
|
+
<span>Products (420)</span>
|
|
1220
|
+
|
|
1221
|
+
<span class="fd-toolbar__spacer"></span>
|
|
1222
|
+
|
|
1223
|
+
<button class="fd-button fd-button--transparent" aria-label="Sort">
|
|
1224
|
+
<i class="sap-icon--sort"></i>
|
|
1225
|
+
</button>
|
|
1226
|
+
|
|
1227
|
+
<button class="fd-button fd-button--transparent" aria-label="Filter">
|
|
1228
|
+
<i class="sap-icon--filter"></i>
|
|
1229
|
+
</button>
|
|
1230
|
+
|
|
1231
|
+
<button class="fd-button fd-button--transparent" aria-label="Group">
|
|
1232
|
+
<i class="sap-icon--group-2"></i>
|
|
1233
|
+
</button>
|
|
1234
|
+
</div>
|
|
1235
|
+
</div>
|
|
1236
|
+
|
|
1237
|
+
<div class="fd-row">
|
|
1238
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1239
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--link">
|
|
1240
|
+
<div class="fd-toolbar fd-grid-list__item-toolbar">
|
|
1241
|
+
<span class="fd-toolbar__spacer"></span>
|
|
1242
|
+
|
|
1243
|
+
<span class="fd-grid-list__item-counter" aria-label="Item has 10 children">10</span>
|
|
1244
|
+
|
|
1245
|
+
<span class="fd-grid-list__item-navigation-indicator" aria-label="Navigation">
|
|
1246
|
+
<i class="sap-icon--navigation-right-arrow"></i>
|
|
1247
|
+
</span>
|
|
1248
|
+
</div>
|
|
1249
|
+
|
|
1250
|
+
<div class="fd-grid-list__item-body">
|
|
1251
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1252
|
+
|
|
1253
|
+
<div class="fd-grid-list__item-header">
|
|
1254
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1255
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1256
|
+
</div>
|
|
1257
|
+
|
|
1258
|
+
<div class="fd-grid-list__item-content">
|
|
1259
|
+
<p>781 Main Street</p>
|
|
1260
|
+
<p>Anytown, SD 57401</p>
|
|
1261
|
+
<p>USA</p>
|
|
1262
|
+
|
|
1263
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1264
|
+
</div>
|
|
1265
|
+
</div>
|
|
1266
|
+
</div>
|
|
1267
|
+
</div>
|
|
1268
|
+
|
|
1269
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1270
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
1271
|
+
<div class="fd-toolbar is-compact fd-grid-list__item-toolbar">
|
|
1272
|
+
<span class="fd-toolbar__spacer"></span>
|
|
1273
|
+
|
|
1274
|
+
<button class="fd-button fd-button--transparent" aria-label="Edit">
|
|
1275
|
+
<i class="sap-icon--edit"></i>
|
|
1276
|
+
</button>
|
|
1277
|
+
</div>
|
|
1278
|
+
|
|
1279
|
+
<div class="fd-grid-list__item-body">
|
|
1280
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1281
|
+
|
|
1282
|
+
<div class="fd-grid-list__item-header">
|
|
1283
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1284
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1285
|
+
</div>
|
|
1286
|
+
|
|
1287
|
+
<div class="fd-grid-list__item-content">
|
|
1288
|
+
<p>781 Main Street</p>
|
|
1289
|
+
<p>Anytown, SD 57401</p>
|
|
1290
|
+
<p>USA</p>
|
|
1291
|
+
|
|
1292
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1293
|
+
</div>
|
|
1294
|
+
</div>
|
|
1295
|
+
</div>
|
|
1296
|
+
</div>
|
|
1297
|
+
|
|
1298
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1299
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
1300
|
+
<div class="fd-grid-list__item-body">
|
|
1301
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1302
|
+
|
|
1303
|
+
<div class="fd-grid-list__item-header">
|
|
1304
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1305
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1306
|
+
</div>
|
|
1307
|
+
|
|
1308
|
+
<div class="fd-grid-list__item-content">
|
|
1309
|
+
<p>781 Main Street</p>
|
|
1310
|
+
<p>Anytown, SD 57401</p>
|
|
1311
|
+
<p>USA</p>
|
|
1312
|
+
|
|
1313
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1314
|
+
</div>
|
|
1315
|
+
</div>
|
|
1316
|
+
</div>
|
|
1317
|
+
</div>
|
|
1318
|
+
|
|
1319
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1320
|
+
<div tabindex="0" class="fd-grid-list__item">
|
|
1321
|
+
<div class="fd-grid-list__item-body">
|
|
1322
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1323
|
+
|
|
1324
|
+
<div class="fd-grid-list__item-header">
|
|
1325
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">John Li</h4>
|
|
1326
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1327
|
+
</div>
|
|
1328
|
+
|
|
1329
|
+
<div class="fd-grid-list__item-content">
|
|
1330
|
+
<p>781 Main Street</p>
|
|
1331
|
+
<p>Anytown, SD 57401</p>
|
|
1332
|
+
<p>USA</p>
|
|
1333
|
+
|
|
1334
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1335
|
+
</div>
|
|
1336
|
+
</div>
|
|
1337
|
+
</div>
|
|
1338
|
+
</div>
|
|
1339
|
+
</div>
|
|
1340
|
+
|
|
1341
|
+
<div class="fd-row">
|
|
1342
|
+
<div class="fd-col fd-col--12">
|
|
1343
|
+
<div tabindex="0" class="fd-grid-list__footer">
|
|
1344
|
+
This is footer text
|
|
1345
|
+
</div>
|
|
1346
|
+
</div>
|
|
1347
|
+
</div>
|
|
1348
|
+
</div>
|
|
1349
|
+
</div>
|
|
1350
|
+
</div>
|
|
1351
|
+
```
|
|
1352
|
+
|
|
1353
|
+
### No height / Partial Items
|
|
1354
|
+
|
|
1355
|
+
It's possible to have items without some parts like image, title & description or body.
|
|
1356
|
+
|
|
1357
|
+
But please note that by default items have equal height set by the tallest item, you can overwrite it by yourself or use
|
|
1358
|
+
class \
|
|
1359
|
+
|
|
1360
|
+
```html
|
|
1361
|
+
<div class="fd-grid-list fd-grid-list--mode-delete">
|
|
1362
|
+
<div class="fd-container">
|
|
1363
|
+
<div class="fd-row">
|
|
1364
|
+
<div class="fd-col fd-col--12">
|
|
1365
|
+
<div class="fd-toolbar fd-toolbar--solid">
|
|
1366
|
+
<span>For every item class <code>fd-grid-list__item--height-auto</code> is applied.</span>
|
|
1367
|
+
</div>
|
|
1368
|
+
</div>
|
|
1369
|
+
|
|
1370
|
+
<div class="fd-row">
|
|
1371
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1372
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--height-auto fd-grid-list__item--link">
|
|
1373
|
+
<div class="fd-grid-list__item-body">
|
|
1374
|
+
<div class="fd-grid-list__item-header">
|
|
1375
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">No image</h4>
|
|
1376
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1377
|
+
</div>
|
|
1378
|
+
|
|
1379
|
+
<div class="fd-grid-list__item-content">
|
|
1380
|
+
<p>781 Main Street</p>
|
|
1381
|
+
<p>Anytown, SD 57401</p>
|
|
1382
|
+
<p>USA</p>
|
|
1383
|
+
|
|
1384
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1385
|
+
</div>
|
|
1386
|
+
</div>
|
|
1387
|
+
</div>
|
|
1388
|
+
</div>
|
|
1389
|
+
|
|
1390
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1391
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--height-auto">
|
|
1392
|
+
<div class="fd-grid-list__item-body">
|
|
1393
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1394
|
+
|
|
1395
|
+
<div class="fd-grid-list__item-content">
|
|
1396
|
+
<p>No title & description</p>
|
|
1397
|
+
<p>Anytown, SD 57401</p>
|
|
1398
|
+
<p>USA</p>
|
|
1399
|
+
|
|
1400
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1401
|
+
</div>
|
|
1402
|
+
</div>
|
|
1403
|
+
</div>
|
|
1404
|
+
</div>
|
|
1405
|
+
|
|
1406
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1407
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--height-auto">
|
|
1408
|
+
<div class="fd-grid-list__item-body">
|
|
1409
|
+
<span class="fd-avatar fd-avatar--s fd-grid-list__item-image" role="presentation"></span>
|
|
1410
|
+
|
|
1411
|
+
<div class="fd-grid-list__item-header">
|
|
1412
|
+
<h4 class="fd-title fd-title--h4 fd-grid-list__item-title">No body</h4>
|
|
1413
|
+
<span class="fd-grid-list__item-subtitle">Product Owner, Company B</span>
|
|
1414
|
+
</div>
|
|
1415
|
+
</div>
|
|
1416
|
+
</div>
|
|
1417
|
+
</div>
|
|
1418
|
+
|
|
1419
|
+
<div class="fd-col fd-col--12 fd-col-md--6 fd-col-lg--4 fd-col-xl--3">
|
|
1420
|
+
<div tabindex="0" class="fd-grid-list__item fd-grid-list__item--height-auto">
|
|
1421
|
+
<div class="fd-grid-list__item-body">
|
|
1422
|
+
<div class="fd-grid-list__item-content">
|
|
1423
|
+
<p>No image, title & description</p>
|
|
1424
|
+
<p>Anytown, SD 57401</p>
|
|
1425
|
+
<p>USA</p>
|
|
1426
|
+
|
|
1427
|
+
<a href="#" class="fd-link" tabindex="0">john_li@example.com</a>
|
|
1428
|
+
</div>
|
|
1429
|
+
</div>
|
|
1430
|
+
</div>
|
|
1431
|
+
</div>
|
|
1432
|
+
</div>
|
|
1433
|
+
</div>
|
|
1434
|
+
</div>
|
|
1435
|
+
</div>
|
|
1436
|
+
```
|
|
1437
|
+
|
|
1438
|
+
## Accessibility
|
|
1439
|
+
|
|
1440
|
+
- Use semantic HTML elements where appropriate
|
|
1441
|
+
- Include proper ARIA attributes for interactive elements
|
|
1442
|
+
- Ensure keyboard navigation support
|
|
1443
|
+
- Provide adequate color contrast
|
|
1444
|
+
|
|
1445
|
+
## Source
|
|
1446
|
+
|
|
1447
|
+
This documentation was automatically generated from: `packages/styles/stories/Components/Grid List/list-grid/grid-list.stories.js`
|
|
1448
|
+
|
|
1449
|
+
For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).
|