@sapudex/web-components 2.32.1 → 2.34.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 (159) hide show
  1. package/cypress/fixtures/masthead-shell.ts +281 -0
  2. package/cypress/specs/Breadcrumbs.cy.tsx +196 -1
  3. package/cypress/specs/FilterMenu.cy.tsx +53 -0
  4. package/cypress/specs/ListItem.cy.tsx +48 -0
  5. package/cypress/specs/MastheadMenu.cy.tsx +564 -0
  6. package/cypress/specs/MastheadMobileMenu.cy.tsx +573 -0
  7. package/cypress/specs/MastheadShell.cy.tsx +645 -0
  8. package/cypress/specs/SecondaryNavigationDesktop.cy.tsx +289 -95
  9. package/cypress/specs/SecondaryNavigationMobile.cy.tsx +42 -0
  10. package/cypress/specs/SelectBox.cy.tsx +63 -0
  11. package/cypress/specs/TabNavigation.cy.tsx +431 -10
  12. package/cypress/support/component-imports.instrumented.ts +14 -0
  13. package/cypress/support/component-imports.src.ts +10 -0
  14. package/dist/Breadcrumbs.d.ts +12 -0
  15. package/dist/Breadcrumbs.js +30 -6
  16. package/dist/Breadcrumbs.js.map +1 -1
  17. package/dist/BreadcrumbsPopoverTemplate.js +10 -1
  18. package/dist/BreadcrumbsPopoverTemplate.js.map +1 -1
  19. package/dist/BreadcrumbsTemplate.js +1 -1
  20. package/dist/BreadcrumbsTemplate.js.map +1 -1
  21. package/dist/ListItem.d.ts +3 -0
  22. package/dist/ListItem.js +10 -1
  23. package/dist/ListItem.js.map +1 -1
  24. package/dist/ListItemBase.d.ts +29 -0
  25. package/dist/ListItemBase.js +22 -0
  26. package/dist/ListItemBase.js.map +1 -1
  27. package/dist/MastheadItem.d.ts +2 -1
  28. package/dist/MastheadItem.js.map +1 -1
  29. package/dist/MastheadMenu.d.ts +2 -1
  30. package/dist/MastheadMenu.js.map +1 -1
  31. package/dist/SearchableListBase.d.ts +3 -1
  32. package/dist/SearchableListBase.js +7 -1
  33. package/dist/SearchableListBase.js.map +1 -1
  34. package/dist/SecondaryNavigation.d.ts +1 -6
  35. package/dist/SecondaryNavigation.js +6 -59
  36. package/dist/SecondaryNavigation.js.map +1 -1
  37. package/dist/SecondaryNavigationItem.d.ts +5 -12
  38. package/dist/SecondaryNavigationItem.js +34 -65
  39. package/dist/SecondaryNavigationItem.js.map +1 -1
  40. package/dist/SecondaryNavigationItemBase.d.ts +0 -1
  41. package/dist/SecondaryNavigationItemBase.js +0 -4
  42. package/dist/SecondaryNavigationItemBase.js.map +1 -1
  43. package/dist/SelectBase.js +4 -2
  44. package/dist/SelectBase.js.map +1 -1
  45. package/dist/Tab.d.ts +19 -0
  46. package/dist/Tab.js +22 -0
  47. package/dist/Tab.js.map +1 -1
  48. package/dist/TabNavigation.d.ts +9 -1
  49. package/dist/TabNavigation.js +25 -7
  50. package/dist/TabNavigation.js.map +1 -1
  51. package/dist/assets/{InputSuggestions-DeXhpK0F.js → InputSuggestions-Bz7HZXUc.js} +1 -1
  52. package/dist/assets/{ListItemStandardExpandableTextTemplate-jMEdrC07.js → ListItemStandardExpandableTextTemplate-CjE7hAvu.js} +1 -1
  53. package/dist/assets/{bundle-S1uYREqT.css → bundle-JYo3bV8v.css} +1 -1
  54. package/dist/assets/{bundle.esm-CwJAt93x.js → bundle.esm-mAR7ytdB.js} +217 -217
  55. package/dist/css/themes/Breadcrumbs.css +1 -1
  56. package/dist/css/themes/BreadcrumbsPopover.css +1 -1
  57. package/dist/css/themes/ListItem.css +1 -1
  58. package/dist/css/themes/MastheadMenu.css +1 -1
  59. package/dist/css/themes/MastheadMobileMenu.css +1 -1
  60. package/dist/css/themes/RatingIndicator.css +1 -1
  61. package/dist/css/themes/Slider.css +1 -1
  62. package/dist/css/themes/TabNavigation.css +1 -1
  63. package/dist/custom-elements-internal.json +1357 -212
  64. package/dist/custom-elements.json +1342 -197
  65. package/dist/generated/templates/ListItemTemplate.lit.js +32 -28
  66. package/dist/generated/templates/ListItemTemplate.lit.js.map +1 -1
  67. package/dist/generated/templates/MastheadMenuTemplate.lit.js +8 -1
  68. package/dist/generated/templates/MastheadMenuTemplate.lit.js.map +1 -1
  69. package/dist/generated/templates/MastheadMobileMenuTemplate.lit.js +10 -4
  70. package/dist/generated/templates/MastheadMobileMenuTemplate.lit.js.map +1 -1
  71. package/dist/generated/templates/SearchableListBaseTemplate.lit.js +3 -3
  72. package/dist/generated/templates/SearchableListBaseTemplate.lit.js.map +1 -1
  73. package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js +4 -4
  74. package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js.map +1 -1
  75. package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js +3 -3
  76. package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js.map +1 -1
  77. package/dist/generated/templates/SecondaryNavigationTemplate.lit.js +5 -5
  78. package/dist/generated/templates/SecondaryNavigationTemplate.lit.js.map +1 -1
  79. package/dist/generated/templates/SelectBoxTemplate.lit.js +12 -10
  80. package/dist/generated/templates/SelectBoxTemplate.lit.js.map +1 -1
  81. package/dist/generated/templates/TabHeaderTemplate.lit.js +40 -24
  82. package/dist/generated/templates/TabHeaderTemplate.lit.js.map +1 -1
  83. package/dist/generated/templates/TabNavigationTemplate.lit.js +1 -1
  84. package/dist/generated/templates/TabNavigationTemplate.lit.js.map +1 -1
  85. package/dist/generated/themes/Breadcrumbs.css.d.ts +1 -1
  86. package/dist/generated/themes/Breadcrumbs.css.js +1 -1
  87. package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
  88. package/dist/generated/themes/BreadcrumbsPopover.css.d.ts +1 -1
  89. package/dist/generated/themes/BreadcrumbsPopover.css.js +1 -1
  90. package/dist/generated/themes/BreadcrumbsPopover.css.js.map +1 -1
  91. package/dist/generated/themes/ListItem.css.d.ts +1 -1
  92. package/dist/generated/themes/ListItem.css.js +1 -1
  93. package/dist/generated/themes/ListItem.css.js.map +1 -1
  94. package/dist/generated/themes/MastheadMenu.css.d.ts +1 -1
  95. package/dist/generated/themes/MastheadMenu.css.js +1 -1
  96. package/dist/generated/themes/MastheadMenu.css.js.map +1 -1
  97. package/dist/generated/themes/MastheadMobileMenu.css.d.ts +1 -1
  98. package/dist/generated/themes/MastheadMobileMenu.css.js +1 -1
  99. package/dist/generated/themes/MastheadMobileMenu.css.js.map +1 -1
  100. package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
  101. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  102. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  103. package/dist/generated/themes/Slider.css.d.ts +1 -1
  104. package/dist/generated/themes/Slider.css.js +1 -1
  105. package/dist/generated/themes/Slider.css.js.map +1 -1
  106. package/dist/generated/themes/TabNavigation.css.d.ts +1 -1
  107. package/dist/generated/themes/TabNavigation.css.js +1 -1
  108. package/dist/generated/themes/TabNavigation.css.js.map +1 -1
  109. package/dist/vscode.html-custom-data.json +236 -1
  110. package/dist/web-types.json +393 -3
  111. package/package.json +1 -1
  112. package/src/Breadcrumbs.ts +26 -7
  113. package/src/BreadcrumbsPopoverTemplate.tsx +53 -41
  114. package/src/BreadcrumbsTemplate.tsx +35 -21
  115. package/src/ListItem.hbs +42 -14
  116. package/src/ListItem.ts +12 -1
  117. package/src/ListItemBase.ts +40 -0
  118. package/src/MastheadItem.ts +2 -1
  119. package/src/MastheadMenu.hbs +35 -0
  120. package/src/MastheadMenu.ts +2 -1
  121. package/src/MastheadMobileMenu.hbs +40 -9
  122. package/src/SearchableListBase.hbs +12 -0
  123. package/src/SearchableListBase.ts +11 -2
  124. package/src/SecondaryNavigation.hbs +6 -6
  125. package/src/SecondaryNavigation.ts +7 -66
  126. package/src/SecondaryNavigationItem.hbs +4 -6
  127. package/src/SecondaryNavigationItem.ts +40 -83
  128. package/src/SecondaryNavigationItemBase.ts +0 -3
  129. package/src/SecondaryNavigationSubItem.hbs +3 -7
  130. package/src/SelectBase.ts +4 -2
  131. package/src/SelectBox.hbs +13 -5
  132. package/src/Tab.ts +32 -0
  133. package/src/TabHeader.hbs +40 -19
  134. package/src/TabNavigation.hbs +5 -9
  135. package/src/TabNavigation.ts +25 -8
  136. package/src/generated/templates/ListItemTemplate.lit.ts +32 -28
  137. package/src/generated/templates/MastheadMenuTemplate.lit.ts +8 -1
  138. package/src/generated/templates/MastheadMobileMenuTemplate.lit.ts +10 -4
  139. package/src/generated/templates/SearchableListBaseTemplate.lit.ts +3 -3
  140. package/src/generated/templates/SecondaryNavigationItemTemplate.lit.ts +4 -4
  141. package/src/generated/templates/SecondaryNavigationSubItemTemplate.lit.ts +3 -3
  142. package/src/generated/templates/SecondaryNavigationTemplate.lit.ts +5 -5
  143. package/src/generated/templates/SelectBoxTemplate.lit.ts +12 -10
  144. package/src/generated/templates/TabHeaderTemplate.lit.ts +40 -24
  145. package/src/generated/templates/TabNavigationTemplate.lit.ts +1 -1
  146. package/src/generated/themes/Breadcrumbs.css.ts +1 -1
  147. package/src/generated/themes/BreadcrumbsPopover.css.ts +1 -1
  148. package/src/generated/themes/ListItem.css.ts +1 -1
  149. package/src/generated/themes/MastheadMenu.css.ts +1 -1
  150. package/src/generated/themes/MastheadMobileMenu.css.ts +1 -1
  151. package/src/generated/themes/RatingIndicator.css.ts +1 -1
  152. package/src/generated/themes/Slider.css.ts +1 -1
  153. package/src/generated/themes/TabNavigation.css.ts +1 -1
  154. package/src/themes/Breadcrumbs.css +6 -0
  155. package/src/themes/BreadcrumbsPopover.css +12 -2
  156. package/src/themes/ListItem.css +12 -5
  157. package/src/themes/MastheadMenu.css +45 -0
  158. package/src/themes/MastheadMobileMenu.css +45 -0
  159. package/src/themes/TabNavigation.css +58 -73
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@sapudex/web-components",
4
- "version": "2.32.1",
4
+ "version": "2.34.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -440,6 +440,11 @@
440
440
  "name": "show-items",
441
441
  "description": "Defines how many breadcrumb items should be visible",
442
442
  "value": { "type": "number", "default": "3" }
443
+ },
444
+ {
445
+ "name": "show-current-page",
446
+ "description": "Defines whether the current page item is displayed in the main navigation path.\nWhen set to `true`, the current page is shown as a non-interactive label at the end of the breadcrumb trail.\nBy default, the current page is hidden from the main path and only visible in the dropdown.",
447
+ "value": { "type": "boolean", "default": "false" }
443
448
  }
444
449
  ],
445
450
  "slots": [
@@ -465,6 +470,11 @@
465
470
  "name": "show-items",
466
471
  "description": "Defines how many breadcrumb items should be visible",
467
472
  "value": { "type": "number" }
473
+ },
474
+ {
475
+ "name": "show-current-page",
476
+ "description": "Defines whether the current page item is displayed in the main navigation path.\nWhen set to `true`, the current page is shown as a non-interactive label at the end of the breadcrumb trail.\nBy default, the current page is hidden from the main path and only visible in the dropdown.",
477
+ "value": { "type": "boolean" }
468
478
  }
469
479
  ],
470
480
  "events": [
@@ -2043,6 +2053,26 @@
2043
2053
  "description": "Defines non-interactive the group header.",
2044
2054
  "value": { "type": "boolean", "default": "false" }
2045
2055
  },
2056
+ {
2057
+ "name": "rating-max",
2058
+ "description": "Defines the number of displayed rating symbols.",
2059
+ "value": { "type": "number", "default": "5" }
2060
+ },
2061
+ {
2062
+ "name": "rating",
2063
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
2064
+ "value": { "type": "string | undefined" }
2065
+ },
2066
+ {
2067
+ "name": "rating-count",
2068
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
2069
+ "value": { "type": "string | undefined" }
2070
+ },
2071
+ {
2072
+ "name": "total-count",
2073
+ "description": "The number of total votes.\nUse for the rating indicator",
2074
+ "value": { "type": "string | undefined" }
2075
+ },
2046
2076
  {
2047
2077
  "name": "label",
2048
2078
  "description": "Defines the <code>label</code> for the item.",
@@ -2134,6 +2164,26 @@
2134
2164
  "description": "Defines non-interactive the group header.",
2135
2165
  "value": { "type": "boolean" }
2136
2166
  },
2167
+ {
2168
+ "name": "rating-max",
2169
+ "description": "Defines the number of displayed rating symbols.",
2170
+ "value": { "type": "number" }
2171
+ },
2172
+ {
2173
+ "name": "rating",
2174
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
2175
+ "value": { "type": "string | undefined" }
2176
+ },
2177
+ {
2178
+ "name": "rating-count",
2179
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
2180
+ "value": { "type": "string | undefined" }
2181
+ },
2182
+ {
2183
+ "name": "total-count",
2184
+ "description": "The number of total votes.\nUse for the rating indicator",
2185
+ "value": { "type": "string | undefined" }
2186
+ },
2137
2187
  {
2138
2188
  "name": "label",
2139
2189
  "description": "Defines the <code>label</code> for the item.",
@@ -2222,6 +2272,26 @@
2222
2272
  "name": "_is-filter-select-all-item",
2223
2273
  "value": { "type": "boolean | undefined", "default": "false" }
2224
2274
  },
2275
+ {
2276
+ "name": "rating-max",
2277
+ "description": "Defines the number of displayed rating symbols.",
2278
+ "value": { "type": "number", "default": "5" }
2279
+ },
2280
+ {
2281
+ "name": "rating",
2282
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
2283
+ "value": { "type": "string | undefined" }
2284
+ },
2285
+ {
2286
+ "name": "rating-count",
2287
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
2288
+ "value": { "type": "string | undefined" }
2289
+ },
2290
+ {
2291
+ "name": "total-count",
2292
+ "description": "The number of total votes.\nUse for the rating indicator",
2293
+ "value": { "type": "string | undefined" }
2294
+ },
2225
2295
  {
2226
2296
  "name": "label",
2227
2297
  "description": "Defines the <code>label</code> for the item.",
@@ -2309,6 +2379,26 @@
2309
2379
  "name": "_is-filter-select-all-item",
2310
2380
  "value": { "type": "boolean | undefined" }
2311
2381
  },
2382
+ {
2383
+ "name": "rating-max",
2384
+ "description": "Defines the number of displayed rating symbols.",
2385
+ "value": { "type": "number" }
2386
+ },
2387
+ {
2388
+ "name": "rating",
2389
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
2390
+ "value": { "type": "string | undefined" }
2391
+ },
2392
+ {
2393
+ "name": "rating-count",
2394
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
2395
+ "value": { "type": "string | undefined" }
2396
+ },
2397
+ {
2398
+ "name": "total-count",
2399
+ "description": "The number of total votes.\nUse for the rating indicator",
2400
+ "value": { "type": "string | undefined" }
2401
+ },
2312
2402
  {
2313
2403
  "name": "label",
2314
2404
  "description": "Defines the <code>label</code> for the item.",
@@ -2398,6 +2488,26 @@
2398
2488
  "description": "Defines non-interactive the group header.",
2399
2489
  "value": { "type": "boolean", "default": "false" }
2400
2490
  },
2491
+ {
2492
+ "name": "rating-max",
2493
+ "description": "Defines the number of displayed rating symbols.",
2494
+ "value": { "type": "number", "default": "5" }
2495
+ },
2496
+ {
2497
+ "name": "rating",
2498
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
2499
+ "value": { "type": "string | undefined" }
2500
+ },
2501
+ {
2502
+ "name": "rating-count",
2503
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
2504
+ "value": { "type": "string | undefined" }
2505
+ },
2506
+ {
2507
+ "name": "total-count",
2508
+ "description": "The number of total votes.\nUse for the rating indicator",
2509
+ "value": { "type": "string | undefined" }
2510
+ },
2401
2511
  {
2402
2512
  "name": "label",
2403
2513
  "description": "Defines the <code>label</code> for the item.",
@@ -2492,6 +2602,26 @@
2492
2602
  "description": "Defines non-interactive the group header.",
2493
2603
  "value": { "type": "boolean" }
2494
2604
  },
2605
+ {
2606
+ "name": "rating-max",
2607
+ "description": "Defines the number of displayed rating symbols.",
2608
+ "value": { "type": "number" }
2609
+ },
2610
+ {
2611
+ "name": "rating",
2612
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
2613
+ "value": { "type": "string | undefined" }
2614
+ },
2615
+ {
2616
+ "name": "rating-count",
2617
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
2618
+ "value": { "type": "string | undefined" }
2619
+ },
2620
+ {
2621
+ "name": "total-count",
2622
+ "description": "The number of total votes.\nUse for the rating indicator",
2623
+ "value": { "type": "string | undefined" }
2624
+ },
2495
2625
  {
2496
2626
  "name": "label",
2497
2627
  "description": "Defines the <code>label</code> for the item.",
@@ -3686,6 +3816,26 @@
3686
3816
  "description": "Defines non-interactive the group header.",
3687
3817
  "value": { "type": "boolean", "default": "false" }
3688
3818
  },
3819
+ {
3820
+ "name": "rating-max",
3821
+ "description": "Defines the number of displayed rating symbols.",
3822
+ "value": { "type": "number", "default": "5" }
3823
+ },
3824
+ {
3825
+ "name": "rating",
3826
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
3827
+ "value": { "type": "string | undefined" }
3828
+ },
3829
+ {
3830
+ "name": "rating-count",
3831
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
3832
+ "value": { "type": "string | undefined" }
3833
+ },
3834
+ {
3835
+ "name": "total-count",
3836
+ "description": "The number of total votes.\nUse for the rating indicator",
3837
+ "value": { "type": "string | undefined" }
3838
+ },
3689
3839
  {
3690
3840
  "name": "label",
3691
3841
  "description": "Defines the <code>label</code> for the item.",
@@ -3784,6 +3934,26 @@
3784
3934
  "description": "Defines non-interactive the group header.",
3785
3935
  "value": { "type": "boolean" }
3786
3936
  },
3937
+ {
3938
+ "name": "rating-max",
3939
+ "description": "Defines the number of displayed rating symbols.",
3940
+ "value": { "type": "number" }
3941
+ },
3942
+ {
3943
+ "name": "rating",
3944
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
3945
+ "value": { "type": "string | undefined" }
3946
+ },
3947
+ {
3948
+ "name": "rating-count",
3949
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
3950
+ "value": { "type": "string | undefined" }
3951
+ },
3952
+ {
3953
+ "name": "total-count",
3954
+ "description": "The number of total votes.\nUse for the rating indicator",
3955
+ "value": { "type": "string | undefined" }
3956
+ },
3787
3957
  {
3788
3958
  "name": "label",
3789
3959
  "description": "Defines the <code>label</code> for the item.",
@@ -3939,6 +4109,26 @@
3939
4109
  "description": "Defines the role attribute of component",
3940
4110
  "value": { "type": "string", "default": "\"\"" }
3941
4111
  },
4112
+ {
4113
+ "name": "rating-max",
4114
+ "description": "Defines the number of displayed rating symbols.",
4115
+ "value": { "type": "number", "default": "5" }
4116
+ },
4117
+ {
4118
+ "name": "rating",
4119
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
4120
+ "value": { "type": "string | undefined" }
4121
+ },
4122
+ {
4123
+ "name": "rating-count",
4124
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
4125
+ "value": { "type": "string | undefined" }
4126
+ },
4127
+ {
4128
+ "name": "total-count",
4129
+ "description": "The number of total votes.\nUse for the rating indicator",
4130
+ "value": { "type": "string | undefined" }
4131
+ },
3942
4132
  {
3943
4133
  "name": "label",
3944
4134
  "description": "Defines the <code>label</code> for the item.",
@@ -4094,6 +4284,26 @@
4094
4284
  "description": "Defines the role attribute of component",
4095
4285
  "value": { "type": "string" }
4096
4286
  },
4287
+ {
4288
+ "name": "rating-max",
4289
+ "description": "Defines the number of displayed rating symbols.",
4290
+ "value": { "type": "number" }
4291
+ },
4292
+ {
4293
+ "name": "rating",
4294
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
4295
+ "value": { "type": "string | undefined" }
4296
+ },
4297
+ {
4298
+ "name": "rating-count",
4299
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
4300
+ "value": { "type": "string | undefined" }
4301
+ },
4302
+ {
4303
+ "name": "total-count",
4304
+ "description": "The number of total votes.\nUse for the rating indicator",
4305
+ "value": { "type": "string | undefined" }
4306
+ },
4097
4307
  {
4098
4308
  "name": "label",
4099
4309
  "description": "Defines the <code>label</code> for the item.",
@@ -4191,6 +4401,26 @@
4191
4401
  "description": "Defines non-interactive the group header.",
4192
4402
  "value": { "type": "boolean", "default": "false" }
4193
4403
  },
4404
+ {
4405
+ "name": "rating-max",
4406
+ "description": "Defines the number of displayed rating symbols.",
4407
+ "value": { "type": "number", "default": "5" }
4408
+ },
4409
+ {
4410
+ "name": "rating",
4411
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
4412
+ "value": { "type": "string | undefined" }
4413
+ },
4414
+ {
4415
+ "name": "rating-count",
4416
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
4417
+ "value": { "type": "string | undefined" }
4418
+ },
4419
+ {
4420
+ "name": "total-count",
4421
+ "description": "The number of total votes.\nUse for the rating indicator",
4422
+ "value": { "type": "string | undefined" }
4423
+ },
4194
4424
  {
4195
4425
  "name": "label",
4196
4426
  "description": "Defines the <code>label</code> for the item.",
@@ -4289,6 +4519,26 @@
4289
4519
  "description": "Defines non-interactive the group header.",
4290
4520
  "value": { "type": "boolean" }
4291
4521
  },
4522
+ {
4523
+ "name": "rating-max",
4524
+ "description": "Defines the number of displayed rating symbols.",
4525
+ "value": { "type": "number" }
4526
+ },
4527
+ {
4528
+ "name": "rating",
4529
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
4530
+ "value": { "type": "string | undefined" }
4531
+ },
4532
+ {
4533
+ "name": "rating-count",
4534
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
4535
+ "value": { "type": "string | undefined" }
4536
+ },
4537
+ {
4538
+ "name": "total-count",
4539
+ "description": "The number of total votes.\nUse for the rating indicator",
4540
+ "value": { "type": "string | undefined" }
4541
+ },
4292
4542
  {
4293
4543
  "name": "label",
4294
4544
  "description": "Defines the <code>label</code> for the item.",
@@ -7313,6 +7563,26 @@
7313
7563
  "description": "Defines non-interactive the group header.",
7314
7564
  "value": { "type": "boolean", "default": "false" }
7315
7565
  },
7566
+ {
7567
+ "name": "rating-max",
7568
+ "description": "Defines the number of displayed rating symbols.",
7569
+ "value": { "type": "number", "default": "5" }
7570
+ },
7571
+ {
7572
+ "name": "rating",
7573
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
7574
+ "value": { "type": "string | undefined" }
7575
+ },
7576
+ {
7577
+ "name": "rating-count",
7578
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
7579
+ "value": { "type": "string | undefined" }
7580
+ },
7581
+ {
7582
+ "name": "total-count",
7583
+ "description": "The number of total votes.\nUse for the rating indicator",
7584
+ "value": { "type": "string | undefined" }
7585
+ },
7316
7586
  {
7317
7587
  "name": "divider",
7318
7588
  "description": "Defines whether a visual separator should be rendered after the item.",
@@ -7407,6 +7677,26 @@
7407
7677
  "description": "Defines non-interactive the group header.",
7408
7678
  "value": { "type": "boolean" }
7409
7679
  },
7680
+ {
7681
+ "name": "rating-max",
7682
+ "description": "Defines the number of displayed rating symbols.",
7683
+ "value": { "type": "number" }
7684
+ },
7685
+ {
7686
+ "name": "rating",
7687
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
7688
+ "value": { "type": "string | undefined" }
7689
+ },
7690
+ {
7691
+ "name": "rating-count",
7692
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
7693
+ "value": { "type": "string | undefined" }
7694
+ },
7695
+ {
7696
+ "name": "total-count",
7697
+ "description": "The number of total votes.\nUse for the rating indicator",
7698
+ "value": { "type": "string | undefined" }
7699
+ },
7410
7700
  {
7411
7701
  "name": "divider",
7412
7702
  "description": "Defines whether a visual separator should be rendered after the item.",
@@ -7499,6 +7789,26 @@
7499
7789
  "default": "\"None\""
7500
7790
  }
7501
7791
  },
7792
+ {
7793
+ "name": "rating-max",
7794
+ "description": "Defines the number of displayed rating symbols.",
7795
+ "value": { "type": "number", "default": "5" }
7796
+ },
7797
+ {
7798
+ "name": "rating",
7799
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
7800
+ "value": { "type": "string | undefined" }
7801
+ },
7802
+ {
7803
+ "name": "rating-count",
7804
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
7805
+ "value": { "type": "string | undefined" }
7806
+ },
7807
+ {
7808
+ "name": "total-count",
7809
+ "description": "The number of total votes.\nUse for the rating indicator",
7810
+ "value": { "type": "string | undefined" }
7811
+ },
7502
7812
  {
7503
7813
  "name": "label",
7504
7814
  "description": "Defines the <code>label</code> for the item.",
@@ -7599,6 +7909,26 @@
7599
7909
  "type": "\"Information\" | \"Warning\" | \"None\" | \"Success\" | \"Error\""
7600
7910
  }
7601
7911
  },
7912
+ {
7913
+ "name": "rating-max",
7914
+ "description": "Defines the number of displayed rating symbols.",
7915
+ "value": { "type": "number" }
7916
+ },
7917
+ {
7918
+ "name": "rating",
7919
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
7920
+ "value": { "type": "string | undefined" }
7921
+ },
7922
+ {
7923
+ "name": "rating-count",
7924
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
7925
+ "value": { "type": "string | undefined" }
7926
+ },
7927
+ {
7928
+ "name": "total-count",
7929
+ "description": "The number of total votes.\nUse for the rating indicator",
7930
+ "value": { "type": "string | undefined" }
7931
+ },
7602
7932
  {
7603
7933
  "name": "label",
7604
7934
  "description": "Defines the <code>label</code> for the item.",
@@ -7688,6 +8018,26 @@
7688
8018
  "description": "Defines non-interactive the group header.",
7689
8019
  "value": { "type": "boolean", "default": "false" }
7690
8020
  },
8021
+ {
8022
+ "name": "rating-max",
8023
+ "description": "Defines the number of displayed rating symbols.",
8024
+ "value": { "type": "number", "default": "5" }
8025
+ },
8026
+ {
8027
+ "name": "rating",
8028
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
8029
+ "value": { "type": "string | undefined" }
8030
+ },
8031
+ {
8032
+ "name": "rating-count",
8033
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
8034
+ "value": { "type": "string | undefined" }
8035
+ },
8036
+ {
8037
+ "name": "total-count",
8038
+ "description": "The number of total votes.\nUse for the rating indicator",
8039
+ "value": { "type": "string | undefined" }
8040
+ },
7691
8041
  {
7692
8042
  "name": "label",
7693
8043
  "description": "Defines the <code>label</code> for the item.",
@@ -7782,6 +8132,26 @@
7782
8132
  "description": "Defines non-interactive the group header.",
7783
8133
  "value": { "type": "boolean" }
7784
8134
  },
8135
+ {
8136
+ "name": "rating-max",
8137
+ "description": "Defines the number of displayed rating symbols.",
8138
+ "value": { "type": "number" }
8139
+ },
8140
+ {
8141
+ "name": "rating",
8142
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
8143
+ "value": { "type": "string | undefined" }
8144
+ },
8145
+ {
8146
+ "name": "rating-count",
8147
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
8148
+ "value": { "type": "string | undefined" }
8149
+ },
8150
+ {
8151
+ "name": "total-count",
8152
+ "description": "The number of total votes.\nUse for the rating indicator",
8153
+ "value": { "type": "string | undefined" }
8154
+ },
7785
8155
  {
7786
8156
  "name": "label",
7787
8157
  "description": "Defines the <code>label</code> for the item.",
@@ -8447,6 +8817,11 @@
8447
8817
  "value": {
8448
8818
  "type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
8449
8819
  }
8820
+ },
8821
+ {
8822
+ "name": "item-count-text",
8823
+ "description": "Defines the item count text displayed above the tab label in Process Tab variant.\nOnly rendered when the tab navigation uses the Process Tab variant.",
8824
+ "value": { "type": "string | undefined" }
8450
8825
  }
8451
8826
  ],
8452
8827
  "slots": [
@@ -8508,6 +8883,11 @@
8508
8883
  "value": {
8509
8884
  "type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\""
8510
8885
  }
8886
+ },
8887
+ {
8888
+ "name": "item-count-text",
8889
+ "description": "Defines the item count text displayed above the tab label in Process Tab variant.\nOnly rendered when the tab navigation uses the Process Tab variant.",
8890
+ "value": { "type": "string | undefined" }
8511
8891
  }
8512
8892
  ],
8513
8893
  "events": []
@@ -8564,7 +8944,12 @@
8564
8944
  },
8565
8945
  {
8566
8946
  "name": "icon-without-background",
8567
- "description": "Defines the background color of the component.",
8947
+ "description": "!DEPRECATED! Defines the background color of the component.",
8948
+ "value": { "type": "boolean", "default": "false" }
8949
+ },
8950
+ {
8951
+ "name": "process-tab",
8952
+ "description": "Enables the Process Tab variant, where each tab displays an icon\nalongside an optional item count text above the label.",
8568
8953
  "value": { "type": "boolean", "default": "false" }
8569
8954
  }
8570
8955
  ],
@@ -8627,7 +9012,12 @@
8627
9012
  },
8628
9013
  {
8629
9014
  "name": "icon-without-background",
8630
- "description": "Defines the background color of the component.",
9015
+ "description": "!DEPRECATED! Defines the background color of the component.",
9016
+ "value": { "type": "boolean" }
9017
+ },
9018
+ {
9019
+ "name": "process-tab",
9020
+ "description": "Enables the Process Tab variant, where each tab displays an icon\nalongside an optional item count text above the label.",
8631
9021
  "value": { "type": "boolean" }
8632
9022
  }
8633
9023
  ],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@sapudex/web-components",
4
- "version": "2.32.1",
4
+ "version": "2.34.0",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
7
7
  },
@@ -4,7 +4,7 @@ import jsxRenderer from "@ui5/webcomponents-base/renderer/JsxRenderer.js";
4
4
  import property from "@ui5/webcomponents-base/dist/decorators/property.js";
5
5
  import slot from "@ui5/webcomponents-base/dist/decorators/slot.js";
6
6
  import event from "@ui5/webcomponents-base/dist/decorators/event-strict.js";
7
- import { isTabNext, isTabPrevious, isEscape } from "@ui5/webcomponents-base/dist/Keys.js";
7
+ import { isTabNext, isTabPrevious } from "@ui5/webcomponents-base/dist/Keys.js";
8
8
  import UI5Icon from "@ui5/webcomponents/dist/Icon.js";
9
9
  import type { LinkClickEventDetail } from "@ui5/webcomponents/dist/Link.js";
10
10
  import i18n from "@ui5/webcomponents-base/dist/decorators/i18n.js";
@@ -20,8 +20,10 @@ import {
20
20
  AVAILABLE_VALUES,
21
21
  BREADCRUMBS_ARIA_LABEL,
22
22
  BREADCRUMBS_OVERFLOW_ARIA_LABEL,
23
+ OF,
23
24
  } from "./generated/i18n/i18n-defaults.js";
24
25
  import translate from "./utils/translate.js";
26
+ import type { AccessibilityAttributes } from "@ui5/webcomponents-base/dist/types.js";
25
27
 
26
28
  // Styles
27
29
  import BreadcrumbsCss from "./generated/themes/Breadcrumbs.css.js";
@@ -105,6 +107,17 @@ class UDExBreadcrumbs extends UI5Element {
105
107
  @property({ type: Number })
106
108
  showItems: number = 3;
107
109
 
110
+ /**
111
+ * Defines whether the current page item is displayed in the main navigation path.
112
+ * When set to `true`, the current page is shown as a non-interactive label at the end of the breadcrumb trail.
113
+ * By default, the current page is hidden from the main path and only visible in the dropdown.
114
+ *
115
+ * @default false
116
+ * @public
117
+ */
118
+ @property({ type: Boolean })
119
+ showCurrentPage: boolean = false;
120
+
108
121
  /**
109
122
  * Indicates if dropdown is opened
110
123
  *
@@ -112,7 +125,7 @@ class UDExBreadcrumbs extends UI5Element {
112
125
  * @private
113
126
  */
114
127
  @property({ noAttribute: true, type: Boolean })
115
- _dropdownOpened!: boolean;
128
+ _dropdownOpened: boolean = false;
116
129
 
117
130
  /**
118
131
  * Defines the component items.
@@ -249,11 +262,6 @@ class UDExBreadcrumbs extends UI5Element {
249
262
  e.preventDefault();
250
263
  this._dropdownArrowLink.focus();
251
264
  this._toggleDropdown();
252
- return;
253
- }
254
-
255
- if (isEscape(e)) {
256
- this._toggleDropdown();
257
265
  }
258
266
  }
259
267
 
@@ -313,6 +321,13 @@ class UDExBreadcrumbs extends UI5Element {
313
321
  return this._getItems().filter(i => this._isItemVisible(i));
314
322
  }
315
323
 
324
+ get _triggerAccessibilityAttributes(): Pick<AccessibilityAttributes, "hasPopup" | "expanded"> {
325
+ return {
326
+ hasPopup: "listbox" as const,
327
+ expanded: this._dropdownOpened ? "true" : "false",
328
+ };
329
+ }
330
+
316
331
  get _triggerClass(): string {
317
332
  const rootClass = "udex-breadcrumbs";
318
333
  return this._dropdownOpened ? `${rootClass} ${rootClass}__trigger--opened` : rootClass;
@@ -329,6 +344,10 @@ class UDExBreadcrumbs extends UI5Element {
329
344
  get _dropdownAccessibleNameText(): string {
330
345
  return translate(UDExBreadcrumbs, AVAILABLE_VALUES);
331
346
  }
347
+
348
+ get _ofText(): string {
349
+ return translate(UDExBreadcrumbs, OF);
350
+ }
332
351
  }
333
352
 
334
353
  UDExBreadcrumbs.define();