@ebay/ui-core-react 3.1.0 → 3.1.1
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/common/component-utils/array.polyfill.flat.d.ts +1 -0
- package/common/component-utils/array.polyfill.flat.d.ts.map +1 -0
- package/common/component-utils/array.polyfill.flat.js +33 -0
- package/common/component-utils/utils.d.ts +2 -1
- package/common/component-utils/utils.d.ts.map +1 -1
- package/common/component-utils/utils.js +4 -2
- package/ebay-fake-menu/README.md +48 -0
- package/ebay-fake-menu/index.d.ts +4 -0
- package/ebay-fake-menu/index.d.ts.map +1 -0
- package/ebay-fake-menu/index.js +8 -0
- package/ebay-fake-menu/menu-item-separator.d.ts +5 -0
- package/ebay-fake-menu/menu-item-separator.d.ts.map +1 -0
- package/ebay-fake-menu/menu-item-separator.js +34 -0
- package/ebay-fake-menu/menu-item.d.ts +9 -0
- package/ebay-fake-menu/menu-item.d.ts.map +1 -0
- package/ebay-fake-menu/menu-item.js +63 -0
- package/ebay-fake-menu/menu.d.ts +11 -0
- package/ebay-fake-menu/menu.d.ts.map +1 -0
- package/ebay-fake-menu/menu.js +64 -0
- package/ebay-menu/index.d.ts +1 -1
- package/ebay-menu/index.d.ts.map +1 -1
- package/ebay-pagination/pagination-item.d.ts +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=array.polyfill.flat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"array.polyfill.flat.d.ts","sourceRoot":"","sources":["../../../src/common/component-utils/array.polyfill.flat.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* adapted from:
|
|
3
|
+
* https://github.com/behnammodi/polyfill/blob/master/array.polyfill.js
|
|
4
|
+
* Array.prototype.flat()
|
|
5
|
+
* version 0.0.0
|
|
6
|
+
* Feature Chrome Firefox Internet Explorer Opera Safari Edge
|
|
7
|
+
* Basic support 69 62 (No) 56 12 (No)
|
|
8
|
+
* -------------------------------------------------------------------------------
|
|
9
|
+
*/
|
|
10
|
+
if (!Array.prototype.flat) {
|
|
11
|
+
// eslint-disable-next-line no-extend-native
|
|
12
|
+
Object.defineProperty(Array.prototype, 'flat', {
|
|
13
|
+
configurable: true,
|
|
14
|
+
writable: true,
|
|
15
|
+
value: function (d) {
|
|
16
|
+
var depthArg = typeof d === 'undefined' ? 1 : Number(d) || 0;
|
|
17
|
+
var result = [];
|
|
18
|
+
var forEach = result.forEach;
|
|
19
|
+
var flatDeep = function (arr, depth) {
|
|
20
|
+
return forEach.call(arr, function (val) {
|
|
21
|
+
if (depth > 0 && Array.isArray(val)) {
|
|
22
|
+
flatDeep(val, depth - 1);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
result.push(val);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
flatDeep(this, depthArg);
|
|
30
|
+
return result;
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FC, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import './array.polyfill.flat';
|
|
2
3
|
export declare function findComponent(nodes: ReactNode, componentType: FC): ReactElement | undefined;
|
|
3
4
|
export declare function excludeComponent(nodes: ReactNode, componentType: FC): ReactElement[];
|
|
4
|
-
export declare function filterByType(nodes: ReactNode, componentType: FC
|
|
5
|
+
export declare function filterByType(nodes: ReactNode, componentType: FC | FC[]): ReactElement[];
|
|
5
6
|
export declare function filterBy(nodes: ReactNode, predicate: (el: ReactElement) => boolean): ReactElement[];
|
|
6
7
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/common/component-utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/common/component-utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC7D,OAAO,uBAAuB,CAAA;AAE9B,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAc,EAAE,aAAa,EAAE,EAAE,GAAG,YAAY,GAAG,SAAS,CAGhG;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAc,EAAE,aAAa,EAAE,EAAE,GAAG,YAAY,EAAE,CAGzF;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAc,EAAE,aAAa,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,YAAY,EAAE,CAI5F;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAc,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,YAAY,KAAK,OAAO,GAAG,YAAY,EAAE,CAGxG"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.filterBy = exports.filterByType = exports.excludeComponent = exports.findComponent = void 0;
|
|
4
4
|
var react_1 = require("react");
|
|
5
|
+
require("./array.polyfill.flat"); // for Mobile Safari 11
|
|
5
6
|
function findComponent(nodes, componentType) {
|
|
6
7
|
if (nodes === void 0) { nodes = []; }
|
|
7
8
|
var elements = react_1.Children.toArray(nodes);
|
|
@@ -20,12 +21,13 @@ function excludeComponent(nodes, componentType) {
|
|
|
20
21
|
});
|
|
21
22
|
}
|
|
22
23
|
exports.excludeComponent = excludeComponent;
|
|
23
|
-
function filterByType(nodes, componentType
|
|
24
|
+
function filterByType(nodes, componentType) {
|
|
24
25
|
if (nodes === void 0) { nodes = []; }
|
|
25
26
|
var elements = react_1.Children.toArray(nodes);
|
|
27
|
+
var types = [componentType].flat();
|
|
26
28
|
return elements.filter(function (_a) {
|
|
27
29
|
var type = _a.type;
|
|
28
|
-
return type
|
|
30
|
+
return types.includes(type);
|
|
29
31
|
});
|
|
30
32
|
}
|
|
31
33
|
exports.filterByType = filterByType;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# ebay-fake-menu
|
|
2
|
+
|
|
3
|
+
## Demo
|
|
4
|
+
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/ebay-fake-menu--default)
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
```
|
|
8
|
+
yarn add @ebay/ui-core-react
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
```jsx harmony
|
|
13
|
+
import { EbayFakeMenu, EbayFakeMenuItem as Item } from '@ebay/ui-core-react/ebay-fake-menu';
|
|
14
|
+
import '@ebay/skin/menu';
|
|
15
|
+
<EbayFakeMenu>
|
|
16
|
+
<Item href="http://ebay.com">eBay US</Item>
|
|
17
|
+
<Item href="http://ebay.de">eBay DE</Item>
|
|
18
|
+
<Item href="http://ebay.co.uk">eBay UK</Item>
|
|
19
|
+
</EbayFakeMenu>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## EbayFakeMenu Props
|
|
23
|
+
|
|
24
|
+
Name | Type | Required | Description
|
|
25
|
+
--- | --- | --- | ---
|
|
26
|
+
itemMatchesUrl | Boolean | No | used in conjunction with `current` -- This determines whether aria-current will be `page` or `true` -- Defaults to `true` which gives `aria-current` a value of `page`
|
|
27
|
+
`onKeydown` | Function | No | Arguments: (index: number, checked: boolean)
|
|
28
|
+
`onSelect` | Function | No | For using with keyboard navigation, arguments: (index: number, checked: boolean)
|
|
29
|
+
|
|
30
|
+
## EbayFakeMenuItem Props
|
|
31
|
+
|
|
32
|
+
Name | Type | Required | Description
|
|
33
|
+
--- | --- | --- | ---
|
|
34
|
+
`href` | String | No | Redirection link on click
|
|
35
|
+
`current` | Boolean | No | Whether or not the href is the current href of the page
|
|
36
|
+
|
|
37
|
+
## EbayFakeMenuSeparator
|
|
38
|
+
Example:
|
|
39
|
+
|
|
40
|
+
```jsx
|
|
41
|
+
import { EbayFakeMenu, EbayFakeMenuItem as Item, EbayFakeMenuSeparator as Separator } from '@ebay/ui-core-react/ebay-fake-menu';
|
|
42
|
+
<EbayMenu>
|
|
43
|
+
<Item>item 1</Item>
|
|
44
|
+
<Item current>item 2</Item>
|
|
45
|
+
<Separator />
|
|
46
|
+
<Item>item 3</Item>
|
|
47
|
+
</EbayMenu>
|
|
48
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAChF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var menu_1 = require("./menu");
|
|
4
|
+
Object.defineProperty(exports, "EbayFakeMenu", { enumerable: true, get: function () { return menu_1.default; } });
|
|
5
|
+
var menu_item_1 = require("./menu-item");
|
|
6
|
+
Object.defineProperty(exports, "EbayFakeMenuItem", { enumerable: true, get: function () { return menu_item_1.default; } });
|
|
7
|
+
var menu_item_separator_1 = require("./menu-item-separator");
|
|
8
|
+
Object.defineProperty(exports, "EbayFakeMenuSeparator", { enumerable: true, get: function () { return menu_item_separator_1.default; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-item-separator.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu/menu-item-separator.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAGjD,aAAK,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,CAAA;AAEjC,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,KAAK,CASpC,CAAA;AAED,eAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
var react_1 = __importDefault(require("react"));
|
|
29
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
30
|
+
var EbayMenuItemSeparator = function (_a) {
|
|
31
|
+
var className = _a.className, rest = __rest(_a, ["className"]);
|
|
32
|
+
return (react_1.default.createElement("hr", __assign({}, rest, { className: classnames_1.default(className, 'fake-menu__separator'), role: "separator" })));
|
|
33
|
+
};
|
|
34
|
+
exports.default = EbayMenuItemSeparator;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentProps, FC } from 'react';
|
|
2
|
+
export declare type EbayFakeMenuItemProps = Omit<ComponentProps<'a'>, 'onKeyDown'> & {
|
|
3
|
+
current?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
autoFocus?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const EbayMenuItem: FC<EbayFakeMenuItemProps>;
|
|
8
|
+
export default EbayMenuItem;
|
|
9
|
+
//# sourceMappingURL=menu-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-item.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu/menu-item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAA;AAIpE,oBAAY,qBAAqB,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC,GAAG;IACzE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,qBAAqB,CA6B3C,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
24
|
+
});
|
|
25
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
+
if (mod && mod.__esModule) return mod;
|
|
27
|
+
var result = {};
|
|
28
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
+
__setModuleDefault(result, mod);
|
|
30
|
+
return result;
|
|
31
|
+
};
|
|
32
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
33
|
+
var t = {};
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
37
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
38
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
39
|
+
t[p[i]] = s[p[i]];
|
|
40
|
+
}
|
|
41
|
+
return t;
|
|
42
|
+
};
|
|
43
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
44
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
45
|
+
};
|
|
46
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
+
var react_1 = __importStar(require("react"));
|
|
48
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
49
|
+
var index_1 = require("../index");
|
|
50
|
+
var EbayMenuItem = function (_a) {
|
|
51
|
+
var className = _a.className, current = _a.current, disabled = _a.disabled, autoFocus = _a.autoFocus, children = _a.children, rest = __rest(_a, ["className", "current", "disabled", "autoFocus", "children"]);
|
|
52
|
+
var ref = react_1.useRef();
|
|
53
|
+
react_1.useEffect(function () {
|
|
54
|
+
var _a;
|
|
55
|
+
if (autoFocus) {
|
|
56
|
+
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
return (react_1.default.createElement("a", __assign({}, rest, { ref: ref, className: classnames_1.default(className, 'fake-menu__item'), "aria-disabled": disabled ? 'true' : undefined }),
|
|
60
|
+
react_1.default.createElement("span", null, children),
|
|
61
|
+
react_1.default.createElement(index_1.EbayIcon, { name: "tickSmall" })));
|
|
62
|
+
};
|
|
63
|
+
exports.default = EbayMenuItem;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentProps, FC, KeyboardEvent, MouseEvent } from 'react';
|
|
2
|
+
declare type SpanProps = Omit<ComponentProps<'div'>, 'onKeyDown'>;
|
|
3
|
+
declare type Callback = (event: KeyboardEvent | MouseEvent, i: number) => void;
|
|
4
|
+
declare type Props = SpanProps & {
|
|
5
|
+
itemMatchesUrl?: boolean;
|
|
6
|
+
onKeyDown?: Callback;
|
|
7
|
+
onSelect?: Callback;
|
|
8
|
+
};
|
|
9
|
+
declare const EbayFakeMenu: FC<Props>;
|
|
10
|
+
export default EbayFakeMenu;
|
|
11
|
+
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/ebay-fake-menu/menu.tsx"],"names":[],"mappings":"AAAA,OAAc,EAEV,cAAc,EAAE,EAAE,EAAgB,aAAa,EAAE,UAAU,EAC9D,MAAM,OAAO,CAAA;AAId,aAAK,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,CAAA;AACzD,aAAK,QAAQ,GAAG,CAAC,KAAK,EAAE,aAAa,GAAG,UAAU,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;AACtE,aAAK,KAAK,GAAG,SAAS,GAAG;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACvB,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CAwC3B,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
24
|
+
});
|
|
25
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
+
if (mod && mod.__esModule) return mod;
|
|
27
|
+
var result = {};
|
|
28
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
+
__setModuleDefault(result, mod);
|
|
30
|
+
return result;
|
|
31
|
+
};
|
|
32
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
33
|
+
var t = {};
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
37
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
38
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
39
|
+
t[p[i]] = s[p[i]];
|
|
40
|
+
}
|
|
41
|
+
return t;
|
|
42
|
+
};
|
|
43
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
44
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
45
|
+
};
|
|
46
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
+
var react_1 = __importStar(require("react"));
|
|
48
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
49
|
+
var EbayFakeMenu = function (_a) {
|
|
50
|
+
var className = _a.className, _b = _a.itemMatchesUrl, itemMatchesUrl = _b === void 0 ? true : _b, _c = _a.onKeyDown, onKeyDown = _c === void 0 ? function () { } : _c, _d = _a.onSelect, onSelect = _d === void 0 ? function () { } : _d, children = _a.children, rest = __rest(_a, ["className", "itemMatchesUrl", "onKeyDown", "onSelect", "children"]);
|
|
51
|
+
var childrenArray = react_1.Children.toArray(children);
|
|
52
|
+
var defaultAriaCurrent = itemMatchesUrl === false ? 'true' : 'page';
|
|
53
|
+
return (react_1.default.createElement("div", __assign({}, rest, { className: classnames_1.default(className, 'fake-menu') }),
|
|
54
|
+
react_1.default.createElement("ul", { className: "fake-menu__items", tabIndex: -1 }, childrenArray.map(function (child, i) {
|
|
55
|
+
var _a = child.props, current = _a.current, _b = _a.onClick, onClick = _b === void 0 ? function () { } : _b, itemRest = __rest(_a, ["current", "onClick"]);
|
|
56
|
+
return (react_1.default.createElement("li", { key: i }, react_1.cloneElement(child, __assign(__assign({}, itemRest), { 'aria-current': current ? defaultAriaCurrent : undefined, onClick: function (e) {
|
|
57
|
+
onSelect(e, i);
|
|
58
|
+
onClick(e);
|
|
59
|
+
}, onKeyDown: function (e) {
|
|
60
|
+
onKeyDown(e, i);
|
|
61
|
+
} }))));
|
|
62
|
+
}))));
|
|
63
|
+
};
|
|
64
|
+
exports.default = EbayFakeMenu;
|
package/ebay-menu/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as EbayMenu } from './menu';
|
|
2
|
-
export { default as EbayMenuItem } from './menu-item';
|
|
2
|
+
export { default as EbayMenuItem, MenuItemProps } from './menu-item';
|
|
3
3
|
export { default as EbayMenuSeparator } from './menu-item-separator';
|
|
4
4
|
export { EbayMenuType, EbayMenuPriority } from './types';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/ebay-menu/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AACpE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -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" | "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" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "
|
|
21
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<PaginationItemProps, "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" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "current" | "hide" | "pageIndex" | "a11yPreviousText" | "a11yNextText" | "onNext" | "onPrevious"> & React.RefAttributes<React.FC<PaginationItemProps>>>;
|
|
22
22
|
export default _default;
|
|
23
23
|
//# sourceMappingURL=pagination-item.d.ts.map
|
package/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { EbayCtaButton } from './ebay-cta-button';
|
|
|
3
3
|
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
|
+
export { EbayFakeMenu, EbayFakeMenuItem, EbayFakeMenuSeparator, EbayFakeMenuItemProps } from './ebay-fake-menu';
|
|
6
7
|
export { EbayInlineNotice, NoticeStatus } from './ebay-inline-notice';
|
|
7
8
|
export { EbaySectionNotice, EbaySectionNoticeTitle, EbaySectionNoticeFooter } from './ebay-section-notice';
|
|
8
9
|
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,EAA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AAE,kBAAkB,EAAE,eAAe,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC5G,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC9G,OAAO,EACH,SAAS,EAAE,SAAS,EAAE,oBAAoB,EAC1C,eAAe,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,aAAa,EACjF,MAAM,cAAc,CAAA;AACrB,OAAO,EACH,mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,SAAS,EACxF,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA"}
|
package/index.js
CHANGED
|
@@ -13,6 +13,10 @@ var ebay_menu_1 = require("./ebay-menu");
|
|
|
13
13
|
Object.defineProperty(exports, "EbayMenu", { enumerable: true, get: function () { return ebay_menu_1.EbayMenu; } });
|
|
14
14
|
Object.defineProperty(exports, "EbayMenuItem", { enumerable: true, get: function () { return ebay_menu_1.EbayMenuItem; } });
|
|
15
15
|
Object.defineProperty(exports, "EbayMenuSeparator", { enumerable: true, get: function () { return ebay_menu_1.EbayMenuSeparator; } });
|
|
16
|
+
var ebay_fake_menu_1 = require("./ebay-fake-menu");
|
|
17
|
+
Object.defineProperty(exports, "EbayFakeMenu", { enumerable: true, get: function () { return ebay_fake_menu_1.EbayFakeMenu; } });
|
|
18
|
+
Object.defineProperty(exports, "EbayFakeMenuItem", { enumerable: true, get: function () { return ebay_fake_menu_1.EbayFakeMenuItem; } });
|
|
19
|
+
Object.defineProperty(exports, "EbayFakeMenuSeparator", { enumerable: true, get: function () { return ebay_fake_menu_1.EbayFakeMenuSeparator; } });
|
|
16
20
|
var ebay_inline_notice_1 = require("./ebay-inline-notice");
|
|
17
21
|
Object.defineProperty(exports, "EbayInlineNotice", { enumerable: true, get: function () { return ebay_inline_notice_1.EbayInlineNotice; } });
|
|
18
22
|
var ebay_section_notice_1 = require("./ebay-section-notice");
|