genesys-spark-components 3.20.0 → 3.20.3

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 (250) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-badge-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-number.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/{usage-tracking-1577c51d.js → usage-tracking-0f5c0932.js} +1 -1
  80. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.css +3 -0
  81. package/dist/deploy-info.json +3 -3
  82. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  83. package/dist/esm/gux-accordion.entry.js +1 -1
  84. package/dist/esm/gux-action-button-legacy.entry.js +1 -1
  85. package/dist/esm/gux-action-button.entry.js +1 -1
  86. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  87. package/dist/esm/gux-action-toast.entry.js +1 -1
  88. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  89. package/dist/esm/gux-badge-beta.entry.js +1 -1
  90. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  91. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  92. package/dist/esm/gux-button-multi.entry.js +1 -1
  93. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  94. package/dist/esm/gux-button.entry.js +1 -1
  95. package/dist/esm/gux-calendar.entry.js +1 -1
  96. package/dist/esm/gux-card-beta.entry.js +1 -1
  97. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  98. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  99. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  100. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  101. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  102. package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
  103. package/dist/esm/gux-content-search.entry.js +1 -1
  104. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +1 -1
  105. package/dist/esm/gux-datepicker.entry.js +1 -1
  106. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  107. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  108. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  109. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  110. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  111. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  112. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  113. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  114. package/dist/esm/gux-form-field-color.entry.js +1 -1
  115. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  116. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  117. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  118. package/dist/esm/gux-form-field-number.entry.js +1 -1
  119. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  120. package/dist/esm/gux-form-field-range.entry.js +1 -1
  121. package/dist/esm/gux-form-field-search.entry.js +1 -1
  122. package/dist/esm/gux-form-field-select.entry.js +1 -1
  123. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  124. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  125. package/dist/esm/gux-icon.entry.js +1 -1
  126. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  127. package/dist/esm/gux-list-item.entry.js +1 -1
  128. package/dist/esm/gux-list.entry.js +1 -1
  129. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  130. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  131. package/dist/esm/gux-modal.entry.js +1 -1
  132. package/dist/esm/gux-notification-toast.entry.js +1 -1
  133. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  134. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  135. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  136. package/dist/esm/gux-pagination.entry.js +1 -1
  137. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  138. package/dist/esm/gux-popover-list.entry.js +1 -1
  139. package/dist/esm/gux-popover.entry.js +1 -1
  140. package/dist/esm/gux-radial-loading.entry.js +1 -1
  141. package/dist/esm/gux-radial-progress.entry.js +1 -1
  142. package/dist/esm/gux-rating.entry.js +1 -1
  143. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  144. package/dist/esm/gux-simple-toast.entry.js +1 -1
  145. package/dist/esm/gux-skip-navigation-list-beta.entry.js +1 -1
  146. package/dist/esm/gux-sort-control.entry.js +1 -1
  147. package/dist/esm/gux-switch.entry.js +1 -1
  148. package/dist/esm/gux-table-beta.entry.js +1 -1
  149. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  150. package/dist/esm/gux-tabs-legacy.entry.js +1 -1
  151. package/dist/esm/gux-tabs.entry.js +1 -1
  152. package/dist/esm/gux-tag-beta.entry.js +1 -1
  153. package/dist/esm/gux-text-highlight.entry.js +1 -1
  154. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  155. package/dist/esm/gux-time-picker-beta.entry.js +1 -1
  156. package/dist/esm/gux-toggle.entry.js +1 -1
  157. package/dist/esm/gux-tooltip.entry.js +1 -1
  158. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  159. package/dist/esm/{usage-tracking-8e48cf8c.js → usage-tracking-8b81b292.js} +1 -1
  160. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  161. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.cs.json +1 -1
  162. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
  163. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
  164. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
  165. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.no.json +1 -1
  166. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
  167. package/dist/genesys-webcomponents/{p-7beb85b9.entry.js → p-01822bb4.entry.js} +1 -1
  168. package/dist/genesys-webcomponents/{p-f7f356f1.entry.js → p-09bfc21d.entry.js} +1 -1
  169. package/dist/genesys-webcomponents/{p-0a456351.entry.js → p-103b59b3.entry.js} +1 -1
  170. package/dist/genesys-webcomponents/{p-2c2fec86.js → p-1359863e.js} +1 -1
  171. package/dist/genesys-webcomponents/{p-822b4a04.entry.js → p-13d3145a.entry.js} +1 -1
  172. package/dist/genesys-webcomponents/{p-5e62c239.entry.js → p-18f66839.entry.js} +1 -1
  173. package/dist/genesys-webcomponents/{p-7e2d62a8.entry.js → p-1e11ea88.entry.js} +1 -1
  174. package/dist/genesys-webcomponents/{p-9c9572d4.entry.js → p-1ee3b700.entry.js} +1 -1
  175. package/dist/genesys-webcomponents/{p-ab0e97aa.entry.js → p-1fbd764e.entry.js} +1 -1
  176. package/dist/genesys-webcomponents/{p-46a22b92.entry.js → p-21ab881b.entry.js} +1 -1
  177. package/dist/genesys-webcomponents/{p-c1f85df7.entry.js → p-2aa1cae4.entry.js} +1 -1
  178. package/dist/genesys-webcomponents/p-3e167185.entry.js +1 -0
  179. package/dist/genesys-webcomponents/{p-317fd5b7.entry.js → p-42aeec72.entry.js} +1 -1
  180. package/dist/genesys-webcomponents/{p-db48bbcc.entry.js → p-47e3eef7.entry.js} +1 -1
  181. package/dist/genesys-webcomponents/{p-cbbfb924.entry.js → p-482c39e4.entry.js} +1 -1
  182. package/dist/genesys-webcomponents/{p-782ae868.entry.js → p-4ba72ff6.entry.js} +1 -1
  183. package/dist/genesys-webcomponents/{p-529c29c0.entry.js → p-503c4879.entry.js} +1 -1
  184. package/dist/genesys-webcomponents/{p-68e6b0e4.entry.js → p-54618d9c.entry.js} +1 -1
  185. package/dist/genesys-webcomponents/{p-bd6c3674.entry.js → p-58203e43.entry.js} +1 -1
  186. package/dist/genesys-webcomponents/{p-edde4fee.entry.js → p-5b4ad315.entry.js} +1 -1
  187. package/dist/genesys-webcomponents/{p-2b4b37a2.entry.js → p-5b4df61e.entry.js} +1 -1
  188. package/dist/genesys-webcomponents/{p-67556723.entry.js → p-6090f7e9.entry.js} +1 -1
  189. package/dist/genesys-webcomponents/{p-259d1f95.entry.js → p-62ad8022.entry.js} +1 -1
  190. package/dist/genesys-webcomponents/{p-51a14752.entry.js → p-68700ad6.entry.js} +1 -1
  191. package/dist/genesys-webcomponents/{p-af2d9444.entry.js → p-6c98ab03.entry.js} +1 -1
  192. package/dist/genesys-webcomponents/{p-cafb669a.entry.js → p-6cd5c6c4.entry.js} +1 -1
  193. package/dist/genesys-webcomponents/{p-9c7bd483.entry.js → p-700fe9c6.entry.js} +1 -1
  194. package/dist/genesys-webcomponents/{p-ae0661e7.entry.js → p-72b06986.entry.js} +1 -1
  195. package/dist/genesys-webcomponents/{p-0e7278ae.entry.js → p-75688974.entry.js} +1 -1
  196. package/dist/genesys-webcomponents/{p-efc2cc84.entry.js → p-7ce61228.entry.js} +1 -1
  197. package/dist/genesys-webcomponents/{p-83cdf8bf.entry.js → p-7dd86cf4.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-d725360d.entry.js → p-82f66355.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-b65f5d73.entry.js → p-88c07e4a.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/{p-d1c5bf71.entry.js → p-8944b9ab.entry.js} +1 -1
  201. package/dist/genesys-webcomponents/{p-1b1454bf.entry.js → p-92fe7621.entry.js} +1 -1
  202. package/dist/genesys-webcomponents/{p-fb4ed5fe.entry.js → p-9396b879.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/{p-e2e93fc8.entry.js → p-94018645.entry.js} +1 -1
  204. package/dist/genesys-webcomponents/{p-b8687520.entry.js → p-9687c71d.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-3c0298af.entry.js → p-988db0e7.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-da7de0f1.entry.js → p-9bdde7dc.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/{p-6a6680bc.entry.js → p-9ef2276c.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-bbebe2c1.entry.js → p-a052fd93.entry.js} +1 -1
  209. package/dist/genesys-webcomponents/{p-b5b384f9.entry.js → p-a52efdea.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/{p-5eca79ac.entry.js → p-a8d0a920.entry.js} +1 -1
  211. package/dist/genesys-webcomponents/{p-018290ef.entry.js → p-ac9c7732.entry.js} +1 -1
  212. package/dist/genesys-webcomponents/{p-2c65a02c.entry.js → p-ae9d05e5.entry.js} +1 -1
  213. package/dist/genesys-webcomponents/{p-ef020ce1.entry.js → p-af676b61.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/{p-3e412855.entry.js → p-b3a75a31.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/{p-545d7bd5.entry.js → p-b8ff8c6a.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-f543af0c.entry.js → p-bccb0a6f.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-f932b7ba.entry.js → p-be8182af.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-7f614c57.entry.js → p-c56ce00c.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/p-c57dc224.entry.js +1 -0
  220. package/dist/genesys-webcomponents/{p-931f5a4c.entry.js → p-c61ed5d0.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-c5620be5.entry.js → p-c67cf5f8.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-157335b2.entry.js → p-c6c27769.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-b0a7799c.entry.js → p-c93b0a53.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-3f29df54.entry.js → p-ca04abdd.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-594ee8c2.entry.js → p-ca710a01.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-de98b5ab.entry.js → p-ce734a73.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-a53f0cca.entry.js → p-d230c7c8.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-b1223d4d.entry.js → p-d39e1c64.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-4c11109d.entry.js → p-d5aae1f5.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-7cedadb0.entry.js → p-d75c700e.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/p-dab291a4.entry.js +1 -0
  232. package/dist/genesys-webcomponents/{p-1fc8155a.entry.js → p-dabe7822.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-50bb1707.entry.js → p-e27a42dd.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-4c730a4e.entry.js → p-e5570b88.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-fb1cf654.entry.js → p-ec3033c4.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-d347e861.entry.js → p-eca2b8d0.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-a742d7c8.entry.js → p-ed99d720.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-ecdead3c.entry.js → p-ee3c63ce.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-958ea819.entry.js → p-eee790b7.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-08bdbeba.entry.js → p-f4c06e1d.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-41e9f98b.entry.js → p-f5fe7e3d.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-f43d8bcc.entry.js → p-f7049b9f.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-df79c0c3.entry.js → p-f96fb66d.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-63e576f0.entry.js → p-f9bf2f70.entry.js} +1 -1
  245. package/dist/stencil-wrapper.js +1 -1
  246. package/dist/types/components/stable/gux-list/gux-list-item/gux-list-item.d.ts +1 -1
  247. package/package.json +1 -1
  248. package/dist/genesys-webcomponents/p-88301f55.entry.js +0 -1
  249. package/dist/genesys-webcomponents/p-900230b2.entry.js +0 -1
  250. package/dist/genesys-webcomponents/p-d0b8d09d.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e,g as o}from"./p-74b510cb.js";import{t as r}from"./p-2c2fec86.js";const h=class{constructor(i){t(this,i),this.press=s(this,"press",7)}handleClick(){this.onItemClicked()}handleKeyDown(t){"Enter"!==t.key&&" "!==t.key||this.onItemClicked()}render(){return i(e,{role:"listitem"},i("span",{class:"gux-list-item"},this.text&&i("gux-text-highlight",{class:"gux-text",text:this.text,strategy:this.strategy}),i("slot",null)))}onItemClicked(){this.emitPress()}emitPress(){this.press.emit(this.value)}};h.style=":host:focus .gux-list-item,:host:active .gux-list-item,:host:hover:not([disabled]) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host(:focus) .gux-list-item,:host(:active) .gux-list-item,:host(:hover:not([disabled])) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host([disabled]) .gux-list-item{pointer-events:none;cursor:default;opacity:0.5}.gux-list-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}.gux-list-item .gux-text{width:100%}";const n=["gux-list-item-legacy:not([disabled])","gux-action-item:not([disabled])"].join(","),a=class{constructor(i){t(this,i),this.changed=s(this,"changed",7),this.selectedIndex=-1,this.observer=new MutationObserver((()=>{this.performHighlight(this.highlight)}))}emitChanged(t){this.changed.emit(t)}itemSelected(t){t.detail&&(this.value=t.detail)}valueHandler(t){this.emitChanged(t)}async setFocusOnFirstItem(){this.selectedIndex=0,this.updateTabIndexes()}async setFocusOnLastItem(){const t=this.getFilteredList();this.selectedIndex=t.length-1,this.updateTabIndexes()}async isLastItemSelected(){const t=this.getFilteredList();return this.selectedIndex===t.length-1}async isFirstItemSelected(){return this.selectedIndex<=0}componentWillLoad(){r(this.root)}componentDidLoad(){this.performHighlight(this.highlight),this.observer.observe(this.root,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){return this.performHighlight(this.highlight),this.updateTabIndexes(),i("div",{class:"gux-list-items-container",role:"list",tabindex:0,onKeyDown:t=>this.onKeyDown(t)},i("slot",null))}onKeyDown(t){if(!["ArrowUp","ArrowDown","End","Home"].includes(t.key))return;const s=this.getFilteredList();let i=-1;switch(t.key){case"ArrowUp":0!==this.selectedIndex?(t.preventDefault(),i=this.selectedIndex-1,t.stopPropagation()):this.isCommandPaletteList()||(t.preventDefault(),i=s.length-1);break;case"Home":this.selectedIndex&&(i=0);break;case"ArrowDown":this.selectedIndex!==s.length-1?(t.preventDefault(),i=this.selectedIndex+1,t.stopPropagation()):this.isCommandPaletteList()||(t.preventDefault(),i=0,t.stopPropagation());break;case"End":this.selectedIndex!==s.length-1&&(i=s.length-1)}-1!==i&&(this.selectedIndex=i)}isCommandPaletteList(){return Boolean(this.root.closest("gux-command-palette-legacy"))}updateTabIndexes(){const t=this.getFilteredList();t&&-1!==this.selectedIndex&&t.forEach(((t,s)=>{s!==this.selectedIndex?t.setAttribute("tabindex","-1"):(t.setAttribute("tabindex","0"),t.focus(),setTimeout((()=>{this.value=t.value})))}))}performHighlight(t){const s=this.root.querySelectorAll("gux-text-highlight");s&&s.forEach((s=>{s.highlight=t}))}getFilteredList(){const t=this.root.querySelector("slot");return t?t.assignedElements().filter((t=>t.matches(n))):Array.from(this.root.querySelectorAll(n))}get root(){return o(this)}static get watchers(){return{value:["valueHandler"]}}};a.style=".gux-list-items-container{padding:8px 0;margin:0;list-style:none;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}";export{h as gux_list_item_legacy,a as gux_list_legacy}
1
+ import{r as t,c as s,h as i,H as e,g as o}from"./p-74b510cb.js";import{t as r}from"./p-1359863e.js";const h=class{constructor(i){t(this,i),this.press=s(this,"press",7)}handleClick(){this.onItemClicked()}handleKeyDown(t){"Enter"!==t.key&&" "!==t.key||this.onItemClicked()}render(){return i(e,{role:"listitem"},i("span",{class:"gux-list-item"},this.text&&i("gux-text-highlight",{class:"gux-text",text:this.text,strategy:this.strategy}),i("slot",null)))}onItemClicked(){this.emitPress()}emitPress(){this.press.emit(this.value)}};h.style=":host:focus .gux-list-item,:host:active .gux-list-item,:host:hover:not([disabled]) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host(:focus) .gux-list-item,:host(:active) .gux-list-item,:host(:hover:not([disabled])) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host([disabled]) .gux-list-item{pointer-events:none;cursor:default;opacity:0.5}.gux-list-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}.gux-list-item .gux-text{width:100%}";const n=["gux-list-item-legacy:not([disabled])","gux-action-item:not([disabled])"].join(","),a=class{constructor(i){t(this,i),this.changed=s(this,"changed",7),this.selectedIndex=-1,this.observer=new MutationObserver((()=>{this.performHighlight(this.highlight)}))}emitChanged(t){this.changed.emit(t)}itemSelected(t){t.detail&&(this.value=t.detail)}valueHandler(t){this.emitChanged(t)}async setFocusOnFirstItem(){this.selectedIndex=0,this.updateTabIndexes()}async setFocusOnLastItem(){const t=this.getFilteredList();this.selectedIndex=t.length-1,this.updateTabIndexes()}async isLastItemSelected(){const t=this.getFilteredList();return this.selectedIndex===t.length-1}async isFirstItemSelected(){return this.selectedIndex<=0}componentWillLoad(){r(this.root)}componentDidLoad(){this.performHighlight(this.highlight),this.observer.observe(this.root,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){return this.performHighlight(this.highlight),this.updateTabIndexes(),i("div",{class:"gux-list-items-container",role:"list",tabindex:0,onKeyDown:t=>this.onKeyDown(t)},i("slot",null))}onKeyDown(t){if(!["ArrowUp","ArrowDown","End","Home"].includes(t.key))return;const s=this.getFilteredList();let i=-1;switch(t.key){case"ArrowUp":0!==this.selectedIndex?(t.preventDefault(),i=this.selectedIndex-1,t.stopPropagation()):this.isCommandPaletteList()||(t.preventDefault(),i=s.length-1);break;case"Home":this.selectedIndex&&(i=0);break;case"ArrowDown":this.selectedIndex!==s.length-1?(t.preventDefault(),i=this.selectedIndex+1,t.stopPropagation()):this.isCommandPaletteList()||(t.preventDefault(),i=0,t.stopPropagation());break;case"End":this.selectedIndex!==s.length-1&&(i=s.length-1)}-1!==i&&(this.selectedIndex=i)}isCommandPaletteList(){return Boolean(this.root.closest("gux-command-palette-legacy"))}updateTabIndexes(){const t=this.getFilteredList();t&&-1!==this.selectedIndex&&t.forEach(((t,s)=>{s!==this.selectedIndex?t.setAttribute("tabindex","-1"):(t.setAttribute("tabindex","0"),t.focus(),setTimeout((()=>{this.value=t.value})))}))}performHighlight(t){const s=this.root.querySelectorAll("gux-text-highlight");s&&s.forEach((s=>{s.highlight=t}))}getFilteredList(){const t=this.root.querySelector("slot");return t?t.assignedElements().filter((t=>t.matches(n))):Array.from(this.root.querySelectorAll(n))}get root(){return o(this)}static get watchers(){return{value:["valueHandler"]}}};a.style=".gux-list-items-container{padding:8px 0;margin:0;list-style:none;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}";export{h as gux_list_item_legacy,a as gux_list_legacy}
@@ -1 +1 @@
1
- import{r as t,h as i,H as a,g as s}from"./p-74b510cb.js";import{s as r}from"./p-d176c2ae.js";import{c as e}from"./p-9dd4b14a.js";import{t as n}from"./p-2c2fec86.js";import{l as o}from"./p-3184268e.js";const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[i]=t.composedPath(),a=i.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)&&this.updateRatingValue(s-.5)}onKeyDown(t){if(t.stopPropagation(),!this.disabled&&!this.readonly)switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-.5);break;case"ArrowDown":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+.5);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const i=e(t,0,Array.from(this.starContainer.children).length);this.value!==i&&(this.value=i,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"rating-partial":i+1<=this.value?"rating-active":"rating")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){n(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||o("gux-rating","`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return i(a,{role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-flex;user-select:none}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-star-container{color:#2e394c}.gux-rating-star-container.gux-disabled{opacity:0.5}.gux-rating-star-container gux-icon{width:24px;height:24px}";export{h as gux_rating}
1
+ import{r as t,h as i,H as a,g as s}from"./p-74b510cb.js";import{s as r}from"./p-d176c2ae.js";import{c as e}from"./p-9dd4b14a.js";import{t as n}from"./p-1359863e.js";import{l as o}from"./p-3184268e.js";const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[i]=t.composedPath(),a=i.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)&&this.updateRatingValue(s-.5)}onKeyDown(t){if(t.stopPropagation(),!this.disabled&&!this.readonly)switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-.5);break;case"ArrowDown":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+.5);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const i=e(t,0,Array.from(this.starContainer.children).length);this.value!==i&&(this.value=i,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"rating-partial":i+1<=this.value?"rating-active":"rating")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){n(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||o("gux-rating","`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return i(a,{role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-flex;user-select:none}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-star-container{color:#2e394c}.gux-rating-star-container.gux-disabled{opacity:0.5}.gux-rating-star-container gux-icon{width:24px;height:24px}";export{h as gux_rating}
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { defineCustomElements } from '../dist/loader';
8
8
  // Value templated out during build process (see scripts/wrap-stencil.js)
9
- const CDN_URL = 'https://app.mypurecloud.com/spark-components/build-assets/3.19.0-129/genesys-webcomponents/';
9
+ const CDN_URL = 'https://app.mypurecloud.com/spark-components/build-assets/3.20.2-135/genesys-webcomponents/';
10
10
  export function registerElements() {
11
11
  if (CDN_URL) {
12
12
  defineCustomElements(window, { resourcesUrl: CDN_URL });
@@ -1,6 +1,6 @@
1
1
  import { JSX } from '../../../../stencil-public-runtime';
2
2
  export declare class GuxListItem {
3
- root: HTMLElement;
3
+ root: HTMLGuxListItemElement;
4
4
  disabled: boolean;
5
5
  onMouseup(): void;
6
6
  onMouseover(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-components",
3
- "version": "3.20.0",
3
+ "version": "3.20.3",
4
4
  "description": "Common webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -1 +0,0 @@
1
- import{r as o,h as i,g as c}from"./p-74b510cb.js";import{t}from"./p-2c2fec86.js";import{b as e}from"./p-cf43f0c3.js";import"./p-8a133b9b.js";const r={clickToCopy:"Click to Copy",copyToClipboard:"Copy to clipboard",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},p=class{constructor(i){o(this,i),this.tooltipContent="offerClick"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.tooltipContent="offerEnter"}resetTooltip(){this.tooltipContent="offerClick"}onCopyToClipboard(){navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="success"})).catch((()=>{this.tooltipContent="error"}))}async componentWillLoad(){t(this.root),this.i18n=await e(this.root,r)}render(){return i("button",{onClick:this.onCopyToClipboard.bind(this),class:"gux-copy-to-clipboard-wrapper",title:this.i18n("copyToClipboard")},i("div",{class:"gux-copy-content"},i("slot",{name:"content"}),i("gux-icon",{"icon-name":"copy",decorative:!0})),i("gux-tooltip",{placement:"bottom-end"},"success"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-check",decorative:!0}):"","error"===this.tooltipContent?i("gux-icon",{"icon-name":"badge-x",decorative:!0}):"","offerClick"===this.tooltipContent?this.i18n("clickToCopy"):"","offerEnter"===this.tooltipContent?this.i18n("enterToCopy"):"","success"===this.tooltipContent?this.i18n("copySuccess"):"","error"===this.tooltipContent?this.i18n("copyFailure"):""))}get root(){return c(this)}};p.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:0 2px;margin-right:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name='copy']{width:16px;height:16px;padding:2px;visibility:hidden;background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus{outline:none}.gux-copy-to-clipboard-wrapper:focus ::slotted(*){background-color:#deeaff;border-radius:4px}.gux-copy-to-clipboard-wrapper:focus gux-icon[icon-name='copy']{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:16px;height:16px;padding-right:8px}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-check']{color:#3c8527}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name='badge-x']{color:#ea0b0b}.focus-and-hover-copy-content ::slotted(*){background-color:#deeaff;border-radius:4px}.focus-and-hover-copy-content gux-icon[icon-name='copy']{visibility:visible}";export{p as gux_copy_to_clipboard_beta}
@@ -1 +0,0 @@
1
- import{r as o,h as e,g as n}from"./p-74b510cb.js";import{t as c}from"./p-2c2fec86.js";function t(o,e,n){const c=function(o,e){return e.find((e=>e.slotName===o))}(o,n);null==c||c.ref.classList[e]("gux-opened")}const r=class{constructor(e){o(this,e),this.sections=[],this.headingLevel=null,this.arrowPosition="default"}async open(o){t(o,"add",this.sections)}async close(o){t(o,"remove",this.sections)}async toggle(o){t(o,"toggle",this.sections)}componentWillLoad(){c(this.root),this.sections=function(o){const e=Array.from(o.children),n=[];return e.forEach((o=>{const e=o.getAttribute("slot");o.hidden=!Boolean(e),e&&n.push({slotName:e,ref:null})})),n}(this.root)}render(){return e("div",{class:"gux-accordion"},this.sections.map((o=>e("section",{class:"gux-section",onKeyDown:e=>function(o,e,n){let c;switch(o.key){case"ArrowUp":c=function(o,e){const n=e.findIndex((e=>e.slotName===o));return n<=0?e[e.length-1].ref:e[n-1].ref}(e,n);break;case"ArrowDown":c=function(o,e){const n=e.findIndex((e=>e.slotName===o));return n>=e.length-1?e[0].ref:e[n+1].ref}(e,n);break;case"End":c=function(o){return o[this.sections.length-1].ref}(n);break;case"Home":c=function(o){return o[0].ref}(n)}var t;c&&(t=c,t.querySelector(".gux-header-button")).focus()}(e,o.slotName,this.sections),ref:e=>o.ref=e},e("div",{"aria-role":"heading","aria-level":this.headingLevel,class:"gux-header"},e("button",{class:"gux-header-button",type:"button",onClick:()=>this.toggle(o.slotName)},e("div",{class:"gux-text"},o.slotName),"beside-text"===this.arrowPosition?null:e("div",{class:"gux-spacer"}),e("div",{class:"gux-toggle-arrow"},e("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),e("div",{class:"gux-content"},e("slot",{name:o.slotName}))))))}get root(){return n(this)}};r.style="gux-accordion-legacy .gux-accordion{padding:0;margin:0;background-color:#fdfdfd}gux-accordion-legacy .gux-accordion .gux-section{color:#2e394c}gux-accordion-legacy .gux-accordion .gux-section .gux-header{box-sizing:border-box;height:40px;border-top:1px solid #e2e6ee}gux-accordion-legacy .gux-accordion .gux-section .gux-header .gux-header-button{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:0 16px;margin:0;color:#2e394c;cursor:pointer;background:none;border:none}gux-accordion-legacy .gux-accordion .gux-section .gux-header .gux-header-button .gux-text{flex:0 1 auto;align-self:auto;padding-right:8px;font-family:inherit;font-size:inherit;font-weight:bold;text-align:left}gux-accordion-legacy .gux-accordion .gux-section .gux-header .gux-header-button .gux-spacer{flex:1 1 auto;align-self:auto}gux-accordion-legacy .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow{flex:0 1 auto;align-items:center;align-self:auto;color:#6b7585;transition:transform 0.5s ease;transform-origin:center}gux-accordion-legacy .gux-accordion .gux-section .gux-header .gux-header-button .gux-toggle-arrow gux-icon{width:20px;height:20px}gux-accordion-legacy .gux-accordion .gux-section .gux-header:hover .gux-toggle-arrow{color:#2e394c}gux-accordion-legacy .gux-accordion .gux-section .gux-content{box-sizing:border-box;display:none;padding:16px}gux-accordion-legacy .gux-accordion .gux-section.gux-opened .gux-header{border-bottom:1px solid #e2e6ee}gux-accordion-legacy .gux-accordion .gux-section.gux-opened .gux-header .gux-toggle-arrow{transform:rotate(-180deg)}gux-accordion-legacy .gux-accordion .gux-section.gux-opened .gux-content{display:block}gux-accordion-legacy .gux-accordion .gux-section:last-of-type .gux-header{border-bottom:1px solid #e2e6ee}gux-accordion-legacy .gux-accordion .gux-section:last-of-type .gux-content{border-bottom:1px solid #e2e6ee}";export{r as gux_accordion_legacy}
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as e,g as r}from"./p-74b510cb.js";import{g as n}from"./p-8a133b9b.js";const s=class{constructor(o){t(this,o),this.disabled=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const t=n("gux-list",this.root);t&&null===t.shadowRoot.activeElement&&(this.root.blur(),t.focus())}render(){return o(e,{role:"listitem"},o("button",{type:"button",tabIndex:-1,disabled:this.disabled},o("slot",null)))}static get delegatesFocus(){return!0}get root(){return r(this)}};s.style=":host{width:100%;outline:none}:host([disabled]){pointer-events:none}::slotted(gux-icon){width:16px;height:16px;margin-right:8px;vertical-align:middle}button{all:unset;box-sizing:border-box;width:100%;min-height:32px;padding:8px 16px;color:#2e394c;word-wrap:break-word;cursor:pointer;border:none;outline:none}button:focus:not(:disabled){color:#fdfdfd;background:#2a60c8}button:hover:not(:disabled){color:#fdfdfd;background:#2754ac}button:active:not(:disabled){color:#fdfdfd;background:#23478f}button:disabled{color:rgba(46, 57, 76, 0.5);cursor:default}";export{s as gux_list_item}