@copart/ops-tool-kit 1.10.0-alpha.21 → 1.10.0-alpha.22
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/dist/ops-tool-kit.js +5 -4
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -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.
|
|
36
|
+
const version$5 = "1.10.0-alpha.22";
|
|
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
|
-
}),
|
|
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, {
|