@ebay/ui-core-react 7.4.0-alpha.8 → 7.4.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 +2 -2
- package/array.polyfill.flat-5BAolFdk.js +1 -0
- package/badge-CoHKfiPt.js +1 -0
- package/button-DGuEBUDJ.js +1 -0
- package/calendar-lAu6VfAb.js +1 -0
- package/common/component-utils/forwardRef/index.js +1 -10
- package/common/component-utils/index.js +1 -9
- package/common/component-utils/utils/index.js +1 -25
- package/common/event-utils/index.js +1 -113
- package/common/floating-label-utils/hooks/index.js +1 -106
- package/common/notice-utils/notice-cta/index.js +1 -5
- package/common/random-id/index.js +1 -13
- package/common/tooltip-utils/constants/index.js +1 -97
- package/common/tooltip-utils/index.js +1 -11
- package/debounce-BQsYxxOL.js +1 -0
- package/dialog-previous-button-CpuFLkQp.js +1 -0
- package/drawer-rqXAEeqd.js +1 -0
- package/ebay-alert-dialog/index.js +1 -26
- package/ebay-badge/index.js +1 -4
- package/ebay-breadcrumbs/index.js +1 -47
- package/ebay-button/index.js +1 -5
- package/ebay-calendar/index.js +1 -4
- package/ebay-carousel/index.js +1 -345
- package/ebay-checkbox/index.js +1 -52
- package/ebay-confirm-dialog/index.js +1 -28
- package/ebay-cta-button/index.js +1 -22
- package/ebay-date-textbox/index.js +1 -140
- package/ebay-dialog-base/components/animation/index.js +1 -92
- package/ebay-dialog-base/components/dialog-footer/index.js +1 -4
- package/ebay-dialog-base/components/dialog-header/index.js +1 -4
- package/ebay-dialog-base/index.js +1 -13
- package/ebay-drawer-dialog/index.js +1 -4
- package/ebay-eek/index.js +1 -54
- package/ebay-fake-menu/index.js +1 -10
- package/ebay-fake-menu/menu-item/index.js +1 -49
- package/ebay-fake-menu-button/index.js +1 -7
- package/ebay-fake-menu-button/menu-button/index.js +1 -12
- package/ebay-fake-tabs/index.js +1 -30
- package/ebay-field/index.js +1 -21
- package/ebay-fullscreen-dialog/index.js +1 -10
- package/ebay-icon/index.js +1 -4
- package/ebay-icon/types.d.ts +1 -1
- package/ebay-icon/types.d.ts.map +1 -1
- package/ebay-icon-button/index.js +1 -4
- package/ebay-infotip/index.js +1 -76
- package/ebay-inline-notice/index.js +1 -36
- package/ebay-lightbox-dialog/index.js +1 -12
- package/ebay-listbox-button/index.d.ts +2 -1
- package/ebay-listbox-button/index.d.ts.map +1 -1
- package/ebay-listbox-button/index.js +2 -151
- package/ebay-listbox-button/listbox-button-option.d.ts +10 -0
- package/ebay-listbox-button/listbox-button-option.d.ts.map +1 -0
- package/ebay-listbox-button/listbox-button.d.ts +5 -15
- package/ebay-listbox-button/listbox-button.d.ts.map +1 -1
- package/ebay-menu/index.js +1 -9
- package/ebay-menu-button/index.js +1 -113
- package/ebay-notice-base/index.js +1 -7
- package/ebay-page-notice/index.js +1 -50
- package/ebay-pagination/index.js +1 -244
- package/ebay-panel-dialog/index.js +1 -12
- package/ebay-progress-bar/index.js +1 -6
- package/ebay-progress-spinner/index.js +1 -4
- package/ebay-progress-stepper/index.js +1 -72
- package/ebay-radio/index.js +1 -4
- package/ebay-radio/radio/index.js +1 -48
- package/ebay-section-notice/index.js +1 -69
- package/ebay-section-title/index.js +1 -38
- package/ebay-segmented-buttons/index.js +1 -46
- package/ebay-select/index.js +1 -98
- package/ebay-signal/index.js +1 -9
- package/ebay-snackbar-dialog/index.js +1 -81
- package/ebay-split-button/index.js +1 -22
- package/ebay-star-rating/index.js +1 -9
- package/ebay-star-rating-select/index.js +1 -55
- package/ebay-svg/index.js +1 -5189
- package/ebay-svg/symbols.d.ts.map +1 -1
- package/ebay-switch/index.js +1 -27
- package/ebay-tabs/index.js +1 -88
- package/ebay-textbox/index.js +1 -10
- package/ebay-toast-dialog/index.js +1 -9
- package/ebay-toggle-button/README.md +39 -0
- package/ebay-toggle-button/index.d.ts +3 -0
- package/ebay-toggle-button/index.d.ts.map +1 -0
- package/ebay-toggle-button/index.js +1 -0
- package/ebay-toggle-button/toggle-button.d.ts +5 -0
- package/ebay-toggle-button/toggle-button.d.ts.map +1 -0
- package/ebay-toggle-button/types.d.ts +23 -0
- package/ebay-toggle-button/types.d.ts.map +1 -0
- package/ebay-toggle-button-group/README.md +56 -0
- package/ebay-toggle-button-group/index.d.ts +3 -0
- package/ebay-toggle-button-group/index.d.ts.map +1 -0
- package/ebay-toggle-button-group/index.js +1 -0
- package/ebay-toggle-button-group/toggle-button-group.d.ts +5 -0
- package/ebay-toggle-button-group/toggle-button-group.d.ts.map +1 -0
- package/ebay-toggle-button-group/types.d.ts +20 -0
- package/ebay-toggle-button-group/types.d.ts.map +1 -0
- package/ebay-tooltip/index.js +1 -64
- package/ebay-tourtip/index.js +1 -54
- package/ebay-video/index.js +1 -229
- package/events/index.js +1 -18
- package/icon-TuxfQndO.js +1 -0
- package/icon-button-Cwaj-eT9.js +1 -0
- package/label-CnrpYJ-g.js +1 -0
- package/menu-CV-INYLM.js +1 -0
- package/menu-_LzP6yje.js +1 -0
- package/menu-button-BZ66jxvI.js +1 -0
- package/notice-content-9iF4T8uB.js +1 -0
- package/notice-content-C0ZStfuX.js +1 -0
- package/notice-footer-Cw1DMzoB.js +1 -0
- package/package.json +2 -5
- package/progress-spinner-U2qOANON.js +1 -0
- package/range-DOsPN0h5.js +1 -0
- package/textbox-dUhinDwj.js +1 -0
- package/toggle-button-D8l0YB43.js +1 -0
- package/use-roving-index-DoAVBgsp.js +1 -0
- package/use-tooltip-CL3_zAeg.js +1 -0
- package/utils/index.js +1 -13
- package/array.polyfill.flat-DyxysTxZ.js +0 -21
- package/badge-CR5t7-2L.js +0 -8
- package/button-B4bZIgwB.js +0 -83
- package/calendar-D-DWjrMU.js +0 -333
- package/debounce-v8bWAUnY.js +0 -9
- package/dialog-previous-button-EC_Y6KaT.js +0 -370
- package/drawer-DBDktEBZ.js +0 -69
- package/ebay-listbox/README.md +0 -100
- package/ebay-listbox/index.d.ts +0 -4
- package/ebay-listbox/index.d.ts.map +0 -1
- package/ebay-listbox/index.js +0 -6
- package/ebay-listbox/listbox-option-description.d.ts +0 -4
- package/ebay-listbox/listbox-option-description.d.ts.map +0 -1
- package/ebay-listbox/listbox-option.d.ts +0 -10
- package/ebay-listbox/listbox-option.d.ts.map +0 -1
- package/ebay-listbox/listbox.d.ts +0 -21
- package/ebay-listbox/listbox.d.ts.map +0 -1
- package/icon-B17Di3YL.js +0 -56
- package/icon-button-BQWoMgX1.js +0 -31
- package/index-BXizW4ue.js +0 -89
- package/index-DcH7Tjjd.js +0 -272
- package/label-C0AS4fnO.js +0 -19
- package/listbox-DGbY99kq.js +0 -674
- package/menu-Bsy48CE1.js +0 -163
- package/menu-button-CKGsgg6G.js +0 -89
- package/menu-fCOy6wBS.js +0 -29
- package/notice-content-BTXVxttv.js +0 -8
- package/notice-content-BhUeK1pd.js +0 -3
- package/notice-footer-CIQ8SM6N.js +0 -10
- package/progress-spinner-DOFKRtuu.js +0 -20
- package/range-C5qzyhg4.js +0 -3
- package/textbox-J291yCpJ.js +0 -136
- package/use-roving-index-CEM_UsCH.js +0 -58
- package/use-tooltip-7JxcZHJn.js +0 -92
- package/utils/scroll.d.ts +0 -2
- package/utils/scroll.d.ts.map +0 -1
|
@@ -1,92 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const React = require("react");
|
|
4
|
-
function useDialogAnimation({ open, classPrefix, transitionElement, dialogRef, dialogWindowRef, enabled, onTransitionEnd }) {
|
|
5
|
-
const previousOpenValue = React.useRef(open);
|
|
6
|
-
React.useLayoutEffect(() => {
|
|
7
|
-
if (!enabled) {
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
let transitionElements = [dialogWindowRef, dialogRef];
|
|
11
|
-
if (transitionElement === "window") {
|
|
12
|
-
transitionElements = [dialogWindowRef];
|
|
13
|
-
} else if (transitionElement === "root") {
|
|
14
|
-
transitionElements = [dialogRef];
|
|
15
|
-
}
|
|
16
|
-
let cancelCurrentAnimation;
|
|
17
|
-
if (open) {
|
|
18
|
-
cancelCurrentAnimation = showAnimation({
|
|
19
|
-
dialog: dialogRef,
|
|
20
|
-
waitFor: transitionElements,
|
|
21
|
-
classPrefix,
|
|
22
|
-
onTransitionEnd
|
|
23
|
-
});
|
|
24
|
-
} else if (previousOpenValue.current !== open) {
|
|
25
|
-
cancelCurrentAnimation = hideAnimation({
|
|
26
|
-
dialog: dialogRef,
|
|
27
|
-
waitFor: transitionElements,
|
|
28
|
-
classPrefix,
|
|
29
|
-
onTransitionEnd
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
previousOpenValue.current = open;
|
|
33
|
-
return () => {
|
|
34
|
-
if (cancelCurrentAnimation) {
|
|
35
|
-
cancelCurrentAnimation();
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
}, [open, enabled]);
|
|
39
|
-
}
|
|
40
|
-
function showAnimation({ dialog, waitFor, classPrefix, onTransitionEnd }) {
|
|
41
|
-
return transition(dialog, waitFor, `${classPrefix}--show`, onTransitionEnd);
|
|
42
|
-
}
|
|
43
|
-
function hideAnimation({ dialog, waitFor, classPrefix, onTransitionEnd }) {
|
|
44
|
-
return transition(dialog, waitFor, `${classPrefix}--hide`, onTransitionEnd);
|
|
45
|
-
}
|
|
46
|
-
function transition(element, waitFor, className, onTransitionEnd) {
|
|
47
|
-
if (!element.current || !className) {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
let ran = 0;
|
|
51
|
-
const pending = waitFor ? waitFor.length : 0;
|
|
52
|
-
const initClass = `${className}-init`;
|
|
53
|
-
element.current.classList.add(initClass);
|
|
54
|
-
return nextFrame(() => {
|
|
55
|
-
if (!element.current) {
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
element.current.classList.add(className);
|
|
59
|
-
element.current.classList.remove(initClass);
|
|
60
|
-
waitFor.forEach((ref) => {
|
|
61
|
-
const listener = () => {
|
|
62
|
-
var _a, _b;
|
|
63
|
-
if (++ran === pending) {
|
|
64
|
-
(_a = element.current) == null ? void 0 : _a.classList.remove(className);
|
|
65
|
-
onTransitionEnd();
|
|
66
|
-
(_b = ref.current) == null ? void 0 : _b.removeEventListener("transitionend", listener);
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
ref.current.addEventListener("transitionend", listener, { once: true });
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
function nextFrame(callback) {
|
|
74
|
-
let frame;
|
|
75
|
-
let cancelFrame;
|
|
76
|
-
if (window.requestAnimationFrame) {
|
|
77
|
-
frame = window.requestAnimationFrame(() => {
|
|
78
|
-
frame = window.requestAnimationFrame(callback);
|
|
79
|
-
});
|
|
80
|
-
cancelFrame = window.cancelAnimationFrame;
|
|
81
|
-
} else {
|
|
82
|
-
frame = window.setTimeout(callback, 26);
|
|
83
|
-
cancelFrame = window.clearTimeout;
|
|
84
|
-
}
|
|
85
|
-
return () => {
|
|
86
|
-
if (frame) {
|
|
87
|
-
cancelFrame(frame);
|
|
88
|
-
frame = void 0;
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
exports.useDialogAnimation = useDialogAnimation;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react");function m({open:t,classPrefix:n,transitionElement:r,dialogRef:i,dialogWindowRef:c,enabled:a,onTransitionEnd:o}){const s=f.useRef(t);f.useLayoutEffect(()=>{if(!a)return;let e=[c,i];r==="window"?e=[c]:r==="root"&&(e=[i]);let u;return t?u=l({dialog:i,waitFor:e,classPrefix:n,onTransitionEnd:o}):s.current!==t&&(u=A({dialog:i,waitFor:e,classPrefix:n,onTransitionEnd:o})),s.current=t,()=>{u&&u()}},[t,a])}function l({dialog:t,waitFor:n,classPrefix:r,onTransitionEnd:i}){return w(t,n,`${r}--show`,i)}function A({dialog:t,waitFor:n,classPrefix:r,onTransitionEnd:i}){return w(t,n,`${r}--hide`,i)}function w(t,n,r,i){if(!t.current||!r)return;let c=0;const a=n?n.length:0,o=`${r}-init`;return t.current.classList.add(o),v(()=>{t.current&&(t.current.classList.add(r),t.current.classList.remove(o),n.forEach(s=>{const e=()=>{var u,d;++c===a&&((u=t.current)==null||u.classList.remove(r),i(),(d=s.current)==null||d.removeEventListener("transitionend",e))};s.current.addEventListener("transitionend",e,{once:!0})}))})}function v(t){let n,r;return window.requestAnimationFrame?(n=window.requestAnimationFrame(()=>{n=window.requestAnimationFrame(t)}),r=window.cancelAnimationFrame):(n=window.setTimeout(t,26),r=window.clearTimeout),()=>{n&&(r(n),n=void 0)}}exports.useDialogAnimation=m;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const React = require("react");
|
|
3
|
-
const EbayDialogFooter = ({ children }) => React.createElement(React.Fragment, null, children);
|
|
4
|
-
module.exports = EbayDialogFooter;
|
|
1
|
+
"use strict";const e=require("react"),r=({children:t})=>e.createElement(e.Fragment,null,t);module.exports=r;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const React = require("react");
|
|
3
|
-
const EbayDialogHeader = ({ children, ...rest }) => React.createElement("h2", { ...rest }, children);
|
|
4
|
-
module.exports = EbayDialogHeader;
|
|
1
|
+
"use strict";const r=require("react"),a=({children:e,...t})=>r.createElement("h2",{...t},e);module.exports=a;
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const ebayDialogBase_components_dialogHeader = require("./components/dialog-header/index.js");
|
|
4
|
-
const ebayDialogBase_components_dialogFooter = require("./components/dialog-footer/index.js");
|
|
5
|
-
const dialogPreviousButton = require("../dialog-previous-button-EC_Y6KaT.js");
|
|
6
|
-
const ebayDialogBase_components_animation = require("./components/animation/index.js");
|
|
7
|
-
exports.EbayDialogHeader = ebayDialogBase_components_dialogHeader;
|
|
8
|
-
exports.EbayDialogFooter = ebayDialogBase_components_dialogFooter;
|
|
9
|
-
exports.DialogBaseWithState = dialogPreviousButton.DialogBaseWithState;
|
|
10
|
-
exports.EbayDialogActions = dialogPreviousButton.EbayDialogActions;
|
|
11
|
-
exports.EbayDialogCloseButton = dialogPreviousButton.EbayDialogCloseButton;
|
|
12
|
-
exports.EbayDialogPreviousButton = dialogPreviousButton.EbayDialogPreviousButton;
|
|
13
|
-
exports.useDialogAnimation = ebayDialogBase_components_animation.useDialogAnimation;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./components/dialog-header/index.js"),e=require("./components/dialog-footer/index.js"),o=require("../dialog-previous-button-CpuFLkQp.js"),i=require("./components/animation/index.js");exports.EbayDialogHeader=a;exports.EbayDialogFooter=e;exports.DialogBaseWithState=o.DialogBaseWithState;exports.EbayDialogActions=o.EbayDialogActions;exports.EbayDialogCloseButton=o.EbayDialogCloseButton;exports.EbayDialogPreviousButton=o.EbayDialogPreviousButton;exports.useDialogAnimation=i.useDialogAnimation;
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const drawer = require("../drawer-DBDktEBZ.js");
|
|
4
|
-
exports.EbayDrawerDialog = drawer.EbayDrawerDialog;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../drawer-rqXAEeqd.js");exports.EbayDrawerDialog=e.EbayDrawerDialog;
|
package/ebay-eek/index.js
CHANGED
|
@@ -1,54 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const React = require("react");
|
|
4
|
-
const classNames = require("classnames");
|
|
5
|
-
const icon = require("../icon-B17Di3YL.js");
|
|
6
|
-
const validRanges = {
|
|
7
|
-
"A+++": ["D", "E", "G"],
|
|
8
|
-
"A++": ["E", "G"],
|
|
9
|
-
"A+": ["F", "G"],
|
|
10
|
-
A: ["G"]
|
|
11
|
-
};
|
|
12
|
-
const eekUtil = (input) => {
|
|
13
|
-
const { max, min, rating } = input;
|
|
14
|
-
const validMax = validRanges[max];
|
|
15
|
-
if (!(validMax && validMax.indexOf(min) > -1)) {
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
let current = max;
|
|
19
|
-
let i = 1;
|
|
20
|
-
while (current !== rating) {
|
|
21
|
-
i++;
|
|
22
|
-
if (min === current) {
|
|
23
|
-
return null;
|
|
24
|
-
} else if (current.length > 1) {
|
|
25
|
-
current = current.slice(0, current.length - 1);
|
|
26
|
-
} else {
|
|
27
|
-
current = String.fromCharCode(current.charCodeAt(0) + 1);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
return i > 7 ? 7 : i;
|
|
31
|
-
};
|
|
32
|
-
const EbayEek = ({ min = "", max = "", rating, a11yText, className: extraClasses }) => {
|
|
33
|
-
const parsedRating = eekUtil({ rating, min, max });
|
|
34
|
-
const className = classNames(extraClasses, "eek", { [`eek--rating-${parsedRating}`]: !!parsedRating });
|
|
35
|
-
const backupA11yText = `Energy Rating: ${rating}. Range: ${max} - ${min}.`;
|
|
36
|
-
return React.createElement(
|
|
37
|
-
"div",
|
|
38
|
-
{ className, role: "figure", "aria-label": a11yText || backupA11yText },
|
|
39
|
-
React.createElement(
|
|
40
|
-
"div",
|
|
41
|
-
{ className: "eek__container", "aria-hidden": true },
|
|
42
|
-
React.createElement(
|
|
43
|
-
"span",
|
|
44
|
-
{ className: "eek__rating-range" },
|
|
45
|
-
React.createElement("span", { "aria-hidden": "true" }, max),
|
|
46
|
-
React.createElement(icon.EbayIcon, { name: "eekRangeArrow" }),
|
|
47
|
-
React.createElement("span", { "aria-hidden": "true" }, min)
|
|
48
|
-
),
|
|
49
|
-
React.createElement("span", { className: "eek__rating", "aria-hidden": "true" }, rating)
|
|
50
|
-
),
|
|
51
|
-
React.createElement(icon.EbayIcon, { name: "eekArrow" })
|
|
52
|
-
);
|
|
53
|
-
};
|
|
54
|
-
exports.EbayEek = EbayEek;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),u=require("classnames"),i=require("../icon-TuxfQndO.js"),d={"A+++":["D","E","G"],"A++":["E","G"],"A+":["F","G"],A:["G"]},E=r=>{const{max:t,min:n,rating:s}=r,l=d[t];if(!(l&&l.indexOf(n)>-1))return null;let e=t,c=1;for(;e!==s;){if(c++,n===e)return null;e.length>1?e=e.slice(0,e.length-1):e=String.fromCharCode(e.charCodeAt(0)+1)}return c>7?7:c},m=({min:r="",max:t="",rating:n,a11yText:s,className:l})=>{const e=E({rating:n,min:r,max:t}),c=u(l,"eek",{[`eek--rating-${e}`]:!!e}),o=`Energy Rating: ${n}. Range: ${t} - ${r}.`;return a.createElement("div",{className:c,role:"figure","aria-label":s||o},a.createElement("div",{className:"eek__container","aria-hidden":!0},a.createElement("span",{className:"eek__rating-range"},a.createElement("span",{"aria-hidden":"true"},t),a.createElement(i.EbayIcon,{name:"eekRangeArrow"}),a.createElement("span",{"aria-hidden":"true"},r)),a.createElement("span",{className:"eek__rating","aria-hidden":"true"},n)),a.createElement(i.EbayIcon,{name:"eekArrow"}))};exports.EbayEek=m;
|
package/ebay-fake-menu/index.js
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const menu = require("../menu-fCOy6wBS.js");
|
|
4
|
-
const ebayFakeMenu_menuItem = require("./menu-item/index.js");
|
|
5
|
-
const React = require("react");
|
|
6
|
-
const classNames = require("classnames");
|
|
7
|
-
const EbayMenuItemSeparator = ({ className, ...rest }) => React.createElement("hr", { ...rest, className: classNames(className, "fake-menu__separator"), role: "separator" });
|
|
8
|
-
exports.EbayFakeMenu = menu.EbayFakeMenu;
|
|
9
|
-
exports.EbayFakeMenuItem = ebayFakeMenu_menuItem;
|
|
10
|
-
exports.EbayFakeMenuSeparator = EbayMenuItemSeparator;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../menu-_LzP6yje.js"),t=require("./menu-item/index.js"),n=require("react"),u=require("classnames"),o=({className:e,...a})=>n.createElement("hr",{...a,className:u(e,"fake-menu__separator"),role:"separator"});exports.EbayFakeMenu=r.EbayFakeMenu;exports.EbayFakeMenuItem=t;exports.EbayFakeMenuSeparator=o;
|
|
@@ -1,49 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const React = require("react");
|
|
3
|
-
const classNames = require("classnames");
|
|
4
|
-
const icon = require("../../icon-B17Di3YL.js");
|
|
5
|
-
const badge = require("../../badge-CR5t7-2L.js");
|
|
6
|
-
const EbayMenuItem = ({ className, current, disabled, autoFocus, type, badgeNumber, badgeAriaLabel, children, ...rest }) => {
|
|
7
|
-
const ref = React.useRef();
|
|
8
|
-
const hasBadge = badgeNumber !== void 0;
|
|
9
|
-
React.useEffect(() => {
|
|
10
|
-
var _a;
|
|
11
|
-
if (autoFocus) {
|
|
12
|
-
(_a = ref.current) == null ? void 0 : _a.focus();
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
const itemProps = {
|
|
16
|
-
...rest,
|
|
17
|
-
ref,
|
|
18
|
-
className: classNames(className, "fake-menu__item", hasBadge && "menu__item--badged"),
|
|
19
|
-
"aria-label": badgeAriaLabel
|
|
20
|
-
};
|
|
21
|
-
const tick = React.createElement(icon.EbayIcon, { name: "tick16" });
|
|
22
|
-
const badgeStyleFix = {
|
|
23
|
-
marginLeft: "var(--spacing-100)",
|
|
24
|
-
marginRight: "var(--spacing-100)"
|
|
25
|
-
};
|
|
26
|
-
const badge$1 = hasBadge && React.createElement(badge.EbayBadge, { type: "menu", number: badgeNumber, style: badgeStyleFix });
|
|
27
|
-
return type === "button" ? React.createElement(
|
|
28
|
-
"button",
|
|
29
|
-
{ ...itemProps, type: "button", disabled },
|
|
30
|
-
React.createElement(
|
|
31
|
-
"span",
|
|
32
|
-
null,
|
|
33
|
-
children,
|
|
34
|
-
badge$1
|
|
35
|
-
),
|
|
36
|
-
tick
|
|
37
|
-
) : React.createElement(
|
|
38
|
-
"a",
|
|
39
|
-
{ ...itemProps, "aria-disabled": disabled ? "true" : void 0 },
|
|
40
|
-
React.createElement(
|
|
41
|
-
"span",
|
|
42
|
-
null,
|
|
43
|
-
children,
|
|
44
|
-
badge$1
|
|
45
|
-
),
|
|
46
|
-
tick
|
|
47
|
-
);
|
|
48
|
-
};
|
|
49
|
-
module.exports = EbayMenuItem;
|
|
1
|
+
"use strict";const e=require("react"),p=require("classnames"),d=require("../../icon-TuxfQndO.js"),y=require("../../badge-CoHKfiPt.js"),q=({className:m,current:v,disabled:t,autoFocus:l,type:b,badgeNumber:n,badgeAriaLabel:g,children:a,...E})=>{const c=e.useRef(),r=n!==void 0;e.useEffect(()=>{var u;l&&((u=c.current)==null||u.focus())});const s={...E,ref:c,className:p(m,"fake-menu__item",r&&"menu__item--badged"),"aria-label":g},i=e.createElement(d.EbayIcon,{name:"tick16"}),f={marginLeft:"var(--spacing-100)",marginRight:"var(--spacing-100)"},o=r&&e.createElement(y.EbayBadge,{type:"menu",number:n,style:f});return b==="button"?e.createElement("button",{...s,type:"button",disabled:t},e.createElement("span",null,a,o),i):e.createElement("a",{...s,"aria-disabled":t?"true":void 0},e.createElement("span",null,a,o),i)};module.exports=q;
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const ebayFakeMenuButton_menuButton = require("../menu-button-CKGsgg6G.js");
|
|
4
|
-
exports.EbayFakeMenuButton = ebayFakeMenuButton_menuButton.EbayMenuButton;
|
|
5
|
-
exports.EbayFakeMenuButtonItem = ebayFakeMenuButton_menuButton.EbayFakeMenuButtonItem;
|
|
6
|
-
exports.EbayFakeMenuButtonLabel = ebayFakeMenuButton_menuButton.EbayFakeMenuButtonLabel;
|
|
7
|
-
exports.EbayFakeMenuButtonSeparator = ebayFakeMenuButton_menuButton.EbayMenuButtonSeparator;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../menu-button-BZ66jxvI.js");exports.EbayFakeMenuButton=e.EbayMenuButton;exports.EbayFakeMenuButtonItem=e.EbayFakeMenuButtonItem;exports.EbayFakeMenuButtonLabel=e.EbayFakeMenuButtonLabel;exports.EbayFakeMenuButtonSeparator=e.EbayMenuButtonSeparator;
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
require("react");
|
|
3
|
-
require("classnames");
|
|
4
|
-
require("../../common/component-utils/utils/index.js");
|
|
5
|
-
require("../../common/event-utils/index.js");
|
|
6
|
-
require("../../common/random-id/index.js");
|
|
7
|
-
require("../../button-B4bZIgwB.js");
|
|
8
|
-
require("../../icon-B17Di3YL.js");
|
|
9
|
-
require("../../icon-button-BQWoMgX1.js");
|
|
10
|
-
require("../../menu-fCOy6wBS.js");
|
|
11
|
-
const ebayFakeMenuButton_menuButton = require("../../menu-button-CKGsgg6G.js");
|
|
12
|
-
module.exports = ebayFakeMenuButton_menuButton.EbayMenuButton;
|
|
1
|
+
"use strict";require("react");require("classnames");require("../../common/component-utils/utils/index.js");require("../../common/event-utils/index.js");require("../../common/random-id/index.js");require("../../button-DGuEBUDJ.js");require("../../icon-TuxfQndO.js");require("../../icon-button-Cwaj-eT9.js");require("../../menu-_LzP6yje.js");const e=require("../../menu-button-BZ66jxvI.js");module.exports=e.EbayMenuButton;
|
package/ebay-fake-tabs/index.js
CHANGED
|
@@ -1,30 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const React = require("react");
|
|
4
|
-
const classNames = require("classnames");
|
|
5
|
-
const common_componentUtils_utils = require("../common/component-utils/utils/index.js");
|
|
6
|
-
const Tab = ({ children, href, ariaCurrent, className, ...rest }) => React.createElement(
|
|
7
|
-
"li",
|
|
8
|
-
{ ...rest, className: classNames(className, "fake-tabs__item") },
|
|
9
|
-
React.createElement("a", { href, "aria-current": ariaCurrent }, children)
|
|
10
|
-
);
|
|
11
|
-
const EbayFakeTabs = ({ selectedIndex = 0, tabMatchesCurrentUrl, className, children, ...rest }) => {
|
|
12
|
-
const ariaCurrent = tabMatchesCurrentUrl === false ? "true" : "page";
|
|
13
|
-
const tabHeadings = common_componentUtils_utils.filterByType(children, Tab).map((item, i) => React.cloneElement(item, {
|
|
14
|
-
...item.props,
|
|
15
|
-
ariaCurrent: selectedIndex === i ? ariaCurrent : null
|
|
16
|
-
}));
|
|
17
|
-
const tabContent = common_componentUtils_utils.excludeComponent(children, Tab);
|
|
18
|
-
return React.createElement(
|
|
19
|
-
"div",
|
|
20
|
-
{ ...rest, className: classNames(className, "fake-tabs") },
|
|
21
|
-
React.createElement("ul", { className: "fake-tabs__items" }, tabHeadings),
|
|
22
|
-
React.createElement(
|
|
23
|
-
"div",
|
|
24
|
-
{ className: "fake-tabs__content" },
|
|
25
|
-
React.createElement("div", { className: "fake-tabs__cell" }, tabContent)
|
|
26
|
-
)
|
|
27
|
-
);
|
|
28
|
-
};
|
|
29
|
-
exports.EbayFakeTab = Tab;
|
|
30
|
-
exports.EbayFakeTabs = EbayFakeTabs;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),m=require("classnames"),o=require("../common/component-utils/utils/index.js"),r=({children:t,href:s,ariaCurrent:n,className:a,...c})=>e.createElement("li",{...c,className:m(a,"fake-tabs__item")},e.createElement("a",{href:s,"aria-current":n},t)),_=({selectedIndex:t=0,tabMatchesCurrentUrl:s,className:n,children:a,...c})=>{const i=s===!1?"true":"page",b=o.filterByType(a,r).map((l,E)=>e.cloneElement(l,{...l.props,ariaCurrent:t===E?i:null})),u=o.excludeComponent(a,r);return e.createElement("div",{...c,className:m(n,"fake-tabs")},e.createElement("ul",{className:"fake-tabs__items"},b),e.createElement("div",{className:"fake-tabs__content"},e.createElement("div",{className:"fake-tabs__cell"},u)))};exports.EbayFakeTab=r;exports.EbayFakeTabs=_;
|
package/ebay-field/index.js
CHANGED
|
@@ -1,21 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const React = require("react");
|
|
4
|
-
const classNames = require("classnames");
|
|
5
|
-
const label = require("../label-C0AS4fnO.js");
|
|
6
|
-
const Field = ({ className, layout = "inline", children }) => {
|
|
7
|
-
const WrapperElement = layout === "block" ? "div" : "span";
|
|
8
|
-
return React.createElement(WrapperElement, { className: classNames("field", className) }, children);
|
|
9
|
-
};
|
|
10
|
-
const Description = ({ type, position = "below", className, children, ...rest }) => {
|
|
11
|
-
const wrapperClassName = classNames(className, "field__description", { [`field__description--${type}`]: type });
|
|
12
|
-
const WrapperElement = position === "below" ? `div` : `span`;
|
|
13
|
-
return React.createElement(
|
|
14
|
-
WrapperElement,
|
|
15
|
-
{ ...rest, className: wrapperClassName },
|
|
16
|
-
React.createElement("span", null, children)
|
|
17
|
-
);
|
|
18
|
-
};
|
|
19
|
-
exports.EbayLabel = label.Label;
|
|
20
|
-
exports.EbayField = Field;
|
|
21
|
-
exports.EbayFieldDescription = Description;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),a=require("classnames"),o=require("../label-CnrpYJ-g.js"),p=({className:e,layout:l="inline",children:t})=>{const n=l==="block"?"div":"span";return r.createElement(n,{className:a("field",e)},t)},d=({type:e,position:l="below",className:t,children:n,...s})=>{const i=a(t,"field__description",{[`field__description--${e}`]:e}),c=l==="below"?"div":"span";return r.createElement(c,{...s,className:i},r.createElement("span",null,n))};exports.EbayLabel=o.Label;exports.EbayField=p;exports.EbayFieldDescription=d;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const React = require("react");
|
|
4
|
-
const classNames = require("classnames");
|
|
5
|
-
const dialogPreviousButton = require("../dialog-previous-button-EC_Y6KaT.js");
|
|
6
|
-
require("../icon-button-BQWoMgX1.js");
|
|
7
|
-
const classPrefix = "fullscreen-dialog";
|
|
8
|
-
const EbayFullscreenDialog = ({ open, onClose = () => {
|
|
9
|
-
}, className, animated, ...rest }) => React.createElement(dialogPreviousButton.DialogBaseWithState, { ...rest, classPrefix, buttonPosition: "right", onCloseBtnClick: onClose, transitionElement: "window", animated, className: classNames(className, `${classPrefix}--mask-fade-slow`), windowClass: classNames(`${classPrefix}__window`, `${classPrefix}__window--slide`), open });
|
|
10
|
-
exports.EbayFullscreenDialog = EbayFullscreenDialog;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),o=require("classnames"),r=require("../dialog-previous-button-CpuFLkQp.js");require("../icon-button-Cwaj-eT9.js");const e="fullscreen-dialog",c=({open:s,onClose:t=()=>{},className:i,animated:l,...n})=>a.createElement(r.DialogBaseWithState,{...n,classPrefix:e,buttonPosition:"right",onCloseBtnClick:t,transitionElement:"window",animated:l,className:o(i,`${e}--mask-fade-slow`),windowClass:o(`${e}__window`,`${e}__window--slide`),open:s});exports.EbayFullscreenDialog=c;
|
package/ebay-icon/index.js
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const icon = require("../icon-B17Di3YL.js");
|
|
4
|
-
exports.EbayIcon = icon.EbayIcon;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../icon-TuxfQndO.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' | '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' | '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' | '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' | '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' | 'notification16' | 'notification20' | 'notification24' | 'notification64' | 'notificationFilled24' | 'onTheWay16' | 'onTheWay24' | 'overflowHorizontal16' | 'overflowHorizontal20' | 'overflowHorizontal24' | 'overflowVertical16' | 'overflowVertical20' | 'overflowVertical24' | 'package16' | 'package24' | 'package64' | 'panel16' | 'panel20' | 'panel24' | 'panelClose16' | 'panelClose20' | 'panelClose24' | 'panelOpen16' | 'panelOpen20' | 'panelOpen24' | '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' | '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' | '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' | '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';
|
|
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,YAAY,GACZ,YAAY,GACZ,qBAAqB,GACrB,qBAAqB,GACrB,qBAAqB,GACrB,2BAA2B,GAC3B,2BAA2B,GAC3B,2BAA2B,GAC3B,yBAAyB,GACzB,UAAU,GACV,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,aAAa,GACb,aAAa,GAC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AAc,GACd,eAAe,GACf,eAAe,GACf,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,UAAU,GACV,UAAU,GACV,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,YAAY,GACZ,YAAY,GACZ,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,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,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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gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,aAAa,GACb,mBAAmB,GACnB,mBAAmB,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,kBAAkB,GAClB,kBAAkB,GAClB,cAAc,GACd,cAAc,GACd,eAAe,GACf,eAAe,GACf,oBAAoB,GACpB,oBAAoB,GACpB,eAAe,GACf,aAAa,GACb,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,UAAU,GACV,UAAU,GACV,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,YAAY,GACZ,YAAY,GACZ,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,4 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const iconButton = require("../icon-button-BQWoMgX1.js");
|
|
4
|
-
exports.EbayIconButton = iconButton.EbayIconButton;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../icon-button-Cwaj-eT9.js");exports.EbayIconButton=t.EbayIconButton;
|
package/ebay-infotip/index.js
CHANGED
|
@@ -1,76 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const React = require("react");
|
|
4
|
-
const classNames$1 = require("classnames");
|
|
5
|
-
const common_componentUtils_utils = require("../common/component-utils/utils/index.js");
|
|
6
|
-
const useTooltip = require("../use-tooltip-7JxcZHJn.js");
|
|
7
|
-
const drawer = require("../drawer-DBDktEBZ.js");
|
|
8
|
-
const ebayDialogBase_components_dialogHeader = require("../ebay-dialog-base/components/dialog-header/index.js");
|
|
9
|
-
require("react-remove-scroll");
|
|
10
|
-
const icon = require("../icon-B17Di3YL.js");
|
|
11
|
-
require("../icon-button-BQWoMgX1.js");
|
|
12
|
-
const classNames = require("classnames/dedupe");
|
|
13
|
-
const common_componentUtils_forwardRef = require("../common/component-utils/forwardRef/index.js");
|
|
14
|
-
const EbayInfotipHost = ({ icon: icon$1, className, children, forwardedRef, variant, ...rest }) => {
|
|
15
|
-
const classPrefix = variant === "modal" ? "dialog--mini" : "infotip";
|
|
16
|
-
const buttonIcon = React.createElement(icon.EbayIcon, { name: icon$1 });
|
|
17
|
-
const buttonContent = children instanceof Function ? children({ icon: buttonIcon }) : children;
|
|
18
|
-
return React.createElement("button", { ...rest, className: classNames("icon-btn icon-btn--transparent", className, `${classPrefix}__host`), type: "button", ref: forwardedRef }, buttonContent || buttonIcon);
|
|
19
|
-
};
|
|
20
|
-
const EbayInfotipHost$1 = common_componentUtils_forwardRef.withForwardRef(EbayInfotipHost);
|
|
21
|
-
const EbayInfotip = ({ variant = "default", pointer, overlayStyle, disabled, onExpand, onCollapse, children, initialExpanded, icon: icon2 = "information16", a11yCloseText, "aria-label": ariaLabel, className, a11yMaximizeText, a11yMinimizeText }) => {
|
|
22
|
-
const buttonRef = React.useRef();
|
|
23
|
-
const { isExpanded, expandTooltip, collapseTooltip } = useTooltip.useTooltip({ onCollapse, onExpand, initialExpanded, hostRef: buttonRef });
|
|
24
|
-
const isModal = variant === "modal";
|
|
25
|
-
const containerRef = React.useRef();
|
|
26
|
-
const heading = common_componentUtils_utils.findComponent(children, EbayTooltipHeading);
|
|
27
|
-
const content = common_componentUtils_utils.findComponent(children, EbayInfotipContent);
|
|
28
|
-
const button = common_componentUtils_utils.findComponent(children, EbayInfotipHost$1) || React.createElement(EbayInfotipHost$1);
|
|
29
|
-
const toggleTooltip = () => {
|
|
30
|
-
if (isExpanded) {
|
|
31
|
-
collapseTooltip();
|
|
32
|
-
} else {
|
|
33
|
-
expandTooltip();
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
if (!content) {
|
|
37
|
-
throw new Error(`EbayInfotip: Please use a EbayInfotipContent that defines the content of the infotip`);
|
|
38
|
-
}
|
|
39
|
-
const { children: contentChildren, ...contentProps } = content.props;
|
|
40
|
-
return React.createElement(
|
|
41
|
-
React.Fragment,
|
|
42
|
-
null,
|
|
43
|
-
React.createElement(
|
|
44
|
-
useTooltip.Tooltip,
|
|
45
|
-
{ type: "infotip", isExpanded, className: classNames$1(className, { "dialog--mini": isModal }), ref: containerRef },
|
|
46
|
-
React.createElement(useTooltip.TooltipHost, null, React.cloneElement(button, {
|
|
47
|
-
ref: buttonRef,
|
|
48
|
-
onClick: toggleTooltip,
|
|
49
|
-
disabled,
|
|
50
|
-
variant,
|
|
51
|
-
"aria-label": ariaLabel,
|
|
52
|
-
"aria-expanded": isExpanded,
|
|
53
|
-
icon: icon2,
|
|
54
|
-
...button.props
|
|
55
|
-
})),
|
|
56
|
-
!isModal && React.createElement(
|
|
57
|
-
useTooltip.TooltipContent,
|
|
58
|
-
{ ...contentProps, type: "infotip", style: overlayStyle, pointer, showCloseButton: true, a11yCloseText, onClose: collapseTooltip },
|
|
59
|
-
heading,
|
|
60
|
-
contentChildren
|
|
61
|
-
)
|
|
62
|
-
),
|
|
63
|
-
isModal && React.createElement(
|
|
64
|
-
drawer.EbayDrawerDialog,
|
|
65
|
-
{ ...contentProps, open: isExpanded, onClose: collapseTooltip, a11yCloseText, className: "dialog--mini__overlay", a11yMaximizeText, a11yMinimizeText },
|
|
66
|
-
React.createElement(ebayDialogBase_components_dialogHeader, null, heading),
|
|
67
|
-
contentChildren
|
|
68
|
-
)
|
|
69
|
-
);
|
|
70
|
-
};
|
|
71
|
-
const EbayTooltipHeading = ({ className, ...props }) => React.createElement("span", { ...props, className: classNames$1("infotip__heading", className) });
|
|
72
|
-
const EbayInfotipContent = ({ children }) => React.createElement(React.Fragment, null, children);
|
|
73
|
-
exports.EbayInfotip = EbayInfotip;
|
|
74
|
-
exports.EbayInfotipContent = EbayInfotipContent;
|
|
75
|
-
exports.EbayInfotipHeading = EbayTooltipHeading;
|
|
76
|
-
exports.EbayInfotipHost = EbayInfotipHost$1;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),T=require("classnames"),E=require("../common/component-utils/utils/index.js"),r=require("../use-tooltip-CL3_zAeg.js"),$=require("../drawer-rqXAEeqd.js"),B=require("../ebay-dialog-base/components/dialog-header/index.js");require("react-remove-scroll");require("makeup-screenreader-trap");require("makeup-keyboard-trap");const M=require("../icon-TuxfQndO.js");require("../icon-button-Cwaj-eT9.js");const S=require("classnames/dedupe"),U=require("../common/component-utils/forwardRef/index.js"),j=({icon:t,className:o,children:n,forwardedRef:c,variant:l,...p})=>{const i=l==="modal"?"dialog--mini":"infotip",a=e.createElement(M.EbayIcon,{name:t}),f=n instanceof Function?n({icon:a}):n;return e.createElement("button",{...p,className:S("icon-btn icon-btn--transparent",o,`${i}__host`),type:"button",ref:c},f||a)},b=U.withForwardRef(j),k=({variant:t="default",pointer:o,overlayStyle:n,disabled:c,onExpand:l,onCollapse:p,children:i,initialExpanded:a,icon:f="information16",a11yCloseText:d,"aria-label":R,className:H,a11yMaximizeText:N,a11yMinimizeText:F})=>{const y=e.useRef(),{isExpanded:s,expandTooltip:P,collapseTooltip:m}=r.useTooltip({onCollapse:p,onExpand:l,initialExpanded:a,hostRef:y}),u=t==="modal",x=e.useRef(),g=E.findComponent(i,h),q=E.findComponent(i,w),C=E.findComponent(i,b)||e.createElement(b),D=()=>{s?m():P()};if(!q)throw new Error("EbayInfotip: Please use a EbayInfotipContent that defines the content of the infotip");const{children:I,..._}=q.props;return e.createElement(e.Fragment,null,e.createElement(r.Tooltip,{type:"infotip",isExpanded:s,className:T(H,{"dialog--mini":u}),ref:x},e.createElement(r.TooltipHost,null,e.cloneElement(C,{ref:y,onClick:D,disabled:c,variant:t,"aria-label":R,"aria-expanded":s,icon:f,...C.props})),!u&&e.createElement(r.TooltipContent,{..._,type:"infotip",style:n,pointer:o,showCloseButton:!0,a11yCloseText:d,onClose:m},g,I)),u&&e.createElement($.EbayDrawerDialog,{..._,open:s,onClose:m,a11yCloseText:d,className:"dialog--mini__overlay",a11yMaximizeText:N,a11yMinimizeText:F},e.createElement(B,null,g),I))},h=({className:t,...o})=>e.createElement("span",{...o,className:T("infotip__heading",t)}),w=({children:t})=>e.createElement(e.Fragment,null,t);exports.EbayInfotip=k;exports.EbayInfotipContent=w;exports.EbayInfotipHeading=h;exports.EbayInfotipHost=b;
|