Skip to content

v2.2.0-beta1

Compare
Choose a tag to compare
@limonte limonte released this 04 Oct 08:38
· 104 commits to master since this release

Live Demo →
API Documentation →

New Features

Rendering

  • By default, the dialog uses the content provided by using the renderer callback function.
  • The renderer function provides root, dialog arguments.
    Generate DOM content, append it to the root element and control the state
    of the host element by accessing dialog. Before generating new content,
    users are able to check if there is already content in root for reusing it.

Theme Propagation

  • the theme attribute value set on <vaadin-dialog> will be propagated to the internal <vaadin-overlay>.

Changes Since v2.1.0:

  • aea392b Add render method and tests

  • 94357f1 Enable sudo in Travis to fix PR build

  • 3468a58 Use theme property from Vaadin.ThemePropertyMixin

  • 128dbd6 Add demo for theme attribute propagation

  • 377461a Applying review suggestions

  • 358d5ec Propagate theme attribute to internal overlay. Fix #37

  • 8a7d9d1 Revert using headless Firefox, only use headless Chrome for now

  • 679cdf8 Add Sauce Labs mention

  • 84bc26f Update .gitignore

  • ba0afd2 Use files property of package.json instead of .npmignore [skip ci]

  • 7607b09 Added visual tests for Material theme.

  • 5402d49 Update coveralls threshold

  • 794f3f9 Fix typos, update overlay dependency and remove merge conflicts [skip ci]

  • 004311e Align renderer API docs with context-menu [skip ci]

  • 36d44a6 Replace arrow function in docs

  • 904b1e7 Move the renderer docs section upper

  • 32c3f71 Remove dom-bind from the demos [skip ci] (#101)

  • 9545ef4 Update demos to prefer renderers [skip ci] (#94)

  • fe12b4c Remove new template or renderer on error

  • 6e2802c Add polymer util import, simplify property assignment and flush test

  • 0125155 Add multi-property observer for template and renderer and throw error when used together

  • 18b85f2 Add test for throwing error using both template and renderer

  • 0d6acda Remove model from renderer arguments

  • 0c76561 Added renderer function