@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,256 @@
|
|
|
1
|
+
---
|
|
2
|
+
component: fd-message-page
|
|
3
|
+
title: Components/Message Page
|
|
4
|
+
category: Components
|
|
5
|
+
selector: fd-message-page
|
|
6
|
+
cssFile: message-page.css
|
|
7
|
+
sourcePath: packages/styles/stories/Components/message-page/message-page.stories.js
|
|
8
|
+
tags: []
|
|
9
|
+
dependencies: ["button","icon","link","message-page"]
|
|
10
|
+
relatedComponents: ["button","icon","link","message-page"]
|
|
11
|
+
stability: stable
|
|
12
|
+
generatedAt: 2026-06-09T18:29:01.553Z
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Components/Message Page
|
|
16
|
+
|
|
17
|
+
Message page displays a message to the user when an app or list is empty or if an error has occurred. The text and icon on the message page changes depending on the use case, however, the layout stays the same. It is responsive and adjusts to fit the available screen space.
|
|
18
|
+
|
|
19
|
+
**The message page can be used in the following situations:**
|
|
20
|
+
|
|
21
|
+
- Filter with no results
|
|
22
|
+
- Search with no results
|
|
23
|
+
- Empty app
|
|
24
|
+
- Too many items
|
|
25
|
+
- Item saved as a tile that is no longer available
|
|
26
|
+
- Error
|
|
27
|
+
|
|
28
|
+
##Guidelines
|
|
29
|
+
- The icon is mandatory and can vary depending on the message. The default icon is \
|
|
30
|
+
|
|
31
|
+
## Dependencies
|
|
32
|
+
|
|
33
|
+
This component depends on the following CSS files:
|
|
34
|
+
|
|
35
|
+
- `button.css`
|
|
36
|
+
- `icon.css`
|
|
37
|
+
- `link.css`
|
|
38
|
+
- `message-page.css`
|
|
39
|
+
|
|
40
|
+
## Installation
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm install fundamental-styles
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
```html
|
|
47
|
+
<!-- Include theme -->
|
|
48
|
+
<link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
|
|
49
|
+
|
|
50
|
+
<!-- Include component CSS -->
|
|
51
|
+
<link href="node_modules/fundamental-styles/dist/message-page.css" rel="stylesheet">
|
|
52
|
+
|
|
53
|
+
<!-- Include dependencies -->
|
|
54
|
+
<link href="node_modules/fundamental-styles/dist/button.css" rel="stylesheet">
|
|
55
|
+
<link href="node_modules/fundamental-styles/dist/icon.css" rel="stylesheet">
|
|
56
|
+
<link href="node_modules/fundamental-styles/dist/link.css" rel="stylesheet">
|
|
57
|
+
<link href="node_modules/fundamental-styles/dist/message-page.css" rel="stylesheet">
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Basic Usage
|
|
61
|
+
|
|
62
|
+
```html
|
|
63
|
+
<div class="fd-message-page">
|
|
64
|
+
<div class="fd-message-page__container">
|
|
65
|
+
<div class="fd-message-page__icon-container">
|
|
66
|
+
<i role="presentation" class="sap-icon--filter fd-message-page__icon"></i>
|
|
67
|
+
<div role="status" aria-live="polite" class="fd-message-page__content">
|
|
68
|
+
<div class="fd-message-page__title">
|
|
69
|
+
No matching items found.
|
|
70
|
+
</div>
|
|
71
|
+
<div class="fd-message-page__subtitle">
|
|
72
|
+
Check the filter settings.
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## BEM Elements
|
|
81
|
+
|
|
82
|
+
This component uses the following BEM elements:
|
|
83
|
+
|
|
84
|
+
- `fd-message-page__actions`
|
|
85
|
+
- `fd-message-page__container`
|
|
86
|
+
- `fd-message-page__content`
|
|
87
|
+
- `fd-message-page__icon`
|
|
88
|
+
- `fd-message-page__icon-container`
|
|
89
|
+
- `fd-message-page__more`
|
|
90
|
+
- `fd-message-page__subtitle`
|
|
91
|
+
- `fd-message-page__title`
|
|
92
|
+
|
|
93
|
+
## Related Components
|
|
94
|
+
|
|
95
|
+
This component works with or depends on:
|
|
96
|
+
|
|
97
|
+
- `button`
|
|
98
|
+
- `icon`
|
|
99
|
+
- `link`
|
|
100
|
+
- `message-page`
|
|
101
|
+
|
|
102
|
+
## Design Tokens
|
|
103
|
+
|
|
104
|
+
Key CSS variables used by this component:
|
|
105
|
+
|
|
106
|
+
- `--center`
|
|
107
|
+
- `--fdMessage_Page_Container_Background`
|
|
108
|
+
- `--fdMessage_Page_Container_Corner_Radius`
|
|
109
|
+
- `--fdMessage_Page_Title_Margin_Bottom`
|
|
110
|
+
- `--fdMessage_Page_Title_Margin_Top`
|
|
111
|
+
- `--sapBackgroundColor`
|
|
112
|
+
- `--sapContent_LabelColor`
|
|
113
|
+
- `--sapContent_NonInteractiveIconColor`
|
|
114
|
+
- `--sapFontHeader2Size`
|
|
115
|
+
- `--sapFontHeader5Size`
|
|
116
|
+
- `--sapGroup_TitleTextColor`
|
|
117
|
+
|
|
118
|
+
## Examples
|
|
119
|
+
|
|
120
|
+
### Filter
|
|
121
|
+
|
|
122
|
+
The filter message page is displayed when the user has set a filter and there are no results. This message then prompts the user to remove or re-evaluate the filter they set for the page. It is mandatory to use the \
|
|
123
|
+
|
|
124
|
+
```html
|
|
125
|
+
<div class="fd-message-page">
|
|
126
|
+
<div class="fd-message-page__container">
|
|
127
|
+
<div class="fd-message-page__icon-container">
|
|
128
|
+
<i role="presentation" class="sap-icon--filter fd-message-page__icon"></i>
|
|
129
|
+
<div role="status" aria-live="polite" class="fd-message-page__content">
|
|
130
|
+
<div class="fd-message-page__title">
|
|
131
|
+
No matching items found.
|
|
132
|
+
</div>
|
|
133
|
+
<div class="fd-message-page__subtitle">
|
|
134
|
+
Check the filter settings.
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Search
|
|
143
|
+
|
|
144
|
+
The search message page is displayed when a user has searched for something, but there are no results for that inquiry. It is mandatory to use the \
|
|
145
|
+
|
|
146
|
+
```html
|
|
147
|
+
<div class="fd-message-page">
|
|
148
|
+
<div class="fd-message-page__container">
|
|
149
|
+
<div class="fd-message-page__icon-container">
|
|
150
|
+
<i role="presentation" class="sap-icon--search fd-message-page__icon"></i>
|
|
151
|
+
<div role="status" aria-live="polite" class="fd-message-page__content">
|
|
152
|
+
<div class="fd-message-page__title">
|
|
153
|
+
No matching items found.
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### No items
|
|
162
|
+
|
|
163
|
+
Message page displays a message indicating that there are no items when the user attempts to view a page that is supposed to contain items, but they are either not available or do not exist. It is mandatory to use either the \
|
|
164
|
+
|
|
165
|
+
```html
|
|
166
|
+
<div class="fd-message-page">
|
|
167
|
+
<div class="fd-message-page__container">
|
|
168
|
+
<div class="fd-message-page__icon-container">
|
|
169
|
+
<i role="presentation" class="sap-icon--product fd-message-page__icon"></i>
|
|
170
|
+
<div role="status" aria-live="polite" class="fd-message-page__content">
|
|
171
|
+
<div class="fd-message-page__title">
|
|
172
|
+
No items are currently available.
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Error
|
|
181
|
+
|
|
182
|
+
The error message page is displayed when the user attempts to view a page but an error has occurred, resulting in no available content. If you can, provide a link to the app start screen in the error message. It is mandatory to use the \
|
|
183
|
+
|
|
184
|
+
```html
|
|
185
|
+
<div class="fd-message-page">
|
|
186
|
+
<div class="fd-message-page__container">
|
|
187
|
+
<div class="fd-message-page__icon-container">
|
|
188
|
+
<i role="presentation" class="sap-icon--document fd-message-page__icon"></i>
|
|
189
|
+
<div role="status" aria-live="polite" class="fd-message-page__content">
|
|
190
|
+
<div class="fd-message-page__title">
|
|
191
|
+
Sorry, we can’t find this page.
|
|
192
|
+
</div>
|
|
193
|
+
<div class="fd-message-page__subtitle">
|
|
194
|
+
<a href="#" class="fd-link" tabindex="0"><span class="fd-link__content">Home Page</span></a>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Formatted text and buttons
|
|
203
|
+
|
|
204
|
+
The message page with formatted text and buttons is useful for when you want to add formatted text (bold, italic, underline and/or bullet points) and buttons to the action area. It's highly recommended not to add more than two buttons.
|
|
205
|
+
|
|
206
|
+
```html
|
|
207
|
+
<div class="fd-message-page">
|
|
208
|
+
<div class="fd-message-page__container">
|
|
209
|
+
<div class="fd-message-page__icon-container">
|
|
210
|
+
<i role="presentation" class="sap-icon--documents fd-message-page__icon"></i>
|
|
211
|
+
<div role="status" aria-live="polite" class="fd-message-page__content">
|
|
212
|
+
<div class="fd-message-page__title">
|
|
213
|
+
Sorry, we can't find the page
|
|
214
|
+
</div>
|
|
215
|
+
<div class="fd-message-page__subtitle">
|
|
216
|
+
<b>Lorem ipsum dolor sit amet, consectetur adipiscing elit</b>,
|
|
217
|
+
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
|
218
|
+
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
|
|
219
|
+
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
|
|
220
|
+
in reprehenderit in voluptate velit esse cillum dolore eu fugiat
|
|
221
|
+
nulla pariatur.
|
|
222
|
+
<i>Excepteur sint occaecat cupidatat non proident,
|
|
223
|
+
sunt in culpa qui officia deserunt mollit anim id est laborum.</i>
|
|
224
|
+
</div>
|
|
225
|
+
<div class="fd-message-page__actions">
|
|
226
|
+
<button
|
|
227
|
+
class="fd-button fd-button--emphasized"
|
|
228
|
+
>
|
|
229
|
+
Contact Support
|
|
230
|
+
</button>
|
|
231
|
+
<button class="fd-button">Reload Page</button>
|
|
232
|
+
</div>
|
|
233
|
+
<div class="fd-message-page__more">
|
|
234
|
+
<button
|
|
235
|
+
class="fd-button fd-button--transparent">
|
|
236
|
+
Show Details
|
|
237
|
+
</button>
|
|
238
|
+
</div>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
## Accessibility
|
|
246
|
+
|
|
247
|
+
- Use semantic HTML elements where appropriate
|
|
248
|
+
- Include proper ARIA attributes for interactive elements
|
|
249
|
+
- Ensure keyboard navigation support
|
|
250
|
+
- Provide adequate color contrast
|
|
251
|
+
|
|
252
|
+
## Source
|
|
253
|
+
|
|
254
|
+
This documentation was automatically generated from: `packages/styles/stories/Components/message-page/message-page.stories.js`
|
|
255
|
+
|
|
256
|
+
For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).
|