@ui5/webcomponents-fiori 2.22.0-rc.4 → 2.22.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 (72) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/NavigationMenuItemTemplate.d.ts +2 -2
  4. package/dist/NavigationMenuItemTemplate.js.map +1 -1
  5. package/dist/Timeline.d.ts +3 -35
  6. package/dist/Timeline.js +4 -62
  7. package/dist/Timeline.js.map +1 -1
  8. package/dist/TimelineItem.d.ts +0 -2
  9. package/dist/TimelineItem.js +0 -2
  10. package/dist/TimelineItem.js.map +1 -1
  11. package/dist/TimelineTemplate.js +1 -1
  12. package/dist/TimelineTemplate.js.map +1 -1
  13. package/dist/UserMenuItem.d.ts +24 -0
  14. package/dist/UserMenuItem.js +52 -3
  15. package/dist/UserMenuItem.js.map +1 -1
  16. package/dist/UserMenuItemTemplate.js +10 -1
  17. package/dist/UserMenuItemTemplate.js.map +1 -1
  18. package/dist/ViewSettingsDialog.d.ts +12 -11
  19. package/dist/ViewSettingsDialog.js +26 -23
  20. package/dist/ViewSettingsDialog.js.map +1 -1
  21. package/dist/ViewSettingsDialogCustomTab.d.ts +5 -5
  22. package/dist/ViewSettingsDialogCustomTab.js +7 -7
  23. package/dist/ViewSettingsDialogCustomTab.js.map +1 -1
  24. package/dist/ViewSettingsDialogTemplate.js +2 -2
  25. package/dist/ViewSettingsDialogTemplate.js.map +1 -1
  26. package/dist/bundle.esm.js +0 -2
  27. package/dist/bundle.esm.js.map +1 -1
  28. package/dist/css/themes/Timeline.css +1 -1
  29. package/dist/css/themes/UserMenuItem.css +1 -1
  30. package/dist/custom-elements-internal.json +205 -694
  31. package/dist/custom-elements.json +109 -440
  32. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  33. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  34. package/dist/generated/i18n/i18n-defaults.d.ts +1 -11
  35. package/dist/generated/i18n/i18n-defaults.js +2 -12
  36. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  37. package/dist/generated/themes/Timeline.css.d.ts +1 -1
  38. package/dist/generated/themes/Timeline.css.js +1 -1
  39. package/dist/generated/themes/Timeline.css.js.map +1 -1
  40. package/dist/generated/themes/UserMenuItem.css.d.ts +1 -1
  41. package/dist/generated/themes/UserMenuItem.css.js +1 -1
  42. package/dist/generated/themes/UserMenuItem.css.js.map +1 -1
  43. package/dist/vscode.html-custom-data.json +17 -65
  44. package/dist/web-types.json +41 -195
  45. package/package.json +7 -7
  46. package/src/NavigationMenuItemTemplate.tsx +3 -3
  47. package/src/TimelineTemplate.tsx +0 -7
  48. package/src/UserMenuItemTemplate.tsx +19 -1
  49. package/src/ViewSettingsDialogTemplate.tsx +3 -3
  50. package/src/i18n/messagebundle.properties +1 -31
  51. package/src/i18n/messagebundle_en.properties +1 -1
  52. package/src/i18n/messagebundle_en_GB.properties +1 -1
  53. package/src/themes/Timeline.css +7 -21
  54. package/src/themes/UserMenuItem.css +37 -3
  55. package/dist/TimelineFilterOption.d.ts +0 -37
  56. package/dist/TimelineFilterOption.js +0 -59
  57. package/dist/TimelineFilterOption.js.map +0 -1
  58. package/dist/TimelineHeaderBar.d.ts +0 -114
  59. package/dist/TimelineHeaderBar.js +0 -264
  60. package/dist/TimelineHeaderBar.js.map +0 -1
  61. package/dist/TimelineHeaderBarTemplate.d.ts +0 -2
  62. package/dist/TimelineHeaderBarTemplate.js +0 -18
  63. package/dist/TimelineHeaderBarTemplate.js.map +0 -1
  64. package/dist/css/themes/TimelineHeaderBar.css +0 -1
  65. package/dist/generated/themes/TimelineHeaderBar.css.d.ts +0 -2
  66. package/dist/generated/themes/TimelineHeaderBar.css.js +0 -8
  67. package/dist/generated/themes/TimelineHeaderBar.css.js.map +0 -1
  68. package/dist/types/TimelineSortOrder.d.ts +0 -18
  69. package/dist/types/TimelineSortOrder.js +0 -20
  70. package/dist/types/TimelineSortOrder.js.map +0 -1
  71. package/src/TimelineHeaderBarTemplate.tsx +0 -104
  72. package/src/themes/TimelineHeaderBar.css +0 -17
@@ -10016,7 +10016,7 @@
10016
10016
  },
10017
10017
  {
10018
10018
  "kind": "class",
10019
- "description": "### Overview\n\nThe `ui5-timeline` component shows entries (such as objects, events, or posts) in chronological order.\nA common use case is to provide information about changes to an object, or events related to an object.\nThese entries can be generated by the system (for example, value XY changed from A to B), or added manually.\nThere are two distinct variants of the timeline: basic and social. The basic timeline is read-only,\nwhile the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.\n\n### Header Bar\n\nThe Timeline supports a `header-bar` slot for search, filter, and sort functionality.\nUse the `ui5-timeline-header-bar` component in this slot.\nThe Timeline fires `search`, `filter`, and `sort` events that the application should handle\nby adding, removing, or reordering items in the DOM. The Timeline itself does not perform\nfiltering or sorting — it renders whatever items are provided in the default slot.",
10019
+ "description": "### Overview\n\nThe `ui5-timeline` component shows entries (such as objects, events, or posts) in chronological order.\nA common use case is to provide information about changes to an object, or events related to an object.\nThese entries can be generated by the system (for example, value XY changed from A to B), or added manually.\nThere are two distinct variants of the timeline: basic and social. The basic timeline is read-only,\nwhile the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.",
10020
10020
  "name": "Timeline",
10021
10021
  "slots": [
10022
10022
  {
@@ -10034,22 +10034,6 @@
10034
10034
  ]
10035
10035
  },
10036
10036
  "_ui5privacy": "public"
10037
- },
10038
- {
10039
- "name": "headerBar",
10040
- "description": "Defines the header bar of the timeline.\nUse `ui5-timeline-header-bar` for filtering, sorting, and search functionality.\n\n**Note:** The Timeline fires `search`, `filter`, and `sort` events when the user interacts\nwith the header bar. The application should handle these events to filter/sort the items.",
10041
- "_ui5since": "2.22.0",
10042
- "_ui5type": {
10043
- "text": "Array<TimelineHeaderBar>",
10044
- "references": [
10045
- {
10046
- "name": "TimelineHeaderBar",
10047
- "package": "@ui5/webcomponents-fiori",
10048
- "module": "dist/TimelineHeaderBar.js"
10049
- }
10050
- ]
10051
- },
10052
- "_ui5privacy": "public"
10053
10037
  }
10054
10038
  ],
10055
10039
  "members": [
@@ -10123,43 +10107,6 @@
10123
10107
  }
10124
10108
  ],
10125
10109
  "events": [
10126
- {
10127
- "name": "filter",
10128
- "_ui5privacy": "public",
10129
- "type": {
10130
- "text": "CustomEvent<TimelineFilterEventDetail>",
10131
- "references": [
10132
- {
10133
- "name": "TimelineFilterEventDetail",
10134
- "package": "@ui5/webcomponents-fiori",
10135
- "module": "dist/Timeline.js"
10136
- }
10137
- ]
10138
- },
10139
- "description": "Fired when the user changes filter selection in the header bar.\n\n**Note:** The Timeline does not perform filtering. The application should handle\nthis event and add/remove items from the DOM to reflect the filter selection.",
10140
- "_ui5Cancelable": false,
10141
- "_ui5allowPreventDefault": false,
10142
- "_ui5Bubbles": true,
10143
- "_ui5since": "2.22.0",
10144
- "_ui5parameters": [
10145
- {
10146
- "type": {
10147
- "text": "string"
10148
- },
10149
- "name": "filterBy",
10150
- "_ui5privacy": "public",
10151
- "description": "The filter category."
10152
- },
10153
- {
10154
- "type": {
10155
- "text": "Array<string>"
10156
- },
10157
- "name": "selectedOptions",
10158
- "_ui5privacy": "public",
10159
- "description": "The selected filter option texts."
10160
- }
10161
- ]
10162
- },
10163
10110
  {
10164
10111
  "name": "load-more",
10165
10112
  "_ui5privacy": "public",
@@ -10171,64 +10118,6 @@
10171
10118
  "_ui5allowPreventDefault": false,
10172
10119
  "_ui5Bubbles": true,
10173
10120
  "_ui5since": "2.7.0"
10174
- },
10175
- {
10176
- "name": "search",
10177
- "_ui5privacy": "public",
10178
- "type": {
10179
- "text": "CustomEvent<TimelineSearchEventDetail>",
10180
- "references": [
10181
- {
10182
- "name": "TimelineSearchEventDetail",
10183
- "package": "@ui5/webcomponents-fiori",
10184
- "module": "dist/Timeline.js"
10185
- }
10186
- ]
10187
- },
10188
- "description": "Fired when the user performs a search in the header bar.\n\n**Note:** The Timeline does not perform filtering. The application should handle\nthis event and add/remove items from the DOM to reflect the search results.",
10189
- "_ui5Cancelable": false,
10190
- "_ui5allowPreventDefault": false,
10191
- "_ui5Bubbles": true,
10192
- "_ui5since": "2.22.0",
10193
- "_ui5parameters": [
10194
- {
10195
- "type": {
10196
- "text": "string"
10197
- },
10198
- "name": "value",
10199
- "_ui5privacy": "public",
10200
- "description": "The search value entered by the user."
10201
- }
10202
- ]
10203
- },
10204
- {
10205
- "name": "sort",
10206
- "_ui5privacy": "public",
10207
- "type": {
10208
- "text": "CustomEvent<TimelineSortEventDetail>",
10209
- "references": [
10210
- {
10211
- "name": "TimelineSortEventDetail",
10212
- "package": "@ui5/webcomponents-fiori",
10213
- "module": "dist/Timeline.js"
10214
- }
10215
- ]
10216
- },
10217
- "description": "Fired when the user changes sort order in the header bar.\n\n**Note:** The Timeline does not perform sorting. The application should handle\nthis event and reorder the items in the DOM accordingly.",
10218
- "_ui5Cancelable": false,
10219
- "_ui5allowPreventDefault": false,
10220
- "_ui5Bubbles": true,
10221
- "_ui5since": "2.22.0",
10222
- "_ui5parameters": [
10223
- {
10224
- "type": {
10225
- "text": "string"
10226
- },
10227
- "name": "sortOrder",
10228
- "_ui5privacy": "public",
10229
- "description": "The sort order (\"Ascending\" or \"Descending\")."
10230
- }
10231
- ]
10232
10121
  }
10233
10122
  ],
10234
10123
  "attributes": [
@@ -10308,86 +10197,6 @@
10308
10197
  }
10309
10198
  ]
10310
10199
  },
10311
- {
10312
- "kind": "javascript-module",
10313
- "path": "dist/TimelineFilterOption.js",
10314
- "declarations": [
10315
- {
10316
- "kind": "class",
10317
- "description": "### Overview\n\nThe `ui5-timeline-filter-option` component defines individual filter values within a `ui5-timeline-header-bar`.\nIt represents a single selectable option that users can choose to filter timeline items.\n\n### Usage\n\nThe `ui5-timeline-filter-option` is used as a child component within `ui5-timeline-header-bar`.\nEach option represents a specific value that can be used for filtering.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/TimelineFilterOption.js\";`",
10318
- "name": "TimelineFilterOption",
10319
- "members": [
10320
- {
10321
- "kind": "field",
10322
- "name": "selected",
10323
- "type": {
10324
- "text": "boolean"
10325
- },
10326
- "default": "false",
10327
- "description": "Defines if the filter option is selected.",
10328
- "privacy": "public"
10329
- },
10330
- {
10331
- "kind": "field",
10332
- "name": "text",
10333
- "type": {
10334
- "text": "string"
10335
- },
10336
- "default": "\"\"",
10337
- "description": "Defines the text of the filter option.",
10338
- "privacy": "public"
10339
- }
10340
- ],
10341
- "attributes": [
10342
- {
10343
- "description": "Defines if the filter option is selected.",
10344
- "name": "selected",
10345
- "default": "false",
10346
- "fieldName": "selected",
10347
- "type": {
10348
- "text": "boolean"
10349
- }
10350
- },
10351
- {
10352
- "description": "Defines the text of the filter option.",
10353
- "name": "text",
10354
- "default": "\"\"",
10355
- "fieldName": "text",
10356
- "type": {
10357
- "text": "string"
10358
- }
10359
- }
10360
- ],
10361
- "superclass": {
10362
- "name": "UI5Element",
10363
- "package": "@ui5/webcomponents-base",
10364
- "module": "dist/UI5Element.js"
10365
- },
10366
- "tagName": "ui5-timeline-filter-option",
10367
- "customElement": true,
10368
- "_ui5since": "2.22.0",
10369
- "_ui5privacy": "public"
10370
- }
10371
- ],
10372
- "exports": [
10373
- {
10374
- "kind": "js",
10375
- "name": "default",
10376
- "declaration": {
10377
- "name": "TimelineFilterOption",
10378
- "module": "dist/TimelineFilterOption.js"
10379
- }
10380
- },
10381
- {
10382
- "kind": "custom-element-definition",
10383
- "name": "ui5-timeline-filter-option",
10384
- "declaration": {
10385
- "name": "TimelineFilterOption",
10386
- "module": "dist/TimelineFilterOption.js"
10387
- }
10388
- }
10389
- ]
10390
- },
10391
10200
  {
10392
10201
  "kind": "javascript-module",
10393
10202
  "path": "dist/TimelineGroupItem.js",
@@ -10506,281 +10315,6 @@
10506
10315
  }
10507
10316
  ]
10508
10317
  },
10509
- {
10510
- "kind": "javascript-module",
10511
- "path": "dist/TimelineHeaderBar.js",
10512
- "declarations": [
10513
- {
10514
- "kind": "class",
10515
- "description": "### Overview\n\nThe `ui5-timeline-header-bar` component provides search, filter, and sort functionality\nfor the `ui5-timeline` component. It is designed to be slotted into the `header-bar` slot\nof the Timeline.\n\n### Usage\n\nThe component fires events (`search`, `filter`, `sort`) that the application should handle\nto filter/sort the timeline items. The Timeline component itself does not perform any\nfiltering or sorting - this is the responsibility of the application.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-fiori/dist/TimelineHeaderBar.js\";`",
10516
- "name": "TimelineHeaderBar",
10517
- "slots": [
10518
- {
10519
- "name": "default",
10520
- "description": "Filter options to display in the filter dialog.",
10521
- "_ui5propertyName": "filterOptions",
10522
- "_ui5type": {
10523
- "text": "Array<TimelineFilterOption>",
10524
- "references": [
10525
- {
10526
- "name": "TimelineFilterOption",
10527
- "package": "@ui5/webcomponents-fiori",
10528
- "module": "dist/TimelineFilterOption.js"
10529
- }
10530
- ]
10531
- },
10532
- "_ui5privacy": "public"
10533
- }
10534
- ],
10535
- "members": [
10536
- {
10537
- "kind": "field",
10538
- "name": "filterBy",
10539
- "type": {
10540
- "text": "string"
10541
- },
10542
- "default": "\"\"",
10543
- "description": "The current filter category label.",
10544
- "privacy": "public"
10545
- },
10546
- {
10547
- "kind": "field",
10548
- "name": "searchValue",
10549
- "type": {
10550
- "text": "string"
10551
- },
10552
- "default": "\"\"",
10553
- "description": "The current search value.",
10554
- "privacy": "public"
10555
- },
10556
- {
10557
- "kind": "field",
10558
- "name": "showFilter",
10559
- "type": {
10560
- "text": "boolean"
10561
- },
10562
- "default": "false",
10563
- "description": "Shows the filter button.",
10564
- "privacy": "public"
10565
- },
10566
- {
10567
- "kind": "field",
10568
- "name": "showSearch",
10569
- "type": {
10570
- "text": "boolean"
10571
- },
10572
- "default": "false",
10573
- "description": "Shows the search input field.",
10574
- "privacy": "public"
10575
- },
10576
- {
10577
- "kind": "field",
10578
- "name": "showSort",
10579
- "type": {
10580
- "text": "boolean"
10581
- },
10582
- "default": "false",
10583
- "description": "Shows the sort button.",
10584
- "privacy": "public"
10585
- },
10586
- {
10587
- "kind": "field",
10588
- "name": "sortOrder",
10589
- "type": {
10590
- "text": "TimelineSortOrder",
10591
- "references": [
10592
- {
10593
- "name": "TimelineSortOrder",
10594
- "package": "@ui5/webcomponents-fiori",
10595
- "module": "dist/types/TimelineSortOrder.js"
10596
- }
10597
- ]
10598
- },
10599
- "default": "\"Ascending\"",
10600
- "description": "The current sort order.",
10601
- "privacy": "public"
10602
- }
10603
- ],
10604
- "events": [
10605
- {
10606
- "name": "filter",
10607
- "_ui5privacy": "public",
10608
- "type": {
10609
- "text": "CustomEvent<TimelineHeaderBarFilterEventDetail>",
10610
- "references": [
10611
- {
10612
- "name": "TimelineHeaderBarFilterEventDetail",
10613
- "package": "@ui5/webcomponents-fiori",
10614
- "module": "dist/TimelineHeaderBar.js"
10615
- }
10616
- ]
10617
- },
10618
- "description": "Fired when the user changes filter selection.",
10619
- "_ui5Cancelable": false,
10620
- "_ui5allowPreventDefault": false,
10621
- "_ui5Bubbles": true,
10622
- "_ui5parameters": [
10623
- {
10624
- "type": {
10625
- "text": "string"
10626
- },
10627
- "name": "filterBy",
10628
- "_ui5privacy": "public",
10629
- "description": "The filter category."
10630
- },
10631
- {
10632
- "type": {
10633
- "text": "Array<string>"
10634
- },
10635
- "name": "selectedOptions",
10636
- "_ui5privacy": "public",
10637
- "description": "The selected filter option texts."
10638
- }
10639
- ]
10640
- },
10641
- {
10642
- "name": "search",
10643
- "_ui5privacy": "public",
10644
- "type": {
10645
- "text": "CustomEvent<TimelineHeaderBarSearchEventDetail>",
10646
- "references": [
10647
- {
10648
- "name": "TimelineHeaderBarSearchEventDetail",
10649
- "package": "@ui5/webcomponents-fiori",
10650
- "module": "dist/TimelineHeaderBar.js"
10651
- }
10652
- ]
10653
- },
10654
- "description": "Fired when the user performs a search.",
10655
- "_ui5Cancelable": false,
10656
- "_ui5allowPreventDefault": false,
10657
- "_ui5Bubbles": true,
10658
- "_ui5parameters": [
10659
- {
10660
- "type": {
10661
- "text": "string"
10662
- },
10663
- "name": "value",
10664
- "_ui5privacy": "public",
10665
- "description": "The search value entered by the user."
10666
- }
10667
- ]
10668
- },
10669
- {
10670
- "name": "sort",
10671
- "_ui5privacy": "public",
10672
- "type": {
10673
- "text": "CustomEvent<TimelineHeaderBarSortEventDetail>",
10674
- "references": [
10675
- {
10676
- "name": "TimelineHeaderBarSortEventDetail",
10677
- "package": "@ui5/webcomponents-fiori",
10678
- "module": "dist/TimelineHeaderBar.js"
10679
- }
10680
- ]
10681
- },
10682
- "description": "Fired when the user changes sort order.",
10683
- "_ui5Cancelable": false,
10684
- "_ui5allowPreventDefault": false,
10685
- "_ui5Bubbles": true,
10686
- "_ui5parameters": [
10687
- {
10688
- "type": {
10689
- "text": "string"
10690
- },
10691
- "name": "sortOrder",
10692
- "_ui5privacy": "public",
10693
- "description": "The sort order (\"Ascending\" or \"Descending\")."
10694
- }
10695
- ]
10696
- }
10697
- ],
10698
- "attributes": [
10699
- {
10700
- "description": "The current filter category label.",
10701
- "name": "filter-by",
10702
- "default": "\"\"",
10703
- "fieldName": "filterBy",
10704
- "type": {
10705
- "text": "string"
10706
- }
10707
- },
10708
- {
10709
- "description": "The current search value.",
10710
- "name": "search-value",
10711
- "default": "\"\"",
10712
- "fieldName": "searchValue",
10713
- "type": {
10714
- "text": "string"
10715
- }
10716
- },
10717
- {
10718
- "description": "Shows the filter button.",
10719
- "name": "show-filter",
10720
- "default": "false",
10721
- "fieldName": "showFilter",
10722
- "type": {
10723
- "text": "boolean"
10724
- }
10725
- },
10726
- {
10727
- "description": "Shows the search input field.",
10728
- "name": "show-search",
10729
- "default": "false",
10730
- "fieldName": "showSearch",
10731
- "type": {
10732
- "text": "boolean"
10733
- }
10734
- },
10735
- {
10736
- "description": "Shows the sort button.",
10737
- "name": "show-sort",
10738
- "default": "false",
10739
- "fieldName": "showSort",
10740
- "type": {
10741
- "text": "boolean"
10742
- }
10743
- },
10744
- {
10745
- "description": "The current sort order.",
10746
- "name": "sort-order",
10747
- "default": "\"Ascending\"",
10748
- "fieldName": "sortOrder",
10749
- "type": {
10750
- "text": "\"Ascending\" | \"Descending\""
10751
- }
10752
- }
10753
- ],
10754
- "superclass": {
10755
- "name": "UI5Element",
10756
- "package": "@ui5/webcomponents-base",
10757
- "module": "dist/UI5Element.js"
10758
- },
10759
- "tagName": "ui5-timeline-header-bar",
10760
- "customElement": true,
10761
- "_ui5since": "2.22.0",
10762
- "_ui5privacy": "public"
10763
- }
10764
- ],
10765
- "exports": [
10766
- {
10767
- "kind": "js",
10768
- "name": "default",
10769
- "declaration": {
10770
- "name": "TimelineHeaderBar",
10771
- "module": "dist/TimelineHeaderBar.js"
10772
- }
10773
- },
10774
- {
10775
- "kind": "custom-element-definition",
10776
- "name": "ui5-timeline-header-bar",
10777
- "declaration": {
10778
- "name": "TimelineHeaderBar",
10779
- "module": "dist/TimelineHeaderBar.js"
10780
- }
10781
- }
10782
- ]
10783
- },
10784
10318
  {
10785
10319
  "kind": "javascript-module",
10786
10320
  "path": "dist/TimelineItem.js",
@@ -12329,16 +11863,18 @@
12329
11863
  "_ui5privacy": "public"
12330
11864
  }
12331
11865
  ],
12332
- "superclass": {
12333
- "name": "MenuItem",
12334
- "package": "@ui5/webcomponents",
12335
- "module": "dist/MenuItem.js"
12336
- },
12337
- "tagName": "ui5-user-menu-item",
12338
- "customElement": true,
12339
- "_ui5since": "2.5.0",
12340
- "_ui5privacy": "public",
12341
11866
  "members": [
11867
+ {
11868
+ "kind": "field",
11869
+ "name": "showSelection",
11870
+ "type": {
11871
+ "text": "boolean"
11872
+ },
11873
+ "default": "false",
11874
+ "description": "When set, a second line appears below the menu item text showing the text\nof the currently selected sub-item. Intended for use with a single-select\nui5-menu-item-group (check-mode=\"Single\").\nWhen enabled, the checked sub-item cannot be unchecked,\nensuring the selection text is always displayed.",
11875
+ "privacy": "public",
11876
+ "_ui5since": "2.22.0"
11877
+ },
12342
11878
  {
12343
11879
  "kind": "field",
12344
11880
  "name": "accessibilityAttributes",
@@ -12452,171 +11988,74 @@
12452
11988
  },
12453
11989
  {
12454
11990
  "kind": "field",
12455
- "name": "navigated",
12456
- "type": {
12457
- "text": "boolean"
12458
- },
12459
- "default": "false",
12460
- "description": "The navigated state of the list item.\nIf set to `true`, a navigation indicator is displayed at the end of the list item.",
12461
- "privacy": "public",
12462
- "_ui5since": "1.10.0"
12463
- },
12464
- {
12465
- "kind": "field",
12466
- "name": "selected",
12467
- "type": {
12468
- "text": "boolean"
12469
- },
12470
- "default": "false",
12471
- "description": "Defines the selected state of the component.",
12472
- "privacy": "public"
12473
- },
12474
- {
12475
- "kind": "field",
12476
- "name": "text",
12477
- "type": {
12478
- "text": "string | undefined"
12479
- },
12480
- "description": "Defines the text of the tree item.",
12481
- "default": "undefined",
12482
- "privacy": "public"
12483
- },
12484
- {
12485
- "kind": "field",
12486
- "name": "tooltip",
12487
- "type": {
12488
- "text": "string | undefined"
12489
- },
12490
- "description": "Defines the text of the tooltip for the menu item.",
12491
- "default": "undefined",
12492
- "privacy": "public",
12493
- "_ui5since": "1.23.0"
12494
- },
12495
- {
12496
- "kind": "field",
12497
- "name": "type",
12498
- "type": {
12499
- "text": "ListItemType",
12500
- "references": [
12501
- {
12502
- "name": "ListItemType",
12503
- "package": "@ui5/webcomponents",
12504
- "module": "dist/types/ListItemType.js"
12505
- }
12506
- ]
12507
- },
12508
- "default": "\"Active\"",
12509
- "description": "Defines the visual indication and behavior of the list items.\nAvailable options are `Active` (by default), `Inactive`, `Detail` and `Navigation`.\n\n**Note:** When set to `Active` or `Navigation`, the item will provide visual response upon press and hover,\nwhile with type `Inactive` and `Detail` - will not.",
12510
- "privacy": "public"
12511
- }
12512
- ],
12513
- "events": [
12514
- {
12515
- "name": "before-close",
12516
- "_ui5privacy": "public",
12517
- "type": {
12518
- "text": "CustomEvent<MenuBeforeCloseEventDetail>",
12519
- "references": [
12520
- {
12521
- "name": "MenuBeforeCloseEventDetail",
12522
- "package": "@ui5/webcomponents",
12523
- "module": "dist/MenuItem.js"
12524
- }
12525
- ]
12526
- },
12527
- "description": "Fired before the menu is closed. This event can be cancelled, which will prevent the menu from closing.",
12528
- "_ui5Cancelable": true,
12529
- "_ui5allowPreventDefault": true,
12530
- "_ui5Bubbles": false,
12531
- "_ui5since": "1.10.0",
12532
- "_ui5parameters": [
12533
- {
12534
- "type": {
12535
- "text": "boolean"
12536
- },
12537
- "name": "escPressed",
12538
- "_ui5privacy": "public",
12539
- "description": "Indicates that `ESC` key has triggered the event."
12540
- }
12541
- ]
12542
- },
12543
- {
12544
- "name": "before-open",
12545
- "_ui5privacy": "public",
12546
- "type": {
12547
- "text": "CustomEvent<MenuBeforeOpenEventDetail>",
12548
- "references": [
12549
- {
12550
- "name": "MenuBeforeOpenEventDetail",
12551
- "package": "@ui5/webcomponents",
12552
- "module": "dist/MenuItem.js"
12553
- }
12554
- ]
12555
- },
12556
- "description": "Fired before the menu is opened. This event can be cancelled, which will prevent the menu from opening.\n\n**Note:** Since 1.14.0 the event is also fired before a sub-menu opens.",
12557
- "_ui5Cancelable": true,
12558
- "_ui5allowPreventDefault": true,
12559
- "_ui5Bubbles": false,
12560
- "_ui5since": "1.10.0",
12561
- "_ui5parameters": [
12562
- {
12563
- "type": {
12564
- "text": "HTMLElement"
12565
- },
12566
- "name": "item",
12567
- "_ui5privacy": "public",
12568
- "description": "The menu item that triggers opening of the sub-menu or undefined when fired upon root menu opening."
12569
- }
12570
- ]
11991
+ "name": "navigated",
11992
+ "type": {
11993
+ "text": "boolean"
11994
+ },
11995
+ "default": "false",
11996
+ "description": "The navigated state of the list item.\nIf set to `true`, a navigation indicator is displayed at the end of the list item.",
11997
+ "privacy": "public",
11998
+ "_ui5since": "1.10.0"
12571
11999
  },
12572
12000
  {
12573
- "name": "check",
12574
- "_ui5privacy": "public",
12001
+ "kind": "field",
12002
+ "name": "selected",
12575
12003
  "type": {
12576
- "text": "CustomEvent"
12004
+ "text": "boolean"
12577
12005
  },
12578
- "description": "Fired when an item is checked or unchecked.",
12579
- "_ui5Cancelable": false,
12580
- "_ui5allowPreventDefault": false,
12581
- "_ui5Bubbles": true,
12582
- "_ui5since": "2.12.0"
12006
+ "default": "false",
12007
+ "description": "Defines the selected state of the component.",
12008
+ "privacy": "public"
12583
12009
  },
12584
12010
  {
12585
- "name": "close",
12586
- "_ui5privacy": "public",
12011
+ "kind": "field",
12012
+ "name": "text",
12587
12013
  "type": {
12588
- "text": "CustomEvent"
12014
+ "text": "string | undefined"
12589
12015
  },
12590
- "description": "Fired after the menu is closed.",
12591
- "_ui5Cancelable": false,
12592
- "_ui5allowPreventDefault": false,
12593
- "_ui5Bubbles": false,
12594
- "_ui5since": "1.10.0"
12016
+ "description": "Defines the text of the tree item.",
12017
+ "default": "undefined",
12018
+ "privacy": "public"
12595
12019
  },
12596
12020
  {
12597
- "name": "detail-click",
12598
- "_ui5privacy": "public",
12021
+ "kind": "field",
12022
+ "name": "tooltip",
12599
12023
  "type": {
12600
- "text": "CustomEvent"
12024
+ "text": "string | undefined"
12601
12025
  },
12602
- "description": "Fired when the user clicks on the detail button when type is `Detail`.",
12603
- "_ui5Cancelable": false,
12604
- "_ui5allowPreventDefault": false,
12605
- "_ui5Bubbles": true
12026
+ "description": "Defines the text of the tooltip for the menu item.",
12027
+ "default": "undefined",
12028
+ "privacy": "public",
12029
+ "_ui5since": "1.23.0"
12606
12030
  },
12607
12031
  {
12608
- "name": "open",
12609
- "_ui5privacy": "public",
12032
+ "kind": "field",
12033
+ "name": "type",
12610
12034
  "type": {
12611
- "text": "CustomEvent"
12035
+ "text": "ListItemType",
12036
+ "references": [
12037
+ {
12038
+ "name": "ListItemType",
12039
+ "package": "@ui5/webcomponents",
12040
+ "module": "dist/types/ListItemType.js"
12041
+ }
12042
+ ]
12612
12043
  },
12613
- "description": "Fired after the menu is opened.",
12614
- "_ui5Cancelable": false,
12615
- "_ui5allowPreventDefault": false,
12616
- "_ui5Bubbles": false
12044
+ "default": "\"Active\"",
12045
+ "description": "Defines the visual indication and behavior of the list items.\nAvailable options are `Active` (by default), `Inactive`, `Detail` and `Navigation`.\n\n**Note:** When set to `Active` or `Navigation`, the item will provide visual response upon press and hover,\nwhile with type `Inactive` and `Detail` - will not.",
12046
+ "privacy": "public"
12617
12047
  }
12618
12048
  ],
12619
12049
  "attributes": [
12050
+ {
12051
+ "description": "When set, a second line appears below the menu item text showing the text\nof the currently selected sub-item. Intended for use with a single-select\nui5-menu-item-group (check-mode=\"Single\").\nWhen enabled, the checked sub-item cannot be unchecked,\nensuring the selection text is always displayed.",
12052
+ "name": "show-selection",
12053
+ "default": "false",
12054
+ "fieldName": "showSelection",
12055
+ "type": {
12056
+ "text": "boolean"
12057
+ }
12058
+ },
12620
12059
  {
12621
12060
  "description": "Defines the additional accessibility attributes that will be applied to the component.\nThe following fields are supported:\n\n- **ariaKeyShortcuts**: Indicated the availability of a keyboard shortcuts defined for the menu item.\n\n- **role**: Defines the role of the menu item. If not set, menu item will have default role=\"menuitem\".",
12622
12061
  "name": "accessibility-attributes",
@@ -12743,6 +12182,121 @@
12743
12182
  "text": "\"Navigation\" | \"Inactive\" | \"Active\" | \"Detail\""
12744
12183
  }
12745
12184
  }
12185
+ ],
12186
+ "superclass": {
12187
+ "name": "MenuItem",
12188
+ "package": "@ui5/webcomponents",
12189
+ "module": "dist/MenuItem.js"
12190
+ },
12191
+ "tagName": "ui5-user-menu-item",
12192
+ "customElement": true,
12193
+ "_ui5since": "2.5.0",
12194
+ "_ui5privacy": "public",
12195
+ "events": [
12196
+ {
12197
+ "name": "before-close",
12198
+ "_ui5privacy": "public",
12199
+ "type": {
12200
+ "text": "CustomEvent<MenuBeforeCloseEventDetail>",
12201
+ "references": [
12202
+ {
12203
+ "name": "MenuBeforeCloseEventDetail",
12204
+ "package": "@ui5/webcomponents",
12205
+ "module": "dist/MenuItem.js"
12206
+ }
12207
+ ]
12208
+ },
12209
+ "description": "Fired before the menu is closed. This event can be cancelled, which will prevent the menu from closing.",
12210
+ "_ui5Cancelable": true,
12211
+ "_ui5allowPreventDefault": true,
12212
+ "_ui5Bubbles": false,
12213
+ "_ui5since": "1.10.0",
12214
+ "_ui5parameters": [
12215
+ {
12216
+ "type": {
12217
+ "text": "boolean"
12218
+ },
12219
+ "name": "escPressed",
12220
+ "_ui5privacy": "public",
12221
+ "description": "Indicates that `ESC` key has triggered the event."
12222
+ }
12223
+ ]
12224
+ },
12225
+ {
12226
+ "name": "before-open",
12227
+ "_ui5privacy": "public",
12228
+ "type": {
12229
+ "text": "CustomEvent<MenuBeforeOpenEventDetail>",
12230
+ "references": [
12231
+ {
12232
+ "name": "MenuBeforeOpenEventDetail",
12233
+ "package": "@ui5/webcomponents",
12234
+ "module": "dist/MenuItem.js"
12235
+ }
12236
+ ]
12237
+ },
12238
+ "description": "Fired before the menu is opened. This event can be cancelled, which will prevent the menu from opening.\n\n**Note:** Since 1.14.0 the event is also fired before a sub-menu opens.",
12239
+ "_ui5Cancelable": true,
12240
+ "_ui5allowPreventDefault": true,
12241
+ "_ui5Bubbles": false,
12242
+ "_ui5since": "1.10.0",
12243
+ "_ui5parameters": [
12244
+ {
12245
+ "type": {
12246
+ "text": "HTMLElement"
12247
+ },
12248
+ "name": "item",
12249
+ "_ui5privacy": "public",
12250
+ "description": "The menu item that triggers opening of the sub-menu or undefined when fired upon root menu opening."
12251
+ }
12252
+ ]
12253
+ },
12254
+ {
12255
+ "name": "check",
12256
+ "_ui5privacy": "public",
12257
+ "type": {
12258
+ "text": "CustomEvent"
12259
+ },
12260
+ "description": "Fired when an item is checked or unchecked.",
12261
+ "_ui5Cancelable": false,
12262
+ "_ui5allowPreventDefault": false,
12263
+ "_ui5Bubbles": true,
12264
+ "_ui5since": "2.12.0"
12265
+ },
12266
+ {
12267
+ "name": "close",
12268
+ "_ui5privacy": "public",
12269
+ "type": {
12270
+ "text": "CustomEvent"
12271
+ },
12272
+ "description": "Fired after the menu is closed.",
12273
+ "_ui5Cancelable": false,
12274
+ "_ui5allowPreventDefault": false,
12275
+ "_ui5Bubbles": false,
12276
+ "_ui5since": "1.10.0"
12277
+ },
12278
+ {
12279
+ "name": "detail-click",
12280
+ "_ui5privacy": "public",
12281
+ "type": {
12282
+ "text": "CustomEvent"
12283
+ },
12284
+ "description": "Fired when the user clicks on the detail button when type is `Detail`.",
12285
+ "_ui5Cancelable": false,
12286
+ "_ui5allowPreventDefault": false,
12287
+ "_ui5Bubbles": true
12288
+ },
12289
+ {
12290
+ "name": "open",
12291
+ "_ui5privacy": "public",
12292
+ "type": {
12293
+ "text": "CustomEvent"
12294
+ },
12295
+ "description": "Fired after the menu is opened.",
12296
+ "_ui5Cancelable": false,
12297
+ "_ui5allowPreventDefault": false,
12298
+ "_ui5Bubbles": false
12299
+ }
12746
12300
  ]
12747
12301
  }
12748
12302
  ],
@@ -14437,36 +13991,36 @@
14437
13991
  "members": [
14438
13992
  {
14439
13993
  "kind": "field",
14440
- "name": "enableReset",
13994
+ "name": "groupDescending",
14441
13995
  "type": {
14442
13996
  "text": "boolean"
14443
13997
  },
14444
13998
  "default": "false",
14445
- "description": "Defines whether the Reset button is always enabled.\n\n**Note:** By default, the Reset button is only enabled when the dialog settings\ndiffer from their initial state. Set this property to `true` to keep the Reset\nbutton always enabled, which is useful when working with custom tabs\nwhose internal state changes cannot be detected by the component.",
13999
+ "description": "Defines the initial group order.",
14446
14000
  "privacy": "public",
14447
- "_ui5since": "2.22.0"
14001
+ "_ui5since": "2.13.0"
14448
14002
  },
14449
14003
  {
14450
14004
  "kind": "field",
14451
- "name": "groupDescending",
14005
+ "name": "open",
14452
14006
  "type": {
14453
14007
  "text": "boolean"
14454
14008
  },
14455
14009
  "default": "false",
14456
- "description": "Defines the initial group order.",
14010
+ "description": "Indicates if the dialog is open.",
14457
14011
  "privacy": "public",
14458
- "_ui5since": "2.13.0"
14012
+ "_ui5since": "2.0.0"
14459
14013
  },
14460
14014
  {
14461
14015
  "kind": "field",
14462
- "name": "open",
14016
+ "name": "resetEnabled",
14463
14017
  "type": {
14464
14018
  "text": "boolean"
14465
14019
  },
14466
14020
  "default": "false",
14467
- "description": "Indicates if the dialog is open.",
14021
+ "description": "Controls whether the Reset button is always enabled.\n\nBy default, the Reset button is enabled only when the built-in settings (Sort, Filter, Group)\ndiffer from their initial state — the component can detect these changes automatically.\nHowever, when the dialog contains custom tabs, the component has no way to detect\nwhether the custom tab content has been modified by the user.\n\nSet this property to `true` when the user has made changes inside a custom tab, so that\nthe Reset button becomes enabled and the user can trigger a reset.\nSet it back to `false` once the custom tab content is back to its initial state\n(e.g. after the user confirms or after a reset is applied).",
14468
14022
  "privacy": "public",
14469
- "_ui5since": "2.0.0"
14023
+ "_ui5since": "2.22.0"
14470
14024
  },
14471
14025
  {
14472
14026
  "kind": "method",
@@ -14728,12 +14282,12 @@
14728
14282
  "_ui5since": "2.0.0"
14729
14283
  },
14730
14284
  {
14731
- "name": "reset-click",
14285
+ "name": "reset",
14732
14286
  "_ui5privacy": "public",
14733
14287
  "type": {
14734
14288
  "text": "CustomEvent"
14735
14289
  },
14736
- "description": "Fired when the Reset button is clicked.\n\n**Note:** Use this event to reset the state of custom tab content,\nas the component cannot detect changes within custom tabs.",
14290
+ "description": "Fired when the Reset button is clicked.\n\n**Note:** This event is particularly relevant when the dialog contains custom tabs.\nBy default, the Reset button resets all built-in settings (sort, filter, group) to their\ninitial values. However, the component has no knowledge of the content or state inside\ncustom tabs — it cannot detect what has changed or what the \"default\" values are.\nTherefore, when this event is fired, it is the application developer's responsibility\nto listen for it and manually reset the custom tab content to its initial state.",
14737
14291
  "_ui5Cancelable": false,
14738
14292
  "_ui5allowPreventDefault": false,
14739
14293
  "_ui5Bubbles": true,
@@ -14741,15 +14295,6 @@
14741
14295
  }
14742
14296
  ],
14743
14297
  "attributes": [
14744
- {
14745
- "description": "Defines whether the Reset button is always enabled.\n\n**Note:** By default, the Reset button is only enabled when the dialog settings\ndiffer from their initial state. Set this property to `true` to keep the Reset\nbutton always enabled, which is useful when working with custom tabs\nwhose internal state changes cannot be detected by the component.",
14746
- "name": "enable-reset",
14747
- "default": "false",
14748
- "fieldName": "enableReset",
14749
- "type": {
14750
- "text": "boolean"
14751
- }
14752
- },
14753
14298
  {
14754
14299
  "description": "Defines the initial group order.",
14755
14300
  "name": "group-descending",
@@ -14768,6 +14313,15 @@
14768
14313
  "text": "boolean"
14769
14314
  }
14770
14315
  },
14316
+ {
14317
+ "description": "Controls whether the Reset button is always enabled.\n\nBy default, the Reset button is enabled only when the built-in settings (Sort, Filter, Group)\ndiffer from their initial state — the component can detect these changes automatically.\nHowever, when the dialog contains custom tabs, the component has no way to detect\nwhether the custom tab content has been modified by the user.\n\nSet this property to `true` when the user has made changes inside a custom tab, so that\nthe Reset button becomes enabled and the user can trigger a reset.\nSet it back to `false` once the custom tab content is back to its initial state\n(e.g. after the user confirms or after a reset is applied).",
14318
+ "name": "reset-enabled",
14319
+ "default": "false",
14320
+ "fieldName": "resetEnabled",
14321
+ "type": {
14322
+ "text": "boolean"
14323
+ }
14324
+ },
14771
14325
  {
14772
14326
  "description": "Defines the initial sort order.",
14773
14327
  "name": "sort-descending",
@@ -14833,18 +14387,18 @@
14833
14387
  "type": {
14834
14388
  "text": "string"
14835
14389
  },
14836
- "default": "\"\"",
14837
- "description": "Defines the icon of the custom tab.\n\n**Note:** If not provided, the tab should not be rendered.",
14390
+ "default": "\"action-settings\"",
14391
+ "description": "Defines the icon of the custom tab button in the segmented button.",
14838
14392
  "privacy": "public"
14839
14393
  },
14840
14394
  {
14841
14395
  "kind": "field",
14842
- "name": "title",
14396
+ "name": "titleText",
14843
14397
  "type": {
14844
14398
  "text": "string"
14845
14399
  },
14846
14400
  "default": "\"\"",
14847
- "description": "Defines the title of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
14401
+ "description": "Defines the title text of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
14848
14402
  "privacy": "public"
14849
14403
  },
14850
14404
  {
@@ -14860,19 +14414,19 @@
14860
14414
  ],
14861
14415
  "attributes": [
14862
14416
  {
14863
- "description": "Defines the icon of the custom tab.\n\n**Note:** If not provided, the tab should not be rendered.",
14417
+ "description": "Defines the icon of the custom tab button in the segmented button.",
14864
14418
  "name": "icon",
14865
- "default": "\"\"",
14419
+ "default": "\"action-settings\"",
14866
14420
  "fieldName": "icon",
14867
14421
  "type": {
14868
14422
  "text": "string"
14869
14423
  }
14870
14424
  },
14871
14425
  {
14872
- "description": "Defines the title of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
14873
- "name": "title",
14426
+ "description": "Defines the title text of the custom tab.\n\n**Note:** It is displayed in the dialog header when this tab is selected.",
14427
+ "name": "title-text",
14874
14428
  "default": "\"\"",
14875
- "fieldName": "title",
14429
+ "fieldName": "titleText",
14876
14430
  "type": {
14877
14431
  "text": "string"
14878
14432
  }
@@ -17455,49 +17009,6 @@
17455
17009
  }
17456
17010
  ]
17457
17011
  },
17458
- {
17459
- "kind": "javascript-module",
17460
- "path": "dist/types/TimelineSortOrder.js",
17461
- "declarations": [
17462
- {
17463
- "kind": "enum",
17464
- "name": "TimelineSortOrder",
17465
- "description": "Sort order for Timeline items.",
17466
- "_ui5privacy": "public",
17467
- "_ui5since": "2.22.0",
17468
- "members": [
17469
- {
17470
- "kind": "field",
17471
- "static": true,
17472
- "privacy": "public",
17473
- "description": "Ascending order (oldest first).",
17474
- "default": "Ascending",
17475
- "name": "Ascending",
17476
- "readonly": true
17477
- },
17478
- {
17479
- "kind": "field",
17480
- "static": true,
17481
- "privacy": "public",
17482
- "description": "Descending order (newest first).",
17483
- "default": "Descending",
17484
- "name": "Descending",
17485
- "readonly": true
17486
- }
17487
- ]
17488
- }
17489
- ],
17490
- "exports": [
17491
- {
17492
- "kind": "js",
17493
- "name": "default",
17494
- "declaration": {
17495
- "name": "TimelineSortOrder",
17496
- "module": "dist/types/TimelineSortOrder.js"
17497
- }
17498
- }
17499
- ]
17500
- },
17501
17012
  {
17502
17013
  "kind": "javascript-module",
17503
17014
  "path": "dist/types/UploadCollectionDnDMode.js",