@ui5/webcomponents-fiori 2.19.2 → 2.20.0-rc.1
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/CHANGELOG.md +12 -3
- package/dist/.tsbuildinfo +1 -1
- package/dist/DynamicPage.js +8 -2
- package/dist/DynamicPage.js.map +1 -1
- package/dist/ShellBar.d.ts +231 -304
- package/dist/ShellBar.js +506 -980
- package/dist/ShellBar.js.map +1 -1
- package/dist/ShellBarItem.d.ts +15 -31
- package/dist/ShellBarItem.js +36 -25
- package/dist/ShellBarItem.js.map +1 -1
- package/dist/ShellBarItemTemplate.d.ts +2 -0
- package/dist/ShellBarItemTemplate.js +11 -0
- package/dist/ShellBarItemTemplate.js.map +1 -0
- package/dist/ShellBarTemplate.js +53 -55
- package/dist/ShellBarTemplate.js.map +1 -1
- package/dist/UserMenu.d.ts +10 -1
- package/dist/UserMenu.js +9 -1
- package/dist/UserMenu.js.map +1 -1
- package/dist/UserMenuAccount.js +0 -2
- package/dist/UserMenuAccount.js.map +1 -1
- package/dist/UserMenuItem.d.ts +0 -1
- package/dist/UserMenuItem.js +0 -1
- package/dist/UserMenuItem.js.map +1 -1
- package/dist/UserMenuItemGroup.d.ts +0 -1
- package/dist/UserMenuItemGroup.js +0 -1
- package/dist/UserMenuItemGroup.js.map +1 -1
- package/dist/UserMenuTemplate.js +3 -1
- package/dist/UserMenuTemplate.js.map +1 -1
- package/dist/UserSettingsAccountView.js +0 -2
- package/dist/UserSettingsAccountView.js.map +1 -1
- package/dist/UserSettingsAppearanceView.js +0 -2
- package/dist/UserSettingsAppearanceView.js.map +1 -1
- package/dist/UserSettingsAppearanceViewGroup.d.ts +0 -1
- package/dist/UserSettingsAppearanceViewGroup.js +0 -1
- package/dist/UserSettingsAppearanceViewGroup.js.map +1 -1
- package/dist/UserSettingsAppearanceViewItem.js +0 -2
- package/dist/UserSettingsAppearanceViewItem.js.map +1 -1
- package/dist/UserSettingsDialog.d.ts +0 -1
- package/dist/UserSettingsDialog.js +0 -1
- package/dist/UserSettingsDialog.js.map +1 -1
- package/dist/UserSettingsItem.d.ts +0 -1
- package/dist/UserSettingsItem.js +0 -1
- package/dist/UserSettingsItem.js.map +1 -1
- package/dist/UserSettingsView.d.ts +0 -1
- package/dist/UserSettingsView.js +0 -1
- package/dist/UserSettingsView.js.map +1 -1
- package/dist/css/themes/ShellBar.css +1 -1
- package/dist/css/themes/ShellBarItem.css +1 -0
- package/dist/css/themes/ShellBarLegacy.css +1 -0
- package/dist/css/themes/ShellBarSearchLegacy.css +1 -0
- package/dist/custom-elements-internal.json +363 -750
- package/dist/custom-elements.json +324 -609
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_id.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +2 -1
- package/dist/generated/i18n/i18n-defaults.js +2 -1
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/themes/ShellBar.css.d.ts +1 -1
- package/dist/generated/themes/ShellBar.css.js +1 -1
- package/dist/generated/themes/ShellBar.css.js.map +1 -1
- package/dist/generated/themes/ShellBarItem.css.d.ts +2 -0
- package/dist/generated/themes/ShellBarItem.css.js +8 -0
- package/dist/generated/themes/ShellBarItem.css.js.map +1 -0
- package/dist/generated/themes/ShellBarLegacy.css.d.ts +2 -0
- package/dist/generated/themes/ShellBarLegacy.css.js +8 -0
- package/dist/generated/themes/ShellBarLegacy.css.js.map +1 -0
- package/dist/generated/themes/ShellBarSearchLegacy.css.d.ts +2 -0
- package/dist/generated/themes/ShellBarSearchLegacy.css.js +8 -0
- package/dist/generated/themes/ShellBarSearchLegacy.css.js.map +1 -0
- package/dist/shellbar/IShellBarSearchController.d.ts +28 -0
- package/dist/shellbar/IShellBarSearchController.js +2 -0
- package/dist/shellbar/IShellBarSearchController.js.map +1 -0
- package/dist/shellbar/ShellBarAccessibility.d.ts +42 -0
- package/dist/shellbar/ShellBarAccessibility.js +50 -0
- package/dist/shellbar/ShellBarAccessibility.js.map +1 -0
- package/dist/shellbar/ShellBarItemNavigation.d.ts +18 -0
- package/dist/shellbar/ShellBarItemNavigation.js +86 -0
- package/dist/shellbar/ShellBarItemNavigation.js.map +1 -0
- package/dist/shellbar/ShellBarLegacy.d.ts +46 -0
- package/dist/shellbar/ShellBarLegacy.js +138 -0
- package/dist/shellbar/ShellBarLegacy.js.map +1 -0
- package/dist/shellbar/ShellBarOverflow.d.ts +51 -0
- package/dist/shellbar/ShellBarOverflow.js +159 -0
- package/dist/shellbar/ShellBarOverflow.js.map +1 -0
- package/dist/shellbar/ShellBarSearch.d.ts +59 -0
- package/dist/shellbar/ShellBarSearch.js +145 -0
- package/dist/shellbar/ShellBarSearch.js.map +1 -0
- package/dist/shellbar/ShellBarSearchLegacy.d.ts +65 -0
- package/dist/shellbar/ShellBarSearchLegacy.js +116 -0
- package/dist/shellbar/ShellBarSearchLegacy.js.map +1 -0
- package/dist/shellbar/templates/ShellBarLegacyTemplate.d.ts +20 -0
- package/dist/shellbar/templates/ShellBarLegacyTemplate.js +71 -0
- package/dist/shellbar/templates/ShellBarLegacyTemplate.js.map +1 -0
- package/dist/shellbar/templates/ShellBarSearchLegacyTemplate.d.ts +5 -0
- package/dist/shellbar/templates/ShellBarSearchLegacyTemplate.js +18 -0
- package/dist/shellbar/templates/ShellBarSearchLegacyTemplate.js.map +1 -0
- package/dist/shellbar/templates/ShellBarSearchTemplate.d.ts +4 -0
- package/dist/shellbar/templates/ShellBarSearchTemplate.js +17 -0
- package/dist/shellbar/templates/ShellBarSearchTemplate.js.map +1 -0
- package/dist/vscode.html-custom-data.json +29 -79
- package/dist/web-types.json +75 -239
- package/package.json +8 -8
- package/src/ShellBarItemTemplate.tsx +36 -0
- package/src/ShellBarTemplate.tsx +222 -300
- package/src/UserMenuTemplate.tsx +11 -3
- package/src/i18n/messagebundle.properties +3 -0
- package/src/i18n/messagebundle_ar.properties +2 -0
- package/src/i18n/messagebundle_bg.properties +6 -4
- package/src/i18n/messagebundle_ca.properties +2 -0
- package/src/i18n/messagebundle_cnr.properties +2 -0
- package/src/i18n/messagebundle_cs.properties +2 -0
- package/src/i18n/messagebundle_cy.properties +2 -0
- package/src/i18n/messagebundle_da.properties +2 -0
- package/src/i18n/messagebundle_de.properties +2 -0
- package/src/i18n/messagebundle_el.properties +2 -0
- package/src/i18n/messagebundle_en.properties +2 -0
- package/src/i18n/messagebundle_en_GB.properties +2 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +2 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +2 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +2 -0
- package/src/i18n/messagebundle_es.properties +2 -0
- package/src/i18n/messagebundle_es_MX.properties +2 -0
- package/src/i18n/messagebundle_et.properties +2 -0
- package/src/i18n/messagebundle_fi.properties +2 -0
- package/src/i18n/messagebundle_fr.properties +2 -0
- package/src/i18n/messagebundle_fr_CA.properties +2 -0
- package/src/i18n/messagebundle_hi.properties +2 -0
- package/src/i18n/messagebundle_hr.properties +2 -0
- package/src/i18n/messagebundle_hu.properties +2 -0
- package/src/i18n/messagebundle_id.properties +3 -1
- package/src/i18n/messagebundle_it.properties +2 -0
- package/src/i18n/messagebundle_iw.properties +2 -0
- package/src/i18n/messagebundle_ja.properties +2 -0
- package/src/i18n/messagebundle_kk.properties +2 -0
- package/src/i18n/messagebundle_ko.properties +2 -0
- package/src/i18n/messagebundle_lt.properties +2 -0
- package/src/i18n/messagebundle_lv.properties +2 -0
- package/src/i18n/messagebundle_mk.properties +2 -0
- package/src/i18n/messagebundle_ms.properties +2 -0
- package/src/i18n/messagebundle_nl.properties +2 -0
- package/src/i18n/messagebundle_no.properties +2 -0
- package/src/i18n/messagebundle_pl.properties +2 -0
- package/src/i18n/messagebundle_pt.properties +2 -0
- package/src/i18n/messagebundle_pt_PT.properties +2 -0
- package/src/i18n/messagebundle_ro.properties +2 -0
- package/src/i18n/messagebundle_ru.properties +2 -0
- package/src/i18n/messagebundle_sh.properties +2 -0
- package/src/i18n/messagebundle_sk.properties +2 -0
- package/src/i18n/messagebundle_sl.properties +2 -0
- package/src/i18n/messagebundle_sr.properties +2 -0
- package/src/i18n/messagebundle_sv.properties +2 -0
- package/src/i18n/messagebundle_th.properties +2 -0
- package/src/i18n/messagebundle_tr.properties +2 -0
- package/src/i18n/messagebundle_uk.properties +2 -0
- package/src/i18n/messagebundle_vi.properties +2 -0
- package/src/i18n/messagebundle_zh_CN.properties +2 -0
- package/src/i18n/messagebundle_zh_TW.properties +2 -0
- package/src/shellbar/templates/ShellBarLegacyTemplate.tsx +190 -0
- package/src/shellbar/templates/ShellBarSearchLegacyTemplate.tsx +61 -0
- package/src/shellbar/templates/ShellBarSearchTemplate.tsx +40 -0
- package/src/themes/NavigationLayout.css +1 -0
- package/src/themes/ShellBar.css +189 -372
- package/src/themes/ShellBarItem.css +43 -0
- package/src/themes/ShellBarLegacy.css +174 -0
- package/src/themes/ShellBarSearchLegacy.css +44 -0
- package/dist/ShellBarPopoverTemplate.d.ts +0 -2
- package/dist/ShellBarPopoverTemplate.js +0 -9
- package/dist/ShellBarPopoverTemplate.js.map +0 -1
- package/src/ShellBarPopoverTemplate.tsx +0 -50
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ui5/webcomponents-fiori",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.20.0-rc.1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1618,29 +1618,9 @@
|
|
|
1618
1618
|
},
|
|
1619
1619
|
{
|
|
1620
1620
|
"name": "ui5-shellbar",
|
|
1621
|
-
"description": "### Overview\n\nThe `ui5-shellbar` is meant to serve as an application header\nand includes numerous built-in features, such as: logo, profile image/icon, title, search field, notifications and so on.\n\n### Stable DOM Refs\n\nYou can use the following stable DOM refs for the `ui5-shellbar`:\n\n- logo\n- notifications\n- overflow\n- profile\n- product-switch\n\n### Keyboard Handling\n\n#### Fast Navigation\nThis component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].\nIn order to use this functionality, you need to import the following module:\n`import \"@ui5/webcomponents-base/dist/features/F6Navigation.js\"`\n\n### ES6 Module Import\n`import \"@ui5/webcomponents-fiori/dist/ShellBar.js\";`\n---\n\n\n### **Events:**\n - **notifications-click** - Fired, when the notification icon is activated.\n- **profile-click** - Fired, when the profile slot is present.\n- **product-switch-click** - Fired, when the product switch icon is activated.\n\n**Note:** You can prevent closing of overflow popover by calling `event.preventDefault()`.\n- **logo-click** - Fired, when the logo is activated.\n- **menu-item-click** - Fired, when a menu item is activated\n\n**Note:** You can prevent closing of overflow popover by calling `event.preventDefault()`.\n- **search-button-click** - Fired, when the search button is activated.\n\n**Note:** You can prevent expanding/collapsing of the search field by calling `event.preventDefault()`.\n- **search-field-toggle** - Fired, when the search field is expanded or collapsed.\n- **search-field-clear** - Fired, when the search cancel button is activated.\n\n**Note:** You can prevent the default behavior (clearing the search field value) by calling `event.preventDefault()`. The search will still be closed.\n**Note:** The `search-field-clear` event is in an experimental state and is a subject to change.\n- **content-item-visibility-change** - Fired, when an item from the content slot is hidden or shown.\n**Note:** The `content-item-visibility-change` event is in an experimental state and is a subject to change.\n\n### **Methods:**\n - **closeOverflow(): _void_** - Closes the overflow
|
|
1621
|
+
"description": "### Overview\n\nThe `ui5-shellbar` is meant to serve as an application header\nand includes numerous built-in features, such as: logo, profile image/icon, title, search field, notifications and so on.\n\n### Stable DOM Refs\n\nYou can use the following stable DOM refs for the `ui5-shellbar`:\n\n- logo\n- notifications\n- overflow\n- profile\n- product-switch\n\n### Keyboard Handling\n\n#### Fast Navigation\nThis component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].\nIn order to use this functionality, you need to import the following module:\n`import \"@ui5/webcomponents-base/dist/features/F6Navigation.js\"`\n\n### ES6 Module Import\n`import \"@ui5/webcomponents-fiori/dist/ShellBar.js\";`\n---\n\n\n### **Events:**\n - **notifications-click** - Fired, when the notification icon is activated.\n- **profile-click** - Fired, when the profile slot is present.\n- **product-switch-click** - Fired, when the product switch icon is activated.\n\n**Note:** You can prevent closing of overflow popover by calling `event.preventDefault()`.\n- **logo-click** - Fired, when the logo is activated.\n- **menu-item-click** - Fired, when a menu item is activated\n\n**Note:** You can prevent closing of overflow popover by calling `event.preventDefault()`.\n- **search-button-click** - Fired, when the search button is activated.\n\n**Note:** You can prevent expanding/collapsing of the search field by calling `event.preventDefault()`.\n- **search-field-toggle** - Fired, when the search field is expanded or collapsed.\n- **search-field-clear** - Fired, when the search cancel button is activated.\n\n**Note:** You can prevent the default behavior (clearing the search field value) by calling `event.preventDefault()`. The search will still be closed.\n**Note:** The `search-field-clear` event is in an experimental state and is a subject to change.\n- **content-item-visibility-change** - Fired, when an item from the content slot is hidden or shown.\n**Note:** The `content-item-visibility-change` event is in an experimental state and is a subject to change.\n\n### **Methods:**\n - **closeOverflow(): _void_** - Closes the overflow popover.\n- **getSearchButtonDomRef(): _Promise<HTMLElement | null>_** - Returns the search button DOM reference.\n\n### **Slots:**\n - **startButton** - Defines a `ui5-button` in the bar that will be placed in the beginning.\nWe encourage this slot to be used for a menu button.\nIt gets overstyled to match ShellBar's styling.\n- **branding** - Defines the branding slot.\nThe `ui5-shellbar-branding` component is intended to be placed inside this slot.\nContent placed here takes precedence over the `primaryTitle` property and the `logo` content slot.\n\n**Note:** The `branding` slot is in an experimental state and is a subject to change.\n- **content** - Define the items displayed in the content area.\n\nUse the `data-hide-order` attribute with numeric value to specify the order of the items to be hidden when the space is not enough.\nLower values will be hidden first.\n\n**Note:** The `content` slot is in an experimental state and is a subject to change.\n- **searchField** - Defines the `ui5-input`, that will be used as a search field.\n- **assistant** - Defines the assistant slot.\n- **default** - Defines the `ui5-shellbar` additional items.\n\n**Note:**\nYou can use the `<ui5-shellbar-item></ui5-shellbar-item>`.\n- **profile** - You can pass `ui5-avatar` to set the profile image/icon.\nIf no profile slot is set - profile will be excluded from actions.\n\n**Note:** We recommend not using the `size` attribute of `ui5-avatar` because\nit should have specific size by design in the context of `ui5-shellbar` profile.\n- **logo** - Defines the logo of the `ui5-shellbar`.\nFor example, you can use `ui5-avatar` or `img` elements as logo.\n- **menuItems** - Defines the items displayed in menu after a click on a start button.\n\n**Note:** You can use the `<ui5-li></ui5-li>` and its ancestors.\n\n### **CSS Parts:**\n - **root** - Used to style the outermost wrapper of the `ui5-shellbar`",
|
|
1622
1622
|
"doc-url": "",
|
|
1623
1623
|
"attributes": [
|
|
1624
|
-
{
|
|
1625
|
-
"name": "hide-search-button",
|
|
1626
|
-
"description": "Defines the visibility state of the search button.\n\n**Note:** The `hideSearchButton` property is in an experimental state and is a subject to change.",
|
|
1627
|
-
"value": { "type": "boolean", "default": "false" }
|
|
1628
|
-
},
|
|
1629
|
-
{
|
|
1630
|
-
"name": "disable-search-collapse",
|
|
1631
|
-
"description": "Disables the automatic search field expansion/collapse when the available space is not enough.\n\n**Note:** The `disableSearchCollapse` property is in an experimental state and is a subject to change.",
|
|
1632
|
-
"value": { "type": "boolean", "default": "false" }
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
"name": "primary-title",
|
|
1636
|
-
"description": "Defines the `primaryTitle`.\n\n**Note:** The `primaryTitle` would be hidden on S screen size (less than approx. 700px).",
|
|
1637
|
-
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1638
|
-
},
|
|
1639
|
-
{
|
|
1640
|
-
"name": "secondary-title",
|
|
1641
|
-
"description": "Defines the `secondaryTitle`.\n\n**Note:** The `secondaryTitle` would be hidden on S and M screen sizes (less than approx. 1300px).",
|
|
1642
|
-
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1643
|
-
},
|
|
1644
1624
|
{
|
|
1645
1625
|
"name": "notifications-count",
|
|
1646
1626
|
"description": "Defines the `notificationsCount`,\ndisplayed in the notification icon top-right corner.",
|
|
@@ -1669,6 +1649,26 @@
|
|
|
1669
1649
|
"default": "{}"
|
|
1670
1650
|
}
|
|
1671
1651
|
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "hide-search-button",
|
|
1654
|
+
"description": "Defines the visibility state of the search button.\n\n**Note:** The `hideSearchButton` property is in an experimental state and is a subject to change.",
|
|
1655
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"name": "disable-search-collapse",
|
|
1659
|
+
"description": "Disables the automatic search field expansion/collapse when the available space is not enough.\n\n**Note:** The `disableSearchCollapse` property is in an experimental state and is a subject to change.",
|
|
1660
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"name": "primary-title",
|
|
1664
|
+
"description": "Defines the `primaryTitle`.\n\n**Note:** The `primaryTitle` would be hidden on S screen size (less than approx. 700px).",
|
|
1665
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"name": "secondary-title",
|
|
1669
|
+
"description": "Defines the `secondaryTitle`.\n\n**Note:** The `secondaryTitle` would be hidden on S and M screen sizes (less than approx. 1300px).",
|
|
1670
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1671
|
+
},
|
|
1672
1672
|
{
|
|
1673
1673
|
"name": "logo-dom-ref",
|
|
1674
1674
|
"description": "Returns the `logo` DOM ref.",
|
|
@@ -1697,13 +1697,25 @@
|
|
|
1697
1697
|
],
|
|
1698
1698
|
"slots": [
|
|
1699
1699
|
{
|
|
1700
|
-
"name": "
|
|
1701
|
-
"description": "Defines the
|
|
1700
|
+
"name": "startButton",
|
|
1701
|
+
"description": "Defines a `ui5-button` in the bar that will be placed in the beginning.\nWe encourage this slot to be used for a menu button.\nIt gets overstyled to match ShellBar's styling."
|
|
1702
1702
|
},
|
|
1703
1703
|
{
|
|
1704
1704
|
"name": "branding",
|
|
1705
1705
|
"description": "Defines the branding slot.\nThe `ui5-shellbar-branding` component is intended to be placed inside this slot.\nContent placed here takes precedence over the `primaryTitle` property and the `logo` content slot.\n\n**Note:** The `branding` slot is in an experimental state and is a subject to change."
|
|
1706
1706
|
},
|
|
1707
|
+
{
|
|
1708
|
+
"name": "content",
|
|
1709
|
+
"description": "Define the items displayed in the content area.\n\nUse the `data-hide-order` attribute with numeric value to specify the order of the items to be hidden when the space is not enough.\nLower values will be hidden first.\n\n**Note:** The `content` slot is in an experimental state and is a subject to change."
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "searchField",
|
|
1713
|
+
"description": "Defines the `ui5-input`, that will be used as a search field."
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"name": "assistant",
|
|
1717
|
+
"description": "Defines the assistant slot."
|
|
1718
|
+
},
|
|
1707
1719
|
{
|
|
1708
1720
|
"name": "default",
|
|
1709
1721
|
"description": "Defines the `ui5-shellbar` additional items.\n\n**Note:**\nYou can use the `<ui5-shellbar-item></ui5-shellbar-item>`."
|
|
@@ -1719,18 +1731,6 @@
|
|
|
1719
1731
|
{
|
|
1720
1732
|
"name": "menuItems",
|
|
1721
1733
|
"description": "Defines the items displayed in menu after a click on a start button.\n\n**Note:** You can use the `<ui5-li></ui5-li>` and its ancestors."
|
|
1722
|
-
},
|
|
1723
|
-
{
|
|
1724
|
-
"name": "searchField",
|
|
1725
|
-
"description": "Defines the `ui5-input`, that will be used as a search field."
|
|
1726
|
-
},
|
|
1727
|
-
{
|
|
1728
|
-
"name": "startButton",
|
|
1729
|
-
"description": "Defines a `ui5-button` in the bar that will be placed in the beginning.\nWe encourage this slot to be used for a menu button.\nIt gets overstyled to match ShellBar's styling."
|
|
1730
|
-
},
|
|
1731
|
-
{
|
|
1732
|
-
"name": "content",
|
|
1733
|
-
"description": "Define the items displayed in the content area.\n\nUse the `data-hide-order` attribute with numeric value to specify the order of the items to be hidden when the space is not enough.\nLower values will be hidden first.\n\n**Note:** The `content` slot is in an experimental state and is a subject to change."
|
|
1734
1734
|
}
|
|
1735
1735
|
],
|
|
1736
1736
|
"events": [
|
|
@@ -1773,26 +1773,6 @@
|
|
|
1773
1773
|
],
|
|
1774
1774
|
"js": {
|
|
1775
1775
|
"properties": [
|
|
1776
|
-
{
|
|
1777
|
-
"name": "hide-search-button",
|
|
1778
|
-
"description": "Defines the visibility state of the search button.\n\n**Note:** The `hideSearchButton` property is in an experimental state and is a subject to change.",
|
|
1779
|
-
"value": { "type": "boolean" }
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"name": "disable-search-collapse",
|
|
1783
|
-
"description": "Disables the automatic search field expansion/collapse when the available space is not enough.\n\n**Note:** The `disableSearchCollapse` property is in an experimental state and is a subject to change.",
|
|
1784
|
-
"value": { "type": "boolean" }
|
|
1785
|
-
},
|
|
1786
|
-
{
|
|
1787
|
-
"name": "primary-title",
|
|
1788
|
-
"description": "Defines the `primaryTitle`.\n\n**Note:** The `primaryTitle` would be hidden on S screen size (less than approx. 700px).",
|
|
1789
|
-
"value": { "type": "string | undefined" }
|
|
1790
|
-
},
|
|
1791
|
-
{
|
|
1792
|
-
"name": "secondary-title",
|
|
1793
|
-
"description": "Defines the `secondaryTitle`.\n\n**Note:** The `secondaryTitle` would be hidden on S and M screen sizes (less than approx. 1300px).",
|
|
1794
|
-
"value": { "type": "string | undefined" }
|
|
1795
|
-
},
|
|
1796
1776
|
{
|
|
1797
1777
|
"name": "notifications-count",
|
|
1798
1778
|
"description": "Defines the `notificationsCount`,\ndisplayed in the notification icon top-right corner.",
|
|
@@ -1818,6 +1798,26 @@
|
|
|
1818
1798
|
"description": "Defines additional accessibility attributes on different areas of the component.\n\nThe accessibilityAttributes object has the following fields,\nwhere each field is an object supporting one or more accessibility attributes:\n\n- **logo** - `logo.role` and `logo.name`.\n- **notifications** - `notifications.expanded` and `notifications.hasPopup`.\n- **profile** - `profile.expanded`, `profile.hasPopup` and `profile.name`.\n- **product** - `product.expanded` and `product.hasPopup`.\n- **search** - `search.hasPopup`.\n- **overflow** - `overflow.expanded` and `overflow.hasPopup`.\n- **branding** - `branding.name`.\n\nThe accessibility attributes support the following values:\n\n- **role**: Defines the accessible ARIA role of the logo area.\nAccepts the following string values: `button` or `link`.\n\n- **expanded**: Indicates whether the button, or another grouping element it controls,\nis currently expanded or collapsed.\nAccepts the following string values: `true` or `false`.\n\n- **hasPopup**: Indicates the availability and type of interactive popup element,\nsuch as menu or dialog, that can be triggered by the button.\n\nAccepts the following string values: `dialog`, `grid`, `listbox`, `menu` or `tree`.\n- **name**: Defines the accessible ARIA name of the area.\nAccepts any string.",
|
|
1819
1799
|
"value": { "type": "ShellBarAccessibilityAttributes" }
|
|
1820
1800
|
},
|
|
1801
|
+
{
|
|
1802
|
+
"name": "hide-search-button",
|
|
1803
|
+
"description": "Defines the visibility state of the search button.\n\n**Note:** The `hideSearchButton` property is in an experimental state and is a subject to change.",
|
|
1804
|
+
"value": { "type": "boolean" }
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "disable-search-collapse",
|
|
1808
|
+
"description": "Disables the automatic search field expansion/collapse when the available space is not enough.\n\n**Note:** The `disableSearchCollapse` property is in an experimental state and is a subject to change.",
|
|
1809
|
+
"value": { "type": "boolean" }
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"name": "primary-title",
|
|
1813
|
+
"description": "Defines the `primaryTitle`.\n\n**Note:** The `primaryTitle` would be hidden on S screen size (less than approx. 700px).",
|
|
1814
|
+
"value": { "type": "string | undefined" }
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"name": "secondary-title",
|
|
1818
|
+
"description": "Defines the `secondaryTitle`.\n\n**Note:** The `secondaryTitle` would be hidden on S and M screen sizes (less than approx. 1300px).",
|
|
1819
|
+
"value": { "type": "string | undefined" }
|
|
1820
|
+
},
|
|
1821
1821
|
{
|
|
1822
1822
|
"name": "logo-dom-ref",
|
|
1823
1823
|
"description": "Returns the `logo` DOM ref.",
|
|
@@ -1949,27 +1949,27 @@
|
|
|
1949
1949
|
},
|
|
1950
1950
|
{
|
|
1951
1951
|
"name": "ui5-shellbar-item",
|
|
1952
|
-
"description": "The `ui5-shellbar-item` represents a custom item
|
|
1952
|
+
"description": "The `ui5-shellbar-item` represents a custom item for `ui5-shellbar`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents-fiori/dist/ShellBarItem.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired when the item is clicked.",
|
|
1953
1953
|
"doc-url": "",
|
|
1954
1954
|
"attributes": [
|
|
1955
1955
|
{
|
|
1956
1956
|
"name": "icon",
|
|
1957
|
-
"description": "Defines the
|
|
1957
|
+
"description": "Defines the item's icon.",
|
|
1958
1958
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1959
1959
|
},
|
|
1960
1960
|
{
|
|
1961
1961
|
"name": "text",
|
|
1962
|
-
"description": "Defines the item text
|
|
1962
|
+
"description": "Defines the item text.",
|
|
1963
1963
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1964
1964
|
},
|
|
1965
1965
|
{
|
|
1966
1966
|
"name": "count",
|
|
1967
|
-
"description": "Defines the count displayed in
|
|
1967
|
+
"description": "Defines the count displayed in badge.",
|
|
1968
1968
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
1969
1969
|
},
|
|
1970
1970
|
{
|
|
1971
1971
|
"name": "accessibility-attributes",
|
|
1972
|
-
"description": "Defines
|
|
1972
|
+
"description": "Defines accessibility attributes.",
|
|
1973
1973
|
"value": {
|
|
1974
1974
|
"type": "ShellBarItemAccessibilityAttributes",
|
|
1975
1975
|
"default": "{}"
|
|
@@ -1979,229 +1979,61 @@
|
|
|
1979
1979
|
"events": [
|
|
1980
1980
|
{
|
|
1981
1981
|
"name": "click",
|
|
1982
|
-
"description": "Fired
|
|
1982
|
+
"description": "Fired when the item is clicked."
|
|
1983
1983
|
}
|
|
1984
1984
|
],
|
|
1985
1985
|
"js": {
|
|
1986
1986
|
"properties": [
|
|
1987
1987
|
{
|
|
1988
1988
|
"name": "icon",
|
|
1989
|
-
"description": "Defines the
|
|
1989
|
+
"description": "Defines the item's icon.",
|
|
1990
1990
|
"value": { "type": "string | undefined" }
|
|
1991
1991
|
},
|
|
1992
1992
|
{
|
|
1993
1993
|
"name": "text",
|
|
1994
|
-
"description": "Defines the item text
|
|
1994
|
+
"description": "Defines the item text.",
|
|
1995
1995
|
"value": { "type": "string | undefined" }
|
|
1996
1996
|
},
|
|
1997
1997
|
{
|
|
1998
1998
|
"name": "count",
|
|
1999
|
-
"description": "Defines the count displayed in
|
|
1999
|
+
"description": "Defines the count displayed in badge.",
|
|
2000
2000
|
"value": { "type": "string | undefined" }
|
|
2001
2001
|
},
|
|
2002
2002
|
{
|
|
2003
2003
|
"name": "accessibility-attributes",
|
|
2004
|
-
"description": "Defines
|
|
2004
|
+
"description": "Defines accessibility attributes.",
|
|
2005
2005
|
"value": { "type": "ShellBarItemAccessibilityAttributes" }
|
|
2006
2006
|
}
|
|
2007
2007
|
],
|
|
2008
2008
|
"events": [
|
|
2009
2009
|
{
|
|
2010
2010
|
"name": "click",
|
|
2011
|
-
"description": "Fired
|
|
2011
|
+
"description": "Fired when the item is clicked."
|
|
2012
2012
|
}
|
|
2013
2013
|
]
|
|
2014
2014
|
}
|
|
2015
2015
|
},
|
|
2016
2016
|
{
|
|
2017
2017
|
"name": "ui5-shellbar-search",
|
|
2018
|
-
"description": "Search field for the ShellBar component.\n---\n
|
|
2018
|
+
"description": "Search field for the ShellBar component.\n---\n",
|
|
2019
2019
|
"doc-url": "",
|
|
2020
2020
|
"attributes": [
|
|
2021
2021
|
{
|
|
2022
2022
|
"name": "auto-open",
|
|
2023
2023
|
"description": "Indicates whether the suggestions popover should be opened on focus.",
|
|
2024
2024
|
"value": { "type": "boolean", "default": "false" }
|
|
2025
|
-
},
|
|
2026
|
-
{
|
|
2027
|
-
"name": "loading",
|
|
2028
|
-
"description": "Indicates whether a loading indicator should be shown in the popup.",
|
|
2029
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2030
|
-
},
|
|
2031
|
-
{
|
|
2032
|
-
"name": "no-typeahead",
|
|
2033
|
-
"description": "Defines whether the value will be autcompleted to match an item.",
|
|
2034
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2035
|
-
},
|
|
2036
|
-
{
|
|
2037
|
-
"name": "open",
|
|
2038
|
-
"description": "Indicates whether the items picker is open.",
|
|
2039
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2040
|
-
},
|
|
2041
|
-
{
|
|
2042
|
-
"name": "field-loading",
|
|
2043
|
-
"description": "Indicates whether a loading indicator should be shown in the input field.",
|
|
2044
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2045
|
-
},
|
|
2046
|
-
{
|
|
2047
|
-
"name": "show-clear-icon",
|
|
2048
|
-
"description": "Defines whether the clear icon of the search will be shown.",
|
|
2049
|
-
"value": { "type": "boolean", "default": "false" }
|
|
2050
|
-
},
|
|
2051
|
-
{
|
|
2052
|
-
"name": "value",
|
|
2053
|
-
"description": "Defines the value of the component.\n\n**Note:** The property is updated upon typing.",
|
|
2054
|
-
"value": { "type": "string", "default": "\"\"" }
|
|
2055
|
-
},
|
|
2056
|
-
{
|
|
2057
|
-
"name": "placeholder",
|
|
2058
|
-
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
|
2059
|
-
"value": { "type": "string | undefined", "default": "undefined" }
|
|
2060
|
-
},
|
|
2061
|
-
{
|
|
2062
|
-
"name": "accessible-name",
|
|
2063
|
-
"description": "Defines the accessible ARIA name of the component.",
|
|
2064
|
-
"value": { "type": "string | undefined", "default": "undefined" }
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
"name": "accessible-description",
|
|
2068
|
-
"description": "Defines the accessible ARIA description of the field.",
|
|
2069
|
-
"value": { "type": "string | undefined", "default": "undefined" }
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"name": "scope-value",
|
|
2073
|
-
"description": "Defines the value of the component:\n\nApplications are responsible for setting the correct scope value.\n\n**Note:** If the given value does not match any existing scopes,\nno scope will be selected and the SearchField scope component will be displayed as empty.",
|
|
2074
|
-
"value": { "type": "string | undefined", "default": "\"\"" }
|
|
2075
|
-
}
|
|
2076
|
-
],
|
|
2077
|
-
"slots": [
|
|
2078
|
-
{
|
|
2079
|
-
"name": "default",
|
|
2080
|
-
"description": "Defines the Search suggestion items."
|
|
2081
|
-
},
|
|
2082
|
-
{
|
|
2083
|
-
"name": "action",
|
|
2084
|
-
"description": "Defines the popup footer action button."
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"name": "illustration",
|
|
2088
|
-
"description": "Defines the illustrated message to be shown in the popup."
|
|
2089
|
-
},
|
|
2090
|
-
{
|
|
2091
|
-
"name": "messageArea",
|
|
2092
|
-
"description": "Defines the illustrated message to be shown in the popup."
|
|
2093
|
-
},
|
|
2094
|
-
{
|
|
2095
|
-
"name": "scopes",
|
|
2096
|
-
"description": "Defines the component scope options."
|
|
2097
|
-
},
|
|
2098
|
-
{
|
|
2099
|
-
"name": "filterButton",
|
|
2100
|
-
"description": "Defines the filter button slot, used to display an additional filtering button.\nThis slot is intended for passing a `ui5-button` with a filter icon to provide extended filtering options.\n\n**Note:** Scope button and Filter button are mutually exclusive."
|
|
2101
|
-
}
|
|
2102
|
-
],
|
|
2103
|
-
"events": [
|
|
2104
|
-
{
|
|
2105
|
-
"name": "open",
|
|
2106
|
-
"description": "Fired when the popup is opened."
|
|
2107
|
-
},
|
|
2108
|
-
{
|
|
2109
|
-
"name": "close",
|
|
2110
|
-
"description": "Fired when the popup is closed."
|
|
2111
|
-
},
|
|
2112
|
-
{
|
|
2113
|
-
"name": "input",
|
|
2114
|
-
"description": "Fired when typing in input or clear icon is pressed."
|
|
2115
|
-
},
|
|
2116
|
-
{
|
|
2117
|
-
"name": "scope-change",
|
|
2118
|
-
"description": "Fired when the scope has changed."
|
|
2119
|
-
},
|
|
2120
|
-
{
|
|
2121
|
-
"name": "search",
|
|
2122
|
-
"description": "Fired when the user has triggered search with Enter key or Search Button press."
|
|
2123
2025
|
}
|
|
2124
2026
|
],
|
|
2027
|
+
"events": [],
|
|
2125
2028
|
"js": {
|
|
2126
2029
|
"properties": [
|
|
2127
2030
|
{
|
|
2128
2031
|
"name": "auto-open",
|
|
2129
2032
|
"description": "Indicates whether the suggestions popover should be opened on focus.",
|
|
2130
2033
|
"value": { "type": "boolean" }
|
|
2131
|
-
},
|
|
2132
|
-
{
|
|
2133
|
-
"name": "loading",
|
|
2134
|
-
"description": "Indicates whether a loading indicator should be shown in the popup.",
|
|
2135
|
-
"value": { "type": "boolean" }
|
|
2136
|
-
},
|
|
2137
|
-
{
|
|
2138
|
-
"name": "no-typeahead",
|
|
2139
|
-
"description": "Defines whether the value will be autcompleted to match an item.",
|
|
2140
|
-
"value": { "type": "boolean" }
|
|
2141
|
-
},
|
|
2142
|
-
{
|
|
2143
|
-
"name": "open",
|
|
2144
|
-
"description": "Indicates whether the items picker is open.",
|
|
2145
|
-
"value": { "type": "boolean" }
|
|
2146
|
-
},
|
|
2147
|
-
{
|
|
2148
|
-
"name": "field-loading",
|
|
2149
|
-
"description": "Indicates whether a loading indicator should be shown in the input field.",
|
|
2150
|
-
"value": { "type": "boolean" }
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
"name": "show-clear-icon",
|
|
2154
|
-
"description": "Defines whether the clear icon of the search will be shown.",
|
|
2155
|
-
"value": { "type": "boolean" }
|
|
2156
|
-
},
|
|
2157
|
-
{
|
|
2158
|
-
"name": "value",
|
|
2159
|
-
"description": "Defines the value of the component.\n\n**Note:** The property is updated upon typing.",
|
|
2160
|
-
"value": { "type": "string" }
|
|
2161
|
-
},
|
|
2162
|
-
{
|
|
2163
|
-
"name": "placeholder",
|
|
2164
|
-
"description": "Defines a short hint intended to aid the user with data entry when the\ncomponent has no value.",
|
|
2165
|
-
"value": { "type": "string | undefined" }
|
|
2166
|
-
},
|
|
2167
|
-
{
|
|
2168
|
-
"name": "accessible-name",
|
|
2169
|
-
"description": "Defines the accessible ARIA name of the component.",
|
|
2170
|
-
"value": { "type": "string | undefined" }
|
|
2171
|
-
},
|
|
2172
|
-
{
|
|
2173
|
-
"name": "accessible-description",
|
|
2174
|
-
"description": "Defines the accessible ARIA description of the field.",
|
|
2175
|
-
"value": { "type": "string | undefined" }
|
|
2176
|
-
},
|
|
2177
|
-
{
|
|
2178
|
-
"name": "scope-value",
|
|
2179
|
-
"description": "Defines the value of the component:\n\nApplications are responsible for setting the correct scope value.\n\n**Note:** If the given value does not match any existing scopes,\nno scope will be selected and the SearchField scope component will be displayed as empty.",
|
|
2180
|
-
"value": { "type": "string | undefined" }
|
|
2181
2034
|
}
|
|
2182
2035
|
],
|
|
2183
|
-
"events": [
|
|
2184
|
-
{
|
|
2185
|
-
"name": "open",
|
|
2186
|
-
"description": "Fired when the popup is opened."
|
|
2187
|
-
},
|
|
2188
|
-
{
|
|
2189
|
-
"name": "close",
|
|
2190
|
-
"description": "Fired when the popup is closed."
|
|
2191
|
-
},
|
|
2192
|
-
{
|
|
2193
|
-
"name": "input",
|
|
2194
|
-
"description": "Fired when typing in input or clear icon is pressed."
|
|
2195
|
-
},
|
|
2196
|
-
{
|
|
2197
|
-
"name": "scope-change",
|
|
2198
|
-
"description": "Fired when the scope has changed."
|
|
2199
|
-
},
|
|
2200
|
-
{
|
|
2201
|
-
"name": "search",
|
|
2202
|
-
"description": "Fired when the user has triggered search with Enter key or Search Button press."
|
|
2203
|
-
}
|
|
2204
|
-
]
|
|
2036
|
+
"events": []
|
|
2205
2037
|
}
|
|
2206
2038
|
},
|
|
2207
2039
|
{
|
|
@@ -3128,7 +2960,7 @@
|
|
|
3128
2960
|
},
|
|
3129
2961
|
{
|
|
3130
2962
|
"name": "ui5-user-menu",
|
|
3131
|
-
"description": "### Overview\n\nThe `ui5-user-menu` is an SAP Fiori specific web component that is used in `ui5-shellbar`\nand allows the user to easily see information and settings for the current user and all other logged in accounts.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents-fiori/dist/UserMenu.js\";`\n\n`import \"@ui5/webcomponents-fiori/dist/UserMenuItem.js\";` (for `ui5-user-menu-item`)\n---\n\n\n### **Events:**\n - **avatar-click** - Fired when the account avatar is selected.\n- **manage-account-click** - Fired when the \"Manage Account\" button is selected.\n- **edit-accounts-click** - Fired when the \"Edit Accounts\" button is selected.\n- **change-account** - Fired when the account is switched to a different one.\n- **item-click** - Fired when a menu item is selected.\n- **open** - Fired when a user menu is open.\n- **close** - Fired when a user menu is close.\n- **sign-out-click** - Fired when the \"Sign Out\" button is selected.\n\n### **Slots:**\n - **default** - Defines the menu items.\n- **accounts** - Defines the user accounts.\n\n**Note:** If one item is used, it will be shown as the selected one. If more than one item is used, the first one will be shown as selected unless\nthere is an item with `selected` property set to `true
|
|
2963
|
+
"description": "### Overview\n\nThe `ui5-user-menu` is an SAP Fiori specific web component that is used in `ui5-shellbar`\nand allows the user to easily see information and settings for the current user and all other logged in accounts.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents-fiori/dist/UserMenu.js\";`\n\n`import \"@ui5/webcomponents-fiori/dist/UserMenuItem.js\";` (for `ui5-user-menu-item`)\n---\n\n\n### **Events:**\n - **avatar-click** - Fired when the account avatar is selected.\n- **manage-account-click** - Fired when the \"Manage Account\" button is selected.\n- **edit-accounts-click** - Fired when the \"Edit Accounts\" button is selected.\n- **change-account** - Fired when the account is switched to a different one.\n- **item-click** - Fired when a menu item is selected.\n- **open** - Fired when a user menu is open.\n- **close** - Fired when a user menu is close.\n- **sign-out-click** - Fired when the \"Sign Out\" button is selected.\n\n### **Slots:**\n - **default** - Defines the menu items.\n- **accounts** - Defines the user accounts.\n\n**Note:** If one item is used, it will be shown as the selected one. If more than one item is used, the first one will be shown as selected unless\nthere is an item with `selected` property set to `true`.\n- **footer** - Defines custom footer content.\n\n**Note:** When provided, replaces the default \"Sign Out\" button. Use an empty element to hide the footer completely.",
|
|
3132
2964
|
"doc-url": "",
|
|
3133
2965
|
"attributes": [
|
|
3134
2966
|
{
|
|
@@ -3170,6 +3002,10 @@
|
|
|
3170
3002
|
{
|
|
3171
3003
|
"name": "accounts",
|
|
3172
3004
|
"description": "Defines the user accounts.\n\n**Note:** If one item is used, it will be shown as the selected one. If more than one item is used, the first one will be shown as selected unless\nthere is an item with `selected` property set to `true`."
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "footer",
|
|
3008
|
+
"description": "Defines custom footer content.\n\n**Note:** When provided, replaces the default \"Sign Out\" button. Use an empty element to hide the footer completely."
|
|
3173
3009
|
}
|
|
3174
3010
|
],
|
|
3175
3011
|
"events": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-fiori",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0-rc.1",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.fiori",
|
|
5
5
|
"ui5": {
|
|
6
6
|
"webComponentsPackage": true
|
|
@@ -52,20 +52,20 @@
|
|
|
52
52
|
"directory": "packages/fiori"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@ui5/webcomponents": "2.
|
|
56
|
-
"@ui5/webcomponents-base": "2.
|
|
57
|
-
"@ui5/webcomponents-icons": "2.
|
|
58
|
-
"@ui5/webcomponents-theming": "2.
|
|
55
|
+
"@ui5/webcomponents": "2.20.0-rc.1",
|
|
56
|
+
"@ui5/webcomponents-base": "2.20.0-rc.1",
|
|
57
|
+
"@ui5/webcomponents-icons": "2.20.0-rc.1",
|
|
58
|
+
"@ui5/webcomponents-theming": "2.20.0-rc.1",
|
|
59
59
|
"@zxing/library": "^0.21.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@custom-elements-manifest/analyzer": "^0.10.10",
|
|
63
63
|
"@ui5/cypress-internal": "0.1.0",
|
|
64
|
-
"@ui5/webcomponents-tools": "2.
|
|
65
|
-
"cypress": "
|
|
64
|
+
"@ui5/webcomponents-tools": "2.20.0-rc.1",
|
|
65
|
+
"cypress": "15.9.0",
|
|
66
66
|
"lit": "^2.0.0",
|
|
67
67
|
"vite": "5.4.21",
|
|
68
68
|
"yarn": "^1.22.22"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "26e4c88a89fdbd5f7545d05b04e75d7b5080ab17"
|
|
71
71
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import Button from "@ui5/webcomponents/dist/Button.js";
|
|
2
|
+
import ButtonBadge from "@ui5/webcomponents/dist/ButtonBadge.js";
|
|
3
|
+
import ListItemStandard from "@ui5/webcomponents/dist/ListItemStandard.js";
|
|
4
|
+
import type ShellBarItem from "./ShellBarItem.js";
|
|
5
|
+
|
|
6
|
+
export default function ShellBarItemTemplate(this: ShellBarItem) {
|
|
7
|
+
if (this.inOverflow) {
|
|
8
|
+
return (
|
|
9
|
+
<ListItemStandard
|
|
10
|
+
icon={this.icon ? `sap-icon://${this.icon}` : ""}
|
|
11
|
+
type="Active"
|
|
12
|
+
data-count={this.count}
|
|
13
|
+
data-ui5-stable={this.stableDomRef}
|
|
14
|
+
accessibilityAttributes={this.accessibilityAttributes}
|
|
15
|
+
>
|
|
16
|
+
{this.text}
|
|
17
|
+
</ListItemStandard>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return (
|
|
22
|
+
<Button
|
|
23
|
+
class="ui5-shellbar-action-button"
|
|
24
|
+
icon={this.icon}
|
|
25
|
+
design="Transparent"
|
|
26
|
+
accessibleName={this.text}
|
|
27
|
+
data-ui5-stable={this.stableDomRef}
|
|
28
|
+
accessibilityAttributes={this.accessibilityAttributes}
|
|
29
|
+
onClick={this.fireClickEvent}
|
|
30
|
+
>
|
|
31
|
+
{this.count && (
|
|
32
|
+
<ButtonBadge slot="badge" design="OverlayText" text={this.count} />
|
|
33
|
+
)}
|
|
34
|
+
</Button>
|
|
35
|
+
);
|
|
36
|
+
}
|