Skip to content

Commit 8c280d9

Browse files
feat: update to UI5 Web Components v2.17.0 (#8011)
https://github.com/UI5/webcomponents/releases/tag/v2.17.0
1 parent 80d5733 commit 8c280d9

File tree

19 files changed

+588
-267
lines changed

19 files changed

+588
-267
lines changed

.storybook/custom-element-manifests/fiori.json

Lines changed: 205 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4213,7 +4213,7 @@
42134213
"type": {
42144214
"text": "number | undefined"
42154215
},
4216-
"description": "Specifies the number of additional items available to show.\nThis value replaces the placeholder (N) in the \"Show more (N)\" text.\nIf not set, the placeholder will remain as (N).",
4216+
"description": "Specifies the number of additional items available to show.\nIf no value is defined, the control shows \"Show more\" (without any counter).\nIf a number is provided, it displays \"Show more (N)\", where N is that number.",
42174217
"privacy": "public",
42184218
"default": "undefined"
42194219
},
@@ -4260,7 +4260,7 @@
42604260
],
42614261
"attributes": [
42624262
{
4263-
"description": "Specifies the number of additional items available to show.\nThis value replaces the placeholder (N) in the \"Show more (N)\" text.\nIf not set, the placeholder will remain as (N).",
4263+
"description": "Specifies the number of additional items available to show.\nIf no value is defined, the control shows \"Show more\" (without any counter).\nIf a number is provided, it displays \"Show more (N)\", where N is that number.",
42644264
"name": "items-to-show-count",
42654265
"default": "undefined",
42664266
"fieldName": "itemsToShowCount",
@@ -9859,6 +9859,203 @@
98599859
}
98609860
]
98619861
},
9862+
{
9863+
"kind": "javascript-module",
9864+
"path": "dist/UserSettingsAccountView.js",
9865+
"declarations": [
9866+
{
9867+
"kind": "class",
9868+
"description": "### Overview\n\nThe `ui5-user-settings-account-view` represents a view displayed in the `ui5-user-settings-item`.",
9869+
"name": "UserSettingsAccountView",
9870+
"slots": [
9871+
{
9872+
"name": "account",
9873+
"description": "Defines the user account.",
9874+
"_ui5type": {
9875+
"text": "Array<UserMenuAccount> | undefined",
9876+
"references": [
9877+
{
9878+
"name": "UserMenuAccount",
9879+
"package": "@ui5/webcomponents-fiori",
9880+
"module": "dist/UserMenuAccount.js"
9881+
}
9882+
]
9883+
},
9884+
"_ui5privacy": "public"
9885+
},
9886+
{
9887+
"name": "default",
9888+
"description": "Defines the content of the view.",
9889+
"_ui5propertyName": "content",
9890+
"_ui5type": {
9891+
"text": "Array<HTMLElement>"
9892+
},
9893+
"_ui5privacy": "public",
9894+
"inheritedFrom": {
9895+
"name": "UserSettingsView",
9896+
"module": "dist/UserSettingsView.js"
9897+
}
9898+
}
9899+
],
9900+
"members": [
9901+
{
9902+
"kind": "field",
9903+
"name": "showManageAccount",
9904+
"type": {
9905+
"text": "boolean"
9906+
},
9907+
"default": "false",
9908+
"description": "Defines if the User Menu shows the `Manage Account` option.",
9909+
"privacy": "public"
9910+
},
9911+
{
9912+
"kind": "field",
9913+
"name": "text",
9914+
"type": {
9915+
"text": "string | undefined"
9916+
},
9917+
"description": "Defines the title text of the user settings view.",
9918+
"privacy": "public",
9919+
"default": "undefined",
9920+
"inheritedFrom": {
9921+
"name": "UserSettingsView",
9922+
"module": "dist/UserSettingsView.js"
9923+
}
9924+
},
9925+
{
9926+
"kind": "field",
9927+
"name": "selected",
9928+
"type": {
9929+
"text": "boolean"
9930+
},
9931+
"default": "false",
9932+
"description": "Defines whether the view is selected. There can be just one selected view at a time.",
9933+
"privacy": "public",
9934+
"inheritedFrom": {
9935+
"name": "UserSettingsView",
9936+
"module": "dist/UserSettingsView.js"
9937+
}
9938+
},
9939+
{
9940+
"kind": "field",
9941+
"name": "secondary",
9942+
"type": {
9943+
"text": "boolean"
9944+
},
9945+
"default": "false",
9946+
"description": "Indicates whether the view is secondary. It is relevant only if the view is used in `pages` slot of `ui5-user-settings-item`\nand controls the visibility of the back button.",
9947+
"privacy": "public",
9948+
"inheritedFrom": {
9949+
"name": "UserSettingsView",
9950+
"module": "dist/UserSettingsView.js"
9951+
}
9952+
}
9953+
],
9954+
"events": [
9955+
{
9956+
"name": "edit-accounts-click",
9957+
"_ui5privacy": "public",
9958+
"type": {
9959+
"text": "CustomEvent"
9960+
},
9961+
"description": "Fired when the `Edit Accounts` button is selected.",
9962+
"_ui5Cancelable": false,
9963+
"_ui5allowPreventDefault": false,
9964+
"_ui5Bubbles": false
9965+
},
9966+
{
9967+
"name": "manage-account-click",
9968+
"_ui5privacy": "public",
9969+
"type": {
9970+
"text": "CustomEvent"
9971+
},
9972+
"description": "Fired when the `Manage Account` button is selected.",
9973+
"_ui5Cancelable": false,
9974+
"_ui5allowPreventDefault": false,
9975+
"_ui5Bubbles": false
9976+
}
9977+
],
9978+
"attributes": [
9979+
{
9980+
"description": "Defines if the User Menu shows the `Manage Account` option.",
9981+
"name": "show-manage-account",
9982+
"default": "false",
9983+
"fieldName": "showManageAccount",
9984+
"type": {
9985+
"text": "boolean"
9986+
}
9987+
},
9988+
{
9989+
"description": "Defines the title text of the user settings view.",
9990+
"name": "text",
9991+
"default": "undefined",
9992+
"fieldName": "text",
9993+
"type": {
9994+
"text": "string | undefined"
9995+
},
9996+
"inheritedFrom": {
9997+
"name": "UserSettingsView",
9998+
"module": "dist/UserSettingsView.js"
9999+
}
10000+
},
10001+
{
10002+
"description": "Defines whether the view is selected. There can be just one selected view at a time.",
10003+
"name": "selected",
10004+
"default": "false",
10005+
"fieldName": "selected",
10006+
"type": {
10007+
"text": "boolean"
10008+
},
10009+
"inheritedFrom": {
10010+
"name": "UserSettingsView",
10011+
"module": "dist/UserSettingsView.js"
10012+
}
10013+
},
10014+
{
10015+
"description": "Indicates whether the view is secondary. It is relevant only if the view is used in `pages` slot of `ui5-user-settings-item`\nand controls the visibility of the back button.",
10016+
"name": "secondary",
10017+
"default": "false",
10018+
"fieldName": "secondary",
10019+
"type": {
10020+
"text": "boolean"
10021+
},
10022+
"inheritedFrom": {
10023+
"name": "UserSettingsView",
10024+
"module": "dist/UserSettingsView.js"
10025+
}
10026+
}
10027+
],
10028+
"superclass": {
10029+
"name": "UserSettingsView",
10030+
"package": "@ui5/webcomponents-fiori",
10031+
"module": "dist/UserSettingsView.js"
10032+
},
10033+
"tagName": "ui5-user-settings-account-view",
10034+
"customElement": true,
10035+
"_ui5experimental": true,
10036+
"_ui5since": "2.17.0",
10037+
"_ui5privacy": "public"
10038+
}
10039+
],
10040+
"exports": [
10041+
{
10042+
"kind": "js",
10043+
"name": "default",
10044+
"declaration": {
10045+
"name": "UserSettingsAccountView",
10046+
"module": "dist/UserSettingsAccountView.js"
10047+
}
10048+
},
10049+
{
10050+
"kind": "custom-element-definition",
10051+
"name": "ui5-user-settings-account-view",
10052+
"declaration": {
10053+
"name": "UserSettingsAccountView",
10054+
"module": "dist/UserSettingsAccountView.js"
10055+
}
10056+
}
10057+
]
10058+
},
986210059
{
986310060
"kind": "javascript-module",
986410061
"path": "dist/UserSettingsDialog.js",
@@ -10465,6 +10662,12 @@
1046510662
"kind": "class",
1046610663
"description": "### Overview\nThe `ui5-view-settings-dialog` component helps the user to sort data within a list or a table.\nIt consists of several lists like `Sort order` which is built-in and `Sort By` and `Filter By` lists,\nfor which you must be provide items(`ui5-sort-item` & `ui5-filter-item` respectively)\nThese options can be used to create sorters for a table.\n\nThe `ui5-view-settings-dialog` interrupts the current application processing as it is the only focused UI element and\nthe main screen is dimmed/blocked.\nThe `ui5-view-settings-dialog` is modal, which means that user action is required before returning to the parent window is possible.\n\n### Structure\nA `ui5-view-settings-dialog` consists of a header, content, and a footer for action buttons.\nThe `ui5-view-settings-dialog` is usually displayed at the center of the screen.\n\n### Responsive Behavior\n`ui5-view-settings-dialog` stretches on full screen on phones.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/ViewSettingsDialog.js\";`",
1046710664
"name": "ViewSettingsDialog",
10665+
"cssParts": [
10666+
{
10667+
"description": "Used to style the header.",
10668+
"name": "header"
10669+
}
10670+
],
1046810671
"slots": [
1046910672
{
1047010673
"name": "sortItems",

0 commit comments

Comments
 (0)