@luscii-healthtech/web-ui 38.4.4 → 38.4.6

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.
@@ -3268,10 +3268,13 @@ const NotificationBanner = (_a) => {
3268
3268
  // Blue must be 800 here to pass the contrast test
3269
3269
  blue: "blue-800"
3270
3270
  };
3271
- const coluor = color ? textColor[color] : "base";
3271
+ const colour = color ? textColor[color] : "base";
3272
3272
  return React__namespace.default.createElement(
3273
3273
  "div",
3274
- { "data-test-id": "notification-banner", className: classNames__default.default(classes, { "ui-inline-flex": !stretch }) },
3274
+ { "data-test-id": "notification-banner", className: classNames__default.default(classes, {
3275
+ "ui-inline-flex": !stretch,
3276
+ "ui-w-full": stretch
3277
+ }) },
3275
3278
  icon && (typeof icon === "function" ? React__namespace.default.createElement(icon, {
3276
3279
  className: "ui-w-6 ui-h-6 ui-mr-3 ui-flex-shrink-0"
3277
3280
  }) : React__namespace.default.createElement("img", { src: icon, className: "ui-mr-3 ui-h-6 ui-w-6" })),
@@ -3284,7 +3287,7 @@ const NotificationBanner = (_a) => {
3284
3287
  { className: "ui-flex ui-flex-row ui-items-center" },
3285
3288
  props.text && React__namespace.default.createElement(Text, { className: classNames__default.default({
3286
3289
  "ui-mr-1": props.linkProps
3287
- }), "data-test-id": "notification-text", color: coluor }, props.text),
3290
+ }), "data-test-id": "notification-text", color: colour }, props.text),
3288
3291
  props.linkProps && React__namespace.default.createElement(Link, { "data-test-id": "notification-text-link", "aria-disabled": !props.linkProps.enabled, rel: "noopener", target: "_blank", onClick: props.linkProps.handleClick }, props.linkProps.text)
3289
3292
  )
3290
3293
  )