@ebay/ui-core-react 5.6.3 → 5.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/common/component-utils/array.polyfill.flat.js +1 -0
  2. package/common/component-utils/forwardRef.js +9 -4
  3. package/common/component-utils/index.js +6 -2
  4. package/common/component-utils/usePrevious.js +2 -2
  5. package/common/debounce.d.ts +1 -1
  6. package/common/debounce.d.ts.map +1 -1
  7. package/common/debounce.js +5 -16
  8. package/common/event-utils/index.d.ts +2 -2
  9. package/common/event-utils/index.d.ts.map +1 -1
  10. package/common/event-utils/types.d.ts +10 -10
  11. package/common/event-utils/types.d.ts.map +1 -1
  12. package/common/event-utils/use-key-press.js +3 -3
  13. package/common/event-utils/use-roving-index.d.ts.map +1 -1
  14. package/common/event-utils/use-roving-index.js +12 -10
  15. package/common/floating-label-utils/hooks.d.ts +3 -3
  16. package/common/floating-label-utils/hooks.d.ts.map +1 -1
  17. package/common/floating-label-utils/hooks.js +22 -18
  18. package/common/notice-utils/notice-content.d.ts +1 -1
  19. package/common/notice-utils/notice-content.d.ts.map +1 -1
  20. package/common/notice-utils/notice-content.js +1 -1
  21. package/common/notice-utils/notice-cta.d.ts +1 -1
  22. package/common/notice-utils/notice-cta.d.ts.map +1 -1
  23. package/common/notice-utils/notice-cta.js +1 -1
  24. package/common/notice-utils/notice-footer.d.ts +1 -1
  25. package/common/notice-utils/notice-footer.d.ts.map +1 -1
  26. package/common/notice-utils/notice-footer.js +1 -1
  27. package/common/notice-utils/notice-title.d.ts +1 -1
  28. package/common/notice-utils/notice-title.d.ts.map +1 -1
  29. package/common/notice-utils/notice-title.js +1 -1
  30. package/common/random-id.js +2 -1
  31. package/common/range.js +2 -1
  32. package/common/tooltip-utils/index.js +8 -4
  33. package/common/tooltip-utils/tooltip-content.d.ts +1 -1
  34. package/common/tooltip-utils/tooltip-content.d.ts.map +1 -1
  35. package/common/tooltip-utils/tooltip-content.js +9 -9
  36. package/common/tooltip-utils/tooltip-footer.d.ts +1 -1
  37. package/common/tooltip-utils/tooltip-footer.d.ts.map +1 -1
  38. package/common/tooltip-utils/tooltip-footer.js +1 -1
  39. package/common/tooltip-utils/tooltip-host.d.ts +1 -1
  40. package/common/tooltip-utils/tooltip-host.d.ts.map +1 -1
  41. package/common/tooltip-utils/tooltip-host.js +1 -1
  42. package/common/tooltip-utils/tooltip.d.ts +2 -2
  43. package/common/tooltip-utils/tooltip.d.ts.map +1 -1
  44. package/common/tooltip-utils/tooltip.js +12 -8
  45. package/common/tooltip-utils/types.d.ts +2 -2
  46. package/common/tooltip-utils/types.d.ts.map +1 -1
  47. package/common/tooltip-utils/use-tooltip.d.ts +2 -2
  48. package/common/tooltip-utils/use-tooltip.d.ts.map +1 -1
  49. package/common/tooltip-utils/use-tooltip.js +3 -2
  50. package/ebay-alert-dialog/alert-dialog.js +8 -4
  51. package/ebay-alert-dialog/index.js +5 -1
  52. package/ebay-badge/badge.d.ts +2 -2
  53. package/ebay-badge/badge.d.ts.map +1 -1
  54. package/ebay-badge/badge.js +1 -1
  55. package/ebay-badge/index.js +5 -1
  56. package/ebay-breadcrumbs/breadcrumb-item.d.ts +2 -2
  57. package/ebay-breadcrumbs/breadcrumb-item.d.ts.map +1 -1
  58. package/ebay-breadcrumbs/breadcrumbs.d.ts +1 -1
  59. package/ebay-breadcrumbs/breadcrumbs.d.ts.map +1 -1
  60. package/ebay-breadcrumbs/breadcrumbs.js +9 -5
  61. package/ebay-breadcrumbs/index.js +6 -2
  62. package/ebay-button/button-cell.d.ts +2 -2
  63. package/ebay-button/button-cell.d.ts.map +1 -1
  64. package/ebay-button/button-cell.js +1 -1
  65. package/ebay-button/button-text.d.ts +1 -1
  66. package/ebay-button/button-text.d.ts.map +1 -1
  67. package/ebay-button/button-text.js +1 -1
  68. package/ebay-button/button.d.ts +3 -3
  69. package/ebay-button/button.d.ts.map +1 -1
  70. package/ebay-button/button.js +14 -10
  71. package/ebay-button/index.js +6 -2
  72. package/ebay-button/types.d.ts +5 -5
  73. package/ebay-button/types.d.ts.map +1 -1
  74. package/ebay-carousel/carousel-control-button.d.ts +1 -1
  75. package/ebay-carousel/carousel-control-button.d.ts.map +1 -1
  76. package/ebay-carousel/carousel-control-button.js +2 -2
  77. package/ebay-carousel/carousel-item.d.ts +3 -3
  78. package/ebay-carousel/carousel-item.d.ts.map +1 -1
  79. package/ebay-carousel/carousel-item.js +11 -7
  80. package/ebay-carousel/carousel-list.d.ts +1 -1
  81. package/ebay-carousel/carousel-list.d.ts.map +1 -1
  82. package/ebay-carousel/carousel-list.js +18 -14
  83. package/ebay-carousel/carousel.d.ts +1 -1
  84. package/ebay-carousel/carousel.d.ts.map +1 -1
  85. package/ebay-carousel/carousel.js +23 -19
  86. package/ebay-carousel/helpers.d.ts.map +1 -1
  87. package/ebay-carousel/helpers.js +19 -13
  88. package/ebay-carousel/index.d.ts +1 -1
  89. package/ebay-carousel/index.d.ts.map +1 -1
  90. package/ebay-carousel/index.js +6 -2
  91. package/ebay-carousel/scroll-to-transition.d.ts +1 -1
  92. package/ebay-carousel/scroll-to-transition.d.ts.map +1 -1
  93. package/ebay-carousel/types.d.ts +4 -4
  94. package/ebay-carousel/types.d.ts.map +1 -1
  95. package/ebay-checkbox/checkbox.d.ts +3 -3
  96. package/ebay-checkbox/checkbox.d.ts.map +1 -1
  97. package/ebay-checkbox/checkbox.js +10 -6
  98. package/ebay-checkbox/index.js +5 -1
  99. package/ebay-confirm-dialog/confirm-dialog.js +8 -4
  100. package/ebay-confirm-dialog/index.js +5 -1
  101. package/ebay-cta-button/cta-button.d.ts +3 -3
  102. package/ebay-cta-button/cta-button.d.ts.map +1 -1
  103. package/ebay-cta-button/cta-button.js +2 -2
  104. package/ebay-cta-button/index.js +5 -1
  105. package/ebay-dialog-base/components/animation.d.ts +1 -1
  106. package/ebay-dialog-base/components/animation.d.ts.map +1 -1
  107. package/ebay-dialog-base/components/animation.js +5 -5
  108. package/ebay-dialog-base/components/dialog-actions.d.ts +1 -1
  109. package/ebay-dialog-base/components/dialog-actions.d.ts.map +1 -1
  110. package/ebay-dialog-base/components/dialog-footer.d.ts +1 -1
  111. package/ebay-dialog-base/components/dialog-footer.d.ts.map +1 -1
  112. package/ebay-dialog-base/components/dialog-header.d.ts +1 -1
  113. package/ebay-dialog-base/components/dialog-header.d.ts.map +1 -1
  114. package/ebay-dialog-base/components/dialog-previous-button.d.ts +1 -1
  115. package/ebay-dialog-base/components/dialog-previous-button.d.ts.map +1 -1
  116. package/ebay-dialog-base/components/dialog-previous-button.js +1 -1
  117. package/ebay-dialog-base/components/dialogBase.d.ts +3 -3
  118. package/ebay-dialog-base/components/dialogBase.d.ts.map +1 -1
  119. package/ebay-dialog-base/components/dialogBase.js +28 -23
  120. package/ebay-dialog-base/dialog-base-with-state.d.ts.map +1 -1
  121. package/ebay-dialog-base/dialog-base-with-state.js +8 -3
  122. package/ebay-dialog-base/index.js +10 -6
  123. package/ebay-drawer-dialog/components/drawer.js +11 -7
  124. package/ebay-drawer-dialog/index.js +5 -1
  125. package/ebay-eek/eek-rating.d.ts +1 -1
  126. package/ebay-eek/eek-rating.d.ts.map +1 -1
  127. package/ebay-eek/eek-rating.js +3 -3
  128. package/ebay-eek/index.js +5 -1
  129. package/ebay-fake-menu/index.js +7 -3
  130. package/ebay-fake-menu/menu-item-separator.d.ts +1 -1
  131. package/ebay-fake-menu/menu-item-separator.d.ts.map +1 -1
  132. package/ebay-fake-menu/menu-item-separator.js +1 -1
  133. package/ebay-fake-menu/menu-item.d.ts +1 -1
  134. package/ebay-fake-menu/menu-item.d.ts.map +1 -1
  135. package/ebay-fake-menu/menu-item.js +9 -5
  136. package/ebay-fake-menu/menu.d.ts +2 -2
  137. package/ebay-fake-menu/menu.d.ts.map +1 -1
  138. package/ebay-fake-menu/menu.js +8 -4
  139. package/ebay-fake-menu-button/index.js +8 -4
  140. package/ebay-fake-menu-button/menu-button-separator.d.ts +1 -1
  141. package/ebay-fake-menu-button/menu-button-separator.d.ts.map +1 -1
  142. package/ebay-fake-menu-button/menu-button-separator.js +1 -1
  143. package/ebay-fake-menu-button/menu-button.d.ts +4 -4
  144. package/ebay-fake-menu-button/menu-button.d.ts.map +1 -1
  145. package/ebay-fake-menu-button/menu-button.js +20 -16
  146. package/ebay-fake-tabs/fake-tabs.d.ts +1 -1
  147. package/ebay-fake-tabs/fake-tabs.d.ts.map +1 -1
  148. package/ebay-fake-tabs/fake-tabs.js +10 -6
  149. package/ebay-fake-tabs/index.js +6 -2
  150. package/ebay-fake-tabs/tab.d.ts +1 -1
  151. package/ebay-fake-tabs/tab.d.ts.map +1 -1
  152. package/ebay-fake-tabs/tab.js +1 -1
  153. package/ebay-field/description.d.ts +1 -1
  154. package/ebay-field/description.d.ts.map +1 -1
  155. package/ebay-field/description.js +1 -1
  156. package/ebay-field/field.d.ts +1 -1
  157. package/ebay-field/field.d.ts.map +1 -1
  158. package/ebay-field/field.js +1 -1
  159. package/ebay-field/index.js +7 -3
  160. package/ebay-field/label.d.ts +1 -1
  161. package/ebay-field/label.d.ts.map +1 -1
  162. package/ebay-field/label.js +1 -1
  163. package/ebay-field/types.d.ts +4 -4
  164. package/ebay-field/types.d.ts.map +1 -1
  165. package/ebay-fullscreen-dialog/fullscreen-dialog.js +1 -1
  166. package/ebay-fullscreen-dialog/index.js +5 -1
  167. package/ebay-icon/icon.d.ts +3 -3
  168. package/ebay-icon/icon.d.ts.map +1 -1
  169. package/ebay-icon/icon.js +15 -11
  170. package/ebay-icon/index.js +5 -1
  171. package/ebay-icon/types.d.ts +1 -1
  172. package/ebay-icon/types.d.ts.map +1 -1
  173. package/ebay-icon-button/icon-button.d.ts +5 -5
  174. package/ebay-icon-button/icon-button.d.ts.map +1 -1
  175. package/ebay-icon-button/icon-button.js +4 -4
  176. package/ebay-icon-button/index.js +5 -1
  177. package/ebay-infotip/ebay-infotip-heading.d.ts +1 -1
  178. package/ebay-infotip/ebay-infotip-heading.d.ts.map +1 -1
  179. package/ebay-infotip/ebay-infotip-heading.js +1 -1
  180. package/ebay-infotip/ebay-infotip-host.d.ts +2 -2
  181. package/ebay-infotip/ebay-infotip-host.d.ts.map +1 -1
  182. package/ebay-infotip/ebay-infotip-host.js +2 -2
  183. package/ebay-infotip/ebay-infotip.d.ts +1 -1
  184. package/ebay-infotip/ebay-infotip.d.ts.map +1 -1
  185. package/ebay-infotip/ebay-infotip.js +14 -11
  186. package/ebay-infotip/index.js +8 -4
  187. package/ebay-infotip/types.d.ts +1 -1
  188. package/ebay-infotip/types.d.ts.map +1 -1
  189. package/ebay-inline-notice/index.js +5 -1
  190. package/ebay-inline-notice/inline-notice.d.ts +1 -1
  191. package/ebay-inline-notice/inline-notice.d.ts.map +1 -1
  192. package/ebay-inline-notice/inline-notice.js +10 -6
  193. package/ebay-inline-notice/types.d.ts +1 -1
  194. package/ebay-inline-notice/types.d.ts.map +1 -1
  195. package/ebay-lightbox-dialog/index.js +5 -1
  196. package/ebay-lightbox-dialog/lightbox-dialog.d.ts +1 -1
  197. package/ebay-lightbox-dialog/lightbox-dialog.d.ts.map +1 -1
  198. package/ebay-lightbox-dialog/lightbox-dialog.js +2 -2
  199. package/ebay-listbox-button/index.js +6 -2
  200. package/ebay-listbox-button/listbox-button-option.d.ts +1 -1
  201. package/ebay-listbox-button/listbox-button-option.d.ts.map +1 -1
  202. package/ebay-listbox-button/listbox-button-option.js +2 -2
  203. package/ebay-listbox-button/listbox-button.d.ts +2 -2
  204. package/ebay-listbox-button/listbox-button.d.ts.map +1 -1
  205. package/ebay-listbox-button/listbox-button.js +22 -18
  206. package/ebay-menu/index.js +13 -5
  207. package/ebay-menu/menu-item-separator.d.ts +1 -1
  208. package/ebay-menu/menu-item-separator.d.ts.map +1 -1
  209. package/ebay-menu/menu-item-separator.js +1 -1
  210. package/ebay-menu/menu-item.d.ts +1 -1
  211. package/ebay-menu/menu-item.d.ts.map +1 -1
  212. package/ebay-menu/menu-item.js +9 -5
  213. package/ebay-menu/menu.d.ts +1 -1
  214. package/ebay-menu/menu.js +23 -17
  215. package/ebay-menu/types.d.ts +10 -10
  216. package/ebay-menu/types.d.ts.map +1 -1
  217. package/ebay-menu-button/index.js +14 -6
  218. package/ebay-menu-button/menu-button-separator.d.ts +1 -1
  219. package/ebay-menu-button/menu-button-separator.d.ts.map +1 -1
  220. package/ebay-menu-button/menu-button-separator.js +1 -1
  221. package/ebay-menu-button/menu-button.d.ts +3 -3
  222. package/ebay-menu-button/menu-button.d.ts.map +1 -1
  223. package/ebay-menu-button/menu-button.js +21 -17
  224. package/ebay-menu-button/types.d.ts +1 -1
  225. package/ebay-menu-button/types.d.ts.map +1 -1
  226. package/ebay-notice-base/components/ebay-notice-content/index.js +5 -1
  227. package/ebay-notice-base/components/ebay-notice-content/notice-content.d.ts +1 -1
  228. package/ebay-notice-base/components/ebay-notice-content/notice-content.d.ts.map +1 -1
  229. package/ebay-notice-base/components/ebay-notice-title/index.js +5 -1
  230. package/ebay-notice-base/index.js +1 -0
  231. package/ebay-page-notice/index.js +8 -4
  232. package/ebay-page-notice/page-notice-cta.d.ts +1 -1
  233. package/ebay-page-notice/page-notice-cta.d.ts.map +1 -1
  234. package/ebay-page-notice/page-notice-footer.d.ts +1 -1
  235. package/ebay-page-notice/page-notice-footer.d.ts.map +1 -1
  236. package/ebay-page-notice/page-notice-title.d.ts +1 -1
  237. package/ebay-page-notice/page-notice-title.d.ts.map +1 -1
  238. package/ebay-page-notice/page-notice.d.ts +2 -2
  239. package/ebay-page-notice/page-notice.d.ts.map +1 -1
  240. package/ebay-page-notice/page-notice.js +10 -6
  241. package/ebay-pagination/index.js +6 -2
  242. package/ebay-pagination/pagination-item.d.ts +4 -4
  243. package/ebay-pagination/pagination-item.d.ts.map +1 -1
  244. package/ebay-pagination/pagination-item.js +3 -3
  245. package/ebay-pagination/pagination.d.ts +1 -1
  246. package/ebay-pagination/pagination.d.ts.map +1 -1
  247. package/ebay-pagination/pagination.js +40 -28
  248. package/ebay-pagination/types.d.ts +2 -2
  249. package/ebay-pagination/types.d.ts.map +1 -1
  250. package/ebay-panel-dialog/index.js +5 -1
  251. package/ebay-panel-dialog/panel-dialog.d.ts +1 -1
  252. package/ebay-panel-dialog/panel-dialog.d.ts.map +1 -1
  253. package/ebay-panel-dialog/panel-dialog.js +2 -2
  254. package/ebay-progress-bar/index.js +5 -1
  255. package/ebay-progress-bar/progress-bar.d.ts +1 -1
  256. package/ebay-progress-bar/progress-bar.d.ts.map +1 -1
  257. package/ebay-progress-bar/progress-bar.js +1 -1
  258. package/ebay-progress-spinner/index.js +5 -1
  259. package/ebay-progress-spinner/progress-spinner.d.ts +3 -3
  260. package/ebay-progress-spinner/progress-spinner.d.ts.map +1 -1
  261. package/ebay-progress-spinner/progress-spinner.js +1 -1
  262. package/ebay-progress-stepper/ebay-progress-step.d.ts +1 -1
  263. package/ebay-progress-stepper/ebay-progress-step.d.ts.map +1 -1
  264. package/ebay-progress-stepper/ebay-progress-step.js +7 -3
  265. package/ebay-progress-stepper/ebay-progress-stepper.d.ts +1 -1
  266. package/ebay-progress-stepper/ebay-progress-stepper.d.ts.map +1 -1
  267. package/ebay-progress-stepper/ebay-progress-stepper.js +8 -4
  268. package/ebay-progress-stepper/ebay-progress-title.d.ts +1 -1
  269. package/ebay-progress-stepper/ebay-progress-title.d.ts.map +1 -1
  270. package/ebay-progress-stepper/ebay-progress-title.js +1 -1
  271. package/ebay-progress-stepper/index.js +7 -3
  272. package/ebay-progress-stepper/types.d.ts +2 -2
  273. package/ebay-progress-stepper/types.d.ts.map +1 -1
  274. package/ebay-radio/index.js +5 -1
  275. package/ebay-radio/radio.d.ts +3 -3
  276. package/ebay-radio/radio.d.ts.map +1 -1
  277. package/ebay-radio/radio.js +8 -4
  278. package/ebay-section-notice/index.js +7 -3
  279. package/ebay-section-notice/section-notice-footer.d.ts +1 -1
  280. package/ebay-section-notice/section-notice-footer.d.ts.map +1 -1
  281. package/ebay-section-notice/section-notice-title.d.ts +1 -1
  282. package/ebay-section-notice/section-notice-title.d.ts.map +1 -1
  283. package/ebay-section-notice/section-notice.d.ts +2 -2
  284. package/ebay-section-notice/section-notice.d.ts.map +1 -1
  285. package/ebay-section-notice/section-notice.js +12 -8
  286. package/ebay-section-title/cta.d.ts +1 -1
  287. package/ebay-section-title/cta.d.ts.map +1 -1
  288. package/ebay-section-title/cta.js +1 -1
  289. package/ebay-section-title/index.js +9 -5
  290. package/ebay-section-title/info.d.ts +1 -1
  291. package/ebay-section-title/info.d.ts.map +1 -1
  292. package/ebay-section-title/info.js +1 -1
  293. package/ebay-section-title/overflow.d.ts +1 -1
  294. package/ebay-section-title/overflow.d.ts.map +1 -1
  295. package/ebay-section-title/overflow.js +1 -1
  296. package/ebay-section-title/section-title.d.ts +1 -1
  297. package/ebay-section-title/section-title.d.ts.map +1 -1
  298. package/ebay-section-title/section-title.js +5 -5
  299. package/ebay-section-title/subtitle.d.ts +1 -1
  300. package/ebay-section-title/subtitle.d.ts.map +1 -1
  301. package/ebay-section-title/subtitle.js +1 -1
  302. package/ebay-section-title/title.d.ts +1 -1
  303. package/ebay-section-title/title.d.ts.map +1 -1
  304. package/ebay-section-title/title.js +1 -1
  305. package/ebay-select/ebay-select-option.d.ts +1 -1
  306. package/ebay-select/ebay-select-option.d.ts.map +1 -1
  307. package/ebay-select/ebay-select.d.ts +3 -3
  308. package/ebay-select/ebay-select.d.ts.map +1 -1
  309. package/ebay-select/ebay-select.js +12 -8
  310. package/ebay-select/index.js +6 -2
  311. package/ebay-signal/index.js +5 -1
  312. package/ebay-signal/signal.d.ts +2 -2
  313. package/ebay-signal/signal.d.ts.map +1 -1
  314. package/ebay-signal/signal.js +1 -1
  315. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.d.ts.map +1 -1
  316. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.js +3 -2
  317. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.d.ts +1 -1
  318. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.d.ts.map +1 -1
  319. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.js +14 -9
  320. package/ebay-snackbar-dialog/index.js +1 -0
  321. package/ebay-split-button/index.js +11 -3
  322. package/ebay-split-button/split-button.js +2 -2
  323. package/ebay-split-button/types.d.ts +3 -3
  324. package/ebay-split-button/types.d.ts.map +1 -1
  325. package/ebay-star-rating/index.js +11 -3
  326. package/ebay-star-rating/star-rating.d.ts +1 -1
  327. package/ebay-star-rating/star-rating.d.ts.map +1 -1
  328. package/ebay-star-rating/star-rating.js +2 -2
  329. package/ebay-star-rating-select/index.js +11 -3
  330. package/ebay-star-rating-select/star-rating-select.d.ts +2 -2
  331. package/ebay-star-rating-select/star-rating-select.d.ts.map +1 -1
  332. package/ebay-star-rating-select/star-rating-select.js +12 -8
  333. package/ebay-svg/index.js +5 -1
  334. package/ebay-switch/ebay-switch.d.ts +1 -1
  335. package/ebay-switch/ebay-switch.d.ts.map +1 -1
  336. package/ebay-switch/ebay-switch.js +9 -5
  337. package/ebay-switch/index.js +5 -1
  338. package/ebay-tabs/index.d.ts +1 -1
  339. package/ebay-tabs/index.d.ts.map +1 -1
  340. package/ebay-tabs/index.js +7 -3
  341. package/ebay-tabs/tab-panel.d.ts +1 -1
  342. package/ebay-tabs/tab-panel.d.ts.map +1 -1
  343. package/ebay-tabs/tab-panel.js +1 -1
  344. package/ebay-tabs/tab.d.ts +1 -1
  345. package/ebay-tabs/tab.d.ts.map +1 -1
  346. package/ebay-tabs/tab.js +1 -1
  347. package/ebay-tabs/tabs.d.ts +2 -14
  348. package/ebay-tabs/tabs.d.ts.map +1 -1
  349. package/ebay-tabs/tabs.js +18 -14
  350. package/ebay-tabs/types.d.ts +16 -2
  351. package/ebay-tabs/types.d.ts.map +1 -1
  352. package/ebay-textbox/index.js +7 -3
  353. package/ebay-textbox/textbox.d.ts +4 -4
  354. package/ebay-textbox/textbox.d.ts.map +1 -1
  355. package/ebay-textbox/textbox.js +16 -12
  356. package/ebay-textbox/types.d.ts +2 -2
  357. package/ebay-textbox/types.d.ts.map +1 -1
  358. package/ebay-toast-dialog/components/toast.d.ts +1 -1
  359. package/ebay-toast-dialog/components/toast.d.ts.map +1 -1
  360. package/ebay-toast-dialog/components/toast.js +3 -2
  361. package/ebay-toast-dialog/index.js +5 -1
  362. package/ebay-tooltip/ebay-tooltip.d.ts +1 -1
  363. package/ebay-tooltip/ebay-tooltip.d.ts.map +1 -1
  364. package/ebay-tooltip/ebay-tooltip.js +10 -6
  365. package/ebay-tooltip/index.js +7 -3
  366. package/ebay-tourtip/ebay-tourtip-footer.d.ts +1 -1
  367. package/ebay-tourtip/ebay-tourtip-footer.d.ts.map +1 -1
  368. package/ebay-tourtip/ebay-tourtip-heading.d.ts +1 -1
  369. package/ebay-tourtip/ebay-tourtip-heading.d.ts.map +1 -1
  370. package/ebay-tourtip/ebay-tourtip-heading.js +1 -1
  371. package/ebay-tourtip/ebay-tourtip.d.ts +1 -1
  372. package/ebay-tourtip/ebay-tourtip.d.ts.map +1 -1
  373. package/ebay-tourtip/ebay-tourtip.js +13 -9
  374. package/ebay-tourtip/index.js +9 -5
  375. package/ebay-video/controls.js +3 -1
  376. package/ebay-video/index.js +12 -4
  377. package/ebay-video/reportButton.js +2 -1
  378. package/ebay-video/source.d.ts +1 -1
  379. package/ebay-video/source.d.ts.map +1 -1
  380. package/ebay-video/types.d.ts +5 -5
  381. package/ebay-video/types.d.ts.map +1 -1
  382. package/ebay-video/video.d.ts +3 -3
  383. package/ebay-video/video.d.ts.map +1 -1
  384. package/ebay-video/video.js +32 -26
  385. package/package.json +2 -2
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EbayFakeMenuButtonLabel = exports.EbayFakeMenuButtonSeparator = exports.EbayFakeMenuButtonItem = exports.EbayFakeMenuButton = void 0;
3
7
  var menu_button_1 = require("./menu-button");
4
- Object.defineProperty(exports, "EbayFakeMenuButton", { enumerable: true, get: function () { return menu_button_1.default; } });
8
+ Object.defineProperty(exports, "EbayFakeMenuButton", { enumerable: true, get: function () { return __importDefault(menu_button_1).default; } });
5
9
  var menu_button_item_1 = require("./menu-button-item");
6
- Object.defineProperty(exports, "EbayFakeMenuButtonItem", { enumerable: true, get: function () { return menu_button_item_1.default; } });
10
+ Object.defineProperty(exports, "EbayFakeMenuButtonItem", { enumerable: true, get: function () { return __importDefault(menu_button_item_1).default; } });
7
11
  var menu_button_separator_1 = require("./menu-button-separator");
8
- Object.defineProperty(exports, "EbayFakeMenuButtonSeparator", { enumerable: true, get: function () { return menu_button_separator_1.default; } });
12
+ Object.defineProperty(exports, "EbayFakeMenuButtonSeparator", { enumerable: true, get: function () { return __importDefault(menu_button_separator_1).default; } });
9
13
  var menu_button_label_1 = require("./menu-button-label");
10
- Object.defineProperty(exports, "EbayFakeMenuButtonLabel", { enumerable: true, get: function () { return menu_button_label_1.default; } });
14
+ Object.defineProperty(exports, "EbayFakeMenuButtonLabel", { enumerable: true, get: function () { return __importDefault(menu_button_label_1).default; } });
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC } from 'react';
2
- declare type Props = ComponentProps<'hr'>;
2
+ type Props = ComponentProps<'hr'>;
3
3
  declare const EbayMenuButtonSeparator: FC<Props>;
4
4
  export default EbayMenuButtonSeparator;
5
5
  //# sourceMappingURL=menu-button-separator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu-button-separator.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/menu-button-separator.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAGjD,aAAK,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,CAAA;AAEjC,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,KAAK,CAStC,CAAA;AAED,eAAe,uBAAuB,CAAA"}
1
+ {"version":3,"file":"menu-button-separator.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/menu-button-separator.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAGjD,KAAK,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,CAAA;AAEjC,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,KAAK,CAStC,CAAA;AAED,eAAe,uBAAuB,CAAA"}
@@ -29,6 +29,6 @@ var react_1 = __importDefault(require("react"));
29
29
  var classnames_1 = __importDefault(require("classnames"));
30
30
  var EbayMenuButtonSeparator = function (_a) {
31
31
  var className = _a.className, rest = __rest(_a, ["className"]);
32
- return (react_1.default.createElement("hr", __assign({}, rest, { className: classnames_1.default(className, 'menu-button__separator'), role: "separator" })));
32
+ return (react_1.default.createElement("hr", __assign({}, rest, { className: (0, classnames_1.default)(className, 'menu-button__separator'), role: "separator" })));
33
33
  };
34
34
  exports.default = EbayMenuButtonSeparator;
@@ -1,8 +1,8 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { EbayKeyboardEventHandler, EbayMouseEventHandler } from '../common/event-utils/types';
3
3
  import { EbayButtonProps } from '../ebay-button';
4
- export declare type EbayFakeMenuButtonVariant = 'overflow' | 'form' | 'button';
5
- export declare type EbayFakeMenuButtonProps = {
4
+ export type EbayFakeMenuButtonVariant = 'overflow' | 'form' | 'button';
5
+ export type EbayFakeMenuButtonProps = {
6
6
  a11yText?: string;
7
7
  noToggleIcon?: boolean;
8
8
  expanded?: boolean;
@@ -21,8 +21,8 @@ export declare type EbayFakeMenuButtonProps = {
21
21
  index: number;
22
22
  }>;
23
23
  };
24
- declare type ButtonProps = Omit<EbayButtonProps, 'variant' | 'onKeyDown' | 'onMouseDown'> & Omit<ComponentProps<'button'>, 'onKeyDown' | 'onMouseDown' | 'onSelect'> & Omit<ComponentProps<'a'>, 'onKeyDown' | 'onMouseDown' | 'onSelect'>;
25
- declare type Props = ButtonProps & EbayFakeMenuButtonProps;
24
+ type ButtonProps = Omit<EbayButtonProps, 'variant' | 'onKeyDown' | 'onMouseDown'> & Omit<ComponentProps<'button'>, 'onKeyDown' | 'onMouseDown' | 'onSelect'> & Omit<ComponentProps<'a'>, 'onKeyDown' | 'onMouseDown' | 'onSelect'>;
25
+ type Props = ButtonProps & EbayFakeMenuButtonProps;
26
26
  declare const EbayMenuButton: FC<Props>;
27
27
  export default EbayMenuButton;
28
28
  //# sourceMappingURL=menu-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,cAAc,EAAE,EAAE,EAA+B,MAAM,OAAO,CAAA;AAK5F,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAE7F,OAAO,EAAc,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAM5D,oBAAY,yBAAyB,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEtE,oBAAY,uBAAuB,GAAG;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,yBAAyB,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvE,SAAS,CAAC,EAAE,wBAAwB,CAAC,WAAW,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC7E,CAAA;AAED,aAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC,GAC7E,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,CAAC,GACxE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,CAAC,CAAA;AACvE,aAAK,KAAK,GAAG,WAAW,GAAG,uBAAuB,CAAA;AAElD,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CA4G7B,CAAA;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,cAAc,EAAE,EAAE,EAA+B,MAAM,OAAO,CAAA;AAK5F,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAE7F,OAAO,EAAc,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAM5D,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEtE,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,yBAAyB,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvE,SAAS,CAAC,EAAE,wBAAwB,CAAC,WAAW,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC7E,CAAA;AAED,KAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC,GAC7E,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,CAAC,GACxE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,CAAC,CAAA;AACvE,KAAK,KAAK,GAAG,WAAW,GAAG,uBAAuB,CAAA;AAElD,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CA4G7B,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
14
  if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
16
20
  }) : (function(o, m, k, k2) {
17
21
  if (k2 === undefined) k2 = k;
18
22
  o[k2] = m[k];
@@ -25,7 +29,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
25
29
  var __importStar = (this && this.__importStar) || function (mod) {
26
30
  if (mod && mod.__esModule) return mod;
27
31
  var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
33
  __setModuleDefault(result, mod);
30
34
  return result;
31
35
  };
@@ -56,13 +60,13 @@ var ebay_fake_menu_1 = require("../ebay-fake-menu");
56
60
  var _1 = require(".");
57
61
  var EbayMenuButton = function (_a) {
58
62
  var a11yText = _a.a11yText, noToggleIcon = _a.noToggleIcon, fixWidth = _a.fixWidth, reverse = _a.reverse, variant = _a.variant, _b = _a.expanded, defaultExpanded = _b === void 0 ? false : _b, className = _a.className, _c = _a.onCollapse, onCollapse = _c === void 0 ? function () { } : _c, _d = _a.onExpand, onExpand = _d === void 0 ? function () { } : _d, _e = _a.onMouseDown, onMouseDown = _e === void 0 ? function () { } : _e, _f = _a.onSelect, onSelect = _f === void 0 ? function () { } : _f, _g = _a.text, text = _g === void 0 ? '' : _g, children = _a.children, rest = __rest(_a, ["a11yText", "noToggleIcon", "fixWidth", "reverse", "variant", "expanded", "className", "onCollapse", "onExpand", "onMouseDown", "onSelect", "text", "children"]);
59
- var _h = react_1.useState(defaultExpanded), expanded = _h[0], setExpanded = _h[1];
60
- var _j = react_1.useState(), menuId = _j[0], setMenuId = _j[1];
61
- var ref = react_1.useRef();
62
- var icon = component_utils_1.findComponent(children, ebay_icon_1.EbayIcon);
63
- var label = component_utils_1.findComponent(children, _1.EbayFakeMenuButtonLabel) || (icon ? react_1.default.createElement("span", null, text) : text);
64
- var menuItems = component_utils_1.filterByType(children, [_1.EbayFakeMenuButtonItem, _1.EbayFakeMenuButtonSeparator]);
65
- react_1.useEffect(function () {
63
+ var _h = (0, react_1.useState)(defaultExpanded), expanded = _h[0], setExpanded = _h[1];
64
+ var _j = (0, react_1.useState)(), menuId = _j[0], setMenuId = _j[1];
65
+ var ref = (0, react_1.useRef)();
66
+ var icon = (0, component_utils_1.findComponent)(children, ebay_icon_1.EbayIcon);
67
+ var label = (0, component_utils_1.findComponent)(children, _1.EbayFakeMenuButtonLabel) || (icon ? react_1.default.createElement("span", null, text) : text);
68
+ var menuItems = (0, component_utils_1.filterByType)(children, [_1.EbayFakeMenuButtonItem, _1.EbayFakeMenuButtonSeparator]);
69
+ (0, react_1.useEffect)(function () {
66
70
  var handleBackgroundClick = function (e) {
67
71
  if (ref.current && !ref.current.contains(e.currentTarget)) {
68
72
  setExpanded(false);
@@ -83,22 +87,22 @@ var EbayMenuButton = function (_a) {
83
87
  }
84
88
  return function () { return document.removeEventListener('click', handleBackgroundClick, false); };
85
89
  }, [expanded]);
86
- react_1.useEffect(function () {
87
- setMenuId(random_id_1.randomId());
90
+ (0, react_1.useEffect)(function () {
91
+ setMenuId((0, random_id_1.randomId)());
88
92
  }, []);
89
93
  var handleMenuKeydown = function (e) {
90
- event_utils_1.handleEscapeKeydown(e, function () {
94
+ (0, event_utils_1.handleEscapeKeydown)(e, function () {
91
95
  var _a;
92
96
  setExpanded(false);
93
97
  (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus();
94
98
  });
95
99
  };
96
- var menuClasses = classnames_1.default('fake-menu-button__menu', {
100
+ var menuClasses = (0, classnames_1.default)('fake-menu-button__menu', {
97
101
  'menu-button__menu--fix-width': fixWidth,
98
102
  'menu-button__menu--reverse': reverse
99
103
  });
100
104
  var buttonProps = __assign({ ref: ref, className: 'fake-menu-button__button', 'aria-expanded': !!expanded, 'aria-haspopup': true, 'aria-label': a11yText, 'aria-controls': menuId, onClick: function () { return setExpanded(!expanded); } }, rest);
101
- return (react_1.default.createElement("span", { className: classnames_1.default('fake-menu-button', className) },
105
+ return (react_1.default.createElement("span", { className: (0, classnames_1.default)('fake-menu-button', className) },
102
106
  variant === 'overflow' ?
103
107
  react_1.default.createElement(ebay_icon_button_1.EbayIconButton, __assign({ icon: "overflowHorizontal24" }, buttonProps)) :
104
108
  react_1.default.createElement(ebay_button_1.EbayButton, __assign({ variant: variant === 'form' ? 'form' : undefined, bodyState: noToggleIcon ? undefined : 'expand' }, buttonProps),
@@ -106,9 +110,9 @@ var EbayMenuButton = function (_a) {
106
110
  label),
107
111
  expanded &&
108
112
  react_1.default.createElement(ebay_fake_menu_1.EbayFakeMenu, { className: menuClasses, id: menuId, tabIndex: -1, onKeyDown: handleMenuKeydown, onSelect: onSelect }, menuItems.map(function (item, i) {
109
- return react_1.cloneElement(item, __assign(__assign({}, item.props), { onMouseDown: function (e) {
113
+ return (0, react_1.cloneElement)(item, __assign(__assign({}, item.props), { onMouseDown: function (e) {
110
114
  onMouseDown(e, { index: i });
111
- }, className: classnames_1.default(item.props.className, 'fake-menu-button__item'), key: i, autoFocus: i === 0 }));
115
+ }, className: (0, classnames_1.default)(item.props.className, 'fake-menu-button__item'), key: i, autoFocus: i === 0 }));
112
116
  }))));
113
117
  };
114
118
  exports.default = EbayMenuButton;
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC } from 'react';
2
- declare type FakeTabsProps = ComponentProps<'div'> & {
2
+ type FakeTabsProps = ComponentProps<'div'> & {
3
3
  selectedIndex?: number;
4
4
  tabMatchesCurrentUrl?: boolean;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"fake-tabs.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-tabs/fake-tabs.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAM/D,aAAK,aAAa,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,aAAa,CA2BnC,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"fake-tabs.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-tabs/fake-tabs.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAM/D,KAAK,aAAa,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,aAAa,CA2BnC,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
14
  if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
16
20
  }) : (function(o, m, k, k2) {
17
21
  if (k2 === undefined) k2 = k;
18
22
  o[k2] = m[k];
@@ -25,7 +29,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
25
29
  var __importStar = (this && this.__importStar) || function (mod) {
26
30
  if (mod && mod.__esModule) return mod;
27
31
  var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
33
  __setModuleDefault(result, mod);
30
34
  return result;
31
35
  };
@@ -51,11 +55,11 @@ var tab_1 = __importDefault(require("./tab"));
51
55
  var EbayFakeTabs = function (_a) {
52
56
  var _b = _a.selectedIndex, selectedIndex = _b === void 0 ? 0 : _b, tabMatchesCurrentUrl = _a.tabMatchesCurrentUrl, className = _a.className, children = _a.children, rest = __rest(_a, ["selectedIndex", "tabMatchesCurrentUrl", "className", "children"]);
53
57
  var ariaCurrent = tabMatchesCurrentUrl === false ? 'true' : 'page';
54
- var tabHeadings = component_utils_1.filterByType(children, tab_1.default).map(function (item, i) {
55
- return react_1.cloneElement(item, __assign(__assign({}, item.props), { ariaCurrent: selectedIndex === i ? ariaCurrent : null }));
58
+ var tabHeadings = (0, component_utils_1.filterByType)(children, tab_1.default).map(function (item, i) {
59
+ return (0, react_1.cloneElement)(item, __assign(__assign({}, item.props), { ariaCurrent: selectedIndex === i ? ariaCurrent : null }));
56
60
  });
57
- var tabContent = component_utils_1.excludeComponent(children, tab_1.default);
58
- return (react_1.default.createElement("div", __assign({}, rest, { className: classnames_1.default(className, 'fake-tabs') }),
61
+ var tabContent = (0, component_utils_1.excludeComponent)(children, tab_1.default);
62
+ return (react_1.default.createElement("div", __assign({}, rest, { className: (0, classnames_1.default)(className, 'fake-tabs') }),
59
63
  react_1.default.createElement("ul", { className: "fake-tabs__items" }, tabHeadings),
60
64
  react_1.default.createElement("div", { className: "fake-tabs__content" },
61
65
  react_1.default.createElement("div", { className: "fake-tabs__cell" }, tabContent))));
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EbayFakeTab = exports.EbayFakeTabs = void 0;
3
7
  var fake_tabs_1 = require("./fake-tabs");
4
- Object.defineProperty(exports, "EbayFakeTabs", { enumerable: true, get: function () { return fake_tabs_1.default; } });
8
+ Object.defineProperty(exports, "EbayFakeTabs", { enumerable: true, get: function () { return __importDefault(fake_tabs_1).default; } });
5
9
  var tab_1 = require("./tab");
6
- Object.defineProperty(exports, "EbayFakeTab", { enumerable: true, get: function () { return tab_1.default; } });
10
+ Object.defineProperty(exports, "EbayFakeTab", { enumerable: true, get: function () { return __importDefault(tab_1).default; } });
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC } from 'react';
2
- declare type TabProps = ComponentProps<'li'> & {
2
+ type TabProps = ComponentProps<'li'> & {
3
3
  href: string;
4
4
  ariaCurrent?: 'page' | 'true';
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-tabs/tab.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAGjD,aAAK,QAAQ,GAAG,cAAc,CAAC,IAAI,CAAC,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC,CAAA;AAED,QAAA,MAAM,GAAG,EAAE,EAAE,CAAC,QAAQ,CAYrB,CAAA;AAED,eAAe,GAAG,CAAA"}
1
+ {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-tabs/tab.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAGjD,KAAK,QAAQ,GAAG,cAAc,CAAC,IAAI,CAAC,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC,CAAA;AAED,QAAA,MAAM,GAAG,EAAE,EAAE,CAAC,QAAQ,CAYrB,CAAA;AAED,eAAe,GAAG,CAAA"}
@@ -29,7 +29,7 @@ var react_1 = __importDefault(require("react"));
29
29
  var classnames_1 = __importDefault(require("classnames"));
30
30
  var Tab = function (_a) {
31
31
  var children = _a.children, href = _a.href, ariaCurrent = _a.ariaCurrent, className = _a.className, rest = __rest(_a, ["children", "href", "ariaCurrent", "className"]);
32
- return (react_1.default.createElement("li", __assign({}, rest, { className: classnames_1.default(className, 'fake-tabs__item') }),
32
+ return (react_1.default.createElement("li", __assign({}, rest, { className: (0, classnames_1.default)(className, 'fake-tabs__item') }),
33
33
  react_1.default.createElement("a", { href: href, "aria-current": ariaCurrent }, children)));
34
34
  };
35
35
  exports.default = Tab;
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { FieldDescriptionType, FieldDescriptionPosition } from './types';
3
- declare type DescriptionProps = ComponentProps<'div'> & ComponentProps<'span'> & {
3
+ type DescriptionProps = ComponentProps<'div'> & ComponentProps<'span'> & {
4
4
  type?: FieldDescriptionType;
5
5
  position?: FieldDescriptionPosition;
6
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../src/ebay-field/description.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAExE,aAAK,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,GAAG;IACrE,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,QAAQ,CAAC,EAAE,wBAAwB,CAAC;CACvC,CAAA;AAED,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAkBrC,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../src/ebay-field/description.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAExE,KAAK,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,GAAG;IACrE,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,QAAQ,CAAC,EAAE,wBAAwB,CAAC;CACvC,CAAA;AAED,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAkBrC,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -30,7 +30,7 @@ var classnames_1 = __importDefault(require("classnames"));
30
30
  var Description = function (_a) {
31
31
  var _b;
32
32
  var type = _a.type, _c = _a.position, position = _c === void 0 ? 'below' : _c, className = _a.className, children = _a.children, rest = __rest(_a, ["type", "position", "className", "children"]);
33
- var wrapperClassName = classnames_1.default(className, 'field__description', (_b = {}, _b["field__description--" + type] = type, _b));
33
+ var wrapperClassName = (0, classnames_1.default)(className, 'field__description', (_b = {}, _b["field__description--".concat(type)] = type, _b));
34
34
  var WrapperElement = position === 'below' ? "div" : "span";
35
35
  return (react_1.default.createElement(WrapperElement, __assign({}, rest, { className: wrapperClassName }),
36
36
  react_1.default.createElement("span", null, children)));
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { FieldLayoutType } from './types';
3
- declare type FieldProps = {
3
+ type FieldProps = {
4
4
  className?: string;
5
5
  layout?: FieldLayoutType;
6
6
  children?: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/ebay-field/field.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC,aAAK,UAAU,GAAG;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAWzB,CAAA;AAED,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/ebay-field/field.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC,KAAK,UAAU,GAAG;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAWzB,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -8,6 +8,6 @@ var classnames_1 = __importDefault(require("classnames"));
8
8
  var Field = function (_a) {
9
9
  var className = _a.className, _b = _a.layout, layout = _b === void 0 ? 'inline' : _b, children = _a.children;
10
10
  var WrapperElement = layout === 'block' ? 'div' : 'span';
11
- return (react_1.default.createElement(WrapperElement, { className: classnames_1.default('field', className) }, children));
11
+ return (react_1.default.createElement(WrapperElement, { className: (0, classnames_1.default)('field', className) }, children));
12
12
  };
13
13
  exports.default = Field;
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EbayFieldDescription = exports.EbayLabel = exports.EbayField = void 0;
3
7
  var field_1 = require("./field");
4
- Object.defineProperty(exports, "EbayField", { enumerable: true, get: function () { return field_1.default; } });
8
+ Object.defineProperty(exports, "EbayField", { enumerable: true, get: function () { return __importDefault(field_1).default; } });
5
9
  var label_1 = require("./label");
6
- Object.defineProperty(exports, "EbayLabel", { enumerable: true, get: function () { return label_1.default; } });
10
+ Object.defineProperty(exports, "EbayLabel", { enumerable: true, get: function () { return __importDefault(label_1).default; } });
7
11
  var description_1 = require("./description");
8
- Object.defineProperty(exports, "EbayFieldDescription", { enumerable: true, get: function () { return description_1.default; } });
12
+ Object.defineProperty(exports, "EbayFieldDescription", { enumerable: true, get: function () { return __importDefault(description_1).default; } });
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps, FC } from 'react';
2
2
  import { LabelPosition } from './types';
3
- export declare type Props = {
3
+ export type Props = {
4
4
  className?: string;
5
5
  stacked?: boolean;
6
6
  required?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/ebay-field/label.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,oBAAY,KAAK,GAAG;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC5B,GAAG,cAAc,CAAC,OAAO,CAAC,CAAA;AAE3B,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,KAAK,CAiBpB,CAAA;AAED,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/ebay-field/label.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,MAAM,MAAM,KAAK,GAAG;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC5B,GAAG,cAAc,CAAC,OAAO,CAAC,CAAA;AAE3B,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,KAAK,CAiBpB,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -29,7 +29,7 @@ var react_1 = __importDefault(require("react"));
29
29
  var classnames_1 = __importDefault(require("classnames"));
30
30
  var Label = function (_a) {
31
31
  var className = _a.className, children = _a.children, _b = _a.stacked, stacked = _b === void 0 ? false : _b, _c = _a.required, required = _c === void 0 ? false : _c, _d = _a.position, position = _d === void 0 ? 'start' : _d, rest = __rest(_a, ["className", "children", "stacked", "required", "position"]);
32
- var wrapperClassName = classnames_1.default("field__label", className, { 'field__label--stacked': stacked }, { 'field__label--end': position === 'end' });
32
+ var wrapperClassName = (0, classnames_1.default)("field__label", className, { 'field__label--stacked': stacked }, { 'field__label--end': position === 'end' });
33
33
  var requiredMark = required ? react_1.default.createElement(react_1.default.Fragment, null,
34
34
  " ",
35
35
  react_1.default.createElement("sup", null, "*")) : null;
@@ -1,5 +1,5 @@
1
- export declare type FieldLayoutType = 'inline' | 'block';
2
- export declare type FieldDescriptionType = 'default' | 'confirmation' | 'information' | 'attention';
3
- export declare type FieldDescriptionPosition = 'inline' | 'below' | 'above';
4
- export declare type LabelPosition = 'start' | 'end';
1
+ export type FieldLayoutType = 'inline' | 'block';
2
+ export type FieldDescriptionType = 'default' | 'confirmation' | 'information' | 'attention';
3
+ export type FieldDescriptionPosition = 'inline' | 'below' | 'above';
4
+ export type LabelPosition = 'start' | 'end';
5
5
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-field/types.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEhD,oBAAY,oBAAoB,GAAG,SAAS,GAAG,cAAc,GAAG,aAAa,GAAG,WAAW,CAAA;AAE3F,oBAAY,wBAAwB,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;AAEnE,oBAAY,aAAa,GAAG,OAAO,GAAG,KAAK,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-field/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEhD,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,cAAc,GAAG,aAAa,GAAG,WAAW,CAAA;AAE3F,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;AAEnE,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,CAAA"}
@@ -31,6 +31,6 @@ var ebay_dialog_base_1 = require("../ebay-dialog-base");
31
31
  var classPrefix = 'fullscreen-dialog';
32
32
  var EbayFullscreenDialog = function (_a) {
33
33
  var open = _a.open, _b = _a.onClose, onClose = _b === void 0 ? function () { } : _b, className = _a.className, animated = _a.animated, rest = __rest(_a, ["open", "onClose", "className", "animated"]);
34
- return (react_1.default.createElement(ebay_dialog_base_1.DialogBaseWithState, __assign({}, rest, { classPrefix: classPrefix, buttonPosition: "left", onCloseBtnClick: onClose, transitionElement: "window", animated: animated, className: classnames_1.default(className, classPrefix + "--mask-fade-slow"), windowClass: classnames_1.default(classPrefix + "__window", classPrefix + "__window--slide"), open: open })));
34
+ return (react_1.default.createElement(ebay_dialog_base_1.DialogBaseWithState, __assign({}, rest, { classPrefix: classPrefix, buttonPosition: "left", onCloseBtnClick: onClose, transitionElement: "window", animated: animated, className: (0, classnames_1.default)(className, "".concat(classPrefix, "--mask-fade-slow")), windowClass: (0, classnames_1.default)("".concat(classPrefix, "__window"), "".concat(classPrefix, "__window--slide")), open: open })));
35
35
  };
36
36
  exports.default = EbayFullscreenDialog;
@@ -1,4 +1,8 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EbayFullscreenDialog = void 0;
3
7
  var fullscreen_dialog_1 = require("./fullscreen-dialog");
4
- Object.defineProperty(exports, "EbayFullscreenDialog", { enumerable: true, get: function () { return fullscreen_dialog_1.default; } });
8
+ Object.defineProperty(exports, "EbayFullscreenDialog", { enumerable: true, get: function () { return __importDefault(fullscreen_dialog_1).default; } });
@@ -1,7 +1,7 @@
1
1
  import React, { Ref, SVGProps } from 'react';
2
2
  import { Icon } from './types';
3
- export declare type A11yVariant = 'label';
4
- export declare type EbayIconProps = SVGProps<SVGSVGElement> & {
3
+ export type A11yVariant = 'label';
4
+ export type EbayIconProps = SVGProps<SVGSVGElement> & {
5
5
  className?: string;
6
6
  name: Icon;
7
7
  noSkinClasses?: boolean;
@@ -9,6 +9,6 @@ export declare type EbayIconProps = SVGProps<SVGSVGElement> & {
9
9
  a11yVariant?: A11yVariant;
10
10
  forwardedRef?: Ref<SVGSVGElement>;
11
11
  };
12
- declare const _default: React.ForwardRefExoticComponent<Pick<EbayIconProps, "string" | "style" | "clipPath" | "filter" | "mask" | "path" | "type" | "key" | "className" | "children" | "crossOrigin" | "height" | "href" | "max" | "media" | "method" | "min" | "name" | "target" | "width" | "id" | "lang" | "tabIndex" | "role" | "color" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "forwardedRef" | "noSkinClasses" | "a11yText" | "a11yVariant" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & React.RefAttributes<React.FC<EbayIconProps>>>;
12
+ declare const _default: React.ForwardRefExoticComponent<Pick<EbayIconProps, "string" | "style" | "clipPath" | "filter" | "mask" | "path" | "forwardedRef" | "type" | "key" | "className" | "children" | "name" | "id" | "lang" | "tabIndex" | "role" | "color" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "crossOrigin" | "height" | "href" | "max" | "media" | "method" | "min" | "target" | "width" | "noSkinClasses" | "a11yText" | "a11yVariant" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & React.RefAttributes<React.FC<EbayIconProps>>>;
13
13
  export default _default;
14
14
  //# sourceMappingURL=icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/ebay-icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAM,GAAG,EAAE,QAAQ,EAAuB,MAAM,OAAO,CAAA;AAIrE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,oBAAY,WAAW,GAAG,OAAO,CAAC;AAElC,oBAAY,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;CACrC,CAAC;;AAoDF,wBAAuC"}
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/ebay-icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAM,GAAG,EAAE,QAAQ,EAAuB,MAAM,OAAO,CAAA;AAIrE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC;AAElC,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;CACrC,CAAC;;AAoDF,wBAAuC"}
package/ebay-icon/icon.js CHANGED
@@ -12,7 +12,11 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
14
  if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
16
20
  }) : (function(o, m, k, k2) {
17
21
  if (k2 === undefined) k2 = k;
18
22
  o[k2] = m[k];
@@ -25,7 +29,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
25
29
  var __importStar = (this && this.__importStar) || function (mod) {
26
30
  if (mod && mod.__esModule) return mod;
27
31
  var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
33
  __setModuleDefault(result, mod);
30
34
  return result;
31
35
  };
@@ -51,12 +55,12 @@ var random_id_1 = require("../common/random-id");
51
55
  var EbayIcon = function (_a) {
52
56
  var _b;
53
57
  var name = _a.name, extraClass = _a.className, _c = _a.noSkinClasses, noSkinClasses = _c === void 0 ? false : _c, a11yText = _a.a11yText, a11yVariant = _a.a11yVariant, forwardedRef = _a.forwardedRef, rest = __rest(_a, ["name", "className", "noSkinClasses", "a11yText", "a11yVariant", "forwardedRef"]);
54
- var _d = react_1.useState(''), rId = _d[0], setRandomId = _d[1];
55
- react_1.useEffect(function () {
56
- setRandomId(random_id_1.randomId());
58
+ var _d = (0, react_1.useState)(''), rId = _d[0], setRandomId = _d[1];
59
+ (0, react_1.useEffect)(function () {
60
+ setRandomId((0, random_id_1.randomId)());
57
61
  }, []);
58
62
  var withAriaLabel = a11yVariant === 'label';
59
- var a11yTextId = a11yText && "icon-title-" + rId;
63
+ var a11yTextId = a11yText && "icon-title-".concat(rId);
60
64
  var a11yProps = a11yText ? {
61
65
  'aria-labelledby': withAriaLabel ? undefined : a11yTextId,
62
66
  'aria-label': withAriaLabel ? a11yText : undefined,
@@ -65,14 +69,14 @@ var EbayIcon = function (_a) {
65
69
  'aria-hidden': true
66
70
  };
67
71
  var kebabName = kebabCased(name);
68
- var className = classnames_1.default(extraClass, (_b = {}, _b["icon icon--" + kebabName] = !noSkinClasses, _b));
72
+ var className = (0, classnames_1.default)(extraClass, (_b = {}, _b["icon icon--".concat(kebabName)] = !noSkinClasses, _b));
69
73
  return (react_1.default.createElement("svg", __assign({}, rest, { className: className, xmlns: "http://www.w3.org/2000/svg", focusable: false, ref: forwardedRef }, a11yProps),
70
74
  a11yText && !withAriaLabel && react_1.default.createElement("title", { id: a11yTextId }, a11yText),
71
- react_1.default.createElement("use", { xlinkHref: "#icon-" + kebabName })));
75
+ react_1.default.createElement("use", { xlinkHref: "#icon-".concat(kebabName) })));
72
76
  };
73
77
  function kebabCased(str) {
74
78
  return str
75
- .replace(/([0-9]+)/g, function (s, n) { return "-" + n; })
76
- .replace(/([A-Z])/g, function (s, c) { return "-" + c.toLowerCase(); });
79
+ .replace(/([0-9]+)/g, function (s, n) { return "-".concat(n); })
80
+ .replace(/([A-Z])/g, function (s, c) { return "-".concat(c.toLowerCase()); });
77
81
  }
78
- exports.default = component_utils_1.withForwardRef(EbayIcon);
82
+ exports.default = (0, component_utils_1.withForwardRef)(EbayIcon);
@@ -1,4 +1,8 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EbayIcon = void 0;
3
7
  var icon_1 = require("./icon");
4
- Object.defineProperty(exports, "EbayIcon", { enumerable: true, get: function () { return icon_1.default; } });
8
+ Object.defineProperty(exports, "EbayIcon", { enumerable: true, get: function () { return __importDefault(icon_1).default; } });