genesys-spark-components 3.5.0 → 3.7.1

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 (437) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/{en-3662eafc.js → en-3d7b896f.js} +3 -1
  3. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  4. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  9. package/dist/cjs/gux-action-item.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-action-list-divider.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-action-list-legacy.cjs.entry.js +2 -2
  12. package/dist/cjs/gux-action-toast.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +3 -3
  14. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  15. package/dist/cjs/gux-badge-beta.cjs.entry.js +3 -3
  16. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-button.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-card-beta.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-color-select_2.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-command-action.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  33. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-disclosure-button.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  37. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +4 -4
  38. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +297 -0
  39. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +58 -0
  40. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-dropdown_3.cjs.entry.js +30 -178
  42. package/dist/cjs/gux-error-message-beta.cjs.entry.js +2 -2
  43. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +2 -2
  44. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +8 -8
  45. package/dist/cjs/gux-form-field-color.cjs.entry.js +10 -10
  46. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +91 -0
  47. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  48. package/dist/cjs/{gux-form-field-label-d5088b51.js → gux-form-field-label-abbb7396.js} +1 -1
  49. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +3 -3
  50. package/dist/cjs/gux-form-field-number.cjs.entry.js +13 -13
  51. package/dist/cjs/gux-form-field-radio.cjs.entry.js +8 -8
  52. package/dist/cjs/gux-form-field-range.cjs.entry.js +10 -10
  53. package/dist/cjs/gux-form-field-search.cjs.entry.js +12 -12
  54. package/dist/cjs/gux-form-field-select.cjs.entry.js +10 -10
  55. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +12 -12
  56. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +10 -10
  57. package/dist/cjs/{gux-form-field.servce-e9451c50.js → gux-form-field.service-21126f1d.js} +1 -1
  58. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  59. package/dist/cjs/gux-input-checkbox_7.cjs.entry.js +2 -2
  60. package/dist/cjs/gux-input-search.cjs.entry.js +2 -2
  61. package/dist/cjs/gux-input-text-like.cjs.entry.js +2 -2
  62. package/dist/cjs/gux-list-divider-legacy.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +2 -2
  65. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  67. package/dist/cjs/gux-listbox-multi.cjs.entry.js +159 -0
  68. package/dist/cjs/gux-listbox.service-d394da79.js +161 -0
  69. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-notification-toast.cjs.entry.js +2 -2
  73. package/dist/cjs/gux-option-legacy.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-option-multi.cjs.entry.js +47 -0
  75. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-pagination-beta.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-pagination-buttons-beta_3.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  80. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  83. package/dist/cjs/gux-popover.cjs.entry.js +3 -3
  84. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  86. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-row-select.cjs.entry.js +3 -3
  89. package/dist/cjs/gux-side-panel-button.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-simple-toast.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-sort-control.cjs.entry.js +42 -0
  93. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-switch.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  97. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-tab-dropdown-option-legacy.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-tab-legacy.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-tab-list.cjs.entry.js +19 -2
  102. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-table-beta.cjs.entry.js +47 -31
  105. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-tag-beta.cjs.entry.js +3 -3
  109. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +4 -4
  112. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-tooltip_2.cjs.entry.js +3 -3
  115. package/dist/cjs/gux-visualization-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/{index-33b1b88e.js → index-525cfec0.js} +30 -4
  117. package/dist/cjs/{index-2202ad01.js → index-57ec1998.js} +1 -1
  118. package/dist/cjs/loader.cjs.js +2 -2
  119. package/dist/cjs/{on-click-outside-246a1eb3.js → on-click-outside-e0d28eff.js} +1 -1
  120. package/dist/cjs/{on-mutation-2e4dd956.js → on-mutation-347de78d.js} +1 -1
  121. package/dist/cjs/{usage-tracking-1ddbe5f1.js → usage-tracking-39a72be3.js} +1 -1
  122. package/dist/collection/collection-manifest.json +6 -0
  123. package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.css +50 -0
  124. package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +116 -0
  125. package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi.css +151 -0
  126. package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi.js +458 -0
  127. package/dist/collection/components/beta/gux-table/gux-sort-control/gux-sort-control.css +39 -0
  128. package/dist/collection/components/beta/gux-table/gux-sort-control/gux-sort-control.js +50 -0
  129. package/dist/collection/components/beta/gux-table/gux-table.js +43 -27
  130. package/dist/collection/components/beta/gux-tag/gux-tag.js +0 -17
  131. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +19 -0
  132. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +1 -1
  133. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +1 -1
  134. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +153 -0
  135. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +126 -0
  136. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +1 -1
  137. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +1 -1
  138. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +1 -1
  139. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +1 -1
  140. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +1 -1
  141. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +1 -1
  142. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +1 -1
  143. package/dist/collection/components/stable/gux-form-field/{gux-form-field.servce.js → gux-form-field.service.js} +0 -0
  144. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +7 -9
  145. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +23 -0
  146. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +269 -0
  147. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +45 -0
  148. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +167 -0
  149. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +13 -0
  150. package/dist/deploy-info.json +3 -3
  151. package/dist/esm/{en-07edddda.js → en-d22521fc.js} +3 -1
  152. package/dist/esm/genesys-webcomponents.js +2 -2
  153. package/dist/esm/gux-accordion-legacy.entry.js +2 -2
  154. package/dist/esm/gux-accordion-section.entry.js +1 -1
  155. package/dist/esm/gux-accordion.entry.js +2 -2
  156. package/dist/esm/gux-action-button-legacy.entry.js +4 -4
  157. package/dist/esm/gux-action-button.entry.js +4 -4
  158. package/dist/esm/gux-action-item.entry.js +1 -1
  159. package/dist/esm/gux-action-list-divider.entry.js +1 -1
  160. package/dist/esm/gux-action-list-legacy.entry.js +2 -2
  161. package/dist/esm/gux-action-toast.entry.js +2 -2
  162. package/dist/esm/gux-advanced-dropdown.entry.js +3 -3
  163. package/dist/esm/gux-all-row-select.entry.js +3 -3
  164. package/dist/esm/gux-badge-beta.entry.js +3 -3
  165. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  166. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  167. package/dist/esm/gux-button-multi-legacy.entry.js +3 -3
  168. package/dist/esm/gux-button-multi.entry.js +3 -3
  169. package/dist/esm/gux-button-slot-beta.entry.js +2 -2
  170. package/dist/esm/gux-button.entry.js +2 -2
  171. package/dist/esm/gux-calendar.entry.js +3 -3
  172. package/dist/esm/gux-card-beta.entry.js +2 -2
  173. package/dist/esm/gux-chart-column-beta.entry.js +2 -2
  174. package/dist/esm/gux-chart-donut-beta.entry.js +2 -2
  175. package/dist/esm/gux-chart-line-beta.entry.js +2 -2
  176. package/dist/esm/gux-chart-pie-beta.entry.js +2 -2
  177. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +2 -2
  178. package/dist/esm/gux-color-select_2.entry.js +1 -1
  179. package/dist/esm/gux-command-action.entry.js +1 -1
  180. package/dist/esm/gux-command-palette-legacy.entry.js +3 -3
  181. package/dist/esm/gux-content-search.entry.js +3 -3
  182. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +3 -3
  183. package/dist/esm/gux-datepicker.entry.js +4 -4
  184. package/dist/esm/gux-disclosure-button.entry.js +3 -3
  185. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  186. package/dist/esm/gux-dropdown-legacy.entry.js +4 -4
  187. package/dist/esm/gux-dropdown-multi-beta.entry.js +293 -0
  188. package/dist/esm/gux-dropdown-multi-tag.entry.js +54 -0
  189. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  190. package/dist/esm/gux-dropdown_3.entry.js +12 -160
  191. package/dist/esm/gux-error-message-beta.entry.js +2 -2
  192. package/dist/esm/gux-flyout-menu-beta.entry.js +2 -2
  193. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  194. package/dist/esm/gux-form-field-color.entry.js +5 -5
  195. package/dist/esm/gux-form-field-dropdown.entry.js +87 -0
  196. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  197. package/dist/esm/{gux-form-field-label-ac49a8be.js → gux-form-field-label-1d0c1a02.js} +1 -1
  198. package/dist/esm/gux-form-field-legacy.entry.js +3 -3
  199. package/dist/esm/gux-form-field-number.entry.js +6 -6
  200. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  201. package/dist/esm/gux-form-field-range.entry.js +5 -5
  202. package/dist/esm/gux-form-field-search.entry.js +5 -5
  203. package/dist/esm/gux-form-field-select.entry.js +5 -5
  204. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  205. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  206. package/dist/esm/{gux-form-field.servce-971609e2.js → gux-form-field.service-4bfd6534.js} +1 -1
  207. package/dist/esm/gux-icon.entry.js +2 -2
  208. package/dist/esm/gux-input-checkbox_7.entry.js +2 -2
  209. package/dist/esm/gux-input-search.entry.js +2 -2
  210. package/dist/esm/gux-input-text-like.entry.js +2 -2
  211. package/dist/esm/gux-list-divider-legacy.entry.js +1 -1
  212. package/dist/esm/gux-list-divider.entry.js +1 -1
  213. package/dist/esm/gux-list-item-legacy_2.entry.js +2 -2
  214. package/dist/esm/gux-list-item.entry.js +1 -1
  215. package/dist/esm/gux-list.entry.js +2 -2
  216. package/dist/esm/gux-listbox-multi.entry.js +155 -0
  217. package/dist/esm/gux-listbox.service-3541a2f7.js +148 -0
  218. package/dist/esm/gux-menu-option.entry.js +1 -1
  219. package/dist/esm/gux-menu.entry.js +1 -1
  220. package/dist/esm/gux-modal.entry.js +2 -2
  221. package/dist/esm/gux-notification-toast.entry.js +2 -2
  222. package/dist/esm/gux-option-legacy.entry.js +1 -1
  223. package/dist/esm/gux-option-multi.entry.js +43 -0
  224. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  225. package/dist/esm/gux-pagination-beta.entry.js +2 -2
  226. package/dist/esm/gux-pagination-buttons-beta_3.entry.js +2 -2
  227. package/dist/esm/gux-pagination-buttons_3.entry.js +2 -2
  228. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  229. package/dist/esm/gux-pagination.entry.js +2 -2
  230. package/dist/esm/gux-panel-frame-legacy.entry.js +2 -2
  231. package/dist/esm/gux-popover-list.entry.js +3 -3
  232. package/dist/esm/gux-popover.entry.js +3 -3
  233. package/dist/esm/gux-popup.entry.js +1 -1
  234. package/dist/esm/gux-radial-loading.entry.js +3 -3
  235. package/dist/esm/gux-radial-progress.entry.js +2 -2
  236. package/dist/esm/gux-rating.entry.js +2 -2
  237. package/dist/esm/gux-row-select.entry.js +3 -3
  238. package/dist/esm/gux-side-panel-button.entry.js +1 -1
  239. package/dist/esm/gux-side-panel-legacy.entry.js +2 -2
  240. package/dist/esm/gux-simple-toast.entry.js +2 -2
  241. package/dist/esm/gux-sort-control.entry.js +38 -0
  242. package/dist/esm/gux-submenu.entry.js +1 -1
  243. package/dist/esm/gux-switch-item.entry.js +1 -1
  244. package/dist/esm/gux-switch.entry.js +2 -2
  245. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  246. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  247. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  248. package/dist/esm/gux-tab-dropdown-option-legacy.entry.js +1 -1
  249. package/dist/esm/gux-tab-legacy.entry.js +1 -1
  250. package/dist/esm/gux-tab-list.entry.js +19 -2
  251. package/dist/esm/gux-tab-panel.entry.js +1 -1
  252. package/dist/esm/gux-tab.entry.js +1 -1
  253. package/dist/esm/gux-table-beta.entry.js +47 -31
  254. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  255. package/dist/esm/gux-tabs-legacy.entry.js +3 -3
  256. package/dist/esm/gux-tabs.entry.js +2 -2
  257. package/dist/esm/gux-tag-beta.entry.js +3 -3
  258. package/dist/esm/gux-text-highlight.entry.js +2 -2
  259. package/dist/esm/gux-text-label-legacy.entry.js +2 -2
  260. package/dist/esm/gux-time-picker-beta.entry.js +4 -4
  261. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  262. package/dist/esm/gux-toggle.entry.js +3 -3
  263. package/dist/esm/gux-tooltip_2.entry.js +3 -3
  264. package/dist/esm/gux-visualization-beta.entry.js +3 -3
  265. package/dist/esm/{index-5bfcdeb1.js → index-16dc4871.js} +1 -1
  266. package/dist/esm/{index-76794476.js → index-d8b1bc53.js} +30 -4
  267. package/dist/esm/loader.js +2 -2
  268. package/dist/esm/{on-click-outside-ce30de20.js → on-click-outside-9635bd3e.js} +1 -1
  269. package/dist/esm/{on-mutation-2e96b1b9.js → on-mutation-1c2ba0a6.js} +1 -1
  270. package/dist/esm/{usage-tracking-e9b9fc3f.js → usage-tracking-9ae70c67.js} +1 -1
  271. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  272. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  273. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ar.json +1 -1
  274. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.cs.json +1 -1
  275. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
  276. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.de.json +1 -1
  277. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  278. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
  279. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
  280. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fi.json +1 -1
  281. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr-ca.json +1 -1
  282. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr.json +1 -1
  283. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.it.json +1 -1
  284. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ja.json +1 -1
  285. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ko.json +1 -1
  286. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.nl.json +1 -1
  287. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.no.json +1 -1
  288. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pl.json +1 -1
  289. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
  290. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ru.json +1 -1
  291. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.sv.json +1 -1
  292. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.th.json +1 -1
  293. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.tr.json +1 -1
  294. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-cn.json +1 -1
  295. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-tw.json +1 -1
  296. package/dist/genesys-webcomponents/{p-c3b9a57f.entry.js → p-00519483.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/p-013eb64c.entry.js +1 -0
  298. package/dist/genesys-webcomponents/{p-76f7479d.entry.js → p-050ab2cb.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-8288a4c9.entry.js → p-0b1bf180.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-7c1b42ab.entry.js → p-0c38f51c.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-6f834153.entry.js → p-0dfa8f9f.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-5674b67a.entry.js → p-1173c715.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-c6eab0f6.entry.js → p-1255480b.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-08b07a2b.js → p-14551b38.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-5a3afda9.entry.js → p-1483501f.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-7bae2a7d.entry.js → p-166e7535.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-f26b46dc.entry.js → p-16e8f471.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-7c57956f.entry.js → p-17e7772d.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-e4e5aa67.entry.js → p-1ad06cfc.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-cbd66a48.entry.js → p-1d09f345.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-7512b26a.entry.js → p-1d83549a.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-5f8b46b5.entry.js → p-1f1554e3.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/p-2092557f.entry.js +1 -0
  314. package/dist/genesys-webcomponents/{p-dc714f80.entry.js → p-2aac6bab.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/p-2b24dcb6.entry.js +1 -0
  316. package/dist/genesys-webcomponents/{p-c150db37.entry.js → p-2b7d8c71.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-66e648d2.entry.js → p-3308c20e.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-4402a21b.entry.js → p-33c27a48.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-4b7056b2.js → p-35578249.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-9b476241.entry.js → p-356c4b29.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-e61558ed.entry.js → p-35c9b84c.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-5534193b.entry.js → p-371cffc7.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/p-3770c1e9.js +1 -0
  324. package/dist/genesys-webcomponents/{p-6b756f6d.entry.js → p-398cbe65.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-f329dbea.entry.js → p-3a830867.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-b3e2578c.entry.js → p-3d888c4f.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-f0e923b9.entry.js → p-3e72de53.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-ca932cd2.js → p-440657a8.js} +1 -1
  329. package/dist/genesys-webcomponents/p-448d6c60.entry.js +1 -0
  330. package/dist/genesys-webcomponents/{p-f114dc1b.entry.js → p-44ac7dd3.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-a6257c98.js → p-451a9239.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-8df52df5.entry.js → p-45517975.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-6ec0cec3.entry.js → p-469eea38.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/p-480ffa9e.entry.js +1 -0
  335. package/dist/genesys-webcomponents/{p-5ca81424.js → p-49b1912a.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-44ea15ed.entry.js → p-4b58fc7e.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-2548bdad.js → p-523a0237.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-45df9c11.entry.js → p-5453b69f.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-c551dd14.entry.js → p-54866ea0.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-f2a5fea9.entry.js → p-5647d38b.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-f62d408a.entry.js → p-573f5ff0.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-53df4573.entry.js → p-5b9ed635.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-78fa1cfb.entry.js → p-5baa156e.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-ed56171c.entry.js → p-5ebb0e5e.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-c89c74eb.entry.js → p-603a557b.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-1313a627.entry.js → p-646c8c96.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-029337ed.entry.js → p-647dd4a5.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-421513fb.entry.js → p-659e0050.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-d7a2f8dc.entry.js → p-66117fa0.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-6be57719.entry.js → p-6c8e24ef.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-4ddf13c8.entry.js → p-6fe4eeb9.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-5587d078.entry.js → p-717c426f.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-74ab4e9c.entry.js → p-7341343a.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-72291037.entry.js → p-7454d082.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-45d49edc.entry.js → p-7623d68f.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-b190a126.entry.js → p-78035895.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-5a4584b1.entry.js → p-7e8a517b.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-c6d44d2f.entry.js → p-84bc8565.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/p-8a1b9201.entry.js +1 -0
  360. package/dist/genesys-webcomponents/{p-e7caa47a.entry.js → p-8bc4b382.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-b0259c1a.entry.js → p-90d3e8af.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-34e05274.entry.js → p-9154b32a.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-193d169d.entry.js → p-92e0518f.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-548af6d1.entry.js → p-98229921.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-a8b8ae7f.entry.js → p-9869e6f4.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-be4455b9.entry.js → p-98dd850d.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-c1f6910e.entry.js → p-99b858d1.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-2d9198b1.entry.js → p-9b6e59f2.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-d75428f1.entry.js → p-9d36ee95.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-c72a8228.entry.js → p-9df54194.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-b3fcbbe4.entry.js → p-9fe46900.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-5b4d8050.entry.js → p-a09cb82d.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-0ba16a48.entry.js → p-a0a0d12d.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-25b74c1b.entry.js → p-a13ff6ec.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/p-a2f34941.entry.js +1 -0
  376. package/dist/genesys-webcomponents/{p-cfd5c06d.entry.js → p-a41b086e.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-2acf2470.entry.js → p-a6509d00.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-30558b17.entry.js → p-b0205823.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/p-b0c0bff1.entry.js +1 -0
  380. package/dist/genesys-webcomponents/p-b1bffdc0.entry.js +1 -0
  381. package/dist/genesys-webcomponents/{p-29744d9a.entry.js → p-b1cb1a31.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/{p-a5c9fbed.entry.js → p-b225ce42.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/p-b27f0bef.entry.js +1 -0
  384. package/dist/genesys-webcomponents/{p-68ee84bf.entry.js → p-b41cc336.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-4083afa6.entry.js → p-b5867962.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-3d2cb50a.entry.js → p-b695ac46.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-e78c86e4.entry.js → p-b98f76af.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-d4730ee1.entry.js → p-bb1431b6.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-b3bdfcc9.entry.js → p-bf05f0be.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-b664a390.entry.js → p-c13e9b91.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-344828ad.entry.js → p-c251e266.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/p-c66803cf.entry.js +1 -0
  393. package/dist/genesys-webcomponents/{p-d429ff71.entry.js → p-c6715c5a.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/p-cb3d0262.entry.js +1 -0
  395. package/dist/genesys-webcomponents/{p-882bb0d7.entry.js → p-ccaedc78.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-5190a2c0.entry.js → p-cd9decab.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/p-cdf5cb56.js +1 -0
  398. package/dist/genesys-webcomponents/{p-d63d33a7.entry.js → p-d30142cc.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-bea0187a.entry.js → p-d33adb9d.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-1856e5cd.entry.js → p-d5939eb4.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-b98439e6.entry.js → p-d820f160.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-1bef4ea7.entry.js → p-d8fb93d1.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-24206bb9.entry.js → p-dbad07cb.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-4cc40ffe.entry.js → p-ddbe5e3d.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-2212a472.entry.js → p-e0660777.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-dcdf8926.entry.js → p-e122b070.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-e56e0d6a.entry.js → p-e3aa0165.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/p-e571f861.js +2 -0
  409. package/dist/genesys-webcomponents/{p-caff3783.entry.js → p-e996ed62.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-eadf85b3.entry.js → p-eafca6fd.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-c87736cc.entry.js → p-f3f4c59f.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-84165fbe.entry.js → p-fca55791.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-7abebb37.entry.js → p-fee0493f.entry.js} +1 -1
  414. package/dist/stencil-wrapper.js +1 -1
  415. package/dist/types/components/beta/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.d.ts +20 -0
  416. package/dist/types/components/beta/gux-dropdown-multi/gux-dropdown-multi.d.ts +56 -0
  417. package/dist/types/components/beta/gux-table/gux-sort-control/gux-sort-control.d.ts +13 -0
  418. package/dist/types/components/beta/gux-table/gux-table.d.ts +2 -0
  419. package/dist/types/components/beta/gux-tag/gux-tag.d.ts +0 -4
  420. package/dist/types/components/stable/gux-dropdown/gux-dropdown.d.ts +1 -0
  421. package/dist/types/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.d.ts +27 -0
  422. package/dist/types/components/stable/gux-form-field/{gux-form-field.servce.d.ts → gux-form-field.service.d.ts} +1 -1
  423. package/dist/types/components/stable/gux-listbox/gux-listbox.d.ts +1 -1
  424. package/dist/types/components/stable/gux-listbox-multi/gux-listbox-multi.d.ts +28 -0
  425. package/dist/types/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.d.ts +15 -0
  426. package/dist/types/components/stable/gux-tabs/gux-tab-list/gux-tab-list.d.ts +1 -0
  427. package/dist/types/components.d.ts +136 -8
  428. package/dist/types/utils/dom/on-attribute-change.d.ts +2 -2
  429. package/package.json +1 -1
  430. package/dist/genesys-webcomponents/p-2dac107b.entry.js +0 -1
  431. package/dist/genesys-webcomponents/p-4a67745f.entry.js +0 -1
  432. package/dist/genesys-webcomponents/p-61fd6f64.entry.js +0 -1
  433. package/dist/genesys-webcomponents/p-83818ffb.entry.js +0 -1
  434. package/dist/genesys-webcomponents/p-947b7fe3.entry.js +0 -1
  435. package/dist/genesys-webcomponents/p-a085b143.js +0 -2
  436. package/dist/genesys-webcomponents/p-ab1ad75b.entry.js +0 -1
  437. package/dist/genesys-webcomponents/p-afb54d23.js +0 -1
@@ -0,0 +1,293 @@
1
+ import { r as registerInstance, f as forceUpdate, h, g as getElement } from './index-d8b1bc53.js';
2
+ import { O as OnClickOutside } from './on-click-outside-9635bd3e.js';
3
+ import { b as buildI18nForComponent } from './index-16dc4871.js';
4
+ import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
5
+ import { t as trackComponent } from './usage-tracking-9ae70c67.js';
6
+ import { g as getSearchOption } from './gux-listbox.service-3541a2f7.js';
7
+ import './get-closest-element-1597503c.js';
8
+
9
+ const filterResults = "Type to filter dropdown results";
10
+ const noSelection = "Select...";
11
+ const dropdown = "Dropdown";
12
+ const numberSelected = "{numberSelected} selected";
13
+ const translationResources = {
14
+ filterResults: filterResults,
15
+ noSelection: noSelection,
16
+ dropdown: dropdown,
17
+ numberSelected: numberSelected
18
+ };
19
+
20
+ const guxDropdownMultiCss = ":host{color:#2e394c}.gux-dropdown-container{position:relative}gux-dropdown-multi-tag{position:absolute;right:32px;bottom:4px}.gux-field,.gux-target-container-expanded{all:unset;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:6px 0 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-field.gux-input-field{height:30px;cursor:text}.gux-field .gux-field-content{position:relative;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-selected-option .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-placeholder .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%;padding-left:0}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding:0 8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-within{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}.gux-error-message-container{display:none;margin:4px 0}.gux-error-message-container.gux-show{display:flex}";
21
+
22
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
23
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
24
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
25
+ r = Reflect.decorate(decorators, target, key, desc);
26
+ else
27
+ for (var i = decorators.length - 1; i >= 0; i--)
28
+ if (d = decorators[i])
29
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
30
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
31
+ };
32
+ const GuxDropdownMulti = class {
33
+ constructor(hostRef) {
34
+ registerInstance(this, hostRef);
35
+ this.disabled = false;
36
+ this.required = false;
37
+ this.filterable = false;
38
+ this.expanded = false;
39
+ this.filter = '';
40
+ }
41
+ focusSelectedItemAfterRender(expanded) {
42
+ if (expanded && this.listboxElement) {
43
+ requestAnimationFrame(() => {
44
+ requestAnimationFrame(() => {
45
+ this.listboxElement.focus();
46
+ if (this.filterable) {
47
+ this.filterElement.focus();
48
+ }
49
+ });
50
+ });
51
+ }
52
+ if (!expanded) {
53
+ this.filter = '';
54
+ }
55
+ }
56
+ validateValue(newValue) {
57
+ if (newValue === undefined) {
58
+ if (this.listboxElement) {
59
+ this.listboxElement.value = newValue;
60
+ }
61
+ return;
62
+ }
63
+ const selectedListboxOptionElement = this.getOptionElementByValue(newValue);
64
+ if (selectedListboxOptionElement) {
65
+ this.listboxElement.value = newValue;
66
+ return;
67
+ }
68
+ this.value = undefined;
69
+ }
70
+ /**
71
+ * Gets the currently selected values.
72
+ */
73
+ getSelectedValues() {
74
+ var _a;
75
+ return Promise.resolve(((_a = this.value) === null || _a === void 0 ? void 0 : _a.split(',')) || []);
76
+ }
77
+ onKeydown(event) {
78
+ switch (event.key) {
79
+ case 'Escape':
80
+ if (this.filterable) {
81
+ if (document.activeElement === this.listboxElement) {
82
+ return this.filterElement.focus();
83
+ }
84
+ }
85
+ this.collapseListbox('focusFieldButton');
86
+ return;
87
+ case 'Tab':
88
+ if (this.shiftTabFromFilterListbox(event)) {
89
+ event.preventDefault();
90
+ return this.filterElement.focus();
91
+ }
92
+ else if (this.shiftTabFromExpandedFilterInput(event)) {
93
+ event.preventDefault();
94
+ return this.collapseListbox('focusFieldButton');
95
+ }
96
+ else {
97
+ this.collapseListbox('noFocusChange');
98
+ }
99
+ return;
100
+ case 'ArrowDown':
101
+ if (this.activeElementNotListbox()) {
102
+ event.preventDefault();
103
+ this.expanded = true;
104
+ }
105
+ return;
106
+ }
107
+ }
108
+ onInternallistboxoptionsupdated(event) {
109
+ event.stopPropagation();
110
+ forceUpdate(this.root);
111
+ }
112
+ onGuxclearselected(event) {
113
+ event.stopPropagation();
114
+ this.value = '';
115
+ if (this.listboxElement) {
116
+ this.listboxElement.value = undefined;
117
+ }
118
+ this.validateValue(this.value);
119
+ this.fieldButtonElement.focus();
120
+ }
121
+ onBlur(event) {
122
+ this.stopPropagationOfInternalFocusEvents(event);
123
+ }
124
+ onFocus(event) {
125
+ this.stopPropagationOfInternalFocusEvents(event);
126
+ }
127
+ onFocusout(event) {
128
+ this.stopPropagationOfInternalFocusEvents(event);
129
+ }
130
+ onFocusin(event) {
131
+ this.stopPropagationOfInternalFocusEvents(event);
132
+ }
133
+ onClickOutside() {
134
+ this.collapseListbox('noFocusChange');
135
+ }
136
+ async componentWillLoad() {
137
+ trackComponent(this.root);
138
+ this.i18n = await buildI18nForComponent(this.root, translationResources);
139
+ this.listboxElement = this.root.querySelector('gux-listbox-multi');
140
+ this.validateValue(this.value);
141
+ }
142
+ componentDidLoad() {
143
+ this.listboxElement.addEventListener('input', (event) => {
144
+ event.stopPropagation();
145
+ this.updateValue(event.target.value);
146
+ });
147
+ this.listboxElement.addEventListener('change', (event) => {
148
+ event.stopPropagation();
149
+ });
150
+ }
151
+ componentWillRender() {
152
+ this.validateValue(this.value);
153
+ this.listboxElement.filter = this.filter;
154
+ }
155
+ stopPropagationOfInternalFocusEvents(event) {
156
+ if (this.root.contains(event.relatedTarget)) {
157
+ return event.stopImmediatePropagation();
158
+ }
159
+ }
160
+ getOptionElementByValue(value) {
161
+ const listboxOptionElements = Array.from(this.root.querySelectorAll('gux-option-multi'));
162
+ const values = value ? value.split(',') : undefined;
163
+ if (values) {
164
+ return listboxOptionElements.filter(element => values.includes(element.value));
165
+ }
166
+ return;
167
+ }
168
+ fieldButtonClick() {
169
+ this.expanded = !this.expanded;
170
+ }
171
+ fieldButtonInputClick() {
172
+ if (!this.expanded) {
173
+ this.expanded = !this.expanded;
174
+ }
175
+ }
176
+ filterInput(event) {
177
+ event.stopPropagation();
178
+ this.filter = this.filterElement.value;
179
+ }
180
+ shiftTabFromExpandedFilterInput(event) {
181
+ return (event.shiftKey &&
182
+ this.filterable &&
183
+ this.expanded &&
184
+ !(document.activeElement === this.listboxElement));
185
+ }
186
+ shiftTabFromFilterListbox(event) {
187
+ return (event.shiftKey &&
188
+ this.filterable &&
189
+ document.activeElement === this.listboxElement);
190
+ }
191
+ activeElementNotListbox() {
192
+ return document.activeElement !== this.listboxElement;
193
+ }
194
+ filterKeydown(event) {
195
+ switch (event.key) {
196
+ case 'ArrowDown':
197
+ event.stopImmediatePropagation();
198
+ this.listboxElement.focus();
199
+ return;
200
+ case 'Enter':
201
+ void this.listboxElement.guxSelectActive();
202
+ event.preventDefault();
203
+ return;
204
+ }
205
+ }
206
+ filterKeyup(event) {
207
+ switch (event.key) {
208
+ case ' ':
209
+ event.preventDefault();
210
+ return;
211
+ }
212
+ }
213
+ collapseListbox(focusChange) {
214
+ if (this.expanded) {
215
+ this.expanded = false;
216
+ }
217
+ if (focusChange === 'focusFieldButton') {
218
+ this.fieldButtonElement.focus();
219
+ }
220
+ }
221
+ updateValue(newValue) {
222
+ if (this.value !== newValue) {
223
+ this.value = newValue;
224
+ simulateNativeEvent(this.root, 'input');
225
+ simulateNativeEvent(this.root, 'change');
226
+ }
227
+ }
228
+ getSuggestionText(filter) {
229
+ const filterLength = filter.length;
230
+ if (filterLength > 0) {
231
+ const option = getSearchOption(this.listboxElement, filter);
232
+ if (option) {
233
+ return option.textContent.substring(filterLength);
234
+ }
235
+ }
236
+ return '';
237
+ }
238
+ renderTargetDisplay() {
239
+ return (h("div", { class: "gux-placeholder" }, this.placeholder || this.i18n('noSelection'), this.getSrSelectedText()));
240
+ }
241
+ getSrSelectedText() {
242
+ const selectedListboxOptionElement = this.getOptionElementByValue(this.value);
243
+ if (selectedListboxOptionElement === null || selectedListboxOptionElement === void 0 ? void 0 : selectedListboxOptionElement.length) {
244
+ return (h("span", { class: "gux-sr-only" }, this.i18n('numberSelected', {
245
+ numberSelected: selectedListboxOptionElement.length.toString()
246
+ })));
247
+ }
248
+ }
249
+ renderTag() {
250
+ const selectedListboxOptionElement = this.getOptionElementByValue(this.value);
251
+ if (selectedListboxOptionElement === null || selectedListboxOptionElement === void 0 ? void 0 : selectedListboxOptionElement.length) {
252
+ return (h("gux-dropdown-multi-tag", { disabled: this.disabled, "number-selected": selectedListboxOptionElement.length }));
253
+ }
254
+ }
255
+ renderFilterInputField() {
256
+ if (this.expanded && this.filterable) {
257
+ return (h("div", { class: "gux-field gux-input-field" }, h("div", { class: "gux-field-content" }, h("div", { class: "gux-filter" }, h("div", { class: "gux-filter-display" }, h("span", { class: "gux-filter-text" }, this.filter), h("span", { class: "gux-filter-suggestion" }, this.getSuggestionText(this.filter))), h("div", { class: "input-and-dropdown-button" }, h("input", { onClick: this.fieldButtonInputClick.bind(this), placeholder: this.placeholder || this.i18n('noSelection'), class: "gux-filter-input", type: "text", "aria-label": this.i18n('filterResults'), ref: el => (this.filterElement = el), onInput: this.filterInput.bind(this), onKeyDown: this.filterKeydown.bind(this), onKeyUp: this.filterKeyup.bind(this) }))))));
258
+ }
259
+ }
260
+ renderPopup() {
261
+ return (h("div", { slot: "popup", class: "gux-listbox-container" }, h("slot", null)));
262
+ }
263
+ renderTarget() {
264
+ return (h("div", { class: {
265
+ 'gux-target-container': true,
266
+ 'gux-target-container-expanded': this.expanded && this.filterable,
267
+ 'gux-target-container-collapsed': !(this.expanded && this.filterable)
268
+ }, slot: "target" }, this.renderFilterInputField(), h("button", { type: "button", class: "gux-field gux-field-button", disabled: this.disabled, onClick: this.fieldButtonClick.bind(this), ref: el => (this.fieldButtonElement = el), "aria-haspopup": "listbox", "aria-expanded": this.expanded.toString() }, this.renderTargetContent(), h("gux-icon", { class: {
269
+ 'gux-expand-icon': true
270
+ }, "screenreader-text": this.i18n('dropdown'), iconName: "chevron-small-down" }))));
271
+ }
272
+ renderTargetContent() {
273
+ if (!(this.expanded && this.filterable)) {
274
+ return (h("div", { class: "gux-field-content" }, this.renderTargetDisplay()));
275
+ }
276
+ }
277
+ render() {
278
+ return [
279
+ h("div", { class: "gux-dropdown-container" }, h("gux-popup", { expanded: this.expanded, disabled: this.disabled }, this.renderTarget(), this.renderPopup()), this.renderTag())
280
+ ];
281
+ }
282
+ get root() { return getElement(this); }
283
+ static get watchers() { return {
284
+ "expanded": ["focusSelectedItemAfterRender"],
285
+ "value": ["validateValue"]
286
+ }; }
287
+ };
288
+ __decorate([
289
+ OnClickOutside({ triggerEvents: 'mousedown' })
290
+ ], GuxDropdownMulti.prototype, "onClickOutside", null);
291
+ GuxDropdownMulti.style = guxDropdownMultiCss;
292
+
293
+ export { GuxDropdownMulti as gux_dropdown_multi_beta };
@@ -0,0 +1,54 @@
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-d8b1bc53.js';
2
+ import { b as buildI18nForComponent } from './index-16dc4871.js';
3
+ import './get-closest-element-1597503c.js';
4
+
5
+ const clearSelection = "Clear {numberSelected} selected items";
6
+ const translationResources = {
7
+ clearSelection: clearSelection
8
+ };
9
+
10
+ const guxDropdownMultiTagCss = ":host{display:inline-block}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;padding:2px 4px 2px 8px;font-size:12px;font-weight:bold;color:#2e394c;background-color:#e2e6ee;border-radius:4px}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;align-content:center;align-items:center;justify-content:center;margin-left:7px}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{width:16px;height:16px;border-radius:25%}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:none;box-shadow:0 0 0 1px transparent, 0 0 0 2px #aac9ff}.gux-tag.gux-disabled{color:rgba(46, 57, 76, 0.5);background-color:rgba(226, 230, 238, 0.5)}";
11
+
12
+ const GuxDropdownMultiTag = class {
13
+ constructor(hostRef) {
14
+ registerInstance(this, hostRef);
15
+ this.guxclearselected = createEvent(this, "guxclearselected", 7);
16
+ /**
17
+ * Tag is removable.
18
+ */
19
+ this.disabled = false;
20
+ this.numberSelected = 0;
21
+ this.label = '';
22
+ }
23
+ onKeyDown(event) {
24
+ switch (event.key) {
25
+ case 'Backspace':
26
+ case 'Delete':
27
+ this.removeTag();
28
+ }
29
+ }
30
+ removeTag() {
31
+ if (this.disabled) {
32
+ return;
33
+ }
34
+ this.guxclearselected.emit();
35
+ }
36
+ renderRemoveButton() {
37
+ return (h("button", { class: "gux-tag-remove-button", onClick: this.removeTag.bind(this), type: "button", disabled: this.disabled }, h("gux-icon", { class: "gux-tag-remove-icon", "icon-name": "close", "screenreader-text": this.i18n('clearSelection', {
38
+ numberSelected: this.numberSelected.toString()
39
+ }) })));
40
+ }
41
+ async componentWillRender() {
42
+ this.i18n = await buildI18nForComponent(this.root, translationResources);
43
+ }
44
+ render() {
45
+ return (h("div", { class: {
46
+ 'gux-tag': true,
47
+ 'gux-disabled': this.disabled
48
+ }, "aria-disabled": this.disabled.toString() }, this.numberSelected.toString(), this.renderRemoveButton()));
49
+ }
50
+ get root() { return getElement(this); }
51
+ };
52
+ GuxDropdownMultiTag.style = guxDropdownMultiTagCss;
53
+
54
+ export { GuxDropdownMultiTag as gux_dropdown_multi_tag };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-76794476.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-d8b1bc53.js';
2
2
 
3
3
  const guxDropdownOptionCss = "gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option:not([disabled])[selected]{color:#2e394c;background:#deeaff}gux-dropdown-option:not([disabled]):hover,gux-dropdown-option:not([disabled]):focus{color:#fdfdfd;background:#2a60c8}";
4
4
 
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, f as forceUpdate, h, g as getElement, c as createEvent, H as Host } from './index-76794476.js';
2
- import { O as OnClickOutside } from './on-click-outside-ce30de20.js';
3
- import { b as buildI18nForComponent } from './index-5bfcdeb1.js';
1
+ import { r as registerInstance, f as forceUpdate, h, g as getElement, c as createEvent, H as Host } from './index-d8b1bc53.js';
2
+ import { O as OnClickOutside } from './on-click-outside-9635bd3e.js';
3
+ import { b as buildI18nForComponent } from './index-16dc4871.js';
4
4
  import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
5
- import { t as trackComponent } from './usage-tracking-e9b9fc3f.js';
5
+ import { t as trackComponent } from './usage-tracking-9ae70c67.js';
6
+ import { g as getSearchOption, s as setInitialActiveOption, c as clearActiveOptions, a as setLastOptionActive, b as setFirstOptionActive, h as hasPreviousOption, d as setPreviousOptionActive, e as hasNextOption, f as setNextOptionActive, i as actOnActiveOption, j as goToOption, o as onClickedOption } from './gux-listbox.service-3541a2f7.js';
6
7
  import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
7
- import { l as logError } from './log-error-b1a1a086.js';
8
8
  import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
9
9
  import './get-closest-element-1597503c.js';
10
10
 
@@ -17,153 +17,6 @@ const translationResources$1 = {
17
17
  dropdown: dropdown
18
18
  };
19
19
 
20
- function getListOptions(list) {
21
- return Array.from(list.children);
22
- }
23
- function getHoveredOption(list) {
24
- return getListOptions(list).find(option => option.hovered && !option.disabled && !option.filtered);
25
- }
26
- function getFirstSelectedOption(list) {
27
- return getListOptions(list).find(option => option.selected && !option.disabled && !option.filtered);
28
- }
29
- function getActiveOption(list) {
30
- return getListOptions(list).find(option => option.active);
31
- }
32
- function setActiveOption(list, element) {
33
- if (element) {
34
- getListOptions(list).forEach(option => {
35
- const active = (!option.disabled || !option.filtered) && option === element;
36
- option.active = active;
37
- if (active) {
38
- list.setAttribute('aria-activedescendant', option.id);
39
- }
40
- });
41
- element.scrollIntoView({ block: 'nearest' });
42
- }
43
- }
44
- function getFirstOption(list) {
45
- let firstOption = getListOptions(list)[0];
46
- while (firstOption && (firstOption.disabled || firstOption.filtered)) {
47
- firstOption = firstOption.nextElementSibling;
48
- }
49
- return firstOption;
50
- }
51
- function getNextOption(list) {
52
- if (hasActiveOption(list)) {
53
- let nextOption = getActiveOption(list)
54
- .nextElementSibling;
55
- while (nextOption && (nextOption.disabled || nextOption.filtered)) {
56
- nextOption = nextOption.nextElementSibling;
57
- }
58
- return nextOption;
59
- }
60
- return getFirstOption(list);
61
- }
62
- function getPreviousOption(list) {
63
- if (hasActiveOption(list)) {
64
- let previousOption = getActiveOption(list)
65
- .previousElementSibling;
66
- while (previousOption &&
67
- (previousOption.disabled || previousOption.filtered)) {
68
- previousOption =
69
- previousOption.previousElementSibling;
70
- }
71
- return previousOption;
72
- }
73
- return getFirstOption(list);
74
- }
75
- function getLastOption(list) {
76
- const options = getListOptions(list);
77
- let lastOption = options[options.length - 1];
78
- while (lastOption && (lastOption.disabled || lastOption.filtered)) {
79
- lastOption = lastOption.previousElementSibling;
80
- }
81
- return lastOption;
82
- }
83
- function hasActiveOption(list) {
84
- return Boolean(getActiveOption(list));
85
- }
86
- function getSearchOption(list, searchString) {
87
- return getListOptions(list).find(option => {
88
- return ((!option.disabled || !option.filtered) &&
89
- option.textContent.toLowerCase().startsWith(searchString.toLowerCase()));
90
- });
91
- }
92
- function setSearchOptionActive(list, searchString) {
93
- const option = getSearchOption(list, searchString);
94
- if (option) {
95
- setActiveOption(list, option);
96
- }
97
- else {
98
- clearActiveOptions(list);
99
- }
100
- }
101
- function clearActiveOptions(list) {
102
- getListOptions(list).forEach(option => {
103
- option.active = false;
104
- });
105
- }
106
- function setInitialActiveOption(list) {
107
- setActiveOption(list, getHoveredOption(list) ||
108
- getFirstSelectedOption(list) ||
109
- getFirstOption(list));
110
- }
111
- function hasPreviousOption(list) {
112
- if (hasActiveOption(list)) {
113
- let previousOption = getActiveOption(list)
114
- .previousElementSibling;
115
- while (previousOption &&
116
- (previousOption.disabled || previousOption.filtered)) {
117
- previousOption =
118
- previousOption.previousElementSibling;
119
- }
120
- return Boolean(previousOption);
121
- }
122
- return false;
123
- }
124
- function hasNextOption(list) {
125
- if (hasActiveOption(list)) {
126
- let nextOption = getActiveOption(list)
127
- .nextElementSibling;
128
- while (nextOption && (nextOption.disabled || nextOption.filtered)) {
129
- nextOption = nextOption.nextElementSibling;
130
- }
131
- return Boolean(nextOption);
132
- }
133
- return false;
134
- }
135
- function setFirstOptionActive(list) {
136
- setActiveOption(list, getFirstOption(list));
137
- }
138
- function setNextOptionActive(list) {
139
- setActiveOption(list, getNextOption(list));
140
- }
141
- function setPreviousOptionActive(list) {
142
- setActiveOption(list, getPreviousOption(list));
143
- }
144
- function setLastOptionActive(list) {
145
- setActiveOption(list, getLastOption(list));
146
- }
147
- function actOnActiveOption(list, handler) {
148
- if (hasActiveOption(list)) {
149
- handler(getActiveOption(list).value);
150
- }
151
- }
152
- function onClickedOption(option, handler) {
153
- handler(option.value);
154
- }
155
- let timer;
156
- let searchStringState = '';
157
- const searchDebounceInterval = 250;
158
- function goToOption(list, letter) {
159
- clearTimeout(timer);
160
- searchStringState += letter;
161
- timer = setTimeout(() => {
162
- setSearchOptionActive(list, searchStringState);
163
- searchStringState = '';
164
- }, searchDebounceInterval);
165
- }
166
-
167
20
  const guxDropdownCss = ":host{color:#2e394c}.gux-field,.gux-target-container-expanded{all:unset;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:6px 8px 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-field.gux-input-field{height:30px}.gux-field .gux-field-content{display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding-left:8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-within{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}";
168
21
 
169
22
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -180,6 +33,7 @@ const GuxDropdown = class {
180
33
  constructor(hostRef) {
181
34
  registerInstance(this, hostRef);
182
35
  this.disabled = false;
36
+ this.required = false;
183
37
  this.filterable = false;
184
38
  this.expanded = false;
185
39
  this.filter = '';
@@ -409,6 +263,7 @@ const GuxListbox = class {
409
263
  registerInstance(this, hostRef);
410
264
  this.internallistboxoptionsupdated = createEvent(this, "internallistboxoptionsupdated", 7);
411
265
  this.filter = '';
266
+ this.selectedValues = [];
412
267
  this.listboxOptions = [];
413
268
  }
414
269
  onFocus() {
@@ -484,27 +339,24 @@ const GuxListbox = class {
484
339
  actOnActiveOption(this.root, value => this.updateValue(value));
485
340
  }
486
341
  setListboxOptions() {
342
+ if (this.value) {
343
+ this.selectedValues = this.value.split(',');
344
+ }
487
345
  this.listboxOptions = Array.from(this.root.children);
488
346
  this.internallistboxoptionsupdated.emit();
489
347
  }
490
348
  updateValue(newValue) {
491
349
  if (this.value !== newValue) {
492
350
  this.value = newValue;
493
- simulateNativeEvent(this.root, 'input');
494
- simulateNativeEvent(this.root, 'change');
495
351
  }
352
+ simulateNativeEvent(this.root, 'input');
353
+ simulateNativeEvent(this.root, 'change');
496
354
  }
497
355
  async componentWillLoad() {
498
356
  trackComponent(this.root);
499
357
  this.i18n = await buildI18nForComponent(this.root, translationResources);
500
358
  this.setListboxOptions();
501
359
  }
502
- componentDidLoad() {
503
- if (!(this.root.getAttribute('aria-label') ||
504
- this.root.getAttribute('aria-labelledby'))) {
505
- logError('gux-listbox', '`gux-listbox` requires a label. Either provide a label and associate it with the listbox using `aria-labelledby` or add an `aria-label` attribute to the gux-listbox element.');
506
- }
507
- }
508
360
  componentWillRender() {
509
361
  this.listboxOptions.forEach(listboxOption => {
510
362
  listboxOption.selected = listboxOption.value === this.value;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, g as getElement } from './index-76794476.js';
2
- import { t as trackComponent } from './usage-tracking-e9b9fc3f.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-d8b1bc53.js';
2
+ import { t as trackComponent } from './usage-tracking-9ae70c67.js';
3
3
 
4
4
  const guxErrorMessageBetaCss = ".gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;font-size:11px;color:#2e394c}.gux-container gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-container .gux-message{flex:0 1 auto;align-self:auto;order:0}";
5
5
 
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-76794476.js';
2
- import { t as trackComponent } from './usage-tracking-e9b9fc3f.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-d8b1bc53.js';
2
+ import { t as trackComponent } from './usage-tracking-9ae70c67.js';
3
3
  import { m as moveFocusDelay, h as hideDelay } from './gux-menu.common-60ab04e4.js';
4
4
  import { c as createPopper } from './popper-93ecb064.js';
5
5
 
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-76794476.js';
2
- import { O as OnMutation } from './on-mutation-2e96b1b9.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-d8b1bc53.js';
2
+ import { O as OnMutation } from './on-mutation-1c2ba0a6.js';
3
3
  import { o as onDisabledChange } from './on-attribute-change-2b01c315.js';
4
4
  import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
5
- import { t as trackComponent } from './usage-tracking-e9b9fc3f.js';
6
- import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds } from './gux-form-field.servce-971609e2.js';
5
+ import { t as trackComponent } from './usage-tracking-9ae70c67.js';
6
+ import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds } from './gux-form-field.service-4bfd6534.js';
7
7
  import './random-html-id-8e3f658c.js';
8
8
  import './log-error-b1a1a086.js';
9
9
  import './set-input-value-5adeaccc.js';
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, h, g as getElement } from './index-76794476.js';
2
- import { O as OnMutation } from './on-mutation-2e96b1b9.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-d8b1bc53.js';
2
+ import { O as OnMutation } from './on-mutation-1c2ba0a6.js';
3
3
  import { o as onDisabledChange, a as onRequiredChange } from './on-attribute-change-2b01c315.js';
4
4
  import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
5
- import { t as trackComponent } from './usage-tracking-e9b9fc3f.js';
6
- import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-ac49a8be.js';
7
- import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.servce-971609e2.js';
5
+ import { t as trackComponent } from './usage-tracking-9ae70c67.js';
6
+ import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-1d0c1a02.js';
7
+ import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.service-4bfd6534.js';
8
8
  import './random-html-id-8e3f658c.js';
9
9
  import './log-error-b1a1a086.js';
10
10
  import './set-input-value-5adeaccc.js';