@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,353 @@
|
|
|
1
|
+
---
|
|
2
|
+
component: fd-splitter
|
|
3
|
+
title: BTP/Splitter
|
|
4
|
+
category: BTP
|
|
5
|
+
selector: fd-splitter
|
|
6
|
+
cssFile: splitter.css
|
|
7
|
+
sourcePath: packages/styles/stories/BTP/splitter/splitter.stories.js
|
|
8
|
+
tags: ["btp"]
|
|
9
|
+
dependencies: ["button","icon","splitter"]
|
|
10
|
+
relatedComponents: ["button","icon","splitter"]
|
|
11
|
+
stability: stable
|
|
12
|
+
generatedAt: 2026-06-09T18:29:01.666Z
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# BTP/Splitter
|
|
16
|
+
|
|
17
|
+
The Responsive Splitter Layout structures complex application content into defined areas. The areas are resizable manually and programmatically by external triggers such as buttons or menu entries. The split panes and their parent containers are parts of the splitter and have properties that can be changed to meet the application’s needs.
|
|
18
|
+
|
|
19
|
+
**Note**: Resizing logic you should implement yourself.
|
|
20
|
+
|
|
21
|
+
## Elements structure:
|
|
22
|
+
|
|
23
|
+
- **\
|
|
24
|
+
|
|
25
|
+
## Dependencies
|
|
26
|
+
|
|
27
|
+
This component depends on the following CSS files:
|
|
28
|
+
|
|
29
|
+
- `button.css`
|
|
30
|
+
- `icon.css`
|
|
31
|
+
- `splitter.css`
|
|
32
|
+
|
|
33
|
+
## Installation
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install fundamental-styles
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
```html
|
|
40
|
+
<!-- Include theme -->
|
|
41
|
+
<link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
|
|
42
|
+
|
|
43
|
+
<!-- Include component CSS -->
|
|
44
|
+
<link href="node_modules/fundamental-styles/dist/splitter.css" rel="stylesheet">
|
|
45
|
+
|
|
46
|
+
<!-- Include dependencies -->
|
|
47
|
+
<link href="node_modules/fundamental-styles/dist/button.css" rel="stylesheet">
|
|
48
|
+
<link href="node_modules/fundamental-styles/dist/icon.css" rel="stylesheet">
|
|
49
|
+
<link href="node_modules/fundamental-styles/dist/splitter.css" rel="stylesheet">
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Basic Usage
|
|
53
|
+
|
|
54
|
+
```html
|
|
55
|
+
<div class="fd-splitter">
|
|
56
|
+
<div class='fd-splitter__pane-container fd-splitter__pane-container--vertical'>
|
|
57
|
+
<div class='fd-splitter__split-pane'>
|
|
58
|
+
Transparent (Default)
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<div tabindex='0' class="fd-splitter__resizer" role="separator" aria-orienration="vertical">
|
|
62
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
63
|
+
<i class="sap-icon--vertical-grip fd-splitter__resizer-grip-icon"></i>
|
|
64
|
+
</button>
|
|
65
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
66
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
<div class='fd-splitter__split-pane fd-splitter__split-pane--translucent'>
|
|
70
|
+
Translucent
|
|
71
|
+
</div>
|
|
72
|
+
|
|
73
|
+
<div tabindex='0' class="fd-splitter__resizer" role="separator" aria-orienration="vertical">
|
|
74
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
75
|
+
<i class="sap-icon--vertical-grip fd-splitter__resizer-grip-icon"></i>
|
|
76
|
+
</button>
|
|
77
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
78
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
<div class='fd-splitter__split-pane fd-splitter__split-pane--solid'>
|
|
82
|
+
Solid
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## BEM Elements
|
|
89
|
+
|
|
90
|
+
This component uses the following BEM elements:
|
|
91
|
+
|
|
92
|
+
- `fd-splitter__pagination`
|
|
93
|
+
- `fd-splitter__pagination-item`
|
|
94
|
+
- `fd-splitter__pagination-item--active`
|
|
95
|
+
- `fd-splitter__pagination-item-dot`
|
|
96
|
+
- `fd-splitter__pane-container`
|
|
97
|
+
- `fd-splitter__pane-container--horizontal`
|
|
98
|
+
- `fd-splitter__pane-container--vertical`
|
|
99
|
+
- `fd-splitter__resizer`
|
|
100
|
+
- `fd-splitter__resizer--solid`
|
|
101
|
+
- `fd-splitter__resizer--translucent`
|
|
102
|
+
- `fd-splitter__resizer-decoration-after`
|
|
103
|
+
- `fd-splitter__resizer-decoration-before`
|
|
104
|
+
- `fd-splitter__resizer-grip`
|
|
105
|
+
- `fd-splitter__resizer-grip-icon`
|
|
106
|
+
- `fd-splitter__split-pane`
|
|
107
|
+
- `fd-splitter__split-pane--solid`
|
|
108
|
+
- `fd-splitter__split-pane--translucent`
|
|
109
|
+
|
|
110
|
+
## Related Components
|
|
111
|
+
|
|
112
|
+
This component works with or depends on:
|
|
113
|
+
|
|
114
|
+
- `button`
|
|
115
|
+
- `icon`
|
|
116
|
+
- `splitter`
|
|
117
|
+
|
|
118
|
+
## Design Tokens
|
|
119
|
+
|
|
120
|
+
Key CSS variables used by this component:
|
|
121
|
+
|
|
122
|
+
- `--active`
|
|
123
|
+
- `--fdSplitter_Pagination_Container_Height`
|
|
124
|
+
- `--fdSplitter_Pagination_Dot_Value`
|
|
125
|
+
- `--fdSplitter_Pane_Container_Flex_Direction`
|
|
126
|
+
- `--fdSplitter_Resizer_After_Background`
|
|
127
|
+
- `--fdSplitter_Resizer_Background`
|
|
128
|
+
- `--fdSplitter_Resizer_Before_Background`
|
|
129
|
+
- `--fdSplitter_Resizer_Border`
|
|
130
|
+
- `--fdSplitter_Resizer_Cursor`
|
|
131
|
+
- `--fdSplitter_Resizer_Flex_Direction`
|
|
132
|
+
- `--fdSplitter_Resizer_Gap`
|
|
133
|
+
- `--fdSplitter_Resizer_Grip_Cursor`
|
|
134
|
+
- `--fdSplitter_Resizer_Height`
|
|
135
|
+
- `--fdSplitter_Resizer_Line_Border_Radius`
|
|
136
|
+
- `--fdSplitter_Resizer_Line_Size`
|
|
137
|
+
|
|
138
|
+
*...and 5 more*
|
|
139
|
+
|
|
140
|
+
## Examples
|
|
141
|
+
|
|
142
|
+
### SplitPaneAnatomy
|
|
143
|
+
|
|
144
|
+
Split Pane is an independent container that may interact with other panes or pane containers. It holds the Pagination Bar when off-canvas panes are available. The default background is transparent. <br>For translucent background use the \
|
|
145
|
+
|
|
146
|
+
```html
|
|
147
|
+
<div class="fd-splitter">
|
|
148
|
+
<div class='fd-splitter__pane-container fd-splitter__pane-container--vertical'>
|
|
149
|
+
<div class='fd-splitter__split-pane'>
|
|
150
|
+
Transparent (Default)
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
<div tabindex='0' class="fd-splitter__resizer" role="separator" aria-orienration="vertical">
|
|
154
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
155
|
+
<i class="sap-icon--vertical-grip fd-splitter__resizer-grip-icon"></i>
|
|
156
|
+
</button>
|
|
157
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
158
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
159
|
+
</div>
|
|
160
|
+
|
|
161
|
+
<div class='fd-splitter__split-pane fd-splitter__split-pane--translucent'>
|
|
162
|
+
Translucent
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<div tabindex='0' class="fd-splitter__resizer" role="separator" aria-orienration="vertical">
|
|
166
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
167
|
+
<i class="sap-icon--vertical-grip fd-splitter__resizer-grip-icon"></i>
|
|
168
|
+
</button>
|
|
169
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
170
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
<div class='fd-splitter__split-pane fd-splitter__split-pane--solid'>
|
|
174
|
+
Solid
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### GripAnatomy
|
|
181
|
+
|
|
182
|
+
Grip is the component that allows resizing of panes and pane containers. By default, its background is transparent. To apply <code>translucent</code> background to it use the <code>fd-splitter__resizer--translucent</code> modifier class to the <code>fd-splitter__resizer</code> base class. For <code>solid</code> background use <code>fd-splitter__resizer--solid</code>.
|
|
183
|
+
|
|
184
|
+
```html
|
|
185
|
+
<h2>Vertical</h2>
|
|
186
|
+
<div class="fd-splitter">
|
|
187
|
+
<div class='fd-splitter__pane-container fd-splitter__pane-container--vertical'>
|
|
188
|
+
|
|
189
|
+
<div tabindex='0' class="fd-splitter__resizer" role="separator" aria-orienration="vertical">
|
|
190
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
191
|
+
<i class="sap-icon--vertical-grip fd-splitter__resizer-grip-icon"></i>
|
|
192
|
+
</button>
|
|
193
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
194
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
195
|
+
</div>
|
|
196
|
+
|
|
197
|
+
<div tabindex='0' class="fd-splitter__resizer fd-splitter__resizer--translucent" role="separator" aria-orienration="vertical">
|
|
198
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
199
|
+
<i class="sap-icon--vertical-grip fd-splitter__resizer-grip-icon"></i>
|
|
200
|
+
</button>
|
|
201
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
202
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
203
|
+
</div>
|
|
204
|
+
|
|
205
|
+
<div tabindex='0' class="fd-splitter__resizer fd-splitter__resizer--solid" role="separator" aria-orienration="vertical">
|
|
206
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
207
|
+
<i class="sap-icon--vertical-grip fd-splitter__resizer-grip-icon"></i>
|
|
208
|
+
</button>
|
|
209
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
210
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
211
|
+
</div>
|
|
212
|
+
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
|
|
216
|
+
<h2>Horizontal</h2>
|
|
217
|
+
<div class="fd-splitter">
|
|
218
|
+
<div class='fd-splitter__pane-container fd-splitter__pane-container--horizontal'>
|
|
219
|
+
|
|
220
|
+
<div tabindex='0' class="fd-splitter__resizer" role="separator" aria-orienration="horizontal">
|
|
221
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
222
|
+
<i class="sap-icon--horizontal-grip fd-splitter__resizer-grip-icon"></i>
|
|
223
|
+
</button>
|
|
224
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
225
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
226
|
+
</div>
|
|
227
|
+
|
|
228
|
+
<div tabindex='0' class="fd-splitter__resizer fd-splitter__resizer--translucent" role="separator" aria-orienration="horizontal">
|
|
229
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
230
|
+
<i class="sap-icon--horizontal-grip fd-splitter__resizer-grip-icon"></i>
|
|
231
|
+
</button>
|
|
232
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
233
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
<div tabindex='0' class="fd-splitter__resizer fd-splitter__resizer--solid" role="separator" aria-orienration="horizontal">
|
|
237
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
238
|
+
<i class="sap-icon--horizontal-grip fd-splitter__resizer-grip-icon"></i>
|
|
239
|
+
</button>
|
|
240
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
241
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
242
|
+
</div>
|
|
243
|
+
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### PaginationBarAnatomy
|
|
249
|
+
|
|
250
|
+
Not all the panes should be visible at the same time. Some of them might be just hidden or goes off-canvas at certain breakpoint.
|
|
251
|
+
Navigate into off-canvas panes possible via the navigation. Navigation should be placed in root container.
|
|
252
|
+
There should be only one or two root panes. In case there is only one on-canvas root pane navigation will be shown just below, having the full width.
|
|
253
|
+
Otherwise navigation will be shown below the right root pane.
|
|
254
|
+
|
|
255
|
+
**Note:** Navigation logic you should implement yourself.
|
|
256
|
+
|
|
257
|
+
```html
|
|
258
|
+
<div class="fd-splitter">
|
|
259
|
+
<div class="fd-splitter__pane-container fd-splitter__pane-container--horizontal">
|
|
260
|
+
<div class="fd-splitter__pagination">
|
|
261
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item">
|
|
262
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
263
|
+
</button>
|
|
264
|
+
|
|
265
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item fd-splitter__pagination-item--active">
|
|
266
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
267
|
+
</button>
|
|
268
|
+
|
|
269
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item">
|
|
270
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
271
|
+
</button>
|
|
272
|
+
|
|
273
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item">
|
|
274
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
275
|
+
</button>
|
|
276
|
+
|
|
277
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item">
|
|
278
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
279
|
+
</button>
|
|
280
|
+
</div>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
### Examples
|
|
286
|
+
|
|
287
|
+
Content can be split by the vertical areas (columns) or by the horizontal areas (rows).
|
|
288
|
+
|
|
289
|
+
**Note:** You should explicitly set the dimensions of the splitter component and of the every area otherwise it will be set to the size of the content.
|
|
290
|
+
|
|
291
|
+
```html
|
|
292
|
+
<div class="fd-splitter">
|
|
293
|
+
<div class='fd-splitter__pane-container fd-splitter__pane-container--vertical'>
|
|
294
|
+
|
|
295
|
+
<div tabindex='0' class="fd-splitter__resizer" role="separator" aria-orienration="vertical">
|
|
296
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
297
|
+
<i class="sap-icon--vertical-grip fd-splitter__resizer-grip-icon"></i>
|
|
298
|
+
</button>
|
|
299
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
300
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
301
|
+
</div>
|
|
302
|
+
|
|
303
|
+
<div class='fd-splitter__pane-container fd-splitter__pane-container--horizontal'>
|
|
304
|
+
|
|
305
|
+
<div tabindex='0' class="fd-splitter__resizer" role="separator" aria-orienration="horizontal">
|
|
306
|
+
<button class='fd-button fd-button--nested fd-splitter__resizer-grip' tabindex="-1">
|
|
307
|
+
<i class="sap-icon--horizontal-grip fd-splitter__resizer-grip-icon"></i>
|
|
308
|
+
</button>
|
|
309
|
+
<span class='fd-splitter__resizer-decoration-before'></span>
|
|
310
|
+
<span class='fd-splitter__resizer-decoration-after'></span>
|
|
311
|
+
</div>
|
|
312
|
+
|
|
313
|
+
<div class='fd-splitter__split-pane fd-splitter__split-pane--solid'>
|
|
314
|
+
|
|
315
|
+
<div class='fd-splitter__pagination'>
|
|
316
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item">
|
|
317
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
318
|
+
</button>
|
|
319
|
+
|
|
320
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item fd-splitter__pagination-item--active">
|
|
321
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
322
|
+
</button>
|
|
323
|
+
|
|
324
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item">
|
|
325
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
326
|
+
</button>
|
|
327
|
+
|
|
328
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item">
|
|
329
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
330
|
+
</button>
|
|
331
|
+
|
|
332
|
+
<button class="fd-button fd-button--nested fd-splitter__pagination-item">
|
|
333
|
+
<span class="fd-splitter__pagination-item-dot"></span>
|
|
334
|
+
</button>
|
|
335
|
+
</div>
|
|
336
|
+
</div>
|
|
337
|
+
</div>
|
|
338
|
+
</div>
|
|
339
|
+
</div>
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
## Accessibility
|
|
343
|
+
|
|
344
|
+
- Use semantic HTML elements where appropriate
|
|
345
|
+
- Include proper ARIA attributes for interactive elements
|
|
346
|
+
- Ensure keyboard navigation support
|
|
347
|
+
- Provide adequate color contrast
|
|
348
|
+
|
|
349
|
+
## Source
|
|
350
|
+
|
|
351
|
+
This documentation was automatically generated from: `packages/styles/stories/BTP/splitter/splitter.stories.js`
|
|
352
|
+
|
|
353
|
+
For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).
|