genesys-spark-components 4.0.0-beta.25 → 4.0.0-beta.27

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 (450) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/get-valid-timezone-39ba3e64.js +520 -0
  3. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/{gux-advanced-dropdown.cjs.entry.js → gux-advanced-dropdown-legacy.cjs.entry.js} +6 -6
  7. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  17. package/dist/cjs/{gux-column-manager-beta.cjs.entry.js → gux-column-manager.cjs.entry.js} +4 -4
  18. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  19. package/dist/cjs/{gux-context-menu-beta.cjs.entry.js → gux-context-menu.cjs.entry.js} +3 -3
  20. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  22. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dropdown_3.cjs.entry.js +11 -6
  29. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +2 -2
  35. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-loading-message.cjs.entry.js +68 -0
  49. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +8 -8
  55. package/dist/cjs/{gux-pagination-buttons-beta_2.cjs.entry.js → gux-pagination-buttons_3.cjs.entry.js} +49 -11
  56. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  58. package/dist/cjs/{gux-pagination-beta.cjs.entry.js → gux-pagination.cjs.entry.js} +6 -6
  59. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-popover-list.cjs.entry.js +2 -2
  61. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  69. package/dist/cjs/{gux-skip-navigation-list-beta.cjs.entry.js → gux-skip-navigation-list.cjs.entry.js} +2 -2
  70. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-switch.cjs.entry.js +2 -2
  73. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-tag.cjs.entry.js +80 -0
  82. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  84. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  90. package/dist/cjs/index-0d0fdb85.js +16 -24
  91. package/dist/cjs/loader.cjs.js +1 -1
  92. package/dist/cjs/{usage-a9283e9a.js → usage-8d342ca0.js} +1 -1
  93. package/dist/collection/collection-manifest.json +17 -18
  94. package/dist/collection/components/beta/gux-announce/gux-announce.css +1 -1
  95. package/dist/collection/components/beta/gux-announce/gux-announce.js +1 -1
  96. package/dist/collection/components/beta/gux-date/gux-date.js +3 -2
  97. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +3 -2
  98. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.css +1 -1
  99. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  100. package/dist/collection/components/beta/gux-time/gux-time.js +3 -2
  101. package/dist/collection/components/{stable/gux-advanced-dropdown → legacy/gux-advanced-dropdown-legacy}/dropdown-option/gux-dropdown-option.css +3 -4
  102. package/dist/collection/components/{stable/gux-advanced-dropdown → legacy/gux-advanced-dropdown-legacy}/dropdown-option/gux-dropdown-option.js +1 -1
  103. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.css +239 -0
  104. package/dist/collection/components/{stable/gux-advanced-dropdown → legacy/gux-advanced-dropdown-legacy}/gux-advanced-dropdown.js +4 -4
  105. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons-legacy.css +95 -0
  106. package/dist/collection/components/legacy/gux-pagination-legacy/{gux-pagination-buttons → gux-pagination-buttons-legacy}/gux-pagination-buttons.js +3 -3
  107. package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.css → legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts-legacy.css} +2 -5
  108. package/dist/collection/components/legacy/gux-pagination-legacy/{gux-pagination-item-counts → gux-pagination-item-counts-legacy}/gux-pagination-item-counts.js +2 -2
  109. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page-legacy.css +26 -0
  110. package/dist/collection/components/legacy/gux-pagination-legacy/{gux-pagination-items-per-page → gux-pagination-items-per-page-legacy}/gux-pagination-items-per-page.js +3 -3
  111. package/dist/collection/components/legacy/gux-pagination-legacy/{gux-pagination.css → gux-pagination-legacy.css} +7 -5
  112. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +2 -2
  113. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +230 -0
  114. package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +1 -1
  115. package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.css +6 -5
  116. package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.js +2 -2
  117. package/dist/collection/components/{beta → stable}/gux-context-menu/gux-context-menu.css +4 -2
  118. package/dist/collection/components/{beta → stable}/gux-context-menu/gux-context-menu.js +2 -2
  119. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +1 -1
  120. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +0 -154
  121. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +0 -154
  122. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.css +1 -1
  123. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  124. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.css +26 -15
  125. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  126. package/dist/collection/components/stable/gux-list/gux-list.css +1 -1
  127. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  128. package/dist/collection/components/stable/gux-listbox/gux-listbox.css +22 -10
  129. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +7 -4
  130. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +40 -19
  131. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +3 -2
  132. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +44 -25
  133. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +3 -2
  134. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.css +207 -0
  135. package/dist/collection/components/{beta → stable}/gux-loading-message/gux-loading-message.js +2 -2
  136. package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.css → stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.css} +11 -11
  137. package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.js → stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js} +8 -8
  138. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.css +11 -0
  139. package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.js → stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js} +4 -4
  140. package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.css → stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.css} +5 -5
  141. package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.js → stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js} +5 -5
  142. package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-beta.js → stable/gux-pagination/gux-pagination.js} +8 -8
  143. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.css +8 -34
  144. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +1 -1
  145. package/dist/collection/components/stable/gux-popup/gux-popup.css +1 -0
  146. package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.css +4 -2
  147. package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  148. package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-list.css +3 -1
  149. package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-list.js +2 -2
  150. package/dist/collection/components/stable/gux-switch/gux-switch-item/gux-switch-item.css +159 -7
  151. package/dist/collection/components/stable/gux-switch/gux-switch-item/gux-switch-item.js +1 -1
  152. package/dist/collection/components/stable/gux-switch/gux-switch.css +2 -2
  153. package/dist/collection/components/stable/gux-switch/gux-switch.js +1 -1
  154. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.css +0 -154
  155. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.css +46 -3
  156. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +4 -3
  157. package/dist/collection/components/stable/gux-tag/gux-tag.css +155 -0
  158. package/dist/collection/components/{beta → stable}/gux-tag/gux-tag.js +27 -32
  159. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +47 -60
  160. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  161. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +35 -2
  162. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +1 -1
  163. package/dist/collection/components/stable/gux-toggle/gux-toggle.css +4 -2
  164. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +1 -1
  165. package/dist/collection/i18n/time-zone/identifiers.js +108 -0
  166. package/dist/collection/utils/date/get-valid-timezone.js +7 -0
  167. package/dist/component-specs.json +191 -128
  168. package/dist/deploy-info.json +3 -3
  169. package/dist/esm/genesys-webcomponents.js +1 -1
  170. package/dist/esm/get-valid-timezone-4b39f118.js +517 -0
  171. package/dist/esm/gux-accordion.entry.js +1 -1
  172. package/dist/esm/gux-action-button.entry.js +1 -1
  173. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  174. package/dist/esm/{gux-advanced-dropdown.entry.js → gux-advanced-dropdown-legacy.entry.js} +6 -6
  175. package/dist/esm/gux-announce-beta.entry.js +1 -1
  176. package/dist/esm/gux-badge.entry.js +1 -1
  177. package/dist/esm/gux-blank-state.entry.js +1 -1
  178. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  179. package/dist/esm/gux-button-multi.entry.js +1 -1
  180. package/dist/esm/gux-button-slot.entry.js +1 -1
  181. package/dist/esm/gux-button.entry.js +1 -1
  182. package/dist/esm/gux-calendar.entry.js +1 -1
  183. package/dist/esm/gux-card.entry.js +1 -1
  184. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  185. package/dist/esm/{gux-column-manager-beta.entry.js → gux-column-manager.entry.js} +4 -4
  186. package/dist/esm/gux-content-search.entry.js +1 -1
  187. package/dist/esm/{gux-context-menu-beta.entry.js → gux-context-menu.entry.js} +3 -3
  188. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  189. package/dist/esm/gux-date-beta.entry.js +3 -3
  190. package/dist/esm/gux-date-time-beta.entry.js +3 -3
  191. package/dist/esm/gux-datepicker.entry.js +1 -1
  192. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  193. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  194. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  195. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  196. package/dist/esm/gux-dropdown_3.entry.js +11 -6
  197. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  198. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  199. package/dist/esm/gux-form-field-color.entry.js +1 -1
  200. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  201. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  202. package/dist/esm/gux-form-field-number_3.entry.js +2 -2
  203. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  204. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  205. package/dist/esm/gux-form-field-range.entry.js +1 -1
  206. package/dist/esm/gux-form-field-search.entry.js +1 -1
  207. package/dist/esm/gux-form-field-select.entry.js +1 -1
  208. package/dist/esm/gux-form-field-text-like.entry.js +2 -2
  209. package/dist/esm/gux-form-field-textarea.entry.js +2 -2
  210. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  211. package/dist/esm/gux-icon.entry.js +1 -1
  212. package/dist/esm/gux-inline-alert.entry.js +1 -1
  213. package/dist/esm/gux-list-item.entry.js +1 -1
  214. package/dist/esm/gux-list.entry.js +1 -1
  215. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  216. package/dist/esm/gux-loading-message.entry.js +64 -0
  217. package/dist/esm/gux-modal.entry.js +1 -1
  218. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  219. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  220. package/dist/esm/gux-option-icon.entry.js +1 -1
  221. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  222. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +8 -8
  223. package/dist/esm/{gux-pagination-buttons-beta_2.entry.js → gux-pagination-buttons_3.entry.js} +47 -10
  224. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  225. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  226. package/dist/esm/{gux-pagination-beta.entry.js → gux-pagination.entry.js} +6 -6
  227. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  228. package/dist/esm/gux-popover-list.entry.js +2 -2
  229. package/dist/esm/gux-popup.entry.js +1 -1
  230. package/dist/esm/gux-radial-loading.entry.js +1 -1
  231. package/dist/esm/gux-radial-progress.entry.js +1 -1
  232. package/dist/esm/gux-rating.entry.js +1 -1
  233. package/dist/esm/gux-region-icon.entry.js +1 -1
  234. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  235. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  236. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  237. package/dist/esm/{gux-skip-navigation-list-beta.entry.js → gux-skip-navigation-list.entry.js} +2 -2
  238. package/dist/esm/gux-sort-control.entry.js +1 -1
  239. package/dist/esm/gux-switch-item.entry.js +1 -1
  240. package/dist/esm/gux-switch.entry.js +2 -2
  241. package/dist/esm/gux-tab-panel.entry.js +3 -3
  242. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  243. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  244. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  245. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  246. package/dist/esm/gux-table.entry.js +1 -1
  247. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  248. package/dist/esm/gux-tabs.entry.js +1 -1
  249. package/dist/esm/gux-tag.entry.js +76 -0
  250. package/dist/esm/gux-text-highlight.entry.js +1 -1
  251. package/dist/esm/gux-time-beta.entry.js +3 -3
  252. package/dist/esm/gux-time-picker.entry.js +2 -2
  253. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  254. package/dist/esm/gux-toast.entry.js +1 -1
  255. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  256. package/dist/esm/gux-toggle.entry.js +2 -2
  257. package/dist/esm/gux-tooltip.entry.js +1 -1
  258. package/dist/esm/index-0b66fe2c.js +16 -24
  259. package/dist/esm/loader.js +1 -1
  260. package/dist/esm/{usage-56d9b306.js → usage-4e7ef844.js} +1 -1
  261. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  262. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  263. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  264. package/dist/genesys-webcomponents/{p-1a83ae15.entry.js → p-0076f3f5.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/p-04e0fe86.entry.js +1 -0
  266. package/dist/genesys-webcomponents/{p-a0a96990.entry.js → p-0a1cc254.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-6ebd0ea7.entry.js → p-0f33f457.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-48a59b0b.entry.js → p-103ad753.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-f912829e.entry.js → p-11b420ed.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-163cb6ea.entry.js → p-13b39caa.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-5e9e91e5.entry.js → p-164fd006.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-95a48f31.entry.js → p-1be0f29e.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-87d88b64.entry.js → p-1ce5509b.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-15bf191f.entry.js → p-213cdf2c.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-17413280.entry.js → p-2498b2e3.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-5fc405db.entry.js → p-24c0304b.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-9e3342cf.entry.js → p-287495ec.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-6b0599d0.entry.js → p-2afda1fa.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/p-30a59436.entry.js +1 -0
  280. package/dist/genesys-webcomponents/{p-216d896e.entry.js → p-31082d48.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-c4545cf8.entry.js → p-322710bc.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-411b9844.entry.js → p-34b96434.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-ace78667.entry.js → p-362129ec.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/p-38d60100.entry.js +1 -0
  285. package/dist/genesys-webcomponents/{p-ba78e7c0.entry.js → p-3dde3588.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-6a2f0c03.entry.js → p-3e9d0c7b.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-9d5716fc.entry.js → p-3ef0a725.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-1e0926b3.entry.js → p-40d1b7d6.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/p-41f2ecb4.entry.js +1 -0
  290. package/dist/genesys-webcomponents/{p-7a1ef948.entry.js → p-4412b9b1.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-8ac51be5.entry.js → p-44aed7b3.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-23554f30.entry.js → p-46108dd5.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-d93654eb.entry.js → p-4d623f46.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/p-501d06d9.entry.js +1 -0
  295. package/dist/genesys-webcomponents/{p-6cb7b586.entry.js → p-51c934c5.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-777bc704.entry.js → p-5a22f1f6.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-06a92400.entry.js → p-5f22855f.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-1c2cd19b.entry.js → p-6002a77c.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/p-642c5650.entry.js +1 -0
  300. package/dist/genesys-webcomponents/p-68ebbf22.entry.js +1 -0
  301. package/dist/genesys-webcomponents/{p-6f66080e.entry.js → p-6a31fb7e.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-2513aa6b.entry.js → p-6b929d2d.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/p-6bff9eb3.entry.js +1 -0
  304. package/dist/genesys-webcomponents/p-6e161af6.entry.js +1 -0
  305. package/dist/genesys-webcomponents/{p-b0865e45.entry.js → p-71739e39.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-b9534538.entry.js → p-777735a1.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-0c4dbc9a.entry.js → p-77f1232b.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-f3aa76a8.entry.js → p-78159639.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-e2af859e.entry.js → p-7b0db5cc.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/p-831456f4.entry.js +1 -0
  311. package/dist/genesys-webcomponents/p-83f11efa.entry.js +1 -0
  312. package/dist/genesys-webcomponents/p-844dfb88.entry.js +1 -0
  313. package/dist/genesys-webcomponents/{p-df87a33e.entry.js → p-87093380.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/p-8920a5e5.js +1 -0
  315. package/dist/genesys-webcomponents/{p-b2567220.entry.js → p-8b9f4bd0.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-35fc63f0.entry.js → p-8d5f3368.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-57064c62.entry.js → p-8e14e2ff.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-786897e9.entry.js → p-8fcf1744.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-ac512b71.entry.js → p-9046d865.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-8e7d8b79.entry.js → p-924c1da2.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/p-9512246a.entry.js +1 -0
  322. package/dist/genesys-webcomponents/p-9be45fa0.entry.js +1 -0
  323. package/dist/genesys-webcomponents/p-9d2abb9e.entry.js +1 -0
  324. package/dist/genesys-webcomponents/p-9daee752.entry.js +1 -0
  325. package/dist/genesys-webcomponents/{p-dc58438a.entry.js → p-a06dceae.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-1c1dfe12.entry.js → p-a1795d44.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-83c88e1d.entry.js → p-a81c0565.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-6a14e935.entry.js → p-ab3e0cf2.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-5eb7f3d1.js → p-adbed625.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-30cb1c85.entry.js → p-b005c9ec.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-aef9e7cf.entry.js → p-b9a86ebe.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/p-bcba8202.entry.js +1 -0
  333. package/dist/genesys-webcomponents/{p-1b35958d.entry.js → p-bcbab73b.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/p-c1314b3a.entry.js +1 -0
  335. package/dist/genesys-webcomponents/{p-0e44c5e7.entry.js → p-c4547d4a.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-7b43f40b.entry.js → p-c609ed18.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-34a80ac0.entry.js → p-c6fc2a5d.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/p-cb46759e.entry.js +1 -0
  339. package/dist/genesys-webcomponents/{p-e5d488d0.entry.js → p-ceed21c7.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-1b69fe00.entry.js → p-d253461a.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-b2a503ab.entry.js → p-d339fb99.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/p-d3a0a97b.entry.js +1 -0
  343. package/dist/genesys-webcomponents/p-d4bae794.entry.js +1 -0
  344. package/dist/genesys-webcomponents/p-d91f695d.entry.js +1 -0
  345. package/dist/genesys-webcomponents/{p-62843655.entry.js → p-e01e8b11.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-dc7c5910.entry.js → p-e1b518fb.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-e54dac3e.entry.js → p-e82dbae5.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-f551e81b.entry.js → p-ea2177b4.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-779f1537.entry.js → p-ecb4b661.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-44732864.entry.js → p-f4af5f6b.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-44c6e065.entry.js → p-f5b1fc27.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/p-fdc9e35c.entry.js +1 -0
  353. package/dist/stencil-wrapper.js +1 -1
  354. package/dist/types/components/{stable/gux-advanced-dropdown → legacy/gux-advanced-dropdown-legacy}/gux-advanced-dropdown.d.ts +1 -1
  355. package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.d.ts → stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.d.ts} +3 -3
  356. package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.d.ts → stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.d.ts} +1 -1
  357. package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.d.ts → stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.d.ts} +2 -2
  358. package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-beta.d.ts → stable/gux-pagination/gux-pagination.d.ts} +4 -4
  359. package/dist/types/components/stable/gux-pagination/gux-pagination.types.d.ts +2 -0
  360. package/dist/types/components/{beta → stable}/gux-tag/gux-tag.d.ts +3 -16
  361. package/dist/types/components/stable/gux-tag/gux-tag.types.d.ts +1 -0
  362. package/dist/types/components.d.ts +127 -178
  363. package/dist/types/i18n/time-zone/identifiers.d.ts +1 -1
  364. package/dist/types/stencil-wrapper.d.ts +1 -1
  365. package/dist/types/utils/date/get-valid-timezone.d.ts +2 -0
  366. package/package.json +1 -1
  367. package/dist/cjs/DateTimeFormatter-8d9469d0.js +0 -51
  368. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +0 -68
  369. package/dist/cjs/gux-pagination-items-per-page-beta.cjs.entry.js +0 -46
  370. package/dist/cjs/gux-tab-panel-beta.cjs.entry.js +0 -34
  371. package/dist/cjs/gux-tag-beta.cjs.entry.js +0 -84
  372. package/dist/collection/components/beta/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +0 -75
  373. package/dist/collection/components/beta/gux-loading-message/gux-loading-message.css +0 -55
  374. package/dist/collection/components/beta/gux-tab-panel-beta/gux-tab-panel-beta.css +0 -15
  375. package/dist/collection/components/beta/gux-tab-panel-beta/gux-tab-panel-beta.js +0 -107
  376. package/dist/collection/components/beta/gux-tag/gux-tag.css +0 -461
  377. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons/gux-pagination-buttons.css +0 -80
  378. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts/gux-pagination-item-counts.css +0 -9
  379. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page/gux-pagination-items-per-page.css +0 -24
  380. package/dist/collection/components/stable/gux-advanced-dropdown/gux-advanced-dropdown.css +0 -85
  381. package/dist/esm/DateTimeFormatter-f66da75e.js +0 -49
  382. package/dist/esm/gux-loading-message-beta.entry.js +0 -64
  383. package/dist/esm/gux-pagination-items-per-page-beta.entry.js +0 -42
  384. package/dist/esm/gux-tab-panel-beta.entry.js +0 -30
  385. package/dist/esm/gux-tag-beta.entry.js +0 -80
  386. package/dist/genesys-webcomponents/p-010ba18c.entry.js +0 -1
  387. package/dist/genesys-webcomponents/p-0501a8ad.entry.js +0 -1
  388. package/dist/genesys-webcomponents/p-0cb3fdb4.entry.js +0 -1
  389. package/dist/genesys-webcomponents/p-18619dff.entry.js +0 -1
  390. package/dist/genesys-webcomponents/p-27a62f54.entry.js +0 -1
  391. package/dist/genesys-webcomponents/p-37b49558.entry.js +0 -1
  392. package/dist/genesys-webcomponents/p-3881c2c8.entry.js +0 -1
  393. package/dist/genesys-webcomponents/p-43d22f9f.entry.js +0 -1
  394. package/dist/genesys-webcomponents/p-65ce0e37.entry.js +0 -1
  395. package/dist/genesys-webcomponents/p-6632856a.entry.js +0 -1
  396. package/dist/genesys-webcomponents/p-69d33177.entry.js +0 -1
  397. package/dist/genesys-webcomponents/p-81c3fa5a.entry.js +0 -1
  398. package/dist/genesys-webcomponents/p-8f7c29ec.entry.js +0 -1
  399. package/dist/genesys-webcomponents/p-98b50eb3.js +0 -1
  400. package/dist/genesys-webcomponents/p-ae58a16c.entry.js +0 -1
  401. package/dist/genesys-webcomponents/p-b3bbe6e0.entry.js +0 -1
  402. package/dist/genesys-webcomponents/p-beb58f04.entry.js +0 -1
  403. package/dist/genesys-webcomponents/p-c28759cd.entry.js +0 -1
  404. package/dist/genesys-webcomponents/p-c55d47dd.entry.js +0 -1
  405. package/dist/genesys-webcomponents/p-d2db8cfb.entry.js +0 -1
  406. package/dist/genesys-webcomponents/p-d72445e3.entry.js +0 -1
  407. package/dist/genesys-webcomponents/p-e8c84c88.entry.js +0 -1
  408. package/dist/genesys-webcomponents/p-f2fea056.entry.js +0 -1
  409. package/dist/genesys-webcomponents/p-f554c073.entry.js +0 -1
  410. package/dist/genesys-webcomponents/p-f9609d1c.entry.js +0 -1
  411. package/dist/genesys-webcomponents/p-f9768ae7.entry.js +0 -1
  412. package/dist/types/components/beta/gux-pagination-beta/gux-pagination-beta.types.d.ts +0 -2
  413. package/dist/types/components/beta/gux-tab-panel-beta/gux-tab-panel-beta.d.ts +0 -18
  414. package/dist/types/components/beta/gux-tag/gux-tag.types.d.ts +0 -2
  415. /package/dist/cjs/{en-b3076cac.js → en-2a12d7c4.js} +0 -0
  416. /package/dist/cjs/{gux-column-manager.service-94f84964.js → gux-column-manager.service-8a71e1f3.js} +0 -0
  417. /package/dist/collection/components/legacy/gux-pagination-legacy/{gux-pagination-buttons → gux-pagination-buttons-legacy}/gux-pagination-button.service.js +0 -0
  418. /package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.service.js +0 -0
  419. /package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.service.js +0 -0
  420. /package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.types.js +0 -0
  421. /package/dist/collection/components/{beta → stable}/gux-loading-message/gux-loading-message-constants.js +0 -0
  422. /package/dist/collection/components/{beta → stable}/gux-loading-message/gux-loading-message-size.types.js +0 -0
  423. /package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-button-beta.service.js → stable/gux-pagination/gux-pagination-buttons/gux-pagination-button.service.js} +0 -0
  424. /package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta → stable/gux-pagination/gux-pagination-buttons}/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.css +0 -0
  425. /package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta → stable/gux-pagination/gux-pagination-buttons}/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +0 -0
  426. /package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-beta.css → stable/gux-pagination/gux-pagination.css} +0 -0
  427. /package/dist/collection/components/{beta/gux-pagination-beta/gux-pagination-beta.types.js → stable/gux-pagination/gux-pagination.types.js} +0 -0
  428. /package/dist/collection/components/{beta → stable}/gux-tag/gux-tag.types.js +0 -0
  429. /package/dist/esm/{en-5d726a81.js → en-6c4aef39.js} +0 -0
  430. /package/dist/esm/{gux-column-manager.service-07ddccf5.js → gux-column-manager.service-a9ea5c54.js} +0 -0
  431. /package/dist/genesys-webcomponents/{p-62913396.js → p-4a6ae41e.js} +0 -0
  432. /package/dist/genesys-webcomponents/{p-89af02eb.js → p-abb9b5f7.js} +0 -0
  433. /package/dist/types/components/{stable/gux-advanced-dropdown → legacy/gux-advanced-dropdown-legacy}/dropdown-option/gux-dropdown-option.d.ts +0 -0
  434. /package/dist/types/components/legacy/gux-pagination-legacy/{gux-pagination-buttons → gux-pagination-buttons-legacy}/gux-pagination-button.service.d.ts +0 -0
  435. /package/dist/types/components/legacy/gux-pagination-legacy/{gux-pagination-buttons → gux-pagination-buttons-legacy}/gux-pagination-buttons.d.ts +0 -0
  436. /package/dist/types/components/legacy/gux-pagination-legacy/{gux-pagination-item-counts → gux-pagination-item-counts-legacy}/gux-pagination-item-counts.d.ts +0 -0
  437. /package/dist/types/components/legacy/gux-pagination-legacy/{gux-pagination-items-per-page → gux-pagination-items-per-page-legacy}/gux-pagination-items-per-page.d.ts +0 -0
  438. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.d.ts +0 -0
  439. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.service.d.ts +0 -0
  440. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager.d.ts +0 -0
  441. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager.service.d.ts +0 -0
  442. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager.types.d.ts +0 -0
  443. /package/dist/types/components/{beta → stable}/gux-context-menu/gux-context-menu.d.ts +0 -0
  444. /package/dist/types/components/{beta → stable}/gux-loading-message/gux-loading-message-constants.d.ts +0 -0
  445. /package/dist/types/components/{beta → stable}/gux-loading-message/gux-loading-message-size.types.d.ts +0 -0
  446. /package/dist/types/components/{beta → stable}/gux-loading-message/gux-loading-message.d.ts +0 -0
  447. /package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-button-beta.service.d.ts → stable/gux-pagination/gux-pagination-buttons/gux-pagination-button.service.d.ts} +0 -0
  448. /package/dist/types/components/{beta/gux-pagination-beta/gux-pagination-buttons-beta → stable/gux-pagination/gux-pagination-buttons}/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.d.ts +0 -0
  449. /package/dist/types/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.d.ts +0 -0
  450. /package/dist/types/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-list.d.ts +0 -0
@@ -1 +1 @@
1
- import{r as t,c as o,h as a,g as i}from"./p-7d26b2e1.js";import{r as n}from"./p-cbcbd1bb.js";import{t as s}from"./p-5eb7f3d1.js";const e=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0,this.initialFocus=void 0}handleKeyEvent(t){"Escape"===t.key&&this.onDismissHandler(t)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){s(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var t,o,a;const i=this.getInitialFocusElement();i?null===(t=i.focus)||void 0===t||t.call(i):this.dismissButton&&(null===(a=(o=this.dismissButton).focus)||void 0===a||a.call(o))}render(){const t=this.hasModalTitleSlot(),o=this.hasFooterButtons(),i=n();return a("div",{class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":t?i:null},a("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),t&&a("h1",{class:"gux-modal-header",id:i},a("slot",{name:"title"})),a("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:t=>this.dismissButton=t}),a("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!o}},a("p",null,a("slot",{name:"content"}))),o&&a("div",{class:"gux-button-footer"},a("div",{class:"gux-left-align-buttons"},a("slot",{name:"left-align-buttons"})),a("div",{class:"gux-right-align-buttons"},a("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return a("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(t){var o;t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return i(this)}};e.style=":host .gux-modal{position:fixed;inset:0;z-index:var(--gux-zindex-modal, 1);display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 8px 24px rgba(32, 41, 55, 0.4)}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{e as gux_modal}
1
+ import{r as t,c as o,h as a,g as i}from"./p-7d26b2e1.js";import{r as n}from"./p-cbcbd1bb.js";import{t as s}from"./p-adbed625.js";const e=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0,this.initialFocus=void 0}handleKeyEvent(t){"Escape"===t.key&&this.onDismissHandler(t)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){s(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var t,o,a;const i=this.getInitialFocusElement();i?null===(t=i.focus)||void 0===t||t.call(i):this.dismissButton&&(null===(a=(o=this.dismissButton).focus)||void 0===a||a.call(o))}render(){const t=this.hasModalTitleSlot(),o=this.hasFooterButtons(),i=n();return a("div",{class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":t?i:null},a("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),t&&a("h1",{class:"gux-modal-header",id:i},a("slot",{name:"title"})),a("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:t=>this.dismissButton=t}),a("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!o}},a("p",null,a("slot",{name:"content"}))),o&&a("div",{class:"gux-button-footer"},a("div",{class:"gux-left-align-buttons"},a("slot",{name:"left-align-buttons"})),a("div",{class:"gux-right-align-buttons"},a("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return a("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(t){var o;t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return i(this)}};e.style=":host .gux-modal{position:fixed;inset:0;z-index:var(--gux-zindex-modal, 1);display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 8px 24px rgba(32, 41, 55, 0.4)}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{e as gux_modal}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e,g as o}from"./p-7d26b2e1.js";import{s as n,c as a,a as h,b as r,h as d,d as l,e as c,f as u,i as p,j as g,o as x}from"./p-55cf6d81.js";import{b as m}from"./p-deee079e.js";import{w as f}from"./p-76ff3e75.js";import{s as b}from"./p-d176c2ae.js";import{t as v}from"./p-5eb7f3d1.js";import{b as w}from"./p-091f51f6.js";import"./p-8a133b9b.js";const O={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},j=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=s(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onFocus(){n(this.root)}onBlur(){a(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var s;switch(t.key){case"Enter":return t.preventDefault(),void((null===(s=this.optionCreateElement)||void 0===s?void 0:s.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),w((()=>{n(this.root)}))):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),u(this.root)):r(this.root));case"ArrowUp":return t.preventDefault(),void(d(this.root)?(t.stopPropagation(),l(this.root)):h(this.root));case"Home":return t.preventDefault(),void r(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||g(this.root,t.key)}onKeyup(t){var s;" "!==t.key||((null===(s=this.optionCreateElement)||void 0===s?void 0:s.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),w((()=>{n(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){a(this.root)}onClick(t){f("gux-option-multi",t,(t=>{x(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((s=>{var i,e,o;(null===(o=null===(e=null===(i=s.querySelector("[gux-slot-container]"))||void 0===i?void 0:i.textContent)||void 0===e?void 0:e.toLowerCase())||void 0===o?void 0:o.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions(),n(this.root)}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&(t.filtered=!t.textContent.toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateValue(t){if(this.getSelectedValues().includes(t))this.value=this.getSelectedValues().filter((s=>s!==t)).join(",");else{const s=[...this.getSelectedValues(),t];this.value=s.join(",")}b(this.root,"input"),b(this.root,"change")}async componentWillLoad(){v(this.root),this.i18n=await m(this.root,O),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return i("div",{hidden:!0},i("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[i("div",{class:"gux-message-container"},i("gux-radial-loading",{context:"modal"}),i("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[i("div",{class:"gux-message-container"},i("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return i("slot",{name:"create"})}render(){return this.loading?this.renderLoading():i(e,{role:"listbox","aria-multiselectable":"true",tabindex:0},i("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};j.style=":host{box-sizing:border-box;display:block;max-height:20rem;padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;outline:none}:host(:focus-visible){outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}.gux-message-container .gux-no-matches{box-sizing:border-box;height:32px;padding:8px 16px;color:#2e394c}";export{j as gux_listbox_multi}
1
+ import{r as t,c as s,h as i,H as e,g as o}from"./p-7d26b2e1.js";import{s as n,c as a,a as h,b as r,h as d,d as l,e as c,f as u,i as p,j as g,o as x}from"./p-55cf6d81.js";import{b as m}from"./p-deee079e.js";import{w as f}from"./p-76ff3e75.js";import{s as b}from"./p-d176c2ae.js";import{t as v}from"./p-adbed625.js";import{b as w}from"./p-091f51f6.js";import"./p-8a133b9b.js";const O={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},j=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=s(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onFocus(){n(this.root)}onBlur(){a(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var s;switch(t.key){case"Enter":return t.preventDefault(),void((null===(s=this.optionCreateElement)||void 0===s?void 0:s.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),w((()=>{n(this.root)}))):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),u(this.root)):r(this.root));case"ArrowUp":return t.preventDefault(),void(d(this.root)?(t.stopPropagation(),l(this.root)):h(this.root));case"Home":return t.preventDefault(),void r(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||g(this.root,t.key)}onKeyup(t){var s;" "!==t.key||((null===(s=this.optionCreateElement)||void 0===s?void 0:s.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),w((()=>{n(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){a(this.root)}onClick(t){f("gux-option-multi",t,(t=>{x(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((s=>{var i,e,o;(null===(o=null===(e=null===(i=s.querySelector("[gux-slot-container]"))||void 0===i?void 0:i.textContent)||void 0===e?void 0:e.toLowerCase())||void 0===o?void 0:o.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions(),n(this.root)}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&(t.filtered=!t.textContent.toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateValue(t){if(this.getSelectedValues().includes(t))this.value=this.getSelectedValues().filter((s=>s!==t)).join(",");else{const s=[...this.getSelectedValues(),t];this.value=s.join(",")}b(this.root,"input"),b(this.root,"change")}async componentWillLoad(){v(this.root),this.i18n=await m(this.root,O),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return i("div",{hidden:!0},i("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[i("div",{class:"gux-message-container"},i("gux-radial-loading",{context:"modal"}),i("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[i("div",{class:"gux-message-container"},i("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return i("slot",{name:"create"})}render(){return this.loading?this.renderLoading():i(e,{role:"listbox","aria-multiselectable":"true",tabindex:0},i("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};j.style=":host{box-sizing:border-box;display:block;max-height:20rem;padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;outline:none}:host(:focus-visible){outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}.gux-message-container .gux-no-matches{box-sizing:border-box;height:32px;padding:8px 16px;color:#2e394c}";export{j as gux_listbox_multi}