@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,443 @@
|
|
|
1
|
+
---
|
|
2
|
+
component: fd-action-bar
|
|
3
|
+
title: Components/Action Bar
|
|
4
|
+
category: Components
|
|
5
|
+
selector: fd-action-bar
|
|
6
|
+
cssFile: action-bar.css
|
|
7
|
+
sourcePath: packages/styles/stories/Components/action-bar/action-bar.stories.js
|
|
8
|
+
tags: ["non-f3"]
|
|
9
|
+
dependencies: ["action-bar","button","icon","menu","popover","title"]
|
|
10
|
+
relatedComponents: ["action-bar","button","icon","menu","popover","title"]
|
|
11
|
+
stability: stable
|
|
12
|
+
generatedAt: 2026-06-09T18:29:01.490Z
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Components/Action Bar
|
|
16
|
+
|
|
17
|
+
The action bar displays at the top of the page, and includes the page’s title, description, back button and action buttons.
|
|
18
|
+
|
|
19
|
+
##Usage
|
|
20
|
+
**Use action bar if:**
|
|
21
|
+
|
|
22
|
+
- You want to control the settings of the UI, which affects all items.
|
|
23
|
+
- You want to display actions at the top of the screen.
|
|
24
|
+
|
|
25
|
+
For the page title, a Title component is utilized that is an H1 but visually styled as an H3. As the first heading on the page, for accessibility purposes it must be an H1. See the Title component page for further information on semantic versus visual heading levels.
|
|
26
|
+
|
|
27
|
+
**Do not use action bar if:**
|
|
28
|
+
|
|
29
|
+
- You want to display finalizing actions at the bottom of the screen. Instead, use the **Bar** component and choose a footer.
|
|
30
|
+
|
|
31
|
+
Note: You may want to display components from right to left on the screen for international purposes. To display them as such, add the \
|
|
32
|
+
|
|
33
|
+
## Usage Guidelines
|
|
34
|
+
|
|
35
|
+
**Use action bar if:**
|
|
36
|
+
|
|
37
|
+
- You want to control the settings of the UI, which affects all items.
|
|
38
|
+
- You want to display actions at the top of the screen.
|
|
39
|
+
|
|
40
|
+
For the page title, a Title component is utilized that is an H1 but visually styled as an H3. As the first heading on the page, for accessibility purposes it must be an H1. See the Title component page for further information on semantic versus visual heading levels.
|
|
41
|
+
|
|
42
|
+
## When Not To Use
|
|
43
|
+
|
|
44
|
+
- You want to display finalizing actions at the bottom of the screen. Instead, use the **Bar** component and choose a footer.
|
|
45
|
+
|
|
46
|
+
Note: You may want to display components from right to left on the screen for international purposes. To display them as such, add the \
|
|
47
|
+
|
|
48
|
+
## Dependencies
|
|
49
|
+
|
|
50
|
+
This component depends on the following CSS files:
|
|
51
|
+
|
|
52
|
+
- `action-bar.css`
|
|
53
|
+
- `button.css`
|
|
54
|
+
- `icon.css`
|
|
55
|
+
- `menu.css`
|
|
56
|
+
- `popover.css`
|
|
57
|
+
- `title.css`
|
|
58
|
+
|
|
59
|
+
## Installation
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npm install fundamental-styles
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
```html
|
|
66
|
+
<!-- Include theme -->
|
|
67
|
+
<link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
|
|
68
|
+
|
|
69
|
+
<!-- Include component CSS -->
|
|
70
|
+
<link href="node_modules/fundamental-styles/dist/action-bar.css" rel="stylesheet">
|
|
71
|
+
|
|
72
|
+
<!-- Include dependencies -->
|
|
73
|
+
<link href="node_modules/fundamental-styles/dist/action-bar.css" rel="stylesheet">
|
|
74
|
+
<link href="node_modules/fundamental-styles/dist/button.css" rel="stylesheet">
|
|
75
|
+
<link href="node_modules/fundamental-styles/dist/icon.css" rel="stylesheet">
|
|
76
|
+
<link href="node_modules/fundamental-styles/dist/menu.css" rel="stylesheet">
|
|
77
|
+
<link href="node_modules/fundamental-styles/dist/popover.css" rel="stylesheet">
|
|
78
|
+
<link href="node_modules/fundamental-styles/dist/title.css" rel="stylesheet">
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Basic Usage
|
|
82
|
+
|
|
83
|
+
```html
|
|
84
|
+
<div class="fd-action-bar" role="banner" aria-labelledby="action-bar-title-1" aria-describedby="action-bar-desc-1">
|
|
85
|
+
<div class="fd-action-bar__header">
|
|
86
|
+
<div class="fd-action-bar__back">
|
|
87
|
+
<button type="button" aria-label="Go back" title="Go back" class="fd-button fd-button--transparent">
|
|
88
|
+
<i role="presentation" aria-hidden="true" class="sap-icon--navigation-left-arrow"></i>
|
|
89
|
+
</button>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="fd-action-bar__title">
|
|
92
|
+
<h1 id="action-bar-title-1" class="fd-title fd-title--h3">Page Title</h1>
|
|
93
|
+
</div>
|
|
94
|
+
<div class="fd-action-bar__actions" role="group" aria-label="Page actions">
|
|
95
|
+
<button type="button" aria-label="Save" class="fd-button">Save</button>
|
|
96
|
+
<button type="button" aria-label="Submit" class="fd-button fd-button--emphasized">Submit</button>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
<p id="action-bar-desc-1" class="fd-action-bar__description fd-action-bar__description--back">Action bar Description </p>
|
|
100
|
+
</div>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Modifiers
|
|
104
|
+
|
|
105
|
+
| Class | Description |
|
|
106
|
+
|-------|-------------|
|
|
107
|
+
| `fd-action-bar--m` | The default action bar displays a page title, description, back button and action buttons |
|
|
108
|
+
| `fd-action-bar--s` | The default action bar displays a page title, description, back button and action buttons |
|
|
109
|
+
| `fd-action-bar--xl` | This action bar is responsive and fits the XL size required for larger screens of 1440px or more |
|
|
110
|
+
|
|
111
|
+
## BEM Elements
|
|
112
|
+
|
|
113
|
+
This component uses the following BEM elements:
|
|
114
|
+
|
|
115
|
+
- `fd-action-bar__actions`
|
|
116
|
+
- `fd-action-bar__back`
|
|
117
|
+
- `fd-action-bar__description`
|
|
118
|
+
- `fd-action-bar__description--back`
|
|
119
|
+
- `fd-action-bar__header`
|
|
120
|
+
- `fd-action-bar__title`
|
|
121
|
+
|
|
122
|
+
## Related Components
|
|
123
|
+
|
|
124
|
+
This component works with or depends on:
|
|
125
|
+
|
|
126
|
+
- `action-bar`
|
|
127
|
+
- `button`
|
|
128
|
+
- `icon`
|
|
129
|
+
- `menu`
|
|
130
|
+
- `popover`
|
|
131
|
+
- `title`
|
|
132
|
+
|
|
133
|
+
## Design Tokens
|
|
134
|
+
|
|
135
|
+
Key CSS variables used by this component:
|
|
136
|
+
|
|
137
|
+
- `--back`
|
|
138
|
+
- `--fdActionBarInlinePadding`
|
|
139
|
+
- `--lg`
|
|
140
|
+
- `--m_l`
|
|
141
|
+
- `--md`
|
|
142
|
+
- `--s`
|
|
143
|
+
- `--sapContent_HeaderShadow`
|
|
144
|
+
- `--sapContent_LabelColor`
|
|
145
|
+
- `--sapFontHeaderFamily`
|
|
146
|
+
- `--sapGroup_TitleTextColor`
|
|
147
|
+
- `--sapPageHeader_Background`
|
|
148
|
+
- `--sm`
|
|
149
|
+
- `--xl`
|
|
150
|
+
|
|
151
|
+
## Examples
|
|
152
|
+
|
|
153
|
+
### Default
|
|
154
|
+
|
|
155
|
+
The default action bar displays a page title, description, back button and action buttons. To display a back button, add the `fd-action-bar__description--back` modifier class to the description element.
|
|
156
|
+
|
|
157
|
+
```html
|
|
158
|
+
<div class="fd-action-bar" role="banner" aria-labelledby="action-bar-title-1" aria-describedby="action-bar-desc-1">
|
|
159
|
+
<div class="fd-action-bar__header">
|
|
160
|
+
<div class="fd-action-bar__back">
|
|
161
|
+
<button type="button" aria-label="Go back" title="Go back" class="fd-button fd-button--transparent">
|
|
162
|
+
<i role="presentation" aria-hidden="true" class="sap-icon--navigation-left-arrow"></i>
|
|
163
|
+
</button>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="fd-action-bar__title">
|
|
166
|
+
<h1 id="action-bar-title-1" class="fd-title fd-title--h3">Page Title</h1>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="fd-action-bar__actions" role="group" aria-label="Page actions">
|
|
169
|
+
<button type="button" aria-label="Save" class="fd-button">Save</button>
|
|
170
|
+
<button type="button" aria-label="Submit" class="fd-button fd-button--emphasized">Submit</button>
|
|
171
|
+
</div>
|
|
172
|
+
</div>
|
|
173
|
+
<p id="action-bar-desc-1" class="fd-action-bar__description fd-action-bar__description--back">Action bar Description </p>
|
|
174
|
+
</div>
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### No back button
|
|
178
|
+
|
|
179
|
+
This action bar doesn’t display a back button.
|
|
180
|
+
|
|
181
|
+
```html
|
|
182
|
+
<div class="fd-action-bar" role="banner" aria-labelledby="action-bar-title-2" aria-describedby="action-bar-desc-2">
|
|
183
|
+
<div class="fd-action-bar__header">
|
|
184
|
+
<div class="fd-action-bar__title">
|
|
185
|
+
<h1 id="action-bar-title-2" class="fd-title fd-title--h3">Page Title</h1>
|
|
186
|
+
</div>
|
|
187
|
+
<div class="fd-action-bar__actions" role="group" aria-label="Page actions">
|
|
188
|
+
<button type="button" aria-label="Save" class="fd-button">Save</button>
|
|
189
|
+
<button type="button" aria-label="Submit" class="fd-button fd-button--emphasized">Submit</button>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
<p id="action-bar-desc-2" class="fd-action-bar__description">Action bar Description </p>
|
|
193
|
+
</div>
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### No description
|
|
197
|
+
|
|
198
|
+
This action bar doesn’t display a description.
|
|
199
|
+
|
|
200
|
+
```html
|
|
201
|
+
<div class="fd-action-bar" role="banner" aria-labelledby="action-bar-title-3">
|
|
202
|
+
<div class="fd-action-bar__header">
|
|
203
|
+
<div class="fd-action-bar__back">
|
|
204
|
+
<button type="button" aria-label="Go back" title="Go back" class="fd-button fd-button--transparent">
|
|
205
|
+
<i role="presentation" aria-hidden="true" class="sap-icon--navigation-left-arrow"></i>
|
|
206
|
+
</button>
|
|
207
|
+
</div>
|
|
208
|
+
<div class="fd-action-bar__title">
|
|
209
|
+
<h1 id="action-bar-title-3" class="fd-title fd-title--h3">Page Title</h1>
|
|
210
|
+
</div>
|
|
211
|
+
<div class="fd-action-bar__actions" role="group" aria-label="Page actions">
|
|
212
|
+
<button type="button" aria-label="Save" class="fd-button">Save</button>
|
|
213
|
+
<button type="button" aria-label="Submit" class="fd-button fd-button--emphasized">Submit</button>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### Descriptive
|
|
220
|
+
|
|
221
|
+
The descriptive action bar displays a long page title and description.
|
|
222
|
+
|
|
223
|
+
```html
|
|
224
|
+
<div class="fd-action-bar" role="banner" aria-labelledby="action-bar-title-4" aria-describedby="action-bar-desc-4">
|
|
225
|
+
<div class="fd-action-bar__header">
|
|
226
|
+
<div class="fd-action-bar__back">
|
|
227
|
+
<button type="button" aria-label="Go back" title="Go back" class="fd-button fd-button--transparent">
|
|
228
|
+
<i role="presentation" aria-hidden="true" class="sap-icon--navigation-left-arrow"></i>
|
|
229
|
+
</button>
|
|
230
|
+
</div>
|
|
231
|
+
<div class="fd-action-bar__title">
|
|
232
|
+
<h1 id="action-bar-title-4" class="fd-title fd-title--h3">Page Title Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Long.</h1>
|
|
233
|
+
</div>
|
|
234
|
+
<div class="fd-action-bar__actions" role="group" aria-label="Page actions">
|
|
235
|
+
<button type="button" aria-label="button" class="fd-button">Button</button>
|
|
236
|
+
<button type="button" aria-label="button" class="fd-button">Button</button>
|
|
237
|
+
<button type="button" aria-label="button" class="fd-button fd-button--emphasized">Button</button>
|
|
238
|
+
</div>
|
|
239
|
+
</div>
|
|
240
|
+
<p id="action-bar-desc-4" class="fd-action-bar__description fd-action-bar__description--back">Action bar Description Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Very Long
|
|
241
|
+
</p>
|
|
242
|
+
</div>
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### Contextual
|
|
246
|
+
|
|
247
|
+
The contextual action bar displays a page title and contextual menu with several main actions. To display a contextual menu, add the `fd-popover` class to the`fd-action-bar__actions` element.
|
|
248
|
+
|
|
249
|
+
```html
|
|
250
|
+
<div class="fd-action-bar" role="banner" aria-labelledby="action-bar-title-5">
|
|
251
|
+
<div class="fd-action-bar__header">
|
|
252
|
+
<div class="fd-action-bar__title">
|
|
253
|
+
<h1 id="action-bar-title-5" class="fd-title fd-title--h3">Page Title</h1>
|
|
254
|
+
</div>
|
|
255
|
+
<div class="fd-action-bar__actions">
|
|
256
|
+
<div class="fd-popover">
|
|
257
|
+
<div class="fd-popover__control">
|
|
258
|
+
<button
|
|
259
|
+
type="button"
|
|
260
|
+
class="fd-button fd-button--transparent"
|
|
261
|
+
aria-controls="wgxzK859"
|
|
262
|
+
aria-haspopup="true"
|
|
263
|
+
aria-expanded="true"
|
|
264
|
+
aria-label="More actions"
|
|
265
|
+
title="More actions"
|
|
266
|
+
onclick="onPopoverClick('wgxzK859');">
|
|
267
|
+
<i class="sap-icon--overflow" role="presentation" aria-hidden="true"></i>
|
|
268
|
+
</button>
|
|
269
|
+
</div>
|
|
270
|
+
<div class="fd-popover__body fd-popover__body--right" aria-hidden="false" id="wgxzK859">
|
|
271
|
+
<div class="fd-menu">
|
|
272
|
+
<ul class="fd-menu__list fd-menu__list--no-shadow" role="menu" aria-label="More actions">
|
|
273
|
+
<li class="fd-menu__item" role="none">
|
|
274
|
+
<a class="fd-menu__link" role="menuitem" href="#">
|
|
275
|
+
<span class="fd-menu__title">Edit</span>
|
|
276
|
+
</a>
|
|
277
|
+
</li>
|
|
278
|
+
<li class="fd-menu__item" role="none">
|
|
279
|
+
<a class="fd-menu__link" role="menuitem" href="#">
|
|
280
|
+
<span class="fd-menu__title">Delete</span>
|
|
281
|
+
</a>
|
|
282
|
+
</li>
|
|
283
|
+
<li class="fd-menu__item" role="none">
|
|
284
|
+
<a class="fd-menu__link" role="menuitem" href="#">
|
|
285
|
+
<span class="fd-menu__title">Assign</span>
|
|
286
|
+
</a>
|
|
287
|
+
</li>
|
|
288
|
+
<li class="fd-menu__item" role="none">
|
|
289
|
+
<a class="fd-menu__link" role="menuitem" href="#">
|
|
290
|
+
<span class="fd-menu__title">Expire</span>
|
|
291
|
+
</a>
|
|
292
|
+
</li>
|
|
293
|
+
<li class="fd-menu__item" role="none">
|
|
294
|
+
<a class="fd-menu__link" role="menuitem" href="#">
|
|
295
|
+
<span class="fd-menu__title">Archive</span>
|
|
296
|
+
</a>
|
|
297
|
+
</li>
|
|
298
|
+
</ul>
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
</div>
|
|
302
|
+
</div>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### Responsive (M-L)
|
|
308
|
+
|
|
309
|
+
This action bar is responsive and fits the M and L sizes required for tablet and small desktop screens. To display this size, add the `fd-action-bar--m\\_l` modifier class to the main element.
|
|
310
|
+
|
|
311
|
+
```html
|
|
312
|
+
<div
|
|
313
|
+
class="fd-action-bar fd-action-bar--m_l"
|
|
314
|
+
role="banner"
|
|
315
|
+
aria-labelledby="action-bar-title-7"
|
|
316
|
+
aria-describedby="action-bar-desc-7">
|
|
317
|
+
|
|
318
|
+
<div class="fd-action-bar__header">
|
|
319
|
+
<div class="fd-action-bar__back">
|
|
320
|
+
<button type="button" aria-label="Go back" title="Go back" class="fd-button fd-button--transparent">
|
|
321
|
+
<i role="presentation" aria-hidden="true" class="sap-icon--navigation-left-arrow"></i>
|
|
322
|
+
</button>
|
|
323
|
+
</div>
|
|
324
|
+
|
|
325
|
+
<div class="fd-action-bar__title">
|
|
326
|
+
<h1 id="action-bar-title-7" class="fd-title fd-title--h3">Page Title</h1>
|
|
327
|
+
</div>
|
|
328
|
+
|
|
329
|
+
<div class="fd-action-bar__actions" role="group" aria-label="Page actions">
|
|
330
|
+
<button type="button" aria-label="Save" class="fd-button">Save</button>
|
|
331
|
+
<button type="button" aria-label="Submit" class="fd-button fd-button--emphasized">Submit</button>
|
|
332
|
+
</div>
|
|
333
|
+
</div>
|
|
334
|
+
|
|
335
|
+
<p id="action-bar-desc-7" class="fd-action-bar__description fd-action-bar__description--back">Action bar Description</p>
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
### Responsive (XL)
|
|
339
|
+
|
|
340
|
+
This action bar is responsive and fits the XL size required for larger screens of 1440px or more. To display this size, add the `fd-action-bar--xl` modifier class to the main element.
|
|
341
|
+
|
|
342
|
+
```html
|
|
343
|
+
<div
|
|
344
|
+
class=" fd-action-bar fd-action-bar--xl"
|
|
345
|
+
role="banner"
|
|
346
|
+
aria-labelledby="action-bar-title-8"
|
|
347
|
+
aria-describedby="action-bar-desc-8">
|
|
348
|
+
|
|
349
|
+
<div class="fd-action-bar__header">
|
|
350
|
+
<div class="fd-action-bar__back">
|
|
351
|
+
<button type="button" aria-label="Go back" title="Go back" class="fd-button fd-button--transparent">
|
|
352
|
+
<i role="presentation" aria-hidden="true" class="sap-icon--navigation-left-arrow"></i>
|
|
353
|
+
</button>
|
|
354
|
+
</div>
|
|
355
|
+
|
|
356
|
+
<div class="fd-action-bar__title">
|
|
357
|
+
<h1 id="action-bar-title-8" class="fd-title fd-title--h3">Page Title</h1>
|
|
358
|
+
</div>
|
|
359
|
+
|
|
360
|
+
<div class="fd-action-bar__actions" role="group" aria-label="Page actions">
|
|
361
|
+
<button type="button" aria-label="Save" class="fd-button">Save</button>
|
|
362
|
+
<button type="button" aria-label="Submit" class="fd-button fd-button--emphasized">Submit</button>
|
|
363
|
+
</div>
|
|
364
|
+
</div>
|
|
365
|
+
<p id="action-bar-desc-8" class="fd-action-bar__description fd-action-bar__description--back">Action bar Description </p>
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
### Mobile
|
|
369
|
+
|
|
370
|
+
This action bar is mobile responsive. To display the mobile action bar, add the `fd-action-bar--s` modifier class to the main element.
|
|
371
|
+
|
|
372
|
+
```html
|
|
373
|
+
<div class="fd-action-bar fd-action-bar--s" role="banner" aria-labelledby="action-bar-title-6">
|
|
374
|
+
<div class="fd-action-bar__header">
|
|
375
|
+
<div class="fd-action-bar__back">
|
|
376
|
+
<button type="button" aria-label="Go back" title="Go back" class="fd-button fd-button--transparent">
|
|
377
|
+
<i role="presentation" aria-hidden="true" class="sap-icon--navigation-left-arrow"></i>
|
|
378
|
+
</button>
|
|
379
|
+
<div class="fd-action-bar__title">
|
|
380
|
+
<h1 id="action-bar-title-6" class="fd-title fd-title--h3">
|
|
381
|
+
Action Bar with description and back button
|
|
382
|
+
</h1>
|
|
383
|
+
</div>
|
|
384
|
+
<div class="fd-action-bar__actions">
|
|
385
|
+
<div class="fd-popover">
|
|
386
|
+
<div class="fd-popover__control">
|
|
387
|
+
<button
|
|
388
|
+
type="button"
|
|
389
|
+
class="fd-button fd-button--transparent"
|
|
390
|
+
onclick="onPopoverClick('wgxzK85');"
|
|
391
|
+
aria-controls="wgxzK85"
|
|
392
|
+
aria-haspopup="true"
|
|
393
|
+
aria-expanded="true"
|
|
394
|
+
aria-label="More actions"
|
|
395
|
+
title="More actions">
|
|
396
|
+
<i class="sap-icon--overflow"></i>
|
|
397
|
+
</button>
|
|
398
|
+
</div>
|
|
399
|
+
<div class="fd-popover__body fd-popover__body--right" aria-hidden="false" id="wgxzK85">
|
|
400
|
+
<div class="fd-menu">
|
|
401
|
+
<ul class="fd-menu__list fd-menu__list--no-shadow" role="menu" aria-label="More actions">
|
|
402
|
+
<li class="fd-menu__item" role="none">
|
|
403
|
+
<a class="fd-menu__link" role="menuitem" href="#">
|
|
404
|
+
<span class="fd-menu__title">Option 1</span>
|
|
405
|
+
</a>
|
|
406
|
+
</li>
|
|
407
|
+
<li class="fd-menu__item" role="none">
|
|
408
|
+
<a class="fd-menu__link" role="menuitem" href="#">
|
|
409
|
+
<span class="fd-menu__title">Option 2</span>
|
|
410
|
+
</a>
|
|
411
|
+
</li>
|
|
412
|
+
<li class="fd-menu__item" role="none">
|
|
413
|
+
<a class="fd-menu__link" role="menuitem" href="#">
|
|
414
|
+
<span class="fd-menu__title">Option 3</span>
|
|
415
|
+
</a>
|
|
416
|
+
</li>
|
|
417
|
+
<li class="fd-menu__item" role="none">
|
|
418
|
+
<a class="fd-menu__link" role="menuitem" href="#">
|
|
419
|
+
<span class="fd-menu__title">Option 4</span>
|
|
420
|
+
</a>
|
|
421
|
+
</li>
|
|
422
|
+
</ul>
|
|
423
|
+
</div>
|
|
424
|
+
</div>
|
|
425
|
+
</div>
|
|
426
|
+
</div>
|
|
427
|
+
</div>
|
|
428
|
+
</div>
|
|
429
|
+
</div>
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
## Accessibility
|
|
433
|
+
|
|
434
|
+
- Use semantic HTML elements where appropriate
|
|
435
|
+
- Include proper ARIA attributes for interactive elements
|
|
436
|
+
- Ensure keyboard navigation support
|
|
437
|
+
- Provide adequate color contrast
|
|
438
|
+
|
|
439
|
+
## Source
|
|
440
|
+
|
|
441
|
+
This documentation was automatically generated from: `packages/styles/stories/Components/action-bar/action-bar.stories.js`
|
|
442
|
+
|
|
443
|
+
For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
component: fd-ai-busy-indicator
|
|
3
|
+
title: AI/Components/Busy Indicator
|
|
4
|
+
category: AI
|
|
5
|
+
selector: fd-ai-busy-indicator
|
|
6
|
+
cssFile: ai-busy-indicator.css
|
|
7
|
+
sourcePath: packages/styles/stories/AI/Components/ai-busy-indicator/ai-busy-indicator.stories.js
|
|
8
|
+
tags: ["ai","experimental"]
|
|
9
|
+
dependencies: []
|
|
10
|
+
relatedComponents: []
|
|
11
|
+
stability: experimental
|
|
12
|
+
generatedAt: 2026-06-09T18:29:01.636Z
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# AI/Components/Busy Indicator
|
|
16
|
+
|
|
17
|
+
> **🧪 EXPERIMENTAL**: This component is experimental and its API may change.
|
|
18
|
+
|
|
19
|
+
The AI busy indicator informs the user about an ongoing operation powered by AI and it's part of AI progress indicator pattern. For more information refer to AI progress indicator pattern.<br>
|
|
20
|
+
<b>Note: AI Busy indicator is part of AI Progress Indicator pattern and is intended to be used in text generation scenarios within a text area or rich text editor. <br><br>The component is in an experimental state.</b>
|
|
21
|
+
|
|
22
|
+
## Installation
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm install fundamental-styles
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```html
|
|
29
|
+
<!-- Include theme -->
|
|
30
|
+
<link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
|
|
31
|
+
|
|
32
|
+
<!-- Include component CSS -->
|
|
33
|
+
<link href="node_modules/fundamental-styles/dist/ai-busy-indicator.css" rel="stylesheet">
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Basic Usage
|
|
38
|
+
|
|
39
|
+
```html
|
|
40
|
+
<div role="progressbar" aria-valuetext="busy" aria-labelledby="ai-busy-indicator-text" class="fd-ai-busy-indicator">
|
|
41
|
+
<span class="sap-icon sap-icon--ai"></span>
|
|
42
|
+
<span id="ai-busy-indicator-text" class="fd-ai-busy-indicator__text">Analyzing request...</span>
|
|
43
|
+
</div>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## BEM Elements
|
|
47
|
+
|
|
48
|
+
This component uses the following BEM elements:
|
|
49
|
+
|
|
50
|
+
- `fd-ai-busy-indicator__text`
|
|
51
|
+
|
|
52
|
+
## Examples
|
|
53
|
+
|
|
54
|
+
### AIBusyIndicator
|
|
55
|
+
|
|
56
|
+
The AI busy indicator component consists of two parts:
|
|
57
|
+
<br>
|
|
58
|
+
<b>Icon: </b>AI icon with looped animation (<b style="color: red;">the animation is in development</b>) conveys to users that AI processes are actively underway.<br>
|
|
59
|
+
<b>Text: </b>Keeps users updated on the status of their request. While AI is processing the request we advise the usage of the standard UI text ”Analyzing request...".
|
|
60
|
+
|
|
61
|
+
```html
|
|
62
|
+
<div role="progressbar" aria-valuetext="busy" aria-labelledby="ai-busy-indicator-text" class="fd-ai-busy-indicator">
|
|
63
|
+
<span class="sap-icon sap-icon--ai"></span>
|
|
64
|
+
<span id="ai-busy-indicator-text" class="fd-ai-busy-indicator__text">Analyzing request...</span>
|
|
65
|
+
</div>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Accessibility
|
|
69
|
+
|
|
70
|
+
- Use semantic HTML elements where appropriate
|
|
71
|
+
- Include proper ARIA attributes for interactive elements
|
|
72
|
+
- Ensure keyboard navigation support
|
|
73
|
+
- Provide adequate color contrast
|
|
74
|
+
|
|
75
|
+
## Source
|
|
76
|
+
|
|
77
|
+
This documentation was automatically generated from: `packages/styles/stories/AI/Components/ai-busy-indicator/ai-busy-indicator.stories.js`
|
|
78
|
+
|
|
79
|
+
For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
component: fd-ai-loading-bar
|
|
3
|
+
title: AI/Components/Loading Bar
|
|
4
|
+
category: AI
|
|
5
|
+
selector: fd-ai-loading-bar
|
|
6
|
+
cssFile: ai-loading-bar.css
|
|
7
|
+
sourcePath: packages/styles/stories/AI/Components/ai-loading-bar/ai-loading-bar.stories.js
|
|
8
|
+
tags: ["ai","experimental"]
|
|
9
|
+
dependencies: []
|
|
10
|
+
relatedComponents: []
|
|
11
|
+
stability: experimental
|
|
12
|
+
generatedAt: 2026-06-09T18:29:01.603Z
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# AI/Components/Loading Bar
|
|
16
|
+
|
|
17
|
+
> **🧪 EXPERIMENTAL**: This component is experimental and its API may change.
|
|
18
|
+
|
|
19
|
+
The AI Loading bar informs the user about an ongoing operation powered by AI and it's part of AI progress indicator pattern. For more information refer to AI progress indicator pattern.<br>
|
|
20
|
+
<b>Note:AI Loading bar is part of AI Progress Indicator pattern and is intended to be used in text generation scenarios within a text area or rich text editor. <br><br>The component is in an experimental state.</b>
|
|
21
|
+
|
|
22
|
+
## Installation
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm install fundamental-styles
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```html
|
|
29
|
+
<!-- Include theme -->
|
|
30
|
+
<link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
|
|
31
|
+
|
|
32
|
+
<!-- Include component CSS -->
|
|
33
|
+
<link href="node_modules/fundamental-styles/dist/ai-loading-bar.css" rel="stylesheet">
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Basic Usage
|
|
38
|
+
|
|
39
|
+
```html
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Examples
|
|
44
|
+
|
|
45
|
+
### AILoadingBar
|
|
46
|
+
|
|
47
|
+
The AI Loading bar component consists of:
|
|
48
|
+
<br>
|
|
49
|
+
<b>Loading bar:</b> An gradient bar animated (<b style="color: red;">the animation is in development</b>) in loop that visually reinforces that the system is actively processing tasks or generating results. For more information see AI Progress Indicator.
|
|
50
|
+
|
|
51
|
+
```html
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Accessibility
|
|
56
|
+
|
|
57
|
+
- Use semantic HTML elements where appropriate
|
|
58
|
+
- Include proper ARIA attributes for interactive elements
|
|
59
|
+
- Ensure keyboard navigation support
|
|
60
|
+
- Provide adequate color contrast
|
|
61
|
+
|
|
62
|
+
## Source
|
|
63
|
+
|
|
64
|
+
This documentation was automatically generated from: `packages/styles/stories/AI/Components/ai-loading-bar/ai-loading-bar.stories.js`
|
|
65
|
+
|
|
66
|
+
For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).
|