Releases: vaadin/vaadin-notification
v1.3.0
Live Demo →
API Documentation →
New Features Since v1.2.x:
Added five theme variants:
- Default
- Primary
- Contrast
- Success
- Error
Changes Since v1.2.1:
v1.2.1
Live Demo →
API Documentation →
Bug Fixes
-
Fixed the pre-opened notification throwing an error (#91)
-
Fixed the renderer issue which was affecting closing animation (#95)
Changes Since v1.2.0:
v1.2.0
Live Demo →
API Documentation →
New Features
Rendering
- By default, the notification uses the content provided by using the renderer callback function.
- The renderer function provides
root
,notification
arguments.
Generate DOM content, append it to theroot
element and control the state
of the host element by accessingnotification
. Before generating new content,
users are able to check if there is already content inroot
for reusing it.
Theme propagation
- the
theme
attribute value set on<vaadin-notification>
will be propagated to the internal<vaadin-notification-card>
.
Changes Since v1.1.0:
-
0078583 Rewrite notification sampler demo to not use Polymer [skip ci]
-
c41a146 Improve renderers docs [skip ci]
-
3404dcb Propagate theme attribute to internal card
-
6b95c68 Update manual rendering test, do not render if not opened
-
ad3b0e4 Add render method
-
2965e75 Add test for render method
-
3bf1df1 Align renderer API docs with context-menu [skip ci]
-
f6dfc08 Move the renderer docs section upper [skip ci]
-
159a967 Capitalize Polymer, change to textContent, add br
-
b55a00f Add demo with polymer template
-
977260a Update demos to prefer renderers
-
8c5140f Throw error and clean template or renderer when are assigned together
-
d7f74cd Update tests for cases when renderer and template are assigned together
-
-
Add renderer tests
-
Add renderer implementation
-
Add renderer demo
-
Update docs and owner arg of renderer function
-
Update the renderer args order and test for it
-
Update demo wording
-
Update docs and demo
-
Bump analysis.json
-
Fix coveralls for PRs
-
Update renderer args and bump analysis.json
-
Remove public template, clean up model, bump analysis.json
-
v1.2.0-beta1
Live Demo →
API Documentation →
New Features
Rendering
- By default, the notification uses the content provided by using the renderer callback function.
- The renderer function provides
root
,notification
arguments.
Generate DOM content, append it to theroot
element and control the state
of the host element by accessingnotification
. Before generating new content,
users are able to check if there is already content inroot
for reusing it.
Theme propagation
- the
theme
attribute value set on<vaadin-notification>
will be propagated to the internal<vaadin-notification-card>
.
Changes Since v1.1.0:
-
0078583 Rewrite notification sampler demo to not use Polymer [skip ci]
-
c41a146 Improve renderers docs [skip ci]
-
3404dcb Propagate theme attribute to internal card
-
6b95c68 Update manual rendering test, do not render if not opened
-
ad3b0e4 Add render method
-
2965e75 Add test for render method
-
3bf1df1 Align renderer API docs with context-menu [skip ci]
-
f6dfc08 Move the renderer docs section upper [skip ci]
-
159a967 Capitalize Polymer, change to textContent, add br
-
b55a00f Add demo with polymer template
-
977260a Update demos to prefer renderers
-
8c5140f Throw error and clean template or renderer when are assigned together
-
d7f74cd Update tests for cases when renderer and template are assigned together
-
-
Add renderer tests
-
Add renderer implementation
-
Add renderer demo
-
Update docs and owner arg of renderer function
-
Update the renderer args order and test for it
-
Update demo wording
-
Update docs and demo
-
Bump analysis.json
-
Fix coveralls for PRs
-
Update renderer args and bump analysis.json
-
Remove public template, clean up model, bump analysis.json
-
v1.2.0-alpha2
Live Demo →
API Documentation →
Changes Since v1.2.0-alpha1:
v1.2.0-alpha1 - Renderer
Live Demo →
API Documentation →
New Features
Rendering
- By default, the notification uses the content provided by using the renderer callback function.
- The renderer function provides
root
,notification
arguments.
Generate DOM content, append it to theroot
element and control the state
of the host element by accessingnotification
. Before generating new content,
users are able to check if there is already content inroot
for reusing it.
Changes Since v1.1.0:
-
3bf1df1 Align renderer API docs with context-menu [skip ci]
-
f6dfc08 Move the renderer docs section upper [skip ci]
-
159a967 Capitalize Polymer, change to textContent, add br
-
b55a00f Add demo with polymer template
-
977260a Update demos to prefer renderers
-
8c5140f Throw error and clean template or renderer when are assigned together
-
d7f74cd Update tests for cases when renderer and template are assigned together
-
-
Add renderer tests
-
Add renderer implementation
-
Add renderer demo
-
Update docs and owner arg of renderer function
-
Update the renderer args order and test for it
-
Update demo wording
-
Update docs and demo
-
Bump analysis.json
-
Fix coveralls for PRs
-
Update renderer args and bump analysis.json
-
Remove public template, clean up model, bump analysis.json
-
v1.1.0
Live Demo →
API Documentation →
New Features
- Material theme for
<vaadin-notification>
, see demo.
Polymer 3
- First stable version available also in npm, as Polymer 3 based component. Please upgrade to this version if you are using npm, and remember to update any other Vaadin components you use.
Changes Since v1.1.0-beta2:
v1.1.0-beta2
Live Demo →
API Documentation →
Changes Since 1.1.0-alpha2:
v1.1.0-alpha2
Live Demo →
API Documentation →
Changes Since 1.1.0-alpha1:
v1.1.0-alpha1
Live Demo →
API Documentation →
Changes Since 1.0.0:
- f9c468b fix format
- c26a4a3 Add test coverage threshold
- e96ed5d Remove unneded hash in version
- 1690426 Move src import from styled file to element one
- f6c07a5 Depend on stable version of material styles
- 553a0c2 Adding theme/material
- dba9684 Enable visual tests
- c959671 Remove Bower badge [skip ci]
- 482eee5 Add Directory badges [skip ci]
- da073d3 Refactor animation code and fix flaky tests