genesys-spark-components 3.32.3 → 3.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  3. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-badge-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +10 -6
  39. package/dist/cjs/gux-form-field-color.cjs.entry.js +12 -8
  40. package/dist/cjs/{gux-form-field-label-cb1bc6c7.js → gux-form-field-container-284d1d01.js} +7 -7
  41. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +12 -8
  42. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-number.cjs.entry.js +14 -9
  45. package/dist/cjs/gux-form-field-radio.cjs.entry.js +10 -6
  46. package/dist/cjs/gux-form-field-range.cjs.entry.js +11 -7
  47. package/dist/cjs/gux-form-field-search.cjs.entry.js +12 -8
  48. package/dist/cjs/gux-form-field-select.cjs.entry.js +12 -8
  49. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +14 -9
  50. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +12 -8
  51. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +23 -14
  52. package/dist/cjs/{gux-form-field.service-66dade5d.js → gux-form-field.service-8424f99d.js} +29 -13
  53. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +3 -6
  66. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/has-slot-2e73d6e7.js +7 -0
  90. package/dist/cjs/loader.cjs.js +1 -1
  91. package/dist/cjs/{usage-tracking-aa9da6aa.js → usage-tracking-2be3d35e.js} +1 -1
  92. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +21 -0
  93. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +16 -10
  94. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +21 -0
  95. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +17 -13
  96. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +21 -0
  97. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +16 -12
  98. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +21 -0
  99. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +21 -16
  100. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +21 -0
  101. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +16 -10
  102. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +21 -0
  103. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +16 -12
  104. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +21 -0
  105. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +17 -13
  106. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +21 -0
  107. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +17 -13
  108. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +23 -1
  109. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +19 -14
  110. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +21 -0
  111. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +17 -13
  112. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +21 -0
  113. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +17 -12
  114. package/dist/collection/components/stable/gux-form-field/functional-components/functional-components.js +7 -0
  115. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.js +2 -2
  116. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-help/gux-form-field-help.js +7 -0
  117. package/dist/collection/components/stable/gux-form-field/gux-form-field.service.js +18 -9
  118. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +1 -1
  119. package/dist/collection/utils/dom/get-slot-text-content.js +4 -0
  120. package/dist/deploy-info.json +3 -3
  121. package/dist/esm/genesys-webcomponents.js +1 -1
  122. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  123. package/dist/esm/gux-accordion.entry.js +1 -1
  124. package/dist/esm/gux-action-button-legacy.entry.js +1 -1
  125. package/dist/esm/gux-action-button.entry.js +1 -1
  126. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  127. package/dist/esm/gux-action-toast.entry.js +1 -1
  128. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  129. package/dist/esm/gux-announce-beta.entry.js +1 -1
  130. package/dist/esm/gux-badge-beta.entry.js +1 -1
  131. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  132. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  133. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  134. package/dist/esm/gux-button-multi.entry.js +1 -1
  135. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  136. package/dist/esm/gux-button.entry.js +1 -1
  137. package/dist/esm/gux-calendar.entry.js +1 -1
  138. package/dist/esm/gux-card-beta.entry.js +1 -1
  139. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  140. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  141. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  142. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  143. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  144. package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
  145. package/dist/esm/gux-content-search.entry.js +1 -1
  146. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +1 -1
  147. package/dist/esm/gux-date-beta.entry.js +1 -1
  148. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  149. package/dist/esm/gux-datepicker.entry.js +1 -1
  150. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  151. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  152. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  153. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  154. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  155. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  156. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  157. package/dist/esm/gux-form-field-checkbox.entry.js +10 -6
  158. package/dist/esm/gux-form-field-color.entry.js +11 -7
  159. package/dist/esm/{gux-form-field-label-9c6f4df6.js → gux-form-field-container-2d8e8d4e.js} +7 -7
  160. package/dist/esm/gux-form-field-dropdown.entry.js +11 -7
  161. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  162. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  163. package/dist/esm/gux-form-field-number.entry.js +13 -8
  164. package/dist/esm/gux-form-field-radio.entry.js +10 -6
  165. package/dist/esm/gux-form-field-range.entry.js +11 -7
  166. package/dist/esm/gux-form-field-search.entry.js +11 -7
  167. package/dist/esm/gux-form-field-select.entry.js +11 -7
  168. package/dist/esm/gux-form-field-text-like.entry.js +13 -8
  169. package/dist/esm/gux-form-field-textarea.entry.js +11 -7
  170. package/dist/esm/gux-form-field-time-picker.entry.js +23 -14
  171. package/dist/esm/{gux-form-field.service-25a9237e.js → gux-form-field.service-e046de13.js} +29 -12
  172. package/dist/esm/gux-icon.entry.js +1 -1
  173. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  174. package/dist/esm/gux-list.entry.js +1 -1
  175. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  176. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  177. package/dist/esm/gux-modal.entry.js +1 -1
  178. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  179. package/dist/esm/gux-notification-toast.entry.js +1 -1
  180. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  181. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  182. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  183. package/dist/esm/gux-pagination.entry.js +1 -1
  184. package/dist/esm/gux-panel-frame-legacy.entry.js +2 -5
  185. package/dist/esm/gux-popover-list.entry.js +1 -1
  186. package/dist/esm/gux-popover.entry.js +1 -1
  187. package/dist/esm/gux-radial-loading.entry.js +1 -1
  188. package/dist/esm/gux-radial-progress.entry.js +1 -1
  189. package/dist/esm/gux-rating.entry.js +1 -1
  190. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  191. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  192. package/dist/esm/gux-simple-toast.entry.js +1 -1
  193. package/dist/esm/gux-skip-navigation-list-beta.entry.js +1 -1
  194. package/dist/esm/gux-sort-control.entry.js +1 -1
  195. package/dist/esm/gux-switch.entry.js +1 -1
  196. package/dist/esm/gux-table-beta.entry.js +1 -1
  197. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  198. package/dist/esm/gux-tabs-legacy.entry.js +1 -1
  199. package/dist/esm/gux-tabs.entry.js +1 -1
  200. package/dist/esm/gux-tag-beta.entry.js +1 -1
  201. package/dist/esm/gux-text-highlight.entry.js +1 -1
  202. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  203. package/dist/esm/gux-time-beta.entry.js +1 -1
  204. package/dist/esm/gux-time-picker-beta.entry.js +1 -1
  205. package/dist/esm/gux-toggle.entry.js +2 -2
  206. package/dist/esm/gux-tooltip.entry.js +1 -1
  207. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  208. package/dist/esm/has-slot-062ae63a.js +5 -0
  209. package/dist/esm/loader.js +1 -1
  210. package/dist/esm/{usage-tracking-208cef9e.js → usage-tracking-134b159c.js} +1 -1
  211. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  212. package/dist/genesys-webcomponents/{p-f8c11029.entry.js → p-05c82502.entry.js} +1 -1
  213. package/dist/genesys-webcomponents/p-08bc2e6b.js +1 -0
  214. package/dist/genesys-webcomponents/{p-cbcd5fde.entry.js → p-0e14bf57.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/{p-fb4b4db3.entry.js → p-10047fdd.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-5ae53925.entry.js → p-1202b33e.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-3cca4425.entry.js → p-132e2f94.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/p-1d0e0ff1.entry.js +1 -0
  219. package/dist/genesys-webcomponents/p-1f6b2594.js +1 -0
  220. package/dist/genesys-webcomponents/{p-78a09deb.entry.js → p-20b87c45.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-c15ad970.entry.js → p-2513001d.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-c4e6d6d9.entry.js → p-28119bda.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-411ce526.entry.js → p-28ddba4e.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-0afb6281.entry.js → p-293279b9.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/p-2fbb58c5.entry.js +1 -0
  226. package/dist/genesys-webcomponents/{p-47ff4961.entry.js → p-31469c00.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-cbb743e4.entry.js → p-336e7d28.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-b57a1503.entry.js → p-34fd6d20.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-6d8ed01d.entry.js → p-36e24c16.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-6753b85e.entry.js → p-37769b73.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-b1ee8a37.entry.js → p-3a40e63a.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/p-3b2906ad.entry.js +1 -0
  233. package/dist/genesys-webcomponents/{p-27a4972a.entry.js → p-43d09775.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-669585de.entry.js → p-44fbd20e.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-7bf15d70.entry.js → p-45c5c7f9.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-eef4a31e.entry.js → p-4791619c.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-1e174f48.entry.js → p-49c8d026.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-56a53028.entry.js → p-49dc33a8.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-738fada9.entry.js → p-4b43b2e3.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-a9d5a8c4.entry.js → p-4c4bf323.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-4c13791d.entry.js → p-4c972483.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-90b8aa76.entry.js → p-4e1fe7e7.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/p-4e4bd249.entry.js +1 -0
  244. package/dist/genesys-webcomponents/{p-279e3d0c.entry.js → p-5265a9cb.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-8cbf669c.entry.js → p-543b80ec.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-53b4cfe2.entry.js → p-55ee7188.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/p-5640e5f7.entry.js +1 -0
  248. package/dist/genesys-webcomponents/{p-cb4b6d73.entry.js → p-5b686988.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/p-5ccd5ea0.entry.js +1 -0
  250. package/dist/genesys-webcomponents/{p-dca6993e.entry.js → p-5dc533f1.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-750e70ef.entry.js → p-5df4260c.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-5d176c52.entry.js → p-63810a77.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-80046670.entry.js → p-63ae75c6.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-5912c734.entry.js → p-692d704c.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-f7c7986b.entry.js → p-737e3760.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/p-7598bf52.entry.js +1 -0
  257. package/dist/genesys-webcomponents/{p-a51ff810.entry.js → p-77a52936.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/p-79242b75.entry.js +1 -0
  259. package/dist/genesys-webcomponents/{p-695049b5.entry.js → p-7b9933a9.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-338324cc.entry.js → p-7d48c7bd.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-4ebe7f33.entry.js → p-84276e7d.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/p-86e8dabe.entry.js +1 -0
  263. package/dist/genesys-webcomponents/p-93983e56.entry.js +1 -0
  264. package/dist/genesys-webcomponents/{p-f8471417.entry.js → p-9415f154.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-b5eafce9.entry.js → p-99409164.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/p-9b62e64f.entry.js +1 -0
  267. package/dist/genesys-webcomponents/{p-f6bd4dd4.entry.js → p-9c48f066.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-b4f80688.entry.js → p-a3c460a3.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/p-a79f132a.entry.js +1 -0
  270. package/dist/genesys-webcomponents/{p-5748b8ba.entry.js → p-ac992cdf.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/p-b2e4bb13.entry.js +1 -0
  272. package/dist/genesys-webcomponents/p-b406c20c.entry.js +1 -0
  273. package/dist/genesys-webcomponents/{p-6660bb1c.entry.js → p-b7f177f8.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-afe37461.entry.js → p-bdd6bee9.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-236760ad.entry.js → p-c54a61fc.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-9b4f4a6e.entry.js → p-c6da11d1.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-d402352c.entry.js → p-c84850a1.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/p-c9576487.js +1 -0
  279. package/dist/genesys-webcomponents/{p-dec1b34f.entry.js → p-ccc915ed.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-e5de66fd.entry.js → p-d76cbb96.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-3fb2cd78.entry.js → p-d8fde3b4.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-1563c1b6.entry.js → p-dc7ce7ca.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/p-de94968a.entry.js +1 -0
  284. package/dist/genesys-webcomponents/{p-fbe5ce4b.entry.js → p-e9d6e462.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-1bd6dbe4.entry.js → p-ea19b1a9.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-c3d32494.entry.js → p-ec14df2c.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-4c733037.entry.js → p-ed9b638d.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-26c01f0c.entry.js → p-edceb2bb.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/p-ee3a1212.entry.js +1 -0
  290. package/dist/genesys-webcomponents/{p-f57a152d.entry.js → p-ee80c18d.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-b48c542d.js → p-ee89fbc7.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-faff15ba.entry.js → p-f13dafb6.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-34873c24.entry.js → p-f1a281e3.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/p-f2af0eed.entry.js +1 -0
  295. package/dist/genesys-webcomponents/{p-b2282e96.entry.js → p-f2d94182.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-4afebf77.entry.js → p-f320afc6.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-97065fec.entry.js → p-f6df2342.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-5872b921.entry.js → p-f79cf8f7.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/p-ff176b02.entry.js +1 -0
  300. package/dist/stencil-wrapper.js +1 -1
  301. package/dist/types/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.d.ts +2 -0
  302. package/dist/types/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.d.ts +2 -0
  303. package/dist/types/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.d.ts +2 -0
  304. package/dist/types/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.d.ts +2 -0
  305. package/dist/types/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.d.ts +2 -0
  306. package/dist/types/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.d.ts +2 -0
  307. package/dist/types/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.d.ts +2 -0
  308. package/dist/types/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.d.ts +2 -0
  309. package/dist/types/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.d.ts +2 -0
  310. package/dist/types/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.d.ts +2 -0
  311. package/dist/types/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.d.ts +3 -1
  312. package/dist/types/components/stable/gux-form-field/functional-components/functional-components.d.ts +7 -0
  313. package/dist/types/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.d.ts +1 -1
  314. package/dist/types/components/stable/gux-form-field/functional-components/gux-form-field-help/gux-form-field-help.d.ts +6 -0
  315. package/dist/types/components/stable/gux-form-field/gux-form-field.service.d.ts +0 -2
  316. package/dist/types/utils/dom/get-slot-text-content.d.ts +1 -0
  317. package/package.json +1 -1
  318. package/dist/genesys-webcomponents/p-061af639.js +0 -1
  319. package/dist/genesys-webcomponents/p-1493f317.entry.js +0 -1
  320. package/dist/genesys-webcomponents/p-1716b59b.entry.js +0 -1
  321. package/dist/genesys-webcomponents/p-2b82af25.entry.js +0 -1
  322. package/dist/genesys-webcomponents/p-2f6f5ecf.entry.js +0 -1
  323. package/dist/genesys-webcomponents/p-37d8c707.entry.js +0 -1
  324. package/dist/genesys-webcomponents/p-4645a835.entry.js +0 -1
  325. package/dist/genesys-webcomponents/p-4d7be638.entry.js +0 -1
  326. package/dist/genesys-webcomponents/p-51252166.entry.js +0 -1
  327. package/dist/genesys-webcomponents/p-532d9004.entry.js +0 -1
  328. package/dist/genesys-webcomponents/p-57587e93.entry.js +0 -1
  329. package/dist/genesys-webcomponents/p-7dcb5f01.entry.js +0 -1
  330. package/dist/genesys-webcomponents/p-9377abe2.entry.js +0 -1
  331. package/dist/genesys-webcomponents/p-9dd70ee6.entry.js +0 -1
  332. package/dist/genesys-webcomponents/p-ae596c2f.entry.js +0 -1
  333. package/dist/genesys-webcomponents/p-b3bbc23b.entry.js +0 -1
  334. package/dist/genesys-webcomponents/p-b5c4192d.entry.js +0 -1
  335. package/dist/genesys-webcomponents/p-c079a476.js +0 -1
  336. package/dist/genesys-webcomponents/p-ee538d18.entry.js +0 -1
  337. package/dist/genesys-webcomponents/p-f76765f7.entry.js +0 -1
@@ -6,14 +6,15 @@ const index = require('./index-a4138a99.js');
6
6
  const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
7
7
  const onMutation = require('./on-mutation-74bf4591.js');
8
8
  const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
9
- const usageTracking = require('./usage-tracking-aa9da6aa.js');
10
- const guxFormField_service = require('./gux-form-field.service-66dade5d.js');
9
+ const hasSlot = require('./has-slot-2e73d6e7.js');
10
+ const guxFormField_service = require('./gux-form-field.service-8424f99d.js');
11
+ const usageTracking = require('./usage-tracking-2be3d35e.js');
11
12
  require('./random-html-id-b86b61c0.js');
12
13
  require('./log-error-a57681bf.js');
13
14
  require('./set-input-value-610d7da3.js');
14
15
  require('./simulate-native-event-fe3e62da.js');
15
16
 
16
- const guxFormFieldCheckboxCss = ".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}:host{display:block;color:#2e394c}:host(.gux-input-error) ::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%23ea0b0b'/%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type='checkbox']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='checkbox'])::before{grid-area:1;content:'';border-radius:15%}::slotted(input[type='checkbox']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%2377828f'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 0H12.3077C13.287 0 14.2261 0.38901 14.9185 1.08145C15.611 1.77389 16 2.71305 16 3.69231V12.3077C16 13.287 15.611 14.2261 14.9185 14.9185C14.2261 15.611 13.287 16 12.3077 16H3.69231C2.71305 16 1.77389 15.611 1.08145 14.9185C0.38901 14.2261 0 13.287 0 12.3077V3.69231C0 2.71305 0.38901 1.77389 1.08145 1.08145C1.77389 0.38901 2.71305 0 3.69231 0ZM5.62483 11.5936C5.79089 11.7597 6.00122 11.8372 6.21155 11.8372C6.43295 11.8372 6.64329 11.7486 6.79827 11.5936L13.2854 5.10652C13.6064 4.78549 13.6064 4.25412 13.2854 3.93308C12.9643 3.61205 12.433 3.61205 12.1119 3.93308L6.21155 9.83348L3.87575 7.4866C3.55472 7.16557 3.02335 7.16557 2.70231 7.4866C2.38128 7.80764 2.38128 8.339 2.70231 8.66004L5.62483 11.5936Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:indeterminate)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 1.84615H12.3077C13.3273 1.84615 14.1538 2.67271 14.1538 3.69231V12.3077C14.1538 13.3273 13.3273 14.1538 12.3077 14.1538H3.69231C2.67271 14.1538 1.84615 13.3273 1.84615 12.3077V3.69231C1.84615 2.67271 2.67271 1.84615 3.69231 1.84615ZM0 3.69231C0 1.6531 1.6531 0 3.69231 0H12.3077C14.3469 0 16 1.6531 16 3.69231V12.3077C16 14.3469 14.3469 16 12.3077 16H3.69231C1.6531 16 0 14.3469 0 12.3077V3.69231ZM4.00028 9.2308H12.0003C12.5049 9.2308 12.9234 8.81234 12.9234 8.30773C12.9234 7.80311 12.5049 7.38465 12.0003 7.38465H4.00028C3.49567 7.38465 3.07721 7.80311 3.07721 8.30773C3.07721 8.81234 3.49567 9.2308 4.00028 9.2308Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";
17
+ const guxFormFieldCheckboxCss = ".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;color:#2e394c}:host(.gux-input-error) ::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%23ea0b0b'/%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type='checkbox']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='checkbox'])::before{grid-area:1;content:'';border-radius:15%}::slotted(input[type='checkbox']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%2377828f'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 0H12.3077C13.287 0 14.2261 0.38901 14.9185 1.08145C15.611 1.77389 16 2.71305 16 3.69231V12.3077C16 13.287 15.611 14.2261 14.9185 14.9185C14.2261 15.611 13.287 16 12.3077 16H3.69231C2.71305 16 1.77389 15.611 1.08145 14.9185C0.38901 14.2261 0 13.287 0 12.3077V3.69231C0 2.71305 0.38901 1.77389 1.08145 1.08145C1.77389 0.38901 2.71305 0 3.69231 0ZM5.62483 11.5936C5.79089 11.7597 6.00122 11.8372 6.21155 11.8372C6.43295 11.8372 6.64329 11.7486 6.79827 11.5936L13.2854 5.10652C13.6064 4.78549 13.6064 4.25412 13.2854 3.93308C12.9643 3.61205 12.433 3.61205 12.1119 3.93308L6.21155 9.83348L3.87575 7.4866C3.55472 7.16557 3.02335 7.16557 2.70231 7.4866C2.38128 7.80764 2.38128 8.339 2.70231 8.66004L5.62483 11.5936Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:indeterminate)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 1.84615H12.3077C13.3273 1.84615 14.1538 2.67271 14.1538 3.69231V12.3077C14.1538 13.3273 13.3273 14.1538 12.3077 14.1538H3.69231C2.67271 14.1538 1.84615 13.3273 1.84615 12.3077V3.69231C1.84615 2.67271 2.67271 1.84615 3.69231 1.84615ZM0 3.69231C0 1.6531 1.6531 0 3.69231 0H12.3077C14.3469 0 16 1.6531 16 3.69231V12.3077C16 14.3469 14.3469 16 12.3077 16H3.69231C1.6531 16 0 14.3469 0 12.3077V3.69231ZM4.00028 9.2308H12.0003C12.5049 9.2308 12.9234 8.81234 12.9234 8.30773C12.9234 7.80311 12.5049 7.38465 12.0003 7.38465H4.00028C3.49567 7.38465 3.07721 7.80311 3.07721 8.30773C3.07721 8.81234 3.49567 9.2308 4.00028 9.2308Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";
17
18
 
18
19
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
19
20
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -29,13 +30,16 @@ const GuxFormFieldCheckbox = class {
29
30
  constructor(hostRef) {
30
31
  index.registerInstance(this, hostRef);
31
32
  this.hasError = false;
33
+ this.hasHelp = false;
32
34
  }
33
35
  onMutation() {
34
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
36
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
37
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
35
38
  }
36
39
  componentWillLoad() {
37
40
  this.setInput();
38
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
41
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
42
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
39
43
  usageTracking.trackComponent(this.root);
40
44
  }
41
45
  disconnectedCallback() {
@@ -45,7 +49,7 @@ const GuxFormFieldCheckbox = class {
45
49
  return (index.h(index.Host, { class: {
46
50
  'gux-input-error': this.hasError,
47
51
  'gux-disabled': this.disabled
48
- } }, index.h("div", { class: "gux-form-field-container" }, index.h("div", { class: "gux-input-label" }, index.h("div", { class: "gux-input" }, index.h("slot", { name: "input", onSlotchange: () => this.setInput() })), index.h("div", { class: "gux-label" }, index.h("slot", { name: "label" }), index.h(guxFormField_service.GuxFormFieldError, { hasError: this.hasError }, index.h("slot", { name: "error" })))))));
52
+ } }, index.h("div", { class: "gux-form-field-container" }, index.h("div", { class: "gux-input-label" }, index.h("div", { class: "gux-input" }, index.h("slot", { name: "input", onSlotchange: () => this.setInput() })), index.h("div", { class: "gux-label" }, index.h("slot", { name: "label" }), index.h(guxFormField_service.GuxFormFieldError, { show: this.hasError }, index.h("slot", { name: "error" })), index.h(guxFormField_service.GuxFormFieldHelp, { show: !this.hasError && this.hasHelp }, index.h("slot", { name: "help" })))))));
49
53
  }
50
54
  setInput() {
51
55
  this.input = this.root.querySelector('input[type="checkbox"][slot="input"]');
@@ -7,15 +7,16 @@ const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66
7
7
  const onMutation = require('./on-mutation-74bf4591.js');
8
8
  const onAttributeChange = require('./on-attribute-change-37556263.js');
9
9
  const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
10
- const usageTracking = require('./usage-tracking-aa9da6aa.js');
11
- const guxFormFieldLabel = require('./gux-form-field-label-cb1bc6c7.js');
12
- const guxFormField_service = require('./gux-form-field.service-66dade5d.js');
10
+ const hasSlot = require('./has-slot-2e73d6e7.js');
11
+ const guxFormField_service = require('./gux-form-field.service-8424f99d.js');
12
+ const guxFormFieldContainer = require('./gux-form-field-container-284d1d01.js');
13
+ const usageTracking = require('./usage-tracking-2be3d35e.js');
13
14
  require('./random-html-id-b86b61c0.js');
14
15
  require('./log-error-a57681bf.js');
15
16
  require('./set-input-value-610d7da3.js');
16
17
  require('./simulate-native-event-fe3e62da.js');
17
18
 
18
- const guxFormFieldColorCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}";
19
+ const guxFormFieldColorCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}";
19
20
 
20
21
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
21
22
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -31,14 +32,17 @@ const GuxFormFieldColor = class {
31
32
  constructor(hostRef) {
32
33
  index.registerInstance(this, hostRef);
33
34
  this.hasError = false;
35
+ this.hasHelp = false;
34
36
  }
35
37
  onMutation() {
36
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
38
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
39
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
37
40
  }
38
41
  componentWillLoad() {
39
42
  this.setInput();
40
43
  this.setLabel();
41
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
44
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
45
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
42
46
  usageTracking.trackComponent(this.root, { variant: this.variant });
43
47
  }
44
48
  disconnectedCallback() {
@@ -46,13 +50,13 @@ const GuxFormFieldColor = class {
46
50
  this.requiredObserver.disconnect();
47
51
  }
48
52
  render() {
49
- return (index.h(guxFormFieldLabel.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldLabel.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, index.h("div", { class: {
53
+ return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldContainer.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, index.h("div", { class: {
50
54
  'gux-input': true,
51
55
  'gux-input-error': this.hasError
52
56
  } }, index.h("div", { class: {
53
57
  'gux-input-container': true,
54
58
  'gux-disabled': this.disabled
55
- } }, index.h("slot", { name: "input", onSlotchange: () => this.setInput() }))), index.h(guxFormField_service.GuxFormFieldError, { hasError: this.hasError }, index.h("slot", { name: "error" })))));
59
+ } }, index.h("slot", { name: "input", onSlotchange: () => this.setInput() }))), index.h(guxFormField_service.GuxFormFieldError, { show: this.hasError }, index.h("slot", { name: "error" })), index.h(guxFormField_service.GuxFormFieldHelp, { show: !this.hasError && this.hasHelp }, index.h("slot", { name: "help" })))));
56
60
  }
57
61
  get variant() {
58
62
  return this.labelPosition ? this.labelPosition.toLowerCase() : 'none';
@@ -2,13 +2,6 @@
2
2
 
3
3
  const index = require('./index-a4138a99.js');
4
4
 
5
- const GuxFormFieldContainer = ({ labelPosition }, children) => {
6
- return (index.h("div", { class: {
7
- 'gux-form-field-container': true,
8
- [`gux-${labelPosition}`]: true
9
- } }, children));
10
- };
11
-
12
5
  const GuxFormFieldLabel = ({ position, required }, children) => {
13
6
  return (index.h("div", { class: {
14
7
  'gux-form-field-label': true,
@@ -17,5 +10,12 @@ const GuxFormFieldLabel = ({ position, required }, children) => {
17
10
  } }, children));
18
11
  };
19
12
 
13
+ const GuxFormFieldContainer = ({ labelPosition }, children) => {
14
+ return (index.h("div", { class: {
15
+ 'gux-form-field-container': true,
16
+ [`gux-${labelPosition}`]: true
17
+ } }, children));
18
+ };
19
+
20
20
  exports.GuxFormFieldContainer = GuxFormFieldContainer;
21
21
  exports.GuxFormFieldLabel = GuxFormFieldLabel;
@@ -6,15 +6,16 @@ const index = require('./index-a4138a99.js');
6
6
  const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
7
7
  const onMutation = require('./on-mutation-74bf4591.js');
8
8
  const onAttributeChange = require('./on-attribute-change-37556263.js');
9
- const usageTracking = require('./usage-tracking-aa9da6aa.js');
10
- const guxFormFieldLabel = require('./gux-form-field-label-cb1bc6c7.js');
11
- const guxFormField_service = require('./gux-form-field.service-66dade5d.js');
9
+ const hasSlot = require('./has-slot-2e73d6e7.js');
10
+ const guxFormField_service = require('./gux-form-field.service-8424f99d.js');
11
+ const guxFormFieldContainer = require('./gux-form-field-container-284d1d01.js');
12
+ const usageTracking = require('./usage-tracking-2be3d35e.js');
12
13
  require('./random-html-id-b86b61c0.js');
13
14
  require('./log-error-a57681bf.js');
14
15
  require('./set-input-value-610d7da3.js');
15
16
  require('./simulate-native-event-fe3e62da.js');
16
17
 
17
- const guxFormFieldDropdownCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::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}.gux-input-and-error-container .gux-input.gux-disabled{pointer-events:none;opacity:0.5}";
18
+ const guxFormFieldDropdownCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input.gux-disabled{pointer-events:none;opacity:0.5}";
18
19
 
19
20
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
20
21
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -31,6 +32,7 @@ const GuxFormFieldDropdown = class {
31
32
  index.registerInstance(this, hostRef);
32
33
  this.computedLabelPosition = 'above';
33
34
  this.hasError = false;
35
+ this.hasHelp = false;
34
36
  }
35
37
  watchValue(hasError) {
36
38
  const dropdownSlot = this.root.querySelector('gux-dropdown') ||
@@ -40,12 +42,14 @@ const GuxFormFieldDropdown = class {
40
42
  }
41
43
  }
42
44
  onMutation() {
43
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
45
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
46
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
44
47
  }
45
48
  componentWillLoad() {
46
49
  this.setInput();
47
50
  this.setLabel();
48
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
51
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
52
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
49
53
  usageTracking.trackComponent(this.root, { variant: this.variant });
50
54
  }
51
55
  disconnectedCallback() {
@@ -53,11 +57,11 @@ const GuxFormFieldDropdown = class {
53
57
  this.requiredObserver.disconnect();
54
58
  }
55
59
  render() {
56
- return (index.h(guxFormFieldLabel.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldLabel.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, index.h("div", { class: {
60
+ return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldContainer.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, index.h("div", { class: {
57
61
  'gux-input': true,
58
62
  'gux-input-error': this.hasError,
59
63
  'gux-disabled': this.disabled
60
- } }, index.h("slot", null)), index.h(guxFormField_service.GuxFormFieldError, { hasError: this.hasError }, index.h("slot", { name: "error" })))));
64
+ } }, index.h("slot", null)), index.h(guxFormField_service.GuxFormFieldError, { show: this.hasError }, index.h("slot", { name: "error" })), index.h(guxFormField_service.GuxFormFieldHelp, { show: !this.hasError && this.hasHelp }, index.h("slot", { name: "help" })))));
61
65
  }
62
66
  get variant() {
63
67
  const labelPositionVariant = this.labelPosition
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a4138a99.js');
6
- const usageTracking = require('./usage-tracking-aa9da6aa.js');
6
+ const usageTracking = require('./usage-tracking-2be3d35e.js');
7
7
  const index$1 = require('./index-d4f3e61e.js');
8
8
  require('./get-closest-element-ab4b2eee.js');
9
9
 
@@ -8,7 +8,7 @@ const randomHtmlId = require('./random-html-id-b86b61c0.js');
8
8
  const logError = require('./log-error-a57681bf.js');
9
9
  const onAttributeChange = require('./on-attribute-change-37556263.js');
10
10
  const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
11
- const usageTracking = require('./usage-tracking-aa9da6aa.js');
11
+ const usageTracking = require('./usage-tracking-2be3d35e.js');
12
12
 
13
13
  const guxFormFieldCss = "gux-form-field-legacy{display:block;color:#2e394c}gux-form-field-legacy .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field-legacy .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field-legacy .gux-label-and-input-and-error-container input,gux-form-field-legacy .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field-legacy .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field-legacy .gux-error{display:none;margin:4px 0}gux-form-field-legacy .gux-error.gux-show{display:block}";
14
14
 
@@ -8,11 +8,12 @@ const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66
8
8
  const onMutation = require('./on-mutation-74bf4591.js');
9
9
  const onAttributeChange = require('./on-attribute-change-37556263.js');
10
10
  const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
11
- const usageTracking = require('./usage-tracking-aa9da6aa.js');
12
11
  const setInputValue = require('./set-input-value-610d7da3.js');
13
12
  const simulateNativeEvent = require('./simulate-native-event-fe3e62da.js');
14
- const guxFormFieldLabel = require('./gux-form-field-label-cb1bc6c7.js');
15
- const guxFormField_service = require('./gux-form-field.service-66dade5d.js');
13
+ const hasSlot = require('./has-slot-2e73d6e7.js');
14
+ const guxFormField_service = require('./gux-form-field.service-8424f99d.js');
15
+ const guxFormFieldContainer = require('./gux-form-field-container-284d1d01.js');
16
+ const usageTracking = require('./usage-tracking-2be3d35e.js');
16
17
  require('./get-closest-element-ab4b2eee.js');
17
18
  require('./random-html-id-b86b61c0.js');
18
19
  require('./log-error-a57681bf.js');
@@ -24,7 +25,7 @@ const componentResources = {
24
25
  decrement: decrement
25
26
  };
26
27
 
27
- const guxFormFieldNumberCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;width:100%}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}";
28
+ const guxFormFieldNumberCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;width:100%}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}";
28
29
 
29
30
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
30
31
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -42,21 +43,25 @@ const GuxFormFieldNumber = class {
42
43
  this.computedLabelPosition = 'above';
43
44
  this.hasContent = false;
44
45
  this.hasError = false;
46
+ this.hasHelp = false;
45
47
  }
46
48
  onMutation() {
47
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
49
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
50
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
48
51
  }
49
52
  // eslint-disable-next-line @typescript-eslint/require-await
50
53
  async guxForceUpdate() {
51
54
  this.hasContent = guxFormField_service.hasContent(this.input);
52
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
55
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
56
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
53
57
  index.forceUpdate(this.root);
54
58
  }
55
59
  async componentWillLoad() {
56
60
  this.getI18nValue = await index$1.buildI18nForComponent(this.root, componentResources);
57
61
  this.setInput();
58
62
  this.setLabel();
59
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
63
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
64
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
60
65
  usageTracking.trackComponent(this.root, { variant: this.variant });
61
66
  }
62
67
  disconnectedCallback() {
@@ -65,14 +70,14 @@ const GuxFormFieldNumber = class {
65
70
  }
66
71
  render() {
67
72
  const showClearButton = this.clearable && this.hasContent && !this.disabled;
68
- return (index.h(guxFormFieldLabel.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldLabel.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, index.h("div", { class: {
73
+ return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldContainer.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, index.h("div", { class: {
69
74
  'gux-input': true,
70
75
  'gux-input-error': this.hasError
71
76
  }, part: "input-section" }, index.h("div", { class: {
72
77
  'gux-input-container': true,
73
78
  'gux-disabled': this.disabled,
74
79
  'gux-clear': showClearButton
75
- } }, index.h("slot", { name: "input", onSlotchange: () => this.setInput() }), showClearButton && (index.h("gux-form-field-input-clear-button", { onClick: () => guxFormField_service.clearInput(this.input) }))), this.renderStepButtons(this.input, this.getI18nValue, this.disabled)), index.h(guxFormField_service.GuxFormFieldError, { hasError: this.hasError }, index.h("slot", { name: "error" })))));
80
+ } }, index.h("slot", { name: "input", onSlotchange: () => this.setInput() }), showClearButton && (index.h("gux-form-field-input-clear-button", { onClick: () => guxFormField_service.clearInput(this.input) }))), this.renderStepButtons(this.input, this.getI18nValue, this.disabled)), index.h(guxFormField_service.GuxFormFieldError, { show: this.hasError }, index.h("slot", { name: "error" })), index.h(guxFormField_service.GuxFormFieldHelp, { show: !this.hasError && this.hasHelp }, index.h("slot", { name: "help" })))));
76
81
  }
77
82
  get variant() {
78
83
  const labelPositionVariant = this.labelPosition
@@ -6,14 +6,15 @@ const index = require('./index-a4138a99.js');
6
6
  const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
7
7
  const onMutation = require('./on-mutation-74bf4591.js');
8
8
  const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
9
- const usageTracking = require('./usage-tracking-aa9da6aa.js');
10
- const guxFormField_service = require('./gux-form-field.service-66dade5d.js');
9
+ const hasSlot = require('./has-slot-2e73d6e7.js');
10
+ const guxFormField_service = require('./gux-form-field.service-8424f99d.js');
11
+ const usageTracking = require('./usage-tracking-2be3d35e.js');
11
12
  require('./random-html-id-b86b61c0.js');
12
13
  require('./log-error-a57681bf.js');
13
14
  require('./set-input-value-610d7da3.js');
14
15
  require('./simulate-native-event-fe3e62da.js');
15
16
 
16
- const guxFormFieldRadioCss = ".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}:host{display:block;color:#2e394c}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type='radio']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='radio'])::before{grid-area:1;content:'';border-radius:50%}::slotted(input[type='radio']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='radio']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%2377828f'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:not(:checked):not(:disabled):hover)::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.026 5.262a2.8 2.8 0 1 0 .001 5.601 2.8 2.8 0 0 0-.001-5.601zm0-2.2c-2.761 0-5 2.211-5 4.938s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";
17
+ const guxFormFieldRadioCss = ".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;color:#2e394c}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type='radio']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;cursor:pointer;border:0;-webkit-appearance:none;appearance:none;outline:none}::slotted(input[type='radio'])::before{grid-area:1;content:'';border-radius:50%}::slotted(input[type='radio']:focus-within)::before{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='radio']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%2377828f'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:not(:checked):not(:disabled):hover)::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.062C5.239 3.062 3 5.273 3 8s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill-rule='evenodd' clip-rule='evenodd' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8.026 5.262a2.8 2.8 0 1 0 .001 5.601 2.8 2.8 0 0 0-.001-5.601zm0-2.2c-2.761 0-5 2.211-5 4.938s2.239 4.938 5 4.938c2.762 0 5-2.211 5-4.938s-2.238-4.938-5-4.938zm0 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='radio']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";
17
18
 
18
19
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
19
20
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -29,13 +30,16 @@ const GuxFormFieldRadio = class {
29
30
  constructor(hostRef) {
30
31
  index.registerInstance(this, hostRef);
31
32
  this.hasError = false;
33
+ this.hasHelp = false;
32
34
  }
33
35
  onMutation() {
34
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
36
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
37
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
35
38
  }
36
39
  componentWillLoad() {
37
40
  this.setInput();
38
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
41
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
42
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
39
43
  usageTracking.trackComponent(this.root);
40
44
  }
41
45
  disconnectedCallback() {
@@ -45,7 +49,7 @@ const GuxFormFieldRadio = class {
45
49
  return (index.h(index.Host, { class: {
46
50
  'gux-input-error': this.hasError,
47
51
  'gux-disabled': this.disabled
48
- } }, index.h("div", { class: "gux-form-field-container" }, index.h("div", { class: "gux-input-label" }, index.h("div", { class: "gux-input" }, index.h("slot", { name: "input", onSlotchange: () => this.setInput() })), index.h("div", { class: "gux-label" }, index.h("slot", { name: "label" }), index.h(guxFormField_service.GuxFormFieldError, { hasError: this.hasError }, index.h("slot", { name: "error" })))))));
52
+ } }, index.h("div", { class: "gux-form-field-container" }, index.h("div", { class: "gux-input-label" }, index.h("div", { class: "gux-input" }, index.h("slot", { name: "input", onSlotchange: () => this.setInput() })), index.h("div", { class: "gux-label" }, index.h("slot", { name: "label" }), index.h(guxFormField_service.GuxFormFieldError, { show: this.hasError }, index.h("slot", { name: "error" })), index.h(guxFormField_service.GuxFormFieldHelp, { show: !this.hasError && this.hasHelp }, index.h("slot", { name: "help" })))))));
49
53
  }
50
54
  setInput() {
51
55
  this.input = this.root.querySelector('input[type="radio"][slot="input"]');
@@ -7,15 +7,16 @@ const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66
7
7
  const onMutation = require('./on-mutation-74bf4591.js');
8
8
  const onAttributeChange = require('./on-attribute-change-37556263.js');
9
9
  const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
10
- const usageTracking = require('./usage-tracking-aa9da6aa.js');
11
- const guxFormFieldLabel = require('./gux-form-field-label-cb1bc6c7.js');
12
- const guxFormField_service = require('./gux-form-field.service-66dade5d.js');
10
+ const hasSlot = require('./has-slot-2e73d6e7.js');
11
+ const guxFormField_service = require('./gux-form-field.service-8424f99d.js');
12
+ const guxFormFieldContainer = require('./gux-form-field-container-284d1d01.js');
13
+ const usageTracking = require('./usage-tracking-2be3d35e.js');
13
14
  require('./random-html-id-b86b61c0.js');
14
15
  require('./log-error-a57681bf.js');
15
16
  require('./set-input-value-610d7da3.js');
16
17
  require('./simulate-native-event-fe3e62da.js');
17
18
 
18
- const guxFormFieldRangeCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input[type='range']){position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}.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;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:0.5}.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:2px;margin:6px 0;background-color:#8a97ad}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;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:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:var(--gux-zindex-tooltip, 1);display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.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:#fdfdfd}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#b4bccb}";
19
+ const guxFormFieldRangeCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input[type='range']){position:absolute;width:100%;height:2px;margin:6px 0;margin-top:calc(-1 * (12px / 2 + 2px));background:transparent;-webkit-appearance:none}.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;align-content:stretch;align-items:center;justify-content:flex-start;height:32px;font-size:12px}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:0.5}.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:2px;margin:6px 0;background-color:#8a97ad}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{height:2px;background-color:#2a60c8}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;height:32px;margin:0 0 0 16px;line-height:32px;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:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px;position:absolute;z-index:var(--gux-zindex-tooltip, 1);display:flex;align-items:center;justify-content:center;width:50px;height:32px;margin-left:-20px;visibility:hidden;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.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:#fdfdfd}.gux-input-and-error-container .gux-range-tooltip-container .gux-range-tooltip::before{margin-left:-6px;border-width:6px;border-top-color:#b4bccb}";
19
20
 
20
21
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
21
22
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -32,6 +33,7 @@ const GuxFormField = class {
32
33
  index.registerInstance(this, hostRef);
33
34
  this.computedLabelPosition = 'above';
34
35
  this.hasError = false;
36
+ this.hasHelp = false;
35
37
  }
36
38
  onInput(e) {
37
39
  const input = e.target;
@@ -46,12 +48,14 @@ const GuxFormField = class {
46
48
  this.active = false;
47
49
  }
48
50
  onMutation() {
49
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
51
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
52
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
50
53
  }
51
54
  componentWillLoad() {
52
55
  this.setInput();
53
56
  this.setLabel();
54
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
57
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
58
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
55
59
  usageTracking.trackComponent(this.root, { variant: this.variant });
56
60
  }
57
61
  componentDidLoad() {
@@ -65,7 +69,7 @@ const GuxFormField = class {
65
69
  render() {
66
70
  return (index.h(index.Host, { class: {
67
71
  'gux-active': this.active
68
- } }, index.h(guxFormFieldLabel.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldLabel.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, this.renderRangeInput(), index.h(guxFormField_service.GuxFormFieldError, { hasError: this.hasError }, index.h("slot", { name: "error" }))))));
72
+ } }, index.h(guxFormFieldContainer.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldContainer.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, this.renderRangeInput(), index.h(guxFormField_service.GuxFormFieldError, { show: this.hasError }, index.h("slot", { name: "error" })), index.h(guxFormField_service.GuxFormFieldHelp, { show: !this.hasError && this.hasHelp }, index.h("slot", { name: "help" }))))));
69
73
  }
70
74
  get variant() {
71
75
  return this.labelPosition ? this.labelPosition.toLowerCase() : 'none';
@@ -7,15 +7,16 @@ const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66
7
7
  const onMutation = require('./on-mutation-74bf4591.js');
8
8
  const onAttributeChange = require('./on-attribute-change-37556263.js');
9
9
  const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
10
- const usageTracking = require('./usage-tracking-aa9da6aa.js');
11
- const guxFormFieldLabel = require('./gux-form-field-label-cb1bc6c7.js');
12
- const guxFormField_service = require('./gux-form-field.service-66dade5d.js');
10
+ const hasSlot = require('./has-slot-2e73d6e7.js');
11
+ const guxFormField_service = require('./gux-form-field.service-8424f99d.js');
12
+ const guxFormFieldContainer = require('./gux-form-field-container-284d1d01.js');
13
+ const usageTracking = require('./usage-tracking-2be3d35e.js');
13
14
  require('./random-html-id-b86b61c0.js');
14
15
  require('./log-error-a57681bf.js');
15
16
  require('./set-input-value-610d7da3.js');
16
17
  require('./simulate-native-event-fe3e62da.js');
17
18
 
18
- const guxFormFieldSearchCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 8px;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name='search']{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#596373}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";
19
+ const guxFormFieldSearchCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;line-height:16px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 8px;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name='search']{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;margin-right:4px;color:#596373}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";
19
20
 
20
21
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
21
22
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -34,14 +35,17 @@ const GuxFormFieldSearch = class {
34
35
  this.clearable = true;
35
36
  this.hasContent = false;
36
37
  this.hasError = false;
38
+ this.hasHelp = false;
37
39
  }
38
40
  onMutation() {
39
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
41
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
42
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
40
43
  }
41
44
  componentWillLoad() {
42
45
  this.setInput();
43
46
  this.setLabel();
44
- this.hasError = guxFormField_service.hasErrorSlot(this.root);
47
+ this.hasError = hasSlot.hasSlot(this.root, 'error');
48
+ this.hasHelp = hasSlot.hasSlot(this.root, 'help');
45
49
  usageTracking.trackComponent(this.root, { variant: this.variant });
46
50
  }
47
51
  disconnectedCallback() {
@@ -49,13 +53,13 @@ const GuxFormFieldSearch = class {
49
53
  this.requiredObserver.disconnect();
50
54
  }
51
55
  render() {
52
- return (index.h(guxFormFieldLabel.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldLabel.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, index.h("div", { class: {
56
+ return (index.h(guxFormFieldContainer.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldContainer.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, index.h("div", { class: {
53
57
  'gux-input': true,
54
58
  'gux-input-error': this.hasError
55
59
  } }, index.h("div", { class: {
56
60
  'gux-input-container': true,
57
61
  'gux-disabled': this.disabled
58
- } }, index.h("gux-icon", { "icon-name": "search", decorative: true }), index.h("slot", { name: "input" }), this.clearable && this.hasContent && !this.disabled && (index.h("gux-form-field-input-clear-button", { onClick: () => guxFormField_service.clearInput(this.input) })))), index.h(guxFormField_service.GuxFormFieldError, { hasError: this.hasError }, index.h("slot", { name: "error" })))));
62
+ } }, index.h("gux-icon", { "icon-name": "search", decorative: true }), index.h("slot", { name: "input" }), this.clearable && this.hasContent && !this.disabled && (index.h("gux-form-field-input-clear-button", { onClick: () => guxFormField_service.clearInput(this.input) })))), index.h(guxFormField_service.GuxFormFieldError, { show: this.hasError }, index.h("slot", { name: "error" })), index.h(guxFormField_service.GuxFormFieldHelp, { show: !this.hasError && this.hasHelp }, index.h("slot", { name: "help" })))));
59
63
  }
60
64
  get variant() {
61
65
  const labelPositionVariant = this.labelPosition