@ebay/ui-core-react 8.3.0 → 8.5.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 (281) hide show
  1. package/README.md +5 -2
  2. package/common/component-utils/forwardRef.d.ts +2 -2
  3. package/common/component-utils/forwardRef.d.ts.map +1 -1
  4. package/common/component-utils/utils.d.ts +4 -4
  5. package/common/component-utils/utils.d.ts.map +1 -1
  6. package/common/event-utils/index.d.ts.map +1 -1
  7. package/common/event-utils/types.d.ts.map +1 -1
  8. package/common/event-utils/use-roving-index.d.ts.map +1 -1
  9. package/common/floating-label-utils/hooks.d.ts.map +1 -1
  10. package/common/notice-utils/notice-content.d.ts +1 -1
  11. package/common/notice-utils/notice-content.d.ts.map +1 -1
  12. package/common/range.d.ts.map +1 -1
  13. package/common/tooltip-utils/constants.d.ts +2 -1
  14. package/common/tooltip-utils/constants.d.ts.map +1 -1
  15. package/common/tooltip-utils/tooltip-host.d.ts +3 -3
  16. package/common/tooltip-utils/tooltip-host.d.ts.map +1 -1
  17. package/common/tooltip-utils/use-tooltip.d.ts.map +1 -1
  18. package/dropdown-DyNGEyy6.js +22 -0
  19. package/ebay-accordion/accordion.d.ts.map +1 -1
  20. package/ebay-accordion/index.js +2 -2
  21. package/ebay-alert-dialog/alert-dialog.d.ts.map +1 -1
  22. package/ebay-alert-dialog/index.js +1 -1
  23. package/ebay-avatar/avatar-image.d.ts.map +1 -1
  24. package/ebay-avatar/index.js +1 -1
  25. package/ebay-badge/index.js +1 -1
  26. package/ebay-breadcrumbs/breadcrumb-item.d.ts +1 -1
  27. package/ebay-breadcrumbs/breadcrumb-item.d.ts.map +1 -1
  28. package/ebay-breadcrumbs/breadcrumbs.d.ts +1 -1
  29. package/ebay-breadcrumbs/breadcrumbs.d.ts.map +1 -1
  30. package/ebay-breadcrumbs/index.js +1 -1
  31. package/ebay-button/index.js +1 -1
  32. package/ebay-calendar/calendar.d.ts.map +1 -1
  33. package/ebay-calendar/index.js +1 -1
  34. package/ebay-carousel/carousel-item.d.ts +3 -3
  35. package/ebay-carousel/carousel-item.d.ts.map +1 -1
  36. package/ebay-carousel/helpers.d.ts.map +1 -1
  37. package/ebay-carousel/index.js +1 -1
  38. package/ebay-ccd/README.md +64 -0
  39. package/ebay-ccd/ccd.d.ts +14 -0
  40. package/ebay-ccd/ccd.d.ts.map +1 -0
  41. package/ebay-ccd/index.d.ts +2 -0
  42. package/ebay-ccd/index.d.ts.map +1 -0
  43. package/ebay-ccd/index.js +1 -0
  44. package/ebay-character-count/README.md +44 -0
  45. package/ebay-character-count/character-count.d.ts +14 -0
  46. package/ebay-character-count/character-count.d.ts.map +1 -0
  47. package/ebay-character-count/index.d.ts +3 -0
  48. package/ebay-character-count/index.d.ts.map +1 -0
  49. package/ebay-character-count/index.js +1 -0
  50. package/ebay-checkbox/index.js +1 -1
  51. package/ebay-chip/index.js +1 -1
  52. package/ebay-chips-combobox/index.js +1 -1
  53. package/ebay-combobox/combobox.d.ts +1 -2
  54. package/ebay-combobox/combobox.d.ts.map +1 -1
  55. package/ebay-combobox/index.js +1 -1
  56. package/ebay-confirm-dialog/confirm-dialog.d.ts.map +1 -1
  57. package/ebay-confirm-dialog/index.js +1 -1
  58. package/ebay-cta-button/index.js +1 -1
  59. package/ebay-date-textbox/index.js +1 -1
  60. package/ebay-details/index.js +1 -1
  61. package/ebay-dialog-base/components/dialog-header.d.ts +2 -2
  62. package/ebay-dialog-base/components/dialog-header.d.ts.map +1 -1
  63. package/ebay-dialog-base/components/dialogBase.d.ts +2 -1
  64. package/ebay-dialog-base/components/dialogBase.d.ts.map +1 -1
  65. package/ebay-dialog-base/dialog-base-with-state.d.ts.map +1 -1
  66. package/ebay-dialog-base/index.js +41 -1
  67. package/ebay-drawer-dialog-deprecated/components/drawer.d.ts.map +1 -1
  68. package/ebay-drawer-dialog-deprecated/index.js +1 -1
  69. package/ebay-education-notice/education-notice.d.ts +0 -1
  70. package/ebay-education-notice/education-notice.d.ts.map +1 -1
  71. package/ebay-education-notice/index.js +1 -1
  72. package/ebay-eek/eek-util.d.ts.map +1 -1
  73. package/ebay-eek/index.js +1 -1
  74. package/ebay-fake-link/index.js +1 -1
  75. package/ebay-fake-menu/index.js +1 -1
  76. package/ebay-fake-menu/menu-item-separator.d.ts.map +1 -1
  77. package/ebay-fake-menu/menu-item.d.ts +1 -1
  78. package/ebay-fake-menu/menu-item.d.ts.map +1 -1
  79. package/ebay-fake-menu/menu.d.ts +2 -2
  80. package/ebay-fake-menu/menu.d.ts.map +1 -1
  81. package/ebay-fake-menu-button/index.js +1 -1
  82. package/ebay-fake-menu-button/menu-button-separator.d.ts +2 -2
  83. package/ebay-fake-menu-button/menu-button-separator.d.ts.map +1 -1
  84. package/ebay-fake-menu-button/menu-button.d.ts.map +1 -1
  85. package/ebay-fake-tabs/index.js +1 -1
  86. package/ebay-field/index.js +1 -1
  87. package/ebay-field/types.d.ts +1 -1
  88. package/ebay-field/types.d.ts.map +1 -1
  89. package/ebay-file-input/README.md +59 -0
  90. package/ebay-file-input/file-input.d.ts +13 -0
  91. package/ebay-file-input/file-input.d.ts.map +1 -0
  92. package/ebay-file-input/index.d.ts +2 -0
  93. package/ebay-file-input/index.d.ts.map +1 -0
  94. package/ebay-file-input/index.js +1 -0
  95. package/ebay-file-input/types.d.ts +6 -0
  96. package/ebay-file-input/types.d.ts.map +1 -0
  97. package/ebay-file-preview-card/file-preview-action.d.ts +2 -2
  98. package/ebay-file-preview-card/file-preview-action.d.ts.map +1 -1
  99. package/ebay-file-preview-card/file-preview-card.d.ts +3 -3
  100. package/ebay-file-preview-card/file-preview-card.d.ts.map +1 -1
  101. package/ebay-file-preview-card/file-preview-content.d.ts.map +1 -1
  102. package/ebay-file-preview-card/index.js +1 -1
  103. package/ebay-file-preview-card/types.d.ts +1 -2
  104. package/ebay-file-preview-card/types.d.ts.map +1 -1
  105. package/ebay-file-preview-card-group/README.md +65 -0
  106. package/ebay-file-preview-card-group/file-preview-card-group.d.ts +12 -0
  107. package/ebay-file-preview-card-group/file-preview-card-group.d.ts.map +1 -0
  108. package/ebay-file-preview-card-group/index.d.ts +2 -0
  109. package/ebay-file-preview-card-group/index.d.ts.map +1 -0
  110. package/ebay-file-preview-card-group/index.js +1 -0
  111. package/ebay-file-preview-card-group/types.d.ts +13 -0
  112. package/ebay-file-preview-card-group/types.d.ts.map +1 -0
  113. package/ebay-filter/index.js +1 -1
  114. package/ebay-filter-menu/index.js +1 -1
  115. package/ebay-filter-menu-button/filter-menu-button.d.ts.map +1 -1
  116. package/ebay-filter-menu-button/index.js +1 -1
  117. package/ebay-fullscreen-dialog-deprecated/fullscreen-dialog.d.ts.map +1 -1
  118. package/ebay-fullscreen-dialog-deprecated/index.js +1 -1
  119. package/ebay-icon/icon.d.ts +6 -0
  120. package/ebay-icon/icon.d.ts.map +1 -1
  121. package/ebay-icon/index.js +1 -1
  122. package/ebay-icon/types.d.ts +1 -1
  123. package/ebay-icon/types.d.ts.map +1 -1
  124. package/ebay-icon-button/icon-button.d.ts +2 -5
  125. package/ebay-icon-button/icon-button.d.ts.map +1 -1
  126. package/ebay-icon-button/index.js +1 -1
  127. package/ebay-image-placeholder/README.md +46 -0
  128. package/ebay-image-placeholder/image-placeholder.d.ts +6 -0
  129. package/ebay-image-placeholder/image-placeholder.d.ts.map +1 -0
  130. package/ebay-image-placeholder/index.d.ts +2 -0
  131. package/ebay-image-placeholder/index.d.ts.map +1 -0
  132. package/ebay-image-placeholder/index.js +1 -0
  133. package/ebay-infotip/ebay-infotip-host.d.ts +1 -1
  134. package/ebay-infotip/ebay-infotip-host.d.ts.map +1 -1
  135. package/ebay-infotip/ebay-infotip.d.ts +1 -1
  136. package/ebay-infotip/ebay-infotip.d.ts.map +1 -1
  137. package/ebay-infotip/index.js +5 -1
  138. package/ebay-inline-notice/index.js +1 -1
  139. package/ebay-lightbox-dialog/index.js +1 -1
  140. package/ebay-lightbox-dialog/lightbox-dialog.d.ts.map +1 -1
  141. package/ebay-listbox/index.js +1 -1
  142. package/ebay-listbox/listbox.d.ts.map +1 -1
  143. package/ebay-listbox-button/index.js +2 -2
  144. package/ebay-listbox-button/listbox-button-option.d.ts +4 -4
  145. package/ebay-listbox-button/listbox-button-option.d.ts.map +1 -1
  146. package/ebay-listbox-button/listbox-button.d.ts.map +1 -1
  147. package/ebay-menu/index.js +1 -1
  148. package/ebay-menu/menu-item-separator.d.ts.map +1 -1
  149. package/ebay-menu/menu.d.ts.map +1 -1
  150. package/ebay-menu/types.d.ts +1 -1
  151. package/ebay-menu-button/index.js +1 -1
  152. package/ebay-menu-button/menu-button-separator.d.ts.map +1 -1
  153. package/ebay-menu-button/menu-button.d.ts.map +1 -1
  154. package/ebay-menu-button/types.d.ts +1 -1
  155. package/ebay-menu-button/types.d.ts.map +1 -1
  156. package/ebay-notice-base/components/ebay-notice-title/notice-title.d.ts.map +1 -1
  157. package/ebay-notice-base/index.js +1 -1
  158. package/ebay-page-notice/index.js +1 -1
  159. package/ebay-page-notice/page-notice.d.ts.map +1 -1
  160. package/ebay-pagination/index.js +1 -1
  161. package/ebay-pagination/pagination-item.d.ts +1 -1
  162. package/ebay-pagination/pagination-item.d.ts.map +1 -1
  163. package/ebay-panel-dialog/index.js +1 -1
  164. package/ebay-panel-dialog/panel-dialog.d.ts.map +1 -1
  165. package/ebay-progress-bar/index.js +1 -1
  166. package/ebay-progress-bar-expressive/index.js +1 -1
  167. package/ebay-progress-spinner/index.js +1 -1
  168. package/ebay-progress-stepper/index.js +1 -1
  169. package/ebay-radio/index.js +1 -1
  170. package/ebay-radio/radio.d.ts.map +1 -1
  171. package/ebay-section-notice/index.js +1 -1
  172. package/ebay-section-notice/section-notice.d.ts.map +1 -1
  173. package/ebay-section-title/index.js +1 -1
  174. package/ebay-segmented-buttons/index.js +1 -1
  175. package/ebay-select/index.js +1 -1
  176. package/ebay-signal/index.js +1 -1
  177. package/ebay-skeleton/ebay-skeleton-avatar.d.ts.map +1 -1
  178. package/ebay-skeleton/ebay-skeleton-button.d.ts.map +1 -1
  179. package/ebay-skeleton/ebay-skeleton-image.d.ts.map +1 -1
  180. package/ebay-skeleton/ebay-skeleton-text.d.ts.map +1 -1
  181. package/ebay-skeleton/ebay-skeleton-textbox.d.ts.map +1 -1
  182. package/ebay-skeleton/index.js +1 -1
  183. package/ebay-skeleton/types.d.ts +1 -0
  184. package/ebay-skeleton/types.d.ts.map +1 -1
  185. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.d.ts +1 -1
  186. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.d.ts.map +1 -1
  187. package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.d.ts.map +1 -1
  188. package/ebay-snackbar-dialog/index.js +1 -1
  189. package/ebay-split-button/index.js +1 -1
  190. package/ebay-star-rating/index.js +1 -1
  191. package/ebay-star-rating-select/index.js +1 -1
  192. package/ebay-svg/index.js +1 -1
  193. package/ebay-svg/symbols.d.ts.map +1 -1
  194. package/ebay-switch/index.js +1 -1
  195. package/ebay-table/README.md +1 -0
  196. package/ebay-table/index.js +1 -1
  197. package/ebay-table/table-header.d.ts.map +1 -1
  198. package/ebay-table/table-row.d.ts +2 -2
  199. package/ebay-table/table-row.d.ts.map +1 -1
  200. package/ebay-table/table.d.ts +1 -0
  201. package/ebay-table/table.d.ts.map +1 -1
  202. package/ebay-tabs/index.js +1 -1
  203. package/ebay-textbox/index.js +1 -1
  204. package/ebay-textbox/postfix-icon.d.ts.map +1 -1
  205. package/ebay-textbox/prefix-icon.d.ts.map +1 -1
  206. package/ebay-textbox/textbox.d.ts.map +1 -1
  207. package/ebay-toast-dialog/index.js +1 -1
  208. package/ebay-toggle-button/index.js +1 -1
  209. package/ebay-toggle-button-group/index.js +1 -1
  210. package/ebay-tooltip/index.js +1 -1
  211. package/ebay-tourtip/ebay-tourtip.d.ts +1 -1
  212. package/ebay-tourtip/ebay-tourtip.d.ts.map +1 -1
  213. package/ebay-tourtip/index.js +1 -1
  214. package/ebay-tri-state-checkbox/index.js +1 -1
  215. package/ebay-tri-state-checkbox/tri-state-checkbox.d.ts.map +1 -1
  216. package/ebay-video/controls.d.ts.map +1 -1
  217. package/ebay-video/index.js +385 -1
  218. package/ebay-video/reportButton.d.ts.map +1 -1
  219. package/ebay-video/types.d.ts +1 -1
  220. package/ebay-video/types.d.ts.map +1 -1
  221. package/ebay-video/video.d.ts.map +1 -1
  222. package/events/index.js +1 -1
  223. package/forwardRef-BGhnwltg.js +1 -0
  224. package/hooks-BsnjMXtj.js +1 -0
  225. package/index-B9dsnEky.js +1 -0
  226. package/index-BL7hPwtY.js +21 -0
  227. package/index-Banoekuf.js +29 -0
  228. package/index-BeJlcxe3.js +1 -0
  229. package/index-BgDjcBrE.js +1 -0
  230. package/index-BsU6iXoe.js +1 -0
  231. package/index-D5FUVa4d.js +1 -0
  232. package/index-DmNrJCd8.js +5 -0
  233. package/index-Q8sL9uBq.js +1 -0
  234. package/index-plT9bPAi.js +1 -0
  235. package/label-ACiBnv5P.js +1 -0
  236. package/menu-item-BjtmFgwz.js +1 -0
  237. package/menu-nih_gX8y.js +1 -0
  238. package/notice-content-x5HJ49Mm.js +1 -0
  239. package/notice-cta-CFuZePI4.js +1 -0
  240. package/notice-footer-DAKaAyB_.js +1 -0
  241. package/package.json +22 -83
  242. package/random-id-5bEmzZsS.js +1 -0
  243. package/reduced-motion-CBVd9_aJ.js +1 -0
  244. package/tslib.es6-UTo0M824.js +1 -0
  245. package/use-tooltip-B1NgwD6z.js +1 -0
  246. package/utils/index.js +1 -1
  247. package/utils-D1rplbEN.js +1 -0
  248. package/badge-BWhBKWCu.js +0 -1
  249. package/button-C3RhAySI.js +0 -1
  250. package/calendar-D91b1JOr.js +0 -1
  251. package/checkbox-BziMKlXl.js +0 -1
  252. package/chip-CFq5Sx2d.js +0 -1
  253. package/combobox-BcAuEyib.js +0 -1
  254. package/dialog-previous-button-ns64Jg1v.js +0 -1
  255. package/dropdown-BLiIyhWy.js +0 -1
  256. package/ebay-details-Co3xp8NP.js +0 -1
  257. package/filter-menu-Drtczmts.js +0 -1
  258. package/forwardRef-DBQKIlPy.js +0 -1
  259. package/hooks-DqYMvHrS.js +0 -1
  260. package/icon-button-DPIjQGta.js +0 -1
  261. package/icon-hO_8pLp7.js +0 -1
  262. package/label-BRztS0pw.js +0 -1
  263. package/lightbox-dialog-2MA5lJCC.js +0 -1
  264. package/menu-Bn7XgUPD.js +0 -1
  265. package/menu-button-label-DYmCCAX3.js +0 -1
  266. package/menu-button-label-gQ_TH2Br.js +0 -1
  267. package/menu-item-Bh7_6CFn.js +0 -1
  268. package/notice-content-9iF4T8uB.js +0 -1
  269. package/notice-cta-CKl_qBge.js +0 -1
  270. package/notice-footer-G6VPjVZu.js +0 -1
  271. package/progress-spinner-CTs1iaUV.js +0 -1
  272. package/radio-D1pzF7Mn.js +0 -1
  273. package/random-id-DlJj_RWH.js +0 -1
  274. package/reduced-motion-CMIhlQVx.js +0 -1
  275. package/textbox-XeJt9mMq.js +0 -1
  276. package/toggle-button-CugK7Hwz.js +0 -1
  277. package/tri-state-checkbox-f-0yBnVG.js +0 -1
  278. package/tslib.es6-C4EgNkz1.js +0 -1
  279. package/use-roving-index-DoAVBgsp.js +0 -1
  280. package/use-tooltip-BTMlwcb6.js +0 -1
  281. package/utils-C9NL3q0j.js +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("../tslib.es6-C4EgNkz1.js"),e=require("react"),$=require("classnames"),E=require("../notice-content-C0ZStfuX.js"),A=require("../notice-content-9iF4T8uB.js"),b=require("../icon-hO_8pLp7.js"),F=require("../random-id-DlJj_RWH.js"),N=require("../notice-footer-G6VPjVZu.js"),j=require("../notice-cta-CKl_qBge.js"),v=n=>{var{status:t="general",children:i,className:s,"aria-label":o,"aria-roledescription":C="Notice",a11yDismissText:d,educationIcon:p,iconClass:S,prominent:f,onDismiss:g=()=>{}}=n,T=y.__rest(n,["status","children","className","aria-label","aria-roledescription","a11yDismissText","educationIcon","iconClass","prominent","onDismiss"]);const[q,I]=e.useState(!1),[m,D]=e.useState("");e.useEffect(()=>{D(F.randomId())},[]);const u=e.Children.toArray(i).find(({type:l})=>l===E.EbayNoticeContent),c=t!=="general"&&t!=="none",r=t==="education";let a=null;if(c&&(r?a=p||"lightbulb24":a=`${t}Filled16`),!u)throw new Error("EbaySectionNotice: Please use a EbayNoticeContent that defines the content of the notice");const _=l=>{I(!0),g(l)};return q?null:e.createElement("section",Object.assign({},T,{className:$(s,"section-notice",{[`section-notice--${t}`]:c,"section-notice--education":r&&f,"section-notice--large-icon":r}),role:"region","aria-label":c?null:o,"aria-labelledby":c?`section-notice-${t}-${m}`:null,"aria-roledescription":C}),a&&e.createElement("div",{className:"section-notice__header",id:`section-notice-${t}-${m}`},e.createElement(b.EbayIcon,{className:S,name:a,a11yText:o,a11yVariant:"label"})),e.createElement(A.NoticeContent,Object.assign({},u.props,{type:"section"})),i,d&&e.createElement(h,null,e.createElement("button",{"aria-label":d,className:"fake-link page-notice__dismiss",onClick:_},e.createElement(b.EbayIcon,{name:"close16"}))))},O=n=>{var{className:t,as:i,children:s}=n,o=y.__rest(n,["className","as","children"]);return e.createElement(N.NoticeTitle,Object.assign({},o,{className:t,as:i,type:"section"}),s)},h=({className:n,children:t})=>e.createElement(N.NoticeFooter,{className:n,type:"section"},t),k=({className:n,children:t})=>e.createElement(j.NoticeCTA,{className:n,type:"section"},t);exports.EbayNoticeContent=E.EbayNoticeContent;exports.EbaySectionNotice=v;exports.EbaySectionNoticeCTA=k;exports.EbaySectionNoticeFooter=h;exports.EbaySectionNoticeTitle=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../tslib.es6-UTo0M824.js"),t=require("../index-Banoekuf.js"),$=require("../index-DmNrJCd8.js"),E=require("../notice-content-C0ZStfuX.js"),D=require("../notice-content-x5HJ49Mm.js"),u=require("../index-plT9bPAi.js"),_=require("../random-id-5bEmzZsS.js"),F=require("../utils-D1rplbEN.js"),N=require("../notice-footer-DAKaAyB_.js"),j=require("../notice-cta-CFuZePI4.js"),v=n=>{var{status:e="general",children:i,className:s,"aria-label":c,"aria-roledescription":p="Notice",a11yDismissText:l,educationIcon:C,iconClass:S,prominent:h,onDismiss:R=()=>{}}=n,f=b.__rest(n,["status","children","className","aria-label","aria-roledescription","a11yDismissText","educationIcon","iconClass","prominent","onDismiss"]);const[g,q]=t.reactExports.useState(!1),[m,T]=t.reactExports.useState("");t.reactExports.useEffect(()=>{T(_.randomId())},[]);const d=F.findComponent(i,E.EbayNoticeContent),o=e!=="general"&&e!=="none",r=e==="education";let a=null;if(o&&(r?a=C||"lightbulb24":a=`${e}Filled16`),!d)throw new Error("EbaySectionNotice: Please use a EbayNoticeContent that defines the content of the notice");const I=x=>{q(!0),R(x)};return g?null:t.React.createElement("section",Object.assign({},f,{className:$.classNames(s,"section-notice",{[`section-notice--${e}`]:o,"section-notice--education":r&&h,"section-notice--large-icon":r}),"aria-label":o?null:c,"aria-labelledby":o?`section-notice-${e}-${m}`:null,"aria-roledescription":p}),a&&t.React.createElement("div",{className:"section-notice__header",id:`section-notice-${e}-${m}`},t.React.createElement(u.EbayIcon,{className:S,name:a,a11yText:c,a11yVariant:"label"})),t.React.createElement(D.NoticeContent,Object.assign({},d.props,{type:"section"})),i,l&&t.React.createElement(y,null,t.React.createElement("button",{"aria-label":l,className:"fake-link page-notice__dismiss",onClick:I},t.React.createElement(u.EbayIcon,{name:"close16"}))))},O=n=>{var{className:e,as:i,children:s}=n,c=b.__rest(n,["className","as","children"]);return t.React.createElement(N.NoticeTitle,Object.assign({},c,{className:e,as:i,type:"section"}),s)},y=({className:n,children:e})=>t.React.createElement(N.NoticeFooter,{className:n,type:"section"},e),k=({className:n,children:e})=>t.React.createElement(j.NoticeCTA,{className:n,type:"section"},e);exports.EbayNoticeContent=E.EbayNoticeContent;exports.EbaySectionNotice=v;exports.EbaySectionNoticeCTA=k;exports.EbaySectionNoticeFooter=y;exports.EbaySectionNoticeTitle=O;
@@ -1 +1 @@
1
- {"version":3,"file":"section-notice.d.ts","sourceRoot":"","sources":["../../src/ebay-section-notice/section-notice.tsx"],"names":[],"mappings":"AAAA,OAAc,EACV,cAAc,EACd,EAAE,EAEF,oBAAoB,EAEpB,iBAAiB,EAEpB,MAAM,OAAO,CAAA;AAId,OAAO,EAAY,IAAI,EAAE,MAAM,cAAc,CAAA;AAI7C,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,cAAc,GAAG,aAAa,GAAG,WAAW,CAAA;AACjH,MAAM,MAAM,KAAK,GAAG,cAAc,CAAC,SAAS,CAAC,GAAG;IAC5C,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IACrD,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAA;AAED,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,KAAK,CA2EhC,CAAA;AAED,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"section-notice.d.ts","sourceRoot":"","sources":["../../src/ebay-section-notice/section-notice.tsx"],"names":[],"mappings":"AAAA,OAAc,EACV,cAAc,EACd,EAAE,EACF,oBAAoB,EACpB,iBAAiB,EAEpB,MAAM,OAAO,CAAA;AAId,OAAO,EAAY,IAAI,EAAE,MAAM,cAAc,CAAA;AAK7C,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG,cAAc,GAAG,aAAa,GAAG,WAAW,CAAA;AACjH,MAAM,MAAM,KAAK,GAAG,cAAc,CAAC,SAAS,CAAC,GAAG;IAC5C,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,iBAAiB,GAAG,oBAAoB,CAAC;IACrD,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAA;AAED,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAyEhC,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../tslib.es6-C4EgNkz1.js"),c=require("react"),i=require("classnames"),r=require("../utils-C9NL3q0j.js"),E=e=>{var{ctaText:t,href:s,className:n}=e,l=a.__rest(e,["ctaText","href","className"]);return t?c.createElement("a",Object.assign({},l,{className:i("section-title__cta",n),href:s}),t):null},T=e=>{var{href:t,ctaText:s,className:n,children:l}=e,N=a.__rest(e,["href","ctaText","className","children"]);const b=i(n,"section-title"),_=r.findComponent(l,o),f=r.findComponent(l,m),h=r.findComponent(l,u),v=r.findComponent(l,d);return c.createElement("div",Object.assign({},N,{className:b}),c.createElement("div",{className:"section-title__title-container"},_||c.createElement(o,null,l),f),t&&c.createElement(E,{href:t,ctaText:s})||h||v)},o=e=>{var{children:t,className:s}=e,n=a.__rest(e,["children","className"]);return c.createElement("h2",Object.assign({},n,{className:i(s,"section-title__title")}),t)},m=e=>{var{children:t,className:s}=e,n=a.__rest(e,["children","className"]);return c.createElement("span",Object.assign({},n,{className:i(s,"section-title__subtitle")}),t)},u=e=>{var{className:t,children:s}=e,n=a.__rest(e,["className","children"]);return c.createElement("div",Object.assign({},n,{className:i(t,"section-title__info")}),s)},d=e=>{var{children:t,className:s}=e,n=a.__rest(e,["children","className"]);return c.createElement("div",Object.assign({},n,{className:i(s,"section-title__overflow")}),t)};exports.EbaySectionTitle=T;exports.EbaySectionTitleInfo=u;exports.EbaySectionTitleOverflow=d;exports.EbaySectionTitleSubtitle=m;exports.EbaySectionTitleTitle=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../tslib.es6-UTo0M824.js"),a=require("../index-Banoekuf.js"),i=require("../index-DmNrJCd8.js"),r=require("../utils-D1rplbEN.js"),E=e=>{var{ctaText:t,href:s,className:c}=e,n=l.__rest(e,["ctaText","href","className"]);return t?a.React.createElement("a",Object.assign({},n,{className:i.classNames("section-title__cta",c),href:s}),t):null},T=e=>{var{href:t,ctaText:s,className:c,children:n}=e,u=l.__rest(e,["href","ctaText","className","children"]);const b=i.classNames(c,"section-title"),_=r.findComponent(n,o),f=r.findComponent(n,m),h=r.findComponent(n,N),v=r.findComponent(n,d);return a.React.createElement("div",Object.assign({},u,{className:b}),a.React.createElement("div",{className:"section-title__title-container"},_||a.React.createElement(o,null,n),f),t&&a.React.createElement(E,{href:t,ctaText:s})||h||v)},o=e=>{var{children:t,className:s}=e,c=l.__rest(e,["children","className"]);return a.React.createElement("h2",Object.assign({},c,{className:i.classNames(s,"section-title__title")}),t)},m=e=>{var{children:t,className:s}=e,c=l.__rest(e,["children","className"]);return a.React.createElement("span",Object.assign({},c,{className:i.classNames(s,"section-title__subtitle")}),t)},N=e=>{var{className:t,children:s}=e,c=l.__rest(e,["className","children"]);return a.React.createElement("div",Object.assign({},c,{className:i.classNames(t,"section-title__info")}),s)},d=e=>{var{children:t,className:s}=e,c=l.__rest(e,["children","className"]);return a.React.createElement("div",Object.assign({},c,{className:i.classNames(s,"section-title__overflow")}),t)};exports.EbaySectionTitle=T;exports.EbaySectionTitleInfo=N;exports.EbaySectionTitleOverflow=d;exports.EbaySectionTitleSubtitle=m;exports.EbaySectionTitleTitle=o;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../tslib.es6-C4EgNkz1.js"),e=require("react"),E=require("classnames"),b=require("../utils-C9NL3q0j.js"),g=require("../icon-hO_8pLp7.js"),p=n=>{var{selected:l,children:s,className:u}=n,i=m.__rest(n,["selected","children","className"]);const a=b.findComponent(s,g.EbayIcon),o=()=>{const d=b.excludeComponent(s,g.EbayIcon);return e.createElement("span",{className:"segmented-buttons__button-cell"},a,e.createElement("span",null,d))};return e.createElement("li",null,e.createElement("button",Object.assign({className:E("segmented-buttons__button",u),"aria-current":l||void 0},i),a?o():s))},v=n=>{var{size:l,className:s,onChange:u=()=>{},children:i}=n,a=m.__rest(n,["size","className","onChange","children"]);const o=b.filterByType(i,p),[d,_]=e.useState(o.findIndex(t=>t.props.selected)||0),y=(t,c,r)=>{_(c),u(t,{index:c,value:r})};return e.createElement("div",Object.assign({className:E("segmented-buttons",l&&`segmented-buttons--${l}`,s)},a),e.createElement("ul",null,o.map((t,c)=>{const r=t.props,{value:h}=r,N=m.__rest(r,["value"]);return e.cloneElement(t,Object.assign(Object.assign({},N),{onClick:S=>y(S,c,h),selected:c===d}))})))};exports.EbaySegmentedButton=p;exports.EbaySegmentedButtons=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../tslib.es6-UTo0M824.js"),e=require("../index-Banoekuf.js"),E=require("../index-DmNrJCd8.js"),b=require("../utils-D1rplbEN.js"),g=require("../index-plT9bPAi.js"),p=n=>{var{selected:a,children:s,className:u}=n,i=m.__rest(n,["selected","children","className"]);const l=b.findComponent(s,g.EbayIcon),r=()=>{const d=b.excludeComponent(s,g.EbayIcon);return e.React.createElement("span",{className:"segmented-buttons__button-cell"},l,e.React.createElement("span",null,d))};return e.React.createElement("li",null,e.React.createElement("button",Object.assign({className:E.classNames("segmented-buttons__button",u),"aria-current":a||void 0},i),l?r():s))},S=n=>{var{size:a,className:s,onChange:u=()=>{},children:i}=n,l=m.__rest(n,["size","className","onChange","children"]);const r=b.filterByType(i,p),[d,y]=e.reactExports.useState(r.findIndex(t=>t.props.selected)||0),_=(t,c,o)=>{y(c),u(t,{index:c,value:o})};return e.React.createElement("div",Object.assign({className:E.classNames("segmented-buttons",a&&`segmented-buttons--${a}`,s)},l),e.React.createElement("ul",null,r.map((t,c)=>{const o=t.props,{value:x}=o,N=m.__rest(o,["value"]);return e.reactExports.cloneElement(t,Object.assign(Object.assign({},N),{onClick:h=>_(h,c,x),selected:c===d}))})))};exports.EbaySegmentedButton=p;exports.EbaySegmentedButtons=S;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("../tslib.es6-C4EgNkz1.js"),n=require("react"),R=require("classnames"),V=require("../icon-hO_8pLp7.js"),j=require("../forwardRef-DBQKIlPy.js"),k=require("../utils-C9NL3q0j.js"),x=require("../hooks-DqYMvHrS.js"),d=t=>{var{children:e}=t,l=w.__rest(t,["children"]);return n.createElement("option",Object.assign({},l),e)},S=t=>typeof t<"u",z=t=>{var{value:e,defaultValue:l,className:o,borderless:u,name:i,disabled:a,onChange:f=()=>{},onBlur:p=()=>{},onFocus:h=()=>{},floatingLabel:m,forwardedRef:b,children:r,inputSize:g,invalid:v}=t,s=w.__rest(t,["value","defaultValue","className","borderless","name","disabled","onChange","onBlur","onFocus","floatingLabel","forwardedRef","children","inputSize","invalid"]);const C=v||s["aria-invalid"]==="true",[N,O]=n.useState(l),E=x.useFloatingLabel({text:m,disabled:a,size:g,invalid:C}),F=c=>{const{value:y,selectedIndex:B}=c.target;S(e)||O(y),f(c,{index:B,selected:[y]})},G=c=>{p(c)},q=c=>{h(c)},L=R("select",o,{"select--borderless":u,"select--large":g==="large"});return n.createElement(E.Container,null,n.createElement(E.Label,{htmlFor:s.id}),n.createElement("span",{className:L},n.createElement("select",Object.assign({},s,{name:i,value:S(e)?e:N,disabled:a,onChange:F,onBlur:G,onFocus:q,ref:b}),_(r)),n.createElement(V.EbayIcon,{name:"chevronDown12",height:"8",width:"8"})))},I=j.withForwardRef(z);function T(t){const e={};return t.forEach(l=>{const o=l.props;o.optgroup&&(Object.prototype.hasOwnProperty.call(e,o.optgroup)||(e[o.optgroup]=[]),e[o.optgroup].push(o))}),e}function _(t){const e=[],l=[];let o={},u=!1;const i=k.filterByType(t,d).map(a=>n.cloneElement(a,{}));if(i){o=T(i);let a;return i.forEach((f,p)=>{const{value:h,optionClassName:m,children:b,optgroup:r}=f.props;if(u=r&&e.indexOf(r)===-1,u){a=r;const v=o[a].map(s=>n.createElement(d,{key:`opt-${s.value}`,value:s.value,className:s.optionClassName},s.children));l.push(n.createElement("optgroup",{key:p,label:r},v)),e.push(r)}else r||l.push(n.createElement(d,{key:p,value:h,className:m},b))}),l}}exports.EbaySelect=I;exports.EbaySelectOption=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("../tslib.es6-UTo0M824.js"),n=require("../index-Banoekuf.js"),L=require("../index-DmNrJCd8.js"),B=require("../index-plT9bPAi.js"),V=require("../forwardRef-BGhnwltg.js"),j=require("../utils-D1rplbEN.js"),k=require("../hooks-BsnjMXtj.js"),d=t=>{var{children:e}=t,o=N.__rest(t,["children"]);return n.React.createElement("option",Object.assign({},o),e)},R=t=>typeof t<"u",I=t=>{var{value:e,defaultValue:o,className:a,borderless:u,name:i,disabled:s,onChange:f=()=>{},onBlur:p=()=>{},onFocus:h=()=>{},floatingLabel:m,forwardedRef:b,children:l,inputSize:g,invalid:E}=t,r=N.__rest(t,["value","defaultValue","className","borderless","name","disabled","onChange","onBlur","onFocus","floatingLabel","forwardedRef","children","inputSize","invalid"]);const S=E||r["aria-invalid"]==="true",[w,C]=n.reactExports.useState(o),v=k.useFloatingLabel({text:m,disabled:s,size:g,invalid:S}),O=c=>{const{value:y,selectedIndex:q}=c.target;R(e)||C(y),f(c,{index:q,selected:[y]})},x=c=>{p(c)},F=c=>{h(c)},G=L.classNames("select",a,{"select--borderless":u,"select--large":g==="large"});return n.React.createElement(v.Container,null,n.React.createElement(v.Label,{htmlFor:r.id}),n.React.createElement("span",{className:G},n.React.createElement("select",Object.assign({},r,{name:i,value:R(e)?e:w,disabled:s,onChange:O,onBlur:x,onFocus:F,ref:b}),_(l)),n.React.createElement(B.EbayIcon,{name:"chevronDown12",height:"8",width:"8"})))},z=V.withForwardRef(I);function T(t){const e={};return t.forEach(o=>{const a=o.props;a.optgroup&&(Object.prototype.hasOwnProperty.call(e,a.optgroup)||(e[a.optgroup]=[]),e[a.optgroup].push(a))}),e}function _(t){const e=[],o=[];let a={},u=!1;const i=j.filterByType(t,d).map(s=>n.reactExports.cloneElement(s,{}));if(i){a=T(i);let s;return i.forEach((f,p)=>{const{value:h,className:m,children:b,optgroup:l}=f.props;if(u=l&&e.indexOf(l)===-1,u){s=l;const E=a[s].map(r=>n.React.createElement(d,{key:`opt-${r.value}`,value:r.value,className:r.className},r.children));o.push(n.React.createElement("optgroup",{key:p,label:l},E)),e.push(l)}else l||o.push(n.React.createElement(d,{key:p,value:h,className:m},b))}),o}}exports.EbaySelect=z;exports.EbaySelectOption=d;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../tslib.es6-C4EgNkz1.js"),n=require("react"),c=require("classnames"),l=e=>{var{status:t="neutral"}=e,s=r.__rest(e,["status"]);const a=c(`signal signal--${t}`,s.className);return n.createElement("span",Object.assign({},s,{className:a}))};exports.EbaySignal=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../tslib.es6-UTo0M824.js"),r=require("../index-Banoekuf.js"),i=require("../index-DmNrJCd8.js"),c=e=>{var{status:t="neutral"}=e,s=n.__rest(e,["status"]);const a=i.classNames(`signal signal--${t}`,s.className);return r.React.createElement("span",Object.assign({},s,{className:a}))};exports.EbaySignal=c;
@@ -1 +1 @@
1
- {"version":3,"file":"ebay-skeleton-avatar.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-avatar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAA;AAEhG,QAAA,MAAM,kBAAkB,8EAA6E,SAMpG,CAAA;AAED,eAAe,kBAAkB,CAAA"}
1
+ {"version":3,"file":"ebay-skeleton-avatar.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-avatar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAA;AAEhG,QAAA,MAAM,kBAAkB,GAAI,CAAC,SAAS,iBAAiB,GAAG,KAAK,EAAE,OAAO,uBAAuB,CAAC,CAAC,CAAC,KAAG,SAMpG,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ebay-skeleton-button.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,GAAG;IAC/F,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC5B,CAAA;AAED,QAAA,MAAM,kBAAkB,8EAA6E,SAYpG,CAAA;AACD,eAAe,kBAAkB,CAAA"}
1
+ {"version":3,"file":"ebay-skeleton-button.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,GAAG;IAC/F,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC5B,CAAA;AAED,QAAA,MAAM,kBAAkB,GAAI,CAAC,SAAS,iBAAiB,GAAG,KAAK,EAAE,OAAO,uBAAuB,CAAC,CAAC,CAAC,KAAG,SAYpG,CAAA;AACD,eAAe,kBAAkB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ebay-skeleton-image.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-image.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAA;AAE/F,QAAA,MAAM,iBAAiB,6EAA4E,SAQlG,CAAA;AAED,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"ebay-skeleton-image.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-image.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAA;AAE/F,QAAA,MAAM,iBAAiB,GAAI,CAAC,SAAS,iBAAiB,GAAG,KAAK,EAAE,OAAO,sBAAsB,CAAC,CAAC,CAAC,KAAG,SAQlG,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ebay-skeleton-text.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-text.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,GAAG;IAC7F,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAA;AAED,QAAA,MAAM,gBAAgB,4EAA2E,SAchG,CAAA;AAED,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"ebay-skeleton-text.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-text.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,GAAG;IAC7F,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAA;AAED,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,iBAAiB,GAAG,KAAK,EAAE,OAAO,qBAAqB,CAAC,CAAC,CAAC,KAAG,SAchG,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ebay-skeleton-textbox.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-textbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,wBAAwB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAA;AAEjG,QAAA,MAAM,mBAAmB,+EAA8E,SAStG,CAAA;AAED,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"ebay-skeleton-textbox.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-textbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEvE,MAAM,MAAM,wBAAwB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAA;AAEjG,QAAA,MAAM,mBAAmB,GAAI,CAAC,SAAS,iBAAiB,GAAG,KAAK,EAAE,OAAO,wBAAwB,CAAC,CAAC,CAAC,KAAG,SAStG,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../tslib.es6-C4EgNkz1.js"),l=require("react"),o=require("classnames"),m=e=>{var{children:s,className:a,color:t}=e,c=n.__rest(e,["children","className","color"]);return l.createElement("div",Object.assign({role:"img",className:o("skeleton",t&&`skeleton--${t}`,a)},c),s)},i=e=>{const{as:s="div",className:a}=e,t=n.__rest(e,["as","className"]);return l.createElement(s,Object.assign({className:o("skeleton__avatar",a)},t))},_=e=>{const{as:s="div",className:a,size:t}=e,c=n.__rest(e,["as","className","size"]);return l.createElement(s,Object.assign({className:o("skeleton__button",t&&`skeleton__button--${t}`,a)},c))},b=e=>{const{as:s="div",className:a}=e,t=n.__rest(e,["as","className"]);return l.createElement(s,Object.assign({className:o("skeleton__image",a)},t))},k=e=>{const{as:s="div",className:a,size:t,multiline:c}=e,r=n.__rest(e,["as","className","size","multiline"]);return l.createElement(s,Object.assign({className:o("skeleton__text",c&&"skeleton__text--multiline",t==="large"&&"skeleton__text--large",a)},r))},u=e=>{const{as:s="div",className:a}=e,t=n.__rest(e,["as","className"]);return l.createElement(s,Object.assign({className:o("skeleton__textbox",a)},t))};exports.EbaySkeleton=m;exports.EbaySkeletonAvatar=i;exports.EbaySkeletonButton=_;exports.EbaySkeletonImage=b;exports.EbaySkeletonText=k;exports.EbaySkeletonTextbox=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../tslib.es6-UTo0M824.js"),l=require("../index-Banoekuf.js"),c=require("../index-DmNrJCd8.js"),m=e=>{var{children:s,className:a,color:t}=e,o=n.__rest(e,["children","className","color"]);return l.React.createElement("div",Object.assign({role:"img",className:c.classNames("skeleton",t&&`skeleton--${t}`,a)},o),s)},i=e=>{const{as:s="div",className:a}=e,t=n.__rest(e,["as","className"]);return l.React.createElement(s,Object.assign({className:c.classNames("skeleton__avatar",a)},t))},_=e=>{const{as:s="div",className:a,size:t}=e,o=n.__rest(e,["as","className","size"]);return l.React.createElement(s,Object.assign({className:c.classNames("skeleton__button",t&&`skeleton__button--${t}`,a)},o))},b=e=>{const{as:s="div",className:a}=e,t=n.__rest(e,["as","className"]);return l.React.createElement(s,Object.assign({className:c.classNames("skeleton__image",a)},t))},N=e=>{const{as:s="div",className:a,size:t,multiline:o}=e,r=n.__rest(e,["as","className","size","multiline"]);return l.React.createElement(s,Object.assign({className:c.classNames("skeleton__text",o&&"skeleton__text--multiline",t==="large"&&"skeleton__text--large",a)},r))},k=e=>{const{as:s="div",className:a}=e,t=n.__rest(e,["as","className"]);return l.React.createElement(s,Object.assign({className:c.classNames("skeleton__textbox",a)},t))};exports.EbaySkeleton=m;exports.EbaySkeletonAvatar=i;exports.EbaySkeletonButton=_;exports.EbaySkeletonImage=b;exports.EbaySkeletonText=N;exports.EbaySkeletonTextbox=k;
@@ -1,3 +1,4 @@
1
+ import { JSX } from 'react';
1
2
  export type SupportedElements = 'div' | 'span';
2
3
  export type BaseSkeletonComponentProps<T extends SupportedElements = 'div'> = {
3
4
  as?: T;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,MAAM,CAAA;AAE9C,MAAM,MAAM,0BAA0B,CAAC,CAAC,SAAS,iBAAiB,GAAG,KAAK,IAAI;IAC1E,EAAE,CAAC,EAAE,CAAC,CAAC;CACV,GAAG,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,MAAM,CAAA;AAE9C,MAAM,MAAM,0BAA0B,CAAC,CAAC,SAAS,iBAAiB,GAAG,KAAK,IAAI;IAC1E,EAAE,CAAC,EAAE,CAAC,CAAC;CACV,GAAG,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import { ComponentProps, ReactElement } from 'react';
2
- export declare const EbaySnackbarDialogAction: ({ className, children, ...rest }: ComponentProps<'button'>) => ReactElement;
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,qCAIlC,eAAe,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,CAAA;AAE3D,eAAO,MAAM,wBAAwB,GAAI,kCAItC,cAAc,CAAC,QAAQ,CAAC,KAAG,YAI7B,CAAA"}
@@ -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;AAGhG,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,8EAS5B,uBAAuB,KAAG,YA4G5B,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,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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../tslib.es6-C4EgNkz1.js"),k=require("classnames"),e=require("react"),h=require("../dialog-previous-button-ns64Jg1v.js");require("../icon-button-DPIjQGta.js");const f=o=>{var{className:c,children:r}=o,i=p.__rest(o,["className","children"]);return e.createElement("button",Object.assign({className:k(c,"fake-link")},i),r)},R=6e3,B=o=>{var{className:c,onOpen:r=()=>{},onClose:i=()=>{},layout:C,open:u,children:D,onAction:d}=o,S=p.__rest(o,["className","onOpen","onClose","layout","open","children","onAction"]);const t=e.useRef(new Set),g=e.useRef(),[A,v]=e.useState(u),y=e.Children.toArray(D),s=y.find(n=>n.type===f),T=y.filter(n=>n.type!==f),a=()=>{clearTimeout(g.current)},b=()=>{v(!1),i()},m=()=>{t.current.size===0&&(a(),g.current=setTimeout(()=>{b()},R))},_=()=>{v(!0),r(),m()},N=()=>{a(),t.current.add("focus")},O=()=>{t.current.delete("focus"),m()},q=()=>{a(),t.current.add("mouseEnter")},M=()=>{t.current.delete("mouseEnter"),m()},w=n=>{var l,E;a(),d==null||d(n),(E=(l=s==null?void 0:s.props)===null||l===void 0?void 0:l.onClick)===null||E===void 0||E.call(l,n),b()};return e.useEffect(()=>()=>{a()},[]),e.useEffect(()=>{u?_():b()},[u]),e.createElement(h.DialogBaseWithState,Object.assign({},S,{open:A,isModal:!1,baseEl:"aside",classPrefix:"snackbar-dialog",transitionElement:"root",a11yCloseText:"",buttonPosition:"hidden",className:k(c,"snackbar-dialog--transition"),windowClass:C==="column"&&"snackbar-dialog__window--column",onFocus:N,onBlur:O,onMouseEnter:q,onMouseLeave:M}),T,s?e.createElement(h.EbayDialogActions,null,e.cloneElement(s,{onClick:w})):null)};exports.EbaySnackbarDialog=B;exports.EbaySnackbarDialogAction=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("../tslib.es6-UTo0M824.js"),C=require("../index-DmNrJCd8.js"),e=require("../index-Banoekuf.js"),h=require("../ebay-dialog-base/index.js");require("../ebay-icon-button/index.js");const k=require("../utils-D1rplbEN.js"),b=n=>{var{className:c,children:l}=n,r=y.__rest(n,["className","children"]);return e.React.createElement("button",Object.assign({className:C.classNames(c,"fake-link")},r),l)},M=6e3,w=n=>{var{className:c,onOpen:l=()=>{},onClose:r=()=>{},layout:D,open:i,children:p,onAction:u}=n,x=y.__rest(n,["className","onOpen","onClose","layout","open","children","onAction"]);const o=e.reactExports.useRef(new Set),f=e.reactExports.useRef(null),[S,g]=e.reactExports.useState(i),t=k.findComponent(p,b),N=k.excludeComponent(p,b),s=()=>{clearTimeout(f.current)},d=()=>{g(!1),r()},E=()=>{o.current.size===0&&(s(),f.current=setTimeout(()=>{d()},M))},T=()=>{g(!0),l(),E()},_=()=>{s(),o.current.add("focus")},q=()=>{o.current.delete("focus"),E()},O=()=>{s(),o.current.add("mouseEnter")},R=()=>{o.current.delete("mouseEnter"),E()},A=v=>{var a,m;s(),u==null||u(v),(m=(a=t==null?void 0:t.props)===null||a===void 0?void 0:a.onClick)===null||m===void 0||m.call(a,v),d()};return e.reactExports.useEffect(()=>()=>{s()},[]),e.reactExports.useEffect(()=>{i?T():d()},[i]),e.React.createElement(h.DialogBaseWithState,Object.assign({},x,{open:S,isModal:!1,baseEl:"aside",classPrefix:"snackbar-dialog",transitionElement:"root",a11yCloseText:"",buttonPosition:"hidden",className:C.classNames(c,"snackbar-dialog--transition"),windowClass:D==="column"&&"snackbar-dialog__window--column",onFocus:_,onBlur:q,onMouseEnter:O,onMouseLeave:R}),N,t?e.React.createElement(h.EbayDialogActions,null,e.React.cloneElement(t,{onClick:A})):null)};exports.EbaySnackbarDialog=w;exports.EbaySnackbarDialogAction=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../tslib.es6-C4EgNkz1.js"),n=require("react"),s=require("../utils-C9NL3q0j.js"),g=require("../button-C3RhAySI.js"),i=require("../menu-button-label-gQ_TH2Br.js"),x=require("../menu-Bn7XgUPD.js");require("classnames");const q=a=>{var{a11yMenuText:u,children:o,type:l,bodyState:t,a11yButtonLoadingText:y,onCollapse:c,onExpand:p,onSelect:b=()=>{},onChange:d=()=>{},ref:T}=a,e=S.__rest(a,["a11yMenuText","children","type","bodyState","a11yButtonLoadingText","onCollapse","onExpand","onSelect","onChange","ref"]);const r=[x.EbayMenuItem,i.EbayMenuButtonSeparator],m=s.filterBy(o,B=>!r.includes(B.type)),E=s.filterByType(o,r);return n.createElement("span",{className:"split-button"},n.createElement(g.EbayButton,Object.assign({"aria-label":t==="loading"?y:void 0},e,{split:"start",bodyState:t==="expand"?void 0:t}),m),n.createElement(i.EbayMenuButton,{priority:e.priority,disabled:e.disabled,transparent:e.transparent,size:e.size,type:l,split:"end",reverse:!0,a11yText:u,onCollapse:c,onExpand:p,onSelect:b,onChange:d},E))};exports.EbaySplitButton=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../tslib.es6-UTo0M824.js"),n=require("../index-Banoekuf.js"),i=require("../utils-D1rplbEN.js"),x=require("../ebay-button/index.js"),s=require("../ebay-menu-button/index.js"),g=require("../menu-nih_gX8y.js");require("../index-DmNrJCd8.js");const q=a=>{var{a11yMenuText:u,children:o,type:l,bodyState:t,a11yButtonLoadingText:y,onCollapse:c,onExpand:d,onSelect:p=()=>{},onChange:b=()=>{}}=a,e=S.__rest(a,["a11yMenuText","children","type","bodyState","a11yButtonLoadingText","onCollapse","onExpand","onSelect","onChange"]);const r=[g.EbayMenuItem,s.EbayMenuButtonSeparator],m=i.filterBy(o,E=>!r.includes(E.type)),B=i.filterByType(o,r);return n.React.createElement("span",{className:"split-button"},n.React.createElement(x.EbayButton,Object.assign({"aria-label":t==="loading"?y:void 0},e,{ref:void 0,split:"start",bodyState:t==="expand"?void 0:t}),m),n.React.createElement(s.EbayMenuButton,{priority:e.priority,disabled:e.disabled,transparent:e.transparent,size:e.size,type:l,split:"end",reverse:!0,a11yText:u,onCollapse:c,onExpand:d,onSelect:p,onChange:b},B))};exports.EbaySplitButton=q;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../tslib.es6-C4EgNkz1.js"),a=require("react"),l=require("classnames"),o=require("../icon-hO_8pLp7.js"),m=require("../range-DOsPN0h5.js"),u=m.range(1,5),g=e=>{var{value:t,a11yText:r,className:s}=e,n=i.__rest(e,["value","a11yText","className"]);return a.createElement("div",Object.assign({role:"img","aria-label":r,className:l("star-rating",s),"data-stars":t},n),u.map(c=>a.createElement(o.EbayIcon,{key:c,className:"star-rating__icon",name:"starDynamic"})))};exports.EbayStarRating=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../tslib.es6-UTo0M824.js"),a=require("../index-Banoekuf.js"),l=require("../index-DmNrJCd8.js"),o=require("../index-plT9bPAi.js"),m=require("../range-DOsPN0h5.js"),u=m.range(1,5),g=e=>{var{value:t,a11yText:r,className:s}=e,n=i.__rest(e,["value","a11yText","className"]);return a.React.createElement("div",Object.assign({role:"img","aria-label":r,className:l.classNames("star-rating",s),"data-stars":t},n),u.map(c=>a.React.createElement(o.EbayIcon,{key:c,className:"star-rating__icon",name:"starDynamic"})))};exports.EbayStarRating=g;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("../tslib.es6-C4EgNkz1.js"),t=require("react"),d=require("classnames"),k=require("../icon-hO_8pLp7.js"),q=require("../range-DOsPN0h5.js"),C=require("../random-id-DlJj_RWH.js"),D=q.range(1,5),s=r=>{let a=parseInt(r,0)||0;return a>5&&(a=0),a},I=r=>{var{value:a=0,a11yText:i,className:m,a11yStarText:l=[],disabled:c,onChange:g=()=>{},onFocus:y=()=>{},onKeyDown:v=()=>{},name:_}=r,b=h.__rest(r,["value","a11yText","className","a11yStarText","disabled","onChange","onFocus","onKeyDown","name"]);const f=C.useRandomId(),p=_||`star-rating-${f}`,[u,o]=t.useState(s(a));t.useEffect(()=>{o(s(a))},[a]);const E=e=>n=>{c||(o(s(e)),v(n,{value:e}))},N=e=>n=>{c||(o(s(e)),g(n,{value:e}))},S=e=>n=>{c||(o(s(e)),y(n,{value:e}))};return t.createElement("div",Object.assign({role:i&&"radiogroup","aria-label":i,className:d("star-rating-select",m)},b),D.map(e=>t.createElement("span",{className:"star-rating-select__radio",key:e},t.createElement("input",{"aria-label":l==null?void 0:l[e-1],className:d("star-rating-select__control",{"star-rating-select__control--filled":e<=u}),type:"radio",name:p,value:e,disabled:c,defaultChecked:u===e,onClick:N(e),onFocus:S(e),onKeyDown:E(e)}),t.createElement("span",{className:"star-rating-select__radio-icon"},t.createElement(k.EbayIcon,{className:"star-rating__icon",name:"starDynamic"})))))};exports.EbayStarRatingSelect=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("../tslib.es6-UTo0M824.js"),t=require("../index-Banoekuf.js"),d=require("../index-DmNrJCd8.js"),x=require("../index-plT9bPAi.js"),R=require("../range-DOsPN0h5.js"),k=require("../random-id-5bEmzZsS.js"),q=R.range(1,5),s=r=>{let a=parseInt(r,0)||0;return a>5&&(a=0),a},C=r=>{var{value:a=0,a11yText:i,className:m,a11yStarText:l=[],disabled:c,onChange:g=()=>{},onFocus:y=()=>{},onKeyDown:b=()=>{},name:v}=r,_=h.__rest(r,["value","a11yText","className","a11yStarText","disabled","onChange","onFocus","onKeyDown","name"]);const p=k.useRandomId(),E=v||`star-rating-${p}`,[u,o]=t.reactExports.useState(s(a));t.reactExports.useEffect(()=>{o(s(a))},[a]);const N=e=>n=>{c||(o(s(e)),b(n,{value:e}))},f=e=>n=>{c||(o(s(e)),g(n,{value:e}))},S=e=>n=>{c||(o(s(e)),y(n,{value:e}))};return t.React.createElement("div",Object.assign({role:i&&"radiogroup","aria-label":i,className:d.classNames("star-rating-select",m)},_),q.map(e=>t.React.createElement("span",{className:"star-rating-select__radio",key:e},t.React.createElement("input",{"aria-label":l==null?void 0:l[e-1],className:d.classNames("star-rating-select__control",{"star-rating-select__control--filled":e<=u}),type:"radio",name:E,value:e,disabled:c,defaultChecked:u===e,onClick:f(e),onFocus:S(e),onKeyDown:N(e)}),t.React.createElement("span",{className:"star-rating-select__radio-icon"},t.React.createElement(x.EbayIcon,{className:"star-rating__icon",name:"starDynamic"})))))};exports.EbayStarRatingSelect=C;