@ebay/ui-core-react 3.4.0 → 3.5.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/ebay-button/README.md +6 -4
- package/ebay-button/button-expand.d.ts.map +1 -1
- package/ebay-button/button-expand.js +2 -2
- package/ebay-button/button.d.ts +3 -2
- package/ebay-button/button.d.ts.map +1 -1
- package/ebay-button/button.js +24 -11
- package/ebay-button/types.d.ts +2 -1
- package/ebay-button/types.d.ts.map +1 -1
- package/ebay-fake-menu-button/README.md +7 -3
- package/ebay-fake-menu-button/index.d.ts +1 -1
- package/ebay-fake-menu-button/index.d.ts.map +1 -1
- package/ebay-fake-menu-button/menu-button.d.ts +12 -3
- package/ebay-fake-menu-button/menu-button.d.ts.map +1 -1
- package/ebay-fake-menu-button/menu-button.js +21 -10
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
package/ebay-button/README.md
CHANGED
|
@@ -51,10 +51,12 @@ Name | Type | Stateful | Required | Description | Data
|
|
|
51
51
|
`href` | String | No | No | for link that looks like a button
|
|
52
52
|
`fluid` | Boolean | No | No | takes the whole width of the parent element
|
|
53
53
|
`disabled` | Boolean | Yes | No
|
|
54
|
-
`partiallyDisabled` | Boolean | No | No | sets aria
|
|
55
|
-
`transparent` | Boolean | Yes | No |
|
|
54
|
+
`partiallyDisabled` | Boolean | No | No | sets `aria-disabled` but not `disabled` prop
|
|
55
|
+
`transparent` | Boolean | Yes | No | transparent background color (overrides `priority` prop)
|
|
56
56
|
`truncate` | Boolean | No | No | will truncate the text of the button onto a single line, and adds an ellipsis, when the button's text overflows
|
|
57
|
-
`borderless` | Boolean | No | No |
|
|
58
|
-
`fixedHeight` | Boolean | No | No |
|
|
57
|
+
`borderless` | Boolean | No | No | shows button without border
|
|
58
|
+
`fixedHeight` | Boolean | No | No | fixes the height based on `size`
|
|
59
59
|
`onClick` | Function | - | No | click or action key pressed (`Space` / `Enter`)
|
|
60
60
|
`onEscape` | Function | - | No | `Esc`-key pressed
|
|
61
|
+
`onFocus` | Function | - | No | triggered on focus
|
|
62
|
+
`onBlur` | Function | - | No | triggered on blur
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-expand.d.ts","sourceRoot":"","sources":["../../src/ebay-button/button-expand.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAKjC,QAAA,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"button-expand.d.ts","sourceRoot":"","sources":["../../src/ebay-button/button-expand.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAKjC,QAAA,MAAM,gBAAgB,EAAE,EAUnB,CAAA;AAEL,eAAe,gBAAgB,CAAA"}
|
|
@@ -9,8 +9,8 @@ var button_text_1 = __importDefault(require("./button-text"));
|
|
|
9
9
|
var ebay_icon_1 = require("../ebay-icon");
|
|
10
10
|
var EbayButtonExpand = function (_a) {
|
|
11
11
|
var children = _a.children;
|
|
12
|
-
return (react_1.default.createElement(button_cell_1.default, null,
|
|
12
|
+
return children ? (react_1.default.createElement(button_cell_1.default, null,
|
|
13
13
|
react_1.default.createElement(button_text_1.default, null, children),
|
|
14
|
-
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "dropdown" })));
|
|
14
|
+
react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "dropdown" }))) : (react_1.default.createElement(ebay_icon_1.EbayIcon, { name: "dropdown" }));
|
|
15
15
|
};
|
|
16
16
|
exports.default = EbayButtonExpand;
|
package/ebay-button/button.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ComponentProps, KeyboardEvent, MouseEvent, RefObject } from 'react';
|
|
2
|
-
import { Priority, Size, BodyState, Variant } from './types';
|
|
2
|
+
import { Priority, Size, BodyState, Variant, Split } from './types';
|
|
3
3
|
export declare type EbayButtonProps = {
|
|
4
4
|
fluid?: boolean;
|
|
5
5
|
partiallyDisabled?: boolean;
|
|
@@ -9,6 +9,7 @@ export declare type EbayButtonProps = {
|
|
|
9
9
|
variant?: Variant;
|
|
10
10
|
size?: Size;
|
|
11
11
|
bodyState?: BodyState;
|
|
12
|
+
split?: Split;
|
|
12
13
|
transparent?: boolean;
|
|
13
14
|
onClick?: (e: MouseEvent) => void;
|
|
14
15
|
onEscape?: (e: KeyboardEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
@@ -17,6 +18,6 @@ export declare type EbayButtonProps = {
|
|
|
17
18
|
fixedHeight?: boolean;
|
|
18
19
|
};
|
|
19
20
|
declare type Props = ComponentProps<'button'> & ComponentProps<'a'> & EbayButtonProps;
|
|
20
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "form" | "slot" | "style" | "title" | "type" | "download" | "key" | "name" | "className" | "forwardedRef" | "color" | "id" | "lang" | "media" | "target" | "role" | "tabIndex" | "href" | "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" | "children" | "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" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "priority" | "variant" | "bodyState" | "transparent" | "fluid" | "disabled" | "partiallyDisabled" | "onEscape" | "truncate" | "borderless" | "fixedHeight" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "hrefLang" | "ping" | "rel" | "referrerPolicy"> & React.RefAttributes<React.FC<Props>>>;
|
|
21
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "form" | "slot" | "style" | "title" | "type" | "download" | "key" | "name" | "className" | "forwardedRef" | "color" | "id" | "lang" | "media" | "target" | "role" | "tabIndex" | "href" | "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" | "children" | "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" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "priority" | "variant" | "bodyState" | "split" | "transparent" | "fluid" | "disabled" | "partiallyDisabled" | "onEscape" | "truncate" | "borderless" | "fixedHeight" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "hrefLang" | "ping" | "rel" | "referrerPolicy"> & React.RefAttributes<React.FC<Props>>>;
|
|
21
22
|
export default _default;
|
|
22
23
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ebay-button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEV,cAAc,EAEd,aAAa,EACb,UAAU,EAGV,SAAS,EACZ,MAAM,OAAO,CAAA;AAGd,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/ebay-button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEV,cAAc,EAEd,aAAa,EACb,UAAU,EAGV,SAAS,EACZ,MAAM,OAAO,CAAA;AAGd,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAKnE,oBAAY,eAAe,GAAG;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC7E,YAAY,CAAC,EAAE,SAAS,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;IAChE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB,CAAA;AAED,aAAK,KAAK,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG,cAAc,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC;;AAmH9E,wBAAyC"}
|
package/ebay-button/button.js
CHANGED
|
@@ -50,13 +50,8 @@ var component_utils_1 = require("../common/component-utils");
|
|
|
50
50
|
var ebay_icon_1 = require("../ebay-icon");
|
|
51
51
|
var button_loading_1 = __importDefault(require("./button-loading"));
|
|
52
52
|
var button_expand_1 = __importDefault(require("./button-expand"));
|
|
53
|
-
function isIconOnly(children) {
|
|
54
|
-
var childrenArray = react_1.Children.toArray(children);
|
|
55
|
-
return childrenArray.length === 1 && childrenArray[0].type === ebay_icon_1.EbayIcon;
|
|
56
|
-
}
|
|
57
53
|
var EbayButton = function (_a) {
|
|
58
|
-
var _b = _a.priority, priority = _b === void 0 ? 'secondary' : _b, _c = _a.variant, variant = _c === void 0 ? 'standard' : _c, _d = _a.size, size = _d === void 0 ? 'regular' : _d, bodyState = _a.bodyState, _e = _a.transparent, transparent = _e === void 0 ? false : _e, _f = _a.fluid, fluid = _f === void 0 ? false : _f, disabled = _a.disabled, partiallyDisabled = _a.partiallyDisabled, children = _a.children, _g = _a.onEscape, onEscape = _g === void 0 ? function () { } : _g, _h = _a.truncate, truncate = _h === void 0 ? false : _h, href = _a.href, extraClasses = _a.className, forwardedRef = _a.forwardedRef, borderless = _a.borderless, fixedHeight = _a.fixedHeight, rest = __rest(_a, ["priority", "variant", "size", "bodyState", "transparent", "fluid", "disabled", "partiallyDisabled", "children", "onEscape", "truncate", "href", "className", "forwardedRef", "borderless", "fixedHeight"]);
|
|
59
|
-
var iconOnly = isIconOnly(children);
|
|
54
|
+
var _b = _a.priority, priority = _b === void 0 ? 'secondary' : _b, _c = _a.variant, variant = _c === void 0 ? 'standard' : _c, _d = _a.size, size = _d === void 0 ? 'regular' : _d, bodyState = _a.bodyState, split = _a.split, _e = _a.transparent, transparent = _e === void 0 ? false : _e, _f = _a.fluid, fluid = _f === void 0 ? false : _f, disabled = _a.disabled, partiallyDisabled = _a.partiallyDisabled, children = _a.children, _g = _a.onEscape, onEscape = _g === void 0 ? function () { } : _g, _h = _a.truncate, truncate = _h === void 0 ? false : _h, href = _a.href, extraClasses = _a.className, forwardedRef = _a.forwardedRef, borderless = _a.borderless, fixedHeight = _a.fixedHeight, rest = __rest(_a, ["priority", "variant", "size", "bodyState", "split", "transparent", "fluid", "disabled", "partiallyDisabled", "children", "onEscape", "truncate", "href", "className", "forwardedRef", "borderless", "fixedHeight"]);
|
|
60
55
|
var classPrefix = href ? 'fake-btn' : 'btn';
|
|
61
56
|
var priorityStyles = {
|
|
62
57
|
primary: classPrefix + "--primary",
|
|
@@ -69,20 +64,38 @@ var EbayButton = function (_a) {
|
|
|
69
64
|
regular: '',
|
|
70
65
|
default: ''
|
|
71
66
|
};
|
|
67
|
+
var splitStyles = {
|
|
68
|
+
start: classPrefix + "--split-start",
|
|
69
|
+
end: classPrefix + "--split-end"
|
|
70
|
+
};
|
|
72
71
|
var isDestructive = variant === 'destructive';
|
|
73
72
|
var isForm = variant === 'form';
|
|
74
73
|
var isLoading = bodyState === 'loading';
|
|
75
|
-
var
|
|
74
|
+
var isExpand = bodyState === 'expand';
|
|
75
|
+
var isSlim = isForm && (isIconOnly(children) || (isExpand && !children));
|
|
76
|
+
var className = classnames_1.default(classPrefix, extraClasses, priorityStyles[isForm || borderless ? 'none' : priority], sizeStyles[size], splitStyles[split], isDestructive && classPrefix + "--destructive", isForm && classPrefix + "--form", isSlim && classPrefix + "--slim", transparent && classPrefix + "--transparent", fluid && classPrefix + "--fluid", truncate && classPrefix + "--truncated", borderless && classPrefix + "--borderless", fixedHeight && (sizeStyles[size] ? sizeStyles[size] + "-" + fixedHeight : classPrefix + "--fixed-height"));
|
|
76
77
|
var onKeyDown = function (e) {
|
|
77
78
|
if (e.key === 'Escape' || e.key === 'Esc') {
|
|
78
79
|
onEscape(e);
|
|
79
80
|
}
|
|
80
81
|
};
|
|
81
|
-
var bodyContent = {
|
|
82
|
-
loading: react_1.default.createElement(button_loading_1.default, null),
|
|
83
|
-
expand: react_1.default.createElement(button_expand_1.default, null, children)
|
|
84
|
-
}[bodyState] || children;
|
|
82
|
+
var bodyContent = getBodyContent(children, { isLoading: isLoading, isExpand: isExpand });
|
|
85
83
|
var ariaLive = isLoading ? "polite" : null;
|
|
86
84
|
return href ? (react_1.default.createElement("a", __assign({ className: className, href: disabled ? undefined : href, ref: forwardedRef, onKeyDown: onKeyDown, "aria-live": ariaLive }, rest), bodyContent)) : (react_1.default.createElement("button", __assign({ disabled: disabled, "aria-disabled": partiallyDisabled, "aria-live": ariaLive, className: className, ref: forwardedRef, onKeyDown: onKeyDown }, rest), bodyContent));
|
|
87
85
|
};
|
|
86
|
+
function getBodyContent(children, _a) {
|
|
87
|
+
var isLoading = _a.isLoading, isExpand = _a.isExpand;
|
|
88
|
+
switch (true) {
|
|
89
|
+
case isLoading:
|
|
90
|
+
return react_1.default.createElement(button_loading_1.default, null);
|
|
91
|
+
case isExpand:
|
|
92
|
+
return react_1.default.createElement(button_expand_1.default, null, children);
|
|
93
|
+
default:
|
|
94
|
+
return children;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
function isIconOnly(children) {
|
|
98
|
+
var childrenArray = react_1.Children.toArray(children);
|
|
99
|
+
return childrenArray.length === 1 && childrenArray[0].type === ebay_icon_1.EbayIcon;
|
|
100
|
+
}
|
|
88
101
|
exports.default = component_utils_1.withForwardRef(EbayButton);
|
package/ebay-button/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare type Priority = 'primary' | 'secondary' | 'tertiary' | 'none';
|
|
2
2
|
export declare type Variant = 'standard' | 'destructive' | 'form';
|
|
3
3
|
export declare type Size = 'default' | 'regular' | 'large';
|
|
4
|
-
export declare type BodyState = 'loading' | 'expand';
|
|
4
|
+
export declare type BodyState = 'loading' | 'expand' | 'reset' | 'none';
|
|
5
|
+
export declare type Split = 'start' | 'end';
|
|
5
6
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-button/types.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAA;AAEpE,oBAAY,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,MAAM,CAAA;AAEzD,oBAAY,IAAI,GAAG,SAAS,GAAoB,SAAS,GAAG,OAAO,CAAA;AAEnE,oBAAY,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-button/types.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAA;AAEpE,oBAAY,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,MAAM,CAAA;AAEzD,oBAAY,IAAI,GAAG,SAAS,GAAoB,SAAS,GAAG,OAAO,CAAA;AAEnE,oBAAY,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;AAE/D,oBAAY,KAAK,GAAG,OAAO,GAAG,KAAK,CAAC"}
|
|
@@ -40,12 +40,16 @@ import '@ebay/skin/menu-button';
|
|
|
40
40
|
Name | Type | Required | Description
|
|
41
41
|
--- | --- | --- | ---
|
|
42
42
|
`text` | String | No | Button label text
|
|
43
|
-
`icon` | String | No | Name of an <EbayIcon> to show to the left of the text (Not yet implemented)
|
|
44
43
|
`a11y-text` | String | Only without a text label | A11y text for the button
|
|
44
|
+
`noToggleIcon` | Boolean | No | whether to hide the chevron toggle icon
|
|
45
|
+
`expanded` | Boolean | No | whether content is expanded
|
|
45
46
|
`type` | String | No | Not yet implemented
|
|
46
|
-
`
|
|
47
|
+
`variant` | String | No | will change the button style: `overflow`, `form` or `button`
|
|
48
|
+
`priority` | String | No | button priority, only used when `variant` is `button`
|
|
49
|
+
`reverse` | Boolean | No | expand menu flyout to the left
|
|
50
|
+
`fixWidth` | Boolean | No | Constrain items container width to button width
|
|
47
51
|
`borderless` | Boolean | No | Whether button has borders
|
|
48
|
-
`
|
|
52
|
+
`size` | String | No | button size: `large` or `regular` (default)
|
|
49
53
|
`onExpand` | Function | No | Triggered on menu expand
|
|
50
54
|
`onCollapse` | Function | No | Triggered on menu collapse
|
|
51
55
|
`onChange` | Function | No | Not yet implemented
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as EbayFakeMenuButton } from './menu-button';
|
|
1
|
+
export { default as EbayFakeMenuButton, EbayFakeMenuButtonProps } from './menu-button';
|
|
2
2
|
export { default as EbayFakeMenuButtonItem } from './menu-button-item';
|
|
3
3
|
export { default as EbayFakeMenuButtonSeparator } from './menu-button-separator';
|
|
4
4
|
export { default as EbayFakeMenuButtonLabel } from './menu-button-label';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACtF,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,yBAAyB,CAAA;AAChF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { ComponentProps, FC } from 'react';
|
|
2
2
|
import { EbayButtonProps } from '..';
|
|
3
|
-
export declare type
|
|
3
|
+
export declare type EbayFakeMenuButtonVariant = 'overflow' | 'form' | 'button';
|
|
4
|
+
export declare type EbayFakeMenuButtonProps = {
|
|
4
5
|
a11yText?: string;
|
|
6
|
+
noToggleIcon?: boolean;
|
|
7
|
+
expanded?: boolean;
|
|
8
|
+
fixWidth?: boolean;
|
|
9
|
+
reverse?: boolean;
|
|
10
|
+
variant?: EbayFakeMenuButtonVariant;
|
|
5
11
|
className?: string;
|
|
6
12
|
onCollapse?: () => void;
|
|
7
13
|
onExpand?: () => void;
|
|
8
14
|
text?: string;
|
|
15
|
+
type?: 'radio' | 'checkbox';
|
|
9
16
|
};
|
|
10
|
-
declare
|
|
17
|
+
declare type ButtonProps = Omit<EbayButtonProps, 'variant'> & Omit<ComponentProps<'button'>, 'type'> & ComponentProps<'a'>;
|
|
18
|
+
declare type Props = ButtonProps & EbayFakeMenuButtonProps;
|
|
19
|
+
declare const EbayMenuButton: FC<Props>;
|
|
11
20
|
export default EbayMenuButton;
|
|
12
21
|
//# sourceMappingURL=menu-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,EAAE,EAA+B,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"menu-button.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu-button/menu-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAgB,cAAc,EAAE,EAAE,EAA+B,MAAM,OAAO,CAAA;AAM5F,OAAO,EAAc,eAAe,EAAiE,MAAM,IAAI,CAAA;AAG/G,oBAAY,yBAAyB,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEtE,oBAAY,uBAAuB,GAAG;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,yBAAyB,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,IAAI,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;CAC/B,CAAA;AAED,aAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAC/C,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GACtC,cAAc,CAAC,GAAG,CAAC,CAAA;AACvB,aAAK,KAAK,GAAG,WAAW,GAAG,uBAAuB,CAAA;AAElD,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAqG7B,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -47,16 +47,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
47
47
|
var react_1 = __importStar(require("react"));
|
|
48
48
|
var classnames_1 = __importDefault(require("classnames"));
|
|
49
49
|
var component_utils_1 = require("../common/component-utils");
|
|
50
|
+
var event_utils_1 = require("../common/event-utils");
|
|
50
51
|
var random_id_1 = require("../common/random-id");
|
|
51
52
|
var __1 = require("..");
|
|
52
53
|
var _1 = require(".");
|
|
53
|
-
var event_utils_1 = require("../common/event-utils");
|
|
54
54
|
var EbayMenuButton = function (_a) {
|
|
55
|
-
var a11yText = _a.a11yText,
|
|
56
|
-
var
|
|
57
|
-
var
|
|
55
|
+
var a11yText = _a.a11yText, noToggleIcon = _a.noToggleIcon, fixWidth = _a.fixWidth, reverse = _a.reverse, variant = _a.variant, _b = _a.expanded, defaultExpanded = _b === void 0 ? false : _b, className = _a.className, _c = _a.onCollapse, onCollapse = _c === void 0 ? function () { } : _c, _d = _a.onExpand, onExpand = _d === void 0 ? function () { } : _d, _e = _a.text, text = _e === void 0 ? '' : _e, children = _a.children, rest = __rest(_a, ["a11yText", "noToggleIcon", "fixWidth", "reverse", "variant", "expanded", "className", "onCollapse", "onExpand", "text", "children"]);
|
|
56
|
+
var _f = react_1.useState(defaultExpanded), expanded = _f[0], setExpanded = _f[1];
|
|
57
|
+
var _g = react_1.useState(), menuId = _g[0], setMenuId = _g[1];
|
|
58
58
|
var ref = react_1.useRef();
|
|
59
|
-
var
|
|
59
|
+
var icon = component_utils_1.findComponent(children, __1.EbayIcon);
|
|
60
|
+
var label = component_utils_1.findComponent(children, _1.EbayFakeMenuButtonLabel) || (icon ? react_1.default.createElement("span", null, text) : text);
|
|
60
61
|
var menuItems = component_utils_1.filterByType(children, [_1.EbayFakeMenuButtonItem, _1.EbayFakeMenuButtonSeparator]);
|
|
61
62
|
react_1.useEffect(function () {
|
|
62
63
|
var handleBackgroundClick = function (e) {
|
|
@@ -89,10 +90,20 @@ var EbayMenuButton = function (_a) {
|
|
|
89
90
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
90
91
|
});
|
|
91
92
|
};
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
var menuClasses = classnames_1.default('fake-menu-button__menu', {
|
|
94
|
+
'menu-button__menu--fix-width': fixWidth,
|
|
95
|
+
'menu-button__menu--reverse': reverse
|
|
96
|
+
});
|
|
97
|
+
var buttonProps = __assign({ ref: ref, className: 'fake-menu-button__button', 'aria-expanded': !!expanded, 'aria-haspopup': true, 'aria-label': a11yText, 'aria-controls': menuId, onClick: function () { return setExpanded(!expanded); } }, rest);
|
|
98
|
+
return (react_1.default.createElement("span", { className: classnames_1.default('fake-menu-button', className) },
|
|
99
|
+
variant === 'overflow' ?
|
|
100
|
+
react_1.default.createElement(__1.EbayIconButton, __assign({ icon: "overflow" }, buttonProps)) :
|
|
101
|
+
react_1.default.createElement(__1.EbayButton, __assign({ variant: variant === 'form' ? 'form' : undefined, bodyState: noToggleIcon ? undefined : 'expand' }, buttonProps),
|
|
102
|
+
icon,
|
|
103
|
+
label),
|
|
104
|
+
expanded &&
|
|
105
|
+
react_1.default.createElement(__1.EbayFakeMenu, { className: menuClasses, id: menuId, tabIndex: -1, onKeyDown: handleMenuKeydown }, menuItems.map(function (item, i) {
|
|
106
|
+
return react_1.cloneElement(item, __assign(__assign({}, item.props), { key: i, autoFocus: i === 0 }));
|
|
107
|
+
}))));
|
|
97
108
|
};
|
|
98
109
|
exports.default = EbayMenuButton;
|
package/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { EbayEek, EbayEekProps } from './ebay-eek';
|
|
|
4
4
|
export { EbayIconButton, EbayIconButtonProps } from './ebay-icon-button';
|
|
5
5
|
export { EbayMenu, EbayMenuItem, EbayMenuSeparator, EbayMenuType, EbayMenuPriority } from './ebay-menu';
|
|
6
6
|
export { EbayFakeMenu, EbayFakeMenuItem, EbayFakeMenuSeparator, EbayFakeMenuItemProps } from './ebay-fake-menu';
|
|
7
|
-
export { EbayFakeMenuButton, EbayFakeMenuButtonItem, EbayFakeMenuButtonLabel, EbayFakeMenuButtonSeparator } from './ebay-fake-menu-button';
|
|
7
|
+
export { EbayFakeMenuButton, EbayFakeMenuButtonProps, EbayFakeMenuButtonItem, EbayFakeMenuButtonLabel, EbayFakeMenuButtonSeparator } from './ebay-fake-menu-button';
|
|
8
8
|
export { EbayInlineNotice, NoticeStatus } from './ebay-inline-notice';
|
|
9
9
|
export { EbaySectionNotice, EbaySectionNoticeTitle, EbaySectionNoticeFooter } from './ebay-section-notice';
|
|
10
10
|
export { EbaySectionTitle, EbaySectionTitleTitle, EbaySectionTitleSubtitle, EbaySectionTitleInfo, EbaySectionTitleOverflow } from './ebay-section-title';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC3F,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AACvG,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AAC/G,OAAO,EACH,kBAAkB,EAAE,sBAAsB,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