wave-ui 1.56.0 → 1.56.1

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.
@@ -3662,7 +3662,7 @@ var render$r = function() {
3662
3662
  var _vm = this;
3663
3663
  var _h = _vm.$createElement;
3664
3664
  var _c = _vm._self._c || _h;
3665
- return _c("transition", { attrs: { "name": _vm.transitionName, "appear": "" } }, [_vm.show ? _c("div", { staticClass: "w-notification", class: _vm.classes, style: _vm.styles }, [_c("w-alert", _vm._b({ staticClass: "white--bg", on: { "input": function($event) {
3665
+ return _c("transition", { attrs: { "name": _vm.transitionName, "appear": "" } }, [_vm.show ? _c("div", { staticClass: "w-notification", class: _vm.classes, style: _vm.styles }, [_c("w-alert", _vm._b({ class: _vm.alertClasses, on: { "input": function($event) {
3666
3666
  _vm.$emit("update:modelValue", false);
3667
3667
  _vm.$emit("input", false);
3668
3668
  } } }, "w-alert", _vm.alertProps, false), [_vm._t("default")], 2)], 1) : _vm._e()]);
@@ -3769,6 +3769,11 @@ const __vue2_script$r = {
3769
3769
  [`w-notification--${this.position.join(" w-notification--")}`]: true
3770
3770
  };
3771
3771
  },
3772
+ alertClasses() {
3773
+ if (this.bgColor || (this.success || this.info || this.warning || this.error) && this.plain)
3774
+ return null;
3775
+ return "white--bg";
3776
+ },
3772
3777
  styles() {
3773
3778
  return {
3774
3779
  zIndex: this.zIndex || this.zIndex === 0 || null