@eui/components-wc 0.0.0-stage → 22.0.0-alpha.51

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 (574) hide show
  1. package/eui-accordion/eui-wc-accordion.d.ts +44 -0
  2. package/eui-accordion/eui-wc-accordion.d.ts.map +1 -0
  3. package/eui-accordion/eui-wc-accordion.js +128 -0
  4. package/eui-accordion/eui-wc-accordion.js.map +1 -0
  5. package/eui-accordion/index.d.ts +2 -0
  6. package/eui-accordion/index.d.ts.map +1 -0
  7. package/eui-accordion/index.js +2 -0
  8. package/eui-accordion/index.js.map +1 -0
  9. package/eui-alert/eui-wc-alert.d.ts +35 -0
  10. package/eui-alert/eui-wc-alert.d.ts.map +1 -0
  11. package/eui-alert/eui-wc-alert.js +100 -0
  12. package/eui-alert/eui-wc-alert.js.map +1 -0
  13. package/eui-alert/index.d.ts +2 -0
  14. package/eui-alert/index.d.ts.map +1 -0
  15. package/eui-alert/index.js +2 -0
  16. package/eui-alert/index.js.map +1 -0
  17. package/eui-autocomplete/eui-wc-autocomplete.d.ts +26 -0
  18. package/eui-autocomplete/eui-wc-autocomplete.d.ts.map +1 -0
  19. package/eui-autocomplete/eui-wc-autocomplete.js +79 -0
  20. package/eui-autocomplete/eui-wc-autocomplete.js.map +1 -0
  21. package/eui-autocomplete/index.d.ts +2 -0
  22. package/eui-autocomplete/index.d.ts.map +1 -0
  23. package/eui-autocomplete/index.js +2 -0
  24. package/eui-autocomplete/index.js.map +1 -0
  25. package/eui-autocomplete-v2/eui-wc-autocomplete-v2.d.ts +33 -0
  26. package/eui-autocomplete-v2/eui-wc-autocomplete-v2.d.ts.map +1 -0
  27. package/eui-autocomplete-v2/eui-wc-autocomplete-v2.js +118 -0
  28. package/eui-autocomplete-v2/eui-wc-autocomplete-v2.js.map +1 -0
  29. package/eui-autocomplete-v2/index.d.ts +2 -0
  30. package/eui-autocomplete-v2/index.d.ts.map +1 -0
  31. package/eui-autocomplete-v2/index.js +2 -0
  32. package/eui-autocomplete-v2/index.js.map +1 -0
  33. package/eui-avatar/eui-wc-avatar.d.ts +31 -0
  34. package/eui-avatar/eui-wc-avatar.d.ts.map +1 -0
  35. package/eui-avatar/eui-wc-avatar.js +109 -0
  36. package/eui-avatar/eui-wc-avatar.js.map +1 -0
  37. package/eui-avatar/index.d.ts +2 -0
  38. package/eui-avatar/index.d.ts.map +1 -0
  39. package/eui-avatar/index.js +2 -0
  40. package/eui-avatar/index.js.map +1 -0
  41. package/eui-badge/eui-wc-badge.d.ts +46 -0
  42. package/eui-badge/eui-wc-badge.d.ts.map +1 -0
  43. package/eui-badge/eui-wc-badge.js +195 -0
  44. package/eui-badge/eui-wc-badge.js.map +1 -0
  45. package/eui-badge/index.d.ts +2 -0
  46. package/eui-badge/index.d.ts.map +1 -0
  47. package/eui-badge/index.js +2 -0
  48. package/eui-badge/index.js.map +1 -0
  49. package/eui-banner/eui-wc-banner.d.ts +35 -0
  50. package/eui-banner/eui-wc-banner.d.ts.map +1 -0
  51. package/eui-banner/eui-wc-banner.js +100 -0
  52. package/eui-banner/eui-wc-banner.js.map +1 -0
  53. package/eui-banner/index.d.ts +2 -0
  54. package/eui-banner/index.d.ts.map +1 -0
  55. package/eui-banner/index.js +2 -0
  56. package/eui-banner/index.js.map +1 -0
  57. package/eui-block-content/eui-wc-block-content.d.ts +14 -0
  58. package/eui-block-content/eui-wc-block-content.d.ts.map +1 -0
  59. package/eui-block-content/eui-wc-block-content.js +43 -0
  60. package/eui-block-content/eui-wc-block-content.js.map +1 -0
  61. package/eui-block-content/index.d.ts +2 -0
  62. package/eui-block-content/index.d.ts.map +1 -0
  63. package/eui-block-content/index.js +2 -0
  64. package/eui-block-content/index.js.map +1 -0
  65. package/eui-block-document/eui-wc-block-document.d.ts +14 -0
  66. package/eui-block-document/eui-wc-block-document.d.ts.map +1 -0
  67. package/eui-block-document/eui-wc-block-document.js +51 -0
  68. package/eui-block-document/eui-wc-block-document.js.map +1 -0
  69. package/eui-block-document/index.d.ts +2 -0
  70. package/eui-block-document/index.d.ts.map +1 -0
  71. package/eui-block-document/index.js +2 -0
  72. package/eui-block-document/index.js.map +1 -0
  73. package/eui-breadcrumb/eui-wc-breadcrumb.d.ts +19 -0
  74. package/eui-breadcrumb/eui-wc-breadcrumb.d.ts.map +1 -0
  75. package/eui-breadcrumb/eui-wc-breadcrumb.js +33 -0
  76. package/eui-breadcrumb/eui-wc-breadcrumb.js.map +1 -0
  77. package/eui-breadcrumb/index.d.ts +2 -0
  78. package/eui-breadcrumb/index.d.ts.map +1 -0
  79. package/eui-breadcrumb/index.js +2 -0
  80. package/eui-breadcrumb/index.js.map +1 -0
  81. package/eui-button/eui-wc-button.d.ts +37 -0
  82. package/eui-button/eui-wc-button.d.ts.map +1 -0
  83. package/eui-button/eui-wc-button.js +246 -0
  84. package/eui-button/eui-wc-button.js.map +1 -0
  85. package/eui-button/index.d.ts +2 -0
  86. package/eui-button/index.d.ts.map +1 -0
  87. package/eui-button/index.js +2 -0
  88. package/eui-button/index.js.map +1 -0
  89. package/eui-calendar/eui-wc-calendar.d.ts +27 -0
  90. package/eui-calendar/eui-wc-calendar.d.ts.map +1 -0
  91. package/eui-calendar/eui-wc-calendar.js +108 -0
  92. package/eui-calendar/eui-wc-calendar.js.map +1 -0
  93. package/eui-calendar/index.d.ts +2 -0
  94. package/eui-calendar/index.d.ts.map +1 -0
  95. package/eui-calendar/index.js +2 -0
  96. package/eui-calendar/index.js.map +1 -0
  97. package/eui-card/eui-wc-card.d.ts +21 -0
  98. package/eui-card/eui-wc-card.d.ts.map +1 -0
  99. package/eui-card/eui-wc-card.js +60 -0
  100. package/eui-card/eui-wc-card.js.map +1 -0
  101. package/eui-card/index.d.ts +2 -0
  102. package/eui-card/index.d.ts.map +1 -0
  103. package/eui-card/index.js +2 -0
  104. package/eui-card/index.js.map +1 -0
  105. package/eui-card-v2/eui-wc-card-v2.d.ts +15 -0
  106. package/eui-card-v2/eui-wc-card-v2.d.ts.map +1 -0
  107. package/eui-card-v2/eui-wc-card-v2.js +44 -0
  108. package/eui-card-v2/eui-wc-card-v2.js.map +1 -0
  109. package/eui-card-v2/index.d.ts +2 -0
  110. package/eui-card-v2/index.d.ts.map +1 -0
  111. package/eui-card-v2/index.js +2 -0
  112. package/eui-card-v2/index.js.map +1 -0
  113. package/eui-chip/eui-wc-chip.d.ts +29 -0
  114. package/eui-chip/eui-wc-chip.d.ts.map +1 -0
  115. package/eui-chip/eui-wc-chip.js +133 -0
  116. package/eui-chip/eui-wc-chip.js.map +1 -0
  117. package/eui-chip/index.d.ts +2 -0
  118. package/eui-chip/index.d.ts.map +1 -0
  119. package/eui-chip/index.js +2 -0
  120. package/eui-chip/index.js.map +1 -0
  121. package/eui-comment-thread/eui-wc-comment-thread.d.ts +20 -0
  122. package/eui-comment-thread/eui-wc-comment-thread.d.ts.map +1 -0
  123. package/eui-comment-thread/eui-wc-comment-thread.js +52 -0
  124. package/eui-comment-thread/eui-wc-comment-thread.js.map +1 -0
  125. package/eui-comment-thread/index.d.ts +2 -0
  126. package/eui-comment-thread/index.d.ts.map +1 -0
  127. package/eui-comment-thread/index.js +2 -0
  128. package/eui-comment-thread/index.js.map +1 -0
  129. package/eui-content-card/eui-wc-content-card.d.ts +15 -0
  130. package/eui-content-card/eui-wc-content-card.d.ts.map +1 -0
  131. package/eui-content-card/eui-wc-content-card.js +52 -0
  132. package/eui-content-card/eui-wc-content-card.js.map +1 -0
  133. package/eui-content-card/index.d.ts +2 -0
  134. package/eui-content-card/index.d.ts.map +1 -0
  135. package/eui-content-card/index.js +2 -0
  136. package/eui-content-card/index.js.map +1 -0
  137. package/eui-dashboard-card/eui-wc-dashboard-card.d.ts +13 -0
  138. package/eui-dashboard-card/eui-wc-dashboard-card.d.ts.map +1 -0
  139. package/eui-dashboard-card/eui-wc-dashboard-card.js +42 -0
  140. package/eui-dashboard-card/eui-wc-dashboard-card.js.map +1 -0
  141. package/eui-dashboard-card/index.d.ts +2 -0
  142. package/eui-dashboard-card/index.d.ts.map +1 -0
  143. package/eui-dashboard-card/index.js +2 -0
  144. package/eui-dashboard-card/index.js.map +1 -0
  145. package/eui-date-block/eui-wc-date-block.d.ts +14 -0
  146. package/eui-date-block/eui-wc-date-block.d.ts.map +1 -0
  147. package/eui-date-block/eui-wc-date-block.js +40 -0
  148. package/eui-date-block/eui-wc-date-block.js.map +1 -0
  149. package/eui-date-block/index.d.ts +2 -0
  150. package/eui-date-block/index.d.ts.map +1 -0
  151. package/eui-date-block/index.js +2 -0
  152. package/eui-date-block/index.js.map +1 -0
  153. package/eui-date-range-selector/eui-wc-date-range-selector.d.ts +29 -0
  154. package/eui-date-range-selector/eui-wc-date-range-selector.d.ts.map +1 -0
  155. package/eui-date-range-selector/eui-wc-date-range-selector.js +78 -0
  156. package/eui-date-range-selector/eui-wc-date-range-selector.js.map +1 -0
  157. package/eui-date-range-selector/index.d.ts +2 -0
  158. package/eui-date-range-selector/index.d.ts.map +1 -0
  159. package/eui-date-range-selector/index.js +2 -0
  160. package/eui-date-range-selector/index.js.map +1 -0
  161. package/eui-datepicker/eui-wc-datepicker.d.ts +26 -0
  162. package/eui-datepicker/eui-wc-datepicker.d.ts.map +1 -0
  163. package/eui-datepicker/eui-wc-datepicker.js +87 -0
  164. package/eui-datepicker/eui-wc-datepicker.js.map +1 -0
  165. package/eui-datepicker/index.d.ts +2 -0
  166. package/eui-datepicker/index.d.ts.map +1 -0
  167. package/eui-datepicker/index.js +2 -0
  168. package/eui-datepicker/index.js.map +1 -0
  169. package/eui-dialog/eui-wc-dialog.d.ts +17 -0
  170. package/eui-dialog/eui-wc-dialog.d.ts.map +1 -0
  171. package/eui-dialog/eui-wc-dialog.js +56 -0
  172. package/eui-dialog/eui-wc-dialog.js.map +1 -0
  173. package/eui-dialog/index.d.ts +2 -0
  174. package/eui-dialog/index.d.ts.map +1 -0
  175. package/eui-dialog/index.js +2 -0
  176. package/eui-dialog/index.js.map +1 -0
  177. package/eui-disable-content/eui-wc-disable-content.d.ts +14 -0
  178. package/eui-disable-content/eui-wc-disable-content.d.ts.map +1 -0
  179. package/eui-disable-content/eui-wc-disable-content.js +40 -0
  180. package/eui-disable-content/eui-wc-disable-content.js.map +1 -0
  181. package/eui-disable-content/index.d.ts +2 -0
  182. package/eui-disable-content/index.d.ts.map +1 -0
  183. package/eui-disable-content/index.js +2 -0
  184. package/eui-disable-content/index.js.map +1 -0
  185. package/eui-discussion-thread/eui-wc-discussion-thread.d.ts +19 -0
  186. package/eui-discussion-thread/eui-wc-discussion-thread.d.ts.map +1 -0
  187. package/eui-discussion-thread/eui-wc-discussion-thread.js +42 -0
  188. package/eui-discussion-thread/eui-wc-discussion-thread.js.map +1 -0
  189. package/eui-discussion-thread/index.d.ts +2 -0
  190. package/eui-discussion-thread/index.d.ts.map +1 -0
  191. package/eui-discussion-thread/index.js +2 -0
  192. package/eui-discussion-thread/index.js.map +1 -0
  193. package/eui-dropdown/eui-wc-dropdown.d.ts +15 -0
  194. package/eui-dropdown/eui-wc-dropdown.d.ts.map +1 -0
  195. package/eui-dropdown/eui-wc-dropdown.js +41 -0
  196. package/eui-dropdown/eui-wc-dropdown.js.map +1 -0
  197. package/eui-dropdown/index.d.ts +2 -0
  198. package/eui-dropdown/index.d.ts.map +1 -0
  199. package/eui-dropdown/index.js +2 -0
  200. package/eui-dropdown/index.js.map +1 -0
  201. package/eui-feedback-message/eui-wc-feedback-message.d.ts +30 -0
  202. package/eui-feedback-message/eui-wc-feedback-message.d.ts.map +1 -0
  203. package/eui-feedback-message/eui-wc-feedback-message.js +94 -0
  204. package/eui-feedback-message/eui-wc-feedback-message.js.map +1 -0
  205. package/eui-feedback-message/index.d.ts +2 -0
  206. package/eui-feedback-message/index.d.ts.map +1 -0
  207. package/eui-feedback-message/index.js +2 -0
  208. package/eui-feedback-message/index.js.map +1 -0
  209. package/eui-fieldset/eui-wc-fieldset.d.ts +19 -0
  210. package/eui-fieldset/eui-wc-fieldset.d.ts.map +1 -0
  211. package/eui-fieldset/eui-wc-fieldset.js +72 -0
  212. package/eui-fieldset/eui-wc-fieldset.js.map +1 -0
  213. package/eui-fieldset/index.d.ts +2 -0
  214. package/eui-fieldset/index.d.ts.map +1 -0
  215. package/eui-fieldset/index.js +2 -0
  216. package/eui-fieldset/index.js.map +1 -0
  217. package/eui-file-upload/eui-wc-file-upload.d.ts +20 -0
  218. package/eui-file-upload/eui-wc-file-upload.d.ts.map +1 -0
  219. package/eui-file-upload/eui-wc-file-upload.js +84 -0
  220. package/eui-file-upload/eui-wc-file-upload.js.map +1 -0
  221. package/eui-file-upload/index.d.ts +2 -0
  222. package/eui-file-upload/index.d.ts.map +1 -0
  223. package/eui-file-upload/index.js +2 -0
  224. package/eui-file-upload/index.js.map +1 -0
  225. package/eui-floating-panel/eui-wc-floating-panel.d.ts +16 -0
  226. package/eui-floating-panel/eui-wc-floating-panel.d.ts.map +1 -0
  227. package/eui-floating-panel/eui-wc-floating-panel.js +42 -0
  228. package/eui-floating-panel/eui-wc-floating-panel.js.map +1 -0
  229. package/eui-floating-panel/index.d.ts +2 -0
  230. package/eui-floating-panel/index.d.ts.map +1 -0
  231. package/eui-floating-panel/index.js +2 -0
  232. package/eui-floating-panel/index.js.map +1 -0
  233. package/eui-growl/eui-wc-growl.d.ts +20 -0
  234. package/eui-growl/eui-wc-growl.d.ts.map +1 -0
  235. package/eui-growl/eui-wc-growl.js +44 -0
  236. package/eui-growl/eui-wc-growl.js.map +1 -0
  237. package/eui-growl/index.d.ts +2 -0
  238. package/eui-growl/index.d.ts.map +1 -0
  239. package/eui-growl/index.js +2 -0
  240. package/eui-growl/index.js.map +1 -0
  241. package/eui-helper-text/eui-wc-helper-text.d.ts +21 -0
  242. package/eui-helper-text/eui-wc-helper-text.d.ts.map +1 -0
  243. package/eui-helper-text/eui-wc-helper-text.js +42 -0
  244. package/eui-helper-text/eui-wc-helper-text.js.map +1 -0
  245. package/eui-helper-text/index.d.ts +2 -0
  246. package/eui-helper-text/index.d.ts.map +1 -0
  247. package/eui-helper-text/index.js +2 -0
  248. package/eui-helper-text/index.js.map +1 -0
  249. package/eui-icon/eui-wc-icon.d.ts +59 -0
  250. package/eui-icon/eui-wc-icon.d.ts.map +1 -0
  251. package/eui-icon/eui-wc-icon.js +258 -0
  252. package/eui-icon/eui-wc-icon.js.map +1 -0
  253. package/eui-icon/index.d.ts +2 -0
  254. package/eui-icon/index.d.ts.map +1 -0
  255. package/eui-icon/index.js +2 -0
  256. package/eui-icon/index.js.map +1 -0
  257. package/eui-icon-button/eui-wc-icon-button.d.ts +37 -0
  258. package/eui-icon-button/eui-wc-icon-button.d.ts.map +1 -0
  259. package/eui-icon-button/eui-wc-icon-button.js +148 -0
  260. package/eui-icon-button/eui-wc-icon-button.js.map +1 -0
  261. package/eui-icon-button/index.d.ts +2 -0
  262. package/eui-icon-button/index.d.ts.map +1 -0
  263. package/eui-icon-button/index.js +2 -0
  264. package/eui-icon-button/index.js.map +1 -0
  265. package/eui-icon-button-expander/eui-wc-icon-button-expander.d.ts +31 -0
  266. package/eui-icon-button-expander/eui-wc-icon-button-expander.d.ts.map +1 -0
  267. package/eui-icon-button-expander/eui-wc-icon-button-expander.js +119 -0
  268. package/eui-icon-button-expander/eui-wc-icon-button-expander.js.map +1 -0
  269. package/eui-icon-button-expander/index.d.ts +2 -0
  270. package/eui-icon-button-expander/index.d.ts.map +1 -0
  271. package/eui-icon-button-expander/index.js +2 -0
  272. package/eui-icon-button-expander/index.js.map +1 -0
  273. package/eui-icon-input/eui-wc-icon-input.d.ts +13 -0
  274. package/eui-icon-input/eui-wc-icon-input.d.ts.map +1 -0
  275. package/eui-icon-input/eui-wc-icon-input.js +33 -0
  276. package/eui-icon-input/eui-wc-icon-input.js.map +1 -0
  277. package/eui-icon-input/index.d.ts +2 -0
  278. package/eui-icon-input/index.d.ts.map +1 -0
  279. package/eui-icon-input/index.js +2 -0
  280. package/eui-icon-input/index.js.map +1 -0
  281. package/eui-icon-toggle/eui-wc-icon-toggle.d.ts +40 -0
  282. package/eui-icon-toggle/eui-wc-icon-toggle.d.ts.map +1 -0
  283. package/eui-icon-toggle/eui-wc-icon-toggle.js +137 -0
  284. package/eui-icon-toggle/eui-wc-icon-toggle.js.map +1 -0
  285. package/eui-icon-toggle/index.d.ts +2 -0
  286. package/eui-icon-toggle/index.d.ts.map +1 -0
  287. package/eui-icon-toggle/index.js +2 -0
  288. package/eui-icon-toggle/index.js.map +1 -0
  289. package/eui-input-button/eui-wc-input-button.d.ts +29 -0
  290. package/eui-input-button/eui-wc-input-button.d.ts.map +1 -0
  291. package/eui-input-button/eui-wc-input-button.js +57 -0
  292. package/eui-input-button/eui-wc-input-button.js.map +1 -0
  293. package/eui-input-button/index.d.ts +2 -0
  294. package/eui-input-button/index.d.ts.map +1 -0
  295. package/eui-input-button/index.js +2 -0
  296. package/eui-input-button/index.js.map +1 -0
  297. package/eui-input-checkbox/eui-wc-input-checkbox.d.ts +19 -0
  298. package/eui-input-checkbox/eui-wc-input-checkbox.d.ts.map +1 -0
  299. package/eui-input-checkbox/eui-wc-input-checkbox.js +59 -0
  300. package/eui-input-checkbox/eui-wc-input-checkbox.js.map +1 -0
  301. package/eui-input-checkbox/index.d.ts +2 -0
  302. package/eui-input-checkbox/index.d.ts.map +1 -0
  303. package/eui-input-checkbox/index.js +2 -0
  304. package/eui-input-checkbox/index.js.map +1 -0
  305. package/eui-input-number/eui-wc-input-number.d.ts +20 -0
  306. package/eui-input-number/eui-wc-input-number.d.ts.map +1 -0
  307. package/eui-input-number/eui-wc-input-number.js +66 -0
  308. package/eui-input-number/eui-wc-input-number.js.map +1 -0
  309. package/eui-input-number/index.d.ts +2 -0
  310. package/eui-input-number/index.d.ts.map +1 -0
  311. package/eui-input-number/index.js +2 -0
  312. package/eui-input-number/index.js.map +1 -0
  313. package/eui-input-radio/eui-wc-input-radio.d.ts +18 -0
  314. package/eui-input-radio/eui-wc-input-radio.d.ts.map +1 -0
  315. package/eui-input-radio/eui-wc-input-radio.js +54 -0
  316. package/eui-input-radio/eui-wc-input-radio.js.map +1 -0
  317. package/eui-input-radio/index.d.ts +2 -0
  318. package/eui-input-radio/index.d.ts.map +1 -0
  319. package/eui-input-radio/index.js +2 -0
  320. package/eui-input-radio/index.js.map +1 -0
  321. package/eui-input-text/eui-wc-input-text.d.ts +22 -0
  322. package/eui-input-text/eui-wc-input-text.d.ts.map +1 -0
  323. package/eui-input-text/eui-wc-input-text.js +72 -0
  324. package/eui-input-text/eui-wc-input-text.js.map +1 -0
  325. package/eui-input-text/index.d.ts +2 -0
  326. package/eui-input-text/index.d.ts.map +1 -0
  327. package/eui-input-text/index.js +2 -0
  328. package/eui-input-text/index.js.map +1 -0
  329. package/eui-label/eui-wc-label.d.ts +35 -0
  330. package/eui-label/eui-wc-label.d.ts.map +1 -0
  331. package/eui-label/eui-wc-label.js +98 -0
  332. package/eui-label/eui-wc-label.js.map +1 -0
  333. package/eui-label/index.d.ts +2 -0
  334. package/eui-label/index.d.ts.map +1 -0
  335. package/eui-label/index.js +2 -0
  336. package/eui-label/index.js.map +1 -0
  337. package/eui-language-selector/eui-wc-language-selector.d.ts +19 -0
  338. package/eui-language-selector/eui-wc-language-selector.d.ts.map +1 -0
  339. package/eui-language-selector/eui-wc-language-selector.js +42 -0
  340. package/eui-language-selector/eui-wc-language-selector.js.map +1 -0
  341. package/eui-language-selector/index.d.ts +2 -0
  342. package/eui-language-selector/index.d.ts.map +1 -0
  343. package/eui-language-selector/index.js +2 -0
  344. package/eui-language-selector/index.js.map +1 -0
  345. package/eui-list/eui-wc-list.d.ts +22 -0
  346. package/eui-list/eui-wc-list.d.ts.map +1 -0
  347. package/eui-list/eui-wc-list.js +74 -0
  348. package/eui-list/eui-wc-list.js.map +1 -0
  349. package/eui-list/index.d.ts +2 -0
  350. package/eui-list/index.d.ts.map +1 -0
  351. package/eui-list/index.js +2 -0
  352. package/eui-list/index.js.map +1 -0
  353. package/eui-menu/eui-wc-menu.d.ts +23 -0
  354. package/eui-menu/eui-wc-menu.d.ts.map +1 -0
  355. package/eui-menu/eui-wc-menu.js +45 -0
  356. package/eui-menu/eui-wc-menu.js.map +1 -0
  357. package/eui-menu/index.d.ts +2 -0
  358. package/eui-menu/index.d.ts.map +1 -0
  359. package/eui-menu/index.js +2 -0
  360. package/eui-menu/index.js.map +1 -0
  361. package/eui-message-box/eui-wc-message-box.d.ts +22 -0
  362. package/eui-message-box/eui-wc-message-box.d.ts.map +1 -0
  363. package/eui-message-box/eui-wc-message-box.js +71 -0
  364. package/eui-message-box/eui-wc-message-box.js.map +1 -0
  365. package/eui-message-box/index.d.ts +2 -0
  366. package/eui-message-box/index.d.ts.map +1 -0
  367. package/eui-message-box/index.js +2 -0
  368. package/eui-message-box/index.js.map +1 -0
  369. package/eui-overlay/eui-wc-overlay.d.ts +13 -0
  370. package/eui-overlay/eui-wc-overlay.d.ts.map +1 -0
  371. package/eui-overlay/eui-wc-overlay.js +37 -0
  372. package/eui-overlay/eui-wc-overlay.js.map +1 -0
  373. package/eui-overlay/index.d.ts +2 -0
  374. package/eui-overlay/index.d.ts.map +1 -0
  375. package/eui-overlay/index.js +2 -0
  376. package/eui-overlay/index.js.map +1 -0
  377. package/eui-page/eui-wc-page.d.ts +13 -0
  378. package/eui-page/eui-wc-page.d.ts.map +1 -0
  379. package/eui-page/eui-wc-page.js +38 -0
  380. package/eui-page/eui-wc-page.js.map +1 -0
  381. package/eui-page/index.d.ts +2 -0
  382. package/eui-page/index.d.ts.map +1 -0
  383. package/eui-page/index.js +2 -0
  384. package/eui-page/index.js.map +1 -0
  385. package/eui-paginator/eui-wc-paginator.d.ts +23 -0
  386. package/eui-paginator/eui-wc-paginator.d.ts.map +1 -0
  387. package/eui-paginator/eui-wc-paginator.js +74 -0
  388. package/eui-paginator/eui-wc-paginator.js.map +1 -0
  389. package/eui-paginator/index.d.ts +2 -0
  390. package/eui-paginator/index.d.ts.map +1 -0
  391. package/eui-paginator/index.js +2 -0
  392. package/eui-paginator/index.js.map +1 -0
  393. package/eui-phone-picker/eui-wc-phone-picker.d.ts +26 -0
  394. package/eui-phone-picker/eui-wc-phone-picker.d.ts.map +1 -0
  395. package/eui-phone-picker/eui-wc-phone-picker.js +73 -0
  396. package/eui-phone-picker/eui-wc-phone-picker.js.map +1 -0
  397. package/eui-phone-picker/index.d.ts +2 -0
  398. package/eui-phone-picker/index.d.ts.map +1 -0
  399. package/eui-phone-picker/index.js +2 -0
  400. package/eui-phone-picker/index.js.map +1 -0
  401. package/eui-popover/eui-wc-popover.d.ts +16 -0
  402. package/eui-popover/eui-wc-popover.d.ts.map +1 -0
  403. package/eui-popover/eui-wc-popover.js +58 -0
  404. package/eui-popover/eui-wc-popover.js.map +1 -0
  405. package/eui-popover/index.d.ts +2 -0
  406. package/eui-popover/index.d.ts.map +1 -0
  407. package/eui-popover/index.js +2 -0
  408. package/eui-popover/index.js.map +1 -0
  409. package/eui-progress-bar/eui-wc-progress-bar.d.ts +40 -0
  410. package/eui-progress-bar/eui-wc-progress-bar.d.ts.map +1 -0
  411. package/eui-progress-bar/eui-wc-progress-bar.js +199 -0
  412. package/eui-progress-bar/eui-wc-progress-bar.js.map +1 -0
  413. package/eui-progress-bar/index.d.ts +2 -0
  414. package/eui-progress-bar/index.d.ts.map +1 -0
  415. package/eui-progress-bar/index.js +2 -0
  416. package/eui-progress-bar/index.js.map +1 -0
  417. package/eui-progress-circle/eui-wc-progress-circle.d.ts +38 -0
  418. package/eui-progress-circle/eui-wc-progress-circle.d.ts.map +1 -0
  419. package/eui-progress-circle/eui-wc-progress-circle.js +306 -0
  420. package/eui-progress-circle/eui-wc-progress-circle.js.map +1 -0
  421. package/eui-progress-circle/index.d.ts +2 -0
  422. package/eui-progress-circle/index.d.ts.map +1 -0
  423. package/eui-progress-circle/index.js +2 -0
  424. package/eui-progress-circle/index.js.map +1 -0
  425. package/eui-rating/eui-wc-rating.d.ts +39 -0
  426. package/eui-rating/eui-wc-rating.d.ts.map +1 -0
  427. package/eui-rating/eui-wc-rating.js +177 -0
  428. package/eui-rating/eui-wc-rating.js.map +1 -0
  429. package/eui-rating/index.d.ts +2 -0
  430. package/eui-rating/index.d.ts.map +1 -0
  431. package/eui-rating/index.js +2 -0
  432. package/eui-rating/index.js.map +1 -0
  433. package/eui-section-header/eui-wc-section-header.d.ts +13 -0
  434. package/eui-section-header/eui-wc-section-header.d.ts.map +1 -0
  435. package/eui-section-header/eui-wc-section-header.js +36 -0
  436. package/eui-section-header/eui-wc-section-header.js.map +1 -0
  437. package/eui-section-header/index.d.ts +2 -0
  438. package/eui-section-header/index.d.ts.map +1 -0
  439. package/eui-section-header/index.js +2 -0
  440. package/eui-section-header/index.js.map +1 -0
  441. package/eui-select/eui-wc-select.d.ts +23 -0
  442. package/eui-select/eui-wc-select.d.ts.map +1 -0
  443. package/eui-select/eui-wc-select.js +67 -0
  444. package/eui-select/eui-wc-select.js.map +1 -0
  445. package/eui-select/index.d.ts +2 -0
  446. package/eui-select/index.d.ts.map +1 -0
  447. package/eui-select/index.js +2 -0
  448. package/eui-select/index.js.map +1 -0
  449. package/eui-skeleton/eui-wc-skeleton.d.ts +13 -0
  450. package/eui-skeleton/eui-wc-skeleton.d.ts.map +1 -0
  451. package/eui-skeleton/eui-wc-skeleton.js +35 -0
  452. package/eui-skeleton/eui-wc-skeleton.js.map +1 -0
  453. package/eui-skeleton/index.d.ts +2 -0
  454. package/eui-skeleton/index.d.ts.map +1 -0
  455. package/eui-skeleton/index.js +2 -0
  456. package/eui-skeleton/index.js.map +1 -0
  457. package/eui-slide-toggle/eui-wc-slide-toggle.d.ts +20 -0
  458. package/eui-slide-toggle/eui-wc-slide-toggle.d.ts.map +1 -0
  459. package/eui-slide-toggle/eui-wc-slide-toggle.js +93 -0
  460. package/eui-slide-toggle/eui-wc-slide-toggle.js.map +1 -0
  461. package/eui-slide-toggle/index.d.ts +2 -0
  462. package/eui-slide-toggle/index.d.ts.map +1 -0
  463. package/eui-slide-toggle/index.js +2 -0
  464. package/eui-slide-toggle/index.js.map +1 -0
  465. package/eui-slider/eui-wc-slider.d.ts +18 -0
  466. package/eui-slider/eui-wc-slider.d.ts.map +1 -0
  467. package/eui-slider/eui-wc-slider.js +57 -0
  468. package/eui-slider/eui-wc-slider.js.map +1 -0
  469. package/eui-slider/index.d.ts +2 -0
  470. package/eui-slider/index.d.ts.map +1 -0
  471. package/eui-slider/index.js +2 -0
  472. package/eui-slider/index.js.map +1 -0
  473. package/eui-split-button/eui-wc-split-button.d.ts +11 -0
  474. package/eui-split-button/eui-wc-split-button.d.ts.map +1 -0
  475. package/eui-split-button/eui-wc-split-button.js +17 -0
  476. package/eui-split-button/eui-wc-split-button.js.map +1 -0
  477. package/eui-split-button/index.d.ts +2 -0
  478. package/eui-split-button/index.d.ts.map +1 -0
  479. package/eui-split-button/index.js +2 -0
  480. package/eui-split-button/index.js.map +1 -0
  481. package/eui-status-badge/eui-wc-status-badge.d.ts +15 -0
  482. package/eui-status-badge/eui-wc-status-badge.d.ts.map +1 -0
  483. package/eui-status-badge/eui-wc-status-badge.js +45 -0
  484. package/eui-status-badge/eui-wc-status-badge.js.map +1 -0
  485. package/eui-status-badge/index.d.ts +2 -0
  486. package/eui-status-badge/index.d.ts.map +1 -0
  487. package/eui-status-badge/index.js +2 -0
  488. package/eui-status-badge/index.js.map +1 -0
  489. package/eui-table/eui-wc-table.d.ts +26 -0
  490. package/eui-table/eui-wc-table.d.ts.map +1 -0
  491. package/eui-table/eui-wc-table.js +84 -0
  492. package/eui-table/eui-wc-table.js.map +1 -0
  493. package/eui-table/index.d.ts +2 -0
  494. package/eui-table/index.d.ts.map +1 -0
  495. package/eui-table/index.js +2 -0
  496. package/eui-table/index.js.map +1 -0
  497. package/eui-tabs/eui-wc-tabs.d.ts +26 -0
  498. package/eui-tabs/eui-wc-tabs.d.ts.map +1 -0
  499. package/eui-tabs/eui-wc-tabs.js +78 -0
  500. package/eui-tabs/eui-wc-tabs.js.map +1 -0
  501. package/eui-tabs/index.d.ts +2 -0
  502. package/eui-tabs/index.d.ts.map +1 -0
  503. package/eui-tabs/index.js +2 -0
  504. package/eui-tabs/index.js.map +1 -0
  505. package/eui-textarea/eui-wc-textarea.d.ts +18 -0
  506. package/eui-textarea/eui-wc-textarea.d.ts.map +1 -0
  507. package/eui-textarea/eui-wc-textarea.js +63 -0
  508. package/eui-textarea/eui-wc-textarea.js.map +1 -0
  509. package/eui-textarea/index.d.ts +2 -0
  510. package/eui-textarea/index.d.ts.map +1 -0
  511. package/eui-textarea/index.js +2 -0
  512. package/eui-textarea/index.js.map +1 -0
  513. package/eui-timeline/eui-wc-timeline.d.ts +29 -0
  514. package/eui-timeline/eui-wc-timeline.d.ts.map +1 -0
  515. package/eui-timeline/eui-wc-timeline.js +119 -0
  516. package/eui-timeline/eui-wc-timeline.js.map +1 -0
  517. package/eui-timeline/index.d.ts +2 -0
  518. package/eui-timeline/index.d.ts.map +1 -0
  519. package/eui-timeline/index.js +2 -0
  520. package/eui-timeline/index.js.map +1 -0
  521. package/eui-timepicker/eui-wc-timepicker.d.ts +32 -0
  522. package/eui-timepicker/eui-wc-timepicker.d.ts.map +1 -0
  523. package/eui-timepicker/eui-wc-timepicker.js +102 -0
  524. package/eui-timepicker/eui-wc-timepicker.js.map +1 -0
  525. package/eui-timepicker/index.d.ts +2 -0
  526. package/eui-timepicker/index.d.ts.map +1 -0
  527. package/eui-timepicker/index.js +2 -0
  528. package/eui-timepicker/index.js.map +1 -0
  529. package/eui-toggle-group/eui-wc-toggle-group.d.ts +26 -0
  530. package/eui-toggle-group/eui-wc-toggle-group.d.ts.map +1 -0
  531. package/eui-toggle-group/eui-wc-toggle-group.js +80 -0
  532. package/eui-toggle-group/eui-wc-toggle-group.js.map +1 -0
  533. package/eui-toggle-group/index.d.ts +2 -0
  534. package/eui-toggle-group/index.d.ts.map +1 -0
  535. package/eui-toggle-group/index.js +2 -0
  536. package/eui-toggle-group/index.js.map +1 -0
  537. package/eui-tree/eui-wc-tree.d.ts +28 -0
  538. package/eui-tree/eui-wc-tree.d.ts.map +1 -0
  539. package/eui-tree/eui-wc-tree.js +57 -0
  540. package/eui-tree/eui-wc-tree.js.map +1 -0
  541. package/eui-tree/index.d.ts +2 -0
  542. package/eui-tree/index.d.ts.map +1 -0
  543. package/eui-tree/index.js +2 -0
  544. package/eui-tree/index.js.map +1 -0
  545. package/eui-tree-list/eui-wc-tree-list.d.ts +22 -0
  546. package/eui-tree-list/eui-wc-tree-list.d.ts.map +1 -0
  547. package/eui-tree-list/eui-wc-tree-list.js +51 -0
  548. package/eui-tree-list/eui-wc-tree-list.js.map +1 -0
  549. package/eui-tree-list/index.d.ts +2 -0
  550. package/eui-tree-list/index.d.ts.map +1 -0
  551. package/eui-tree-list/index.js +2 -0
  552. package/eui-tree-list/index.js.map +1 -0
  553. package/eui-user-profile/eui-wc-user-profile.d.ts +18 -0
  554. package/eui-user-profile/eui-wc-user-profile.d.ts.map +1 -0
  555. package/eui-user-profile/eui-wc-user-profile.js +52 -0
  556. package/eui-user-profile/eui-wc-user-profile.js.map +1 -0
  557. package/eui-user-profile/index.d.ts +2 -0
  558. package/eui-user-profile/index.d.ts.map +1 -0
  559. package/eui-user-profile/index.js +2 -0
  560. package/eui-user-profile/index.js.map +1 -0
  561. package/eui-wizard/eui-wc-wizard.d.ts +23 -0
  562. package/eui-wizard/eui-wc-wizard.d.ts.map +1 -0
  563. package/eui-wizard/eui-wc-wizard.js +75 -0
  564. package/eui-wizard/eui-wc-wizard.js.map +1 -0
  565. package/eui-wizard/index.d.ts +2 -0
  566. package/eui-wizard/index.d.ts.map +1 -0
  567. package/eui-wizard/index.js +2 -0
  568. package/eui-wizard/index.js.map +1 -0
  569. package/index.d.ts +72 -0
  570. package/index.d.ts.map +1 -0
  571. package/index.js +80 -0
  572. package/index.js.map +1 -0
  573. package/package.json +322 -4
  574. package/README.md +0 -3
@@ -0,0 +1,20 @@
1
+ import { LitElement } from 'lit';
2
+ /** `EuiWcInputNumber` — Lit WC projection of `eui-input-number`. */
3
+ export declare class EuiWcInputNumber extends LitElement {
4
+ static styles: import("lit").CSSResult;
5
+ value?: number;
6
+ placeholder: string;
7
+ min?: number;
8
+ max?: number;
9
+ step: number;
10
+ isInvalid: boolean;
11
+ disabled: boolean;
12
+ e2eAttr: string;
13
+ render(): import("lit-html").TemplateResult<1>;
14
+ }
15
+ declare global {
16
+ interface HTMLElementTagNameMap {
17
+ 'eui-wc-input-number': EuiWcInputNumber;
18
+ }
19
+ }
20
+ //# sourceMappingURL=eui-wc-input-number.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-input-number.d.ts","sourceRoot":"","sources":["../../src/eui-input-number/eui-wc-input-number.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD,oEAAoE;AACpE,qBACa,gBAAiB,SAAQ,UAAU;IAC5C,OAAgB,MAAM,0BAcpB;IAE0B,KAAK,CAAC,EAAE,MAAM,CAAC;IAC/B,WAAW,SAAM;IACD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,SAAK;IACgC,SAAS,UAAS;IAC3C,QAAQ,UAAS;IACxB,OAAO,SAAyB;IAE5D,MAAM;CAGlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,qBAAqB,EAAE,gBAAgB,CAAC;KAAE;CAC/E"}
@@ -0,0 +1,66 @@
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 { LitElement, html, css, nothing } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ /** `EuiWcInputNumber` — Lit WC projection of `eui-input-number`. */
10
+ let EuiWcInputNumber = class EuiWcInputNumber extends LitElement {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.placeholder = '';
14
+ this.step = 1;
15
+ this.isInvalid = false;
16
+ this.disabled = false;
17
+ this.e2eAttr = 'eui-wc-input-number';
18
+ }
19
+ static { this.styles = css `
20
+ :host { display: inline-flex; width: 100%; }
21
+ input {
22
+ background-color: var(--eui-c-surface-container);
23
+ border: 1px solid var(--eui-c-secondary-border);
24
+ border-radius: var(--eui-br-s);
25
+ color: var(--eui-c-text);
26
+ font: var(--eui-f-m);
27
+ padding: var(--eui-s-xs) var(--eui-s-m);
28
+ width: 100%;
29
+ }
30
+ input:focus { border-color: var(--eui-c-primary); outline: none; }
31
+ :host([is-invalid]) input { border-color: var(--eui-c-danger); }
32
+ :host([disabled]) input { opacity: var(--eui-o-50); cursor: not-allowed; }
33
+ `; }
34
+ render() {
35
+ return html `<input type="number" .value=${this.value?.toString() ?? ''} placeholder=${this.placeholder} min=${this.min ?? nothing} max=${this.max ?? nothing} step=${this.step} ?disabled=${this.disabled} aria-invalid=${this.isInvalid ? 'true' : nothing} @input=${(e) => { this.value = Number(e.target.value); this.dispatchEvent(new CustomEvent('eui-change', { detail: this.value, bubbles: true, composed: true })); }} />`;
36
+ }
37
+ };
38
+ __decorate([
39
+ property({ type: Number })
40
+ ], EuiWcInputNumber.prototype, "value", void 0);
41
+ __decorate([
42
+ property()
43
+ ], EuiWcInputNumber.prototype, "placeholder", void 0);
44
+ __decorate([
45
+ property({ type: Number })
46
+ ], EuiWcInputNumber.prototype, "min", void 0);
47
+ __decorate([
48
+ property({ type: Number })
49
+ ], EuiWcInputNumber.prototype, "max", void 0);
50
+ __decorate([
51
+ property({ type: Number })
52
+ ], EuiWcInputNumber.prototype, "step", void 0);
53
+ __decorate([
54
+ property({ attribute: 'is-invalid', type: Boolean, reflect: true })
55
+ ], EuiWcInputNumber.prototype, "isInvalid", void 0);
56
+ __decorate([
57
+ property({ type: Boolean, reflect: true })
58
+ ], EuiWcInputNumber.prototype, "disabled", void 0);
59
+ __decorate([
60
+ property({ attribute: 'data-e2e' })
61
+ ], EuiWcInputNumber.prototype, "e2eAttr", void 0);
62
+ EuiWcInputNumber = __decorate([
63
+ customElement('eui-wc-input-number')
64
+ ], EuiWcInputNumber);
65
+ export { EuiWcInputNumber };
66
+ //# sourceMappingURL=eui-wc-input-number.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-input-number.js","sourceRoot":"","sources":["../../src/eui-input-number/eui-wc-input-number.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D,oEAAoE;AAE7D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAkBS,gBAAW,GAAG,EAAE,CAAC;QAGD,SAAI,GAAG,CAAC,CAAC;QACgC,cAAS,GAAG,KAAK,CAAC;QAC3C,aAAQ,GAAG,KAAK,CAAC;QACxB,YAAO,GAAG,qBAAqB,CAAC;IAKzE,CAAC;aA5BmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;KAc3B,AAdqB,CAcpB;IAWO,MAAM;QACX,OAAO,IAAI,CAAA,+BAA+B,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,IAAI,CAAC,WAAW,QAAQ,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,IAAI,CAAC,GAAG,IAAI,OAAO,SAAS,IAAI,CAAC,IAAI,cAAc,IAAI,CAAC,QAAQ,iBAAiB,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,WAAW,CAAC,CAAQ,EAAE,EAAE,GAAG,IAAI,CAAC,KAAK,GAAG,MAAM,CAAE,CAAC,CAAC,MAA2B,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IACtc,CAAC;;AAX2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAAgB;AAC/B;IAAX,QAAQ,EAAE;qDAAkB;AACD;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CAAc;AACb;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CAAc;AACb;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CAAU;AACgC;IAApE,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDAAmB;AAC3C;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAAkB;AACxB;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;iDAAiC;AAxB5D,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CA6B5B"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcInputNumber } from './eui-wc-input-number.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-input-number/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcInputNumber } from './eui-wc-input-number.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-input-number/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { LitElement } from 'lit';
2
+ /** `EuiWcInputRadio` — Lit WC projection of `eui-input-radio`. */
3
+ export declare class EuiWcInputRadio extends LitElement {
4
+ static styles: import("lit").CSSResult;
5
+ checked: boolean;
6
+ value: string;
7
+ name: string;
8
+ disabled: boolean;
9
+ label?: string;
10
+ e2eAttr: string;
11
+ render(): import("lit-html").TemplateResult<1>;
12
+ }
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'eui-wc-input-radio': EuiWcInputRadio;
16
+ }
17
+ }
18
+ //# sourceMappingURL=eui-wc-input-radio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-input-radio.d.ts","sourceRoot":"","sources":["../../src/eui-input-radio/eui-wc-input-radio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,kEAAkE;AAClE,qBACa,eAAgB,SAAQ,UAAU;IAC3C,OAAgB,MAAM,0BAKpB;IAE2B,OAAO,UAAS;IACjC,KAAK,SAAM;IACX,IAAI,SAAM;IACsB,QAAQ,UAAS;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACU,OAAO,SAAwB;IAE3D,MAAM;CAMlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,oBAAoB,EAAE,eAAe,CAAC;KAAE;CAC7E"}
@@ -0,0 +1,54 @@
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 { LitElement, html, css } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ /** `EuiWcInputRadio` — Lit WC projection of `eui-input-radio`. */
10
+ let EuiWcInputRadio = class EuiWcInputRadio extends LitElement {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.checked = false;
14
+ this.value = '';
15
+ this.name = '';
16
+ this.disabled = false;
17
+ this.e2eAttr = 'eui-wc-input-radio';
18
+ }
19
+ static { this.styles = css `
20
+ :host { display: inline-flex; align-items: center; gap: var(--eui-s-xs); cursor: pointer; }
21
+ :host([disabled]) { opacity: var(--eui-o-50); cursor: not-allowed; }
22
+ input[type='radio'] { accent-color: var(--eui-c-primary); cursor: pointer; height: 1rem; width: 1rem; }
23
+ label { font: var(--eui-f-m); cursor: pointer; }
24
+ `; }
25
+ render() {
26
+ return html `
27
+ <input type="radio" .checked=${this.checked} value=${this.value} name=${this.name} ?disabled=${this.disabled} @change=${() => { this.dispatchEvent(new CustomEvent('eui-change', { detail: this.value, bubbles: true, composed: true })); }} />
28
+ ${this.label ? html `<label>${this.label}</label>` : html `<slot></slot>`}
29
+ `;
30
+ }
31
+ };
32
+ __decorate([
33
+ property({ type: Boolean })
34
+ ], EuiWcInputRadio.prototype, "checked", void 0);
35
+ __decorate([
36
+ property()
37
+ ], EuiWcInputRadio.prototype, "value", void 0);
38
+ __decorate([
39
+ property()
40
+ ], EuiWcInputRadio.prototype, "name", void 0);
41
+ __decorate([
42
+ property({ type: Boolean, reflect: true })
43
+ ], EuiWcInputRadio.prototype, "disabled", void 0);
44
+ __decorate([
45
+ property()
46
+ ], EuiWcInputRadio.prototype, "label", void 0);
47
+ __decorate([
48
+ property({ attribute: 'data-e2e' })
49
+ ], EuiWcInputRadio.prototype, "e2eAttr", void 0);
50
+ EuiWcInputRadio = __decorate([
51
+ customElement('eui-wc-input-radio')
52
+ ], EuiWcInputRadio);
53
+ export { EuiWcInputRadio };
54
+ //# sourceMappingURL=eui-wc-input-radio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-input-radio.js","sourceRoot":"","sources":["../../src/eui-input-radio/eui-wc-input-radio.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D,kEAAkE;AAE3D,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,UAAU;IAAxC;;QAQ0B,YAAO,GAAG,KAAK,CAAC;QACjC,UAAK,GAAG,EAAE,CAAC;QACX,SAAI,GAAG,EAAE,CAAC;QACsB,aAAQ,GAAG,KAAK,CAAC;QAExB,YAAO,GAAG,oBAAoB,CAAC;IAQxE,CAAC;aApBmB,WAAM,GAAG,GAAG,CAAA;;;;;KAK3B,AALqB,CAKpB;IASO,MAAM;QACX,OAAO,IAAI,CAAA;2CACwB,IAAI,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,SAAS,IAAI,CAAC,IAAI,cAAc,IAAI,CAAC,QAAQ,YAAY,GAAG,EAAE,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;cACzO,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA,UAAU,IAAI,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,CAAA,eAAe;SAC1E,CAAC;IACN,CAAC;;AAZ4B;IAA5B,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;gDAAiB;AACjC;IAAX,QAAQ,EAAE;8CAAY;AACX;IAAX,QAAQ,EAAE;6CAAW;AACsB;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAAkB;AACjD;IAAX,QAAQ,EAAE;8CAAgB;AACU;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;gDAAgC;AAb3D,eAAe;IAD3B,aAAa,CAAC,oBAAoB,CAAC;GACvB,eAAe,CAqB3B"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcInputRadio } from './eui-wc-input-radio.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-input-radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcInputRadio } from './eui-wc-input-radio.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-input-radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { LitElement } from 'lit';
2
+ /** `EuiWcInputText` — Lit WC projection of `eui-input-text`. */
3
+ export declare class EuiWcInputText extends LitElement {
4
+ static styles: import("lit").CSSResult;
5
+ value: string;
6
+ placeholder: string;
7
+ type: string;
8
+ isInvalid: boolean;
9
+ disabled: boolean;
10
+ isReadonly: boolean;
11
+ isClearable: boolean;
12
+ e2eAttr: string;
13
+ private _handleInput;
14
+ private _handleChange;
15
+ render(): import("lit-html").TemplateResult<1>;
16
+ }
17
+ declare global {
18
+ interface HTMLElementTagNameMap {
19
+ 'eui-wc-input-text': EuiWcInputText;
20
+ }
21
+ }
22
+ //# sourceMappingURL=eui-wc-input-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-input-text.d.ts","sourceRoot":"","sources":["../../src/eui-input-text/eui-wc-input-text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,MAAM,KAAK,CAAC;AAGrD,gEAAgE;AAChE,qBACa,cAAe,SAAQ,UAAU;IAC1C,OAAgB,MAAM,0BAepB;IAEU,KAAK,SAAM;IACX,WAAW,SAAM;IACjB,IAAI,SAAU;IAC2C,SAAS,UAAS;IAC3C,QAAQ,UAAS;IACS,UAAU,UAAS;IACjC,WAAW,UAAS;IACvC,OAAO,SAAuB;IAEnE,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IAEZ,MAAM;CAGlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,mBAAmB,EAAE,cAAc,CAAC;KAAE;CAC3E"}
@@ -0,0 +1,72 @@
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 { LitElement, html, css, nothing } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ /** `EuiWcInputText` — Lit WC projection of `eui-input-text`. */
10
+ let EuiWcInputText = class EuiWcInputText extends LitElement {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.value = '';
14
+ this.placeholder = '';
15
+ this.type = 'text';
16
+ this.isInvalid = false;
17
+ this.disabled = false;
18
+ this.isReadonly = false;
19
+ this.isClearable = false;
20
+ this.e2eAttr = 'eui-wc-input-text';
21
+ }
22
+ static { this.styles = css `
23
+ :host { display: inline-flex; width: 100%; }
24
+ .eui-input-text {
25
+ background-color: var(--eui-c-surface-container);
26
+ border: 1px solid var(--eui-c-secondary-border);
27
+ border-radius: var(--eui-br-s);
28
+ color: var(--eui-c-text);
29
+ font: var(--eui-f-m);
30
+ padding: var(--eui-s-xs) var(--eui-s-m);
31
+ width: 100%;
32
+ }
33
+ .eui-input-text:focus { border-color: var(--eui-c-primary); outline: none; box-shadow: 0 0 0 2px var(--eui-c-primary-surface-light); }
34
+ :host([is-invalid]) .eui-input-text { border-color: var(--eui-c-danger); }
35
+ :host([disabled]) .eui-input-text { opacity: var(--eui-o-50); cursor: not-allowed; }
36
+ :host([is-readonly]) .eui-input-text { background: var(--eui-c-surface-page); }
37
+ `; }
38
+ _handleInput(e) { this.value = e.target.value; this.dispatchEvent(new CustomEvent('eui-input', { detail: this.value, bubbles: true, composed: true })); }
39
+ _handleChange(e) { this.dispatchEvent(new CustomEvent('eui-change', { detail: e.target.value, bubbles: true, composed: true })); }
40
+ render() {
41
+ return html `<input class="eui-input-text" type=${this.type} .value=${this.value} placeholder=${this.placeholder} ?disabled=${this.disabled} ?readonly=${this.isReadonly} aria-invalid=${this.isInvalid ? 'true' : nothing} @input=${this._handleInput} @change=${this._handleChange} />`;
42
+ }
43
+ };
44
+ __decorate([
45
+ property()
46
+ ], EuiWcInputText.prototype, "value", void 0);
47
+ __decorate([
48
+ property()
49
+ ], EuiWcInputText.prototype, "placeholder", void 0);
50
+ __decorate([
51
+ property()
52
+ ], EuiWcInputText.prototype, "type", void 0);
53
+ __decorate([
54
+ property({ attribute: 'is-invalid', type: Boolean, reflect: true })
55
+ ], EuiWcInputText.prototype, "isInvalid", void 0);
56
+ __decorate([
57
+ property({ type: Boolean, reflect: true })
58
+ ], EuiWcInputText.prototype, "disabled", void 0);
59
+ __decorate([
60
+ property({ attribute: 'is-readonly', type: Boolean, reflect: true })
61
+ ], EuiWcInputText.prototype, "isReadonly", void 0);
62
+ __decorate([
63
+ property({ attribute: 'is-clearable', type: Boolean })
64
+ ], EuiWcInputText.prototype, "isClearable", void 0);
65
+ __decorate([
66
+ property({ attribute: 'data-e2e' })
67
+ ], EuiWcInputText.prototype, "e2eAttr", void 0);
68
+ EuiWcInputText = __decorate([
69
+ customElement('eui-wc-input-text')
70
+ ], EuiWcInputText);
71
+ export { EuiWcInputText };
72
+ //# sourceMappingURL=eui-wc-input-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-input-text.js","sourceRoot":"","sources":["../../src/eui-input-text/eui-wc-input-text.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D,gEAAgE;AAEzD,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;IAAvC;;QAkBS,UAAK,GAAG,EAAE,CAAC;QACX,gBAAW,GAAG,EAAE,CAAC;QACjB,SAAI,GAAG,MAAM,CAAC;QAC2C,cAAS,GAAG,KAAK,CAAC;QAC3C,aAAQ,GAAG,KAAK,CAAC;QACS,eAAU,GAAG,KAAK,CAAC;QACjC,gBAAW,GAAG,KAAK,CAAC;QACvC,YAAO,GAAG,mBAAmB,CAAC;IAQvE,CAAC;aAhCmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;KAe3B,AAfqB,CAepB;IAWM,YAAY,CAAC,CAAQ,IAAI,IAAI,CAAC,KAAK,GAAI,CAAC,CAAC,MAA2B,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IACtL,aAAa,CAAC,CAAQ,IAAI,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,YAAY,EAAE,EAAE,MAAM,EAAG,CAAC,CAAC,MAA2B,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAE9J,MAAM;QACX,OAAO,IAAI,CAAA,sCAAsC,IAAI,CAAC,IAAI,WAAW,IAAI,CAAC,KAAK,gBAAgB,IAAI,CAAC,WAAW,cAAc,IAAI,CAAC,QAAQ,cAAc,IAAI,CAAC,UAAU,iBAAiB,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,WAAW,IAAI,CAAC,YAAY,YAAY,IAAI,CAAC,aAAa,KAAK,CAAC;IAC7R,CAAC;;AAdW;IAAX,QAAQ,EAAE;6CAAY;AACX;IAAX,QAAQ,EAAE;mDAAkB;AACjB;IAAX,QAAQ,EAAE;4CAAe;AAC2C;IAApE,QAAQ,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAAmB;AAC3C;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAAkB;AACS;IAArE,QAAQ,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAAoB;AACjC;IAAvD,QAAQ,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;mDAAqB;AACvC;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;+CAA+B;AAzB1D,cAAc;IAD1B,aAAa,CAAC,mBAAmB,CAAC;GACtB,cAAc,CAiC1B"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcInputText } from './eui-wc-input-text.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-input-text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcInputText } from './eui-wc-input-text.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-input-text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { LitElement } from 'lit';
2
+ export type EuiWcLabelColor = 'primary' | 'neutral' | 'info' | 'success' | 'warning' | 'critical';
3
+ export type EuiWcLabelSize = 's' | 'm' | 'l';
4
+ /**
5
+ * `EuiWcLabel` — Lit Web Component projection of `eui-label`.
6
+ *
7
+ * Versatile textual label/sublabel with color + size variants and required/readonly/sublabel states.
8
+ * CSS custom properties pierce the Shadow DOM from `@eui/styles`.
9
+ *
10
+ * Usage: `<eui-wc-label color="primary" size="m">Label text</eui-wc-label>`
11
+ */
12
+ export declare class EuiWcLabel extends LitElement {
13
+ static styles: import("lit").CSSResult;
14
+ /** Color variant. */
15
+ color?: EuiWcLabelColor;
16
+ /** Size variant. @default 'm' */
17
+ size: EuiWcLabelSize;
18
+ /** Shows a required asterisk (*) after the label. @default false */
19
+ isRequired: boolean;
20
+ /** Readonly visual state. @default false */
21
+ isReadonly: boolean;
22
+ /** Sublabel style — smaller, lighter, block. @default false */
23
+ isSublabel: boolean;
24
+ /** Disabled visual state. @default false */
25
+ disabled: boolean;
26
+ /** `data-e2e` attribute. */
27
+ e2eAttr: string;
28
+ render(): import("lit-html").TemplateResult<1>;
29
+ }
30
+ declare global {
31
+ interface HTMLElementTagNameMap {
32
+ 'eui-wc-label': EuiWcLabel;
33
+ }
34
+ }
35
+ //# sourceMappingURL=eui-wc-label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-label.d.ts","sourceRoot":"","sources":["../../src/eui-label/eui-wc-label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAClG,MAAM,MAAM,cAAc,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE7C;;;;;;;GAOG;AACH,qBACa,UAAW,SAAQ,UAAU;IACtC,OAAgB,MAAM,0BAmCpB;IAEF,qBAAqB;IACQ,KAAK,CAAC,EAAE,eAAe,CAAC;IACrD,iCAAiC;IACJ,IAAI,EAAE,cAAc,CAAO;IACxD,oEAAoE;IACE,UAAU,UAAS;IACzF,4CAA4C;IAC0B,UAAU,UAAS;IACzF,+DAA+D;IACO,UAAU,UAAS;IACzF,4CAA4C;IACA,QAAQ,UAAS;IAC7D,4BAA4B;IACS,OAAO,SAAkB;IAErD,MAAM;CAGlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,cAAc,EAAE,UAAU,CAAC;KAC9B;CACJ"}
@@ -0,0 +1,98 @@
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 { LitElement, html, css } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ /**
10
+ * `EuiWcLabel` — Lit Web Component projection of `eui-label`.
11
+ *
12
+ * Versatile textual label/sublabel with color + size variants and required/readonly/sublabel states.
13
+ * CSS custom properties pierce the Shadow DOM from `@eui/styles`.
14
+ *
15
+ * Usage: `<eui-wc-label color="primary" size="m">Label text</eui-wc-label>`
16
+ */
17
+ let EuiWcLabel = class EuiWcLabel extends LitElement {
18
+ constructor() {
19
+ super(...arguments);
20
+ /** Size variant. @default 'm' */
21
+ this.size = 'm';
22
+ /** Shows a required asterisk (*) after the label. @default false */
23
+ this.isRequired = false;
24
+ /** Readonly visual state. @default false */
25
+ this.isReadonly = false;
26
+ /** Sublabel style — smaller, lighter, block. @default false */
27
+ this.isSublabel = false;
28
+ /** Disabled visual state. @default false */
29
+ this.disabled = false;
30
+ /** `data-e2e` attribute. */
31
+ this.e2eAttr = 'eui-wc-label';
32
+ }
33
+ static { this.styles = css `
34
+ :host {
35
+ display: inline-block;
36
+ font: var(--eui-f-m);
37
+ }
38
+
39
+ :host([is-sublabel]) {
40
+ color: var(--eui-c-text-light);
41
+ display: block;
42
+ font: var(--eui-f-m);
43
+ margin-bottom: var(--eui-s-3xs);
44
+ margin-top: var(--eui-s-3xs);
45
+ }
46
+
47
+ :host([color='primary']) { color: var(--eui-c-primary); }
48
+ :host([color='neutral']) { color: var(--eui-c-secondary); }
49
+ :host([color='info']) { color: var(--eui-c-info); }
50
+ :host([color='success']) { color: var(--eui-c-success); }
51
+ :host([color='warning']) { color: var(--eui-c-warning); }
52
+ :host([color='critical']){ color: var(--eui-c-danger); }
53
+
54
+ :host([size='s']) { font: var(--eui-f-s); }
55
+ :host([size='m']) { font: var(--eui-f-m); }
56
+ :host([size='l']) { font: var(--eui-f-l); }
57
+
58
+ :host([is-required])::after {
59
+ color: var(--eui-c-danger);
60
+ content: '*';
61
+ line-height: 1;
62
+ padding-left: var(--eui-s-3xs);
63
+ font: var(--eui-f-m-semi-bold);
64
+ }
65
+
66
+ :host([disabled]) { color: var(--eui-c-disabled); }
67
+ :host([is-readonly]) { color: var(--eui-c-readonly); }
68
+ `; }
69
+ render() {
70
+ return html `<slot></slot>`;
71
+ }
72
+ };
73
+ __decorate([
74
+ property({ reflect: true })
75
+ ], EuiWcLabel.prototype, "color", void 0);
76
+ __decorate([
77
+ property({ reflect: true })
78
+ ], EuiWcLabel.prototype, "size", void 0);
79
+ __decorate([
80
+ property({ attribute: 'is-required', type: Boolean, reflect: true })
81
+ ], EuiWcLabel.prototype, "isRequired", void 0);
82
+ __decorate([
83
+ property({ attribute: 'is-readonly', type: Boolean, reflect: true })
84
+ ], EuiWcLabel.prototype, "isReadonly", void 0);
85
+ __decorate([
86
+ property({ attribute: 'is-sublabel', type: Boolean, reflect: true })
87
+ ], EuiWcLabel.prototype, "isSublabel", void 0);
88
+ __decorate([
89
+ property({ type: Boolean, reflect: true })
90
+ ], EuiWcLabel.prototype, "disabled", void 0);
91
+ __decorate([
92
+ property({ attribute: 'data-e2e' })
93
+ ], EuiWcLabel.prototype, "e2eAttr", void 0);
94
+ EuiWcLabel = __decorate([
95
+ customElement('eui-wc-label')
96
+ ], EuiWcLabel);
97
+ export { EuiWcLabel };
98
+ //# sourceMappingURL=eui-wc-label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-label.js","sourceRoot":"","sources":["../../src/eui-label/eui-wc-label.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAK5D;;;;;;;GAOG;AAEI,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,UAAU;IAAnC;;QAwCH,iCAAiC;QACJ,SAAI,GAAmB,GAAG,CAAC;QACxD,oEAAoE;QACE,eAAU,GAAG,KAAK,CAAC;QACzF,4CAA4C;QAC0B,eAAU,GAAG,KAAK,CAAC;QACzF,+DAA+D;QACO,eAAU,GAAG,KAAK,CAAC;QACzF,4CAA4C;QACA,aAAQ,GAAG,KAAK,CAAC;QAC7D,4BAA4B;QACS,YAAO,GAAG,cAAc,CAAC;IAKlE,CAAC;aAvDmB,WAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAmC3B,AAnCqB,CAmCpB;IAiBO,MAAM;QACX,OAAO,IAAI,CAAA,eAAe,CAAC;IAC/B,CAAC;;AAhB4B;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yCAAyB;AAExB;IAA5B,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wCAA4B;AAEc;IAArE,QAAQ,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAAoB;AAEnB;IAArE,QAAQ,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAAoB;AAEnB;IAArE,QAAQ,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAAoB;AAE7C;IAA3C,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAAkB;AAExB;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;2CAA0B;AAnDrD,UAAU;IADtB,aAAa,CAAC,cAAc,CAAC;GACjB,UAAU,CAwDtB"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcLabel, type EuiWcLabelColor, type EuiWcLabelSize } from './eui-wc-label.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcLabel } from './eui-wc-label.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA6C,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { LitElement } from 'lit';
2
+ export interface EuiWcLanguage {
3
+ code: string;
4
+ label: string;
5
+ }
6
+ /** `EuiWcLanguageSelector` — Lit WC projection of `eui-language-selector`. */
7
+ export declare class EuiWcLanguageSelector extends LitElement {
8
+ static styles: import("lit").CSSResult;
9
+ activeLanguage: string;
10
+ languages: EuiWcLanguage[];
11
+ e2eAttr: string;
12
+ render(): import("lit-html").TemplateResult<1>;
13
+ }
14
+ declare global {
15
+ interface HTMLElementTagNameMap {
16
+ 'eui-wc-language-selector': EuiWcLanguageSelector;
17
+ }
18
+ }
19
+ //# sourceMappingURL=eui-wc-language-selector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-language-selector.d.ts","sourceRoot":"","sources":["../../src/eui-language-selector/eui-wc-language-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,WAAW,aAAa;IAAG,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;CAAE;AAE/D,8EAA8E;AAC9E,qBACa,qBAAsB,SAAQ,UAAU;IACjD,OAAgB,MAAM,0BAGpB;IAE0C,cAAc,SAAQ;IACvC,SAAS,EAAE,aAAa,EAAE,CAA2G;IAC3H,OAAO,SAA8B;IAEjE,MAAM;CAOlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAAG,0BAA0B,EAAE,qBAAqB,CAAC;KAAE;CACzF"}
@@ -0,0 +1,42 @@
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 { LitElement, html, css } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ /** `EuiWcLanguageSelector` — Lit WC projection of `eui-language-selector`. */
10
+ let EuiWcLanguageSelector = class EuiWcLanguageSelector extends LitElement {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.activeLanguage = 'en';
14
+ this.languages = [{ code: 'en', label: 'English' }, { code: 'fr', label: 'Français' }, { code: 'de', label: 'Deutsch' }];
15
+ this.e2eAttr = 'eui-wc-language-selector';
16
+ }
17
+ static { this.styles = css `
18
+ :host { display: inline-block; }
19
+ select { border: 1px solid var(--eui-c-border); border-radius: var(--eui-br-s); font: var(--eui-f-m); padding: var(--eui-s-3xs) var(--eui-s-s); background: var(--eui-c-surface-container); cursor: pointer; }
20
+ `; }
21
+ render() {
22
+ return html `
23
+ <select @change=${(e) => { this.activeLanguage = e.target.value; this.dispatchEvent(new CustomEvent('eui-language-change', { detail: this.activeLanguage, bubbles: true, composed: true })); }} aria-label="Select language">
24
+ ${this.languages.map((l) => html `<option value=${l.code} ?selected=${l.code === this.activeLanguage}>${l.label}</option>`)}
25
+ </select>
26
+ `;
27
+ }
28
+ };
29
+ __decorate([
30
+ property({ attribute: 'active-language' })
31
+ ], EuiWcLanguageSelector.prototype, "activeLanguage", void 0);
32
+ __decorate([
33
+ property({ type: Array })
34
+ ], EuiWcLanguageSelector.prototype, "languages", void 0);
35
+ __decorate([
36
+ property({ attribute: 'data-e2e' })
37
+ ], EuiWcLanguageSelector.prototype, "e2eAttr", void 0);
38
+ EuiWcLanguageSelector = __decorate([
39
+ customElement('eui-wc-language-selector')
40
+ ], EuiWcLanguageSelector);
41
+ export { EuiWcLanguageSelector };
42
+ //# sourceMappingURL=eui-wc-language-selector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-language-selector.js","sourceRoot":"","sources":["../../src/eui-language-selector/eui-wc-language-selector.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI5D,8EAA8E;AAEvE,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,UAAU;IAA9C;;QAMyC,mBAAc,GAAG,IAAI,CAAC;QACvC,cAAS,GAAoB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;QAC3H,YAAO,GAAG,0BAA0B,CAAC;IAS9E,CAAC;aAhBmB,WAAM,GAAG,GAAG,CAAA;;;KAG3B,AAHqB,CAGpB;IAMO,MAAM;QACX,OAAO,IAAI,CAAA;8BACW,CAAC,CAAQ,EAAE,EAAE,GAAG,IAAI,CAAC,cAAc,GAAI,CAAC,CAAC,MAA4B,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;kBACtN,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAA,iBAAiB,CAAC,CAAC,IAAI,cAAc,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC,KAAK,WAAW,CAAC;;SAEjI,CAAC;IACN,CAAC;;AAV2C;IAA3C,QAAQ,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;6DAAuB;AACvC;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;wDAAsI;AAC3H;IAApC,QAAQ,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;sDAAsC;AARjE,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAiBjC"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcLanguageSelector, type EuiWcLanguage } from './eui-wc-language-selector.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eui-language-selector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,aAAa,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { EuiWcLanguageSelector } from './eui-wc-language-selector.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eui-language-selector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAsB,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { LitElement } from 'lit';
2
+ export type EuiWcListItemColor = 'primary' | 'neutral' | 'info' | 'success' | 'warning' | 'critical';
3
+ /** `EuiWcList` — Lit WC projection of `eui-list`. */
4
+ export declare class EuiWcList extends LitElement {
5
+ static styles: import("lit").CSSResult;
6
+ render(): import("lit-html").TemplateResult<1>;
7
+ }
8
+ /** `EuiWcListItem` — individual list row. */
9
+ export declare class EuiWcListItem extends LitElement {
10
+ static styles: import("lit").CSSResult;
11
+ color?: EuiWcListItemColor;
12
+ isActive: boolean;
13
+ disabled: boolean;
14
+ render(): import("lit-html").TemplateResult<1>;
15
+ }
16
+ declare global {
17
+ interface HTMLElementTagNameMap {
18
+ 'eui-wc-list': EuiWcList;
19
+ 'eui-wc-list-item': EuiWcListItem;
20
+ }
21
+ }
22
+ //# sourceMappingURL=eui-wc-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-wc-list.d.ts","sourceRoot":"","sources":["../../src/eui-list/eui-wc-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAErG,qDAAqD;AACrD,qBACa,SAAU,SAAQ,UAAU;IACrC,OAAgB,MAAM,0BAGpB;IACO,MAAM;CAClB;AAED,6CAA6C;AAC7C,qBACa,aAAc,SAAQ,UAAU;IACzC,OAAgB,MAAM,0BAmBpB;IAE2B,KAAK,CAAC,EAAE,kBAAkB,CAAC;IACY,QAAQ,UAAS;IACzC,QAAQ,UAAS;IAEpD,MAAM;CAYlB;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,aAAa,EAAE,SAAS,CAAC;QACzB,kBAAkB,EAAE,aAAa,CAAC;KACrC;CACJ"}