@useblu/ocean-react 1.46.1 → 1.46.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.46.3](https://github.com/ocean-ds/ocean-web/compare/v1.46.2...v1.46.3) (2023-06-22)
7
+
8
+ ### Bug Fixes
9
+
10
+ - adjust data-tesid tag name ([#1073](https://github.com/ocean-ds/ocean-web/issues/1073)) ([ee44b73](https://github.com/ocean-ds/ocean-web/commit/ee44b739bcd9017aac0e0e47ce4f2d580afcc670))
11
+
12
+ ## [1.46.2](https://github.com/ocean-ds/ocean-web/compare/v1.46.1...v1.46.2) (2023-06-22)
13
+
14
+ ### Bug Fixes
15
+
16
+ - update CrossSellCad click event to be in button ([#1072](https://github.com/ocean-ds/ocean-web/issues/1072)) ([3e84280](https://github.com/ocean-ds/ocean-web/commit/3e842804981d95fa5821a0cdd07c123e4e63f956))
17
+
6
18
  ## [1.46.1](https://github.com/ocean-ds/ocean-web/compare/v1.46.0...v1.46.1) (2023-06-16)
7
19
 
8
20
  ### Bug Fixes
package/index.es.js CHANGED
@@ -25619,13 +25619,13 @@ Badge.displayName = 'Badge';
25619
25619
 
25620
25620
  var CrossSellCard = e.forwardRef(function (_a, ref) {
25621
25621
  var title = _a.title, className = _a.className, description = _a.description, imageSrc = _a.imageSrc, ctaText = _a.ctaText, ctaAction = _a.ctaAction, customIcon = _a.customIcon, rest = __rest$1(_a, ["title", "className", "description", "imageSrc", "ctaText", "ctaAction", "customIcon"]);
25622
- return (e.createElement("div", __assign$1({ ref: ref }, rest, { className: classNames('ods-cross-sell-card', className), onClick: ctaAction }),
25623
- e.createElement("a", { className: "ods-cross-sell-card__content", onClick: function () { return ctaAction; }, "data-testid": "cta-test" },
25622
+ return (e.createElement("div", __assign$1({ ref: ref }, rest, { className: classNames('ods-cross-sell-card', className) }),
25623
+ e.createElement("a", { className: "ods-cross-sell-card__content" },
25624
25624
  e.createElement("div", { className: "ods-cross-sell-card__information" },
25625
25625
  e.createElement("div", { className: "ods-cross-sell-card__title" }, title),
25626
25626
  e.createElement("div", { className: "ods-cross-sell-card__description" }, description)),
25627
25627
  imageSrc && (e.createElement("img", { className: "ods-cross-sell-card__image", alt: imageSrc, src: imageSrc }))),
25628
- e.createElement("button", { type: "button", className: "ods-cross-sell-card__cta" },
25628
+ e.createElement("button", { type: "button", className: "ods-cross-sell-card__cta", "data-testid": "cta-test", onClick: ctaAction },
25629
25629
  ctaText,
25630
25630
  ' ',
25631
25631
  e.createElement("span", { className: "ods-cross-sell-card__cta-icon" }, customIcon || e.createElement(ee, null)))));
@@ -46276,7 +46276,7 @@ var Drawer = function (_a) {
46276
46276
  useEffect(function () {
46277
46277
  attachDrawer();
46278
46278
  }, [anchorEl, drawerRef, attachDrawer]);
46279
- return (e.createElement("div", { className: classNames('ods-overlay', open && 'ods-overlay--open'), "aria-hidden": "true", onClick: handleOverlayClose, ref: drawerRef, "data-testId": "drawer-overlay" },
46279
+ return (e.createElement("div", { className: classNames('ods-overlay', open && 'ods-overlay--open'), "aria-hidden": "true", onClick: handleOverlayClose, ref: drawerRef, "data-testid": "drawer-overlay" },
46280
46280
  e.createElement("div", { className: classNames('ods-drawer', open && 'ods-drawer--open', "ods-drawer--".concat(align)), onMouseLeave: onMouseOutDrawer },
46281
46281
  e.createElement("div", { className: classNames('ods-drawer__content--header', "ods-drawer__content--header--".concat(iconAlignment)) },
46282
46282
  e.createElement(Button$1, { type: "button", onClick: onDrawerClose }, headerIcon)),