@ui5/webcomponents-fiori 2.29.0-rc.0 → 2.29.0

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.
Files changed (117) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +12 -0
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/DynamicSideContent.js +7 -4
  5. package/dist/DynamicSideContent.js.map +1 -1
  6. package/dist/NavigationLayoutTemplate.js +1 -1
  7. package/dist/NavigationLayoutTemplate.js.map +1 -1
  8. package/dist/ProductSwitch.d.ts +15 -4
  9. package/dist/ProductSwitch.js +49 -17
  10. package/dist/ProductSwitch.js.map +1 -1
  11. package/dist/ProductSwitchTemplate.js +2 -1
  12. package/dist/ProductSwitchTemplate.js.map +1 -1
  13. package/dist/Search.d.ts +7 -0
  14. package/dist/Search.js +31 -2
  15. package/dist/Search.js.map +1 -1
  16. package/dist/SearchField.d.ts +1 -0
  17. package/dist/SearchField.js +4 -1
  18. package/dist/SearchField.js.map +1 -1
  19. package/dist/SearchFieldTemplate.js +1 -1
  20. package/dist/SearchFieldTemplate.js.map +1 -1
  21. package/dist/SearchItem.d.ts +0 -2
  22. package/dist/SearchItem.js +0 -9
  23. package/dist/SearchItem.js.map +1 -1
  24. package/dist/SearchItemTemplate.js +7 -1
  25. package/dist/SearchItemTemplate.js.map +1 -1
  26. package/dist/ShellBar.d.ts +1 -0
  27. package/dist/ShellBar.js +6 -2
  28. package/dist/ShellBar.js.map +1 -1
  29. package/dist/ShellBarItem.d.ts +9 -0
  30. package/dist/ShellBarItem.js +3 -0
  31. package/dist/ShellBarItem.js.map +1 -1
  32. package/dist/ShellBarItemTemplate.js +1 -1
  33. package/dist/ShellBarItemTemplate.js.map +1 -1
  34. package/dist/SideNavigation.d.ts +0 -1
  35. package/dist/SideNavigation.js +1 -8
  36. package/dist/SideNavigation.js.map +1 -1
  37. package/dist/SideNavigationGroupTemplate.js +2 -1
  38. package/dist/SideNavigationGroupTemplate.js.map +1 -1
  39. package/dist/SideNavigationItemBase.d.ts +0 -6
  40. package/dist/SideNavigationItemBase.js +0 -9
  41. package/dist/SideNavigationItemBase.js.map +1 -1
  42. package/dist/SideNavigationItemTemplate.js +3 -2
  43. package/dist/SideNavigationItemTemplate.js.map +1 -1
  44. package/dist/SideNavigationItemTextTemplate.d.ts +2 -0
  45. package/dist/SideNavigationItemTextTemplate.js +11 -0
  46. package/dist/SideNavigationItemTextTemplate.js.map +1 -0
  47. package/dist/SideNavigationPopoverTemplate.js +2 -2
  48. package/dist/SideNavigationPopoverTemplate.js.map +1 -1
  49. package/dist/SideNavigationSubItemTemplate.js +2 -1
  50. package/dist/SideNavigationSubItemTemplate.js.map +1 -1
  51. package/dist/SideNavigationTemplate.js +4 -4
  52. package/dist/SideNavigationTemplate.js.map +1 -1
  53. package/dist/css/themes/NavigationLayout.css +1 -1
  54. package/dist/css/themes/ProductSwitch.css +1 -1
  55. package/dist/css/themes/ProductSwitchItem.css +1 -1
  56. package/dist/css/themes/SearchField.css +1 -1
  57. package/dist/css/themes/ShellBar.css +1 -1
  58. package/dist/css/themes/TimelineItem.css +1 -1
  59. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  60. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  61. package/dist/custom-elements-internal.json +95 -8
  62. package/dist/custom-elements.json +82 -6
  63. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  64. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  65. package/dist/generated/i18n/i18n-defaults.d.ts +1 -3
  66. package/dist/generated/i18n/i18n-defaults.js +1 -3
  67. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  68. package/dist/generated/themes/NavigationLayout.css.d.ts +1 -1
  69. package/dist/generated/themes/NavigationLayout.css.js +1 -1
  70. package/dist/generated/themes/NavigationLayout.css.js.map +1 -1
  71. package/dist/generated/themes/ProductSwitch.css.d.ts +1 -1
  72. package/dist/generated/themes/ProductSwitch.css.js +1 -1
  73. package/dist/generated/themes/ProductSwitch.css.js.map +1 -1
  74. package/dist/generated/themes/ProductSwitchItem.css.d.ts +1 -1
  75. package/dist/generated/themes/ProductSwitchItem.css.js +1 -1
  76. package/dist/generated/themes/ProductSwitchItem.css.js.map +1 -1
  77. package/dist/generated/themes/SearchField.css.d.ts +1 -1
  78. package/dist/generated/themes/SearchField.css.js +1 -1
  79. package/dist/generated/themes/SearchField.css.js.map +1 -1
  80. package/dist/generated/themes/ShellBar.css.d.ts +1 -1
  81. package/dist/generated/themes/ShellBar.css.js +1 -1
  82. package/dist/generated/themes/ShellBar.css.js.map +1 -1
  83. package/dist/generated/themes/TimelineItem.css.d.ts +1 -1
  84. package/dist/generated/themes/TimelineItem.css.js +1 -1
  85. package/dist/generated/themes/TimelineItem.css.js.map +1 -1
  86. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.d.ts +1 -1
  87. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  88. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  89. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.d.ts +1 -1
  90. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  91. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  92. package/dist/vscode.html-custom-data.json +17 -1
  93. package/dist/web-types.json +38 -3
  94. package/llms.txt +120 -0
  95. package/package.json +11 -8
  96. package/src/NavigationLayoutTemplate.tsx +2 -2
  97. package/src/ProductSwitchTemplate.tsx +16 -9
  98. package/src/SearchFieldTemplate.tsx +1 -1
  99. package/src/SearchItemTemplate.tsx +9 -1
  100. package/src/ShellBarItemTemplate.tsx +2 -1
  101. package/src/SideNavigationGroupTemplate.tsx +2 -1
  102. package/src/SideNavigationItemTemplate.tsx +34 -33
  103. package/src/SideNavigationItemTextTemplate.tsx +12 -0
  104. package/src/SideNavigationPopoverTemplate.tsx +2 -0
  105. package/src/SideNavigationSubItemTemplate.tsx +2 -1
  106. package/src/SideNavigationTemplate.tsx +0 -4
  107. package/src/i18n/messagebundle.properties +1 -7
  108. package/src/themes/NavigationLayout.css +7 -7
  109. package/src/themes/ProductSwitch.css +15 -11
  110. package/src/themes/ProductSwitchItem.css +16 -12
  111. package/src/themes/SearchField.css +5 -0
  112. package/src/themes/ShellBar.css +1 -4
  113. package/src/themes/TimelineItem.css +2 -2
  114. package/src/themes/sap_fiori_3/ProductSwitchItem-parameters.css +7 -0
  115. package/src/themes/sap_fiori_3/parameters-bundle.css +1 -1
  116. package/src/themes/sap_fiori_3_dark/ProductSwitchItem-parameters.css +7 -0
  117. package/src/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
package/llms.txt ADDED
@@ -0,0 +1,120 @@
1
+ # @ui5/webcomponents-fiori
2
+
3
+ > Consumer guidance for applications using this npm package.
4
+
5
+ Version: 2.29.0
6
+
7
+ SAP Fiori components such as ShellBar, DynamicPage, and SideNavigation. Use @ui5/webcomponents for primary controls.
8
+
9
+ ## Read the installed API
10
+
11
+ - [Public API manifest](./dist/custom-elements.json): component tags, module paths, properties, attributes, events, slots, methods, CSS parts, and deprecations.
12
+ - [Package metadata](./package.json): installed version, dependencies, and exports.
13
+ - [Package README](./README.md): assets and package-specific setup.
14
+ - TypeScript declarations next to each component in dist provide additional type information.
15
+ - [Online documentation and examples](https://ui5.github.io/webcomponents/): check that examples apply to the installed version. Prefer the local manifest and declarations when versions differ.
16
+
17
+ Read the relevant component declaration before writing code. Do not invent properties, event names, slots, or methods. This index lists components in this package; inspect the corresponding installed package for other components.
18
+
19
+ ## Usage conventions
20
+
21
+ - Import a component's JavaScript module to register its custom element, using the /dist/ paths below. Import child components used in your markup explicitly rather than assuming they are registered transitively.
22
+ - These are native web components. JSX wrappers from @ui5/webcomponents-react have a separate API and package; do not substitute wrapper props for native APIs.
23
+ - HTML attributes and JavaScript properties can have different names (for example, accessible-name and accessibleName). Use the manifest's attribute mapping. Boolean attributes are true when present; remove them for false rather than writing disabled="false". Assign arrays and objects through JavaScript properties or your framework's property binding.
24
+ - Use addEventListener with the documented DOM event name; read documented custom event payloads from event.detail. In frameworks, check their custom-element event binding syntax.
25
+ - Place children in the documented default or named slots. Use slot="name" for a named slot and the documented child component types.
26
+ - Import icons separately, for example import "@ui5/webcomponents-icons/dist/save.js" before using icon="save". Check the icon exists in the installed icon package.
27
+ - For themes and translations, follow the README's Assets.js setup and the application's bundler configuration.
28
+ - Use stable attribute selectors such as [ui5-button] in CSS and DOM queries to support tag-name scoping. Under scoping, create markup with the application's configured scoped tag names.
29
+ - Style with supported theme variables and documented CSS parts. Avoid depending on private shadow DOM structure.
30
+ - In TypeScript, use import type for component types when a separate side-effect import registers the element.
31
+
32
+ ## Minimal registration example
33
+
34
+ ```js
35
+ import "@ui5/webcomponents-fiori/dist/ShellBar.js";
36
+ ```
37
+
38
+ ```html
39
+ <ui5-shellbar></ui5-shellbar>
40
+ ```
41
+
42
+ ## Component index
43
+
44
+ Generated from the public manifest. Descriptions are abbreviated; consult the manifest for complete usage constraints and API details.
45
+
46
+ | Component | Tag | Import module | Purpose |
47
+ | --- | --- | --- | --- |
48
+ | BarcodeScannerDialog | `ui5-barcode-scanner-dialog` | `@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js` | The BarcodeScannerDialog component provides barcode scanning functionality for all devices that support the MediaDevices.getUserMedia() native API. Opening the dialog launches the device camera and scans for known barcode formats. |
49
+ | DynamicPage | `ui5-dynamic-page` | `@ui5/webcomponents-fiori/dist/DynamicPage.js` | A layout component, representing a web page, consisting of a title, header with dynamic behavior, a content area, and an optional floating footer. |
50
+ | DynamicPageHeader | `ui5-dynamic-page-header` | `@ui5/webcomponents-fiori/dist/DynamicPageHeader.js` | Header of the DynamicPage. |
51
+ | DynamicPageHeaderActions | `ui5-dynamic-page-header-actions` | `@ui5/webcomponents-fiori/dist/DynamicPageHeaderActions.js` | The DynamicPageHeaderActions component is part of the DynamicPage family and is holding the action buttons behind the DynamicPageTitle and the DynamicPageHeader. |
52
+ | DynamicPageTitle | `ui5-dynamic-page-title` | `@ui5/webcomponents-fiori/dist/DynamicPageTitle.js` | Title of the DynamicPage. |
53
+ | DynamicSideContent | `ui5-dynamic-side-content` | `@ui5/webcomponents-fiori/dist/DynamicSideContent.js` | The DynamicSideContent (ui5-dynamic-side-content) is a layout component that allows additional content to be displayed in a way that flexibly adapts to different screen sizes. The side content appears in a container next to or directly… |
54
+ | FilterItem | `ui5-filter-item` | `@ui5/webcomponents-fiori/dist/FilterItem.js` | The ui5-filter-item component defines the filtering criteria for data in ui5-view-settings-dialog. It represents a single filter category that contains multiple filter options that users can select. |
55
+ | FilterItemOption | `ui5-filter-item-option` | `@ui5/webcomponents-fiori/dist/FilterItemOption.js` | The ui5-filter-item-option component defines individual filter values within a ui5-filter-item. It represents a single selectable option that users can choose to filter data. |
56
+ | FlexibleColumnLayout | `ui5-flexible-column-layout` | `@ui5/webcomponents-fiori/dist/FlexibleColumnLayout.js` | The FlexibleColumnLayout implements the list-detail-detail paradigm by displaying up to three pages in separate columns. There are several possible layouts that can be changed either with the component API, or by dragging the column… |
57
+ | GroupItem | `ui5-group-item` | `@ui5/webcomponents-fiori/dist/GroupItem.js` | The ui5-group-item component defines the grouping criteria for data in ui5-view-settings-dialog. It represents a single group option that users can select to organize data into logical groups. |
58
+ | HeroBanner | `ui5-hero-banner` | `@ui5/webcomponents-fiori/dist/HeroBanner.js` | The ui5-hero-banner is a flexible, full-width banner designed for placement at the top of a page. It provides a personalized greeting and quick access to key information or actions. |
59
+ | IllustratedMessage | `ui5-illustrated-message` | `@ui5/webcomponents-fiori/dist/IllustratedMessage.js` | An IllustratedMessage is a recommended combination of a solution-oriented message, an engaging illustration, and conversational tone to better communicate an empty or a success state than just show a message alone. |
60
+ | NotificationListItem | `ui5-li-notification` | `@ui5/webcomponents-fiori/dist/NotificationListItem.js` | The ui5-li-notification is a type of list item, meant to display notifications. |
61
+ | NotificationListGroupItem | `ui5-li-notification-group` | `@ui5/webcomponents-fiori/dist/NotificationListGroupItem.js` | The ui5-li-notification-group is a special type of list item, that unlike others can group items within self, usually ui5-li-notification items. |
62
+ | MediaGallery | `ui5-media-gallery` | `@ui5/webcomponents-fiori/dist/MediaGallery.js` | The ui5-media-gallery component allows the user to browse through multimedia items. Currently, the supported items are images and videos. The items should be defined using the ui5-media-gallery-item component. |
63
+ | MediaGalleryItem | `ui5-media-gallery-item` | `@ui5/webcomponents-fiori/dist/MediaGalleryItem.js` | The ui5-media-gallery-item web component represents the items displayed in the ui5-media-gallery web component. |
64
+ | NavigationLayout | `ui5-navigation-layout` | `@ui5/webcomponents-fiori/dist/NavigationLayout.js` | The ui5-navigation-layout is a container component that can be used to create a layout with a header, a side navigation and a content area. |
65
+ | NavigationMenu | `ui5-navigation-menu` | `@ui5/webcomponents-fiori/dist/NavigationMenu.js` | ui5-navigation-menu component represents a hierarchical menu structure, inherits all the functionality of ui5-menu. |
66
+ | NavigationMenuItem | `ui5-navigation-menu-item` | `@ui5/webcomponents-fiori/dist/NavigationMenuItem.js` | ui5-navigation-menu-item is the item to use inside a ui5-navigation-menu. An arbitrary hierarchy structure can be represented by recursively nesting navigation menu items. |
67
+ | NotificationListGroupList | `ui5-notification-group-list` | `@ui5/webcomponents-fiori/dist/NotificationListGroupList.js` | Internal ui5-li-notification-group-list component, that is used to support keyboard navigation of the notification group internal list. |
68
+ | NotificationList | `ui5-notification-list` | `@ui5/webcomponents-fiori/dist/NotificationList.js` | The ui5-notification-list web component represents a container for ui5-li-notification-group and ui5-li-notification. |
69
+ | NotificationListInternal | `ui5-notification-list-internal` | `@ui5/webcomponents-fiori/dist/NotificationListInternal.js` | Internal ui5-li-notification-list-list component, that is used to support keyboard navigation of the notification list internal list. |
70
+ | Page | `ui5-page` | `@ui5/webcomponents-fiori/dist/Page.js` | The ui5-page is a container component that holds one whole screen of an application. The page has three distinct areas that can hold content - a header, content area and a footer. |
71
+ | ProductSwitch | `ui5-product-switch` | `@ui5/webcomponents-fiori/dist/ProductSwitch.js` | The ui5-product-switch is an SAP Fiori specific web component that is used in ui5-shellbar and allows the user to easily switch between products. |
72
+ | ProductSwitchItem | `ui5-product-switch-item` | `@ui5/webcomponents-fiori/dist/ProductSwitchItem.js` | The ui5-product-switch-item web component represents the items displayed in the ui5-product-switch web component. |
73
+ | Search | `ui5-search` | `@ui5/webcomponents-fiori/dist/Search.js` | A ui5-search is an input with suggestions, used for user search. |
74
+ | SearchField | `ui5-search-field` | `@ui5/webcomponents-fiori/dist/SearchField.js` | A ui5-search-field is an input field, used for user search. |
75
+ | SearchItem | `ui5-search-item` | `@ui5/webcomponents-fiori/dist/SearchItem.js` | A ui5-search-item is a list item, used for displaying search suggestions |
76
+ | SearchItemGroup | `ui5-search-item-group` | `@ui5/webcomponents-fiori/dist/SearchItemGroup.js` | The ui5-search-item-group is type of suggestion item, that can be used to split the ui5-search-item suggestions into groups. |
77
+ | SearchItemShowMore | `ui5-search-item-show-more` | `@ui5/webcomponents-fiori/dist/SearchItemShowMore.js` | A ui5-search-item-show-more is a special type of ui5-li that acts as a button to progressively reveal additional (overflow) items within a group. |
78
+ | SearchMessageArea | `ui5-search-message-area` | `@ui5/webcomponents-fiori/dist/SearchMessageArea.js` | import "@ui5/webcomponents-fiori/dist/SearchMessageArea.js"; |
79
+ | SearchScope | `ui5-search-scope` | `@ui5/webcomponents-fiori/dist/SearchScope.js` | The ui5-search-scope represents the options for the scope in ui5-search. |
80
+ | ShellBar | `ui5-shellbar` | `@ui5/webcomponents-fiori/dist/ShellBar.js` | The ui5-shellbar is meant to serve as an application header and includes numerous built-in features, such as: logo, profile image/icon, title, search field, notifications and so on. |
81
+ | ShellBarBranding | `ui5-shellbar-branding` | `@ui5/webcomponents-fiori/dist/ShellBarBranding.js` | The ui5-shellbar-branding component is intended to be placed inside the branding slot of the ui5-shellbar component. Its content has higher priority than the primaryTitle property and the logo slot of ui5-shellbar. |
82
+ | ShellBarItem | `ui5-shellbar-item` | `@ui5/webcomponents-fiori/dist/ShellBarItem.js` | The ui5-shellbar-item represents a custom item for ui5-shellbar. |
83
+ | ShellBarSearch | `ui5-shellbar-search` | `@ui5/webcomponents-fiori/dist/ShellBarSearch.js` | Search field for the ShellBar component. |
84
+ | ShellBarSpacer | `ui5-shellbar-spacer` | `@ui5/webcomponents-fiori/dist/ShellBarSpacer.js` | The ui5-shellbar-spacer is an element, used for visual separation between the two content parts of the ui5-shellbar. **Note:** The ui5-shellbar-spacer component is in an experimental state and is a subject to change. |
85
+ | SideNavigation | `ui5-side-navigation` | `@ui5/webcomponents-fiori/dist/SideNavigation.js` | The SideNavigation is used as a standard menu in applications. It consists of three containers: header (top-aligned), main navigation section (top-aligned) and the secondary section (bottom-aligned). |
86
+ | SideNavigationGroup | `ui5-side-navigation-group` | `@ui5/webcomponents-fiori/dist/SideNavigationGroup.js` | Represents a group of navigation actions within ui5-side-navigation. The ui5-side-navigation-group can only be used inside a ui5-side-navigation. |
87
+ | SideNavigationItem | `ui5-side-navigation-item` | `@ui5/webcomponents-fiori/dist/SideNavigationItem.js` | Represents a navigation action. It can provide sub items. The ui5-side-navigation-item is used within ui5-side-navigation or ui5-side-navigation-group only. |
88
+ | SideNavigationSearchField | `ui5-side-navigation-search-field` | `@ui5/webcomponents-fiori/dist/SideNavigationSearchField.js` | A ui5-side-navigation-search-field is a search field, used to filter the items of a ui5-side-navigation. |
89
+ | SideNavigationSubItem | `ui5-side-navigation-sub-item` | `@ui5/webcomponents-fiori/dist/SideNavigationSubItem.js` | Represents a single navigation action within ui5-side-navigation-item. The ui5-side-navigation-sub-item is intended to be used inside a ui5-side-navigation-item only. |
90
+ | SortItem | `ui5-sort-item` | `@ui5/webcomponents-fiori/dist/SortItem.js` | The ui5-sort-item component defines the sorting criteria for data in ui5-view-settings-dialog. It represents a single sort option that users can select to organize data in ascending or descending order. |
91
+ | Timeline | `ui5-timeline` | `@ui5/webcomponents-fiori/dist/Timeline.js` | The ui5-timeline component shows entries (such as objects, events, or posts) in chronological order. A common use case is to provide information about changes to an object, or events related to an object. These entries can be generated by… |
92
+ | TimelineGroupItem | `ui5-timeline-group-item` | `@ui5/webcomponents-fiori/dist/TimelineGroupItem.js` | An entry posted on the timeline. It is intented to represent a group of s. |
93
+ | TimelineItem | `ui5-timeline-item` | `@ui5/webcomponents-fiori/dist/TimelineItem.js` | An entry posted on the timeline. |
94
+ | UploadCollection | `ui5-upload-collection` | `@ui5/webcomponents-fiori/dist/UploadCollection.js` | This component allows you to represent files before uploading them to a server, with the help of ui5-upload-collection-item. It also allows you to show already uploaded files. |
95
+ | UploadCollectionItem | `ui5-upload-collection-item` | `@ui5/webcomponents-fiori/dist/UploadCollectionItem.js` | A component to be used within the ui5-upload-collection. |
96
+ | UserMenu | `ui5-user-menu` | `@ui5/webcomponents-fiori/dist/UserMenu.js` | The ui5-user-menu is an SAP Fiori specific web component that is used in ui5-shellbar and allows the user to easily see information and settings for the current user and all other logged in accounts. |
97
+ | UserMenuAccount | `ui5-user-menu-account` | `@ui5/webcomponents-fiori/dist/UserMenuAccount.js` | The ui5-user-menu-account represents an account in the ui5-user-menu. |
98
+ | UserMenuItem | `ui5-user-menu-item` | `@ui5/webcomponents-fiori/dist/UserMenuItem.js` | ui5-user-menu-item is the item to use inside a ui5-user-menu. An arbitrary hierarchy structure can be represented by recursively nesting menu items. |
99
+ | UserMenuItemGroup | `ui5-user-menu-item-group` | `@ui5/webcomponents-fiori/dist/UserMenuItemGroup.js` | The ui5-user-menu-item-group component represents a group of items designed for use inside a ui5-user-menu. Items belonging to the same group should be wrapped by a ui5-user-menu-item-group. Each group can have an itemCheckMode property,… |
100
+ | UserSettingsAccountView | `ui5-user-settings-account-view` | `@ui5/webcomponents-fiori/dist/UserSettingsAccountView.js` | The ui5-user-settings-account-view represents a view displayed in the ui5-user-settings-item. |
101
+ | UserSettingsAppearanceView | `ui5-user-settings-appearance-view` | `@ui5/webcomponents-fiori/dist/UserSettingsAppearanceView.js` | The ui5-user-settings-appearance-view represents a view displayed in the ui5-user-settings-item. |
102
+ | UserSettingsAppearanceViewGroup | `ui5-user-settings-appearance-view-group` | `@ui5/webcomponents-fiori/dist/UserSettingsAppearanceViewGroup.js` | The ui5-user-settings-appearance-view-group is a special list item group used to group appearance view items. |
103
+ | UserSettingsAppearanceViewItem | `ui5-user-settings-appearance-view-item` | `@ui5/webcomponents-fiori/dist/UserSettingsAppearanceViewItem.js` | The ui5-user-settings-appearance-view-item represents a theme/appearance option item within the ui5-user-settings-appearance-view. |
104
+ | UserSettingsDialog | `ui5-user-settings-dialog` | `@ui5/webcomponents-fiori/dist/UserSettingsDialog.js` | The ui5-user-settings-dialog is an SAP Fiori-specific web component used in the ui5-user-menu. It allows the user to easily view information and settings for an account. |
105
+ | UserSettingsItem | `ui5-user-settings-item` | `@ui5/webcomponents-fiori/dist/UserSettingsItem.js` | The ui5-user-settings-item represents an item in the ui5-user-settings-dialog. |
106
+ | UserSettingsNotificationsView | `ui5-user-settings-notifications-view` | `@ui5/webcomponents-fiori/dist/UserSettingsNotificationsView.js` | The ui5-user-settings-notifications-view represents a view displayed in the ui5-user-settings-item that lists notification preferences. Individual settings are represented by ui5-user-settings-notifications-view-item elements, optionally… |
107
+ | UserSettingsNotificationsViewGroup | `ui5-user-settings-notifications-view-group` | `@ui5/webcomponents-fiori/dist/UserSettingsNotificationsViewGroup.js` | The ui5-user-settings-notifications-view-group groups ui5-user-settings-notifications-view-item elements inside a ui5-user-settings-notifications-view. Its header renders as a plain bold section title with a separator line below, per the… |
108
+ | UserSettingsNotificationsViewItem | `ui5-user-settings-notifications-view-item` | `@ui5/webcomponents-fiori/dist/UserSettingsNotificationsViewItem.js` | The ui5-user-settings-notifications-view-item represents a single notification setting within the ui5-user-settings-notifications-view. |
109
+ | UserSettingsView | `ui5-user-settings-view` | `@ui5/webcomponents-fiori/dist/UserSettingsView.js` | The ui5-user-settings-view represents a view displayed in the ui5-user-settings-item. |
110
+ | ViewSettingsDialog | `ui5-view-settings-dialog` | `@ui5/webcomponents-fiori/dist/ViewSettingsDialog.js` | The ui5-view-settings-dialog component helps the user to sort data within a list or a table. It consists of several lists like Sort order which is built-in and Sort By and Filter By lists, for which you must be provide items(ui5-sort-item… |
111
+ | ViewSettingsDialogCustomTab | `ui5-view-settings-dialog-custom-tab` | `@ui5/webcomponents-fiori/dist/ViewSettingsDialogCustomTab.js` | The ui5-view-settings-dialog-custom-tab component allows defining custom tabs for the ui5-view-settings-dialog. |
112
+ | Wizard | `ui5-wizard` | `@ui5/webcomponents-fiori/dist/Wizard.js` | The ui5-wizard helps users to complete a complex task by dividing it into sections and guiding them through it. It has two main areas - a navigation area at the top showing the step sequence and a content area below it. |
113
+ | WizardStep | `ui5-wizard-step` | `@ui5/webcomponents-fiori/dist/WizardStep.js` | A component that represents a logical step as part of the ui5-wizard. It is meant to aggregate arbitrary HTML elements that form the content of a single step. |
114
+ | WizardTab | `ui5-wizard-tab` | `@ui5/webcomponents-fiori/dist/WizardTab.js` | Private component, used internally by the ui5-wizard to represent a "step" in the navigation header of the ui5-wizard. |
115
+
116
+ ## Discovering this file
117
+
118
+ Package documentation is not automatically loaded by every coding assistant. In your application's agent instructions, point to this installed package's llms.txt and ask the assistant to read it before using these components. Tools can resolve @ui5/webcomponents-fiori/llms.txt and read it as text.
119
+
120
+ Generated by @ui5/webcomponents-tools from the installed package metadata and public manifest. This file is a build artifact shipped in npm and ignored by Git. Maintainers: run yarn generateAPI from the repository root to refresh after API changes; edit packages/tools/lib/cem/llms.mjs for usage guidance.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-fiori",
3
- "version": "2.29.0-rc.0",
3
+ "version": "2.29.0",
4
4
  "description": "UI5 Web Components: webcomponents.fiori",
5
5
  "ui5": {
6
6
  "webComponentsPackage": true
@@ -23,6 +23,7 @@
23
23
  "./src/*": "./src/*",
24
24
  "./dist/*": "./dist/*",
25
25
  "./package.json": "./package.json",
26
+ "./llms.txt": "./llms.txt",
26
27
  "./bundle.esm.js": "./bundle.esm.js",
27
28
  "./bundle.common.js": "./bundle.common.js",
28
29
  "./bundle.scoped.esm.js": "./bundle.scoped.esm.js",
@@ -38,6 +39,7 @@
38
39
  "generate": "wc-dev generate",
39
40
  "generateCEM": "wc-dev generateAPI.generateCEM",
40
41
  "mergeCEM": "wc-dev generateAPI.mergeCEM",
42
+ "generateLLMs": "wc-dev generateAPI.generateLLMs",
41
43
  "validateCEM": "wc-dev generateAPI.validateCEM",
42
44
  "bundle": "wc-dev build.bundle",
43
45
  "test": "yarn test:cypress",
@@ -48,7 +50,8 @@
48
50
  "test:cypress:visual": "CYPRESS_VISUAL=true yarn test:cypress",
49
51
  "test:cypress:open:visual": "CYPRESS_VISUAL=true yarn test:cypress:open",
50
52
  "create-ui5-element": "wc-create-ui5-element",
51
- "prepublishOnly": "tsc -b"
53
+ "prepublishOnly": "tsc -b",
54
+ "prepack": "yarn generateLLMs"
52
55
  },
53
56
  "repository": {
54
57
  "type": "git",
@@ -56,20 +59,20 @@
56
59
  "directory": "packages/fiori"
57
60
  },
58
61
  "dependencies": {
59
- "@ui5/webcomponents": "2.29.0-rc.0",
60
- "@ui5/webcomponents-base": "2.29.0-rc.0",
61
- "@ui5/webcomponents-icons": "2.29.0-rc.0",
62
- "@ui5/webcomponents-theming": "2.29.0-rc.0",
62
+ "@ui5/webcomponents": "2.29.0",
63
+ "@ui5/webcomponents-base": "2.29.0",
64
+ "@ui5/webcomponents-icons": "2.29.0",
65
+ "@ui5/webcomponents-theming": "2.29.0",
63
66
  "@zxing/library": "^0.21.3"
64
67
  },
65
68
  "devDependencies": {
66
69
  "@custom-elements-manifest/analyzer": "^0.10.10",
67
70
  "@ui5/cypress-internal": "0.1.0",
68
- "@ui5/webcomponents-tools": "2.29.0-rc.0",
71
+ "@ui5/webcomponents-tools": "2.29.0",
69
72
  "cypress": "15.18.1",
70
73
  "lit": "^2.0.0",
71
74
  "vite": "5.4.21",
72
75
  "yarn": "^1.22.22"
73
76
  },
74
- "gitHead": "ace8be9008be626e7be5bca0e23ace75c045a188"
77
+ "gitHead": "f0643d86efc94b629d75a2bc682e796eff488958"
75
78
  }
@@ -7,9 +7,9 @@ export default function NavigationLayoutTemplate(this: NavigationLayout) {
7
7
  <slot name="header"></slot>
8
8
  </header>
9
9
  <section class="ui5-nl-section">
10
- <aside class="ui5-nl-aside">
10
+ <div class="ui5-nl-side">
11
11
  <slot name="sideContent"></slot>
12
- </aside>
12
+ </div>
13
13
  <div class="ui5-nl-content">
14
14
  <slot></slot>
15
15
  </div>
@@ -1,16 +1,23 @@
1
+ import BusyIndicator from "@ui5/webcomponents/dist/BusyIndicator.js";
1
2
  import type ProductSwitch from "./ProductSwitch.js";
2
3
 
3
4
  export default function ProductSwitchTemplate(this: ProductSwitch) {
4
5
  return (
5
- <div
6
- role="list"
7
- class="ui5-product-switch-root"
8
- aria-label={this._ariaLabelText}
9
- onFocusIn={this._onfocusin}
10
- onKeyDown={this._onkeydown}
11
- onClick={this.handleProductSwitchItemClick}
6
+ <BusyIndicator
7
+ active={this.loading}
8
+ delay={this.loadingDelay}
9
+ class="ui5-product-switch-busy-indicator"
12
10
  >
13
- <slot></slot>
14
- </div>
11
+ <div
12
+ role="list"
13
+ class="ui5-product-switch-root"
14
+ aria-label={this._ariaLabelText}
15
+ onFocusIn={this._onfocusin}
16
+ onKeyDown={this._onkeydown}
17
+ onClick={this.handleProductSwitchItemClick}
18
+ >
19
+ <slot></slot>
20
+ </div>
21
+ </BusyIndicator>
15
22
  );
16
23
  }
@@ -91,7 +91,7 @@ export default function SearchFieldTemplate(this: SearchField, options?: SearchF
91
91
  <input
92
92
  class="ui5-search-field-inner-input"
93
93
  role="searchbox"
94
- aria-description={this.accessibleDescription}
94
+ aria-description={this._effectiveAccessibleDescription}
95
95
  aria-label={this.accessibleName || this._translations.searchFieldAriaLabel}
96
96
  aria-autocomplete="both"
97
97
  aria-controls="ui5-search-list"
@@ -5,8 +5,13 @@ import Button from "@ui5/webcomponents/dist/Button.js";
5
5
  import decline from "@ui5/webcomponents-icons/dist/decline.js";
6
6
  import ButtonDesign from "@ui5/webcomponents/dist/types/ButtonDesign.js";
7
7
  import TagDesign from "@ui5/webcomponents/dist/types/TagDesign.js";
8
+ import highlightText from "@ui5/webcomponents-base/dist/util/highlightText.js";
8
9
 
9
10
  export default function SearchItemTemplate(this: SearchItem) {
11
+ const highlightedMarkup = this.highlightText
12
+ ? highlightText(this.text || "", this.highlightText)
13
+ : undefined;
14
+
10
15
  return (
11
16
  <li
12
17
  part="native-li"
@@ -39,7 +44,10 @@ export default function SearchItemTemplate(this: SearchItem) {
39
44
  }
40
45
 
41
46
  <div class="ui5-search-item-titles-container">
42
- <span part="title" class="ui5-search-item-text" dangerouslySetInnerHTML={{ __html: this._markupText }}></span>
47
+ {highlightedMarkup
48
+ ? <span part="title" class="ui5-search-item-text" dangerouslySetInnerHTML={{ __html: highlightedMarkup }}></span>
49
+ : <span part="title" class="ui5-search-item-text">{this.text}</span>
50
+ }
43
51
 
44
52
  <span part="subtitle" class="ui5-search-item-description">{this.description}</span>
45
53
  </div>
@@ -24,7 +24,8 @@ export default function ShellBarItemTemplate(this: ShellBarItem) {
24
24
  class="ui5-shellbar-action-button"
25
25
  icon={this.icon}
26
26
  design="Transparent"
27
- accessibleName={this.text}
27
+ accessibleName={this.text || this.tooltip}
28
+ tooltip={this.tooltip}
28
29
  data-ui5-stable={this.stableDomRef}
29
30
  accessibilityAttributes={this.accessibilityAttributes}
30
31
  onClick={this.fireClickEvent}
@@ -2,6 +2,7 @@ import Icon from "@ui5/webcomponents/dist/Icon.js";
2
2
  import navRightArrow from "@ui5/webcomponents-icons/dist/navigation-right-arrow.js";
3
3
  import navDownArrow from "@ui5/webcomponents-icons/dist/navigation-down-arrow.js";
4
4
  import type SideNavigationGroup from "./SideNavigationGroup.js";
5
+ import SideNavigationItemTextTemplate from "./SideNavigationItemTextTemplate.js";
5
6
 
6
7
  export default function SideNavigationGroupTemplate(this: SideNavigationGroup) {
7
8
  if (this.sideNavCollapsed) {
@@ -35,7 +36,7 @@ function TreeItemTemplate(this: SideNavigationGroup) {
35
36
  title={this._tooltip}
36
37
  aria-owns={this._groupId}
37
38
  >
38
- <div class="ui5-sn-item-text" dangerouslySetInnerHTML={{ __html: this._markupText }}></div>
39
+ {SideNavigationItemTextTemplate(this)}
39
40
  {!!this.items.length &&
40
41
  <Icon class="ui5-sn-item-toggle-icon"
41
42
  name={this.expanded ? navDownArrow : navRightArrow}
@@ -3,6 +3,7 @@ import navRightArrow from "@ui5/webcomponents-icons/dist/navigation-right-arrow.
3
3
  import navDownArrow from "@ui5/webcomponents-icons/dist/navigation-down-arrow.js";
4
4
  import arrowRight from "@ui5/webcomponents-icons/dist/arrow-right.js";
5
5
  import type SideNavigationItem from "./SideNavigationItem.js";
6
+ import SideNavigationItemTextTemplate from "./SideNavigationItemTextTemplate.js";
6
7
 
7
8
  export default function SideNavigationItemTemplate(this: SideNavigationItem) {
8
9
  if (this.sideNavCollapsed) {
@@ -22,38 +23,38 @@ function ItemTemplate(this: SideNavigationItem) {
22
23
  return (
23
24
  <>
24
25
  <EffectiveTag id={this._id}
25
- data-sap-focus-ref
26
- class={`ui5-sn-item ui5-sn-item-level1 ${this._classes}`}
27
- role={this.ariaRole}
28
- onKeyDown={this._onkeydown}
29
- onKeyUp={this._onkeyup}
30
- onClick={this._onclick}
31
- onFocusIn={this._onfocusin}
32
- tabIndex={this.effectiveTabIndex}
33
- aria-current={this._ariaCurrent}
34
- aria-selected={this._ariaSelected}
35
- title={this._tooltip}
36
- aria-disabled={this.effectiveDisabled}
37
- href={this._href}
38
- target={this._target}
39
- aria-haspopup={this._ariaHasPopup}
40
- onFocusOut={this._onfocusout}
41
- onMouseEnter={this._onmouseenter}
42
- onMouseLeave={this._onmouseleave}
43
- aria-checked={this._ariaChecked}
44
- aria-owns={this._groupId}
45
- aria-label={this._ariaLabel}
46
- aria-expanded={this._expanded}
47
- aria-labelledby={this._textId}
48
- aria-describedby={this._describedBy}
26
+ data-sap-focus-ref
27
+ class={`ui5-sn-item ui5-sn-item-level1 ${this._classes}`}
28
+ role={this.ariaRole}
29
+ onKeyDown={this._onkeydown}
30
+ onKeyUp={this._onkeyup}
31
+ onClick={this._onclick}
32
+ onFocusIn={this._onfocusin}
33
+ tabIndex={this.effectiveTabIndex}
34
+ aria-current={this._ariaCurrent}
35
+ aria-selected={this._ariaSelected}
36
+ title={this._tooltip}
37
+ aria-disabled={this.effectiveDisabled}
38
+ href={this._href}
39
+ target={this._target}
40
+ aria-haspopup={this._ariaHasPopup}
41
+ onFocusOut={this._onfocusout}
42
+ onMouseEnter={this._onmouseenter}
43
+ onMouseLeave={this._onmouseleave}
44
+ aria-checked={this._ariaChecked}
45
+ aria-owns={this._groupId}
46
+ aria-label={this._ariaLabel}
47
+ aria-expanded={this._expanded}
48
+ aria-labelledby={this.accessibleName ? undefined : this._textId}
49
+ aria-describedby={this._describedBy}
49
50
  >
50
51
  {this.sideNavCollapsed ?
51
- <Icon class="ui5-sn-item-icon" name={this.icon}/>
52
+ <Icon class="ui5-sn-item-icon" name={this.icon} />
52
53
  :
53
- this.icon && <Icon class="ui5-sn-item-icon" name={this.icon}/>
54
+ this.icon && <Icon class="ui5-sn-item-icon" name={this.icon} />
54
55
  }
55
56
  <div class="ui5-sn-item-text-tag-container">
56
- <div class="ui5-sn-item-text" id={this._textId} dangerouslySetInnerHTML={{ __html: this._markupText }}></div>
57
+ {SideNavigationItemTextTemplate(this, this._textId)}
57
58
  {this.hasTag &&
58
59
  <div class="ui5-sn-item-tag-slot" aria-hidden="true">
59
60
  <slot name="tag"></slot>
@@ -63,20 +64,20 @@ function ItemTemplate(this: SideNavigationItem) {
63
64
  {this.sideNavCollapsed ?
64
65
  !!this.items.length &&
65
66
  <Icon class="ui5-sn-item-toggle-icon"
66
- name={navRightArrow}
67
+ name={navRightArrow}
67
68
  />
68
69
  :
69
70
  !!this.items.length &&
70
71
  <Icon class="ui5-sn-item-toggle-icon"
71
- name={this.expanded ? navDownArrow : navRightArrow}
72
- accessibleName={this._arrowTooltip}
73
- showTooltip={true}
74
- onClick={this._onToggleClick}
72
+ name={this.expanded ? navDownArrow : navRightArrow}
73
+ accessibleName={this._arrowTooltip}
74
+ showTooltip={true}
75
+ onClick={this._onToggleClick}
75
76
  />
76
77
  }
77
78
  {this.isExternalLink &&
78
79
  <Icon class="ui5-sn-item-external-link-icon"
79
- name={arrowRight}
80
+ name={arrowRight}
80
81
  />
81
82
  }
82
83
  </EffectiveTag>
@@ -0,0 +1,12 @@
1
+ import type SideNavigationItemBase from "./SideNavigationItemBase.js";
2
+ import highlightText from "@ui5/webcomponents-base/dist/util/highlightText.js";
3
+
4
+ export default function SideNavigationItemTextTemplate(item: SideNavigationItemBase, id?: string) {
5
+ const highlighted = item._highlightedText
6
+ ? highlightText(item.text, item._highlightedText, "ui5-sn-item-highlight")
7
+ : undefined;
8
+
9
+ return highlighted
10
+ ? <div class="ui5-sn-item-text" id={id} dangerouslySetInnerHTML={{ __html: highlighted }}></div>
11
+ : <div class="ui5-sn-item-text" id={id}>{item.text}</div>;
12
+ }
@@ -11,6 +11,7 @@ export default function SideNavigationTemplate(this: SideNavigation) {
11
11
  accessibilityAttributes={item.accessibilityAttributes}
12
12
  text={item.text}
13
13
  icon={item.icon}
14
+ accessibleName={item.accessibleName}
14
15
  design={item.design}
15
16
  disabled={item.disabled}
16
17
  href={item.href}
@@ -23,6 +24,7 @@ export default function SideNavigationTemplate(this: SideNavigation) {
23
24
  (<NavigationMenuItem
24
25
  class="ui5-navigation-menu-item-root-parent"
25
26
  accessibilityAttributes={item.accessibilityAttributes}
27
+ accessibleName={item.accessibleName}
26
28
  text={item.text}
27
29
  design={item.design}
28
30
  disabled={item.disabled}
@@ -1,6 +1,7 @@
1
1
  import Icon from "@ui5/webcomponents/dist/Icon.js";
2
2
  import arrowRight from "@ui5/webcomponents-icons/dist/arrow-right.js";
3
3
  import type SideNavigationSubItem from "./SideNavigationSubItem.js";
4
+ import SideNavigationItemTextTemplate from "./SideNavigationItemTextTemplate.js";
4
5
 
5
6
  export default function SideNavigationSubItemTemplate(this: SideNavigationSubItem) {
6
7
  const EffectiveTag = this._effectiveTag;
@@ -30,7 +31,7 @@ export default function SideNavigationSubItemTemplate(this: SideNavigationSubIte
30
31
  <Icon class="ui5-sn-item-icon" name={this.icon}/>
31
32
  }
32
33
  <div class="ui5-sn-item-text-tag-container">
33
- <div class="ui5-sn-item-text" id={this._textId} dangerouslySetInnerHTML={{ __html: this._markupText }}></div>
34
+ {SideNavigationItemTextTemplate(this, this._textId)}
34
35
  {this.hasTag &&
35
36
  <div class="ui5-sn-item-tag-slot" aria-hidden="true">
36
37
  <slot name="tag"></slot>
@@ -20,7 +20,6 @@ export default function SideNavigationTemplate(this: SideNavigation) {
20
20
  <div role="menubar"
21
21
  class="ui5-sn-list ui5-sn-flexible"
22
22
  aria-orientation="vertical"
23
- aria-roledescription={this.ariaRoleDescNavigationList}
24
23
  aria-label={this.navigationMenuPrimaryHiddenText}
25
24
  >
26
25
  <slot></slot>
@@ -37,7 +36,6 @@ export default function SideNavigationTemplate(this: SideNavigation) {
37
36
  :
38
37
  <ul role="tree"
39
38
  class="ui5-sn-list ui5-sn-flexible"
40
- aria-roledescription={this.ariaRoleDescNavigationList}
41
39
  aria-label={this.navigationMenuPrimaryHiddenText}
42
40
  >
43
41
  <slot></slot>
@@ -58,7 +56,6 @@ export default function SideNavigationTemplate(this: SideNavigation) {
58
56
  <div role="menubar"
59
57
  class="ui5-sn-list ui5-sn-fixed"
60
58
  aria-orientation="vertical"
61
- aria-roledescription={this.ariaRoleDescNavigationList}
62
59
  aria-label={this.navigationMenuFooterHiddenText}
63
60
  >
64
61
  <slot name="fixedItems"></slot>
@@ -66,7 +63,6 @@ export default function SideNavigationTemplate(this: SideNavigation) {
66
63
  :
67
64
  <ul role="tree"
68
65
  class="ui5-sn-list ui5-sn-fixed"
69
- aria-roledescription={this.ariaRoleDescNavigationList}
70
66
  aria-label={this.navigationMenuFooterHiddenText}
71
67
  >
72
68
  <slot name="fixedItems"></slot>
@@ -171,7 +171,7 @@ SHELLBAR_LOGO_AREA = {0} {1}
171
171
  SHELLBAR_ADDITIONAL_CONTEXT = Additional Info
172
172
 
173
173
  #XACT: ARIA description announcement for the search field
174
- SHELLBAR_SEARCHFIELD_DESCRIPTION = Search results will be shown main area
174
+ SHELLBAR_SEARCHFIELD_DESCRIPTION = Search results will be shown in the main area
175
175
 
176
176
  #XACT: ARIA announcement for the notifications button
177
177
  SHELLBAR_NOTIFICATIONS = {0} Notifications
@@ -548,15 +548,9 @@ SEARCH_SUGGESTIONS=Suggestions
548
548
  #XTXT: Text for the Side Navigation Popover hidden text
549
549
  SIDE_NAVIGATION_POPOVER_HIDDEN_TEXT=Navigation
550
550
 
551
- #XTXT: Aria role description for the Side Navigation collapsed List
552
- SIDE_NAVIGATION_COLLAPSED_LIST_ARIA_ROLE_DESC=Navigation List Menu Bar
553
-
554
551
  #XTXT: Aria role description for the Side Navigation collapsed List Items
555
552
  SIDE_NAVIGATION_COLLAPSED_LIST_ITEMS_ARIA_ROLE_DESC=Navigation List Menu Item
556
553
 
557
- #XTXT: Aria role description for the Side Navigation List
558
- SIDE_NAVIGATION_LIST_ARIA_ROLE_DESC=Navigation List Tree
559
-
560
554
  #XTXT: Aria role description for the Side Navigation List Items
561
555
  SIDE_NAVIGATION_LIST_ITEMS_ARIA_ROLE_DESC=Navigation List Tree Item
562
556
 
@@ -27,7 +27,7 @@
27
27
  position: relative;
28
28
  }
29
29
 
30
- .ui5-nl-aside {
30
+ .ui5-nl-side {
31
31
  transition: transform 0.3s;
32
32
  z-index: 2;
33
33
  }
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  @media (width < 600px) {
46
- :host .ui5-nl-aside {
46
+ :host .ui5-nl-side {
47
47
  position: absolute;
48
48
  top: 0;
49
49
  left: 0;
@@ -56,16 +56,16 @@
56
56
  box-shadow: none;
57
57
  }
58
58
 
59
- :host([side-collapsed]) .ui5-nl-aside {
59
+ :host([side-collapsed]) .ui5-nl-side {
60
60
  transform: translateX(-100%);
61
61
  }
62
62
 
63
- :host([side-collapsed]) :dir(rtl) .ui5-nl-aside {
63
+ :host([side-collapsed]) :dir(rtl) .ui5-nl-side {
64
64
  transform: translateX(100%);
65
65
  }
66
66
  }
67
67
 
68
- :host([is-phone]) .ui5-nl-aside {
68
+ :host([is-phone]) .ui5-nl-side {
69
69
  position: absolute;
70
70
  top: 0;
71
71
  left: 0;
@@ -78,11 +78,11 @@
78
78
  box-shadow: none;
79
79
  }
80
80
 
81
- :host([side-collapsed][is-phone]) .ui5-nl-aside {
81
+ :host([side-collapsed][is-phone]) .ui5-nl-side {
82
82
  transform: translateX(-100%);
83
83
  }
84
84
 
85
- :host([side-collapsed][is-phone]) :dir(rtl) .ui5-nl-aside {
85
+ :host([side-collapsed][is-phone]) :dir(rtl) .ui5-nl-side {
86
86
  transform: translateX(100%);
87
87
  }
88
88
 
@@ -1,29 +1,32 @@
1
1
  :host {
2
+ display: block;
2
3
  font-family: var(--sapFontFamily);
3
4
  font-size: var(--sapFontSize);
4
5
  }
5
6
 
7
+ .ui5-product-switch-busy-indicator {
8
+ display: block;
9
+ width: 100%;
10
+ max-width: calc(4 * 11.75rem + 1.5rem);
11
+ min-height: 10rem; /* keep a visible busy area while items are still loading (approx. one row + padding) */
12
+ }
13
+
6
14
  .ui5-product-switch-root {
7
15
  display: flex;
8
16
  flex-wrap: wrap;
9
- justify-content: inherit;
10
- align-items: inherit;
11
- width: 752px; /* 4 * item size */
17
+ box-sizing: border-box;
18
+ width: 100%;
19
+ /* up to 4 columns (item 11.25rem + .5rem margin) + .75rem padding each side */
20
+ max-width: calc(4 * 11.75rem + 1.5rem);
12
21
  padding: 1.25rem .75rem;
13
22
  }
14
23
 
15
24
  :host([desktop-columns="3"]) .ui5-product-switch-root {
16
- width: 564px; /* 3 * item size */
25
+ max-width: calc(3 * 11.75rem + 1.5rem); /* up to 3 columns */
17
26
  }
18
27
 
19
28
  :host([desktop-columns="2"]) .ui5-product-switch-root {
20
- width: 376px; /* 2 * item size */
21
- }
22
-
23
- @media only screen and (max-width: 900px) {
24
- .ui5-product-switch-root {
25
- width: 564px; /* 3 * item size */
26
- }
29
+ max-width: calc(2 * 11.75rem + 1.5rem); /* up to 2 columns */
27
30
  }
28
31
 
29
32
  @media only screen and (max-width: 600px) {
@@ -33,5 +36,6 @@
33
36
  flex-direction: column;
34
37
  padding: 0;
35
38
  width: 100%;
39
+ max-width: none;
36
40
  }
37
41
  }