@ebay/ui-core-react 3.3.3 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -56,8 +56,8 @@ eBayUI React components
56
56
  * [x] [ebay-select](src/ebay-select)
57
57
  * [ ] `ebay-snackbar-dialog`
58
58
  * [ ] `ebay-split-button`
59
- * [ ] `ebay-star-rating`
60
- * [ ] `ebay-star-rating-select`
59
+ * [x] [ebay-star-rating](src/ebay-star-rating)
60
+ * [x] [ebay-star-rating-select](src/ebay-star-rating-select)
61
61
  * [x] [ebay-switch](src/ebay-switch)
62
62
  * [x] [ebay-signal](src/ebay-signal)
63
63
  * [x] [ebay-tabs](src/ebay-tabs)
@@ -12,7 +12,6 @@ import {
12
12
  EbayInfotipHost,
13
13
  EbayInfotipContent,
14
14
  EbayInfotipHeading,
15
- EbayInfotipCloseButton,
16
15
  } from '@ebay/ui-core-react/ebay-infotip'
17
16
  ```
18
17
 
@@ -36,10 +35,9 @@ yarn add @ebay/ui-core-react
36
35
 
37
36
  ```jsx harmony
38
37
  <EbayInfotip>
38
+ <EbayInfotipHeading>Heading</EbayInfotipHeading>
39
39
  <EbayInfotipContent>
40
- <EbayInfotipHeading>Heading</EbayInfotipHeading>
41
40
  <p>Here's a tip to help you be successful at your task.</p>
42
- <EbayInfotipCloseButton aria-label="Dismiss info" />
43
41
  </EbayInfotipContent>
44
42
  </EbayInfotip>
45
43
  ```
@@ -48,7 +48,7 @@ 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
50
  var tooltip_utils_1 = require("../common/tooltip-utils");
51
- var ebay_lightbox_dialog_1 = require("../ebay-lightbox-dialog");
51
+ var ebay_drawer_dialog_1 = require("../ebay-drawer-dialog");
52
52
  var ebay_dialog_base_1 = require("../ebay-dialog-base");
53
53
  var ebay_infotip_host_1 = __importDefault(require("./ebay-infotip-host"));
54
54
  var index_1 = require("./index");
@@ -76,8 +76,8 @@ var EbayInfotip = function (_a) {
76
76
  return (react_1.default.createElement(tooltip_utils_1.Tooltip, { type: "infotip", isExpanded: isExpanded, className: classnames_1.default(className, { 'dialog--mini': isModal }), ref: containerRef },
77
77
  react_1.default.createElement(tooltip_utils_1.TooltipHost, null, react_1.cloneElement(button, __assign({ ref: buttonRef, onClick: toggleTooltip, disabled: disabled,
78
78
  variant: variant, 'aria-label': ariaLabel, 'aria-expanded': isExpanded, icon: icon }, button.props))),
79
- isModal ? (react_1.default.createElement(ebay_lightbox_dialog_1.EbayLightboxDialog, __assign({}, contentProps, { open: isExpanded, onClose: collapseTooltip, mode: "mini", a11yCloseText: a11yCloseText, className: "dialog--mini__overlay" }),
80
- react_1.default.createElement(ebay_dialog_base_1.EbayDialogHeader, null),
79
+ isModal ? (react_1.default.createElement(ebay_drawer_dialog_1.EbayDrawerDialog, __assign({}, contentProps, { open: isExpanded, onClose: collapseTooltip, mode: "mini", a11yCloseText: a11yCloseText, className: "dialog--mini__overlay" }),
80
+ react_1.default.createElement(ebay_dialog_base_1.EbayDialogHeader, null, heading),
81
81
  contentChildren)) : (react_1.default.createElement(tooltip_utils_1.TooltipContent, __assign({}, contentProps, { type: "infotip", style: overlayStyle, pointer: pointer, showCloseButton: true, a11yCloseText: a11yCloseText, onClose: collapseTooltip }),
82
82
  heading,
83
83
  contentChildren))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebay/ui-core-react",
3
- "version": "3.3.3",
3
+ "version": "3.4.0",
4
4
  "description": "Skin components build off React",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",