@ebay/ui-core-react 8.11.2 → 8.12.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 (38) hide show
  1. package/{combobox-cHR61pQI.js → combobox-DOcuo_sc.js} +1 -1
  2. package/common/floating-label-utils/hooks.d.ts +2 -2
  3. package/common/floating-label-utils/hooks.d.ts.map +1 -1
  4. package/ebay-chips-combobox/index.js +1 -1
  5. package/ebay-combobox/index.js +1 -1
  6. package/ebay-date-textbox/index.js +1 -1
  7. package/ebay-flag/index.js +1 -1
  8. package/ebay-icon/types.d.ts +1 -1
  9. package/ebay-icon/types.d.ts.map +1 -1
  10. package/ebay-listbox-button/index.js +1 -2
  11. package/ebay-listbox-button/listbox-button-option.d.ts +2 -1
  12. package/ebay-listbox-button/listbox-button-option.d.ts.map +1 -1
  13. package/ebay-listbox-button/listbox-button.d.ts +1 -0
  14. package/ebay-listbox-button/listbox-button.d.ts.map +1 -1
  15. package/ebay-number-input/index.js +1 -1
  16. package/ebay-phone-input/README.md +114 -0
  17. package/ebay-phone-input/countries.d.ts +11 -0
  18. package/ebay-phone-input/countries.d.ts.map +1 -0
  19. package/ebay-phone-input/index.d.ts +2 -0
  20. package/ebay-phone-input/index.d.ts.map +1 -0
  21. package/ebay-phone-input/index.js +1 -0
  22. package/ebay-phone-input/mask.d.ts +7 -0
  23. package/ebay-phone-input/mask.d.ts.map +1 -0
  24. package/ebay-phone-input/phone-input.d.ts +29 -0
  25. package/ebay-phone-input/phone-input.d.ts.map +1 -0
  26. package/ebay-select/index.js +1 -1
  27. package/ebay-svg/index.js +1 -1
  28. package/ebay-svg/symbols.d.ts.map +1 -1
  29. package/ebay-textbox/index.js +1 -1
  30. package/ebay-textbox/textbox.d.ts +1 -0
  31. package/ebay-textbox/textbox.d.ts.map +1 -1
  32. package/flag-DU-1tRv6.js +1 -0
  33. package/hooks-uidlIIid.js +1 -0
  34. package/listbox-button-rlxnsga8.js +2 -0
  35. package/package.json +1 -1
  36. package/textbox-Bp4UkkZJ.js +1 -0
  37. package/hooks-DTTigNDz.js +0 -1
  38. package/textbox-bggbXBGB.js +0 -1
@@ -1 +1 @@
1
- "use strict";const V=require("./tslib.es6-C4EgNkz1.js"),t=require("react"),x=require("classnames"),be=require("./hooks-DTTigNDz.js"),M=require("./utils-C9NL3q0j.js"),I=require("./dropdown-B2vObM4k.js"),K=s=>{var{className:p}=s,d=V.__rest(s,["className"]);return t.createElement("button",Object.assign({className:x("icon-btn","icon-btn--transparent",p)},d))},T=s=>{var{text:p,className:d,selected:C}=s,c=V.__rest(s,["text","className","selected"]);return t.createElement("div",Object.assign({},c,{role:"option",className:x("combobox__option",d),tabIndex:-1,"aria-selected":C}),p)},fe=s=>{var{className:p,floatingLabel:d,fluid:C,expanded:c,borderless:j,autocomplete:v="none",listSelection:k="automatic",defaultValue:A="",value:h,placeholder:H,opaqueLabel:U,children:D,dropdownRef:Y,onFocus:z=()=>{},onClick:G=()=>{},onExpand:J=()=>{},onCollapse:P=()=>{},onInputChange:L=()=>{},onFloatingLabelInit:Q=()=>{},onChange:W=()=>{},onSelect:X=()=>{},onKeyDown:Z=()=>{}}=s,g=V.__rest(s,["className","floatingLabel","fluid","expanded","borderless","autocomplete","listSelection","defaultValue","value","placeholder","opaqueLabel","children","dropdownRef","onFocus","onClick","onExpand","onCollapse","onInputChange","onFloatingLabelInit","onChange","onSelect","onKeyDown"]);const l=M.findComponent(D,K),y=M.filterByType(D,T),E=t.useRef(null),r=t.useRef(null),N=t.useRef(null);function $(){return v==="none"?y||[]:y.filter(e=>{var o,n;return(o=e.props.text)===null||o===void 0?void 0:o.toLowerCase().includes((n=u?.trim())===null||n===void 0?void 0:n.toLowerCase())})}const[ee,O]=t.useState(A||""),u=typeof h<"u"?h:ee;typeof h>"u"&&!L&&console.warn("EbayCombobox: You provided a value prop without an onInputChange handler.This will render a read-only input field. If you want the input to be editable, provide an onInputChange handler.");const a=t.useMemo(()=>$(),[v,u,y]),f=I.useExpander({ref:a.length?Y||E:null,expanded:c,options:{autoCollapse:c,expandOnFocus:!0,collapseOnFocusOut:!c&&!!l,contentSelector:'[role="listbox"]',hostSelector:'[role="combobox"]',expandedClass:"combobox--expanded",simulateSpacebarClick:!0},onExpand:J,onCollapse:P},[c,a.length>0]),{overlayStyles:oe,refs:R}=I.useFloatingDropdown({open:f.isExpanded}),_=(e,o)=>{u!==o&&(O(o),r.current&&(r.current.selectionStart=r.current.selectionEnd=o.length,r.current.focus()),X(e,b({currentInputValue:o})))},ne=t.useCallback((e,{toIndex:o})=>{if(k==="automatic"){const n=a[o];n&&r.current&&(r.current.value=n.props.text)}},[k,a]),te=I.useActiveDescendant({ref:E,focusElementRef:r,itemContainerRef:N,disabled:!a.length,onChange:ne,options:{activeDescendantClassName:"combobox__option--active",autoInit:-1,autoReset:-1,autoScroll:!0,axis:"y"}}),S=C?"div":"span",F=be.useFloatingLabel({text:d,disabled:g.disabled,containerTagName:S,opaqueLabel:U,onMount:Q}),le=d?F.Container:S,m=t.useRef(!1),ae=e=>{var o,n;m.current=!0,(n=l==null?void 0:(o=l.props).onClick)===null||n===void 0||n.call(o,e)},se=e=>{var o,n;m.current=!0,(n=l==null?void 0:(o=l.props).onMouseDown)===null||n===void 0||n.call(o,e)};function w(){f.collapse()}function q(){f.expand()}function re(e){const o=a.find(n=>n.props.text===e);return o?{text:o.props.text,value:o.props.value}:{}}function b(e){return{currentInputValue:e.currentInputValue,selectedOption:re(e.currentInputValue)}}const ce=e=>{const o=e.target.value;O(e.target.value),L(e,b({currentInputValue:o}))},B=t.useRef(""),ue=e=>{m.current||w(),m.current=!1;const o=e.target.value;o!==B.current&&(B.current=o,W(e,b({currentInputValue:o})))},ie=e=>{const o=e.target;o===document.activeElement&&q(),G(e,b({currentInputValue:o.value}))},de=e=>{z(e,b({currentInputValue:e.target.value}))},pe=e=>{if(e.key==="ArrowDown")q();else if(e.key==="Escape")w();else if(e.key==="Enter"&&f.isExpanded){const o=te.getIndex();o!==-1&&_(e,a[o].props.text),c||w()}Z(e)};return t.createElement(le,{ref:E,className:x("combobox",p)},t.createElement(F.Label,{htmlFor:g.id}),t.createElement("span",{className:x("combobox__control",{"combobox__control--actionable":l,"combobox__control--borderless":j})},t.createElement("input",Object.assign({},g,{ref:e=>{R.setHost(e),r.current=e},type:"text",role:"combobox",value:u,"aria-autocomplete":v,"aria-haspopup":"listbox",autoComplete:"off","aria-expanded":"false",onChange:ce,onBlur:ue,onClick:ie,onFocus:de,onKeyDown:pe,placeholder:H})),l?t.cloneElement(l,{onClick:ae,onMouseDown:se}):null),a.length>0&&t.createElement("div",{role:"listbox",className:"combobox__listbox",ref:e=>{R.setOverlay(e),N.current=e},style:oe},a.map(e=>t.cloneElement(e,{selected:(e.props.value||e.props.text)===u,onClick:o=>{var n,i;_(o,e.props.text),(i=(n=e.props).onClick)===null||i===void 0||i.call(n,o)},onMouseDown:o=>{var n,i;_(o,e.props.text),(i=(n=e.props).onMouseDown)===null||i===void 0||i.call(n,o)}}))))};exports.EbayCombobox=fe;exports.EbayComboboxButton=K;exports.EbayComboboxOption=T;
1
+ "use strict";const V=require("./tslib.es6-C4EgNkz1.js"),t=require("react"),x=require("classnames"),be=require("./hooks-uidlIIid.js"),M=require("./utils-C9NL3q0j.js"),I=require("./dropdown-B2vObM4k.js"),K=s=>{var{className:p}=s,d=V.__rest(s,["className"]);return t.createElement("button",Object.assign({className:x("icon-btn","icon-btn--transparent",p)},d))},T=s=>{var{text:p,className:d,selected:C}=s,c=V.__rest(s,["text","className","selected"]);return t.createElement("div",Object.assign({},c,{role:"option",className:x("combobox__option",d),tabIndex:-1,"aria-selected":C}),p)},fe=s=>{var{className:p,floatingLabel:d,fluid:C,expanded:c,borderless:j,autocomplete:v="none",listSelection:k="automatic",defaultValue:A="",value:h,placeholder:H,opaqueLabel:U,children:D,dropdownRef:Y,onFocus:z=()=>{},onClick:G=()=>{},onExpand:J=()=>{},onCollapse:P=()=>{},onInputChange:L=()=>{},onFloatingLabelInit:Q=()=>{},onChange:W=()=>{},onSelect:X=()=>{},onKeyDown:Z=()=>{}}=s,g=V.__rest(s,["className","floatingLabel","fluid","expanded","borderless","autocomplete","listSelection","defaultValue","value","placeholder","opaqueLabel","children","dropdownRef","onFocus","onClick","onExpand","onCollapse","onInputChange","onFloatingLabelInit","onChange","onSelect","onKeyDown"]);const l=M.findComponent(D,K),y=M.filterByType(D,T),E=t.useRef(null),r=t.useRef(null),N=t.useRef(null);function $(){return v==="none"?y||[]:y.filter(e=>{var o,n;return(o=e.props.text)===null||o===void 0?void 0:o.toLowerCase().includes((n=u?.trim())===null||n===void 0?void 0:n.toLowerCase())})}const[ee,O]=t.useState(A||""),u=typeof h<"u"?h:ee;typeof h>"u"&&!L&&console.warn("EbayCombobox: You provided a value prop without an onInputChange handler.This will render a read-only input field. If you want the input to be editable, provide an onInputChange handler.");const a=t.useMemo(()=>$(),[v,u,y]),f=I.useExpander({ref:a.length?Y||E:null,expanded:c,options:{autoCollapse:c,expandOnFocus:!0,collapseOnFocusOut:!c&&!!l,contentSelector:'[role="listbox"]',hostSelector:'[role="combobox"]',expandedClass:"combobox--expanded",simulateSpacebarClick:!0},onExpand:J,onCollapse:P},[c,a.length>0]),{overlayStyles:oe,refs:R}=I.useFloatingDropdown({open:f.isExpanded}),_=(e,o)=>{u!==o&&(O(o),r.current&&(r.current.selectionStart=r.current.selectionEnd=o.length,r.current.focus()),X(e,b({currentInputValue:o})))},ne=t.useCallback((e,{toIndex:o})=>{if(k==="automatic"){const n=a[o];n&&r.current&&(r.current.value=n.props.text)}},[k,a]),te=I.useActiveDescendant({ref:E,focusElementRef:r,itemContainerRef:N,disabled:!a.length,onChange:ne,options:{activeDescendantClassName:"combobox__option--active",autoInit:-1,autoReset:-1,autoScroll:!0,axis:"y"}}),S=C?"div":"span",F=be.useFloatingLabel({text:d,disabled:g.disabled,containerTagName:S,opaqueLabel:U,onMount:Q}),le=d?F.Container:S,m=t.useRef(!1),ae=e=>{var o,n;m.current=!0,(n=l==null?void 0:(o=l.props).onClick)===null||n===void 0||n.call(o,e)},se=e=>{var o,n;m.current=!0,(n=l==null?void 0:(o=l.props).onMouseDown)===null||n===void 0||n.call(o,e)};function w(){f.collapse()}function q(){f.expand()}function re(e){const o=a.find(n=>n.props.text===e);return o?{text:o.props.text,value:o.props.value}:{}}function b(e){return{currentInputValue:e.currentInputValue,selectedOption:re(e.currentInputValue)}}const ce=e=>{const o=e.target.value;O(e.target.value),L(e,b({currentInputValue:o}))},B=t.useRef(""),ue=e=>{m.current||w(),m.current=!1;const o=e.target.value;o!==B.current&&(B.current=o,W(e,b({currentInputValue:o})))},ie=e=>{const o=e.target;o===document.activeElement&&q(),G(e,b({currentInputValue:o.value}))},de=e=>{z(e,b({currentInputValue:e.target.value}))},pe=e=>{if(e.key==="ArrowDown")q();else if(e.key==="Escape")w();else if(e.key==="Enter"&&f.isExpanded){const o=te.getIndex();o!==-1&&_(e,a[o].props.text),c||w()}Z(e)};return t.createElement(le,{ref:E,className:x("combobox",p)},t.createElement(F.Label,{htmlFor:g.id}),t.createElement("span",{className:x("combobox__control",{"combobox__control--actionable":l,"combobox__control--borderless":j})},t.createElement("input",Object.assign({},g,{ref:e=>{R.setHost(e),r.current=e},type:"text",role:"combobox",value:u,"aria-autocomplete":v,"aria-haspopup":"listbox",autoComplete:"off","aria-expanded":"false",onChange:ce,onBlur:ue,onClick:ie,onFocus:de,onKeyDown:pe,placeholder:H})),l?t.cloneElement(l,{onClick:ae,onMouseDown:se}):null),a.length>0&&t.createElement("div",{role:"listbox",className:"combobox__listbox",ref:e=>{R.setOverlay(e),N.current=e},style:oe},a.map(e=>t.cloneElement(e,{selected:(e.props.value||e.props.text)===u,onClick:o=>{var n,i;_(o,e.props.text),(i=(n=e.props).onClick)===null||i===void 0||i.call(n,o)},onMouseDown:o=>{var n,i;_(o,e.props.text),(i=(n=e.props).onMouseDown)===null||i===void 0||i.call(n,o)}}))))};exports.EbayCombobox=fe;exports.EbayComboboxButton=K;exports.EbayComboboxOption=T;
@@ -4,8 +4,8 @@ type MakeupFloatingLabelHookProps = {
4
4
  disabled?: boolean;
5
5
  invalid?: boolean;
6
6
  size?: "default" | "large";
7
- type?: string;
8
7
  opaqueLabel?: boolean;
8
+ static?: boolean;
9
9
  containerTagName?: "span" | "div";
10
10
  onMount?: () => void;
11
11
  };
@@ -13,6 +13,6 @@ type MakeupFloatingLabelHookReturn = {
13
13
  Label: FC<Omit<ComponentProps<"label">, "children">> | FC;
14
14
  Container: FC<ComponentProps<"div" | "span">> | FC;
15
15
  };
16
- export declare function useFloatingLabel({ text, disabled, invalid, size, type, opaqueLabel, containerTagName: Container, onMount, }: MakeupFloatingLabelHookProps): MakeupFloatingLabelHookReturn;
16
+ export declare function useFloatingLabel({ text, disabled, invalid, size, opaqueLabel, static: floatingLabelStatic, containerTagName: Container, onMount, }: MakeupFloatingLabelHookProps): MakeupFloatingLabelHookReturn;
17
17
  export {};
18
18
  //# sourceMappingURL=hooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/common/floating-label-utils/hooks.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAU,EAAE,EAAe,cAAc,EAA+B,MAAM,OAAO,CAAC;AAIpG,KAAK,4BAA4B,GAAG;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,KAAK,6BAA6B,GAAG;IACjC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU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AAE,4BAA4B,GAAG,6BAA6B,CA+E9D"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("../tslib.es6-C4EgNkz1.js"),o=require("react"),N=require("classnames"),a=require("../combobox-cHR61pQI.js"),R=require("../utils-C9NL3q0j.js"),T=require("../chip-CuR-Dm9y.js");require("../hooks-DTTigNDz.js");require("../array.polyfill.flat-5BAolFdk.js");require("../dropdown-B2vObM4k.js");const B=i=>{var{className:h,fluid:x,error:y,disabled:c,selected:r,defaultSelected:u,a11yDeleteButtonText:f="Remove",onChange:n,children:C}=i,E=_.__rest(i,["className","fluid","error","disabled","selected","defaultSelected","a11yDeleteButtonText","onChange","children"]);const S=R.filterByType(C,a.EbayComboboxOption),[g,b]=o.useState(u||[]),s=r||g,[v,d]=o.useState(""),p=o.useRef(null),m=(e,t)=>{const l=[...s,t];b(l),n?.(e,{selected:[...l]}),d("")},w=(e,t)=>{const l=s.filter((I,D)=>D!==t);b(l),n?.(e,{selected:[...l]})},O=e=>{if(e.key==="Enter"){const t=e.target.value;e.preventDefault(),t&&!s.includes(t)&&m(e,t)}},q=(e,t)=>{d(t.currentInputValue)};if(r&&u)throw new Error('EbayChipsCombobox: You cannot use "selected" and "defaultSelected" at the same time.');if(r&&!n)throw new Error('EbayChipsCombobox: You must provide an "onChange" prop when using the "selected" prop.');return o.createElement("span",{ref:p,className:N(h,"chips-combobox",{"chips-combobox--fluid":x,"chips-combobox--error":y}),"aria-disabled":c?"true":void 0},s.length?o.createElement("ul",{className:"chips-combobox__items"},s.map((e,t)=>o.createElement("li",{key:t},o.createElement(T.EbayChip,{a11yDeleteButtonText:`${f} ${e}`,onDelete:l=>w(l,t),disabled:c},e)))):null,o.createElement(a.EbayCombobox,Object.assign({},E,{className:"chips-combobox__combobox",disabled:c,dropdownRef:p,value:v,autocomplete:"list",onSelect:(e,t)=>m(e,t.selectedOption.text),onInputChange:q,onKeyDown:O}),S.filter(e=>!s.includes(e.props.text))))};exports.EbayComboboxOption=a.EbayComboboxOption;exports.EbayChipsCombobox=B;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("../tslib.es6-C4EgNkz1.js"),o=require("react"),N=require("classnames"),a=require("../combobox-DOcuo_sc.js"),R=require("../utils-C9NL3q0j.js"),T=require("../chip-CuR-Dm9y.js");require("../hooks-uidlIIid.js");require("../array.polyfill.flat-5BAolFdk.js");require("../dropdown-B2vObM4k.js");const B=i=>{var{className:h,fluid:x,error:y,disabled:c,selected:r,defaultSelected:u,a11yDeleteButtonText:f="Remove",onChange:n,children:C}=i,E=_.__rest(i,["className","fluid","error","disabled","selected","defaultSelected","a11yDeleteButtonText","onChange","children"]);const S=R.filterByType(C,a.EbayComboboxOption),[g,b]=o.useState(u||[]),s=r||g,[v,d]=o.useState(""),p=o.useRef(null),m=(e,t)=>{const l=[...s,t];b(l),n?.(e,{selected:[...l]}),d("")},w=(e,t)=>{const l=s.filter((I,D)=>D!==t);b(l),n?.(e,{selected:[...l]})},O=e=>{if(e.key==="Enter"){const t=e.target.value;e.preventDefault(),t&&!s.includes(t)&&m(e,t)}},q=(e,t)=>{d(t.currentInputValue)};if(r&&u)throw new Error('EbayChipsCombobox: You cannot use "selected" and "defaultSelected" at the same time.');if(r&&!n)throw new Error('EbayChipsCombobox: You must provide an "onChange" prop when using the "selected" prop.');return o.createElement("span",{ref:p,className:N(h,"chips-combobox",{"chips-combobox--fluid":x,"chips-combobox--error":y}),"aria-disabled":c?"true":void 0},s.length?o.createElement("ul",{className:"chips-combobox__items"},s.map((e,t)=>o.createElement("li",{key:t},o.createElement(T.EbayChip,{a11yDeleteButtonText:`${f} ${e}`,onDelete:l=>w(l,t),disabled:c},e)))):null,o.createElement(a.EbayCombobox,Object.assign({},E,{className:"chips-combobox__combobox",disabled:c,dropdownRef:p,value:v,autocomplete:"list",onSelect:(e,t)=>m(e,t.selectedOption.text),onInputChange:q,onKeyDown:O}),S.filter(e=>!s.includes(e.props.text))))};exports.EbayComboboxOption=a.EbayComboboxOption;exports.EbayChipsCombobox=B;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../combobox-cHR61pQI.js");exports.EbayCombobox=o.EbayCombobox;exports.EbayComboboxButton=o.EbayComboboxButton;exports.EbayComboboxOption=o.EbayComboboxOption;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../combobox-DOcuo_sc.js");exports.EbayCombobox=o.EbayCombobox;exports.EbayComboboxButton=o.EbayComboboxButton;exports.EbayComboboxOption=o.EbayComboboxOption;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("../tslib.es6-C4EgNkz1.js"),n=require("react"),x=require("makeup-expander"),Q=require("classnames"),X=require("../utils-C9NL3q0j.js"),b=require("../calendar-Dw_PWT2C.js"),l=require("../textbox-bggbXBGB.js");require("../icon-CR8ApQBy.js");const Z=require("../dropdown-B2vObM4k.js"),{default:$=x}=x?.default?.__esModule?x.default:x,ee=600,te=v=>{var{className:R,inputPlaceholderText:i="YYYY-MM-DD",a11yOpenPopoverText:N="open calendar",range:o,value:y,rangeEnd:S,defaultValue:q,defaultRangeEnd:D,collapseOnSelect:w,children:M,onChange:p=()=>{},onInputChange:A=()=>{},onInputRangeEndChange:L=()=>{}}=v,j=K.__rest(v,["className","inputPlaceholderText","a11yOpenPopoverText","range","value","rangeEnd","defaultValue","defaultRangeEnd","collapseOnSelect","children","onChange","onInputChange","onInputRangeEndChange"]);const m=n.useRef(null),[V,d]=n.useState(q||""),[B,u]=n.useState(D||""),f=l.isControlled(y)?y:V,T=l.isControlled(S)?S:B,s=b.dateArgToISO(f),c=b.dateArgToISO(T),[C,I]=n.useState(!1),[Y,z]=n.useState(1),E=X.filterByType(M,l.EbayTextbox),O=o?E[1]||n.createElement(l.EbayTextbox,null):E[0]||n.createElement(l.EbayTextbox,null),F=o?E[0]||n.createElement(l.EbayTextbox,null):E[1]||n.createElement(l.EbayTextbox,null),{overlayStyles:H,refs:h}=Z.useFloatingDropdown({open:C}),g=h.host,W=()=>{I(!0)},k=()=>{I(!1)};n.useEffect(()=>{if(!g.current)return;m.current=new $(g.current,{hostSelector:".ebay-date-textbox--main > .icon-btn",contentSelector:".date-textbox__popover",expandOnClick:!0,autoCollapse:!0}),g.current.addEventListener("expander-expand",W),g.current.addEventListener("expander-collapse",k);const e=()=>{z(document.documentElement.clientWidth<ee?1:2)};return e(),window.addEventListener("resize",e),()=>{var t;(t=m.current)===null||t===void 0||t.destroy(),window.removeEventListener("resize",e)}},[]);const _=(e,t)=>{const r=new Date(e.target.value),a=isNaN(r.getTime())?null:b.toISO(r);t===0?d(a||""):u(a||""),o?p(e,{rangeStart:t===0?a:s,rangeEnd:t===1?a:c}):p(e,{selected:a})},U=(e,{iso:t})=>{if(d(t),o){const r=s||c,a={rangeStart:t,rangeEnd:r};s&&c?(u(""),a.rangeEnd=null):r&&(r<t?(d(r),u(t),a.rangeStart=r,a.rangeEnd=t):(d(t),u(r),a.rangeStart=t,a.rangeEnd=r)),p(e,a)}else p(e,{selected:t});w&&(m.current.expanded=!1)},P=(e,t)=>{t===0?(d(e.target.value),A(e)):(u(e.target.value),L(e))},[G,J]=Array.isArray(i)?i:[i,i];return n.createElement("span",{className:Q("date-textbox",R),ref:h.setHost},o&&n.cloneElement(F,{value:f,placeholder:G,onInputChange:e=>P(e,0),onBlur:e=>_(e,0)}),n.cloneElement(O,Object.assign(Object.assign({},O.props),{className:"ebay-date-textbox--main",placeholder:J,value:o?T:f,onInputChange:e=>P(e,o?1:0),onBlur:e=>_(e,o?1:0)}),n.createElement(l.EbayTextboxPostfixIcon,{name:"calendar24",buttonAriaLabel:N})),n.createElement("div",{hidden:!C,ref:h.setOverlay,style:H,className:"date-textbox__popover"},n.createElement(b.EbayCalendar,Object.assign({},j,{range:o,interactive:!0,navigable:!0,numMonths:Y,selected:s&&c?[s,c]:s||c||void 0,onSelect:U}))))};exports.EbayDateTextbox=te;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("../tslib.es6-C4EgNkz1.js"),n=require("react"),x=require("makeup-expander"),Q=require("classnames"),X=require("../utils-C9NL3q0j.js"),b=require("../calendar-Dw_PWT2C.js"),l=require("../textbox-Bp4UkkZJ.js");require("../icon-CR8ApQBy.js");const Z=require("../dropdown-B2vObM4k.js"),{default:$=x}=x?.default?.__esModule?x.default:x,ee=600,te=v=>{var{className:R,inputPlaceholderText:i="YYYY-MM-DD",a11yOpenPopoverText:N="open calendar",range:o,value:y,rangeEnd:S,defaultValue:q,defaultRangeEnd:D,collapseOnSelect:w,children:M,onChange:p=()=>{},onInputChange:A=()=>{},onInputRangeEndChange:L=()=>{}}=v,j=K.__rest(v,["className","inputPlaceholderText","a11yOpenPopoverText","range","value","rangeEnd","defaultValue","defaultRangeEnd","collapseOnSelect","children","onChange","onInputChange","onInputRangeEndChange"]);const m=n.useRef(null),[V,d]=n.useState(q||""),[B,u]=n.useState(D||""),f=l.isControlled(y)?y:V,T=l.isControlled(S)?S:B,s=b.dateArgToISO(f),c=b.dateArgToISO(T),[C,I]=n.useState(!1),[Y,z]=n.useState(1),E=X.filterByType(M,l.EbayTextbox),O=o?E[1]||n.createElement(l.EbayTextbox,null):E[0]||n.createElement(l.EbayTextbox,null),F=o?E[0]||n.createElement(l.EbayTextbox,null):E[1]||n.createElement(l.EbayTextbox,null),{overlayStyles:H,refs:h}=Z.useFloatingDropdown({open:C}),g=h.host,W=()=>{I(!0)},k=()=>{I(!1)};n.useEffect(()=>{if(!g.current)return;m.current=new $(g.current,{hostSelector:".ebay-date-textbox--main > .icon-btn",contentSelector:".date-textbox__popover",expandOnClick:!0,autoCollapse:!0}),g.current.addEventListener("expander-expand",W),g.current.addEventListener("expander-collapse",k);const e=()=>{z(document.documentElement.clientWidth<ee?1:2)};return e(),window.addEventListener("resize",e),()=>{var t;(t=m.current)===null||t===void 0||t.destroy(),window.removeEventListener("resize",e)}},[]);const _=(e,t)=>{const r=new Date(e.target.value),a=isNaN(r.getTime())?null:b.toISO(r);t===0?d(a||""):u(a||""),o?p(e,{rangeStart:t===0?a:s,rangeEnd:t===1?a:c}):p(e,{selected:a})},U=(e,{iso:t})=>{if(d(t),o){const r=s||c,a={rangeStart:t,rangeEnd:r};s&&c?(u(""),a.rangeEnd=null):r&&(r<t?(d(r),u(t),a.rangeStart=r,a.rangeEnd=t):(d(t),u(r),a.rangeStart=t,a.rangeEnd=r)),p(e,a)}else p(e,{selected:t});w&&(m.current.expanded=!1)},P=(e,t)=>{t===0?(d(e.target.value),A(e)):(u(e.target.value),L(e))},[G,J]=Array.isArray(i)?i:[i,i];return n.createElement("span",{className:Q("date-textbox",R),ref:h.setHost},o&&n.cloneElement(F,{value:f,placeholder:G,onInputChange:e=>P(e,0),onBlur:e=>_(e,0)}),n.cloneElement(O,Object.assign(Object.assign({},O.props),{className:"ebay-date-textbox--main",placeholder:J,value:o?T:f,onInputChange:e=>P(e,o?1:0),onBlur:e=>_(e,o?1:0)}),n.createElement(l.EbayTextboxPostfixIcon,{name:"calendar24",buttonAriaLabel:N})),n.createElement("div",{hidden:!C,ref:h.setOverlay,style:H,className:"date-textbox__popover"},n.createElement(b.EbayCalendar,Object.assign({},j,{range:o,interactive:!0,navigable:!0,numMonths:Y,selected:s&&c?[s,c]:s||c||void 0,onSelect:U}))))};exports.EbayDateTextbox=te;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),r=require("../icon-CR8ApQBy.js"),l=require("../tslib.es6-C4EgNkz1.js"),n=require("classnames"),o=e=>a.createElement(r.EbayIcon,Object.assign({__type:"flag"},e)),g=e=>{var{flag:s,className:t}=e,c=l.__rest(e,["flag","className"]);return a.createElement("span",Object.assign({className:n("fflag",t,`fflag--${s.toLowerCase()}`)},c))};exports.EbayFlag=g;exports.EbayFlagIcon=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),t=require("../icon-CR8ApQBy.js"),c=require("../flag-DU-1tRv6.js"),n=e=>a.createElement(t.EbayIcon,Object.assign({__type:"flag"},e));exports.EbayFlag=c.EbayFlagIcon;exports.EbayFlagIcon=n;
@@ -1,2 +1,2 @@
1
- export type Icon = 'add12' | 'add16' | 'add24' | 'addImage24' | 'afterpay12Colored' | 'afterpay18Colored' | 'afterpay24Colored' | 'afterpay32Colored' | 'ai16' | 'ai20' | 'ai24' | 'aiFilled16' | 'aiFilled20' | 'aiFilled24' | 'aiSpectrum16Colored' | 'aiSpectrum20Colored' | 'aiSpectrum24Colored' | 'aiSpectrumFilled16Colored' | 'aiSpectrumFilled20Colored' | 'aiSpectrumFilled24Colored' | 'aiSpectrumThin16Colored' | 'aiThin16' | 'aiTools16' | 'aiTools20' | 'aiTools24' | 'alipayCn12Colored' | 'alipayCn18Colored' | 'alipayCn24Colored' | 'alipayCn32Colored' | 'alipayHk12Colored' | 'alipayHk18Colored' | 'alipayHk24Colored' | 'alipayHk32Colored' | 'amex12Colored' | 'amex18Colored' | 'amex24Colored' | 'amex32Colored' | 'apple24' | 'appleMusic24Colored' | 'applePay12Colored' | 'applePay18Colored' | 'applePay24Colored' | 'applePay32Colored' | 'archive16' | 'archive24' | 'arrowLeft12' | 'arrowLeft16' | 'arrowLeft20' | 'arrowLeft24' | 'arrowRight12' | 'arrowRight16' | 'arrowRight20' | 'arrowRight24' | 'arrows3d16' | 'arrows3d24' | 'arrows3dFilled64Colored' | 'arrowsExpand16' | 'arrowsExpand24' | 'article16' | 'article24' | 'attention16' | 'attention24' | 'attention64' | 'attentionFilled16' | 'attentionFilled24' | 'atv16' | 'atv24' | 'audioHigh16' | 'audioHigh20' | 'audioHigh24' | 'audioLow16' | 'audioOff16' | 'audioOff20' | 'audioOff24' | 'authenticityGuarantee16' | 'authenticityGuarantee24' | 'authenticityGuaranteeFilled16Colored' | 'authenticityGuaranteeFilled24Colored' | 'autoAdjust24' | 'avatarSignedOut' | 'backgroundRemoval16' | 'backgroundRemoval24' | 'bancontact12Colored' | 'bancontact18Colored' | 'bancontact24Colored' | 'bancontact32Colored' | 'bank16' | 'bank24' | 'bank64' | 'bankAccount12Colored' | 'bankAccount18Colored' | 'bankAccount24Colored' | 'bankAccount32Colored' | 'barChart16' | 'barChart24' | 'bids16' | 'bids24' | 'bids64' | 'boat16' | 'boat24' | 'book16' | 'book24' | 'bookmark16' | 'bookmark24' | 'bookmarkFilled16' | 'bookmarkFilled24' | 'brandAuthorizedSeller16' | 'brandAuthorizedSeller24' | 'brightness16' | 'brightness20' | 'brightness24' | 'calendar16' | 'calendar24' | 'calendar64' | 'camera16' | 'camera24' | 'camera64' | 'car16' | 'car24' | 'carBrake16' | 'carBrake24' | 'cardStack64' | 'carnet12Colored' | 'carnet18Colored' | 'carnet24Colored' | 'carnet32Colored' | 'carryon24' | 'cart16' | 'cart20' | 'cart24' | 'cart64' | 'cartAdd16' | 'cartAdd20' | 'cartAdd24' | 'cashapp12Colored' | 'cashapp18Colored' | 'cashapp24Colored' | 'cashapp32Colored' | 'categories16' | 'categories24' | 'cb12Colored' | 'cb18Colored' | 'cb24Colored' | 'cb32Colored' | 'ccdChargerIncluded' | 'ccdChargerNotIncluded' | 'ccdTop' | 'certifiedRecycled16' | 'certifiedRecycled24' | 'chair16' | 'chair24' | 'chat16' | 'chat24' | 'chat64' | 'checkIn24' | 'checkboxChecked18' | 'checkboxChecked24' | 'checkboxMixed18' | 'checkboxMixed24' | 'checkboxUnchecked18' | 'checkboxUnchecked24' | 'checkmark24' | 'chevronDown12' | 'chevronDown16' | 'chevronDown20' | 'chevronDown24' | 'chevronLeft12' | 'chevronLeft16' | 'chevronLeft20' | 'chevronLeft24' | 'chevronRight12' | 'chevronRight16' | 'chevronRight20' | 'chevronRight24' | 'chevronUp12' | 'chevronUp16' | 'chevronUp20' | 'chevronUp24' | 'chineseCoin16' | 'chineseCoin24' | 'clear16' | 'clear20' | 'clear24' | 'clickToCall16' | 'clickToCall24' | 'clock16' | 'clock24' | 'clock64' | 'clockFast16' | 'clockFast24' | 'close12' | 'close16' | 'close20' | 'close24' | 'closedCaption16' | 'closedCaptionFilled16' | 'coin24' | 'coinBattery48' | 'collections16' | 'collections24' | 'condensedGrid24' | 'condensedGridFilled24' | 'confirmation16' | 'confirmation24' | 'confirmation64' | 'confirmationFilled12' | 'confirmationFilled16' | 'confirmationFilled24' | 'contract16' | 'contrast24' | 'copy16' | 'copy24' | 'coupon16' | 'coupon24' | 'creditCard16' | 'creditCard24' | 'creditCard64' | 'crop24' | 'customize16' | 'customize24' | 'delete16' | 'delete20' | 'delete24' | 'densityCompact16' | 'densityCompact24' | 'densityDefault16' | 'densityDefault24' | 'densityRelaxed16' | 'densityRelaxed24' | 'diamond16' | 'diamond24' | 'diners12Colored' | 'diners18Colored' | 'diners24Colored' | 'diners32Colored' | 'directDebit12Colored' | 'directDebit18Colored' | 'directDebit24Colored' | 'directDebit32Colored' | 'directFromBrand16' | 'directFromBrand24' | 'discord24' | 'discount16' | 'discount24' | 'discountAuto16' | 'discountAuto24' | 'discover12Colored' | 'discover18Colored' | 'discover24Colored' | 'discover32Colored' | 'dollar16' | 'dollar24' | 'dollarOff24' | 'download16' | 'download20' | 'download24' | 'dragDrop16' | 'dragDrop24' | 'ebayBalance12Colored' | 'ebayBalance18Colored' | 'ebayBalance24Colored' | 'ebayBalance32Colored' | 'ebayBucksLogo16Colored' | 'ebayForCharity16' | 'ebayForCharity24' | 'ebayInternationalShipping16' | 'ebayInternationalShipping24' | 'ebayInternationalShipping64' | 'ebayLive16' | 'ebayLive24' | 'ebayLogo16Colored' | 'ebayMastercard12Colored' | 'ebayMastercard18Colored' | 'ebayMastercard24Colored' | 'ebayMastercard32Colored' | 'ebayMoneyBackGuaranteeLogo16Colored' | 'ebayPlus16' | 'ebayPlus24' | 'ebayPlusLogo16Colored' | 'ebayPlusLogoDark16Colored' | 'ebayPreloved16' | 'ebayPreloved24' | 'ebayRefurbished16' | 'ebayRefurbished24' | 'eekArrow' | 'eekRangeArrow' | 'eftpos12Colored' | 'eftpos18Colored' | 'eftpos24Colored' | 'eftpos32Colored' | 'elo12Colored' | 'elo18Colored' | 'elo24Colored' | 'elo32Colored' | 'escrowCard12Colored' | 'escrowCard18Colored' | 'escrowCard24Colored' | 'escrowCard32Colored' | 'euro16' | 'euro24' | 'europeanConformity48' | 'exclude16' | 'exclude24' | 'exclude64' | 'expand16' | 'explore16' | 'explore24' | 'externalLink16' | 'externalLink20' | 'externalLink24' | 'eye16' | 'eye24' | 'faceHappiest24' | 'faceHappy16' | 'faceHappy24' | 'faceNeutral24' | 'faceSad24' | 'faceSaddest24' | 'facebook24' | 'facebookMessenger24' | 'fallLeaf16' | 'fallLeaf24' | 'feedback16' | 'feedback20' | 'feedback24' | 'feedbackError16' | 'feedbackError24' | 'feedbackNegative16' | 'feedbackNeutral16' | 'feedbackPositive16' | 'feedbackReceived16' | 'feedbackReceived24' | 'file16' | 'file24' | 'filter16' | 'filter24' | 'fingerprint24' | 'fingerprint64' | 'flag16' | 'flag24' | 'flagFilled16' | 'flagFilled24' | 'flash24' | 'flashAuto24' | 'flashOff24' | 'folder16' | 'folder24' | 'folderAdd16' | 'folderAdd24' | 'forklift16' | 'forklift24' | 'franc16' | 'franc24' | 'freeWarranty16' | 'freeWarranty24' | 'fullView16' | 'fullView24' | 'fullViewFilled16' | 'fullViewFilled24' | 'gallery16' | 'gallery24' | 'generalCard12Colored' | 'generalCard18Colored' | 'generalCard24Colored' | 'generalCard32Colored' | 'genericCard12Colored' | 'genericCard18Colored' | 'genericCard24Colored' | 'genericCard32Colored' | 'gift16' | 'gift24' | 'gift64' | 'giftCard12Colored' | 'giftCard18Colored' | 'giftCard24Colored' | 'giftCard32Colored' | 'girocard12Colored' | 'girocard18Colored' | 'girocard24Colored' | 'girocard32Colored' | 'glasses24' | 'glasses64' | 'google24' | 'googlePay12Colored' | 'googlePay18Colored' | 'googlePay24Colored' | 'googlePay32Colored' | 'graph16' | 'graph24' | 'graph64' | 'graphDynamic16' | 'graphDynamic24' | 'gridView16' | 'gridView24' | 'gridViewFilled16' | 'gridViewFilled24' | 'handSwipe40' | 'handbag16' | 'handbag24' | 'hanger16' | 'hanger24' | 'headlight16' | 'headlight24' | 'headphone16' | 'headphone24' | 'heart16' | 'heart20' | 'heart24' | 'heartFilled16' | 'heartFilled20' | 'heartFilled24' | 'help16' | 'help20' | 'help24' | 'helpOutline16' | 'helpOutline20' | 'helpOutline24' | 'hide16' | 'hide24' | 'history16' | 'history24' | 'history64' | 'home24' | 'homeFilled24' | 'image16' | 'image24' | 'image64' | 'imagePlaceholder' | 'inbox16' | 'inbox24' | 'information16' | 'information24' | 'informationFilled16' | 'informationFilled24' | 'inspect16' | 'inspect24' | 'inspect64' | 'instagram24' | 'interac12Colored' | 'interac18Colored' | 'interac24Colored' | 'interac32Colored' | 'itemList16' | 'itemList20' | 'itemList24' | 'jcb12Colored' | 'jcb18Colored' | 'jcb24Colored' | 'jcb32Colored' | 'jetSki16' | 'jetSki24' | 'kakaoPay12Colored' | 'kakaoPay18Colored' | 'kakaoPay24Colored' | 'kakaoPay32Colored' | 'key16' | 'key24' | 'keyboard16' | 'keyboard24' | 'klarnaBlack12Colored' | 'klarnaBlack18Colored' | 'klarnaBlack24Colored' | 'klarnaBlack32Colored' | 'klarnaPink12Colored' | 'klarnaPink18Colored' | 'klarnaPink24Colored' | 'klarnaPink32Colored' | 'klarnaWhite12Colored' | 'klarnaWhite18Colored' | 'klarnaWhite24Colored' | 'klarnaWhite32Colored' | 'krona16' | 'krona24' | 'lamp16' | 'lamp24' | 'largeBox16' | 'largeBox24' | 'legacyAuthenticityGuarantee48Colored' | 'legacyClickToCall48Colored' | 'legacyEscrow48Colored' | 'legacyFreeWarranty48Colored' | 'legacyMoneyBackGuaranteeChf48Colored' | 'legacyMoneyBackGuaranteeEu48Colored' | 'legacyMoneyBackGuaranteeUk48Colored' | 'legacyMoneyBackGuaranteeUs48Colored' | 'legacyMoneyBackGuaranteeZl48Colored' | 'legacyTopRatedSeller48Colored' | 'lightbulb16' | 'lightbulb24' | 'lightningBolt16' | 'lightningBolt24' | 'link24' | 'linkedin24' | 'listView16' | 'listView24' | 'listViewFilled16' | 'listViewFilled24' | 'liveBag16' | 'liveBag20' | 'liveBag24' | 'liveBagThin16' | 'liveBroadcast20' | 'liveBroadcast24' | 'liveBroadcastThin16' | 'liveEye16' | 'liveEye24' | 'location16' | 'location24' | 'location64' | 'locationArrow16' | 'locationArrow24' | 'lock16' | 'lock24' | 'lockFilled16' | 'lockFilled20' | 'lockFilled24' | 'maestro12Colored' | 'maestro18Colored' | 'maestro24Colored' | 'maestro32Colored' | 'mail16' | 'mail20' | 'mail24' | 'mail64' | 'mailMove16' | 'mailMove24' | 'mailOpen16' | 'mailOpen24' | 'mailUnread16' | 'mailUnread24' | 'map16' | 'map20' | 'map24' | 'masonryView16' | 'masonryView24' | 'masonryViewFilled16' | 'masonryViewFilled24' | 'mastercard12Colored' | 'mastercard18Colored' | 'mastercard24Colored' | 'mastercard32Colored' | 'mediumBox16' | 'mediumBox24' | 'megaphone16' | 'megaphone24' | 'menu16' | 'menu20' | 'menu24' | 'mercadoPago12Colored' | 'mercadoPago18Colored' | 'mercadoPago24Colored' | 'mercadoPago32Colored' | 'microphone16' | 'microphone24' | 'mobile24' | 'mobileSignal24' | 'moneyBackGuarantee16' | 'moneyBackGuarantee24' | 'moneyBackGuaranteeFilled16Colored' | 'moneyBackGuaranteeFilled24Colored' | 'moneyStack16' | 'moneyStack24' | 'monthlyInvoice12Colored' | 'monthlyInvoice18Colored' | 'monthlyInvoice24Colored' | 'monthlyInvoice32Colored' | 'moon16' | 'moon20' | 'moon24' | 'motorcycle16' | 'motorcycle24' | 'mountain16' | 'mountain24' | 'move16' | 'move24' | 'nectarLogo24Colored' | 'negativeFilled16' | 'negativeFilled24' | 'neutral16' | 'neutral24' | 'nfc16' | 'nfc24' | 'nfcCard12Colored' | 'nfcCard18Colored' | 'nfcCard24Colored' | 'nfcCard32Colored' | 'noChildrenZeroThree48' | 'notification16' | 'notification20' | 'notification24' | 'notification64' | 'notificationFilled24' | 'outOfReach48' | 'overflowHorizontal16' | 'overflowHorizontal20' | 'overflowHorizontal24' | 'overflowVertical16' | 'overflowVertical20' | 'overflowVertical24' | 'package16' | 'package24' | 'package64' | 'packageError24' | 'panel16' | 'panel20' | 'panel24' | 'panelClose16' | 'panelClose20' | 'panelClose24' | 'panelCloseVertical16' | 'panelCloseVertical20' | 'panelCloseVertical24' | 'panelOpen16' | 'panelOpen20' | 'panelOpen24' | 'panelOpenVertical16' | 'panelOpenVertical20' | 'panelOpenVertical24' | 'passkey16' | 'passkey24' | 'passkey64' | 'pause16' | 'pause20' | 'pause24' | 'pauseFilled64Colored' | 'payoneer12Colored' | 'payoneer18Colored' | 'payoneer24Colored' | 'payoneer32Colored' | 'paypal12Colored' | 'paypal18Colored' | 'paypal24Colored' | 'paypal32Colored' | 'paypalCredit12Colored' | 'paypalCredit18Colored' | 'paypalCredit24Colored' | 'paypalCredit32Colored' | 'paypalDisabled12Colored' | 'paypalDisabled18Colored' | 'paypalDisabled24Colored' | 'paypalDisabled32Colored' | 'paypay12Colored' | 'paypay18Colored' | 'paypay24Colored' | 'paypay32Colored' | 'pencil16' | 'pencil20' | 'pencil24' | 'pencilSigned24' | 'people16' | 'people24' | 'peso16' | 'peso24' | 'phone16' | 'phone24' | 'pin24' | 'pinFilled24' | 'pinterest24' | 'play16' | 'play20' | 'play24' | 'playDisabled16' | 'playFilled16Colored' | 'playFilled24Colored' | 'playFilled64Colored' | 'postepay12Colored' | 'postepay18Colored' | 'postepay24Colored' | 'postepay32Colored' | 'pottedPlant16' | 'pottedPlant24' | 'pound16' | 'pound24' | 'print16' | 'print24' | 'profile16' | 'profile20' | 'profile24' | 'profileFilled24' | 'progressCurrent24' | 'progressUpcoming24' | 'promotion16' | 'promotion24' | 'psa16' | 'psa16Colored' | 'psaLogo16' | 'psaLogoColor16Colored' | 'psaVault16' | 'psaVault16Colored' | 'psaVault24' | 'psaVaultLogo16' | 'psaVaultLogoColor16Colored' | 'qrCode16' | 'qrCode24' | 'radioChecked18' | 'radioChecked24' | 'radioUnchecked18' | 'radioUnchecked24' | 'recoveryCode16' | 'recoveryCode24' | 'reddit24' | 'refresh16' | 'refresh20' | 'refresh24' | 'relaxedGrid24' | 'relaxedGridFilled24' | 'remove12' | 'remove16' | 'remove24' | 'reply16' | 'reply24' | 'return16' | 'return24' | 'ribbon16' | 'ribbon24' | 'rim16' | 'rim24' | 'ringgit16' | 'ringgit24' | 'rotate24' | 'rotateLandscapeLeft24' | 'rotateLandscapeRight24' | 'rotatePortraitLeft24' | 'rotatePortraitRight24' | 'ruler16' | 'ruler24' | 'rupee16' | 'rupee24' | 'satchel16' | 'satchel24' | 'scan16' | 'scan24' | 'search16' | 'search20' | 'search24' | 'search64' | 'searchFilled24' | 'searchSimilar16' | 'searchSimilar20' | 'searchSimilar24' | 'seasons16' | 'seasons24' | 'securityKey24' | 'selectAll24' | 'selling16' | 'selling20' | 'selling24' | 'sellingFilled24' | 'send24' | 'settings16' | 'settings20' | 'settings24' | 'shareAndroid16' | 'shareAndroid20' | 'shareAndroid24' | 'shareIos16' | 'shareIos20' | 'shareIos24' | 'sharpen24' | 'shipAndLocal16' | 'shipAndLocal24' | 'shirt16' | 'shirt24' | 'shoeBox24' | 'shovel16' | 'shovel24' | 'show16' | 'show24' | 'smallBox16' | 'smallBox24' | 'smallLetter24' | 'sneaker16' | 'sneaker24' | 'snowflake16' | 'snowflake24' | 'snowmobile16' | 'snowmobile24' | 'sort12' | 'sort16' | 'sort24' | 'sortDown12' | 'sortUp12' | 'sparklineDown16' | 'sparklineDown20' | 'sparklineDown24' | 'sparklineUp16' | 'sparklineUp20' | 'sparklineUp24' | 'sparklineUpFilled24' | 'speedometer16' | 'speedometer24' | 'spinner20' | 'spinner24' | 'spinner30' | 'splitPayment16' | 'splitPayment24' | 'splitView24' | 'splitViewFilled24' | 'springLeaf16' | 'springLeaf24' | 'starDynamic' | 'starEmpty16' | 'starEmpty24' | 'starEmpty40' | 'starFilled16' | 'starFilled24' | 'starFilled40' | 'starHalf16Colored' | 'starHalf24Colored' | 'starHalfDark16Colored' | 'starHalfDark24Colored' | 'starRating0' | 'starRating05' | 'starRating1' | 'starRating15' | 'starRating2' | 'starRating25' | 'starRating3' | 'starRating35' | 'starRating4' | 'starRating45' | 'starRating5' | 'starRatingSmall0' | 'starRatingSmall05' | 'starRatingSmall1' | 'starRatingSmall15' | 'starRatingSmall2' | 'starRatingSmall25' | 'starRatingSmall3' | 'starRatingSmall35' | 'starRatingSmall4' | 'starRatingSmall45' | 'starRatingSmall5' | 'stepperAttention24' | 'stepperConfirmation24' | 'stepperCurrent24' | 'stepperUpcoming24' | 'store16' | 'store24' | 'store64' | 'storeFilled24' | 'suitcase24' | 'support24' | 'swap16' | 'swap24' | 'switchCamera24' | 'target16' | 'target24' | 'textMessaging16' | 'textMessaging20' | 'textMessaging24' | 'textMessaging64' | 'textSize16' | 'textSize24' | 'theEbayVault16' | 'theEbayVault24' | 'thumbDown16' | 'thumbDown20' | 'thumbDown24' | 'thumbDownFilled16' | 'thumbDownFilled20' | 'thumbDownFilled24' | 'thumbUp16' | 'thumbUp20' | 'thumbUp24' | 'thumbUp64' | 'thumbUpFilled16' | 'thumbUpFilled20' | 'thumbUpFilled24' | 'tick16' | 'tick24' | 'tiktok24' | 'toggleModeBottom24' | 'toggleModeTop24' | 'topRatedPlus16' | 'topRatedPlus24' | 'topRatedSeller16' | 'topRatedSeller24' | 'topService16' | 'topService24' | 'topServiceFilled16Colored' | 'topServiceFilled24Colored' | 'tradingCard16' | 'tradingCard24' | 'tradingCardEdition24' | 'tradingCardGrade16' | 'tradingCardGrade24' | 'transaction24' | 'translate16' | 'translate20' | 'translate24' | 'trendDown16Fit' | 'trendUp16Fit' | 'trophy16' | 'trophy24' | 'truck16' | 'truck24' | 'truck64' | 'truckShipped16' | 'truckShipped24' | 'twitter24' | 'undo16' | 'undo24' | 'unionpay12Colored' | 'unionpay18Colored' | 'unionpay24Colored' | 'unionpay32Colored' | 'unlock16' | 'unlock24' | 'unselectAll24' | 'upload16' | 'upload24' | 'venmo12Colored' | 'venmo18Colored' | 'venmo24Colored' | 'venmo32Colored' | 'verifiedCondition16' | 'verifiedCondition24' | 'video24' | 'visa12Colored' | 'visa18Colored' | 'visa24Colored' | 'visa32Colored' | 'wallet24' | 'wallet64' | 'walletBalance12Colored' | 'walletBalance18Colored' | 'walletBalance24Colored' | 'walletBalance32Colored' | 'watch16' | 'watch24' | 'whatsapp24' | 'won16' | 'won24' | 'wrench16' | 'wrench24' | 'youtube24' | 'yuan16' | 'yuan24' | 'zloty16' | 'zloty24' | 'zoomIn16' | 'zoomIn24' | 'zoomOut16' | 'zoomOut24';
1
+ export type Icon = 'add12' | 'add16' | 'add24' | 'addImage24' | 'afterpay12Colored' | 'afterpay18Colored' | 'afterpay24Colored' | 'afterpay32Colored' | 'afterpayLogo24Colored' | 'ai16' | 'ai20' | 'ai24' | 'aiFilled16' | 'aiFilled20' | 'aiFilled24' | 'aiSearch16' | 'aiSearch20' | 'aiSearch24' | 'aiShirt16' | 'aiShirt20' | 'aiShirt24' | 'aiSpectrum16Colored' | 'aiSpectrum20Colored' | 'aiSpectrum24Colored' | 'aiSpectrumFilled16Colored' | 'aiSpectrumFilled20Colored' | 'aiSpectrumFilled24Colored' | 'aiSpectrumThin16Colored' | 'aiThin16' | 'aiTools16' | 'aiTools20' | 'aiTools24' | 'alipayCn12Colored' | 'alipayCn18Colored' | 'alipayCn24Colored' | 'alipayCn32Colored' | 'alipayHk12Colored' | 'alipayHk18Colored' | 'alipayHk24Colored' | 'alipayHk32Colored' | 'amex12Colored' | 'amex18Colored' | 'amex24Colored' | 'amex32Colored' | 'apple24' | 'appleMusic24Colored' | 'applePay12Colored' | 'applePay18Colored' | 'applePay24Colored' | 'applePay32Colored' | 'archive16' | 'archive24' | 'arrowLeft12' | 'arrowLeft16' | 'arrowLeft20' | 'arrowLeft24' | 'arrowRight12' | 'arrowRight16' | 'arrowRight20' | 'arrowRight24' | 'arrows3d16' | 'arrows3d24' | 'arrows3dFilled64Colored' | 'arrowsExpand16' | 'arrowsExpand24' | 'article16' | 'article24' | 'attention16' | 'attention24' | 'attention64' | 'attentionFilled16' | 'attentionFilled24' | 'atv16' | 'atv24' | 'audioHigh16' | 'audioHigh20' | 'audioHigh24' | 'audioLow16' | 'audioOff16' | 'audioOff20' | 'audioOff24' | 'authenticityGuarantee16' | 'authenticityGuarantee24' | 'authenticityGuaranteeFilled16Colored' | 'authenticityGuaranteeFilled24Colored' | 'autoAdjust24' | 'avatarSignedOut' | 'backgroundRemoval16' | 'backgroundRemoval24' | 'bancontact12Colored' | 'bancontact18Colored' | 'bancontact24Colored' | 'bancontact32Colored' | 'bank16' | 'bank24' | 'bank64' | 'bankAccount12Colored' | 'bankAccount18Colored' | 'bankAccount24Colored' | 'bankAccount32Colored' | 'bankGroupLogo24Colored' | 'barChart16' | 'barChart24' | 'bids16' | 'bids24' | 'bids64' | 'boat16' | 'boat24' | 'book16' | 'book24' | 'bookmark16' | 'bookmark24' | 'bookmarkFilled16' | 'bookmarkFilled24' | 'brandAuthorizedSeller16' | 'brandAuthorizedSeller24' | 'brightness16' | 'brightness20' | 'brightness24' | 'calendar16' | 'calendar24' | 'calendar64' | 'camera16' | 'camera24' | 'camera64' | 'car16' | 'car24' | 'carBrake16' | 'carBrake24' | 'cardStack64' | 'carnet12Colored' | 'carnet18Colored' | 'carnet24Colored' | 'carnet32Colored' | 'carryon24' | 'cart16' | 'cart20' | 'cart24' | 'cart64' | 'cartAdd16' | 'cartAdd20' | 'cartAdd24' | 'cashapp12Colored' | 'cashapp18Colored' | 'cashapp24Colored' | 'cashapp32Colored' | 'categories16' | 'categories24' | 'cb12Colored' | 'cb18Colored' | 'cb24Colored' | 'cb32Colored' | 'ccdChargerIncluded' | 'ccdChargerNotIncluded' | 'ccdTop' | 'certifiedRecycled16' | 'certifiedRecycled24' | 'chair16' | 'chair24' | 'chat16' | 'chat24' | 'chat64' | 'checkIn24' | 'checkboxChecked18' | 'checkboxChecked24' | 'checkboxMixed18' | 'checkboxMixed24' | 'checkboxUnchecked18' | 'checkboxUnchecked24' | 'checkmark24' | 'chevronDown12' | 'chevronDown16' | 'chevronDown20' | 'chevronDown24' | 'chevronLeft12' | 'chevronLeft16' | 'chevronLeft20' | 'chevronLeft24' | 'chevronRight12' | 'chevronRight16' | 'chevronRight20' | 'chevronRight24' | 'chevronUp12' | 'chevronUp16' | 'chevronUp20' | 'chevronUp24' | 'chineseCoin16' | 'chineseCoin24' | 'clear16' | 'clear20' | 'clear24' | 'clickToCall16' | 'clickToCall24' | 'clock16' | 'clock24' | 'clock64' | 'clockFast16' | 'clockFast24' | 'close12' | 'close16' | 'close20' | 'close24' | 'closedCaption16' | 'closedCaptionFilled16' | 'coin24' | 'coinBattery48' | 'collections16' | 'collections24' | 'condensedGrid24' | 'condensedGridFilled24' | 'confirmation16' | 'confirmation24' | 'confirmation64' | 'confirmationFilled12' | 'confirmationFilled16' | 'confirmationFilled24' | 'contract16' | 'contrast24' | 'copy16' | 'copy24' | 'coupon16' | 'coupon24' | 'creditCard16' | 'creditCard20' | 'creditCard24' | 'creditCard64' | 'creditCardCvvBack20' | 'creditCardCvvBack24' | 'creditCardCvvFront20' | 'creditCardCvvFront24' | 'crop24' | 'customize16' | 'customize24' | 'delete16' | 'delete20' | 'delete24' | 'densityCompact16' | 'densityCompact24' | 'densityDefault16' | 'densityDefault24' | 'densityRelaxed16' | 'densityRelaxed24' | 'densityRowCompact16' | 'densityRowCompact24' | 'densityRowRelaxed16' | 'densityRowRelaxed24' | 'diamond16' | 'diamond24' | 'diners12Colored' | 'diners18Colored' | 'diners24Colored' | 'diners32Colored' | 'directDebit12Colored' | 'directDebit18Colored' | 'directDebit24Colored' | 'directDebit32Colored' | 'directFromBrand16' | 'directFromBrand24' | 'discord24' | 'discount16' | 'discount24' | 'discountAuto16' | 'discountAuto24' | 'discover12Colored' | 'discover18Colored' | 'discover24Colored' | 'discover32Colored' | 'dollar16' | 'dollar24' | 'dollarOff24' | 'download16' | 'download20' | 'download24' | 'dragDrop16' | 'dragDrop24' | 'ebayBalance12Colored' | 'ebayBalance18Colored' | 'ebayBalance24Colored' | 'ebayBalance32Colored' | 'ebayBucksLogo16Colored' | 'ebayForCharity16' | 'ebayForCharity24' | 'ebayInternationalShipping16' | 'ebayInternationalShipping24' | 'ebayInternationalShipping64' | 'ebayLive16' | 'ebayLive24' | 'ebayLogo16Colored' | 'ebayMastercard12Colored' | 'ebayMastercard18Colored' | 'ebayMastercard24Colored' | 'ebayMastercard32Colored' | 'ebayMoneyBackGuaranteeLogo16Colored' | 'ebayPlus16' | 'ebayPlus24' | 'ebayPlusLogo16Colored' | 'ebayPlusLogoDark16Colored' | 'ebayPreloved16' | 'ebayPreloved24' | 'ebayRefurbished16' | 'ebayRefurbished24' | 'eekArrow' | 'eekRangeArrow' | 'eftpos12Colored' | 'eftpos18Colored' | 'eftpos24Colored' | 'eftpos32Colored' | 'elo12Colored' | 'elo18Colored' | 'elo24Colored' | 'elo32Colored' | 'escrowCard12Colored' | 'escrowCard18Colored' | 'escrowCard24Colored' | 'escrowCard32Colored' | 'euro16' | 'euro24' | 'europeanConformity48' | 'exclude16' | 'exclude24' | 'exclude64' | 'expand16' | 'explore16' | 'explore24' | 'externalLink16' | 'externalLink20' | 'externalLink24' | 'eye16' | 'eye24' | 'faceHappiest24' | 'faceHappy16' | 'faceHappy24' | 'faceNeutral24' | 'faceSad24' | 'faceSaddest24' | 'facebook24' | 'facebookMessenger24' | 'fallLeaf16' | 'fallLeaf24' | 'feedback16' | 'feedback20' | 'feedback24' | 'feedbackError16' | 'feedbackError24' | 'feedbackNegative16' | 'feedbackNeutral16' | 'feedbackPositive16' | 'feedbackReceived16' | 'feedbackReceived24' | 'file16' | 'file24' | 'filter16' | 'filter24' | 'fingerprint24' | 'fingerprint64' | 'flag16' | 'flag24' | 'flagFilled16' | 'flagFilled24' | 'flash24' | 'flashAuto24' | 'flashOff24' | 'folder16' | 'folder24' | 'folderAdd16' | 'folderAdd24' | 'forklift16' | 'forklift24' | 'franc16' | 'franc24' | 'freeWarranty16' | 'freeWarranty24' | 'fullView16' | 'fullView24' | 'fullViewFilled16' | 'fullViewFilled24' | 'gallery16' | 'gallery24' | 'generalCard12Colored' | 'generalCard18Colored' | 'generalCard24Colored' | 'generalCard32Colored' | 'genericCard12Colored' | 'genericCard18Colored' | 'genericCard24Colored' | 'genericCard32Colored' | 'gift16' | 'gift24' | 'gift64' | 'giftCard12Colored' | 'giftCard18Colored' | 'giftCard24Colored' | 'giftCard32Colored' | 'girocard12Colored' | 'girocard18Colored' | 'girocard24Colored' | 'girocard32Colored' | 'glasses24' | 'glasses64' | 'google24' | 'googlePay12Colored' | 'googlePay18Colored' | 'googlePay24Colored' | 'googlePay32Colored' | 'graph16' | 'graph24' | 'graph64' | 'graphDynamic16' | 'graphDynamic24' | 'gridView16' | 'gridView24' | 'gridViewFilled16' | 'gridViewFilled24' | 'handSwipe40' | 'handbag16' | 'handbag24' | 'hanger16' | 'hanger24' | 'headlight16' | 'headlight24' | 'headphone16' | 'headphone24' | 'heart16' | 'heart20' | 'heart24' | 'heartFilled16' | 'heartFilled20' | 'heartFilled24' | 'help16' | 'help20' | 'help24' | 'helpOutline16' | 'helpOutline20' | 'helpOutline24' | 'hide16' | 'hide24' | 'history16' | 'history24' | 'history64' | 'home24' | 'homeFilled24' | 'image16' | 'image24' | 'image64' | 'imagePlaceholder' | 'inbox16' | 'inbox24' | 'information16' | 'information20' | 'information24' | 'informationFilled16' | 'informationFilled20' | 'informationFilled24' | 'inspect16' | 'inspect24' | 'inspect64' | 'instagram24' | 'interac12Colored' | 'interac18Colored' | 'interac24Colored' | 'interac32Colored' | 'itemList16' | 'itemList20' | 'itemList24' | 'jcb12Colored' | 'jcb18Colored' | 'jcb24Colored' | 'jcb32Colored' | 'jetSki16' | 'jetSki24' | 'kakaoPay12Colored' | 'kakaoPay18Colored' | 'kakaoPay24Colored' | 'kakaoPay32Colored' | 'key16' | 'key24' | 'keyboard16' | 'keyboard24' | 'klarnaBlack12Colored' | 'klarnaBlack18Colored' | 'klarnaBlack24Colored' | 'klarnaBlack32Colored' | 'klarnaPink12Colored' | 'klarnaPink18Colored' | 'klarnaPink24Colored' | 'klarnaPink32Colored' | 'klarnaWhite12Colored' | 'klarnaWhite18Colored' | 'klarnaWhite24Colored' | 'klarnaWhite32Colored' | 'krona16' | 'krona24' | 'lamp16' | 'lamp24' | 'largeBox16' | 'largeBox24' | 'legacyAuthenticityGuarantee48Colored' | 'legacyClickToCall48Colored' | 'legacyEscrow48Colored' | 'legacyFreeWarranty48Colored' | 'legacyMoneyBackGuaranteeChf48Colored' | 'legacyMoneyBackGuaranteeEu48Colored' | 'legacyMoneyBackGuaranteeUk48Colored' | 'legacyMoneyBackGuaranteeUs48Colored' | 'legacyMoneyBackGuaranteeZl48Colored' | 'legacyTopRatedSeller48Colored' | 'lightbulb16' | 'lightbulb24' | 'lightningBolt16' | 'lightningBolt24' | 'link24' | 'linkedin24' | 'listView16' | 'listView24' | 'listViewFilled16' | 'listViewFilled24' | 'liveBag16' | 'liveBag20' | 'liveBag24' | 'liveBagThin16' | 'liveBroadcast20' | 'liveBroadcast24' | 'liveBroadcastThin16' | 'liveEye16' | 'liveEye24' | 'location16' | 'location24' | 'location64' | 'locationArrow16' | 'locationArrow24' | 'lock16' | 'lock24' | 'lockFilled16' | 'lockFilled20' | 'lockFilled24' | 'maestro12Colored' | 'maestro18Colored' | 'maestro24Colored' | 'maestro32Colored' | 'mail16' | 'mail20' | 'mail24' | 'mail64' | 'mailMove16' | 'mailMove24' | 'mailOpen16' | 'mailOpen24' | 'mailUnread16' | 'mailUnread24' | 'map16' | 'map20' | 'map24' | 'masonryView16' | 'masonryView24' | 'masonryViewFilled16' | 'masonryViewFilled24' | 'mastercard12Colored' | 'mastercard18Colored' | 'mastercard24Colored' | 'mastercard32Colored' | 'mediumBox16' | 'mediumBox24' | 'megaphone16' | 'megaphone24' | 'menu16' | 'menu20' | 'menu24' | 'mercadoPago12Colored' | 'mercadoPago18Colored' | 'mercadoPago24Colored' | 'mercadoPago32Colored' | 'microphone16' | 'microphone24' | 'mobile24' | 'mobileSignal24' | 'moneyBackGuarantee16' | 'moneyBackGuarantee24' | 'moneyBackGuaranteeFilled16Colored' | 'moneyBackGuaranteeFilled24Colored' | 'moneyStack16' | 'moneyStack24' | 'monthlyInvoice12Colored' | 'monthlyInvoice18Colored' | 'monthlyInvoice24Colored' | 'monthlyInvoice32Colored' | 'moon16' | 'moon20' | 'moon24' | 'motorcycle16' | 'motorcycle24' | 'mountain16' | 'mountain24' | 'move16' | 'move24' | 'nectarLogo24Colored' | 'negativeFilled16' | 'negativeFilled24' | 'neutral16' | 'neutral24' | 'nfc16' | 'nfc24' | 'nfcCard12Colored' | 'nfcCard18Colored' | 'nfcCard24Colored' | 'nfcCard32Colored' | 'noChildrenZeroThree48' | 'note16' | 'note24' | 'notification16' | 'notification20' | 'notification24' | 'notification64' | 'notificationFilled16' | 'notificationFilled20' | 'notificationFilled24' | 'outOfReach48' | 'overflowHorizontal16' | 'overflowHorizontal20' | 'overflowHorizontal24' | 'overflowVertical16' | 'overflowVertical20' | 'overflowVertical24' | 'package16' | 'package24' | 'package64' | 'packageError24' | 'panel16' | 'panel20' | 'panel24' | 'panelClose16' | 'panelClose20' | 'panelClose24' | 'panelCloseVertical16' | 'panelCloseVertical20' | 'panelCloseVertical24' | 'panelOpen16' | 'panelOpen20' | 'panelOpen24' | 'panelOpenVertical16' | 'panelOpenVertical20' | 'panelOpenVertical24' | 'passkey16' | 'passkey24' | 'passkey64' | 'pause16' | 'pause20' | 'pause24' | 'pauseFilled64Colored' | 'payByBank12Colored' | 'payByBank18Colored' | 'payByBank24Colored' | 'payByBank32Colored' | 'payoneer12Colored' | 'payoneer18Colored' | 'payoneer24Colored' | 'payoneer32Colored' | 'payout16' | 'payout24' | 'paypal12Colored' | 'paypal18Colored' | 'paypal24Colored' | 'paypal32Colored' | 'paypalCredit12Colored' | 'paypalCredit18Colored' | 'paypalCredit24Colored' | 'paypalCredit32Colored' | 'paypalDisabled12Colored' | 'paypalDisabled18Colored' | 'paypalDisabled24Colored' | 'paypalDisabled32Colored' | 'paypay12Colored' | 'paypay18Colored' | 'paypay24Colored' | 'paypay32Colored' | 'pencil16' | 'pencil20' | 'pencil24' | 'pencilSigned24' | 'people16' | 'people24' | 'peso16' | 'peso24' | 'phone16' | 'phone24' | 'pin24' | 'pinFilled24' | 'pinterest24' | 'play16' | 'play20' | 'play24' | 'playDisabled16' | 'playFilled16Colored' | 'playFilled24Colored' | 'playFilled64Colored' | 'postepay12Colored' | 'postepay18Colored' | 'postepay24Colored' | 'postepay32Colored' | 'pottedPlant16' | 'pottedPlant24' | 'pound16' | 'pound24' | 'print16' | 'print24' | 'profile16' | 'profile20' | 'profile24' | 'profileFilled24' | 'progressCurrent24' | 'progressUpcoming24' | 'promotion16' | 'promotion24' | 'psa16' | 'psa16Colored' | 'psaLogo16' | 'psaLogoColor16Colored' | 'psaVault16' | 'psaVault16Colored' | 'psaVault24' | 'psaVaultLogo16' | 'psaVaultLogoColor16Colored' | 'qrCode16' | 'qrCode24' | 'radioChecked18' | 'radioChecked24' | 'radioUnchecked18' | 'radioUnchecked24' | 'recoveryCode16' | 'recoveryCode24' | 'reddit24' | 'refresh16' | 'refresh20' | 'refresh24' | 'relaxedGrid24' | 'relaxedGridFilled24' | 'remove12' | 'remove16' | 'remove24' | 'reply16' | 'reply24' | 'return16' | 'return24' | 'ribbon16' | 'ribbon24' | 'rim16' | 'rim24' | 'ringgit16' | 'ringgit24' | 'rotate24' | 'rotateLandscapeLeft24' | 'rotateLandscapeRight24' | 'rotatePortraitLeft24' | 'rotatePortraitRight24' | 'ruler16' | 'ruler24' | 'rupee16' | 'rupee24' | 'satchel16' | 'satchel24' | 'scan16' | 'scan24' | 'search16' | 'search20' | 'search24' | 'search64' | 'searchFilled24' | 'searchSimilar16' | 'searchSimilar20' | 'searchSimilar24' | 'seasons16' | 'seasons24' | 'securePurchase16' | 'securePurchase24' | 'securityKey24' | 'selectAll24' | 'selling16' | 'selling20' | 'selling24' | 'sellingFilled24' | 'send24' | 'settings16' | 'settings20' | 'settings24' | 'shareAndroid16' | 'shareAndroid20' | 'shareAndroid24' | 'shareIos16' | 'shareIos20' | 'shareIos24' | 'sharpen24' | 'shipAndLocal16' | 'shipAndLocal24' | 'shirt16' | 'shirt24' | 'shoeBox24' | 'shoppingEvent16' | 'shoppingEvent24' | 'shovel16' | 'shovel24' | 'show16' | 'show24' | 'smallBox16' | 'smallBox24' | 'smallLetter24' | 'sneaker16' | 'sneaker24' | 'snowflake16' | 'snowflake24' | 'snowmobile16' | 'snowmobile24' | 'sort12' | 'sort16' | 'sort24' | 'sortDown12' | 'sortUp12' | 'sparklineDown16' | 'sparklineDown20' | 'sparklineDown24' | 'sparklineUp16' | 'sparklineUp20' | 'sparklineUp24' | 'sparklineUpFilled24' | 'speedometer16' | 'speedometer24' | 'spinner20' | 'spinner24' | 'spinner30' | 'splitPayment16' | 'splitPayment24' | 'splitView24' | 'splitViewFilled24' | 'springLeaf16' | 'springLeaf24' | 'starDynamic' | 'starEmpty16' | 'starEmpty24' | 'starEmpty40' | 'starFilled16' | 'starFilled24' | 'starFilled40' | 'starHalf16Colored' | 'starHalf24Colored' | 'starHalfDark16Colored' | 'starHalfDark24Colored' | 'starRating0' | 'starRating05' | 'starRating1' | 'starRating15' | 'starRating2' | 'starRating25' | 'starRating3' | 'starRating35' | 'starRating4' | 'starRating45' | 'starRating5' | 'starRatingSmall0' | 'starRatingSmall05' | 'starRatingSmall1' | 'starRatingSmall15' | 'starRatingSmall2' | 'starRatingSmall25' | 'starRatingSmall3' | 'starRatingSmall35' | 'starRatingSmall4' | 'starRatingSmall45' | 'starRatingSmall5' | 'stepperAttention24' | 'stepperConfirmation24' | 'stepperCurrent24' | 'stepperUpcoming24' | 'store16' | 'store24' | 'store64' | 'storeFilled24' | 'suitcase24' | 'support24' | 'swap16' | 'swap24' | 'switchCamera24' | 'target16' | 'target24' | 'textMessaging16' | 'textMessaging20' | 'textMessaging24' | 'textMessaging64' | 'textSize16' | 'textSize24' | 'theEbayVault16' | 'theEbayVault24' | 'thumbDown16' | 'thumbDown20' | 'thumbDown24' | 'thumbDownFilled16' | 'thumbDownFilled20' | 'thumbDownFilled24' | 'thumbUp16' | 'thumbUp20' | 'thumbUp24' | 'thumbUp64' | 'thumbUpFilled16' | 'thumbUpFilled20' | 'thumbUpFilled24' | 'tick16' | 'tick24' | 'tiktok24' | 'toggleModeBottom24' | 'toggleModeTop24' | 'topRatedPlus16' | 'topRatedPlus24' | 'topRatedSeller16' | 'topRatedSeller24' | 'topService16' | 'topService24' | 'topServiceFilled16Colored' | 'topServiceFilled24Colored' | 'tradingCard16' | 'tradingCard24' | 'tradingCardEdition24' | 'tradingCardGrade16' | 'tradingCardGrade24' | 'transaction24' | 'translate16' | 'translate20' | 'translate24' | 'trendDown16Fit' | 'trendUp16Fit' | 'trophy16' | 'trophy24' | 'truck16' | 'truck24' | 'truck64' | 'truckShipped16' | 'truckShipped24' | 'twitter24' | 'undo16' | 'undo24' | 'unionpay12Colored' | 'unionpay18Colored' | 'unionpay24Colored' | 'unionpay32Colored' | 'unlock16' | 'unlock24' | 'unselectAll24' | 'upload16' | 'upload24' | 'venmo12Colored' | 'venmo18Colored' | 'venmo24Colored' | 'venmo32Colored' | 'verifiedCondition16' | 'verifiedCondition24' | 'video24' | 'visa12Colored' | 'visa18Colored' | 'visa24Colored' | 'visa32Colored' | 'wallet16' | 'wallet24' | 'wallet64' | 'walletBalance12Colored' | 'walletBalance18Colored' | 'walletBalance24Colored' | 'walletBalance32Colored' | 'watch16' | 'watch24' | 'whatsapp24' | 'won16' | 'won24' | 'wrench16' | 'wrench24' | 'youtube24' | 'yuan16' | 'yuan24' | 'zipPay12Colored' | 'zipPay18Colored' | 'zipPay24Colored' | 'zipPay32Colored' | 'zloty16' | 'zloty24' | 'zoomIn16' | 'zoomIn24' | 'zoomOut16' | 'zoomOut24';
2
2
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-icon/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,IAAI,GACZ,OAAO,GACP,OAAO,GACP,OAAO,GACP,YAAY,GACZ,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,MAAM,GACN,MAAM,GACN,MAAM,GACN,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,qBAAqB,GACrB,qBAAqB,GACrB,qBAAqB,GACrB,2BAA2B,GAC3B,2BAA2B,GAC3B,2BAA2B,GAC3B,yBAAyB,GACzB,UAAU,GACV,WAAW,GACX,WAAW,GACX,WAAW,GACX,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,GACf,eAAe,GACf,eAAe,GACf,eAAe,GACf,SAAS,GACT,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,WAAW,GACX,WAAW,GACX,aAAa,GACb,aAAa,GACb,aAAa,GACb,aAAa,GACb,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,yBAAyB,GACzB,gBAAgB,GAChB,gBAAgB,GAChB,WAAW,GACX,WAAW,GACX,aAAa,GACb,aAAa,GACb,aAAa,GACb,mBAAmB,GACnB,mBAAmB,GACnB,OAAO,GACP,OAAO,GACP,aAAa,GACb,aAAa,GACb,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,yBAAyB,GACzB,yBAAyB,GACzB,sCAAsC,GACtC,sCAAsC,GACtC,cAAc,GACd,iBAAiB,G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ACX,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,oBAAoB,GACpB,iBAAiB,GACjB,gBAAgB,GAChB,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,cAAc,GACd,2BAA2B,GAC3B,2BAA2B,GAC3B,eAAe,GACf,eAAe,GACf,sBAAsB,GACtB,oBAAoB,GACpB,oBAAoB,GACpB,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,UAAU,GACV,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,GACT,gBAAgB,GAChB,gBAAgB,GAChB,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,UAAU,GACV,UAAU,GACV,eAAe,GACf,UAAU,GACV,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,qBAAqB,GACrB,qBAAqB,GACrB,SAAS,GACT,eAAe,GACf,eAAe,GACf,eAAe,GACf,eAAe,GACf,UAAU,GACV,UAAU,GACV,wBAAwB,GACxB,wBAAwB,GACxB,wBAAwB,GACxB,wBAAwB,GACxB,SAAS,GACT,SAAS,GACT,YAAY,GACZ,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-icon/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,IAAI,GACZ,OAAO,GACP,OAAO,GACP,OAAO,GACP,YAAY,GACZ,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,uBAAuB,GACvB,MAAM,GACN,MAAM,GACN,MAA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AmB,GACnB,mBAAmB,GACnB,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,oBAAoB,GACpB,iBAAiB,GACjB,gBAAgB,GAChB,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,cAAc,GACd,2BAA2B,GAC3B,2BAA2B,GAC3B,eAAe,GACf,eAAe,GACf,sBAAsB,GACtB,oBAAoB,GACpB,oBAAoB,GACpB,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,UAAU,GACV,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,GACT,gBAAgB,GAChB,gBAAgB,GAChB,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,UAAU,GACV,UAAU,GACV,eAAe,GACf,UAAU,GACV,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,qBAAqB,GACrB,qBAAqB,GACrB,SAAS,GACT,eAAe,GACf,eAAe,GACf,eAAe,GACf,eAAe,GACf,UAAU,GACV,UAAU,GACV,UAAU,GACV,wBAAwB,GACxB,wBAAwB,GACxB,wBAAwB,GACxB,wBAAwB,GACxB,SAAS,GACT,SAAS,GACT,YAAY,GACZ,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,SAAS,GACT,SAAS,GACT,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,CAAA"}
@@ -1,2 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("../tslib.es6-C4EgNkz1.js"),n=require("react"),N=require("classnames"),$=require("../icon-CR8ApQBy.js"),ve=require("../utils-C9NL3q0j.js"),xe=require("../dropdown-B2vObM4k.js"),V=u=>{var{value:p,children:v,selected:x,onClick:b,index:g,innerRef:E,className:y}=u,O=U.__rest(u,["value","children","selected","onClick","index","innerRef","className"]);const k=N("listbox-button__option",y,{"listbox-button__option--active":x});return n.createElement("div",Object.assign({},O,{className:k,role:"option","aria-selected":x,ref:E,onClick:d=>{b(d,p,g)}}),n.createElement("span",{className:"listbox-button__value"},v),n.createElement($.EbayIcon,{name:"tick16"}))},ge=u=>{var p,{children:v,name:x,value:b,selected:g,borderless:E,fluid:y,className:O,maxHeight:k,prefixId:d,prefixLabel:S,floatingLabel:_,unselectedText:W="-",onChange:L=()=>{},onCollapse:z=()=>{},onExpand:G=()=>{}}=u,J=U.__rest(u,["children","name","value","selected","borderless","fluid","className","maxHeight","prefixId","prefixLabel","floatingLabel","unselectedText","onChange","onCollapse","onExpand"]);const i=n.useRef(null),C=n.useRef(new Map),l=ve.filterByType(v,V);if(!l.length)throw new Error(`EbayListboxButton: Please use a
2
- EbayListboxButtonOption that defines the options of the listbox`);const Q=()=>{const e=g!==void 0?g:l.findIndex(({props:s})=>b!==void 0&&s.value===b),t=e>-1||_?e:void 0;return{option:l[t],index:t}},{option:T,index:D}=Q(),[a,f]=n.useState(T),[o,I]=n.useState(D),[m,R]=n.useState(),[X,Y]=n.useState(!1),[H,A]=n.useState(),{overlayStyles:Z,refs:h}=xe.useFloatingDropdown({open:m}),w=h.host,ee=h.overlay;n.useEffect(()=>{f(T)},[b]);const c=n.Children.toArray(v),q=e=>c[e].props.value,te=n.useCallback(e=>c.findIndex(({props:t})=>t.value===e),[c]),ne=e=>C.current.get(e),r=()=>{R(!1),z()},oe=()=>{R(!0),G()},se=()=>{m?r():oe()},j=(e,t)=>{f(c[t]),I(t),r(),w.current.focus(),L(e,{index:t,selected:[String(q(t))],wasClicked:H}),A(!1)},ae=()=>{r(),f(c[D])},le=e=>{const t=i.current.children[e];t.setAttribute("aria-selected","true"),t.classList.add("listbox-button__option--active")},ce=e=>{const t=i.current.children[e];t.setAttribute("aria-selected","false"),t.classList.remove("listbox-button__option--active")},ie=e=>{const t=ee.current,s=ne(e);if(t.scrollHeight>t.clientHeight){const me=t.clientHeight+t.scrollTop,M=s.offsetTop+s.offsetHeight;M>me?t.scrollTop=M-t.clientHeight:s.offsetTop<t.scrollTop&&(t.scrollTop=s.offsetTop)}},P=e=>{le(o===void 0||e===-1?0:e),ce(o===void 0||o===-1?0:o),ie(e),I(e),f(c[e])},F=e=>setTimeout(()=>{var t;return(t=i?.current)===null||t===void 0?void 0:t.focus(e)},0),re=()=>{se(),F({preventScroll:!0})},ue=e=>{switch(e.key){case"Escape":r();break;case"Enter":F();break}},pe=e=>{switch(e.key){case" ":case"PageUp":case"PageDown":case"Home":case"End":e.preventDefault();break;case"Down":case"ArrowDown":e.preventDefault(),o!==l.length-1&&P(o<l.length-1?o+1:0);break;case"Up":case"ArrowUp":e.preventDefault(),o!==0&&P(o>0?o-1:l.length-1);break;case"Enter":r(),setTimeout(()=>f(c[o])),setTimeout(()=>w.current.focus(),0),L(e,{index:o,selected:[String(q(o))],wasClicked:H});break;case"Esc":case"Escape":ae();break}},B=l.map((e,t)=>n.cloneElement(e,{index:t,key:t,selected:a&&e.props.value===a.props.value,id:e.props.id||`listbox_btn_${e.props.value}_${t}`,onClick:s=>j(s,t),innerRef:s=>{s?C.current.set(t,s):C.current.delete(t)}})),be=N("listbox-button",O,{"listbox-button--fluid":y}),de=N("btn",{"btn--form":!E,"btn--borderless":E,"btn--floating-label":_&&a}),K=d&&"expand-btn-text",fe=n.createElement(n.Fragment,null,_&&n.createElement("span",{className:"btn__floating-label"},_),S&&n.createElement("span",{className:"btn__label"},S),n.createElement("span",{className:"btn__text",id:K},a?.props.children||W));return n.createElement("span",{className:be},n.createElement("button",Object.assign({},J,{onFocus:()=>Y(!0),type:"button",className:de,"aria-expanded":!!m,"aria-haspopup":"listbox","aria-labelledby":d&&`${d} ${K}`,onClick:re,onMouseDown:e=>e.preventDefault(),onKeyUp:ue,ref:h.setHost}),n.createElement("span",{className:"btn__cell"},fe,n.createElement($.EbayIcon,{name:"chevronDown12"}))),(m||X)&&n.createElement("div",{className:"listbox-button__listbox",ref:h.setOverlay,style:Object.assign(Object.assign({},Z),{maxHeight:k})},n.createElement("div",{className:"listbox-button__options",role:"listbox",tabIndex:m?0:-1,ref:i,"aria-activedescendant":(p=B[o])===null||p===void 0?void 0:p.props.id,onKeyDown:e=>pe(e),onMouseDown:e=>{e.preventDefault(),A(!0)},onBlur:()=>{r(),setTimeout(()=>w.current.focus(),0)}},B)),n.createElement("select",{hidden:!0,className:"listbox-button__native",name:x,onChange:e=>j(e,te(e.target.value)),value:a?a?.props.value:""},B.map((e,t)=>n.createElement("option",{value:e.props.value,key:t}))))};exports.EbayListboxButton=ge;exports.EbayListboxButtonOption=V;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../listbox-button-rlxnsga8.js");exports.EbayListboxButton=t.ListboxButton;exports.EbayListboxButtonOption=t.ListboxOption;
@@ -1,7 +1,8 @@
1
- import { ComponentProps, FC, MouseEvent, RefCallback, RefObject } from "react";
1
+ import { ComponentProps, FC, MouseEvent, ReactNode, RefCallback, RefObject } from "react";
2
2
  export type EbayListboxButtonOptionProps = ComponentProps<"input"> & {
3
3
  selected?: boolean;
4
4
  index?: number;
5
+ icon?: ReactNode;
5
6
  onClick?: (event: MouseEvent<HTMLDivElement>, value: ComponentProps<"input">["value"], index: number) => void;
6
7
  innerRef?: RefObject<HTMLDivElement> | RefCallback<HTMLDivElement>;
7
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"listbox-button-option.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox-button/listbox-button-option.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAItF,MAA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@@ export type EbayListboxButtonProps = Omit<ComponentProps<"button">, "onChange">
13
13
  prefixId?: string;
14
14
  prefixLabel?: string;
15
15
  floatingLabel?: string;
16
+ split?: "none" | "start" | "end";
16
17
  unselectedText?: string;
17
18
  onChange?: EbayChangeEventHandler<HTMLButtonElement, ChangeEventProps>;
18
19
  onCollapse?: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"listbox-button.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox-button/listbox-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAMV,cAAc,EACd,EAAE,EAKL,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,sBAAsB,EAAO,MAAM,6BAA6B,CAAC;AAK1E,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,GAAG;IAC9E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,sBAAsB,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC;IACvE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,sBAAsB,CAuS7C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"listbox-button.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox-button/listbox-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAMV,cAAc,EACd,EAAE,EAKL,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,sBAAsB,EAAO,MAAM,6BAA6B,CAAC;AAK1E,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,GAAG;IAC9E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,sBAAsB,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC;IACvE,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,sBAAsB,CA2S7C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("../tslib.es6-C4EgNkz1.js"),t=require("react"),S=require("classnames"),b=require("../textbox-bggbXBGB.js"),v=require("../icon-button-B1aE4GTn.js"),j=p=>{const{className:E="",value:s=1,min:u=1,max:r=1/0,label:y="",a11yDeleteText:o="",onChange:h=()=>{},onInputChange:N=()=>{},onFocus:f=()=>{},onBlur:C=()=>{},onKeyDown:D=()=>{},onKeyPress:K=()=>{},onKeyUp:g=()=>{},onDeleteClick:w=()=>{},onIncrement:B=()=>{},onDecrement:_=()=>{}}=p,c=R.__rest(p,["className","value","min","max","label","a11yDeleteText","onChange","onInputChange","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","onDeleteClick","onIncrement","onDecrement"]),k=o?1:0,[a,i]=t.useState(s??k),m=t.useRef(null),d=(n,e=0)=>{const M=o?1:0;let l=parseInt(n,10)+e;return isNaN(l)?l=M:l>r?l=r:l<u&&(l=u),l},I=n=>{if(!m.current)return;const e=m.current;e.classList.remove("number-input--increment"),e.classList.remove("number-input--decrement"),e.classList.remove("number-input--increment-disabled"),e.classList.remove("number-input--decrement-disabled"),e.offsetWidth,e.classList.add(`number-input--${n}`)},P=n=>{const e=d(a,1);I(e>=r?"increment-disabled":"increment"),i(e),B(n,{value:e}),h(n,{value:e})},T=n=>{const e=d(a,-1);I(e<=u?"decrement-disabled":"decrement"),i(e),_(n,{value:e}),h(n,{value:e})},x=n=>{const e=d(n.target.value,0);i(e),N(n,{value:e})},V=(n,e)=>{f(n,{value:Number(e.value)})},q=(n,e)=>{C(n,{value:Number(e.value)})},F=(n,e)=>{D(n,{value:Number(e.value)})},L=(n,e)=>{K(n,{value:Number(e.value)})},U=(n,e)=>{g(n,{value:Number(e.value)})},z=n=>{w(n,{value:a})};return t.createElement("span",{ref:m,className:S("number-input",o&&a===1&&"number-input--show-delete",E)},t.createElement(b.EbayTextbox,{max:r,min:u,onBlur:q,onChange:x,onFocus:V,onInputChange:x,onKeyDown:F,onKeyPress:L,onKeyUp:U,type:"number",value:a},t.createElement(b.EbayTextboxPrefixIcon,null,y&&t.createElement("label",{htmlFor:c?.id||"number-input"},y),t.createElement(v.EbayIconButton,{"aria-hidden":!0,className:"number-input__decrement",disabled:a<=u,icon:"remove24",onClick:T,size:"small",tabIndex:-1,transparent:!0})),t.createElement(b.EbayTextboxPostfixIcon,null,o&&t.createElement(v.EbayIconButton,{"aria-label":o,className:"number-input__delete",icon:"delete24",onClick:z,size:"small",transparent:!0}),t.createElement(v.EbayIconButton,{"aria-hidden":!0,className:"number-input__increment",disabled:a>=r,icon:"add24",onClick:P,size:"small",tabIndex:-1,transparent:!0}))))};exports.EbayNumberInput=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("../tslib.es6-C4EgNkz1.js"),t=require("react"),S=require("classnames"),b=require("../textbox-Bp4UkkZJ.js"),v=require("../icon-button-B1aE4GTn.js"),j=p=>{const{className:E="",value:s=1,min:u=1,max:r=1/0,label:y="",a11yDeleteText:o="",onChange:h=()=>{},onInputChange:N=()=>{},onFocus:f=()=>{},onBlur:C=()=>{},onKeyDown:D=()=>{},onKeyPress:K=()=>{},onKeyUp:g=()=>{},onDeleteClick:w=()=>{},onIncrement:B=()=>{},onDecrement:_=()=>{}}=p,c=R.__rest(p,["className","value","min","max","label","a11yDeleteText","onChange","onInputChange","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","onDeleteClick","onIncrement","onDecrement"]),k=o?1:0,[a,i]=t.useState(s??k),m=t.useRef(null),d=(n,e=0)=>{const M=o?1:0;let l=parseInt(n,10)+e;return isNaN(l)?l=M:l>r?l=r:l<u&&(l=u),l},I=n=>{if(!m.current)return;const e=m.current;e.classList.remove("number-input--increment"),e.classList.remove("number-input--decrement"),e.classList.remove("number-input--increment-disabled"),e.classList.remove("number-input--decrement-disabled"),e.offsetWidth,e.classList.add(`number-input--${n}`)},P=n=>{const e=d(a,1);I(e>=r?"increment-disabled":"increment"),i(e),B(n,{value:e}),h(n,{value:e})},T=n=>{const e=d(a,-1);I(e<=u?"decrement-disabled":"decrement"),i(e),_(n,{value:e}),h(n,{value:e})},x=n=>{const e=d(n.target.value,0);i(e),N(n,{value:e})},V=(n,e)=>{f(n,{value:Number(e.value)})},q=(n,e)=>{C(n,{value:Number(e.value)})},F=(n,e)=>{D(n,{value:Number(e.value)})},L=(n,e)=>{K(n,{value:Number(e.value)})},U=(n,e)=>{g(n,{value:Number(e.value)})},z=n=>{w(n,{value:a})};return t.createElement("span",{ref:m,className:S("number-input",o&&a===1&&"number-input--show-delete",E)},t.createElement(b.EbayTextbox,{max:r,min:u,onBlur:q,onChange:x,onFocus:V,onInputChange:x,onKeyDown:F,onKeyPress:L,onKeyUp:U,type:"number",value:a},t.createElement(b.EbayTextboxPrefixIcon,null,y&&t.createElement("label",{htmlFor:c?.id||"number-input"},y),t.createElement(v.EbayIconButton,{"aria-hidden":!0,className:"number-input__decrement",disabled:a<=u,icon:"remove24",onClick:T,size:"small",tabIndex:-1,transparent:!0})),t.createElement(b.EbayTextboxPostfixIcon,null,o&&t.createElement(v.EbayIconButton,{"aria-label":o,className:"number-input__delete",icon:"delete24",onClick:z,size:"small",transparent:!0}),t.createElement(v.EbayIconButton,{"aria-hidden":!0,className:"number-input__increment",disabled:a>=r,icon:"add24",onClick:P,size:"small",tabIndex:-1,transparent:!0}))))};exports.EbayNumberInput=j;
@@ -0,0 +1,114 @@
1
+ # EbayPhoneInput
2
+
3
+ ## Demo
4
+
5
+ [Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/form-input-ebay-phone-input--default)
6
+
7
+ ## Usage
8
+
9
+ ### Import JS
10
+
11
+ ```jsx harmony
12
+ import { EbayPhoneInput } from "@ebay/ui-core-react/ebay-phone-input";
13
+ ```
14
+
15
+ ### Import following styles from SKIN
16
+
17
+ ```jsx harmony
18
+ import "@ebay/skin/phone-input";
19
+ import "@ebay/skin/listbox-button";
20
+ import "@ebay/skin/textbox";
21
+ import "@ebay/skin/flag";
22
+ ```
23
+
24
+ ### If tokens haven't been added to the project at a higher level, make sure to import
25
+
26
+ ```jsx harmony
27
+ import "@ebay/skin/tokens";
28
+ ```
29
+
30
+ ### Or import styles using SCSS/CSS
31
+
32
+ ```jsx harmony
33
+ import "@ebay/skin/phone-input.css";
34
+ import "@ebay/skin/listbox-button.css";
35
+ import "@ebay/skin/textbox.css";
36
+ import "@ebay/skin/flag.css";
37
+ ```
38
+
39
+ ## Examples
40
+
41
+ ### Basic usage
42
+
43
+ ```jsx harmony
44
+ <EbayPhoneInput
45
+ countryCode="us"
46
+ floatingLabel="Phone Number"
47
+ value=""
48
+ onInputChange={(event, data) => console.log(data)}
49
+ />
50
+ ```
51
+
52
+ ### With localization
53
+
54
+ ```jsx harmony
55
+ <EbayPhoneInput
56
+ countryCode="us"
57
+ locale="en-US"
58
+ floatingLabel="Phone Number"
59
+ value=""
60
+ onInputChange={(event, data) => console.log(data)}
61
+ />
62
+ ```
63
+
64
+ ### Disabled state
65
+
66
+ ```jsx harmony
67
+ <EbayPhoneInput countryCode="us" floatingLabel="Phone Number" value="(555) 123-4567" disabled />
68
+ ```
69
+
70
+ ### Read-only state
71
+
72
+ ```jsx harmony
73
+ <EbayPhoneInput countryCode="us" floatingLabel="Phone Number" value="(555) 123-4567" readonly />
74
+ ```
75
+
76
+ ### Invalid state
77
+
78
+ ```jsx harmony
79
+ <EbayPhoneInput countryCode="us" floatingLabel="Phone Number" value="invalid" invalid />
80
+ ```
81
+
82
+ ## Attributes
83
+
84
+ | Name | Type | Required | Description | Data |
85
+ | --------------- | -------- | -------- | ------------------------------------------------------------ | ------------------------------------------------------------- |
86
+ | `countryCode` | String | No | Initial country code (2-letter ISO country code) | `"us"`, `"ca"`, `"gb"`, etc. |
87
+ | `value` | String | No | The phone number value | |
88
+ | `locale` | String | No | Locale for country name localization | `"en-US"`, `"fr-FR"`, etc. (defaults to `navigator.language`) |
89
+ | `floatingLabel` | String | No | Floating label text | |
90
+ | `disabled` | Boolean | No | Whether the component is disabled | `false` (default) |
91
+ | `readonly` | Boolean | No | Whether the component is read-only | `false` (default) |
92
+ | `invalid` | Boolean | No | Whether the component is in invalid state | `false` (default) |
93
+ | `onFocus` | Function | No | Triggered on focus | `(event: FocusEvent, data: PhoneInputEvent)` |
94
+ | `onBlur` | Function | No | Triggered on blur | `(event: FocusEvent, data: PhoneInputEvent)` |
95
+ | `onInputChange` | Function | No | Triggered on input change (country selection or phone input) | `(event: ChangeEvent, data: PhoneInputEvent)` |
96
+ | `onChange` | Function | No | Triggered on change (country selection or phone input) | `(event: ChangeEvent, data: PhoneInputEvent)` |
97
+ | `onKeyDown` | Function | No | Triggered on key down | `(event: KeyboardEvent, data: PhoneInputEvent)` |
98
+ | `onKeyPress` | Function | No | Triggered on key press | `(event: KeyboardEvent, data: PhoneInputEvent)` |
99
+ | `onKeyUp` | Function | No | Triggered on key up | `(event: KeyboardEvent, data: PhoneInputEvent)` |
100
+ | `onExpand` | Function | No | Triggered when country dropdown expands | `()` |
101
+ | `onCollapse` | Function | No | Triggered when country dropdown collapses | `()` |
102
+
103
+ ## Event Data
104
+
105
+ All input events (`onFocus`, `onBlur`, `onChange`, `onKeyDown`, `onKeyPress`, `onKeyUp`) receive a `PhoneInputEvent` object as the second parameter:
106
+
107
+ ```typescript
108
+ interface PhoneInputEvent {
109
+ value?: string; // Formatted phone number
110
+ rawValue?: string; // Raw digits only
111
+ callingCode?: string; // Country calling code (e.g., "1", "44")
112
+ countryCode?: string; // Country code (e.g., "US", "GB")
113
+ }
114
+ ```
@@ -0,0 +1,11 @@
1
+ export interface CountryInterface {
2
+ countryCode: string;
3
+ callingCode: string;
4
+ mask: string;
5
+ }
6
+ export interface CountriesInterface {
7
+ [index: string]: CountryInterface;
8
+ }
9
+ declare const countries: CountriesInterface;
10
+ export default countries;
11
+ //# sourceMappingURL=countries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../../src/ebay-phone-input/countries.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,gBAAgB;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IAC/B,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAAC;CACrC;AAED,QAAA,MAAM,SAAS,EAAE,kBAkEhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as EbayPhoneInput, type EbayPhoneInputProps } from "./phone-input";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-phone-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X=require("../tslib.es6-C4EgNkz1.js"),z=require("classnames"),l=require("react"),N=require("../listbox-button-rlxnsga8.js"),w=require("../textbox-Bp4UkkZJ.js");require("../icon-CR8ApQBy.js");require("../icon-button-B1aE4GTn.js");const $=require("../flag-DU-1tRv6.js"),v={US:{countryCode:"US",callingCode:"1",mask:"(000) 000-0000"},CA:{countryCode:"CA",callingCode:"1",mask:"(000) 000-0000"},GB:{countryCode:"GB",callingCode:"44",mask:"0000 000 0000"},AU:{countryCode:"AU",callingCode:"61",mask:"0 0000 0000"},DE:{countryCode:"DE",callingCode:"49",mask:"000 00000000"},FR:{countryCode:"FR",callingCode:"33",mask:"0 00 00 00 00"},IT:{countryCode:"IT",callingCode:"39",mask:"000 000 0000"},ES:{countryCode:"ES",callingCode:"34",mask:"000 00 00 00"},IN:{countryCode:"IN",callingCode:"91",mask:"00000 00000"},JP:{countryCode:"JP",callingCode:"81",mask:"000-0000-0000"},CN:{countryCode:"CN",callingCode:"86",mask:"000 0000 0000"},BR:{countryCode:"BR",callingCode:"55",mask:"(00) 00000-0000"},MX:{countryCode:"MX",callingCode:"52",mask:"000 000 0000"}};function H(n,r){let t=r;const a=s=>{B(n,t,n.value,s.inputType)};return n.addEventListener("input",a),{update(s,c){t=c,B(n,t,s,"")},destroy(){n.removeEventListener("input",a)},get value(){return n.value}}}function B(n,r,t,a){const s=/delete.*Backwards/.test(a),c=n.selectionStart||0,u=Q(t,r);if(t!==u){n.value=u;const C=Y(u,t,c,s);C!==void 0&&n.setSelectionRange(C,C)}}function U(n){return n.replace(/\D+/g,"")}function Q(n,r){const t=U(n);let a="",s=0;if(t.length){for(const c of r)if(c==="0"){if(a+=t[s++],s===t.length)break}else a+=c;s<t.length&&(a+=" "+t.slice(s))}return a}function Y(n,r,t,a){const s=t===r.length;if(a||!s){const c=r.slice(0,t),u=r.slice(t);if(n.startsWith(c))return t;if(n.endsWith(u))return n.length-u.length;{const C=P(c);let p=0,m=0;for(;m<C.length;)P(n[p])&&m++,p++;return p}}}function P(n){return n.replace(/[.,\\/#!$%^&*;:{}=+\-_`~()\s]/g,"")}const Z=n=>n||(typeof navigator<"u"?navigator.language:"en-US"),V=n=>{var{countryCode:r,value:t,locale:a,floatingLabel:s,disabled:c,readonly:u,invalid:C,className:p,onFocus:m,onBlur:k,onChange:x,onInputChange:E,onKeyDown:I,onKeyPress:T,onKeyUp:D,onExpand:L,onCollapse:R}=n,q=X.__rest(n,["countryCode","value","locale","floatingLabel","disabled","readonly","invalid","className","onFocus","onBlur","onChange","onInputChange","onKeyDown","onKeyPress","onKeyUp","onExpand","onCollapse"]);const h=l.useMemo(()=>{const e=Z(a),o=new Intl.DisplayNames([e],{type:"region"});return Object.keys(v).map(i=>{var d;return[i,(d=o.of(i))!==null&&d!==void 0?d:""]}).sort(([,i],[,d])=>i.localeCompare(d))},[a]),[S,K]=l.useState(()=>{if(r){const e=h.findIndex(([o])=>o===r.toUpperCase());return e!==-1?e:0}return 0}),b=l.useRef(null),f=l.useRef(null);l.useEffect(()=>{if(r){const e=h.findIndex(([o])=>o===r.toUpperCase());K(e!==-1?e:0)}},[r,h]);const y=(e=S)=>{const[o]=h[e];return v[o]};l.useEffect(()=>{b.current&&y()&&(f.current||(f.current=H(b.current,y().mask)),f.current.update(b.current.value,y().mask))},[y().mask]),l.useEffect(()=>()=>{f.current&&f.current.destroy()},[]);const g=e=>{var o,i;return{value:((o=f.current)===null||o===void 0?void 0:o.value)||"",rawValue:U(((i=f.current)===null||i===void 0?void 0:i.value)||""),callingCode:y(e).callingCode,countryCode:y(e).countryCode}},F=(e,{index:o})=>{K(o),x&&x(e,g(o))},A=e=>{m&&m(e,g())},O=e=>{k&&k(e,g())},_=e=>{x&&x(e,g())},M=e=>{E&&E(e,g())},j=e=>{I&&I(e,g())},G=e=>{T&&T(e,g())},J=e=>{D&&D(e,g())},W=h.map(([e,o],i)=>{const d=v[e];return l.createElement(N.ListboxOption,{key:e,value:d.callingCode,selected:i===S,icon:l.createElement($.EbayFlagIcon,{flag:d.countryCode.toLowerCase()})},l.createElement("span",null,o," ( + ",d.callingCode," )"))});return l.createElement("span",Object.assign({},q,{className:z("phone-input",p,{"phone-input--disabled":c,"phone-input--readonly":u,"phone-input--error":C})}),l.createElement(N.ListboxButton,{split:"start",disabled:u||c,onChange:F,onExpand:L,onCollapse:R},W),l.createElement(w.EbayTextbox,{type:"tel",value:t,disabled:c,floatingLabel:s,floatingLabelStatic:!0,readOnly:u,invalid:C,onBlur:O,onFocus:A,onKeyDown:j,onKeyPress:G,onKeyUp:J,onChange:_,onInputChange:M,ref:b},l.createElement(w.EbayTextboxPrefixText,{id:"phone-prefix"},"+ ",y().callingCode)))};exports.EbayPhoneInput=V;
@@ -0,0 +1,7 @@
1
+ export default function (input: HTMLInputElement, initialMask: string): {
2
+ update(newValue: string, newMask: string): void;
3
+ destroy(): void;
4
+ readonly value: string;
5
+ };
6
+ export declare function stripNonDigits(value: string): string;
7
+ //# sourceMappingURL=mask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mask.d.ts","sourceRoot":"","sources":["../../src/ebay-phone-input/mask.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,WAAW,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM;qBAQ5C,MAAM,WAAW,MAAM;;;EAW/C;AAeD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,UAE3C"}
@@ -0,0 +1,29 @@
1
+ import { ComponentProps, FC } from "react";
2
+ import { EbayChangeEventHandler, EbayFocusEventHandler, EbayKeyboardEventHandler } from "../common/event-utils/types";
3
+ export interface PhoneInputEvent {
4
+ value?: string;
5
+ rawValue?: string;
6
+ callingCode?: string;
7
+ countryCode?: string;
8
+ }
9
+ export type EbayPhoneInputProps = Omit<ComponentProps<"span">, "onChange"> & {
10
+ countryCode?: string;
11
+ value?: string;
12
+ locale?: string;
13
+ floatingLabel?: string;
14
+ disabled?: boolean;
15
+ readonly?: boolean;
16
+ invalid?: boolean;
17
+ onFocus?: EbayFocusEventHandler<HTMLInputElement, PhoneInputEvent>;
18
+ onBlur?: EbayFocusEventHandler<HTMLInputElement, PhoneInputEvent>;
19
+ onChange?: EbayChangeEventHandler<HTMLInputElement, PhoneInputEvent>;
20
+ onInputChange?: EbayChangeEventHandler<HTMLInputElement, PhoneInputEvent>;
21
+ onKeyDown?: EbayKeyboardEventHandler<HTMLInputElement, PhoneInputEvent>;
22
+ onKeyPress?: EbayKeyboardEventHandler<HTMLInputElement, PhoneInputEvent>;
23
+ onKeyUp?: EbayKeyboardEventHandler<HTMLInputElement, PhoneInputEvent>;
24
+ onExpand?: () => void;
25
+ onCollapse?: () => void;
26
+ };
27
+ declare const EbayPhoneInput: FC<EbayPhoneInputProps>;
28
+ export default EbayPhoneInput;
29
+ //# sourceMappingURL=phone-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-input.d.ts","sourceRoot":"","sources":["../../src/ebay-phone-input/phone-input.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAwC,MAAM,OAAO,CAAC;AAKxF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAOtH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object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../tslib.es6-C4EgNkz1.js"),n=require("react"),R=require("classnames"),V=require("../icon-CR8ApQBy.js"),j=require("../forwardRef-DBQKIlPy.js"),k=require("../utils-C9NL3q0j.js"),x=require("../hooks-DTTigNDz.js"),d=t=>{var{children:e}=t,l=S.__rest(t,["children"]);return n.createElement("option",Object.assign({},l),e)},N=t=>typeof t<"u",z=t=>{var{value:e,defaultValue:l,className:o,borderless:u,name:i,disabled:r,onChange:f=()=>{},onBlur:p=()=>{},onFocus:h=()=>{},floatingLabel:m,forwardedRef:b,children:s,inputSize:g,invalid:v}=t,a=S.__rest(t,["value","defaultValue","className","borderless","name","disabled","onChange","onBlur","onFocus","floatingLabel","forwardedRef","children","inputSize","invalid"]);const w=v||a["aria-invalid"]==="true",[C,O]=n.useState(l),E=x.useFloatingLabel({text:m,disabled:r,size:g,invalid:w}),F=c=>{const{value:y,selectedIndex:B}=c.target;N(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:a.id}),n.createElement("span",{className:L},n.createElement("select",Object.assign({},a,{name:i,value:N(e)?e:C,disabled:r,onChange:F,onBlur:G,onFocus:q,ref:b}),_(s)),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(r=>n.cloneElement(r,{}));if(i){o=T(i);let r;return i.forEach((f,p)=>{const{value:h,className:m,children:b,optgroup:s}=f.props;if(u=s&&e.indexOf(s)===-1,u){r=s;const v=o[r].map(a=>n.createElement(d,{key:`opt-${a.value}`,value:a.value,className:a.className},a.children));l.push(n.createElement("optgroup",{key:p,label:s},v)),e.push(s)}else s||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 S=require("../tslib.es6-C4EgNkz1.js"),n=require("react"),R=require("classnames"),V=require("../icon-CR8ApQBy.js"),j=require("../forwardRef-DBQKIlPy.js"),k=require("../utils-C9NL3q0j.js"),x=require("../hooks-uidlIIid.js"),d=t=>{var{children:e}=t,l=S.__rest(t,["children"]);return n.createElement("option",Object.assign({},l),e)},N=t=>typeof t<"u",z=t=>{var{value:e,defaultValue:l,className:o,borderless:u,name:i,disabled:r,onChange:f=()=>{},onBlur:p=()=>{},onFocus:h=()=>{},floatingLabel:m,forwardedRef:b,children:s,inputSize:g,invalid:v}=t,a=S.__rest(t,["value","defaultValue","className","borderless","name","disabled","onChange","onBlur","onFocus","floatingLabel","forwardedRef","children","inputSize","invalid"]);const w=v||a["aria-invalid"]==="true",[C,O]=n.useState(l),E=x.useFloatingLabel({text:m,disabled:r,size:g,invalid:w}),F=c=>{const{value:y,selectedIndex:B}=c.target;N(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:a.id}),n.createElement("span",{className:L},n.createElement("select",Object.assign({},a,{name:i,value:N(e)?e:C,disabled:r,onChange:F,onBlur:G,onFocus:q,ref:b}),_(s)),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(r=>n.cloneElement(r,{}));if(i){o=T(i);let r;return i.forEach((f,p)=>{const{value:h,className:m,children:b,optgroup:s}=f.props;if(u=s&&e.indexOf(s)===-1,u){r=s;const v=o[r].map(a=>n.createElement(d,{key:`opt-${a.value}`,value:a.value,className:a.className},a.children));l.push(n.createElement("optgroup",{key:p,label:s},v)),e.push(s)}else s||l.push(n.createElement(d,{key:p,value:h,className:m},b))}),l}}exports.EbaySelect=I;exports.EbaySelectOption=d;