@ember-eui/validated-form 16.0.1 → 16.0.2

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 (734) hide show
  1. package/declarations/components/validated-form.d.ts.map +1 -1
  2. package/dist/components/validated-form.js +35 -4
  3. package/dist/components/validated-form.js.map +1 -1
  4. package/package.json +3 -3
  5. package/declarations/core/src/-private/random-id.d.ts +0 -9
  6. package/declarations/core/src/-private/random-id.d.ts.map +0 -1
  7. package/declarations/core/src/components/common.d.ts +0 -42
  8. package/declarations/core/src/components/common.d.ts.map +0 -1
  9. package/declarations/core/src/components/eui-accordion.d.ts +0 -101
  10. package/declarations/core/src/components/eui-accordion.d.ts.map +0 -1
  11. package/declarations/core/src/components/eui-auto-sizer.d.ts +0 -64
  12. package/declarations/core/src/components/eui-auto-sizer.d.ts.map +0 -1
  13. package/declarations/core/src/components/eui-avatar.d.ts +0 -22
  14. package/declarations/core/src/components/eui-avatar.d.ts.map +0 -1
  15. package/declarations/core/src/components/eui-badge-group.d.ts +0 -23
  16. package/declarations/core/src/components/eui-badge-group.d.ts.map +0 -1
  17. package/declarations/core/src/components/eui-badge.d.ts +0 -30
  18. package/declarations/core/src/components/eui-badge.d.ts.map +0 -1
  19. package/declarations/core/src/components/eui-beta-badge.d.ts +0 -63
  20. package/declarations/core/src/components/eui-beta-badge.d.ts.map +0 -1
  21. package/declarations/core/src/components/eui-bottom-bar.d.ts +0 -35
  22. package/declarations/core/src/components/eui-bottom-bar.d.ts.map +0 -1
  23. package/declarations/core/src/components/eui-breadcrumbs.d.ts +0 -70
  24. package/declarations/core/src/components/eui-breadcrumbs.d.ts.map +0 -1
  25. package/declarations/core/src/components/eui-button-content.d.ts +0 -21
  26. package/declarations/core/src/components/eui-button-content.d.ts.map +0 -1
  27. package/declarations/core/src/components/eui-button-empty.d.ts +0 -33
  28. package/declarations/core/src/components/eui-button-empty.d.ts.map +0 -1
  29. package/declarations/core/src/components/eui-button-group-button.d.ts +0 -29
  30. package/declarations/core/src/components/eui-button-group-button.d.ts.map +0 -1
  31. package/declarations/core/src/components/eui-button-group.d.ts +0 -41
  32. package/declarations/core/src/components/eui-button-group.d.ts.map +0 -1
  33. package/declarations/core/src/components/eui-button-icon.d.ts +0 -25
  34. package/declarations/core/src/components/eui-button-icon.d.ts.map +0 -1
  35. package/declarations/core/src/components/eui-button.d.ts +0 -34
  36. package/declarations/core/src/components/eui-button.d.ts.map +0 -1
  37. package/declarations/core/src/components/eui-call-out.d.ts +0 -21
  38. package/declarations/core/src/components/eui-call-out.d.ts.map +0 -1
  39. package/declarations/core/src/components/eui-card-select.d.ts +0 -29
  40. package/declarations/core/src/components/eui-card-select.d.ts.map +0 -1
  41. package/declarations/core/src/components/eui-card.d.ts +0 -68
  42. package/declarations/core/src/components/eui-card.d.ts.map +0 -1
  43. package/declarations/core/src/components/eui-checkable-card.d.ts +0 -21
  44. package/declarations/core/src/components/eui-checkable-card.d.ts.map +0 -1
  45. package/declarations/core/src/components/eui-checkbox-group.d.ts +0 -27
  46. package/declarations/core/src/components/eui-checkbox-group.d.ts.map +0 -1
  47. package/declarations/core/src/components/eui-checkbox.d.ts +0 -27
  48. package/declarations/core/src/components/eui-checkbox.d.ts.map +0 -1
  49. package/declarations/core/src/components/eui-code-block/controls.d.ts +0 -13
  50. package/declarations/core/src/components/eui-code-block/controls.d.ts.map +0 -1
  51. package/declarations/core/src/components/eui-code-block/full-screen-display.d.ts +0 -11
  52. package/declarations/core/src/components/eui-code-block/full-screen-display.d.ts.map +0 -1
  53. package/declarations/core/src/components/eui-code-block/virtualized.d.ts +0 -20
  54. package/declarations/core/src/components/eui-code-block/virtualized.d.ts.map +0 -1
  55. package/declarations/core/src/components/eui-code-block.d.ts +0 -93
  56. package/declarations/core/src/components/eui-code-block.d.ts.map +0 -1
  57. package/declarations/core/src/components/eui-code.d.ts +0 -22
  58. package/declarations/core/src/components/eui-code.d.ts.map +0 -1
  59. package/declarations/core/src/components/eui-collapsible-nav.d.ts +0 -66
  60. package/declarations/core/src/components/eui-collapsible-nav.d.ts.map +0 -1
  61. package/declarations/core/src/components/eui-combo-box/create-option.d.ts +0 -18
  62. package/declarations/core/src/components/eui-combo-box/create-option.d.ts.map +0 -1
  63. package/declarations/core/src/components/eui-combo-box/group.d.ts +0 -16
  64. package/declarations/core/src/components/eui-combo-box/group.d.ts.map +0 -1
  65. package/declarations/core/src/components/eui-combo-box/no-matches-message.d.ts +0 -11
  66. package/declarations/core/src/components/eui-combo-box/no-matches-message.d.ts.map +0 -1
  67. package/declarations/core/src/components/eui-combo-box/options.d.ts +0 -12
  68. package/declarations/core/src/components/eui-combo-box/options.d.ts.map +0 -1
  69. package/declarations/core/src/components/eui-combo-box/search-message.d.ts +0 -11
  70. package/declarations/core/src/components/eui-combo-box/search-message.d.ts.map +0 -1
  71. package/declarations/core/src/components/eui-combo-box/trigger/input.d.ts +0 -6
  72. package/declarations/core/src/components/eui-combo-box/trigger/input.d.ts.map +0 -1
  73. package/declarations/core/src/components/eui-combo-box/trigger.d.ts +0 -4
  74. package/declarations/core/src/components/eui-combo-box/trigger.d.ts.map +0 -1
  75. package/declarations/core/src/components/eui-combo-box-pill.d.ts +0 -22
  76. package/declarations/core/src/components/eui-combo-box-pill.d.ts.map +0 -1
  77. package/declarations/core/src/components/eui-combo-box.d.ts +0 -93
  78. package/declarations/core/src/components/eui-combo-box.d.ts.map +0 -1
  79. package/declarations/core/src/components/eui-comment-list.d.ts +0 -10
  80. package/declarations/core/src/components/eui-comment-list.d.ts.map +0 -1
  81. package/declarations/core/src/components/eui-comment-timeline.d.ts +0 -15
  82. package/declarations/core/src/components/eui-comment-timeline.d.ts.map +0 -1
  83. package/declarations/core/src/components/eui-comment.d.ts +0 -20
  84. package/declarations/core/src/components/eui-comment.d.ts.map +0 -1
  85. package/declarations/core/src/components/eui-confirm-modal.d.ts +0 -23
  86. package/declarations/core/src/components/eui-confirm-modal.d.ts.map +0 -1
  87. package/declarations/core/src/components/eui-context-menu-item.d.ts +0 -25
  88. package/declarations/core/src/components/eui-context-menu-item.d.ts.map +0 -1
  89. package/declarations/core/src/components/eui-context-menu-panel.d.ts +0 -10
  90. package/declarations/core/src/components/eui-context-menu-panel.d.ts.map +0 -1
  91. package/declarations/core/src/components/eui-copy.d.ts +0 -36
  92. package/declarations/core/src/components/eui-copy.d.ts.map +0 -1
  93. package/declarations/core/src/components/eui-described-form-group.d.ts +0 -27
  94. package/declarations/core/src/components/eui-described-form-group.d.ts.map +0 -1
  95. package/declarations/core/src/components/eui-description-list-description.d.ts +0 -10
  96. package/declarations/core/src/components/eui-description-list-description.d.ts.map +0 -1
  97. package/declarations/core/src/components/eui-description-list-title.d.ts +0 -10
  98. package/declarations/core/src/components/eui-description-list-title.d.ts.map +0 -1
  99. package/declarations/core/src/components/eui-description-list.d.ts +0 -27
  100. package/declarations/core/src/components/eui-description-list.d.ts.map +0 -1
  101. package/declarations/core/src/components/eui-dual-range.d.ts +0 -141
  102. package/declarations/core/src/components/eui-dual-range.d.ts.map +0 -1
  103. package/declarations/core/src/components/eui-empty-prompt.d.ts +0 -29
  104. package/declarations/core/src/components/eui-empty-prompt.d.ts.map +0 -1
  105. package/declarations/core/src/components/eui-field-number.d.ts +0 -57
  106. package/declarations/core/src/components/eui-field-number.d.ts.map +0 -1
  107. package/declarations/core/src/components/eui-field-password.d.ts +0 -28
  108. package/declarations/core/src/components/eui-field-password.d.ts.map +0 -1
  109. package/declarations/core/src/components/eui-field-search.d.ts +0 -52
  110. package/declarations/core/src/components/eui-field-search.d.ts.map +0 -1
  111. package/declarations/core/src/components/eui-field-text.d.ts +0 -29
  112. package/declarations/core/src/components/eui-field-text.d.ts.map +0 -1
  113. package/declarations/core/src/components/eui-file-picker.d.ts +0 -60
  114. package/declarations/core/src/components/eui-file-picker.d.ts.map +0 -1
  115. package/declarations/core/src/components/eui-flex-grid.d.ts +0 -33
  116. package/declarations/core/src/components/eui-flex-grid.d.ts.map +0 -1
  117. package/declarations/core/src/components/eui-flex-group.d.ts +0 -20
  118. package/declarations/core/src/components/eui-flex-group.d.ts.map +0 -1
  119. package/declarations/core/src/components/eui-flex-item.d.ts +0 -15
  120. package/declarations/core/src/components/eui-flex-item.d.ts.map +0 -1
  121. package/declarations/core/src/components/eui-flyout-body.d.ts +0 -12
  122. package/declarations/core/src/components/eui-flyout-body.d.ts.map +0 -1
  123. package/declarations/core/src/components/eui-flyout-footer.d.ts +0 -10
  124. package/declarations/core/src/components/eui-flyout-footer.d.ts.map +0 -1
  125. package/declarations/core/src/components/eui-flyout-header.d.ts +0 -13
  126. package/declarations/core/src/components/eui-flyout-header.d.ts.map +0 -1
  127. package/declarations/core/src/components/eui-flyout.d.ts +0 -87
  128. package/declarations/core/src/components/eui-flyout.d.ts.map +0 -1
  129. package/declarations/core/src/components/eui-form-control-layout-clear-button.d.ts +0 -14
  130. package/declarations/core/src/components/eui-form-control-layout-clear-button.d.ts.map +0 -1
  131. package/declarations/core/src/components/eui-form-control-layout-custom-icon.d.ts +0 -16
  132. package/declarations/core/src/components/eui-form-control-layout-custom-icon.d.ts.map +0 -1
  133. package/declarations/core/src/components/eui-form-control-layout-delimited.d.ts +0 -25
  134. package/declarations/core/src/components/eui-form-control-layout-delimited.d.ts.map +0 -1
  135. package/declarations/core/src/components/eui-form-control-layout-icons.d.ts +0 -17
  136. package/declarations/core/src/components/eui-form-control-layout-icons.d.ts.map +0 -1
  137. package/declarations/core/src/components/eui-form-control-layout.d.ts +0 -30
  138. package/declarations/core/src/components/eui-form-control-layout.d.ts.map +0 -1
  139. package/declarations/core/src/components/eui-form-error-text.d.ts +0 -10
  140. package/declarations/core/src/components/eui-form-error-text.d.ts.map +0 -1
  141. package/declarations/core/src/components/eui-form-fieldset.d.ts +0 -18
  142. package/declarations/core/src/components/eui-form-fieldset.d.ts.map +0 -1
  143. package/declarations/core/src/components/eui-form-help-text.d.ts +0 -13
  144. package/declarations/core/src/components/eui-form-help-text.d.ts.map +0 -1
  145. package/declarations/core/src/components/eui-form-label.d.ts +0 -17
  146. package/declarations/core/src/components/eui-form-label.d.ts.map +0 -1
  147. package/declarations/core/src/components/eui-form-legend.d.ts +0 -14
  148. package/declarations/core/src/components/eui-form-legend.d.ts.map +0 -1
  149. package/declarations/core/src/components/eui-form-row.d.ts +0 -35
  150. package/declarations/core/src/components/eui-form-row.d.ts.map +0 -1
  151. package/declarations/core/src/components/eui-form.d.ts +0 -20
  152. package/declarations/core/src/components/eui-form.d.ts.map +0 -1
  153. package/declarations/core/src/components/eui-header-alert.d.ts +0 -14
  154. package/declarations/core/src/components/eui-header-alert.d.ts.map +0 -1
  155. package/declarations/core/src/components/eui-header-breadcrumbs.d.ts +0 -14
  156. package/declarations/core/src/components/eui-header-breadcrumbs.d.ts.map +0 -1
  157. package/declarations/core/src/components/eui-header-link.d.ts +0 -14
  158. package/declarations/core/src/components/eui-header-link.d.ts.map +0 -1
  159. package/declarations/core/src/components/eui-header-links.d.ts +0 -20
  160. package/declarations/core/src/components/eui-header-links.d.ts.map +0 -1
  161. package/declarations/core/src/components/eui-header-logo.d.ts +0 -17
  162. package/declarations/core/src/components/eui-header-logo.d.ts.map +0 -1
  163. package/declarations/core/src/components/eui-header-section-item-button.d.ts +0 -26
  164. package/declarations/core/src/components/eui-header-section-item-button.d.ts.map +0 -1
  165. package/declarations/core/src/components/eui-header-section-item.d.ts +0 -14
  166. package/declarations/core/src/components/eui-header-section-item.d.ts.map +0 -1
  167. package/declarations/core/src/components/eui-header-section.d.ts +0 -15
  168. package/declarations/core/src/components/eui-header-section.d.ts.map +0 -1
  169. package/declarations/core/src/components/eui-header.d.ts +0 -23
  170. package/declarations/core/src/components/eui-header.d.ts.map +0 -1
  171. package/declarations/core/src/components/eui-health.d.ts +0 -21
  172. package/declarations/core/src/components/eui-health.d.ts.map +0 -1
  173. package/declarations/core/src/components/eui-hide-for.d.ts +0 -21
  174. package/declarations/core/src/components/eui-hide-for.d.ts.map +0 -1
  175. package/declarations/core/src/components/eui-horizontal-rule.d.ts +0 -12
  176. package/declarations/core/src/components/eui-horizontal-rule.d.ts.map +0 -1
  177. package/declarations/core/src/components/eui-i18n/render.d.ts +0 -12
  178. package/declarations/core/src/components/eui-i18n/render.d.ts.map +0 -1
  179. package/declarations/core/src/components/eui-i18n.d.ts +0 -32
  180. package/declarations/core/src/components/eui-i18n.d.ts.map +0 -1
  181. package/declarations/core/src/components/eui-icon-tip.d.ts +0 -29
  182. package/declarations/core/src/components/eui-icon-tip.d.ts.map +0 -1
  183. package/declarations/core/src/components/eui-icon.d.ts +0 -81
  184. package/declarations/core/src/components/eui-icon.d.ts.map +0 -1
  185. package/declarations/core/src/components/eui-image.d.ts +0 -62
  186. package/declarations/core/src/components/eui-image.d.ts.map +0 -1
  187. package/declarations/core/src/components/eui-inner-text.d.ts +0 -21
  188. package/declarations/core/src/components/eui-inner-text.d.ts.map +0 -1
  189. package/declarations/core/src/components/eui-input-popover.d.ts +0 -44
  190. package/declarations/core/src/components/eui-input-popover.d.ts.map +0 -1
  191. package/declarations/core/src/components/eui-key-pad-menu-item.d.ts +0 -26
  192. package/declarations/core/src/components/eui-key-pad-menu-item.d.ts.map +0 -1
  193. package/declarations/core/src/components/eui-key-pad-menu.d.ts +0 -23
  194. package/declarations/core/src/components/eui-key-pad-menu.d.ts.map +0 -1
  195. package/declarations/core/src/components/eui-link.d.ts +0 -18
  196. package/declarations/core/src/components/eui-link.d.ts.map +0 -1
  197. package/declarations/core/src/components/eui-list-group-item.d.ts +0 -26
  198. package/declarations/core/src/components/eui-list-group-item.d.ts.map +0 -1
  199. package/declarations/core/src/components/eui-list-group.d.ts +0 -16
  200. package/declarations/core/src/components/eui-list-group.d.ts.map +0 -1
  201. package/declarations/core/src/components/eui-loading-content.d.ts +0 -14
  202. package/declarations/core/src/components/eui-loading-content.d.ts.map +0 -1
  203. package/declarations/core/src/components/eui-loading-logo.d.ts +0 -13
  204. package/declarations/core/src/components/eui-loading-logo.d.ts.map +0 -1
  205. package/declarations/core/src/components/eui-loading-spinner.d.ts +0 -11
  206. package/declarations/core/src/components/eui-loading-spinner.d.ts.map +0 -1
  207. package/declarations/core/src/components/eui-markdown-editor-drop-zone.d.ts +0 -17
  208. package/declarations/core/src/components/eui-markdown-editor-drop-zone.d.ts.map +0 -1
  209. package/declarations/core/src/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts +0 -10
  210. package/declarations/core/src/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts.map +0 -1
  211. package/declarations/core/src/components/eui-markdown-editor-footer.d.ts +0 -13
  212. package/declarations/core/src/components/eui-markdown-editor-footer.d.ts.map +0 -1
  213. package/declarations/core/src/components/eui-markdown-editor-text-area.d.ts +0 -14
  214. package/declarations/core/src/components/eui-markdown-editor-text-area.d.ts.map +0 -1
  215. package/declarations/core/src/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts +0 -11
  216. package/declarations/core/src/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts.map +0 -1
  217. package/declarations/core/src/components/eui-markdown-editor-toolbar.d.ts +0 -61
  218. package/declarations/core/src/components/eui-markdown-editor-toolbar.d.ts.map +0 -1
  219. package/declarations/core/src/components/eui-markdown-editor.d.ts +0 -100
  220. package/declarations/core/src/components/eui-markdown-editor.d.ts.map +0 -1
  221. package/declarations/core/src/components/eui-markdown-format/markdown-checkbox.d.ts +0 -24
  222. package/declarations/core/src/components/eui-markdown-format/markdown-checkbox.d.ts.map +0 -1
  223. package/declarations/core/src/components/eui-markdown-format/markdown-code-block.d.ts +0 -15
  224. package/declarations/core/src/components/eui-markdown-format/markdown-code-block.d.ts.map +0 -1
  225. package/declarations/core/src/components/eui-markdown-format/markdown-code.d.ts +0 -13
  226. package/declarations/core/src/components/eui-markdown-format/markdown-code.d.ts.map +0 -1
  227. package/declarations/core/src/components/eui-markdown-format/markdown-tooltip.d.ts +0 -15
  228. package/declarations/core/src/components/eui-markdown-format/markdown-tooltip.d.ts.map +0 -1
  229. package/declarations/core/src/components/eui-markdown-format.d.ts +0 -23
  230. package/declarations/core/src/components/eui-markdown-format.d.ts.map +0 -1
  231. package/declarations/core/src/components/eui-modal-body.d.ts +0 -10
  232. package/declarations/core/src/components/eui-modal-body.d.ts.map +0 -1
  233. package/declarations/core/src/components/eui-modal-footer.d.ts +0 -10
  234. package/declarations/core/src/components/eui-modal-footer.d.ts.map +0 -1
  235. package/declarations/core/src/components/eui-modal-header-title.d.ts +0 -10
  236. package/declarations/core/src/components/eui-modal-header-title.d.ts.map +0 -1
  237. package/declarations/core/src/components/eui-modal-header.d.ts +0 -10
  238. package/declarations/core/src/components/eui-modal-header.d.ts.map +0 -1
  239. package/declarations/core/src/components/eui-modal.d.ts +0 -27
  240. package/declarations/core/src/components/eui-modal.d.ts.map +0 -1
  241. package/declarations/core/src/components/eui-notification-badge.d.ts +0 -15
  242. package/declarations/core/src/components/eui-notification-badge.d.ts.map +0 -1
  243. package/declarations/core/src/components/eui-notification-event-messages.d.ts +0 -13
  244. package/declarations/core/src/components/eui-notification-event-messages.d.ts.map +0 -1
  245. package/declarations/core/src/components/eui-notification-event-meta.d.ts +0 -24
  246. package/declarations/core/src/components/eui-notification-event-meta.d.ts.map +0 -1
  247. package/declarations/core/src/components/eui-notification-event-read-button.d.ts +0 -13
  248. package/declarations/core/src/components/eui-notification-event-read-button.d.ts.map +0 -1
  249. package/declarations/core/src/components/eui-notification-event-read-icon.d.ts +0 -14
  250. package/declarations/core/src/components/eui-notification-event-read-icon.d.ts.map +0 -1
  251. package/declarations/core/src/components/eui-notification-event.d.ts +0 -40
  252. package/declarations/core/src/components/eui-notification-event.d.ts.map +0 -1
  253. package/declarations/core/src/components/eui-overlay-mask.d.ts +0 -20
  254. package/declarations/core/src/components/eui-overlay-mask.d.ts.map +0 -1
  255. package/declarations/core/src/components/eui-page-body.d.ts +0 -22
  256. package/declarations/core/src/components/eui-page-body.d.ts.map +0 -1
  257. package/declarations/core/src/components/eui-page-content-body.d.ts +0 -18
  258. package/declarations/core/src/components/eui-page-content-body.d.ts.map +0 -1
  259. package/declarations/core/src/components/eui-page-content-header-section.d.ts +0 -10
  260. package/declarations/core/src/components/eui-page-content-header-section.d.ts.map +0 -1
  261. package/declarations/core/src/components/eui-page-content-header.d.ts +0 -13
  262. package/declarations/core/src/components/eui-page-content-header.d.ts.map +0 -1
  263. package/declarations/core/src/components/eui-page-content.d.ts +0 -22
  264. package/declarations/core/src/components/eui-page-content.d.ts.map +0 -1
  265. package/declarations/core/src/components/eui-page-header-content.d.ts +0 -98
  266. package/declarations/core/src/components/eui-page-header-content.d.ts.map +0 -1
  267. package/declarations/core/src/components/eui-page-header-section.d.ts +0 -10
  268. package/declarations/core/src/components/eui-page-header-section.d.ts.map +0 -1
  269. package/declarations/core/src/components/eui-page-header.d.ts +0 -89
  270. package/declarations/core/src/components/eui-page-header.d.ts.map +0 -1
  271. package/declarations/core/src/components/eui-page-side-bar.d.ts +0 -15
  272. package/declarations/core/src/components/eui-page-side-bar.d.ts.map +0 -1
  273. package/declarations/core/src/components/eui-page-template.d.ts +0 -77
  274. package/declarations/core/src/components/eui-page-template.d.ts.map +0 -1
  275. package/declarations/core/src/components/eui-page.d.ts +0 -17
  276. package/declarations/core/src/components/eui-page.d.ts.map +0 -1
  277. package/declarations/core/src/components/eui-pagination/button-wrapper.d.ts +0 -16
  278. package/declarations/core/src/components/eui-pagination/button-wrapper.d.ts.map +0 -1
  279. package/declarations/core/src/components/eui-pagination/next-button.d.ts +0 -19
  280. package/declarations/core/src/components/eui-pagination/next-button.d.ts.map +0 -1
  281. package/declarations/core/src/components/eui-pagination/previous-button.d.ts +0 -18
  282. package/declarations/core/src/components/eui-pagination/previous-button.d.ts.map +0 -1
  283. package/declarations/core/src/components/eui-pagination-button.d.ts +0 -20
  284. package/declarations/core/src/components/eui-pagination-button.d.ts.map +0 -1
  285. package/declarations/core/src/components/eui-pagination.d.ts +0 -79
  286. package/declarations/core/src/components/eui-pagination.d.ts.map +0 -1
  287. package/declarations/core/src/components/eui-panel.d.ts +0 -45
  288. package/declarations/core/src/components/eui-panel.d.ts.map +0 -1
  289. package/declarations/core/src/components/eui-popover-footer.d.ts +0 -14
  290. package/declarations/core/src/components/eui-popover-footer.d.ts.map +0 -1
  291. package/declarations/core/src/components/eui-popover-title.d.ts +0 -14
  292. package/declarations/core/src/components/eui-popover-title.d.ts.map +0 -1
  293. package/declarations/core/src/components/eui-popover.d.ts +0 -218
  294. package/declarations/core/src/components/eui-popover.d.ts.map +0 -1
  295. package/declarations/core/src/components/eui-portal.d.ts +0 -29
  296. package/declarations/core/src/components/eui-portal.d.ts.map +0 -1
  297. package/declarations/core/src/components/eui-progress.d.ts +0 -22
  298. package/declarations/core/src/components/eui-progress.d.ts.map +0 -1
  299. package/declarations/core/src/components/eui-radio-group.d.ts +0 -25
  300. package/declarations/core/src/components/eui-radio-group.d.ts.map +0 -1
  301. package/declarations/core/src/components/eui-radio.d.ts +0 -24
  302. package/declarations/core/src/components/eui-radio.d.ts.map +0 -1
  303. package/declarations/core/src/components/eui-range-highlight.d.ts +0 -16
  304. package/declarations/core/src/components/eui-range-highlight.d.ts.map +0 -1
  305. package/declarations/core/src/components/eui-range-input.d.ts +0 -25
  306. package/declarations/core/src/components/eui-range-input.d.ts.map +0 -1
  307. package/declarations/core/src/components/eui-range-label.d.ts +0 -13
  308. package/declarations/core/src/components/eui-range-label.d.ts.map +0 -1
  309. package/declarations/core/src/components/eui-range-levels.d.ts +0 -27
  310. package/declarations/core/src/components/eui-range-levels.d.ts.map +0 -1
  311. package/declarations/core/src/components/eui-range-slider.d.ts +0 -25
  312. package/declarations/core/src/components/eui-range-slider.d.ts.map +0 -1
  313. package/declarations/core/src/components/eui-range-thumb.d.ts +0 -15
  314. package/declarations/core/src/components/eui-range-thumb.d.ts.map +0 -1
  315. package/declarations/core/src/components/eui-range-ticks.d.ts +0 -29
  316. package/declarations/core/src/components/eui-range-ticks.d.ts.map +0 -1
  317. package/declarations/core/src/components/eui-range-tooltip.d.ts +0 -33
  318. package/declarations/core/src/components/eui-range-tooltip.d.ts.map +0 -1
  319. package/declarations/core/src/components/eui-range-track.d.ts +0 -43
  320. package/declarations/core/src/components/eui-range-track.d.ts.map +0 -1
  321. package/declarations/core/src/components/eui-range-wrapper.d.ts +0 -14
  322. package/declarations/core/src/components/eui-range-wrapper.d.ts.map +0 -1
  323. package/declarations/core/src/components/eui-range.d.ts +0 -112
  324. package/declarations/core/src/components/eui-range.d.ts.map +0 -1
  325. package/declarations/core/src/components/eui-select.d.ts +0 -31
  326. package/declarations/core/src/components/eui-select.d.ts.map +0 -1
  327. package/declarations/core/src/components/eui-selectable-list-item.d.ts +0 -15
  328. package/declarations/core/src/components/eui-selectable-list-item.d.ts.map +0 -1
  329. package/declarations/core/src/components/eui-show-for.d.ts +0 -30
  330. package/declarations/core/src/components/eui-show-for.d.ts.map +0 -1
  331. package/declarations/core/src/components/eui-side-nav-item/button.d.ts +0 -16
  332. package/declarations/core/src/components/eui-side-nav-item/button.d.ts.map +0 -1
  333. package/declarations/core/src/components/eui-side-nav-item.d.ts +0 -32
  334. package/declarations/core/src/components/eui-side-nav-item.d.ts.map +0 -1
  335. package/declarations/core/src/components/eui-side-nav.d.ts +0 -48
  336. package/declarations/core/src/components/eui-side-nav.d.ts.map +0 -1
  337. package/declarations/core/src/components/eui-spacer.d.ts +0 -11
  338. package/declarations/core/src/components/eui-spacer.d.ts.map +0 -1
  339. package/declarations/core/src/components/eui-stat/description.d.ts +0 -15
  340. package/declarations/core/src/components/eui-stat/description.d.ts.map +0 -1
  341. package/declarations/core/src/components/eui-stat/title.d.ts +0 -17
  342. package/declarations/core/src/components/eui-stat/title.d.ts.map +0 -1
  343. package/declarations/core/src/components/eui-stat.d.ts +0 -28
  344. package/declarations/core/src/components/eui-stat.d.ts.map +0 -1
  345. package/declarations/core/src/components/eui-step-horizontal.d.ts +0 -38
  346. package/declarations/core/src/components/eui-step-horizontal.d.ts.map +0 -1
  347. package/declarations/core/src/components/eui-step-number.d.ts +0 -31
  348. package/declarations/core/src/components/eui-step-number.d.ts.map +0 -1
  349. package/declarations/core/src/components/eui-step.d.ts +0 -18
  350. package/declarations/core/src/components/eui-step.d.ts.map +0 -1
  351. package/declarations/core/src/components/eui-steps.d.ts +0 -13
  352. package/declarations/core/src/components/eui-steps.d.ts.map +0 -1
  353. package/declarations/core/src/components/eui-sub-steps.d.ts +0 -10
  354. package/declarations/core/src/components/eui-sub-steps.d.ts.map +0 -1
  355. package/declarations/core/src/components/eui-super-date-picker/date-popover/absolute-tab.d.ts +0 -27
  356. package/declarations/core/src/components/eui-super-date-picker/date-popover/absolute-tab.d.ts.map +0 -1
  357. package/declarations/core/src/components/eui-super-date-picker/date-popover/datetime-picker.d.ts +0 -65
  358. package/declarations/core/src/components/eui-super-date-picker/date-popover/datetime-picker.d.ts.map +0 -1
  359. package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts +0 -45
  360. package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts.map +0 -1
  361. package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +0 -49
  362. package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts.map +0 -1
  363. package/declarations/core/src/components/eui-super-date-picker/date-popover/now-tab.d.ts +0 -10
  364. package/declarations/core/src/components/eui-super-date-picker/date-popover/now-tab.d.ts.map +0 -1
  365. package/declarations/core/src/components/eui-super-date-picker/date-popover/relative-tab.d.ts +0 -31
  366. package/declarations/core/src/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +0 -1
  367. package/declarations/core/src/components/eui-super-date-picker/eui-date-picker-range.d.ts +0 -18
  368. package/declarations/core/src/components/eui-super-date-picker/eui-date-picker-range.d.ts.map +0 -1
  369. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts +0 -14
  370. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts.map +0 -1
  371. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +0 -37
  372. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +0 -1
  373. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts +0 -14
  374. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts.map +0 -1
  375. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover.d.ts +0 -33
  376. package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +0 -1
  377. package/declarations/core/src/components/eui-super-date-picker/eui-super-update-button.d.ts +0 -20
  378. package/declarations/core/src/components/eui-super-date-picker/eui-super-update-button.d.ts.map +0 -1
  379. package/declarations/core/src/components/eui-super-date-picker/utils/index.d.ts +0 -31
  380. package/declarations/core/src/components/eui-super-date-picker/utils/index.d.ts.map +0 -1
  381. package/declarations/core/src/components/eui-super-date-picker/utils/quick-select.d.ts +0 -14
  382. package/declarations/core/src/components/eui-super-date-picker/utils/quick-select.d.ts.map +0 -1
  383. package/declarations/core/src/components/eui-super-date-picker/utils/time-options.d.ts +0 -20
  384. package/declarations/core/src/components/eui-super-date-picker/utils/time-options.d.ts.map +0 -1
  385. package/declarations/core/src/components/eui-super-date-picker.d.ts +0 -102
  386. package/declarations/core/src/components/eui-super-date-picker.d.ts.map +0 -1
  387. package/declarations/core/src/components/eui-switch.d.ts +0 -30
  388. package/declarations/core/src/components/eui-switch.d.ts.map +0 -1
  389. package/declarations/core/src/components/eui-tab.d.ts +0 -21
  390. package/declarations/core/src/components/eui-tab.d.ts.map +0 -1
  391. package/declarations/core/src/components/eui-tabbed-content.d.ts +0 -65
  392. package/declarations/core/src/components/eui-tabbed-content.d.ts.map +0 -1
  393. package/declarations/core/src/components/eui-tabs.d.ts +0 -18
  394. package/declarations/core/src/components/eui-tabs.d.ts.map +0 -1
  395. package/declarations/core/src/components/eui-text-align.d.ts +0 -13
  396. package/declarations/core/src/components/eui-text-align.d.ts.map +0 -1
  397. package/declarations/core/src/components/eui-text-area.d.ts +0 -22
  398. package/declarations/core/src/components/eui-text-area.d.ts.map +0 -1
  399. package/declarations/core/src/components/eui-text-color.d.ts +0 -14
  400. package/declarations/core/src/components/eui-text-color.d.ts.map +0 -1
  401. package/declarations/core/src/components/eui-text.d.ts +0 -19
  402. package/declarations/core/src/components/eui-text.d.ts.map +0 -1
  403. package/declarations/core/src/components/eui-title.d.ts +0 -17
  404. package/declarations/core/src/components/eui-title.d.ts.map +0 -1
  405. package/declarations/core/src/components/eui-toast.d.ts +0 -35
  406. package/declarations/core/src/components/eui-toast.d.ts.map +0 -1
  407. package/declarations/core/src/components/eui-tool-tip-popover.d.ts +0 -27
  408. package/declarations/core/src/components/eui-tool-tip-popover.d.ts.map +0 -1
  409. package/declarations/core/src/components/eui-tool-tip.d.ts +0 -108
  410. package/declarations/core/src/components/eui-tool-tip.d.ts.map +0 -1
  411. package/declarations/core/src/components/text-block.d.ts +0 -13
  412. package/declarations/core/src/components/text-block.d.ts.map +0 -1
  413. package/declarations/core/src/components.d.ts +0 -150
  414. package/declarations/core/src/components.d.ts.map +0 -1
  415. package/declarations/core/src/helpers/arg-or-default.d.ts +0 -21
  416. package/declarations/core/src/helpers/arg-or-default.d.ts.map +0 -1
  417. package/declarations/core/src/helpers/cast-to.d.ts +0 -14
  418. package/declarations/core/src/helpers/cast-to.d.ts.map +0 -1
  419. package/declarations/core/src/helpers/class-names.d.ts +0 -47
  420. package/declarations/core/src/helpers/class-names.d.ts.map +0 -1
  421. package/declarations/core/src/helpers/eui-page-restrict-width.d.ts +0 -30
  422. package/declarations/core/src/helpers/eui-page-restrict-width.d.ts.map +0 -1
  423. package/declarations/core/src/helpers/get-eui-config.d.ts +0 -14
  424. package/declarations/core/src/helpers/get-eui-config.d.ts.map +0 -1
  425. package/declarations/core/src/helpers/get-range-tick.d.ts +0 -21
  426. package/declarations/core/src/helpers/get-range-tick.d.ts.map +0 -1
  427. package/declarations/core/src/helpers/hex-to-rgb.d.ts +0 -10
  428. package/declarations/core/src/helpers/hex-to-rgb.d.ts.map +0 -1
  429. package/declarations/core/src/helpers/inline-styles.d.ts +0 -19
  430. package/declarations/core/src/helpers/inline-styles.d.ts.map +0 -1
  431. package/declarations/core/src/helpers/is-color-dark.d.ts +0 -10
  432. package/declarations/core/src/helpers/is-color-dark.d.ts.map +0 -1
  433. package/declarations/core/src/helpers/is-item-open.d.ts +0 -16
  434. package/declarations/core/src/helpers/is-item-open.d.ts.map +0 -1
  435. package/declarations/core/src/helpers/is-valid-hex.d.ts +0 -10
  436. package/declarations/core/src/helpers/is-valid-hex.d.ts.map +0 -1
  437. package/declarations/core/src/helpers/merge.d.ts +0 -9
  438. package/declarations/core/src/helpers/merge.d.ts.map +0 -1
  439. package/declarations/core/src/helpers/to-initials.d.ts +0 -11
  440. package/declarations/core/src/helpers/to-initials.d.ts.map +0 -1
  441. package/declarations/core/src/helpers/type-of.d.ts +0 -10
  442. package/declarations/core/src/helpers/type-of.d.ts.map +0 -1
  443. package/declarations/core/src/helpers/use-state.d.ts +0 -21
  444. package/declarations/core/src/helpers/use-state.d.ts.map +0 -1
  445. package/declarations/core/src/helpers.d.ts +0 -9
  446. package/declarations/core/src/helpers.d.ts.map +0 -1
  447. package/declarations/core/src/i18n/util.d.ts +0 -12
  448. package/declarations/core/src/i18n/util.d.ts.map +0 -1
  449. package/declarations/core/src/modifiers/mutation-observer.d.ts +0 -12
  450. package/declarations/core/src/modifiers/mutation-observer.d.ts.map +0 -1
  451. package/declarations/core/src/modifiers/outside-click-detector.d.ts +0 -38
  452. package/declarations/core/src/modifiers/outside-click-detector.d.ts.map +0 -1
  453. package/declarations/core/src/modifiers/resize-observer.d.ts +0 -36
  454. package/declarations/core/src/modifiers/resize-observer.d.ts.map +0 -1
  455. package/declarations/core/src/modifiers/screen-reader-only.d.ts +0 -9
  456. package/declarations/core/src/modifiers/screen-reader-only.d.ts.map +0 -1
  457. package/declarations/core/src/modifiers/simple-style.d.ts +0 -12
  458. package/declarations/core/src/modifiers/simple-style.d.ts.map +0 -1
  459. package/declarations/core/src/modifiers/use-is-within-breakpoints.d.ts +0 -15
  460. package/declarations/core/src/modifiers/use-is-within-breakpoints.d.ts.map +0 -1
  461. package/declarations/core/src/modifiers/validatable-control.d.ts +0 -9
  462. package/declarations/core/src/modifiers/validatable-control.d.ts.map +0 -1
  463. package/declarations/core/src/services/eui-config.d.ts +0 -15
  464. package/declarations/core/src/services/eui-config.d.ts.map +0 -1
  465. package/declarations/core/src/services/eui-i18n.d.ts +0 -24
  466. package/declarations/core/src/services/eui-i18n.d.ts.map +0 -1
  467. package/declarations/core/src/utils/accesibility/accessible-click-keys.d.ts +0 -5
  468. package/declarations/core/src/utils/accesibility/accessible-click-keys.d.ts.map +0 -1
  469. package/declarations/core/src/utils/accesibility/cascading-menu-keys.d.ts +0 -9
  470. package/declarations/core/src/utils/accesibility/cascading-menu-keys.d.ts.map +0 -1
  471. package/declarations/core/src/utils/accesibility/combo-box-keys.d.ts +0 -8
  472. package/declarations/core/src/utils/accesibility/combo-box-keys.d.ts.map +0 -1
  473. package/declarations/core/src/utils/accesibility/index.d.ts +0 -4
  474. package/declarations/core/src/utils/accesibility/index.d.ts.map +0 -1
  475. package/declarations/core/src/utils/breakpoint.d.ts +0 -50
  476. package/declarations/core/src/utils/breakpoint.d.ts.map +0 -1
  477. package/declarations/core/src/utils/browser/browser.d.ts +0 -6
  478. package/declarations/core/src/utils/browser/browser.d.ts.map +0 -1
  479. package/declarations/core/src/utils/browser/index.d.ts +0 -2
  480. package/declarations/core/src/utils/browser/index.d.ts.map +0 -1
  481. package/declarations/core/src/utils/code/utils.d.ts +0 -32
  482. package/declarations/core/src/utils/code/utils.d.ts.map +0 -1
  483. package/declarations/core/src/utils/color/color_palette.d.ts +0 -24
  484. package/declarations/core/src/utils/color/color_palette.d.ts.map +0 -1
  485. package/declarations/core/src/utils/color/eui_palettes.d.ts +0 -37
  486. package/declarations/core/src/utils/color/eui_palettes.d.ts.map +0 -1
  487. package/declarations/core/src/utils/color/index.d.ts +0 -6
  488. package/declarations/core/src/utils/color/index.d.ts.map +0 -1
  489. package/declarations/core/src/utils/copy-to-clipboard.d.ts +0 -2
  490. package/declarations/core/src/utils/copy-to-clipboard.d.ts.map +0 -1
  491. package/declarations/core/src/utils/css-mappings/eui-accordion.d.ts +0 -12
  492. package/declarations/core/src/utils/css-mappings/eui-accordion.d.ts.map +0 -1
  493. package/declarations/core/src/utils/css-mappings/eui-avatar.d.ts +0 -23
  494. package/declarations/core/src/utils/css-mappings/eui-avatar.d.ts.map +0 -1
  495. package/declarations/core/src/utils/css-mappings/eui-badge-group.d.ts +0 -8
  496. package/declarations/core/src/utils/css-mappings/eui-badge-group.d.ts.map +0 -1
  497. package/declarations/core/src/utils/css-mappings/eui-badge.d.ts +0 -31
  498. package/declarations/core/src/utils/css-mappings/eui-badge.d.ts.map +0 -1
  499. package/declarations/core/src/utils/css-mappings/eui-beta-badge.d.ts +0 -13
  500. package/declarations/core/src/utils/css-mappings/eui-beta-badge.d.ts.map +0 -1
  501. package/declarations/core/src/utils/css-mappings/eui-bottom-bar.d.ts +0 -4
  502. package/declarations/core/src/utils/css-mappings/eui-bottom-bar.d.ts.map +0 -1
  503. package/declarations/core/src/utils/css-mappings/eui-button-empty.d.ts +0 -22
  504. package/declarations/core/src/utils/css-mappings/eui-button-empty.d.ts.map +0 -1
  505. package/declarations/core/src/utils/css-mappings/eui-button-group-button.d.ts +0 -4
  506. package/declarations/core/src/utils/css-mappings/eui-button-group-button.d.ts.map +0 -1
  507. package/declarations/core/src/utils/css-mappings/eui-button-group.d.ts +0 -4
  508. package/declarations/core/src/utils/css-mappings/eui-button-group.d.ts.map +0 -1
  509. package/declarations/core/src/utils/css-mappings/eui-button-icon.d.ts +0 -23
  510. package/declarations/core/src/utils/css-mappings/eui-button-icon.d.ts.map +0 -1
  511. package/declarations/core/src/utils/css-mappings/eui-button.d.ts +0 -13
  512. package/declarations/core/src/utils/css-mappings/eui-button.d.ts.map +0 -1
  513. package/declarations/core/src/utils/css-mappings/eui-call-out.d.ts +0 -13
  514. package/declarations/core/src/utils/css-mappings/eui-call-out.d.ts.map +0 -1
  515. package/declarations/core/src/utils/css-mappings/eui-card-select.d.ts +0 -4
  516. package/declarations/core/src/utils/css-mappings/eui-card-select.d.ts.map +0 -1
  517. package/declarations/core/src/utils/css-mappings/eui-card.d.ts +0 -9
  518. package/declarations/core/src/utils/css-mappings/eui-card.d.ts.map +0 -1
  519. package/declarations/core/src/utils/css-mappings/eui-code-block.d.ts +0 -15
  520. package/declarations/core/src/utils/css-mappings/eui-code-block.d.ts.map +0 -1
  521. package/declarations/core/src/utils/css-mappings/eui-collapsible-nav-group.d.ts +0 -9
  522. package/declarations/core/src/utils/css-mappings/eui-collapsible-nav-group.d.ts.map +0 -1
  523. package/declarations/core/src/utils/css-mappings/eui-comment-event.d.ts +0 -4
  524. package/declarations/core/src/utils/css-mappings/eui-comment-event.d.ts.map +0 -1
  525. package/declarations/core/src/utils/css-mappings/eui-comment-timeline-icon.d.ts +0 -7
  526. package/declarations/core/src/utils/css-mappings/eui-comment-timeline-icon.d.ts.map +0 -1
  527. package/declarations/core/src/utils/css-mappings/eui-context-menu-item.d.ts +0 -15
  528. package/declarations/core/src/utils/css-mappings/eui-context-menu-item.d.ts.map +0 -1
  529. package/declarations/core/src/utils/css-mappings/eui-described-form-group.d.ts +0 -12
  530. package/declarations/core/src/utils/css-mappings/eui-described-form-group.d.ts.map +0 -1
  531. package/declarations/core/src/utils/css-mappings/eui-description-list.d.ts +0 -18
  532. package/declarations/core/src/utils/css-mappings/eui-description-list.d.ts.map +0 -1
  533. package/declarations/core/src/utils/css-mappings/eui-empty-prompt.d.ts +0 -10
  534. package/declarations/core/src/utils/css-mappings/eui-empty-prompt.d.ts.map +0 -1
  535. package/declarations/core/src/utils/css-mappings/eui-file-picker.d.ts +0 -8
  536. package/declarations/core/src/utils/css-mappings/eui-file-picker.d.ts.map +0 -1
  537. package/declarations/core/src/utils/css-mappings/eui-flex-grid.d.ts +0 -22
  538. package/declarations/core/src/utils/css-mappings/eui-flex-grid.d.ts.map +0 -1
  539. package/declarations/core/src/utils/css-mappings/eui-flex-group.d.ts +0 -33
  540. package/declarations/core/src/utils/css-mappings/eui-flex-group.d.ts.map +0 -1
  541. package/declarations/core/src/utils/css-mappings/eui-flex-item.d.ts +0 -17
  542. package/declarations/core/src/utils/css-mappings/eui-flex-item.d.ts.map +0 -1
  543. package/declarations/core/src/utils/css-mappings/eui-flyout.d.ts +0 -23
  544. package/declarations/core/src/utils/css-mappings/eui-flyout.d.ts.map +0 -1
  545. package/declarations/core/src/utils/css-mappings/eui-form-control-layout-clear-button.d.ts +0 -8
  546. package/declarations/core/src/utils/css-mappings/eui-form-control-layout-clear-button.d.ts.map +0 -1
  547. package/declarations/core/src/utils/css-mappings/eui-form-row.d.ts +0 -12
  548. package/declarations/core/src/utils/css-mappings/eui-form-row.d.ts.map +0 -1
  549. package/declarations/core/src/utils/css-mappings/eui-global-toast-list.d.ts +0 -8
  550. package/declarations/core/src/utils/css-mappings/eui-global-toast-list.d.ts.map +0 -1
  551. package/declarations/core/src/utils/css-mappings/eui-header-links.d.ts +0 -18
  552. package/declarations/core/src/utils/css-mappings/eui-header-links.d.ts.map +0 -1
  553. package/declarations/core/src/utils/css-mappings/eui-header-section-item.d.ts +0 -9
  554. package/declarations/core/src/utils/css-mappings/eui-header-section-item.d.ts.map +0 -1
  555. package/declarations/core/src/utils/css-mappings/eui-header-section.d.ts +0 -12
  556. package/declarations/core/src/utils/css-mappings/eui-header-section.d.ts.map +0 -1
  557. package/declarations/core/src/utils/css-mappings/eui-header.d.ts +0 -12
  558. package/declarations/core/src/utils/css-mappings/eui-header.d.ts.map +0 -1
  559. package/declarations/core/src/utils/css-mappings/eui-health.d.ts +0 -10
  560. package/declarations/core/src/utils/css-mappings/eui-health.d.ts.map +0 -1
  561. package/declarations/core/src/utils/css-mappings/eui-horizontal-rule.d.ts +0 -18
  562. package/declarations/core/src/utils/css-mappings/eui-horizontal-rule.d.ts.map +0 -1
  563. package/declarations/core/src/utils/css-mappings/eui-icon.d.ts +0 -494
  564. package/declarations/core/src/utils/css-mappings/eui-icon.d.ts.map +0 -1
  565. package/declarations/core/src/utils/css-mappings/eui-image.d.ts +0 -22
  566. package/declarations/core/src/utils/css-mappings/eui-image.d.ts.map +0 -1
  567. package/declarations/core/src/utils/css-mappings/eui-link.d.ts +0 -14
  568. package/declarations/core/src/utils/css-mappings/eui-link.d.ts.map +0 -1
  569. package/declarations/core/src/utils/css-mappings/eui-list-group-item.d.ts +0 -17
  570. package/declarations/core/src/utils/css-mappings/eui-list-group-item.d.ts.map +0 -1
  571. package/declarations/core/src/utils/css-mappings/eui-list-group.d.ts +0 -12
  572. package/declarations/core/src/utils/css-mappings/eui-list-group.d.ts.map +0 -1
  573. package/declarations/core/src/utils/css-mappings/eui-loading-spinner.d.ts +0 -10
  574. package/declarations/core/src/utils/css-mappings/eui-loading-spinner.d.ts.map +0 -1
  575. package/declarations/core/src/utils/css-mappings/eui-modal.d.ts +0 -7
  576. package/declarations/core/src/utils/css-mappings/eui-modal.d.ts.map +0 -1
  577. package/declarations/core/src/utils/css-mappings/eui-notification-badge.d.ts +0 -11
  578. package/declarations/core/src/utils/css-mappings/eui-notification-badge.d.ts.map +0 -1
  579. package/declarations/core/src/utils/css-mappings/eui-page-body.d.ts +0 -16
  580. package/declarations/core/src/utils/css-mappings/eui-page-body.d.ts.map +0 -1
  581. package/declarations/core/src/utils/css-mappings/eui-page-content-body.d.ts +0 -10
  582. package/declarations/core/src/utils/css-mappings/eui-page-content-body.d.ts.map +0 -1
  583. package/declarations/core/src/utils/css-mappings/eui-page-content.d.ts +0 -10
  584. package/declarations/core/src/utils/css-mappings/eui-page-content.d.ts.map +0 -1
  585. package/declarations/core/src/utils/css-mappings/eui-page-header.d.ts +0 -10
  586. package/declarations/core/src/utils/css-mappings/eui-page-header.d.ts.map +0 -1
  587. package/declarations/core/src/utils/css-mappings/eui-page-side-bar.d.ts +0 -10
  588. package/declarations/core/src/utils/css-mappings/eui-page-side-bar.d.ts.map +0 -1
  589. package/declarations/core/src/utils/css-mappings/eui-page.d.ts +0 -24
  590. package/declarations/core/src/utils/css-mappings/eui-page.d.ts.map +0 -1
  591. package/declarations/core/src/utils/css-mappings/eui-panel.d.ts +0 -24
  592. package/declarations/core/src/utils/css-mappings/eui-panel.d.ts.map +0 -1
  593. package/declarations/core/src/utils/css-mappings/eui-popover-footer.d.ts +0 -10
  594. package/declarations/core/src/utils/css-mappings/eui-popover-footer.d.ts.map +0 -1
  595. package/declarations/core/src/utils/css-mappings/eui-popover-title.d.ts +0 -10
  596. package/declarations/core/src/utils/css-mappings/eui-popover-title.d.ts.map +0 -1
  597. package/declarations/core/src/utils/css-mappings/eui-popover.d.ts +0 -22
  598. package/declarations/core/src/utils/css-mappings/eui-popover.d.ts.map +0 -1
  599. package/declarations/core/src/utils/css-mappings/eui-progress-data.d.ts +0 -3
  600. package/declarations/core/src/utils/css-mappings/eui-progress-data.d.ts.map +0 -1
  601. package/declarations/core/src/utils/css-mappings/eui-progress.d.ts +0 -50
  602. package/declarations/core/src/utils/css-mappings/eui-progress.d.ts.map +0 -1
  603. package/declarations/core/src/utils/css-mappings/eui-range-highlight.d.ts +0 -11
  604. package/declarations/core/src/utils/css-mappings/eui-range-highlight.d.ts.map +0 -1
  605. package/declarations/core/src/utils/css-mappings/eui-range-input.d.ts +0 -8
  606. package/declarations/core/src/utils/css-mappings/eui-range-input.d.ts.map +0 -1
  607. package/declarations/core/src/utils/css-mappings/eui-range-levels.d.ts +0 -13
  608. package/declarations/core/src/utils/css-mappings/eui-range-levels.d.ts.map +0 -1
  609. package/declarations/core/src/utils/css-mappings/eui-selectable-list-item.d.ts +0 -7
  610. package/declarations/core/src/utils/css-mappings/eui-selectable-list-item.d.ts.map +0 -1
  611. package/declarations/core/src/utils/css-mappings/eui-spacer.d.ts +0 -12
  612. package/declarations/core/src/utils/css-mappings/eui-spacer.d.ts.map +0 -1
  613. package/declarations/core/src/utils/css-mappings/eui-stat.d.ts +0 -17
  614. package/declarations/core/src/utils/css-mappings/eui-stat.d.ts.map +0 -1
  615. package/declarations/core/src/utils/css-mappings/eui-step-number.d.ts +0 -11
  616. package/declarations/core/src/utils/css-mappings/eui-step-number.d.ts.map +0 -1
  617. package/declarations/core/src/utils/css-mappings/eui-tabs.d.ts +0 -14
  618. package/declarations/core/src/utils/css-mappings/eui-tabs.d.ts.map +0 -1
  619. package/declarations/core/src/utils/css-mappings/eui-text-align.d.ts +0 -9
  620. package/declarations/core/src/utils/css-mappings/eui-text-align.d.ts.map +0 -1
  621. package/declarations/core/src/utils/css-mappings/eui-text-area.d.ts +0 -10
  622. package/declarations/core/src/utils/css-mappings/eui-text-area.d.ts.map +0 -1
  623. package/declarations/core/src/utils/css-mappings/eui-text-color.d.ts +0 -14
  624. package/declarations/core/src/utils/css-mappings/eui-text-color.d.ts.map +0 -1
  625. package/declarations/core/src/utils/css-mappings/eui-text.d.ts +0 -9
  626. package/declarations/core/src/utils/css-mappings/eui-text.d.ts.map +0 -1
  627. package/declarations/core/src/utils/css-mappings/eui-title.d.ts +0 -15
  628. package/declarations/core/src/utils/css-mappings/eui-title.d.ts.map +0 -1
  629. package/declarations/core/src/utils/css-mappings/eui-toast.d.ts +0 -11
  630. package/declarations/core/src/utils/css-mappings/eui-toast.d.ts.map +0 -1
  631. package/declarations/core/src/utils/css-mappings/eui-tool-tip.d.ts +0 -10
  632. package/declarations/core/src/utils/css-mappings/eui-tool-tip.d.ts.map +0 -1
  633. package/declarations/core/src/utils/css-mappings/index.d.ts +0 -3
  634. package/declarations/core/src/utils/css-mappings/index.d.ts.map +0 -1
  635. package/declarations/core/src/utils/detect-element-resize.d.ts +0 -17
  636. package/declarations/core/src/utils/detect-element-resize.d.ts.map +0 -1
  637. package/declarations/core/src/utils/keys.d.ts +0 -31
  638. package/declarations/core/src/utils/keys.d.ts.map +0 -1
  639. package/declarations/core/src/utils/markdown/markdown-actions.d.ts +0 -45
  640. package/declarations/core/src/utils/markdown/markdown-actions.d.ts.map +0 -1
  641. package/declarations/core/src/utils/markdown/markdown-modes.d.ts +0 -4
  642. package/declarations/core/src/utils/markdown/markdown-modes.d.ts.map +0 -1
  643. package/declarations/core/src/utils/markdown/markdown-types.d.ts +0 -100
  644. package/declarations/core/src/utils/markdown/markdown-types.d.ts.map +0 -1
  645. package/declarations/core/src/utils/markdown/plugins/markdown-add-components/index.d.ts +0 -3
  646. package/declarations/core/src/utils/markdown/plugins/markdown-add-components/index.d.ts.map +0 -1
  647. package/declarations/core/src/utils/markdown/plugins/markdown-add-components/processor.d.ts +0 -6
  648. package/declarations/core/src/utils/markdown/plugins/markdown-add-components/processor.d.ts.map +0 -1
  649. package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/index.d.ts +0 -2
  650. package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/index.d.ts.map +0 -1
  651. package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/parser.d.ts +0 -3
  652. package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/parser.d.ts.map +0 -1
  653. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/index.d.ts +0 -5
  654. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/index.d.ts.map +0 -1
  655. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts +0 -7
  656. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts.map +0 -1
  657. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts +0 -11
  658. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts.map +0 -1
  659. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts +0 -21
  660. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts.map +0 -1
  661. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts +0 -7
  662. package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts.map +0 -1
  663. package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/index.d.ts +0 -3
  664. package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/index.d.ts.map +0 -1
  665. package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/parser.d.ts +0 -3
  666. package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/parser.d.ts.map +0 -1
  667. package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/plugin.d.ts +0 -14
  668. package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/plugin.d.ts.map +0 -1
  669. package/declarations/core/src/utils/markdown/plugins/to-dom.d.ts +0 -20
  670. package/declarations/core/src/utils/markdown/plugins/to-dom.d.ts.map +0 -1
  671. package/declarations/core/src/utils/markdown/remark/remark-prismjs.d.ts +0 -5
  672. package/declarations/core/src/utils/markdown/remark/remark-prismjs.d.ts.map +0 -1
  673. package/declarations/core/src/utils/maybe-unwrap-proxy.d.ts +0 -5
  674. package/declarations/core/src/utils/maybe-unwrap-proxy.d.ts.map +0 -1
  675. package/declarations/core/src/utils/number/index.d.ts +0 -2
  676. package/declarations/core/src/utils/number/index.d.ts.map +0 -1
  677. package/declarations/core/src/utils/number/number.d.ts +0 -3
  678. package/declarations/core/src/utils/number/number.d.ts.map +0 -1
  679. package/declarations/core/src/utils/popover/index.d.ts +0 -154
  680. package/declarations/core/src/utils/popover/index.d.ts.map +0 -1
  681. package/declarations/core/src/utils/popover/types.d.ts +0 -2
  682. package/declarations/core/src/utils/popover/types.d.ts.map +0 -1
  683. package/declarations/core/src/utils/predicate/common_predicates.d.ts +0 -6
  684. package/declarations/core/src/utils/predicate/common_predicates.d.ts.map +0 -1
  685. package/declarations/core/src/utils/predicate/index.d.ts +0 -3
  686. package/declarations/core/src/utils/predicate/index.d.ts.map +0 -1
  687. package/declarations/core/src/utils/predicate/lodash_predicates.d.ts +0 -8
  688. package/declarations/core/src/utils/predicate/lodash_predicates.d.ts.map +0 -1
  689. package/declarations/core/src/utils/range/index.d.ts +0 -2
  690. package/declarations/core/src/utils/range/index.d.ts.map +0 -1
  691. package/declarations/core/src/utils/transition.d.ts +0 -8
  692. package/declarations/core/src/utils/transition.d.ts.map +0 -1
  693. package/declarations/validated-form/src/-private/random-id.d.ts +0 -9
  694. package/declarations/validated-form/src/-private/random-id.d.ts.map +0 -1
  695. package/declarations/validated-form/src/components/default-theme.d.ts +0 -18
  696. package/declarations/validated-form/src/components/default-theme.d.ts.map +0 -1
  697. package/declarations/validated-form/src/components/validated-form/field-base.d.ts +0 -61
  698. package/declarations/validated-form/src/components/validated-form/field-base.d.ts.map +0 -1
  699. package/declarations/validated-form/src/components/validated-form/field-checkbox-group.d.ts +0 -30
  700. package/declarations/validated-form/src/components/validated-form/field-checkbox-group.d.ts.map +0 -1
  701. package/declarations/validated-form/src/components/validated-form/field-combo-box.d.ts +0 -27
  702. package/declarations/validated-form/src/components/validated-form/field-combo-box.d.ts.map +0 -1
  703. package/declarations/validated-form/src/components/validated-form/field-dual-range-slider.d.ts +0 -32
  704. package/declarations/validated-form/src/components/validated-form/field-dual-range-slider.d.ts.map +0 -1
  705. package/declarations/validated-form/src/components/validated-form/field-markdown-editor.d.ts +0 -25
  706. package/declarations/validated-form/src/components/validated-form/field-markdown-editor.d.ts.map +0 -1
  707. package/declarations/validated-form/src/components/validated-form/field-number.d.ts +0 -24
  708. package/declarations/validated-form/src/components/validated-form/field-number.d.ts.map +0 -1
  709. package/declarations/validated-form/src/components/validated-form/field-password.d.ts +0 -24
  710. package/declarations/validated-form/src/components/validated-form/field-password.d.ts.map +0 -1
  711. package/declarations/validated-form/src/components/validated-form/field-radio-group.d.ts +0 -29
  712. package/declarations/validated-form/src/components/validated-form/field-radio-group.d.ts.map +0 -1
  713. package/declarations/validated-form/src/components/validated-form/field-range-slider.d.ts +0 -28
  714. package/declarations/validated-form/src/components/validated-form/field-range-slider.d.ts.map +0 -1
  715. package/declarations/validated-form/src/components/validated-form/field-select.d.ts +0 -23
  716. package/declarations/validated-form/src/components/validated-form/field-select.d.ts.map +0 -1
  717. package/declarations/validated-form/src/components/validated-form/field-switch.d.ts +0 -24
  718. package/declarations/validated-form/src/components/validated-form/field-switch.d.ts.map +0 -1
  719. package/declarations/validated-form/src/components/validated-form/field-text-area.d.ts +0 -29
  720. package/declarations/validated-form/src/components/validated-form/field-text-area.d.ts.map +0 -1
  721. package/declarations/validated-form/src/components/validated-form/field-text.d.ts +0 -22
  722. package/declarations/validated-form/src/components/validated-form/field-text.d.ts.map +0 -1
  723. package/declarations/validated-form/src/components/validated-form.d.ts +0 -94
  724. package/declarations/validated-form/src/components/validated-form.d.ts.map +0 -1
  725. package/declarations/validated-form/src/utils/build-validation-messages.d.ts +0 -13
  726. package/declarations/validated-form/src/utils/build-validation-messages.d.ts.map +0 -1
  727. package/declarations/validated-form/src/utils/get-messages.d.ts +0 -11
  728. package/declarations/validated-form/src/utils/get-messages.d.ts.map +0 -1
  729. package/declarations/validated-form/src/utils/validation-errors.d.ts +0 -2
  730. package/declarations/validated-form/src/utils/validation-errors.d.ts.map +0 -1
  731. package/declarations/validated-form/src/utils/with-defaults.d.ts +0 -10
  732. package/declarations/validated-form/src/utils/with-defaults.d.ts.map +0 -1
  733. package/declarations/validated-form/src/validators/messages.d.ts +0 -4
  734. package/declarations/validated-form/src/validators/messages.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"validated-form.d.ts","sourceRoot":"","sources":["../../src/components/validated-form.gts"],"names":[],"mappings":"AAsdA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAQjC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAKtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAC;AAC7D,OA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B,SAAS,UAAS;gBAEf,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;IAK9D,WAAW;IAKX,IAAI,OAAO,YAEV;IAED,IAAI,mBAAmB,YAEtB;IAED,QAAQ,CAAC,KAAK,EAAE,kBAAkB;IAKlC,WAAW,CAAC,KAAK,EAAE,kBAAkB;IAK/B,YAAY,CAAC,CAAC,EAAE,KAAK;IAsB3B,YAAY,CAAC,SAAS,EAAE,OAAO;IAM/B,WAAW,CAAC,CAAC,EAAE,KAAK;IAUpB,QAAQ,CAAC,KAAK,EAAE,kBAAkB;IAOlC,UAAU,CAAC,KAAK,EAAE,kBAAkB;IAUpC,cAAc;IAId,UAAU;IAIV,YAAY;IAIZ,qBAAqB;IAarB,cAAc;IAoBd,qBAAqB;IAOrB,UAAU,CAAC,CAAC,EAAE,UAAU;IAyBxB,IAAI,KAAK;;;;;;;;;;;;;;;MAIR;CAwDF"}
@@ -3,7 +3,7 @@ import { tracked } from '@glimmer/tracking';
3
3
  import { A } from '@ember/array';
4
4
  import { hash } from '@ember/helper';
5
5
  import { on } from '@ember/modifier';
6
- import { action } from '@ember/object';
6
+ import { action, set } from '@ember/object';
7
7
  import didInsert from '@ember/render-modifiers/modifiers/did-insert';
8
8
  import { schedule, next } from '@ember/runloop';
9
9
  import EuiForm from '@ember-eui/core/components/eui-form';
@@ -14,6 +14,26 @@ import { precompileTemplate } from '@ember/template-compilation';
14
14
  import { setComponentTemplate } from '@ember/component';
15
15
  import { g, i, n } from 'decorator-transforms/runtime-esm';
16
16
 
17
+ // Custom children registered via `register` may not implement `setIsTouched`
18
+ // (e.g. app fields not extending FieldBase), so fall back to setting the property.
19
+ function setChildIsTouched(child, isTouched) {
20
+ const maybeChild = child;
21
+ if (!maybeChild) {
22
+ return;
23
+ }
24
+ if (typeof maybeChild.setIsTouched === 'function') {
25
+ maybeChild.setIsTouched(isTouched);
26
+ } else {
27
+ set(maybeChild, 'isTouched', isTouched);
28
+ }
29
+ }
30
+ /**
31
+ * A form whose fields validate their own values with ember-validators
32
+ * (`@validations`) or functions (`@customValidations`). Errors show once a
33
+ * field is touched; submitting calls `@onSubmit` only when all fields are
34
+ * valid.
35
+ */
36
+
17
37
  class ValidatedFormComponent extends Component {
18
38
  static {
19
39
  g(this.prototype, "childComponents", [tracked], function () {
@@ -78,7 +98,7 @@ class ValidatedFormComponent extends Component {
78
98
  n(this.prototype, "handleSubmit", [action]);
79
99
  }
80
100
  setIsTouched(isTouched) {
81
- this.childComponents.forEach(child => child.setIsTouched(isTouched));
101
+ this.childComponents.forEach(child => setChildIsTouched(child, isTouched));
82
102
  this.updateValidity();
83
103
  }
84
104
  static {
@@ -160,9 +180,20 @@ class ValidatedFormComponent extends Component {
160
180
  if (!targetEuiFormRow) {
161
181
  return;
162
182
  }
163
- this.childComponents.find(child => {
183
+ const field = this.childComponents.find(child => {
164
184
  return 'formRowElement' in child && targetEuiFormRow === child.formRowElement;
165
- })?.setIsTouched(true);
185
+ });
186
+ if (!field) {
187
+ return;
188
+ }
189
+ // Chrome also fires `focusout` when the focused element is removed, which
190
+ // happens while rendering; touching the field then would update tracked
191
+ // state that the same render already read. Defer it until after render.
192
+ schedule('actions', () => {
193
+ if (!field.isDestroying && !field.isDestroyed) {
194
+ setChildIsTouched(field, true);
195
+ }
196
+ });
166
197
  }
167
198
  static {
168
199
  n(this.prototype, "onFocusOut", [action]);
@@ -1 +1 @@
1
- {"version":3,"file":"validated-form.js","sources":["../../src/components/validated-form.gts"],"sourcesContent":["import Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { A } from '@ember/array';\nimport { hash } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport { next, schedule } from '@ember/runloop';\nimport EuiForm from '@ember-eui/core/components/eui-form';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport type Owner from '@ember/owner';\n\nimport randomId from '../-private/random-id.ts';\nimport { ValidatedFormDefaultTheme } from './default-theme.ts';\n\nimport type { IValidatedFormTheme } from './default-theme';\nimport type FieldBase from './validated-form/field-base.gts';\nimport type { EuiFormSignature } from '@ember-eui/core/components/eui-form';\n\nexport type ValidatedFormChild = FieldBase | ValidatedFormComponent;\n\n/**\n * A form whose fields validate their own values with ember-validators\n * (`@validations`) or functions (`@customValidations`). Errors show once a\n * field is touched; submitting calls `@onSubmit` only when all fields are\n * valid.\n */\nexport interface ValidatedFormSignature {\n Element: EuiFormSignature['Element'];\n Args: {\n /** Id of the form; fields join it with `form=`. Defaults to a random id. */\n id?: string;\n /** HTML form that owns the fields; inherited by nested forms. */\n formId?: string;\n /** @private Nested forms register with their parent form. */\n register?: (child: ValidatedFormComponent) => void;\n /** @private Nested forms register with their parent form. */\n unregister?: (child: ValidatedFormComponent) => void;\n /** @private */\n addChild?: (child: ValidatedFormChild) => void;\n /** @private */\n removeChild?: (child: ValidatedFormChild) => void;\n /** Called on submit while a field is invalid (all fields show their errors). */\n onInvalid?: () => void;\n /**\n * Called on submit when every field is valid. If it returns a promise\n * that rejects, the fields are marked touched again.\n */\n onSubmit?: () => void | Promise<void>;\n /** Called when the form is reset. */\n onReset?: (e: Event) => void;\n /**\n * Called when the form's validity or touched state changes, e.g. to\n * disable the submit button while invalid.\n */\n onValidityChange?: (\n isValid: boolean,\n isTouched: boolean,\n isInvalidAndTouched: boolean\n ) => void;\n /** Replaces the yielded field components (see the theme docs). */\n theme?: Partial<IValidatedFormTheme>;\n /** Disables every field. */\n isDisabled?: boolean;\n /** Makes every field full width. */\n fullWidth?: boolean;\n /** Compressed fields, for dense forms. */\n compressed?: boolean;\n /** `'form'` (the default) or `'div'`. */\n tagName?: EuiFormSignature['Args']['tagName'];\n /** Shows `@error` in a callout above the form, see EuiForm. */\n isInvalid?: EuiFormSignature['Args']['isInvalid'];\n /** See EuiForm's `@invalidCallout`. */\n invalidCallout?: EuiFormSignature['Args']['invalidCallout'];\n /** Form-level errors, see EuiForm's `@error`. */\n error?: EuiFormSignature['Args']['error'];\n /** Title of the errors callout. */\n errorTitle?: EuiFormSignature['Args']['errorTitle'];\n };\n Blocks: {\n /**\n * Yields the form's state (`isValid`, `isInvalid`, `isTouched`,\n * `isInvalidAndTouched`, `formId`) and its field components, already\n * connected to it: `as |form|` → `<form.FieldText @label=\"Name\"\n * @value={{this.name}} @onChange={{…}} @validations={{…}} />`.\n */\n default: [\n {\n onValidityChange: (\n isValid: boolean,\n isTouched: boolean,\n isInvalidAndTouched: boolean\n ) => void;\n register: (child: ValidatedFormChild) => void;\n unregister: (child: ValidatedFormChild) => void;\n isValid: boolean;\n isInvalid: boolean;\n isTouched: boolean;\n isInvalidAndTouched: boolean;\n formId: string;\n Form: IValidatedFormTheme['FieldNestedForm'];\n FieldNestedForm: IValidatedFormTheme['FieldNestedForm'];\n FieldBase: IValidatedFormTheme['FieldBase'];\n FieldNumber: IValidatedFormTheme['FieldNumber'];\n FieldText: IValidatedFormTheme['FieldText'];\n FieldPassword: IValidatedFormTheme['FieldPassword'];\n FieldTextArea: IValidatedFormTheme['FieldTextArea'];\n FieldSelect: IValidatedFormTheme['FieldSelect'];\n FieldComboBox: IValidatedFormTheme['FieldComboBox'];\n FieldCheckboxGroup: IValidatedFormTheme['FieldCheckboxGroup'];\n FieldRadioGroup: IValidatedFormTheme['FieldRadioGroup'];\n FieldRangeSlider: IValidatedFormTheme['FieldRangeSlider'];\n FieldDualRangeSlider: IValidatedFormTheme['FieldDualRangeSlider'];\n FieldSwitch: IValidatedFormTheme['FieldSwitch'];\n FieldMarkdownEditor: IValidatedFormTheme['FieldMarkdownEditor'];\n }\n ];\n };\n}\n\nexport default class ValidatedFormComponent extends Component<ValidatedFormSignature> {\n @tracked childComponents: ReturnType<typeof A<ValidatedFormChild>> = A<ValidatedFormChild>([]);\n //cache to only notify if changed\n lastIsValid?: boolean;\n lastIsTouched?: boolean;\n\n @tracked isInvalid = false;\n @tracked isTouched = false;\n\n constructor(owner: Owner, args: ValidatedFormSignature['Args']) {\n super(owner, args);\n this.args.register?.(this);\n }\n\n willDestroy() {\n super.willDestroy();\n this.args.unregister?.(this);\n }\n\n get isValid() {\n return !this.isInvalid;\n }\n\n get isInvalidAndTouched() {\n return this.isInvalid && this.isTouched;\n }\n\n addChild(child: ValidatedFormChild) {\n this.childComponents.pushObject(child);\n this.triggerValidityChange();\n }\n\n removeChild(child: ValidatedFormChild) {\n this.childComponents.removeObject(child);\n }\n\n @action\n async handleSubmit(e: Event) {\n if (e.target !== e.currentTarget) {\n return;\n }\n\n e.preventDefault();\n\n if (this.isInvalid) {\n this.setIsTouched(true);\n this.args.onInvalid?.();\n } else {\n this.setIsTouched(false);\n\n try {\n await this.args.onSubmit?.();\n } catch {\n this.setIsTouched(true);\n }\n }\n }\n\n @action\n setIsTouched(isTouched: boolean) {\n this.childComponents.forEach((child) => child.setIsTouched(isTouched));\n this.updateValidity();\n }\n\n @action\n handleReset(e: Event) {\n if (e.target !== e.currentTarget) {\n return;\n }\n\n e.preventDefault();\n this.args.onReset?.(e);\n }\n\n @action\n register(child: ValidatedFormChild) {\n if (!this.isDestroyed) {\n schedule('afterRender', this, this.addChild, child);\n }\n }\n\n @action\n unregister(child: ValidatedFormChild) {\n if (!this.isDestroyed) {\n schedule('afterRender', this, this.removeChild, child);\n // When adding a child the validation gets calculated on a `did-insert` modifier\n // for removal there's no modifier so it gets called here\n schedule('afterRender', this, this.triggerValidityChange);\n }\n }\n\n @action\n updateValidity() {\n this.triggerValidityChange();\n }\n\n getIsValid() {\n return this.childComponents.isEvery('isValid');\n }\n\n getIsTouched() {\n return this.childComponents.isAny('isTouched');\n }\n\n triggerValidityChange() {\n const lastIsValid = this.isValid;\n const lastIsTouched = this.isTouched;\n\n if (\n lastIsValid !== this.getIsValid() ||\n lastIsTouched !== this.getIsTouched()\n ) {\n this.setNewValidity();\n }\n }\n\n @action\n setNewValidity() {\n next(() => {\n if (this.isDestroying || this.isDestroyed) {\n return;\n }\n\n this.isInvalid = !this.getIsValid();\n this.isTouched = this.getIsTouched();\n\n if (!this.isDestroying) {\n this.args.onValidityChange?.(\n this.isValid,\n this.isTouched,\n this.isInvalidAndTouched\n );\n }\n });\n }\n\n @action\n onChildValidityChange() {\n if (!this.isDestroying) {\n this.updateValidity();\n }\n }\n\n @action\n onFocusOut(e: FocusEvent) {\n const targetEuiFormRow = (e.target as HTMLInputElement)?.closest?.('.euiFormRow');\n\n if (!targetEuiFormRow) {\n return;\n }\n\n this.childComponents\n .find((child) => {\n return 'formRowElement' in child && targetEuiFormRow === child.formRowElement;\n })\n ?.setIsTouched(true);\n }\n\n get theme() {\n const theme: Partial<IValidatedFormTheme> = this.args.theme || {};\n\n return { ...ValidatedFormDefaultTheme, ...theme };\n }\n\n <template>\n {{#let (argOrDefault @id (randomId)) as |formId|}}\n <EuiForm\n @tagName={{argOrDefault @tagName \"form\"}}\n id={{formId}}\n @isInvalid={{@isInvalid}}\n @invalidCallout={{@invalidCallout}}\n @error={{@error}}\n @errorTitle={{@errorTitle}}\n {{on \"submit\" this.handleSubmit}}\n {{on \"reset\" this.handleReset}}\n {{didInsert this.setNewValidity}}\n {{on \"focusout\" this.onFocusOut}}\n ...attributes\n >\n {{yield\n (hash\n onValidityChange=this.onChildValidityChange\n register=this.register\n unregister=this.unregister\n isValid=this.isValid\n isInvalid=this.isInvalid\n isTouched=this.isTouched\n isInvalidAndTouched=this.isInvalidAndTouched\n formId=(argOrDefault @formId formId)\n Form=(component\n this.theme.FieldNestedForm\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n tagName=\"div\"\n formId=(argOrDefault @formId formId)\n theme=this.theme\n isDisabled=@isDisabled\n fullWidth=@fullWidth\n compressed=@compressed\n )\n FieldNestedForm=(component\n this.theme.FieldNestedForm\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n tagName=\"div\"\n formId=(argOrDefault @formId formId)\n theme=this.theme\n isDisabled=@isDisabled\n fullWidth=@fullWidth\n compressed=@compressed\n )\n FieldBase=(component\n this.theme.FieldBase\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldNumber=(component\n this.theme.FieldNumber\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldText=(component\n this.theme.FieldText\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldPassword=(component\n this.theme.FieldPassword\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldTextArea=(component\n this.theme.FieldTextArea\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldSelect=(component\n this.theme.FieldSelect\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldComboBox=(component\n this.theme.FieldComboBox\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n isDisabled=@isDisabled\n )\n FieldCheckboxGroup=(component\n this.theme.FieldCheckboxGroup\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldRadioGroup=(component\n this.theme.FieldRadioGroup\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldRangeSlider=(component\n this.theme.FieldRangeSlider\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldDualRangeSlider=(component\n this.theme.FieldDualRangeSlider\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldSwitch=(component\n this.theme.FieldSwitch\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldMarkdownEditor=(component\n this.theme.FieldMarkdownEditor\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n )\n }}\n </EuiForm>\n {{/let}}\n </template>\n}\n\n// Default theme for ValidatedFormComponent. Do not remove.\nValidatedFormDefaultTheme.FieldNestedForm = ValidatedFormComponent;\n"],"names":["ValidatedFormComponent","Component","g","prototype","tracked","A","i","lastIsValid","lastIsTouched","constructor","owner","args","register","willDestroy","unregister","isValid","isInvalid","isInvalidAndTouched","isTouched","addChild","child","childComponents","pushObject","triggerValidityChange","removeChild","removeObject","handleSubmit","e","target","currentTarget","preventDefault","setIsTouched","onInvalid","onSubmit","n","action","forEach","updateValidity","handleReset","onReset","isDestroyed","schedule","getIsValid","isEvery","getIsTouched","isAny","setNewValidity","next","isDestroying","onValidityChange","onChildValidityChange","onFocusOut","targetEuiFormRow","closest","find","formRowElement","theme","ValidatedFormDefaultTheme","setComponentTemplate","precompileTemplate","strictMode","scope","argOrDefault","randomId","EuiForm","on","didInsert","hash","FieldNestedForm"],"mappings":";;;;;;;;;;;;;;;;AAw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MAAA,CAAA,CAAA;AAAA;EAQDgB,UAAAA,CAAWxB,CAAa,EAAE;IACxB,MAAMyB,mBAAoBzB,CAAA,CAAEC,MAAM,EAAuByB,OAAA,GAAU,aAAA,CAAA;IAEnE,IAAI,CAACD,gBAAA,EAAkB;AACrB,MAAA;AACF,IAAA;AAEA,IAAA,IAAI,CAAC/B,eAAe,CACjBiC,IAAI,CAAElC,KAAA,IAAA;MACL,OAAO,gBAAA,IAAoBA,KAAA,IAASgC,gBAAA,KAAqBhC,KAAA,CAAMmC,cAAc;AAC/E,IAAA,CAAA,CAAA,EACExB,YAAA,CAAa,IAAA,CAAA;AACnB,EAAA;AAAA,EAAA;IAAAG,CAAA,CAAA,IAAA,CAAA/B,SAAA,EAAA,YAAA,EAAA,CAbCgC,MAAA,CAAA,CAAA;AAAA;EAeD,IAAIqB,KAAAA,GAAQ;IACV,MAAMA,KAAe,GAAuB,IAAI,CAAC7C,IAAI,CAAC6C,KAAK,IAAI,EAAC;IAEhE,OAAO;AAAE,MAAA,GAAGC,yBAAyB;MAAE,GAAGD;KAAM;AAClD,EAAA;AAEA,EAAA;IAAAE,oBAAA,CAAAC,kBAAA,CAAA,00IAAA,EAqLA;MAAAC,UAAA,EAAA,IAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,OAAA;QAAAC,EAAA;QAAAC,SAAA;AAAAC,QAAAA;AAAA,OAAA;KAAU,CAAA,EAAV,IAAW,CAAA;AAAD;AACZ;AAEA;AACAV,yBAAA,CAA0BW,eAAe,GAAGpE,sBAAA;;"}
1
+ {"version":3,"file":"validated-form.js","sources":["../../src/components/validated-form.gts"],"sourcesContent":["import Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { A } from '@ember/array';\nimport { hash } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action, set } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport { next, schedule } from '@ember/runloop';\nimport EuiForm from '@ember-eui/core/components/eui-form';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport type Owner from '@ember/owner';\n\nimport randomId from '../-private/random-id.ts';\nimport { ValidatedFormDefaultTheme } from './default-theme.ts';\n\nimport type { IValidatedFormTheme } from './default-theme';\nimport type FieldBase from './validated-form/field-base.gts';\nimport type { EuiFormSignature } from '@ember-eui/core/components/eui-form';\n\nexport type ValidatedFormChild = FieldBase | ValidatedFormComponent;\n\n// Custom children registered via `register` may not implement `setIsTouched`\n// (e.g. app fields not extending FieldBase), so fall back to setting the property.\nfunction setChildIsTouched(child: ValidatedFormChild, isTouched: boolean) {\n const maybeChild = child as Partial<ValidatedFormChild> | null | undefined;\n\n if (!maybeChild) {\n return;\n }\n\n if (typeof maybeChild.setIsTouched === 'function') {\n maybeChild.setIsTouched(isTouched);\n } else {\n set(maybeChild as { isTouched?: boolean }, 'isTouched', isTouched);\n }\n}\n\n/**\n * A form whose fields validate their own values with ember-validators\n * (`@validations`) or functions (`@customValidations`). Errors show once a\n * field is touched; submitting calls `@onSubmit` only when all fields are\n * valid.\n */\nexport interface ValidatedFormSignature {\n Element: EuiFormSignature['Element'];\n Args: {\n /** Id of the form; fields join it with `form=`. Defaults to a random id. */\n id?: string;\n /** HTML form that owns the fields; inherited by nested forms. */\n formId?: string;\n /** @private Nested forms register with their parent form. */\n register?: (child: ValidatedFormComponent) => void;\n /** @private Nested forms register with their parent form. */\n unregister?: (child: ValidatedFormComponent) => void;\n /** @private */\n addChild?: (child: ValidatedFormChild) => void;\n /** @private */\n removeChild?: (child: ValidatedFormChild) => void;\n /** Called on submit while a field is invalid (all fields show their errors). */\n onInvalid?: () => void;\n /**\n * Called on submit when every field is valid. If it returns a promise\n * that rejects, the fields are marked touched again.\n */\n onSubmit?: () => void | Promise<void>;\n /** Called when the form is reset. */\n onReset?: (e: Event) => void;\n /**\n * Called when the form's validity or touched state changes, e.g. to\n * disable the submit button while invalid.\n */\n onValidityChange?: (\n isValid: boolean,\n isTouched: boolean,\n isInvalidAndTouched: boolean\n ) => void;\n /** Replaces the yielded field components (see the theme docs). */\n theme?: Partial<IValidatedFormTheme>;\n /** Disables every field. */\n isDisabled?: boolean;\n /** Makes every field full width. */\n fullWidth?: boolean;\n /** Compressed fields, for dense forms. */\n compressed?: boolean;\n /** `'form'` (the default) or `'div'`. */\n tagName?: EuiFormSignature['Args']['tagName'];\n /** Shows `@error` in a callout above the form, see EuiForm. */\n isInvalid?: EuiFormSignature['Args']['isInvalid'];\n /** See EuiForm's `@invalidCallout`. */\n invalidCallout?: EuiFormSignature['Args']['invalidCallout'];\n /** Form-level errors, see EuiForm's `@error`. */\n error?: EuiFormSignature['Args']['error'];\n /** Title of the errors callout. */\n errorTitle?: EuiFormSignature['Args']['errorTitle'];\n };\n Blocks: {\n /**\n * Yields the form's state (`isValid`, `isInvalid`, `isTouched`,\n * `isInvalidAndTouched`, `formId`) and its field components, already\n * connected to it: `as |form|` → `<form.FieldText @label=\"Name\"\n * @value={{this.name}} @onChange={{…}} @validations={{…}} />`.\n */\n default: [\n {\n onValidityChange: (\n isValid: boolean,\n isTouched: boolean,\n isInvalidAndTouched: boolean\n ) => void;\n register: (child: ValidatedFormChild) => void;\n unregister: (child: ValidatedFormChild) => void;\n isValid: boolean;\n isInvalid: boolean;\n isTouched: boolean;\n isInvalidAndTouched: boolean;\n formId: string;\n Form: IValidatedFormTheme['FieldNestedForm'];\n FieldNestedForm: IValidatedFormTheme['FieldNestedForm'];\n FieldBase: IValidatedFormTheme['FieldBase'];\n FieldNumber: IValidatedFormTheme['FieldNumber'];\n FieldText: IValidatedFormTheme['FieldText'];\n FieldPassword: IValidatedFormTheme['FieldPassword'];\n FieldTextArea: IValidatedFormTheme['FieldTextArea'];\n FieldSelect: IValidatedFormTheme['FieldSelect'];\n FieldComboBox: IValidatedFormTheme['FieldComboBox'];\n FieldCheckboxGroup: IValidatedFormTheme['FieldCheckboxGroup'];\n FieldRadioGroup: IValidatedFormTheme['FieldRadioGroup'];\n FieldRangeSlider: IValidatedFormTheme['FieldRangeSlider'];\n FieldDualRangeSlider: IValidatedFormTheme['FieldDualRangeSlider'];\n FieldSwitch: IValidatedFormTheme['FieldSwitch'];\n FieldMarkdownEditor: IValidatedFormTheme['FieldMarkdownEditor'];\n }\n ];\n };\n}\n\nexport default class ValidatedFormComponent extends Component<ValidatedFormSignature> {\n @tracked childComponents: ReturnType<typeof A<ValidatedFormChild>> = A<ValidatedFormChild>([]);\n //cache to only notify if changed\n lastIsValid?: boolean;\n lastIsTouched?: boolean;\n\n @tracked isInvalid = false;\n @tracked isTouched = false;\n\n constructor(owner: Owner, args: ValidatedFormSignature['Args']) {\n super(owner, args);\n this.args.register?.(this);\n }\n\n willDestroy() {\n super.willDestroy();\n this.args.unregister?.(this);\n }\n\n get isValid() {\n return !this.isInvalid;\n }\n\n get isInvalidAndTouched() {\n return this.isInvalid && this.isTouched;\n }\n\n addChild(child: ValidatedFormChild) {\n this.childComponents.pushObject(child);\n this.triggerValidityChange();\n }\n\n removeChild(child: ValidatedFormChild) {\n this.childComponents.removeObject(child);\n }\n\n @action\n async handleSubmit(e: Event) {\n if (e.target !== e.currentTarget) {\n return;\n }\n\n e.preventDefault();\n\n if (this.isInvalid) {\n this.setIsTouched(true);\n this.args.onInvalid?.();\n } else {\n this.setIsTouched(false);\n\n try {\n await this.args.onSubmit?.();\n } catch {\n this.setIsTouched(true);\n }\n }\n }\n\n @action\n setIsTouched(isTouched: boolean) {\n this.childComponents.forEach((child) => setChildIsTouched(child, isTouched));\n this.updateValidity();\n }\n\n @action\n handleReset(e: Event) {\n if (e.target !== e.currentTarget) {\n return;\n }\n\n e.preventDefault();\n this.args.onReset?.(e);\n }\n\n @action\n register(child: ValidatedFormChild) {\n if (!this.isDestroyed) {\n schedule('afterRender', this, this.addChild, child);\n }\n }\n\n @action\n unregister(child: ValidatedFormChild) {\n if (!this.isDestroyed) {\n schedule('afterRender', this, this.removeChild, child);\n // When adding a child the validation gets calculated on a `did-insert` modifier\n // for removal there's no modifier so it gets called here\n schedule('afterRender', this, this.triggerValidityChange);\n }\n }\n\n @action\n updateValidity() {\n this.triggerValidityChange();\n }\n\n getIsValid() {\n return this.childComponents.isEvery('isValid');\n }\n\n getIsTouched() {\n return this.childComponents.isAny('isTouched');\n }\n\n triggerValidityChange() {\n const lastIsValid = this.isValid;\n const lastIsTouched = this.isTouched;\n\n if (\n lastIsValid !== this.getIsValid() ||\n lastIsTouched !== this.getIsTouched()\n ) {\n this.setNewValidity();\n }\n }\n\n @action\n setNewValidity() {\n next(() => {\n if (this.isDestroying || this.isDestroyed) {\n return;\n }\n\n this.isInvalid = !this.getIsValid();\n this.isTouched = this.getIsTouched();\n\n if (!this.isDestroying) {\n this.args.onValidityChange?.(\n this.isValid,\n this.isTouched,\n this.isInvalidAndTouched\n );\n }\n });\n }\n\n @action\n onChildValidityChange() {\n if (!this.isDestroying) {\n this.updateValidity();\n }\n }\n\n @action\n onFocusOut(e: FocusEvent) {\n const targetEuiFormRow = (e.target as HTMLInputElement)?.closest?.('.euiFormRow');\n\n if (!targetEuiFormRow) {\n return;\n }\n\n const field = this.childComponents.find((child) => {\n return 'formRowElement' in child && targetEuiFormRow === child.formRowElement;\n });\n\n if (!field) {\n return;\n }\n\n // Chrome also fires `focusout` when the focused element is removed, which\n // happens while rendering; touching the field then would update tracked\n // state that the same render already read. Defer it until after render.\n schedule('actions', () => {\n if (!field.isDestroying && !field.isDestroyed) {\n setChildIsTouched(field, true);\n }\n });\n }\n\n get theme() {\n const theme: Partial<IValidatedFormTheme> = this.args.theme || {};\n\n return { ...ValidatedFormDefaultTheme, ...theme };\n }\n\n <template>\n {{#let (argOrDefault @id (randomId)) as |formId|}}\n <EuiForm\n @tagName={{argOrDefault @tagName \"form\"}}\n id={{formId}}\n @isInvalid={{@isInvalid}}\n @invalidCallout={{@invalidCallout}}\n @error={{@error}}\n @errorTitle={{@errorTitle}}\n {{on \"submit\" this.handleSubmit}}\n {{on \"reset\" this.handleReset}}\n {{didInsert this.setNewValidity}}\n {{on \"focusout\" this.onFocusOut}}\n ...attributes\n >\n {{yield\n (hash\n onValidityChange=this.onChildValidityChange\n register=this.register\n unregister=this.unregister\n isValid=this.isValid\n isInvalid=this.isInvalid\n isTouched=this.isTouched\n isInvalidAndTouched=this.isInvalidAndTouched\n formId=(argOrDefault @formId formId)\n Form=(component\n this.theme.FieldNestedForm\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n tagName=\"div\"\n formId=(argOrDefault @formId formId)\n theme=this.theme\n isDisabled=@isDisabled\n fullWidth=@fullWidth\n compressed=@compressed\n )\n FieldNestedForm=(component\n this.theme.FieldNestedForm\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n tagName=\"div\"\n formId=(argOrDefault @formId formId)\n theme=this.theme\n isDisabled=@isDisabled\n fullWidth=@fullWidth\n compressed=@compressed\n )\n FieldBase=(component\n this.theme.FieldBase\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldNumber=(component\n this.theme.FieldNumber\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldText=(component\n this.theme.FieldText\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldPassword=(component\n this.theme.FieldPassword\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldTextArea=(component\n this.theme.FieldTextArea\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldSelect=(component\n this.theme.FieldSelect\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldComboBox=(component\n this.theme.FieldComboBox\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n isDisabled=@isDisabled\n )\n FieldCheckboxGroup=(component\n this.theme.FieldCheckboxGroup\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldRadioGroup=(component\n this.theme.FieldRadioGroup\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldRangeSlider=(component\n this.theme.FieldRangeSlider\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldDualRangeSlider=(component\n this.theme.FieldDualRangeSlider\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldSwitch=(component\n this.theme.FieldSwitch\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n FieldMarkdownEditor=(component\n this.theme.FieldMarkdownEditor\n register=this.register\n unregister=this.unregister\n onValidityChange=this.onChildValidityChange\n fullWidth=@fullWidth\n compressed=@compressed\n formId=(argOrDefault @formId formId)\n disabled=@isDisabled\n )\n )\n }}\n </EuiForm>\n {{/let}}\n </template>\n}\n\n// Default theme for ValidatedFormComponent. Do not remove.\nValidatedFormDefaultTheme.FieldNestedForm = ValidatedFormComponent;\n"],"names":["setChildIsTouched","child","isTouched","maybeChild","setIsTouched","set","ValidatedFormComponent","Component","g","prototype","tracked","A","i","lastIsValid","lastIsTouched","constructor","owner","args","register","willDestroy","unregister","isValid","isInvalid","isInvalidAndTouched","addChild","childComponents","pushObject","triggerValidityChange","removeChild","removeObject","handleSubmit","e","target","currentTarget","preventDefault","onInvalid","onSubmit","n","action","forEach","updateValidity","handleReset","onReset","isDestroyed","schedule","getIsValid","isEvery","getIsTouched","isAny","setNewValidity","next","isDestroying","onValidityChange","onChildValidityChange","onFocusOut","targetEuiFormRow","closest","field","find","formRowElement","theme","ValidatedFormDefaultTheme","setComponentTemplate","precompileTemplate","strictMode","scope","argOrDefault","randomId","EuiForm","on","didInsert","hash","FieldNestedForm"],"mappings":";;;;;;;;;;;;;;;;AAqBA;AACA;AACA,SAASA,iBAAAA,CAAkBC,KAAyB,EAAEC,SAAkB,EAAA;EACtE,MAAMC,aAAaF,KAAuD;EAE1E,IAAI,CAACE,UAAA,EAAY;AACf,IAAA;AACF,EAAA;AAEA,EAAA,IAAI,OAAOA,UAAA,CAAWC,YAAY,KAAK,UAAA,EAAY;AACjDD,IAAAA,UAAA,CAAWC,YAAY,CAACF,SAAA,CAAA;AAC1B,EAAA,CAAA,MAAO;AACLG,IAAAA,GAAA,CAAIF,UAAA,EAAuC,WAAA,EAAaD,SAAA,CAAA;AAC1D,EAAA;AACF;AAEA;;;;;AAKC;;AA8Fc,MAAMI,+BAA+BC,SAAA,CAAU;AAAA,EAAA;IAAAC,CAAA,CAAA,IAAA,CAAAC,SAAA,EAAA,iBAAA,EAAA,CAC3DC,OAAA,CAAA,EAAA,YAAA;MAAA,OAAoEC,CAAA,CAAsB,EAAE,CAAA;AAAA,IAAA,CAAA,CAAA;AAAA;EAAA,gBAAA,IAAAC,CAAA,CAAA,IAAA,EAAA,iBAAA,CAAA,EAAA,MAA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EzD,KAAA,IAAA;MACvC,OAAO,gBAAA,IAAoBA,KAAA,IAASsD,gBAAA,KAAqBtD,KAAA,CAAM0D,cAAc;AAC/E,IAAA,CAAA,CAAA;IAEA,IAAI,CAACF,KAAA,EAAO;AACV,MAAA;AACF,IAAA;AAEA;AACA;AACA;IACAb,QAAA,CAAS,SAAA,EAAW,MAAA;MAClB,IAAI,CAACa,KAAA,CAAMN,YAAY,IAAI,CAACM,KAAA,CAAMd,WAAW,EAAE;AAC7C3C,QAAAA,iBAAA,CAAkByD,KAAA,EAAO,IAAA,CAAA;AAC3B,MAAA;AACF,IAAA,CAAA,CAAA;AACF,EAAA;AAAA,EAAA;IAAApB,CAAA,CAAA,IAAA,CAAA5B,SAAA,EAAA,YAAA,EAAA,CAxBC6B,MAAA,CAAA,CAAA;AAAA;EA0BD,IAAIsB,KAAAA,GAAQ;IACV,MAAMA,KAAe,GAAuB,IAAI,CAAC3C,IAAI,CAAC2C,KAAK,IAAI,EAAC;IAEhE,OAAO;AAAE,MAAA,GAAGC,yBAAyB;MAAE,GAAGD;KAAM;AAClD,EAAA;AAEA,EAAA;IAAAE,oBAAA,CAAAC,kBAAA,CAAA,00IAAA,EAqLA;MAAAC,UAAA,EAAA,IAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,OAAA;QAAAC,EAAA;QAAAC,SAAA;AAAAC,QAAAA;AAAA,OAAA;KAAU,CAAA,EAAV,IAAW,CAAA;AAAD;AACZ;AAEA;AACAV,yBAAA,CAA0BW,eAAe,GAAGlE,sBAAA;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-eui/validated-form",
3
- "version": "16.0.1",
3
+ "version": "16.0.2",
4
4
  "description": "The default blueprint for ember-cli addons.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -55,7 +55,7 @@
55
55
  "@babel/plugin-proposal-decorators": "^7.25.9",
56
56
  "@babel/plugin-transform-typescript": "^7.12.13",
57
57
  "@babel/preset-typescript": "^7.18.6",
58
- "@ember-eui/core": "16.0.1",
58
+ "@ember-eui/core": "16.0.2",
59
59
  "@ember/optional-features": "^2.2.0",
60
60
  "@ember/test-helpers": "^5.2.1",
61
61
  "@ember/test-waiters": "^4.1.1",
@@ -107,7 +107,7 @@
107
107
  "ember-keyboard": "^9.0.4",
108
108
  "ember-power-select": "^9.0.2",
109
109
  "ember-qunit": "^9.0.2",
110
- "ember-source": "~7.3.0",
110
+ "ember-source": "~7.3.1",
111
111
  "ember-strict-application-resolver": "^0.1.1",
112
112
  "ember-template-lint": "^6.1.0",
113
113
  "eslint": "^9.39.5",
@@ -1,9 +0,0 @@
1
- declare const _default: import("@ember/component/helper").FunctionBasedHelper<{
2
- Args: {
3
- Positional: [];
4
- Named: import("@ember/component/helper").EmptyObject;
5
- };
6
- Return: string;
7
- }>;
8
- export default _default;
9
- //# sourceMappingURL=random-id.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"random-id.d.ts","sourceRoot":"","sources":["../../../../../core/src/-private/random-id.ts"],"names":[],"mappings":";;;;;;;AAEA,wBAKa"}
@@ -1,42 +0,0 @@
1
- /**
2
- * XOR for some properties applied to a type
3
- * (XOR is one of these but not both or neither)
4
- *
5
- * Usage: OneOf<typeToExtend, one | but | not | multiple | of | these | are | required>
6
- *
7
- * To require aria-label or aria-labelledby but not both
8
- * Example: OneOf<Type, 'aria-label' | 'aria-labelledby'>
9
- */
10
- export type OneOf<T, K extends keyof T> = Omit<T, K> & {
11
- [k in K]: Pick<Required<T>, k> & {
12
- [k1 in Exclude<K, k>]?: never;
13
- };
14
- }[K];
15
- export interface CommonArgs {
16
- id?: string;
17
- className?: string;
18
- 'aria-label'?: string;
19
- 'data-test-subj'?: string;
20
- }
21
- /**
22
- * Wraps Object.keys with proper typescript definition of the resulting array
23
- */
24
- export declare function keysOf<T extends Record<string, unknown>, K extends keyof T>(obj: T): K[];
25
- /**
26
- * Returns member keys in U not present in T set to never
27
- * T = { 'one', 'two', 'three' }
28
- * U = { 'three', 'four', 'five' }
29
- * returns { 'four': never, 'five': never }
30
- */
31
- export type DisambiguateSet<T, U> = {
32
- [P in Exclude<keyof T, keyof U>]?: never;
33
- };
34
- /**
35
- * Allow either T or U, preventing any additional keys of the other type from being present
36
- */
37
- export type ExclusiveUnion<T, U> = T | U extends Record<string, unknown> ? (DisambiguateSet<T, U> & U) | (DisambiguateSet<U, T> & T) : T | U;
38
- type UnionKeys<T> = T extends any ? keyof T : never;
39
- export type DistributivePick<T, K extends UnionKeys<T>> = T extends any ? Pick<T, Extract<keyof T, K>> : never;
40
- export type DistributiveOmit<T, K extends UnionKeys<T>> = T extends any ? Omit<T, Extract<keyof T, K>> : never;
41
- export {};
42
- //# sourceMappingURL=common.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/common.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAClD;KAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;SAAG,EAAE,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK;KAAE;CAAE,CAAC,CAAC,CAAC,CAAC;AAE5E,MAAM,WAAW,UAAU;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,EACzE,GAAG,EAAE,CAAC,GACL,CAAC,EAAE,CAEL;AAED;;;;;GAKG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI;KACjC,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK;CACzC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACpE,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GACzD,CAAC,GAAG,CAAC,CAAC;AAQV,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;AACpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GACnE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,GAC5B,KAAK,CAAC;AACV,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GACnE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,GAC5B,KAAK,CAAC"}
@@ -1,101 +0,0 @@
1
- import Component from '@glimmer/component';
2
- import { htmlSafe } from '@ember/template';
3
- import type { paddingMapping } from '../utils/css-mappings/eui-accordion.ts';
4
- import type { CommonArgs } from './common.ts';
5
- type EuiAccordionPaddingSize = keyof typeof paddingMapping;
6
- type AccordionArgs = {
7
- id?: string;
8
- element?: 'div' | 'fieldset';
9
- /**
10
- * Class that will apply to the trigger for the accordion.
11
- */
12
- buttonClassName?: string;
13
- buttonProps?: CommonArgs;
14
- /**
15
- * Applied to the main button receiving the `onToggle` event.
16
- * Anything other than the default `button` does not support removing the arrow display (for accessibility of focus).
17
- */
18
- buttonElement?: 'div' | 'legend' | 'button';
19
- /**
20
- * Extra props to pass to the EuiButtonIcon containing the arrow.
21
- */
22
- arrowProps?: {
23
- className?: string;
24
- };
25
- /**
26
- * Class that will apply to the trigger content for the accordion.
27
- */
28
- buttonContentClassName?: string;
29
- /**
30
- * The content of the clickable trigger
31
- */
32
- buttonContent?: Component;
33
- /**
34
- * Will appear right aligned against the button. Useful for separate actions like deletions.
35
- */
36
- extraAction?: Component | boolean;
37
- /**
38
- * The accordion will start in the open state.
39
- */
40
- initialIsOpen?: boolean;
41
- /**
42
- * Optional callback method called on open and close with a single `isOpen` parameter
43
- */
44
- onToggle?: (isOpen: boolean) => void;
45
- /**
46
- * The padding around the exposed accordion content.
47
- */
48
- paddingSize?: EuiAccordionPaddingSize;
49
- /**
50
- * Placement of the arrow indicator, or 'none' to hide it.
51
- */
52
- arrowDisplay?: 'left' | 'right' | 'none';
53
- /**
54
- * Control the opening of accordion via prop
55
- */
56
- forceState?: 'closed' | 'open';
57
- /**
58
- * Change `extraAction` and children into a loading spinner
59
- */
60
- isLoading?: boolean;
61
- /**
62
- * Choose whether the loading message replaces the content. Customize the message by passing a node
63
- */
64
- isLoadingMessage?: boolean | Component;
65
- isOpen?: boolean;
66
- childClassName?: string;
67
- triggerClassName?: string;
68
- childContentClassName?: string;
69
- };
70
- export interface EuiAccordionSignature {
71
- Element: any;
72
- Args: AccordionArgs;
73
- Blocks: {
74
- buttonContent: [boolean | undefined];
75
- content: [];
76
- extraAction: [boolean | undefined];
77
- };
78
- }
79
- export default class EuiAccordionAccordionComponent extends Component<EuiAccordionSignature> {
80
- isLoading: boolean;
81
- isLoadingMessage: boolean;
82
- initialIsOpen: boolean;
83
- paddingSize: EuiAccordionPaddingSize;
84
- arrowDisplay: AccordionArgs['arrowDisplay'];
85
- _opened: boolean | undefined;
86
- childWrapper: HTMLDivElement | null;
87
- childContent: HTMLDivElement | null;
88
- constructor(owner: unknown, args: AccordionArgs);
89
- get buttonElement(): "button" | "legend";
90
- get buttonElementIsFocusable(): boolean;
91
- get _arrowDisplay(): "none" | "left" | "right" | undefined;
92
- get isOpen(): boolean | undefined;
93
- get hasLoadingMessage(): boolean;
94
- get buttonClasses(): string;
95
- get buttonContentClasses(): string;
96
- get childContentStyle(): string | ReturnType<typeof htmlSafe>;
97
- setChildContentHeight: () => void;
98
- onToggle(): void;
99
- }
100
- export {};
101
- //# sourceMappingURL=eui-accordion.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eui-accordion.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-accordion.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAc3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,KAAK,uBAAuB,GAAG,MAAM,OAAO,cAAc,CAAC;AAE3D,KAAK,aAAa,GAAG;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,OAAO,CAAC,EAAE,KAAK,GAAG,UAAU,CAAC;IAC7B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,WAAW,CAAC,EAAE,UAAU,CAAC;IAEzB;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC5C;;OAEG;IACH,UAAU,CAAC,EAAE;QACX,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;I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E,cAAc,GAAG,IAAI,CAAQ;gBAExC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,aAAa;IAQ/C,IAAI,aAAa,wBAEhB;IAED,IAAI,wBAAwB,YAE3B;IAED,IAAI,aAAa,0CAIhB;IAED,IAAI,MAAM,IAAI,OAAO,GAAG,SAAS,CAIhC;IAED,IAAI,iBAAiB,IAAI,OAAO,CAE/B;IAED,IAAI,aAAa,IAAI,MAAM,CAM1B;IAED,IAAI,oBAAoB,IAAI,MAAM,CAKjC;IAED,IAAI,iBAAiB,IAAI,MAAM,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAE5D;IAED,qBAAqB,aAYnB;IAGF,QAAQ,IAAI,IAAI;CAqKjB"}
@@ -1,64 +0,0 @@
1
- import Component from '@glimmer/component';
2
- type Size = {
3
- height: number;
4
- width: number;
5
- };
6
- interface EuiAutoSizerComponentArgs {
7
- /** Function responsible for rendering children.*/
8
- /** Optional custom CSS class name to attach to root AutoSizer element. */
9
- className?: string;
10
- /** Default height to use for initial render; useful for SSR */
11
- defaultHeight?: number;
12
- /** Default width to use for initial render; useful for SSR */
13
- defaultWidth?: number;
14
- /** Disable dynamic :height property */
15
- disableHeight?: boolean;
16
- /** Disable dynamic :width property */
17
- disableWidth?: boolean;
18
- /** Nonce of the inlined stylesheet for Content Security Policy */
19
- nonce?: string;
20
- /** Callback to be invoked on-resize */
21
- onResize?: (size: Size) => void;
22
- /** Optional inline style */
23
- style?: Record<string, string>;
24
- }
25
- type ResizeHandler = (element: HTMLElement, onResize: () => void) => void;
26
- type DetectElementResize = {
27
- addResizeListener: ResizeHandler;
28
- removeResizeListener: ResizeHandler;
29
- };
30
- type DynamicStyle = {
31
- outerStyle: {
32
- height?: number | string;
33
- width?: number | string;
34
- overflow?: string;
35
- };
36
- childStyle?: {
37
- height?: number | string;
38
- width?: number | string;
39
- };
40
- };
41
- export interface EuiAutoSizerSignature {
42
- Args: EuiAutoSizerComponentArgs;
43
- Element: HTMLDivElement;
44
- Blocks: {
45
- default: [DynamicStyle['childStyle']];
46
- };
47
- }
48
- export default class EuiAutoSizerComponent extends Component<EuiAutoSizerSignature> {
49
- _autoSizer?: HTMLElement;
50
- _parentNode?: HTMLElement;
51
- _window?: any;
52
- _detectElementResize?: DetectElementResize;
53
- height: number | undefined;
54
- width: number | undefined;
55
- get disableHeight(): boolean;
56
- get disableWidth(): boolean;
57
- get style(): DynamicStyle;
58
- setup(): void;
59
- _onResize: () => void;
60
- setRef: (ele: HTMLElement) => void;
61
- willDestroy(): void;
62
- }
63
- export {};
64
- //# sourceMappingURL=eui-auto-sizer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eui-auto-sizer.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-auto-sizer.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAQ3C,KAAK,IAAI,GAAG;IACV,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,UAAU,yBAAyB;IACjC,kDAAkD;IAElD,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,uCAAuC;IACvC,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,sCAAsC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,uCAAuC;IACvC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAEhC,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED,KAAK,aAAa,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;AAE1E,KAAK,mBAAmB,GAAG;IACzB,iBAAiB,EAAE,aAAa,CAAC;IACjC,oBAAoB,EAAE,aAAa,CAAC;CACrC,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,UAAU,EAAE;QACV,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,UAAU,CAAC,EAAE;QACX,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE;QACN,OAAO,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,CAAC;KACvC,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACjF,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,oBAAoB,CAAC,EAAE,mBAAmB,CAAC;IAElC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAEnC,IAAI,aAAa,YAEhB;IAED,IAAI,YAAY,YAEf;IAED,IAAI,KAAK,iBAuBR;IAED,KAAK;IAgCL,SAAS,aA+BP;IAEF,MAAM,QAAS,WAAW,UAGxB;IAEF,WAAW,IAAI,IAAI;CAqBpB"}
@@ -1,22 +0,0 @@
1
- import type { sizeMapping, typeMapping } from '../utils/css-mappings/eui-avatar.ts';
2
- import type { EuiIconSignature } from './eui-icon';
3
- import type { TemplateOnlyComponent } from '@ember/component/template-only';
4
- export interface EuiAvatarSignature {
5
- Element: HTMLDivElement;
6
- Args: {
7
- name?: string;
8
- color?: EuiIconSignature['Args']['color'];
9
- iconColor?: string;
10
- iconSize?: EuiIconSignature['Args']['size'];
11
- iconType?: EuiIconSignature['Args']['type'];
12
- imageUrl?: string;
13
- initials?: string;
14
- isDisabled?: boolean;
15
- size?: keyof typeof sizeMapping;
16
- type?: keyof typeof typeMapping;
17
- initialLength?: 1 | 2;
18
- };
19
- }
20
- declare const EuiAvatar: TemplateOnlyComponent<EuiAvatarSignature>;
21
- export default EuiAvatar;
22
- //# sourceMappingURL=eui-avatar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eui-avatar.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-avatar.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;QAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC5C,QAAQ,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,IAAI,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;QAChC,IAAI,CAAC,EAAE,MAAM,OAAO,WAAW,CAAC;QAChC,aAAa,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;KACvB,CAAC;CACH;AAED,QAAA,MAAM,SAAS,EAAE,qBAAqB,CAAC,kBAAkB,CAiDvD,CAAC;AAEH,eAAe,SAAS,CAAC"}
@@ -1,23 +0,0 @@
1
- import type { gutterSize } from '../utils/css-mappings/eui-badge-group.ts';
2
- import type { TemplateOnlyComponent } from '@ember/component/template-only';
3
- declare const BadgeGroupItem: TemplateOnlyComponent<{
4
- Blocks: {
5
- default: [];
6
- };
7
- }>;
8
- export interface EuiBadgeGroupSignature {
9
- Element: HTMLDivElement;
10
- Args: {
11
- gutterSize: keyof typeof gutterSize;
12
- };
13
- Blocks: {
14
- default: [
15
- {
16
- item: typeof BadgeGroupItem;
17
- }
18
- ];
19
- };
20
- }
21
- declare const EuiBadgeGroup: TemplateOnlyComponent<EuiBadgeGroupSignature>;
22
- export default EuiBadgeGroup;
23
- //# sourceMappingURL=eui-badge-group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eui-badge-group.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-badge-group.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,QAAA,MAAM,cAAc,EAAE,qBAAqB,CAAC;IAC1C,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH,CASC,CAAC;AAEH,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM,OAAO,UAAU,CAAC;KACrC,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,OAAO,cAAc,CAAC;aAC7B;SACF,CAAC;KACH,CAAC;CACH;AAED,QAAA,MAAM,aAAa,EAAE,qBAAqB,CAAC,sBAAsB,CAY/D,CAAC;AAEH,eAAe,aAAa,CAAC"}
@@ -1,30 +0,0 @@
1
- import type { colorMapping, EuiBadgeColorType } from '../utils/css-mappings/eui-badge.ts';
2
- import type { EuiIconSignature } from './eui-icon';
3
- import type { TemplateOnlyComponent } from '@ember/component/template-only';
4
- export interface EuiBadgeSignature {
5
- Element: HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement;
6
- Args: {
7
- color?: keyof typeof colorMapping | EuiBadgeColorType | string;
8
- iconType?: EuiIconSignature['Args']['type'];
9
- iconSide?: 'left' | 'right';
10
- iconOnClick?: () => void;
11
- iconOnClickAriaLabel?: string;
12
- iconUseSvg?: boolean;
13
- isDisabled?: boolean;
14
- onClick?: () => void;
15
- onClickAriaLabel?: string;
16
- href?: string;
17
- target?: string;
18
- closeButtonProps?: {
19
- tabIndex?: number;
20
- dataSelectedIconIndex?: number;
21
- iconClasses?: string;
22
- };
23
- };
24
- Blocks: {
25
- default: [];
26
- };
27
- }
28
- declare const EuiBadge: TemplateOnlyComponent<EuiBadgeSignature>;
29
- export default EuiBadge;
30
- //# sourceMappingURL=eui-badge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eui-badge.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-badge.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,eAAe,CAAC;IACjE,IAAI,EAAE;QACJ,KAAK,CAAC,EAAE,MAAM,OAAO,YAAY,GAAG,iBAAiB,GAAG,MAAM,CAAC;QAC/D,QAAQ,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC5C,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAC5B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;QACzB,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;QACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,gBAAgB,CAAC,EAAE;YACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;YAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;SACtB,CAAC;KACH,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,QAAQ,EAAE,qBAAqB,CAAC,iBAAiB,CAkKrD,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -1,63 +0,0 @@
1
- import type { colorMapping, sizeMapping } from '../utils/css-mappings/eui-beta-badge.ts';
2
- import type { EuiIconSignature } from './eui-icon';
3
- import type { EuiToolTipSignature } from './eui-tool-tip';
4
- import type { TemplateOnlyComponent } from '@ember/component/template-only';
5
- export interface EuiBetaBadgeSignature {
6
- Element: HTMLSpanElement;
7
- Args: {
8
- /**
9
- * The label to use for the beta badge. Usually a single letter.
10
- */
11
- label?: string;
12
- /**
13
- * The title to use for the beta badge. Usually a full word.
14
- */
15
- title?: string;
16
- /**
17
- * The icon to use for the beta badge.
18
- */
19
- iconType?: EuiIconSignature['Args']['type'];
20
- /**
21
- * The color of the beta badge.
22
- */
23
- color?: keyof typeof colorMapping;
24
- /**
25
- * The size of the beta badge.
26
- */
27
- size?: keyof typeof sizeMapping;
28
- /**
29
- * The position of the tooltip for the beta badge.
30
- */
31
- tooltipPosition?: EuiToolTipSignature['Args']['position'];
32
- /**
33
- * The content of the tooltip for the beta badge.
34
- */
35
- tooltipContent?: string;
36
- /**
37
- * The aria-label for the beta badge.
38
- */
39
- onClickAriaLabel?: string;
40
- /**
41
- * The href for the beta badge.
42
- */
43
- href?: string;
44
- /**
45
- * The target for the beta badge.
46
- */
47
- target?: string;
48
- /**
49
- * The rel for the beta badge.
50
- */
51
- rel?: string;
52
- /**
53
- * The action to call when the beta badge is clicked.
54
- */
55
- onClick?: (event: MouseEvent) => void;
56
- };
57
- Blocks: {
58
- default: [];
59
- };
60
- }
61
- declare const EuiBetaBadge: TemplateOnlyComponent<EuiBetaBadgeSignature>;
62
- export default EuiBetaBadge;
63
- //# sourceMappingURL=eui-beta-badge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eui-beta-badge.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-beta-badge.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,YAAY,EACZ,WAAW,EACZ,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE;QACJ;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC5C;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;QAElC;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,OAAO,WAAW,CA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