diff --git a/angular_components/CHANGELOG.md b/angular_components/CHANGELOG.md index c271de587..b73514b8d 100644 --- a/angular_components/CHANGELOG.md +++ b/angular_components/CHANGELOG.md @@ -1,3 +1,129 @@ +## 0.12.0 + +### Component Updates + +#### Material Auto-Suggest Input +* Disable clear icon when the input is disabled. +* Hide an empty suggestion group. + +#### Material Button +* Add Sass mixin to change the color of a disabled button. + +#### Material Card +* Update elevation appearance to match spec. + +#### Material Chips +* Allow setting a custom aria label for the delete button. +* Fix issue that prevented removing chips while using JAWS screen reader. +* Add Sass mixins for font-weight and padding. + +#### Material Datepicker +* Remove `globalDateRangeBindings`. +* Allow setting a custom aria label to the dropdown button. +* Allow passing custom `DateFormat` from the `material-date-range-picker` to the + `date-range-input`. + +#### Material Dialog +* Allow setting a custom aria label and describe by. + +#### Material Expansion Panel +* Ensure height calculations are completed after the main content is destroyed. +* Fix keyboard controls to prevent focusing a hidden header button. +* Allow setting a custom aria label to the panel. +* Make the entire content of the panel deferred rather than just the buttons. +* Make the expansion button not be tabbable since the heading is tabbable. +* Prevent hidden buttons from being focused in the header. +* Improve panel resizing. +* Implement `focusableItem` so that it can work with a `focusList`. +* Move name ng-content above the input name and description. + +#### Material Icon +* Correctly stretch SVG icon. +* Remove aria label from the icon. + +#### Material Input +* Add Sass mixin for label text vertical-align. +* `'percent'` is an invalid type attribute, `'text'` instead. +* If the multi-line input is not currently in the DOM listen to DOM updates + until the line height can be read. +* Ensure only whitespace is considered an invalid number input. +* Allow specifying an aria described by id on the input. +* Add Sass mixin to center align text. +* Hide place holder on input field from screen reader. +* Fix focus behavior in disabled state. + +#### Material List +* Change the default roles to `list` and `listitem`. + +#### Material Menu +* Create standalone menu item affix components. +* Load standalone menu item affix components via `DynamicComponent` instead of + using `NgIf`s. +* Allow described by id to be specified for a dropdown button. +* Create `MenuItemMixin`. + +#### Material Month Picker +* Re-render highlights when view is reset. + +#### Material Popup +* Move the overlay focus placeholder elements inside of Material Popup. +* Enable `OnPush` change detection. + +#### Material Ripple +* Remove ripple elements when component is destroyed. + +#### Material Select +* Support custom aria handling for each list item in dropdown. +* Support `OnPush` change detection. +* Revert change that attempted to fix strange behavior when mixing keyboard and + mouse input because it broke some keyboard navigation. +* Allow setting a custom aria label and describe by. +* Add Sass mixin to customize dropdown item selected background color. + +#### Material Tab +* Add Sass mixin to make the tab contents `display: block`. + +#### Material Time Picker +* Fix regression where time cannot be set by user a programmatic change. + +#### Material Tooltip +* `initPopupAriaAttributes` is now passed through to all the tooltip variations. +* Restore any previously defined `aria-describedby` value, after popup closes. +* Add Sass mixin to set `word-break`. +* Fix nested tooltip targets preventing tooltips from staying open when hovered. + +#### Material Tree +* Add ability to specify a label renderer for dropdown button text. +* Add ability to style items in the tree dropdown. + +#### Material Yes/No Buttons +* Add optional ARIA label inputs. +* Add Sass mixin to remove the `margin-left`. +* Add autofocus functionality for use in confirmation dialogs. + +#### Scorecard +* Vertically align the change glyph to the middle. + +#### Simple HTML Component +* Allow 'class' attribute for all elements. + +### Miscellaneous +* Add home/end key modifiers to focus_list to focus the first or last value. +* Remove `$mat-gray` as an alias for `$mat-grey` in Sass mixins. +* Add `shouldFilterEmpty` parameter to `StringSelectionOptions` to return empty + filtered values when query is empty. +* Make the role of a button mutable, after initialization. +* Update MDC Web styles to v0.44.0. +* Add `HtmlDocument` in addition to `Document` as a provided `windowBinding`. +* Modularize clock bindings. +* Remove default values for optional parameters on `notifySelectionChange()`. +* Use `WheelEvent` instead of `MouseEvent` in scroll host. +* Fix previously uncaught violations of invalid override method parameter + default values. + +### Documentation +* Minor docs fixes. + ## 0.11.0 ### New Component diff --git a/angular_components/README.md b/angular_components/README.md index 04b852c7b..50ff71a9d 100644 --- a/angular_components/README.md +++ b/angular_components/README.md @@ -15,9 +15,9 @@ Angular package. This is a continually growing set of widgets. Recent additions include: +* Simple HTML Component * Material Card styling * Material Stacking Drawer -* Material Stepper At this time we are not taking pull requests, but please [file an issue](https://github.com/dart-lang/angular_components/issues) diff --git a/angular_components/pubspec.yaml b/angular_components/pubspec.yaml index bad2e1e09..75853dd7c 100644 --- a/angular_components/pubspec.yaml +++ b/angular_components/pubspec.yaml @@ -1,5 +1,5 @@ name: angular_components -version: 0.11.0 +version: 0.12.0 description: > The official Material Design components for AngularDart. Used at Google in production apps. diff --git a/angular_gallery/pubspec.yaml b/angular_gallery/pubspec.yaml index 679c49d7b..6f1540a72 100644 --- a/angular_gallery/pubspec.yaml +++ b/angular_gallery/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_forms: ^2.1.0 angular_router: 2.0.0-alpha+21 build: '>=0.11.1 <2.0.0' diff --git a/angular_gallery_section/pubspec.yaml b/angular_gallery_section/pubspec.yaml index a9c8e502b..bb79bd79d 100644 --- a/angular_gallery_section/pubspec.yaml +++ b/angular_gallery_section/pubspec.yaml @@ -5,10 +5,11 @@ environment: dependencies: analyzer: ^0.34.0 angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 build: '>=0.11.1 <2.0.0' build_config: '>=0.2.6 <0.4.0' glob: ^1.1.5 markdown: ^2.0.0 mustache: ^1.0.0 path: ^1.6.1 + sass: '>=1.15.3 <2.0.0' diff --git a/examples/angular_components_example/pubspec.yaml b/examples/angular_components_example/pubspec.yaml index 61b9f7f1a..ab37d4baa 100644 --- a/examples/angular_components_example/pubspec.yaml +++ b/examples/angular_components_example/pubspec.yaml @@ -5,7 +5,7 @@ environment: dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery: path: ../../angular_gallery app_layout_example: diff --git a/examples/app_layout_example/pubspec.yaml b/examples/app_layout_example/pubspec.yaml index fdf049e86..bf5a844cf 100644 --- a/examples/app_layout_example/pubspec.yaml +++ b/examples/app_layout_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_button_example/pubspec.yaml b/examples/material_button_example/pubspec.yaml index 567e0d2d5..34f0d65ea 100644 --- a/examples/material_button_example/pubspec.yaml +++ b/examples/material_button_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_card_example/pubspec.yaml b/examples/material_card_example/pubspec.yaml index 0bcee071c..3f2022b89 100644 --- a/examples/material_card_example/pubspec.yaml +++ b/examples/material_card_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_checkbox_example/pubspec.yaml b/examples/material_checkbox_example/pubspec.yaml index 998c01244..46739c3f4 100644 --- a/examples/material_checkbox_example/pubspec.yaml +++ b/examples/material_checkbox_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_forms: ^2.1.0 angular_gallery_section: path: ../../angular_gallery_section diff --git a/examples/material_chips_example/pubspec.yaml b/examples/material_chips_example/pubspec.yaml index 1b2970a14..229333a7e 100644 --- a/examples/material_chips_example/pubspec.yaml +++ b/examples/material_chips_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_datepicker_example/pubspec.yaml b/examples/material_datepicker_example/pubspec.yaml index 53c3a6e6d..e7d4eca47 100644 --- a/examples/material_datepicker_example/pubspec.yaml +++ b/examples/material_datepicker_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_dialog_example/pubspec.yaml b/examples/material_dialog_example/pubspec.yaml index 421bd2ddb..9d4d1c1a6 100644 --- a/examples/material_dialog_example/pubspec.yaml +++ b/examples/material_dialog_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_expansionpanel_example/pubspec.yaml b/examples/material_expansionpanel_example/pubspec.yaml index 240573375..9b0d68794 100644 --- a/examples/material_expansionpanel_example/pubspec.yaml +++ b/examples/material_expansionpanel_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_forms: ^2.1.0 angular_gallery_section: path: ../../angular_gallery_section diff --git a/examples/material_icon_example/pubspec.yaml b/examples/material_icon_example/pubspec.yaml index a45cea4e8..da563f01d 100644 --- a/examples/material_icon_example/pubspec.yaml +++ b/examples/material_icon_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_input_example/pubspec.yaml b/examples/material_input_example/pubspec.yaml index 5e334b896..a5d187f58 100644 --- a/examples/material_input_example/pubspec.yaml +++ b/examples/material_input_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_forms: ^2.1.0 angular_gallery_section: path: ../../angular_gallery_section diff --git a/examples/material_list_example/pubspec.yaml b/examples/material_list_example/pubspec.yaml index 2b8d4cfae..802254bf8 100644 --- a/examples/material_list_example/pubspec.yaml +++ b/examples/material_list_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_menu_example/pubspec.yaml b/examples/material_menu_example/pubspec.yaml index f50e2ff97..9e060fb7a 100644 --- a/examples/material_menu_example/pubspec.yaml +++ b/examples/material_menu_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_popup_example/pubspec.yaml b/examples/material_popup_example/pubspec.yaml index 4ceac2876..bc840099d 100644 --- a/examples/material_popup_example/pubspec.yaml +++ b/examples/material_popup_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_progress_example/pubspec.yaml b/examples/material_progress_example/pubspec.yaml index 9acf0665a..96b7c0e05 100644 --- a/examples/material_progress_example/pubspec.yaml +++ b/examples/material_progress_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_radio_example/pubspec.yaml b/examples/material_radio_example/pubspec.yaml index 0e94a8c69..de1e9b0a6 100644 --- a/examples/material_radio_example/pubspec.yaml +++ b/examples/material_radio_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_forms: ^2.1.0 angular_gallery_section: path: ../../angular_gallery_section diff --git a/examples/material_select_example/pubspec.yaml b/examples/material_select_example/pubspec.yaml index 7ecd7b5e7..bf3da77fe 100644 --- a/examples/material_select_example/pubspec.yaml +++ b/examples/material_select_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_forms: ^2.1.0 angular_gallery_section: path: ../../angular_gallery_section diff --git a/examples/material_slider_example/pubspec.yaml b/examples/material_slider_example/pubspec.yaml index ee5292512..770d4834e 100644 --- a/examples/material_slider_example/pubspec.yaml +++ b/examples/material_slider_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_spinner_example/pubspec.yaml b/examples/material_spinner_example/pubspec.yaml index bc131bb2f..6a73a53b0 100644 --- a/examples/material_spinner_example/pubspec.yaml +++ b/examples/material_spinner_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_stepper_example/pubspec.yaml b/examples/material_stepper_example/pubspec.yaml index 18539c84d..c37879205 100644 --- a/examples/material_stepper_example/pubspec.yaml +++ b/examples/material_stepper_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_tab_example/pubspec.yaml b/examples/material_tab_example/pubspec.yaml index c77b64193..40b7c6b34 100644 --- a/examples/material_tab_example/pubspec.yaml +++ b/examples/material_tab_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_toggle_example/pubspec.yaml b/examples/material_toggle_example/pubspec.yaml index 59c61300d..af160f207 100644 --- a/examples/material_toggle_example/pubspec.yaml +++ b/examples/material_toggle_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_tooltip_example/pubspec.yaml b/examples/material_tooltip_example/pubspec.yaml index d1fc7f68e..48195bd06 100644 --- a/examples/material_tooltip_example/pubspec.yaml +++ b/examples/material_tooltip_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_tree_example/pubspec.yaml b/examples/material_tree_example/pubspec.yaml index 6e6c8cf35..8cf6481fc 100644 --- a/examples/material_tree_example/pubspec.yaml +++ b/examples/material_tree_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_yes_no_buttons_example/pubspec.yaml b/examples/material_yes_no_buttons_example/pubspec.yaml index dc6bb2f67..d8d7351c3 100644 --- a/examples/material_yes_no_buttons_example/pubspec.yaml +++ b/examples/material_yes_no_buttons_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/scorecard_example/pubspec.yaml b/examples/scorecard_example/pubspec.yaml index 19be4448a..6795b2f40 100644 --- a/examples/scorecard_example/pubspec.yaml +++ b/examples/scorecard_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_forms: ^2.1.0 angular_gallery_section: path: ../../angular_gallery_section diff --git a/examples/simple_html_example/pubspec.yaml b/examples/simple_html_example/pubspec.yaml index 5e00c2747..c881ecac0 100644 --- a/examples/simple_html_example/pubspec.yaml +++ b/examples/simple_html_example/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: '>=2.1.0-dev.9.4 <3.0.0' dependencies: angular: ^5.2.0 - angular_components: 0.11.0 + angular_components: 0.12.0 angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0'