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

Commit

Permalink
Prep to publish angular_components v0.14.0-alpha
Browse files Browse the repository at this point in the history
* Bump minimum SDK and deps.
* Update CHANGELOG.

PiperOrigin-RevId: 250922957
  • Loading branch information
nshahan committed May 31, 2019
1 parent 7f7d9a2 commit 37b2b4b
Show file tree
Hide file tree
Showing 36 changed files with 241 additions and 133 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
env: PKGS="angular_components angular_gallery angular_gallery_section"
script: ./tool/travis.sh dartfmt dartanalyzer
- stage: analyze_and_format
name: "SDK: 2.2.1-dev.3.0; PKGS: angular_components, angular_gallery, angular_gallery_section; TASKS: `dartanalyzer --fatal-warnings .`"
dart: "2.2.1-dev.3.0"
name: "SDK: 2.3.0-dev.0.1; PKGS: angular_components, angular_gallery, angular_gallery_section; TASKS: `dartanalyzer --fatal-warnings .`"
dart: "2.3.0-dev.0.1"
env: PKGS="angular_components angular_gallery angular_gallery_section"
script: ./tool/travis.sh dartanalyzer
- stage: unit_test
name: "SDK: 2.2.1-dev.3.0; PKG: angular_components; TASKS: [`./tool/travis/install_protoc.sh`, `pub run test --run-skipped`]"
dart: "2.2.1-dev.3.0"
name: "SDK: 2.3.0-dev.0.1; PKG: angular_components; TASKS: [`./tool/travis/install_protoc.sh`, `pub run test --run-skipped`]"
dart: "2.3.0-dev.0.1"
env: PKGS="angular_components"
script: ./tool/travis.sh command_0 test
- stage: unit_test
Expand All @@ -24,8 +24,8 @@ jobs:
env: PKGS="angular_components"
script: ./tool/travis.sh command_0 test
- stage: build
name: "SDK: 2.2.1-dev.3.0; PKG: examples/angular_components_example; TASKS: [`pub run build_runner build web`, `pub run build_runner build web --release`]"
dart: "2.2.1-dev.3.0"
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`]"
dart: "2.3.0-dev.0.1"
env: PKGS="examples/angular_components_example"
script: ./tool/travis.sh command_1 command_2
- stage: build
Expand Down
108 changes: 108 additions & 0 deletions angular_components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,111 @@
## 0.14.0-alpha
### Component Updates

#### Material Auto Suggest Input
* Adding generic type to `factoryRenderers` in items.
* Update blur event logic.
* Add `inputAutocomplete` input.
* Improve a11y with added aria controls.

#### Material Checkbox
* Add Sass mixin to remove all margins.

#### Material Date Picker
* Fix issue where given `dateFormat` was not used to decode the input value.
* Apply `FocusableMixin`.
* Modularize and deprecate `timeZoneAwareDatepickerProviders`.
* Prevent wordwrap for the range title.

#### Material Dialog
* Add Sass mixin to justify footer content.

#### Material Dropdown Select
* Pass `aria-describedby` through to the dropdown button.

#### Material Expansion Panel
* Only auto focus a child, when the panel is expanded.
* Only fire events and DOM changes on on-target TransitionEnd events.
* Improve a11y by toggling content visibility when the panel expands or
collapses.
* Add `focusOnOpen` input.

#### Material Input
* Add Sass mixin to change bottom section width and trailing text.
* Add `inputAriaControls` input.

#### Material Menu
* Add `popupClass` and `buttonAriaLabelledBy` inputs.
* Add Sass mixin to configure the background color of a selected menu item.

#### Material Popup
* Fix memory leak.

#### Material Radio
* Ensure changes are picked up by Angular's change detection.
* Add Sass mixin to configure the content margin.
* Fix issue where programmatic changes to the value model were not shown.

#### Material Select
* Adding generic type to `factoryRenderers` in items.
* Add Sass mixins to configure item colors.

#### Material Stepper
* Fix an issue where when `activeStepIndex` is set to a value but the step state
is not updated accordingly.

#### Material Tab
* Loop items and ignore up and down arrow key presses when focusing.

#### Material Tooltip
* Add Sass mixin to configure the max width of a tooltip.
* Improve a11y with focus control.

#### Material Tree
* Properly apply `nested-material-tree-item-style` Sass mixin to nested items.
* Introduce a `allowDeselectInHierarchy` configuration that allows clients to
specify if a user should be allowed to deselect an option that they have
already selected (by clicking on it again).

#### Material Yes/No Buttons
* Make `EnterAcceptsDirective` use key press instead of key up to align with
button decorator.
* Added `aria-describedby`.

#### Scorecard
* Only apply tabindex 0 to scorecards that are selectable.

### Other Updates

#### Selection Model
* Change `SelectionModel.isSingleSelect` from a field to an abstract getter.
* Add a missing `super.dispose()` call to `_StreamSelectionOptions`

#### Miscellaneous
* Improve `OverlayService` singleton error message.
* Modularize ruler bindings.
* Fix a bug where scroll host would try to add events to a closed
`StreamController`.
* Update `FocusItemDirective` and `FocusListDirective` to work consistently
under `OnPush` components.
* Use GPU accelerated CSS translate rather than 2D translate in sticky
controller.
* Make the new trigger logic the default for popups. This ignores drag mouse up
calls to that users can more easily select text in popups.
* Mark `DeferredContentDirective` for change detection, after handling event
from deferred content aware parent.
* Fix a scroll host issue where scroll events were not ignored when the `Meta`
key was pressed.
* Cleanup uses of deprecated `getBool()`.
* Replace uses of `detectChanges()` with `runAfterChanges...`.
* Add generic type argument to `AcxImperativeViewUtils.insertComponent<T>()`.
* Add the ability to ignore up and down keys (for moving focus around within
children) when using the focus list.
* Update all components to use `ref="noopener noreferrer"` for `target="_blank"`
links.

### Documentation
* Minor documentation fixes.

## 0.13.0
### Component Updates

Expand Down
4 changes: 2 additions & 2 deletions angular_components/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://github.com/dart-lang/mono_repo for details
dart:
- 2.2.1-dev.3.0
- 2.3.0-dev.0.1
- dev

stages:
Expand All @@ -13,7 +13,7 @@ stages:
- group:
- dartanalyzer: --fatal-warnings .
dart:
- 2.2.1-dev.3.0
- 2.3.0-dev.0.1
- unit_test:
- group:
- command: ./tool/travis/install_protoc.sh
Expand Down
8 changes: 4 additions & 4 deletions angular_components/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: angular_components
version: 0.13.0
version: 0.14.0-alpha
description: >
The official Material Design components for AngularDart. Used at Google in
production apps.
homepage: https://webdev.dartlang.org/components
documentation: https://webdev.dartlang.org/api?package=angular_components
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
angular: ^5.3.0
angular: ^6.0.0-alpha
angular_forms: ^2.1.0
async: ^2.1.0
build: '>=0.11.1 <2.0.0'
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
built_collection: ^4.0.0
collection: ^1.14.10
fixnum: ^0.10.7
Expand Down
2 changes: 1 addition & 1 deletion angular_gallery/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- dartanalyzer: --fatal-warnings .
dart:
- 2.2.1-dev.3.0
- 2.3.0-dev.0.1

cache:
directories:
Expand Down
10 changes: 5 additions & 5 deletions angular_gallery/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: angular_gallery
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha
angular_forms: ^2.1.0
angular_router: 2.0.0-alpha+22
angular_router: 2.0.0-alpha+23
build: '>=0.11.1 <2.0.0'
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
mustache: ^1.0.0

dependency_overrides:
Expand Down
2 changes: 1 addition & 1 deletion angular_gallery_section/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- dartanalyzer: --fatal-warnings .
dart:
- 2.2.1-dev.3.0
- 2.3.0-dev.0.1

cache:
directories:
Expand Down
8 changes: 4 additions & 4 deletions angular_gallery_section/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: angular_gallery_section
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
analyzer: ^0.36.0
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha
angular_gallery:
path: ../angular_gallery
build: '>=0.11.1 <2.0.0'
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
glob: ^1.1.5
markdown: ^2.0.3
mustache: ^1.0.0
Expand Down
2 changes: 1 addition & 1 deletion examples/angular_components_example/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://github.com/dart-lang/mono_repo for details
dart:
- 2.2.1-dev.3.0
- 2.3.0-dev.0.1
- dev

stages:
Expand Down
10 changes: 5 additions & 5 deletions examples/angular_components_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: angular_components_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'

dependencies:
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular_gallery:
path: ../../angular_gallery
app_layout_example:
path: ../app_layout_example
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
material_button_example:
path: ../material_button_example
material_card_example:
Expand Down Expand Up @@ -64,7 +64,7 @@ dependencies:

dev_dependencies:
build_runner: '>=0.10.0 <2.0.0'
build_web_compilers: '>=0.4.0 <2.0.0'
build_web_compilers: '>=0.4.0 <3.0.0'

dependency_overrides:
angular_components:
Expand Down
8 changes: 4 additions & 4 deletions examples/app_layout_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: app_layout_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
8 changes: 4 additions & 4 deletions examples/material_button_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: material_button_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
8 changes: 4 additions & 4 deletions examples/material_card_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: material_card_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
8 changes: 4 additions & 4 deletions examples/material_checkbox_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: material_checkbox_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular_forms: ^2.1.0
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
8 changes: 4 additions & 4 deletions examples/material_chips_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: material_chips_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
8 changes: 4 additions & 4 deletions examples/material_datepicker_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: material_datepicker_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
quiver: '>=0.24.0 <3.0.0'
8 changes: 4 additions & 4 deletions examples/material_dialog_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: material_dialog_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.2.1-dev.3.0 <3.0.0'
sdk: '>=2.3.0-dev.0.1 <3.0.0'
dependencies:
angular: ^5.3.0
angular_components: 0.13.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
Loading

0 comments on commit 37b2b4b

Please sign in to comment.