@ebay/ui-core-react 8.5.2 → 8.7.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 (696) hide show
  1. package/README.md +104 -84
  2. package/common/__mocks__/random-id.d.ts.map +1 -1
  3. package/common/component-utils/forwardRef.d.ts +1 -1
  4. package/common/component-utils/forwardRef.d.ts.map +1 -1
  5. package/common/component-utils/index.d.ts +2 -2
  6. package/common/component-utils/index.d.ts.map +1 -1
  7. package/common/component-utils/utils.d.ts +2 -2
  8. package/common/component-utils/utils.d.ts.map +1 -1
  9. package/common/debounce.d.ts.map +1 -1
  10. package/common/dropdown.d.ts +10 -10
  11. package/common/dropdown.d.ts.map +1 -1
  12. package/common/event-utils/index.d.ts +2 -2
  13. package/common/event-utils/index.d.ts.map +1 -1
  14. package/common/event-utils/types.d.ts +4 -4
  15. package/common/event-utils/types.d.ts.map +1 -1
  16. package/common/event-utils/use-key-press.d.ts.map +1 -1
  17. package/common/event-utils/use-roving-index.d.ts +1 -1
  18. package/common/event-utils/use-roving-index.d.ts.map +1 -1
  19. package/common/floating-label-utils/hooks.d.ts +6 -6
  20. package/common/floating-label-utils/hooks.d.ts.map +1 -1
  21. package/common/notice-utils/notice-content.d.ts +2 -2
  22. package/common/notice-utils/notice-content.d.ts.map +1 -1
  23. package/common/notice-utils/notice-cta.d.ts +2 -2
  24. package/common/notice-utils/notice-cta.d.ts.map +1 -1
  25. package/common/notice-utils/notice-footer.d.ts +2 -2
  26. package/common/notice-utils/notice-footer.d.ts.map +1 -1
  27. package/common/notice-utils/notice-title.d.ts +3 -3
  28. package/common/notice-utils/notice-title.d.ts.map +1 -1
  29. package/common/random-id.d.ts.map +1 -1
  30. package/common/range.d.ts.map +1 -1
  31. package/common/tooltip-utils/constants.d.ts +2 -2
  32. package/common/tooltip-utils/constants.d.ts.map +1 -1
  33. package/common/tooltip-utils/index.d.ts +7 -7
  34. package/common/tooltip-utils/index.d.ts.map +1 -1
  35. package/common/tooltip-utils/tooltip-close-button.d.ts +1 -1
  36. package/common/tooltip-utils/tooltip-close-button.d.ts.map +1 -1
  37. package/common/tooltip-utils/tooltip-content.d.ts +2 -2
  38. package/common/tooltip-utils/tooltip-content.d.ts.map +1 -1
  39. package/common/tooltip-utils/tooltip-footer.d.ts +2 -2
  40. package/common/tooltip-utils/tooltip-footer.d.ts.map +1 -1
  41. package/common/tooltip-utils/tooltip-host.d.ts +1 -1
  42. package/common/tooltip-utils/tooltip-host.d.ts.map +1 -1
  43. package/common/tooltip-utils/tooltip.d.ts +3 -3
  44. package/common/tooltip-utils/tooltip.d.ts.map +1 -1
  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 +1 -1
  48. package/common/tooltip-utils/use-tooltip.d.ts.map +1 -1
  49. package/dialog-previous-button-B1dTCOv2.js +1 -0
  50. package/ebay-accordion/accordion.d.ts +5 -5
  51. package/ebay-accordion/accordion.d.ts.map +1 -1
  52. package/ebay-accordion/index.d.ts +2 -2
  53. package/ebay-accordion/index.d.ts.map +1 -1
  54. package/ebay-accordion/index.js +2 -2
  55. package/ebay-alert-dialog/README.md +14 -11
  56. package/ebay-alert-dialog/alert-dialog.d.ts +2 -2
  57. package/ebay-alert-dialog/alert-dialog.d.ts.map +1 -1
  58. package/ebay-alert-dialog/index.d.ts +1 -1
  59. package/ebay-alert-dialog/index.d.ts.map +1 -1
  60. package/ebay-alert-dialog/index.js +1 -1
  61. package/ebay-avatar/avatar-image.d.ts +2 -2
  62. package/ebay-avatar/avatar-image.d.ts.map +1 -1
  63. package/ebay-avatar/avatar.d.ts +3 -3
  64. package/ebay-avatar/avatar.d.ts.map +1 -1
  65. package/ebay-avatar/index.d.ts +3 -3
  66. package/ebay-avatar/index.d.ts.map +1 -1
  67. package/ebay-avatar/types.d.ts +1 -1
  68. package/ebay-avatar/utils.d.ts +1 -1
  69. package/ebay-avatar/utils.d.ts.map +1 -1
  70. package/ebay-badge/README.md +13 -8
  71. package/ebay-badge/badge.d.ts +3 -3
  72. package/ebay-badge/badge.d.ts.map +1 -1
  73. package/ebay-badge/index.d.ts +1 -1
  74. package/ebay-badge/index.d.ts.map +1 -1
  75. package/ebay-breadcrumbs/README.md +18 -13
  76. package/ebay-breadcrumbs/breadcrumb-item.d.ts +3 -3
  77. package/ebay-breadcrumbs/breadcrumb-item.d.ts.map +1 -1
  78. package/ebay-breadcrumbs/breadcrumbs.d.ts +3 -3
  79. package/ebay-breadcrumbs/breadcrumbs.d.ts.map +1 -1
  80. package/ebay-breadcrumbs/index.d.ts +2 -2
  81. package/ebay-breadcrumbs/index.d.ts.map +1 -1
  82. package/ebay-button/README.md +34 -23
  83. package/ebay-button/button-cell.d.ts +3 -3
  84. package/ebay-button/button-cell.d.ts.map +1 -1
  85. package/ebay-button/button-expand.d.ts +1 -1
  86. package/ebay-button/button-expand.d.ts.map +1 -1
  87. package/ebay-button/button-loading.d.ts +1 -1
  88. package/ebay-button/button-loading.d.ts.map +1 -1
  89. package/ebay-button/button-text.d.ts +2 -2
  90. package/ebay-button/button-text.d.ts.map +1 -1
  91. package/ebay-button/button.d.ts +3 -3
  92. package/ebay-button/button.d.ts.map +1 -1
  93. package/ebay-button/index.d.ts +3 -3
  94. package/ebay-button/index.d.ts.map +1 -1
  95. package/ebay-button/types.d.ts +5 -5
  96. package/ebay-button/types.d.ts.map +1 -1
  97. package/ebay-calendar/README.md +23 -20
  98. package/ebay-calendar/calendar.d.ts +2 -2
  99. package/ebay-calendar/calendar.d.ts.map +1 -1
  100. package/ebay-calendar/date-utils.d.ts +1 -1
  101. package/ebay-calendar/date-utils.d.ts.map +1 -1
  102. package/ebay-calendar/index.d.ts +1 -1
  103. package/ebay-calendar/index.d.ts.map +1 -1
  104. package/ebay-carousel/README.md +21 -22
  105. package/ebay-carousel/carousel-control-button.d.ts +2 -2
  106. package/ebay-carousel/carousel-control-button.d.ts.map +1 -1
  107. package/ebay-carousel/carousel-item.d.ts +3 -3
  108. package/ebay-carousel/carousel-item.d.ts.map +1 -1
  109. package/ebay-carousel/carousel-list.d.ts +2 -2
  110. package/ebay-carousel/carousel-list.d.ts.map +1 -1
  111. package/ebay-carousel/carousel.d.ts +2 -2
  112. package/ebay-carousel/carousel.d.ts.map +1 -1
  113. package/ebay-carousel/helpers.d.ts +5 -5
  114. package/ebay-carousel/helpers.d.ts.map +1 -1
  115. package/ebay-carousel/index.d.ts +2 -2
  116. package/ebay-carousel/index.d.ts.map +1 -1
  117. package/ebay-carousel/scroll-to-transition.d.ts.map +1 -1
  118. package/ebay-carousel/types.d.ts +5 -5
  119. package/ebay-carousel/types.d.ts.map +1 -1
  120. package/ebay-ccd/README.md +11 -17
  121. package/ebay-ccd/ccd.d.ts +4 -4
  122. package/ebay-ccd/ccd.d.ts.map +1 -1
  123. package/ebay-ccd/index.d.ts +1 -1
  124. package/ebay-character-count/README.md +6 -6
  125. package/ebay-character-count/character-count.d.ts +3 -3
  126. package/ebay-character-count/character-count.d.ts.map +1 -1
  127. package/ebay-character-count/index.d.ts +2 -2
  128. package/ebay-checkbox/README.md +14 -9
  129. package/ebay-checkbox/checkbox.d.ts +3 -3
  130. package/ebay-checkbox/checkbox.d.ts.map +1 -1
  131. package/ebay-checkbox/index.d.ts +2 -2
  132. package/ebay-checkbox/index.d.ts.map +1 -1
  133. package/ebay-checkbox/types.d.ts +2 -2
  134. package/ebay-checkbox/types.d.ts.map +1 -1
  135. package/ebay-chip/README.md +6 -10
  136. package/ebay-chip/chip.d.ts +3 -3
  137. package/ebay-chip/chip.d.ts.map +1 -1
  138. package/ebay-chip/index.d.ts +1 -1
  139. package/ebay-chip/index.d.ts.map +1 -1
  140. package/ebay-chips-combobox/chips-combobox.d.ts +4 -4
  141. package/ebay-chips-combobox/chips-combobox.d.ts.map +1 -1
  142. package/ebay-chips-combobox/index.d.ts +3 -3
  143. package/ebay-chips-combobox/index.d.ts.map +1 -1
  144. package/ebay-chips-combobox/types.d.ts +1 -1
  145. package/ebay-chips-combobox/types.d.ts.map +1 -1
  146. package/ebay-combobox/combobox-button.d.ts +2 -2
  147. package/ebay-combobox/combobox-button.d.ts.map +1 -1
  148. package/ebay-combobox/combobox-option.d.ts +2 -2
  149. package/ebay-combobox/combobox-option.d.ts.map +1 -1
  150. package/ebay-combobox/combobox.d.ts +3 -3
  151. package/ebay-combobox/combobox.d.ts.map +1 -1
  152. package/ebay-combobox/index.d.ts +4 -4
  153. package/ebay-combobox/index.d.ts.map +1 -1
  154. package/ebay-combobox/types.d.ts +4 -4
  155. package/ebay-combobox/types.d.ts.map +1 -1
  156. package/ebay-confirm-dialog/README.md +17 -13
  157. package/ebay-confirm-dialog/confirm-dialog.d.ts +3 -3
  158. package/ebay-confirm-dialog/confirm-dialog.d.ts.map +1 -1
  159. package/ebay-confirm-dialog/index.d.ts +1 -1
  160. package/ebay-confirm-dialog/index.d.ts.map +1 -1
  161. package/ebay-confirm-dialog/index.js +1 -1
  162. package/ebay-cta-button/README.md +15 -9
  163. package/ebay-cta-button/cta-button.d.ts +3 -3
  164. package/ebay-cta-button/cta-button.d.ts.map +1 -1
  165. package/ebay-cta-button/index.d.ts +1 -1
  166. package/ebay-cta-button/index.d.ts.map +1 -1
  167. package/ebay-date-textbox/README.md +25 -24
  168. package/ebay-date-textbox/date-textbox.d.ts +4 -4
  169. package/ebay-date-textbox/date-textbox.d.ts.map +1 -1
  170. package/ebay-date-textbox/index.d.ts +1 -1
  171. package/ebay-date-textbox/index.d.ts.map +1 -1
  172. package/ebay-details/ebay-details.d.ts +5 -6
  173. package/ebay-details/ebay-details.d.ts.map +1 -1
  174. package/ebay-details/index.d.ts +1 -1
  175. package/ebay-details/index.d.ts.map +1 -1
  176. package/ebay-details/index.js +1 -1
  177. package/ebay-details-BuPepKYE.js +1 -0
  178. package/ebay-dialog-base/README.md +2 -6
  179. package/ebay-dialog-base/components/animation.d.ts +2 -2
  180. package/ebay-dialog-base/components/animation.d.ts.map +1 -1
  181. package/ebay-dialog-base/components/dialog-actions.d.ts +1 -1
  182. package/ebay-dialog-base/components/dialog-actions.d.ts.map +1 -1
  183. package/ebay-dialog-base/components/dialog-close-button.d.ts +1 -1
  184. package/ebay-dialog-base/components/dialog-close-button.d.ts.map +1 -1
  185. package/ebay-dialog-base/components/dialog-footer.d.ts +1 -1
  186. package/ebay-dialog-base/components/dialog-footer.d.ts.map +1 -1
  187. package/ebay-dialog-base/components/dialog-header.d.ts +2 -2
  188. package/ebay-dialog-base/components/dialog-header.d.ts.map +1 -1
  189. package/ebay-dialog-base/components/dialog-previous-button.d.ts +2 -2
  190. package/ebay-dialog-base/components/dialog-previous-button.d.ts.map +1 -1
  191. package/ebay-dialog-base/components/dialogBase.d.ts +8 -8
  192. package/ebay-dialog-base/components/dialogBase.d.ts.map +1 -1
  193. package/ebay-dialog-base/dialog-base-with-state.d.ts +2 -2
  194. package/ebay-dialog-base/dialog-base-with-state.d.ts.map +1 -1
  195. package/ebay-dialog-base/index.d.ts +9 -9
  196. package/ebay-dialog-base/index.d.ts.map +1 -1
  197. package/ebay-dialog-base/index.js +1 -1
  198. package/ebay-dialog-base/types.d.ts +1 -1
  199. package/ebay-dialog-base/types.d.ts.map +1 -1
  200. package/ebay-drawer-dialog-deprecated/README.md +18 -8
  201. package/ebay-drawer-dialog-deprecated/components/drawer.d.ts +2 -2
  202. package/ebay-drawer-dialog-deprecated/components/drawer.d.ts.map +1 -1
  203. package/ebay-drawer-dialog-deprecated/index.d.ts +1 -1
  204. package/ebay-drawer-dialog-deprecated/index.d.ts.map +1 -1
  205. package/ebay-drawer-dialog-deprecated/index.js +1 -1
  206. package/ebay-education-notice/README.md +6 -9
  207. package/ebay-education-notice/education-notice-footer.d.ts +1 -1
  208. package/ebay-education-notice/education-notice-footer.d.ts.map +1 -1
  209. package/ebay-education-notice/education-notice-title.d.ts +2 -2
  210. package/ebay-education-notice/education-notice-title.d.ts.map +1 -1
  211. package/ebay-education-notice/education-notice.d.ts +6 -6
  212. package/ebay-education-notice/education-notice.d.ts.map +1 -1
  213. package/ebay-education-notice/index.d.ts +4 -4
  214. package/ebay-education-notice/index.d.ts.map +1 -1
  215. package/ebay-education-notice/types.d.ts +1 -1
  216. package/ebay-education-notice/types.d.ts.map +1 -1
  217. package/ebay-eek/README.md +13 -8
  218. package/ebay-eek/eek-rating.d.ts +1 -1
  219. package/ebay-eek/eek-rating.d.ts.map +1 -1
  220. package/ebay-eek/eek-util.d.ts +1 -1
  221. package/ebay-eek/eek-util.d.ts.map +1 -1
  222. package/ebay-eek/index.d.ts +1 -1
  223. package/ebay-eek/index.d.ts.map +1 -1
  224. package/ebay-fake-link/fake-link.d.ts +4 -4
  225. package/ebay-fake-link/fake-link.d.ts.map +1 -1
  226. package/ebay-fake-link/index.d.ts +1 -1
  227. package/ebay-fake-link/index.d.ts.map +1 -1
  228. package/ebay-fake-menu/README.md +23 -15
  229. package/ebay-fake-menu/index.d.ts +3 -3
  230. package/ebay-fake-menu/index.d.ts.map +1 -1
  231. package/ebay-fake-menu/menu-item-separator.d.ts +2 -2
  232. package/ebay-fake-menu/menu-item-separator.d.ts.map +1 -1
  233. package/ebay-fake-menu/menu-item.d.ts +3 -3
  234. package/ebay-fake-menu/menu-item.d.ts.map +1 -1
  235. package/ebay-fake-menu/menu.d.ts +3 -3
  236. package/ebay-fake-menu/menu.d.ts.map +1 -1
  237. package/ebay-fake-menu-button/README.md +34 -31
  238. package/ebay-fake-menu-button/index.d.ts +4 -4
  239. package/ebay-fake-menu-button/index.d.ts.map +1 -1
  240. package/ebay-fake-menu-button/menu-button-item.d.ts +2 -2
  241. package/ebay-fake-menu-button/menu-button-item.d.ts.map +1 -1
  242. package/ebay-fake-menu-button/menu-button-label.d.ts +1 -1
  243. package/ebay-fake-menu-button/menu-button-label.d.ts.map +1 -1
  244. package/ebay-fake-menu-button/menu-button-separator.d.ts +2 -2
  245. package/ebay-fake-menu-button/menu-button-separator.d.ts.map +1 -1
  246. package/ebay-fake-menu-button/menu-button.d.ts +5 -5
  247. package/ebay-fake-menu-button/menu-button.d.ts.map +1 -1
  248. package/ebay-fake-tabs/README.md +14 -9
  249. package/ebay-fake-tabs/fake-tabs.d.ts +2 -2
  250. package/ebay-fake-tabs/fake-tabs.d.ts.map +1 -1
  251. package/ebay-fake-tabs/index.d.ts +2 -2
  252. package/ebay-fake-tabs/index.d.ts.map +1 -1
  253. package/ebay-fake-tabs/tab.d.ts +3 -3
  254. package/ebay-fake-tabs/tab.d.ts.map +1 -1
  255. package/ebay-field/README.md +30 -21
  256. package/ebay-field/description.d.ts +3 -3
  257. package/ebay-field/description.d.ts.map +1 -1
  258. package/ebay-field/field.d.ts +2 -2
  259. package/ebay-field/field.d.ts.map +1 -1
  260. package/ebay-field/index.d.ts +4 -4
  261. package/ebay-field/index.d.ts.map +1 -1
  262. package/ebay-field/label.d.ts +3 -3
  263. package/ebay-field/label.d.ts.map +1 -1
  264. package/ebay-field/types.d.ts +4 -4
  265. package/ebay-field/types.d.ts.map +1 -1
  266. package/ebay-file-input/README.md +4 -8
  267. package/ebay-file-input/file-input.d.ts +3 -3
  268. package/ebay-file-input/file-input.d.ts.map +1 -1
  269. package/ebay-file-input/index.d.ts +1 -1
  270. package/ebay-file-input/index.d.ts.map +1 -1
  271. package/ebay-file-input/types.d.ts +1 -1
  272. package/ebay-file-preview-card/README.md +25 -8
  273. package/ebay-file-preview-card/ebay-file-preview-card-action.d.ts +6 -0
  274. package/ebay-file-preview-card/ebay-file-preview-card-action.d.ts.map +1 -0
  275. package/ebay-file-preview-card/file-preview-action.d.ts +10 -7
  276. package/ebay-file-preview-card/file-preview-action.d.ts.map +1 -1
  277. package/ebay-file-preview-card/file-preview-card.d.ts +9 -7
  278. package/ebay-file-preview-card/file-preview-card.d.ts.map +1 -1
  279. package/ebay-file-preview-card/file-preview-content.d.ts +3 -3
  280. package/ebay-file-preview-card/file-preview-content.d.ts.map +1 -1
  281. package/ebay-file-preview-card/file-preview-label.d.ts +2 -2
  282. package/ebay-file-preview-card/file-preview-label.d.ts.map +1 -1
  283. package/ebay-file-preview-card/index.d.ts +3 -2
  284. package/ebay-file-preview-card/index.d.ts.map +1 -1
  285. package/ebay-file-preview-card/index.js +1 -1
  286. package/ebay-file-preview-card/types.d.ts +2 -2
  287. package/ebay-file-preview-card/types.d.ts.map +1 -1
  288. package/ebay-file-preview-card-group/README.md +5 -4
  289. package/ebay-file-preview-card-group/file-preview-card-group.d.ts +6 -5
  290. package/ebay-file-preview-card-group/file-preview-card-group.d.ts.map +1 -1
  291. package/ebay-file-preview-card-group/index.d.ts +1 -1
  292. package/ebay-file-preview-card-group/index.d.ts.map +1 -1
  293. package/ebay-file-preview-card-group/index.js +1 -1
  294. package/ebay-file-preview-card-group/types.d.ts +2 -2
  295. package/ebay-file-preview-card-group/types.d.ts.map +1 -1
  296. package/ebay-filter/filter.d.ts +3 -3
  297. package/ebay-filter/filter.d.ts.map +1 -1
  298. package/ebay-filter/index.d.ts +2 -2
  299. package/ebay-filter/index.d.ts.map +1 -1
  300. package/ebay-filter/types.d.ts +1 -1
  301. package/ebay-filter/types.d.ts.map +1 -1
  302. package/ebay-filter-menu/filter-menu-footer-button.d.ts +4 -4
  303. package/ebay-filter-menu/filter-menu-footer-button.d.ts.map +1 -1
  304. package/ebay-filter-menu/filter-menu-item.d.ts +4 -4
  305. package/ebay-filter-menu/filter-menu-item.d.ts.map +1 -1
  306. package/ebay-filter-menu/filter-menu.d.ts +3 -3
  307. package/ebay-filter-menu/filter-menu.d.ts.map +1 -1
  308. package/ebay-filter-menu/index.d.ts +4 -4
  309. package/ebay-filter-menu/index.d.ts.map +1 -1
  310. package/ebay-filter-menu/types.d.ts +3 -3
  311. package/ebay-filter-menu/types.d.ts.map +1 -1
  312. package/ebay-filter-menu-button/README.md +5 -5
  313. package/ebay-filter-menu-button/filter-menu-button.d.ts +2 -2
  314. package/ebay-filter-menu-button/filter-menu-button.d.ts.map +1 -1
  315. package/ebay-filter-menu-button/index.d.ts +2 -2
  316. package/ebay-filter-menu-button/index.d.ts.map +1 -1
  317. package/ebay-fullscreen-dialog-deprecated/README.md +13 -10
  318. package/ebay-fullscreen-dialog-deprecated/fullscreen-dialog.d.ts +3 -3
  319. package/ebay-fullscreen-dialog-deprecated/fullscreen-dialog.d.ts.map +1 -1
  320. package/ebay-fullscreen-dialog-deprecated/index.d.ts +1 -1
  321. package/ebay-fullscreen-dialog-deprecated/index.d.ts.map +1 -1
  322. package/ebay-fullscreen-dialog-deprecated/index.js +1 -1
  323. package/ebay-icon/README.md +13 -9
  324. package/ebay-icon/icon.d.ts +5 -5
  325. package/ebay-icon/icon.d.ts.map +1 -1
  326. package/ebay-icon/index.d.ts +2 -2
  327. package/ebay-icon/index.d.ts.map +1 -1
  328. package/ebay-icon-button/README.md +23 -15
  329. package/ebay-icon-button/icon-button.d.ts +5 -5
  330. package/ebay-icon-button/icon-button.d.ts.map +1 -1
  331. package/ebay-icon-button/index.d.ts +1 -1
  332. package/ebay-icon-button/index.d.ts.map +1 -1
  333. package/ebay-image-placeholder/README.md +1 -6
  334. package/ebay-image-placeholder/image-placeholder.d.ts +1 -1
  335. package/ebay-image-placeholder/image-placeholder.d.ts.map +1 -1
  336. package/ebay-image-placeholder/index.d.ts +1 -1
  337. package/ebay-image-placeholder/index.d.ts.map +1 -1
  338. package/ebay-infotip/README.md +17 -20
  339. package/ebay-infotip/ebay-infotip-content.d.ts +3 -3
  340. package/ebay-infotip/ebay-infotip-content.d.ts.map +1 -1
  341. package/ebay-infotip/ebay-infotip-heading.d.ts +2 -2
  342. package/ebay-infotip/ebay-infotip-heading.d.ts.map +1 -1
  343. package/ebay-infotip/ebay-infotip-host.d.ts +4 -4
  344. package/ebay-infotip/ebay-infotip-host.d.ts.map +1 -1
  345. package/ebay-infotip/ebay-infotip.d.ts +5 -5
  346. package/ebay-infotip/ebay-infotip.d.ts.map +1 -1
  347. package/ebay-infotip/index.d.ts +5 -5
  348. package/ebay-infotip/index.d.ts.map +1 -1
  349. package/ebay-infotip/index.js +1 -1
  350. package/ebay-infotip/types.d.ts +1 -1
  351. package/ebay-infotip/types.d.ts.map +1 -1
  352. package/ebay-inline-notice/README.md +8 -8
  353. package/ebay-inline-notice/index.d.ts +3 -3
  354. package/ebay-inline-notice/index.d.ts.map +1 -1
  355. package/ebay-inline-notice/inline-notice.d.ts +4 -4
  356. package/ebay-inline-notice/inline-notice.d.ts.map +1 -1
  357. package/ebay-inline-notice/types.d.ts +1 -1
  358. package/ebay-inline-notice/types.d.ts.map +1 -1
  359. package/ebay-lightbox-dialog/README.md +17 -13
  360. package/ebay-lightbox-dialog/index.d.ts +1 -1
  361. package/ebay-lightbox-dialog/index.d.ts.map +1 -1
  362. package/ebay-lightbox-dialog/index.js +1 -1
  363. package/ebay-lightbox-dialog/lightbox-dialog.d.ts +7 -7
  364. package/ebay-lightbox-dialog/lightbox-dialog.d.ts.map +1 -1
  365. package/ebay-list/README.md +149 -0
  366. package/ebay-list/index.d.ts +5 -0
  367. package/ebay-list/index.d.ts.map +1 -0
  368. package/ebay-list/index.js +1 -0
  369. package/ebay-list/list-item-leading.d.ts +7 -0
  370. package/ebay-list/list-item-leading.d.ts.map +1 -0
  371. package/ebay-list/list-item-trailing.d.ts +7 -0
  372. package/ebay-list/list-item-trailing.d.ts.map +1 -0
  373. package/ebay-list/list-item.d.ts +11 -0
  374. package/ebay-list/list-item.d.ts.map +1 -0
  375. package/ebay-list/list.d.ts +8 -0
  376. package/ebay-list/list.d.ts.map +1 -0
  377. package/ebay-list/types.d.ts +6 -0
  378. package/ebay-list/types.d.ts.map +1 -0
  379. package/ebay-listbox/README.md +16 -26
  380. package/ebay-listbox/index.d.ts +3 -3
  381. package/ebay-listbox/index.d.ts.map +1 -1
  382. package/ebay-listbox/listbox-option-description.d.ts +2 -2
  383. package/ebay-listbox/listbox-option-description.d.ts.map +1 -1
  384. package/ebay-listbox/listbox-option.d.ts +2 -2
  385. package/ebay-listbox/listbox-option.d.ts.map +1 -1
  386. package/ebay-listbox/listbox.d.ts +5 -5
  387. package/ebay-listbox/listbox.d.ts.map +1 -1
  388. package/ebay-listbox-button/README.md +17 -9
  389. package/ebay-listbox-button/index.d.ts +2 -2
  390. package/ebay-listbox-button/index.d.ts.map +1 -1
  391. package/ebay-listbox-button/listbox-button-option.d.ts +3 -3
  392. package/ebay-listbox-button/listbox-button-option.d.ts.map +1 -1
  393. package/ebay-listbox-button/listbox-button.d.ts +3 -3
  394. package/ebay-listbox-button/listbox-button.d.ts.map +1 -1
  395. package/ebay-menu/README.md +24 -20
  396. package/ebay-menu/index.d.ts +4 -4
  397. package/ebay-menu/index.d.ts.map +1 -1
  398. package/ebay-menu/menu-item-separator.d.ts +2 -2
  399. package/ebay-menu/menu-item-separator.d.ts.map +1 -1
  400. package/ebay-menu/menu-item.d.ts +3 -3
  401. package/ebay-menu/menu-item.d.ts.map +1 -1
  402. package/ebay-menu/menu.d.ts +2 -2
  403. package/ebay-menu/menu.d.ts.map +1 -1
  404. package/ebay-menu/types.d.ts +7 -7
  405. package/ebay-menu/types.d.ts.map +1 -1
  406. package/ebay-menu-button/README.md +33 -30
  407. package/ebay-menu-button/index.d.ts +5 -5
  408. package/ebay-menu-button/index.d.ts.map +1 -1
  409. package/ebay-menu-button/menu-button-item.d.ts +1 -1
  410. package/ebay-menu-button/menu-button-item.d.ts.map +1 -1
  411. package/ebay-menu-button/menu-button-label.d.ts +1 -1
  412. package/ebay-menu-button/menu-button-label.d.ts.map +1 -1
  413. package/ebay-menu-button/menu-button-separator.d.ts +2 -2
  414. package/ebay-menu-button/menu-button-separator.d.ts.map +1 -1
  415. package/ebay-menu-button/menu-button.d.ts +2 -2
  416. package/ebay-menu-button/menu-button.d.ts.map +1 -1
  417. package/ebay-menu-button/types.d.ts +6 -6
  418. package/ebay-menu-button/types.d.ts.map +1 -1
  419. package/ebay-notice-base/components/ebay-notice-content/index.d.ts +1 -1
  420. package/ebay-notice-base/components/ebay-notice-content/index.d.ts.map +1 -1
  421. package/ebay-notice-base/components/ebay-notice-content/notice-content.d.ts +3 -3
  422. package/ebay-notice-base/components/ebay-notice-content/notice-content.d.ts.map +1 -1
  423. package/ebay-notice-base/components/ebay-notice-title/index.d.ts +1 -1
  424. package/ebay-notice-base/components/ebay-notice-title/index.d.ts.map +1 -1
  425. package/ebay-notice-base/components/ebay-notice-title/notice-title.d.ts +1 -1
  426. package/ebay-notice-base/components/ebay-notice-title/notice-title.d.ts.map +1 -1
  427. package/ebay-notice-base/index.d.ts +2 -2
  428. package/ebay-notice-base/index.d.ts.map +1 -1
  429. package/ebay-page-notice/README.md +13 -11
  430. package/ebay-page-notice/index.d.ts +5 -5
  431. package/ebay-page-notice/index.d.ts.map +1 -1
  432. package/ebay-page-notice/page-notice-cta.d.ts +1 -1
  433. package/ebay-page-notice/page-notice-cta.d.ts.map +1 -1
  434. package/ebay-page-notice/page-notice-footer.d.ts +1 -1
  435. package/ebay-page-notice/page-notice-footer.d.ts.map +1 -1
  436. package/ebay-page-notice/page-notice-title.d.ts +2 -2
  437. package/ebay-page-notice/page-notice-title.d.ts.map +1 -1
  438. package/ebay-page-notice/page-notice.d.ts +4 -4
  439. package/ebay-page-notice/page-notice.d.ts.map +1 -1
  440. package/ebay-pagination/README.md +29 -23
  441. package/ebay-pagination/const.d.ts.map +1 -1
  442. package/ebay-pagination/helpers.d.ts +1 -1
  443. package/ebay-pagination/helpers.d.ts.map +1 -1
  444. package/ebay-pagination/index.d.ts +3 -3
  445. package/ebay-pagination/index.d.ts.map +1 -1
  446. package/ebay-pagination/pagination-item.d.ts +4 -4
  447. package/ebay-pagination/pagination-item.d.ts.map +1 -1
  448. package/ebay-pagination/pagination.d.ts +4 -4
  449. package/ebay-pagination/pagination.d.ts.map +1 -1
  450. package/ebay-pagination/types.d.ts +2 -2
  451. package/ebay-pagination/types.d.ts.map +1 -1
  452. package/ebay-panel-dialog/README.md +14 -11
  453. package/ebay-panel-dialog/index.d.ts +1 -1
  454. package/ebay-panel-dialog/index.d.ts.map +1 -1
  455. package/ebay-panel-dialog/index.js +1 -1
  456. package/ebay-panel-dialog/panel-dialog.d.ts +4 -4
  457. package/ebay-panel-dialog/panel-dialog.d.ts.map +1 -1
  458. package/ebay-progress-bar/README.md +13 -8
  459. package/ebay-progress-bar/index.d.ts +1 -1
  460. package/ebay-progress-bar/index.d.ts.map +1 -1
  461. package/ebay-progress-bar/progress-bar.d.ts +2 -2
  462. package/ebay-progress-bar/progress-bar.d.ts.map +1 -1
  463. package/ebay-progress-bar-expressive/README.md +12 -9
  464. package/ebay-progress-bar-expressive/index.d.ts +2 -2
  465. package/ebay-progress-bar-expressive/index.d.ts.map +1 -1
  466. package/ebay-progress-bar-expressive/progress-bar-expressive-message.d.ts +2 -2
  467. package/ebay-progress-bar-expressive/progress-bar-expressive-message.d.ts.map +1 -1
  468. package/ebay-progress-bar-expressive/progress-bar-expressive.d.ts +3 -3
  469. package/ebay-progress-bar-expressive/progress-bar-expressive.d.ts.map +1 -1
  470. package/ebay-progress-spinner/README.md +12 -7
  471. package/ebay-progress-spinner/index.d.ts +1 -1
  472. package/ebay-progress-spinner/index.d.ts.map +1 -1
  473. package/ebay-progress-spinner/progress-spinner.d.ts +4 -4
  474. package/ebay-progress-spinner/progress-spinner.d.ts.map +1 -1
  475. package/ebay-progress-stepper/README.md +13 -12
  476. package/ebay-progress-stepper/ebay-progress-step.d.ts +2 -2
  477. package/ebay-progress-stepper/ebay-progress-step.d.ts.map +1 -1
  478. package/ebay-progress-stepper/ebay-progress-stepper.d.ts +2 -2
  479. package/ebay-progress-stepper/ebay-progress-stepper.d.ts.map +1 -1
  480. package/ebay-progress-stepper/ebay-progress-title.d.ts +1 -1
  481. package/ebay-progress-stepper/ebay-progress-title.d.ts.map +1 -1
  482. package/ebay-progress-stepper/index.d.ts +4 -4
  483. package/ebay-progress-stepper/index.d.ts.map +1 -1
  484. package/ebay-progress-stepper/types.d.ts +2 -2
  485. package/ebay-radio/README.md +19 -11
  486. package/ebay-radio/index.d.ts +1 -1
  487. package/ebay-radio/index.d.ts.map +1 -1
  488. package/ebay-radio/radio.d.ts +4 -4
  489. package/ebay-radio/radio.d.ts.map +1 -1
  490. package/ebay-section-notice/README.md +15 -13
  491. package/ebay-section-notice/index.d.ts +5 -5
  492. package/ebay-section-notice/index.d.ts.map +1 -1
  493. package/ebay-section-notice/section-notice-cta.d.ts +1 -1
  494. package/ebay-section-notice/section-notice-cta.d.ts.map +1 -1
  495. package/ebay-section-notice/section-notice-footer.d.ts +1 -1
  496. package/ebay-section-notice/section-notice-footer.d.ts.map +1 -1
  497. package/ebay-section-notice/section-notice-title.d.ts +2 -2
  498. package/ebay-section-notice/section-notice-title.d.ts.map +1 -1
  499. package/ebay-section-notice/section-notice.d.ts +6 -6
  500. package/ebay-section-notice/section-notice.d.ts.map +1 -1
  501. package/ebay-section-title/README.md +23 -16
  502. package/ebay-section-title/cta.d.ts +2 -2
  503. package/ebay-section-title/cta.d.ts.map +1 -1
  504. package/ebay-section-title/index.d.ts +5 -5
  505. package/ebay-section-title/index.d.ts.map +1 -1
  506. package/ebay-section-title/info.d.ts +2 -2
  507. package/ebay-section-title/info.d.ts.map +1 -1
  508. package/ebay-section-title/overflow.d.ts +2 -2
  509. package/ebay-section-title/overflow.d.ts.map +1 -1
  510. package/ebay-section-title/section-title.d.ts +2 -2
  511. package/ebay-section-title/section-title.d.ts.map +1 -1
  512. package/ebay-section-title/subtitle.d.ts +2 -2
  513. package/ebay-section-title/subtitle.d.ts.map +1 -1
  514. package/ebay-section-title/title.d.ts +2 -2
  515. package/ebay-section-title/title.d.ts.map +1 -1
  516. package/ebay-segmented-buttons/README.md +11 -8
  517. package/ebay-segmented-buttons/button.d.ts +2 -2
  518. package/ebay-segmented-buttons/button.d.ts.map +1 -1
  519. package/ebay-segmented-buttons/index.d.ts +3 -3
  520. package/ebay-segmented-buttons/index.d.ts.map +1 -1
  521. package/ebay-segmented-buttons/segmented-buttons.d.ts +2 -2
  522. package/ebay-segmented-buttons/segmented-buttons.d.ts.map +1 -1
  523. package/ebay-segmented-buttons/types.d.ts +5 -5
  524. package/ebay-segmented-buttons/types.d.ts.map +1 -1
  525. package/ebay-select/README.md +38 -27
  526. package/ebay-select/ebay-select-option.d.ts +2 -2
  527. package/ebay-select/ebay-select-option.d.ts.map +1 -1
  528. package/ebay-select/ebay-select.d.ts +4 -4
  529. package/ebay-select/ebay-select.d.ts.map +1 -1
  530. package/ebay-select/index.d.ts +2 -2
  531. package/ebay-select/index.d.ts.map +1 -1
  532. package/ebay-signal/README.md +13 -6
  533. package/ebay-signal/index.d.ts +1 -1
  534. package/ebay-signal/index.d.ts.map +1 -1
  535. package/ebay-signal/signal.d.ts +3 -3
  536. package/ebay-signal/signal.d.ts.map +1 -1
  537. package/ebay-skeleton/ebay-skeleton-avatar.d.ts +2 -2
  538. package/ebay-skeleton/ebay-skeleton-avatar.d.ts.map +1 -1
  539. package/ebay-skeleton/ebay-skeleton-button.d.ts +3 -3
  540. package/ebay-skeleton/ebay-skeleton-button.d.ts.map +1 -1
  541. package/ebay-skeleton/ebay-skeleton-image.d.ts +2 -2
  542. package/ebay-skeleton/ebay-skeleton-image.d.ts.map +1 -1
  543. package/ebay-skeleton/ebay-skeleton-text.d.ts +3 -3
  544. package/ebay-skeleton/ebay-skeleton-text.d.ts.map +1 -1
  545. package/ebay-skeleton/ebay-skeleton-textbox.d.ts +2 -2
  546. package/ebay-skeleton/ebay-skeleton-textbox.d.ts.map +1 -1
  547. package/ebay-skeleton/ebay-skeleton.d.ts +3 -3
  548. package/ebay-skeleton/ebay-skeleton.d.ts.map +1 -1
  549. package/ebay-skeleton/index.d.ts +6 -6
  550. package/ebay-skeleton/index.d.ts.map +1 -1
  551. package/ebay-skeleton/types.d.ts +4 -4
  552. package/ebay-skeleton/types.d.ts.map +1 -1
  553. package/ebay-snackbar-dialog/README.md +21 -16
  554. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.d.ts +1 -1
  555. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.d.ts.map +1 -1
  556. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.d.ts +4 -4
  557. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.d.ts.map +1 -1
  558. package/ebay-snackbar-dialog/index.d.ts +2 -2
  559. package/ebay-snackbar-dialog/index.d.ts.map +1 -1
  560. package/ebay-snackbar-dialog/index.js +1 -1
  561. package/ebay-split-button/README.md +29 -23
  562. package/ebay-split-button/index.d.ts +2 -2
  563. package/ebay-split-button/index.d.ts.map +1 -1
  564. package/ebay-split-button/split-button.d.ts +2 -2
  565. package/ebay-split-button/split-button.d.ts.map +1 -1
  566. package/ebay-split-button/types.d.ts +5 -5
  567. package/ebay-split-button/types.d.ts.map +1 -1
  568. package/ebay-star-rating/README.md +13 -7
  569. package/ebay-star-rating/index.d.ts +1 -1
  570. package/ebay-star-rating/index.d.ts.map +1 -1
  571. package/ebay-star-rating/star-rating.d.ts +2 -2
  572. package/ebay-star-rating/star-rating.d.ts.map +1 -1
  573. package/ebay-star-rating-select/README.md +20 -14
  574. package/ebay-star-rating-select/index.d.ts +1 -1
  575. package/ebay-star-rating-select/index.d.ts.map +1 -1
  576. package/ebay-star-rating-select/star-rating-select.d.ts +3 -3
  577. package/ebay-star-rating-select/star-rating-select.d.ts.map +1 -1
  578. package/ebay-svg/README.md +11 -8
  579. package/ebay-svg/index.d.ts +1 -1
  580. package/ebay-svg/index.d.ts.map +1 -1
  581. package/ebay-svg/svg.d.ts +2 -2
  582. package/ebay-svg/svg.d.ts.map +1 -1
  583. package/ebay-switch/README.md +13 -6
  584. package/ebay-switch/ebay-switch.d.ts +3 -3
  585. package/ebay-switch/ebay-switch.d.ts.map +1 -1
  586. package/ebay-switch/index.d.ts +1 -1
  587. package/ebay-switch/index.d.ts.map +1 -1
  588. package/ebay-table/index.d.ts +5 -5
  589. package/ebay-table/index.d.ts.map +1 -1
  590. package/ebay-table/table-cell.d.ts +3 -3
  591. package/ebay-table/table-cell.d.ts.map +1 -1
  592. package/ebay-table/table-header.d.ts +3 -3
  593. package/ebay-table/table-header.d.ts.map +1 -1
  594. package/ebay-table/table-row.d.ts +4 -4
  595. package/ebay-table/table-row.d.ts.map +1 -1
  596. package/ebay-table/table.d.ts +4 -4
  597. package/ebay-table/table.d.ts.map +1 -1
  598. package/ebay-table/types.d.ts +7 -7
  599. package/ebay-table/types.d.ts.map +1 -1
  600. package/ebay-tabs/README.md +16 -10
  601. package/ebay-tabs/index.d.ts +4 -4
  602. package/ebay-tabs/index.d.ts.map +1 -1
  603. package/ebay-tabs/tab-panel.d.ts +2 -2
  604. package/ebay-tabs/tab-panel.d.ts.map +1 -1
  605. package/ebay-tabs/tab.d.ts +2 -2
  606. package/ebay-tabs/tab.d.ts.map +1 -1
  607. package/ebay-tabs/tabs.d.ts +2 -2
  608. package/ebay-tabs/tabs.d.ts.map +1 -1
  609. package/ebay-tabs/types.d.ts +4 -4
  610. package/ebay-tabs/types.d.ts.map +1 -1
  611. package/ebay-textbox/README.md +38 -29
  612. package/ebay-textbox/index.d.ts +6 -6
  613. package/ebay-textbox/index.d.ts.map +1 -1
  614. package/ebay-textbox/postfix-icon.d.ts +2 -2
  615. package/ebay-textbox/postfix-icon.d.ts.map +1 -1
  616. package/ebay-textbox/postfix-text.d.ts +2 -2
  617. package/ebay-textbox/postfix-text.d.ts.map +1 -1
  618. package/ebay-textbox/prefix-icon.d.ts +2 -2
  619. package/ebay-textbox/prefix-icon.d.ts.map +1 -1
  620. package/ebay-textbox/prefix-text.d.ts +2 -2
  621. package/ebay-textbox/prefix-text.d.ts.map +1 -1
  622. package/ebay-textbox/textbox.d.ts +5 -5
  623. package/ebay-textbox/textbox.d.ts.map +1 -1
  624. package/ebay-textbox/types.d.ts +6 -6
  625. package/ebay-textbox/types.d.ts.map +1 -1
  626. package/ebay-toast-dialog/README.md +7 -6
  627. package/ebay-toast-dialog/components/toast.d.ts +3 -3
  628. package/ebay-toast-dialog/components/toast.d.ts.map +1 -1
  629. package/ebay-toast-dialog/index.d.ts +1 -1
  630. package/ebay-toast-dialog/index.d.ts.map +1 -1
  631. package/ebay-toast-dialog/index.js +1 -1
  632. package/ebay-toggle-button/index.d.ts +2 -2
  633. package/ebay-toggle-button/index.d.ts.map +1 -1
  634. package/ebay-toggle-button/toggle-button.d.ts +2 -2
  635. package/ebay-toggle-button/toggle-button.d.ts.map +1 -1
  636. package/ebay-toggle-button/types.d.ts +5 -5
  637. package/ebay-toggle-button/types.d.ts.map +1 -1
  638. package/ebay-toggle-button-group/README.md +12 -12
  639. package/ebay-toggle-button-group/index.d.ts +2 -2
  640. package/ebay-toggle-button-group/index.d.ts.map +1 -1
  641. package/ebay-toggle-button-group/toggle-button-group.d.ts +2 -2
  642. package/ebay-toggle-button-group/toggle-button-group.d.ts.map +1 -1
  643. package/ebay-toggle-button-group/types.d.ts +5 -5
  644. package/ebay-toggle-button-group/types.d.ts.map +1 -1
  645. package/ebay-tooltip/README.md +10 -7
  646. package/ebay-tooltip/ebay-tooltip-content.d.ts +3 -3
  647. package/ebay-tooltip/ebay-tooltip-content.d.ts.map +1 -1
  648. package/ebay-tooltip/ebay-tooltip-host.d.ts +3 -3
  649. package/ebay-tooltip/ebay-tooltip-host.d.ts.map +1 -1
  650. package/ebay-tooltip/ebay-tooltip.d.ts +3 -3
  651. package/ebay-tooltip/ebay-tooltip.d.ts.map +1 -1
  652. package/ebay-tooltip/index.d.ts +5 -5
  653. package/ebay-tooltip/index.d.ts.map +1 -1
  654. package/ebay-tourtip/README.md +23 -26
  655. package/ebay-tourtip/ebay-tourtip-content.d.ts +3 -3
  656. package/ebay-tourtip/ebay-tourtip-content.d.ts.map +1 -1
  657. package/ebay-tourtip/ebay-tourtip-footer.d.ts +2 -2
  658. package/ebay-tourtip/ebay-tourtip-footer.d.ts.map +1 -1
  659. package/ebay-tourtip/ebay-tourtip-heading.d.ts +2 -2
  660. package/ebay-tourtip/ebay-tourtip-heading.d.ts.map +1 -1
  661. package/ebay-tourtip/ebay-tourtip-host.d.ts +3 -3
  662. package/ebay-tourtip/ebay-tourtip-host.d.ts.map +1 -1
  663. package/ebay-tourtip/ebay-tourtip.d.ts +4 -4
  664. package/ebay-tourtip/ebay-tourtip.d.ts.map +1 -1
  665. package/ebay-tourtip/index.d.ts +6 -6
  666. package/ebay-tourtip/index.d.ts.map +1 -1
  667. package/ebay-tri-state-checkbox/Readme.md +15 -12
  668. package/ebay-tri-state-checkbox/index.d.ts +2 -2
  669. package/ebay-tri-state-checkbox/index.d.ts.map +1 -1
  670. package/ebay-tri-state-checkbox/tri-state-checkbox.d.ts +3 -3
  671. package/ebay-tri-state-checkbox/tri-state-checkbox.d.ts.map +1 -1
  672. package/ebay-tri-state-checkbox/types.d.ts +3 -3
  673. package/ebay-tri-state-checkbox/types.d.ts.map +1 -1
  674. package/ebay-video/README.md +24 -19
  675. package/ebay-video/const.d.ts.map +1 -1
  676. package/ebay-video/controls.d.ts.map +1 -1
  677. package/ebay-video/index.d.ts +3 -3
  678. package/ebay-video/index.d.ts.map +1 -1
  679. package/ebay-video/reportButton.d.ts +1 -1
  680. package/ebay-video/reportButton.d.ts.map +1 -1
  681. package/ebay-video/source.d.ts +2 -2
  682. package/ebay-video/source.d.ts.map +1 -1
  683. package/ebay-video/types.d.ts +3 -3
  684. package/ebay-video/types.d.ts.map +1 -1
  685. package/ebay-video/video.d.ts +4 -4
  686. package/ebay-video/video.d.ts.map +1 -1
  687. package/events/index.d.ts +4 -4
  688. package/events/index.d.ts.map +1 -1
  689. package/file-preview-card-BD6TIsY7.js +1 -0
  690. package/{lightbox-dialog-B19PMyMY.js → lightbox-dialog-DqcQsTSy.js} +1 -1
  691. package/package.json +79 -78
  692. package/utils/index.d.ts +6 -6
  693. package/utils/index.d.ts.map +1 -1
  694. package/dialog-previous-button-DR6Ujner.js +0 -1
  695. package/ebay-details-CwOA53up.js +0 -1
  696. package/file-preview-card-D4qnvGtF.js +0 -1
@@ -1,7 +1,7 @@
1
- import { ComponentProps, FC } from 'react';
2
- type TabProps = ComponentProps<'li'> & {
1
+ import { ComponentProps, FC } from "react";
2
+ type TabProps = ComponentProps<"li"> & {
3
3
  href: string;
4
- ariaCurrent?: 'page' | 'true';
4
+ ariaCurrent?: "page" | "true";
5
5
  };
6
6
  declare const Tab: FC<TabProps>;
7
7
  export default Tab;
@@ -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,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"}
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,CAAC;AAGlD,KAAK,QAAQ,GAAG,cAAc,CAAC,IAAI,CAAC,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,GAAG,EAAE,EAAE,CAAC,QAAQ,CAMrB,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -1,53 +1,62 @@
1
1
  # EbayField
2
2
 
3
3
  ## Demo
4
+
4
5
  [Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/form-input-ebay-field--default-inline)
5
6
 
6
7
  ## Import JS
8
+
7
9
  ```jsx harmony
8
- import { EbayField, EbayLabel, EbayFieldDescription } from '@ebay/ui-core-react/ebay-field';
10
+ import { EbayField, EbayLabel, EbayFieldDescription } from "@ebay/ui-core-react/ebay-field";
9
11
  ```
12
+
10
13
  ## Import following styles from SKIN
14
+
11
15
  ```jsx harmony
12
- import '@ebay/skin/field';
16
+ import "@ebay/skin/field";
13
17
  ```
18
+
14
19
  ## Import styles using SCSS/CSS
20
+
15
21
  ```jsx harmony
16
- import '@ebay/skin/field.css'
22
+ import "@ebay/skin/field.css";
17
23
  ```
24
+
18
25
  ## Usage
26
+
19
27
  ```
20
28
  yarn add @ebay/ui-core-react
21
29
  ```
30
+
22
31
  ```jsx harmony
23
- <EbayField layout="block">
24
- <EbayLabel stacked htmlFor="field1">Label 1</EbayLabel>
32
+ <EbayField layout="block">
33
+ <EbayLabel stacked htmlFor="field1">
34
+ Label 1
35
+ </EbayLabel>
25
36
  <EbayTextbox placeholder="placeholder text" id="field1" />
26
- <EbayFieldDescription
27
- type="confirmation"
28
- position="below">
29
- Some description Text
37
+ <EbayFieldDescription type="confirmation" position="below">
38
+ Some description Text
30
39
  </EbayFieldDescription>
31
40
  </EbayField>
32
41
  ```
33
42
 
34
43
  ## EbayField Attributes
35
44
 
36
- Name | Type | Stateful | Required | Description
37
- --- | --- | --- | --- | ---
38
- `layout` | String | No | No | `block`, `inline` (default)
45
+ | Name | Type | Stateful | Required | Description |
46
+ | -------- | ------ | -------- | -------- | --------------------------- |
47
+ | `layout` | String | No | No | `block`, `inline` (default) |
39
48
 
40
49
  ## EbayLabel Attributes
41
50
 
42
- Name | Type | Stateful | Required | Description
43
- --- | --- | --- | --- | ---
44
- `stacked` | Boolean | No | No | display label above the field if true
45
- `required` | Boolean | No | No | indicates the field is required if true
46
- `position` | String | No | No | `start` (default) or `end` position towards the input
51
+ | Name | Type | Stateful | Required | Description |
52
+ | ---------- | ------- | -------- | -------- | ----------------------------------------------------- |
53
+ | `stacked` | Boolean | No | No | display label above the field if true |
54
+ | `required` | Boolean | No | No | indicates the field is required if true |
55
+ | `position` | String | No | No | `start` (default) or `end` position towards the input |
47
56
 
48
57
  ## EbayFieldDescription Attributes
49
58
 
50
- Name | Type | Stateful | Required | Description
51
- --- | --- | --- | --- | ---
52
- `type` | String | No | No | `confirmation`, `default`(Default), `attention`, `information`
53
- `position` | String | No | No | `below` (Default), `inline`, `above`
59
+ | Name | Type | Stateful | Required | Description |
60
+ | ---------- | ------ | -------- | -------- | -------------------------------------------------------------- |
61
+ | `type` | String | No | No | `confirmation`, `default`(Default), `attention`, `information` |
62
+ | `position` | String | No | No | `below` (Default), `inline`, `above` |
@@ -1,6 +1,6 @@
1
- import { ComponentProps, FC } from 'react';
2
- import { FieldDescriptionType, FieldDescriptionPosition } from './types';
3
- type DescriptionProps = ComponentProps<'div'> & ComponentProps<'span'> & {
1
+ import { ComponentProps, FC } from "react";
2
+ import { FieldDescriptionType, FieldDescriptionPosition } from "./types";
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,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"}
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,CAAC;AAElD,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEzE,KAAK,gBAAgB,GAAG,cAAc,CAAC,KAAK,CAAC,GACzC,cAAc,CAAC,MAAM,CAAC,GAAG;IACrB,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,QAAQ,CAAC,EAAE,wBAAwB,CAAC;CACvC,CAAC;AAEN,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CASrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,5 +1,5 @@
1
- import { FC, ReactNode } from 'react';
2
- import { FieldLayoutType } from './types';
1
+ import { FC, ReactNode } from "react";
2
+ import { FieldLayoutType } from "./types";
3
3
  type FieldProps = {
4
4
  className?: string;
5
5
  layout?: FieldLayoutType;
@@ -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,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"}
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,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,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,CAGzB,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- export { default as EbayField } from './field';
2
- export { default as EbayLabel, type Props as EbayLabelProps } from './label';
3
- export { default as EbayFieldDescription } from './description';
4
- export type { FieldDescriptionType, FieldDescriptionPosition, FieldLayoutType, LabelPosition } from './types';
1
+ export { default as EbayField } from "./field";
2
+ export { default as EbayLabel, type Props as EbayLabelProps } from "./label";
3
+ export { default as EbayFieldDescription } from "./description";
4
+ export type { FieldDescriptionType, FieldDescriptionPosition, FieldLayoutType, LabelPosition } from "./types";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,KAAK,KAAK,IAAI,cAAc,EAAE,MAAM,SAAS,CAAA;AAC5E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,eAAe,CAAA;AAC/D,YAAY,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,KAAK,KAAK,IAAI,cAAc,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAChE,YAAY,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
@@ -1,11 +1,11 @@
1
- import { ComponentProps, FC } from 'react';
2
- import { LabelPosition } from './types';
1
+ import { ComponentProps, FC } from "react";
2
+ import { LabelPosition } from "./types";
3
3
  export type Props = {
4
4
  className?: string;
5
5
  stacked?: boolean;
6
6
  required?: boolean;
7
7
  position?: LabelPosition;
8
- } & ComponentProps<'label'>;
8
+ } & ComponentProps<"label">;
9
9
  declare const Label: FC<Props>;
10
10
  export default Label;
11
11
  //# sourceMappingURL=label.d.ts.map
@@ -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,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"}
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,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,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,CAAC;AAE5B,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,KAAK,CAoBpB,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,5 +1,5 @@
1
- export type FieldLayoutType = 'inline' | 'block';
2
- export type FieldDescriptionType = 'default' | 'group' | 'confirmation' | 'information' | 'attention';
3
- export type FieldDescriptionPosition = 'inline' | 'below' | 'above';
4
- export type LabelPosition = 'start' | 'end';
1
+ export type FieldLayoutType = "inline" | "block";
2
+ export type FieldDescriptionType = "default" | "group" | "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,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEhD,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,OAAO,GAAG,cAAc,GAAG,aAAa,GAAG,WAAW,CAAA;AAErG,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;AAEnE,MAAM,MAAM,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,CAAC;AAEjD,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,OAAO,GAAG,cAAc,GAAG,aAAa,GAAG,WAAW,CAAC;AAEtG,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AAEpE,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,CAAC"}
@@ -37,11 +37,7 @@ Add the below icons to the `EbaySvg` component.
37
37
  Note: Make sure that `EbaySvg` is only rendered on the server so it does not affect the client bundle size.
38
38
 
39
39
  ```tsx
40
- <EbaySvg
41
- icons={[
42
- "upload24"
43
- ]}
44
- />
40
+ <EbaySvg icons={["upload24"]} />
45
41
  ```
46
42
 
47
43
  ```jsx harmony
@@ -54,6 +50,6 @@ Note: Make sure that `EbaySvg` is only rendered on the server so it does not aff
54
50
 
55
51
  ## Attributes
56
52
 
57
- | Name | Type | Required | Description | Data |
58
- | -------- | -------- | -------- | --------------------------------------------------------------------------------------------- | --------------------- |
59
- | `onInput`| Function | No | Triggered when files are selected, providing the `files` list as part of the event data | `event, { files }` |
53
+ | Name | Type | Required | Description | Data |
54
+ | --------- | -------- | -------- | --------------------------------------------------------------------------------------- | ------------------ |
55
+ | `onInput` | Function | No | Triggered when files are selected, providing the `files` list as part of the event data | `event, { files }` |
@@ -1,11 +1,11 @@
1
- import React, { FC, ComponentProps, ElementType } from 'react';
2
- import { FileInputHandler } from './types';
1
+ import React, { FC, ComponentProps, ElementType } from "react";
2
+ import { FileInputHandler } from "./types";
3
3
  type ChildrenProps = ComponentProps<ElementType> & {
4
4
  as?: ElementType;
5
5
  };
6
6
  export declare const EbayFileInputHeader: FC<ChildrenProps>;
7
7
  export declare const EbayFileInputSubheader: FC<ChildrenProps>;
8
- export type EbayFileInputProps = Omit<ComponentProps<'input'>, 'onInput' | 'type'> & {
8
+ export type EbayFileInputProps = Omit<ComponentProps<"input">, "onInput" | "type"> & {
9
9
  onInput?: FileInputHandler;
10
10
  };
11
11
  declare const EbayFileInput: React.FC<EbayFileInputProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"file-input.d.ts","sourceRoot":"","sources":["../../src/ebay-file-input/file-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,EAAE,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAK3C,KAAK,aAAa,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IAC/C,EAAE,CAAC,EAAE,WAAW,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,aAAa,CAEjD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,aAAa,CAEpD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC,GAAG;IACjF,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAA;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiD/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"file-input.d.ts","sourceRoot":"","sources":["../../src/ebay-file-input/file-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,EAAE,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAK3C,KAAK,aAAa,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IAC/C,EAAE,CAAC,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,aAAa,CAEjD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,aAAa,CAEpD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC,GAAG;IACjF,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgD/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,2 +1,2 @@
1
- export { default as EbayFileInput, EbayFileInputHeader, EbayFileInputSubheader, type EbayFileInputProps } from './file-input';
1
+ export { default as EbayFileInput, EbayFileInputHeader, EbayFileInputSubheader, type EbayFileInputProps, } from "./file-input";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-file-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,OAAO,IAAI,aAAa,EACxB,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,kBAAkB,EAC1B,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-file-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,OAAO,IAAI,aAAa,EACxB,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,kBAAkB,GAC1B,MAAM,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
- import { EbayChangeEventHandler } from '../common/event-utils/types';
1
+ import { EbayChangeEventHandler } from "../common/event-utils/types";
2
2
  export interface FileInputEvent {
3
3
  files: FileList;
4
4
  }
@@ -9,19 +9,19 @@
9
9
  ### Import JS
10
10
 
11
11
  ```jsx harmony
12
- import { EbayFilePreviewCard } from '@ebay/ui-core-react/ebay-file-preview-card'
12
+ import { EbayFilePreviewCard } from "@ebay/ui-core-react/ebay-file-preview-card";
13
13
  ```
14
14
 
15
15
  ### Import following styles from SKIN
16
16
 
17
17
  ```jsx harmony
18
- import '@ebay/skin/file-preview-card'
18
+ import "@ebay/skin/file-preview-card";
19
19
  ```
20
20
 
21
21
  ### Or import styles using SCSS/CSS
22
22
 
23
23
  ```jsx harmony
24
- import '@ebay/skin/file-preview-card.css'
24
+ import "@ebay/skin/file-preview-card.css";
25
25
  ```
26
26
 
27
27
  ### Import icons
@@ -31,15 +31,24 @@ Add the below icons to the `EbaySvg` component.
31
31
  Note: Make sure that `EbaySvg` is only rendered on the server so it does not affect the client bundle size.
32
32
 
33
33
  ```tsx
34
- <EbaySvg icons={['close16', 'delete16', 'vertical16', 'play16', 'file24']} />
34
+ <EbaySvg icons={["close16", "delete16", "vertical16", "play16", "file24"]} />
35
+ ```
36
+
37
+ ```jsx harmony
38
+ <EbayFilePreviewCard status="uploading" a11yCancelUploadText="Cancel Uploard" onCancel={(e) => action("onCancel")(e)} />
35
39
  ```
36
40
 
37
41
  ```jsx harmony
38
42
  <EbayFilePreviewCard
39
- status="uploading"
40
- a11yCancelUploadText="Cancel Uploard"
41
- onCancel={(e) => action('onCancel')(e)}
42
- />
43
+ file={{
44
+ name: "file-name.jpg",
45
+ type: "image",
46
+ src: "https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-real-square-pic.jpg",
47
+ }}
48
+ onAction={onAction}
49
+ >
50
+ <EbayFilePreviewCardAction icon="heart16" aria-label="like item" />
51
+ </EbayFilePreviewCard>
43
52
  ```
44
53
 
45
54
  ## Attributes
@@ -58,6 +67,7 @@ Note: Make sure that `EbaySvg` is only rendered on the server so it does not aff
58
67
  | `menuActions` | `{event: string, label: string }[]` | No | Array of menu actions, containing event and label. | |
59
68
  | `seeMore` | `Number` | No | Passing a number here will convert the card to a "see more" card. | |
60
69
  | `a11ySeeMoreText` | `String` | No | a11y text for see more button. |
70
+ | `href` | `String` | No | href that will wrapper the file preview card. |
61
71
 
62
72
  ## Events
63
73
 
@@ -67,3 +77,10 @@ Note: Make sure that `EbaySvg` is only rendered on the server so it does not aff
67
77
  | `onSeeMore` | `EbayEventHandler` | No | Triggered when the see more button is clicked. | `event` |
68
78
  | `onDelete` | `EbayEventHandler` | No | Triggered when the delete button is clicked. | `event` |
69
79
  | `onCancel` | `EbayEventHandler` | No | Triggered when the cancel button is clicked. | `event` |
80
+ | `onAction` | `EbayEventHandler` | No | Triggered when the action button is clicked. | `event` |
81
+
82
+ ## Components
83
+
84
+ | Name | Type | Required | Description | Data |
85
+ | --------------------------- | --------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------- | ---- |
86
+ | `EbayFilePreviewCardAction` | `EbayIconButtonProps` | No | Action component that will be used to render EbayIconButton and needs to have an `icon` and `aria-label` to be render. |
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ import { EbayIconButtonProps } from "../ebay-icon-button";
3
+ export type EbayFilePreviewCardActionProps = Omit<EbayIconButtonProps, "ref">;
4
+ declare const EbayFilePreviewCardAction: FC<EbayFilePreviewCardActionProps>;
5
+ export default EbayFilePreviewCardAction;
6
+ //# sourceMappingURL=ebay-file-preview-card-action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ebay-file-preview-card-action.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/ebay-file-preview-card-action.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;AAE9E,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CAAc,CAAC;AAEjF,eAAe,yBAAyB,CAAC"}
@@ -1,15 +1,18 @@
1
- import { FC } from 'react';
2
- import { EbayEventHandler } from '../common/event-utils/types';
3
- import { FilePreviewCardMenuAction, FilePreviewCardMenuActionHandler } from './types';
4
- export type EbayFilePreviewActionProps = {
1
+ import { FC, ReactElement } from "react";
2
+ import { EbayEventHandler } from "../common/event-utils/types";
3
+ import { EbayFilePreviewCardActionProps } from "./ebay-file-preview-card-action";
4
+ import { FilePreviewCardMenuAction, FilePreviewCardMenuActionHandler } from "./types";
5
+ export type FilePreviewActionProps = {
5
6
  menuActions?: FilePreviewCardMenuAction[];
6
7
  deleteText?: string;
7
- status?: 'uploading';
8
+ status?: "uploading";
8
9
  a11yCancelUploadText?: string;
9
10
  onMenuAction?: FilePreviewCardMenuActionHandler;
10
11
  onCancel?: EbayEventHandler<HTMLElement>;
11
12
  onDelete?: EbayEventHandler<HTMLElement>;
13
+ onAction?: EbayEventHandler<HTMLElement>;
14
+ action: ReactElement<EbayFilePreviewCardActionProps>;
12
15
  };
13
- declare const EbayFilePreviewAction: FC<EbayFilePreviewActionProps>;
14
- export default EbayFilePreviewAction;
16
+ declare const FilePreviewAction: FC<FilePreviewActionProps>;
17
+ export default FilePreviewAction;
15
18
  //# sourceMappingURL=file-preview-action.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file-preview-action.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/file-preview-action.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAG9D,OAAO,EACH,yBAAyB,EACzB,gCAAgC,EACnC,MAAM,SAAS,CAAA;AAEhB,MAAM,MAAM,0BAA0B,GAAG;IACrC,WAAW,CAAC,EAAE,yBAAyB,EAAE,CAAA;IACzC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,CAAC,EAAE,gCAAgC,CAAA;IAC/C,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;IACxC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;CAC3C,CAAA;AAED,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAwEzD,CAAA;AAED,eAAe,qBAAqB,CAAA"}
1
+ {"version":3,"file":"file-preview-action.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/file-preview-action.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAG/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,yBAAyB,EAAE,gCAAgC,EAAE,MAAM,SAAS,CAAC;AAEtF,MAAM,MAAM,sBAAsB,GAAG;IACjC,WAAW,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,YAAY,CAAC,EAAE,gCAAgC,CAAC;IAChD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzC,MAAM,EAAE,YAAY,CAAC,8BAA8B,CAAC,CAAC;CACxD,CAAC;AAEF,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA6EjD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,23 +1,25 @@
1
- import { FC, ComponentProps, ElementType } from 'react';
2
- import { EbayEventHandler } from '../common/event-utils/types';
3
- import { FilePreviewCardMenuAction, FilePreviewCardMenuActionHandler, FilePreviewType } from './types';
4
- export type EbayFilePreviewCardProps = ComponentProps<'div'> & {
1
+ import { FC, ComponentProps, ElementType } from "react";
2
+ import { EbayEventHandler } from "../common/event-utils/types";
3
+ import { FilePreviewCardMenuAction, FilePreviewCardMenuActionHandler, FilePreviewType } from "./types";
4
+ export type EbayFilePreviewCardProps = ComponentProps<"div"> & {
5
5
  a11yCancelUploadText?: string;
6
6
  as?: ElementType;
7
7
  deleteText?: string;
8
8
  file?: File | FilePreviewType;
9
- status?: 'uploading';
9
+ status?: "uploading";
10
10
  infoText?: string;
11
11
  menuActions?: FilePreviewCardMenuAction[];
12
12
  seeMore?: number;
13
13
  a11ySeeMoreText?: string;
14
14
  footerTitle?: string;
15
15
  footerSubtitle?: string;
16
+ href?: string;
16
17
  onMenuAction?: FilePreviewCardMenuActionHandler;
17
18
  onSeeMore?: EbayEventHandler<HTMLElement>;
18
19
  onDelete?: EbayEventHandler<HTMLElement>;
19
20
  onCancel?: EbayEventHandler<HTMLElement>;
21
+ onAction?: EbayEventHandler<HTMLElement>;
20
22
  };
21
- declare const EbayFileInput: FC<EbayFilePreviewCardProps>;
22
- export default EbayFileInput;
23
+ declare const EbayFilePreviewCard: FC<EbayFilePreviewCardProps>;
24
+ export default EbayFilePreviewCard;
23
25
  //# sourceMappingURL=file-preview-card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file-preview-card.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/file-preview-card.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAW,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAI9D,OAAO,EACH,yBAAyB,EACzB,gCAAgC,EAChC,eAAe,EAClB,MAAM,SAAS,CAAA;AAEhB,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC3D,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,eAAe,CAAA;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,yBAAyB,EAAE,CAAA;IACzC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,gCAAgC,CAAA;IAC/C,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;IACzC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;IACxC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAA;CAC3C,CAAA;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,wBAAwB,CAgF/C,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"file-preview-card.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/file-preview-card.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAW,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAO/D,OAAO,EAAE,yBAAyB,EAAE,gCAAgC,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEvG,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC3D,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,eAAe,CAAC;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,gCAAgC,CAAC;IAChD,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACzC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;CAC5C,CAAC;AAEF,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAyFrD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,8 +1,8 @@
1
- import { FC } from 'react';
2
- import { FilePreviewType } from './types';
1
+ import { FC } from "react";
2
+ import { FilePreviewType } from "./types";
3
3
  export type EbayFilePreviewContentProps = {
4
4
  file?: FilePreviewType;
5
- status?: 'uploading';
5
+ status?: "uploading";
6
6
  seeMore?: number;
7
7
  };
8
8
  declare const EbayFilePreviewContent: FC<EbayFilePreviewContentProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"file-preview-content.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/file-preview-content.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAIjC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,QAAA,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA8B3D,CAAA;AAED,eAAe,sBAAsB,CAAA"}
1
+ {"version":3,"file":"file-preview-content.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/file-preview-content.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAwB3D,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { FilePreviewType } from './types';
1
+ import { FC } from "react";
2
+ import { FilePreviewType } from "./types";
3
3
  export type EbayFilePreviewLabelProps = {
4
4
  file?: FilePreviewType;
5
5
  infoText?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"file-preview-label.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/file-preview-label.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC,MAAM,MAAM,yBAAyB,GAAG;IACpC,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAqBvD,CAAA;AAED,eAAe,oBAAoB,CAAA"}
1
+ {"version":3,"file":"file-preview-label.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/file-preview-label.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,yBAAyB,GAAG;IACpC,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAUvD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,3 +1,4 @@
1
- export { default as EbayFilePreviewCard, type EbayFilePreviewCardProps } from './file-preview-card';
2
- export * from './types';
1
+ export { default as EbayFilePreviewCard, type EbayFilePreviewCardProps } from "./file-preview-card";
2
+ export { default as EbayFilePreviewCardAction } from "./ebay-file-preview-card-action";
3
+ export * from "./types";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AACnG,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpG,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACvF,cAAc,SAAS,CAAC"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../file-preview-card-D4qnvGtF.js");exports.EbayFilePreviewCard=e.EbayFileInput;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../file-preview-card-BD6TIsY7.js");exports.EbayFilePreviewCard=e.EbayFilePreviewCard;exports.EbayFilePreviewCardAction=e.EbayFilePreviewCardAction;
@@ -1,11 +1,11 @@
1
- import { EbayEventHandler } from '../common/event-utils/types';
1
+ import { EbayEventHandler } from "../common/event-utils/types";
2
2
  export type FilePreviewCardMenuAction = {
3
3
  event: string;
4
4
  label: string;
5
5
  };
6
6
  export type FilePreviewType = {
7
7
  name: string;
8
- type?: File['type'];
8
+ type?: File["type"];
9
9
  src?: string;
10
10
  };
11
11
  export type MenuActionEventData = {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAE9D,MAAM,MAAM,yBAAyB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG,gBAAgB,CAC3D,WAAW,EACX,mBAAmB,CACtB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,MAAM,MAAM,yBAAyB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,gBAAgB,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC"}
@@ -9,19 +9,19 @@
9
9
  ### Import JS
10
10
 
11
11
  ```jsx harmony
12
- import { EbayFilePreviewCardGroup } from '@ebay/ui-core-react/ebay-file-preview-card-group'
12
+ import { EbayFilePreviewCardGroup } from "@ebay/ui-core-react/ebay-file-preview-card-group";
13
13
  ```
14
14
 
15
15
  ### Import following styles from SKIN
16
16
 
17
17
  ```jsx harmony
18
- import '@ebay/skin/file-preview-card-group'
18
+ import "@ebay/skin/file-preview-card-group";
19
19
  ```
20
20
 
21
21
  ### Or import styles using SCSS/CSS
22
22
 
23
23
  ```jsx harmony
24
- import '@ebay/skin/file-preview-card-group.css'
24
+ import "@ebay/skin/file-preview-card-group.css";
25
25
  ```
26
26
 
27
27
  ### Import icons
@@ -31,7 +31,7 @@ Add the below icons to the `EbaySvg` component.
31
31
  Note: Make sure that `EbaySvg` is only rendered on the server so it does not affect the client bundle size.
32
32
 
33
33
  ```tsx
34
- <EbaySvg icons={['close16', 'delete16', 'vertical16', 'play16', 'file24']} />
34
+ <EbaySvg icons={["close16", "delete16", "vertical16", "play16", "file24"]} />
35
35
  ```
36
36
 
37
37
  ```jsx harmony
@@ -63,3 +63,4 @@ const fileExample = {
63
63
  | `onMenuAction` | `EbayMenuSelectEventHandler` | No | Triggered when an action is selected from the menu. | `event, {index: number, menuActionEvent: { index: number, checked: number[], eventName?: string}}` |
64
64
  | `onDelete` | `FilePreviewCardActionHandler` | No | Triggered when the delete button is clicked. | `event, {index: number}` |
65
65
  | `onCancel` | `FilePreviewCardActionHandler` | No | Triggered when the cancel button is clicked. | `event, {index: number}` |
66
+ | `onAction` | `FilePreviewCardActionHandler` | No | Triggered when the custon action button is clicked. | `event, {index: number}` |
@@ -1,10 +1,11 @@
1
- import { FC, ComponentProps } from 'react';
2
- import { EbayFilePreviewCardProps } from '../ebay-file-preview-card';
3
- import { FilePreviewCardActionHandler, FilePreviewCardMenuActionHandler } from './types';
4
- export type EbayFilePreviewCardGroupProps = ComponentProps<'div'> & {
5
- a11ySeeMoreText?: EbayFilePreviewCardProps['a11ySeeMoreText'];
1
+ import { FC, ComponentProps } from "react";
2
+ import { EbayFilePreviewCardProps } from "../ebay-file-preview-card";
3
+ import { FilePreviewCardActionHandler, FilePreviewCardMenuActionHandler } from "./types";
4
+ export type EbayFilePreviewCardGroupProps = ComponentProps<"div"> & {
5
+ a11ySeeMoreText?: EbayFilePreviewCardProps["a11ySeeMoreText"];
6
6
  onDelete?: FilePreviewCardActionHandler;
7
7
  onCancel?: FilePreviewCardActionHandler;
8
+ onAction?: FilePreviewCardActionHandler;
8
9
  onMenuAction?: FilePreviewCardMenuActionHandler;
9
10
  };
10
11
  declare const EbayFilePreviewGroup: FC<EbayFilePreviewCardGroupProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"file-preview-card-group.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card-group/file-preview-card-group.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAY,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3D,OAAO,EAEH,wBAAwB,EAC3B,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,4BAA4B,EAAE,gCAAgC,EAAE,MAAM,SAAS,CAAA;AAExF,MAAM,MAAM,6BAA6B,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAChE,eAAe,CAAC,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,CAAA;IAC7D,QAAQ,CAAC,EAAE,4BAA4B,CAAA;IACvC,QAAQ,CAAC,EAAE,4BAA4B,CAAA;IACvC,YAAY,CAAC,EAAE,gCAAgC,CAAA;CAClD,CAAA;AAID,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,6BAA6B,CA8C3D,CAAA;AAED,eAAe,oBAAoB,CAAA"}
1
+ {"version":3,"file":"file-preview-card-group.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card-group/file-preview-card-group.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAY,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAuB,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAE,4BAA4B,EAAE,gCAAgC,EAAE,MAAM,SAAS,CAAC;AAEzF,MAAM,MAAM,6BAA6B,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAChE,eAAe,CAAC,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,CAAC;IAC9D,QAAQ,CAAC,EAAE,4BAA4B,CAAC;IACxC,QAAQ,CAAC,EAAE,4BAA4B,CAAC;IACxC,QAAQ,CAAC,EAAE,4BAA4B,CAAC;IACxC,YAAY,CAAC,EAAE,gCAAgC,CAAC;CACnD,CAAC;AAIF,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,6BAA6B,CA+C3D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,2 +1,2 @@
1
- export { default as EbayFilePreviewCardGroup, type EbayFilePreviewCardGroupProps } from './file-preview-card-group';
1
+ export { default as EbayFilePreviewCardGroup, type EbayFilePreviewCardGroupProps } from "./file-preview-card-group";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,OAAO,IAAI,wBAAwB,EACnC,KAAK,6BAA6B,EACrC,MAAM,2BAA2B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-file-preview-card-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../tslib.es6-C4EgNkz1.js"),t=require("react"),w=require("../utils-C9NL3q0j.js"),E=require("../file-preview-card-D4qnvGtF.js"),d=15,b=s=>{var{a11ySeeMoreText:p,onDelete:l,onCancel:c,onMenuAction:a,children:M}=s,S=v.__rest(s,["a11ySeeMoreText","onDelete","onCancel","onMenuAction","children"]);const[o,g]=t.useState(d),h=()=>{g(r=>r+d)},e=w.filterByType(M,E.EbayFileInput),u=e.length-o,m=e.slice(0,Math.min(o,e.length));return t.createElement("div",Object.assign({className:"file-preview-card-group"},S),t.createElement("ul",null,m.map((r,i)=>t.cloneElement(r,{as:r.props.as||"li",onDelete:n=>l&&l(n,{index:i}),onCancel:n=>c&&c(n,{index:i}),onMenuAction:(n,y)=>a&&a(n,{index:i,menuActionEvent:y})})),u>0&&t.cloneElement(e[o],{seeMore:u,a11ySeeMoreText:p,onSeeMore:h,as:e[o].props.as||"li"})))};exports.EbayFilePreviewCardGroup=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("../tslib.es6-C4EgNkz1.js"),o=require("react"),C=require("classnames"),E=require("../utils-C9NL3q0j.js"),b=require("../file-preview-card-BD6TIsY7.js"),m=15,f=i=>{var{a11ySeeMoreText:M,onDelete:c,onCancel:l,onAction:a,onMenuAction:u,className:S,children:p}=i,g=A.__rest(i,["a11ySeeMoreText","onDelete","onCancel","onAction","onMenuAction","className","children"]);const[t,h]=o.useState(m),v=()=>{h(r=>r+m)},n=E.filterByType(p,b.EbayFilePreviewCard),d=n.length-t,w=n.slice(0,Math.min(t,n.length));return o.createElement("div",Object.assign({className:C("file-preview-card-group",S)},g),o.createElement("ul",null,w.map((r,s)=>o.cloneElement(r,{as:r.props.as||"li",onDelete:e=>c&&c(e,{index:s}),onCancel:e=>l&&l(e,{index:s}),onAction:e=>a&&a(e,{index:s}),onMenuAction:(e,y)=>u&&u(e,{index:s,menuActionEvent:y})})),d>0&&o.cloneElement(n[t],{seeMore:d,a11ySeeMoreText:M,onSeeMore:v,as:n[t].props.as||"li"})))};exports.EbayFilePreviewCardGroup=f;
@@ -1,5 +1,5 @@
1
- import { EbayEventHandler } from '../common/event-utils/types';
2
- import { MenuActionEventData } from '../ebay-file-preview-card';
1
+ import { EbayEventHandler } from "../common/event-utils/types";
2
+ import { MenuActionEventData } from "../ebay-file-preview-card";
3
3
  type EventData = {
4
4
  index: number;
5
5
  };