@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,977 @@
|
|
|
1
|
+
---
|
|
2
|
+
component: fd-message-strip
|
|
3
|
+
title: Components/Message Strip
|
|
4
|
+
category: Components
|
|
5
|
+
selector: fd-message-strip
|
|
6
|
+
cssFile: message-strip.css
|
|
7
|
+
sourcePath: packages/styles/stories/Components/message-strip/message-strip.stories.js
|
|
8
|
+
tags: []
|
|
9
|
+
dependencies: ["button","icon","link","message-strip"]
|
|
10
|
+
relatedComponents: ["button","icon","link","message-strip"]
|
|
11
|
+
stability: stable
|
|
12
|
+
generatedAt: 2026-06-09T18:29:01.568Z
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Components/Message Strip
|
|
16
|
+
|
|
17
|
+
Message Strip is a component that enables the embedding of application-related messages in the application. They are useed to draw the user’s attention to information that is important in the context of the page content. This could be a warning or a change of state, that would be easy to miss it.
|
|
18
|
+
|
|
19
|
+
##Usage
|
|
20
|
+
**Use the message strip if:**
|
|
21
|
+
|
|
22
|
+
- You want to provide information within the detail area of an object.
|
|
23
|
+
- You want to inform your user about a status of an object.
|
|
24
|
+
- You want to warn your user about an issue.
|
|
25
|
+
|
|
26
|
+
**Do not use the message strip if:**
|
|
27
|
+
|
|
28
|
+
- You want to display information within the object page header, a control, in the master list, or above the page header.
|
|
29
|
+
|
|
30
|
+
##Anatomy
|
|
31
|
+
- <b>Container </b>- holds the icon, text and Close button.
|
|
32
|
+
- <b>Icon (optional) </b>- graphic element within the component. Use the modifier class \
|
|
33
|
+
|
|
34
|
+
## Usage Guidelines
|
|
35
|
+
|
|
36
|
+
**Use the message strip if:**
|
|
37
|
+
|
|
38
|
+
- You want to provide information within the detail area of an object.
|
|
39
|
+
- You want to inform your user about a status of an object.
|
|
40
|
+
- You want to warn your user about an issue.
|
|
41
|
+
|
|
42
|
+
## When Not To Use
|
|
43
|
+
|
|
44
|
+
- You want to display information within the object page header, a control, in the master list, or above the page header.
|
|
45
|
+
|
|
46
|
+
## Dependencies
|
|
47
|
+
|
|
48
|
+
This component depends on the following CSS files:
|
|
49
|
+
|
|
50
|
+
- `button.css`
|
|
51
|
+
- `icon.css`
|
|
52
|
+
- `link.css`
|
|
53
|
+
- `message-strip.css`
|
|
54
|
+
|
|
55
|
+
## Installation
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npm install fundamental-styles
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
```html
|
|
62
|
+
<!-- Include theme -->
|
|
63
|
+
<link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
|
|
64
|
+
|
|
65
|
+
<!-- Include component CSS -->
|
|
66
|
+
<link href="node_modules/fundamental-styles/dist/message-strip.css" rel="stylesheet">
|
|
67
|
+
|
|
68
|
+
<!-- Include dependencies -->
|
|
69
|
+
<link href="node_modules/fundamental-styles/dist/button.css" rel="stylesheet">
|
|
70
|
+
<link href="node_modules/fundamental-styles/dist/icon.css" rel="stylesheet">
|
|
71
|
+
<link href="node_modules/fundamental-styles/dist/link.css" rel="stylesheet">
|
|
72
|
+
<link href="node_modules/fundamental-styles/dist/message-strip.css" rel="stylesheet">
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Basic Usage
|
|
76
|
+
|
|
77
|
+
```html
|
|
78
|
+
<div
|
|
79
|
+
class="fd-message-strip fd-message-strip--no-icon"
|
|
80
|
+
role="note"
|
|
81
|
+
aria-labelledby="message-strip-hidden-text-1 message-strip-text-1">
|
|
82
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-1">Information Bar</span>
|
|
83
|
+
<p class="fd-message-strip__text" id="message-strip-text-1">
|
|
84
|
+
This is a message.
|
|
85
|
+
</p>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Modifiers
|
|
89
|
+
|
|
90
|
+
| Class | Description |
|
|
91
|
+
|-------|-------------|
|
|
92
|
+
| `fd-message-strip--dismissible` | To display message strip without an icon, add the `fd-message-strip--no-icon` modifier class to the main element |
|
|
93
|
+
| `fd-message-strip--error` | To display the error message strip, add the \ |
|
|
94
|
+
| `fd-message-strip--indication-color-` | Style variant |
|
|
95
|
+
| `fd-message-strip--information` | To display an information message strip, add the `fd-message-strip--information` modifier class to the main element. |
|
|
96
|
+
| `fd-message-strip--link` | The Link inside Message Strip has additional styling |
|
|
97
|
+
| `fd-message-strip--no-icon` | To display message strip without an icon, add the `fd-message-strip--no-icon` modifier class to the main element |
|
|
98
|
+
| `fd-message-strip--success` | To display a success message strip, add the `fd-message-strip--success` modifier class to the main element. |
|
|
99
|
+
| `fd-message-strip--warning` | To display a warning message strip, add the \ |
|
|
100
|
+
|
|
101
|
+
## States
|
|
102
|
+
|
|
103
|
+
| Class | Description |
|
|
104
|
+
|-------|-------------|
|
|
105
|
+
| `is-compact` | Compact state |
|
|
106
|
+
|
|
107
|
+
## BEM Elements
|
|
108
|
+
|
|
109
|
+
This component uses the following BEM elements:
|
|
110
|
+
|
|
111
|
+
- `fd-message-strip__close`
|
|
112
|
+
- `fd-message-strip__icon-container`
|
|
113
|
+
- `fd-message-strip__sr-only`
|
|
114
|
+
- `fd-message-strip__text`
|
|
115
|
+
|
|
116
|
+
## Related Components
|
|
117
|
+
|
|
118
|
+
This component works with or depends on:
|
|
119
|
+
|
|
120
|
+
- `button`
|
|
121
|
+
- `icon`
|
|
122
|
+
- `link`
|
|
123
|
+
- `message-strip`
|
|
124
|
+
|
|
125
|
+
## Design Tokens
|
|
126
|
+
|
|
127
|
+
Key CSS variables used by this component:
|
|
128
|
+
|
|
129
|
+
- `--dismissible`
|
|
130
|
+
- `--error`
|
|
131
|
+
- `--fdButtonBackgroundColor`
|
|
132
|
+
- `--fdButtonBorderColor`
|
|
133
|
+
- `--fdButtonColor`
|
|
134
|
+
- `--fdMessageStrip_Background_Color`
|
|
135
|
+
- `--fdMessageStrip_Border_Color`
|
|
136
|
+
- `--fdMessageStrip_Border_Color_Error`
|
|
137
|
+
- `--fdMessageStrip_Border_Color_Informative`
|
|
138
|
+
- `--fdMessageStrip_Border_Color_Neutral`
|
|
139
|
+
- `--fdMessageStrip_Border_Color_Success`
|
|
140
|
+
- `--fdMessageStrip_Border_Color_Warning`
|
|
141
|
+
- `--fdMessageStrip_Icon_Color`
|
|
142
|
+
- `--fdMessageStrip_Icon_Color_Error`
|
|
143
|
+
- `--fdMessageStrip_Icon_Color_Information`
|
|
144
|
+
|
|
145
|
+
*...and 5 more*
|
|
146
|
+
|
|
147
|
+
## Examples
|
|
148
|
+
|
|
149
|
+
### Default
|
|
150
|
+
|
|
151
|
+
The default message strip can be used for general messages that don’t fit into any of the semantic type use cases.
|
|
152
|
+
|
|
153
|
+
```html
|
|
154
|
+
<div
|
|
155
|
+
class="fd-message-strip fd-message-strip--no-icon"
|
|
156
|
+
role="note"
|
|
157
|
+
aria-labelledby="message-strip-hidden-text-1 message-strip-text-1">
|
|
158
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-1">Information Bar</span>
|
|
159
|
+
<p class="fd-message-strip__text" id="message-strip-text-1">
|
|
160
|
+
This is a message.
|
|
161
|
+
</p>
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Information
|
|
165
|
+
|
|
166
|
+
To display an information message strip, add the `fd-message-strip--information` modifier class to the main element.
|
|
167
|
+
|
|
168
|
+
```html
|
|
169
|
+
<div
|
|
170
|
+
role="note"
|
|
171
|
+
aria-labelledby="message-strip-hidden-text-2 message-strip-text-2"
|
|
172
|
+
class="fd-message-strip fd-message-strip--information fd-message-strip--dismissible">
|
|
173
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-2">Information Bar Closable</span>
|
|
174
|
+
|
|
175
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
176
|
+
<span class="sap-icon sap-icon--message-information" role="presentation" aria-hidden="true"></span>
|
|
177
|
+
</div>
|
|
178
|
+
|
|
179
|
+
<p class="fd-message-strip__text" id="message-strip-text-2">
|
|
180
|
+
Information Message Strip
|
|
181
|
+
</p>
|
|
182
|
+
|
|
183
|
+
<button
|
|
184
|
+
role="button"
|
|
185
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
186
|
+
aria-label="Information Bar Close"
|
|
187
|
+
title="Information Bar Close">
|
|
188
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
189
|
+
</button>
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### Success
|
|
193
|
+
|
|
194
|
+
To display a success message strip, add the `fd-message-strip--success` modifier class to the main element.
|
|
195
|
+
|
|
196
|
+
```html
|
|
197
|
+
<div
|
|
198
|
+
role="note"
|
|
199
|
+
aria-labelledby="message-strip-hidden-text-3 message-strip-text-3"
|
|
200
|
+
class="fd-message-strip fd-message-strip--success fd-message-strip--dismissible">
|
|
201
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-3">Success Information Bar Closable</span>
|
|
202
|
+
|
|
203
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
204
|
+
<span class="sap-icon sap-icon--message-success" role="presentation" aria-hidden="true"></span>
|
|
205
|
+
</div>
|
|
206
|
+
|
|
207
|
+
<p class="fd-message-strip__text" id="message-strip-text-3">
|
|
208
|
+
Success Message Strip
|
|
209
|
+
</p>
|
|
210
|
+
|
|
211
|
+
<button
|
|
212
|
+
role="button"
|
|
213
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
214
|
+
aria-label="Success Information Bar Close"
|
|
215
|
+
title="Success Information Bar Close">
|
|
216
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
217
|
+
</button>
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Warning
|
|
221
|
+
|
|
222
|
+
To display a warning message strip, add the \
|
|
223
|
+
|
|
224
|
+
```html
|
|
225
|
+
<div
|
|
226
|
+
role="note"
|
|
227
|
+
aria-labelledby="message-strip-hidden-text-4 message-strip-text-4"
|
|
228
|
+
class="fd-message-strip fd-message-strip--warning fd-message-strip--dismissible">
|
|
229
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-4">Warning Information Bar Closable</span>
|
|
230
|
+
|
|
231
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
232
|
+
<span class="sap-icon sap-icon--message-warning" role="presentation" aria-hidden="true"></span>
|
|
233
|
+
</div>
|
|
234
|
+
|
|
235
|
+
<p class="fd-message-strip__text" id="message-strip-text-4">
|
|
236
|
+
Warning Message Strip
|
|
237
|
+
</p>
|
|
238
|
+
|
|
239
|
+
<button
|
|
240
|
+
role="button"
|
|
241
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
242
|
+
aria-label="Warning Information Bar Close"
|
|
243
|
+
title="Warning Information Bar Close">
|
|
244
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
245
|
+
</button>
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Error
|
|
249
|
+
|
|
250
|
+
To display the error message strip, add the \
|
|
251
|
+
|
|
252
|
+
```html
|
|
253
|
+
<div
|
|
254
|
+
role="note"
|
|
255
|
+
aria-labelledby="message-strip-hidden-text-5 message-strip-text-5"
|
|
256
|
+
class="fd-message-strip fd-message-strip--error fd-message-strip--dismissible">
|
|
257
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-5">Error Information Bar Closable</span>
|
|
258
|
+
|
|
259
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
260
|
+
<span class="sap-icon sap-icon--message-error" role="presentation" aria-hidden="true"></span>
|
|
261
|
+
</div>
|
|
262
|
+
|
|
263
|
+
<p class="fd-message-strip__text" id="message-strip-text-5">
|
|
264
|
+
Error Message Strip
|
|
265
|
+
</p>
|
|
266
|
+
|
|
267
|
+
<button
|
|
268
|
+
role="button"
|
|
269
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
270
|
+
aria-label="Error Information Bar Close"
|
|
271
|
+
title="Error Information Bar Close">
|
|
272
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
273
|
+
</button>
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
### No icon
|
|
277
|
+
|
|
278
|
+
To display message strip without an icon, add the `fd-message-strip--no-icon` modifier class to the main element. Add the `fd-message-strip--dismissible` modifier class if the element is dismissible.
|
|
279
|
+
|
|
280
|
+
```html
|
|
281
|
+
<div
|
|
282
|
+
role="note"
|
|
283
|
+
aria-labelledby="message-strip-hidden-text-6 message-strip-text-6"
|
|
284
|
+
class="fd-message-strip fd-message-strip--information fd-message-strip--dismissible fd-message-strip--no-icon" >
|
|
285
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-6">Information Bar Closable</span>
|
|
286
|
+
|
|
287
|
+
<p class="fd-message-strip__text" id="message-strip-text-6">
|
|
288
|
+
Information Message Strip
|
|
289
|
+
</p>
|
|
290
|
+
|
|
291
|
+
<button
|
|
292
|
+
role="button"
|
|
293
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
294
|
+
aria-label="Information Bar Close"
|
|
295
|
+
title="Information Bar Close">
|
|
296
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
297
|
+
</button>
|
|
298
|
+
|
|
299
|
+
<div
|
|
300
|
+
role="note"
|
|
301
|
+
aria-labelledby="message-strip-hidden-text-7 message-strip-text-7"
|
|
302
|
+
class="fd-message-strip fd-message-strip--success fd-message-strip--dismissible fd-message-strip--no-icon">
|
|
303
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-7">Success Information Bar Closable</span>
|
|
304
|
+
|
|
305
|
+
<p class="fd-message-strip__text" id="message-strip-text-7">
|
|
306
|
+
Success Message Strip
|
|
307
|
+
</p>
|
|
308
|
+
|
|
309
|
+
<button
|
|
310
|
+
role="button"
|
|
311
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
312
|
+
aria-label="Success Information Bar Close"
|
|
313
|
+
title="Success Information Bar Close">
|
|
314
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
315
|
+
</button>
|
|
316
|
+
|
|
317
|
+
<div
|
|
318
|
+
role="note"
|
|
319
|
+
aria-labelledby="message-strip-hidden-text-8 message-strip-text-8"
|
|
320
|
+
class="fd-message-strip fd-message-strip--warning fd-message-strip--dismissible fd-message-strip--no-icon">
|
|
321
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-8">Warning Information Bar Closable</span>
|
|
322
|
+
|
|
323
|
+
<p class="fd-message-strip__text" id="message-strip-text-8">
|
|
324
|
+
Warning Message Strip
|
|
325
|
+
</p>
|
|
326
|
+
|
|
327
|
+
<button
|
|
328
|
+
role="button"
|
|
329
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
330
|
+
aria-label="Warning Information Bar Close"
|
|
331
|
+
title="Warning Information Bar Close">
|
|
332
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
333
|
+
</button>
|
|
334
|
+
|
|
335
|
+
<div
|
|
336
|
+
role="note"
|
|
337
|
+
aria-labelledby="message-strip-hidden-text-9 message-strip-text-9"
|
|
338
|
+
class="fd-message-strip fd-message-strip--error fd-message-strip--dismissible fd-message-strip--no-icon">
|
|
339
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-9">Error Information Bar Closable</span>
|
|
340
|
+
|
|
341
|
+
<p class="fd-message-strip__text" id="message-strip-text-9">
|
|
342
|
+
Error Message Strip
|
|
343
|
+
</p>
|
|
344
|
+
|
|
345
|
+
<button
|
|
346
|
+
role="button"
|
|
347
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
348
|
+
aria-label="Error Information Bar Close"
|
|
349
|
+
title="Error Information Bar Close">
|
|
350
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
351
|
+
</button>
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
### No icon and no dismiss button
|
|
355
|
+
|
|
356
|
+
To display message strip without an icon, add the `fd-message-strip--no-icon` modifier class to the main element.
|
|
357
|
+
|
|
358
|
+
```html
|
|
359
|
+
<div
|
|
360
|
+
role="note"
|
|
361
|
+
aria-labelledby="message-strip-hidden-text-10 message-strip-text-10"
|
|
362
|
+
class="fd-message-strip fd-message-strip--information fd-message-strip--no-icon" >
|
|
363
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-10">Information Bar</span>
|
|
364
|
+
<p class="fd-message-strip__text" id="message-strip-text-10">
|
|
365
|
+
Information Message Strip
|
|
366
|
+
</p>
|
|
367
|
+
|
|
368
|
+
<div
|
|
369
|
+
role="note"
|
|
370
|
+
aria-labelledby="message-strip-hidden-text-11 message-strip-text-11"
|
|
371
|
+
class="fd-message-strip fd-message-strip--success fd-message-strip--no-icon">
|
|
372
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-11">Success Information Bar</span>
|
|
373
|
+
<p class="fd-message-strip__text" id="message-strip-text-11">
|
|
374
|
+
Success Message Strip
|
|
375
|
+
</p>
|
|
376
|
+
|
|
377
|
+
<div
|
|
378
|
+
role="note"
|
|
379
|
+
aria-labelledby="message-strip-hidden-text-12 message-strip-text-12"
|
|
380
|
+
class="fd-message-strip fd-message-strip--warning fd-message-strip--no-icon">
|
|
381
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-12">Warning Information Bar</span>
|
|
382
|
+
<p class="fd-message-strip__text" id="message-strip-text-12">
|
|
383
|
+
Warning Message Strip
|
|
384
|
+
</p>
|
|
385
|
+
|
|
386
|
+
<div
|
|
387
|
+
role="note"
|
|
388
|
+
aria-labelledby="message-strip-hidden-text-13 message-strip-text-13"
|
|
389
|
+
class="fd-message-strip fd-message-strip--error fd-message-strip--no-icon">
|
|
390
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-13">Error Information Bar</span>
|
|
391
|
+
<p class="fd-message-strip__text" id="message-strip-text-13">
|
|
392
|
+
Error Message Strip
|
|
393
|
+
</p>
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
### Text with link
|
|
397
|
+
|
|
398
|
+
The Link inside Message Strip has additional styling. Add the <code>fd-message-strip--link</code> modifier class if the message contains a link element. <br>
|
|
399
|
+
The MessageStrip can include multiple links—not just one. This allows applications to provide additional context or actions related to the message, such as links to:
|
|
400
|
+
<ul>
|
|
401
|
+
<li>Other apps where the issue originated</li>
|
|
402
|
+
<li>Apps where the issue can be resolved</li>
|
|
403
|
+
<li>Related objects or specific sections</li>
|
|
404
|
+
<li>Help documentation</li>
|
|
405
|
+
</ul>
|
|
406
|
+
|
|
407
|
+
```html
|
|
408
|
+
<div
|
|
409
|
+
role="note"
|
|
410
|
+
aria-labelledby="message-strip-hidden-text-14 message-strip-text-14"
|
|
411
|
+
class="fd-message-strip fd-message-strip--information fd-message-strip--no-icon fd-message-strip--link">
|
|
412
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-14">Information Bar</span>
|
|
413
|
+
<p class="fd-message-strip__text" id="message-strip-text-14">
|
|
414
|
+
Information Message Strip
|
|
415
|
+
<a href="#" class="fd-link fd-link--emphasized" tabindex="0"><span class="fd-link__content">Link</span></a>
|
|
416
|
+
</p>
|
|
417
|
+
|
|
418
|
+
<div
|
|
419
|
+
role="note"
|
|
420
|
+
aria-labelledby="message-strip-hidden-text-15 message-strip-text-15"
|
|
421
|
+
class="fd-message-strip fd-message-strip--success fd-message-strip--no-icon fd-message-strip--link">
|
|
422
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-15">Success Information Bar</span>
|
|
423
|
+
<p class="fd-message-strip__text" id="message-strip-text-15">
|
|
424
|
+
Success Message Strip
|
|
425
|
+
<a href="#" class="fd-link fd-link--emphasized" tabindex="0"><span class="fd-link__content">Link1</span></a>
|
|
426
|
+
<a href="#" class="fd-link fd-link--emphasized" tabindex="0"><span class="fd-link__content">Link2</span></a>
|
|
427
|
+
</p>
|
|
428
|
+
|
|
429
|
+
<div
|
|
430
|
+
role="note"
|
|
431
|
+
aria-labelledby="message-strip-hidden-text-16 message-strip-text-16"
|
|
432
|
+
class="fd-message-strip fd-message-strip--error fd-message-strip--dismissible fd-message-strip--link">
|
|
433
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-16">Error Information Bar Closable</span>
|
|
434
|
+
|
|
435
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
436
|
+
<span class="sap-icon sap-icon--message-error" role="presentation" aria-hidden="true"></span>
|
|
437
|
+
</div>
|
|
438
|
+
|
|
439
|
+
<p class="fd-message-strip__text" id="message-strip-text-16">
|
|
440
|
+
Error Message Strip
|
|
441
|
+
<a href="#" class="fd-link fd-link--emphasized" tabindex="0"><span class="fd-link__content">Link1</span></a>
|
|
442
|
+
and
|
|
443
|
+
<a href="#" class="fd-link fd-link--emphasized" tabindex="0"><span class="fd-link__content">Link2</span></a>
|
|
444
|
+
</p>
|
|
445
|
+
|
|
446
|
+
<button
|
|
447
|
+
role="button"
|
|
448
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
449
|
+
aria-label="Error Information Bar Close"
|
|
450
|
+
title="Error Information Bar Close">
|
|
451
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
452
|
+
</button>
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
### Custom icon
|
|
456
|
+
|
|
457
|
+
The message strip can be customized by changing the status icon. Check <a href=
|
|
458
|
+
|
|
459
|
+
```html
|
|
460
|
+
<div
|
|
461
|
+
class="fd-message-strip"
|
|
462
|
+
role="note"
|
|
463
|
+
aria-labelledby="message-strip-hidden-text-17 message-strip-text-17">
|
|
464
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-17">Information Bar</span>
|
|
465
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
466
|
+
<span class="sap-icon sap-icon--master-task-triangle-2" role="presentation" aria-hidden="true"></span>
|
|
467
|
+
</div>
|
|
468
|
+
<p class="fd-message-strip__text" id="message-strip-text-17">
|
|
469
|
+
Message with a custom icon
|
|
470
|
+
</p>
|
|
471
|
+
|
|
472
|
+
<div
|
|
473
|
+
role="note"
|
|
474
|
+
aria-labelledby="message-strip-hidden-text-18 message-strip-text-18"
|
|
475
|
+
class="fd-message-strip fd-message-strip--error fd-message-strip--dismissible">
|
|
476
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-18">Error Information Bar Closable</span>
|
|
477
|
+
|
|
478
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
479
|
+
<span class="sap-icon sap-icon--not-editable" role="presentation" aria-hidden="true"></span>
|
|
480
|
+
</div>
|
|
481
|
+
|
|
482
|
+
<p class="fd-message-strip__text" id="message-strip-text-18">
|
|
483
|
+
Error Message Strip
|
|
484
|
+
</p>
|
|
485
|
+
|
|
486
|
+
<button
|
|
487
|
+
role="button"
|
|
488
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
489
|
+
aria-label="Error Information Bar Close"
|
|
490
|
+
title="Error Information Bar Close">
|
|
491
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
492
|
+
</button>
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
### Custom Message Strip
|
|
496
|
+
|
|
497
|
+
If the application needs a custom Message Strip, other than the semantic variations, then the colours from Inverted Object Status/Tag control should be used. Use the modifier classes \
|
|
498
|
+
|
|
499
|
+
```html
|
|
500
|
+
<div
|
|
501
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--link fd-message-strip--indication-color-1"
|
|
502
|
+
role="note"
|
|
503
|
+
aria-labelledby="message-strip-hidden-text-19 message-strip-text-19">
|
|
504
|
+
|
|
505
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-19">Custom Information Bar Closable</span>
|
|
506
|
+
|
|
507
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
508
|
+
<span class="sap-icon sap-icon--master-task-triangle-2" role="presentation" aria-hidden="true"></span>
|
|
509
|
+
</div>
|
|
510
|
+
|
|
511
|
+
<p class="fd-message-strip__text" id="message-strip-text-19">
|
|
512
|
+
Message Strip with indication color 1 (Dark Red)
|
|
513
|
+
<a href="#" class="fd-link fd-link--subtle" tabindex="0"><span class="fd-link__content">Link</span></a>
|
|
514
|
+
</p>
|
|
515
|
+
|
|
516
|
+
<button
|
|
517
|
+
role="button"
|
|
518
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
519
|
+
aria-label="Custom Information Bar Close"
|
|
520
|
+
title="Custom Information Bar Close">
|
|
521
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
522
|
+
</button>
|
|
523
|
+
|
|
524
|
+
<div
|
|
525
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--link fd-message-strip--indication-color-1b"
|
|
526
|
+
role="note"
|
|
527
|
+
aria-labelledby="message-strip-hidden-text-20 message-strip-text-20">
|
|
528
|
+
|
|
529
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-20">Custom Information Bar Closable</span>
|
|
530
|
+
|
|
531
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
532
|
+
<span class="sap-icon sap-icon--master-task-triangle-2" role="presentation" aria-hidden="true"></span>
|
|
533
|
+
</div>
|
|
534
|
+
|
|
535
|
+
<p class="fd-message-strip__text" id="message-strip-text-20">
|
|
536
|
+
Message Strip with indication color 1b (Dark Red)
|
|
537
|
+
<a href="#" class="fd-link fd-link--subtle" tabindex="0"><span class="fd-link__content">Link</span></a>
|
|
538
|
+
</p>
|
|
539
|
+
|
|
540
|
+
<button
|
|
541
|
+
role="button"
|
|
542
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
543
|
+
aria-label="Custom Information Bar Close"
|
|
544
|
+
title="Custom Information Bar Close">
|
|
545
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
546
|
+
</button>
|
|
547
|
+
|
|
548
|
+
<div
|
|
549
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--link fd-message-strip--indication-color-2"
|
|
550
|
+
role="note"
|
|
551
|
+
aria-labelledby="message-strip-hidden-text-21 message-strip-text-21">
|
|
552
|
+
|
|
553
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-21">Custom Information Bar Closable</span>
|
|
554
|
+
|
|
555
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
556
|
+
<span class="sap-icon sap-icon--cloud" role="presentation" aria-hidden="true"></span>
|
|
557
|
+
</div>
|
|
558
|
+
|
|
559
|
+
<p class="fd-message-strip__text" id="message-strip-text-21">
|
|
560
|
+
Message Strip with indication color 2 (Red)
|
|
561
|
+
<a href="#" class="fd-link fd-link--subtle" tabindex="0"><span class="fd-link__content">Link</span></a>
|
|
562
|
+
</p>
|
|
563
|
+
|
|
564
|
+
<button
|
|
565
|
+
role="button"
|
|
566
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
567
|
+
aria-label="Custom Information Bar Close"
|
|
568
|
+
title="Custom Information Bar Close">
|
|
569
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
570
|
+
</button>
|
|
571
|
+
|
|
572
|
+
<div
|
|
573
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--link fd-message-strip--indication-color-2b"
|
|
574
|
+
role="note"
|
|
575
|
+
aria-labelledby="message-strip-hidden-text-22 message-strip-text-22">
|
|
576
|
+
|
|
577
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-22">Custom Information Bar Closable</span>
|
|
578
|
+
|
|
579
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
580
|
+
<span class="sap-icon sap-icon--cloud" role="presentation" aria-hidden="true"></span>
|
|
581
|
+
</div>
|
|
582
|
+
|
|
583
|
+
<p class="fd-message-strip__text" id="message-strip-text-22">
|
|
584
|
+
Message Strip with indication color 2b (Red)
|
|
585
|
+
<a href="#" class="fd-link fd-link--subtle" tabindex="0"><span class="fd-link__content">Link</span></a>
|
|
586
|
+
</p>
|
|
587
|
+
|
|
588
|
+
<button
|
|
589
|
+
role="button"
|
|
590
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
591
|
+
aria-label="Custom Information Bar Close"
|
|
592
|
+
title="Custom Information Bar Close">
|
|
593
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
594
|
+
</button>
|
|
595
|
+
|
|
596
|
+
<div
|
|
597
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--link fd-message-strip--indication-color-3"
|
|
598
|
+
role="note"
|
|
599
|
+
aria-labelledby="message-strip-hidden-text-23 message-strip-text-23">
|
|
600
|
+
|
|
601
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-23">Custom Information Bar Closable</span>
|
|
602
|
+
|
|
603
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
604
|
+
<span class="sap-icon sap-icon--heart-2" role="presentation" aria-hidden="true"></span>
|
|
605
|
+
</div>
|
|
606
|
+
|
|
607
|
+
<p class="fd-message-strip__text" id="message-strip-text-23">
|
|
608
|
+
Message Strip with indication color 3 (Yellow)
|
|
609
|
+
<a href="#" class="fd-link fd-link--subtle" tabindex="0"><span class="fd-link__content">Link</span></a>
|
|
610
|
+
</p>
|
|
611
|
+
|
|
612
|
+
<button
|
|
613
|
+
role="button"
|
|
614
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
615
|
+
aria-label="Custom Information Bar Close"
|
|
616
|
+
title="Custom Information Bar Close">
|
|
617
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
618
|
+
</button>
|
|
619
|
+
|
|
620
|
+
<div
|
|
621
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-3b"
|
|
622
|
+
role="note"
|
|
623
|
+
aria-labelledby="message-strip-hidden-text-24 message-strip-text-24">
|
|
624
|
+
|
|
625
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-24">Custom Information Bar Closable</span>
|
|
626
|
+
|
|
627
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
628
|
+
<span class="sap-icon sap-icon--heart-2" role="presentation" aria-hidden="true"></span>
|
|
629
|
+
</div>
|
|
630
|
+
|
|
631
|
+
<p class="fd-message-strip__text" id="message-strip-text-24">
|
|
632
|
+
Message Strip with indication color 3b (Yellow)
|
|
633
|
+
</p>
|
|
634
|
+
|
|
635
|
+
<button
|
|
636
|
+
role="button"
|
|
637
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
638
|
+
aria-label="Custom Information Bar Close"
|
|
639
|
+
title="Custom Information Bar Close">
|
|
640
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
641
|
+
</button>
|
|
642
|
+
|
|
643
|
+
<div
|
|
644
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-4"
|
|
645
|
+
role="note"
|
|
646
|
+
aria-labelledby="message-strip-hidden-text-25 message-strip-text-25">
|
|
647
|
+
|
|
648
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-25">Custom Information Bar Closable</span>
|
|
649
|
+
|
|
650
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
651
|
+
<span class="sap-icon sap-icon--circle-task" role="presentation" aria-hidden="true"></span>
|
|
652
|
+
</div>
|
|
653
|
+
|
|
654
|
+
<p class="fd-message-strip__text" id="message-strip-text-25">
|
|
655
|
+
Message Strip with indication color 4 (Green)
|
|
656
|
+
</p>
|
|
657
|
+
|
|
658
|
+
<button
|
|
659
|
+
role="button"
|
|
660
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
661
|
+
aria-label="Custom Information Bar Close"
|
|
662
|
+
title="Custom Information Bar Close">
|
|
663
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
664
|
+
</button>
|
|
665
|
+
|
|
666
|
+
<div
|
|
667
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-4b"
|
|
668
|
+
role="note"
|
|
669
|
+
aria-labelledby="message-strip-hidden-text-26 message-strip-text-26">
|
|
670
|
+
|
|
671
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-26">Custom Information Bar Closable</span>
|
|
672
|
+
|
|
673
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
674
|
+
<span class="sap-icon sap-icon--circle-task" role="presentation" aria-hidden="true"></span>
|
|
675
|
+
</div>
|
|
676
|
+
|
|
677
|
+
<p class="fd-message-strip__text" id="message-strip-text-26">
|
|
678
|
+
Message Strip with indication color 4b (Green)
|
|
679
|
+
</p>
|
|
680
|
+
|
|
681
|
+
<button
|
|
682
|
+
role="button"
|
|
683
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
684
|
+
aria-label="Custom Information Bar Close"
|
|
685
|
+
title="Custom Information Bar Close">
|
|
686
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
687
|
+
</button>
|
|
688
|
+
|
|
689
|
+
<div
|
|
690
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-5"
|
|
691
|
+
role="note"
|
|
692
|
+
aria-labelledby="message-strip-hidden-text-27 message-strip-text-27">
|
|
693
|
+
|
|
694
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-27">Custom Information Bar Closable</span>
|
|
695
|
+
|
|
696
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
697
|
+
<span class="sap-icon sap-icon--feedback" role="presentation" aria-hidden="true"></span>
|
|
698
|
+
</div>
|
|
699
|
+
|
|
700
|
+
<p class="fd-message-strip__text" id="message-strip-text-27">
|
|
701
|
+
Message Strip with indication color 5 (Blue)
|
|
702
|
+
</p>
|
|
703
|
+
|
|
704
|
+
<button
|
|
705
|
+
role="button"
|
|
706
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
707
|
+
aria-label="Custom Information Bar Close"
|
|
708
|
+
title="Custom Information Bar Close">
|
|
709
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
710
|
+
</button>
|
|
711
|
+
|
|
712
|
+
<div
|
|
713
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-5b"
|
|
714
|
+
role="note"
|
|
715
|
+
aria-labelledby="message-strip-hidden-text-28 message-strip-text-28">
|
|
716
|
+
|
|
717
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-28">Custom Information Bar Closable</span>
|
|
718
|
+
|
|
719
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
720
|
+
<span class="sap-icon sap-icon--feedback" role="presentation" aria-hidden="true"></span>
|
|
721
|
+
</div>
|
|
722
|
+
|
|
723
|
+
<p class="fd-message-strip__text" id="message-strip-text-28">
|
|
724
|
+
Message Strip with indication color 5b (Blue)
|
|
725
|
+
</p>
|
|
726
|
+
|
|
727
|
+
<button
|
|
728
|
+
role="button"
|
|
729
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
730
|
+
aria-label="Custom Information Bar Close"
|
|
731
|
+
title="Custom Information Bar Close">
|
|
732
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
733
|
+
</button>
|
|
734
|
+
|
|
735
|
+
<div
|
|
736
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-6"
|
|
737
|
+
role="note"
|
|
738
|
+
aria-labelledby="message-strip-hidden-text-29 message-strip-text-29">
|
|
739
|
+
|
|
740
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-29">Custom Information Bar Closable</span>
|
|
741
|
+
|
|
742
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
743
|
+
<span class="sap-icon sap-icon--text-color" role="presentation" aria-hidden="true"></span>
|
|
744
|
+
</div>
|
|
745
|
+
|
|
746
|
+
<p class="fd-message-strip__text" id="message-strip-text-29">
|
|
747
|
+
Message Strip with indication color 6 (Teal)
|
|
748
|
+
</p>
|
|
749
|
+
|
|
750
|
+
<button
|
|
751
|
+
role="button"
|
|
752
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
753
|
+
aria-label="Custom Information Bar Close"
|
|
754
|
+
title="Custom Information Bar Close">
|
|
755
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
756
|
+
</button>
|
|
757
|
+
|
|
758
|
+
<div
|
|
759
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-6b"
|
|
760
|
+
role="note"
|
|
761
|
+
aria-labelledby="message-strip-hidden-text-30 message-strip-text-30">
|
|
762
|
+
|
|
763
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-30">Custom Information Bar Closable</span>
|
|
764
|
+
|
|
765
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
766
|
+
<span class="sap-icon sap-icon--text-color" role="presentation" aria-hidden="true"></span>
|
|
767
|
+
</div>
|
|
768
|
+
|
|
769
|
+
<p class="fd-message-strip__text" id="message-strip-text-30">
|
|
770
|
+
Message Strip with indication color 6b (Teal)
|
|
771
|
+
</p>
|
|
772
|
+
|
|
773
|
+
<button
|
|
774
|
+
role="button"
|
|
775
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
776
|
+
aria-label="Custom Information Bar Close"
|
|
777
|
+
title="Custom Information Bar Close">
|
|
778
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
779
|
+
</button>
|
|
780
|
+
|
|
781
|
+
<div
|
|
782
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-7"
|
|
783
|
+
role="note"
|
|
784
|
+
aria-labelledby="message-strip-hidden-text-31 message-strip-text-31">
|
|
785
|
+
|
|
786
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-31">Custom Information Bar Closable</span>
|
|
787
|
+
|
|
788
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
789
|
+
<span class="sap-icon sap-icon--away" role="presentation" aria-hidden="true"></span>
|
|
790
|
+
</div>
|
|
791
|
+
|
|
792
|
+
<p class="fd-message-strip__text" id="message-strip-text-31">
|
|
793
|
+
Message Strip with indication color 7 (Purple)
|
|
794
|
+
</p>
|
|
795
|
+
|
|
796
|
+
<button
|
|
797
|
+
role="button"
|
|
798
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
799
|
+
aria-label="Custom Information Bar Close"
|
|
800
|
+
title="Custom Information Bar Close">
|
|
801
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
802
|
+
</button>
|
|
803
|
+
|
|
804
|
+
<div
|
|
805
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-7b"
|
|
806
|
+
role="note"
|
|
807
|
+
aria-labelledby="message-strip-hidden-text-32 message-strip-text-32">
|
|
808
|
+
|
|
809
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-32">Custom Information Bar Closable</span>
|
|
810
|
+
|
|
811
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
812
|
+
<span class="sap-icon sap-icon--away" role="presentation" aria-hidden="true"></span>
|
|
813
|
+
</div>
|
|
814
|
+
|
|
815
|
+
<p class="fd-message-strip__text" id="message-strip-text-32">
|
|
816
|
+
Message Strip with indication color 7b (Purple)
|
|
817
|
+
</p>
|
|
818
|
+
|
|
819
|
+
<button
|
|
820
|
+
role="button"
|
|
821
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
822
|
+
aria-label="Custom Information Bar Close"
|
|
823
|
+
title="Custom Information Bar Close">
|
|
824
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
825
|
+
</button>
|
|
826
|
+
|
|
827
|
+
<div
|
|
828
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-8"
|
|
829
|
+
role="note"
|
|
830
|
+
aria-labelledby="message-strip-hidden-text-33 message-strip-text-33">
|
|
831
|
+
|
|
832
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-33">Custom Information Bar Closable</span>
|
|
833
|
+
|
|
834
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
835
|
+
<span class="sap-icon sap-icon--cursor" role="presentation" aria-hidden="true"></span>
|
|
836
|
+
</div>
|
|
837
|
+
|
|
838
|
+
<p class="fd-message-strip__text" id="message-strip-text-33">
|
|
839
|
+
Message Strip with indication color 8 (Pink)
|
|
840
|
+
</p>
|
|
841
|
+
|
|
842
|
+
<button
|
|
843
|
+
role="button"
|
|
844
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
845
|
+
aria-label="Custom Information Bar Close"
|
|
846
|
+
title="Custom Information Bar Close">
|
|
847
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
848
|
+
</button>
|
|
849
|
+
|
|
850
|
+
<div
|
|
851
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-8b"
|
|
852
|
+
role="note"
|
|
853
|
+
aria-labelledby="message-strip-hidden-text-34 message-strip-text-34">
|
|
854
|
+
|
|
855
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-34">Custom Information Bar Closable</span>
|
|
856
|
+
|
|
857
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
858
|
+
<span class="sap-icon sap-icon--cursor" role="presentation" aria-hidden="true"></span>
|
|
859
|
+
</div>
|
|
860
|
+
|
|
861
|
+
<p class="fd-message-strip__text" id="message-strip-text-34">
|
|
862
|
+
Message Strip with indication color 8b (Pink)
|
|
863
|
+
</p>
|
|
864
|
+
|
|
865
|
+
<button
|
|
866
|
+
role="button"
|
|
867
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
868
|
+
aria-label="Custom Information Bar Close"
|
|
869
|
+
title="Custom Information Bar Close">
|
|
870
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
871
|
+
</button>
|
|
872
|
+
|
|
873
|
+
<div
|
|
874
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-9"
|
|
875
|
+
role="note"
|
|
876
|
+
aria-labelledby="message-strip-hidden-text-35 message-strip-text-35">
|
|
877
|
+
|
|
878
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-35">Custom Information Bar Closable</span>
|
|
879
|
+
|
|
880
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
881
|
+
<span class="sap-icon sap-icon--copy" role="presentation" aria-hidden="true"></span>
|
|
882
|
+
</div>
|
|
883
|
+
|
|
884
|
+
<p class="fd-message-strip__text" id="message-strip-text-35">
|
|
885
|
+
Message Strip with indication color 9 (Black/White)
|
|
886
|
+
</p>
|
|
887
|
+
|
|
888
|
+
<button
|
|
889
|
+
role="button"
|
|
890
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
891
|
+
aria-label="Custom Information Bar Close"
|
|
892
|
+
title="Custom Information Bar Close">
|
|
893
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
894
|
+
</button>
|
|
895
|
+
|
|
896
|
+
<div
|
|
897
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-9b"
|
|
898
|
+
role="note"
|
|
899
|
+
aria-labelledby="message-strip-hidden-text-36 message-strip-text-36">
|
|
900
|
+
|
|
901
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-36">Custom Information Bar Closable</span>
|
|
902
|
+
|
|
903
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
904
|
+
<span class="sap-icon sap-icon--copy" role="presentation" aria-hidden="true"></span>
|
|
905
|
+
</div>
|
|
906
|
+
|
|
907
|
+
<p class="fd-message-strip__text" id="message-strip-text-36">
|
|
908
|
+
Message Strip with indication color 9b (Black/White)
|
|
909
|
+
</p>
|
|
910
|
+
|
|
911
|
+
<button
|
|
912
|
+
role="button"
|
|
913
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
914
|
+
aria-label="Custom Information Bar Close"
|
|
915
|
+
title="Custom Information Bar Close">
|
|
916
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
917
|
+
</button>
|
|
918
|
+
|
|
919
|
+
<div
|
|
920
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-10"
|
|
921
|
+
role="note"
|
|
922
|
+
aria-labelledby="message-strip-hidden-text-37 message-strip-text-37">
|
|
923
|
+
|
|
924
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-37">Custom Information Bar Closable</span>
|
|
925
|
+
|
|
926
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
927
|
+
<span class="sap-icon sap-icon--reset" role="presentation" aria-hidden="true"></span>
|
|
928
|
+
</div>
|
|
929
|
+
|
|
930
|
+
<p class="fd-message-strip__text" id="message-strip-text-37">
|
|
931
|
+
Message Strip with indication color 10 (Grey)
|
|
932
|
+
</p>
|
|
933
|
+
|
|
934
|
+
<button
|
|
935
|
+
role="button"
|
|
936
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
937
|
+
aria-label="Custom Information Bar Close"
|
|
938
|
+
title="Custom Information Bar Close">
|
|
939
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
940
|
+
</button>
|
|
941
|
+
|
|
942
|
+
<div
|
|
943
|
+
class="fd-message-strip fd-message-strip--dismissible fd-message-strip--indication-color-10b"
|
|
944
|
+
role="note"
|
|
945
|
+
aria-labelledby="message-strip-hidden-text-38 message-strip-text-38">
|
|
946
|
+
|
|
947
|
+
<span class="fd-message-strip__sr-only" id="message-strip-hidden-text-38">Custom Information Bar Closable</span>
|
|
948
|
+
|
|
949
|
+
<div class="fd-message-strip__icon-container" aria-hidden="true">
|
|
950
|
+
<span class="sap-icon sap-icon--reset" role="presentation" aria-hidden="true"></span>
|
|
951
|
+
</div>
|
|
952
|
+
|
|
953
|
+
<p class="fd-message-strip__text" id="message-strip-text-38">
|
|
954
|
+
Message Strip with indication color 10b (Grey)
|
|
955
|
+
</p>
|
|
956
|
+
|
|
957
|
+
<button
|
|
958
|
+
role="button"
|
|
959
|
+
class="fd-button fd-button--transparent is-compact fd-message-strip__close"
|
|
960
|
+
aria-label="Custom Information Bar Close"
|
|
961
|
+
title="Custom Information Bar Close">
|
|
962
|
+
<i class="sap-icon--decline" role="presentation" aria-hidden="true"></i>
|
|
963
|
+
</button>
|
|
964
|
+
```
|
|
965
|
+
|
|
966
|
+
## Accessibility
|
|
967
|
+
|
|
968
|
+
- Use semantic HTML elements where appropriate
|
|
969
|
+
- Include proper ARIA attributes for interactive elements
|
|
970
|
+
- Ensure keyboard navigation support
|
|
971
|
+
- Provide adequate color contrast
|
|
972
|
+
|
|
973
|
+
## Source
|
|
974
|
+
|
|
975
|
+
This documentation was automatically generated from: `packages/styles/stories/Components/message-strip/message-strip.stories.js`
|
|
976
|
+
|
|
977
|
+
For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).
|