@ebay/ui-core-react 8.17.3 → 9.0.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 (97) hide show
  1. package/calendar-AZtX7m2i.js +1 -0
  2. package/ebay-avatar/avatar-image.d.ts +1 -1
  3. package/ebay-avatar/avatar-image.d.ts.map +1 -1
  4. package/ebay-avatar/index.js +1 -1
  5. package/ebay-calendar/calendar.d.ts.map +1 -1
  6. package/ebay-calendar/index.js +1 -1
  7. package/ebay-date-textbox/index.js +1 -1
  8. package/ebay-fake-tabs/README.md +1 -0
  9. package/ebay-fake-tabs/fake-tabs.d.ts +2 -0
  10. package/ebay-fake-tabs/fake-tabs.d.ts.map +1 -1
  11. package/ebay-fake-tabs/index.js +1 -1
  12. package/ebay-fake-tabs/tab.d.ts +1 -1
  13. package/ebay-fake-tabs/tab.d.ts.map +1 -1
  14. package/ebay-filter-input/README.md +21 -21
  15. package/ebay-filter-input/index.d.ts +1 -1
  16. package/ebay-filter-input/index.d.ts.map +1 -1
  17. package/ebay-icon/icons/ebay-icon-arrow-down-12.d.ts +3 -0
  18. package/ebay-icon/icons/ebay-icon-arrow-down-12.d.ts.map +1 -0
  19. package/ebay-icon/icons/ebay-icon-arrow-down-16.d.ts +3 -0
  20. package/ebay-icon/icons/ebay-icon-arrow-down-16.d.ts.map +1 -0
  21. package/ebay-icon/icons/ebay-icon-arrow-down-20.d.ts +3 -0
  22. package/ebay-icon/icons/ebay-icon-arrow-down-20.d.ts.map +1 -0
  23. package/ebay-icon/icons/ebay-icon-arrow-down-24.d.ts +3 -0
  24. package/ebay-icon/icons/ebay-icon-arrow-down-24.d.ts.map +1 -0
  25. package/ebay-icon/icons/ebay-icon-arrow-up-12.d.ts +3 -0
  26. package/ebay-icon/icons/ebay-icon-arrow-up-12.d.ts.map +1 -0
  27. package/ebay-icon/icons/ebay-icon-arrow-up-16.d.ts +3 -0
  28. package/ebay-icon/icons/ebay-icon-arrow-up-16.d.ts.map +1 -0
  29. package/ebay-icon/icons/ebay-icon-arrow-up-20.d.ts +3 -0
  30. package/ebay-icon/icons/ebay-icon-arrow-up-20.d.ts.map +1 -0
  31. package/ebay-icon/icons/ebay-icon-arrow-up-24.d.ts +3 -0
  32. package/ebay-icon/icons/ebay-icon-arrow-up-24.d.ts.map +1 -0
  33. package/ebay-icon/icons/ebay-icon-desktop-16.d.ts +3 -0
  34. package/ebay-icon/icons/ebay-icon-desktop-16.d.ts.map +1 -0
  35. package/ebay-icon/icons/ebay-icon-desktop-20.d.ts +3 -0
  36. package/ebay-icon/icons/ebay-icon-desktop-20.d.ts.map +1 -0
  37. package/ebay-icon/icons/ebay-icon-desktop-24.d.ts +3 -0
  38. package/ebay-icon/icons/ebay-icon-desktop-24.d.ts.map +1 -0
  39. package/ebay-icon/icons/ebay-icon-lightning-bolt-filled-12.d.ts +3 -0
  40. package/ebay-icon/icons/ebay-icon-lightning-bolt-filled-12.d.ts.map +1 -0
  41. package/ebay-icon/icons/ebay-icon-lightning-bolt-filled-16.d.ts +3 -0
  42. package/ebay-icon/icons/ebay-icon-lightning-bolt-filled-16.d.ts.map +1 -0
  43. package/ebay-icon/icons/ebay-icon-lightning-bolt-filled-24.d.ts +3 -0
  44. package/ebay-icon/icons/ebay-icon-lightning-bolt-filled-24.d.ts.map +1 -0
  45. package/ebay-icon/icons/ebay-icon-mobile-16.d.ts +3 -0
  46. package/ebay-icon/icons/ebay-icon-mobile-16.d.ts.map +1 -0
  47. package/ebay-icon/icons/ebay-icon-mobile-20.d.ts +3 -0
  48. package/ebay-icon/icons/ebay-icon-mobile-20.d.ts.map +1 -0
  49. package/ebay-icon/icons/ebay-icon-pin-16.d.ts +3 -0
  50. package/ebay-icon/icons/ebay-icon-pin-16.d.ts.map +1 -0
  51. package/ebay-icon/icons/ebay-icon-pin-filled-16.d.ts +3 -0
  52. package/ebay-icon/icons/ebay-icon-pin-filled-16.d.ts.map +1 -0
  53. package/ebay-icon/icons/ebay-icon-tablet-16.d.ts +3 -0
  54. package/ebay-icon/icons/ebay-icon-tablet-16.d.ts.map +1 -0
  55. package/ebay-icon/icons/ebay-icon-tablet-20.d.ts +3 -0
  56. package/ebay-icon/icons/ebay-icon-tablet-20.d.ts.map +1 -0
  57. package/ebay-icon/icons/ebay-icon-tablet-24.d.ts +3 -0
  58. package/ebay-icon/icons/ebay-icon-tablet-24.d.ts.map +1 -0
  59. package/ebay-icon/types.d.ts +1 -1
  60. package/ebay-icon/types.d.ts.map +1 -1
  61. package/ebay-number-input/index.js +1 -1
  62. package/ebay-number-input/number-input.d.ts.map +1 -1
  63. package/ebay-number-input/types.d.ts +3 -2
  64. package/ebay-number-input/types.d.ts.map +1 -1
  65. package/ebay-pagination/index.js +1 -1
  66. package/ebay-pagination/pagination.d.ts.map +1 -1
  67. package/ebay-svg/index.js +1 -1
  68. package/ebay-svg/symbols.d.ts.map +1 -1
  69. package/ebay-tabs/index.js +1 -1
  70. package/ebay-tabs/tab.d.ts +1 -0
  71. package/ebay-tabs/tab.d.ts.map +1 -1
  72. package/ebay-tabs/tabs.d.ts.map +1 -1
  73. package/icons/ebay-icon-arrow-down-12/index.js +1 -0
  74. package/icons/ebay-icon-arrow-down-16/index.js +1 -0
  75. package/icons/ebay-icon-arrow-down-20/index.js +1 -0
  76. package/icons/ebay-icon-arrow-down-24/index.js +1 -0
  77. package/icons/ebay-icon-arrow-up-12/index.js +1 -0
  78. package/icons/ebay-icon-arrow-up-16/index.js +1 -0
  79. package/icons/ebay-icon-arrow-up-20/index.js +1 -0
  80. package/icons/ebay-icon-arrow-up-24/index.js +1 -0
  81. package/icons/ebay-icon-desktop-16/index.js +1 -0
  82. package/icons/ebay-icon-desktop-20/index.js +1 -0
  83. package/icons/ebay-icon-desktop-24/index.js +1 -0
  84. package/icons/ebay-icon-lightning-bolt-filled-12/index.js +1 -0
  85. package/icons/ebay-icon-lightning-bolt-filled-16/index.js +1 -0
  86. package/icons/ebay-icon-lightning-bolt-filled-24/index.js +1 -0
  87. package/icons/ebay-icon-mobile-16/index.js +1 -0
  88. package/icons/ebay-icon-mobile-20/index.js +1 -0
  89. package/icons/ebay-icon-mobile-24/index.js +1 -1
  90. package/icons/ebay-icon-mobile-signal-24/index.js +1 -1
  91. package/icons/ebay-icon-pin-16/index.js +1 -0
  92. package/icons/ebay-icon-pin-filled-16/index.js +1 -0
  93. package/icons/ebay-icon-tablet-16/index.js +1 -0
  94. package/icons/ebay-icon-tablet-20/index.js +1 -0
  95. package/icons/ebay-icon-tablet-24/index.js +1 -0
  96. package/package.json +10 -7
  97. package/calendar-B6lRC_bC.js +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"symbols.d.ts","sourceRoot":"","sources":["../../src/ebay-svg/symbols.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,OAAO,qBA4+BnB,CAAA"}
1
+ {"version":3,"file":"symbols.d.ts","sourceRoot":"","sources":["../../src/ebay-svg/symbols.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,OAAO,qBAigCnB,CAAA"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),f=require("classnames"),E=require("../index-Bsb1LHpi.js"),I=require("../utils-C9NL3q0j.js"),h=require("../tslib.es6-C4EgNkz1.js"),_=n=>{var{children:o,index:s,parentId:r,selected:d,focused:i,className:c,refCallback:u}=n,b=h.__rest(n,["children","index","parentId","selected","focused","className","refCallback"]);return a.createElement("div",Object.assign({},b,{ref:u,"aria-controls":`${r||"default"}-tabpanel-${s}`,"aria-selected":d,className:f(c,"tabs__item"),id:`${r||"default"}-tab-${s}`,role:"tab",tabIndex:i?0:-1}),a.createElement("span",null,o))},N=n=>{var{children:o,index:s,parentId:r,selected:d,className:i}=n,c=h.__rest(n,["children","index","parentId","selected","className"]);return a.createElement("div",Object.assign({},c,{"aria-labelledby":`default-tab-${s}`,className:f(i,"tabs__panel"),id:`${r||"default"}-tabpanel-${s}`,role:"tabpanel",hidden:!d}),a.createElement("div",{className:"tabs__cell"},o))},q=({id:n,className:o,selectedIndex:s=0,size:r="medium",activation:d="auto",onSelect:i=()=>{},children:c})=>{const u=[],[b,v]=a.useState(s),[p,x]=a.useState(s),m=e=>{i({selectedIndex:e}),v(e)},T=(e,t)=>{E.handleActionKeydown(e,()=>{e.preventDefault(),d==="manual"&&m(t)}),E.handleLeftRightArrowsKeydown(e,()=>{var l;e.preventDefault();const g=I.filterByType(c,_).length,k=["Left","ArrowLeft"].includes(e.key)?-1:1,y=((p===void 0?b:p)+g+k)%g;x(y),(l=u[y])===null||l===void 0||l.focus(),d!=="manual"&&m(y)})};a.useEffect(()=>{m(s)},[s]);const w=r==="large",S=I.filterByType(c,_).map((e,t)=>a.cloneElement(e,Object.assign(Object.assign({},e.props),{refCallback:l=>{u[t]=l},index:t,parentId:n,selected:b===t,focused:p===t,onClick:()=>{m(t),x(t)},onKeyDown:l=>{T(l,t)}}))),j=I.filterByType(c,N).map((e,t)=>{const l={index:t,parentId:n,selected:b===t,children:e.props.children};return a.cloneElement(e,l)});return a.createElement("div",{id:n,className:f(o,"tabs")},a.createElement("div",{className:f("tabs__items",{"tabs__items--large":w}),role:"tablist"},S),a.createElement("div",{className:"tabs__content"},j))};exports.EbayTab=_;exports.EbayTabPanel=N;exports.EbayTabs=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),y=require("classnames"),v=require("../index-Bsb1LHpi.js"),x=require("../utils-C9NL3q0j.js"),T=require("../tslib.es6-C4EgNkz1.js"),_=n=>{var{children:i,index:s,parentId:d,selected:o,disabled:b,focused:r,className:u,refCallback:f}=n,I=T.__rest(n,["children","index","parentId","selected","disabled","focused","className","refCallback"]);return a.createElement("div",Object.assign({},I,{ref:f,"aria-controls":`${d||"default"}-tabpanel-${s}`,"aria-selected":o,"aria-disabled":b,className:y(u,"tabs__item"),id:`${d||"default"}-tab-${s}`,role:"tab",tabIndex:r?0:-1}),a.createElement("span",null,i))},w=n=>{var{children:i,index:s,parentId:d,selected:o,className:b}=n,r=T.__rest(n,["children","index","parentId","selected","className"]);return a.createElement("div",Object.assign({},r,{"aria-labelledby":`default-tab-${s}`,className:y(b,"tabs__panel"),id:`${d||"default"}-tabpanel-${s}`,role:"tabpanel",hidden:!o}),a.createElement("div",{className:"tabs__cell"},i))},O=({id:n,className:i,selectedIndex:s=0,size:d="medium",activation:o="auto",onSelect:b=()=>{},children:r})=>{const u=[],[f,I]=a.useState(s),[g,E]=a.useState(s),m=e=>{b({selectedIndex:e}),I(e)},k=(e,t)=>{v.handleActionKeydown(e,()=>{e.preventDefault(),o==="manual"&&m(t)}),v.handleLeftRightArrowsKeydown(e,()=>{var l;e.preventDefault();const p=x.filterByType(r,_).length,h=["Left","ArrowLeft"].includes(e.key)?-1:1,N=g===void 0?f:g;let c=(N+p+h)%p;for(;!(u[c].getAttribute("aria-disabled")!=="true"||c===N);)c=(c+p+h)%p;E(c),(l=u[c])===null||l===void 0||l.focus(),o!=="manual"&&m(c)})};a.useEffect(()=>{m(s)},[s]);const S=d==="large",j=x.filterByType(r,_).map((e,t)=>a.cloneElement(e,Object.assign(Object.assign({},e.props),{refCallback:l=>{u[t]=l},index:t,parentId:n,selected:f===t,focused:g===t,onClick:()=>{e.props.disabled||(m(t),E(t))},onKeyDown:l=>{k(l,t)}}))),q=x.filterByType(r,w).map((e,t)=>{const l={index:t,parentId:n,selected:f===t,children:e.props.children};return a.cloneElement(e,l)});return a.createElement("div",{id:n,className:y(i,"tabs",{"tabs--large":S})},a.createElement("div",{className:y("tabs__items"),role:"tablist"},j),a.createElement("div",{className:"tabs__content"},q))};exports.EbayTab=_;exports.EbayTabPanel=w;exports.EbayTabs=O;
@@ -3,6 +3,7 @@ type TabProps = ComponentProps<"div"> & {
3
3
  index?: number;
4
4
  parentId?: string;
5
5
  selected?: boolean;
6
+ disabled?: boolean;
6
7
  focused?: boolean;
7
8
  refCallback?: RefCallback<HTMLElement>;
8
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../src/ebay-tabs/tab.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAG/D,KAAK,QAAQ,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CAC1C,CAAC;AAEF,QAAA,MAAM,GAAG,EAAE,EAAE,CAAC,QAAQ,CAarB,CAAC;AAEF,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../src/ebay-tabs/tab.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAG/D,KAAK,QAAQ,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CAC1C,CAAC;AAEF,QAAA,MAAM,GAAG,EAAE,EAAE,CAAC,QAAQ,CAwBrB,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../src/ebay-tabs/tabs.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,EAAE,EAAsC,MAAM,OAAO,CAAC;AAOpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CA6FvB,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../src/ebay-tabs/tabs.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,EAAE,EAAsC,MAAM,OAAO,CAAC;AAOpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAsGvB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),n=require("../../icon-I30uh1Ov.js"),r='<symbol viewBox="0 0 12 12" id="icon-arrow-down-12"><path d="m5.477 10.79-4.27-4.288A.717.717 0 0 1 1.21 5.49a.71.71 0 0 1 1.007.003l3.054 3.073V1.715a.713.713 0 1 1 1.423 0v6.852l3.054-3.073a.71.71 0 0 1 1.232.298.716.716 0 0 1-.229.71l-4.27 4.287a.71.71 0 0 1-1.004 0Z"/></symbol>',a=o=>e.createElement(n.EbayIcon,Object.assign({},o,{name:"arrowDown12",__type:"icon",__symbol:r}));exports.EbayIconArrowDown12=a;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),n=require("../../icon-I30uh1Ov.js"),r='<symbol viewBox="0 0 16 16" id="icon-arrow-down-16"><path d="M7.028 2v9.59l-4.307-4.3a1.011 1.011 0 0 0-1.426 0 1.001 1.001 0 0 0 0 1.42l6.024 6a1.007 1.007 0 0 0 1.416 0l6.024-6a.997.997 0 0 0-.053-1.358 1.007 1.007 0 0 0-1.363-.052l-4.307 4.29V2c0-.552-.45-1-1.004-1-.555 0-1.004.448-1.004 1Z"/></symbol>',c=o=>e.createElement(n.EbayIcon,Object.assign({},o,{name:"arrowDown16",__type:"icon",__symbol:r}));exports.EbayIconArrowDown16=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),n=require("../../icon-I30uh1Ov.js"),a='<symbol viewBox="0 0 20 20" id="icon-arrow-down-20"><path d="M2.293 9.293a1 1 0 0 1 1.414 0L9 14.586V3a1 1 0 1 1 2 0v11.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414Z"/></symbol>',r=o=>e.createElement(n.EbayIcon,Object.assign({},o,{name:"arrowDown20",__type:"icon",__symbol:a}));exports.EbayIconArrowDown20=r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),n=require("../../icon-I30uh1Ov.js"),r='<symbol viewBox="0 0 24 24" id="icon-arrow-down-24"><path d="M11 3v15.585l-6.287-6.298a1.002 1.002 0 0 0-1.679.45c-.093.347.006.716.26.97l7.996 7.997a1 1 0 0 0 1.419 0l7.995-7.998a1.001 1.001 0 0 0 0-1.42 1 1 0 0 0-1.419 0l-6.286 6.299V3a1 1 0 0 0-2 0Z"/></symbol>',a=o=>e.createElement(n.EbayIcon,Object.assign({},o,{name:"arrowDown24",__type:"icon",__symbol:r}));exports.EbayIconArrowDown24=a;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),r=require("../../icon-I30uh1Ov.js"),a='<symbol viewBox="0 0 12 12" id="icon-arrow-up-12"><path d="m5.477 1.208-4.27 4.287a.717.717 0 0 0 .003 1.01.71.71 0 0 0 1.007-.003L5.271 3.43v6.852a.713.713 0 1 0 1.423 0V3.43l3.054 3.072a.71.71 0 0 0 1.232-.297.716.716 0 0 0-.229-.71l-4.27-4.287a.71.71 0 0 0-1.004 0Z"/></symbol>',t=o=>e.createElement(r.EbayIcon,Object.assign({},o,{name:"arrowUp12",__type:"icon",__symbol:a}));exports.EbayIconArrowUp12=t;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),r=require("../../icon-I30uh1Ov.js"),a='<symbol viewBox="0 0 16 16" id="icon-arrow-up-16"><path d="M8.354 1.075a.994.994 0 0 0-1.086.22L1.29 7.297a1.004 1.004 0 0 0 .005 1.416.994.994 0 0 0 1.41-.005l4.274-4.302V14c0 .552.446 1 .997 1 .55 0 .996-.448.996-1V4.406l4.275 4.302a.994.994 0 0 0 1.725-.417 1.003 1.003 0 0 0-.32-.994L8.673 1.295a.996.996 0 0 0-.319-.22Z"/></symbol>',c=o=>e.createElement(r.EbayIcon,Object.assign({},o,{name:"arrowUp16",__type:"icon",__symbol:a}));exports.EbayIconArrowUp16=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),a=require("../../icon-I30uh1Ov.js"),r='<symbol viewBox="0 0 20 20" id="icon-arrow-up-20"><path d="M2.293 10.707a1 1 0 0 0 1.414 0L9 5.414V17a1 1 0 1 0 2 0V5.414l5.293 5.293a1 1 0 0 0 1.414-1.414l-7-7a1 1 0 0 0-1.414 0l-7 7a1 1 0 0 0 0 1.414Z"/></symbol>',t=o=>e.createElement(a.EbayIcon,Object.assign({},o,{name:"arrowUp20",__type:"icon",__symbol:r}));exports.EbayIconArrowUp20=t;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),r=require("../../icon-I30uh1Ov.js"),a='<symbol viewBox="0 0 24 24" id="icon-arrow-up-24"><path d="m11.29 2.296-7.996 7.998a1.004 1.004 0 0 0 1.419 1.42L11 5.414V21a1 1 0 0 0 1.998 0V5.415l6.287 6.298a1 1 0 0 0 1.42 0 1.001 1.001 0 0 0 0-1.42l-7.996-7.997a1 1 0 0 0-1.42 0Z"/></symbol>',t=o=>e.createElement(r.EbayIcon,Object.assign({},o,{name:"arrowUp24",__type:"icon",__symbol:a}));exports.EbayIconArrowUp24=t;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),t=require("../../icon-I30uh1Ov.js"),a='<symbol viewBox="0 0 16 16" id="icon-desktop-16"><path d="M13.5 1A2.5 2.5 0 0 1 16 3.5v6a2.5 2.5 0 0 1-2.5 2.5H9v2h2a1 1 0 1 1 0 2H5a1 1 0 1 1 0-2h2v-2H2.5A2.5 2.5 0 0 1 0 9.5l.001-6a2.5 2.5 0 0 1 2.5-2.5H13.5ZM2.501 3a.5.5 0 0 0-.5.5L2 9.5a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5H2.501Z"/></symbol>',c=e=>o.createElement(t.EbayIcon,Object.assign({},e,{name:"desktop16",__type:"icon",__symbol:a}));exports.EbayIconDesktop16=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),t=require("../../icon-I30uh1Ov.js"),a='<symbol viewBox="0 0 20 20" id="icon-desktop-20"><path d="M16 2a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-5v2h3a1 1 0 1 1 0 2H6a1 1 0 1 1 0-2h3v-2H4a3 3 0 0 1-2.996-2.846L1 12V5a3 3 0 0 1 3-3h12ZM4 4a1 1 0 0 0-1 1v7l.005.102A1 1 0 0 0 4 13h12a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H4Z"/></symbol>',c=e=>o.createElement(t.EbayIcon,Object.assign({},e,{name:"desktop20",__type:"icon",__symbol:a}));exports.EbayIconDesktop20=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("../../icon-I30uh1Ov.js"),t='<symbol viewBox="0 0 24 24" id="icon-desktop-24"><path d="M20 2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-7v3h4a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h4v-3H4a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h16ZM4 4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H4Z"/></symbol>',c=e=>o.createElement(a.EbayIcon,Object.assign({},e,{name:"desktop24",__type:"icon",__symbol:t}));exports.EbayIconDesktop24=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),i=require("../../icon-I30uh1Ov.js"),n='<symbol viewBox="0 0 12 12" id="icon-lightning-bolt-filled-12"><path d="M5.368.343a.751.751 0 0 1 1.38.407v3h2.247c1.189 0 1.904 1.319 1.257 2.316l-3.626 5.592a.75.75 0 0 1-1.378-.408v-3H3.005c-1.188 0-1.905-1.318-1.258-2.315L5.367.343Z"/></symbol>',l=e=>t.createElement(i.EbayIcon,Object.assign({},e,{name:"lightningBoltFilled12",__type:"icon",__symbol:n}));exports.EbayIconLightningBoltFilled12=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),i=require("../../icon-I30uh1Ov.js"),n='<symbol viewBox="0 0 16 16" id="icon-lightning-bolt-filled-16"><path d="M7.157.456A1 1 0 0 1 8.997 1v4h2.996c1.585 0 2.54 1.757 1.677 3.088l-4.835 7.456A1 1 0 0 1 6.997 15v-4h-2.99c-1.585 0-2.54-1.756-1.678-3.087L7.157.456Z"/></symbol>',l=e=>t.createElement(i.EbayIcon,Object.assign({},e,{name:"lightningBoltFilled16",__type:"icon",__symbol:n}));exports.EbayIconLightningBoltFilled16=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),i=require("../../icon-I30uh1Ov.js"),n='<symbol viewBox="0 0 24 24" id="icon-lightning-bolt-filled-24"><path d="M11.167.447A1 1 0 0 1 13 1v7h5.497c1.994 0 3.185 2.221 2.083 3.883l-7.747 11.67A1 1 0 0 1 11 23v-7H5.503c-1.994 0-3.186-2.22-2.083-3.882L11.167.448Z"/></symbol>',l=e=>t.createElement(i.EbayIcon,Object.assign({},e,{name:"lightningBoltFilled24",__type:"icon",__symbol:n}));exports.EbayIconLightningBoltFilled24=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("../../icon-I30uh1Ov.js"),t='<symbol viewBox="0 0 16 16" id="icon-mobile-16"><path d="M10.5 0A2.5 2.5 0 0 1 13 2.5v11a2.5 2.5 0 0 1-2.5 2.5h-5A2.5 2.5 0 0 1 3 13.5v-11A2.5 2.5 0 0 1 5.5 0h5Zm-5 2a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-5Zm3 9.5a.75.75 0 0 1 0 1.5h-1a.75.75 0 0 1 0-1.5h1Z"/></symbol>',c=e=>o.createElement(a.EbayIcon,Object.assign({},e,{name:"mobile16",__type:"icon",__symbol:t}));exports.EbayIconMobile16=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("../../icon-I30uh1Ov.js"),t='<symbol viewBox="0 0 20 20" id="icon-mobile-20"><path d="M13 1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h6ZM7 3a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H7Zm3.75 11a1 1 0 1 1 0 2h-1.5a1 1 0 1 1 0-2h1.5Z"/></symbol>',c=e=>o.createElement(a.EbayIcon,Object.assign({},e,{name:"mobile20",__type:"icon",__symbol:t}));exports.EbayIconMobile20=c;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("../../icon-I30uh1Ov.js"),t='<symbol viewBox="0 0 24 24" id="icon-mobile-24"><path d="M11 18h2a1 1 0 1 1 0 2h-2a1 1 0 1 1 0-2Z"/><path d="M16 1H8a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3ZM8 3h8a1 1 0 0 1 1 1H7a1 1 0 0 1 1-1ZM7 6h10v9H7V6Zm0 11h10v3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-3Z"/></symbol>',c=e=>o.createElement(a.EbayIcon,Object.assign({},e,{name:"mobile24",__type:"icon",__symbol:t}));exports.EbayIconMobile24=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("../../icon-I30uh1Ov.js"),t='<symbol viewBox="0 0 24 24" id="icon-mobile-24"><path d="M16.154 1.004A3 3 0 0 1 19 4v16a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h8l.154.004ZM8 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-.898-.995L16 3H8Zm5 15a1 1 0 1 1 0 2h-2a1 1 0 1 1 0-2h2Z"/></symbol>',c=e=>o.createElement(a.EbayIcon,Object.assign({},e,{name:"mobile24",__type:"icon",__symbol:t}));exports.EbayIconMobile24=c;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=require("../../icon-I30uh1Ov.js"),i='<symbol viewBox="0 0 24 24" id="icon-mobile-signal-24"><path d="M7 18h2a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"/><path d="M12 1H4a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3ZM4 3h8a1 1 0 0 1 1 1H3a1 1 0 0 1 1-1ZM3 6h10v9H3V6Zm0 11h10v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-3ZM16.294 4.291a1 1 0 0 1 1.415.003C18.54 5.13 19 5.957 19 7c0 1.044-.459 1.871-1.292 2.706a1 1 0 1 1-1.416-1.412C16.787 7.797 17 7.414 17 7c0-.413-.213-.797-.709-1.294a1 1 0 0 1 .003-1.415Z"/><path d="M20.613 2.21a1 1 0 0 0-1.205 1.596A3.991 3.991 0 0 1 21 7c0 1.27-.595 2.44-1.59 3.193a1 1 0 0 0 1.206 1.595A5.991 5.991 0 0 0 23 7a5.991 5.991 0 0 0-2.387-4.79Z"/></symbol>',n=a=>e.createElement(o.EbayIcon,Object.assign({},a,{name:"mobileSignal24",__type:"icon",__symbol:i}));exports.EbayIconMobileSignal24=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=require("../../icon-I30uh1Ov.js"),i='<symbol viewBox="0 0 24 24" id="icon-mobile-signal-24"><path d="M12.154 1.004A3 3 0 0 1 15 4v16a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h8l.154.004ZM4 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-.898-.995L12 3H4Zm5 15a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h2ZM19.213 2.398a.999.999 0 0 1 1.4-.196A6.006 6.006 0 0 1 23 7.001a6.004 6.004 0 0 1-2.384 4.796.999.999 0 0 1-1.4-.195 1.003 1.003 0 0 1 .194-1.403A4 4 0 0 0 21 7.001a4.001 4.001 0 0 0-1.592-3.2 1.002 1.002 0 0 1-.195-1.403Zm-2.42 1.89a1 1 0 0 1 1.416.003c.832.837 1.291 1.666 1.291 2.71 0 1.046-.459 1.874-1.292 2.71a.999.999 0 0 1-1.414.002 1.002 1.002 0 0 1-.002-1.416c.495-.497.708-.881.708-1.296 0-.413-.214-.799-.709-1.297a1.003 1.003 0 0 1 .003-1.416Z"/></symbol>',n=a=>e.createElement(o.EbayIcon,Object.assign({},a,{name:"mobileSignal24",__type:"icon",__symbol:i}));exports.EbayIconMobileSignal24=n;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),n=require("../../icon-I30uh1Ov.js"),o='<symbol viewBox="0 0 16 16" id="icon-pin-16"><path d="M6.563.508A1 1 0 0 1 7.926.13l6.466 3.66a1 1 0 1 1-.985 1.74l-.608-.343-1.76 3.015.27 1.887a1.34 1.34 0 0 1-.086.692l-.042.093-.589 1.178c-.271.543-.942.75-1.472.455l-2.078-1.155-2.375 4.146a1 1 0 1 1-1.735-.995l2.361-4.121-2.056-1.143c-.5-.277-.692-.9-.437-1.41l.583-1.167c.141-.282.379-.505.668-.629l1.903-.816 1.628-2.984-.641-.362A1 1 0 0 1 6.563.508Zm.992 5.951c-.114.21-.296.375-.515.469l-1.976.846-.074.15 4.249 2.361.06-.12-.286-2a1.064 1.064 0 0 1 .134-.688L11.058 4.2l-1.736-.98-1.767 3.24Z"/></symbol>',l=e=>c.createElement(n.EbayIcon,Object.assign({},e,{name:"pin16",__type:"icon",__symbol:o}));exports.EbayIconPin16=l;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),i=require("../../icon-I30uh1Ov.js"),n='<symbol viewBox="0 0 16 16" id="icon-pin-filled-16"><path d="M6.563.508A1 1 0 0 1 7.927.13l6.465 3.66a1 1 0 1 1-.985 1.74l-.608-.344-1.76 3.016.27 1.887c.033.235.004.474-.086.692l-.042.093-.588 1.178c-.272.543-.942.75-1.473.455l-2.077-1.155-2.376 4.146a1 1 0 1 1-1.735-.995l2.363-4.122-2.058-1.143a1.067 1.067 0 0 1-.436-1.409l.583-1.167c.14-.282.378-.505.668-.629l1.902-.816 1.628-2.985-.64-.362a1 1 0 0 1-.38-1.362Z"/></symbol>',c=e=>l.createElement(i.EbayIcon,Object.assign({},e,{name:"pinFilled16",__type:"icon",__symbol:n}));exports.EbayIconPinFilled16=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),a=require("../../icon-I30uh1Ov.js"),o='<symbol viewBox="0 0 16 16" id="icon-tablet-16"><path d="M12 0a2.5 2.5 0 0 1 2.5 2.5v11A2.5 2.5 0 0 1 12 16H4a2.5 2.5 0 0 1-2.5-2.5v-11A2.5 2.5 0 0 1 4 0h8ZM4 2a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-11A.5.5 0 0 0 12 2H4Zm5 9.5A.75.75 0 0 1 9 13H7a.75.75 0 0 1 0-1.5h2Z"/></symbol>',c=e=>t.createElement(a.EbayIcon,Object.assign({},e,{name:"tablet16",__type:"icon",__symbol:o}));exports.EbayIconTablet16=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("../../icon-I30uh1Ov.js"),o='<symbol viewBox="0 0 20 20" id="icon-tablet-20"><path d="M15 1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h10ZM5 3a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H5Zm6.5 11a1 1 0 1 1 0 2h-3a1 1 0 1 1 0-2h3Z"/></symbol>',c=a=>e.createElement(t.EbayIcon,Object.assign({},a,{name:"tablet20",__type:"icon",__symbol:o}));exports.EbayIconTablet20=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("../../icon-I30uh1Ov.js"),o='<symbol viewBox="0 0 24 24" id="icon-tablet-24"><path d="M18 1a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h12ZM6 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H6Zm8 15a1 1 0 1 1 0 2h-4a1 1 0 1 1 0-2h4Z"/></symbol>',c=a=>e.createElement(t.EbayIcon,Object.assign({},a,{name:"tablet24",__type:"icon",__symbol:o}));exports.EbayIconTablet24=c;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebay/ui-core-react",
3
- "version": "8.17.3",
3
+ "version": "9.0.0",
4
4
  "description": "Skin components build off React",
5
5
  "keywords": [
6
6
  "React",
@@ -41,7 +41,7 @@
41
41
  "smoke-test:react-19": "cd ./smoke-tests/react-19 && npm install && npm run test",
42
42
  "start": "NODE_OPTIONS=--openssl-legacy-provider storybook dev -p 9001 -c .storybook --no-open",
43
43
  "storybook": "NODE_OPTIONS=--openssl-legacy-provider storybook dev -p 9001 -c .storybook --no-open",
44
- "test": "jest",
44
+ "test": "vitest",
45
45
  "type:check": "tsc --noEmit",
46
46
  "update-icons": "node ./scripts/update-icons",
47
47
  "version": "npm run update-icons && git add -A src"
@@ -70,15 +70,18 @@
70
70
  "makeup-roving-tabindex": "^0.7.7",
71
71
  "makeup-screenreader-trap": "^0.5.6",
72
72
  "makeup-typeahead": "^0.3.3",
73
- "react-remove-scroll": "^2.7.1"
73
+ "react-remove-scroll": "^2.7.2"
74
+ },
75
+ "devDependencies": {
76
+ "@vitejs/plugin-react": "^5.1.2"
74
77
  },
75
78
  "peerDependencies": {
76
- "@ebay/skin": "^19.0.0",
77
- "react": ">= 16.0.0",
78
- "react-dom": ">= 16.0.0"
79
+ "@ebay/skin": "^19",
80
+ "react": "^19",
81
+ "react-dom": "^19"
79
82
  },
80
83
  "optionalDependencies": {
81
- "shaka-player": "^4.16.9"
84
+ "shaka-player": "^4.16.12"
82
85
  },
83
86
  "publishConfig": {
84
87
  "directory": "dist",
@@ -1 +0,0 @@
1
- "use strict";const a=require("react"),ue=require("./icon-button-AJ6dtyvc.js"),de=require("classnames"),ve=require("./icons/ebay-icon-chevron-left-24/index.js"),Ue=require("./icons/ebay-icon-chevron-right-24/index.js");function Ae(n){const c=new Intl.Locale(n);return c.weekInfo?c.weekInfo.firstDay:0}function Fe(n){const c=Ae(n),i=new Intl.DateTimeFormat(n,{weekday:"short"}),d=new Date(2022,9,2+c),A=[...Array(7)].map(()=>{const h=i.format(d);return d.setDate(d.getDate()+1),h});return{firstDayOfWeek:c,weekdayLabels:A}}function Re(n){if(n)return/^\d\d\d\d-\d\d-\d\d$/g.test(n)?n:u(new Date(n))}function u(n){if(!isNaN(n.getTime()))return n.toISOString().slice(0,10)}function U(n){return new Date(n)}function H(n,c){const i=U(n);return i.setUTCDate(i.getUTCDate()+c),u(i)}function fe(n){return n||navigator.language}const Le={ArrowRight:1,ArrowLeft:-1,ArrowDown:7,ArrowUp:-7},Ne=({selected:n,numMonths:c=1,navigable:i,interactive:d,range:A,locale:h,disableBefore:I,disableAfter:g,disableWeekdays:B,disableList:G,a11ySelectedText:me="selected",a11yRangeStartText:ye="start of range",a11yInRangeText:Ie="in range",a11yRangeEndText:ge="end of range",a11ySeparator:J="-",a11yTodayText:De="today",a11yDisabledText:Ee="inactive",getA11yShowMonthText:Q=T=>`Show ${T}`,linkBuilder:X,onMonthChange:Z=()=>{},onFocus:Se=()=>{},onSelect:we=()=>{}})=>{const T=u(new Date),{firstDayOfWeek:Oe,weekdayLabels:Te}=Fe(fe(h)),ee=a.useRef(null),[m,F]=a.useState(0),[te,ne]=a.useState(null),[D,_]=a.useState(T),R=a.useRef(T),E=e=>{const t=U(R.current);return new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth()+e))},S=()=>u(E(m)),w=()=>{const e=U(R.current);return u(new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+m+(c||1),0)))};a.useEffect(()=>{if(n){const e=Array.isArray(n)?n:[n],t=S(),r=w();e.find(f=>f>=t&&f<=r)===void 0&&(R.current=e[0],F(0))}},[n]);const be=()=>{if(n&&A){let e,t;if(Array.isArray(n)?[e,t]=n:te&&(e=n,t=te),e&&t){const[r,s]=[e,t].sort();return{rangeStart:r,rangeEnd:s}}}return{rangeStart:null,rangeEnd:null}},k=e=>new Intl.DateTimeFormat(fe(h),{month:"long",year:"numeric"}).format(new Date(e.getUTCFullYear(),e.getUTCMonth())),p=e=>I&&e<I||g&&e>g||B&&B.includes(U(e).getUTCDay())||G&&G.includes(e),ae=()=>{let e=S();const t=w();for(;e<=t&&p(e);)e=H(e,1);return e>t?null:e},re=()=>{let e=w();const t=S();for(;e>=t&&p(e);)e=H(e,-1);return e<t?null:e},b=e=>{_(e),setTimeout(()=>{var t;const r=(t=ee.current)===null||t===void 0?void 0:t.querySelector(`[data-iso="${e}"]`);r?.focus()})},L=e=>{if(I&&S()<=I)return!1;F(s=>s-1);let t=D;const r=re();return r&&r<D&&(t=r,_(r)),e&&b(t),Z({iso:u(E(m))}),!0},N=e=>{if(g&&w()>=g)return!1;F(s=>s+1);let t=D;const r=ae();r&&r>D&&(t=r,_(r)),e&&b(t),Z({iso:u(E(m+(c||1)))})},he=e=>{const t=Le[e.key];if(t){e.preventDefault();let r=7,s=D;do s=H(s,t);while(r-- >0&&p(s));if(r>0){const f=S(),O=w();s<f?i?L():s=f:s>O&&(i?N():s=O),b(s)}}else switch(e.key){case"PageUp":L(!0);break;case"PageDown":N(!0);break;case"Home":b(ae());break;case"End":b(re());break}},_e=(e,t)=>{we(e,{iso:t})},se=(e,t)=>{ne(t),_(t),Se(e,{iso:t})},oe=()=>{ne(null)},{rangeStart:V,rangeEnd:x}=be(),ke=e=>!(!V||!x||e<V||e>x),ce=[...Array(c)].map((e,t)=>E(m+t));return a.createElement("div",{className:"calendar",ref:ee},i&&a.createElement("div",{className:"calendar__header"},a.createElement("div",{className:"calendar__header--inner"},a.createElement(ue.EbayIconButton,{transparent:!0,size:"small",icon:a.createElement(ve.EbayIconChevronLeft24,null),disabled:I&&S()<=I,"aria-label":Q(k(E(m-1))),onClick:()=>L()}),ce.map((e,t)=>a.createElement("h3",{key:t},k(e))),a.createElement(ue.EbayIconButton,{transparent:!0,size:"small",icon:a.createElement(Ue.EbayIconChevronRight24,null),disabled:g&&w()>=g,"aria-label":Q(k(E(m+c))),onClick:()=>N()}))),a.createElement("div",{className:"calendar__body"},ce.map((e,t)=>{const r=(e.getUTCDay()-Oe+7)%7,s=e.getUTCFullYear(),f=e.getUTCMonth(),O=new Date(s,f+1,0).getDate(),pe=[...Array(Math.ceil((r+O)/7))];return a.createElement("div",{key:t,className:"calendar__month"},a.createElement("table",{onKeyDown:he},a.createElement("caption",null,k(e)),a.createElement("thead",null,a.createElement("tr",null,Te.map(M=>a.createElement("th",{key:M,scope:"col"},M)))),a.createElement("tbody",null,pe.map((M,q)=>{let Y=q*7-r+1,$=Y+6;const P=[];q===0&&r!==0?(Y=1,P.push(a.createElement("td",{key:"pre-column",colSpan:r}))):$>O&&($=O);for(let y=Y;y<=$;y++){const o=u(new Date(Date.UTC(s,f,y))),W=o===T,j=Array.isArray(n)?n.some(l=>l===o):n===o,z=o===V,le=ke(o),K=o===x,C=p(o),v=["",j&&me,z&&ye,!z&&!K&&le&&Ie,K&&ge,!d&&W&&De,!d&&C&&Ee].filter(l=>typeof l!="boolean"||l!==!1),ie=!d&&!C&&X&&X(o),Ce=ie?"a":"span";P.push(a.createElement("td",{key:y,className:de({"calendar__cell--selected":j,"calendar__range--start":z,calendar__range:le,"calendar__range--end":K})},d?a.createElement("button",{disabled:C,"aria-label":v.length>1?`${y}${v.join(J)}`:void 0,tabIndex:D!==o?-1:void 0,"aria-current":W?"date":void 0,"aria-pressed":j?"true":void 0,onClick:l=>_e(l,o),onFocus:l=>se(l,o),onMouseOver:l=>se(l,o),onMouseOut:()=>oe(),onBlur:()=>oe(),"data-iso":o},y):a.createElement(Ce,{className:de({"calendar__cell--disabled":C,"calendar__cell--current":W}),href:ie},y,v.length>1&&a.createElement("span",{className:"clipped"},v.join(J)))))}return a.createElement("tr",{key:q},P)}))))})))};exports.EbayCalendar=Ne;exports.dateArgToISO=Re;exports.toISO=u;