genesys-spark-components 3.2.0 → 3.3.2

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 (313) hide show
  1. package/CHANGELOG.md +4933 -0
  2. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  3. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  11. package/dist/cjs/gux-badge-beta.cjs.entry.js +2 -2
  12. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +133 -0
  24. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-content-search.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-disclosure-button.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown_3.cjs.entry.js +2 -2
  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-input-clear-button.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-number.cjs.entry.js +2 -2
  38. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-input-checkbox_7.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-input-search.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-input-text-like.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-pagination-beta.cjs.entry.js +115 -0
  54. package/dist/cjs/gux-pagination-buttons-beta_3.cjs.entry.js +258 -0
  55. package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
  57. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  62. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  65. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  70. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  71. package/dist/cjs/gux-tab.cjs.entry.js +2 -0
  72. package/dist/cjs/gux-table-beta.cjs.entry.js +2 -2
  73. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-tag-beta.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-tooltip_2.cjs.entry.js +3 -1
  82. package/dist/cjs/gux-visualization-beta.cjs.entry.js +2 -2
  83. package/dist/cjs/{index-608364a8.js → index-2202ad01.js} +5 -8
  84. package/dist/cjs/loader.cjs.js +1 -1
  85. package/dist/cjs/{usage-tracking-85436ff1.js → usage-tracking-1c0d27be.js} +1 -1
  86. package/dist/collection/collection-manifest.json +5 -0
  87. package/dist/collection/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.css +4 -0
  88. package/dist/collection/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.js +344 -0
  89. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.css +39 -0
  90. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.js +225 -0
  91. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.types.js +1 -0
  92. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-button-beta.service.js +91 -0
  93. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.css +77 -0
  94. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.js +154 -0
  95. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.css +9 -0
  96. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.js +102 -0
  97. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.css +25 -0
  98. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.js +85 -0
  99. package/dist/collection/components/beta/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  100. package/dist/collection/components/beta/gux-table/gux-row-select/gux-row-select.js +1 -1
  101. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -0
  102. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +1 -1
  103. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +1 -1
  104. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  105. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -0
  106. package/dist/collection/i18n/index.js +5 -8
  107. package/dist/deploy-info.json +3 -3
  108. package/dist/esm/genesys-webcomponents.js +1 -1
  109. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  110. package/dist/esm/gux-accordion.entry.js +1 -1
  111. package/dist/esm/gux-action-button-legacy.entry.js +2 -2
  112. package/dist/esm/gux-action-button.entry.js +2 -2
  113. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  114. package/dist/esm/gux-action-toast.entry.js +1 -1
  115. package/dist/esm/gux-advanced-dropdown.entry.js +2 -2
  116. package/dist/esm/gux-all-row-select.entry.js +2 -2
  117. package/dist/esm/gux-badge-beta.entry.js +2 -2
  118. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  119. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  120. package/dist/esm/gux-button-multi.entry.js +1 -1
  121. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  122. package/dist/esm/gux-button.entry.js +1 -1
  123. package/dist/esm/gux-calendar.entry.js +2 -2
  124. package/dist/esm/gux-card-beta.entry.js +1 -1
  125. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  126. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  127. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  128. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  129. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +129 -0
  130. package/dist/esm/gux-command-palette-legacy.entry.js +2 -2
  131. package/dist/esm/gux-content-search.entry.js +2 -2
  132. package/dist/esm/gux-datepicker.entry.js +2 -2
  133. package/dist/esm/gux-disclosure-button.entry.js +2 -2
  134. package/dist/esm/gux-dismiss-button.entry.js +2 -2
  135. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  136. package/dist/esm/gux-dropdown_3.entry.js +2 -2
  137. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  138. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  139. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  140. package/dist/esm/gux-form-field-color.entry.js +1 -1
  141. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  142. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  143. package/dist/esm/gux-form-field-number.entry.js +2 -2
  144. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  145. package/dist/esm/gux-form-field-range.entry.js +1 -1
  146. package/dist/esm/gux-form-field-search.entry.js +1 -1
  147. package/dist/esm/gux-form-field-select.entry.js +1 -1
  148. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  149. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  150. package/dist/esm/gux-icon.entry.js +1 -1
  151. package/dist/esm/gux-input-checkbox_7.entry.js +1 -1
  152. package/dist/esm/gux-input-search.entry.js +1 -1
  153. package/dist/esm/gux-input-text-like.entry.js +1 -1
  154. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  155. package/dist/esm/gux-list.entry.js +1 -1
  156. package/dist/esm/gux-modal.entry.js +1 -1
  157. package/dist/esm/gux-notification-toast.entry.js +1 -1
  158. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  159. package/dist/esm/gux-pagination-beta.entry.js +111 -0
  160. package/dist/esm/gux-pagination-buttons-beta_3.entry.js +252 -0
  161. package/dist/esm/gux-pagination-buttons_3.entry.js +1 -1
  162. package/dist/esm/gux-pagination-cursor.entry.js +2 -2
  163. package/dist/esm/gux-pagination.entry.js +1 -1
  164. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  165. package/dist/esm/gux-popover-list.entry.js +1 -1
  166. package/dist/esm/gux-popover.entry.js +1 -1
  167. package/dist/esm/gux-radial-loading.entry.js +2 -2
  168. package/dist/esm/gux-radial-progress.entry.js +1 -1
  169. package/dist/esm/gux-rating.entry.js +1 -1
  170. package/dist/esm/gux-row-select.entry.js +2 -2
  171. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  172. package/dist/esm/gux-simple-toast.entry.js +1 -1
  173. package/dist/esm/gux-switch.entry.js +1 -1
  174. package/dist/esm/gux-tab-advanced-list.entry.js +2 -2
  175. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  176. package/dist/esm/gux-tab-list.entry.js +2 -2
  177. package/dist/esm/gux-tab.entry.js +2 -0
  178. package/dist/esm/gux-table-beta.entry.js +2 -2
  179. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  180. package/dist/esm/gux-tabs-legacy.entry.js +2 -2
  181. package/dist/esm/gux-tabs.entry.js +1 -1
  182. package/dist/esm/gux-tag-beta.entry.js +2 -2
  183. package/dist/esm/gux-text-highlight.entry.js +1 -1
  184. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  185. package/dist/esm/gux-time-picker-beta.entry.js +2 -2
  186. package/dist/esm/gux-toggle.entry.js +2 -2
  187. package/dist/esm/gux-tooltip_2.entry.js +3 -1
  188. package/dist/esm/gux-visualization-beta.entry.js +2 -2
  189. package/dist/esm/{index-eb3999c5.js → index-5bfcdeb1.js} +5 -8
  190. package/dist/esm/loader.js +1 -1
  191. package/dist/esm/{usage-tracking-27c65ae8.js → usage-tracking-f006c6f1.js} +1 -1
  192. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  193. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ar.json +1 -1
  194. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.cs.json +1 -1
  195. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
  196. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.de.json +1 -1
  197. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  198. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
  199. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
  200. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fi.json +1 -1
  201. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr-ca.json +1 -1
  202. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr.json +1 -1
  203. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.it.json +1 -1
  204. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ja.json +1 -1
  205. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ko.json +1 -1
  206. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.nl.json +1 -1
  207. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.no.json +1 -1
  208. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pl.json +1 -1
  209. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
  210. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ru.json +1 -1
  211. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.sv.json +1 -1
  212. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.th.json +1 -1
  213. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.tr.json +1 -1
  214. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-cn.json +1 -1
  215. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-tw.json +1 -1
  216. package/dist/genesys-webcomponents/{p-2f9715c3.entry.js → p-029337ed.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-80ac23f3.entry.js → p-02e05dcc.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-406c1ecb.entry.js → p-0a19a218.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-5594f37c.entry.js → p-0b7c65e9.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/{p-ffbb5862.entry.js → p-0c056961.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-a39c9746.entry.js → p-0caf0252.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-3b335640.entry.js → p-0edbe224.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/p-1083e07f.entry.js +1 -0
  224. package/dist/genesys-webcomponents/{p-80ab0f16.entry.js → p-124fff7a.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-890b51d6.entry.js → p-12d89212.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-9ce6088b.entry.js → p-16377f5d.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-44738ee4.entry.js → p-17e7c330.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/p-201c4e67.entry.js +1 -0
  229. package/dist/genesys-webcomponents/{p-14a51c35.js → p-2548bdad.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-14cd0c82.entry.js → p-26b2cfff.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-00c3054a.entry.js → p-2b02de07.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-e6be1cdd.entry.js → p-3a0cb71d.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-5d92c782.entry.js → p-3bd13f4e.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-abc59192.entry.js → p-3dd33b5a.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/p-421513fb.entry.js +1 -0
  236. package/dist/genesys-webcomponents/{p-82cca429.entry.js → p-42da5782.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-07200fbe.entry.js → p-4338a051.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/p-4402a21b.entry.js +1 -0
  239. package/dist/genesys-webcomponents/{p-8e12c97b.entry.js → p-46eda40c.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/p-480ec6a6.entry.js +1 -0
  241. package/dist/genesys-webcomponents/{p-fcf8b41d.entry.js → p-50f34d26.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-a5558019.entry.js → p-51ae0e2d.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-aa2aa002.entry.js → p-54d12357.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-a41c00c6.entry.js → p-5a9052a5.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-93cc18db.entry.js → p-61504012.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-6f7aa738.entry.js → p-6343d101.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-f3737156.entry.js → p-668065e8.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-4636daf4.entry.js → p-68ee84bf.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-a456d7ca.entry.js → p-6f3adb70.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-8fbf07eb.entry.js → p-71fbdde7.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-cfcab586.entry.js → p-724bc744.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-0d625862.entry.js → p-77e52c95.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-eb4661f4.entry.js → p-7bbf7540.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-e2d7c903.entry.js → p-872adf75.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-33520bfe.entry.js → p-87394f1f.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-7a5f74d9.entry.js → p-8a89e64d.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-9d490492.entry.js → p-8b77e017.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/p-8bcf179a.entry.js +1 -0
  259. package/dist/genesys-webcomponents/{p-42454428.js → p-8d6a8fc1.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-69fe4ffe.entry.js → p-8df52df5.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/p-905084ef.entry.js +1 -0
  262. package/dist/genesys-webcomponents/p-947b7fe3.entry.js +1 -0
  263. package/dist/genesys-webcomponents/{p-21ed1b6f.entry.js → p-998863df.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-22ce535d.entry.js → p-999fc762.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-cc959b74.entry.js → p-a174d034.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-53e5fbc4.entry.js → p-a25d7f47.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-6bb22291.entry.js → p-a683c274.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-5b3f61b3.entry.js → p-ac50f2bc.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-bb2c9b20.entry.js → p-b3bdfcc9.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-832a8286.entry.js → p-b544df8e.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-28463de4.entry.js → p-b5caba1b.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-0aefcf19.entry.js → p-b61c9c77.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/p-c150db37.entry.js +1 -0
  274. package/dist/genesys-webcomponents/{p-dd761341.entry.js → p-c1d1abf2.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-d1d0b481.entry.js → p-ca7e69dc.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-893f0cc2.entry.js → p-ccea6901.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-de5eede1.entry.js → p-ce45cd42.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-44afce2f.entry.js → p-d07860b4.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-78184d06.entry.js → p-d2b3e17f.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-a73fa450.entry.js → p-d4c9c1ae.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-036fd850.entry.js → p-d690c62f.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-9e1fbc6e.entry.js → p-d9b2414d.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-6d93d05c.entry.js → p-dc9dd886.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-d0485040.entry.js → p-de030af3.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-de858ae0.entry.js → p-de91e9e7.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-5b6f7cc8.entry.js → p-e2736b7d.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-592506ac.entry.js → p-e4387b01.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-a0503797.entry.js → p-e49a2254.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-71438869.entry.js → p-e90d4ca5.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-f2034144.entry.js → p-e9221bb1.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-09ea55ec.entry.js → p-f00d881c.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-dd814ad8.entry.js → p-f1d97ec4.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-881f55eb.entry.js → p-f5be2690.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-f89942a1.entry.js → p-f9dc4d90.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-64ad2a25.entry.js → p-fbf17aac.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-2a624729.entry.js → p-fcc726bc.entry.js} +1 -1
  297. package/dist/stencil-wrapper.js +1 -1
  298. package/dist/types/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.d.ts +52 -0
  299. package/dist/types/components/beta/gux-pagination-beta/gux-pagination-beta.d.ts +43 -0
  300. package/dist/types/components/beta/gux-pagination-beta/gux-pagination-beta.types.d.ts +2 -0
  301. package/dist/types/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-button-beta.service.d.ts +9 -0
  302. package/dist/types/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.d.ts +23 -0
  303. package/dist/types/components/beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.d.ts +13 -0
  304. package/dist/types/components/beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.d.ts +13 -0
  305. package/dist/types/components.d.ts +221 -0
  306. package/dist/types/i18n/index.d.ts +2 -2
  307. package/package.json +1 -1
  308. package/dist/genesys-webcomponents/p-155a1000.entry.js +0 -1
  309. package/dist/genesys-webcomponents/p-4bff75ab.entry.js +0 -1
  310. package/dist/genesys-webcomponents/p-64d6f1fa.entry.js +0 -1
  311. package/dist/genesys-webcomponents/p-9bdbd2da.entry.js +0 -1
  312. package/dist/genesys-webcomponents/p-ae53d4d6.entry.js +0 -1
  313. package/dist/genesys-webcomponents/p-c3c3c607.entry.js +0 -1
@@ -0,0 +1,77 @@
1
+ gux-pagination-buttons-beta {
2
+ color: #2e394c;
3
+ }
4
+ gux-pagination-buttons-beta .gux-pagination-buttons-container {
5
+ display: flex;
6
+ flex-direction: row;
7
+ flex-wrap: nowrap;
8
+ align-content: stretch;
9
+ align-items: center;
10
+ justify-content: flex-end;
11
+ }
12
+ gux-pagination-buttons-beta .gux-pagination-buttons-container > div {
13
+ flex: 0 1 auto;
14
+ align-self: auto;
15
+ order: 0;
16
+ }
17
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-group {
18
+ white-space: nowrap;
19
+ }
20
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot-beta:not(:first-of-type) {
21
+ margin-left: 8px;
22
+ }
23
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container {
24
+ display: flex;
25
+ flex-direction: row;
26
+ flex-wrap: nowrap;
27
+ align-content: stretch;
28
+ align-items: center;
29
+ justify-content: center;
30
+ margin: 0 16px;
31
+ }
32
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container > div {
33
+ flex: 0 1 auto;
34
+ align-self: auto;
35
+ order: 0;
36
+ white-space: nowrap;
37
+ }
38
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input {
39
+ width: 60px;
40
+ margin: 0 8px;
41
+ }
42
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input {
43
+ width: inherit;
44
+ text-align: center;
45
+ }
46
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container {
47
+ display: flex;
48
+ flex-direction: row;
49
+ flex-wrap: nowrap;
50
+ align-content: stretch;
51
+ align-items: center;
52
+ justify-content: center;
53
+ }
54
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,
55
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target {
56
+ height: 32px;
57
+ padding: 0 8px;
58
+ margin: 0;
59
+ background: inherit;
60
+ border: none;
61
+ }
62
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,
63
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible {
64
+ border: 3px solid #aac9ff;
65
+ border-radius: 5px;
66
+ outline: none;
67
+ }
68
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current {
69
+ font-weight: 600;
70
+ }
71
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target {
72
+ color: #2a60c8;
73
+ cursor: pointer;
74
+ }
75
+ gux-pagination-buttons-beta .gux-pagination-buttons-container .gux-pagination-buttons-spacer {
76
+ width: 8px;
77
+ }
@@ -0,0 +1,154 @@
1
+ import { Component, Element, Event, h, Prop } from '@stencil/core';
2
+ import { buildI18nForComponent } from '../../../../i18n';
3
+ import paginationResources from './i18n/en.json';
4
+ import { GuxPaginationButtonsService } from './gux-pagination-button-beta.service';
5
+ export class GuxPaginationButtonsBeta {
6
+ constructor() {
7
+ this.layout = 'advanced';
8
+ }
9
+ get onFirstPage() {
10
+ return this.currentPage <= 1;
11
+ }
12
+ get onLastPage() {
13
+ return this.currentPage >= this.totalPages;
14
+ }
15
+ handleClickFirst() {
16
+ this.internalcurrentpagechange.emit(1);
17
+ }
18
+ handleClickPrevious() {
19
+ this.internalcurrentpagechange.emit(this.currentPage - 1);
20
+ }
21
+ handleClickNext() {
22
+ this.internalcurrentpagechange.emit(this.currentPage + 1);
23
+ }
24
+ handleClickLast() {
25
+ this.internalcurrentpagechange.emit(this.totalPages);
26
+ }
27
+ handleClickPage(pageNumber) {
28
+ this.internalcurrentpagechange.emit(pageNumber);
29
+ }
30
+ getPageListEnteries(currentPage, totalPages) {
31
+ return GuxPaginationButtonsService.getPageList(currentPage, totalPages).reduce((acc, cv) => {
32
+ if (cv.current) {
33
+ return acc.concat((h("button", { class: "gux-pagination-buttons-list-current" }, cv.display)));
34
+ }
35
+ return acc.concat((h("button", { class: "gux-pagination-buttons-list-target", onClick: () => this.handleClickPage(cv.pageNumber) }, cv.display)));
36
+ }, []);
37
+ }
38
+ getSmallPagePicker() {
39
+ return (h("div", { class: 'gux-pagination-buttons-spacer' }));
40
+ }
41
+ getFullPagePicker() {
42
+ return (h("div", { class: "gux-pagination-buttons-list-container" }, this.getPageListEnteries(this.currentPage, this.totalPages)));
43
+ }
44
+ getPagePicker(layout) {
45
+ if (layout === 'simple') {
46
+ return this.getSmallPagePicker();
47
+ }
48
+ return this.getFullPagePicker();
49
+ }
50
+ async componentWillLoad() {
51
+ this.i18n = await buildI18nForComponent(this.root, paginationResources);
52
+ }
53
+ render() {
54
+ return (h("div", { class: `gux-pagination-buttons-container gux-${this.layout}` },
55
+ h("div", { class: "gux-pagination-buttons-group" },
56
+ h("gux-button-slot-beta", { accent: "secondary" },
57
+ h("button", { title: this.i18n('first'), disabled: this.onFirstPage, onClick: this.handleClickFirst.bind(this) },
58
+ h("gux-icon", { decorative: true, "icon-name": "chevron-double-left" }))),
59
+ h("gux-button-slot-beta", { accent: "secondary" },
60
+ h("button", { title: this.i18n('previous'), disabled: this.onFirstPage, onClick: this.handleClickPrevious.bind(this) },
61
+ h("gux-icon", { decorative: true, "icon-name": "chevron-small-left" })))),
62
+ this.getPagePicker(this.layout),
63
+ h("div", { class: "gux-pagination-buttons-group" },
64
+ h("gux-button-slot-beta", { accent: "secondary" },
65
+ h("button", { title: this.i18n('next'), disabled: this.onLastPage, onClick: this.handleClickNext.bind(this) },
66
+ h("gux-icon", { decorative: true, "icon-name": "chevron-small-right" }))),
67
+ h("gux-button-slot-beta", { accent: "secondary" },
68
+ h("button", { title: this.i18n('last'), disabled: this.onLastPage, onClick: this.handleClickLast.bind(this) },
69
+ h("gux-icon", { decorative: true, "icon-name": "chevron-double-right" }))))));
70
+ }
71
+ static get is() { return "gux-pagination-buttons-beta"; }
72
+ static get originalStyleUrls() { return {
73
+ "$": ["gux-pagination-buttons-beta.less"]
74
+ }; }
75
+ static get styleUrls() { return {
76
+ "$": ["gux-pagination-buttons-beta.css"]
77
+ }; }
78
+ static get properties() { return {
79
+ "currentPage": {
80
+ "type": "number",
81
+ "mutable": false,
82
+ "complexType": {
83
+ "original": "number",
84
+ "resolved": "number",
85
+ "references": {}
86
+ },
87
+ "required": false,
88
+ "optional": false,
89
+ "docs": {
90
+ "tags": [],
91
+ "text": ""
92
+ },
93
+ "attribute": "current-page",
94
+ "reflect": false
95
+ },
96
+ "totalPages": {
97
+ "type": "number",
98
+ "mutable": false,
99
+ "complexType": {
100
+ "original": "number",
101
+ "resolved": "number",
102
+ "references": {}
103
+ },
104
+ "required": false,
105
+ "optional": false,
106
+ "docs": {
107
+ "tags": [],
108
+ "text": ""
109
+ },
110
+ "attribute": "total-pages",
111
+ "reflect": false
112
+ },
113
+ "layout": {
114
+ "type": "string",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "GuxPaginationLayoutBeta",
118
+ "resolved": "\"advanced\" | \"simple\"",
119
+ "references": {
120
+ "GuxPaginationLayoutBeta": {
121
+ "location": "import",
122
+ "path": "../gux-pagination-beta.types"
123
+ }
124
+ }
125
+ },
126
+ "required": false,
127
+ "optional": false,
128
+ "docs": {
129
+ "tags": [],
130
+ "text": ""
131
+ },
132
+ "attribute": "layout",
133
+ "reflect": false,
134
+ "defaultValue": "'advanced'"
135
+ }
136
+ }; }
137
+ static get events() { return [{
138
+ "method": "internalcurrentpagechange",
139
+ "name": "internalcurrentpagechange",
140
+ "bubbles": false,
141
+ "cancelable": true,
142
+ "composed": true,
143
+ "docs": {
144
+ "tags": [],
145
+ "text": ""
146
+ },
147
+ "complexType": {
148
+ "original": "number",
149
+ "resolved": "number",
150
+ "references": {}
151
+ }
152
+ }]; }
153
+ static get elementRef() { return "root"; }
154
+ }
@@ -0,0 +1,9 @@
1
+ gux-pagination-item-counts-beta {
2
+ color: #2e394c;
3
+ }
4
+ gux-pagination-item-counts-beta .gux-pagination-item-counts-container {
5
+ white-space: nowrap;
6
+ }
7
+ gux-pagination-item-counts-beta .gux-pagination-item-counts-container .gux-pagination-item-counts-range {
8
+ font-weight: bold;
9
+ }
@@ -0,0 +1,102 @@
1
+ import { Component, Element, h, Prop } from '@stencil/core';
2
+ import { buildI18nForComponent } from '../../../../i18n';
3
+ import paginationResources from './i18n/en.json';
4
+ export class GuxPaginationItemCountsBeta {
5
+ constructor() {
6
+ this.totalItems = 0;
7
+ this.currentPage = 0;
8
+ this.itemsPerPage = 25;
9
+ }
10
+ get firstItem() {
11
+ if (this.totalItems < 1) {
12
+ return 0;
13
+ }
14
+ return (this.currentPage - 1) * this.itemsPerPage + 1;
15
+ }
16
+ get lastItem() {
17
+ if (this.totalItems < 1) {
18
+ return 0;
19
+ }
20
+ return Math.min(this.currentPage * this.itemsPerPage, this.totalItems);
21
+ }
22
+ async componentWillLoad() {
23
+ this.i18n = await buildI18nForComponent(this.root, paginationResources);
24
+ }
25
+ getPaginationItemCountsRange() {
26
+ if (this.totalItems) {
27
+ return (h("span", null, this.i18n('totalItems', { totalItems: this.totalItems })));
28
+ }
29
+ }
30
+ render() {
31
+ return (h("div", { class: "gux-pagination-item-counts-container" },
32
+ h("span", { class: "gux-pagination-item-counts-range" }, this.i18n('itemCountDisplay', {
33
+ firstItem: this.firstItem,
34
+ lastItem: this.lastItem
35
+ })),
36
+ this.getPaginationItemCountsRange()));
37
+ }
38
+ static get is() { return "gux-pagination-item-counts-beta"; }
39
+ static get originalStyleUrls() { return {
40
+ "$": ["gux-pagination-item-counts-beta.less"]
41
+ }; }
42
+ static get styleUrls() { return {
43
+ "$": ["gux-pagination-item-counts-beta.css"]
44
+ }; }
45
+ static get properties() { return {
46
+ "totalItems": {
47
+ "type": "number",
48
+ "mutable": false,
49
+ "complexType": {
50
+ "original": "number",
51
+ "resolved": "number",
52
+ "references": {}
53
+ },
54
+ "required": false,
55
+ "optional": false,
56
+ "docs": {
57
+ "tags": [],
58
+ "text": ""
59
+ },
60
+ "attribute": "total-items",
61
+ "reflect": false,
62
+ "defaultValue": "0"
63
+ },
64
+ "currentPage": {
65
+ "type": "number",
66
+ "mutable": false,
67
+ "complexType": {
68
+ "original": "number",
69
+ "resolved": "number",
70
+ "references": {}
71
+ },
72
+ "required": false,
73
+ "optional": false,
74
+ "docs": {
75
+ "tags": [],
76
+ "text": ""
77
+ },
78
+ "attribute": "current-page",
79
+ "reflect": false,
80
+ "defaultValue": "0"
81
+ },
82
+ "itemsPerPage": {
83
+ "type": "number",
84
+ "mutable": false,
85
+ "complexType": {
86
+ "original": "number",
87
+ "resolved": "number",
88
+ "references": {}
89
+ },
90
+ "required": false,
91
+ "optional": false,
92
+ "docs": {
93
+ "tags": [],
94
+ "text": ""
95
+ },
96
+ "attribute": "items-per-page",
97
+ "reflect": false,
98
+ "defaultValue": "25"
99
+ }
100
+ }; }
101
+ static get elementRef() { return "root"; }
102
+ }
@@ -0,0 +1,25 @@
1
+ gux-pagination-items-per-page-beta {
2
+ color: #2e394c;
3
+ }
4
+ gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container {
5
+ display: flex;
6
+ flex-direction: row;
7
+ flex-wrap: nowrap;
8
+ align-content: stretch;
9
+ align-items: center;
10
+ justify-content: center;
11
+ }
12
+ gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container > div {
13
+ flex: 0 1 auto;
14
+ align-self: auto;
15
+ order: 0;
16
+ white-space: nowrap;
17
+ }
18
+ gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker {
19
+ margin: 0 8px 0 16px;
20
+ }
21
+ gux-pagination-items-per-page-beta .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened {
22
+ bottom: 100%;
23
+ display: flex;
24
+ flex-direction: column-reverse;
25
+ }
@@ -0,0 +1,85 @@
1
+ import { Component, Element, Event, h, Listen, Prop } from '@stencil/core';
2
+ import { buildI18nForComponent } from '../../../../i18n';
3
+ import paginationResources from './i18n/en.json';
4
+ export class GuxPaginationItemsPerPageBeta {
5
+ constructor() {
6
+ this.itemsPerPage = 25;
7
+ }
8
+ handleChange(event) {
9
+ event.stopPropagation();
10
+ const newItemsPerPageValue = parseInt(this.dropdownElement.value, 10);
11
+ this.internalitemsperpagechange.emit(newItemsPerPageValue);
12
+ }
13
+ async componentWillLoad() {
14
+ this.i18n = await buildI18nForComponent(this.root, paginationResources);
15
+ }
16
+ getDropdown() {
17
+ return (h("gux-dropdown", { ref: el => (this.dropdownElement = el), value: `${this.itemsPerPage}` },
18
+ h("gux-listbox", { "aria-label": this.i18n('itemsPerPage') },
19
+ h("gux-option", { value: "25" }, "25"),
20
+ h("gux-option", { value: "50" }, "50"),
21
+ h("gux-option", { value: "75" }, "75"),
22
+ h("gux-option", { value: "100" }, "100"))));
23
+ }
24
+ render() {
25
+ return (h("div", { class: "gux-pagination-items-per-page-container" },
26
+ h("div", { class: "gux-pagination-items-per-page-picker" }, this.getDropdown()),
27
+ h("div", null, this.i18n('perPage'))));
28
+ }
29
+ static get is() { return "gux-pagination-items-per-page-beta"; }
30
+ static get originalStyleUrls() { return {
31
+ "$": ["gux-pagination-items-per-page-beta.less"]
32
+ }; }
33
+ static get styleUrls() { return {
34
+ "$": ["gux-pagination-items-per-page-beta.css"]
35
+ }; }
36
+ static get properties() { return {
37
+ "itemsPerPage": {
38
+ "type": "number",
39
+ "mutable": false,
40
+ "complexType": {
41
+ "original": "GuxItemsPerPage",
42
+ "resolved": "100 | 25 | 50 | 75",
43
+ "references": {
44
+ "GuxItemsPerPage": {
45
+ "location": "import",
46
+ "path": "../gux-pagination-beta.types"
47
+ }
48
+ }
49
+ },
50
+ "required": false,
51
+ "optional": false,
52
+ "docs": {
53
+ "tags": [],
54
+ "text": ""
55
+ },
56
+ "attribute": "items-per-page",
57
+ "reflect": false,
58
+ "defaultValue": "25"
59
+ }
60
+ }; }
61
+ static get events() { return [{
62
+ "method": "internalitemsperpagechange",
63
+ "name": "internalitemsperpagechange",
64
+ "bubbles": false,
65
+ "cancelable": true,
66
+ "composed": true,
67
+ "docs": {
68
+ "tags": [],
69
+ "text": ""
70
+ },
71
+ "complexType": {
72
+ "original": "number",
73
+ "resolved": "number",
74
+ "references": {}
75
+ }
76
+ }]; }
77
+ static get elementRef() { return "root"; }
78
+ static get listeners() { return [{
79
+ "name": "change",
80
+ "method": "handleChange",
81
+ "target": undefined,
82
+ "capture": false,
83
+ "passive": false
84
+ }]; }
85
+ }
@@ -18,7 +18,7 @@ export class GuxAllRowSelect {
18
18
  this.inputElement.indeterminate = indeterminate;
19
19
  }
20
20
  async componentWillLoad() {
21
- this.i18n = await buildI18nForComponent(this.root, tableResources);
21
+ this.i18n = await buildI18nForComponent(this.root, tableResources, 'gux-table');
22
22
  }
23
23
  render() {
24
24
  return (h("gux-form-field-checkbox", null,
@@ -14,7 +14,7 @@ export class GuxRowSelect {
14
14
  this.internalrowselectchange.emit();
15
15
  }
16
16
  async componentWillLoad() {
17
- this.i18n = await buildI18nForComponent(this.root, tableResources);
17
+ this.i18n = await buildI18nForComponent(this.root, tableResources, 'gux-table');
18
18
  }
19
19
  render() {
20
20
  return (h("gux-form-field-checkbox", null,
@@ -13,9 +13,11 @@ export class GuxTab {
13
13
  }
14
14
  }
15
15
  onFocusin() {
16
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
16
17
  void this.tooltipTitleElement.setShowTooltip();
17
18
  }
18
19
  onFocusout() {
20
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
19
21
  void this.tooltipTitleElement.setHideTooltip();
20
22
  }
21
23
  // eslint-disable-next-line @typescript-eslint/require-await
@@ -152,7 +152,7 @@ export class GuxTabList {
152
152
  }
153
153
  async componentWillLoad() {
154
154
  this.setTabTriggers();
155
- this.i18n = await buildI18nForComponent(this.root, tabsResources);
155
+ this.i18n = await buildI18nForComponent(this.root, tabsResources, 'gux-tabs');
156
156
  }
157
157
  componentDidLoad() {
158
158
  if (!this.resizeObserver && window.ResizeObserver) {
@@ -108,7 +108,7 @@ export class GuxTabAdvanced {
108
108
  }, this.moveFocusDelay);
109
109
  }
110
110
  async componentWillLoad() {
111
- this.i18n = await buildI18nForComponent(this.root, tabsResources);
111
+ this.i18n = await buildI18nForComponent(this.root, tabsResources, 'gux-tabs-advanced');
112
112
  }
113
113
  componentDidLoad() {
114
114
  this.tabTitle = this.root
@@ -364,7 +364,7 @@ export class GuxTabAdvancedList {
364
364
  }
365
365
  async componentWillLoad() {
366
366
  this.setTabTriggers();
367
- this.i18n = await buildI18nForComponent(this.root, tabsResources);
367
+ this.i18n = await buildI18nForComponent(this.root, tabsResources, 'gux-tabs-advanced');
368
368
  }
369
369
  componentDidLoad() {
370
370
  if (this.allowSort && !this.sortableInstance) {
@@ -28,12 +28,14 @@ export class GuxTooltipTitle {
28
28
  async setShowTooltip() {
29
29
  if (this.tooltipElement) {
30
30
  this.showTooltip = true;
31
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
31
32
  await this.tooltipElement.showTooltip();
32
33
  }
33
34
  }
34
35
  async setHideTooltip() {
35
36
  if (this.tooltipElement) {
36
37
  this.showTooltip = false;
38
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
37
39
  await this.tooltipElement.hideTooltip();
38
40
  }
39
41
  }
@@ -5,12 +5,12 @@ import locales from './locales.json';
5
5
  import * as startOfWeekDataUntyped from './start-of-week.json';
6
6
  import { getClosestElement } from '../utils/dom/get-closest-element';
7
7
  const DEFAULT_LOCALE = 'en';
8
- export async function buildI18nForComponent(component, defaultResources) {
8
+ export async function buildI18nForComponent(component, defaultResources, parentComponent) {
9
9
  let resources = defaultResources;
10
10
  let locale = 'en';
11
11
  if (component !== undefined) {
12
12
  locale = getDesiredLocale(component);
13
- resources = await getComponentI18nResources(component, defaultResources, locale);
13
+ resources = await getComponentI18nResources(component, defaultResources, locale, parentComponent);
14
14
  }
15
15
  const intlFormats = Object.entries(resources).reduce((map, [key, val]) => {
16
16
  map.set(key, new IntlMessageFormat(val, locale));
@@ -30,10 +30,9 @@ export async function buildI18nForComponent(component, defaultResources) {
30
30
  return i18nString;
31
31
  };
32
32
  }
33
- export async function getComponentI18nResources(component, defaultResources, locale) {
34
- const componentName = component.tagName
35
- .toLocaleLowerCase()
36
- .replace(/-beta$/, '');
33
+ export async function getComponentI18nResources(component, defaultResources, locale, parentComponent) {
34
+ const componentName = parentComponent ||
35
+ component.tagName.toLocaleLowerCase().replace(/-beta$/, '');
37
36
  let resources;
38
37
  if (component['i18n-resources']) {
39
38
  resources = component['i18n-resources'];
@@ -61,7 +60,6 @@ export function getDesiredLocale(element) {
61
60
  return lang;
62
61
  }
63
62
  else {
64
- console.error(`gux: No translation locale found for ${locale}, defaulting to '${DEFAULT_LOCALE}'`);
65
63
  return DEFAULT_LOCALE;
66
64
  }
67
65
  }
@@ -71,7 +69,6 @@ function findLocaleInDom(element) {
71
69
  return closestElement.lang.toLowerCase();
72
70
  }
73
71
  else {
74
- console.error(`gux: No language specified on page, defaulting to '${DEFAULT_LOCALE}'`, element.tagName);
75
72
  return DEFAULT_LOCALE;
76
73
  }
77
74
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "spark-components",
3
- "version": "3.1.2",
3
+ "version": "3.3.1",
4
4
  "ecosystem": "pc",
5
5
  "team": "Core UI",
6
6
  "indexFiles": [],
7
- "build": "28",
8
- "buildDate": "2022-06-09T19:37:07.635280Z"
7
+ "build": "36",
8
+ "buildDate": "2022-06-15T18:06:23.711180Z"
9
9
  }