@ebay/ui-core-react 7.4.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -3
- package/button-6S4U-4HH.js +1 -0
- package/{calendar-lAu6VfAb.js → calendar-hBaLhOjI.js} +1 -1
- package/common/dropdown.d.ts +20 -0
- package/common/dropdown.d.ts.map +1 -0
- package/common/floating-label-utils/hooks.d.ts.map +1 -1
- package/dialog-previous-button-B-fysL3O.js +1 -0
- package/dropdown-pp-aluo7.js +1 -0
- package/ebay-accordion/README.md +61 -0
- package/ebay-accordion/accordion.d.ts +16 -0
- package/ebay-accordion/accordion.d.ts.map +1 -0
- package/ebay-accordion/index.d.ts +3 -0
- package/ebay-accordion/index.d.ts.map +1 -0
- package/ebay-accordion/index.js +2 -0
- package/ebay-alert-dialog/index.js +1 -1
- package/ebay-breadcrumbs/index.js +1 -1
- package/ebay-button/README.md +1 -1
- package/ebay-button/button.d.ts.map +1 -1
- package/ebay-button/index.js +1 -1
- package/ebay-button/types.d.ts +1 -1
- package/ebay-button/types.d.ts.map +1 -1
- package/ebay-calendar/index.js +1 -1
- package/ebay-carousel/index.js +1 -1
- package/ebay-checkbox/index.js +1 -1
- package/ebay-confirm-dialog/index.js +1 -1
- package/ebay-cta-button/index.js +1 -1
- package/ebay-date-textbox/date-textbox.d.ts.map +1 -1
- package/ebay-date-textbox/index.js +1 -1
- package/ebay-details/README.md +51 -0
- package/ebay-details/ebay-details.d.ts +17 -0
- package/ebay-details/ebay-details.d.ts.map +1 -0
- package/ebay-details/index.d.ts +2 -0
- package/ebay-details/index.d.ts.map +1 -0
- package/ebay-details/index.js +1 -0
- package/ebay-details-q_d7qlcN.js +1 -0
- package/ebay-dialog-base/index.js +1 -1
- package/{ebay-drawer-dialog → ebay-drawer-dialog-deprecated}/README.md +9 -8
- package/{ebay-drawer-dialog → ebay-drawer-dialog-deprecated}/components/drawer.d.ts +2 -6
- package/ebay-drawer-dialog-deprecated/components/drawer.d.ts.map +1 -0
- package/ebay-drawer-dialog-deprecated/index.d.ts +2 -0
- package/ebay-drawer-dialog-deprecated/index.d.ts.map +1 -0
- package/ebay-drawer-dialog-deprecated/index.js +1 -0
- package/ebay-eek/index.js +1 -1
- package/ebay-fake-menu/index.js +1 -1
- package/ebay-fake-menu/menu.d.ts +4 -3
- package/ebay-fake-menu/menu.d.ts.map +1 -1
- package/ebay-fake-menu-button/README.md +1 -1
- package/ebay-fake-menu-button/index.js +1 -1
- package/ebay-fake-menu-button/menu-button.d.ts.map +1 -1
- package/ebay-fake-tabs/index.js +1 -1
- package/{ebay-fullscreen-dialog → ebay-fullscreen-dialog-deprecated}/README.md +6 -4
- package/{ebay-fullscreen-dialog → ebay-fullscreen-dialog-deprecated}/fullscreen-dialog.d.ts +2 -2
- package/ebay-fullscreen-dialog-deprecated/fullscreen-dialog.d.ts.map +1 -0
- package/ebay-fullscreen-dialog-deprecated/index.d.ts +2 -0
- package/ebay-fullscreen-dialog-deprecated/index.d.ts.map +1 -0
- package/ebay-fullscreen-dialog-deprecated/index.js +1 -0
- package/ebay-icon/README.md +1 -1
- package/ebay-icon/index.js +1 -1
- package/ebay-icon/types.d.ts +1 -1
- package/ebay-icon/types.d.ts.map +1 -1
- package/ebay-icon-button/index.js +1 -1
- package/ebay-infotip/README.md +0 -2
- package/ebay-infotip/ebay-infotip.d.ts +0 -2
- package/ebay-infotip/ebay-infotip.d.ts.map +1 -1
- package/ebay-infotip/index.js +1 -1
- package/ebay-inline-notice/index.js +1 -1
- package/ebay-lightbox-dialog/README.md +2 -0
- package/ebay-lightbox-dialog/index.js +1 -1
- package/ebay-lightbox-dialog/lightbox-dialog.d.ts +3 -1
- package/ebay-lightbox-dialog/lightbox-dialog.d.ts.map +1 -1
- package/ebay-listbox/README.md +100 -0
- package/ebay-listbox/index.d.ts +4 -0
- package/ebay-listbox/index.d.ts.map +1 -0
- package/ebay-listbox/index.js +1 -0
- package/ebay-listbox/listbox-option-description.d.ts +4 -0
- package/ebay-listbox/listbox-option-description.d.ts.map +1 -0
- package/ebay-listbox/listbox-option.d.ts +10 -0
- package/ebay-listbox/listbox-option.d.ts.map +1 -0
- package/ebay-listbox/listbox.d.ts +21 -0
- package/ebay-listbox/listbox.d.ts.map +1 -0
- package/ebay-listbox-button/index.js +2 -2
- package/ebay-listbox-button/listbox-button.d.ts.map +1 -1
- package/ebay-menu/index.js +1 -1
- package/ebay-menu/menu.d.ts.map +1 -1
- package/ebay-menu/types.d.ts +2 -1
- package/ebay-menu/types.d.ts.map +1 -1
- package/ebay-menu-button/README.md +1 -1
- package/ebay-menu-button/index.js +1 -1
- package/ebay-menu-button/menu-button.d.ts.map +1 -1
- package/ebay-page-notice/index.js +1 -1
- package/ebay-pagination/index.js +1 -1
- package/ebay-panel-dialog/index.js +1 -1
- package/ebay-progress-spinner/index.js +1 -1
- package/ebay-progress-stepper/index.js +1 -1
- package/ebay-radio/index.js +1 -1
- package/ebay-section-notice/index.js +1 -1
- package/ebay-section-title/index.js +1 -1
- package/ebay-segmented-buttons/index.js +1 -1
- package/ebay-select/index.js +1 -1
- package/ebay-snackbar-dialog/index.js +1 -1
- package/ebay-split-button/README.md +1 -1
- package/ebay-split-button/index.js +1 -1
- package/ebay-star-rating/index.js +1 -1
- package/ebay-star-rating-select/index.js +1 -1
- package/ebay-svg/index.js +1 -1
- package/ebay-svg/symbols.d.ts.map +1 -1
- package/ebay-tabs/README.md +1 -3
- package/ebay-tabs/index.js +1 -1
- package/ebay-tabs/tabs.d.ts.map +1 -1
- package/ebay-tabs/types.d.ts +2 -6
- package/ebay-tabs/types.d.ts.map +1 -1
- package/ebay-textbox/index.js +1 -1
- package/ebay-toast-dialog/README.md +3 -3
- package/ebay-toast-dialog/index.js +1 -1
- package/ebay-toggle-button/index.js +1 -1
- package/ebay-toggle-button-group/index.js +1 -1
- package/ebay-tooltip/index.js +1 -1
- package/ebay-tourtip/index.js +1 -1
- package/ebay-video/index.js +1 -1
- package/events/index.js +1 -1
- package/forwardRef-fPwzYd82.js +1 -0
- package/hooks-5qES90Sx.js +1 -0
- package/icon-D4RDqpD4.js +1 -0
- package/icon-button-Bjjvld0a.js +1 -0
- package/index-Bsb1LHpi.js +1 -0
- package/lightbox-dialog-Il3dBNcR.js +1 -0
- package/menu-DAOhKkcI.js +1 -0
- package/menu-button-label-DJq794te.js +1 -0
- package/menu-button-label-D_04ZC3p.js +1 -0
- package/menu-item-Cf-tQ72X.js +1 -0
- package/notice-cta-FAd6zCdx.js +1 -0
- package/package.json +18 -80
- package/{progress-spinner-U2qOANON.js → progress-spinner-CF3qoWE3.js} +1 -1
- package/scroll-OgAngNzq.js +1 -0
- package/textbox-DZRVQetR.js +1 -0
- package/{toggle-button-D8l0YB43.js → toggle-button-CFPnYlex.js} +1 -1
- package/use-tooltip-BEiQpMDa.js +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/index.d.ts.map +1 -1
- package/utils/index.js +1 -1
- package/utils/scroll.d.ts +2 -0
- package/utils/scroll.d.ts.map +1 -0
- package/utils-C9NL3q0j.js +1 -0
- package/button-DGuEBUDJ.js +0 -1
- package/common/component-utils/forwardRef/index.js +0 -1
- package/common/component-utils/index.js +0 -1
- package/common/component-utils/utils/index.js +0 -1
- package/common/event-utils/index.js +0 -1
- package/common/floating-label-utils/hooks/index.js +0 -1
- package/common/notice-utils/notice-cta/index.js +0 -1
- package/common/random-id/index.js +0 -1
- package/common/tooltip-utils/constants/index.js +0 -1
- package/common/tooltip-utils/index.js +0 -1
- package/dialog-previous-button-CpuFLkQp.js +0 -1
- package/drawer-rqXAEeqd.js +0 -1
- package/ebay-dialog-base/components/animation/index.js +0 -1
- package/ebay-dialog-base/components/dialog-footer/index.js +0 -1
- package/ebay-dialog-base/components/dialog-header/index.js +0 -1
- package/ebay-drawer-dialog/components/drawer.d.ts.map +0 -1
- package/ebay-drawer-dialog/index.d.ts +0 -2
- package/ebay-drawer-dialog/index.d.ts.map +0 -1
- package/ebay-drawer-dialog/index.js +0 -1
- package/ebay-fake-menu/menu-item/index.js +0 -1
- package/ebay-fake-menu-button/menu-button/index.js +0 -1
- package/ebay-fullscreen-dialog/fullscreen-dialog.d.ts.map +0 -1
- package/ebay-fullscreen-dialog/index.d.ts +0 -2
- package/ebay-fullscreen-dialog/index.d.ts.map +0 -1
- package/ebay-fullscreen-dialog/index.js +0 -1
- package/ebay-radio/radio/index.js +0 -1
- package/icon-TuxfQndO.js +0 -1
- package/icon-button-Cwaj-eT9.js +0 -1
- package/menu-CV-INYLM.js +0 -1
- package/menu-_LzP6yje.js +0 -1
- package/menu-button-BZ66jxvI.js +0 -1
- package/notice-footer-Cw1DMzoB.js +0 -1
- package/textbox-dUhinDwj.js +0 -1
- package/use-tooltip-CL3_zAeg.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu/menu.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu/menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEV,cAAc,EACd,SAAS,EACZ,MAAM,OAAO,CAAA;AAGd,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAG7F,KAAK,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,CAAA;AACtE,KAAK,KAAK,GAAG,SAAS,GAAG;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,wBAAwB,CAAC,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrE,QAAQ,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvE,YAAY,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;CAC5C,CAAA;;AA6CD,wBAA2C"}
|
|
@@ -49,7 +49,7 @@ Name | Type | Required | Description
|
|
|
49
49
|
`reverse` | Boolean | No | expand menu flyout to the left
|
|
50
50
|
`fixWidth` | Boolean | No | Constrain items container width to button width
|
|
51
51
|
`borderless` | Boolean | No | Whether button has borders
|
|
52
|
-
`size` | String | No | button size: `
|
|
52
|
+
`size` | String | No | button size: `small` or `large`
|
|
53
53
|
|
|
54
54
|
## EbayFakeMenuButtonItem Attributes
|
|
55
55
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../menu-button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../menu-button-label-DJq794te.js");exports.EbayFakeMenuButton=e.EbayMenuButton;exports.EbayFakeMenuButtonItem=e.EbayFakeMenuButtonItem;exports.EbayFakeMenuButtonLabel=e.EbayFakeMenuButtonLabel;exports.EbayFakeMenuButtonSeparator=e.EbayMenuButtonSeparator;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,cAAc,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,cAAc,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAA;AAKpF,OAAO,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAE7F,OAAO,EAAc,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAO5D,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEtE,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,yBAAyB,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACvE,SAAS,CAAC,EAAE,wBAAwB,CAAC,WAAW,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC7E,CAAA;AAED,KAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,GAAG,aAAa,CAAC,GAC7E,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,CAAC,GACxE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,WAAW,GAAG,aAAa,GAAG,UAAU,CAAC,CAAA;AACvE,KAAK,KAAK,GAAG,WAAW,GAAG,uBAAuB,CAAA;AAElD,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAoH7B,CAAA;AAED,eAAe,cAAc,CAAA"}
|
package/ebay-fake-tabs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),m=require("classnames"),o=require("../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),m=require("classnames"),o=require("../utils-C9NL3q0j.js"),c=({children:t,href:s,ariaCurrent:n,className:a,...r})=>e.createElement("li",{...r,className:m(a,"fake-tabs__item")},e.createElement("a",{href:s,"aria-current":n},t)),f=({selectedIndex:t=0,tabMatchesCurrentUrl:s,className:n,children:a,...r})=>{const b=s===!1?"true":"page",i=o.filterByType(a,c).map((l,E)=>e.cloneElement(l,{...l.props,ariaCurrent:t===E?b:null})),u=o.excludeComponent(a,c);return e.createElement("div",{...r,className:m(n,"fake-tabs")},e.createElement("ul",{className:"fake-tabs__items"},i),e.createElement("div",{className:"fake-tabs__content"},e.createElement("div",{className:"fake-tabs__cell"},u)))};exports.EbayFakeTab=c;exports.EbayFakeTabs=f;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# EbayFullscreenDialogDeprecated
|
|
2
|
+
|
|
3
|
+
**Deprecated will be removed next major** (Use `EbayLightboxDialog` instead)
|
|
2
4
|
|
|
3
5
|
## Demo
|
|
4
|
-
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/
|
|
6
|
+
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/deprecated-ebay-fullscreen-dialog-deprecated--default)
|
|
5
7
|
|
|
6
8
|
## Usage
|
|
7
9
|
|
|
8
10
|
```jsx
|
|
9
|
-
<
|
|
11
|
+
<EbayFullscreenDialogDeprecated open a11yClosetext = "Close">
|
|
10
12
|
<EbayDialogHeader>Heading</EbayDialogHeader>
|
|
11
13
|
<p>Body content</p>
|
|
12
14
|
<EbayDialogFooter>Heading</EbayDialogHeader>
|
|
13
|
-
</
|
|
15
|
+
</EbayFullscreenDialogDeprecated>
|
|
14
16
|
```
|
|
15
17
|
|
|
16
18
|
## Attributes
|
|
@@ -4,6 +4,6 @@ export interface Props<T = any> extends DialogBaseProps<T> {
|
|
|
4
4
|
open?: boolean;
|
|
5
5
|
onClose?: () => void;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const EbayFullscreenDialogDeprecated: FC<Props>;
|
|
8
|
+
export default EbayFullscreenDialogDeprecated;
|
|
9
9
|
//# sourceMappingURL=fullscreen-dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fullscreen-dialog.d.ts","sourceRoot":"","sources":["../../src/ebay-fullscreen-dialog-deprecated/fullscreen-dialog.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,eAAe,EAAuB,MAAM,qBAAqB,CAAA;AAI1E,MAAM,WAAW,KAAK,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,eAAe,CAAC,CAAC,CAAC;IACxD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,QAAA,MAAM,8BAA8B,EAAE,EAAE,CAAC,KAAK,CAkB7C,CAAA;AAED,eAAe,8BAA8B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-fullscreen-dialog-deprecated/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),t=require("classnames"),r=require("../dialog-previous-button-B-fysL3O.js");require("../icon-button-Bjjvld0a.js");const e="fullscreen-dialog",c=({open:o,onClose:s=()=>{},className:i,animated:a,...l})=>n.createElement(r.DialogBaseWithState,{...l,classPrefix:e,buttonPosition:"right",onCloseBtnClick:s,transitionElement:"window",animated:a,className:t(i,`${e}--mask-fade-slow`),windowClass:t(`${e}__window`,`${e}__window--slide`),open:o});exports.EbayFullscreenDialogDeprecated=c;
|
package/ebay-icon/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
The component will include the actual SVG markup in the HTML and then reference the chosen icon.
|
|
3
3
|
|
|
4
4
|
## Demo
|
|
5
|
-
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/
|
|
5
|
+
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/docs/graphics-icons-ebay-icon--docs)
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
```jsx
|
package/ebay-icon/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../icon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../icon-D4RDqpD4.js");exports.EbayIcon=e.EbayIcon;
|
package/ebay-icon/types.d.ts
CHANGED
|
@@ -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' | 'alipayCn12Colored' | 'alipayCn18Colored' | 'alipayCn24Colored' | 'alipayCn32Colored' | 'amex12Colored' | 'amex18Colored' | 'amex24Colored' | 'amex32Colored' | 'apple24' | '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' | 'audioLow16' | 'audioOff16' | 'authenticityGuarantee16' | 'authenticityGuarantee24' | 'authenticityGuaranteeFilled16Colored' | 'authenticityGuaranteeFilled24Colored' | 'autoAdjust24' | 'avatarSignedOut' | 'backgroundRemoval16' | 'backgroundRemoval24' | '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' | 'carryon24' | 'cart16' | 'cart20' | 'cart24' | 'cart64' | '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' | 'close12' | 'close16' | 'close20' | 'close24' | 'closedCaption16' | 'closedCaptionFilled16' | 'coin24' | 'coinBattery48' | 'collections16' | 'collections24' | 'condensedGrid24' | 'condensedGridFilled24' | 'confirmation16' | 'confirmation24' | 'confirmation64' | 'confirmationFilled12' | 'confirmationFilled16' | 'confirmationFilled24' | 'contract16' | 'contrast24' | 'copy16' | 'copy24' | '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' | 'discover12Colored' | 'discover18Colored' | 'discover24Colored' | 'discover32Colored' | 'dollar16' | 'dollar24' | 'download16' | 'download20' | 'download24' | 'dragDrop16' | 'dragDrop24' | 'ebayBalance12Colored' | 'ebayBalance18Colored' | 'ebayBalance24Colored' | 'ebayBalance32Colored' | 'ebayBucksLogo16Colored' | 'ebayForCharity16' | 'ebayForCharity24' | 'ebayInternationalShipping16' | 'ebayInternationalShipping24' | 'ebayInternationalShipping64' | 'ebayLive16' | 'ebayLive24' | 'ebayMastercard12Colored' | 'ebayMastercard18Colored' | 'ebayMastercard24Colored' | 'ebayMastercard32Colored' | 'ebayMoneyBackGuaranteeLogo16Colored' | 'ebayPlus16' | 'ebayPlus24' | 'ebayPlusLogo16Colored' | 'ebayPreloved16' | 'ebayPreloved24' | 'ebayRefurbished16' | 'ebayRefurbished24' | 'eekArrow' | 'eekRangeArrow' | 'escrow16' | 'escrow24' | 'escrowCard12Colored' | 'escrowCard18Colored' | 'escrowCard24Colored' | 'escrowCard32Colored' | 'euro16' | 'euro24' | 'europeanConformity48' | 'exclude16' | 'exclude24' | 'expand16' | 'explore16' | 'explore24' | 'externalLink16' | 'externalLink20' | 'externalLink24' | 'faceHappiest24' | 'faceHappy16' | 'faceHappy24' | 'faceNeutral24' | 'faceSad24' | 'faceSaddest24' | 'facebook24' | 'facebookMessenger24' | 'fallLeaf16' | 'fallLeaf24' | 'fastAndFree16' | 'fastAndFree24' | 'fastAndFree64' | 'feedback16' | 'feedback20' | 'feedback24' | 'feedbackReceived16' | 'feedbackReceived24' | 'file16' | 'file24' | 'filter16' | 'filter24' | 'fingerprint24' | 'fingerprint64' | 'flag16' | 'flag24' | 'flagFilled16' | 'flagFilled24' | 'flash24' | 'flashAuto24' | 'flashOff24' | 'folder16' | 'folder24' | 'folderAdd16' | 'folderAdd24' | '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' | 'handbag16' | 'handbag24' | 'hanger16' | 'hanger24' | 'headlight16' | 'headlight24' | 'headphone16' | 'headphone24' | 'help16' | 'help20' | 'help24' | 'helpOutline16' | 'helpOutline20' | 'helpOutline24' | 'hide16' | 'hide24' | 'history16' | 'history24' | 'history64' | 'home24' | 'homeFilled24' | 'image16' | 'image24' | 'image64' | 'inbox16' | 'inbox24' | 'information16' | 'information24' | 'informationFilled16' | 'informationFilled24' | 'inspect16' | 'inspect24' | 'inspect64' | 'instagram24' | 'itemList16' | 'itemList20' | 'itemList24' | 'jcb12Colored' | 'jcb18Colored' | 'jcb24Colored' | 'jcb32Colored' | 'jetSki16' | 'jetSki24' | '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' | 'liveEye16' | 'liveEye24' | 'location16' | 'location24' | 'location64' | 'locked16' | 'locked20' | 'locked24' | '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' | 'menu20' | 'menu24' | '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' | 'noChildrenZeroThree48' | 'notification16' | 'notification20' | 'notification24' | 'notification64' | 'notificationFilled24' | 'onTheWay16' | 'onTheWay24' | 'outOfReach48' | 'overflowHorizontal16' | 'overflowHorizontal20' | 'overflowHorizontal24' | 'overflowVertical16' | 'overflowVertical20' | 'overflowVertical24' | 'package16' | 'package24' | 'package64' | 'panel16' | 'panel20' | 'panel24' | 'panelClose16' | 'panelClose20' | 'panelClose24' | 'panelCloseVertical16' | 'panelCloseVertical20' | 'panelCloseVertical24' | 'panelOpen16' | 'panelOpen20' | 'panelOpen24' | 'panelOpenVertical16' | 'panelOpenVertical20' | 'panelOpenVertical24' | 'passkey16' | 'passkey24' | 'passkey64' | 'pause16' | 'pause24' | 'pauseFilled64Colored' | 'payoneer12Colored' | 'payoneer18Colored' | 'payoneer24Colored' | 'payoneer32Colored' | 'paypal12Colored' | 'paypal18Colored' | 'paypal24Colored' | 'paypal32Colored' | 'paypalCredit12Colored' | 'paypalCredit18Colored' | 'paypalCredit24Colored' | 'paypalCredit32Colored' | 'paypalDisabled12Colored' | 'paypalDisabled18Colored' | 'paypalDisabled24Colored' | 'paypalDisabled32Colored' | 'pencil16' | 'pencil20' | 'pencil24' | 'peso16' | 'peso24' | 'phone16' | 'phone24' | 'pin24' | 'pinFilled24' | 'pinterest24' | 'play16' | 'play24' | 'playFilled16Colored' | 'playFilled24Colored' | 'playFilled64Colored' | 'postepay12Colored' | 'postepay18Colored' | 'postepay24Colored' | 'postepay32Colored' | 'pottedPlant16' | 'pottedPlant24' | 'pound16' | 'pound24' | 'print16' | 'print24' | 'profile16' | 'profile20' | 'profile24' | 'profileFilled24' | 'progressCurrent24' | 'progressUpcoming24' | 'promotion16' | 'promotion24' | 'psaVault16' | 'psaVault16Colored' | 'qrCode16' | 'qrCode24' | 'radioChecked18' | 'radioChecked24' | 'radioUnchecked18' | 'radioUnchecked24' | 'recoveryCode16' | 'recoveryCode24' | 'reddit24' | 'refresh16' | 'refresh24' | 'relaxedGrid24' | 'relaxedGridFilled24' | 'remove12' | 'remove16' | 'remove24' | 'reply16' | 'reply24' | 'return16' | 'return24' | 'ribbon16' | 'ribbon24' | 'rim16' | 'rim24' | 'ringgit16' | 'ringgit24' | 'rotate24' | 'rotateLandscapeLeft24' | 'rotateLandscapeRight24' | 'rotatePortraitLeft24' | 'rotatePortraitRight24' | 'rupee16' | 'rupee24' | 'satchel16' | 'satchel24' | 'save16' | 'save20' | 'save24' | 'saveFilled16' | 'saveFilled20' | 'saveFilled24' | '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' | 'stepperAttention24' | 'stepperConfirmation24' | 'stepperCurrent24' | 'stepperUpcoming24' | 'store16' | 'store24' | 'store64' | 'storeFilled24' | 'suitcase24' | 'support24' | 'swap24' | 'switchCamera24' | 'target16' | 'target24' | 'textMessaging16' | 'textMessaging20' | 'textMessaging24' | 'textMessaging64' | 'theEbayVault16' | 'theEbayVault24' | 'thumbDown16' | 'thumbDown20' | 'thumbDown24' | 'thumbDownFilled16' | 'thumbDownFilled20' | 'thumbDownFilled24' | 'thumbUp16' | 'thumbUp20' | 'thumbUp24' | 'thumbUp64' | 'thumbUpFilled16' | 'thumbUpFilled20' | 'thumbUpFilled24' | 'tick16' | 'tick24' | 'tiktok24' | 'toggleModeBottom24' | 'toggleModeTop24' | 'topRatedSeller16' | 'topRatedSeller24' | 'topService16' | 'topService24' | 'tradingCard16' | 'tradingCard24' | 'tradingCardGrade16' | 'tradingCardGrade24' | 'transaction24' | 'translate16' | 'translate20' | 'translate24' | 'trendDown16Fit' | 'trendUp16Fit' | 'trophy16' | 'trophy24' | 'twitter24' | 'undo16' | 'undo24' | 'unionpay12Colored' | 'unionpay18Colored' | 'unionpay24Colored' | 'unionpay32Colored' | 'unlocked16' | 'unlocked24' | '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' | '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' | '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' | 'audioLow16' | 'audioOff16' | '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' | 'carnet12Colored' | 'carnet18Colored' | 'carnet24Colored' | 'carnet32Colored' | 'carryon24' | 'cart16' | 'cart20' | 'cart24' | 'cart64' | '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' | 'close12' | 'close16' | 'close20' | 'close24' | 'closedCaption16' | 'closedCaptionFilled16' | 'coin24' | 'coinBattery48' | 'collections16' | 'collections24' | 'condensedGrid24' | 'condensedGridFilled24' | 'confirmation16' | 'confirmation24' | 'confirmation64' | 'confirmationFilled12' | 'confirmationFilled16' | 'confirmationFilled24' | 'contract16' | 'contrast24' | 'copy16' | 'copy24' | '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' | 'discover12Colored' | 'discover18Colored' | 'discover24Colored' | 'discover32Colored' | 'dollar16' | 'dollar24' | 'download16' | 'download20' | 'download24' | 'dragDrop16' | 'dragDrop24' | 'ebayBalance12Colored' | 'ebayBalance18Colored' | 'ebayBalance24Colored' | 'ebayBalance32Colored' | 'ebayBucksLogo16Colored' | 'ebayForCharity16' | 'ebayForCharity24' | 'ebayInternationalShipping16' | 'ebayInternationalShipping24' | 'ebayInternationalShipping64' | 'ebayLive16' | 'ebayLive24' | 'ebayMastercard12Colored' | 'ebayMastercard18Colored' | 'ebayMastercard24Colored' | 'ebayMastercard32Colored' | 'ebayMoneyBackGuaranteeLogo16Colored' | 'ebayPlus16' | 'ebayPlus24' | 'ebayPlusLogo16Colored' | 'ebayPreloved16' | 'ebayPreloved24' | 'ebayRefurbished16' | 'ebayRefurbished24' | 'eekArrow' | 'eekRangeArrow' | 'eftpos12Colored' | 'eftpos18Colored' | 'eftpos24Colored' | 'eftpos32Colored' | 'elo12Colored' | 'elo18Colored' | 'elo24Colored' | 'elo32Colored' | 'escrowCard12Colored' | 'escrowCard18Colored' | 'escrowCard24Colored' | 'escrowCard32Colored' | 'euro16' | 'euro24' | 'europeanConformity48' | 'exclude16' | 'exclude24' | 'expand16' | 'explore16' | 'explore24' | 'externalLink16' | 'externalLink20' | 'externalLink24' | 'faceHappiest24' | 'faceHappy16' | 'faceHappy24' | 'faceNeutral24' | 'faceSad24' | 'faceSaddest24' | 'facebook24' | 'facebookMessenger24' | 'fallLeaf16' | 'fallLeaf24' | 'feedback16' | 'feedback20' | 'feedback24' | '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' | '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' | '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' | 'liveEye16' | 'liveEye24' | 'location16' | 'location24' | 'location64' | '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' | 'panel16' | 'panel20' | 'panel24' | 'panelClose16' | 'panelClose20' | 'panelClose24' | 'panelCloseVertical16' | 'panelCloseVertical20' | 'panelCloseVertical24' | 'panelOpen16' | 'panelOpen20' | 'panelOpen24' | 'panelOpenVertical16' | 'panelOpenVertical20' | 'panelOpenVertical24' | 'passkey16' | 'passkey24' | 'passkey64' | 'pause16' | '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' | 'peso16' | 'peso24' | 'phone16' | 'phone24' | 'pin24' | 'pinFilled24' | 'pinterest24' | 'play16' | 'play24' | 'playFilled16Colored' | 'playFilled24Colored' | 'playFilled64Colored' | 'postepay12Colored' | 'postepay18Colored' | 'postepay24Colored' | 'postepay32Colored' | 'pottedPlant16' | 'pottedPlant24' | 'pound16' | 'pound24' | 'print16' | 'print24' | 'profile16' | 'profile20' | 'profile24' | 'profileFilled24' | 'progressCurrent24' | 'progressUpcoming24' | 'promotion16' | 'promotion24' | 'psaVault16' | 'psaVault16Colored' | 'qrCode16' | 'qrCode24' | 'radioChecked18' | 'radioChecked24' | 'radioUnchecked18' | 'radioUnchecked24' | 'recoveryCode16' | 'recoveryCode24' | 'reddit24' | 'refresh16' | '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' | 'stepperAttention24' | 'stepperConfirmation24' | 'stepperCurrent24' | 'stepperUpcoming24' | 'store16' | 'store24' | 'store64' | 'storeFilled24' | 'suitcase24' | 'support24' | 'swap16' | 'swap24' | 'switchCamera24' | 'target16' | 'target24' | 'textMessaging16' | 'textMessaging20' | 'textMessaging24' | 'textMessaging64' | 'theEbayVault16' | 'theEbayVault24' | 'thumbDown16' | 'thumbDown20' | 'thumbDown24' | 'thumbDownFilled16' | 'thumbDownFilled20' | 'thumbDownFilled24' | 'thumbUp16' | 'thumbUp20' | 'thumbUp24' | 'thumbUp64' | 'thumbUpFilled16' | 'thumbUpFilled20' | 'thumbUpFilled24' | 'tick16' | 'tick24' | 'tiktok24' | 'toggleModeBottom24' | 'toggleModeTop24' | 'topRatedSeller16' | 'topRatedSeller24' | 'topService16' | 'topService24' | 'tradingCard16' | 'tradingCard24' | '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';
|
|
2
2
|
//# sourceMappingURL=types.d.ts.map
|
package/ebay-icon/types.d.ts.map
CHANGED
|
@@ -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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X,YAAY,GACZ,YAAY,GACZ,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,UAAU,GACV,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,sBAAsB,GACtB,sBAAsB,GACtB,sBAAsB,GACtB,sBAAsB,GACtB,wBAAwB,GACxB,kBAAkB,GAClB,kBAAkB,GAClB,6BAA6B,GAC7B,6BAA6B,GAC7B,6BAA6B,GAC7B,YAAY,GACZ,YAAY,GACZ,yBAAyB,GACzB,yBAAyB,GACzB,yBAAyB,GACzB,yBAAyB,GACzB,qCAAqC,GACrC,YAAY,GACZ,YAAY,GACZ,uBAAuB,GACvB,gBAAgB,GAChB,gBAAgB,GAChB,mBAAmB,GACnB,mBAAmB,GACnB,UAAU,GACV,eAAe,GACf,
|
|
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,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,WAAW,GACX,WAAW,GACX,aAAa,GACb,aAAa,GACb,a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AgB,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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../icon-button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../icon-button-Bjjvld0a.js");exports.EbayIconButton=t.EbayIconButton;
|
package/ebay-infotip/README.md
CHANGED
|
@@ -61,8 +61,6 @@ yarn add @ebay/ui-core-react
|
|
|
61
61
|
| `overlayStyle` | Object | No | No | Style object to customize default values for the overlay. It can be used all CSS properties like `top`, `left`, `bottom`, `right`. |
|
|
62
62
|
| `initialExpanded` | Boolean | No | No | Open the tooltip on the initial render |
|
|
63
63
|
| `a11yCloseText` | String | No | Yes | A11y text for close button and mask. |
|
|
64
|
-
| `a11yMaximizeText` | String | No | No |A11y text for draggable handle when drawer is minimized and clicking handle will maximize the drawer. Required only when draggable handle exists. Required only when variant is modal |
|
|
65
|
-
| `a11yMinimizeText` | String | No | No |A11y text for draggable handle when drawer is maximized and clicking handle will minimize the drawer. Required only when variant is modal |
|
|
66
64
|
| `aria-label` | String | No | Yes | A descriptive label of what the infotip button represents (e.g. "Important information")
|
|
67
65
|
| `onExpand` | Function | No | No | overlay has been expanded |
|
|
68
66
|
| `onCollapse` | Function | No | No | overlay has been collapsed |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay-infotip.d.ts","sourceRoot":"","sources":["../../src/ebay-infotip/ebay-infotip.tsx"],"names":[],"mappings":"AAAA,OAAc,EAA+B,aAAa,EAAE,EAAE,EAAU,SAAS,EAAE,MAAM,OAAO,CAAA;AAGhG,OAAO,EAAwC,gBAAgB,EAAc,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ebay-infotip.d.ts","sourceRoot":"","sources":["../../src/ebay-infotip/ebay-infotip.tsx"],"names":[],"mappings":"AAAA,OAAc,EAA+B,aAAa,EAAE,EAAE,EAAU,SAAS,EAAE,MAAM,OAAO,CAAA;AAGhG,OAAO,EAAwC,gBAAgB,EAAc,MAAM,yBAAyB,CAAA;AAG5G,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAEnC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAGjC,KAAK,YAAY,GAAG;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,YAAY,CA0FjC,CAAA;AAED,eAAe,WAAW,CAAA"}
|
package/ebay-infotip/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),T=require("classnames"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),T=require("classnames"),b=require("../utils-C9NL3q0j.js"),r=require("../use-tooltip-BEiQpMDa.js"),F=require("../dialog-previous-button-B-fysL3O.js");require("react-remove-scroll");require("makeup-screenreader-trap");require("makeup-keyboard-trap");const D=require("../icon-D4RDqpD4.js");require("../icon-button-Bjjvld0a.js");const $=require("classnames/dedupe"),v=require("../forwardRef-fPwzYd82.js"),B=require("../lightbox-dialog-Il3dBNcR.js"),M=({icon:t,className:o,children:n,forwardedRef:l,variant:c,...p})=>{const i=c==="modal"?"dialog--mini":"infotip",a=e.createElement(D.EbayIcon,{name:t}),u=n instanceof Function?n({icon:a}):n;return e.createElement("button",{...p,className:$("icon-btn icon-btn--transparent",o,`${i}__host`),type:"button",ref:l},u||a)},E=v.withForwardRef(M),S=({variant:t="default",pointer:o,overlayStyle:n,disabled:l,onExpand:c,onCollapse:p,children:i,initialExpanded:a,icon:u="information16",a11yCloseText:d,"aria-label":w,className:N})=>{const y=e.useRef(),{isExpanded:s,expandTooltip:_,collapseTooltip:f}=r.useTooltip({onCollapse:p,onExpand:c,initialExpanded:a,hostRef:y}),m=t==="modal",x=e.useRef(),g=b.findComponent(i,R),q=b.findComponent(i,H),C=b.findComponent(i,E)||e.createElement(E),P=()=>{s?f():_()};if(!q)throw new Error("EbayInfotip: Please use a EbayInfotipContent that defines the content of the infotip");const{children:I,...h}=q.props;return e.createElement(e.Fragment,null,e.createElement(r.Tooltip,{type:"infotip",isExpanded:s,className:T(N,{"dialog--mini":m}),ref:x},e.createElement(r.TooltipHost,null,e.cloneElement(C,{ref:y,onClick:P,disabled:l,variant:t,"aria-label":w,"aria-expanded":s,icon:u,...C.props})),!m&&e.createElement(r.TooltipContent,{...h,type:"infotip",style:n,pointer:o,showCloseButton:!0,a11yCloseText:d,onClose:f},g,I)),m&&e.createElement(B.EbayLightboxDialog,{...h,open:s,onClose:f,a11yCloseText:d,className:"dialog--mini__overlay"},e.createElement(F.EbayDialogHeader,null,g),I))},R=({className:t,...o})=>e.createElement("span",{...o,className:T("infotip__heading",t)}),H=({children:t})=>e.createElement(e.Fragment,null,t);exports.EbayInfotip=S;exports.EbayInfotipContent=H;exports.EbayInfotipHeading=R;exports.EbayInfotipHost=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),E=require("classnames"),c=require("../notice-content-C0ZStfuX.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),E=require("classnames"),c=require("../notice-content-C0ZStfuX.js"),y=require("../notice-content-9iF4T8uB.js"),b=require("../utils-C9NL3q0j.js"),N=require("../icon-D4RDqpD4.js"),f=({className:a,status:n="general",children:r,hidden:t=!1,"aria-label":l,onNoticeShow:s=()=>{},...u})=>{if(e.useEffect(()=>{t||s()},[t]),t)return null;const i=b.findComponent(r,c.EbayNoticeContent);if(!i)throw new Error("EbayInlineNotice: Please use a EbayNoticeContent that defines the content of the notice");const o=n==="general";return e.createElement("div",{...u,className:E(a,"inline-notice",{[`inline-notice--${n}`]:!o})},o?null:e.createElement("span",{className:"inline-notice__header"},e.createElement(N.EbayIcon,{name:`${n}Filled16`,a11yText:l,a11yVariant:"label"})),e.createElement(y.NoticeContent,{...i.props,type:"inline"}))};exports.EbayNoticeContent=c.EbayNoticeContent;exports.EbayInlineNotice=f;
|
|
@@ -22,6 +22,8 @@ Name | Type | Stateful | Required | Description
|
|
|
22
22
|
`focus` | String | No | No | An id for an element which will receive focus when the drawer opens (defaults to close button).
|
|
23
23
|
`a11yCloseText` | String | No | Yes | A11y text for close button and mask.
|
|
24
24
|
`animated` | Boolean | Yes | No | Renders the dialog with an animation. Note that the dialog will always be present in the DOM
|
|
25
|
+
`bannerImgSrc` | String | No | No | Image source for the expressive variant
|
|
26
|
+
`bannerImgPosition` | String | No | No | Position of the image within the given bounds using the CSS `background-position` property. Options include [keywords, lengths, and edge distances](https://developer.mozilla.org/en-US/docs/Web/CSS/background-position)
|
|
25
27
|
|
|
26
28
|
## Events
|
|
27
29
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../lightbox-dialog-Il3dBNcR.js");exports.EbayLightboxDialog=o.EbayLightboxDialog;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { CSSProperties, FC } from 'react';
|
|
2
2
|
import { DialogBaseProps } from '../ebay-dialog-base';
|
|
3
3
|
type Mode = 'default' | 'mini';
|
|
4
4
|
type Size = 'wide' | 'narrow' | 'fullscreen' | 'large';
|
|
@@ -6,6 +6,8 @@ export type Props<T = any> = Omit<DialogBaseProps<T>, 'size'> & {
|
|
|
6
6
|
open?: boolean;
|
|
7
7
|
mode?: Mode;
|
|
8
8
|
size?: Size;
|
|
9
|
+
bannerImgSrc?: string;
|
|
10
|
+
bannerImgPosition?: CSSProperties['backgroundPosition'];
|
|
9
11
|
onClose?: () => void;
|
|
10
12
|
};
|
|
11
13
|
declare const EbayLightboxDialog: FC<Props>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightbox-dialog.d.ts","sourceRoot":"","sources":["../../src/ebay-lightbox-dialog/lightbox-dialog.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"lightbox-dialog.d.ts","sourceRoot":"","sources":["../../src/ebay-lightbox-dialog/lightbox-dialog.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEhD,OAAO,EAAE,eAAe,EAAuB,MAAM,qBAAqB,CAAA;AAE1E,KAAK,IAAI,GAAG,SAAS,GAAG,MAAM,CAAA;AAC9B,KAAK,IAAI,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,GAAG,OAAO,CAAA;AAEtD,MAAM,MAAM,KAAK,CAAC,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IAC9D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;IACxD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAA;AAED,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,KAAK,CAwCjC,CAAA;AACD,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# EbayListbox
|
|
2
|
+
|
|
3
|
+
## Demo
|
|
4
|
+
|
|
5
|
+
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/docs/building-blocks-ebay-listbox--docs)
|
|
6
|
+
|
|
7
|
+
## Import JS
|
|
8
|
+
|
|
9
|
+
```jsx harmony
|
|
10
|
+
import {
|
|
11
|
+
EbayListbox,
|
|
12
|
+
EbayListboxOption,
|
|
13
|
+
EbayListboxOptionDescription,
|
|
14
|
+
} from "@ebay/ui-core-react/ebay-listbox";
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Import following styles from SKIN
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
import "@ebay/skin/listbox";
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Import styles using SCSS/CSS
|
|
24
|
+
|
|
25
|
+
```js
|
|
26
|
+
import "@ebay/skin/listbox.css";
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```jsx
|
|
32
|
+
<EbayListbox>
|
|
33
|
+
<EbayListboxOption value="AA" text="Option 1" />
|
|
34
|
+
<EbayListboxOption value="BB" text="Option 2" />
|
|
35
|
+
<EbayListboxOption value="CC" text="Option 3" />
|
|
36
|
+
</EbayListbox>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Attributes
|
|
40
|
+
|
|
41
|
+
### EbayListbox
|
|
42
|
+
|
|
43
|
+
| Name | Type | Required | Description |
|
|
44
|
+
| ------------------------ | ------- | -------- | ------------------------------------------------------------------------------------------------------- |
|
|
45
|
+
| `name` | string | No | Used for the name attribute of the native `<select>`. |
|
|
46
|
+
| `disabled` | boolean | No | Set to true if the field is disabled. |
|
|
47
|
+
| `listSelection` | string | No | If `manual`, the user will need to press enter to select an item using the keyboard. Otherwise, `auto` will automatically select as the user presses up/down. |
|
|
48
|
+
| `typeaheadTimeoutLength` | number | No | Timeout length to pass to typeahead. |
|
|
49
|
+
| `maxHeight` | string | No | Example: 100px, 200px, 10rem. |
|
|
50
|
+
|
|
51
|
+
### EbayListboxOption
|
|
52
|
+
|
|
53
|
+
| Name | Type | Required | Description |
|
|
54
|
+
| ---------- | ------------ | -------- | ---------------------------------- |
|
|
55
|
+
| `icon` | ReactElement | No | An optional icon to display alongside the option text. |
|
|
56
|
+
| `text` | string | No | The text to display for the option. |
|
|
57
|
+
| `value` | string | Yes | The value of the option. |
|
|
58
|
+
| `disabled` | boolean | No | Set to true if the option is disabled. |
|
|
59
|
+
| `selected` | boolean | No | Set to true if the option is selected by default. |
|
|
60
|
+
|
|
61
|
+
## Callbacks
|
|
62
|
+
|
|
63
|
+
| Name | Type | Required | Description | Data |
|
|
64
|
+
| ---------- | -------- | -------- | ------------------------------ | ---------------------------------------------------------------------------- |
|
|
65
|
+
| `onChange` | Function | No | triggered on change | `(ChangeEvent, { index: number, selected: string[] , wasClicked: boolean })` |
|
|
66
|
+
| `onEscape` | Function | No | triggered on typing Escape key | `()` |
|
|
67
|
+
|
|
68
|
+
## Examples
|
|
69
|
+
|
|
70
|
+
### Default
|
|
71
|
+
|
|
72
|
+
```jsx
|
|
73
|
+
<EbayListbox>
|
|
74
|
+
<EbayListboxOption value="AA" text="Option 1" />
|
|
75
|
+
<EbayListboxOption value="BB" text="Option 2" />
|
|
76
|
+
<EbayListboxOption value="CC" text="Option 3" />
|
|
77
|
+
</EbayListbox>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### With Description
|
|
81
|
+
|
|
82
|
+
```jsx
|
|
83
|
+
<EbayListbox>
|
|
84
|
+
<EbayListboxOption value="AA" text="Option 1">
|
|
85
|
+
<EbayListboxOptionDescription>
|
|
86
|
+
Option 1 extra info
|
|
87
|
+
</EbayListboxOptionDescription>
|
|
88
|
+
</EbayListboxOption>
|
|
89
|
+
<EbayListboxOption value="BB" text="Option 2">
|
|
90
|
+
<EbayListboxOptionDescription>
|
|
91
|
+
Option 2 extra info
|
|
92
|
+
</EbayListboxOptionDescription>
|
|
93
|
+
</EbayListboxOption>
|
|
94
|
+
<EbayListboxOption value="CC" text="Option 3">
|
|
95
|
+
<EbayListboxOptionDescription>
|
|
96
|
+
Option 3 extra info
|
|
97
|
+
</EbayListboxOptionDescription>
|
|
98
|
+
</EbayListboxOption>
|
|
99
|
+
</EbayListbox>
|
|
100
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,kBAAkB,CAAA;AAChC,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),A=require("makeup-active-descendant"),M=require("makeup-typeahead"),v=require("classnames"),k=require("../utils-C9NL3q0j.js"),H=require("../scroll-OgAngNzq.js"),B=require("../icon-D4RDqpD4.js"),I=({children:d,className:p,...l})=>e.createElement("div",{className:v("listbox__description",p),...l},d),R=({className:d,icon:p,text:l,children:E,disabled:b,tabIndex:c,selected:x,...h})=>{const r=k.filterByType(E,I),f=l||(r!=null&&r.length?"":E);return e.createElement("div",{...h,tabIndex:b?-1:c,className:v("listbox__option",d),"aria-disabled":b,"aria-selected":x,role:"option"},p?e.createElement("span",{className:"listbox__value"},p,f?e.createElement("span",null,f):null,r!=null&&r.length?r:null):e.createElement(e.Fragment,null,e.createElement("span",{className:"listbox__value"},f),r!=null&&r.length?r:null),e.createElement(B.EbayIcon,{name:"tick16"}))},F=1300,K=({name:d,className:p,disabled:l,children:E,tabIndex:b=0,listSelection:c,maxHeight:x,typeaheadTimeoutLength:h,selectClassName:r,onChange:f=()=>{},onEscape:T=()=>{},...q})=>{var C;const a=k.filterByType(E,R),_=a.findIndex(t=>t.props.selected),[u,D]=e.useState(a.findIndex(t=>t.props.selected));e.useEffect(()=>{_!==u&&D(_)},[_]);const o=e.useRef(),i=e.useRef(),m=e.useRef(),y=e.useRef(!1);function g(t,n,s){n===u||a[n].props.disabled||(D(n),f(t,{index:n,selected:[a[n].props.value],wasClicked:s}))}function N(t){switch(t.code){case"Esc":case"Escape":T();break;case"Space":case"Enter":g(t,i.current.index,!1);break}const n=m.current.getIndex(o.current.children,t.key,h||F);if(n!==-1){i.current.index=n;const s=o.current.querySelectorAll("[role=option]")[n];o.current.scrollTop=s.offsetTop-o.current.offsetHeight/2}}function O(){y.current=!0}return e.useEffect(()=>{const t=n=>{const s=parseInt(n.detail.toIndex,10),L=o.current?o.current.querySelectorAll("[role=option]")[u]:null,w=y.current;H.scroll(L),y.current&&(y.current=!1),g(n,s,w)};if(a.length&&!l){const n=o.current,s=o.current;i.current=A.createLinear(n,s,s,".listbox__option[role=option]",{activeDescendantClassName:"listbox__option--active",autoInit:u,autoReset:null,autoScroll:c!=="auto"}),m.current=M()}return c==="auto"&&o.current.addEventListener("activeDescendantChange",t),()=>{i.current&&(i.current.reset(),i.current.destroy(),i.current=void 0),m.current&&(m.current.destroy(),m.current=void 0),o.current&&o.current.removeEventListener("activeDescendantChange",t)}},[u,l,c]),e.createElement(e.Fragment,null,e.createElement("div",{...q,tabIndex:b,ref:o,role:"listbox",onKeyDown:c!=="auto"?N:void 0,className:v("listbox__options",p),style:{maxHeight:x}},a.map((t,n)=>e.cloneElement(t,{key:t.props.value||n,...t.props,onMouseDown:c==="auto"?O:void 0,onClick:s=>{c!=="auto"&&g(s,n,!0)},selected:n===u}))),e.createElement("select",{hidden:!0,className:v("listbox__native",r),name:d,disabled:l,value:(C=a[u])==null?void 0:C.props.value,onChange:()=>{}},a.map((t,n)=>e.createElement("option",{key:t.props.value||n,value:t.props.value,disabled:t.props.disabled}))))};exports.EbayListbox=K;exports.EbayListboxOption=R;exports.EbayListboxOptionDescription=I;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox-option-description.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox/listbox-option-description.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAGjD,MAAM,MAAM,iCAAiC,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtE,eAAO,MAAM,4BAA4B,EAAE,EAAE,CAAC,iCAAiC,CACc,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentProps, FC, ReactElement } from 'react';
|
|
2
|
+
export type EbayListboxOptionProps = ComponentProps<'div'> & {
|
|
3
|
+
icon?: ReactElement;
|
|
4
|
+
text?: string;
|
|
5
|
+
value: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const EbayListboxOption: FC<EbayListboxOptionProps>;
|
|
10
|
+
//# sourceMappingURL=listbox-option.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox-option.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox/listbox-option.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAM/D,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACzD,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAoCxD,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
3
|
+
import { EbayChangeEventHandler } from '../events';
|
|
4
|
+
export type ChangeEventProps = {
|
|
5
|
+
index: number;
|
|
6
|
+
selected: string[];
|
|
7
|
+
wasClicked: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type EbayListboxProps = Omit<ComponentProps<'div'>, 'onChange'> & {
|
|
10
|
+
name?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
listSelection?: 'auto' | 'manual';
|
|
14
|
+
typeaheadTimeoutLength?: number;
|
|
15
|
+
maxHeight?: string | number;
|
|
16
|
+
selectClassName?: string;
|
|
17
|
+
onChange?: EbayChangeEventHandler<HTMLSpanElement, ChangeEventProps>;
|
|
18
|
+
onEscape?: () => void;
|
|
19
|
+
};
|
|
20
|
+
export declare const EbayListbox: FC<EbayListboxProps>;
|
|
21
|
+
//# sourceMappingURL=listbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox/listbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAA6B,EAAE,EAA4B,MAAM,OAAO,CAAA;AAItF,OAAO,EAAE,cAAc,EAAE,SAAS,EAAoB,MAAM,OAAO,CAAA;AAGnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAIlD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACvB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAClC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,sBAAsB,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;IACrE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA2L5C,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),
|
|
2
|
-
EbayListboxButtonOption that defines the options of the listbox`);const G=()=>{const e=f!==void 0?f:c.findIndex(({props:s})=>r!==void 0&&s.value===r),t=e>-1||
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),S=require("classnames"),U=require("../icon-D4RDqpD4.js"),de=require("../utils-C9NL3q0j.js"),fe=require("../dropdown-pp-aluo7.js"),$=({value:d,children:_,selected:r,onClick:f,index:v,innerRef:g,className:k,...h})=>{const p=S("listbox-button__option",k,{"listbox-button__option--active":r});return o.createElement("div",{...h,className:p,role:"option","aria-selected":r,ref:g,onClick:x=>{f(x,d,v)}},o.createElement("span",{className:"listbox-button__value"},_),o.createElement(U.EbayIcon,{name:"tick16"}))},ve=({children:d,name:_,value:r,selected:f,borderless:v,fluid:g,className:k,maxHeight:h,prefixId:p,prefixLabel:x,floatingLabel:E,unselectedText:V="-",onChange:N=()=>{},onCollapse:j=()=>{},onExpand:W=()=>{},...z})=>{var K;const i=o.useRef(null),w=o.useRef(new Map),c=de.filterByType(d,$);if(!c.length)throw new Error(`EbayListboxButton: Please use a
|
|
2
|
+
EbayListboxButtonOption that defines the options of the listbox`);const G=()=>{const e=f!==void 0?f:c.findIndex(({props:s})=>r!==void 0&&s.value===r),t=e>-1||E?e:void 0;return{option:c[t],index:t}},{option:T,index:C}=G(),[a,b]=o.useState(T),[n,D]=o.useState(C),[m,I]=o.useState(),[J,Q]=o.useState(!1),[L,A]=o.useState(),{overlayStyles:X,refs:y}=fe.useFloatingDropdown({open:m}),B=y.host,Y=y.overlay;o.useEffect(()=>{b(T)},[r]);const l=o.Children.toArray(d),H=e=>l[e].props.value,Z=o.useCallback(e=>l.findIndex(({props:t})=>t.value===e),[l]),ee=e=>w.current.get(e),u=()=>{I(!1),j()},te=()=>{I(!0),W()},oe=()=>{m?u():te()},R=(e,t)=>{b(l[t]),D(t),u(),B.current.focus(),N(e,{index:t,selected:[H(t)],wasClicked:L}),A(!1)},ne=()=>{u(),b(l[C])},se=e=>{const t=i.current.children[e];t.setAttribute("aria-selected","true"),t.classList.add("listbox-button__option--active")},ae=e=>{const t=i.current.children[e];t.setAttribute("aria-selected","false"),t.classList.remove("listbox-button__option--active")},ce=e=>{const t=Y.current,s=ee(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)}},q=e=>{se(n===void 0||e===-1?0:e),ae(n===void 0||n===-1?0:n),ce(e),D(e),b(l[e])},P=e=>setTimeout(()=>{var t;return(t=i==null?void 0:i.current)==null?void 0:t.focus(e)},0),le=()=>{oe(),P({preventScroll:!0})},re=e=>{switch(e.key){case"Escape":u();break;case"Enter":P();break}},ie=e=>{switch(e.key){case" ":case"PageUp":case"PageDown":case"Home":case"End":e.preventDefault();break;case"Down":case"ArrowDown":e.preventDefault(),n!==c.length-1&&q(n<c.length-1?n+1:0);break;case"Up":case"ArrowUp":e.preventDefault(),n!==0&&q(n>0?n-1:c.length-1);break;case"Enter":u(),setTimeout(()=>b(l[n])),setTimeout(()=>B.current.focus(),0),N(e,{index:n,selected:[H(n)],wasClicked:L});break;case"Esc":case"Escape":ne();break}},O=c.map((e,t)=>o.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=>R(s,t),innerRef:s=>s?w.current.set(t,s):w.current.delete(t)})),ue=S("listbox-button",k,{"listbox-button--fluid":g}),pe=S("btn",{"btn--form":!v,"btn--borderless":v,"btn--floating-label":E&&a}),F=p&&"expand-btn-text",be=o.createElement(o.Fragment,null,E&&o.createElement("span",{className:"btn__floating-label"},E),x&&o.createElement("span",{className:"btn__label"},x),o.createElement("span",{className:"btn__text",id:F},(a==null?void 0:a.props.children)||V));return o.createElement("span",{className:ue},o.createElement("button",{...z,onFocus:()=>Q(!0),type:"button",className:pe,"aria-expanded":!!m,"aria-haspopup":"listbox","aria-labelledby":p&&`${p} ${F}`,onClick:le,onMouseDown:e=>e.preventDefault(),onKeyUp:re,ref:y.setHost},o.createElement("span",{className:"btn__cell"},be,o.createElement(U.EbayIcon,{name:"chevronDown12"}))),(m||J)&&o.createElement("div",{className:"listbox-button__listbox",ref:y.setOverlay,style:{...X,maxHeight:h}},o.createElement("div",{className:"listbox-button__options",role:"listbox",tabIndex:m?0:-1,ref:i,"aria-activedescendant":(K=O[n])==null?void 0:K.props.id,onKeyDown:e=>ie(e),onMouseDown:e=>{e.preventDefault(),A(!0)},onBlur:()=>{u(),setTimeout(()=>B.current.focus(),0)}},O)),o.createElement("select",{hidden:!0,className:"listbox-button__native",name:_,onChange:e=>R(e,Z(e.target.value)),value:a?a==null?void 0:a.props.value:""},O.map((e,t)=>o.createElement("option",{value:e.props.value,key:t}))))};exports.EbayListboxButton=ve;exports.EbayListboxButtonOption=$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listbox-button.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox-button/listbox-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAEV,cAAc,EAAE,EAAE,EACrB,MAAM,OAAO,CAAA;AAGd,OAAO,EAAE,sBAAsB,EAAO,MAAM,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"listbox-button.d.ts","sourceRoot":"","sources":["../../src/ebay-listbox-button/listbox-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAEV,cAAc,EAAE,EAAE,EACrB,MAAM,OAAO,CAAA;AAGd,OAAO,EAAE,sBAAsB,EAAO,MAAM,6BAA6B,CAAA;AAKzE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACvB,CAAA;AAED,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,CAAA;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,sBAAsB,CAgS7C,CAAA;AAED,eAAe,aAAa,CAAA"}
|
package/ebay-menu/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../menu-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../menu-DAOhKkcI.js"),t=require("react"),n=require("classnames"),u=({className:a,...r})=>t.createElement("hr",{...r,className:n(a,"menu__separator"),role:"separator"});exports.EbayMenu=e.EbayMenu;exports.EbayMenuItem=e.EbayMenuItem;exports.EbayMenuSeparator=u;
|
package/ebay-menu/menu.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/ebay-menu/menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAA;AAOd,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;;
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/ebay-menu/menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAA;AAOd,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;;AA8J5C,wBAAuC"}
|