Polymer 2.0 unofficial support for Dart

This package contains the polymer-2.0-preview runtime as well as an initial port of polymer_elements-2.0-preview to be used along with polymerize tool and relate bazel rules for polymerize Dart.

To use this package in your bazel polymerize project add the following lines to your WORKSPACE file :

dart_library(
 name='js',
 package_name='js',
 version='0.6.1',
 download = 1)

dart_library(
 name='polymer_element',
 deps= ['@js//:js'],
 src_path='/home/vittorio/Develop/dart/polymer_element',
 package_name='polymer_element',
 download = 1,
 version='0.1.0')

And then in the BUILD file of any modules using it declare a dependency with @polymer_element//:polymer_element and @js//:js, for example :

polymer_library(
 name='my_module',
 deps=[
  '@polymer_element//:polymer_element',
  '@js//:js' ],
 package_name = 'my_module',
 version = '1.0',
 base_path = '//:lib',
 dart_sources= glob(['lib/**/*.dart']),
 html_templates= glob(['lib/**','web/**'],exclude=['**/*.dart']))

Libraries

iron_flex_layout

iron_icon

iron_icons

iron_input

module

observe

paper_checkbox

paper_dialog

paper_icon_button

paper_input

paper_material

polymer_element

require