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 0.14.0-alpha+1
Browse files Browse the repository at this point in the history
Update dependencies and travis scripts and CHANGELOG.

PiperOrigin-RevId: 260219352
  • Loading branch information
nshahan committed Jul 29, 2019
1 parent a1ba7a0 commit a09df6f
Show file tree
Hide file tree
Showing 38 changed files with 240 additions and 127 deletions.
20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Created with package:mono_repo v2.0.0
# Created with package:mono_repo v2.1.0
language: dart

jobs:
include:
- stage: analyze_and_format
name: "SDK: 2.5.0-dev.1.0; PKGS: angular_components, angular_gallery, angular_gallery_section; TASKS: `dartanalyzer --fatal-warnings .`"
dart: "2.5.0-dev.1.0"
env: PKGS="angular_components angular_gallery angular_gallery_section"
script: ./tool/travis.sh dartanalyzer
- stage: analyze_and_format
name: "SDK: dev; PKGS: angular_components, angular_gallery, angular_gallery_section; TASKS: [`dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-warnings .`]"
dart: dev
env: PKGS="angular_components angular_gallery angular_gallery_section"
script: ./tool/travis.sh dartfmt dartanalyzer
- stage: analyze_and_format
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.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"
name: "SDK: 2.5.0-dev.1.0; PKG: angular_components; TASKS: [`./tool/travis/install_protoc.sh`, `pub run test --run-skipped`]"
dart: "2.5.0-dev.1.0"
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.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"
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`]"
dart: "2.5.0-dev.1.0"
env: PKGS="examples/angular_components_example"
script: ./tool/travis.sh command_1 command_2
- stage: build
Expand Down
112 changes: 112 additions & 0 deletions angular_components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,115 @@
## 0.14.0-alpha+1
### Component Updates

#### Application Layout
* Add `canClose` input the temporary drawer to prevent the drawer from toggling.

#### Dynamic Component
* Use type promotion instead of dynamic dispatch to update a `RendersValue`
instance.
* Change to "OnPush" change detection.

#### Material Auto Suggest Input
* Stop event propagation when key nav events are handled.
* Update to work within components using `ChangeDetectionStrategy.OnPush`.

#### Material Button
* Add Sass mixins to change the padding on the internal button content, adjust
vertical alignment, and reset `text-transform`.
* Remove Sass mixin `button-text-capitalize()`.
* Fix visibility in Microsoft Edge on Windows when using High Contrast mode.

#### Material Datepicker
* Add Sass mixins for margins around and between the next and previous buttons.
* Increase the color ratio for the apply/cancel buttons.
* Allow picking times using specified increments.
* Handle `<ESC>` key press when picker is visible.
* Removed deprecated `comparesToPreviousPeriod()` and
`comparesToSamePeriodLastYear()`.
* Delegate to `FocusItemDirective`.
* Fix the a11y role for the date range preset list.
* Improved accessibility for presets.

#### Material Dialog
* Add Sass mixin for the footer margin.
* Always keep a transparent scroll stroke to prevent dialog from shifting.

#### Material Expansion Panel
* Improve accessibility.
* Accommodate contents taller than the screen size.

#### Material Input
* Make text size limits available to screen readers.
* Change attribute `inputRole` to and input `role`.
* Add a CSS class `.ltr` so input can set `direction: ltr` on the top section.
* Add Sass mixin to adjust the location of floating label.

#### Material Menu
* Prevent screen readers from reading a non-collapsible label as "button".
* Apply the same background color on focused and active items.
* Update `icon` attribute to use a Dart boolean instead of a string `'true'`.
* Add Sass mixin for adding ellipsis to overflowing item text.
* Auto-activate FAB menu items when a screen reader triggers the fab.
* Only auto focus an active item when it exists.
* Protect against null pointer exception when closing.
* Move focus-trap outside of the menu-item-groups.
* Add a way to pass context to the `MenuItem` actions.

#### Material Popup
* Add `ariaLabel` input.
* Encapsulate the popup class name.

#### Material Select
* Fix selected item visibility in Microsoft Edge on Windows when using High
Contrast mode.
* Add Sass mixins for adding ellipsis to overflowing item text and a custom
outline.

#### Material Slider
* Support two sided sliders.

#### Material Stepper
* Add `yesText` input.
* Add input to keep inactive steps in DOM.
* Add partially complete state.
* Update icon and index colors for improved a11y.

#### Material Tab
* Set tabbable tab to always be activeTab.
* Improve `allow-text-wrap` Sass mixin.
* Rename Sass mixin `allow-text-wrap` to `tab-text-wrap` and default
`$break-word` to `true`.
* Add Sass mixin to apply text transform.

#### Material Tooltip
* Fix deferred content within tooltip.
* Add Sass mixin for paper tool tips with multiple sections.

#### Material Tree
* Add input to toggle selection of non-leaf nodes.

### Other Updates

#### Miscellaneous
* Remove `mat-icon-image()` in favor of `inline-image()`.
* Add `subtract()` to Date model.
* Migrate event handlers with multiple statements to component methods.
* Fix violations of the `strict-raw-types` analysis option.
* Fix violations of `prefer_initializing_formals`, `prefer-collection-literals`,
and `prefer-final-fields` lints.
* Properly remove items when invoking `StickyContainerLayout.remove()`.
* Create mixins for error_panel.
* General code readability fixes.
* Deprecate outdated Sass mixins: `button-bar-layout()`, `mat-input-header()`,
`clear-button()`, `icon-background()`, `cursor-grab()`, and
`cursor-grabbing()`.
* Fix graphical issue with sticky elements with `height: 0`.
* Add option to disable `GestureListener` in `ScrollHost`.
* Rename `palette.dart` to `material_chart_colors.dart`.

### Documentation
* Minor documentation fixes.

## 0.14.0-alpha
### Component Updates

Expand Down
3 changes: 3 additions & 0 deletions angular_components/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
include: package:pedantic/analysis_options.1.8.0.yaml

analyzer:
errors:
dead_code: warning
todo: ignore
unused_element: warning
unused_import: warning
unused_local_variable: warning
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.3.0-dev.0.1
- 2.5.0-dev.1.0
- dev

stages:
Expand All @@ -13,7 +13,7 @@ stages:
- group:
- dartanalyzer: --fatal-warnings .
dart:
- 2.3.0-dev.0.1
- 2.5.0-dev.1.0
- unit_test:
- group:
- command: ./tool/travis/install_protoc.sh
Expand Down
7 changes: 4 additions & 3 deletions angular_components/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: angular_components
version: 0.14.0-alpha
version: 0.14.0-alpha+1
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.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular: ^6.0.0-alpha+1
angular_forms: ^2.1.0
async: ^2.1.0
build: '>=0.11.1 <2.0.0'
Expand All @@ -28,4 +28,5 @@ dependencies:

dev_dependencies:
path: ^1.6.1
pedantic: ^1.8.0
test: ^1.0.0
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.3.0-dev.0.1
- 2.5.0-dev.1.0

cache:
directories:
Expand Down
8 changes: 4 additions & 4 deletions angular_gallery/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: angular_gallery
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_forms: ^2.1.0
angular_router: 2.0.0-alpha+23
angular_router: 2.0.0-alpha+24
build: '>=0.11.1 <2.0.0'
build_config: '>=0.2.6 <0.5.0'
mustache: ^1.0.0
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.3.0-dev.0.1
- 2.5.0-dev.1.0

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,11 +1,11 @@
name: angular_gallery_section
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
analyzer: ^0.36.0
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha
analyzer: ^0.37.0
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_gallery:
path: ../angular_gallery
build: '>=0.11.1 <2.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.3.0-dev.0.1
- 2.5.0-dev.1.0
- dev

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

dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_gallery:
path: ../../angular_gallery
app_layout_example:
Expand Down
6 changes: 3 additions & 3 deletions examples/app_layout_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: app_layout_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
Expand Down
6 changes: 3 additions & 3 deletions examples/material_button_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_button_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
Expand Down
6 changes: 3 additions & 3 deletions examples/material_card_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_card_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
Expand Down
6 changes: 3 additions & 3 deletions examples/material_checkbox_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_checkbox_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_forms: ^2.1.0
angular_gallery:
path: ../../angular_gallery
Expand Down
6 changes: 3 additions & 3 deletions examples/material_chips_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_chips_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
Expand Down
6 changes: 3 additions & 3 deletions examples/material_datepicker_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_datepicker_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
Expand Down
6 changes: 3 additions & 3 deletions examples/material_dialog_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_dialog_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
Expand Down
6 changes: 3 additions & 3 deletions examples/material_expansionpanel_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_expansionpanel_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.3.0-dev.0.1 <3.0.0'
sdk: '>=2.5.0-dev.1.0 <3.0.0'
dependencies:
angular: ^6.0.0-alpha
angular_components: 0.14.0-alpha-alpha
angular: ^6.0.0-alpha+1
angular_components: 0.14.0-alpha+1
angular_forms: ^2.1.0
angular_gallery:
path: ../../angular_gallery
Expand Down
Loading

0 comments on commit a09df6f

Please sign in to comment.