Vaadin global notifications (wrapper for https://github.com/LostInBrittany/granite-alert with themable support)

Basic usage
GraniteAlert alert = new GraniteAlert();
alert.setCompact(true);
alert.setLevel(GraniteAlertLevel.SUCCESS);
alert.add(new Span("Success!"));
CSS configuration
<dom-module id="custom-granite-alert-theme" theme-for="granite-alert">
  <template>
    <style>
        :host(.custom) .alert {
            color: var(--lumo-body-text-color);
            background-color: white;
            border-color: grey;
        }
    </style>
  </template>
</dom-module>

Install

Link to this version
TestedReleased 13 April 2020Apache License 2.0
Framework Support
Vaadin platform 14+
Browser Independent
Install with
Release notes - Version 2.0.0

Initial release supporting Vaadin 14+ Npm mode