genesys-spark-components 3.46.0 → 3.46.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 (315) hide show
  1. package/CHANGELOG.md +14 -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 +1 -1
  6. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  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 +1 -1
  10. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-badge-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-number.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-inline-alert-beta.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-list-item.cjs.entry.js +3 -1
  55. package/dist/cjs/gux-list.cjs.entry.js +10 -2
  56. package/dist/cjs/{gux-list.service-59f2b3e7.js → gux-list.service-abbcfc17.js} +30 -0
  57. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-table-toolbar-beta.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +12 -6
  92. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-tooltip-title.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-truncate-beta.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  97. package/dist/cjs/loader.cjs.js +1 -1
  98. package/dist/cjs/{usage-tracking-6caefa46.js → usage-tracking-d42544b3.js} +1 -1
  99. package/dist/collection/components/beta/gux-time-picker/gux-time-picker.js +12 -6
  100. package/dist/collection/components/beta/gux-truncate/gux-truncate.js +1 -1
  101. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +3 -1
  102. package/dist/collection/components/stable/gux-list/gux-list.js +47 -1
  103. package/dist/collection/components/stable/gux-list/gux-list.service.js +28 -0
  104. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +1 -1
  105. package/dist/deploy-info.json +3 -3
  106. package/dist/esm/genesys-webcomponents.js +1 -1
  107. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  108. package/dist/esm/gux-accordion.entry.js +1 -1
  109. package/dist/esm/gux-action-button-legacy.entry.js +1 -1
  110. package/dist/esm/gux-action-button.entry.js +1 -1
  111. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  112. package/dist/esm/gux-action-toast.entry.js +1 -1
  113. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  114. package/dist/esm/gux-announce-beta.entry.js +1 -1
  115. package/dist/esm/gux-badge-beta.entry.js +1 -1
  116. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  117. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  118. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  119. package/dist/esm/gux-button-multi.entry.js +1 -1
  120. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  121. package/dist/esm/gux-button.entry.js +1 -1
  122. package/dist/esm/gux-calendar.entry.js +1 -1
  123. package/dist/esm/gux-card-beta.entry.js +1 -1
  124. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  125. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  126. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  127. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  128. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  129. package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
  130. package/dist/esm/gux-content-search.entry.js +1 -1
  131. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +1 -1
  132. package/dist/esm/gux-date-beta.entry.js +1 -1
  133. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  134. package/dist/esm/gux-datepicker.entry.js +1 -1
  135. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  136. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  137. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  138. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  139. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  140. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  141. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  142. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  143. package/dist/esm/gux-form-field-color.entry.js +1 -1
  144. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  145. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  146. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  147. package/dist/esm/gux-form-field-number.entry.js +1 -1
  148. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  149. package/dist/esm/gux-form-field-range.entry.js +1 -1
  150. package/dist/esm/gux-form-field-search.entry.js +1 -1
  151. package/dist/esm/gux-form-field-select.entry.js +1 -1
  152. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  153. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  154. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  155. package/dist/esm/gux-icon.entry.js +1 -1
  156. package/dist/esm/gux-inline-alert-beta.entry.js +1 -1
  157. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  158. package/dist/esm/gux-list-item.entry.js +3 -1
  159. package/dist/esm/gux-list.entry.js +10 -2
  160. package/dist/esm/{gux-list.service-66b8540f.js → gux-list.service-d61fe8f6.js} +29 -1
  161. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  162. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  163. package/dist/esm/gux-modal.entry.js +1 -1
  164. package/dist/esm/gux-month-list_2.entry.js +1 -1
  165. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  166. package/dist/esm/gux-notification-toast.entry.js +1 -1
  167. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  168. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  169. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  170. package/dist/esm/gux-pagination.entry.js +1 -1
  171. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  172. package/dist/esm/gux-popover-list.entry.js +1 -1
  173. package/dist/esm/gux-popover.entry.js +1 -1
  174. package/dist/esm/gux-radial-loading.entry.js +1 -1
  175. package/dist/esm/gux-radial-progress.entry.js +1 -1
  176. package/dist/esm/gux-rating.entry.js +1 -1
  177. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  178. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  179. package/dist/esm/gux-simple-toast.entry.js +1 -1
  180. package/dist/esm/gux-skip-navigation-list-beta.entry.js +1 -1
  181. package/dist/esm/gux-sort-control.entry.js +1 -1
  182. package/dist/esm/gux-switch.entry.js +1 -1
  183. package/dist/esm/gux-table-beta.entry.js +1 -1
  184. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  185. package/dist/esm/gux-table-toolbar-beta.entry.js +1 -1
  186. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  187. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  188. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  189. package/dist/esm/gux-tabs-legacy.entry.js +1 -1
  190. package/dist/esm/gux-tabs.entry.js +1 -1
  191. package/dist/esm/gux-tag-beta.entry.js +1 -1
  192. package/dist/esm/gux-text-highlight.entry.js +1 -1
  193. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  194. package/dist/esm/gux-time-beta.entry.js +1 -1
  195. package/dist/esm/gux-time-picker-beta.entry.js +13 -7
  196. package/dist/esm/gux-toggle.entry.js +1 -1
  197. package/dist/esm/gux-tooltip-title.entry.js +1 -1
  198. package/dist/esm/gux-tooltip.entry.js +1 -1
  199. package/dist/esm/gux-truncate-beta.entry.js +1 -1
  200. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  201. package/dist/esm/loader.js +1 -1
  202. package/dist/esm/{usage-tracking-4232ccf1.js → usage-tracking-6d442031.js} +1 -1
  203. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  204. package/dist/genesys-webcomponents/{p-3f6d7447.entry.js → p-00653a47.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-cfdbc9e2.entry.js → p-03d88f7b.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-f2ae8a52.entry.js → p-08a2b9f8.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/{p-dc0200f1.entry.js → p-0a6d003e.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-a9c101f6.entry.js → p-0b4669e8.entry.js} +1 -1
  209. package/dist/genesys-webcomponents/{p-738fa0cf.entry.js → p-0cc51b7e.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/{p-19c84ba7.entry.js → p-0cc62aaa.entry.js} +1 -1
  211. package/dist/genesys-webcomponents/p-0cd2a54a.entry.js +1 -0
  212. package/dist/genesys-webcomponents/{p-f4a207ed.entry.js → p-15988216.entry.js} +1 -1
  213. package/dist/genesys-webcomponents/{p-57f933fc.entry.js → p-16d47734.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/{p-012f08fe.entry.js → p-1a5dfa9f.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/{p-d27a3770.entry.js → p-1e9ec0c5.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-1e46dffb.entry.js → p-203d802f.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-9c2eced5.entry.js → p-215d3878.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/p-23fa2a1e.entry.js +1 -0
  219. package/dist/genesys-webcomponents/{p-bc8576d4.entry.js → p-2404e5cd.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/{p-94afca7e.entry.js → p-25fe6b9a.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-bf2f0cdd.entry.js → p-28b1b22e.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-b7b15b69.entry.js → p-2c312f85.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-418e328a.entry.js → p-2d50e946.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-0589412c.entry.js → p-2e758c0b.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-0c5d4243.entry.js → p-2fd389ec.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-fe23bfd4.entry.js → p-3656236e.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-e523b0b8.entry.js → p-3a17d7e8.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-ee270b06.entry.js → p-3c3a0f70.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-9ab5b7ad.entry.js → p-3fd75c29.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-a0d36ecf.entry.js → p-4c0e3e67.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-8cb74d3d.entry.js → p-4c296c2a.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-c70ddb9c.entry.js → p-4c877227.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-5623906f.entry.js → p-4f862b1d.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-ec98a1e7.entry.js → p-519efa01.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-35752278.js → p-5675a8a0.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-7117c1a7.entry.js → p-57daa44a.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/p-59607eef.entry.js +1 -0
  238. package/dist/genesys-webcomponents/{p-c93d9a34.entry.js → p-596cb4e7.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-d02cb658.entry.js → p-59cee7f0.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-1bbef089.entry.js → p-5ad5c908.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-187a3730.entry.js → p-5d836f5f.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-36c186b9.entry.js → p-6597b663.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-5a882077.entry.js → p-677ed372.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-bc6aaf7d.entry.js → p-68224479.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-fe2aa22e.entry.js → p-6b66c762.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-8ee43064.entry.js → p-720e02d8.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-6e083e6a.entry.js → p-757b1039.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-51bb5756.entry.js → p-7875a264.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-fb9c4707.entry.js → p-7c49a729.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-e35124d2.entry.js → p-7e2b8640.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-0fda8eff.entry.js → p-804a1d67.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-bc979cab.entry.js → p-88ee5426.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-d462edc8.entry.js → p-8fb7b25a.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-fb8d2e03.entry.js → p-9074a58f.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-e8126917.entry.js → p-9167970b.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-ff44c8cb.entry.js → p-9324fcb8.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-f49a277e.entry.js → p-93d2bb91.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-274a9b38.entry.js → p-96794685.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-3c4bb765.entry.js → p-98d40a24.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-289c296d.entry.js → p-99666f89.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-66099c24.entry.js → p-9b8cc0f7.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-e9601979.entry.js → p-9e8467f2.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/p-9ffc2841.entry.js +1 -0
  264. package/dist/genesys-webcomponents/{p-9c4a907f.entry.js → p-9ffea044.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-3313b3d7.entry.js → p-a4279bf2.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-08efdcca.entry.js → p-a571061d.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-83afeff2.entry.js → p-a82d37c2.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-eeb3ea8d.entry.js → p-aca124f0.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-17d0548d.entry.js → p-b2e26592.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/p-b3cd2713.entry.js +1 -0
  271. package/dist/genesys-webcomponents/{p-89f063a0.entry.js → p-b4fa4844.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-1123184b.entry.js → p-b69bcb15.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-2c63f9da.entry.js → p-bb86939c.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/p-be10a3bc.entry.js +1 -0
  275. package/dist/genesys-webcomponents/p-c2c0faf1.entry.js +1 -0
  276. package/dist/genesys-webcomponents/{p-fa886f58.entry.js → p-c42a5be9.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-40ab4a20.entry.js → p-cd79ca1e.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-39ba1d87.entry.js → p-cfdb4205.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/p-d185b745.entry.js +1 -0
  280. package/dist/genesys-webcomponents/{p-b798c59a.entry.js → p-d3eeae8f.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-e76f7faf.entry.js → p-d5466b38.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/p-d61cf750.js +1 -0
  283. package/dist/genesys-webcomponents/{p-d5d128c7.entry.js → p-da98417f.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-1410412e.entry.js → p-ded19337.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-d3a4fcb1.entry.js → p-df1d11f0.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-3724ca31.entry.js → p-e0e19b8c.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-663fc3a2.entry.js → p-e7074602.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-e3eb69aa.entry.js → p-e7dc7a27.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-30da8890.entry.js → p-e8c8be7a.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-cffc29cb.entry.js → p-e92a1afb.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-6c792853.entry.js → p-ee6fe59f.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/p-ef3207af.entry.js +1 -0
  293. package/dist/genesys-webcomponents/{p-9e4730d0.entry.js → p-f342ed3e.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-b1da4157.entry.js → p-f409a0c4.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-d89a056a.entry.js → p-f6840821.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-268cc922.entry.js → p-f9d3110a.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-30495e0c.entry.js → p-f9e7ca3a.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-de5b55f1.entry.js → p-fafc4634.entry.js} +1 -1
  299. package/dist/stencil-wrapper.js +1 -1
  300. package/dist/types/components/beta/gux-time-picker/gux-time-picker.d.ts +2 -1
  301. package/dist/types/components/stable/gux-list/gux-list.d.ts +2 -0
  302. package/dist/types/components/stable/gux-list/gux-list.service.d.ts +2 -0
  303. package/dist/types/components.d.ts +2 -0
  304. package/dist/types/stencil-wrapper.d.ts +1 -1
  305. package/package.json +1 -1
  306. package/dist/genesys-webcomponents/p-1f7976f0.entry.js +0 -1
  307. package/dist/genesys-webcomponents/p-212da6b6.entry.js +0 -1
  308. package/dist/genesys-webcomponents/p-3834e291.js +0 -1
  309. package/dist/genesys-webcomponents/p-51ab9ce5.entry.js +0 -1
  310. package/dist/genesys-webcomponents/p-8c8ef69b.entry.js +0 -1
  311. package/dist/genesys-webcomponents/p-a008be06.entry.js +0 -1
  312. package/dist/genesys-webcomponents/p-aee86fa4.entry.js +0 -1
  313. package/dist/genesys-webcomponents/p-c8bbba17.entry.js +0 -1
  314. package/dist/genesys-webcomponents/p-e731d47b.entry.js +0 -1
  315. package/dist/genesys-webcomponents/p-ef995179.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as o,g as e}from"./p-7a1d01cb.js";import{t as r}from"./p-35752278.js";import{b as n}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const a={clear:"Clear"},s=class{constructor(o){t(this,o)}async componentWillLoad(){r(this.root),this.i18n=await n(this.root,a)}render(){return o("button",{tabIndex:-1,type:"button",title:this.i18n("clear")},o("gux-icon",{"icon-name":"close",decorative:!0}))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style="button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}button:not(:disabled):focus,button:not(:disabled):hover{color:#2e394c;cursor:pointer}button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}button:focus{outline:none}button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}";export{s as gux_form_field_input_clear_button}
1
+ import{r as t,h as o,g as e}from"./p-7a1d01cb.js";import{t as r}from"./p-5675a8a0.js";import{b as n}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const a={clear:"Clear"},s=class{constructor(o){t(this,o)}async componentWillLoad(){r(this.root),this.i18n=await n(this.root,a)}render(){return o("button",{tabIndex:-1,type:"button",title:this.i18n("clear")},o("gux-icon",{"icon-name":"close",decorative:!0}))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style="button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}button:not(:disabled):focus,button:not(:disabled):hover{color:#2e394c;cursor:pointer}button gux-icon{width:12px;height:12px;margin:4px;border-radius:4px}button:focus{outline:none}button:focus:enabled gux-icon{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}";export{s as gux_form_field_input_clear_button}
@@ -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
- export const CDN_URL = 'https://app.mypurecloud.com/spark-components/build-assets/3.45.1-294/genesys-webcomponents/';
9
+ export const CDN_URL = 'https://app.mypurecloud.com/spark-components/build-assets/3.46.1-298/genesys-webcomponents/';
10
10
  export async function registerElements() {
11
11
  if (CDN_URL) {
12
12
  await defineCustomElements(window, { resourcesUrl: CDN_URL });
@@ -21,7 +21,8 @@ export declare class GuxTimePickerBeta {
21
21
  handleKeydown(event: KeyboardEvent): void;
22
22
  componentWillLoad(): Promise<void>;
23
23
  private updateValue;
24
- private focusFirstItemInPopupList;
24
+ private valueToId;
25
+ private focusRelevantItemInPopupList;
25
26
  private toggleDropdown;
26
27
  private handleClickDropdownValue;
27
28
  private onHourKeyDown;
@@ -4,6 +4,8 @@ export declare class GuxList {
4
4
  componentWillLoad(): void;
5
5
  onKeyDown(event: KeyboardEvent): void;
6
6
  guxFocusFirstItem(): Promise<void>;
7
+ guxFocusItemById(id: string): Promise<void>;
8
+ guxFocusItemByClosestId(id: string): Promise<void>;
7
9
  private renderFocusTarget;
8
10
  render(): JSX.Element;
9
11
  }
@@ -3,3 +3,5 @@ export declare function first(root: HTMLElement, validFocusableItems: string[]):
3
3
  export declare function last(root: HTMLElement, validFocusableItems: string[]): void;
4
4
  export declare function next(root: HTMLElement, validFocusableItems: string[]): void;
5
5
  export declare function previous(root: HTMLElement, validFocusableItems: string[]): void;
6
+ export declare function byId(root: HTMLElement, validFocusableItems: string[], id: string): void;
7
+ export declare function byClosestId(root: HTMLElement, validFocusableItems: string[], id: string): void;
@@ -816,6 +816,8 @@ export namespace Components {
816
816
  }
817
817
  interface GuxList {
818
818
  "guxFocusFirstItem": () => Promise<void>;
819
+ "guxFocusItemByClosestId": (id: string) => Promise<void>;
820
+ "guxFocusItemById": (id: string) => Promise<void>;
819
821
  }
820
822
  interface GuxListDivider {
821
823
  }
@@ -1,2 +1,2 @@
1
- export declare const CDN_URL = "https://app.mypurecloud.com/spark-components/build-assets/3.45.1-294/genesys-webcomponents/";
1
+ export declare const CDN_URL = "https://app.mypurecloud.com/spark-components/build-assets/3.46.1-298/genesys-webcomponents/";
2
2
  export declare function registerElements(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-components",
3
- "version": "3.46.0",
3
+ "version": "3.46.2",
4
4
  "description": "Common webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as s,g as i}from"./p-7a1d01cb.js";import{t as r}from"./p-35752278.js";import{b as e}from"./p-091f51f6.js";const n=class{constructor(o){t(this,o),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",e((()=>{this.containerElement.innerText=t}))}componentWillLoad(){r(this.root)}render(){return o(s,{"aria-live":this.politeness},o("slot",null),o("div",{ref:t=>this.containerElement=t}))}get root(){return i(this)}};n.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{n as gux_announce_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as r,g as o}from"./p-7a1d01cb.js";import{t as e}from"./p-35752278.js";import{D as i}from"./p-7732c756.js";import{g as a}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const p=class{constructor(s){t(this,s),this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){e(this.root),this.formatter=new i(a(this.root))}render(){return s(r,null,this.formatter.formatDateTime(new Date(this.datetime),this.format))}get root(){return o(this)}};export{p as gux_date_time_beta}
@@ -1 +0,0 @@
1
- function n(n,t){return function(n){const t=n.querySelector("slot");return t?t.assignedElements():Array.from(n.children)}(n).filter((n=>!!t.includes(n.tagName.toLowerCase())&&!n.disabled))}function t(t,u,c){o(t,u,(function(t,o){return n(t,o).findIndex((n=>n.matches(":focus-within")))}(t,u)+c)%n(t,u).length)}function o(t,o,u){var c;const f=n(t,o);for(;u<0;)u+=f.length;null===(c=f[u])||void 0===c||c.focus()}function u(n,t){o(n,t,0)}function c(t,u){o(t,u,function(t,o){return n(t,o).length-1}(t,u))}function f(n,o){t(n,o,1)}function i(n,o){t(n,o,-1)}export{t as a,u as f,c as l,f as n,i as p}
@@ -1 +0,0 @@
1
- import{r,h as s,g as t}from"./p-7a1d01cb.js";import{t as e}from"./p-35752278.js";const a=class{constructor(s){r(this,s)}componentWillLoad(){e(this.root)}render(){return s("gux-radial-loading",{class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return t(this)}};a.style=":host{display:flex}.gux-spinner{margin:auto}";export{a as gux_page_loading_spinner}
@@ -1 +0,0 @@
1
- import{r as t,h as e,g as i}from"./p-7a1d01cb.js";import{c as o,o as r}from"./p-3f5341ea.js";import{O as n}from"./p-939b6e89.js";import{a}from"./p-e2bea786.js";import{p as s}from"./p-c10e41a9.js";import{h as l}from"./p-08bc2e6b.js";import{G as p,a as d,v as h,g as u}from"./p-f38a8393.js";import{G as x,a as f}from"./p-b6ea91fa.js";import{t as g}from"./p-35752278.js";import"./p-cbcbd1bb.js";import"./p-45fec011.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const c=class{constructor(e){t(this,e),this.computedLabelPosition="above",this.required=!0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help"),g(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(f,{labelPosition:this.computedLabelPosition},e(x,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()})),e("div",{class:"gux-input-and-error-container"},e("div",{ref:t=>this.textareaContainerElement=t,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},e("slot",{name:"input"})),e(p,{show:this.hasError},e("slot",{name:"error"})),e(d,{show:!this.hasError&&this.hasHelp},e("slot",{name:"help"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${t}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),s(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=o(this.input),this.required=this.input.required,this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.requiredObserver=a(this.input,(t=>{this.required=t})),h(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=u(this.label,this.labelPosition)}updateHeight(t,e,i){"auto"===i&&t&&(t.dataset.replicatedValue=e.value,t.style.maxHeight=e.style.maxHeight)}get root(){return i(this)}};(function(t,e,i,o){var r,n=arguments.length,a=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,i,a):r(e,i))||a);n>3&&a&&Object.defineProperty(e,i,a)})([n({childList:!0,subtree:!0})],c.prototype,"onMutation",null),c.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;color:#2e394c;resize:vertical;background-color:#f6f7f9;background-image:none;border:none;border-radius:4px;outline:none;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16);font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px;min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}::slotted(textarea)::placeholder{color:#596373;opacity:1}::slotted(textarea)[disabled]{opacity:0.5}::slotted(textarea)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:block;border:1px solid #6b7585;border-radius:4px;outline:none}.gux-input-and-error-container .gux-input:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error{border-color:#ea0b0b}.gux-input-and-error-container .gux-input.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) ' ';min-width:100%;max-width:100%;min-height:90px;padding:4px 12px;margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}";export{c as gux_form_field_textarea}
@@ -1 +0,0 @@
1
- import{r as t,h as e,g as i}from"./p-7a1d01cb.js";import{c as o,o as r}from"./p-3f5341ea.js";import{O as n}from"./p-939b6e89.js";import{a as s}from"./p-e2bea786.js";import{p as a}from"./p-c10e41a9.js";import{h as l}from"./p-08bc2e6b.js";import{G as p,a as f,v as u,g as x}from"./p-f38a8393.js";import{G as h,a as g}from"./p-b6ea91fa.js";import{t as c}from"./p-35752278.js";import"./p-cbcbd1bb.js";import"./p-45fec011.js";import"./p-8fe7daff.js";import"./p-d176c2ae.js";const d=class{constructor(e){t(this,e),this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(g,{labelPosition:this.computedLabelPosition},e(h,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()})),e("div",{class:"gux-input-and-error-container"},e("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},e("slot",{name:"input",onSlotchange:()=>this.setInput()}))),e(p,{show:this.hasError},e("slot",{name:"error"})),e(f,{show:!this.hasError&&this.hasHelp},e("slot",{name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=this.root.querySelector('input[type="color"][slot="input"]'),a(this.input),this.disabled=o(this.input),this.required=this.input.required,this.disabledObserver=r(this.input,(t=>{this.disabled=t})),this.requiredObserver=s(this.input,(t=>{this.required=t})),u(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return i(this)}};(function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);n>3&&s&&Object.defineProperty(e,i,s)})([n({childList:!0,subtree:!0})],d.prototype,"onMutation",null),d.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}";export{d as gux_form_field_color}
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as e,g as s}from"./p-7a1d01cb.js";import{g as n}from"./p-8a133b9b.js";const r=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 s(this)}};r.style=":host{width:100%;outline:none}:host([disabled]){pointer-events:none}:host([disabled='false']){pointer-events:auto}::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{r as gux_list_item}
@@ -1 +0,0 @@
1
- import{r as t,h as e,g as i}from"./p-7a1d01cb.js";import{O as s}from"./p-f77f86a9.js";import{s as n}from"./p-d176c2ae.js";import{a as o}from"./p-091f51f6.js";import{g as r,b as c}from"./p-0d3c1ee5.js";import{t as a}from"./p-35752278.js";import"./p-8a133b9b.js";const u={am:"AM","time-separator":":",clockButton:"Toggle suggested times",hoursInput:"Input hours",minutesInput:"Input minutes",pm:"PM",timeOptionsState:"Time options open: {state}",toggleAmPM:"{amOrPm} selected, click to toggle"};function p(t,e){const[i,s]=t.split(":");return`${((parseInt(i,10)+e+24)%24).toString().padStart(2,"0")}:${s}`}function h(t,e){const[i,s]=t.split(":");return`${i}:${((parseInt(s,10)+e+60)%60).toString().padStart(2,"0")}`}function l(t,e){const[i,s]=t.split(":");return"12h"===e?`${(parseInt(i,10)%12||12).toString()}:${s}`:`${i}:${s}`}function g(t,e,i){const[s,n]=t.split(":");return"12h"===e?i?`${(parseInt(s,10)%12).toString().padStart(2,"0")}:${n}`:`${(parseInt(s,10)%12+12).toString().padStart(2,"0")}:${n}`:`${s}:${n}`}function x(t,e){const[i]=l(t,e).split(":");return i}function m(t){const[,e]=t.split(":");return e}function d(t){const[e]=t.split(":");return parseInt(e,10)<12}function b(t){return"12h"===t?"^(0?[1-9]|1[012])$":"^([01]?[0-9]|2[0-3])$"}const f=class{constructor(e){t(this,e),this.value="00:00",this.interval=60,this.disabled=!1,this.required=!1,this.hasError=!1,this.expanded=!1}onFocus(){this.valueLastChange=this.value}onBlur(){this.valueLastChange!==this.value&&n(this.root,"change")}onClickOutside(){this.expanded=!1}handleKeydown(t){switch(t.key){case"Escape":case"Tab":this.expanded=!1}}async componentWillLoad(){a(this.root),this.i18n=await c(this.root,u),this.clockType=this.clockType||function(t){const e=r(t),i=new Date("January 19, 1975 15:00:00 UTC+00:00"),s=new Intl.DateTimeFormat(e,{timeStyle:"short",timeZone:"UTC"}).format(i);return new RegExp(".*15.*").test(s)?"24h":"12h"}(this.root)}updateValue(t,e=!1){t!==this.value&&(this.value=t,n(this.root,"input"),e&&this.valueLastChange!==this.value&&(n(this.root,"change"),this.valueLastChange=this.value))}focusFirstItemInPopupList(){o((()=>{this.listElement.guxFocusFirstItem()}))}toggleDropdown(){this.expanded=!this.expanded,this.expanded&&this.focusFirstItemInPopupList()}handleClickDropdownValue(t){const e=g(t,this.clockType,d(this.value));this.updateValue(e,!0),this.clockButton.focus(),this.expanded=!1}onHourKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(p(this.value,-1));break;case"ArrowUp":t.preventDefault(),this.updateValue(p(this.value,1));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.updateValue(function(t,e,i,s){const[n,o]=l(t,e).split(":");let r=n;return r="Backspace"===i?r.split("").filter(((t,e)=>e!==s-1)).join("").padStart(2,"0"):parseInt(r.slice(0,s)+i+r.slice(s+1),10).toString().slice(-2).padStart(2,"0"),new RegExp(b(e)).test(r)||(r="12h"===e?i:i.padStart(2,"0")),g(`${r}:${o}`,e,d(t))}(this.value,this.clockType,t.key,this.hourInputElement.selectionStart));break;default:t.preventDefault()}}onMinuteKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(h(this.value,-1));break;case"ArrowUp":t.preventDefault(),this.updateValue(h(this.value,1));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.updateValue(function(t,e,i){const[s,n]=t.split(":");let o=n;return o="Backspace"===e?o.split("").filter(((t,e)=>e!==i-1)).join("").padStart(2,"0"):(o.slice(0,i)+e+o.slice(i+1)).slice(-2).padStart(2,"0"),new RegExp("^[0-5][0-9]$").test(o)||(o=e.padStart(2,"0")),`${s}:${o}`}(this.value,t.key,this.minuteInputElement.selectionStart));break;default:t.preventDefault()}}onAmPmButtonKeyDown(t){switch(t.key){case"ArrowDown":case"ArrowUp":this.toggleAmPm(t)}}onListKeyDown(t){switch(t.key){case"Escape":this.expanded=!1,this.clockButton.focus()}}toggleAmPm(t){t.preventDefault(),this.updateValue(p(this.value,12),!0)}getAmPmString(){return d(this.value)?this.i18n("am"):this.i18n("pm")}renderNumberInput(){return e("div",null,e("input",{class:"gux-input-time-hours",type:"text",disabled:this.disabled,value:x(this.value,this.clockType),onKeyDown:t=>this.onHourKeyDown(t),"aria-label":this.i18n("hoursInput"),pattern:b(this.clockType),ref:t=>this.hourInputElement=t}),e("span",{class:"gux-time-separator"},this.i18n("time-separator")),e("input",{class:"gux-input-time-minutes",type:"text",disabled:this.disabled,value:m(this.value),onKeyDown:t=>this.onMinuteKeyDown(t),"aria-label":this.i18n("minutesInput"),pattern:"^[0-5][0-9]$",ref:t=>this.minuteInputElement=t}))}renderAmPmSelector(){if("12h"===this.clockType)return e("button",{class:"gux-input-time-am-pm-selector",type:"button",disabled:this.disabled,"aria-label":this.i18n("toggleAmPM",{amOrPm:this.getAmPmString()}),onClick:t=>this.toggleAmPm(t),onKeyDown:t=>this.onAmPmButtonKeyDown(t)},this.getAmPmString())}renderClockButton(){return e("button",{class:{"gux-clock-button":!0,"gux-active":this.expanded},type:"button",disabled:this.disabled,"aria-label":this.i18n("clockButton"),"aria-expanded":this.expanded.toString(),onClick:this.toggleDropdown.bind(this),ref:t=>this.clockButton=t},e("gux-icon",{decorative:!0,"icon-name":"clock-outline"}))}renderTimeListItems(){return function(t,e){const i=[0,15,30,45].filter((e=>Number.isInteger(e/t))).map((t=>String(t).padStart(2,"0")));return("12h"===e?["12","1","2","3","4","5","6","7","8","9","10","11"]:Array.from(Array(24).keys()).map((t=>String(t).padStart(2,"0")))).reduce(((t,e)=>t.concat(i.map((t=>`${e}:${t}`)))),[])}(this.interval,this.clockType).map((t=>e("gux-list-item",{onClick:()=>this.handleClickDropdownValue(t)},t)))}renderTarget(){return e("div",{class:"gux-input-time",slot:"target"},this.renderNumberInput(),this.renderAmPmSelector(),this.renderClockButton())}renderPopup(){return e("div",{slot:"popup",class:"gux-list-container",onKeyDown:t=>this.onListKeyDown(t)},e("gux-list",{ref:t=>this.listElement=t},this.renderTimeListItems()))}render(){return e("gux-popup",{class:{"gux-time-picker":!0,"gux-error":this.hasError},expanded:this.expanded,disabled:this.disabled},this.renderTarget(),this.renderPopup())}get root(){return i(this)}};(function(t,e,i,s){var n,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(r=(o<3?n(r):o>3?n(e,i,r):n(e,i))||r);o>3&&r&&Object.defineProperty(e,i,r)})([s({triggerEvents:"mousedown"})],f.prototype,"onClickOutside",null),f.style=".gux-time-picker{position:relative;display:inline-block}.gux-time-picker.gux-error .gux-input-time{border-color:#ea0b0b}.gux-time-picker .gux-input-time{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 8px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-time-picker .gux-input-time:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-time-picker .gux-input-time input{flex:1 1 auto;align-self:auto;order:0;width:20px;padding:0;font-size:12px;color:#2e394c;text-align:center;text-align:left;background-color:#f6f7f9;border:none;outline:none}.gux-time-picker .gux-input-time input.gux-input-time-hours{text-align:right}.gux-time-picker .gux-input-time input::placeholder{color:#596373;opacity:1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector{padding:0 0 0 8px;font-size:12px;font-weight:bold;color:#2e394c;background:transparent;border:none;outline:none}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector:focus-visible{color:#2a60c8}.gux-time-picker .gux-input-time .gux-clock-button{flex:0 1 auto;align-self:auto;order:0;padding:0 0 0 8px;color:#596373;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-clock-button.gux-active:not(:disabled){color:#2a60c8;cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button.gux-active:not(:disabled):hover{color:#2a60c8 !important;cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button:not(:disabled):hover{color:#2e394c;cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button:focus{border:none;outline:none}.gux-time-picker .gux-input-time .gux-clock-button:focus-visible gux-icon{outline:none;box-shadow:0 0 0 1px transparent, 0 0 0 2px #aac9ff;border-radius:2px}.gux-time-picker .gux-input-time .gux-clock-button gux-icon{width:16px;height:16px}.gux-time-picker .gux-list-container{max-height:150px;padding:8px 0;margin:0;overflow-y:scroll;list-style:none;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}";export{f as gux_time_picker_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as e,g as r}from"./p-7a1d01cb.js";import{l as a,n as o,f as i,p as n}from"./p-3834e291.js";import{t as c}from"./p-35752278.js";const l=["gux-list-item"],p=class{constructor(s){t(this,s)}componentWillLoad(){c(this.root)}onKeyDown(t){switch(t.key){case"ArrowUp":t.preventDefault(),n(this.root,l);break;case"Home":t.preventDefault(),i(this.root,l);break;case"ArrowDown":t.preventDefault(),o(this.root,l);break;case"End":t.preventDefault(),a(this.root,l)}}async guxFocusFirstItem(){i(this.root,l)}renderFocusTarget(){return s("span",{tabindex:"-1"})}render(){return s(e,{role:"list"},this.renderFocusTarget(),s("slot",null))}static get delegatesFocus(){return!0}get root(){return r(this)}};p.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}";export{p as gux_list}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as r,g as o}from"./p-7a1d01cb.js";import{t as e}from"./p-35752278.js";import{D as i}from"./p-7732c756.js";import{g as a}from"./p-0d3c1ee5.js";import"./p-8a133b9b.js";const p=class{constructor(s){t(this,s),this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){e(this.root),this.formatter=new i(a(this.root))}render(){return s(r,null,this.formatter.formatDate(new Date(this.datetime),this.format))}get root(){return o(this)}};export{p as gux_date_beta}