genesys-spark-components 4.0.0-beta.23 → 4.0.0-beta.24

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 (268) 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 +2 -2
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-badge.cjs.entry.js +68 -0
  8. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-column-manager-beta.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-context-menu-beta.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-popup.cjs.entry.js +19 -9
  55. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  79. package/dist/cjs/index-0d0fdb85.js +2 -2
  80. package/dist/cjs/loader.cjs.js +1 -1
  81. package/dist/cjs/{usage-4c4b807b.js → usage-350f4210.js} +1 -1
  82. package/dist/collection/collection-manifest.json +1 -1
  83. package/dist/collection/components/stable/gux-action-button/gux-action-button.css +1 -0
  84. package/dist/collection/components/stable/gux-badge/gux-badge.css +97 -0
  85. package/dist/collection/components/{beta → stable}/gux-badge/gux-badge.js +3 -28
  86. package/dist/collection/components/stable/gux-popup/gux-popup.css +1 -1
  87. package/dist/collection/components/stable/gux-popup/gux-popup.js +14 -8
  88. package/dist/collection/utils/dom/has-parent-element.js +4 -0
  89. package/dist/component-specs.json +14 -21
  90. package/dist/deploy-info.json +3 -3
  91. package/dist/esm/genesys-webcomponents.js +1 -1
  92. package/dist/esm/gux-accordion.entry.js +1 -1
  93. package/dist/esm/gux-action-button.entry.js +2 -2
  94. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  95. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  96. package/dist/esm/gux-announce-beta.entry.js +1 -1
  97. package/dist/esm/gux-badge.entry.js +64 -0
  98. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  99. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  100. package/dist/esm/gux-button-multi.entry.js +1 -1
  101. package/dist/esm/gux-button-slot.entry.js +1 -1
  102. package/dist/esm/gux-button.entry.js +1 -1
  103. package/dist/esm/gux-calendar.entry.js +1 -1
  104. package/dist/esm/gux-card.entry.js +1 -1
  105. package/dist/esm/gux-column-manager-beta.entry.js +1 -1
  106. package/dist/esm/gux-content-search.entry.js +1 -1
  107. package/dist/esm/gux-context-menu-beta.entry.js +1 -1
  108. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  109. package/dist/esm/gux-date-beta.entry.js +1 -1
  110. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  111. package/dist/esm/gux-datepicker.entry.js +1 -1
  112. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  113. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  114. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  115. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  116. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  117. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  118. package/dist/esm/gux-form-field-color.entry.js +1 -1
  119. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  120. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  121. package/dist/esm/gux-form-field-number_3.entry.js +1 -1
  122. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  123. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  124. package/dist/esm/gux-form-field-range.entry.js +1 -1
  125. package/dist/esm/gux-form-field-search.entry.js +1 -1
  126. package/dist/esm/gux-form-field-select.entry.js +1 -1
  127. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  128. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  129. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  130. package/dist/esm/gux-icon.entry.js +1 -1
  131. package/dist/esm/gux-inline-alert.entry.js +1 -1
  132. package/dist/esm/gux-list.entry.js +1 -1
  133. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  134. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  135. package/dist/esm/gux-modal.entry.js +1 -1
  136. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  137. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  138. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  139. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  140. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  141. package/dist/esm/gux-pagination.entry.js +1 -1
  142. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  143. package/dist/esm/gux-popover-list.entry.js +1 -1
  144. package/dist/esm/gux-popup.entry.js +20 -10
  145. package/dist/esm/gux-radial-loading.entry.js +1 -1
  146. package/dist/esm/gux-radial-progress.entry.js +1 -1
  147. package/dist/esm/gux-rating.entry.js +1 -1
  148. package/dist/esm/gux-region-icon.entry.js +1 -1
  149. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  150. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  151. package/dist/esm/gux-skip-navigation-list-beta.entry.js +1 -1
  152. package/dist/esm/gux-sort-control.entry.js +1 -1
  153. package/dist/esm/gux-switch.entry.js +1 -1
  154. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  155. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  156. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  157. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  158. package/dist/esm/gux-table.entry.js +1 -1
  159. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  160. package/dist/esm/gux-tabs.entry.js +1 -1
  161. package/dist/esm/gux-tag-beta.entry.js +1 -1
  162. package/dist/esm/gux-text-highlight.entry.js +1 -1
  163. package/dist/esm/gux-time-beta.entry.js +1 -1
  164. package/dist/esm/gux-time-picker.entry.js +1 -1
  165. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  166. package/dist/esm/gux-toast.entry.js +1 -1
  167. package/dist/esm/gux-toggle.entry.js +1 -1
  168. package/dist/esm/gux-tooltip.entry.js +1 -1
  169. package/dist/esm/index-0b66fe2c.js +2 -2
  170. package/dist/esm/loader.js +1 -1
  171. package/dist/esm/{usage-9ca50bf0.js → usage-144bdf70.js} +1 -1
  172. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  173. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  174. package/dist/genesys-webcomponents/{p-e21c88c6.entry.js → p-081aaf02.entry.js} +1 -1
  175. package/dist/genesys-webcomponents/{p-81697e5d.entry.js → p-149233e1.entry.js} +1 -1
  176. package/dist/genesys-webcomponents/{p-9b28f6e5.entry.js → p-152851c5.entry.js} +1 -1
  177. package/dist/genesys-webcomponents/{p-dd486f21.entry.js → p-16867376.entry.js} +1 -1
  178. package/dist/genesys-webcomponents/{p-ec8f3ed6.entry.js → p-186085f3.entry.js} +1 -1
  179. package/dist/genesys-webcomponents/p-1b35958d.entry.js +1 -0
  180. package/dist/genesys-webcomponents/{p-8634ab05.entry.js → p-1bcb53c0.entry.js} +1 -1
  181. package/dist/genesys-webcomponents/{p-3d288a53.entry.js → p-1cd54bb6.entry.js} +1 -1
  182. package/dist/genesys-webcomponents/{p-716b25a2.entry.js → p-2987698a.entry.js} +1 -1
  183. package/dist/genesys-webcomponents/p-2a1a57db.entry.js +1 -0
  184. package/dist/genesys-webcomponents/{p-ee832fca.entry.js → p-2abcbff8.entry.js} +1 -1
  185. package/dist/genesys-webcomponents/{p-4da16ea2.entry.js → p-2bc99e5e.entry.js} +1 -1
  186. package/dist/genesys-webcomponents/{p-9f283002.entry.js → p-2e256680.entry.js} +1 -1
  187. package/dist/genesys-webcomponents/{p-7f7700f8.entry.js → p-2eb21361.entry.js} +1 -1
  188. package/dist/genesys-webcomponents/{p-79ae493b.entry.js → p-37051105.entry.js} +1 -1
  189. package/dist/genesys-webcomponents/{p-38c0fd4a.entry.js → p-39af23ba.entry.js} +1 -1
  190. package/dist/genesys-webcomponents/{p-19480ff9.entry.js → p-3d6c91b4.entry.js} +1 -1
  191. package/dist/genesys-webcomponents/p-3f818cd5.entry.js +1 -0
  192. package/dist/genesys-webcomponents/{p-b99d7b24.entry.js → p-41787744.entry.js} +1 -1
  193. package/dist/genesys-webcomponents/{p-5f619019.entry.js → p-42151d14.entry.js} +1 -1
  194. package/dist/genesys-webcomponents/{p-462c9fec.entry.js → p-49219c0d.entry.js} +1 -1
  195. package/dist/genesys-webcomponents/{p-edc3984d.entry.js → p-4e40fb5f.entry.js} +1 -1
  196. package/dist/genesys-webcomponents/{p-f11bc2b4.entry.js → p-5058a2ee.entry.js} +1 -1
  197. package/dist/genesys-webcomponents/{p-4f13d871.entry.js → p-5b57fc5a.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-fc2a0c5e.entry.js → p-5f572ff5.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-5f191d17.entry.js → p-6128be0b.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/{p-c99e8934.entry.js → p-6bfa78c6.entry.js} +1 -1
  201. package/dist/genesys-webcomponents/{p-3be60800.entry.js → p-70c20c25.entry.js} +1 -1
  202. package/dist/genesys-webcomponents/{p-a3031b43.entry.js → p-77dfb786.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/{p-88382b4f.entry.js → p-7e13a157.entry.js} +1 -1
  204. package/dist/genesys-webcomponents/{p-d3660752.entry.js → p-7e1e6609.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-e03f3c2d.entry.js → p-8107bee0.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/p-836fbb2a.entry.js +1 -0
  207. package/dist/genesys-webcomponents/{p-da061d56.entry.js → p-85bc7ce7.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-09c7bd7d.entry.js → p-8ccc45cf.entry.js} +1 -1
  209. package/dist/genesys-webcomponents/{p-3a986247.entry.js → p-8f21ff40.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/{p-1c74c4a6.entry.js → p-91c445ab.entry.js} +1 -1
  211. package/dist/genesys-webcomponents/{p-fc52401d.entry.js → p-93380bce.entry.js} +1 -1
  212. package/dist/genesys-webcomponents/{p-f7f3443e.js → p-9bf0a4a8.js} +1 -1
  213. package/dist/genesys-webcomponents/{p-a7e96d41.entry.js → p-a0ec6dde.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/{p-a1cc19f6.entry.js → p-a4cb7a4a.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/{p-b4693bc7.entry.js → p-a6378d29.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-0dbe2bda.entry.js → p-a756279a.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-178b38f9.entry.js → p-a7c56dad.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-e97693fd.entry.js → p-a961cc5e.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-dad21962.entry.js → p-b279643a.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/{p-255828b2.entry.js → p-b3443cf0.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-d58c9460.entry.js → p-b73e2256.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-db42a7bf.entry.js → p-b98dcf72.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-84a5cc38.entry.js → p-baffb252.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-fe1f8064.entry.js → p-bbc47467.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-699ef85a.entry.js → p-bd12e46f.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-6c3aae28.entry.js → p-beceeda9.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-42d1b629.entry.js → p-c0c7fcd1.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/p-c744ed0d.entry.js +1 -0
  229. package/dist/genesys-webcomponents/{p-1d9ec2d1.entry.js → p-c7c4227b.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-b938e322.entry.js → p-c858bbf5.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-e01c28fb.entry.js → p-c8dcfd36.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-3c10fc14.entry.js → p-cc043796.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-240eeb1b.entry.js → p-cdf3db02.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-95b41d1b.entry.js → p-ce78c6a2.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-e183299b.entry.js → p-cf1b7653.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-1661e5b6.entry.js → p-d275077a.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-3f3c6c2a.entry.js → p-d5ff613a.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-22a997cc.entry.js → p-da6575df.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-ff22af71.entry.js → p-dc0581c4.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-e243ca18.entry.js → p-df279eda.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-594b1278.entry.js → p-df3db717.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-fbd24ad9.entry.js → p-e4aa7b47.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-edae4d63.entry.js → p-e4e980c4.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-50f614f4.entry.js → p-e55b3774.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-16b8dd4e.entry.js → p-e7b25ec5.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-d62084d4.entry.js → p-e8d9d006.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-97b6a427.entry.js → p-ece938b3.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-402f9293.entry.js → p-ee52283b.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-6b027844.entry.js → p-eef539ab.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-9dab5671.entry.js → p-f4dd0fd2.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-fc151bf0.entry.js → p-f7a14a12.entry.js} +1 -1
  252. package/dist/stencil-wrapper.js +1 -1
  253. package/dist/types/components/{beta → stable}/gux-badge/gux-badge.d.ts +1 -2
  254. package/dist/types/components/{beta → stable}/gux-badge/gux-badge.types.d.ts +0 -1
  255. package/dist/types/components/stable/gux-popup/gux-popup.d.ts +1 -0
  256. package/dist/types/components.d.ts +11 -13
  257. package/dist/types/stencil-wrapper.d.ts +1 -1
  258. package/dist/types/utils/dom/has-parent-element.d.ts +1 -0
  259. package/package.json +1 -1
  260. package/dist/cjs/gux-badge-beta.cjs.entry.js +0 -70
  261. package/dist/collection/components/beta/gux-badge/gux-badge.css +0 -83
  262. package/dist/esm/gux-badge-beta.entry.js +0 -66
  263. package/dist/genesys-webcomponents/p-1e4d9d6a.entry.js +0 -1
  264. package/dist/genesys-webcomponents/p-1f349619.entry.js +0 -1
  265. package/dist/genesys-webcomponents/p-416f5a28.entry.js +0 -1
  266. package/dist/genesys-webcomponents/p-c68e0fbf.entry.js +0 -1
  267. package/dist/genesys-webcomponents/p-cf271c9a.entry.js +0 -1
  268. /package/dist/collection/components/{beta → stable}/gux-badge/gux-badge.types.js +0 -0
@@ -1 +1 @@
1
- import{r as o,f as t,h as i,g as e}from"./p-7d26b2e1.js";import{c as r,o as f}from"./p-3f5341ea.js";import{O as n}from"./p-f34ce7dc.js";import{o as l}from"./p-3701eff0.js";import{p as s}from"./p-c10e41a9.js";import{h as a}from"./p-08bc2e6b.js";import{h as u,c,d,G as g,a as p,g as h,v as x,b}from"./p-b3c9fd06.js";import{G as m,a as v}from"./p-a733f4ca.js";import{t as w}from"./p-f7f3443e.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const y=class{constructor(t){o(this,t),this.clearable=void 0,this.labelPosition=void 0,this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}async guxForceUpdate(){this.hasContent=u(this.input),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),t(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),w(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return i(v,{labelPosition:this.computedLabelPosition},i(m,{position:this.computedLabelPosition,required:this.required},i("slot",{name:"label",onSlotchange:()=>this.setLabel()})),i("div",{class:"gux-input-and-error-container"},i("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix}},i("slot",{name:"prefix"}),i("slot",{name:"input"}),i("slot",{name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&i("gux-form-field-input-clear-button",{onClick:()=>d(this.input)}))),i(g,{show:this.hasError},i("slot",{name:"error"})),i(p,{show:!this.hasError&&this.hasHelp},i("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${o}`}setInput(){this.input=h(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=u(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=u(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=f(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,t,i,e){var r,f=arguments.length,n=f<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(o,t,i,e);else for(var l=o.length-1;l>=0;l--)(r=o[l])&&(n=(f<3?r(n):f>3?r(t,i,n):r(t,i))||n);f>3&&n&&Object.defineProperty(t,i,n)})([n({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url("./fonts/roboto-v20-latin-300.eot");src:local("Roboto Light"), local("Roboto-Light"), url("./fonts/roboto-v20-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-300.woff2") format("woff2"), url("./fonts/roboto-v20-latin-300.woff") format("woff"), url("./fonts/roboto-v20-latin-300.ttf") format("truetype"), url("./fonts/roboto-v20-latin-300.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url("./fonts/roboto-v20-latin-regular.eot");src:local("Roboto"), local("Roboto-Regular"), url("./fonts/roboto-v20-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-regular.woff2") format("woff2"), url("./fonts/roboto-v20-latin-regular.woff") format("woff"), url("./fonts/roboto-v20-latin-regular.ttf") format("truetype"), url("./fonts/roboto-v20-latin-regular.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url("./fonts/roboto-v20-latin-italic.eot");src:local("Roboto Italic"), local("Roboto-Italic"), url("./fonts/roboto-v20-latin-italic.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-italic.woff2") format("woff2"), url("./fonts/roboto-v20-latin-italic.woff") format("woff"), url("./fonts/roboto-v20-latin-italic.ttf") format("truetype"), url("./fonts/roboto-v20-latin-italic.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url("./fonts/roboto-v20-latin-700.eot");src:local("Roboto Bold"), local("Roboto-Bold"), url("./fonts/roboto-v20-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-700.woff2") format("woff2"), url("./fonts/roboto-v20-latin-700.woff") format("woff"), url("./fonts/roboto-v20-latin-700.ttf") format("truetype"), url("./fonts/roboto-v20-latin-700.svg#Roboto") format("svg");}body{font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}h1{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}h2{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}h3{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}h4,h5,h6{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:20px}.gux-icon-anchor gux-icon{padding-right:2px}a{color:#2a60c8;text-decoration:underline;border-radius:2px}a:hover{color:#2754ac}a:active{color:#23478f}a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}table a{color:#2a60c8;text-decoration:underline;border-radius:2px;text-decoration:none}table a:hover{color:#2754ac}table a:active{color:#23478f}table a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url("./fonts/roboto-v20-latin-300.eot");src:local("Roboto Light"), local("Roboto-Light"), url("./fonts/roboto-v20-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-300.woff2") format("woff2"), url("./fonts/roboto-v20-latin-300.woff") format("woff"), url("./fonts/roboto-v20-latin-300.ttf") format("truetype"), url("./fonts/roboto-v20-latin-300.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url("./fonts/roboto-v20-latin-regular.eot");src:local("Roboto"), local("Roboto-Regular"), url("./fonts/roboto-v20-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-regular.woff2") format("woff2"), url("./fonts/roboto-v20-latin-regular.woff") format("woff"), url("./fonts/roboto-v20-latin-regular.ttf") format("truetype"), url("./fonts/roboto-v20-latin-regular.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url("./fonts/roboto-v20-latin-italic.eot");src:local("Roboto Italic"), local("Roboto-Italic"), url("./fonts/roboto-v20-latin-italic.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-italic.woff2") format("woff2"), url("./fonts/roboto-v20-latin-italic.woff") format("woff"), url("./fonts/roboto-v20-latin-italic.ttf") format("truetype"), url("./fonts/roboto-v20-latin-italic.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url("./fonts/roboto-v20-latin-700.eot");src:local("Roboto Bold"), local("Roboto-Bold"), url("./fonts/roboto-v20-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-700.woff2") format("woff2"), url("./fonts/roboto-v20-latin-700.woff") format("woff"), url("./fonts/roboto-v20-latin-700.ttf") format("truetype"), url("./fonts/roboto-v20-latin-700.svg#Roboto") format("svg");}body{font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}h1{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}h2{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}h3{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}h4,h5,h6{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:20px}.gux-icon-anchor gux-icon{padding-right:2px}a{color:#2a60c8;text-decoration:underline;border-radius:2px}a:hover{color:#2754ac}a:active{color:#23478f}a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}table a{color:#2a60c8;text-decoration:underline;border-radius:2px;text-decoration:none}table a:hover{color:#2754ac}table a:active{color:#23478f}table a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;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;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);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);line-height:var(--gse-ui-formControl-label-text-lineHeight);font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-label-labelColor);font-weight:var(--gse-ui-formControl-label-text-fontWeight)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);white-space:nowrap;text-decoration:none;text-align:center}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;gap:var(--gse-ui-formControl-input-gap);width:100%;height:var(--gse-ui-formControl-input-textfield-height);color:var(--gse-ui-formControl-input-populatedColor);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_text_like}
1
+ import{r as o,f as t,h as i,g as e}from"./p-7d26b2e1.js";import{c as r,o as f}from"./p-3f5341ea.js";import{O as n}from"./p-f34ce7dc.js";import{o as l}from"./p-3701eff0.js";import{p as s}from"./p-c10e41a9.js";import{h as a}from"./p-08bc2e6b.js";import{h as u,c,d,G as g,a as p,g as h,v as x,b}from"./p-b3c9fd06.js";import{G as m,a as v}from"./p-a733f4ca.js";import{t as w}from"./p-9bf0a4a8.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const y=class{constructor(t){o(this,t),this.clearable=void 0,this.labelPosition=void 0,this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}async guxForceUpdate(){this.hasContent=u(this.input),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),t(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),w(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return i(v,{labelPosition:this.computedLabelPosition},i(m,{position:this.computedLabelPosition,required:this.required},i("slot",{name:"label",onSlotchange:()=>this.setLabel()})),i("div",{class:"gux-input-and-error-container"},i("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix}},i("slot",{name:"prefix"}),i("slot",{name:"input"}),i("slot",{name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&i("gux-form-field-input-clear-button",{onClick:()=>d(this.input)}))),i(g,{show:this.hasError},i("slot",{name:"error"})),i(p,{show:!this.hasError&&this.hasHelp},i("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${o}`}setInput(){this.input=h(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=u(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=u(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=f(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,t,i,e){var r,f=arguments.length,n=f<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(o,t,i,e);else for(var l=o.length-1;l>=0;l--)(r=o[l])&&(n=(f<3?r(n):f>3?r(t,i,n):r(t,i))||n);f>3&&n&&Object.defineProperty(t,i,n)})([n({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url("./fonts/roboto-v20-latin-300.eot");src:local("Roboto Light"), local("Roboto-Light"), url("./fonts/roboto-v20-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-300.woff2") format("woff2"), url("./fonts/roboto-v20-latin-300.woff") format("woff"), url("./fonts/roboto-v20-latin-300.ttf") format("truetype"), url("./fonts/roboto-v20-latin-300.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url("./fonts/roboto-v20-latin-regular.eot");src:local("Roboto"), local("Roboto-Regular"), url("./fonts/roboto-v20-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-regular.woff2") format("woff2"), url("./fonts/roboto-v20-latin-regular.woff") format("woff"), url("./fonts/roboto-v20-latin-regular.ttf") format("truetype"), url("./fonts/roboto-v20-latin-regular.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url("./fonts/roboto-v20-latin-italic.eot");src:local("Roboto Italic"), local("Roboto-Italic"), url("./fonts/roboto-v20-latin-italic.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-italic.woff2") format("woff2"), url("./fonts/roboto-v20-latin-italic.woff") format("woff"), url("./fonts/roboto-v20-latin-italic.ttf") format("truetype"), url("./fonts/roboto-v20-latin-italic.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url("./fonts/roboto-v20-latin-700.eot");src:local("Roboto Bold"), local("Roboto-Bold"), url("./fonts/roboto-v20-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-700.woff2") format("woff2"), url("./fonts/roboto-v20-latin-700.woff") format("woff"), url("./fonts/roboto-v20-latin-700.ttf") format("truetype"), url("./fonts/roboto-v20-latin-700.svg#Roboto") format("svg");}body{font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}h1{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}h2{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}h3{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}h4,h5,h6{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:20px}.gux-icon-anchor gux-icon{padding-right:2px}a{color:#2a60c8;text-decoration:underline;border-radius:2px}a:hover{color:#2754ac}a:active{color:#23478f}a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}table a{color:#2a60c8;text-decoration:underline;border-radius:2px;text-decoration:none}table a:hover{color:#2754ac}table a:active{color:#23478f}table a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url("./fonts/roboto-v20-latin-300.eot");src:local("Roboto Light"), local("Roboto-Light"), url("./fonts/roboto-v20-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-300.woff2") format("woff2"), url("./fonts/roboto-v20-latin-300.woff") format("woff"), url("./fonts/roboto-v20-latin-300.ttf") format("truetype"), url("./fonts/roboto-v20-latin-300.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url("./fonts/roboto-v20-latin-regular.eot");src:local("Roboto"), local("Roboto-Regular"), url("./fonts/roboto-v20-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-regular.woff2") format("woff2"), url("./fonts/roboto-v20-latin-regular.woff") format("woff"), url("./fonts/roboto-v20-latin-regular.ttf") format("truetype"), url("./fonts/roboto-v20-latin-regular.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url("./fonts/roboto-v20-latin-italic.eot");src:local("Roboto Italic"), local("Roboto-Italic"), url("./fonts/roboto-v20-latin-italic.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-italic.woff2") format("woff2"), url("./fonts/roboto-v20-latin-italic.woff") format("woff"), url("./fonts/roboto-v20-latin-italic.ttf") format("truetype"), url("./fonts/roboto-v20-latin-italic.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url("./fonts/roboto-v20-latin-700.eot");src:local("Roboto Bold"), local("Roboto-Bold"), url("./fonts/roboto-v20-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-700.woff2") format("woff2"), url("./fonts/roboto-v20-latin-700.woff") format("woff"), url("./fonts/roboto-v20-latin-700.ttf") format("truetype"), url("./fonts/roboto-v20-latin-700.svg#Roboto") format("svg");}body{font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}h1{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}h2{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}h3{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}h4,h5,h6{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:20px}.gux-icon-anchor gux-icon{padding-right:2px}a{color:#2a60c8;text-decoration:underline;border-radius:2px}a:hover{color:#2754ac}a:active{color:#23478f}a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}table a{color:#2a60c8;text-decoration:underline;border-radius:2px;text-decoration:none}table a:hover{color:#2754ac}table a:active{color:#23478f}table a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;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;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);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);line-height:var(--gse-ui-formControl-label-text-lineHeight);font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-label-labelColor);font-weight:var(--gse-ui-formControl-label-text-fontWeight)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);white-space:nowrap;text-decoration:none;text-align:center}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;gap:var(--gse-ui-formControl-input-gap);width:100%;height:var(--gse-ui-formControl-input-textfield-height);color:var(--gse-ui-formControl-input-populatedColor);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_text_like}
@@ -1 +1 @@
1
- import{r as t,h as e,g as i}from"./p-7d26b2e1.js";import{b as r}from"./p-deee079e.js";import{O as s}from"./p-f34ce7dc.js";import{a as o,o as n}from"./p-3701eff0.js";import{t as a}from"./p-f7f3443e.js";import{G as l,a as h}from"./p-211cc1db.js";import{G as f,a as p,v as d,b as u}from"./p-b3c9fd06.js";import{h as g}from"./p-08bc2e6b.js";import{g as x}from"./p-aa2f9991.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const c={required:"Required"};const m=class{constructor(e){t(this,e),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=!1,this.hasError=!1,this.hasHelp=!1}watchValue(t){const e=this.root.querySelector("gux-phone-input-beta");e&&(e.hasError=t)}onMutation(){this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help")}async componentWillLoad(){this.getI18nValue=await r(this.root,c),this.setInput(),this.setLabel(),this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help"),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(h,{labelPosition:this.computedLabelPosition},e(l,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(x(this.root,"error"),this.hasError)),e("div",{class:"gux-input-and-error-container"},e("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},e("slot",null))),e(f,{show:this.hasError},e("slot",{name:"error"})),e(p,{show:!this.hasError&&this.hasHelp},e("slot",{name:"help"}))))}renderScreenReaderText(t,i=!0){if(i)return e("gux-screen-reader-beta",null,t)}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.phoneInputElement=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.phoneInputElement.disabled,this.required=this.phoneInputElement.required,this.disabledObserver=o(this.phoneInputElement,(t=>{this.disabled=t})),this.requiredObserver=n(this.phoneInputElement,(t=>{this.required=t})),d(this.root,this.phoneInputElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=u(this.label,this.labelPosition)}get root(){return i(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(t,e,i,r){var s,o=arguments.length,n=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(n=(o<3?s(n):o>3?s(e,i,n):s(e,i))||n);o>3&&n&&Object.defineProperty(e,i,n)})([s({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:var(--gux-form-field-fieldset-container-margin-top, 16px) 0 var(--gux-form-field-fieldset-container-margin-bottom, 16px) 0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;line-height:20px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:16px;min-height:16px;margin:2px 4px 0 0;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label{padding:0}.gux-form-field-legend-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-legend-label.gux-beside{position:relative;top:8px;float:left;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-legend-label.gux-above{margin-bottom:8px}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_phone}
1
+ import{r as t,h as e,g as i}from"./p-7d26b2e1.js";import{b as r}from"./p-deee079e.js";import{O as s}from"./p-f34ce7dc.js";import{a as o,o as a}from"./p-3701eff0.js";import{t as n}from"./p-9bf0a4a8.js";import{G as l,a as h}from"./p-211cc1db.js";import{G as f,a as p,v as d,b as u}from"./p-b3c9fd06.js";import{h as g}from"./p-08bc2e6b.js";import{g as x}from"./p-aa2f9991.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const c={required:"Required"};const m=class{constructor(e){t(this,e),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=!1,this.hasError=!1,this.hasHelp=!1}watchValue(t){const e=this.root.querySelector("gux-phone-input-beta");e&&(e.hasError=t)}onMutation(){this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help")}async componentWillLoad(){this.getI18nValue=await r(this.root,c),this.setInput(),this.setLabel(),this.hasError=g(this.root,"error"),this.hasHelp=g(this.root,"help"),n(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(h,{labelPosition:this.computedLabelPosition},e(l,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(x(this.root,"error"),this.hasError)),e("div",{class:"gux-input-and-error-container"},e("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},e("slot",null))),e(f,{show:this.hasError},e("slot",{name:"error"})),e(p,{show:!this.hasError&&this.hasHelp},e("slot",{name:"help"}))))}renderScreenReaderText(t,i=!0){if(i)return e("gux-screen-reader-beta",null,t)}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.phoneInputElement=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.phoneInputElement.disabled,this.required=this.phoneInputElement.required,this.disabledObserver=o(this.phoneInputElement,(t=>{this.disabled=t})),this.requiredObserver=a(this.phoneInputElement,(t=>{this.required=t})),d(this.root,this.phoneInputElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=u(this.label,this.labelPosition)}get root(){return i(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(t,e,i,r){var s,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,r);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(o<3?s(a):o>3?s(e,i,a):s(e,i))||a);o>3&&a&&Object.defineProperty(e,i,a)})([s({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:var(--gux-form-field-fieldset-container-margin-top, 16px) 0 var(--gux-form-field-fieldset-container-margin-bottom, 16px) 0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;line-height:20px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:16px;min-height:16px;margin:2px 4px 0 0;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label{padding:0}.gux-form-field-legend-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-legend-label.gux-beside{position:relative;top:8px;float:left;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-legend-label.gux-above{margin-bottom:8px}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_phone}