@ebay/ui-core-react 8.5.2 → 8.6.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 (683) hide show
  1. package/README.md +103 -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/index.js +1 -1
  118. package/ebay-carousel/scroll-to-transition.d.ts.map +1 -1
  119. package/ebay-carousel/types.d.ts +5 -5
  120. package/ebay-carousel/types.d.ts.map +1 -1
  121. package/ebay-ccd/README.md +11 -17
  122. package/ebay-ccd/ccd.d.ts +4 -4
  123. package/ebay-ccd/ccd.d.ts.map +1 -1
  124. package/ebay-ccd/index.d.ts +1 -1
  125. package/ebay-character-count/README.md +6 -6
  126. package/ebay-character-count/character-count.d.ts +3 -3
  127. package/ebay-character-count/character-count.d.ts.map +1 -1
  128. package/ebay-character-count/index.d.ts +2 -2
  129. package/ebay-checkbox/README.md +14 -9
  130. package/ebay-checkbox/checkbox.d.ts +3 -3
  131. package/ebay-checkbox/checkbox.d.ts.map +1 -1
  132. package/ebay-checkbox/index.d.ts +2 -2
  133. package/ebay-checkbox/index.d.ts.map +1 -1
  134. package/ebay-checkbox/types.d.ts +2 -2
  135. package/ebay-checkbox/types.d.ts.map +1 -1
  136. package/ebay-chip/README.md +6 -10
  137. package/ebay-chip/chip.d.ts +3 -3
  138. package/ebay-chip/chip.d.ts.map +1 -1
  139. package/ebay-chip/index.d.ts +1 -1
  140. package/ebay-chip/index.d.ts.map +1 -1
  141. package/ebay-chips-combobox/chips-combobox.d.ts +4 -4
  142. package/ebay-chips-combobox/chips-combobox.d.ts.map +1 -1
  143. package/ebay-chips-combobox/index.d.ts +3 -3
  144. package/ebay-chips-combobox/index.d.ts.map +1 -1
  145. package/ebay-chips-combobox/types.d.ts +1 -1
  146. package/ebay-chips-combobox/types.d.ts.map +1 -1
  147. package/ebay-combobox/combobox-button.d.ts +2 -2
  148. package/ebay-combobox/combobox-button.d.ts.map +1 -1
  149. package/ebay-combobox/combobox-option.d.ts +2 -2
  150. package/ebay-combobox/combobox-option.d.ts.map +1 -1
  151. package/ebay-combobox/combobox.d.ts +3 -3
  152. package/ebay-combobox/combobox.d.ts.map +1 -1
  153. package/ebay-combobox/index.d.ts +4 -4
  154. package/ebay-combobox/index.d.ts.map +1 -1
  155. package/ebay-combobox/types.d.ts +4 -4
  156. package/ebay-combobox/types.d.ts.map +1 -1
  157. package/ebay-confirm-dialog/README.md +17 -13
  158. package/ebay-confirm-dialog/confirm-dialog.d.ts +3 -3
  159. package/ebay-confirm-dialog/confirm-dialog.d.ts.map +1 -1
  160. package/ebay-confirm-dialog/index.d.ts +1 -1
  161. package/ebay-confirm-dialog/index.d.ts.map +1 -1
  162. package/ebay-confirm-dialog/index.js +1 -1
  163. package/ebay-cta-button/README.md +15 -9
  164. package/ebay-cta-button/cta-button.d.ts +3 -3
  165. package/ebay-cta-button/cta-button.d.ts.map +1 -1
  166. package/ebay-cta-button/index.d.ts +1 -1
  167. package/ebay-cta-button/index.d.ts.map +1 -1
  168. package/ebay-date-textbox/README.md +25 -24
  169. package/ebay-date-textbox/date-textbox.d.ts +4 -4
  170. package/ebay-date-textbox/date-textbox.d.ts.map +1 -1
  171. package/ebay-date-textbox/index.d.ts +1 -1
  172. package/ebay-date-textbox/index.d.ts.map +1 -1
  173. package/ebay-details/ebay-details.d.ts +5 -6
  174. package/ebay-details/ebay-details.d.ts.map +1 -1
  175. package/ebay-details/index.d.ts +1 -1
  176. package/ebay-details/index.d.ts.map +1 -1
  177. package/ebay-details/index.js +1 -1
  178. package/ebay-details-BuPepKYE.js +1 -0
  179. package/ebay-dialog-base/README.md +2 -6
  180. package/ebay-dialog-base/components/animation.d.ts +2 -2
  181. package/ebay-dialog-base/components/animation.d.ts.map +1 -1
  182. package/ebay-dialog-base/components/dialog-actions.d.ts +1 -1
  183. package/ebay-dialog-base/components/dialog-actions.d.ts.map +1 -1
  184. package/ebay-dialog-base/components/dialog-close-button.d.ts +1 -1
  185. package/ebay-dialog-base/components/dialog-close-button.d.ts.map +1 -1
  186. package/ebay-dialog-base/components/dialog-footer.d.ts +1 -1
  187. package/ebay-dialog-base/components/dialog-footer.d.ts.map +1 -1
  188. package/ebay-dialog-base/components/dialog-header.d.ts +2 -2
  189. package/ebay-dialog-base/components/dialog-header.d.ts.map +1 -1
  190. package/ebay-dialog-base/components/dialog-previous-button.d.ts +2 -2
  191. package/ebay-dialog-base/components/dialog-previous-button.d.ts.map +1 -1
  192. package/ebay-dialog-base/components/dialogBase.d.ts +8 -8
  193. package/ebay-dialog-base/components/dialogBase.d.ts.map +1 -1
  194. package/ebay-dialog-base/dialog-base-with-state.d.ts +2 -2
  195. package/ebay-dialog-base/dialog-base-with-state.d.ts.map +1 -1
  196. package/ebay-dialog-base/index.d.ts +9 -9
  197. package/ebay-dialog-base/index.d.ts.map +1 -1
  198. package/ebay-dialog-base/index.js +1 -1
  199. package/ebay-dialog-base/types.d.ts +1 -1
  200. package/ebay-dialog-base/types.d.ts.map +1 -1
  201. package/ebay-drawer-dialog-deprecated/README.md +18 -8
  202. package/ebay-drawer-dialog-deprecated/components/drawer.d.ts +2 -2
  203. package/ebay-drawer-dialog-deprecated/components/drawer.d.ts.map +1 -1
  204. package/ebay-drawer-dialog-deprecated/index.d.ts +1 -1
  205. package/ebay-drawer-dialog-deprecated/index.d.ts.map +1 -1
  206. package/ebay-drawer-dialog-deprecated/index.js +1 -1
  207. package/ebay-education-notice/README.md +6 -9
  208. package/ebay-education-notice/education-notice-footer.d.ts +1 -1
  209. package/ebay-education-notice/education-notice-footer.d.ts.map +1 -1
  210. package/ebay-education-notice/education-notice-title.d.ts +2 -2
  211. package/ebay-education-notice/education-notice-title.d.ts.map +1 -1
  212. package/ebay-education-notice/education-notice.d.ts +6 -6
  213. package/ebay-education-notice/education-notice.d.ts.map +1 -1
  214. package/ebay-education-notice/index.d.ts +4 -4
  215. package/ebay-education-notice/index.d.ts.map +1 -1
  216. package/ebay-education-notice/types.d.ts +1 -1
  217. package/ebay-education-notice/types.d.ts.map +1 -1
  218. package/ebay-eek/README.md +13 -8
  219. package/ebay-eek/eek-rating.d.ts +1 -1
  220. package/ebay-eek/eek-rating.d.ts.map +1 -1
  221. package/ebay-eek/eek-util.d.ts +1 -1
  222. package/ebay-eek/eek-util.d.ts.map +1 -1
  223. package/ebay-eek/index.d.ts +1 -1
  224. package/ebay-eek/index.d.ts.map +1 -1
  225. package/ebay-fake-link/fake-link.d.ts +4 -4
  226. package/ebay-fake-link/fake-link.d.ts.map +1 -1
  227. package/ebay-fake-link/index.d.ts +1 -1
  228. package/ebay-fake-link/index.d.ts.map +1 -1
  229. package/ebay-fake-menu/README.md +23 -15
  230. package/ebay-fake-menu/index.d.ts +3 -3
  231. package/ebay-fake-menu/index.d.ts.map +1 -1
  232. package/ebay-fake-menu/menu-item-separator.d.ts +2 -2
  233. package/ebay-fake-menu/menu-item-separator.d.ts.map +1 -1
  234. package/ebay-fake-menu/menu-item.d.ts +3 -3
  235. package/ebay-fake-menu/menu-item.d.ts.map +1 -1
  236. package/ebay-fake-menu/menu.d.ts +3 -3
  237. package/ebay-fake-menu/menu.d.ts.map +1 -1
  238. package/ebay-fake-menu-button/README.md +34 -31
  239. package/ebay-fake-menu-button/index.d.ts +4 -4
  240. package/ebay-fake-menu-button/index.d.ts.map +1 -1
  241. package/ebay-fake-menu-button/menu-button-item.d.ts +2 -2
  242. package/ebay-fake-menu-button/menu-button-item.d.ts.map +1 -1
  243. package/ebay-fake-menu-button/menu-button-label.d.ts +1 -1
  244. package/ebay-fake-menu-button/menu-button-label.d.ts.map +1 -1
  245. package/ebay-fake-menu-button/menu-button-separator.d.ts +2 -2
  246. package/ebay-fake-menu-button/menu-button-separator.d.ts.map +1 -1
  247. package/ebay-fake-menu-button/menu-button.d.ts +5 -5
  248. package/ebay-fake-menu-button/menu-button.d.ts.map +1 -1
  249. package/ebay-fake-tabs/README.md +14 -9
  250. package/ebay-fake-tabs/fake-tabs.d.ts +2 -2
  251. package/ebay-fake-tabs/fake-tabs.d.ts.map +1 -1
  252. package/ebay-fake-tabs/index.d.ts +2 -2
  253. package/ebay-fake-tabs/index.d.ts.map +1 -1
  254. package/ebay-fake-tabs/tab.d.ts +3 -3
  255. package/ebay-fake-tabs/tab.d.ts.map +1 -1
  256. package/ebay-field/README.md +30 -21
  257. package/ebay-field/description.d.ts +3 -3
  258. package/ebay-field/description.d.ts.map +1 -1
  259. package/ebay-field/field.d.ts +2 -2
  260. package/ebay-field/field.d.ts.map +1 -1
  261. package/ebay-field/index.d.ts +4 -4
  262. package/ebay-field/index.d.ts.map +1 -1
  263. package/ebay-field/label.d.ts +3 -3
  264. package/ebay-field/label.d.ts.map +1 -1
  265. package/ebay-field/types.d.ts +4 -4
  266. package/ebay-field/types.d.ts.map +1 -1
  267. package/ebay-file-input/README.md +4 -8
  268. package/ebay-file-input/file-input.d.ts +3 -3
  269. package/ebay-file-input/file-input.d.ts.map +1 -1
  270. package/ebay-file-input/index.d.ts +1 -1
  271. package/ebay-file-input/index.d.ts.map +1 -1
  272. package/ebay-file-input/types.d.ts +1 -1
  273. package/ebay-file-preview-card/README.md +25 -8
  274. package/ebay-file-preview-card/ebay-file-preview-card-action.d.ts +6 -0
  275. package/ebay-file-preview-card/ebay-file-preview-card-action.d.ts.map +1 -0
  276. package/ebay-file-preview-card/file-preview-action.d.ts +10 -7
  277. package/ebay-file-preview-card/file-preview-action.d.ts.map +1 -1
  278. package/ebay-file-preview-card/file-preview-card.d.ts +9 -7
  279. package/ebay-file-preview-card/file-preview-card.d.ts.map +1 -1
  280. package/ebay-file-preview-card/file-preview-content.d.ts +3 -3
  281. package/ebay-file-preview-card/file-preview-content.d.ts.map +1 -1
  282. package/ebay-file-preview-card/file-preview-label.d.ts +2 -2
  283. package/ebay-file-preview-card/file-preview-label.d.ts.map +1 -1
  284. package/ebay-file-preview-card/index.d.ts +3 -2
  285. package/ebay-file-preview-card/index.d.ts.map +1 -1
  286. package/ebay-file-preview-card/index.js +1 -1
  287. package/ebay-file-preview-card/types.d.ts +2 -2
  288. package/ebay-file-preview-card/types.d.ts.map +1 -1
  289. package/ebay-file-preview-card-group/README.md +5 -4
  290. package/ebay-file-preview-card-group/file-preview-card-group.d.ts +6 -5
  291. package/ebay-file-preview-card-group/file-preview-card-group.d.ts.map +1 -1
  292. package/ebay-file-preview-card-group/index.d.ts +1 -1
  293. package/ebay-file-preview-card-group/index.d.ts.map +1 -1
  294. package/ebay-file-preview-card-group/index.js +1 -1
  295. package/ebay-file-preview-card-group/types.d.ts +2 -2
  296. package/ebay-file-preview-card-group/types.d.ts.map +1 -1
  297. package/ebay-filter/filter.d.ts +3 -3
  298. package/ebay-filter/filter.d.ts.map +1 -1
  299. package/ebay-filter/index.d.ts +2 -2
  300. package/ebay-filter/index.d.ts.map +1 -1
  301. package/ebay-filter/types.d.ts +1 -1
  302. package/ebay-filter/types.d.ts.map +1 -1
  303. package/ebay-filter-menu/filter-menu-footer-button.d.ts +4 -4
  304. package/ebay-filter-menu/filter-menu-footer-button.d.ts.map +1 -1
  305. package/ebay-filter-menu/filter-menu-item.d.ts +4 -4
  306. package/ebay-filter-menu/filter-menu-item.d.ts.map +1 -1
  307. package/ebay-filter-menu/filter-menu.d.ts +3 -3
  308. package/ebay-filter-menu/filter-menu.d.ts.map +1 -1
  309. package/ebay-filter-menu/index.d.ts +4 -4
  310. package/ebay-filter-menu/index.d.ts.map +1 -1
  311. package/ebay-filter-menu/types.d.ts +3 -3
  312. package/ebay-filter-menu/types.d.ts.map +1 -1
  313. package/ebay-filter-menu-button/README.md +5 -5
  314. package/ebay-filter-menu-button/filter-menu-button.d.ts +2 -2
  315. package/ebay-filter-menu-button/filter-menu-button.d.ts.map +1 -1
  316. package/ebay-filter-menu-button/index.d.ts +2 -2
  317. package/ebay-filter-menu-button/index.d.ts.map +1 -1
  318. package/ebay-fullscreen-dialog-deprecated/README.md +13 -10
  319. package/ebay-fullscreen-dialog-deprecated/fullscreen-dialog.d.ts +3 -3
  320. package/ebay-fullscreen-dialog-deprecated/fullscreen-dialog.d.ts.map +1 -1
  321. package/ebay-fullscreen-dialog-deprecated/index.d.ts +1 -1
  322. package/ebay-fullscreen-dialog-deprecated/index.d.ts.map +1 -1
  323. package/ebay-fullscreen-dialog-deprecated/index.js +1 -1
  324. package/ebay-icon/README.md +13 -9
  325. package/ebay-icon/icon.d.ts +5 -5
  326. package/ebay-icon/icon.d.ts.map +1 -1
  327. package/ebay-icon/index.d.ts +2 -2
  328. package/ebay-icon/index.d.ts.map +1 -1
  329. package/ebay-icon-button/README.md +23 -15
  330. package/ebay-icon-button/icon-button.d.ts +5 -5
  331. package/ebay-icon-button/icon-button.d.ts.map +1 -1
  332. package/ebay-icon-button/index.d.ts +1 -1
  333. package/ebay-icon-button/index.d.ts.map +1 -1
  334. package/ebay-image-placeholder/README.md +1 -6
  335. package/ebay-image-placeholder/image-placeholder.d.ts +1 -1
  336. package/ebay-image-placeholder/image-placeholder.d.ts.map +1 -1
  337. package/ebay-image-placeholder/index.d.ts +1 -1
  338. package/ebay-image-placeholder/index.d.ts.map +1 -1
  339. package/ebay-infotip/README.md +17 -20
  340. package/ebay-infotip/ebay-infotip-content.d.ts +3 -3
  341. package/ebay-infotip/ebay-infotip-content.d.ts.map +1 -1
  342. package/ebay-infotip/ebay-infotip-heading.d.ts +2 -2
  343. package/ebay-infotip/ebay-infotip-heading.d.ts.map +1 -1
  344. package/ebay-infotip/ebay-infotip-host.d.ts +4 -4
  345. package/ebay-infotip/ebay-infotip-host.d.ts.map +1 -1
  346. package/ebay-infotip/ebay-infotip.d.ts +5 -5
  347. package/ebay-infotip/ebay-infotip.d.ts.map +1 -1
  348. package/ebay-infotip/index.d.ts +5 -5
  349. package/ebay-infotip/index.d.ts.map +1 -1
  350. package/ebay-infotip/index.js +1 -1
  351. package/ebay-infotip/types.d.ts +1 -1
  352. package/ebay-infotip/types.d.ts.map +1 -1
  353. package/ebay-inline-notice/README.md +8 -8
  354. package/ebay-inline-notice/index.d.ts +3 -3
  355. package/ebay-inline-notice/index.d.ts.map +1 -1
  356. package/ebay-inline-notice/inline-notice.d.ts +4 -4
  357. package/ebay-inline-notice/inline-notice.d.ts.map +1 -1
  358. package/ebay-inline-notice/types.d.ts +1 -1
  359. package/ebay-inline-notice/types.d.ts.map +1 -1
  360. package/ebay-lightbox-dialog/README.md +17 -13
  361. package/ebay-lightbox-dialog/index.d.ts +1 -1
  362. package/ebay-lightbox-dialog/index.d.ts.map +1 -1
  363. package/ebay-lightbox-dialog/index.js +1 -1
  364. package/ebay-lightbox-dialog/lightbox-dialog.d.ts +7 -7
  365. package/ebay-lightbox-dialog/lightbox-dialog.d.ts.map +1 -1
  366. package/ebay-listbox/README.md +16 -26
  367. package/ebay-listbox/index.d.ts +3 -3
  368. package/ebay-listbox/index.d.ts.map +1 -1
  369. package/ebay-listbox/listbox-option-description.d.ts +2 -2
  370. package/ebay-listbox/listbox-option-description.d.ts.map +1 -1
  371. package/ebay-listbox/listbox-option.d.ts +2 -2
  372. package/ebay-listbox/listbox-option.d.ts.map +1 -1
  373. package/ebay-listbox/listbox.d.ts +5 -5
  374. package/ebay-listbox/listbox.d.ts.map +1 -1
  375. package/ebay-listbox-button/README.md +17 -9
  376. package/ebay-listbox-button/index.d.ts +2 -2
  377. package/ebay-listbox-button/index.d.ts.map +1 -1
  378. package/ebay-listbox-button/listbox-button-option.d.ts +3 -3
  379. package/ebay-listbox-button/listbox-button-option.d.ts.map +1 -1
  380. package/ebay-listbox-button/listbox-button.d.ts +3 -3
  381. package/ebay-listbox-button/listbox-button.d.ts.map +1 -1
  382. package/ebay-menu/README.md +24 -20
  383. package/ebay-menu/index.d.ts +4 -4
  384. package/ebay-menu/index.d.ts.map +1 -1
  385. package/ebay-menu/menu-item-separator.d.ts +2 -2
  386. package/ebay-menu/menu-item-separator.d.ts.map +1 -1
  387. package/ebay-menu/menu-item.d.ts +3 -3
  388. package/ebay-menu/menu-item.d.ts.map +1 -1
  389. package/ebay-menu/menu.d.ts +2 -2
  390. package/ebay-menu/menu.d.ts.map +1 -1
  391. package/ebay-menu/types.d.ts +7 -7
  392. package/ebay-menu/types.d.ts.map +1 -1
  393. package/ebay-menu-button/README.md +33 -30
  394. package/ebay-menu-button/index.d.ts +5 -5
  395. package/ebay-menu-button/index.d.ts.map +1 -1
  396. package/ebay-menu-button/menu-button-item.d.ts +1 -1
  397. package/ebay-menu-button/menu-button-item.d.ts.map +1 -1
  398. package/ebay-menu-button/menu-button-label.d.ts +1 -1
  399. package/ebay-menu-button/menu-button-label.d.ts.map +1 -1
  400. package/ebay-menu-button/menu-button-separator.d.ts +2 -2
  401. package/ebay-menu-button/menu-button-separator.d.ts.map +1 -1
  402. package/ebay-menu-button/menu-button.d.ts +2 -2
  403. package/ebay-menu-button/menu-button.d.ts.map +1 -1
  404. package/ebay-menu-button/types.d.ts +6 -6
  405. package/ebay-menu-button/types.d.ts.map +1 -1
  406. package/ebay-notice-base/components/ebay-notice-content/index.d.ts +1 -1
  407. package/ebay-notice-base/components/ebay-notice-content/index.d.ts.map +1 -1
  408. package/ebay-notice-base/components/ebay-notice-content/notice-content.d.ts +3 -3
  409. package/ebay-notice-base/components/ebay-notice-content/notice-content.d.ts.map +1 -1
  410. package/ebay-notice-base/components/ebay-notice-title/index.d.ts +1 -1
  411. package/ebay-notice-base/components/ebay-notice-title/index.d.ts.map +1 -1
  412. package/ebay-notice-base/components/ebay-notice-title/notice-title.d.ts +1 -1
  413. package/ebay-notice-base/components/ebay-notice-title/notice-title.d.ts.map +1 -1
  414. package/ebay-notice-base/index.d.ts +2 -2
  415. package/ebay-notice-base/index.d.ts.map +1 -1
  416. package/ebay-page-notice/README.md +13 -11
  417. package/ebay-page-notice/index.d.ts +5 -5
  418. package/ebay-page-notice/index.d.ts.map +1 -1
  419. package/ebay-page-notice/page-notice-cta.d.ts +1 -1
  420. package/ebay-page-notice/page-notice-cta.d.ts.map +1 -1
  421. package/ebay-page-notice/page-notice-footer.d.ts +1 -1
  422. package/ebay-page-notice/page-notice-footer.d.ts.map +1 -1
  423. package/ebay-page-notice/page-notice-title.d.ts +2 -2
  424. package/ebay-page-notice/page-notice-title.d.ts.map +1 -1
  425. package/ebay-page-notice/page-notice.d.ts +4 -4
  426. package/ebay-page-notice/page-notice.d.ts.map +1 -1
  427. package/ebay-pagination/README.md +29 -23
  428. package/ebay-pagination/const.d.ts.map +1 -1
  429. package/ebay-pagination/helpers.d.ts +1 -1
  430. package/ebay-pagination/helpers.d.ts.map +1 -1
  431. package/ebay-pagination/index.d.ts +3 -3
  432. package/ebay-pagination/index.d.ts.map +1 -1
  433. package/ebay-pagination/pagination-item.d.ts +4 -4
  434. package/ebay-pagination/pagination-item.d.ts.map +1 -1
  435. package/ebay-pagination/pagination.d.ts +4 -4
  436. package/ebay-pagination/pagination.d.ts.map +1 -1
  437. package/ebay-pagination/types.d.ts +2 -2
  438. package/ebay-pagination/types.d.ts.map +1 -1
  439. package/ebay-panel-dialog/README.md +14 -11
  440. package/ebay-panel-dialog/index.d.ts +1 -1
  441. package/ebay-panel-dialog/index.d.ts.map +1 -1
  442. package/ebay-panel-dialog/index.js +1 -1
  443. package/ebay-panel-dialog/panel-dialog.d.ts +4 -4
  444. package/ebay-panel-dialog/panel-dialog.d.ts.map +1 -1
  445. package/ebay-progress-bar/README.md +13 -8
  446. package/ebay-progress-bar/index.d.ts +1 -1
  447. package/ebay-progress-bar/index.d.ts.map +1 -1
  448. package/ebay-progress-bar/progress-bar.d.ts +2 -2
  449. package/ebay-progress-bar/progress-bar.d.ts.map +1 -1
  450. package/ebay-progress-bar-expressive/README.md +12 -9
  451. package/ebay-progress-bar-expressive/index.d.ts +2 -2
  452. package/ebay-progress-bar-expressive/index.d.ts.map +1 -1
  453. package/ebay-progress-bar-expressive/progress-bar-expressive-message.d.ts +2 -2
  454. package/ebay-progress-bar-expressive/progress-bar-expressive-message.d.ts.map +1 -1
  455. package/ebay-progress-bar-expressive/progress-bar-expressive.d.ts +3 -3
  456. package/ebay-progress-bar-expressive/progress-bar-expressive.d.ts.map +1 -1
  457. package/ebay-progress-spinner/README.md +12 -7
  458. package/ebay-progress-spinner/index.d.ts +1 -1
  459. package/ebay-progress-spinner/index.d.ts.map +1 -1
  460. package/ebay-progress-spinner/progress-spinner.d.ts +4 -4
  461. package/ebay-progress-spinner/progress-spinner.d.ts.map +1 -1
  462. package/ebay-progress-stepper/README.md +13 -12
  463. package/ebay-progress-stepper/ebay-progress-step.d.ts +2 -2
  464. package/ebay-progress-stepper/ebay-progress-step.d.ts.map +1 -1
  465. package/ebay-progress-stepper/ebay-progress-stepper.d.ts +2 -2
  466. package/ebay-progress-stepper/ebay-progress-stepper.d.ts.map +1 -1
  467. package/ebay-progress-stepper/ebay-progress-title.d.ts +1 -1
  468. package/ebay-progress-stepper/ebay-progress-title.d.ts.map +1 -1
  469. package/ebay-progress-stepper/index.d.ts +4 -4
  470. package/ebay-progress-stepper/index.d.ts.map +1 -1
  471. package/ebay-progress-stepper/types.d.ts +2 -2
  472. package/ebay-radio/README.md +19 -11
  473. package/ebay-radio/index.d.ts +1 -1
  474. package/ebay-radio/index.d.ts.map +1 -1
  475. package/ebay-radio/radio.d.ts +4 -4
  476. package/ebay-radio/radio.d.ts.map +1 -1
  477. package/ebay-section-notice/README.md +15 -13
  478. package/ebay-section-notice/index.d.ts +5 -5
  479. package/ebay-section-notice/index.d.ts.map +1 -1
  480. package/ebay-section-notice/section-notice-cta.d.ts +1 -1
  481. package/ebay-section-notice/section-notice-cta.d.ts.map +1 -1
  482. package/ebay-section-notice/section-notice-footer.d.ts +1 -1
  483. package/ebay-section-notice/section-notice-footer.d.ts.map +1 -1
  484. package/ebay-section-notice/section-notice-title.d.ts +2 -2
  485. package/ebay-section-notice/section-notice-title.d.ts.map +1 -1
  486. package/ebay-section-notice/section-notice.d.ts +6 -6
  487. package/ebay-section-notice/section-notice.d.ts.map +1 -1
  488. package/ebay-section-title/README.md +23 -16
  489. package/ebay-section-title/cta.d.ts +2 -2
  490. package/ebay-section-title/cta.d.ts.map +1 -1
  491. package/ebay-section-title/index.d.ts +5 -5
  492. package/ebay-section-title/index.d.ts.map +1 -1
  493. package/ebay-section-title/info.d.ts +2 -2
  494. package/ebay-section-title/info.d.ts.map +1 -1
  495. package/ebay-section-title/overflow.d.ts +2 -2
  496. package/ebay-section-title/overflow.d.ts.map +1 -1
  497. package/ebay-section-title/section-title.d.ts +2 -2
  498. package/ebay-section-title/section-title.d.ts.map +1 -1
  499. package/ebay-section-title/subtitle.d.ts +2 -2
  500. package/ebay-section-title/subtitle.d.ts.map +1 -1
  501. package/ebay-section-title/title.d.ts +2 -2
  502. package/ebay-section-title/title.d.ts.map +1 -1
  503. package/ebay-segmented-buttons/README.md +11 -8
  504. package/ebay-segmented-buttons/button.d.ts +2 -2
  505. package/ebay-segmented-buttons/button.d.ts.map +1 -1
  506. package/ebay-segmented-buttons/index.d.ts +3 -3
  507. package/ebay-segmented-buttons/index.d.ts.map +1 -1
  508. package/ebay-segmented-buttons/segmented-buttons.d.ts +2 -2
  509. package/ebay-segmented-buttons/segmented-buttons.d.ts.map +1 -1
  510. package/ebay-segmented-buttons/types.d.ts +5 -5
  511. package/ebay-segmented-buttons/types.d.ts.map +1 -1
  512. package/ebay-select/README.md +38 -27
  513. package/ebay-select/ebay-select-option.d.ts +2 -2
  514. package/ebay-select/ebay-select-option.d.ts.map +1 -1
  515. package/ebay-select/ebay-select.d.ts +4 -4
  516. package/ebay-select/ebay-select.d.ts.map +1 -1
  517. package/ebay-select/index.d.ts +2 -2
  518. package/ebay-select/index.d.ts.map +1 -1
  519. package/ebay-signal/README.md +13 -6
  520. package/ebay-signal/index.d.ts +1 -1
  521. package/ebay-signal/index.d.ts.map +1 -1
  522. package/ebay-signal/signal.d.ts +3 -3
  523. package/ebay-signal/signal.d.ts.map +1 -1
  524. package/ebay-skeleton/ebay-skeleton-avatar.d.ts +2 -2
  525. package/ebay-skeleton/ebay-skeleton-avatar.d.ts.map +1 -1
  526. package/ebay-skeleton/ebay-skeleton-button.d.ts +3 -3
  527. package/ebay-skeleton/ebay-skeleton-button.d.ts.map +1 -1
  528. package/ebay-skeleton/ebay-skeleton-image.d.ts +2 -2
  529. package/ebay-skeleton/ebay-skeleton-image.d.ts.map +1 -1
  530. package/ebay-skeleton/ebay-skeleton-text.d.ts +3 -3
  531. package/ebay-skeleton/ebay-skeleton-text.d.ts.map +1 -1
  532. package/ebay-skeleton/ebay-skeleton-textbox.d.ts +2 -2
  533. package/ebay-skeleton/ebay-skeleton-textbox.d.ts.map +1 -1
  534. package/ebay-skeleton/ebay-skeleton.d.ts +3 -3
  535. package/ebay-skeleton/ebay-skeleton.d.ts.map +1 -1
  536. package/ebay-skeleton/index.d.ts +6 -6
  537. package/ebay-skeleton/index.d.ts.map +1 -1
  538. package/ebay-skeleton/types.d.ts +4 -4
  539. package/ebay-skeleton/types.d.ts.map +1 -1
  540. package/ebay-snackbar-dialog/README.md +21 -16
  541. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.d.ts +1 -1
  542. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.d.ts.map +1 -1
  543. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.d.ts +4 -4
  544. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.d.ts.map +1 -1
  545. package/ebay-snackbar-dialog/index.d.ts +2 -2
  546. package/ebay-snackbar-dialog/index.d.ts.map +1 -1
  547. package/ebay-snackbar-dialog/index.js +1 -1
  548. package/ebay-split-button/README.md +29 -23
  549. package/ebay-split-button/index.d.ts +2 -2
  550. package/ebay-split-button/index.d.ts.map +1 -1
  551. package/ebay-split-button/split-button.d.ts +2 -2
  552. package/ebay-split-button/split-button.d.ts.map +1 -1
  553. package/ebay-split-button/types.d.ts +5 -5
  554. package/ebay-split-button/types.d.ts.map +1 -1
  555. package/ebay-star-rating/README.md +13 -7
  556. package/ebay-star-rating/index.d.ts +1 -1
  557. package/ebay-star-rating/index.d.ts.map +1 -1
  558. package/ebay-star-rating/star-rating.d.ts +2 -2
  559. package/ebay-star-rating/star-rating.d.ts.map +1 -1
  560. package/ebay-star-rating-select/README.md +20 -14
  561. package/ebay-star-rating-select/index.d.ts +1 -1
  562. package/ebay-star-rating-select/index.d.ts.map +1 -1
  563. package/ebay-star-rating-select/star-rating-select.d.ts +3 -3
  564. package/ebay-star-rating-select/star-rating-select.d.ts.map +1 -1
  565. package/ebay-svg/README.md +11 -8
  566. package/ebay-svg/index.d.ts +1 -1
  567. package/ebay-svg/index.d.ts.map +1 -1
  568. package/ebay-svg/svg.d.ts +2 -2
  569. package/ebay-svg/svg.d.ts.map +1 -1
  570. package/ebay-switch/README.md +13 -6
  571. package/ebay-switch/ebay-switch.d.ts +3 -3
  572. package/ebay-switch/ebay-switch.d.ts.map +1 -1
  573. package/ebay-switch/index.d.ts +1 -1
  574. package/ebay-switch/index.d.ts.map +1 -1
  575. package/ebay-table/index.d.ts +5 -5
  576. package/ebay-table/index.d.ts.map +1 -1
  577. package/ebay-table/table-cell.d.ts +3 -3
  578. package/ebay-table/table-cell.d.ts.map +1 -1
  579. package/ebay-table/table-header.d.ts +3 -3
  580. package/ebay-table/table-header.d.ts.map +1 -1
  581. package/ebay-table/table-row.d.ts +4 -4
  582. package/ebay-table/table-row.d.ts.map +1 -1
  583. package/ebay-table/table.d.ts +4 -4
  584. package/ebay-table/table.d.ts.map +1 -1
  585. package/ebay-table/types.d.ts +7 -7
  586. package/ebay-table/types.d.ts.map +1 -1
  587. package/ebay-tabs/README.md +16 -10
  588. package/ebay-tabs/index.d.ts +4 -4
  589. package/ebay-tabs/index.d.ts.map +1 -1
  590. package/ebay-tabs/tab-panel.d.ts +2 -2
  591. package/ebay-tabs/tab-panel.d.ts.map +1 -1
  592. package/ebay-tabs/tab.d.ts +2 -2
  593. package/ebay-tabs/tab.d.ts.map +1 -1
  594. package/ebay-tabs/tabs.d.ts +2 -2
  595. package/ebay-tabs/tabs.d.ts.map +1 -1
  596. package/ebay-tabs/types.d.ts +4 -4
  597. package/ebay-tabs/types.d.ts.map +1 -1
  598. package/ebay-textbox/README.md +38 -29
  599. package/ebay-textbox/index.d.ts +6 -6
  600. package/ebay-textbox/index.d.ts.map +1 -1
  601. package/ebay-textbox/postfix-icon.d.ts +2 -2
  602. package/ebay-textbox/postfix-icon.d.ts.map +1 -1
  603. package/ebay-textbox/postfix-text.d.ts +2 -2
  604. package/ebay-textbox/postfix-text.d.ts.map +1 -1
  605. package/ebay-textbox/prefix-icon.d.ts +2 -2
  606. package/ebay-textbox/prefix-icon.d.ts.map +1 -1
  607. package/ebay-textbox/prefix-text.d.ts +2 -2
  608. package/ebay-textbox/prefix-text.d.ts.map +1 -1
  609. package/ebay-textbox/textbox.d.ts +5 -5
  610. package/ebay-textbox/textbox.d.ts.map +1 -1
  611. package/ebay-textbox/types.d.ts +6 -6
  612. package/ebay-textbox/types.d.ts.map +1 -1
  613. package/ebay-toast-dialog/README.md +7 -6
  614. package/ebay-toast-dialog/components/toast.d.ts +3 -3
  615. package/ebay-toast-dialog/components/toast.d.ts.map +1 -1
  616. package/ebay-toast-dialog/index.d.ts +1 -1
  617. package/ebay-toast-dialog/index.d.ts.map +1 -1
  618. package/ebay-toast-dialog/index.js +1 -1
  619. package/ebay-toggle-button/index.d.ts +2 -2
  620. package/ebay-toggle-button/index.d.ts.map +1 -1
  621. package/ebay-toggle-button/toggle-button.d.ts +2 -2
  622. package/ebay-toggle-button/toggle-button.d.ts.map +1 -1
  623. package/ebay-toggle-button/types.d.ts +5 -5
  624. package/ebay-toggle-button/types.d.ts.map +1 -1
  625. package/ebay-toggle-button-group/README.md +12 -12
  626. package/ebay-toggle-button-group/index.d.ts +2 -2
  627. package/ebay-toggle-button-group/index.d.ts.map +1 -1
  628. package/ebay-toggle-button-group/toggle-button-group.d.ts +2 -2
  629. package/ebay-toggle-button-group/toggle-button-group.d.ts.map +1 -1
  630. package/ebay-toggle-button-group/types.d.ts +5 -5
  631. package/ebay-toggle-button-group/types.d.ts.map +1 -1
  632. package/ebay-tooltip/README.md +10 -7
  633. package/ebay-tooltip/ebay-tooltip-content.d.ts +3 -3
  634. package/ebay-tooltip/ebay-tooltip-content.d.ts.map +1 -1
  635. package/ebay-tooltip/ebay-tooltip-host.d.ts +3 -3
  636. package/ebay-tooltip/ebay-tooltip-host.d.ts.map +1 -1
  637. package/ebay-tooltip/ebay-tooltip.d.ts +3 -3
  638. package/ebay-tooltip/ebay-tooltip.d.ts.map +1 -1
  639. package/ebay-tooltip/index.d.ts +5 -5
  640. package/ebay-tooltip/index.d.ts.map +1 -1
  641. package/ebay-tourtip/README.md +23 -26
  642. package/ebay-tourtip/ebay-tourtip-content.d.ts +3 -3
  643. package/ebay-tourtip/ebay-tourtip-content.d.ts.map +1 -1
  644. package/ebay-tourtip/ebay-tourtip-footer.d.ts +2 -2
  645. package/ebay-tourtip/ebay-tourtip-footer.d.ts.map +1 -1
  646. package/ebay-tourtip/ebay-tourtip-heading.d.ts +2 -2
  647. package/ebay-tourtip/ebay-tourtip-heading.d.ts.map +1 -1
  648. package/ebay-tourtip/ebay-tourtip-host.d.ts +3 -3
  649. package/ebay-tourtip/ebay-tourtip-host.d.ts.map +1 -1
  650. package/ebay-tourtip/ebay-tourtip.d.ts +4 -4
  651. package/ebay-tourtip/ebay-tourtip.d.ts.map +1 -1
  652. package/ebay-tourtip/index.d.ts +6 -6
  653. package/ebay-tourtip/index.d.ts.map +1 -1
  654. package/ebay-tri-state-checkbox/Readme.md +15 -12
  655. package/ebay-tri-state-checkbox/index.d.ts +2 -2
  656. package/ebay-tri-state-checkbox/index.d.ts.map +1 -1
  657. package/ebay-tri-state-checkbox/tri-state-checkbox.d.ts +3 -3
  658. package/ebay-tri-state-checkbox/tri-state-checkbox.d.ts.map +1 -1
  659. package/ebay-tri-state-checkbox/types.d.ts +3 -3
  660. package/ebay-tri-state-checkbox/types.d.ts.map +1 -1
  661. package/ebay-video/README.md +24 -19
  662. package/ebay-video/const.d.ts.map +1 -1
  663. package/ebay-video/controls.d.ts.map +1 -1
  664. package/ebay-video/index.d.ts +3 -3
  665. package/ebay-video/index.d.ts.map +1 -1
  666. package/ebay-video/reportButton.d.ts +1 -1
  667. package/ebay-video/reportButton.d.ts.map +1 -1
  668. package/ebay-video/source.d.ts +2 -2
  669. package/ebay-video/source.d.ts.map +1 -1
  670. package/ebay-video/types.d.ts +3 -3
  671. package/ebay-video/types.d.ts.map +1 -1
  672. package/ebay-video/video.d.ts +4 -4
  673. package/ebay-video/video.d.ts.map +1 -1
  674. package/events/index.d.ts +4 -4
  675. package/events/index.d.ts.map +1 -1
  676. package/file-preview-card-BD6TIsY7.js +1 -0
  677. package/{lightbox-dialog-B19PMyMY.js → lightbox-dialog-DqcQsTSy.js} +1 -1
  678. package/package.json +79 -78
  679. package/utils/index.d.ts +6 -6
  680. package/utils/index.d.ts.map +1 -1
  681. package/dialog-previous-button-DR6Ujner.js +0 -1
  682. package/ebay-details-CwOA53up.js +0 -1
  683. package/file-preview-card-D4qnvGtF.js +0 -1
@@ -7,16 +7,19 @@ The user usually will want to manage the state of the snackbar, and so should pr
7
7
  In the case where the application developer only wants to manage the initial state of the snackbar, the dev can choose to provide only the open state as a boolean. This is useful when a dev wants the snackbar to appear only once on initial render and then disappear.
8
8
 
9
9
  ## Demo
10
+
10
11
  [Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/dialogs-ebay-snackbar-dialog--default)
11
12
 
12
13
  ## Import JS
14
+
13
15
  ```jsx harmony
14
- import { EbaySnackbarDialog, EbaySnackbarDialogAction } from '@ebay/ui-core-react/ebay-snackbar-dialog';
16
+ import { EbaySnackbarDialog, EbaySnackbarDialogAction } from "@ebay/ui-core-react/ebay-snackbar-dialog";
15
17
  ```
16
18
 
17
19
  ## Import following styles from SKIN
20
+
18
21
  ```jsx harmony
19
- import '@ebay/skin/snackbar-dialog';
22
+ import "@ebay/skin/snackbar-dialog";
20
23
  ```
21
24
 
22
25
  ## Usage
@@ -30,28 +33,30 @@ import '@ebay/skin/snackbar-dialog';
30
33
  ```jsx harmony
31
34
  <EbaySnackbarDialog open>
32
35
  <p>Snackbar with action</p>
33
- <EbaySnackbarDialogAction accessKey="U" aria-label="Undo - Access Key: U">Undo</EbaySnackbarDialogAction>
36
+ <EbaySnackbarDialogAction accessKey="U" aria-label="Undo - Access Key: U">
37
+ Undo
38
+ </EbaySnackbarDialogAction>
34
39
  </EbaySnackbarDialog>
35
40
  ```
36
41
 
37
42
  ## Attributes
38
43
 
39
- Name | Type | Stateful | Required | Description
40
- --- | --- | --- | --- | ---
41
- `open` | Boolean | Yes | No | Whether snackbar is open or not.
42
- `layout` | String | No | No | Direction of row or column for the text and the action button. Default is 'row'. Options are 'row' and 'column'.
43
- `animated` | Boolean | Yes | No | Renders the dialog with an animation. Note that the dialog will always be present in the DOM
44
+ | Name | Type | Stateful | Required | Description |
45
+ | ---------- | ------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------- |
46
+ | `open` | Boolean | Yes | No | Whether snackbar is open or not. |
47
+ | `layout` | String | No | No | Direction of row or column for the text and the action button. Default is 'row'. Options are 'row' and 'column'. |
48
+ | `animated` | Boolean | Yes | No | Renders the dialog with an animation. Note that the dialog will always be present in the DOM |
44
49
 
45
50
  ## Events
46
51
 
47
- Event | Data | Description
48
- --- | --- | ---
49
- `onOpen` | | Snackbar opened
50
- `onClose` | | Snackbar closed
51
- `onAction` | | Snackbar clicked action
52
+ | Event | Data | Description |
53
+ | ---------- | ---- | ----------------------- |
54
+ | `onOpen` | | Snackbar opened |
55
+ | `onClose` | | Snackbar closed |
56
+ | `onAction` | | Snackbar clicked action |
52
57
 
53
58
  ## EbaySnackbarDialogAction Props
54
59
 
55
- Name | Type | Stateful | Required | Description
56
- --- | --- | --- | --- | ---
57
- `accessKey` | String | No | No | [`accesskey`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey) HTML attribute that generated a keyboard shortcut for the action element. Use together with `aria-label` to give more information to the user.
60
+ | Name | Type | Stateful | Required | Description |
61
+ | ----------- | ------ | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
62
+ | `accessKey` | String | No | No | [`accesskey`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey) HTML attribute that generated a keyboard shortcut for the action element. Use together with `aria-label` to give more information to the user. |
@@ -1,3 +1,3 @@
1
- import { ComponentProps, ReactElement } from 'react';
1
+ import { ComponentProps, ReactElement } from "react";
2
2
  export declare const EbaySnackbarDialogAction: ({ className, children, ...rest }: ComponentProps<"button">) => ReactElement;
3
3
  //# sourceMappingURL=ebay-snackbar-dialog-action.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ebay-snackbar-dialog-action.d.ts","sourceRoot":"","sources":["../../../src/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAE3D,eAAO,MAAM,wBAAwB,GAAI,kCAItC,cAAc,CAAC,QAAQ,CAAC,KAAG,YAI7B,CAAA"}
1
+ {"version":3,"file":"ebay-snackbar-dialog-action.d.ts","sourceRoot":"","sources":["../../../src/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5D,eAAO,MAAM,wBAAwB,GAAI,kCAAkC,cAAc,CAAC,QAAQ,CAAC,KAAG,YAIrG,CAAC"}
@@ -1,7 +1,7 @@
1
- import { KeyboardEventHandler, MouseEventHandler, ReactElement } from 'react';
2
- import { DialogBaseProps } from '../../ebay-dialog-base';
3
- export type EbaySnackbarDialogProps = Omit<DialogBaseProps<HTMLElement>, 'a11yCloseText'> & {
4
- layout?: 'row' | 'column';
1
+ import { KeyboardEventHandler, MouseEventHandler, ReactElement } from "react";
2
+ import { DialogBaseProps } from "../../ebay-dialog-base";
3
+ export type EbaySnackbarDialogProps = Omit<DialogBaseProps<HTMLElement>, "a11yCloseText"> & {
4
+ layout?: "row" | "column";
5
5
  onOpen?: () => void;
6
6
  onClose?: () => void;
7
7
  onAction?: MouseEventHandler<HTMLButtonElement> & KeyboardEventHandler;
@@ -1 +1 @@
1
- {"version":3,"file":"ebay-snackbar-dialog.d.ts","sourceRoot":"","sources":["../../../src/ebay-snackbar-dialog/components/ebay-snackbar-dialog.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,YAAY,EAA+B,MAAM,OAAO,CAAA;AACjH,OAAO,EAAE,eAAe,EAA0C,MAAM,wBAAwB,CAAA;AAIhG,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,eAAe,CAAC,GAAG;IACxF,MAAM,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,oBAAoB,CAAC;CAC1E,CAAA;AAID,eAAO,MAAM,kBAAkB,GAAI,2EAShC,uBAAuB,KAAG,YA2G5B,CAAA"}
1
+ {"version":3,"file":"ebay-snackbar-dialog.d.ts","sourceRoot":"","sources":["../../../src/ebay-snackbar-dialog/components/ebay-snackbar-dialog.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,YAAY,EAA+B,MAAM,OAAO,CAAC;AAClH,OAAO,EAAE,eAAe,EAA0C,MAAM,wBAAwB,CAAC;AAIjG,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,eAAe,CAAC,GAAG;IACxF,MAAM,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,oBAAoB,CAAC;CAC1E,CAAC;AAIF,eAAO,MAAM,kBAAkB,GAAI,2EAShC,uBAAuB,KAAG,YA8G5B,CAAC"}
@@ -1,3 +1,3 @@
1
- export { EbaySnackbarDialog, type EbaySnackbarDialogProps } from './components/ebay-snackbar-dialog';
2
- export { EbaySnackbarDialogAction } from './components/ebay-snackbar-dialog-action';
1
+ export { EbaySnackbarDialog, type EbaySnackbarDialogProps } from "./components/ebay-snackbar-dialog";
2
+ export { EbaySnackbarDialogAction } from "./components/ebay-snackbar-dialog-action";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-snackbar-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAA;AACpG,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-snackbar-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACrG,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("../tslib.es6-C4EgNkz1.js"),y=require("classnames"),e=require("react"),h=require("../dialog-previous-button-DR6Ujner.js");require("../icon-button-CHW6Lezn.js");const k=require("../utils-C9NL3q0j.js"),E=n=>{var{className:l,children:c}=n,r=C.__rest(n,["className","children"]);return e.createElement("button",Object.assign({className:y(l,"fake-link")},r),c)},R=6e3,B=n=>{var{className:l,onOpen:c=()=>{},onClose:r=()=>{},layout:D,open:i,children:f,onAction:u}=n,S=C.__rest(n,["className","onOpen","onClose","layout","open","children","onAction"]);const o=e.useRef(new Set),g=e.useRef(null),[T,v]=e.useState(i),t=k.findComponent(f,E),_=k.excludeComponent(f,E),s=()=>{clearTimeout(g.current)},d=()=>{v(!1),r()},m=()=>{o.current.size===0&&(s(),g.current=setTimeout(()=>{d()},R))},q=()=>{v(!0),c(),m()},N=()=>{s(),o.current.add("focus")},O=()=>{o.current.delete("focus"),m()},A=()=>{s(),o.current.add("mouseEnter")},M=()=>{o.current.delete("mouseEnter"),m()},w=p=>{var a,b;s(),u==null||u(p),(b=(a=t==null?void 0:t.props)===null||a===void 0?void 0:a.onClick)===null||b===void 0||b.call(a,p),d()};return e.useEffect(()=>()=>{s()},[]),e.useEffect(()=>{i?q():d()},[i]),e.createElement(h.DialogBaseWithState,Object.assign({},S,{open:T,isModal:!1,baseEl:"aside",classPrefix:"snackbar-dialog",transitionElement:"root",a11yCloseText:"",buttonPosition:"hidden",className:y(l,"snackbar-dialog--transition"),windowClass:D==="column"&&"snackbar-dialog__window--column",onFocus:N,onBlur:O,onMouseEnter:A,onMouseLeave:M}),_,t?e.createElement(h.EbayDialogActions,null,e.cloneElement(t,{onClick:w})):null)};exports.EbaySnackbarDialog=B;exports.EbaySnackbarDialogAction=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("../tslib.es6-C4EgNkz1.js"),y=require("classnames"),e=require("react"),h=require("../dialog-previous-button-B1dTCOv2.js");require("../icon-button-CHW6Lezn.js");const k=require("../utils-C9NL3q0j.js"),E=n=>{var{className:l,children:c}=n,r=C.__rest(n,["className","children"]);return e.createElement("button",Object.assign({className:y(l,"fake-link")},r),c)},R=6e3,B=n=>{var{className:l,onOpen:c=()=>{},onClose:r=()=>{},layout:D,open:i,children:f,onAction:u}=n,S=C.__rest(n,["className","onOpen","onClose","layout","open","children","onAction"]);const o=e.useRef(new Set),g=e.useRef(null),[T,v]=e.useState(i),t=k.findComponent(f,E),_=k.excludeComponent(f,E),s=()=>{clearTimeout(g.current)},d=()=>{v(!1),r()},m=()=>{o.current.size===0&&(s(),g.current=setTimeout(()=>{d()},R))},q=()=>{v(!0),c(),m()},N=()=>{s(),o.current.add("focus")},O=()=>{o.current.delete("focus"),m()},A=()=>{s(),o.current.add("mouseEnter")},M=()=>{o.current.delete("mouseEnter"),m()},w=p=>{var a,b;s(),u==null||u(p),(b=(a=t==null?void 0:t.props)===null||a===void 0?void 0:a.onClick)===null||b===void 0||b.call(a,p),d()};return e.useEffect(()=>()=>{s()},[]),e.useEffect(()=>{i?q():d()},[i]),e.createElement(h.DialogBaseWithState,Object.assign({},S,{open:T,isModal:!1,baseEl:"aside",classPrefix:"snackbar-dialog",transitionElement:"root",a11yCloseText:"",buttonPosition:"hidden",className:y(l,"snackbar-dialog--transition"),windowClass:D==="column"&&"snackbar-dialog__window--column",onFocus:N,onBlur:O,onMouseEnter:A,onMouseLeave:M}),_,t?e.createElement(h.EbayDialogActions,null,e.cloneElement(t,{onClick:w})):null)};exports.EbaySnackbarDialog=B;exports.EbaySnackbarDialogAction=E;
@@ -1,26 +1,31 @@
1
1
  # EbaySplitButton
2
2
 
3
3
  ## Demo
4
+
4
5
  [Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/buttons-ebay-split-button--controls)
5
6
 
6
7
  ## Usage
7
8
 
8
9
  ### Import JS
10
+
9
11
  ```jsx harmony
10
- import { EbaySplitButton } from '@ebay/ui-core-react/ebay-split-button'
12
+ import { EbaySplitButton } from "@ebay/ui-core-react/ebay-split-button";
11
13
  ```
12
14
 
13
15
  ### Import following styles from SKIN
16
+
14
17
  ```jsx harmony
15
- import "@ebay/skin/split-button"
18
+ import "@ebay/skin/split-button";
16
19
  ```
17
20
 
18
21
  ### Or import styles using SCSS/CSS
22
+
19
23
  ```jsx harmony
20
- import '@ebay/skin/split-button.css'
24
+ import "@ebay/skin/split-button.css";
21
25
  ```
22
26
 
23
27
  ### Icon button
28
+
24
29
  ```jsx harmony
25
30
  <EbaySplitButton a11yMenuText="Show save options">
26
31
  Save document
@@ -30,23 +35,24 @@ import '@ebay/skin/split-button.css'
30
35
  ```
31
36
 
32
37
  ## Props
33
- Name | Type | Stateful | Required | Description | Data
34
- --- |---------| -- | --- | --- | ---
35
- `a11yMenuText` | String | No | Yes | aria label for menu button part
36
- `href` | String | No | No | url for link behaviour (switches to anchor tag)
37
- `size` | String | No | No | button size: `small` or `large`
38
- `priority` | String | No | No | `primary`, `secondary` (default), `tertiary`, `none`
39
- `bodyState` | String | No | No | `loading` adds progress spinner, when user interacts with button, `reset` should be called to reset `aria-live` state, default is `none`
40
- `a11yButtonLoadingText` | String | No | No | `aria-label` for button when `bodyState` is `loading`
41
- `type` | String | No | No | menu items type: `radio` or `checkbox`
42
- `transparent` | Boolean | No | No | for transparent background
43
- `disabled` | Boolean | Yes | No
44
- `partiallyDisabled` | Boolean | No | No | sets `aria-disabled` but not `disabled` prop
45
- `onClick` | Function | - | No | click or action key pressed (`Space` or `Enter`)
46
- `onEscape` | Function | - | No | `Esc`-key pressed
47
- `onFocus` | Function | - | No | triggered on focus
48
- `onBlur` | Function | - | No | triggered on blur
49
- `onExpand` | Function | - | No | Called when content is expanded
50
- `onCollapse` | Function | - | No | Called when content is collapsed
51
- `onChange` | Function | - | No | Arguments: (e: event, { index: number, checked: number[], checkedValues: string[] }) for type `radio`/`checkbox`
52
- `onSelect` | Function | - | No | Arguments: (e: event, { index: number, checked: number[] }), not for use with type `radio`/`checkbox`
38
+
39
+ | Name | Type | Stateful | Required | Description | Data |
40
+ | ----------------------- | -------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---- |
41
+ | `a11yMenuText` | String | No | Yes | aria label for menu button part |
42
+ | `href` | String | No | No | url for link behaviour (switches to anchor tag) |
43
+ | `size` | String | No | No | button size: `small` or `large` |
44
+ | `priority` | String | No | No | `primary`, `secondary` (default), `tertiary`, `none` |
45
+ | `bodyState` | String | No | No | `loading` adds progress spinner, when user interacts with button, `reset` should be called to reset `aria-live` state, default is `none` |
46
+ | `a11yButtonLoadingText` | String | No | No | `aria-label` for button when `bodyState` is `loading` |
47
+ | `type` | String | No | No | menu items type: `radio` or `checkbox` |
48
+ | `transparent` | Boolean | No | No | for transparent background |
49
+ | `disabled` | Boolean | Yes | No |
50
+ | `partiallyDisabled` | Boolean | No | No | sets `aria-disabled` but not `disabled` prop |
51
+ | `onClick` | Function | - | No | click or action key pressed (`Space` or `Enter`) |
52
+ | `onEscape` | Function | - | No | `Esc`-key pressed |
53
+ | `onFocus` | Function | - | No | triggered on focus |
54
+ | `onBlur` | Function | - | No | triggered on blur |
55
+ | `onExpand` | Function | - | No | Called when content is expanded |
56
+ | `onCollapse` | Function | - | No | Called when content is collapsed |
57
+ | `onChange` | Function | - | No | Arguments: (e: event, { index: number, checked: number[], checkedValues: string[] }) for type `radio`/`checkbox` |
58
+ | `onSelect` | Function | - | No | Arguments: (e: event, { index: number, checked: number[] }), not for use with type `radio`/`checkbox` |
@@ -1,3 +1,3 @@
1
- export { default as EbaySplitButton } from './split-button';
2
- export type { EbaySplitButtonProps, Props } from './types';
1
+ export { default as EbaySplitButton } from "./split-button";
2
+ export type { EbaySplitButtonProps, Props } from "./types";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAC3D,YAAY,EACR,oBAAoB,EACpB,KAAK,EACR,MAAM,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC5D,YAAY,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { Props } from './types';
1
+ import { FC } from "react";
2
+ import { Props } from "./types";
3
3
  declare const EbaySplitButton: FC<Props>;
4
4
  export default EbaySplitButton;
5
5
  //# sourceMappingURL=split-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"split-button.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/split-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAIjC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CA6C9B,CAAA;AAED,eAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"split-button.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/split-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CA6C9B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,13 +1,13 @@
1
- import { ComponentProps } from 'react';
2
- import { EbayButtonProps } from '../ebay-button';
3
- import { EbayMenuProps } from '../ebay-menu';
1
+ import { ComponentProps } from "react";
2
+ import { EbayButtonProps } from "../ebay-button";
3
+ import { EbayMenuProps } from "../ebay-menu";
4
4
  export type EbaySplitButtonProps = {
5
5
  a11yMenuText?: string;
6
6
  a11yButtonLoadingText?: string;
7
7
  onCollapse?: () => void;
8
8
  onExpand?: () => void;
9
9
  };
10
- type MenuEvents = 'onSelect' | 'onChange';
11
- export type Props = EbaySplitButtonProps & Omit<EbayButtonProps, 'ref'> & Omit<ComponentProps<'button'>, 'type' | MenuEvents> & Omit<ComponentProps<'a'>, MenuEvents> & Omit<EbayMenuProps, 'priority'>;
10
+ type MenuEvents = "onSelect" | "onChange";
11
+ export type Props = EbaySplitButtonProps & Omit<EbayButtonProps, "ref"> & Omit<ComponentProps<"button">, "type" | MenuEvents> & Omit<ComponentProps<"a">, MenuEvents> & Omit<EbayMenuProps, "priority">;
12
12
  export {};
13
13
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,MAAM,MAAM,oBAAoB,GAAG;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,CAAA;AAED,KAAK,UAAU,GAAG,UAAU,GAAG,UAAU,CAAA;AAEzC,MAAM,MAAM,KAAK,GACb,oBAAoB,GACpB,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,GAC5B,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,GACnD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,GACrC,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,oBAAoB,GAAG;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,KAAK,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;AAE1C,MAAM,MAAM,KAAK,GAAG,oBAAoB,GACpC,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,GAC5B,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,GACnD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,GACrC,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC"}
@@ -1,27 +1,33 @@
1
1
  # EbayStarRating
2
+
2
3
  For full stars use (rating from 0-5): ebay-star-rating-{rating} For half stars use: ebay-star-rating-{rating}-5 DS v1.0.0
3
4
 
4
5
  ## Demo
6
+
5
7
  [Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/graphics-icons-ebay-star-rating--stars)
6
8
 
7
9
  ## Usage
10
+
8
11
  ```
9
12
  yarn add @ebay/ui-core-react
10
13
  ```
11
14
 
12
15
  ### Import JS
16
+
13
17
  ```jsx harmony
14
- import { EbayStarRating } from '@ebay/ui-core-react/ebay-star-rating'
18
+ import { EbayStarRating } from "@ebay/ui-core-react/ebay-star-rating";
15
19
  ```
16
20
 
17
21
  ## Import following styles from Skin
22
+
18
23
  ```jsx harmony
19
- import '@ebay/skin/star-rating'
24
+ import "@ebay/skin/star-rating";
20
25
  ```
21
26
 
22
27
  ## ...or using SCSS/CSS
28
+
23
29
  ```jsx harmony
24
- import '@ebay/skin/star-rating.css'
30
+ import "@ebay/skin/star-rating.css";
25
31
  ```
26
32
 
27
33
  ```jsx harmony
@@ -31,7 +37,7 @@ import '@ebay/skin/star-rating.css'
31
37
 
32
38
  ## Attributes
33
39
 
34
- Name | Type | Stateful | Description
35
- --- | --- | --- | ---
36
- | `a11yText` | String | No | Yes | text for non-decorative inline icon; icon is assumed to be decorative if this is not passed |
37
- | `value` | String | No | Yes | The amount of stars to be filled. Can be "2-5" for 2 and a half stars. |
40
+ | Name | Type | Stateful | Description |
41
+ | ---------- | ------ | -------- | ----------- | ------------------------------------------------------------------------------------------- |
42
+ | `a11yText` | String | No | Yes | text for non-decorative inline icon; icon is assumed to be decorative if this is not passed |
43
+ | `value` | String | No | Yes | The amount of stars to be filled. Can be "2-5" for 2 and a half stars. |
@@ -1,2 +1,2 @@
1
- export { default as EbayStarRating, type Props as EbayStarRatingProps } from './star-rating';
1
+ export { default as EbayStarRating, type Props as EbayStarRatingProps } from "./star-rating";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,KAAK,KAAK,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,KAAK,KAAK,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,5 +1,5 @@
1
- import { ComponentProps, FC } from 'react';
2
- export type Props = ComponentProps<'div'> & {
1
+ import { ComponentProps, FC } from "react";
2
+ export type Props = ComponentProps<"div"> & {
3
3
  a11yText?: string;
4
4
  value?: string;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"star-rating.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating/star-rating.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAKjD,MAAM,MAAM,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAe7B,CAAA;AAGD,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"star-rating.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating/star-rating.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKlD,MAAM,MAAM,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAM7B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,27 +1,33 @@
1
1
  # EbayStarRatingSelect
2
+
2
3
  use (rating from 0-5)
3
4
 
4
5
  ## Demo
6
+
5
7
  [Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/form-input-ebay-star-rating-select--isolated)
6
8
 
7
9
  ## Usage
10
+
8
11
  ```
9
12
  yarn add @ebay/ui-core-react
10
13
  ```
11
14
 
12
15
  ### Import JS
16
+
13
17
  ```jsx harmony
14
- import { EbayStarRatingSelect } from '@ebay/ui-core-react/ebay-star-rating-select'
18
+ import { EbayStarRatingSelect } from "@ebay/ui-core-react/ebay-star-rating-select";
15
19
  ```
16
20
 
17
21
  ## Import following styles from Skin
22
+
18
23
  ```jsx harmony
19
- import '@ebay/skin/star-rating-select'
24
+ import "@ebay/skin/star-rating-select";
20
25
  ```
21
26
 
22
27
  ## ...or using SCSS/CSS
28
+
23
29
  ```jsx harmony
24
- import '@ebay/skin/star-rating.css'
30
+ import "@ebay/skin/star-rating.css";
25
31
  ```
26
32
 
27
33
  ```jsx harmony
@@ -30,17 +36,17 @@ import '@ebay/skin/star-rating.css'
30
36
 
31
37
  ## Attributes
32
38
 
33
- Name | Type | Stateful | Description
34
- --- | --- | --- | ---
35
- | `a11yStarText` | array | No | Yes | array of strings for star inputs |
36
- | `a11yText` | String | No | Yes | container aria-label |
37
- | `value` | String | No | Yes | The amount of stars to be filled. Can be "2-5" for 2 and a half stars.|
38
- | `disabled` | Boolean | No | Rating stars are disabled or not
39
+ | Name | Type | Stateful | Description |
40
+ | -------------- | ------- | -------- | -------------------------------- | ---------------------------------------------------------------------- |
41
+ | `a11yStarText` | array | No | Yes | array of strings for star inputs |
42
+ | `a11yText` | String | No | Yes | container aria-label |
43
+ | `value` | String | No | Yes | The amount of stars to be filled. Can be "2-5" for 2 and a half stars. |
44
+ | `disabled` | Boolean | No | Rating stars are disabled or not |
39
45
 
40
46
  ## Callbacks
41
47
 
42
- | Name | Type | Required | Description | Data |
43
- |------------|----------|----------|---------------------------|--------------------------------------|
44
- | `onChange` | Function | No | triggered on value change | `(ChangeEvent, { value: number })` |
45
- | `onFocus` | Function | No | triggered on focus | `(FocusEvent, { value: number })` |
46
- | `onKeydown` | Function | No | triggered on keydown | `(KeyboardEvent, { value: number })` |
48
+ | Name | Type | Required | Description | Data |
49
+ | ----------- | -------- | -------- | ------------------------- | ------------------------------------ |
50
+ | `onChange` | Function | No | triggered on value change | `(ChangeEvent, { value: number })` |
51
+ | `onFocus` | Function | No | triggered on focus | `(FocusEvent, { value: number })` |
52
+ | `onKeydown` | Function | No | triggered on keydown | `(KeyboardEvent, { value: number })` |
@@ -1,2 +1,2 @@
1
- export { default as EbayStarRatingSelect, type EventProps } from './star-rating-select';
1
+ export { default as EbayStarRatingSelect, type EventProps } from "./star-rating-select";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,9 +1,9 @@
1
- import { ComponentProps, FC } from 'react';
2
- import { EbayChangeEventHandler, EbayFocusEventHandler, EbayKeyboardEventHandler } from '../common/event-utils/types';
1
+ import { ComponentProps, FC } from "react";
2
+ import { EbayChangeEventHandler, EbayFocusEventHandler, EbayKeyboardEventHandler } from "../common/event-utils/types";
3
3
  export type EventProps = {
4
4
  value: number;
5
5
  };
6
- type Props = ComponentProps<'div'> & {
6
+ type Props = ComponentProps<"div"> & {
7
7
  a11yText?: string;
8
8
  value?: string;
9
9
  a11yStarText?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"star-rating-select.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating-select/star-rating-select.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAA;AAItE,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AAGrH,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAC1C,KAAK,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,wBAAwB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;IACnE,QAAQ,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;IAChE,OAAO,CAAC,EAAE,qBAAqB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;CACjE,CAAA;AASD,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAkEnC,CAAA;AAED,eAAe,oBAAoB,CAAA"}
1
+ {"version":3,"file":"star-rating-select.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating-select/star-rating-select.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAIvE,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAGtH,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAC3C,KAAK,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,wBAAwB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;IACnE,QAAQ,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;IAChE,OAAO,CAAC,EAAE,qBAAqB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;CACjE,CAAC;AASF,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAkEnC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,37 +1,40 @@
1
1
  # EbaySvg
2
+
2
3
  This is a helper component which holds all the SVG icons for your other `@ebay/ui-core-react` components.
3
4
 
4
5
  ## Install
6
+
5
7
  ```
6
8
  yarn add @ebay/ui-core-react
7
9
  ```
8
10
 
9
11
  ## Usage
12
+
10
13
  Import it and place at the end of your HTML and make sure that this component is only rendered on the server and never import it on the client side.
11
14
 
12
15
  ```jsx harmony
13
- import { EbaySvg } from '@ebay/ui-core-react/ebay-svg';
16
+ import { EbaySvg } from "@ebay/ui-core-react/ebay-svg";
14
17
 
15
18
  <Html>
16
19
  <Component1 />
17
20
  <Component2 />
18
21
  <EbaySvg />
19
- </Html>
22
+ </Html>;
20
23
  ```
21
24
 
22
25
  ### Use only necessary icons
26
+
23
27
  In order to reduce the size of the HTML and the processing time of React, make sure to use only the necessary icons to your application by using the
24
28
  `icons` attribute.
25
29
 
26
30
  ```jsx harmony
27
- import { EbaySvg } from '@ebay/ui-core-react/ebay-svg';
31
+ import { EbaySvg } from "@ebay/ui-core-react/ebay-svg";
28
32
 
29
- <EbaySvg icons={['attention16', 'information16']} />
33
+ <EbaySvg icons={["attention16", "information16"]} />;
30
34
  ```
31
35
 
32
-
33
36
  ## Attributes
34
37
 
35
- Name | Type | Stateful | Description
36
- --- | --- | --- | ---
37
- | `icons` | Icon[] | No | Yes | Use it to filter only the symbols that is needed in your application |
38
+ | Name | Type | Stateful | Description |
39
+ | ------- | ------ | -------- | ----------- | -------------------------------------------------------------------- |
40
+ | `icons` | Icon[] | No | Yes | Use it to filter only the symbols that is needed in your application |
@@ -1,2 +1,2 @@
1
- export { default as EbaySvg } from './svg';
1
+ export { default as EbaySvg } from "./svg";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-svg/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-svg/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC"}
package/ebay-svg/svg.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { Icon } from '../ebay-icon';
1
+ import { FC } from "react";
2
+ import { Icon } from "../ebay-icon";
3
3
  export type EbaySvgProps = {
4
4
  icons?: Icon[];
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"svg.d.ts","sourceRoot":"","sources":["../../src/ebay-svg/svg.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAGnC,MAAM,MAAM,YAAY,GAAG;IACvB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAW7B,CAAA;AAED,eAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"svg.d.ts","sourceRoot":"","sources":["../../src/ebay-svg/svg.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,MAAM,MAAM,YAAY,GAAG;IACvB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAClB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAU7B,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,26 +1,33 @@
1
1
  # EbaySwitch
2
2
 
3
3
  ## Demo
4
+
4
5
  [Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/form-input-ebay-switch--default-switch-button)
5
6
 
6
7
  ## Import JS
8
+
7
9
  ```jsx harmony
8
- import { EbaySwitch } from '@ebay/ui-core-react/ebay-switch';
10
+ import { EbaySwitch } from "@ebay/ui-core-react/ebay-switch";
9
11
  ```
10
12
 
11
13
  ## Import following styles from SKIN
14
+
12
15
  ```jsx harmony
13
- import '@ebay/skin/switch';
16
+ import "@ebay/skin/switch";
14
17
  ```
15
18
 
16
19
  ## Usage
20
+
17
21
  ```
18
22
  yarn add @ebay/ui-core-react
19
23
  ```
24
+
20
25
  ```jsx harmony
21
26
  <span className="field">
22
27
  <EbaySwitch value="123" id="switch-1" />
23
- <label className="field__label field__label--end" htmlFor="switch-1">Remember me</label>
28
+ <label className="field__label field__label--end" htmlFor="switch-1">
29
+ Remember me
30
+ </label>
24
31
  </span>
25
32
  ```
26
33
 
@@ -31,9 +38,9 @@ yarn add @ebay/ui-core-react
31
38
  | `disabled` | Boolean | No | |
32
39
 
33
40
  ## Callbacks
34
- | Name | Data | Description |
35
- | ---------- | --------------------------------------------------- | ----------- |
41
+
42
+ | Name | Data | Description |
43
+ | ---------- | --------------------------------------------------- | ------------------- |
36
44
  | `onChange` | `(ChangeEvent, { value: string, checked: boolean }` | Triggered on change |
37
45
 
38
46
  Note: For this component, `className`/`style` are applied to the root tag, while all other HTML attributes are applied to the `input` tag.
39
-
@@ -1,6 +1,6 @@
1
- import { FC, ComponentProps } from 'react';
2
- import { EbayChangeEventHandler } from '../common/event-utils/types';
3
- type Props = Omit<ComponentProps<'input'>, 'onChange'> & {
1
+ import { FC, ComponentProps } from "react";
2
+ import { EbayChangeEventHandler } from "../common/event-utils/types";
3
+ type Props = Omit<ComponentProps<"input">, "onChange"> & {
4
4
  onChange?: EbayChangeEventHandler<HTMLInputElement, {
5
5
  value: string | number;
6
6
  checked: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ebay-switch.d.ts","sourceRoot":"","sources":["../../src/ebay-switch/ebay-switch.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAuB,EAAE,EAAe,cAAc,EAAE,MAAM,OAAO,CAAA;AAEnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AAEpE,KAAK,KAAK,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,GAAG;IACrD,QAAQ,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,EAAE;QAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CACrG,CAAA;AAID,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CA2CzB,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"ebay-switch.d.ts","sourceRoot":"","sources":["../../src/ebay-switch/ebay-switch.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAuB,EAAE,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,KAAK,KAAK,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,GAAG;IACrD,QAAQ,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,EAAE;QAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CACrG,CAAC;AAIF,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CA2CzB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,2 +1,2 @@
1
- export { default as EbaySwitch } from './ebay-switch';
1
+ export { default as EbaySwitch } from "./ebay-switch";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC"}