@eui/eds-wc 22.0.0-alpha.5 → 22.0.0-alpha.50

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 (385) hide show
  1. package/eds-accordion/eds-wc-accordion.d.ts.map +1 -1
  2. package/eds-accordion/eds-wc-accordion.js +6 -3
  3. package/eds-accordion/eds-wc-accordion.js.map +1 -1
  4. package/eds-alert/eds-wc-alert.d.ts +59 -21
  5. package/eds-alert/eds-wc-alert.d.ts.map +1 -1
  6. package/eds-alert/eds-wc-alert.js +211 -85
  7. package/eds-alert/eds-wc-alert.js.map +1 -1
  8. package/eds-alert/index.d.ts +1 -0
  9. package/eds-alert/index.d.ts.map +1 -1
  10. package/eds-autocomplete/eds-wc-autocomplete.d.ts.map +1 -1
  11. package/eds-autocomplete/eds-wc-autocomplete.js +3 -0
  12. package/eds-autocomplete/eds-wc-autocomplete.js.map +1 -1
  13. package/eds-avatar/eds-wc-avatar.d.ts.map +1 -1
  14. package/eds-avatar/eds-wc-avatar.js +19 -18
  15. package/eds-avatar/eds-wc-avatar.js.map +1 -1
  16. package/eds-badge/eds-wc-badge.d.ts +63 -23
  17. package/eds-badge/eds-wc-badge.d.ts.map +1 -1
  18. package/eds-badge/eds-wc-badge.js +228 -101
  19. package/eds-badge/eds-wc-badge.js.map +1 -1
  20. package/eds-badge/index.d.ts +1 -0
  21. package/eds-badge/index.d.ts.map +1 -1
  22. package/eds-blockquote/eds-wc-blockquote.d.ts.map +1 -1
  23. package/eds-blockquote/eds-wc-blockquote.js +2 -1
  24. package/eds-blockquote/eds-wc-blockquote.js.map +1 -1
  25. package/eds-breadcrumb/eds-wc-breadcrumb.d.ts +20 -1
  26. package/eds-breadcrumb/eds-wc-breadcrumb.d.ts.map +1 -1
  27. package/eds-breadcrumb/eds-wc-breadcrumb.js +68 -22
  28. package/eds-breadcrumb/eds-wc-breadcrumb.js.map +1 -1
  29. package/eds-breadcrumb/index.d.ts +2 -1
  30. package/eds-breadcrumb/index.d.ts.map +1 -1
  31. package/eds-breadcrumb/index.js +1 -1
  32. package/eds-breadcrumb/index.js.map +1 -1
  33. package/eds-button/eds-wc-button.d.ts +41 -17
  34. package/eds-button/eds-wc-button.d.ts.map +1 -1
  35. package/eds-button/eds-wc-button.js +178 -150
  36. package/eds-button/eds-wc-button.js.map +1 -1
  37. package/eds-button/index.d.ts +2 -2
  38. package/eds-button/index.d.ts.map +1 -1
  39. package/eds-button/index.js +1 -1
  40. package/eds-button/index.js.map +1 -1
  41. package/eds-calendar/eds-wc-calendar.d.ts +274 -0
  42. package/eds-calendar/eds-wc-calendar.d.ts.map +1 -0
  43. package/eds-calendar/eds-wc-calendar.js +1237 -0
  44. package/eds-calendar/eds-wc-calendar.js.map +1 -0
  45. package/eds-calendar/index.d.ts +3 -0
  46. package/eds-calendar/index.d.ts.map +1 -0
  47. package/eds-calendar/index.js +2 -0
  48. package/eds-calendar/index.js.map +1 -0
  49. package/eds-card/eds-wc-card.d.ts.map +1 -1
  50. package/eds-card/eds-wc-card.js +2 -1
  51. package/eds-card/eds-wc-card.js.map +1 -1
  52. package/eds-chat-bubble/eds-wc-chat-bubble.d.ts +83 -0
  53. package/eds-chat-bubble/eds-wc-chat-bubble.d.ts.map +1 -0
  54. package/eds-chat-bubble/eds-wc-chat-bubble.js +238 -0
  55. package/eds-chat-bubble/eds-wc-chat-bubble.js.map +1 -0
  56. package/eds-chat-bubble/index.d.ts +3 -0
  57. package/eds-chat-bubble/index.d.ts.map +1 -0
  58. package/eds-chat-bubble/index.js +2 -0
  59. package/eds-chat-bubble/index.js.map +1 -0
  60. package/{eds-input-checkbox/eds-wc-input-checkbox.d.ts → eds-checkbox/eds-wc-checkbox.d.ts} +8 -8
  61. package/eds-checkbox/eds-wc-checkbox.d.ts.map +1 -0
  62. package/{eds-input-checkbox/eds-wc-input-checkbox.js → eds-checkbox/eds-wc-checkbox.js} +19 -19
  63. package/eds-checkbox/eds-wc-checkbox.js.map +1 -0
  64. package/eds-checkbox/index.d.ts +2 -0
  65. package/eds-checkbox/index.d.ts.map +1 -0
  66. package/eds-checkbox/index.js +2 -0
  67. package/eds-checkbox/index.js.map +1 -0
  68. package/eds-chip/eds-wc-chip.d.ts +107 -18
  69. package/eds-chip/eds-wc-chip.d.ts.map +1 -1
  70. package/eds-chip/eds-wc-chip.js +418 -114
  71. package/eds-chip/eds-wc-chip.js.map +1 -1
  72. package/eds-chip/index.d.ts +2 -1
  73. package/eds-chip/index.d.ts.map +1 -1
  74. package/eds-chip/index.js +1 -1
  75. package/eds-chip/index.js.map +1 -1
  76. package/eds-content-item/eds-wc-content-item.d.ts +110 -0
  77. package/eds-content-item/eds-wc-content-item.d.ts.map +1 -0
  78. package/eds-content-item/eds-wc-content-item.js +420 -0
  79. package/eds-content-item/eds-wc-content-item.js.map +1 -0
  80. package/eds-content-item/index.d.ts +3 -0
  81. package/eds-content-item/index.d.ts.map +1 -0
  82. package/eds-content-item/index.js +2 -0
  83. package/eds-content-item/index.js.map +1 -0
  84. package/eds-date-block/eds-wc-date-block.d.ts.map +1 -1
  85. package/eds-date-block/eds-wc-date-block.js +4 -2
  86. package/eds-date-block/eds-wc-date-block.js.map +1 -1
  87. package/eds-datepicker/eds-wc-datepicker.js +1 -1
  88. package/eds-dialog/eds-wc-dialog.js +1 -1
  89. package/eds-discussion-thread/eds-wc-discussion-thread.js +2 -2
  90. package/eds-divider/eds-wc-divider.d.ts +56 -0
  91. package/eds-divider/eds-wc-divider.d.ts.map +1 -0
  92. package/eds-divider/eds-wc-divider.js +109 -0
  93. package/eds-divider/eds-wc-divider.js.map +1 -0
  94. package/eds-divider/index.d.ts +3 -0
  95. package/eds-divider/index.d.ts.map +1 -0
  96. package/eds-divider/index.js +2 -0
  97. package/eds-divider/index.js.map +1 -0
  98. package/eds-empty-state/eds-wc-empty-state.d.ts.map +1 -1
  99. package/eds-empty-state/eds-wc-empty-state.js +2 -1
  100. package/eds-empty-state/eds-wc-empty-state.js.map +1 -1
  101. package/eds-fab-button/eds-wc-fab-button.js +2 -2
  102. package/eds-fieldset/eds-wc-fieldset.d.ts.map +1 -1
  103. package/eds-fieldset/eds-wc-fieldset.js +2 -1
  104. package/eds-fieldset/eds-wc-fieldset.js.map +1 -1
  105. package/eds-file-upload/eds-wc-file-upload.js +1 -1
  106. package/eds-icon/eds-wc-icon-image.d.ts +43 -0
  107. package/eds-icon/eds-wc-icon-image.d.ts.map +1 -0
  108. package/eds-icon/eds-wc-icon-image.js +107 -0
  109. package/eds-icon/eds-wc-icon-image.js.map +1 -0
  110. package/eds-icon/eds-wc-icon.d.ts +44 -28
  111. package/eds-icon/eds-wc-icon.d.ts.map +1 -1
  112. package/eds-icon/eds-wc-icon.js +129 -85
  113. package/eds-icon/eds-wc-icon.js.map +1 -1
  114. package/eds-icon/index.d.ts +3 -1
  115. package/eds-icon/index.d.ts.map +1 -1
  116. package/eds-icon/index.js +2 -1
  117. package/eds-icon/index.js.map +1 -1
  118. package/eds-icon-button/eds-wc-icon-button.d.ts +53 -18
  119. package/eds-icon-button/eds-wc-icon-button.d.ts.map +1 -1
  120. package/eds-icon-button/eds-wc-icon-button.js +165 -74
  121. package/eds-icon-button/eds-wc-icon-button.js.map +1 -1
  122. package/eds-icon-button/index.d.ts +2 -1
  123. package/eds-icon-button/index.d.ts.map +1 -1
  124. package/eds-icon-button/index.js +1 -1
  125. package/eds-icon-button/index.js.map +1 -1
  126. package/eds-icon-state/eds-wc-icon-state.d.ts +56 -0
  127. package/eds-icon-state/eds-wc-icon-state.d.ts.map +1 -0
  128. package/eds-icon-state/eds-wc-icon-state.js +93 -0
  129. package/eds-icon-state/eds-wc-icon-state.js.map +1 -0
  130. package/eds-icon-state/index.d.ts +3 -0
  131. package/eds-icon-state/index.d.ts.map +1 -0
  132. package/eds-icon-state/index.js +2 -0
  133. package/eds-icon-state/index.js.map +1 -0
  134. package/eds-input-addon/eds-wc-input-addon.d.ts +55 -0
  135. package/eds-input-addon/eds-wc-input-addon.d.ts.map +1 -0
  136. package/eds-input-addon/eds-wc-input-addon.js +177 -0
  137. package/eds-input-addon/eds-wc-input-addon.js.map +1 -0
  138. package/eds-input-addon/index.d.ts +3 -0
  139. package/eds-input-addon/index.d.ts.map +1 -0
  140. package/eds-input-addon/index.js +2 -0
  141. package/eds-input-addon/index.js.map +1 -0
  142. package/eds-input-button/eds-wc-input-button.d.ts +86 -8
  143. package/eds-input-button/eds-wc-input-button.d.ts.map +1 -1
  144. package/eds-input-button/eds-wc-input-button.js +275 -13
  145. package/eds-input-button/eds-wc-input-button.js.map +1 -1
  146. package/eds-input-button/index.d.ts +2 -1
  147. package/eds-input-button/index.d.ts.map +1 -1
  148. package/eds-input-button/index.js +1 -1
  149. package/eds-input-button/index.js.map +1 -1
  150. package/eds-input-chat/eds-wc-input-chat.d.ts +97 -0
  151. package/eds-input-chat/eds-wc-input-chat.d.ts.map +1 -0
  152. package/eds-input-chat/eds-wc-input-chat.js +363 -0
  153. package/eds-input-chat/eds-wc-input-chat.js.map +1 -0
  154. package/eds-input-chat/index.d.ts +3 -0
  155. package/eds-input-chat/index.d.ts.map +1 -0
  156. package/eds-input-chat/index.js +2 -0
  157. package/eds-input-chat/index.js.map +1 -0
  158. package/eds-input-number/eds-wc-input-number.js +1 -1
  159. package/eds-input-password/eds-wc-input-password.d.ts +115 -0
  160. package/eds-input-password/eds-wc-input-password.d.ts.map +1 -0
  161. package/eds-input-password/eds-wc-input-password.js +295 -0
  162. package/eds-input-password/eds-wc-input-password.js.map +1 -0
  163. package/eds-input-password/index.d.ts +2 -0
  164. package/eds-input-password/index.d.ts.map +1 -0
  165. package/eds-input-password/index.js +2 -0
  166. package/eds-input-password/index.js.map +1 -0
  167. package/eds-input-text/eds-wc-input-text.d.ts +4 -0
  168. package/eds-input-text/eds-wc-input-text.d.ts.map +1 -1
  169. package/eds-input-text/eds-wc-input-text.js +37 -5
  170. package/eds-input-text/eds-wc-input-text.js.map +1 -1
  171. package/eds-label/eds-wc-label.d.ts +10 -0
  172. package/eds-label/eds-wc-label.d.ts.map +1 -1
  173. package/eds-label/eds-wc-label.js +29 -1
  174. package/eds-label/eds-wc-label.js.map +1 -1
  175. package/eds-language-selector/eds-wc-language-selector.d.ts +108 -0
  176. package/eds-language-selector/eds-wc-language-selector.d.ts.map +1 -0
  177. package/eds-language-selector/eds-wc-language-selector.js +655 -0
  178. package/eds-language-selector/eds-wc-language-selector.js.map +1 -0
  179. package/eds-language-selector/index.d.ts +3 -0
  180. package/eds-language-selector/index.d.ts.map +1 -0
  181. package/eds-language-selector/index.js +2 -0
  182. package/eds-language-selector/index.js.map +1 -0
  183. package/eds-loading-indicator/eds-wc-loading-indicator.d.ts +61 -0
  184. package/eds-loading-indicator/eds-wc-loading-indicator.d.ts.map +1 -0
  185. package/eds-loading-indicator/eds-wc-loading-indicator.js +106 -0
  186. package/eds-loading-indicator/eds-wc-loading-indicator.js.map +1 -0
  187. package/eds-loading-indicator/index.d.ts +3 -0
  188. package/eds-loading-indicator/index.d.ts.map +1 -0
  189. package/eds-loading-indicator/index.js +2 -0
  190. package/eds-loading-indicator/index.js.map +1 -0
  191. package/eds-message-box/eds-wc-message-box.js +1 -1
  192. package/eds-multiselect/eds-wc-multiselect.d.ts +118 -0
  193. package/eds-multiselect/eds-wc-multiselect.d.ts.map +1 -0
  194. package/eds-multiselect/eds-wc-multiselect.js +618 -0
  195. package/eds-multiselect/eds-wc-multiselect.js.map +1 -0
  196. package/eds-multiselect/index.d.ts +3 -0
  197. package/eds-multiselect/index.d.ts.map +1 -0
  198. package/eds-multiselect/index.js +2 -0
  199. package/eds-multiselect/index.js.map +1 -0
  200. package/eds-overlay/eds-wc-overlay-content.d.ts +17 -0
  201. package/eds-overlay/eds-wc-overlay-content.d.ts.map +1 -0
  202. package/eds-overlay/eds-wc-overlay-content.js +34 -0
  203. package/eds-overlay/eds-wc-overlay-content.js.map +1 -0
  204. package/eds-overlay/eds-wc-overlay-footer.d.ts +17 -0
  205. package/eds-overlay/eds-wc-overlay-footer.d.ts.map +1 -0
  206. package/eds-overlay/eds-wc-overlay-footer.js +35 -0
  207. package/eds-overlay/eds-wc-overlay-footer.js.map +1 -0
  208. package/eds-overlay/eds-wc-overlay-header-action-items.d.ts +18 -0
  209. package/eds-overlay/eds-wc-overlay-header-action-items.d.ts.map +1 -0
  210. package/eds-overlay/eds-wc-overlay-header-action-items.js +34 -0
  211. package/eds-overlay/eds-wc-overlay-header-action-items.js.map +1 -0
  212. package/eds-overlay/eds-wc-overlay-header-label.d.ts +17 -0
  213. package/eds-overlay/eds-wc-overlay-header-label.d.ts.map +1 -0
  214. package/eds-overlay/eds-wc-overlay-header-label.js +32 -0
  215. package/eds-overlay/eds-wc-overlay-header-label.js.map +1 -0
  216. package/eds-overlay/eds-wc-overlay-header-sublabel.d.ts +17 -0
  217. package/eds-overlay/eds-wc-overlay-header-sublabel.d.ts.map +1 -0
  218. package/eds-overlay/eds-wc-overlay-header-sublabel.js +32 -0
  219. package/eds-overlay/eds-wc-overlay-header-sublabel.js.map +1 -0
  220. package/eds-overlay/eds-wc-overlay-header.d.ts +25 -0
  221. package/eds-overlay/eds-wc-overlay-header.d.ts.map +1 -0
  222. package/eds-overlay/eds-wc-overlay-header.js +105 -0
  223. package/eds-overlay/eds-wc-overlay-header.js.map +1 -0
  224. package/eds-overlay/eds-wc-overlay.d.ts +97 -0
  225. package/eds-overlay/eds-wc-overlay.d.ts.map +1 -0
  226. package/eds-overlay/eds-wc-overlay.js +352 -0
  227. package/eds-overlay/eds-wc-overlay.js.map +1 -0
  228. package/eds-overlay/index.d.ts +9 -0
  229. package/eds-overlay/index.d.ts.map +1 -0
  230. package/eds-overlay/index.js +8 -0
  231. package/eds-overlay/index.js.map +1 -0
  232. package/{eds-paginator/eds-wc-paginator.d.ts → eds-pagination/eds-wc-pagination.d.ts} +6 -6
  233. package/eds-pagination/eds-wc-pagination.d.ts.map +1 -0
  234. package/{eds-paginator/eds-wc-paginator.js → eds-pagination/eds-wc-pagination.js} +21 -21
  235. package/eds-pagination/eds-wc-pagination.js.map +1 -0
  236. package/eds-pagination/index.d.ts +3 -0
  237. package/eds-pagination/index.d.ts.map +1 -0
  238. package/eds-pagination/index.js +2 -0
  239. package/eds-pagination/index.js.map +1 -0
  240. package/eds-popover/eds-wc-popover.js +1 -1
  241. package/eds-progress-bar/eds-wc-progress-bar.d.ts.map +1 -1
  242. package/eds-progress-bar/eds-wc-progress-bar.js +2 -1
  243. package/eds-progress-bar/eds-wc-progress-bar.js.map +1 -1
  244. package/eds-progress-circle/eds-wc-progress-circle.d.ts.map +1 -1
  245. package/eds-progress-circle/eds-wc-progress-circle.js +4 -3
  246. package/eds-progress-circle/eds-wc-progress-circle.js.map +1 -1
  247. package/{eds-input-radio/eds-wc-input-radio.d.ts → eds-radio/eds-wc-radio.d.ts} +6 -6
  248. package/eds-radio/eds-wc-radio.d.ts.map +1 -0
  249. package/{eds-input-radio/eds-wc-input-radio.js → eds-radio/eds-wc-radio.js} +19 -19
  250. package/eds-radio/eds-wc-radio.js.map +1 -0
  251. package/eds-radio/index.d.ts +2 -0
  252. package/eds-radio/index.d.ts.map +1 -0
  253. package/eds-radio/index.js +2 -0
  254. package/eds-radio/index.js.map +1 -0
  255. package/eds-segmented-control/eds-wc-segmented-control.d.ts +67 -0
  256. package/eds-segmented-control/eds-wc-segmented-control.d.ts.map +1 -0
  257. package/{eds-button-group/eds-wc-button-group.js → eds-segmented-control/eds-wc-segmented-control.js} +40 -35
  258. package/eds-segmented-control/eds-wc-segmented-control.js.map +1 -0
  259. package/eds-segmented-control/index.d.ts +3 -0
  260. package/eds-segmented-control/index.d.ts.map +1 -0
  261. package/eds-segmented-control/index.js +2 -0
  262. package/eds-segmented-control/index.js.map +1 -0
  263. package/eds-select/eds-wc-select.d.ts +11 -0
  264. package/eds-select/eds-wc-select.d.ts.map +1 -1
  265. package/eds-select/eds-wc-select.js +42 -4
  266. package/eds-select/eds-wc-select.js.map +1 -1
  267. package/eds-side-sheet/eds-wc-side-sheet-content.d.ts +17 -0
  268. package/eds-side-sheet/eds-wc-side-sheet-content.d.ts.map +1 -0
  269. package/eds-side-sheet/eds-wc-side-sheet-content.js +34 -0
  270. package/eds-side-sheet/eds-wc-side-sheet-content.js.map +1 -0
  271. package/eds-side-sheet/eds-wc-side-sheet-footer.d.ts +17 -0
  272. package/eds-side-sheet/eds-wc-side-sheet-footer.d.ts.map +1 -0
  273. package/eds-side-sheet/eds-wc-side-sheet-footer.js +35 -0
  274. package/eds-side-sheet/eds-wc-side-sheet-footer.js.map +1 -0
  275. package/eds-side-sheet/eds-wc-side-sheet-header-action-items.d.ts +18 -0
  276. package/eds-side-sheet/eds-wc-side-sheet-header-action-items.d.ts.map +1 -0
  277. package/eds-side-sheet/eds-wc-side-sheet-header-action-items.js +34 -0
  278. package/eds-side-sheet/eds-wc-side-sheet-header-action-items.js.map +1 -0
  279. package/eds-side-sheet/eds-wc-side-sheet-header-label.d.ts +17 -0
  280. package/eds-side-sheet/eds-wc-side-sheet-header-label.d.ts.map +1 -0
  281. package/eds-side-sheet/eds-wc-side-sheet-header-label.js +32 -0
  282. package/eds-side-sheet/eds-wc-side-sheet-header-label.js.map +1 -0
  283. package/eds-side-sheet/eds-wc-side-sheet-header-sublabel.d.ts +17 -0
  284. package/eds-side-sheet/eds-wc-side-sheet-header-sublabel.d.ts.map +1 -0
  285. package/eds-side-sheet/eds-wc-side-sheet-header-sublabel.js +32 -0
  286. package/eds-side-sheet/eds-wc-side-sheet-header-sublabel.js.map +1 -0
  287. package/eds-side-sheet/eds-wc-side-sheet-header.d.ts +25 -0
  288. package/eds-side-sheet/eds-wc-side-sheet-header.d.ts.map +1 -0
  289. package/eds-side-sheet/eds-wc-side-sheet-header.js +105 -0
  290. package/eds-side-sheet/eds-wc-side-sheet-header.js.map +1 -0
  291. package/eds-side-sheet/eds-wc-side-sheet.d.ts +97 -0
  292. package/eds-side-sheet/eds-wc-side-sheet.d.ts.map +1 -0
  293. package/eds-side-sheet/eds-wc-side-sheet.js +352 -0
  294. package/eds-side-sheet/eds-wc-side-sheet.js.map +1 -0
  295. package/eds-side-sheet/index.d.ts +9 -0
  296. package/eds-side-sheet/index.d.ts.map +1 -0
  297. package/eds-side-sheet/index.js +8 -0
  298. package/eds-side-sheet/index.js.map +1 -0
  299. package/eds-skeleton/eds-wc-skeleton.js +1 -1
  300. package/eds-swiper/eds-wc-swiper.d.ts +100 -0
  301. package/eds-swiper/eds-wc-swiper.d.ts.map +1 -0
  302. package/eds-swiper/eds-wc-swiper.js +384 -0
  303. package/eds-swiper/eds-wc-swiper.js.map +1 -0
  304. package/eds-swiper/index.d.ts +2 -0
  305. package/eds-swiper/index.d.ts.map +1 -0
  306. package/eds-swiper/index.js +2 -0
  307. package/eds-swiper/index.js.map +1 -0
  308. package/{eds-toggle/eds-wc-toggle.d.ts → eds-switch/eds-wc-switch.d.ts} +11 -11
  309. package/{eds-toggle/eds-wc-toggle.d.ts.map → eds-switch/eds-wc-switch.d.ts.map} +1 -1
  310. package/{eds-toggle/eds-wc-toggle.js → eds-switch/eds-wc-switch.js} +39 -39
  311. package/{eds-toggle/eds-wc-toggle.js.map → eds-switch/eds-wc-switch.js.map} +1 -1
  312. package/eds-switch/index.d.ts +2 -0
  313. package/eds-switch/index.d.ts.map +1 -0
  314. package/eds-switch/index.js +2 -0
  315. package/eds-switch/index.js.map +1 -0
  316. package/eds-table/eds-wc-table.js +1 -1
  317. package/eds-tabs/eds-wc-tabs.d.ts.map +1 -1
  318. package/eds-tabs/eds-wc-tabs.js +2 -1
  319. package/eds-tabs/eds-wc-tabs.js.map +1 -1
  320. package/eds-tag/eds-wc-tag.d.ts +45 -16
  321. package/eds-tag/eds-wc-tag.d.ts.map +1 -1
  322. package/eds-tag/eds-wc-tag.js +196 -72
  323. package/eds-tag/eds-wc-tag.js.map +1 -1
  324. package/eds-tag/index.d.ts +2 -1
  325. package/eds-tag/index.d.ts.map +1 -1
  326. package/eds-tag/index.js +1 -1
  327. package/eds-tag/index.js.map +1 -1
  328. package/eds-textarea/eds-wc-textarea.js +1 -1
  329. package/eds-timeline/eds-wc-timeline.js +2 -2
  330. package/eds-timepicker/eds-wc-timepicker.js +1 -1
  331. package/{eds-growl/eds-wc-growl.d.ts → eds-toast/eds-wc-toast.d.ts} +18 -18
  332. package/{eds-growl/eds-wc-growl.d.ts.map → eds-toast/eds-wc-toast.d.ts.map} +1 -1
  333. package/{eds-growl/eds-wc-growl.js → eds-toast/eds-wc-toast.js} +17 -17
  334. package/{eds-growl/eds-wc-growl.js.map → eds-toast/eds-wc-toast.js.map} +1 -1
  335. package/eds-toast/index.d.ts +3 -0
  336. package/eds-toast/index.d.ts.map +1 -0
  337. package/eds-toast/index.js +2 -0
  338. package/eds-toast/index.js.map +1 -0
  339. package/eds-user-profile/eds-wc-user-profile.d.ts +146 -0
  340. package/eds-user-profile/eds-wc-user-profile.d.ts.map +1 -0
  341. package/eds-user-profile/eds-wc-user-profile.js +564 -0
  342. package/eds-user-profile/eds-wc-user-profile.js.map +1 -0
  343. package/eds-user-profile/index.d.ts +2 -0
  344. package/eds-user-profile/index.d.ts.map +1 -0
  345. package/eds-user-profile/index.js +2 -0
  346. package/eds-user-profile/index.js.map +1 -0
  347. package/eds-wizard/eds-wc-wizard.js +1 -1
  348. package/index.d.ts +46 -12
  349. package/index.d.ts.map +1 -1
  350. package/index.js +31 -9
  351. package/index.js.map +1 -1
  352. package/package.json +79 -19
  353. package/eds-button-group/eds-wc-button-group.d.ts +0 -62
  354. package/eds-button-group/eds-wc-button-group.d.ts.map +0 -1
  355. package/eds-button-group/eds-wc-button-group.js.map +0 -1
  356. package/eds-button-group/index.d.ts +0 -2
  357. package/eds-button-group/index.d.ts.map +0 -1
  358. package/eds-button-group/index.js +0 -2
  359. package/eds-button-group/index.js.map +0 -1
  360. package/eds-growl/index.d.ts +0 -3
  361. package/eds-growl/index.d.ts.map +0 -1
  362. package/eds-growl/index.js +0 -2
  363. package/eds-growl/index.js.map +0 -1
  364. package/eds-input-checkbox/eds-wc-input-checkbox.d.ts.map +0 -1
  365. package/eds-input-checkbox/eds-wc-input-checkbox.js.map +0 -1
  366. package/eds-input-checkbox/index.d.ts +0 -2
  367. package/eds-input-checkbox/index.d.ts.map +0 -1
  368. package/eds-input-checkbox/index.js +0 -2
  369. package/eds-input-checkbox/index.js.map +0 -1
  370. package/eds-input-radio/eds-wc-input-radio.d.ts.map +0 -1
  371. package/eds-input-radio/eds-wc-input-radio.js.map +0 -1
  372. package/eds-input-radio/index.d.ts +0 -2
  373. package/eds-input-radio/index.d.ts.map +0 -1
  374. package/eds-input-radio/index.js +0 -2
  375. package/eds-input-radio/index.js.map +0 -1
  376. package/eds-paginator/eds-wc-paginator.d.ts.map +0 -1
  377. package/eds-paginator/eds-wc-paginator.js.map +0 -1
  378. package/eds-paginator/index.d.ts +0 -3
  379. package/eds-paginator/index.d.ts.map +0 -1
  380. package/eds-paginator/index.js +0 -2
  381. package/eds-paginator/index.js.map +0 -1
  382. package/eds-toggle/index.d.ts +0 -2
  383. package/eds-toggle/index.d.ts.map +0 -1
  384. package/eds-toggle/index.js +0 -2
  385. package/eds-toggle/index.js.map +0 -1
@@ -0,0 +1,177 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { html, css } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ import { EdsBaseElement } from '../shared/eds-base.js';
10
+ /**
11
+ * `<eds-wc-input-addon>` — EDS Input Addon Web Component.
12
+ *
13
+ * A layout component that positions a **non-actionable** static addon (fixed text and/or an icon)
14
+ * flush against an input field — e.g. a currency symbol, a `https://` prefix, a unit suffix.
15
+ *
16
+ * Visually it mirrors `<eds-wc-input-button>`'s footprint but reads as a **recessed extension of the
17
+ * field**, not a control: sunken surface, muted (subtler) foreground, `cursor: default`, no hover /
18
+ * focus states, and it is not in the tab order. Use `eds-wc-input-button` when the trailing/leading
19
+ * element must be clickable; use `eds-wc-input-addon` when it is purely contextual text/icon.
20
+ *
21
+ * @example
22
+ * ```html
23
+ * <!-- Addon at start of input (default) -->
24
+ * <eds-wc-input-addon>
25
+ * <eds-wc-input-text placeholder="example.com"></eds-wc-input-text>
26
+ * <span slot="label">https://</span>
27
+ * </eds-wc-input-addon>
28
+ *
29
+ * <!-- Addon at end of input -->
30
+ * <eds-wc-input-addon position="end">
31
+ * <eds-wc-input-text placeholder="0.00"></eds-wc-input-text>
32
+ * <span slot="label">EUR</span>
33
+ * </eds-wc-input-addon>
34
+ *
35
+ * <!-- With an icon -->
36
+ * <eds-wc-input-addon>
37
+ * <eds-wc-input-text placeholder="Search..."></eds-wc-input-text>
38
+ * <eds-wc-icon slot="label" icon="magnifying-glass" aria-hidden="true"></eds-wc-icon>
39
+ * </eds-wc-input-addon>
40
+ * ```
41
+ *
42
+ * @slot - The projected input element (default slot).
43
+ * @slot label - The static addon content (text and/or icon), wrapped in the addon label.
44
+ */
45
+ let EdsWcInputAddon = class EdsWcInputAddon extends EdsBaseElement {
46
+ constructor() {
47
+ super(...arguments);
48
+ /**
49
+ * Which side of the input the addon sits on, reflected as the `position` attribute.
50
+ * `start` = left in LTR (right in RTL); `end` = the opposite side.
51
+ */
52
+ this.position = 'start';
53
+ /** Data attribute value for end-to-end testing identification, reflected as `data-e2e`. */
54
+ this.e2eAttr = 'eds-input-addon';
55
+ }
56
+ static { this.styles = css `
57
+ :host, *, *::before, *::after { box-sizing: border-box; }
58
+
59
+ :host {
60
+ display: flex;
61
+ width: 100%;
62
+ border-radius: var(--eds-br-s);
63
+ }
64
+
65
+ /* The static addon label — a recessed, non-actionable extension of the field:
66
+ sunken surface + subtler foreground + no interaction affordance. */
67
+ .eds-input-addon__label {
68
+ display: inline-flex;
69
+ align-items: center;
70
+ gap: var(--eds-sp-2xs);
71
+ padding: 0 var(--eds-sp-s);
72
+ white-space: nowrap;
73
+ background-color: var(--eds-c-surface-elevation-inset);
74
+ color: var(--eds-c-foreground-subtler);
75
+ font: var(--eds-f-paragraph-m);
76
+ border: var(--eds-bw-xs) solid var(--eds-c-border-neutral);
77
+ cursor: default;
78
+ user-select: none;
79
+ position: relative;
80
+ }
81
+
82
+ /* Projected icons inherit the muted foreground so text + icon read alike. */
83
+ .eds-input-addon__label ::slotted(eds-wc-icon) {
84
+ color: var(--eds-c-foreground-subtler);
85
+ }
86
+
87
+ /* The projected input grows to fill the row so the group spans the full width; the addon
88
+ label stays at its intrinsic (content) width. */
89
+ ::slotted(:not([slot="label"])) {
90
+ flex: 1;
91
+ min-width: 0;
92
+ }
93
+
94
+ /* Position variants — reflected as the \`position\` host attribute (String-Props model).
95
+ Template DOM order is input first, then label. \`start\` reverses the row so the label sits
96
+ before (left of) the input; \`end\` keeps the natural order so the label sits after. */
97
+
98
+ /* Start: label appears on the left, joined to the input's left edge. */
99
+ :host([position="start"]) {
100
+ flex-direction: row-reverse;
101
+ }
102
+
103
+ :host([position="start"]) .eds-input-addon__label {
104
+ border-right: none;
105
+ border-top-right-radius: 0;
106
+ border-bottom-right-radius: 0;
107
+ border-top-left-radius: var(--eds-br-s);
108
+ border-bottom-left-radius: var(--eds-br-s);
109
+ }
110
+
111
+ /* Vertical divider sitting just inside the addon's inner (right) edge, so it reads as
112
+ part of the addon rather than straddling the seam with the input. */
113
+ :host([position="start"]) .eds-input-addon__label::after {
114
+ background-color: var(--eds-c-border-divider);
115
+ content: "";
116
+ display: block;
117
+ height: 1.75rem;
118
+ right: 0;
119
+ position: absolute;
120
+ top: var(--eds-sp-2xs);
121
+ width: 1px;
122
+ }
123
+
124
+ :host([position="start"]) ::slotted(:not([slot="label"])) {
125
+ border-left: none;
126
+ border-top-left-radius: 0;
127
+ border-bottom-left-radius: 0;
128
+ }
129
+
130
+ /* End: label appears on the right, joined to the input's right edge (natural DOM order). */
131
+ :host([position="end"]) .eds-input-addon__label {
132
+ border-left: none;
133
+ border-top-left-radius: 0;
134
+ border-bottom-left-radius: 0;
135
+ border-top-right-radius: var(--eds-br-s);
136
+ border-bottom-right-radius: var(--eds-br-s);
137
+ }
138
+
139
+ /* Vertical divider sitting just inside the addon's inner (left) edge, so it reads as
140
+ part of the addon rather than straddling the seam with the input. */
141
+ :host([position="end"]) .eds-input-addon__label::before {
142
+ background-color: var(--eds-c-border-divider);
143
+ content: "";
144
+ display: block;
145
+ height: 1.75rem;
146
+ left: 0;
147
+ position: absolute;
148
+ top: var(--eds-sp-2xs);
149
+ width: 1px;
150
+ }
151
+
152
+ :host([position="end"]) ::slotted(:not([slot="label"])) {
153
+ border-right: none;
154
+ border-top-right-radius: 0;
155
+ border-bottom-right-radius: 0;
156
+ }
157
+ `; }
158
+ render() {
159
+ return html `
160
+ <slot></slot>
161
+ <span class="eds-input-addon__label">
162
+ <slot name="label"></slot>
163
+ </span>
164
+ `;
165
+ }
166
+ };
167
+ __decorate([
168
+ property({ type: String, reflect: true })
169
+ ], EdsWcInputAddon.prototype, "position", void 0);
170
+ __decorate([
171
+ property({ type: String, reflect: true, attribute: 'data-e2e' })
172
+ ], EdsWcInputAddon.prototype, "e2eAttr", void 0);
173
+ EdsWcInputAddon = __decorate([
174
+ customElement('eds-wc-input-addon')
175
+ ], EdsWcInputAddon);
176
+ export { EdsWcInputAddon };
177
+ //# sourceMappingURL=eds-wc-input-addon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eds-wc-input-addon.js","sourceRoot":"","sources":["../../src/eds-input-addon/eds-wc-input-addon.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAKvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEI,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,cAAc;IAA5C;;QACH;;;WAGG;QACwC,aAAQ,GAA4B,OAAO,CAAC;QAEvF,2FAA2F;QACzB,YAAO,GAAG,iBAAiB,CAAC;IAiHlG,CAAC;aA/GmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqG3B,AArGqB,CAqGpB;IAEiB,MAAM;QACrB,OAAO,IAAI,CAAA;;;;;SAKV,CAAC;IACN,CAAC;;AAnH0C;IAA1C,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAA6C;AAGrB;IAAjE,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;gDAA6B;AARrF,eAAe;IAD3B,aAAa,CAAC,oBAAoB,CAAC;GACvB,eAAe,CAyH3B"}
@@ -0,0 +1,3 @@
1
+ export { EdsWcInputAddon } from './eds-wc-input-addon';
2
+ export type { EdsWcInputAddonPosition } from './eds-wc-input-addon';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eds-input-addon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { EdsWcInputAddon } from './eds-wc-input-addon';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eds-input-addon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,30 +1,108 @@
1
1
  import { EdsBaseElement } from '../shared/eds-base.js';
2
+ /** Resolved button position (mirrors the Angular `position` computed value). */
3
+ export type EdsWcInputButtonPosition = 'start' | 'end';
2
4
  /**
3
5
  * `<eds-wc-input-button>` — EDS Input Button Web Component.
4
6
  *
5
- * Combines a text input with a button, sharing a common border.
7
+ * A layout component that positions a button relative to an input field, sharing a common border,
8
+ * and manages focus across the group with a **roving tabindex** so the group is a single tab stop.
9
+ * 1:1 projection of the Angular `eds-input-button` component (which is no longer a pure layout
10
+ * wrapper — it owns the roving-tabindex focus model).
11
+ *
12
+ * ### Focus model (roving tabindex)
13
+ * - The group is a SINGLE tab stop: on render every projected focusable control gets
14
+ * `tabindex="-1"` EXCEPT the primary control (the first input/textarea/select) which gets
15
+ * `tabindex="0"`, so `Tab` lands directly on the input.
16
+ * - Arrow keys rove focus between the group's controls in DOM order — the input, the clearable
17
+ * "✕" icon (`.eds-clearable-icon`, present only while the field has a value), and the button.
18
+ * `ArrowRight`/`ArrowDown` → next (wrap to first); `ArrowLeft`/`ArrowUp` → previous (wrap to
19
+ * last); `Home` → first; `End` → last. All of these `preventDefault`.
20
+ * - The managed-children set is recomputed live and EXCLUDES disabled and not-currently-visible
21
+ * controls (the clearable icon is `visibility:hidden` when empty → skipped then).
22
+ * - `focusin` on a child adopts it as the active roving target and moves the single `tabindex="0"`
23
+ * onto it, so a subsequent `Tab` LEAVES the group from wherever focus is (no trap). `Tab` is not
24
+ * intercepted.
25
+ *
26
+ * ### Slot model (differs from Angular)
27
+ * In Angular the host queries its own light-DOM descendants
28
+ * (`host.querySelectorAll('input,button,select,textarea,.eds-clearable-icon')`). In the WC the
29
+ * children arrive via `<slot>`, so the managed set is read from the slots' assigned elements
30
+ * (`slot.assignedElements({flatten:true})`, descending into each for focusables + the clearable
31
+ * icon) rather than `this.querySelectorAll`.
6
32
  *
7
33
  * @example
8
34
  * ```html
9
35
  * <eds-wc-input-button>
10
- * <eds-wc-input-text slot="input" placeholder="Search..."></eds-wc-input-text>
36
+ * <eds-wc-input-text placeholder="Search..."></eds-wc-input-text>
11
37
  * <eds-wc-button slot="button" type="secondary" color="neutral" size="m">Go</eds-wc-button>
12
38
  * </eds-wc-input-button>
13
39
  *
14
40
  * <eds-wc-input-button position="start">
15
- * <eds-wc-input-text slot="input" placeholder="Search..."></eds-wc-input-text>
16
- * <eds-wc-button slot="button" type="secondary" color="neutral" size="m">Go</eds-wc-button>
41
+ * <eds-wc-input-text placeholder="Filter..."></eds-wc-input-text>
42
+ * <eds-wc-icon-button slot="button" icon="filter" aria-label="Filter"></eds-wc-icon-button>
17
43
  * </eds-wc-input-button>
18
44
  * ```
19
45
  *
20
- * @slot input - The input element
21
- * @slot button - The button element
46
+ * @slot - Default slot for the input (and its injected clearable "✕" icon).
47
+ * @slot button - The trailing/leading button (text `eds-wc-button` or `eds-wc-icon-button`).
22
48
  */
23
49
  export declare class EdsWcInputButton extends EdsBaseElement {
24
- /** Button position: 'end' (default) or 'start'. */
25
- position: 'start' | 'end';
50
+ /**
51
+ * Data attribute value for end-to-end testing identification.
52
+ * @default 'eds-input-button'
53
+ */
54
+ e2eAttr: string;
55
+ /**
56
+ * Resolved button position, reflected as the `position` host attribute. `start` reverses the
57
+ * layout direction and moves the shared border/divider to the opposite edge; `end` (default)
58
+ * places the button after the input.
59
+ * @default 'end'
60
+ */
61
+ position: EdsWcInputButtonPosition;
62
+ /** Index (within the managed-children list) of the roving active control. */
63
+ private _activeIndex;
64
+ connectedCallback(): void;
26
65
  static styles: import("lit").CSSResult;
27
66
  protected render(): import("lit-html").TemplateResult<1>;
67
+ /**
68
+ * The group's controls that participate in arrow-key roving, in DOM order (default slot first,
69
+ * then the button slot): the projected input/button plus the clearable "✕" icon
70
+ * (`.eds-clearable-icon`). Disabled and not-currently-rendered controls (e.g. the hidden
71
+ * clearable icon when the field is empty) are excluded so the cycle only visits reachable
72
+ * targets.
73
+ *
74
+ * Reads the slots' assigned elements (NOT `this.querySelectorAll`) and descends into each — the
75
+ * focusable may be a native control inside a composed WC (e.g. the `<input>` inside
76
+ * `eds-wc-input-text`'s shadow root) or a slotted light-DOM node.
77
+ */
78
+ private _managedChildren;
79
+ /**
80
+ * Index of the primary control that owns the natural tab stop — the input field (first
81
+ * `input`/`textarea`/`select`) — so `Tab` lands directly on it. Falls back to the first child
82
+ * when there is no input-like control.
83
+ */
84
+ private _primaryIndex;
85
+ /**
86
+ * Roving tabindex reset: the primary (input) control stays in the natural tab order so `Tab`
87
+ * focuses it directly; every other control is reachable only via the arrow keys.
88
+ */
89
+ private _resetRovingTabStop;
90
+ private _onSlotChange;
91
+ /**
92
+ * Track focus entering a projected control so the arrow keys continue from the control the user
93
+ * is actually on (e.g. after a click), and keep the roving tab stop in sync so a subsequent
94
+ * `Tab` leaves from here.
95
+ */
96
+ private _onFocusIn;
97
+ private _onKeydown;
98
+ private _nextIndex;
99
+ private _focusChild;
100
+ /**
101
+ * Move the single roving tab stop (`tabindex="0"`) onto the active control and set every other
102
+ * control to `tabindex="-1"`, so after arrow navigation `Tab` leaves the group from wherever
103
+ * focus currently is.
104
+ */
105
+ private _setActive;
28
106
  }
29
107
  declare global {
30
108
  interface HTMLElementTagNameMap {
@@ -1 +1 @@
1
- {"version":3,"file":"eds-wc-input-button.d.ts","sourceRoot":"","sources":["../../src/eds-input-button/eds-wc-input-button.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBACa,gBAAiB,SAAQ,cAAc;IAChD,mDAAmD;IACR,QAAQ,EAAE,OAAO,GAAG,KAAK,CAAS;IAE7E,OAAgB,MAAM,0BAMpB;cAEiB,MAAM;CAM5B;AAED,OAAO,CAAC,MAAM,CAAC;IAAE,UAAU,qBAAqB;QAAG,qBAAqB,EAAE,gBAAgB,CAAC;KAAE;CAAE"}
1
+ {"version":3,"file":"eds-wc-input-button.d.ts","sourceRoot":"","sources":["../../src/eds-input-button/eds-wc-input-button.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,gFAAgF;AAChF,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,KAAK,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,qBACa,gBAAiB,SAAQ,cAAc;IAChD;;;OAGG;IAEH,OAAO,SAAsB;IAE7B;;;;;OAKG;IAEH,QAAQ,EAAE,wBAAwB,CAAS;IAE3C,6EAA6E;IAC7E,OAAO,CAAC,YAAY,CAAK;IAEhB,iBAAiB,IAAI,IAAI;IAKlC,OAAgB,MAAM,0BA2FpB;cAEiB,MAAM;IAczB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,gBAAgB;IAgCxB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAOrB;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,aAAa;IAIrB;;;;OAIG;IACH,OAAO,CAAC,UAAU;IASlB,OAAO,CAAC,UAAU;IA8BlB,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,WAAW;IASnB;;;;OAIG;IACH,OAAO,CAAC,UAAU;CAMrB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,qBAAqB,EAAE,gBAAgB,CAAC;KAC3C;CACJ"}
@@ -10,44 +10,306 @@ import { EdsBaseElement } from '../shared/eds-base.js';
10
10
  /**
11
11
  * `<eds-wc-input-button>` — EDS Input Button Web Component.
12
12
  *
13
- * Combines a text input with a button, sharing a common border.
13
+ * A layout component that positions a button relative to an input field, sharing a common border,
14
+ * and manages focus across the group with a **roving tabindex** so the group is a single tab stop.
15
+ * 1:1 projection of the Angular `eds-input-button` component (which is no longer a pure layout
16
+ * wrapper — it owns the roving-tabindex focus model).
17
+ *
18
+ * ### Focus model (roving tabindex)
19
+ * - The group is a SINGLE tab stop: on render every projected focusable control gets
20
+ * `tabindex="-1"` EXCEPT the primary control (the first input/textarea/select) which gets
21
+ * `tabindex="0"`, so `Tab` lands directly on the input.
22
+ * - Arrow keys rove focus between the group's controls in DOM order — the input, the clearable
23
+ * "✕" icon (`.eds-clearable-icon`, present only while the field has a value), and the button.
24
+ * `ArrowRight`/`ArrowDown` → next (wrap to first); `ArrowLeft`/`ArrowUp` → previous (wrap to
25
+ * last); `Home` → first; `End` → last. All of these `preventDefault`.
26
+ * - The managed-children set is recomputed live and EXCLUDES disabled and not-currently-visible
27
+ * controls (the clearable icon is `visibility:hidden` when empty → skipped then).
28
+ * - `focusin` on a child adopts it as the active roving target and moves the single `tabindex="0"`
29
+ * onto it, so a subsequent `Tab` LEAVES the group from wherever focus is (no trap). `Tab` is not
30
+ * intercepted.
31
+ *
32
+ * ### Slot model (differs from Angular)
33
+ * In Angular the host queries its own light-DOM descendants
34
+ * (`host.querySelectorAll('input,button,select,textarea,.eds-clearable-icon')`). In the WC the
35
+ * children arrive via `<slot>`, so the managed set is read from the slots' assigned elements
36
+ * (`slot.assignedElements({flatten:true})`, descending into each for focusables + the clearable
37
+ * icon) rather than `this.querySelectorAll`.
14
38
  *
15
39
  * @example
16
40
  * ```html
17
41
  * <eds-wc-input-button>
18
- * <eds-wc-input-text slot="input" placeholder="Search..."></eds-wc-input-text>
42
+ * <eds-wc-input-text placeholder="Search..."></eds-wc-input-text>
19
43
  * <eds-wc-button slot="button" type="secondary" color="neutral" size="m">Go</eds-wc-button>
20
44
  * </eds-wc-input-button>
21
45
  *
22
46
  * <eds-wc-input-button position="start">
23
- * <eds-wc-input-text slot="input" placeholder="Search..."></eds-wc-input-text>
24
- * <eds-wc-button slot="button" type="secondary" color="neutral" size="m">Go</eds-wc-button>
47
+ * <eds-wc-input-text placeholder="Filter..."></eds-wc-input-text>
48
+ * <eds-wc-icon-button slot="button" icon="filter" aria-label="Filter"></eds-wc-icon-button>
25
49
  * </eds-wc-input-button>
26
50
  * ```
27
51
  *
28
- * @slot input - The input element
29
- * @slot button - The button element
52
+ * @slot - Default slot for the input (and its injected clearable "✕" icon).
53
+ * @slot button - The trailing/leading button (text `eds-wc-button` or `eds-wc-icon-button`).
30
54
  */
31
55
  let EdsWcInputButton = class EdsWcInputButton extends EdsBaseElement {
32
56
  constructor() {
33
57
  super(...arguments);
34
- /** Button position: 'end' (default) or 'start'. */
58
+ /**
59
+ * Data attribute value for end-to-end testing identification.
60
+ * @default 'eds-input-button'
61
+ */
62
+ this.e2eAttr = 'eds-input-button';
63
+ /**
64
+ * Resolved button position, reflected as the `position` host attribute. `start` reverses the
65
+ * layout direction and moves the shared border/divider to the opposite edge; `end` (default)
66
+ * places the button after the input.
67
+ * @default 'end'
68
+ */
35
69
  this.position = 'end';
70
+ /** Index (within the managed-children list) of the roving active control. */
71
+ this._activeIndex = 0;
72
+ }
73
+ connectedCallback() {
74
+ super.connectedCallback();
75
+ this.setAttribute('role', 'group');
36
76
  }
37
77
  static { this.styles = css `
38
- :host { display: flex; width: 100%; border-radius: var(--eds-br-s); }
39
- :host([position="start"]) { flex-direction: row-reverse; }
78
+ :host, *, *::before, *::after {
79
+ box-sizing: border-box;
80
+ }
81
+
82
+ :host {
83
+ display: flex;
84
+ width: 100%;
85
+ border-radius: var(--eds-br-s);
86
+ outline: none;
87
+ position: relative;
88
+ }
89
+
90
+ /* The input fills all space left of the button; the button keeps its intrinsic width.
91
+ \`order\` makes the layout independent of DOM order: input first (grows), then the
92
+ collapsed clear-icon wrapper at the input's trailing edge, then the button. In Shadow
93
+ DOM these target the top-level slotted nodes via ::slotted(...). */
94
+ ::slotted(eds-wc-input-text),
95
+ ::slotted(input),
96
+ ::slotted(.eds-input-text) {
97
+ flex: 1 1 auto;
98
+ min-width: 0;
99
+ order: 1;
100
+ }
101
+
102
+ ::slotted([slot="button"]) {
103
+ flex: 0 0 auto;
104
+ order: 3;
105
+ }
106
+
107
+ /*
108
+ * Clearable-wrapper handling (Angular SCSS used \`order\` + \`:has()\` to grow the
109
+ * input/the wrapper-containing-input, collapse an empty icon-only wrapper to zero width at
110
+ * the input's trailing edge, and keep the button intrinsic). LIMITATION: Shadow-DOM
111
+ * \`::slotted()\` only matches the TOP-LEVEL slotted node and cannot use \`:has()\` to
112
+ * inspect a slotted node's own descendants, so the full Angular wrapper logic cannot be
113
+ * reproduced selector-for-selector. In this WC the clearable "✕" is rendered INSIDE
114
+ * \`eds-wc-input-text\`'s own shadow root (absolutely positioned at the input's right
115
+ * edge), so there is no injected top-level wrapper element at the group level to collapse —
116
+ * the single \`::slotted(eds-wc-input-text)\` grow rule above is sufficient to make the
117
+ * group fill its width with the clear icon anchored inside the input.
118
+ */
119
+
120
+ /* Whole-group focus ring whenever focus is on one of the projected controls. */
121
+ :host(:focus-within) {
122
+ outline: var(--eds-bw-s) solid var(--eds-c-border-focus);
123
+ outline-offset: var(--eds-bw-s);
124
+ }
125
+
126
+ /* Critical / invalid state → the whole-group focus ring turns critical. The invalid signal
127
+ is the projected input's \`invalid\` attribute (standalone usage) or a reflected
128
+ \`invalid\` host attribute set by a composing parent such as eds-input-password. */
129
+ :host([invalid]:focus-within),
130
+ :host(:focus-within:has(::slotted([invalid]))) {
131
+ outline-color: var(--eds-c-focus-critical);
132
+ }
133
+
134
+ /* The projected button reads as a raised field affordance joined to the input. */
135
+ ::slotted([slot="button"]) {
136
+ position: relative;
137
+ }
138
+
139
+ /*
140
+ * Suppressing the input's own focus ring (so only the one group ring shows) and drawing the
141
+ * button's INSET critical-aware ring are handled inside the slotted components' OWN shadow
142
+ * roots in this WC: \`eds-wc-input-text\` renders a borderless field (its visual border is
143
+ * the group's), and \`eds-wc-button\`/\`eds-wc-icon-button\` draw their own
144
+ * \`:focus-visible\` outline. LIMITATION: Shadow-DOM \`::slotted()\` reaches only the
145
+ * top-level slotted node, so the Angular \`!important\` overrides that reached INTO the
146
+ * projected input/button (\`.eds-input-text:focus-visible\`, \`.eds-button:focus\`) cannot
147
+ * be reproduced from here. The intent (single group ring; inset ring on the focused button;
148
+ * critical color when invalid) is preserved by the sibling components' own styles plus the
149
+ * group \`:focus-within\` ring above.
150
+ */
40
151
 
41
- ::slotted([slot="input"]) { flex: 1; min-width: 0; }
42
- ::slotted([slot="button"]) { flex-shrink: 0; }
152
+ /* Position variants — reflected as the \`position\` host attribute. */
153
+ :host([position="start"]) {
154
+ flex-direction: row-reverse;
155
+ }
156
+
157
+ :host([position="start"]) ::slotted([slot="button"]) {
158
+ border-right: none;
159
+ border-top-right-radius: 0;
160
+ border-bottom-right-radius: 0;
161
+ }
162
+
163
+ :host([position="end"]) ::slotted([slot="button"]) {
164
+ border-left: none;
165
+ border-top-left-radius: 0;
166
+ border-bottom-left-radius: 0;
167
+ }
43
168
  `; }
44
169
  render() {
45
170
  return html `
46
- <slot name="input"></slot>
47
- <slot name="button"></slot>
171
+ <slot
172
+ @slotchange="${this._onSlotChange}"
173
+ @focusin="${this._onFocusIn}"
174
+ @keydown="${this._onKeydown}"></slot>
175
+ <slot
176
+ name="button"
177
+ @slotchange="${this._onSlotChange}"
178
+ @focusin="${this._onFocusIn}"
179
+ @keydown="${this._onKeydown}"></slot>
48
180
  `;
49
181
  }
182
+ /**
183
+ * The group's controls that participate in arrow-key roving, in DOM order (default slot first,
184
+ * then the button slot): the projected input/button plus the clearable "✕" icon
185
+ * (`.eds-clearable-icon`). Disabled and not-currently-rendered controls (e.g. the hidden
186
+ * clearable icon when the field is empty) are excluded so the cycle only visits reachable
187
+ * targets.
188
+ *
189
+ * Reads the slots' assigned elements (NOT `this.querySelectorAll`) and descends into each — the
190
+ * focusable may be a native control inside a composed WC (e.g. the `<input>` inside
191
+ * `eds-wc-input-text`'s shadow root) or a slotted light-DOM node.
192
+ */
193
+ _managedChildren() {
194
+ const selector = 'input, button, select, textarea, .eds-clearable-icon';
195
+ const slots = this.shadowRoot?.querySelectorAll('slot') ?? [];
196
+ const found = [];
197
+ for (const slot of Array.from(slots)) {
198
+ for (const assigned of slot.assignedElements({ flatten: true })) {
199
+ const el = assigned;
200
+ // The assigned node may itself be a focusable, OR expose focusables in its shadow
201
+ // root (composed WCs like eds-wc-input-text / eds-wc-icon-button), OR contain them
202
+ // in light DOM.
203
+ if (el.matches(selector)) {
204
+ found.push(el);
205
+ }
206
+ const root = el.shadowRoot ?? el;
207
+ root.querySelectorAll(selector).forEach((c) => found.push(c));
208
+ }
209
+ }
210
+ return found.filter((el) => {
211
+ if (el.hasAttribute('disabled')) {
212
+ return false;
213
+ }
214
+ // Skip controls that are not actually visible/rendered — notably the clearable icon,
215
+ // which is hidden (visibility:hidden) when empty.
216
+ if (getComputedStyle(el).visibility === 'hidden') {
217
+ return false;
218
+ }
219
+ return el.offsetParent !== null || getComputedStyle(el).position === 'fixed';
220
+ });
221
+ }
222
+ /**
223
+ * Index of the primary control that owns the natural tab stop — the input field (first
224
+ * `input`/`textarea`/`select`) — so `Tab` lands directly on it. Falls back to the first child
225
+ * when there is no input-like control.
226
+ */
227
+ _primaryIndex(children) {
228
+ const inputIndex = children.findIndex((el) => /^(input|textarea|select)$/i.test(el.tagName));
229
+ return inputIndex >= 0 ? inputIndex : 0;
230
+ }
231
+ /**
232
+ * Roving tabindex reset: the primary (input) control stays in the natural tab order so `Tab`
233
+ * focuses it directly; every other control is reachable only via the arrow keys.
234
+ */
235
+ _resetRovingTabStop() {
236
+ const children = this._managedChildren();
237
+ if (children.length === 0) {
238
+ return;
239
+ }
240
+ const primary = this._primaryIndex(children);
241
+ this._activeIndex = primary;
242
+ children.forEach((el, index) => el.setAttribute('tabindex', index === primary ? '0' : '-1'));
243
+ }
244
+ _onSlotChange() {
245
+ this._resetRovingTabStop();
246
+ }
247
+ /**
248
+ * Track focus entering a projected control so the arrow keys continue from the control the user
249
+ * is actually on (e.g. after a click), and keep the roving tab stop in sync so a subsequent
250
+ * `Tab` leaves from here.
251
+ */
252
+ _onFocusIn(event) {
253
+ const children = this._managedChildren();
254
+ const path = event.composedPath();
255
+ const index = children.findIndex((el) => path.includes(el));
256
+ if (index >= 0) {
257
+ this._setActive(index, children);
258
+ }
259
+ }
260
+ _onKeydown(event) {
261
+ const children = this._managedChildren();
262
+ if (children.length === 0) {
263
+ return;
264
+ }
265
+ switch (event.key) {
266
+ case 'ArrowRight':
267
+ case 'ArrowDown':
268
+ event.preventDefault();
269
+ this._focusChild(this._nextIndex(1, children), children);
270
+ break;
271
+ case 'ArrowLeft':
272
+ case 'ArrowUp':
273
+ event.preventDefault();
274
+ this._focusChild(this._nextIndex(-1, children), children);
275
+ break;
276
+ case 'Home':
277
+ event.preventDefault();
278
+ this._focusChild(0, children);
279
+ break;
280
+ case 'End':
281
+ event.preventDefault();
282
+ this._focusChild(children.length - 1, children);
283
+ break;
284
+ default:
285
+ break;
286
+ }
287
+ }
288
+ _nextIndex(delta, children) {
289
+ const count = children.length;
290
+ return (this._activeIndex + delta + count) % count;
291
+ }
292
+ _focusChild(index, children) {
293
+ const target = children[index];
294
+ if (!target) {
295
+ return;
296
+ }
297
+ this._setActive(index, children);
298
+ target.focus();
299
+ }
300
+ /**
301
+ * Move the single roving tab stop (`tabindex="0"`) onto the active control and set every other
302
+ * control to `tabindex="-1"`, so after arrow navigation `Tab` leaves the group from wherever
303
+ * focus currently is.
304
+ */
305
+ _setActive(index, children) {
306
+ this._activeIndex = index;
307
+ children.forEach((el, i) => el.setAttribute('tabindex', i === index ? '0' : '-1'));
308
+ }
50
309
  };
310
+ __decorate([
311
+ property({ type: String, attribute: 'data-e2e', reflect: true })
312
+ ], EdsWcInputButton.prototype, "e2eAttr", void 0);
51
313
  __decorate([
52
314
  property({ type: String, reflect: true })
53
315
  ], EdsWcInputButton.prototype, "position", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"eds-wc-input-button.js","sourceRoot":"","sources":["../../src/eds-input-button/eds-wc-input-button.ts"],"names":[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 -1,2 +1,3 @@
1
- export { EdsWcInputButton } from './eds-wc-input-button.js';
1
+ export { EdsWcInputButton } from './eds-wc-input-button';
2
+ export type { EdsWcInputButtonPosition } from './eds-wc-input-button';
2
3
  //# sourceMappingURL=index.d.ts.map