@fundamental-styles/mcp 0.42.0-rc.1 → 0.42.0-rc.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.42.0-rc.3](https://github.com/SAP/fundamental-styles/compare/v0.42.0-rc.2...v0.42.0-rc.3) (2026-10-06)
7
+
8
+ **Note:** Version bump only for package fundamental-styles
9
+
10
+ # [0.42.0-rc.2](https://github.com/SAP/fundamental-styles/compare/v0.42.0-rc.1...v0.42.0-rc.2) (2026-10-05)
11
+
12
+ **Note:** Version bump only for package fundamental-styles
13
+
6
14
  # [0.42.0-rc.1](https://github.com/SAP/fundamental-styles/compare/v0.42.0-rc.0...v0.42.0-rc.1) (2026-10-05)
7
15
 
8
16
  ### Bug Fixes
@@ -7197,9 +7205,9 @@ Co-authored-by: droshev <mladen.droshev@sap.com>
7197
7205
 
7198
7206
  - added a new modifier class to fd-row to achieve even alignment of its elements:fd-row--top in a form.
7199
7207
  Before:
7200
- <div class="fd-row">
7201
- After:
7202
- <div class="fd-row fd-row--top">
7208
+ <div class="fd-row">
7209
+ After:
7210
+ <div class="fd-row fd-row--top">
7203
7211
 
7204
7212
  ### Bug Fixes
7205
7213
 
@@ -29,13 +29,13 @@ This directory contains AI-consumable documentation extracted from Storybook sto
29
29
  |-----------|----------|------|
30
30
  | BTP/Avatar | `fd-avatar` | [avatar-btp.md](./avatar-btp.md) |
31
31
  | BTP/Button | `fd-button` | [button-btp.md](./button-btp.md) |
32
- | BTP/Navigation/Horizontal Navigation | `fd-navigation` | [navigation-navigation.md](./navigation-navigation.md) |
33
- | BTP/Navigation/Vertical Navigation | `fd-navigation` | [navigation.md](./navigation.md) |
32
+ | BTP/Side Navigation | `fd-navigation` | [navigation.md](./navigation.md) |
34
33
  | BTP/Splitter | `fd-splitter` | [splitter.md](./splitter.md) |
35
34
  | BTP/Title Bar | `fd-toolbar` | [toolbar-btp.md](./toolbar-btp.md) |
36
35
  | BTP/Tool Header | `fd-tool-header` | [tool-header.md](./tool-header.md) |
37
36
  | BTP/User Menu | `fd-popover` | [popover-btp.md](./popover-btp.md) |
38
37
  | Dev/Navigation Menu | `fd-navigation-menu` | [navigation-menu.md](./navigation-menu.md) |
38
+ | navigation-horizontal | `fd-navigation` | [navigation-navigation.md](./navigation-navigation.md) |
39
39
 
40
40
  ### Components
41
41
 
@@ -5,14 +5,24 @@ category: Components
5
5
  selector: fd-input-group
6
6
  cssFile: input-group.css
7
7
  sourcePath: packages/cx/stories/Components/cx-side-navigation/cx-side-navigation.stories.js
8
- tags: ["cx","theme"]
8
+ tags: ["deprecated","cx"]
9
9
  dependencies: ["side-nav"]
10
10
  relatedComponents: ["side-nav"]
11
- stability: stable
11
+ stability: deprecated
12
12
  ---
13
13
 
14
14
  # Components/Cx Side Navigation
15
15
 
16
+ > **⚠️ DEPRECATED**: This component is deprecated and should not be used in new projects.
17
+
18
+ <br><div role="note" class="fd-message-strip fd-message-strip--warning"><div class="fd-message-strip__icon-container" aria-hidden="true">
19
+ <span class="sap-icon sap-icon--message-warning" role="presentation" aria-hidden="true"></span>
20
+ </div>
21
+ <p class="fd-message-strip__text" style="line-height: 1; margin: 0;">
22
+ The component has been deprecated, use <b>BTP Side Navigation</b> instead.
23
+ </p>
24
+ </div>
25
+
16
26
  The Side Navigation can display structures of up to three levels.
17
27
  <br><br>In the <code>Wide</code> variant:
18
28
  - The first levels always shows an icon
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  component: fd-navigation
3
- title: BTP/Navigation/Horizontal Navigation
3
+ title: navigation-horizontal
4
4
  category: BTP
5
5
  selector: fd-navigation
6
6
  cssFile: navigation.css
@@ -11,7 +11,7 @@ relatedComponents: []
11
11
  stability: stable
12
12
  ---
13
13
 
14
- # BTP/Navigation/Horizontal Navigation
14
+ # navigation-horizontal
15
15
 
16
16
  The navigation is one of the signature design elements of BTP Tools.
17
17
  ## Navigation Types:
@@ -1,47 +1,34 @@
1
1
  ---
2
2
  component: fd-navigation
3
- title: BTP/Navigation/Vertical Navigation
3
+ title: BTP/Side Navigation
4
4
  category: BTP
5
5
  selector: fd-navigation
6
6
  cssFile: navigation.css
7
7
  sourcePath: packages/styles/stories/BTP/Navigation/vertical/navigation.stories.js
8
- tags: ["btp","horizon-only"]
8
+ tags: []
9
9
  dependencies: []
10
10
  relatedComponents: []
11
11
  stability: stable
12
12
  ---
13
13
 
14
- # BTP/Navigation/Vertical Navigation
14
+ # BTP/Side Navigation
15
15
 
16
- The navigation is one of the signature design elements of BTP Tools.
16
+ The side navigation component provides a vertical menu that lets users open applications or modules in your product. It can be implemented as an embedded panel or as an overlay. In embedded mode, the navigation can be expanded or collapsed using the side navigation button. In overlay mode, the button opens the navigation as an overlay. For more details, see <a href="https://www.sap.com/design-system/fiori-design-web/v1-151/ui-elements/side-navigation">SAP Design Guidelines</a>.
17
17
 
18
- ## Navigation Types:
19
- - <b>Vertical Navigation - Expanded</b>. The default navigation visualization provides a logical grouping of navigation items and two levels of hierarchy.
20
- - <b>Vertical Navigation - Snapped</b>. The snapped vertical navigation variant reduces the navigation width to free horizontal space.
21
- - <b>Vertical Navigation - Popup</b>. An alternative to the expanded/snapped variant, which places the navigation items in a popup.
22
- - <b>Horizontal Navigation</b>&nbsp;- The horizontal variant allows for infinite levels of navigation hierarchy through cascading menus.
18
+ ## Embedded Mode
19
+ The side navigation is embedded into the page and can expand or collapse. The button toggles between expanded and collapsed states. On screens wider than 600px, the navigation stays embedded. On smaller screens (600px or less) and phones, it becomes a full-screen overlay instead.
23
20
 
21
+ ## Overlay Mode
22
+ The side navigation opens as a popover and closes when you select an item. On web and tablets, it appears as a responsive popover. On phones, it always appears as a full-screen dialog.
24
23
 
25
24
  ## Usage
26
25
  ### Recommended
27
- - Use the navigation to switch between different pages of your tool.
28
- - Use expanded vertical navigation for unknown users.
29
- - Use persistence and display the last state the vertical navigation was in for know users.
30
- - Use the snapped variant when the content area displays multi-column content relationships.
31
- - Use the popup variant to display between 3 and 7 navigation items without hierarchy.
32
- - Use the horizontal navigation variant to display more than two levels of hierarchy.
33
- - Use nouns for the titles of navigation items.
26
+ - As the main navigation paradigm across the application, to navigate to multiple targets.
34
27
 
35
28
  ### Not Recommended
36
- - Avoid using the navigation for switching between tools. Use the mega menu instead.
37
- - Avoid using the navigation to switch contexts or views. Use tabs or segmented buttons instead.
38
- - Avoid using verbs for the titles of navigation items. Use nouns instead.
39
- - Avoid using the Navigation Items for both navigation and groups. Use only one of the options.
40
- - Avoid having more than three levels of hierarchy in the horizontal variant.
41
- - Avoid using icons in secondary navigation and navigation groups.
42
- - Avoid using spacers to separate navigation content. Use separators instead.
43
- - Avoid using dividers to separate groups. Use separators instead.
44
- - Avoid using the bottom navigation area for service information. Use settings and user menu instead.
29
+ - For structuring the application layout or implementing application-specific logic.
30
+ - If your product has only a single navigation target.
31
+ - In a combination of embedded and overlay modes. Use either of them.
45
32
 
46
33
  ## Installation
47
34
 
@@ -827,9 +814,9 @@ npm install fundamental-styles
827
814
 
828
815
  | Class | Description |
829
816
  |-------|-------------|
830
- | `fd-navigation--popup` | An alternative to the expanded/snapped variant, which places the navigation items in a popup. |
831
- | `fd-navigation--snapped` | By default, the Parent Navigation Item functions as a Navigation Group |
832
- | `fd-navigation--vertical` | Vertical navigation is the most common and preferred way of navigating BTP tools |
817
+ | `fd-navigation--popup` | In overlay mode, the side navigation button opens and closes the popover |
818
+ | `fd-navigation--snapped` | When collapsed, child items appear in a popover |
819
+ | `fd-navigation--vertical` | Style variant |
833
820
 
834
821
  ## BEM Elements
835
822
 
@@ -867,9 +854,7 @@ This component uses the following BEM elements:
867
854
 
868
855
  ## Examples
869
856
 
870
- ### Vertical Navigation - Expanded
871
-
872
- Vertical navigation is the most common and preferred way of navigating BTP tools. It comprises many elements that work together to provide a logical information hierarchy and inform users of their current position.
857
+ ### Embedded Mode - Expanded
873
858
 
874
859
  ```html
875
860
  <div
@@ -1635,9 +1620,9 @@ Vertical navigation is the most common and preferred way of navigating BTP tools
1635
1620
  </div>
1636
1621
  ```
1637
1622
 
1638
- ### Vertical Navigation - Parent Navigation as Link
1623
+ ### Parent Navigation as Link
1639
1624
 
1640
- By default, the Parent Navigation Item functions as a Navigation Group. A small arrow icon shows the item's expanded/collapsed state in this scenario. In the snapped variant, clicking on such a navigation item will open a popover that displays the title and Child Items.<br>Although not recommended, the Navigation Item can function for navigation and expansion/collapse. In this case, clicking on the arrow will show/hide Child Items, and clicking on the item will perform the navigation.
1625
+ By default, parent items act as navigation groups with an arrow icon showing their expanded/collapsed state. When collapsed, clicking a parent item opens a popover with its child items.<br>Alternatively (not recommended), parent items can both navigate and expand/collapse: clicking the arrow toggles child items, while clicking the item navigates.
1641
1626
 
1642
1627
  ```html
1643
1628
  <div
@@ -2247,9 +2232,9 @@ By default, the Parent Navigation Item functions as a Navigation Group. A small
2247
2232
  </div>
2248
2233
  ```
2249
2234
 
2250
- ### Vertical Navigation - Snapped
2235
+ ### Embedded Mode - Collapsed (Snapped)
2251
2236
 
2252
- The snapped vertical navigation variant reduces the navigation width to free horizontal space.
2237
+ When collapsed, child items appear in a popover. Navigation elements move to an overflow area when space is limited. Items with children display as cascaded menus in the overflow. Selecting an overflow item brings its parent into view above the overflow button.
2253
2238
 
2254
2239
  ```html
2255
2240
  <div
@@ -2916,9 +2901,9 @@ The snapped vertical navigation variant reduces the navigation width to free hor
2916
2901
  </div>
2917
2902
  ```
2918
2903
 
2919
- ### Vertical Navigation - Popup
2904
+ ### Overlay Mode (Popup)
2920
2905
 
2921
- An alternative to the expanded/snapped variant, which places the navigation items in a popup.
2906
+ In overlay mode, the side navigation button opens and closes the popover. The navigation items are displayed within the popover, allowing access to all levels of the navigation hierarchy without occupying permanent screen space.
2922
2907
 
2923
2908
  ```html
2924
2909
  <div
@@ -3688,7 +3673,7 @@ An alternative to the expanded/snapped variant, which places the navigation item
3688
3673
  </div>
3689
3674
  ```
3690
3675
 
3691
- ### Vertical Navigation - Indication Tags
3676
+ ### Indication Tags
3692
3677
 
3693
3678
  Navigation items can display indication tags (e.g., "New", "Beta", "Deprecated") using the Object Status component.
3694
3679
 
@@ -4649,10 +4634,10 @@ Navigation items can display indication tags (e.g., "New", "Beta", "Deprecated")
4649
4634
  </div>
4650
4635
  ```
4651
4636
 
4652
- ### Vertical Navigation - Sticky Area
4637
+ ### Sticky Area
4653
4638
 
4654
- Fixed header area that is separated by a separator similar to the footer area. Top-aligned and fixed/sticky (always visible). Contains the optional search field. Add <code>.fd-navigation__container--sticky</code> together with <code>.fd-navigation__container--top</code> modifier class to the <code>.fd-navigation__container</code> base class to make the top area sticky.<br>
4655
- Guideline: Recommended not to contain more than 4 items.
4639
+ Fixed header area that is separated by a separator similar to the footer area. Top-aligned and fixed/sticky (always visible). Contains the optional search field. Add <code>.fd-navigation__container--sticky</code> together with <code>.fd-navigation__container--top</code> modifier class to the <code>.fd-navigation__container</code> base class to make the top area sticky.<br><br>
4640
+ Guideline: Recommended not to contain more than 4 items.<br><br>For more details, see <a href="https://www.sap.com/design-system/fiori-design-web/v1-151/ui-elements/side-navigation">SAP Design Guidelines</a>.
4656
4641
 
4657
4642
  ```html
4658
4643
  <div
@@ -5592,10 +5577,10 @@ Guideline: Recommended not to contain more than 4 items.
5592
5577
  </div>
5593
5578
  ```
5594
5579
 
5595
- ### Vertical Navigation - Search
5580
+ ### Search
5596
5581
 
5597
5582
  Search Only: for a sticky search field, the sticky header area with separator is not needed. The search field can be sticky by applying <code>.fd-navigation__list-item--sticky</code> modifier class to the parent navigation list item.
5598
- <br><br><strong>Note:</strong> The <code>.fd-navigation__list-item--home</code> class is still supported for backward compatibility and functions identically to <code>.fd-navigation__list-item--sticky</code>. It was originally intended specifically for Home navigation link, but <code>.fd-navigation__list-item--sticky</code> is now the recommended approach as it can be applied to any list item that needs to be sticky at the top.
5583
+ <br><br><strong>Note:</strong> The <code>.fd-navigation__list-item--home</code> class is still supported for backward compatibility and functions identically to <code>.fd-navigation__list-item--sticky</code>. It was originally intended specifically for Home navigation link, but <code>.fd-navigation__list-item--sticky</code> is now the recommended approach as it can be applied to any list item that needs to be sticky at the top.<br> <br>For more details, see <a href="https://www.sap.com/design-system/fiori-design-web/v1-151/ui-elements/side-navigation">SAP Design Guidelines</a>.
5599
5584
 
5600
5585
  ```html
5601
5586
  <div
@@ -5,14 +5,23 @@ category: Components
5
5
  selector: fd-side-nav
6
6
  cssFile: side-nav.css
7
7
  sourcePath: packages/styles/stories/Components/side-navigation/side-navigation.stories.js
8
- tags: []
9
- dependencies: ["button","icon","navigation-list","popover","side-nav"]
10
- relatedComponents: ["button","icon","navigation-list","popover","side-nav"]
11
- stability: stable
8
+ tags: ["deprecated"]
9
+ dependencies: ["button","icon","message-strip","navigation-list","popover","side-nav"]
10
+ relatedComponents: ["button","icon","message-strip","navigation-list","popover","side-nav"]
11
+ stability: deprecated
12
12
  ---
13
13
 
14
14
  # Components/Side Navigation
15
15
 
16
+ > **⚠️ DEPRECATED**: This component is deprecated and should not be used in new projects.
17
+
18
+ <br><div role="note" class="fd-message-strip fd-message-strip--warning"><div class="fd-message-strip__icon-container" aria-hidden="true">
19
+ <span class="sap-icon sap-icon--message-warning" role="presentation" aria-hidden="true"></span>
20
+ </div>
21
+ <p class="fd-message-strip__text" style="line-height: 1; margin: 0;">
22
+ The component has been deprecated, use <b>BTP Side Navigation</b> instead.
23
+ </p>
24
+ </div>
16
25
  The Side Navigation is an additional option to add a navigation to an application. Same as the vertical navigation it offers the user easy access to multiple pages per space. Side Navigation is triggered by the Menu Icon in Shellbar and can be hidden, collapsed or expanded.
17
26
 
18
27
  ## Anatomy
@@ -51,6 +60,7 @@ This component depends on the following CSS files:
51
60
 
52
61
  - `button.css`
53
62
  - `icon.css`
63
+ - `message-strip.css`
54
64
  - `navigation-list.css`
55
65
  - `popover.css`
56
66
  - `side-nav.css`
@@ -71,6 +81,7 @@ npm install fundamental-styles
71
81
  <!-- Include dependencies -->
72
82
  <link href="node_modules/fundamental-styles/dist/button.css" rel="stylesheet">
73
83
  <link href="node_modules/fundamental-styles/dist/icon.css" rel="stylesheet">
84
+ <link href="node_modules/fundamental-styles/dist/message-strip.css" rel="stylesheet">
74
85
  <link href="node_modules/fundamental-styles/dist/navigation-list.css" rel="stylesheet">
75
86
  <link href="node_modules/fundamental-styles/dist/popover.css" rel="stylesheet">
76
87
  <link href="node_modules/fundamental-styles/dist/side-nav.css" rel="stylesheet">
@@ -375,6 +386,7 @@ This component works with or depends on:
375
386
 
376
387
  - `button`
377
388
  - `icon`
389
+ - `message-strip`
378
390
  - `navigation-list`
379
391
  - `popover`
380
392
  - `side-nav`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-styles/mcp",
3
- "version": "0.42.0-rc.1",
3
+ "version": "0.42.0-rc.3",
4
4
  "mcpName": "io.github.sap/fundamental-styles-mcp",
5
5
  "description": "MCP server exposing fundamental-styles CSS component metadata for AI coding assistants",
6
6
  "license": "Apache-2.0",