@copart/ops-tool-kit 1.10.0-alpha.21 → 1.10.0-alpha.23

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.
@@ -33,7 +33,7 @@ var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
33
33
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
34
34
 
35
35
  const name$f = "@copart/ops-tool-kit";
36
- const version$5 = "1.10.0-alpha.21";
36
+ const version$5 = "1.10.0-alpha.23";
37
37
  const main$1 = "dist/ops-tool-kit.js";
38
38
  const style = "dist/ops-tool-kit.css";
39
39
  const files = [
@@ -37264,7 +37264,8 @@ var Banner = function Banner(props) {
37264
37264
  sourceApplication = notification.sourceApplication,
37265
37265
  categoryDescription = notification.categoryDescription,
37266
37266
  feedUrl = notification.feedUrl,
37267
- notificationId = notification.notificationId;
37267
+ notificationId = notification.notificationId,
37268
+ link = notification.link;
37268
37269
  var contentBarRef = React__default["default"].useRef(null);
37269
37270
 
37270
37271
  var _React$useState = React__default["default"].useState(false),
@@ -37330,8 +37331,8 @@ var Banner = function Banner(props) {
37330
37331
  dangerouslySetInnerHTML: {
37331
37332
  __html: SanitizeNotificationContent(content)
37332
37333
  }
37333
- }), action && ActionComponent && React__default["default"].createElement("a", {
37334
- href: feedUrl,
37334
+ }), (feedUrl || link) && React__default["default"].createElement("a", {
37335
+ href: feedUrl || link,
37335
37336
  target: "_blank",
37336
37337
  className: "utilities_ops-announcements_Banner--feedUrl"
37337
37338
  }, React__default["default"].createElement(coreComponents.Icon, {
@@ -37390,8 +37391,8 @@ var Banner = function Banner(props) {
37390
37391
  dangerouslySetInnerHTML: {
37391
37392
  __html: SanitizeNotificationContent(content)
37392
37393
  }
37393
- }), action && ActionComponent && React__default["default"].createElement("a", {
37394
- href: feedUrl,
37394
+ }), (feedUrl || link) && React__default["default"].createElement("a", {
37395
+ href: feedUrl || link,
37395
37396
  target: "_blank",
37396
37397
  className: "utilities_ops-announcements_Banner--feedUrl"
37397
37398
  }, React__default["default"].createElement(coreComponents.Icon, {
@@ -37485,8 +37486,8 @@ var Banner = function Banner(props) {
37485
37486
  dangerouslySetInnerHTML: {
37486
37487
  __html: SanitizeNotificationContent(content)
37487
37488
  }
37488
- }), action && ActionComponent && React__default["default"].createElement("a", {
37489
- href: feedUrl,
37489
+ }), (feedUrl || link) && React__default["default"].createElement("a", {
37490
+ href: feedUrl || link,
37490
37491
  target: "_blank",
37491
37492
  className: "utilities_ops-announcements_Banner--feedUrl"
37492
37493
  }, React__default["default"].createElement(coreComponents.Icon, {