├── test
├── core_ajax_dart.txt
├── core_ajax_dart.json
├── core_ajax_dart.xml
├── common.dart
├── core_ajax_dart_test.html
├── core_range_test.html
├── core_ajax_dart_progress_test.html
├── core_toolbar_test.html
├── core_selection_test.html
├── core_selection_multi_test.html
├── core_input_basic_test.html
├── core_localstorage_dart_test.html
├── core_localstorage_dart_raw_test.html
└── core_input_a11y_test.html
├── .bowerrc
├── lib
├── src
│ ├── core-list
│ │ ├── .bowerrc
│ │ ├── images
│ │ │ ├── 0.png
│ │ │ ├── 1.png
│ │ │ ├── 2.png
│ │ │ └── 3.png
│ │ └── core-list.css
│ ├── core-overlay
│ │ ├── gulpfile.js
│ │ ├── tests
│ │ │ ├── tests.json
│ │ │ ├── js
│ │ │ │ └── htmltests.js
│ │ │ └── runner.html
│ │ └── core-key-helper.html
│ ├── core-iconset
│ │ ├── my-icons.png
│ │ └── my-icons-big.png
│ ├── core-shared-lib
│ │ └── tests
│ │ │ ├── tests.json
│ │ │ ├── js
│ │ │ └── htmltests.js
│ │ │ └── runner.html
│ ├── web-animations-js
│ │ ├── test
│ │ │ ├── blink
│ │ │ │ ├── resources
│ │ │ │ │ ├── blue-100.png
│ │ │ │ │ ├── green-20.png
│ │ │ │ │ ├── green-100.png
│ │ │ │ │ ├── stripes-100.png
│ │ │ │ │ ├── stripes-20.png
│ │ │ │ │ └── keyframes-test.js
│ │ │ │ ├── interpolation
│ │ │ │ │ ├── shape-image-threshold.html
│ │ │ │ │ ├── shape-margin.html
│ │ │ │ │ ├── orphans-interpolation.html
│ │ │ │ │ ├── widows-interpolation.html
│ │ │ │ │ ├── text-indent-interpolation.html
│ │ │ │ │ ├── word-spacing-interpolation.html
│ │ │ │ │ ├── margin-interpolation.html
│ │ │ │ │ ├── opacity-interpolation.html
│ │ │ │ │ ├── top-interpolation.html
│ │ │ │ │ ├── bottom-interpolation.html
│ │ │ │ │ ├── color-interpolation.html
│ │ │ │ │ ├── min-width-interpolation.html
│ │ │ │ │ ├── letter-spacing-interpolation.html
│ │ │ │ │ ├── max-height-interpolation.html
│ │ │ │ │ ├── max-width-interpolation.html
│ │ │ │ │ ├── min-height-interpolation.html
│ │ │ │ │ ├── padding-interpolation.html
│ │ │ │ │ ├── left-interpolation.html
│ │ │ │ │ ├── right-interpolation.html
│ │ │ │ │ ├── height-interpolation.html
│ │ │ │ │ ├── border-width-interpolation.html
│ │ │ │ │ ├── outline-offset-interpolation.html
│ │ │ │ │ ├── border-color-interpolation.html
│ │ │ │ │ ├── outline-color-interpolation.html
│ │ │ │ │ ├── text-decoration-color-interpolation.html
│ │ │ │ │ ├── zoom-iterpolation.html
│ │ │ │ │ ├── text-shadow-interpolation.html
│ │ │ │ │ ├── transform-origin-interpolation.html
│ │ │ │ │ └── viewport-unit-interpolation.html
│ │ │ │ └── out-of-order-keyframes.html
│ │ │ ├── resources
│ │ │ │ ├── WebKitWeightWatcher100.ttf
│ │ │ │ ├── WebKitWeightWatcher200.ttf
│ │ │ │ ├── WebKitWeightWatcher300.ttf
│ │ │ │ ├── WebKitWeightWatcher400.ttf
│ │ │ │ ├── WebKitWeightWatcher500.ttf
│ │ │ │ ├── WebKitWeightWatcher600.ttf
│ │ │ │ ├── WebKitWeightWatcher700.ttf
│ │ │ │ ├── WebKitWeightWatcher800.ttf
│ │ │ │ └── WebKitWeightWatcher900.ttf
│ │ │ ├── karma-config.js
│ │ │ ├── js
│ │ │ │ ├── tick.js
│ │ │ │ ├── interpolation.js
│ │ │ │ └── group-constructors.js
│ │ │ ├── runner.js
│ │ │ ├── testharness-runner.html
│ │ │ ├── runner-web-animations.html
│ │ │ ├── runner-web-animations-next.html
│ │ │ └── runner-web-animations-next-lite.html
│ │ ├── .travis.yml
│ │ ├── target-loader.js
│ │ ├── templates
│ │ │ ├── boilerplate
│ │ │ ├── web-animations.html
│ │ │ ├── runner.html
│ │ │ └── web-animations.js
│ │ ├── src
│ │ │ ├── dev.js
│ │ │ ├── scope.js
│ │ │ ├── element-animatable.js
│ │ │ ├── apply.js
│ │ │ └── visibility-handler.js
│ │ ├── package.json
│ │ ├── web-animations.dev.js
│ │ ├── web-animations-next.dev.js
│ │ └── web-animations-next-lite.dev.js
│ ├── web-animations-next
│ │ ├── test
│ │ │ ├── blink
│ │ │ │ ├── resources
│ │ │ │ │ ├── blue-100.png
│ │ │ │ │ ├── green-100.png
│ │ │ │ │ ├── green-20.png
│ │ │ │ │ ├── stripes-100.png
│ │ │ │ │ ├── stripes-20.png
│ │ │ │ │ └── keyframes-test.js
│ │ │ │ ├── interpolation
│ │ │ │ │ ├── shape-image-threshold.html
│ │ │ │ │ ├── shape-margin.html
│ │ │ │ │ ├── orphans-interpolation.html
│ │ │ │ │ ├── widows-interpolation.html
│ │ │ │ │ ├── text-indent-interpolation.html
│ │ │ │ │ ├── word-spacing-interpolation.html
│ │ │ │ │ ├── margin-interpolation.html
│ │ │ │ │ ├── opacity-interpolation.html
│ │ │ │ │ ├── top-interpolation.html
│ │ │ │ │ ├── bottom-interpolation.html
│ │ │ │ │ ├── color-interpolation.html
│ │ │ │ │ ├── max-width-interpolation.html
│ │ │ │ │ ├── min-height-interpolation.html
│ │ │ │ │ ├── min-width-interpolation.html
│ │ │ │ │ ├── padding-interpolation.html
│ │ │ │ │ ├── letter-spacing-interpolation.html
│ │ │ │ │ ├── max-height-interpolation.html
│ │ │ │ │ ├── left-interpolation.html
│ │ │ │ │ ├── right-interpolation.html
│ │ │ │ │ ├── height-interpolation.html
│ │ │ │ │ ├── border-width-interpolation.html
│ │ │ │ │ ├── outline-offset-interpolation.html
│ │ │ │ │ ├── border-color-interpolation.html
│ │ │ │ │ ├── outline-color-interpolation.html
│ │ │ │ │ ├── text-decoration-color-interpolation.html
│ │ │ │ │ ├── zoom-iterpolation.html
│ │ │ │ │ ├── text-shadow-interpolation.html
│ │ │ │ │ ├── transform-origin-interpolation.html
│ │ │ │ │ └── viewport-unit-interpolation.html
│ │ │ │ └── out-of-order-keyframes.html
│ │ │ ├── resources
│ │ │ │ ├── WebKitWeightWatcher100.ttf
│ │ │ │ ├── WebKitWeightWatcher200.ttf
│ │ │ │ ├── WebKitWeightWatcher300.ttf
│ │ │ │ ├── WebKitWeightWatcher400.ttf
│ │ │ │ ├── WebKitWeightWatcher500.ttf
│ │ │ │ ├── WebKitWeightWatcher600.ttf
│ │ │ │ ├── WebKitWeightWatcher700.ttf
│ │ │ │ ├── WebKitWeightWatcher800.ttf
│ │ │ │ └── WebKitWeightWatcher900.ttf
│ │ │ ├── karma-config.js
│ │ │ ├── js
│ │ │ │ ├── tick.js
│ │ │ │ ├── interpolation.js
│ │ │ │ └── group-constructors.js
│ │ │ ├── runner.js
│ │ │ ├── testharness-runner.html
│ │ │ ├── runner-web-animations.html
│ │ │ ├── runner-web-animations-next.html
│ │ │ └── runner-web-animations-next-lite.html
│ │ ├── .travis.yml
│ │ ├── target-loader.js
│ │ ├── templates
│ │ │ ├── boilerplate
│ │ │ ├── web-animations.html
│ │ │ ├── runner.html
│ │ │ └── web-animations.js
│ │ ├── src
│ │ │ ├── dev.js
│ │ │ ├── scope.js
│ │ │ ├── element-animatable.js
│ │ │ ├── apply.js
│ │ │ └── visibility-handler.js
│ │ ├── package.json
│ │ ├── web-animations.dev.js
│ │ ├── web-animations-next.dev.js
│ │ └── web-animations-next-lite.dev.js
│ ├── core-focusable
│ │ ├── core-focusable.html
│ │ └── polymer-mixin.js
│ ├── core-splitter
│ │ ├── handle.svg
│ │ ├── handle-h.svg
│ │ └── core-splitter.css
│ ├── core-animation
│ │ └── web-animations.html
│ ├── core-collapse
│ │ └── core-collapse.css
│ ├── font-roboto
│ │ └── roboto.html
│ ├── core-menu
│ │ ├── core-menu.css
│ │ └── core-submenu.css
│ ├── core-icon
│ │ └── core-icon.css
│ ├── core-image
│ │ └── core-image.css
│ ├── polymer
│ │ └── polymer.html
│ ├── core-pages
│ │ └── core-pages.css
│ ├── core-animated-pages
│ │ ├── core-animated-pages.css
│ │ └── transitions
│ │ │ └── hero-transition.css
│ └── core-input
│ │ └── core-input.css
├── roboto_nodart.html
├── core_field_nodart.html
├── core_image_nodart.html
├── core_input_nodart.html
├── core_label_nodart.html
├── core_meta_nodart.html
├── core_range_nodart.html
├── core_style_nodart.html
├── core_collapse_nodart.html
├── core_resizer_nodart.html
├── core_signals_nodart.html
├── core_slide_nodart.html
├── core_toolbar_nodart.html
├── core_a11y_keys_nodart.html
├── core_drag_drop_nodart.html
├── core_focusable_nodart.html
├── core_key_helper_nodart.html
├── core_resizable_nodart.html
├── core_selection_nodart.html
├── core_shared_lib_nodart.html
├── web_animations_nodart.html
├── core_dropdown_base_nodart.html
├── core_layout_grid_nodart.html
├── core_layout_trbl_nodart.html
├── core_media_query_nodart.html
├── core_overlay_layer_nodart.html
├── core_header_panel_nodart.html
├── core_scroll_threshold_nodart.html
├── core_item_nodart.html
├── roboto.html
├── core_animated_pages
│ └── transitions
│ │ ├── scale_up_nodart.html
│ │ ├── slide_up_nodart.html
│ │ ├── cross_fade_nodart.html
│ │ ├── slide_down_nodart.html
│ │ ├── list_cascade_nodart.html
│ │ ├── tile_cascade_nodart.html
│ │ ├── hero_transition_nodart.html
│ │ ├── cascade_transition_nodart.html
│ │ ├── slide_from_bottom_nodart.html
│ │ ├── slide_from_right_nodart.html
│ │ ├── scale_up.html
│ │ ├── slide_up.html
│ │ ├── cross_fade.html
│ │ ├── slide_down.html
│ │ ├── list_cascade.html
│ │ ├── tile_cascade.html
│ │ ├── hero_transition.html
│ │ ├── slide_from_right.html
│ │ ├── cascade_transition.html
│ │ ├── slide_from_bottom.html
│ │ ├── core_transition_pages_nodart.html
│ │ ├── core_transition_pages.html
│ │ ├── scale_up.dart
│ │ ├── slide_up.dart
│ │ ├── cross_fade.dart
│ │ ├── slide_down.dart
│ │ ├── list_cascade.dart
│ │ ├── tile_cascade.dart
│ │ ├── slide_from_right.dart
│ │ ├── cascade_transition.dart
│ │ └── slide_from_bottom.dart
├── core_icon_nodart.html
├── core_meta.html
├── core_field.html
├── core_iconset_nodart.html
├── core_image.html
├── core_input.html
├── core_label.html
├── core_pages_nodart.html
├── core_range.html
├── core_slide.html
├── core_style.html
├── core_dropdown_nodart.html
├── core_resizer.html
├── core_signals.html
├── core_toolbar.html
├── core_a11y_keys.html
├── core_animation_nodart.html
├── core_collapse.html
├── core_drag_drop.html
├── core_focusable.html
├── core_resizable.html
├── core_selection.html
├── core_selector_nodart.html
├── core_splitter_nodart.html
├── core_transition_nodart.html
├── web_animations.html
├── core_iconset_svg_nodart.html
├── core_key_helper.html
├── core_shared_lib.html
├── core_header_panel.html
├── core_layout_grid.html
├── core_layout_trbl.html
├── core_media_query.html
├── core_animation_group_nodart.html
├── core_dropdown_base.html
├── core_overlay_layer.html
├── core_transition_css_nodart.html
├── core_scroll_threshold.html
├── core_scroll_header_panel_nodart.html
├── core_icon.html
├── core_item.html
├── av_icons_nodart.html
├── core_ajax_dart.html
├── core_iconset.html
├── core_pages.html
├── core_icons_nodart.html
├── core_menu_nodart.html
├── image_icons_nodart.html
├── maps_icons_nodart.html
├── core_dropdown.html
├── core_selector.html
├── core_splitter.html
├── core_transition.html
├── device_icons_nodart.html
├── editor_icons_nodart.html
├── social_icons_nodart.html
├── core_animation.html
├── core_icon_button_nodart.html
├── core_iconset_svg.html
├── core_tooltip_nodart.html
├── hardware_icons_nodart.html
├── notification_icons_nodart.html
├── communication_icons_nodart.html
├── core_animation_group.html
├── core_drawer_panel_nodart.html
├── core_menu_button_nodart.html
├── core_transition_css.html
├── core_animated_pages_nodart.html
├── av_icons.html
├── core_scroll_header_panel.html
├── core_icons.html
├── core_menu.html
├── image_icons.html
├── maps_icons.html
├── device_icons.html
├── editor_icons.html
├── social_icons.html
├── core_icon_button.html
├── core_submenu_nodart.html
├── core_tooltip.html
├── hardware_icons.html
├── communication_icons.html
├── core_drawer_panel.html
├── core_menu_button.html
├── notification_icons.html
├── core_animated_pages.html
├── core_ajax_dart_nodart.html
├── core_submenu.html
├── core_overlay_nodart.html
├── core_scaffold_nodart.html
├── core_overlay.html
├── core_scaffold.html
├── core_dropdown_menu_nodart.html
├── roboto.dart
├── core_dropdown_menu.html
├── web_animations.dart
├── av_icons.dart
├── core_icons.dart
├── maps_icons.dart
├── image_icons.dart
├── device_icons.dart
├── editor_icons.dart
├── social_icons.dart
├── hardware_icons.dart
├── notification_icons.dart
├── communication_icons.dart
├── core_xhr_dart.html
├── core_drag_drop.dart
├── core_localstorage_dart.html
├── core_xhr_dart_nodart.html
├── core_key_helper.dart
├── core_overlay_layer.dart
├── core_list_dart.html
├── core_field.dart
└── core_dropdown_base.dart
├── codereview.settings
├── .gitignore
└── bower.json
/test/core_ajax_dart.txt:
--------------------------------------------------------------------------------
1 | test text
2 |
--------------------------------------------------------------------------------
/.bowerrc:
--------------------------------------------------------------------------------
1 | {
2 | "directory": "lib/src"
3 | }
4 |
--------------------------------------------------------------------------------
/lib/src/core-list/.bowerrc:
--------------------------------------------------------------------------------
1 | {
2 | "directory": "../"
3 | }
4 |
--------------------------------------------------------------------------------
/test/core_ajax_dart.json:
--------------------------------------------------------------------------------
1 | {"object" : {"list" : [2, 3, {"key": "value"}]}}
2 |
--------------------------------------------------------------------------------
/lib/roboto_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_field_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_image_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_input_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_label_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_meta_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_range_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_style_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_collapse_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_resizer_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_signals_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_slide_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_toolbar_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_a11y_keys_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_drag_drop_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_focusable_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_key_helper_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_resizable_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_selection_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_shared_lib_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/web_animations_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_dropdown_base_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_layout_grid_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_layout_trbl_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_media_query_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_overlay_layer_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_header_panel_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/src/core-overlay/gulpfile.js:
--------------------------------------------------------------------------------
1 | var gulp = require('gulp');
2 | require('gulp-web-component-tester').init(gulp);
3 |
--------------------------------------------------------------------------------
/lib/core_scroll_threshold_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/src/core-list/images/0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/core-list/images/0.png
--------------------------------------------------------------------------------
/lib/src/core-list/images/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/core-list/images/1.png
--------------------------------------------------------------------------------
/lib/src/core-list/images/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/core-list/images/2.png
--------------------------------------------------------------------------------
/lib/src/core-list/images/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/core-list/images/3.png
--------------------------------------------------------------------------------
/lib/src/core-iconset/my-icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/core-iconset/my-icons.png
--------------------------------------------------------------------------------
/lib/src/core-overlay/tests/tests.json:
--------------------------------------------------------------------------------
1 | {
2 | "tools": ["chai", "mocha-tdd"],
3 | "tests": [
4 | "js/htmltests.js"
5 | ]
6 | }
--------------------------------------------------------------------------------
/lib/src/core-iconset/my-icons-big.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/core-iconset/my-icons-big.png
--------------------------------------------------------------------------------
/lib/src/core-shared-lib/tests/tests.json:
--------------------------------------------------------------------------------
1 | {
2 | "tools": ["chai", "mocha-tdd"],
3 | "tests": [
4 | "js/htmltests.js"
5 | ]
6 | }
--------------------------------------------------------------------------------
/lib/core_item_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/roboto.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/src/core-shared-lib/tests/js/htmltests.js:
--------------------------------------------------------------------------------
1 | htmlSuite('core-shared-lib', function() {
2 | htmlTest('html/core-shared-lib.html');
3 | });
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/scale_up_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_up_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_icon_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_meta.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/cross_fade_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_down_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_field.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_iconset_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_image.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_input.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_label.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_pages_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_range.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_slide.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_style.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/list_cascade_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/tile_cascade_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_dropdown_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_resizer.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_signals.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_toolbar.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/test/core_ajax_dart.xml:
--------------------------------------------------------------------------------
1 |
2 | AJ
3 | Dog
4 | Reminder
5 | Feed me!
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_a11y_keys.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/hero_transition_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_animation_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_collapse.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_drag_drop.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_focusable.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_resizable.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_selection.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_selector_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_splitter_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_transition_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/web_animations.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/cascade_transition_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_from_bottom_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_from_right_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/lib/core_iconset_svg_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_key_helper.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_shared_lib.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/codereview.settings:
--------------------------------------------------------------------------------
1 | CODE_REVIEW_SERVER: http://codereview.chromium.org/
2 | VIEW_VC: https://github.com/dart-lang/core-elements/commit/
3 | CC_LIST: reviews@dartlang.org
4 |
--------------------------------------------------------------------------------
/lib/core_header_panel.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_layout_grid.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_layout_trbl.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_media_query.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/scale_up.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_up.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animation_group_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_dropdown_base.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_overlay_layer.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_transition_css_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/cross_fade.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_down.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/resources/blue-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/blink/resources/blue-100.png
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/resources/green-20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/blink/resources/green-20.png
--------------------------------------------------------------------------------
/lib/core_scroll_threshold.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/resources/green-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/blink/resources/green-100.png
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/resources/stripes-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/blink/resources/stripes-100.png
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/resources/stripes-20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/blink/resources/stripes-20.png
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/resources/blue-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/blink/resources/blue-100.png
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/resources/green-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/blink/resources/green-100.png
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/resources/green-20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/blink/resources/green-20.png
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/list_cascade.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/tile_cascade.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_scroll_header_panel_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/src/core-focusable/core-focusable.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/resources/stripes-100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/blink/resources/stripes-100.png
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/resources/stripes-20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/blink/resources/stripes-20.png
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/hero_transition.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_icon.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_item.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/resources/WebKitWeightWatcher100.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/resources/WebKitWeightWatcher100.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/resources/WebKitWeightWatcher200.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/resources/WebKitWeightWatcher200.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/resources/WebKitWeightWatcher300.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/resources/WebKitWeightWatcher300.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/resources/WebKitWeightWatcher400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/resources/WebKitWeightWatcher400.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/resources/WebKitWeightWatcher500.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/resources/WebKitWeightWatcher500.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/resources/WebKitWeightWatcher600.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/resources/WebKitWeightWatcher600.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/resources/WebKitWeightWatcher700.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/resources/WebKitWeightWatcher700.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/resources/WebKitWeightWatcher800.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/resources/WebKitWeightWatcher800.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/resources/WebKitWeightWatcher900.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-js/test/resources/WebKitWeightWatcher900.ttf
--------------------------------------------------------------------------------
/lib/av_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_ajax_dart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_from_right.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_iconset.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_pages.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/resources/WebKitWeightWatcher100.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/resources/WebKitWeightWatcher100.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/resources/WebKitWeightWatcher200.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/resources/WebKitWeightWatcher200.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/resources/WebKitWeightWatcher300.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/resources/WebKitWeightWatcher300.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/resources/WebKitWeightWatcher400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/resources/WebKitWeightWatcher400.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/resources/WebKitWeightWatcher500.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/resources/WebKitWeightWatcher500.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/resources/WebKitWeightWatcher600.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/resources/WebKitWeightWatcher600.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/resources/WebKitWeightWatcher700.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/resources/WebKitWeightWatcher700.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/resources/WebKitWeightWatcher800.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/resources/WebKitWeightWatcher800.ttf
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/resources/WebKitWeightWatcher900.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dart-archive/core-elements/master/lib/src/web-animations-next/test/resources/WebKitWeightWatcher900.ttf
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/cascade_transition.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_from_bottom.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_menu_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/image_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/maps_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_dropdown.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_selector.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_splitter.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_transition.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/device_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/editor_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/social_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_icon_button_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_iconset_svg.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_tooltip_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/hardware_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/notification_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/communication_icons_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_animation_group.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_drawer_panel_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_menu_button_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_transition_css.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_animated_pages_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/av_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_scroll_header_panel.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_menu.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/image_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/maps_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/device_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/editor_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/social_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_icon_button.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_submenu_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/lib/core_tooltip.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/hardware_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - "0.10"
5 |
6 | install:
7 | - BROWSER="Firefox-aurora" ./.travis-setup.sh
8 |
9 | before_script:
10 | - export DISPLAY=:99.0
11 | - sh -e /etc/init.d/xvfb start
12 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - "0.10"
5 |
6 | install:
7 | - BROWSER="Firefox-aurora" ./.travis-setup.sh
8 |
9 | before_script:
10 | - export DISPLAY=:99.0
11 | - sh -e /etc/init.d/xvfb start
12 |
--------------------------------------------------------------------------------
/lib/communication_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_drawer_panel.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_menu_button.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/notification_icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_animated_pages.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_ajax_dart_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/test/common.dart:
--------------------------------------------------------------------------------
1 | library core_elements.common;
2 |
3 | import 'dart:async';
4 | import 'dart:html';
5 | import 'dart:js';
6 |
7 | Future flushLayoutAndRender() {
8 | context['Polymer'].callMethod('flush', []);
9 | document.body.offsetTop;
10 | return new Future(() {});
11 | }
12 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/core_transition_pages_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_submenu.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/core_transition_pages.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_overlay_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/core_scaffold_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/lib/src/core-splitter/handle.svg:
--------------------------------------------------------------------------------
1 |
4 |
5 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Don’t commit the following directories created by pub.
2 | .pub
3 | build/
4 | packages
5 |
6 | # Or the files created by dart2js.
7 | *.dart.js
8 | *.dart.precompiled.js
9 | *.js_
10 | *.js.deps
11 | *.sw?
12 | .idea/
13 | .pub/
14 |
15 | # Include when developing application packages.
16 | pubspec.lock
17 | .packages
18 |
--------------------------------------------------------------------------------
/lib/src/core-splitter/handle-h.svg:
--------------------------------------------------------------------------------
1 |
4 |
5 |
--------------------------------------------------------------------------------
/lib/core_overlay.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/lib/src/core-overlay/tests/js/htmltests.js:
--------------------------------------------------------------------------------
1 | htmlSuite('core-overlay', function() {
2 | htmlTest('html/core-overlay-basic.html');
3 | htmlTest('html/core-overlay-positioning.html');
4 | htmlTest('html/core-overlay-positioning-margin.html');
5 | htmlTest('html/core-overlay-scroll.html');
6 | htmlTest('html/core-overlay-quick-close.html');
7 | });
8 |
--------------------------------------------------------------------------------
/lib/core_scaffold.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "core-elements-dart",
3 | "version": "0.0.0",
4 | "homepage": "https://github.com/dart-lang/core-elements",
5 | "authors": [
6 | "Polymer.dart Authors "
7 | ],
8 | "private": true,
9 | "dependencies": {
10 | "polymer": "polymer/polymer#0.5.5",
11 | "core-elements": "polymer/core-elements#0.5.5"
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/lib/core_dropdown_menu_nodart.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/lib/roboto.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `roboto`.
4 | @HtmlImport('roboto_nodart.html')
5 | library core_elements.roboto;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/core_dropdown_menu.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/lib/web_animations.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `web_animations`.
4 | @HtmlImport('web_animations_nodart.html')
5 | library core_elements.web_animations;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/scale_up.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `scale_up`.
4 | @HtmlImport('scale_up_nodart.html')
5 | library core_elements.scale_up;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_up.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `slide_up`.
4 | @HtmlImport('slide_up_nodart.html')
5 | library core_elements.slide_up;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/cross_fade.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `cross_fade`.
4 | @HtmlImport('cross_fade_nodart.html')
5 | library core_elements.cross_fade;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_down.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `slide_down`.
4 | @HtmlImport('slide_down_nodart.html')
5 | library core_elements.slide_down;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/src/core-shared-lib/tests/runner.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Web Component Test Runner
7 |
8 |
9 |
10 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/list_cascade.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `list_cascade`.
4 | @HtmlImport('list_cascade_nodart.html')
5 | library core_elements.list_cascade;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/tile_cascade.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `tile_cascade`.
4 | @HtmlImport('tile_cascade_nodart.html')
5 | library core_elements.tile_cascade;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/src/core-overlay/tests/runner.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Web Component Test Runner
7 |
8 |
9 |
10 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/lib/av_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `av_icons`.
4 | @HtmlImport('av_icons_nodart.html')
5 | library core_elements.av_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_from_right.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `slide_from_right`.
4 | @HtmlImport('slide_from_right_nodart.html')
5 | library core_elements.slide_from_right;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/cascade_transition.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `cascade_transition`.
4 | @HtmlImport('cascade_transition_nodart.html')
5 | library core_elements.cascade_transition;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/core_animated_pages/transitions/slide_from_bottom.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `slide_from_bottom`.
4 | @HtmlImport('slide_from_bottom_nodart.html')
5 | library core_elements.slide_from_bottom;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
--------------------------------------------------------------------------------
/lib/core_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `core_icons`.
4 | @HtmlImport('core_icons_nodart.html')
5 | library core_elements.core_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/maps_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `maps_icons`.
4 | @HtmlImport('maps_icons_nodart.html')
5 | library core_elements.maps_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/image_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `image_icons`.
4 | @HtmlImport('image_icons_nodart.html')
5 | library core_elements.image_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/device_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `device_icons`.
4 | @HtmlImport('device_icons_nodart.html')
5 | library core_elements.device_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/editor_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `editor_icons`.
4 | @HtmlImport('editor_icons_nodart.html')
5 | library core_elements.editor_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/social_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `social_icons`.
4 | @HtmlImport('social_icons_nodart.html')
5 | library core_elements.social_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/hardware_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `hardware_icons`.
4 | @HtmlImport('hardware_icons_nodart.html')
5 | library core_elements.hardware_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/notification_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `notification_icons`.
4 | @HtmlImport('notification_icons_nodart.html')
5 | library core_elements.notification_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/communication_icons.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `communication_icons`.
4 | @HtmlImport('communication_icons_nodart.html')
5 | library core_elements.communication_icons;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 | import 'core_icon.dart';
12 | import 'core_iconset_svg.dart';
13 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/target-loader.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var target = webAnimationsTargetConfig.defaultTarget;
3 | if (typeof webAnimationsSourceTarget != 'undefined')
4 | target = webAnimationsSourceTarget;
5 |
6 | // Native implementation detection.
7 |
8 | var scripts = document.getElementsByTagName('script');
9 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
10 | webAnimationsTargetConfig[target].src.forEach(function(sourceFile) {
11 | document.write('');
12 | });
13 | })();
14 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/target-loader.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var target = webAnimationsTargetConfig.defaultTarget;
3 | if (typeof webAnimationsSourceTarget != 'undefined')
4 | target = webAnimationsSourceTarget;
5 |
6 | // Native implementation detection.
7 |
8 | var scripts = document.getElementsByTagName('script');
9 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
10 | webAnimationsTargetConfig[target].src.forEach(function(sourceFile) {
11 | document.write('');
12 | });
13 | })();
14 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/shape-image-threshold.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
21 |
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/shape-image-threshold.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
21 |
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/karma-config.js:
--------------------------------------------------------------------------------
1 | module.exports = function(config) {
2 | config.set({
3 | frameworks: ['mocha', 'chai'],
4 | plugins: [
5 | 'karma-mocha',
6 | 'karma-chai',
7 | 'karma-chrome-launcher',
8 | 'karma-firefox-launcher'
9 | ],
10 | browsers: ['Firefox'],
11 | // browsers: ['Safari', 'Chrome', 'ChromeCanary', 'Firefox', 'IE'],
12 | basePath: '..',
13 | files: [
14 | // Populated in `grunt test` task.
15 | ],
16 | singleRun: true,
17 | port: 9876,
18 | reporters: ['dots'],
19 | colors: true,
20 | autoWatch: false,
21 | });
22 | };
23 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/karma-config.js:
--------------------------------------------------------------------------------
1 | module.exports = function(config) {
2 | config.set({
3 | frameworks: ['mocha', 'chai'],
4 | plugins: [
5 | 'karma-mocha',
6 | 'karma-chai',
7 | 'karma-chrome-launcher',
8 | 'karma-firefox-launcher'
9 | ],
10 | browsers: ['Firefox'],
11 | // browsers: ['Safari', 'Chrome', 'ChromeCanary', 'Firefox', 'IE'],
12 | basePath: '..',
13 | files: [
14 | // Populated in `grunt test` task.
15 | ],
16 | singleRun: true,
17 | port: 9876,
18 | reporters: ['dots'],
19 | colors: true,
20 | autoWatch: false,
21 | });
22 | };
23 |
--------------------------------------------------------------------------------
/lib/src/core-list/core-list.css:
--------------------------------------------------------------------------------
1 | :host {
2 | display: block;
3 | outline: none;
4 | position: relative;
5 | }
6 |
7 | polyfill-next-selector { content: '.core-list-viewport > *'; }
8 | ::content > * {
9 | position: absolute;
10 | top: 0;
11 | box-sizing: border-box;
12 | opacity: 0;
13 | }
14 |
15 | polyfill-next-selector { content: ':host(:not([grid])) .core-list-viewport > *'; }
16 | :host(:not([grid])) ::content > * {
17 | width: 100%;
18 | }
19 |
20 | .core-list-items.horizontal {
21 | height: 100%;
22 | white-space: nowrap;
23 | }
24 |
25 | .core-list-items.horizontal > * {
26 | display: inline-block;
27 | }
28 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/shape-margin.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
21 |
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/shape-margin.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
21 |
22 |
--------------------------------------------------------------------------------
/lib/core_xhr_dart.html:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/js/tick.js:
--------------------------------------------------------------------------------
1 | suite('tick-tests', function() {
2 | setup(function() { webAnimations1.timeline._players = []; });
3 |
4 | test('players are in effect but ticking stops once forward fill is reached', function() {
5 | tick(90);
6 | var player = document.body.animate([], {duration: 1000, fill: 'forwards'});
7 | tick(100);
8 | tick(600);
9 | assert.equal(webAnimations1.timeline._players.length, 1);
10 | assert.equal(isTicking(), true);
11 | tick(1100);
12 | assert.equal(player.finished, true);
13 | assert.equal(webAnimations1.timeline._players.length, 1);
14 | assert.equal(isTicking(), false);
15 | });
16 | });
17 |
--------------------------------------------------------------------------------
/lib/src/core-animation/web-animations.html:
--------------------------------------------------------------------------------
1 |
10 |
11 |
--------------------------------------------------------------------------------
/lib/core_drag_drop.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `core_drag_drop`.
4 | @HtmlImport('core_drag_drop_nodart.html')
5 | library core_elements.core_drag_drop;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
12 |
13 | @CustomElementProxy('core-drag-drop')
14 | class CoreDragDrop extends HtmlElement with CustomElementProxyMixin, PolymerProxyMixin {
15 | CoreDragDrop.created() : super.created();
16 | factory CoreDragDrop() => new Element.tag('core-drag-drop');
17 | }
18 |
--------------------------------------------------------------------------------
/lib/src/core-collapse/core-collapse.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | Code distributed by Google as part of the polymer project is also
7 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 |
10 | html /deep/ core-collapse {
11 | display: block;
12 | }
13 |
14 | html /deep/ .core-collapse-closed {
15 | display: none;
16 | }
17 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/templates/boilerplate:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/templates/boilerplate:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/js/tick.js:
--------------------------------------------------------------------------------
1 | suite('tick-tests', function() {
2 | setup(function() { webAnimationsMinifill.timeline._players = []; });
3 |
4 | test('players are in effect but ticking stops once forward fill is reached', function() {
5 | tick(90);
6 | var player = document.body.animate([], {duration: 1000, fill: 'forwards'});
7 | tick(100);
8 | tick(600);
9 | assert.equal(webAnimationsMinifill.timeline._players.length, 1);
10 | assert.equal(isTicking(), true);
11 | tick(1100);
12 | assert.equal(player.finished, true);
13 | assert.equal(webAnimationsMinifill.timeline._players.length, 1);
14 | assert.equal(isTicking(), false);
15 | });
16 | });
17 |
--------------------------------------------------------------------------------
/lib/core_localstorage_dart.html:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/lib/core_xhr_dart_nodart.html:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/lib/core_key_helper.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `core_key_helper`.
4 | @HtmlImport('core_key_helper_nodart.html')
5 | library core_elements.core_key_helper;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
12 |
13 | @CustomElementProxy('core-key-helper')
14 | class CoreKeyHelper extends HtmlElement with CustomElementProxyMixin, PolymerProxyMixin {
15 | CoreKeyHelper.created() : super.created();
16 | factory CoreKeyHelper() => new Element.tag('core-key-helper');
17 | }
18 |
--------------------------------------------------------------------------------
/lib/src/font-roboto/roboto.html:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/lib/core_overlay_layer.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `core_overlay_layer`.
4 | @HtmlImport('core_overlay_layer_nodart.html')
5 | library core_elements.core_overlay_layer;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
12 |
13 | @CustomElementProxy('core-overlay-layer')
14 | class CoreOverlayLayer extends HtmlElement with CustomElementProxyMixin, PolymerProxyMixin {
15 | CoreOverlayLayer.created() : super.created();
16 | factory CoreOverlayLayer() => new Element.tag('core-overlay-layer');
17 | }
18 |
--------------------------------------------------------------------------------
/lib/core_list_dart.html:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/lib/src/core-menu/core-menu.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | Code distributed by Google as part of the polymer project is also
7 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 |
10 | :host {
11 | display: block;
12 | margin: 12px;
13 | }
14 |
15 | polyfill-next-selector { content: ':host > core-item'; }
16 | ::content > core-item {
17 | cursor: default;
18 | }
19 |
--------------------------------------------------------------------------------
/lib/src/core-icon/core-icon.css:
--------------------------------------------------------------------------------
1 | /* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2 | This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
3 | The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
4 | The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
5 | Code distributed by Google as part of the polymer project is also
6 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */
7 |
8 | html /deep/ core-icon {
9 | display: inline-block;
10 | vertical-align: middle;
11 | background-repeat: no-repeat;
12 | fill: currentcolor;
13 | position: relative;
14 | height: 24px;
15 | width: 24px;
16 | }
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/orphans-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 |
14 |
29 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/orphans-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 |
14 |
29 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/src/dev.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | var WEB_ANIMATIONS_TESTING = false;
16 | var webAnimationsTesting = null;
17 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/src/dev.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | var WEB_ANIMATIONS_TESTING = false;
16 | var webAnimationsTesting = null;
17 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/widows-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 |
14 |
30 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/widows-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 |
14 |
30 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/js/interpolation.js:
--------------------------------------------------------------------------------
1 | suite('interpolation', function() {
2 | test('interpolate numbers', function() {
3 | assert.equal(interpolate(4, 2, 0.2), 3.6);
4 | });
5 | test('interpolate bools', function() {
6 | assert.equal(interpolate(false, true, 0.4), false);
7 | assert.equal(interpolate(false, true, 0.5), true);
8 | assert.equal(interpolate(false, true, 0.5), true);
9 | });
10 | test('interpolate lists', function() {
11 | assert.deepEqual(interpolate([1, 2, 3], [4, 5, 6], 0.5), [2.5, 3.5, 4.5]);
12 | assert.deepEqual(interpolate([1], [4], 0.6), [2.8]);
13 | assert.deepEqual(interpolate([false], [true], 0.6), [true]);
14 | assert.deepEqual(interpolate([1, false, [3, 6]], [4, true, [6, 8]], 0.6), [2.8, true, [4.8, 7.2]]);
15 | });
16 | });
17 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/js/interpolation.js:
--------------------------------------------------------------------------------
1 | suite('interpolation', function() {
2 | test('interpolate numbers', function() {
3 | assert.equal(interpolate(4, 2, 0.2), 3.6);
4 | });
5 | test('interpolate bools', function() {
6 | assert.equal(interpolate(false, true, 0.4), false);
7 | assert.equal(interpolate(false, true, 0.5), true);
8 | assert.equal(interpolate(false, true, 0.5), true);
9 | });
10 | test('interpolate lists', function() {
11 | assert.deepEqual(interpolate([1, 2, 3], [4, 5, 6], 0.5), [2.5, 3.5, 4.5]);
12 | assert.deepEqual(interpolate([1], [4], 0.6), [2.8]);
13 | assert.deepEqual(interpolate([false], [true], 0.6), [true]);
14 | assert.deepEqual(interpolate([1, false, [3, 6]], [4, true, [6, 8]], 0.6), [2.8, true, [4.8, 7.2]]);
15 | });
16 | });
17 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/text-indent-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 | The helipad
13 |
14 |
15 |
16 |
30 |
31 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/text-indent-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 | The helipad
13 |
14 |
15 |
16 |
30 |
31 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/word-spacing-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 | The helipad
13 |
14 |
15 |
16 |
30 |
31 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/word-spacing-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 | The helipad
13 |
14 |
15 |
16 |
30 |
31 |
--------------------------------------------------------------------------------
/lib/src/core-image/core-image.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | Code distributed by Google as part of the polymer project is also
7 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 |
10 | :host {
11 | display: inline-block;
12 | overflow: hidden;
13 | position: relative;
14 | }
15 |
16 | #placeholder {
17 | background-color: inherit;
18 | opacity: 1;
19 | }
20 | #placeholder.fadein {
21 | transition: opacity 0.5s linear;
22 | opacity: 0;
23 | }
--------------------------------------------------------------------------------
/lib/src/web-animations-js/templates/web-animations.html:
--------------------------------------------------------------------------------
1 |
16 |
17 | <% _.forEach(src, function(src) { %>
18 | <% }); %>
19 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/margin-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/templates/web-animations.html:
--------------------------------------------------------------------------------
1 |
16 |
17 | <% _.forEach(src, function(src) { %>
18 | <% }); %>
19 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/margin-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/opacity-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/opacity-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/top-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
33 |
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/top-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
33 |
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/bottom-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
33 |
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/color-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 | T
14 |
15 |
16 |
17 |
31 |
32 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/min-width-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/bottom-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
33 |
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/color-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 | T
14 |
15 |
16 |
17 |
31 |
32 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/src/scope.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | var webAnimationsShared = {};
16 | var webAnimations1 = {};
17 | var webAnimationsNext = {};
18 |
19 | if (!WEB_ANIMATIONS_TESTING)
20 | var webAnimationsTesting = null;
21 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/letter-spacing-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
14 | TT
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/max-height-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/max-width-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/min-height-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/padding-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/max-width-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/min-height-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/min-width-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/padding-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/left-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
19 |
20 |
21 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/letter-spacing-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
14 | TT
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/max-height-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
32 |
33 |
--------------------------------------------------------------------------------
/lib/src/core-overlay/core-key-helper.html:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
15 |
16 |
22 |
23 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/right-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
19 |
20 |
21 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/left-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
19 |
20 |
21 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/right-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
19 |
20 |
21 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/src/scope.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | var webAnimationsShared = {};
16 | var webAnimationsMinifill = {};
17 | var webAnimationsMaxifill = {};
18 |
19 | if (!WEB_ANIMATIONS_TESTING)
20 | var webAnimationsTesting = null;
21 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/height-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
15 |
16 |
17 |
18 |
19 |
33 |
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/height-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
15 |
16 |
17 |
18 |
19 |
33 |
34 |
--------------------------------------------------------------------------------
/test/core_ajax_dart_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-ajax-dart
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/src/element-animatable.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | (function(scope) {
16 | window.Element.prototype.animate = function(effectInput, timingInput) {
17 | return scope.timeline._play(scope.Animation(this, effectInput, timingInput));
18 | };
19 | })(webAnimations1);
20 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/border-width-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/border-width-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/polymer/polymer.html:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
17 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/outline-offset-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
19 |
20 |
21 |
35 |
36 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/src/element-animatable.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | (function(scope) {
16 | window.Element.prototype.animate = function(effectInput, timingInput) {
17 | return scope.timeline._play(scope.Animation(this, effectInput, timingInput));
18 | };
19 | })(webAnimationsMinifill);
20 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/outline-offset-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
19 |
20 |
21 |
35 |
36 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/border-color-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/outline-color-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/border-color-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/outline-color-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/text-decoration-color-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 | TTT
15 |
16 |
17 |
18 |
19 |
34 |
35 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/text-decoration-color-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 | TTT
15 |
16 |
17 |
18 |
19 |
34 |
35 |
--------------------------------------------------------------------------------
/test/core_range_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-selection
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/test/core_ajax_dart_progress_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-ajax-dart progress
13 |
14 |
15 |
16 |
17 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/lib/core_field.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `core_field`.
4 | @HtmlImport('core_field_nodart.html')
5 | library core_elements.core_field;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
12 | /// The `core-field` supplies a horizontal layout, anticipating an input.
13 | ///
14 | /// Example:
15 | ///
16 | ///
17 | ///
18 | ///
19 | ///
20 | ///
21 | @CustomElementProxy('core-field')
22 | class CoreField extends HtmlElement with CustomElementProxyMixin, PolymerProxyMixin {
23 | CoreField.created() : super.created();
24 | factory CoreField() => new Element.tag('core-field');
25 | }
26 |
--------------------------------------------------------------------------------
/lib/src/core-splitter/core-splitter.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | Code distributed by Google as part of the polymer project is also
7 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 |
10 | :host {
11 | display: block;
12 | width: 12px;
13 | background: #efefef url(handle.svg) no-repeat center;
14 | box-shadow: inset 0 0 2px 1px #ccc;
15 | cursor: col-resize;
16 | }
17 |
18 | :host(.horizontal) {
19 | width: auto;
20 | height: 12px;
21 | cursor: row-resize;
22 | background-image: url(handle-h.svg);
23 | }
24 |
25 | :host(:hover, :active) {
26 | background-color: #ddd;
27 | }
28 |
--------------------------------------------------------------------------------
/test/core_toolbar_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-toolbar-test
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/test/core_selection_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-selection
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/zoom-iterpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
35 |
36 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/zoom-iterpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
35 |
36 |
--------------------------------------------------------------------------------
/test/core_selection_multi_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-selection-multi
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/lib/src/core-pages/core-pages.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 | The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 | The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 | Code distributed by Google as part of the polymer project is also
7 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 | */
9 |
10 | :host {
11 | display: block;
12 | position: relative;
13 | }
14 |
15 | polyfill-next-selector { content: ':host > *'; }
16 | ::content > * {
17 | position: absolute;
18 | top: 0;
19 | right: 0;
20 | bottom: 0;
21 | left: 0;
22 | visibility: hidden;
23 | z-index: -1000;
24 | }
25 |
26 | polyfill-next-selector { content: ':host > .core-selected'; }
27 | ::content > .core-selected {
28 | visibility: visible;
29 | z-index: auto;
30 | }
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/js/group-constructors.js:
--------------------------------------------------------------------------------
1 | suite('group-constructors', function() {
2 | setup(function() {
3 | document.timeline._players = [];
4 | });
5 |
6 | function simpleAnimationGroup() {
7 | return new AnimationSequence([
8 | new Animation(document.body, [], 2000),
9 | new AnimationGroup([
10 | new Animation(document.body, [], 2000),
11 | new Animation(document.body, [], 1000)
12 | ])
13 | ]);
14 | }
15 |
16 | test('player getter for children in groups, and __internalPlayer, work as expected', function() {
17 | var p = document.timeline.play(simpleAnimationGroup());
18 | tick(0);
19 | assert.equal(p.source.player, p);
20 | assert.equal(p._childPlayers[0].source.player, p);
21 | assert.equal(p._childPlayers[1].source.player, p);
22 | tick(2100);
23 | assert.equal(p._childPlayers[1]._childPlayers[0].source.player, p);
24 | assert.equal(p._childPlayers[1]._childPlayers[1].source.player, p);
25 | });
26 | });
27 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/js/group-constructors.js:
--------------------------------------------------------------------------------
1 | suite('group-constructors', function() {
2 | setup(function() {
3 | document.timeline._players = [];
4 | });
5 |
6 | function simpleAnimationGroup() {
7 | return new AnimationSequence([
8 | new Animation(document.body, [], 2000),
9 | new AnimationGroup([
10 | new Animation(document.body, [], 2000),
11 | new Animation(document.body, [], 1000)
12 | ])
13 | ]);
14 | }
15 |
16 | test('player getter for children in groups, and __internalPlayer, work as expected', function() {
17 | var p = document.timeline.play(simpleAnimationGroup());
18 | tick(100);
19 | assert.equal(p.source.player, p);
20 | assert.equal(p._childPlayers[0].source.player, p);
21 | assert.equal(p._childPlayers[1].source.player, p);
22 | tick(2100);
23 | assert.equal(p._childPlayers[1]._childPlayers[0].source.player, p);
24 | assert.equal(p._childPlayers[1]._childPlayers[1].source.player, p);
25 | });
26 | });
27 |
--------------------------------------------------------------------------------
/test/core_input_basic_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-input basic
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/runner.js:
--------------------------------------------------------------------------------
1 | var WEB_ANIMATIONS_TESTING = true;
2 | var webAnimationsTesting = window;
3 | var assert = chai.assert;
4 | mocha.setup({ ui: 'tdd' });
5 |
6 | function loadWebAnimationsBuildTarget(target) {
7 | var config = webAnimationsTargetConfig[target];
8 | config.src.concat(config.test).forEach(function(file) {
9 | document.write('\n');
10 | });
11 | }
12 |
13 | (function() {
14 |
15 | var pageError = null;
16 |
17 | addEventListener('error', function(event) {
18 | pageError = event.filename + ':' + event.lineno + ' ' + event.message;
19 | });
20 |
21 | addEventListener('load', function() {
22 |
23 | // Inject test suite for page errors if any encountered.
24 | if (pageError) {
25 | suite('page-script-errors', function() {
26 | test('no script errors on page', function() {
27 | assert.fail(null, null, pageError);
28 | });
29 | });
30 | }
31 |
32 | mocha.run();
33 | });
34 |
35 | })();
36 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/src/apply.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | (function(scope, testing) {
16 |
17 | scope.apply = function(element, property, value) {
18 | element.style[scope.propertyName(property)] = value;
19 | };
20 |
21 | scope.clear = function(element, property) {
22 | element.style[scope.propertyName(property)] = '';
23 | };
24 |
25 | })(webAnimations1, webAnimationsTesting);
26 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/runner.js:
--------------------------------------------------------------------------------
1 | var WEB_ANIMATIONS_TESTING = true;
2 | var webAnimationsTesting = window;
3 | var assert = chai.assert;
4 | mocha.setup({ ui: 'tdd' });
5 |
6 | function loadWebAnimationsBuildTarget(target) {
7 | var config = webAnimationsTargetConfig[target];
8 | config.src.concat(config.test).forEach(function(file) {
9 | document.write('\n');
10 | });
11 | }
12 |
13 | (function() {
14 |
15 | var pageError = null;
16 |
17 | addEventListener('error', function(event) {
18 | pageError = event.filename + ':' + event.lineno + ' ' + event.message;
19 | });
20 |
21 | addEventListener('load', function() {
22 |
23 | // Inject test suite for page errors if any encountered.
24 | if (pageError) {
25 | suite('page-script-errors', function() {
26 | test('no script errors on page', function() {
27 | assert.fail(null, null, pageError);
28 | });
29 | });
30 | }
31 |
32 | mocha.run();
33 | });
34 |
35 | })();
36 |
--------------------------------------------------------------------------------
/lib/src/core-animated-pages/core-animated-pages.css:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | :host {
12 | display: block;
13 | position: relative;
14 | }
15 |
16 | polyfill-next-selector { content: ':host > *'; }
17 | ::content > * {
18 | position: absolute;
19 | top: 0;
20 | right: 0;
21 | bottom: 0;
22 | left: 0;
23 | }
24 |
25 | polyfill-next-selector { content: ':host > *:not(.core-selected):not([animate])'; }
26 | ::content > *:not(.core-selected):not([animate]) {
27 | display: none !important;
28 | }
29 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/text-shadow-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 | T
16 |
17 |
18 |
19 |
33 |
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/src/apply.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | (function(scope, testing) {
16 |
17 | scope.apply = function(element, property, value) {
18 | element.style[scope.propertyName(property)] = value;
19 | };
20 |
21 | scope.clear = function(element, property) {
22 | element.style[scope.propertyName(property)] = '';
23 | };
24 |
25 | })(webAnimationsMinifill, webAnimationsTesting);
26 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/text-shadow-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 | T
16 |
17 |
18 |
19 |
33 |
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/testharness-runner.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/testharness-runner.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "web-animations-js",
3 | "private": true,
4 | "repository": {
5 | "type": "git",
6 | "url": "https://github.com/web-animations/web-animations-js.git"
7 | },
8 | "devDependencies": {
9 | "mocha": "1.21.4",
10 | "chai": "^1.9.1",
11 | "grunt": "~0.4.5",
12 | "grunt-contrib-uglify": "^0.4.0",
13 | "grunt-gjslint": "^0.1.4",
14 | "grunt-karma": "^0.8.2",
15 | "karma": "^0.12.14",
16 | "karma-mocha": "^0.1.3",
17 | "karma-chai": "^0.1.0",
18 | "karma-chrome-launcher": "~0.1.4",
19 | "karma-firefox-launcher": "~0.1.3",
20 | "karma-ie-launcher": "~0.1.5",
21 | "karma-safari-launcher": "~0.1.1",
22 | "karma-sauce-launcher": "~0.2.3",
23 | "grunt-checkrepo": "~0.1.0",
24 | "grunt-saucelabs": "~4.0.2",
25 | "grunt-checkrepo": "~0.1.0",
26 | "grunt-git-status": "~1.0.0",
27 | "grunt-template": "~0.2.3",
28 | "source-map": "~0.1.40"
29 | },
30 | "scripts": {
31 | "test": "grunt test gjslint git-status checkrepo"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "web-animations-js",
3 | "private": true,
4 | "repository": {
5 | "type": "git",
6 | "url": "https://github.com/web-animations/web-animations-js.git"
7 | },
8 | "devDependencies": {
9 | "mocha": "1.21.4",
10 | "chai": "^1.9.1",
11 | "grunt": "~0.4.5",
12 | "grunt-contrib-uglify": "^0.4.0",
13 | "grunt-gjslint": "^0.1.4",
14 | "grunt-karma": "^0.8.2",
15 | "karma": "^0.12.14",
16 | "karma-mocha": "^0.1.3",
17 | "karma-chai": "^0.1.0",
18 | "karma-chrome-launcher": "~0.1.4",
19 | "karma-firefox-launcher": "~0.1.3",
20 | "karma-ie-launcher": "~0.1.5",
21 | "karma-safari-launcher": "~0.1.1",
22 | "karma-sauce-launcher": "~0.2.3",
23 | "grunt-checkrepo": "~0.1.0",
24 | "grunt-saucelabs": "~4.0.2",
25 | "grunt-checkrepo": "~0.1.0",
26 | "grunt-git-status": "~1.0.0",
27 | "grunt-template": "~0.2.3",
28 | "source-map": "~0.1.40"
29 | },
30 | "scripts": {
31 | "test": "grunt test gjslint git-status checkrepo"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/lib/src/core-focusable/polymer-mixin.js:
--------------------------------------------------------------------------------
1 | Polymer.mixin2 = function(prototype, mixin) {
2 |
3 | // adds a single mixin to prototype
4 |
5 | if (mixin.mixinPublish) {
6 | prototype.publish = prototype.publish || {};
7 | Polymer.mixin(prototype.publish, mixin.mixinPublish);
8 | }
9 |
10 | if (mixin.mixinDelegates) {
11 | prototype.eventDelegates = prototype.eventDelegates || {};
12 | for (var e in mixin.mixinDelegates) {
13 | if (!prototype.eventDelegates[e]) {
14 | prototype.eventDelegates[e] = mixin.mixinDelegates[e];
15 | }
16 | }
17 | }
18 |
19 | if (mixin.mixinObserve) {
20 | prototype.observe = prototype.observe || {};
21 | for (var o in mixin.mixinObserve) {
22 | if (!prototype.observe[o] && !prototype[o + 'Changed']) {
23 | prototype.observe[o] = mixin.mixinObserve[o];
24 | }
25 | }
26 | }
27 |
28 | Polymer.mixin(prototype, mixin);
29 |
30 | delete prototype.mixinPublish;
31 | delete prototype.mixinDelegates;
32 | delete prototype.mixinObserve;
33 |
34 | return prototype;
35 | };
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/resources/keyframes-test.js:
--------------------------------------------------------------------------------
1 | (function(){
2 | 'use strict'
3 |
4 | function createElement() {
5 | var element = document.createElement('div');
6 | element.style.position = 'absolute';
7 | document.documentElement.appendChild(element);
8 | return element;
9 | }
10 |
11 | function heldTiming(progress) {
12 | return {
13 | duration: 1000,
14 | fill: 'forwards',
15 | delay: -progress * 1000,
16 | };
17 | }
18 |
19 | function assertAnimationStyles(keyframes, expectations, description) {
20 | for (var progress in expectations) {
21 | var element = createElement();
22 | element.animate(keyframes, heldTiming(progress));
23 |
24 | var computedStyle = getComputedStyle(element);
25 | for (var property in expectations[progress]) {
26 | assert_equals(computedStyle[property], expectations[progress][property],
27 | property + ' at ' + (progress * 100) + '%' + (description ? ' ' + description : ''));
28 | }
29 | }
30 | }
31 |
32 | window.assertAnimationStyles = assertAnimationStyles;
33 | })();
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/resources/keyframes-test.js:
--------------------------------------------------------------------------------
1 | (function(){
2 | 'use strict';
3 |
4 | function createElement() {
5 | var element = document.createElement('div');
6 | element.style.position = 'absolute';
7 | document.documentElement.appendChild(element);
8 | return element;
9 | }
10 |
11 | function heldTiming(progress) {
12 | return {
13 | duration: 1000,
14 | fill: 'forwards',
15 | delay: -progress * 1000,
16 | };
17 | }
18 |
19 | function assertAnimationStyles(keyframes, expectations, description) {
20 | for (var progress in expectations) {
21 | var element = createElement();
22 | element.animate(keyframes, heldTiming(progress));
23 |
24 | var computedStyle = getComputedStyle(element);
25 | for (var property in expectations[progress]) {
26 | assert_equals(computedStyle[property], expectations[progress][property],
27 | property + ' at ' + (progress * 100) + '%' + (description ? ' ' + description : ''));
28 | }
29 | }
30 | }
31 |
32 | window.assertAnimationStyles = assertAnimationStyles;
33 | })();
34 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/transform-origin-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
19 |
20 |
21 |
22 |
23 |
38 |
39 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/transform-origin-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
19 |
20 |
21 |
22 |
23 |
38 |
39 |
--------------------------------------------------------------------------------
/test/core_localstorage_dart_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-localstorage-raw
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/lib/src/core-input/core-input.css:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | :host {
12 | display: inline-block;
13 | text-align: inherit;
14 | position: relative;
15 | width: 20em;
16 | }
17 |
18 | :host:hover {
19 | cursor: text;
20 | }
21 |
22 | input,
23 | textarea {
24 | font: inherit;
25 | color: inherit;
26 | width: 100%;
27 | margin: 0;
28 | padding: 0;
29 | background-color: transparent;
30 | border: none;
31 | outline: none;
32 | width: 100%;
33 | }
34 |
35 | textarea {
36 | resize: none;
37 | }
38 |
39 | textarea[rows=fit] {
40 | height: 100%;
41 | }
--------------------------------------------------------------------------------
/lib/src/web-animations-js/src/visibility-handler.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | (function(scope, testing) {
16 |
17 | function merge(left, right) {
18 | if (left != 'visible' && right != 'visible') return;
19 | return [0, 1, function(x) {
20 | if (x <= 0) return left;
21 | if (x >= 1) return right;
22 | return 'visible';
23 | }];
24 | }
25 |
26 | scope.addPropertiesHandler(String, merge, ['visibility']);
27 |
28 | })(webAnimations1);
29 |
30 |
--------------------------------------------------------------------------------
/lib/src/core-animated-pages/transitions/hero-transition.css:
--------------------------------------------------------------------------------
1 | /*
2 | * @license
3 | * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 | * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 | * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 | * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 | * Code distributed by Google as part of the polymer project is also
8 | * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9 | */
10 |
11 | /* Hide heroes that are not currently transitioning */
12 | polyfill-next-selector { content: ':host > [animate] [hero]'; }
13 | ::content > [animate] /deep/ [hero], ::content > [animate]::shadow [hero] {
14 | visibility: hidden;
15 | }
16 |
17 | polyfill-next-selector { content: ':host > .core-selected[animate] [hero]'; }
18 | ::content > .core-selected[animate] /deep/ [hero],
19 | ::content > .core-selected[animate]::shadow [hero] {
20 | visibility: visible;
21 | z-index: 10000;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/templates/runner.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/src/visibility-handler.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | (function(scope, testing) {
16 |
17 | function merge(left, right) {
18 | if (left != 'visible' && right != 'visible') return;
19 | return [0, 1, function(x) {
20 | if (x <= 0) return left;
21 | if (x >= 1) return right;
22 | return 'visible';
23 | }];
24 | }
25 |
26 | scope.addPropertiesHandler(String, merge, ['visibility']);
27 |
28 | })(webAnimationsMinifill);
29 |
30 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/templates/runner.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/web-animations.dev.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 | var webAnimationsSourceTarget = 'web-animations';
15 | var WEB_ANIMATIONS_TESTING = false;
16 | (function() {
17 | var scripts = document.getElementsByTagName('script');
18 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
19 | document.write('');
20 | document.write('');
21 | })();
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/templates/web-animations.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 | var webAnimationsSourceTarget = '<%= target %>';
15 | var WEB_ANIMATIONS_TESTING = false;
16 | (function() {
17 | var scripts = document.getElementsByTagName('script');
18 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
19 | document.write('');
20 | document.write('');
21 | })();
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/runner-web-animations.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/web-animations.dev.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 | var webAnimationsSourceTarget = 'web-animations';
15 | var WEB_ANIMATIONS_TESTING = false;
16 | (function() {
17 | var scripts = document.getElementsByTagName('script');
18 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
19 | document.write('');
20 | document.write('');
21 | })();
22 |
--------------------------------------------------------------------------------
/test/core_localstorage_dart_raw_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 | core-localstorage
13 |
14 |
15 |
16 |
17 |
18 |
20 |
21 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/web-animations-next.dev.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 | var webAnimationsSourceTarget = 'web-animations-next';
15 | var WEB_ANIMATIONS_TESTING = false;
16 | (function() {
17 | var scripts = document.getElementsByTagName('script');
18 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
19 | document.write('');
20 | document.write('');
21 | })();
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/templates/web-animations.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 | var webAnimationsSourceTarget = '<%= target %>';
15 | var WEB_ANIMATIONS_TESTING = false;
16 | (function() {
17 | var scripts = document.getElementsByTagName('script');
18 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
19 | document.write('');
20 | document.write('');
21 | })();
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/runner-web-animations.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/interpolation/viewport-unit-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
45 |
46 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/runner-web-animations-next.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/interpolation/viewport-unit-interpolation.html:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
45 |
46 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/web-animations-next.dev.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 | var webAnimationsSourceTarget = 'web-animations-next';
15 | var WEB_ANIMATIONS_TESTING = false;
16 | (function() {
17 | var scripts = document.getElementsByTagName('script');
18 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
19 | document.write('');
20 | document.write('');
21 | })();
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/web-animations-next-lite.dev.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 | var webAnimationsSourceTarget = 'web-animations-next-lite';
15 | var WEB_ANIMATIONS_TESTING = false;
16 | (function() {
17 | var scripts = document.getElementsByTagName('script');
18 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
19 | document.write('');
20 | document.write('');
21 | })();
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/runner-web-animations-next.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/runner-web-animations-next-lite.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/web-animations-next-lite.dev.js:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Google Inc. All rights reserved.
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 | var webAnimationsSourceTarget = 'web-animations-next-lite';
15 | var WEB_ANIMATIONS_TESTING = false;
16 | (function() {
17 | var scripts = document.getElementsByTagName('script');
18 | var location = scripts[scripts.length - 1].src.replace(/[^\/]+$/, '');
19 | document.write('');
20 | document.write('');
21 | })();
22 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/runner-web-animations-next-lite.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
--------------------------------------------------------------------------------
/lib/src/core-menu/core-submenu.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 | This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
4 | The complete set of authors may be found at http://polymer.github.io/AUTHORS
5 | The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
6 | Code distributed by Google as part of the polymer project is also
7 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS
8 | */
9 |
10 | :host {
11 | display: block;
12 | height: auto;
13 | }
14 |
15 | :host(.core-selected, [active]) {
16 | font-weight: initial;
17 | }
18 |
19 | core-item {
20 | cursor: default;
21 | }
22 |
23 | ::content > core-item {
24 | cursor: default;
25 | }
26 |
27 | :host(.font-scalable) > core-item {
28 | min-height: 2.5em;
29 | }
30 |
31 | :host(.font-scalable) > core-item::shadow core-icon {
32 | margin: 0 1em 0 0.25em;
33 | height: 1.5em;
34 | width: 1.5em;
35 | }
36 |
37 | #submenu {
38 | margin: 0 0 0 44px;
39 | }
40 |
41 | :host(.font-scalable) > #submenu {
42 | margin: 0 0 0 2.75em;
43 | }
44 |
--------------------------------------------------------------------------------
/test/core_input_a11y_test.html:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 | core-input a11y tests
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/lib/src/web-animations-js/test/blink/out-of-order-keyframes.html:
--------------------------------------------------------------------------------
1 |
2 | Web Animations API: Out of order Keyframe tests
3 |
4 |
5 |
6 |
7 |
27 |
--------------------------------------------------------------------------------
/lib/src/web-animations-next/test/blink/out-of-order-keyframes.html:
--------------------------------------------------------------------------------
1 |
2 | Web Animations API: Out of order Keyframe tests
3 |
4 |
5 |
6 |
7 |
27 |
--------------------------------------------------------------------------------
/lib/core_dropdown_base.dart:
--------------------------------------------------------------------------------
1 | // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 |
3 | /// Dart API for the polymer element `core_dropdown_base`.
4 | @HtmlImport('core_dropdown_base_nodart.html')
5 | library core_elements.core_dropdown_base;
6 |
7 | import 'dart:html';
8 | import 'dart:js' show JsArray, JsObject;
9 | import 'package:web_components/web_components.dart';
10 | import 'package:polymer_interop/polymer_interop.dart';
11 |
12 | /// `core-dropdown-base` is a base class for implementing controls that displays
13 | /// an overlay when tapped on.
14 | ///
15 | /// The child element with the class `dropdown` will be used as the drop-down. It
16 | /// should be a `core-dropdown` or other overlay element.
17 | @CustomElementProxy('core-dropdown-base')
18 | class CoreDropdownBase extends HtmlElement with CustomElementProxyMixin, PolymerProxyMixin {
19 | CoreDropdownBase.created() : super.created();
20 | factory CoreDropdownBase() => new Element.tag('core-dropdown-base');
21 |
22 | /// True if the menu is open.
23 | bool get opened => jsElement[r'opened'];
24 | set opened(bool value) { jsElement[r'opened'] = value; }
25 |
26 | get dropdown => jsElement[r'dropdown'];
27 | }
28 |
--------------------------------------------------------------------------------