genesys-spark-components 4.21.2 → 4.22.0

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 (282) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-avatar-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-beta.cjs.entry.js +3 -1
  15. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  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.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-flyout-menu.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 +1 -1
  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 +19 -10
  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 +1 -1
  41. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-inline-alert.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 +1 -1
  49. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +135 -0
  83. package/dist/cjs/gux-tooltip-beta.cjs.entry.js +68 -0
  84. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  85. package/dist/cjs/index-75c9f0d9.js +8 -0
  86. package/dist/cjs/loader.cjs.js +1 -1
  87. package/dist/cjs/{usage-5839ddd0.js → usage-d4f6418b.js} +11 -11
  88. package/dist/collection/collection-manifest.json +2 -0
  89. package/dist/collection/components/beta/gux-calendar-beta/services/calendar.service.js +3 -1
  90. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.css +61 -0
  91. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +323 -0
  92. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip-types.js +1 -0
  93. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +180 -0
  94. package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.e2e.js +34 -0
  95. package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.spec.js +55 -0
  96. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +3 -49
  97. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +18 -9
  98. package/dist/deploy-info.json +3 -3
  99. package/dist/esm/genesys-webcomponents.js +1 -1
  100. package/dist/esm/gux-accordion.entry.js +1 -1
  101. package/dist/esm/gux-action-button.entry.js +1 -1
  102. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  103. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  104. package/dist/esm/gux-announce-beta.entry.js +1 -1
  105. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  106. package/dist/esm/gux-badge.entry.js +1 -1
  107. package/dist/esm/gux-blank-state.entry.js +1 -1
  108. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  109. package/dist/esm/gux-button-multi.entry.js +1 -1
  110. package/dist/esm/gux-button-slot.entry.js +1 -1
  111. package/dist/esm/gux-button.entry.js +1 -1
  112. package/dist/esm/gux-calendar-beta.entry.js +3 -1
  113. package/dist/esm/gux-calendar.entry.js +1 -1
  114. package/dist/esm/gux-card.entry.js +1 -1
  115. package/dist/esm/gux-column-manager.entry.js +1 -1
  116. package/dist/esm/gux-content-search.entry.js +1 -1
  117. package/dist/esm/gux-context-menu.entry.js +1 -1
  118. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  119. package/dist/esm/gux-date-beta.entry.js +1 -1
  120. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  121. package/dist/esm/gux-datepicker.entry.js +1 -1
  122. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  123. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  124. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  125. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  126. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  127. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  128. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  129. package/dist/esm/gux-form-field-color.entry.js +1 -1
  130. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  131. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  132. package/dist/esm/gux-form-field-number_3.entry.js +1 -1
  133. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  134. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  135. package/dist/esm/gux-form-field-range.entry.js +20 -11
  136. package/dist/esm/gux-form-field-search.entry.js +1 -1
  137. package/dist/esm/gux-form-field-select.entry.js +1 -1
  138. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  139. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  140. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  141. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  142. package/dist/esm/gux-icon.entry.js +1 -1
  143. package/dist/esm/gux-inline-alert.entry.js +1 -1
  144. package/dist/esm/gux-list.entry.js +1 -1
  145. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  146. package/dist/esm/gux-loading-message.entry.js +1 -1
  147. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  148. package/dist/esm/gux-modal.entry.js +1 -1
  149. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  150. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  151. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  152. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  153. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  154. package/dist/esm/gux-pagination.entry.js +1 -1
  155. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  156. package/dist/esm/gux-popover-list.entry.js +1 -1
  157. package/dist/esm/gux-radial-loading.entry.js +1 -1
  158. package/dist/esm/gux-radial-progress.entry.js +1 -1
  159. package/dist/esm/gux-rating.entry.js +1 -1
  160. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  161. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  162. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  163. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  164. package/dist/esm/gux-sort-control.entry.js +1 -1
  165. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  166. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  167. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  168. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  169. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  170. package/dist/esm/gux-table.entry.js +1 -1
  171. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  172. package/dist/esm/gux-tabs.entry.js +1 -1
  173. package/dist/esm/gux-tag.entry.js +1 -1
  174. package/dist/esm/gux-text-highlight.entry.js +1 -1
  175. package/dist/esm/gux-time-beta.entry.js +1 -1
  176. package/dist/esm/gux-time-picker.entry.js +1 -1
  177. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  178. package/dist/esm/gux-toast.entry.js +1 -1
  179. package/dist/esm/gux-toggle.entry.js +1 -1
  180. package/dist/esm/gux-tooltip-base-beta.entry.js +131 -0
  181. package/dist/esm/gux-tooltip-beta.entry.js +64 -0
  182. package/dist/esm/gux-tooltip.entry.js +1 -1
  183. package/dist/esm/index-39e65a0a.js +8 -0
  184. package/dist/esm/loader.js +1 -1
  185. package/dist/esm/{usage-612e6d55.js → usage-ccad1705.js} +11 -11
  186. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  187. package/dist/genesys-webcomponents/{p-9045d66c.entry.js → p-03ba668d.entry.js} +1 -1
  188. package/dist/genesys-webcomponents/{p-9a56b1ff.entry.js → p-0ab1bbb6.entry.js} +1 -1
  189. package/dist/genesys-webcomponents/{p-cf90a48c.entry.js → p-0ceb12d0.entry.js} +1 -1
  190. package/dist/genesys-webcomponents/{p-242e76d5.entry.js → p-0d96f4e7.entry.js} +1 -1
  191. package/dist/genesys-webcomponents/{p-2557f2c8.entry.js → p-11af17f2.entry.js} +1 -1
  192. package/dist/genesys-webcomponents/{p-c2eefb66.entry.js → p-164cbe2d.entry.js} +1 -1
  193. package/dist/genesys-webcomponents/{p-2d76c964.entry.js → p-183ebc76.entry.js} +1 -1
  194. package/dist/genesys-webcomponents/{p-f1728f9f.entry.js → p-1b170b63.entry.js} +1 -1
  195. package/dist/genesys-webcomponents/{p-aadb8610.entry.js → p-1c4a2a1c.entry.js} +1 -1
  196. package/dist/genesys-webcomponents/{p-a2c4ca76.entry.js → p-1f3e0cea.entry.js} +1 -1
  197. package/dist/genesys-webcomponents/{p-18e231bd.entry.js → p-207ba8d5.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-19dede15.entry.js → p-23171357.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-eb7155e6.entry.js → p-2c542005.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/{p-8f199c25.entry.js → p-2e073447.entry.js} +1 -1
  201. package/dist/genesys-webcomponents/{p-1af6765a.entry.js → p-34505fdc.entry.js} +1 -1
  202. package/dist/genesys-webcomponents/{p-b4cf8450.entry.js → p-36446966.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/{p-cd7b7d4a.entry.js → p-37e1b433.entry.js} +1 -1
  204. package/dist/genesys-webcomponents/{p-e9ba0330.entry.js → p-41dd7efe.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-2c6963dd.entry.js → p-436839a1.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-91fea2ec.entry.js → p-444a5df9.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/{p-c4cb2189.entry.js → p-445107bf.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-b4b55544.entry.js → p-45c42eca.entry.js} +1 -1
  209. package/dist/genesys-webcomponents/{p-b2a6b3df.entry.js → p-51696fd4.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/{p-af6ed41e.entry.js → p-52704a37.entry.js} +1 -1
  211. package/dist/genesys-webcomponents/{p-a3ffc4ef.entry.js → p-52de21b5.entry.js} +1 -1
  212. package/dist/genesys-webcomponents/p-5a657bbc.entry.js +1 -0
  213. package/dist/genesys-webcomponents/{p-910440d0.entry.js → p-5de076c5.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/p-5e1c9998.entry.js +1 -0
  215. package/dist/genesys-webcomponents/{p-281d3798.entry.js → p-5eee572e.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-f45f309e.js → p-60a50d43.js} +1 -1
  217. package/dist/genesys-webcomponents/p-65c72c30.entry.js +1 -0
  218. package/dist/genesys-webcomponents/{p-c8bfd350.entry.js → p-665596a4.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-2769acf5.entry.js → p-69501693.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/{p-5146effa.entry.js → p-6bb263db.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-4473ca2c.entry.js → p-772098d0.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-51bd4827.entry.js → p-78b2275c.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-82abd855.entry.js → p-78d84998.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-ad55fd59.entry.js → p-7904b3fd.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-94de49a3.entry.js → p-79fbe8e0.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-039d12ce.entry.js → p-7a135697.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-04592975.entry.js → p-7ca55c80.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-e08b27fd.entry.js → p-8066476e.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-b3dd85cb.entry.js → p-82adf097.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-0a774eb1.entry.js → p-84b54a2f.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-b3924924.entry.js → p-857815d7.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-072cd687.entry.js → p-8aeb5e21.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-a7512f90.entry.js → p-8c253e0e.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-03f9deb4.entry.js → p-8d6953cd.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-3b197a3e.entry.js → p-8eaf5391.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-18ba20e0.entry.js → p-9220bd29.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-66b2079b.entry.js → p-983a999c.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-86650ad8.entry.js → p-98b0d772.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-d36a8c0e.entry.js → p-9de59cfa.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-90118831.entry.js → p-9deee030.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-72fca53a.entry.js → p-a255e23a.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-d3be26e7.entry.js → p-a31b5c94.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-bd98f55e.entry.js → p-a98a27ea.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-71d1889a.entry.js → p-ac3b69fa.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-137e6a6f.entry.js → p-b1b47734.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-e55db295.entry.js → p-b35fcc0e.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-e61d595d.entry.js → p-b3dc16e3.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-6f048c3c.entry.js → p-bc6b4ae4.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-fb6befd3.entry.js → p-bd633b17.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-187cf135.entry.js → p-bdfcd4db.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/p-beaf804b.entry.js +1 -0
  252. package/dist/genesys-webcomponents/{p-e94b0b9e.entry.js → p-bf7644f8.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-c4d16e6e.entry.js → p-c36d1b5a.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-740fa73f.entry.js → p-c3a10929.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-f3c902e8.entry.js → p-c4b8e38d.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-cda121c5.entry.js → p-ce7c9d60.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-f5ba0f25.entry.js → p-d368a948.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-591d62c0.entry.js → p-d3922e0d.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-d2545569.entry.js → p-d4e792cd.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-734715b7.entry.js → p-e3dfe5d3.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-06ddd0c2.entry.js → p-e5c64958.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-275d1672.entry.js → p-eaf65c90.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/p-eb29dca1.entry.js +1 -0
  264. package/dist/genesys-webcomponents/{p-3d22aa9e.entry.js → p-ecbe0963.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-1bfffd8d.entry.js → p-f1b51ca5.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-bd71efdf.entry.js → p-f6f69e46.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/p-fa3a24f2.entry.js +1 -0
  268. package/dist/genesys-webcomponents/{p-c89d789e.entry.js → p-fb351660.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-7dbec97e.entry.js → p-fb69efcf.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-2be5abf7.entry.js → p-fca8d502.entry.js} +1 -1
  271. package/dist/stencil-wrapper.js +1 -1
  272. package/dist/types/components/beta/gux-tooltip-base/gux-tooltip-base.d.ts +46 -0
  273. package/dist/types/components/beta/gux-tooltip-beta/gux-tooltip-types.d.ts +1 -0
  274. package/dist/types/components/beta/gux-tooltip-beta/gux-tooltip.d.ts +29 -0
  275. package/dist/types/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.d.ts +2 -2
  276. package/dist/types/components.d.ts +74 -0
  277. package/dist/types/stencil-wrapper.d.ts +1 -1
  278. package/package.json +11 -11
  279. package/dist/genesys-webcomponents/p-588202e8.entry.js +0 -1
  280. package/dist/genesys-webcomponents/p-62ac455d.entry.js +0 -1
  281. package/dist/genesys-webcomponents/p-a1ad9f13.entry.js +0 -1
  282. package/dist/genesys-webcomponents/p-d6134de1.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as n,h as e,g as a}from"./p-deca7631.js";import{t}from"./p-f45f309e.js";import{O as i}from"./p-d6edbaeb.js";import{h as o}from"./p-324b23f3.js";const r=class{constructor(e){n(this,e),this.hasCallToAction=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action")}renderCallToActionSlot(){if(this.hasCallToAction)return e("gux-button-slot",{accent:"primary"},e("slot",{name:"call-to-action"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action")}render(){return e("div",{class:"gux-container"},e("div",{class:"gux-image"},e("slot",{name:"image"})),e("div",{class:"gux-message"},e("slot",{name:"primary-message"})),e("div",{class:"gux-guidance"},e("slot",{name:"additional-guidance"})),this.renderCallToActionSlot())}get root(){return a(this)}};(function(n,e,a,t){var i,o=arguments.length,r=o<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,a,t);else for(var s=n.length-1;s>=0;s--)(i=n[s])&&(r=(o<3?i(r):o>3?i(e,a,r):i(e,a))||r);o>3&&r&&Object.defineProperty(e,a,r)})([i({childList:!0,subtree:!0})],r.prototype,"onMutation",null),r.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n background-color: var(--gse-ui-blankState-backgroundColor);\n border-radius: var(--gse-ui-blankState-borderRadius);\n}\n.gux-container .gux-image {\n padding-bottom: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-bottom: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-bottom: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-lg);\n height: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-sm);\n height: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{r as gux_blank_state}
1
+ import{r as n,h as e,g as a}from"./p-deca7631.js";import{t}from"./p-60a50d43.js";import{O as i}from"./p-d6edbaeb.js";import{h as o}from"./p-324b23f3.js";const r=class{constructor(e){n(this,e),this.hasCallToAction=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action")}renderCallToActionSlot(){if(this.hasCallToAction)return e("gux-button-slot",{accent:"primary"},e("slot",{name:"call-to-action"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action")}render(){return e("div",{class:"gux-container"},e("div",{class:"gux-image"},e("slot",{name:"image"})),e("div",{class:"gux-message"},e("slot",{name:"primary-message"})),e("div",{class:"gux-guidance"},e("slot",{name:"additional-guidance"})),this.renderCallToActionSlot())}get root(){return a(this)}};(function(n,e,a,t){var i,o=arguments.length,r=o<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(n,e,a,t);else for(var s=n.length-1;s>=0;s--)(i=n[s])&&(r=(o<3?i(r):o>3?i(e,a,r):i(e,a))||r);o>3&&r&&Object.defineProperty(e,a,r)})([i({childList:!0,subtree:!0})],r.prototype,"onMutation",null),r.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n background-color: var(--gse-ui-blankState-backgroundColor);\n border-radius: var(--gse-ui-blankState-borderRadius);\n}\n.gux-container .gux-image {\n padding-bottom: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-bottom: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-bottom: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-lg);\n height: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-sm);\n height: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{r as gux_blank_state}
@@ -1 +1 @@
1
- import{r as o,h as i,g as e}from"./p-deca7631.js";import{t as r}from"./p-f45f309e.js";import{b as t}from"./p-e10cb032.js";import"./p-0962dd7a.js";const c={clickToCopy:"Click to Copy",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},a=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.copyButton.matches(":focus-visible")&&(this.tooltipContent="enterToCopy")}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"badge-x";case"copySuccess":return"badge-check"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await t(this.root,c)}render(){return i("button",{class:"gux-copy-to-clipboard-wrapper",ref:o=>this.copyButton=o,onClick:this.onCopyToClipboard.bind(this)},i("div",{class:"gux-copy-content"},i("slot",{name:"content"}),i("gux-icon",{"icon-name":"copy",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};a.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name=copy]{flex-shrink:0;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding);visibility:hidden;background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip .gux-tooltip-content>*{vertical-align:middle}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-check]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-x]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}";export{a as gux_copy_to_clipboard}
1
+ import{r as o,h as i,g as e}from"./p-deca7631.js";import{t as r}from"./p-60a50d43.js";import{b as t}from"./p-e10cb032.js";import"./p-0962dd7a.js";const c={clickToCopy:"Click to Copy",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},a=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.copyButton.matches(":focus-visible")&&(this.tooltipContent="enterToCopy")}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"badge-x";case"copySuccess":return"badge-check"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await t(this.root,c)}render(){return i("button",{class:"gux-copy-to-clipboard-wrapper",ref:o=>this.copyButton=o,onClick:this.onCopyToClipboard.bind(this)},i("div",{class:"gux-copy-content"},i("slot",{name:"content"}),i("gux-icon",{"icon-name":"copy",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};a.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name=copy]{flex-shrink:0;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding);visibility:hidden;background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip .gux-tooltip-content>*{vertical-align:middle}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-check]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-x]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}";export{a as gux_copy_to_clipboard}
@@ -1 +1 @@
1
- import{r as e,h as o,H as t,g as r}from"./p-deca7631.js";import{c as i,o as a}from"./p-16f3da0d.js";import{O as l}from"./p-d6edbaeb.js";import{p as s}from"./p-28f55159.js";import{h as n}from"./p-324b23f3.js";import{G as g,a as d,g as u,v as C}from"./p-e5766b80.js";import{t as p}from"./p-f45f309e.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const h=class{constructor(o){e(this,o),this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),p(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},o("div",{class:"gux-form-field-container"},o("div",{class:"gux-input-label"},o("div",{class:"gux-input"},o("slot",{name:"input",onSlotchange:()=>this.setInput()})),o("div",{class:"gux-label","aria-disabled":this.disabled?"true":"false"},o("slot",{name:"label"}),o(g,{show:this.hasError},o("slot",{name:"error"})),o(d,{show:!this.hasError&&this.hasHelp},o("slot",{name:"help"}))))))}setInput(){this.input=u(this.root,'input[type="radio"][slot="input"]'),s(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),C(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,a=arguments.length,l=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(o,t,l):i(o,t))||l);a>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],h.prototype,"onMutation",null),h.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{background:var(--gse-ui-radioButton-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{background:var(--gse-ui-radioButton-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-radioButton-helper-gap);padding-top:4px}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;width:var(--gse-ui-radioButton-icon-width);height:var(--gse-ui-radioButton-icon-height);margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){border-radius:var(--gse-ui-radioButton-focus-borderRadius);outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}::slotted(input[type=radio]:not(:checked))::before{background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{background:var(--gse-ui-radioButton-icon-hover-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{background:var(--gse-ui-radioButton-icon-hover-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked)::before{background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);color:var(--gse-ui-radioButton-label-foregroundColor);vertical-align:middle}";export{h as gux_form_field_radio}
1
+ import{r as e,h as o,H as t,g as r}from"./p-deca7631.js";import{c as i,o as a}from"./p-16f3da0d.js";import{O as l}from"./p-d6edbaeb.js";import{p as s}from"./p-28f55159.js";import{h as n}from"./p-324b23f3.js";import{G as d,a as g,g as u,v as C}from"./p-e5766b80.js";import{t as p}from"./p-60a50d43.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const h=class{constructor(o){e(this,o),this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),p(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},o("div",{class:"gux-form-field-container"},o("div",{class:"gux-input-label"},o("div",{class:"gux-input"},o("slot",{name:"input",onSlotchange:()=>this.setInput()})),o("div",{class:"gux-label","aria-disabled":this.disabled?"true":"false"},o("slot",{name:"label"}),o(d,{show:this.hasError},o("slot",{name:"error"})),o(g,{show:!this.hasError&&this.hasHelp},o("slot",{name:"help"}))))))}setInput(){this.input=u(this.root,'input[type="radio"][slot="input"]'),s(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),C(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,a=arguments.length,l=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(o,t,l):i(o,t))||l);a>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],h.prototype,"onMutation",null),h.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{background:var(--gse-ui-radioButton-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{background:var(--gse-ui-radioButton-icon-error-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-radioButton-helper-gap);padding-top:4px}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;width:var(--gse-ui-radioButton-icon-width);height:var(--gse-ui-radioButton-icon-height);margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){border-radius:var(--gse-ui-radioButton-focus-borderRadius);outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}::slotted(input[type=radio]:not(:checked))::before{background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{background:var(--gse-ui-radioButton-icon-hover-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{background:var(--gse-ui-radioButton-icon-hover-foregroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked)::before{background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);color:var(--gse-ui-radioButton-label-foregroundColor);vertical-align:middle}";export{h as gux_form_field_radio}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineCustomElements } from '../dist/loader';
9
9
  // Value templated out during build process (see scripts/wrap-stencil.js)
10
- export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.21.2-116/genesys-webcomponents/';
10
+ export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.22.0-121/genesys-webcomponents/';
11
11
  // Default domain to load assets from
12
12
  const DEFAULT_DOMAIN = 'app.mypurecloud.com';
13
13
  // List of Genesys UI domains
@@ -0,0 +1,46 @@
1
+ import { JSX } from '../../../stencil-public-runtime';
2
+ import { Placement } from '@floating-ui/dom';
3
+ import { GuxTooltipAccent } from '../gux-tooltip-beta/gux-tooltip-types';
4
+ /**
5
+ * @slot - Content of the tooltip
6
+ */
7
+ export declare class GuxTooltipBase {
8
+ private pointerenterHandler;
9
+ private pointerleaveHandler;
10
+ private focusinHandler;
11
+ private focusoutHandler;
12
+ private forElementListeners;
13
+ private cleanupUpdatePosition;
14
+ private id;
15
+ private root;
16
+ tooltipId: string;
17
+ /**
18
+ * Indicates the element the popover should anchor to.
19
+ */
20
+ forElement: HTMLElement;
21
+ /**
22
+ * Placement of the tooltip. Default is bottom-start
23
+ */
24
+ placement: Placement;
25
+ offsetX: number;
26
+ offsetY: number;
27
+ accent: GuxTooltipAccent;
28
+ /**
29
+ * If tooltip is shown or not
30
+ */
31
+ isShown: boolean;
32
+ handleKeyDown(event: KeyboardEvent): void;
33
+ showTooltip(): Promise<void>;
34
+ hideTooltip(): Promise<void>;
35
+ private runUpdatePosition;
36
+ private updatePosition;
37
+ private show;
38
+ private hide;
39
+ private setForElement;
40
+ private disconnectForElement;
41
+ private updateForElement;
42
+ connectedCallback(): void;
43
+ componentWillLoad(): void;
44
+ disconnectedCallback(): void;
45
+ render(): JSX.Element;
46
+ }
@@ -0,0 +1 @@
1
+ export type GuxTooltipAccent = 'light' | 'dark';
@@ -0,0 +1,29 @@
1
+ import { JSX } from '../../../stencil-public-runtime';
2
+ import { Placement } from '@floating-ui/dom';
3
+ import { GuxTooltipAccent } from './gux-tooltip-types';
4
+ /**
5
+ * @slot - Content of the tooltip
6
+ */
7
+ export declare class GuxTooltip {
8
+ private root;
9
+ private baseTooltip;
10
+ private id;
11
+ private forElement;
12
+ /**
13
+ * Indicates the id of the element the popover should anchor to. (If not supplied the parent element is used)
14
+ */
15
+ for: string;
16
+ /**
17
+ * Placement of the tooltip. Default is bottom-start
18
+ */
19
+ placement: Placement;
20
+ accent: GuxTooltipAccent;
21
+ showTooltip(): Promise<void>;
22
+ hideTooltip(): Promise<void>;
23
+ private updateForElement;
24
+ componentWillLoad(): void;
25
+ connectedCallback(): void;
26
+ private getForElement;
27
+ private logForAttributeError;
28
+ render(): JSX.Element;
29
+ }
@@ -11,9 +11,9 @@ export declare class GuxFormField {
11
11
  private label;
12
12
  private disabledObserver;
13
13
  private requiredObserver;
14
+ private containerElement;
14
15
  private progressElement;
15
- private sliderTooltip;
16
- private sliderTooltipContainer;
16
+ private tooltipElement;
17
17
  private root;
18
18
  displayUnits: string;
19
19
  valueInTooltip: boolean;
@@ -48,6 +48,7 @@ import { GuxClockType, GuxISOHourMinute, GuxMinuteInterval, GuxMinuteStep } from
48
48
  import { GuxToastTypes } from "./components/stable/gux-toast/gux-toast.types";
49
49
  import { GuxToggleLabelPosition } from "./components/stable/gux-toggle/gux-toggle.types";
50
50
  import { GuxTooltipAccent } from "./components/stable/gux-tooltip/gux-tooltip-types";
51
+ import { GuxTooltipAccent as GuxTooltipAccent1 } from "./components/beta/gux-tooltip-beta/gux-tooltip-types";
51
52
  export { GuxAccordionSectionArrowPosition, GuxAccordionSectionContentLayout } from "./components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.types";
52
53
  export { GuxActionButtonAccent, GuxActionButtonType } from "./components/stable/gux-action-button/gux-action-button.types";
53
54
  export { GuxAnnouncePoliteness } from "./components/beta/gux-announce/gux-announce.types";
@@ -91,6 +92,7 @@ export { GuxClockType, GuxISOHourMinute, GuxMinuteInterval, GuxMinuteStep } from
91
92
  export { GuxToastTypes } from "./components/stable/gux-toast/gux-toast.types";
92
93
  export { GuxToggleLabelPosition } from "./components/stable/gux-toggle/gux-toggle.types";
93
94
  export { GuxTooltipAccent } from "./components/stable/gux-tooltip/gux-tooltip-types";
95
+ export { GuxTooltipAccent as GuxTooltipAccent1 } from "./components/beta/gux-tooltip-beta/gux-tooltip-types";
94
96
  export namespace Components {
95
97
  interface GuxAccordion {
96
98
  "singleOpenSection": boolean;
@@ -1106,6 +1108,35 @@ export namespace Components {
1106
1108
  "placement": Placement;
1107
1109
  "showTooltip": () => Promise<void>;
1108
1110
  }
1111
+ interface GuxTooltipBaseBeta {
1112
+ "accent": GuxTooltipAccent1;
1113
+ /**
1114
+ * Indicates the element the popover should anchor to.
1115
+ */
1116
+ "forElement": HTMLElement;
1117
+ "hideTooltip": () => Promise<void>;
1118
+ "offsetX": number;
1119
+ "offsetY": number;
1120
+ /**
1121
+ * Placement of the tooltip. Default is bottom-start
1122
+ */
1123
+ "placement": Placement;
1124
+ "showTooltip": () => Promise<void>;
1125
+ "tooltipId": string;
1126
+ }
1127
+ interface GuxTooltipBeta {
1128
+ "accent": GuxTooltipAccent1;
1129
+ /**
1130
+ * Indicates the id of the element the popover should anchor to. (If not supplied the parent element is used)
1131
+ */
1132
+ "for": string;
1133
+ "hideTooltip": () => Promise<void>;
1134
+ /**
1135
+ * Placement of the tooltip. Default is bottom-start
1136
+ */
1137
+ "placement": Placement;
1138
+ "showTooltip": () => Promise<void>;
1139
+ }
1109
1140
  interface GuxTooltipTitle {
1110
1141
  "setHideTooltip": () => Promise<void>;
1111
1142
  "setShowTooltip": () => Promise<void>;
@@ -2054,6 +2085,18 @@ declare global {
2054
2085
  prototype: HTMLGuxTooltipElement;
2055
2086
  new (): HTMLGuxTooltipElement;
2056
2087
  };
2088
+ interface HTMLGuxTooltipBaseBetaElement extends Components.GuxTooltipBaseBeta, HTMLStencilElement {
2089
+ }
2090
+ var HTMLGuxTooltipBaseBetaElement: {
2091
+ prototype: HTMLGuxTooltipBaseBetaElement;
2092
+ new (): HTMLGuxTooltipBaseBetaElement;
2093
+ };
2094
+ interface HTMLGuxTooltipBetaElement extends Components.GuxTooltipBeta, HTMLStencilElement {
2095
+ }
2096
+ var HTMLGuxTooltipBetaElement: {
2097
+ prototype: HTMLGuxTooltipBetaElement;
2098
+ new (): HTMLGuxTooltipBetaElement;
2099
+ };
2057
2100
  interface HTMLGuxTooltipTitleElement extends Components.GuxTooltipTitle, HTMLStencilElement {
2058
2101
  }
2059
2102
  var HTMLGuxTooltipTitleElement: {
@@ -2189,6 +2232,8 @@ declare global {
2189
2232
  "gux-toggle": HTMLGuxToggleElement;
2190
2233
  "gux-toggle-slider": HTMLGuxToggleSliderElement;
2191
2234
  "gux-tooltip": HTMLGuxTooltipElement;
2235
+ "gux-tooltip-base-beta": HTMLGuxTooltipBaseBetaElement;
2236
+ "gux-tooltip-beta": HTMLGuxTooltipBetaElement;
2192
2237
  "gux-tooltip-title": HTMLGuxTooltipTitleElement;
2193
2238
  "gux-truncate": HTMLGuxTruncateElement;
2194
2239
  }
@@ -3275,6 +3320,31 @@ declare namespace LocalJSX {
3275
3320
  */
3276
3321
  "placement"?: Placement;
3277
3322
  }
3323
+ interface GuxTooltipBaseBeta {
3324
+ "accent"?: GuxTooltipAccent1;
3325
+ /**
3326
+ * Indicates the element the popover should anchor to.
3327
+ */
3328
+ "forElement"?: HTMLElement;
3329
+ "offsetX"?: number;
3330
+ "offsetY"?: number;
3331
+ /**
3332
+ * Placement of the tooltip. Default is bottom-start
3333
+ */
3334
+ "placement"?: Placement;
3335
+ "tooltipId"?: string;
3336
+ }
3337
+ interface GuxTooltipBeta {
3338
+ "accent"?: GuxTooltipAccent1;
3339
+ /**
3340
+ * Indicates the id of the element the popover should anchor to. (If not supplied the parent element is used)
3341
+ */
3342
+ "for"?: string;
3343
+ /**
3344
+ * Placement of the tooltip. Default is bottom-start
3345
+ */
3346
+ "placement"?: Placement;
3347
+ }
3278
3348
  interface GuxTooltipTitle {
3279
3349
  }
3280
3350
  interface GuxTruncate {
@@ -3406,6 +3476,8 @@ declare namespace LocalJSX {
3406
3476
  "gux-toggle": GuxToggle;
3407
3477
  "gux-toggle-slider": GuxToggleSlider;
3408
3478
  "gux-tooltip": GuxTooltip;
3479
+ "gux-tooltip-base-beta": GuxTooltipBaseBeta;
3480
+ "gux-tooltip-beta": GuxTooltipBeta;
3409
3481
  "gux-tooltip-title": GuxTooltipTitle;
3410
3482
  "gux-truncate": GuxTruncate;
3411
3483
  }
@@ -3546,6 +3618,8 @@ declare module "@stencil/core" {
3546
3618
  "gux-toggle": LocalJSX.GuxToggle & JSXBase.HTMLAttributes<HTMLGuxToggleElement>;
3547
3619
  "gux-toggle-slider": LocalJSX.GuxToggleSlider & JSXBase.HTMLAttributes<HTMLGuxToggleSliderElement>;
3548
3620
  "gux-tooltip": LocalJSX.GuxTooltip & JSXBase.HTMLAttributes<HTMLGuxTooltipElement>;
3621
+ "gux-tooltip-base-beta": LocalJSX.GuxTooltipBaseBeta & JSXBase.HTMLAttributes<HTMLGuxTooltipBaseBetaElement>;
3622
+ "gux-tooltip-beta": LocalJSX.GuxTooltipBeta & JSXBase.HTMLAttributes<HTMLGuxTooltipBetaElement>;
3549
3623
  "gux-tooltip-title": LocalJSX.GuxTooltipTitle & JSXBase.HTMLAttributes<HTMLGuxTooltipTitleElement>;
3550
3624
  "gux-truncate": LocalJSX.GuxTruncate & JSXBase.HTMLAttributes<HTMLGuxTruncateElement>;
3551
3625
  }
@@ -1,2 +1,2 @@
1
- export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.21.2-116/genesys-webcomponents/";
1
+ export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.22.0-121/genesys-webcomponents/";
2
2
  export declare function registerElements(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-components",
3
- "version": "4.21.2",
3
+ "version": "4.22.0",
4
4
  "description": "Common webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -67,11 +67,11 @@
67
67
  "sortablejs": "^1.15.0"
68
68
  },
69
69
  "devDependencies": {
70
- "@babel/core": "^7.23.2",
71
- "@babel/preset-env": "^7.23.2",
70
+ "@babel/core": "^7.24.0",
71
+ "@babel/preset-env": "^7.24.0",
72
72
  "@stencil/core": "4.5.0",
73
73
  "@stencil/react-output-target": "^0.5.3",
74
- "@stencil/sass": "^3.0.7",
74
+ "@stencil/sass": "^3.0.10",
75
75
  "@stencil/utils": "0.0.5",
76
76
  "@types/google-libphonenumber": "^7.4.29",
77
77
  "@types/jest": "^27.5.2",
@@ -81,16 +81,16 @@
81
81
  "@types/sortablejs": "^1.15.4",
82
82
  "@typescript-eslint/eslint-plugin": "^6.21.0",
83
83
  "@typescript-eslint/parser": "^6.21.0",
84
- "axe-core": "^4.8.2",
84
+ "axe-core": "^4.8.4",
85
85
  "axe-live": "^1.0.1",
86
- "eslint": "^8.56.0",
86
+ "eslint": "^8.57.0",
87
87
  "eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
88
88
  "eslint-config-prettier": "^9.1.0",
89
89
  "file-loader": "^6.2.0",
90
90
  "genesys-spark-tokens": "file:../genesys-spark-tokens",
91
91
  "glob": "^10.3.0",
92
92
  "handlebars": "^4.7.8",
93
- "inquirer": "^9.2.7",
93
+ "inquirer": "^9.2.15",
94
94
  "jest": "^27.5.1",
95
95
  "jest-cli": "^27.5.1",
96
96
  "jest-config": "^27.5.1",
@@ -103,7 +103,7 @@
103
103
  "mutation-observer": "^1.0.3",
104
104
  "node-fetch": "^3.3.2",
105
105
  "npm-run-all": "^4.1.5",
106
- "postcss-html": "^1.5.0",
106
+ "postcss-html": "^1.6.0",
107
107
  "postcss-less": "^6.0.0",
108
108
  "postcss-scss": "^4.0.9",
109
109
  "prettier": "^3.2.5",
@@ -121,10 +121,10 @@
121
121
  "stylelint-config-recess-order": "^4.6.0",
122
122
  "stylelint-config-standard": "^36.0.0",
123
123
  "stylelint-scss": "^6.1.0",
124
- "stylelint-use-logical": "^2.1.0",
124
+ "stylelint-use-logical": "^2.1.1",
125
125
  "stylelint-use-logical-spec": "^5.0.1",
126
- "svgo": "^3.0.2",
127
- "ts-loader": "^9.5.0",
126
+ "svgo": "^3.2.0",
127
+ "ts-loader": "^9.5.1",
128
128
  "typescript": "^4.9.5",
129
129
  "weekstart": "^2.0.0",
130
130
  "xmldom": "^0.6.0"
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as i,g as r}from"./p-deca7631.js";import{c as o,o as a}from"./p-16f3da0d.js";import{O as n}from"./p-d6edbaeb.js";import{o as s}from"./p-37bfd195.js";import{p as l}from"./p-28f55159.js";import{h as g}from"./p-324b23f3.js";import{G as u,a as h,g as d,v as p,b as x}from"./p-e5766b80.js";import{a as f,G as c}from"./p-2b468e4b.js";import{t as b}from"./p-f45f309e.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const m=class{constructor(t){e(this,t),this.displayUnits=void 0,this.valueInTooltip=void 0,this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.value=void 0,this.active=void 0,this.valueWatcherId=void 0}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help"),b(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition()}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(i,{class:{"gux-active":this.active}},t(f,{labelPosition:this.computedLabelPosition},t(c,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},this.renderRangeInput(),t(u,{show:this.hasError},t("slot",{name:"error"})),t(h,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=d(this.root,'input[type="range"][slot="input"]'),l(this.input),this.disabled=o(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=a(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled}},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),t("div",{class:{"gux-range-tooltip-container":!0,"gux-hidden":!this.valueInTooltip},ref:e=>this.sliderTooltipContainer=e},t("div",{class:"gux-range-tooltip",ref:e=>this.sliderTooltip=e},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){const e=Number(this.input.value||0),t=Number(this.input.min||0),i=(e-t)/(Number(this.input.max||100)-t)*100;this.sliderTooltip&&(this.sliderTooltip.style.left=i-i/8/this.sliderTooltipContainer.offsetWidth*100+"%"),this.progressElement.style.width=`${i}%`}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return r(this)}};(function(e,t,i,r){var o,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,i,n):o(t,i))||n);a>3&&n&&Object.defineProperty(t,i,n)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;width:100%;width:100%;height:var(--gse-ui-slider-bar-height);margin:calc(var(--gse-ui-slider-handle-width) / 2) 0;margin-top:calc(-1 * (var(--gse-ui-slider-handle-width) / 2 + var(--gse-ui-slider-bar-height)));-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-slider-gap);place-content:stretch flex-start;align-items:center;height:32px;font-size:var(--gse-ui-slider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-slider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{width:100%;height:var(--gse-ui-slider-bar-height);margin:6px 0;background:var(--gse-ui-slider-bar-default-backgroundColor);border-radius:var(--gse-ui-slider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:var(--gse-ui-slider-bar-height);background-color:var(--gse-ui-slider-bar-selected-backgroundColor);border-radius:var(--gse-ui-slider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin:0 0 0 var(--gux-spacing-medium);font-family:var(--gse-ui-slider-label-text-fontFamily);font-size:var(--gse-ui-slider-label-text-fontSize);font-weight:var(--gse-ui-slider-label-text-fontWeight);line-height:var(--gse-ui-slider-label-text-lineHeight);text-align:right}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container{position:absolute;top:-50px;width:100%;height:32px;pointer-events:none}.gux-input-and-error-container .gux-range-tooltip-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip{font-family:var(--gse-core-typography-body-sm-fontFamily), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-typography-body-sm-fontSize);line-height:var(--gse-core-typography-body-sm-lineHeight);font-weight:var(--gse-core-fontWeight-regular);position:absolute;z-index:var(--gse-semantic-zIndex-tooltip);display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow-x) var(--gse-ui-tooltip-boxShadow-y) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after,.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{position:absolute;top:100%;left:50%;width:0;height:0;pointer-events:none;content:" ";border:solid transparent}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::after{margin-left:-4px;border-width:4px;border-top-color:var(--gse-ui-tooltip-light-backgroundColor)}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:var(--gse-ui-tooltip-light-backgroundColor)}';export{m as gux_form_field_range}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as a}from"./p-deca7631.js";import{f as n,a as r}from"./p-b3a7a431.js";import{c as o}from"./p-9125cc36.js";import{g as i,a as s,b as d}from"./p-e10cb032.js";import{a as u}from"./p-ffaadf62.js";import{l}from"./p-9d734bbd.js";import{s as c}from"./p-373c5d93.js";import"./p-0962dd7a.js";function g(e,t){return o(e.toLocaleDateString(t,{year:"numeric",month:"long"}))}const h={previousMonth:"Previous month: {localizedPreviousMonthAndYear}",nextMonth:"Next month: {localizedNextMonthAndYear}"},x=class{constructor(t){e(this,t),this.locale="en",this.MONTH_DATE_COUNT=42,this.focusedValue=void 0,this.minValue=void 0,this.maxValue=void 0}get slottedInput(){return this.root.querySelector('input[type="date"]')}async componentWillLoad(){this.slottedInput||l(this.root,'You must slot a date input element like so: input[type="date"].'),this.locale=i(this.root);const e=this.slottedInput.getAttribute("start-day-of-week");(null==e?void 0:e.length)&&(this.startDayOfWeek=parseInt(e,10)),this.startDayOfWeek=this.startDayOfWeek||s(this.locale),this.i18n=await d(this.root,h),this.slottedInput.value&&(this.focusedValue=n(this.slottedInput.value)),this.slottedInput.min&&(this.minValue=new Date(this.slottedInput.min),this.minValue.setHours(0,0,0,0)),this.slottedInput.max&&(this.maxValue=new Date(this.slottedInput.max),this.maxValue.setHours(0,0,0,0))}onDateClick(e){this.isInvalidDate(e)||(this.focusedValue=new Date(e.getTime()),this.slottedInput.value=r(e),c(this.root,"input"))}setDateAfterArrowKeyPress(e,t){e.preventDefault(),this.focusedValue=new Date(this.getFocusedValue().getFullYear(),this.getFocusedValue().getMonth(),this.getFocusedValue().getDate()+t,0,0,0),u((()=>{this.focusDate()}))}focusDate(){const e=this.root.shadowRoot.querySelector(`.gux-content-date[data-date="${this.focusedValue.getTime()}"]`);e&&e.focus()}onKeyDown(e){switch(e.key){case" ":break;case"Enter":e.preventDefault(),this.onDateClick(this.getFocusedValue()),u((()=>{this.focusDate()}));break;case"ArrowDown":this.setDateAfterArrowKeyPress(e,7);break;case"ArrowUp":this.setDateAfterArrowKeyPress(e,-7);break;case"ArrowLeft":this.setDateAfterArrowKeyPress(e,-1);break;case"ArrowRight":this.setDateAfterArrowKeyPress(e,1);break;case"PageUp":e.preventDefault(),this.setNewFocusedMonth(1),u((()=>{this.focusDate()}));break;case"PageDown":e.preventDefault(),this.setNewFocusedMonth(-1),u((()=>{this.focusDate()}))}}isInvalidDate(e){return this.minValue&&e.getTime()<=this.minValue.getTime()||this.maxValue&&e.getTime()>this.maxValue.getTime()}getMonthDays(){var e,t;const a=(n=this.getFocusedValue(),new Date(n.getFullYear(),n.getMonth(),1,0,0,0));var n;const r=[];let o={dates:[]},i=0;const s=a.getMonth(),d=this.getSelectedValue(),u=function(e,t,a){const n=new Date(t,e,1,0,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(s,new Date(a.getTime()).getFullYear(),this.startDayOfWeek);for(let a=0;a<this.MONTH_DATE_COUNT+1;a+=1){const a=d.getTime()===u.getTime()&&void 0!==this.focusedValue;i>0&&i%7==0&&(r.push(o),o={dates:[]});const n=this.isInvalidDate(u),l=(null===(e=this.getFocusedValue())||void 0===e?void 0:e.getTime())===u.getTime()&&(null===(t=this.getFocusedValue())||void 0===t?void 0:t.getTime())!==d.getTime(),c=new Date;o.dates.push({date:new Date(u),disabled:n,inCurrentMonth:s===u.getMonth()&&!n,selected:a&&d,focused:l,isCurrentDate:u.getDate()===c.getDate()&&u.getMonth()===c.getMonth()&&u.getFullYear()===c.getFullYear()}),i+=1,u.setDate(u.getDate()+1)}return r}getFocusedValue(){return this.focusedValue?this.focusedValue:this.getSelectedValue()}changeMonth(e){return new Date(this.getFocusedValue().getFullYear(),this.getFocusedValue().getMonth()+e,1,0,0,0)}setNewFocusedMonth(e){this.focusedValue=this.changeMonth(e)}getSelectedValue(){if(this.slottedInput.value)return n(this.slottedInput.value);const e=new Date;return e.setHours(0,0,0,0),e}renderHeader(){return t("div",{class:"gux-header"},t("button",{type:"button",class:"gux-left","aria-label":this.i18n("previousMonth",{localizedPreviousMonthAndYear:g(this.changeMonth(-1),this.locale)}),onClick:()=>this.setNewFocusedMonth(-1)},t("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})),t("span",{class:"gux-header-month-and-year"},g(this.getFocusedValue(),this.locale)),t("button",{type:"button",class:"gux-right","aria-label":this.i18n("nextMonth",{localizedNextMonthAndYear:g(this.changeMonth(1),this.locale)}),onClick:()=>this.setNewFocusedMonth(1)},t("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"})))}renderContent(){return t("div",null,t("div",{class:"gux-week-days"},function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,t%r.length));var r}(this.locale,this.startDayOfWeek).map((e=>t("div",{class:"gux-week-day"},e)))),t("div",{class:"gux-content"},this.getMonthDays().map((e=>t("div",{class:"gux-content-week"},e.dates.map((e=>t("div",{"data-date":e.date.getTime(),onClick:()=>this.onDateClick(e.date),role:"button","aria-current":e.selected?"true":"false",tabindex:e.selected||e.focused?"0":"-1",onKeyDown:e=>{this.onKeyDown(e)},"aria-disabled":e.disabled?"true":"false",class:{"gux-content-date":!0,"gux-disabled":e.disabled,"gux-current-month":e.inCurrentMonth,"gux-selected":e.selected,"gux-current-date":e.isCurrentDate}},t("span",{class:"gux-non-sr","aria-hidden":"true"},e.date.getDate()),t("span",{class:"gux-sr-only"},t("gux-date-beta",{datetime:e.date.toISOString(),format:"long"}))))))))))}render(){return t("div",{class:"gux-calendar-beta"},t("slot",null),this.renderHeader(),this.renderContent())}get root(){return a(this)}};x.style=".gux-calendar-beta{box-sizing:border-box;display:inline-flex;flex-direction:column;font-family:var(--gse-ui-calendarMenu-month-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-defaultText-fontSize);background:var(--gse-ui-calendarMenu-date-selected-foregroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius);box-shadow:rgba(34, 37, 41, 0.24) 0 2px 4px}.gux-calendar-beta .gux-header{display:flex;align-items:center;justify-content:space-between;height:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar-beta .gux-header .gux-header-month-and-year{width:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar-beta .gux-header .gux-left,.gux-calendar-beta .gux-header .gux-right{color:var(--gse-ui-calendarMenu-month-monthHeader-foregroundColor);cursor:pointer;background:none;border:none;outline:none}.gux-calendar-beta .gux-header .gux-left:focus-visible,.gux-calendar-beta .gux-header .gux-right:focus-visible{outline:2px solid #aac9ff;outline-offset:1px}.gux-calendar-beta .gux-header .gux-left gux-icon,.gux-calendar-beta .gux-header .gux-right gux-icon{width:16px;height:16px}.gux-calendar-beta .gux-week-days{padding-top:24px;padding-right:24px;padding-left:24px;font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);color:var(--gse-ui-calendarMenu-day-dayHeader-foregroundColor);text-align:center}.gux-calendar-beta .gux-week-days .gux-week-day{display:inline-block;width:var(--gse-ui-calendarMenu-day-date-size);height:16px;font-weight:var(--gse-ui-calendarMenu-day-header-fontWeight)}.gux-calendar-beta .gux-content{padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-core-color-cornflower-900);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar-beta .gux-content-week .gux-content-date{display:inline-block;width:var(--gse-ui-calendarMenu-day-date-size);height:var(--gse-ui-calendarMenu-day-input-height);font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-style:normal;font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:32px;color:var(--gse-core-color-cornflower-600);text-align:center;vertical-align:middle;border:none;outline:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar-beta .gux-content-week .gux-content-date.gux-current-month{color:var(--gse-ui-calendarMenu-month-default-foregroundColor);opacity:1}.gux-calendar-beta .gux-content-week .gux-content-date.gux-hidden{display:none}.gux-calendar-beta .gux-content-week .gux-content-date.gux-disabled{pointer-events:none}.gux-calendar-beta .gux-content-week .gux-content-date.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border:none;border-radius:var(--gse-ui-calendarMenu-month-borderRadius);outline:none}.gux-calendar-beta .gux-content-week .gux-content-date.gux-selected:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar-beta .gux-content-week .gux-content-date:hover{cursor:pointer;background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar-beta .gux-content-week .gux-content-date:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius);outline:var(--gse-semantic-focusRing-default-border-width) solid var(--gse-semantic-focusRing-default-border-color)}.gux-calendar-beta .gux-content-week .gux-content-date .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-calendar-beta .gux-content-week .gux-content-date.gux-current-date{font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight)}";export{x as gux_calendar_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as o,g as s}from"./p-deca7631.js";import{t as e}from"./p-f45f309e.js";const r=class{constructor(o){t(this,o)}componentWillLoad(){e(this.root)}render(){return o("span",{class:"gux-sr-only"},o("slot",null))}get root(){return s(this)}};r.style=".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}";export{r as gux_screen_reader_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as s,g as i}from"./p-deca7631.js";import{t as e}from"./p-f45f309e.js";import{b as r}from"./p-ffaadf62.js";const a=class{constructor(o){t(this,o),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",r((()=>{this.containerElement.innerText=t}))}componentWillLoad(){e(this.root)}render(){return o(s,{"aria-live":this.politeness},o("slot",null),o("div",{ref:t=>this.containerElement=t}))}get root(){return i(this)}};a.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{a as gux_announce_beta}