@ebay/ui-core-react 3.13.2 → 4.0.0-rc.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/common/tooltip-utils/tooltip-content.js +1 -1
- package/common/tooltip-utils/tooltip.d.ts +1 -1
- package/ebay-breadcrumbs/breadcrumb-item.js +1 -1
- package/ebay-button/button-expand.js +1 -1
- package/ebay-button/button.d.ts +1 -1
- package/ebay-carousel/carousel-control-button.js +2 -2
- package/ebay-carousel/carousel-item.d.ts +1 -1
- package/ebay-checkbox/checkbox.js +4 -4
- package/ebay-cta-button/cta-button.d.ts +1 -1
- package/ebay-cta-button/cta-button.js +1 -1
- package/ebay-dialog-base/components/dialogBase.js +1 -1
- package/ebay-fake-menu/menu-item.js +1 -1
- package/ebay-fake-menu-button/menu-button.js +1 -1
- package/ebay-icon/README.md +1 -1
- package/ebay-icon/icon.d.ts +1 -5
- package/ebay-icon/icon.d.ts.map +1 -1
- package/ebay-icon/icon.js +9 -21
- package/ebay-icon/types.d.ts +1 -1
- package/ebay-icon/types.d.ts.map +1 -1
- package/ebay-icon-button/icon-button.d.ts +1 -1
- package/ebay-infotip/ebay-infotip-host.d.ts +1 -1
- package/ebay-listbox-button/listbox-button-option.js +1 -1
- package/ebay-listbox-button/listbox-button.js +1 -1
- package/ebay-menu/menu-item.js +1 -1
- package/ebay-pagination/pagination-item.d.ts +1 -1
- package/ebay-pagination/pagination-item.js +2 -2
- package/ebay-pagination/pagination.js +1 -1
- package/ebay-progress-spinner/progress-spinner.js +1 -1
- package/ebay-progress-stepper/ebay-progress-step.js +4 -4
- package/ebay-radio/radio.js +4 -4
- package/ebay-select/ebay-select.js +1 -1
- package/ebay-svg/svg.d.ts.map +1 -1
- package/ebay-svg/svg.js +2088 -651
- package/ebay-textbox/textbox.d.ts +1 -1
- package/ebay-video/reportButton.js +1 -1
- package/ebay-video/video.js +2 -2
- package/package.json +3 -5
- package/ebay-program-badge/README.md +0 -20
- package/ebay-program-badge/index.d.ts +0 -3
- package/ebay-program-badge/index.d.ts.map +0 -1
- package/ebay-program-badge/index.js +0 -4
- package/ebay-program-badge/program-badge.d.ts +0 -9
- package/ebay-program-badge/program-badge.d.ts.map +0 -1
- package/ebay-program-badge/program-badge.js +0 -34
- package/ebay-program-badge/types.d.ts +0 -2
- package/ebay-program-badge/types.d.ts.map +0 -1
- package/ebay-program-badge/types.js +0 -3
- package/index.d.ts +0 -44
- package/index.d.ts.map +0 -1
- package/index.js +0 -132
|
@@ -11,6 +11,6 @@ export declare type EbayIconButtonProps = {
|
|
|
11
11
|
declare type HTMLButtonProps = ComponentProps<'button'>;
|
|
12
12
|
declare type HTMLAnchorProps = ComponentProps<'a'>;
|
|
13
13
|
declare type Props = EbayIconButtonProps & HTMLButtonProps & HTMLAnchorProps;
|
|
14
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "form" | "slot" | "style" | "title" | "type" | "
|
|
14
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "form" | "slot" | "style" | "title" | "type" | "key" | "value" | "className" | "disabled" | "placeholder" | "children" | "dir" | "autoFocus" | "download" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "hrefLang" | "media" | "name" | "rel" | "target" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "forwardedRef" | "transparent" | "ping" | "referrerPolicy" | "icon" | "badgeNumber" | "badgeAriaLabel"> & React.RefAttributes<React.FC<Props>>>;
|
|
15
15
|
export default _default;
|
|
16
16
|
//# sourceMappingURL=icon-button.d.ts.map
|
|
@@ -9,6 +9,6 @@ declare type InfotipHostProps = ComponentProps<'button'> & {
|
|
|
9
9
|
icon: any;
|
|
10
10
|
}) => ReactNode | ReactNode;
|
|
11
11
|
};
|
|
12
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<InfotipHostProps, "form" | "slot" | "style" | "title" | "type" | "
|
|
12
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<InfotipHostProps, "form" | "slot" | "style" | "title" | "type" | "key" | "value" | "className" | "disabled" | "placeholder" | "children" | "dir" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "forwardedRef" | "variant" | "icon"> & React.RefAttributes<React.FC<InfotipHostProps>>>;
|
|
13
13
|
export default _default;
|
|
14
14
|
//# sourceMappingURL=ebay-infotip-host.d.ts.map
|
|
@@ -33,6 +33,6 @@ var ListboxOption = function (_a) {
|
|
|
33
33
|
var wrapperClassName = classnames_1.default("listbox-button__option", className, { 'listbox-button__option--active': selected });
|
|
34
34
|
return (react_1.default.createElement("div", __assign({}, rest, { className: wrapperClassName, role: "option", id: id || "listbox_btn_" + value + "_" + index, "aria-selected": selected, ref: innerRef, onClick: function (e) { onClick(e, value, index); } }),
|
|
35
35
|
react_1.default.createElement("span", { className: "listbox-button__value" }, children),
|
|
36
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
36
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "tick16" })));
|
|
37
37
|
};
|
|
38
38
|
exports.default = ListboxOption;
|
|
@@ -218,7 +218,7 @@ var ListboxButton = function (_a) {
|
|
|
218
218
|
react_1.default.createElement("span", { className: "btn__cell" },
|
|
219
219
|
floatingLabel ? (react_1.default.createElement("span", { className: "btn__floating-label" }, floatingLabel)) : null,
|
|
220
220
|
react_1.default.createElement("span", { className: "btn__text", id: expandBtnTextId }, selectedOption.props.children),
|
|
221
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
221
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "chevronDown16" }))),
|
|
222
222
|
(expanded || optionsOpened) &&
|
|
223
223
|
react_1.default.createElement("div", { className: "listbox-button__listbox", ref: optionsParentContainerRef, style: { maxHeight: maxHeight } },
|
|
224
224
|
react_1.default.createElement("div", { className: "listbox-button__options", role: "listbox", tabIndex: expanded ? 0 : -1, ref: optionsContainerRef, onKeyDown: function (e) { return onOptionContainerKeydown(e); },
|
package/ebay-menu/menu-item.js
CHANGED
|
@@ -62,7 +62,7 @@ var EbayMenuItem = function (_a) {
|
|
|
62
62
|
react_1.default.createElement("span", { "aria-hidden": hasBadge },
|
|
63
63
|
children,
|
|
64
64
|
hasBadge && react_1.default.createElement(ebay_badge_1.EbayBadge, { type: "menu", number: badgeNumber })),
|
|
65
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
65
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "tick16" })));
|
|
66
66
|
};
|
|
67
67
|
function roleFromType(type) {
|
|
68
68
|
var roles = {
|
|
@@ -18,6 +18,6 @@ export declare type PaginationItemProps = HtmlProps & {
|
|
|
18
18
|
forwardedRef?: RefObject<HTMLAnchorElement & HTMLButtonElement>;
|
|
19
19
|
children?: ReactNode;
|
|
20
20
|
};
|
|
21
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<PaginationItemProps, "form" | "slot" | "style" | "title" | "type" | "download" | "
|
|
21
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<PaginationItemProps, "form" | "slot" | "style" | "title" | "type" | "key" | "value" | "className" | "disabled" | "placeholder" | "children" | "dir" | "autoFocus" | "download" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "hrefLang" | "media" | "name" | "rel" | "target" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "forwardedRef" | "ping" | "referrerPolicy" | "a11yPreviousText" | "a11yNextText" | "onNext" | "onPrevious" | "hide" | "current" | "pageIndex"> & React.RefAttributes<React.FC<PaginationItemProps>>>;
|
|
22
22
|
export default _default;
|
|
23
23
|
//# sourceMappingURL=pagination-item.d.ts.map
|
|
@@ -50,10 +50,10 @@ var EbayPaginationItem = function (_a) {
|
|
|
50
50
|
switch (type) {
|
|
51
51
|
case 'previous':
|
|
52
52
|
return (react_1.default.createElement(ButtonOrAnchor, __assign({}, rest, { ref: forwardedRef, "aria-disabled": disabled ? 'true' : undefined, "aria-label": a11yPreviousText, href: disabled ? undefined : href, className: classnames_1.default(iconClassName, 'pagination__previous'), style: style, onClick: handlePreviousPage }),
|
|
53
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
53
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "arrowLeft16" })));
|
|
54
54
|
case 'next':
|
|
55
55
|
return (react_1.default.createElement(ButtonOrAnchor, __assign({}, rest, { ref: forwardedRef, "aria-disabled": disabled ? 'true' : undefined, "aria-label": a11yNextText, href: disabled ? undefined : href, className: classnames_1.default(iconClassName, 'pagination__next'), style: style, onClick: handleNextPage }),
|
|
56
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
56
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "arrowRight16" })));
|
|
57
57
|
case 'separator':
|
|
58
58
|
return (react_1.default.createElement("span", { key: key, style: style, className: "pagination__item", ref: forwardedRef, role: "separator" }, children));
|
|
59
59
|
default:
|
|
@@ -113,7 +113,7 @@ var EbayPagination = function (_a) {
|
|
|
113
113
|
var newProps = {
|
|
114
114
|
current: current, disabled: disabled, href: href,
|
|
115
115
|
type: isSeparator ? 'separator' : type,
|
|
116
|
-
children: isDot ? react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
116
|
+
children: isDot ? react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "overflowHorizontal24", height: "18px", focusable: false }) : text,
|
|
117
117
|
pageIndex: type === 'page' ? pageIndex++ : undefined,
|
|
118
118
|
key: key,
|
|
119
119
|
hide: hide,
|
|
@@ -36,6 +36,6 @@ var sizeClass = {
|
|
|
36
36
|
var EbayProgressSpinner = function (_a) {
|
|
37
37
|
var _b = _a.size, size = _b === void 0 ? 'default' : _b, _c = _a["aria-label"], ariaLabel = _c === void 0 ? 'Busy' : _c, className = _a.className, rest = __rest(_a, ["size", 'aria-label', "className"]);
|
|
38
38
|
return (react_1.default.createElement("span", __assign({}, rest, { className: classnames_1.default('progress-spinner', sizeClass[size], className), "aria-label": ariaLabel, role: "img" }),
|
|
39
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
39
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "spinner24" })));
|
|
40
40
|
};
|
|
41
41
|
exports.default = EbayProgressSpinner;
|
|
@@ -49,10 +49,10 @@ var classnames_1 = __importDefault(require("classnames"));
|
|
|
49
49
|
var ebay_icon_1 = require("../ebay-icon");
|
|
50
50
|
var index_1 = require("./index");
|
|
51
51
|
var typeIcons = {
|
|
52
|
-
complete: '
|
|
53
|
-
attention: '
|
|
54
|
-
upcoming: '
|
|
55
|
-
active: '
|
|
52
|
+
complete: 'stepperConfirmation24',
|
|
53
|
+
attention: 'stepperAttention24',
|
|
54
|
+
upcoming: 'stepperUpcoming24',
|
|
55
|
+
active: 'stepperConfirmation24'
|
|
56
56
|
};
|
|
57
57
|
var EbayProgressStep = function (_a) {
|
|
58
58
|
var current = _a.current, _b = _a.state, state = _b === void 0 ? 'complete' : _b, children = _a.children, className = _a.className, rest = __rest(_a, ["current", "state", "children", "className"]);
|
package/ebay-radio/radio.js
CHANGED
|
@@ -56,11 +56,11 @@ var EbayRadio = function (_a) {
|
|
|
56
56
|
};
|
|
57
57
|
var containerClass = classnames_1.default('radio', className, { 'radio--large': size === 'large' });
|
|
58
58
|
var iconChecked = size === 'large' ?
|
|
59
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
60
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
59
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "radioChecked24", className: "radio__checked" }) :
|
|
60
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "radioChecked18", className: "radio__checked" });
|
|
61
61
|
var iconUnChecked = size === 'large' ?
|
|
62
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
63
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
62
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "radioUnchecked24", className: "radio__unchecked" }) :
|
|
63
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "radioUnchecked18", className: "radio__unchecked" });
|
|
64
64
|
var childrenArray = react_1.Children.toArray(children);
|
|
65
65
|
var ebayLabel = childrenArray.find(function (child) { return child.type === ebay_field_1.EbayLabel; });
|
|
66
66
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
@@ -89,7 +89,7 @@ var EbaySelect = function (_a) {
|
|
|
89
89
|
label,
|
|
90
90
|
react_1.default.createElement("span", { className: selectClassName },
|
|
91
91
|
react_1.default.createElement("select", __assign({}, rest, { name: name, value: isControlled(controlledValue) ? controlledValue : value, disabled: disabled, onChange: handleSelectChange, onBlur: handleBlur, onFocus: handleFocus, ref: ref }), options(children)),
|
|
92
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "
|
|
92
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "chevronDown12", height: "8", width: "8" }))));
|
|
93
93
|
};
|
|
94
94
|
exports.default = EbaySelect;
|
|
95
95
|
function optionGroups(data) {
|
package/ebay-svg/svg.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"svg.d.ts","sourceRoot":"","sources":["../../src/ebay-svg/svg.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjC,QAAA,MAAM,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"svg.d.ts","sourceRoot":"","sources":["../../src/ebay-svg/svg.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAEjC,QAAA,MAAM,OAAO,EAAE,EA2lBJ,CAAA;AAEX,eAAe,OAAO,CAAA"}
|