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

Commit a09df6f

Browse files
committed
Prep to publish angular_components 0.14.0-alpha+1
Update dependencies and travis scripts and CHANGELOG. PiperOrigin-RevId: 260219352
1 parent a1ba7a0 commit a09df6f

File tree

38 files changed

+240
-127
lines changed

38 files changed

+240
-127
lines changed

.travis.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# Created with package:mono_repo v2.0.0
1+
# Created with package:mono_repo v2.1.0
22
language: dart
33

44
jobs:
55
include:
6+
- stage: analyze_and_format
7+
name: "SDK: 2.5.0-dev.1.0; PKGS: angular_components, angular_gallery, angular_gallery_section; TASKS: `dartanalyzer --fatal-warnings .`"
8+
dart: "2.5.0-dev.1.0"
9+
env: PKGS="angular_components angular_gallery angular_gallery_section"
10+
script: ./tool/travis.sh dartanalyzer
611
- stage: analyze_and_format
712
name: "SDK: dev; PKGS: angular_components, angular_gallery, angular_gallery_section; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-warnings .`]"
813
dart: dev
914
env: PKGS="angular_components angular_gallery angular_gallery_section"
1015
script: ./tool/travis.sh dartfmt dartanalyzer
11-
- stage: analyze_and_format
12-
name: "SDK: 2.3.0-dev.0.1; PKGS: angular_components, angular_gallery, angular_gallery_section; TASKS: `dartanalyzer --fatal-warnings .`"
13-
dart: "2.3.0-dev.0.1"
14-
env: PKGS="angular_components angular_gallery angular_gallery_section"
15-
script: ./tool/travis.sh dartanalyzer
1616
- stage: unit_test
17-
name: "SDK: 2.3.0-dev.0.1; PKG: angular_components; TASKS: [`./tool/travis/install_protoc.sh`, `pub run test --run-skipped`]"
18-
dart: "2.3.0-dev.0.1"
17+
name: "SDK: 2.5.0-dev.1.0; PKG: angular_components; TASKS: [`./tool/travis/install_protoc.sh`, `pub run test --run-skipped`]"
18+
dart: "2.5.0-dev.1.0"
1919
env: PKGS="angular_components"
2020
script: ./tool/travis.sh command_0 test
2121
- stage: unit_test
@@ -24,8 +24,8 @@ jobs:
2424
env: PKGS="angular_components"
2525
script: ./tool/travis.sh command_0 test
2626
- stage: build
27-
name: "SDK: 2.3.0-dev.0.1; PKG: examples/angular_components_example; TASKS: [`pub run build_runner build web`, `pub run build_runner build web --release`]"
28-
dart: "2.3.0-dev.0.1"
27+
name: "SDK: 2.5.0-dev.1.0; PKG: examples/angular_components_example; TASKS: [`pub run build_runner build web`, `pub run build_runner build web --release`]"
28+
dart: "2.5.0-dev.1.0"
2929
env: PKGS="examples/angular_components_example"
3030
script: ./tool/travis.sh command_1 command_2
3131
- stage: build

angular_components/CHANGELOG.md

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,115 @@
1+
## 0.14.0-alpha+1
2+
### Component Updates
3+
4+
#### Application Layout
5+
* Add `canClose` input the temporary drawer to prevent the drawer from toggling.
6+
7+
#### Dynamic Component
8+
* Use type promotion instead of dynamic dispatch to update a `RendersValue`
9+
instance.
10+
* Change to "OnPush" change detection.
11+
12+
#### Material Auto Suggest Input
13+
* Stop event propagation when key nav events are handled.
14+
* Update to work within components using `ChangeDetectionStrategy.OnPush`.
15+
16+
#### Material Button
17+
* Add Sass mixins to change the padding on the internal button content, adjust
18+
vertical alignment, and reset `text-transform`.
19+
* Remove Sass mixin `button-text-capitalize()`.
20+
* Fix visibility in Microsoft Edge on Windows when using High Contrast mode.
21+
22+
#### Material Datepicker
23+
* Add Sass mixins for margins around and between the next and previous buttons.
24+
* Increase the color ratio for the apply/cancel buttons.
25+
* Allow picking times using specified increments.
26+
* Handle `<ESC>` key press when picker is visible.
27+
* Removed deprecated `comparesToPreviousPeriod()` and
28+
`comparesToSamePeriodLastYear()`.
29+
* Delegate to `FocusItemDirective`.
30+
* Fix the a11y role for the date range preset list.
31+
* Improved accessibility for presets.
32+
33+
#### Material Dialog
34+
* Add Sass mixin for the footer margin.
35+
* Always keep a transparent scroll stroke to prevent dialog from shifting.
36+
37+
#### Material Expansion Panel
38+
* Improve accessibility.
39+
* Accommodate contents taller than the screen size.
40+
41+
#### Material Input
42+
* Make text size limits available to screen readers.
43+
* Change attribute `inputRole` to and input `role`.
44+
* Add a CSS class `.ltr` so input can set `direction: ltr` on the top section.
45+
* Add Sass mixin to adjust the location of floating label.
46+
47+
#### Material Menu
48+
* Prevent screen readers from reading a non-collapsible label as "button".
49+
* Apply the same background color on focused and active items.
50+
* Update `icon` attribute to use a Dart boolean instead of a string `'true'`.
51+
* Add Sass mixin for adding ellipsis to overflowing item text.
52+
* Auto-activate FAB menu items when a screen reader triggers the fab.
53+
* Only auto focus an active item when it exists.
54+
* Protect against null pointer exception when closing.
55+
* Move focus-trap outside of the menu-item-groups.
56+
* Add a way to pass context to the `MenuItem` actions.
57+
58+
#### Material Popup
59+
* Add `ariaLabel` input.
60+
* Encapsulate the popup class name.
61+
62+
#### Material Select
63+
* Fix selected item visibility in Microsoft Edge on Windows when using High
64+
Contrast mode.
65+
* Add Sass mixins for adding ellipsis to overflowing item text and a custom
66+
outline.
67+
68+
#### Material Slider
69+
* Support two sided sliders.
70+
71+
#### Material Stepper
72+
* Add `yesText` input.
73+
* Add input to keep inactive steps in DOM.
74+
* Add partially complete state.
75+
* Update icon and index colors for improved a11y.
76+
77+
#### Material Tab
78+
* Set tabbable tab to always be activeTab.
79+
* Improve `allow-text-wrap` Sass mixin.
80+
* Rename Sass mixin `allow-text-wrap` to `tab-text-wrap` and default
81+
`$break-word` to `true`.
82+
* Add Sass mixin to apply text transform.
83+
84+
#### Material Tooltip
85+
* Fix deferred content within tooltip.
86+
* Add Sass mixin for paper tool tips with multiple sections.
87+
88+
#### Material Tree
89+
* Add input to toggle selection of non-leaf nodes.
90+
91+
### Other Updates
92+
93+
#### Miscellaneous
94+
* Remove `mat-icon-image()` in favor of `inline-image()`.
95+
* Add `subtract()` to Date model.
96+
* Migrate event handlers with multiple statements to component methods.
97+
* Fix violations of the `strict-raw-types` analysis option.
98+
* Fix violations of `prefer_initializing_formals`, `prefer-collection-literals`,
99+
and `prefer-final-fields` lints.
100+
* Properly remove items when invoking `StickyContainerLayout.remove()`.
101+
* Create mixins for error_panel.
102+
* General code readability fixes.
103+
* Deprecate outdated Sass mixins: `button-bar-layout()`, `mat-input-header()`,
104+
`clear-button()`, `icon-background()`, `cursor-grab()`, and
105+
`cursor-grabbing()`.
106+
* Fix graphical issue with sticky elements with `height: 0`.
107+
* Add option to disable `GestureListener` in `ScrollHost`.
108+
* Rename `palette.dart` to `material_chart_colors.dart`.
109+
110+
### Documentation
111+
* Minor documentation fixes.
112+
1113
## 0.14.0-alpha
2114
### Component Updates
3115

angular_components/analysis_options.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
include: package:pedantic/analysis_options.1.8.0.yaml
2+
13
analyzer:
24
errors:
35
dead_code: warning
6+
todo: ignore
47
unused_element: warning
58
unused_import: warning
69
unused_local_variable: warning

angular_components/mono_pkg.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://github.com/dart-lang/mono_repo for details
22
dart:
3-
- 2.3.0-dev.0.1
3+
- 2.5.0-dev.1.0
44
- dev
55

66
stages:
@@ -13,7 +13,7 @@ stages:
1313
- group:
1414
- dartanalyzer: --fatal-warnings .
1515
dart:
16-
- 2.3.0-dev.0.1
16+
- 2.5.0-dev.1.0
1717
- unit_test:
1818
- group:
1919
- command: ./tool/travis/install_protoc.sh

angular_components/pubspec.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: angular_components
2-
version: 0.14.0-alpha
2+
version: 0.14.0-alpha+1
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 <misc@dartlang.org>
99
environment:
10-
sdk: '>=2.3.0-dev.0.1 <3.0.0'
10+
sdk: '>=2.5.0-dev.1.0 <3.0.0'
1111
dependencies:
12-
angular: ^6.0.0-alpha
12+
angular: ^6.0.0-alpha+1
1313
angular_forms: ^2.1.0
1414
async: ^2.1.0
1515
build: '>=0.11.1 <2.0.0'
@@ -28,4 +28,5 @@ dependencies:
2828

2929
dev_dependencies:
3030
path: ^1.6.1
31+
pedantic: ^1.8.0
3132
test: ^1.0.0

angular_gallery/mono_pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ stages:
99
- group:
1010
- dartanalyzer: --fatal-warnings .
1111
dart:
12-
- 2.3.0-dev.0.1
12+
- 2.5.0-dev.1.0
1313

1414
cache:
1515
directories:

angular_gallery/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: angular_gallery
22
author: Dart Team <misc@dartlang.org>
33
environment:
4-
sdk: '>=2.3.0-dev.0.1 <3.0.0'
4+
sdk: '>=2.5.0-dev.1.0 <3.0.0'
55
dependencies:
6-
angular: ^6.0.0-alpha
7-
angular_components: 0.14.0-alpha
6+
angular: ^6.0.0-alpha+1
7+
angular_components: 0.14.0-alpha+1
88
angular_forms: ^2.1.0
9-
angular_router: 2.0.0-alpha+23
9+
angular_router: 2.0.0-alpha+24
1010
build: '>=0.11.1 <2.0.0'
1111
build_config: '>=0.2.6 <0.5.0'
1212
mustache: ^1.0.0

angular_gallery_section/mono_pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ stages:
99
- group:
1010
- dartanalyzer: --fatal-warnings .
1111
dart:
12-
- 2.3.0-dev.0.1
12+
- 2.5.0-dev.1.0
1313

1414
cache:
1515
directories:

angular_gallery_section/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: angular_gallery_section
22
author: Dart Team <misc@dartlang.org>
33
environment:
4-
sdk: '>=2.3.0-dev.0.1 <3.0.0'
4+
sdk: '>=2.5.0-dev.1.0 <3.0.0'
55
dependencies:
6-
analyzer: ^0.36.0
7-
angular: ^6.0.0-alpha
8-
angular_components: 0.14.0-alpha
6+
analyzer: ^0.37.0
7+
angular: ^6.0.0-alpha+1
8+
angular_components: 0.14.0-alpha+1
99
angular_gallery:
1010
path: ../angular_gallery
1111
build: '>=0.11.1 <2.0.0'

examples/angular_components_example/mono_pkg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://github.com/dart-lang/mono_repo for details
22
dart:
3-
- 2.3.0-dev.0.1
3+
- 2.5.0-dev.1.0
44
- dev
55

66
stages:

0 commit comments

Comments
 (0)