Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit c644746

Browse files
committed
Prep to publish angular_components v0.12.0
- Update CHANGELOG, README, and pubspecs. PiperOrigin-RevId: 233841395
1 parent 226984b commit c644746

File tree

32 files changed

+158
-31
lines changed

32 files changed

+158
-31
lines changed

angular_components/CHANGELOG.md

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,129 @@
1+
## 0.12.0
2+
3+
### Component Updates
4+
5+
#### Material Auto-Suggest Input
6+
* Disable clear icon when the input is disabled.
7+
* Hide an empty suggestion group.
8+
9+
#### Material Button
10+
* Add Sass mixin to change the color of a disabled button.
11+
12+
#### Material Card
13+
* Update elevation appearance to match spec.
14+
15+
#### Material Chips
16+
* Allow setting a custom aria label for the delete button.
17+
* Fix issue that prevented removing chips while using JAWS screen reader.
18+
* Add Sass mixins for font-weight and padding.
19+
20+
#### Material Datepicker
21+
* Remove `globalDateRangeBindings`.
22+
* Allow setting a custom aria label to the dropdown button.
23+
* Allow passing custom `DateFormat` from the `material-date-range-picker` to the
24+
`date-range-input`.
25+
26+
#### Material Dialog
27+
* Allow setting a custom aria label and describe by.
28+
29+
#### Material Expansion Panel
30+
* Ensure height calculations are completed after the main content is destroyed.
31+
* Fix keyboard controls to prevent focusing a hidden header button.
32+
* Allow setting a custom aria label to the panel.
33+
* Make the entire content of the panel deferred rather than just the buttons.
34+
* Make the expansion button not be tabbable since the heading is tabbable.
35+
* Prevent hidden buttons from being focused in the header.
36+
* Improve panel resizing.
37+
* Implement `focusableItem` so that it can work with a `focusList`.
38+
* Move name ng-content above the input name and description.
39+
40+
#### Material Icon
41+
* Correctly stretch SVG icon.
42+
* Remove aria label from the icon.
43+
44+
#### Material Input
45+
* Add Sass mixin for label text vertical-align.
46+
* `'percent'` is an invalid type attribute, `'text'` instead.
47+
* If the multi-line input is not currently in the DOM listen to DOM updates
48+
until the line height can be read.
49+
* Ensure only whitespace is considered an invalid number input.
50+
* Allow specifying an aria described by id on the input.
51+
* Add Sass mixin to center align text.
52+
* Hide place holder on input field from screen reader.
53+
* Fix focus behavior in disabled state.
54+
55+
#### Material List
56+
* Change the default roles to `list` and `listitem`.
57+
58+
#### Material Menu
59+
* Create standalone menu item affix components.
60+
* Load standalone menu item affix components via `DynamicComponent` instead of
61+
using `NgIf`s.
62+
* Allow described by id to be specified for a dropdown button.
63+
* Create `MenuItemMixin`.
64+
65+
#### Material Month Picker
66+
* Re-render highlights when view is reset.
67+
68+
#### Material Popup
69+
* Move the overlay focus placeholder elements inside of Material Popup.
70+
* Enable `OnPush` change detection.
71+
72+
#### Material Ripple
73+
* Remove ripple elements when component is destroyed.
74+
75+
#### Material Select
76+
* Support custom aria handling for each list item in dropdown.
77+
* Support `OnPush` change detection.
78+
* Revert change that attempted to fix strange behavior when mixing keyboard and
79+
mouse input because it broke some keyboard navigation.
80+
* Allow setting a custom aria label and describe by.
81+
* Add Sass mixin to customize dropdown item selected background color.
82+
83+
#### Material Tab
84+
* Add Sass mixin to make the tab contents `display: block`.
85+
86+
#### Material Time Picker
87+
* Fix regression where time cannot be set by user a programmatic change.
88+
89+
#### Material Tooltip
90+
* `initPopupAriaAttributes` is now passed through to all the tooltip variations.
91+
* Restore any previously defined `aria-describedby` value, after popup closes.
92+
* Add Sass mixin to set `word-break`.
93+
* Fix nested tooltip targets preventing tooltips from staying open when hovered.
94+
95+
#### Material Tree
96+
* Add ability to specify a label renderer for dropdown button text.
97+
* Add ability to style items in the tree dropdown.
98+
99+
#### Material Yes/No Buttons
100+
* Add optional ARIA label inputs.
101+
* Add Sass mixin to remove the `margin-left`.
102+
* Add autofocus functionality for use in confirmation dialogs.
103+
104+
#### Scorecard
105+
* Vertically align the change glyph to the middle.
106+
107+
#### Simple HTML Component
108+
* Allow 'class' attribute for all elements.
109+
110+
### Miscellaneous
111+
* Add home/end key modifiers to focus_list to focus the first or last value.
112+
* Remove `$mat-gray` as an alias for `$mat-grey` in Sass mixins.
113+
* Add `shouldFilterEmpty` parameter to `StringSelectionOptions` to return empty
114+
filtered values when query is empty.
115+
* Make the role of a button mutable, after initialization.
116+
* Update MDC Web styles to v0.44.0.
117+
* Add `HtmlDocument` in addition to `Document` as a provided `windowBinding`.
118+
* Modularize clock bindings.
119+
* Remove default values for optional parameters on `notifySelectionChange()`.
120+
* Use `WheelEvent` instead of `MouseEvent` in scroll host.
121+
* Fix previously uncaught violations of invalid override method parameter
122+
default values.
123+
124+
### Documentation
125+
* Minor docs fixes.
126+
1127
## 0.11.0
2128

3129
### New Component

angular_components/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Angular package.
1515

1616
This is a continually growing set of widgets. Recent additions include:
1717

18+
* Simple HTML Component
1819
* Material Card styling
1920
* Material Stacking Drawer
20-
* Material Stepper
2121

2222
At this time we are not taking pull requests, but please
2323
[file an issue](https://github.com/dart-lang/angular_components/issues)

angular_components/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: angular_components
2-
version: 0.11.0
2+
version: 0.12.0
33
description: >
44
The official Material Design components for AngularDart. Used at Google in
55
production apps.

angular_gallery/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ environment:
44
sdk: '>=2.1.0-dev.9.4 <3.0.0'
55
dependencies:
66
angular: ^5.2.0
7-
angular_components: 0.11.0
7+
angular_components: 0.12.0
88
angular_forms: ^2.1.0
99
angular_router: 2.0.0-alpha+21
1010
build: '>=0.11.1 <2.0.0'

angular_gallery_section/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ environment:
55
dependencies:
66
analyzer: ^0.34.0
77
angular: ^5.2.0
8-
angular_components: 0.11.0
8+
angular_components: 0.12.0
99
build: '>=0.11.1 <2.0.0'
1010
build_config: '>=0.2.6 <0.4.0'
1111
glob: ^1.1.5
1212
markdown: ^2.0.0
1313
mustache: ^1.0.0
1414
path: ^1.6.1
15+
sass: '>=1.15.3 <2.0.0'

examples/angular_components_example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ environment:
55

66
dependencies:
77
angular: ^5.2.0
8-
angular_components: 0.11.0
8+
angular_components: 0.12.0
99
angular_gallery:
1010
path: ../../angular_gallery
1111
app_layout_example:

examples/app_layout_example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ environment:
44
sdk: '>=2.1.0-dev.9.4 <3.0.0'
55
dependencies:
66
angular: ^5.2.0
7-
angular_components: 0.11.0
7+
angular_components: 0.12.0
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'

examples/material_button_example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ environment:
44
sdk: '>=2.1.0-dev.9.4 <3.0.0'
55
dependencies:
66
angular: ^5.2.0
7-
angular_components: 0.11.0
7+
angular_components: 0.12.0
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'

examples/material_card_example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ environment:
44
sdk: '>=2.1.0-dev.9.4 <3.0.0'
55
dependencies:
66
angular: ^5.2.0
7-
angular_components: 0.11.0
7+
angular_components: 0.12.0
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'

examples/material_checkbox_example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ environment:
44
sdk: '>=2.1.0-dev.9.4 <3.0.0'
55
dependencies:
66
angular: ^5.2.0
7-
angular_components: 0.11.0
7+
angular_components: 0.12.0
88
angular_forms: ^2.1.0
99
angular_gallery_section:
1010
path: ../../angular_gallery_section

0 commit comments

Comments
 (0)