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

Commit 3f79425

Browse files
committed
Prep to publish angular_components v0.13.0
* Update CHANGELOG and bump deps. * Add build.yaml files to examples needed to configure the updated builders. * Additional changes to travis testing scripts. PiperOrigin-RevId: 243687496
1 parent a641cd8 commit 3f79425

File tree

62 files changed

+417
-136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+417
-136
lines changed

angular_components/CHANGELOG.md

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,155 @@
1+
## 0.13.0
2+
### Component Updates
3+
4+
#### Material Autosuggest Input
5+
* Toggle multi-select items with `<Space>` instead of `<Enter>`.
6+
* Make the pointer for the clear icon consistent with other buttons when
7+
disabled.
8+
9+
#### Material Button
10+
* Apply media query to `_button_hover` mixin call so that we will skip hover for
11+
all touchscreens (only apply hover for media supporting hover).
12+
* Add Sass mixins to customize icon colors and left align button text.
13+
* Avoid double trigger of button with a space bar keypress.
14+
15+
#### Material Checkbox
16+
* Use both label and content as aria label.
17+
* Add types to the outputs.
18+
19+
#### Material Date Picker
20+
* Make the calendar component invisible to screen readers.
21+
* Add `selectDatePlaceHolderMsg`, `placeholderMsg`, and
22+
`dropdownButtonAriaLabel` inputs.
23+
24+
#### Material Date Range Picker
25+
* Add `preferredPositions` input.
26+
* Improve handling of pt-BR date range formatting to remove repetitive "de"s
27+
when the endpoints fall into different years.
28+
* Make comparison toggle label clickable.
29+
30+
#### Material Dialog
31+
* Add Sass mixin to customize font size.
32+
* Use header as default dialog label.
33+
* Mark current landmarks as `role="presentation"` to avoid unnecessary grouping.
34+
* Add missing modal visible output.
35+
36+
#### Material Expansion Panel
37+
* Add missing modal visible output.
38+
* Allow header to have an outline, and control it with keyboard only focus.
39+
* Add aria-expanded to announce when it is opened/closed.
40+
* Add Sass mixin to make save button raised and highlighted.
41+
* Improve a11y.
42+
* Add the ability to tag the content that you would like to focus when an
43+
expansion panel opens.
44+
45+
#### Material Icon
46+
* Add Sass mixin to customize svg icon size.
47+
48+
#### Material Input
49+
* Update error message for negative percentage value to be "not negative"
50+
instead of "positive", because zero is allowed.
51+
* Ensure that `aria-disabled` is set for the input when the input is disabled.
52+
* Use aria-describedby attribute in the to call out errors.
53+
* Remove TAB focus from disabled multiline input.
54+
* Add Sass mixin for multiline inputs to flex and scroll the text entry.
55+
* Add Sass mixins for setting `flex-grow` property and the clear icon color.
56+
* Stop hiding character counter from Aria.
57+
* Add `role="alert"` to error text region.
58+
* Add generic types to `MaterialInputDefaultValueAccessor` and
59+
`MaterialNumberValueAccessor`.
60+
* Create new `Int64` value accessor.
61+
* Pass down the aria-label for leading and trailing glyphs.
62+
63+
#### Material Menu
64+
* Remove unnecessary escape key handling in MenuItemGroupsComponent.
65+
* Add in aria-label support into the items and groups.
66+
* Open dropdown when navigation keys are pressed.
67+
* Add Sass mixin to customize the item icon size.
68+
* Add aria-expanded to collapsible menu groups.
69+
* Fix item focus bug when the fab menu is opened.
70+
* Improve aria roles for `MenuItemGroup` items.
71+
* Add keyboard accessibility functionality for active item handling.
72+
73+
#### Material Progress
74+
* Fix screen reader status messages.
75+
76+
#### Material Popup
77+
* Add `autoDismissBlockers` input to block click events in certain elements from
78+
closing the popup.
79+
* Support defining custom boundaries around window viewport.
80+
* Ensure footer stays inside popup boundaries.
81+
* Add Sass mixin to override overflow value.
82+
* Fix memory leaks.
83+
84+
#### Material Stepper
85+
* Announce the current step via the screen reader.
86+
* Provide custom aria label for steps.
87+
88+
#### Material Select
89+
* Fix issue where a keypress on selected item would re-open dropdown.
90+
* Remove `tabIndex` from items and let the dropdown control focus instead. Focus
91+
is now controlled by the dropdown itself.
92+
* Support keyboard navigation.
93+
* Add Sass mixins to customize:
94+
* Background color of the selected item.
95+
* Minimum height of the dropdown buttons.
96+
* Color of the dropdown icon.
97+
* Font size of items.
98+
* Allow auto-focusing on the active item.
99+
* Update Sass mixin `dropdown-icon-spacing` to accept all four margins.
100+
101+
#### Material Tab
102+
* Add Sass mixin to customize tab strip elevation.
103+
104+
#### Material Toggle
105+
* Add focus effect.
106+
107+
#### Material Tooltip
108+
* Remove `initAriaAttributes` for ink tooltips by default.
109+
* Fix hiding tooltip for `MaterialTooltipTargetDirective` when focusing inside
110+
of it.
111+
112+
#### Material Tree
113+
* Add `allowParentSingleSelection` input.
114+
* Don't override state when `expandAll` hasn't been set.
115+
* Add component generics and pass type through to nodes.
116+
117+
#### Material Yes/No Buttons
118+
* Add Sass mixin to make yes button raised and highlighted.
119+
* Add Sass mixin to make no button highlighted.
120+
121+
#### Scorecard
122+
* Fix improper heading hierarchy.
123+
* Fixed scrolling when the average size of the cards is bigger than the client.
124+
125+
#### Simple HTML Component
126+
* Add attribute `doNotVerifyUrlDestinations` to allow "normal" external URLs.
127+
128+
### Other Updates
129+
130+
#### Selection Model
131+
* Allow `is NullSelectionModel` as a replacement for
132+
`== const SelectionModel.empty()`, necessary for typed selection models which
133+
can't use const.
134+
* Expose null selection model type to allow type checks.
135+
* Remove deprecated `SelectionModel()`.
136+
* Add `isSingleSelect` field.
137+
138+
#### Miscellaneous
139+
* Allow `HasTabIndex` to not set a `TabIndex`.
140+
* Fix a bug where sticky elements do not stack when sticky position is BOTTOM.
141+
* Use named providers instead of the soft deprecated provide(...) and
142+
Provider(...).
143+
* Update MDC Web styles to v1.1.0
144+
* Tighten public APIs with `@visibleForTemplate`.
145+
* Enable trigger logic that only considers `mouseup` events as part of
146+
`triggersOutside()` if the corresponding `mousedown` event came from the same
147+
element.
148+
* Fix runtime cast errors.
149+
* Remove use of `ChangeDetectionStrategy.Detached`.
150+
* Non-tabbable `buttonDirectivesRemove` now have no tabIndex instead of -1.
151+
* Many components migrated to `OnPush` change detection.
152+
1153
## 0.12.0
2154

3155
### Component Updates

angular_components/lib/utils/angular/properties/properties.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ bool _parseBool(String strValue) {
2727
strValue,
2828
'strValue',
2929
'Only "", "true", and "false" are acceptable values for parseBool. '
30-
'Found: ');
30+
'Found: ');
3131
}
3232
}
3333

angular_components/pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
name: angular_components
2-
version: 0.12.0
2+
version: 0.13.0
33
description: >
44
The official Material Design components for AngularDart. Used at Google in
55
production apps.
66
homepage: https://webdev.dartlang.org/components
77
documentation: https://webdev.dartlang.org/api?package=angular_components
88
author: Dart Team <[email protected]>
99
environment:
10-
sdk: '>=2.1.0-dev.9.4 <3.0.0'
10+
sdk: '>=2.2.1-dev.3.0 <3.0.0'
1111
dependencies:
12-
angular: ^5.2.0
12+
angular: ^5.3.0
1313
angular_forms: ^2.1.0
14-
async: ^2.0.8
14+
async: ^2.1.0
1515
build: '>=0.11.1 <2.0.0'
1616
build_config: '>=0.2.6 <0.4.0'
1717
built_collection: ^4.0.0
1818
collection: ^1.14.10
1919
fixnum: ^0.10.7
20-
intl: '>=0.14.0 <0.16.0'
20+
intl: '>=0.14.0 <0.17.0'
2121
js: ^0.6.1
2222
logging: ^0.11.2
2323
meta: ^1.0.4
24-
observable: ^0.22.1+3
24+
observable: ^0.22.2
2525
protobuf: ^0.13.6
2626
quiver: '>=0.24.0 <3.0.0'
2727
sass_builder: ^2.0.2

angular_components/tool/travis/install_protoc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Only run externally during presubmits on Travis.
44

55
set -ev
6-
PROTOC_PLUGIN_VERSION="0.10.2"
7-
PROTOC_VERSION="3.6.0"
6+
PROTOC_PLUGIN_VERSION="16.0.5"
7+
PROTOC_VERSION="3.7.1"
88

99
if type protoc > /dev/null; then
1010
echo "protoc already installed."

angular_gallery/pubspec.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
name: angular_gallery
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.1.0-dev.9.4 <3.0.0'
4+
sdk: '>=2.2.1-dev.3.0 <3.0.0'
55
dependencies:
6-
angular: ^5.2.0
7-
angular_components: 0.12.0
6+
angular: ^5.3.0
7+
angular_components: 0.13.0
88
angular_forms: ^2.1.0
9-
angular_router: 2.0.0-alpha+21
9+
angular_router: 2.0.0-alpha+22
1010
build: '>=0.11.1 <2.0.0'
1111
build_config: '>=0.2.6 <0.4.0'
1212
mustache: ^1.0.0
13+
14+
dependency_overrides:
15+
angular_components:
16+
path: ../angular_components

angular_gallery_section/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ targets:
1212
]
1313
angular_components|scss_builder:
1414
enabled: True
15+
angular_gallery|angular_gallery:
16+
enabled: False
1517

1618
builders:
1719
angular_gallery_section:
Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
name: angular_gallery_section
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.1.0-dev.9.4 <3.0.0'
4+
sdk: '>=2.2.1-dev.3.0 <3.0.0'
55
dependencies:
6-
analyzer: ^0.34.0
7-
angular: ^5.2.0
8-
angular_components: 0.12.0
6+
analyzer: ^0.35.0
7+
angular: ^5.3.0
8+
angular_components: 0.13.0
9+
angular_gallery:
10+
path: ../angular_gallery
911
build: '>=0.11.1 <2.0.0'
1012
build_config: '>=0.2.6 <0.4.0'
1113
glob: ^1.1.5
1214
markdown: ^2.0.0
1315
mustache: ^1.0.0
1416
path: ^1.6.1
1517
sass: '>=1.15.3 <2.0.0'
18+
19+
dependency_overrides:
20+
angular_components:
21+
path: ../angular_components

examples/angular_components_example/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ targets:
1212
styleUrls: ["gallery.scss.css"]
1313
galleryTitle: "AngularDart Gallery"
1414
examples: "app_layout_example,material_button_example,material_card_example,material_checkbox_example,material_chips_example,material_datepicker_example,material_dialog_example,material_expansionpanel_example,material_icon_example,material_input_example,material_list_example,material_menu_example,material_popup_example,material_progress_example,material_radio_example,material_select_example,material_slider_example,material_spinner_example,material_stepper_example,material_tab_example,material_toggle_example,material_tooltip_example,material_tree_example,material_yes_no_buttons_example,simple_html_example,scorecard_example"
15+
sourcecodeUrl: "https://github.com/dart-lang/angular_components/tree/master/"
1516
angular_components|scss_builder:
1617
enabled: true
1718
angular_gallery_section:

examples/angular_components_example/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: angular_components_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.1.0-dev.9.4 <3.0.0'
4+
sdk: '>=2.2.1-dev.3.0 <3.0.0'
55

66
dependencies:
7-
angular: ^5.2.0
8-
angular_components: 0.12.0
7+
angular: ^5.3.0
8+
angular_components: 0.13.0
99
angular_gallery:
1010
path: ../../angular_gallery
1111
app_layout_example:

examples/app_layout_example/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ targets:
33
builders:
44
angular_components|scss_builder:
55
enabled: True
6+
angular_gallery|angular_gallery:
7+
enabled: False
68
angular_gallery_section|angular_gallery_section:
79
options:
810
staticImageServer: "https://raw.githubusercontent.com"

0 commit comments

Comments
 (0)