Skip to content

feat: update to UI5 Web Components 2.6.2 #6792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
147 changes: 134 additions & 13 deletions .storybook/custom-element-manifests/fiori.json
Original file line number Diff line number Diff line change
Expand Up @@ -1344,6 +1344,57 @@
}
]
},
{
"kind": "javascript-module",
"path": "dist/types/NavigationLayoutMode.js",
"declarations": [
{
"kind": "enum",
"name": "NavigationLayoutMode",
"description": "Specifies the navigation layout mode.",
"_ui5privacy": "public",
"members": [
{
"kind": "field",
"static": true,
"privacy": "public",
"description": "Automatically calculates the navigation layout mode based on the screen device type.\n`Expanded` on desktop and `Collapsed` on tablet and phone.",
"default": "Auto",
"name": "Auto",
"readonly": true
},
{
"kind": "field",
"static": true,
"privacy": "public",
"description": "Collapsed side navigation.",
"default": "Collapsed",
"name": "Collapsed",
"readonly": true
},
{
"kind": "field",
"static": true,
"privacy": "public",
"description": "Expanded side navigation.",
"default": "Expanded",
"name": "Expanded",
"readonly": true
}
]
}
],
"exports": [
{
"kind": "js",
"name": "default",
"declaration": {
"name": "NavigationLayoutMode",
"module": "dist/types/NavigationLayoutMode.js"
}
}
]
},
{
"kind": "javascript-module",
"path": "dist/types/NotificationListItemImportance.js",
Expand Down Expand Up @@ -2566,6 +2617,24 @@
"description": "Defines whether the component is in equal split mode. In this mode, the side and\nthe main content take 50:50 percent of the container on all screen sizes\nexcept for phone, where the main and side contents are switching visibility\nusing the toggle method.",
"privacy": "public"
},
{
"kind": "field",
"name": "accessibilityAttributes",
"type": {
"text": "DynamicSideContentAccessibilityAttributes",
"references": [
{
"name": "DynamicSideContentAccessibilityAttributes",
"package": "@ui5/webcomponents-fiori",
"module": "dist/DynamicSideContent.js"
}
]
},
"default": "{}",
"description": "Defines additional accessibility attributes on different areas of the component.\n\nThe accessibilityAttributes object has the following fields:\n\n - **mainContent**: `mainContent.ariaLabel` defines the aria-label of the main content area. Accepts any string.\n - **sideContent**: `sideContent.ariaLabel` defines the aria-label of the side content area. Accepts any string.",
"privacy": "public",
"_ui5since": "2.6.0"
},
{
"kind": "method",
"name": "toggleContents",
Expand Down Expand Up @@ -2686,6 +2755,15 @@
"type": {
"text": "boolean"
}
},
{
"description": "Defines additional accessibility attributes on different areas of the component.\n\nThe accessibilityAttributes object has the following fields:\n\n - **mainContent**: `mainContent.ariaLabel` defines the aria-label of the main content area. Accepts any string.\n - **sideContent**: `sideContent.ariaLabel` defines the aria-label of the side content area. Accepts any string.",
"name": "accessibility-attributes",
"default": "{}",
"fieldName": "accessibilityAttributes",
"type": {
"text": "DynamicSideContentAccessibilityAttributes"
}
}
],
"superclass": {
Expand Down Expand Up @@ -3790,7 +3868,7 @@
"declarations": [
{
"kind": "class",
"description": "### Overview\n\nThe `ui5-navigation-layout` is a container component that can be used to\ncreate a layout with a header, a side navigation and a content area.\n\n### Usage\n\nUse the `ui5-navigation-layout` to create whole screen of an application with vertical navigation.\n\n### Responsive Behavior\n\nOn desktop and tablet devices, the side navigation remains visible and can\nbe expanded or collapsed using the `sideCollapsed` property. On phone devices, the side navigation\nis hidden by default but can be displayed using the same `sideCollapsed` property.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/NavigationLayout.js\";`",
"description": "### Overview\n\nThe `ui5-navigation-layout` is a container component that can be used to\ncreate a layout with a header, a side navigation and a content area.\n\n### Usage\n\nUse the `ui5-navigation-layout` to create whole screen of an application with vertical navigation.\n\n### Responsive Behavior\n\nOn desktop and tablet devices, the side navigation is visible\nby default and can be expanded or collapsed using the `mode` property.\nOn phone devices, the side navigation is hidden by default and can\nbe displayed using the `mode` property.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/NavigationLayout.js\";`",
"name": "NavigationLayout",
"slots": [
{
Expand Down Expand Up @@ -3829,23 +3907,41 @@
"members": [
{
"kind": "field",
"name": "sideCollapsed",
"description": "Indicates whether the side navigation is collapsed.",
"default": "false",
"privacy": "public",
"name": "mode",
"type": {
"text": "boolean"
}
"text": "NavigationLayoutMode",
"references": [
{
"name": "NavigationLayoutMode",
"package": "@ui5/webcomponents-fiori",
"module": "dist/types/NavigationLayoutMode.js"
}
]
},
"default": "\"Auto\"",
"description": "Specifies the navigation layout mode.",
"privacy": "public"
},
{
"kind": "method",
"name": "isSideCollapsed",
"return": {
"type": {
"text": "boolean"
}
},
"description": "Gets whether the side navigation is collapsed.",
"privacy": "public"
}
],
"attributes": [
{
"description": "Indicates whether the side navigation is collapsed.",
"name": "side-collapsed",
"default": "false",
"fieldName": "sideCollapsed",
"description": "Specifies the navigation layout mode.",
"name": "mode",
"default": "\"Auto\"",
"fieldName": "mode",
"type": {
"text": "any"
"text": "\"Auto\" | \"Collapsed\" | \"Expanded\""
}
}
],
Expand Down Expand Up @@ -8158,6 +8254,30 @@
}
]
},
{
"name": "open",
"_ui5privacy": "public",
"type": {
"text": "CustomEvent"
},
"description": "Fired when a user menu is open.",
"_ui5Cancelable": false,
"_ui5allowPreventDefault": false,
"_ui5Bubbles": false,
"_ui5since": "2.6.0"
},
{
"name": "close",
"_ui5privacy": "public",
"type": {
"text": "CustomEvent"
},
"description": "Fired when a user menu is close.",
"_ui5Cancelable": false,
"_ui5allowPreventDefault": false,
"_ui5Bubbles": false,
"_ui5since": "2.6.0"
},
{
"name": "sign-out-click",
"_ui5privacy": "public",
Expand All @@ -8167,7 +8287,8 @@
"description": "Fired when the \"Sign Out\" button is selected.",
"_ui5Cancelable": true,
"_ui5allowPreventDefault": true,
"_ui5Bubbles": false
"_ui5Bubbles": false,
"_ui5since": "2.6.0"
}
],
"attributes": [
Expand Down
Loading
Loading