genesys-spark-components 3.17.1 → 3.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/CHANGELOG.md +21 -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-badge-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-dropdown_3.cjs.entry.js +6 -2
  32. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +5 -5
  35. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -4
  36. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +8 -9
  37. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-number.cjs.entry.js +6 -5
  40. package/dist/cjs/gux-form-field-radio.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-form-field-range.cjs.entry.js +5 -4
  42. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -4
  43. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -4
  44. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +18 -7
  45. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -4
  46. package/dist/cjs/{gux-form-field.service-13fc997c.js → gux-form-field.service-c1cdde0e.js} +22 -4
  47. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +20 -0
  67. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +33 -0
  68. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
  81. package/dist/cjs/index-262c2e3a.js +8 -0
  82. package/dist/cjs/loader.cjs.js +1 -1
  83. package/dist/cjs/on-input-disabled-state-change-d66fb86b.js +25 -0
  84. package/dist/cjs/{usage-tracking-a1cfacb3.js → usage-tracking-1577c51d.js} +1 -1
  85. package/dist/collection/collection-manifest.json +2 -0
  86. package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.css +22 -0
  87. package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +16 -0
  88. package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-list.css +29 -0
  89. package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-list.js +26 -0
  90. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +6 -1
  91. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +4 -3
  92. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +5 -4
  93. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +1 -75
  94. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +7 -9
  95. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +1 -1
  96. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +5 -4
  97. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +4 -3
  98. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +4 -3
  99. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +4 -3
  100. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +4 -3
  101. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +7 -0
  102. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +22 -5
  103. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +4 -3
  104. package/dist/collection/components/stable/gux-form-field/gux-form-field.service.js +21 -4
  105. package/dist/collection/utils/dom/calculate-input-disabled-state.js +4 -0
  106. package/dist/collection/utils/dom/on-input-disabled-state-change.js +16 -0
  107. package/dist/deploy-info.json +3 -3
  108. package/dist/esm/genesys-webcomponents.js +1 -1
  109. package/dist/esm/gux-accordion-legacy.entry.js +1 -1
  110. package/dist/esm/gux-accordion.entry.js +1 -1
  111. package/dist/esm/gux-action-button-legacy.entry.js +1 -1
  112. package/dist/esm/gux-action-button.entry.js +1 -1
  113. package/dist/esm/gux-action-list-legacy.entry.js +1 -1
  114. package/dist/esm/gux-action-toast.entry.js +1 -1
  115. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  116. package/dist/esm/gux-badge-beta.entry.js +1 -1
  117. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  118. package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
  119. package/dist/esm/gux-button-multi.entry.js +1 -1
  120. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  121. package/dist/esm/gux-button.entry.js +1 -1
  122. package/dist/esm/gux-calendar.entry.js +1 -1
  123. package/dist/esm/gux-card-beta.entry.js +1 -1
  124. package/dist/esm/gux-chart-column-beta.entry.js +1 -1
  125. package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
  126. package/dist/esm/gux-chart-line-beta.entry.js +1 -1
  127. package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
  128. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
  129. package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
  130. package/dist/esm/gux-content-search.entry.js +1 -1
  131. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +1 -1
  132. package/dist/esm/gux-datepicker.entry.js +1 -1
  133. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  134. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  135. package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
  136. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  137. package/dist/esm/gux-dropdown_3.entry.js +6 -2
  138. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  139. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  140. package/dist/esm/gux-form-field-checkbox.entry.js +5 -5
  141. package/dist/esm/gux-form-field-color.entry.js +6 -5
  142. package/dist/esm/gux-form-field-dropdown.entry.js +9 -10
  143. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  144. package/dist/esm/gux-form-field-legacy.entry.js +1 -1
  145. package/dist/esm/gux-form-field-number.entry.js +7 -6
  146. package/dist/esm/gux-form-field-radio.entry.js +5 -5
  147. package/dist/esm/gux-form-field-range.entry.js +6 -5
  148. package/dist/esm/gux-form-field-search.entry.js +6 -5
  149. package/dist/esm/gux-form-field-select.entry.js +6 -5
  150. package/dist/esm/gux-form-field-text-like.entry.js +19 -8
  151. package/dist/esm/gux-form-field-textarea.entry.js +6 -5
  152. package/dist/esm/{gux-form-field.service-2ff78b1b.js → gux-form-field.service-debdaed0.js} +22 -5
  153. package/dist/esm/gux-icon.entry.js +1 -1
  154. package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
  155. package/dist/esm/gux-list.entry.js +1 -1
  156. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  157. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  158. package/dist/esm/gux-modal.entry.js +1 -1
  159. package/dist/esm/gux-notification-toast.entry.js +1 -1
  160. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  161. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  162. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  163. package/dist/esm/gux-pagination.entry.js +1 -1
  164. package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
  165. package/dist/esm/gux-popover-list.entry.js +1 -1
  166. package/dist/esm/gux-popover.entry.js +1 -1
  167. package/dist/esm/gux-radial-loading.entry.js +1 -1
  168. package/dist/esm/gux-radial-progress.entry.js +1 -1
  169. package/dist/esm/gux-rating.entry.js +1 -1
  170. package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
  171. package/dist/esm/gux-simple-toast.entry.js +1 -1
  172. package/dist/esm/gux-skip-navigation-item.entry.js +16 -0
  173. package/dist/esm/gux-skip-navigation-list-beta.entry.js +29 -0
  174. package/dist/esm/gux-sort-control.entry.js +1 -1
  175. package/dist/esm/gux-switch.entry.js +1 -1
  176. package/dist/esm/gux-table-beta.entry.js +1 -1
  177. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  178. package/dist/esm/gux-tabs-legacy.entry.js +1 -1
  179. package/dist/esm/gux-tabs.entry.js +1 -1
  180. package/dist/esm/gux-tag-beta.entry.js +1 -1
  181. package/dist/esm/gux-text-highlight.entry.js +1 -1
  182. package/dist/esm/gux-text-label-legacy.entry.js +1 -1
  183. package/dist/esm/gux-time-picker-beta.entry.js +1 -1
  184. package/dist/esm/gux-toggle.entry.js +1 -1
  185. package/dist/esm/gux-tooltip.entry.js +1 -1
  186. package/dist/esm/gux-visualization-beta.entry.js +1 -1
  187. package/dist/esm/index-74e605ae.js +8 -0
  188. package/dist/esm/loader.js +1 -1
  189. package/dist/esm/on-input-disabled-state-change-3ea76372.js +22 -0
  190. package/dist/esm/{usage-tracking-1815b37d.js → usage-tracking-8e48cf8c.js} +1 -1
  191. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  192. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ar.json +1 -1
  193. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.cs.json +1 -1
  194. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
  195. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.de.json +1 -1
  196. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  197. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
  198. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
  199. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fi.json +1 -1
  200. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr-ca.json +1 -1
  201. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr.json +1 -1
  202. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.he.json +1 -1
  203. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.it.json +1 -1
  204. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ja.json +1 -1
  205. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ko.json +1 -1
  206. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.nl.json +1 -1
  207. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.no.json +1 -1
  208. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pl.json +1 -1
  209. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
  210. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-pt.json +1 -1
  211. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ru.json +1 -1
  212. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.sv.json +1 -1
  213. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.th.json +1 -1
  214. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.tr.json +1 -1
  215. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-cn.json +1 -1
  216. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-tw.json +1 -1
  217. package/dist/genesys-webcomponents/less/typography.less +1 -6
  218. package/dist/genesys-webcomponents/p-018290ef.entry.js +1 -0
  219. package/dist/genesys-webcomponents/{p-1f68e4a3.entry.js → p-08bdbeba.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/p-0a456351.entry.js +1 -0
  221. package/dist/genesys-webcomponents/{p-58044e15.entry.js → p-0e7278ae.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-49f518f9.entry.js → p-157335b2.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-e13c8acf.entry.js → p-1b1454bf.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-90c01d84.entry.js → p-1fc8155a.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-3bad07db.entry.js → p-259d1f95.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-da430acd.entry.js → p-2b4b37a2.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-465f89f6.js → p-2c2fec86.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-9d9a02b4.entry.js → p-2c65a02c.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/p-317fd5b7.entry.js +1 -0
  230. package/dist/genesys-webcomponents/p-38439a3a.entry.js +1 -0
  231. package/dist/genesys-webcomponents/{p-e05d4857.entry.js → p-3c0298af.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/p-3e412855.entry.js +1 -0
  233. package/dist/genesys-webcomponents/{p-297ced22.entry.js → p-3f29df54.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/p-3f5341ea.js +1 -0
  235. package/dist/genesys-webcomponents/{p-6899ba7f.entry.js → p-41e9f98b.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-38eaa363.entry.js → p-46a22b92.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-d47ca13d.entry.js → p-4c11109d.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-9441a376.entry.js → p-4c730a4e.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-0827c25a.entry.js → p-50bb1707.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-9048c58d.entry.js → p-51a14752.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-038656e8.entry.js → p-529c29c0.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-6f5b7b0a.entry.js → p-545d7bd5.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-0c88ce67.entry.js → p-594ee8c2.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/p-5e62c239.entry.js +1 -0
  245. package/dist/genesys-webcomponents/{p-b99a3610.entry.js → p-5eca79ac.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-9c25fc0d.entry.js → p-63e576f0.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/p-67556723.entry.js +1 -0
  248. package/dist/genesys-webcomponents/p-68e6b0e4.entry.js +1 -0
  249. package/dist/genesys-webcomponents/{p-cfd1c47d.entry.js → p-6a6680bc.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-56725338.entry.js → p-782ae868.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-93ea816b.entry.js → p-7beb85b9.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-e056757e.entry.js → p-7cedadb0.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-d46b6457.entry.js → p-7e2d62a8.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/p-7f614c57.entry.js +1 -0
  255. package/dist/genesys-webcomponents/{p-046c4d4c.entry.js → p-822b4a04.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-11f7efbf.entry.js → p-83cdf8bf.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/p-88301f55.entry.js +1 -0
  258. package/dist/genesys-webcomponents/p-8caf2514.js +1 -0
  259. package/dist/genesys-webcomponents/p-900230b2.entry.js +1 -0
  260. package/dist/genesys-webcomponents/{p-e79c57d4.entry.js → p-931f5a4c.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-c6be8743.entry.js → p-958ea819.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-7916892d.entry.js → p-9c7bd483.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-d0275db5.entry.js → p-9c9572d4.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-64a5ea8e.entry.js → p-a53f0cca.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-8aa41116.entry.js → p-a742d7c8.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-4b3b26f5.entry.js → p-ab0e97aa.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-00851515.entry.js → p-ae0661e7.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-8b8e80f2.entry.js → p-af2d9444.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-a7d38535.entry.js → p-b0a7799c.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-a331ec5a.entry.js → p-b1223d4d.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-80111d4a.entry.js → p-b5b384f9.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-5e6469f2.entry.js → p-b65f5d73.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-393bb7f2.entry.js → p-b8687520.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-234e4466.entry.js → p-bbebe2c1.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-4d527abb.entry.js → p-bd6c3674.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-178b2b06.entry.js → p-c1f85df7.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/p-c5620be5.entry.js +1 -0
  278. package/dist/genesys-webcomponents/{p-2265bb6f.entry.js → p-cafb669a.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-f98efaab.entry.js → p-cbbfb924.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-9fb6e0c4.entry.js → p-d1c5bf71.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-c9608773.entry.js → p-d347e861.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/p-d725360d.entry.js +1 -0
  283. package/dist/genesys-webcomponents/{p-6d753e41.entry.js → p-da7de0f1.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-706c3ebe.entry.js → p-db48bbcc.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/p-de98b5ab.entry.js +1 -0
  286. package/dist/genesys-webcomponents/{p-6358f9cb.entry.js → p-df79c0c3.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-51b6e718.entry.js → p-e2e93fc8.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-ac9e00d2.entry.js → p-ecdead3c.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-f1ad2c64.entry.js → p-edde4fee.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/p-ef020ce1.entry.js +1 -0
  291. package/dist/genesys-webcomponents/{p-bf9be6a2.entry.js → p-efc2cc84.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-9169702e.entry.js → p-f43d8bcc.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-b6e98893.entry.js → p-f543af0c.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-c8937107.entry.js → p-f7f356f1.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-e63f5f19.entry.js → p-f932b7ba.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-fbc901ab.entry.js → p-fb1cf654.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-19f61f9c.entry.js → p-fb4ed5fe.entry.js} +1 -1
  298. package/dist/stencil-wrapper.js +1 -1
  299. package/dist/types/components/beta/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.d.ts +4 -0
  300. package/dist/types/components/beta/gux-skip-navigation-list/gux-skip-navigation-list.d.ts +7 -0
  301. package/dist/types/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.d.ts +4 -0
  302. package/dist/types/components/stable/gux-form-field/gux-form-field.service.d.ts +1 -0
  303. package/dist/types/components.d.ts +26 -0
  304. package/dist/types/utils/dom/calculate-input-disabled-state.d.ts +1 -0
  305. package/dist/types/utils/dom/on-input-disabled-state-change.d.ts +1 -0
  306. package/package.json +1 -1
  307. package/dist/genesys-webcomponents/p-2bcbc97c.entry.js +0 -1
  308. package/dist/genesys-webcomponents/p-3e7ba83a.entry.js +0 -1
  309. package/dist/genesys-webcomponents/p-5f58575f.entry.js +0 -1
  310. package/dist/genesys-webcomponents/p-6d2cdd09.entry.js +0 -1
  311. package/dist/genesys-webcomponents/p-85cd9ac2.entry.js +0 -1
  312. package/dist/genesys-webcomponents/p-8b48f04a.entry.js +0 -1
  313. package/dist/genesys-webcomponents/p-95b1c3da.entry.js +0 -1
  314. package/dist/genesys-webcomponents/p-9d6961b1.entry.js +0 -1
  315. package/dist/genesys-webcomponents/p-b9ae2afa.entry.js +0 -1
  316. package/dist/genesys-webcomponents/p-bc7cd0af.entry.js +0 -1
  317. package/dist/genesys-webcomponents/p-dcd342ec.js +0 -1
  318. package/dist/genesys-webcomponents/p-e69e61b7.entry.js +0 -1
  319. package/dist/genesys-webcomponents/p-e6a3b956.entry.js +0 -1
  320. package/dist/genesys-webcomponents/p-f0607d82.entry.js +0 -1
@@ -5,8 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component, Element, h, Host, State } from '@stencil/core';
8
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
9
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
8
10
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
9
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
10
11
  import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
11
12
  import { trackComponent } from '../../../../../usage-tracking';
12
13
  import { GuxFormFieldError } from '../../functional-components/gux-form-field-error/gux-form-field-error';
@@ -46,8 +47,8 @@ export class GuxFormFieldCheckbox {
46
47
  setInput() {
47
48
  this.input = this.root.querySelector('input[type="checkbox"][slot="input"]');
48
49
  preventBrowserValidationStyling(this.input);
49
- this.disabled = this.input.disabled;
50
- this.disabledObserver = onDisabledChange(this.input, (disabled) => {
50
+ this.disabled = calculateInputDisabledState(this.input);
51
+ this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
51
52
  this.disabled = disabled;
52
53
  });
53
54
  validateFormIds(this.root, this.input);
@@ -5,15 +5,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component, Element, h, Prop, State } from '@stencil/core';
8
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
9
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
8
10
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
9
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
10
11
  import { onRequiredChange } from '../../../../../utils/dom/on-attribute-change';
11
12
  import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
12
13
  import { trackComponent } from '../../../../../usage-tracking';
13
14
  import { GuxFormFieldContainer } from '../../functional-components/gux-form-field-container/gux-form-field-container';
14
15
  import { GuxFormFieldError } from '../../functional-components/gux-form-field-error/gux-form-field-error';
15
16
  import { GuxFormFieldLabel } from '../../functional-components/gux-form-field-label/gux-form-field-label';
16
- import { hasErrorSlot, getComputedLabelPosition, validateFormIds } from '../../gux-form-field.service';
17
+ import { getComputedLabelPosition, hasErrorSlot, validateFormIds } from '../../gux-form-field.service';
17
18
  /**
18
19
  * @slot input - Required slot for input tag
19
20
  * @slot label - Required slot for label tag
@@ -59,9 +60,9 @@ export class GuxFormFieldColor {
59
60
  setInput() {
60
61
  this.input = this.root.querySelector('input[type="color"][slot="input"]');
61
62
  preventBrowserValidationStyling(this.input);
62
- this.disabled = this.input.disabled;
63
+ this.disabled = calculateInputDisabledState(this.input);
63
64
  this.required = this.input.required;
64
- this.disabledObserver = onDisabledChange(this.input, (disabled) => {
65
+ this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
65
66
  this.disabled = disabled;
66
67
  });
67
68
  this.requiredObserver = onRequiredChange(this.input, (required) => {
@@ -67,87 +67,13 @@
67
67
  font-size: 12px;
68
68
  line-height: 16px;
69
69
  }
70
- ::slotted(select) {
71
- flex: 1 1 auto;
72
- align-self: auto;
73
- order: 0;
74
- height: 32px;
75
- padding: 0 32px 0 12px;
76
- margin: 0;
77
- color: #2e394c;
78
- background-color: #f6f7f9;
79
- border: none;
80
- border-radius: 4px;
81
- outline: none;
82
- box-shadow: inset 0 0 4px rgba(32, 41, 55, 0.16);
83
- -moz-appearance: none;
84
- -webkit-appearance: none;
85
- appearance: none;
86
- }
87
- ::slotted(select)::placeholder {
88
- color: #596373;
89
- opacity: 1;
90
- }
91
70
  .gux-input-and-error-container {
92
71
  flex-grow: 1;
93
72
  }
94
- .gux-input-and-error-container .gux-input .gux-input-container {
95
- position: relative;
96
- box-sizing: border-box;
97
- display: flex;
98
- flex-direction: row;
99
- flex-wrap: nowrap;
100
- align-content: stretch;
101
- align-items: center;
102
- justify-content: center;
103
- width: 100%;
104
- font-family: inherit;
105
- font-size: 12px;
106
- line-height: 1.6667;
107
- color: #2e394c;
108
- background-color: #f6f7f9;
109
- background-image: none;
110
- border: 1px solid #6b7585;
111
- border-radius: 4px;
112
- }
113
- .gux-input-and-error-container .gux-input .gux-input-container.gux-disabled {
73
+ .gux-input-and-error-container .gux-input.gux-disabled {
114
74
  pointer-events: none;
115
75
  opacity: 0.5;
116
76
  }
117
- .gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon {
118
- color: #2a60c8;
119
- }
120
- .gux-input-and-error-container .gux-input .gux-input-container select {
121
- flex: 1 1 auto;
122
- align-self: auto;
123
- order: 0;
124
- height: 32px;
125
- padding: 0 32px 0 12px;
126
- margin: 0;
127
- color: #2e394c;
128
- background-color: #f6f7f9;
129
- border: none;
130
- border-radius: 4px;
131
- outline: none;
132
- box-shadow: inset 0 0 4px rgba(32, 41, 55, 0.16);
133
- -moz-appearance: none;
134
- -webkit-appearance: none;
135
- appearance: none;
136
- }
137
- .gux-input-and-error-container .gux-input .gux-input-container gux-icon {
138
- position: absolute;
139
- top: 0;
140
- right: 0;
141
- width: 16px;
142
- height: 16px;
143
- margin: 8px;
144
- pointer-events: none;
145
- }
146
- .gux-input-and-error-container .gux-input .gux-input-container:focus-within {
147
- border-color: #2a60c8;
148
- outline: none;
149
- box-shadow: 0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff;
150
- }
151
77
  .gux-input-and-error-container .gux-input.gux-input-error .gux-input-container {
152
78
  border-color: #ea0b0b;
153
79
  }
@@ -5,8 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component, Element, h, Prop, State } from '@stencil/core';
8
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
9
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
8
10
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
9
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
10
11
  import { onRequiredChange } from '../../../../../utils/dom/on-attribute-change';
11
12
  import { trackComponent } from '../../../../../usage-tracking';
12
13
  import { GuxFormFieldContainer } from '../../functional-components/gux-form-field-container/gux-form-field-container';
@@ -43,13 +44,10 @@ export class GuxFormFieldDropdown {
43
44
  h("div", { class: "gux-input-and-error-container" },
44
45
  h("div", { class: {
45
46
  'gux-input': true,
46
- 'gux-input-error': this.hasError
47
+ 'gux-input-error': this.hasError,
48
+ 'gux-disabled': this.disabled
47
49
  } },
48
- h("div", { class: {
49
- 'gux-dropdown-container': true,
50
- 'gux-disabled': this.disabled
51
- } },
52
- h("slot", null))),
50
+ h("slot", null)),
53
51
  h(GuxFormFieldError, { hasError: this.hasError },
54
52
  h("slot", { name: "error" })))));
55
53
  }
@@ -67,9 +65,9 @@ export class GuxFormFieldDropdown {
67
65
  this.listboxElement =
68
66
  this.root.querySelector('gux-listbox') ||
69
67
  this.root.querySelector('gux-listbox-multi');
70
- this.disabled = this.dropdownElement.disabled;
68
+ this.disabled = calculateInputDisabledState(this.dropdownElement);
71
69
  this.required = this.dropdownElement.required;
72
- this.disabledObserver = onDisabledChange(this.dropdownElement, (disabled) => {
70
+ this.disabledObserver = onInputDisabledStateChange(this.dropdownElement, (disabled) => {
73
71
  this.disabled = disabled;
74
72
  });
75
73
  this.requiredObserver = onRequiredChange(this.dropdownElement, (required) => {
@@ -132,7 +132,7 @@
132
132
  outline: none;
133
133
  box-shadow: 0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff;
134
134
  }
135
- .gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container {
135
+ .gux-input-and-error-container .gux-input.gux-input-error .gux-input-container {
136
136
  border-color: #ea0b0b;
137
137
  }
138
138
  .gux-step-buttons-container {
@@ -6,8 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { Component, Element, h, Prop, State } from '@stencil/core';
8
8
  import { buildI18nForComponent } from '../../../../../i18n';
9
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
10
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
9
11
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
10
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
11
12
  import { onRequiredChange } from '../../../../../utils/dom/on-attribute-change';
12
13
  import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
13
14
  import { trackComponent } from '../../../../../usage-tracking';
@@ -16,7 +17,7 @@ import simulateNativeEvent from '../../../../../utils/dom/simulate-native-event'
16
17
  import { GuxFormFieldContainer } from '../../functional-components/gux-form-field-container/gux-form-field-container';
17
18
  import { GuxFormFieldError } from '../../functional-components/gux-form-field-error/gux-form-field-error';
18
19
  import { GuxFormFieldLabel } from '../../functional-components/gux-form-field-label/gux-form-field-label';
19
- import { clearInput, hasErrorSlot, hasContent, getComputedLabelPosition, validateFormIds } from '../../gux-form-field.service';
20
+ import { clearInput, getComputedLabelPosition, hasContent, hasErrorSlot, validateFormIds } from '../../gux-form-field.service';
20
21
  import componentResources from './i18n/en.json';
21
22
  /**
22
23
  * @slot input - Required slot for input tag
@@ -78,9 +79,9 @@ export class GuxFormFieldNumber {
78
79
  this.input.addEventListener('input', () => {
79
80
  this.hasContent = hasContent(this.input);
80
81
  });
81
- this.disabled = this.input.disabled;
82
+ this.disabled = calculateInputDisabledState(this.input);
82
83
  this.required = this.input.required;
83
- this.disabledObserver = onDisabledChange(this.input, (disabled) => {
84
+ this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
84
85
  this.disabled = disabled;
85
86
  });
86
87
  this.requiredObserver = onRequiredChange(this.input, (required) => {
@@ -5,8 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component, Element, h, Host, State } from '@stencil/core';
8
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
9
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
8
10
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
9
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
10
11
  import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
11
12
  import { trackComponent } from '../../../../../usage-tracking';
12
13
  import { GuxFormFieldError } from '../../functional-components/gux-form-field-error/gux-form-field-error';
@@ -46,8 +47,8 @@ export class GuxFormFieldRadio {
46
47
  setInput() {
47
48
  this.input = this.root.querySelector('input[type="radio"][slot="input"]');
48
49
  preventBrowserValidationStyling(this.input);
49
- this.disabled = this.input.disabled;
50
- this.disabledObserver = onDisabledChange(this.input, (disabled) => {
50
+ this.disabled = calculateInputDisabledState(this.input);
51
+ this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
51
52
  this.disabled = disabled;
52
53
  });
53
54
  validateFormIds(this.root, this.input);
@@ -5,8 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component, Element, h, Host, Listen, Prop, State } from '@stencil/core';
8
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
9
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
8
10
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
9
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
10
11
  import { onRequiredChange } from '../../../../../utils/dom/on-attribute-change';
11
12
  import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
12
13
  import { trackComponent } from '../../../../../usage-tracking';
@@ -71,10 +72,10 @@ export class GuxFormField {
71
72
  setInput() {
72
73
  this.input = this.root.querySelector('input[type="range"][slot="input"]');
73
74
  preventBrowserValidationStyling(this.input);
74
- this.disabled = this.input.disabled;
75
+ this.disabled = calculateInputDisabledState(this.input);
75
76
  this.required = this.input.required;
76
77
  this.value = this.input.value;
77
- this.disabledObserver = onDisabledChange(this.input, (disabled) => {
78
+ this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
78
79
  this.disabled = disabled;
79
80
  });
80
81
  this.requiredObserver = onRequiredChange(this.input, (required) => {
@@ -5,8 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component, Element, h, Prop, State } from '@stencil/core';
8
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
9
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
8
10
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
9
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
10
11
  import { onRequiredChange } from '../../../../../utils/dom/on-attribute-change';
11
12
  import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
12
13
  import { trackComponent } from '../../../../../usage-tracking';
@@ -72,9 +73,9 @@ export class GuxFormFieldSearch {
72
73
  this.input.addEventListener('input', () => {
73
74
  this.hasContent = hasContent(this.input);
74
75
  });
75
- this.disabled = this.input.disabled;
76
+ this.disabled = calculateInputDisabledState(this.input);
76
77
  this.required = this.input.required;
77
- this.disabledObserver = onDisabledChange(this.input, (disabled) => {
78
+ this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
78
79
  this.disabled = disabled;
79
80
  });
80
81
  this.requiredObserver = onRequiredChange(this.input, (required) => {
@@ -5,8 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component, Element, h, Prop, State } from '@stencil/core';
8
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
9
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
8
10
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
9
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
10
11
  import { onRequiredChange } from '../../../../../utils/dom/on-attribute-change';
11
12
  import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
12
13
  import { trackComponent } from '../../../../../usage-tracking';
@@ -65,9 +66,9 @@ export class GuxFormFieldSelect {
65
66
  setInput() {
66
67
  this.input = this.root.querySelector('select[slot="input"]');
67
68
  preventBrowserValidationStyling(this.input);
68
- this.disabled = this.input.disabled;
69
+ this.disabled = calculateInputDisabledState(this.input);
69
70
  this.required = this.input.required;
70
- this.disabledObserver = onDisabledChange(this.input, (disabled) => {
71
+ this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
71
72
  this.disabled = disabled;
72
73
  });
73
74
  this.requiredObserver = onRequiredChange(this.input, (required) => {
@@ -84,6 +84,10 @@
84
84
  color: #596373;
85
85
  opacity: 1;
86
86
  }
87
+ ::slotted(span) {
88
+ color: #2e394c;
89
+ white-space: nowrap;
90
+ }
87
91
  .gux-input-and-error-container {
88
92
  flex-grow: 1;
89
93
  }
@@ -108,6 +112,9 @@
108
112
  border-radius: 4px;
109
113
  box-shadow: inset 0 0 4px rgba(32, 41, 55, 0.16);
110
114
  }
115
+ .gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input) {
116
+ text-align: right;
117
+ }
111
118
  .gux-input-and-error-container .gux-input .gux-input-container.gux-disabled {
112
119
  opacity: 0.5;
113
120
  }
@@ -5,18 +5,21 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component, Element, h, Prop, State } from '@stencil/core';
8
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
9
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
8
10
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
9
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
10
11
  import { onRequiredChange } from '../../../../../utils/dom/on-attribute-change';
11
12
  import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
12
13
  import { trackComponent } from '../../../../../usage-tracking';
13
14
  import { GuxFormFieldContainer } from '../../functional-components/gux-form-field-container/gux-form-field-container';
14
15
  import { GuxFormFieldError } from '../../functional-components/gux-form-field-error/gux-form-field-error';
15
16
  import { GuxFormFieldLabel } from '../../functional-components/gux-form-field-label/gux-form-field-label';
16
- import { clearInput, hasErrorSlot, hasContent, getComputedLabelPosition, validateFormIds } from '../../gux-form-field.service';
17
+ import { clearInput, hasErrorSlot, hasContent, getComputedLabelPosition, validateFormIds, setSlotAriaDescribedby } from '../../gux-form-field.service';
17
18
  /**
18
19
  * @slot input - Required slot for input tag
19
20
  * @slot label - Required slot for label tag
21
+ * @slot prefix - Optional slot for prefix
22
+ * @slot suffix - Optional slot for suffix
20
23
  * @slot error - Optional slot for error message
21
24
  */
22
25
  export class GuxFormFieldTextLike {
@@ -32,6 +35,14 @@ export class GuxFormFieldTextLike {
32
35
  this.setInput();
33
36
  this.setLabel();
34
37
  this.hasError = hasErrorSlot(this.root);
38
+ this.hasPrefix = Boolean(this.root.querySelector('[slot="prefix"]'));
39
+ this.hasSuffix = Boolean(this.root.querySelector('[slot="suffix"]'));
40
+ if (this.hasPrefix) {
41
+ setSlotAriaDescribedby(this.root, this.input, 'prefix');
42
+ }
43
+ if (this.hasSuffix) {
44
+ setSlotAriaDescribedby(this.root, this.input, 'suffix');
45
+ }
35
46
  trackComponent(this.root, { variant: this.variant });
36
47
  }
37
48
  disconnectedCallback() {
@@ -49,9 +60,13 @@ export class GuxFormFieldTextLike {
49
60
  } },
50
61
  h("div", { class: {
51
62
  'gux-input-container': true,
52
- 'gux-disabled': this.disabled
63
+ 'gux-disabled': this.disabled,
64
+ 'gux-has-prefix': this.hasPrefix,
65
+ 'gux-has-suffix': this.hasSuffix
53
66
  } },
67
+ h("slot", { name: "prefix" }),
54
68
  h("slot", { name: "input" }),
69
+ h("slot", { name: "suffix" }),
55
70
  this.clearable && this.hasContent && !this.disabled && (h("gux-form-field-input-clear-button", { onClick: () => clearInput(this.input) })))),
56
71
  h(GuxFormFieldError, { hasError: this.hasError },
57
72
  h("slot", { name: "error" })))));
@@ -71,9 +86,9 @@ export class GuxFormFieldTextLike {
71
86
  this.input.addEventListener('input', () => {
72
87
  this.hasContent = hasContent(this.input);
73
88
  });
74
- this.disabled = this.input.disabled;
89
+ this.disabled = calculateInputDisabledState(this.input);
75
90
  this.required = this.input.required;
76
- this.disabledObserver = onDisabledChange(this.input, (disabled) => {
91
+ this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
77
92
  this.disabled = disabled;
78
93
  });
79
94
  this.requiredObserver = onRequiredChange(this.input, (required) => {
@@ -135,6 +150,8 @@ export class GuxFormFieldTextLike {
135
150
  }
136
151
  }; }
137
152
  static get states() { return {
153
+ "hasPrefix": {},
154
+ "hasSuffix": {},
138
155
  "computedLabelPosition": {},
139
156
  "disabled": {},
140
157
  "required": {},
@@ -5,8 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component, Element, h, Prop, State } from '@stencil/core';
8
+ import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
9
+ import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
8
10
  import { OnMutation } from '../../../../../utils/decorator/on-mutation';
9
- import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
10
11
  import { onRequiredChange } from '../../../../../utils/dom/on-attribute-change';
11
12
  import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
12
13
  import { trackComponent } from '../../../../../usage-tracking';
@@ -69,9 +70,9 @@ export class GuxFormFieldTextarea {
69
70
  this.input.addEventListener('input', () => {
70
71
  this.updateHeight(this.textareaContainerElement, this.input, this.resize);
71
72
  });
72
- this.disabled = this.input.disabled;
73
+ this.disabled = calculateInputDisabledState(this.input);
73
74
  this.required = this.input.required;
74
- this.disabledObserver = onDisabledChange(this.input, (disabled) => {
75
+ this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
75
76
  this.disabled = disabled;
76
77
  });
77
78
  this.requiredObserver = onRequiredChange(this.input, (required) => {
@@ -24,6 +24,7 @@ export function getComputedLabelPosition(label, labelPosition) {
24
24
  }
25
25
  }
26
26
  export function validateFormIds(root, input) {
27
+ var _a, _b;
27
28
  if (hasLabelSlot(root)) {
28
29
  const label = root.querySelector('label[slot="label"]');
29
30
  const inputHasId = Boolean(input.hasAttribute('id'));
@@ -52,14 +53,30 @@ export function validateFormIds(root, input) {
52
53
  if (hasErrorSlot(root)) {
53
54
  const error = root.querySelector('[slot="error"]');
54
55
  const errorId = randomHTMLId('gux-form-field-error');
56
+ const describedByIds = ((_a = input
57
+ .getAttribute('aria-describedby')) === null || _a === void 0 ? void 0 : _a.split(' ').filter(id => !id.startsWith(`gux-form-field-error`))) || [];
55
58
  error.setAttribute('id', errorId);
56
- input.setAttribute('aria-describedby', errorId);
59
+ describedByIds.push(errorId);
60
+ describedByIds &&
61
+ input.setAttribute('aria-describedby', describedByIds.join(' '));
57
62
  }
58
- else if (input.getAttribute('aria-describedby') &&
59
- input.getAttribute('aria-describedby').startsWith('gux-form-field-error')) {
60
- input.removeAttribute('aria-describedby');
63
+ else if (input.getAttribute('aria-describedby')) {
64
+ const describedByIds = ((_b = input
65
+ .getAttribute('aria-describedby')) === null || _b === void 0 ? void 0 : _b.split(' ').filter(id => !id.startsWith(`gux-form-field-error`))) || [];
66
+ input.setAttribute('aria-describedby', describedByIds.join(' '));
61
67
  }
62
68
  }
69
+ export function setSlotAriaDescribedby(root, input, slotName) {
70
+ var _a;
71
+ const slottedElement = root.querySelector(`[slot=${slotName}]`);
72
+ const randomId = randomHTMLId(`gux-${slotName}`);
73
+ const describedByIds = ((_a = input
74
+ .getAttribute('aria-describedby')) === null || _a === void 0 ? void 0 : _a.split(' ').filter(id => !id.startsWith(`gux-${slotName}`))) || [];
75
+ slottedElement.setAttribute('id', randomId);
76
+ describedByIds === null || describedByIds === void 0 ? void 0 : describedByIds.push(randomId);
77
+ describedByIds &&
78
+ input.setAttribute('aria-describedby', describedByIds.join(' '));
79
+ }
63
80
  function hasLabelSlot(root) {
64
81
  return Boolean(root.querySelector('label[slot="label"]'));
65
82
  }
@@ -0,0 +1,4 @@
1
+ export function calculateInputDisabledState(element) {
2
+ const fieldSet = element.closest('fieldset');
3
+ return element.disabled || (fieldSet === null || fieldSet === void 0 ? void 0 : fieldSet.disabled);
4
+ }
@@ -0,0 +1,16 @@
1
+ import { calculateInputDisabledState } from './calculate-input-disabled-state';
2
+ export function onInputDisabledStateChange(element, callback) {
3
+ const fieldSet = element.closest('fieldset');
4
+ const observer = new MutationObserver(mutations => {
5
+ mutations.forEach(mutation => {
6
+ if (mutation.attributeName === 'disabled') {
7
+ callback(calculateInputDisabledState(element));
8
+ }
9
+ });
10
+ });
11
+ observer.observe(element, { attributes: true });
12
+ if (fieldSet) {
13
+ observer.observe(fieldSet, { attributes: true });
14
+ }
15
+ return observer;
16
+ }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "spark-components",
3
- "version": "3.17.0",
3
+ "version": "3.19.0",
4
4
  "ecosystem": "pc",
5
5
  "team": "Core UI",
6
6
  "indexFiles": [],
7
- "build": "123",
8
- "buildDate": "2022-08-11T09:22:10.426830Z"
7
+ "build": "129",
8
+ "buildDate": "2022-08-15T20:29:57.850411Z"
9
9
  }