@sapudex/web-components 2.33.0 → 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 (83) hide show
  1. package/cypress/specs/FilterMenu.cy.tsx +53 -0
  2. package/cypress/specs/ListItem.cy.tsx +48 -0
  3. package/cypress/specs/MastheadMenu.cy.tsx +564 -0
  4. package/cypress/specs/MastheadMobileMenu.cy.tsx +573 -0
  5. package/cypress/specs/SelectBox.cy.tsx +63 -0
  6. package/dist/ListItem.d.ts +3 -0
  7. package/dist/ListItem.js +10 -1
  8. package/dist/ListItem.js.map +1 -1
  9. package/dist/ListItemBase.d.ts +29 -0
  10. package/dist/ListItemBase.js +22 -0
  11. package/dist/ListItemBase.js.map +1 -1
  12. package/dist/MastheadItem.d.ts +2 -1
  13. package/dist/MastheadItem.js.map +1 -1
  14. package/dist/MastheadMenu.d.ts +2 -1
  15. package/dist/MastheadMenu.js.map +1 -1
  16. package/dist/SearchableListBase.d.ts +3 -1
  17. package/dist/SearchableListBase.js +7 -1
  18. package/dist/SearchableListBase.js.map +1 -1
  19. package/dist/SelectBase.js +4 -2
  20. package/dist/SelectBase.js.map +1 -1
  21. package/dist/assets/{InputSuggestions-B_Dl2L6w.js → InputSuggestions-Bz7HZXUc.js} +1 -1
  22. package/dist/assets/{ListItemStandardExpandableTextTemplate-9Z-aZmJx.js → ListItemStandardExpandableTextTemplate-CjE7hAvu.js} +1 -1
  23. package/dist/assets/{bundle-DbTEs-Za.css → bundle-JYo3bV8v.css} +1 -1
  24. package/dist/assets/{bundle.esm-BlIxH9k1.js → bundle.esm-mAR7ytdB.js} +216 -216
  25. package/dist/css/themes/ListItem.css +1 -1
  26. package/dist/css/themes/MastheadMenu.css +1 -1
  27. package/dist/css/themes/MastheadMobileMenu.css +1 -1
  28. package/dist/css/themes/RatingIndicator.css +1 -1
  29. package/dist/css/themes/Slider.css +1 -1
  30. package/dist/custom-elements-internal.json +1113 -23
  31. package/dist/custom-elements.json +1114 -24
  32. package/dist/generated/templates/ListItemTemplate.lit.js +32 -28
  33. package/dist/generated/templates/ListItemTemplate.lit.js.map +1 -1
  34. package/dist/generated/templates/MastheadMenuTemplate.lit.js +8 -1
  35. package/dist/generated/templates/MastheadMenuTemplate.lit.js.map +1 -1
  36. package/dist/generated/templates/MastheadMobileMenuTemplate.lit.js +10 -4
  37. package/dist/generated/templates/MastheadMobileMenuTemplate.lit.js.map +1 -1
  38. package/dist/generated/templates/SearchableListBaseTemplate.lit.js +3 -3
  39. package/dist/generated/templates/SearchableListBaseTemplate.lit.js.map +1 -1
  40. package/dist/generated/templates/SelectBoxTemplate.lit.js +12 -10
  41. package/dist/generated/templates/SelectBoxTemplate.lit.js.map +1 -1
  42. package/dist/generated/themes/ListItem.css.d.ts +1 -1
  43. package/dist/generated/themes/ListItem.css.js +1 -1
  44. package/dist/generated/themes/ListItem.css.js.map +1 -1
  45. package/dist/generated/themes/MastheadMenu.css.d.ts +1 -1
  46. package/dist/generated/themes/MastheadMenu.css.js +1 -1
  47. package/dist/generated/themes/MastheadMenu.css.js.map +1 -1
  48. package/dist/generated/themes/MastheadMobileMenu.css.d.ts +1 -1
  49. package/dist/generated/themes/MastheadMobileMenu.css.js +1 -1
  50. package/dist/generated/themes/MastheadMobileMenu.css.js.map +1 -1
  51. package/dist/generated/themes/RatingIndicator.css.d.ts +1 -1
  52. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  53. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  54. package/dist/generated/themes/Slider.css.d.ts +1 -1
  55. package/dist/generated/themes/Slider.css.js +1 -1
  56. package/dist/generated/themes/Slider.css.js.map +1 -1
  57. package/dist/vscode.html-custom-data.json +220 -0
  58. package/dist/web-types.json +361 -1
  59. package/package.json +1 -1
  60. package/src/ListItem.hbs +26 -2
  61. package/src/ListItem.ts +12 -1
  62. package/src/ListItemBase.ts +40 -0
  63. package/src/MastheadItem.ts +2 -1
  64. package/src/MastheadMenu.hbs +35 -0
  65. package/src/MastheadMenu.ts +2 -1
  66. package/src/MastheadMobileMenu.hbs +40 -9
  67. package/src/SearchableListBase.hbs +12 -0
  68. package/src/SearchableListBase.ts +11 -2
  69. package/src/SelectBase.ts +4 -2
  70. package/src/SelectBox.hbs +13 -5
  71. package/src/generated/templates/ListItemTemplate.lit.ts +32 -28
  72. package/src/generated/templates/MastheadMenuTemplate.lit.ts +8 -1
  73. package/src/generated/templates/MastheadMobileMenuTemplate.lit.ts +10 -4
  74. package/src/generated/templates/SearchableListBaseTemplate.lit.ts +3 -3
  75. package/src/generated/templates/SelectBoxTemplate.lit.ts +12 -10
  76. package/src/generated/themes/ListItem.css.ts +1 -1
  77. package/src/generated/themes/MastheadMenu.css.ts +1 -1
  78. package/src/generated/themes/MastheadMobileMenu.css.ts +1 -1
  79. package/src/generated/themes/RatingIndicator.css.ts +1 -1
  80. package/src/generated/themes/Slider.css.ts +1 -1
  81. package/src/themes/ListItem.css +6 -4
  82. package/src/themes/MastheadMenu.css +45 -0
  83. package/src/themes/MastheadMobileMenu.css +45 -0
@@ -940,6 +940,26 @@
940
940
  "description": "Defines non-interactive the group header.",
941
941
  "values": []
942
942
  },
943
+ {
944
+ "name": "rating-max",
945
+ "description": "Defines the number of displayed rating symbols.",
946
+ "values": []
947
+ },
948
+ {
949
+ "name": "rating",
950
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
951
+ "values": []
952
+ },
953
+ {
954
+ "name": "rating-count",
955
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
956
+ "values": []
957
+ },
958
+ {
959
+ "name": "total-count",
960
+ "description": "The number of total votes.\nUse for the rating indicator",
961
+ "values": []
962
+ },
943
963
  {
944
964
  "name": "label",
945
965
  "description": "Defines the <code>label</code> for the item.",
@@ -1013,6 +1033,26 @@
1013
1033
  "description": "<h3 class=\"comment-api-title\">Overview</h3>\n\n\n<h3>Usage</h3>\n\nFor the <code>udex-filter-menu-item</code>\n<h3>ES6 Module Import</h3>\n\n<code>import \"@sapudex/web-components/dist/FilterMenuItem.js\";</code>\n\n\n---\n\n\n\n\n### **Events:**\n - **first-icon-click** - Fired event when the user click on a first icon.\n- **second-icon-click** - Fired event when the user click on a second icon.\n- **accordion-icon-click** - Triggered when the user clicks on an accordion item.",
1014
1034
  "attributes": [
1015
1035
  { "name": "_is-filter-select-all-item", "values": [] },
1036
+ {
1037
+ "name": "rating-max",
1038
+ "description": "Defines the number of displayed rating symbols.",
1039
+ "values": []
1040
+ },
1041
+ {
1042
+ "name": "rating",
1043
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
1044
+ "values": []
1045
+ },
1046
+ {
1047
+ "name": "rating-count",
1048
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
1049
+ "values": []
1050
+ },
1051
+ {
1052
+ "name": "total-count",
1053
+ "description": "The number of total votes.\nUse for the rating indicator",
1054
+ "values": []
1055
+ },
1016
1056
  {
1017
1057
  "name": "label",
1018
1058
  "description": "Defines the <code>label</code> for the item.",
@@ -1090,6 +1130,26 @@
1090
1130
  "description": "Defines non-interactive the group header.",
1091
1131
  "values": []
1092
1132
  },
1133
+ {
1134
+ "name": "rating-max",
1135
+ "description": "Defines the number of displayed rating symbols.",
1136
+ "values": []
1137
+ },
1138
+ {
1139
+ "name": "rating",
1140
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
1141
+ "values": []
1142
+ },
1143
+ {
1144
+ "name": "rating-count",
1145
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
1146
+ "values": []
1147
+ },
1148
+ {
1149
+ "name": "total-count",
1150
+ "description": "The number of total votes.\nUse for the rating indicator",
1151
+ "values": []
1152
+ },
1093
1153
  {
1094
1154
  "name": "label",
1095
1155
  "description": "Defines the <code>label</code> for the item.",
@@ -1623,6 +1683,26 @@
1623
1683
  "description": "Defines non-interactive the group header.",
1624
1684
  "values": []
1625
1685
  },
1686
+ {
1687
+ "name": "rating-max",
1688
+ "description": "Defines the number of displayed rating symbols.",
1689
+ "values": []
1690
+ },
1691
+ {
1692
+ "name": "rating",
1693
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
1694
+ "values": []
1695
+ },
1696
+ {
1697
+ "name": "rating-count",
1698
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
1699
+ "values": []
1700
+ },
1701
+ {
1702
+ "name": "total-count",
1703
+ "description": "The number of total votes.\nUse for the rating indicator",
1704
+ "values": []
1705
+ },
1626
1706
  {
1627
1707
  "name": "label",
1628
1708
  "description": "Defines the <code>label</code> for the item.",
@@ -1700,6 +1780,26 @@
1700
1780
  "description": "Defines non-interactive the group header.",
1701
1781
  "values": []
1702
1782
  },
1783
+ {
1784
+ "name": "rating-max",
1785
+ "description": "Defines the number of displayed rating symbols.",
1786
+ "values": []
1787
+ },
1788
+ {
1789
+ "name": "rating",
1790
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
1791
+ "values": []
1792
+ },
1793
+ {
1794
+ "name": "rating-count",
1795
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
1796
+ "values": []
1797
+ },
1798
+ {
1799
+ "name": "total-count",
1800
+ "description": "The number of total votes.\nUse for the rating indicator",
1801
+ "values": []
1802
+ },
1703
1803
  {
1704
1804
  "name": "label",
1705
1805
  "description": "Defines the <code>label</code> for the item.",
@@ -1845,6 +1945,26 @@
1845
1945
  "description": "Defines the role attribute of component",
1846
1946
  "values": []
1847
1947
  },
1948
+ {
1949
+ "name": "rating-max",
1950
+ "description": "Defines the number of displayed rating symbols.",
1951
+ "values": []
1952
+ },
1953
+ {
1954
+ "name": "rating",
1955
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
1956
+ "values": []
1957
+ },
1958
+ {
1959
+ "name": "rating-count",
1960
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
1961
+ "values": []
1962
+ },
1963
+ {
1964
+ "name": "total-count",
1965
+ "description": "The number of total votes.\nUse for the rating indicator",
1966
+ "values": []
1967
+ },
1848
1968
  {
1849
1969
  "name": "label",
1850
1970
  "description": "Defines the <code>label</code> for the item.",
@@ -1917,6 +2037,26 @@
1917
2037
  "name": "udex-list-item-base",
1918
2038
  "description": "A class to serve as a foundation\nfor the <code>UDExListItem</code>,<code>UDExFilterMenuItem</code> and <code>UDExGroupHeaderBase</code> classes.\n\n\n---\n\n\n\n\n### **Events:**\n - **first-icon-click** - Fired event when the user click on a first icon.\n- **second-icon-click** - Fired event when the user click on a second icon.\n- **accordion-icon-click** - Triggered when the user clicks on an accordion item.",
1919
2039
  "attributes": [
2040
+ {
2041
+ "name": "rating-max",
2042
+ "description": "Defines the number of displayed rating symbols.",
2043
+ "values": []
2044
+ },
2045
+ {
2046
+ "name": "rating",
2047
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
2048
+ "values": []
2049
+ },
2050
+ {
2051
+ "name": "rating-count",
2052
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
2053
+ "values": []
2054
+ },
2055
+ {
2056
+ "name": "total-count",
2057
+ "description": "The number of total votes.\nUse for the rating indicator",
2058
+ "values": []
2059
+ },
1920
2060
  {
1921
2061
  "name": "label",
1922
2062
  "description": "Defines the <code>label</code> for the item.",
@@ -1994,6 +2134,26 @@
1994
2134
  "description": "Defines non-interactive the group header.",
1995
2135
  "values": []
1996
2136
  },
2137
+ {
2138
+ "name": "rating-max",
2139
+ "description": "Defines the number of displayed rating symbols.",
2140
+ "values": []
2141
+ },
2142
+ {
2143
+ "name": "rating",
2144
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
2145
+ "values": []
2146
+ },
2147
+ {
2148
+ "name": "rating-count",
2149
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
2150
+ "values": []
2151
+ },
2152
+ {
2153
+ "name": "total-count",
2154
+ "description": "The number of total votes.\nUse for the rating indicator",
2155
+ "values": []
2156
+ },
1997
2157
  {
1998
2158
  "name": "label",
1999
2159
  "description": "Defines the <code>label</code> for the item.",
@@ -3377,6 +3537,26 @@
3377
3537
  "description": "Defines non-interactive the group header.",
3378
3538
  "values": []
3379
3539
  },
3540
+ {
3541
+ "name": "rating-max",
3542
+ "description": "Defines the number of displayed rating symbols.",
3543
+ "values": []
3544
+ },
3545
+ {
3546
+ "name": "rating",
3547
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
3548
+ "values": []
3549
+ },
3550
+ {
3551
+ "name": "rating-count",
3552
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
3553
+ "values": []
3554
+ },
3555
+ {
3556
+ "name": "total-count",
3557
+ "description": "The number of total votes.\nUse for the rating indicator",
3558
+ "values": []
3559
+ },
3380
3560
  {
3381
3561
  "name": "divider",
3382
3562
  "description": "Defines whether a visual separator should be rendered after the item.",
@@ -3460,6 +3640,26 @@
3460
3640
  { "name": "Error" }
3461
3641
  ]
3462
3642
  },
3643
+ {
3644
+ "name": "rating-max",
3645
+ "description": "Defines the number of displayed rating symbols.",
3646
+ "values": []
3647
+ },
3648
+ {
3649
+ "name": "rating",
3650
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
3651
+ "values": []
3652
+ },
3653
+ {
3654
+ "name": "rating-count",
3655
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
3656
+ "values": []
3657
+ },
3658
+ {
3659
+ "name": "total-count",
3660
+ "description": "The number of total votes.\nUse for the rating indicator",
3661
+ "values": []
3662
+ },
3463
3663
  {
3464
3664
  "name": "label",
3465
3665
  "description": "Defines the <code>label</code> for the item.",
@@ -3537,6 +3737,26 @@
3537
3737
  "description": "Defines non-interactive the group header.",
3538
3738
  "values": []
3539
3739
  },
3740
+ {
3741
+ "name": "rating-max",
3742
+ "description": "Defines the number of displayed rating symbols.",
3743
+ "values": []
3744
+ },
3745
+ {
3746
+ "name": "rating",
3747
+ "description": "Defines the value of the rating.\nUse for rating indicator to represent aggregated review scores within list items",
3748
+ "values": []
3749
+ },
3750
+ {
3751
+ "name": "rating-count",
3752
+ "description": "Defines the number of the rating.\nUse for the rating indicator",
3753
+ "values": []
3754
+ },
3755
+ {
3756
+ "name": "total-count",
3757
+ "description": "The number of total votes.\nUse for the rating indicator",
3758
+ "values": []
3759
+ },
3540
3760
  {
3541
3761
  "name": "label",
3542
3762
  "description": "Defines the <code>label</code> for the item.",