Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 42 additions & 42 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Created with package:mono_repo v5.0.0
# Created with package:mono_repo v5.0.2
name: Dart CI
on:
push:
Expand Down Expand Up @@ -27,32 +27,32 @@ jobs:
restore-keys: |
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: stable
- id: checkout
uses: actions/checkout@v2.3.4
- name: mono_repo self validate
run: dart pub global activate mono_repo 5.0.0
run: dart pub global activate mono_repo 5.0.2
- name: mono_repo self validate
run: dart pub global run mono_repo generate --validate
job_002:
name: "analyze_and_format_core; Dart 2.10.5; PKGS: angular_components, angular_gallery, angular_gallery_section; `dart analyze .`"
name: "analyze_and_format_core; Dart 2.14.2; PKGS: angular_components, angular_gallery, angular_gallery_section; `dart analyze .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@v2.1.6
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:angular_components-angular_gallery-angular_gallery_section;commands:analyze_0"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:angular_components-angular_gallery-angular_gallery_section;commands:analyze_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:angular_components-angular_gallery-angular_gallery_section
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:angular_components-angular_gallery-angular_gallery_section
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: "2.10.5"
sdk: "2.14.2"
- id: checkout
uses: actions/checkout@v2.3.4
- id: angular_components_pub_upgrade
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: dev
- id: checkout
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: dev
- id: checkout
Expand Down Expand Up @@ -169,22 +169,22 @@ jobs:
needs:
- job_001
job_005:
name: "analyze_and_format_examples_1; Dart 2.10.5; PKGS: examples/app_layout_example, examples/material_button_example, examples/material_card_example, examples/material_checkbox_example, examples/material_chips_example, examples/material_datepicker_example, examples/material_dialog_example, examples/material_expansionpanel_example, examples/material_icon_example, examples/material_list_example, examples/material_menu_example, examples/material_yes_no_buttons_example; `dart analyze .`"
name: "analyze_and_format_examples_1; Dart 2.14.2; PKGS: examples/app_layout_example, examples/material_button_example, examples/material_card_example, examples/material_checkbox_example, examples/material_chips_example, examples/material_datepicker_example, examples/material_dialog_example, examples/material_expansionpanel_example, examples/material_icon_example, examples/material_list_example, examples/material_menu_example, examples/material_yes_no_buttons_example; `dart analyze .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@v2.1.6
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:examples/app_layout_example-examples/material_button_example-examples/material_card_example-examples/material_checkbox_example-examples/material_chips_example-examples/material_datepicker_example-examples/material_dialog_example-examples/material_expansionpanel_example-examples/material_icon_example-examples/material_list_example-examples/material_menu_example-examples/material_yes_no_buttons_example;commands:analyze_0"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:examples/app_layout_example-examples/material_button_example-examples/material_card_example-examples/material_checkbox_example-examples/material_chips_example-examples/material_datepicker_example-examples/material_dialog_example-examples/material_expansionpanel_example-examples/material_icon_example-examples/material_list_example-examples/material_menu_example-examples/material_yes_no_buttons_example;commands:analyze_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:examples/app_layout_example-examples/material_button_example-examples/material_card_example-examples/material_checkbox_example-examples/material_chips_example-examples/material_datepicker_example-examples/material_dialog_example-examples/material_expansionpanel_example-examples/material_icon_example-examples/material_list_example-examples/material_menu_example-examples/material_yes_no_buttons_example
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:examples/app_layout_example-examples/material_button_example-examples/material_card_example-examples/material_checkbox_example-examples/material_chips_example-examples/material_datepicker_example-examples/material_dialog_example-examples/material_expansionpanel_example-examples/material_icon_example-examples/material_list_example-examples/material_menu_example-examples/material_yes_no_buttons_example
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: "2.10.5"
sdk: "2.14.2"
- id: checkout
uses: actions/checkout@v2.3.4
- id: examples_app_layout_example_pub_upgrade
Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: dev
- id: checkout
Expand Down Expand Up @@ -483,7 +483,7 @@ jobs:
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: dev
- id: checkout
Expand Down Expand Up @@ -517,7 +517,7 @@ jobs:
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: dev
- id: checkout
Expand All @@ -542,22 +542,22 @@ jobs:
- job_003
- job_004
job_009:
name: "analyze_and_format_examples_2; Dart 2.10.5; PKGS: examples/material_popup_example, examples/material_progress_example, examples/material_radio_example, examples/material_slider_example, examples/material_spinner_example, examples/material_stepper_example, examples/material_tab_example, examples/material_toggle_example, examples/material_tooltip_example, examples/scorecard_example, examples/simple_html_example; `dart analyze .`"
name: "analyze_and_format_examples_2; Dart 2.14.2; PKGS: examples/material_popup_example, examples/material_progress_example, examples/material_radio_example, examples/material_slider_example, examples/material_spinner_example, examples/material_stepper_example, examples/material_tab_example, examples/material_toggle_example, examples/material_tooltip_example, examples/scorecard_example, examples/simple_html_example; `dart analyze .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@v2.1.6
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:examples/material_popup_example-examples/material_progress_example-examples/material_radio_example-examples/material_slider_example-examples/material_spinner_example-examples/material_stepper_example-examples/material_tab_example-examples/material_toggle_example-examples/material_tooltip_example-examples/scorecard_example-examples/simple_html_example;commands:analyze_0"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:examples/material_popup_example-examples/material_progress_example-examples/material_radio_example-examples/material_slider_example-examples/material_spinner_example-examples/material_stepper_example-examples/material_tab_example-examples/material_toggle_example-examples/material_tooltip_example-examples/scorecard_example-examples/simple_html_example;commands:analyze_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:examples/material_popup_example-examples/material_progress_example-examples/material_radio_example-examples/material_slider_example-examples/material_spinner_example-examples/material_stepper_example-examples/material_tab_example-examples/material_toggle_example-examples/material_tooltip_example-examples/scorecard_example-examples/simple_html_example
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:examples/material_popup_example-examples/material_progress_example-examples/material_radio_example-examples/material_slider_example-examples/material_spinner_example-examples/material_stepper_example-examples/material_tab_example-examples/material_toggle_example-examples/material_tooltip_example-examples/scorecard_example-examples/simple_html_example
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: "2.10.5"
sdk: "2.14.2"
- id: checkout
uses: actions/checkout@v2.3.4
- id: examples_material_popup_example_pub_upgrade
Expand Down Expand Up @@ -683,7 +683,7 @@ jobs:
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: dev
- id: checkout
Expand Down Expand Up @@ -855,7 +855,7 @@ jobs:
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: dev
- id: checkout
Expand Down Expand Up @@ -889,22 +889,22 @@ jobs:
- job_007
- job_008
job_012:
name: "unit_test; Dart 2.10.5; PKG: angular_components; `./tool/travis/install_protoc.sh`, `dart test --run-skipped`"
name: "unit_test; Dart 2.14.2; PKG: angular_components; `./tool/travis/install_protoc.sh`, `dart test --run-skipped`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@v2.1.6
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:angular_components;commands:command_0-test"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:angular_components;commands:command_0-test"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:angular_components
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:angular_components
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: "2.10.5"
sdk: "2.14.2"
- id: checkout
uses: actions/checkout@v2.3.4
- id: angular_components_pub_upgrade
Expand Down Expand Up @@ -947,7 +947,7 @@ jobs:
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: dev
- id: checkout
Expand Down Expand Up @@ -979,22 +979,22 @@ jobs:
- job_010
- job_011
job_014:
name: "build; Dart 2.10.5; PKG: examples/angular_components_example; `dart pub run build_runner build web`, `dart pub run build_runner build web --release`"
name: "build; Dart 2.14.2; PKG: examples/angular_components_example; `dart pub run build_runner build web`, `dart pub run build_runner build web --release`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@v2.1.6
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:examples/angular_components_example;commands:command_1-command_2"
key: "os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:examples/angular_components_example;commands:command_1-command_2"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5;packages:examples/angular_components_example
os:ubuntu-latest;pub-cache-hosted;dart:2.10.5
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2;packages:examples/angular_components_example
os:ubuntu-latest;pub-cache-hosted;dart:2.14.2
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: "2.10.5"
sdk: "2.14.2"
- id: checkout
uses: actions/checkout@v2.3.4
- id: examples_angular_components_example_pub_upgrade
Expand Down Expand Up @@ -1039,7 +1039,7 @@ jobs:
os:ubuntu-latest;pub-cache-hosted;dart:dev
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- uses: dart-lang/setup-dart@v1.0
- uses: dart-lang/setup-dart@v1.2
with:
sdk: dev
- id: checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,8 @@ class MaterialTooltipSourceDirective extends PopupSourceDirective
DomPopupSourceFactory domPopupSourceFactory,
this.element,
@Attribute('initPopupAriaAttributes') String initAriaAttributes)
: super(
domPopupSourceFactory,
element,
/* referenceDirective */ null,
/* focusable */ null,
initAriaAttributes) {
: super(domPopupSourceFactory, element, /* referenceDirective */ null,
/* focusable */ null, initAriaAttributes) {
_show = DelayedAction(tooltipShowDelay, activate);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,8 @@ abstract class TooltipTarget extends PopupSourceDirective {

TooltipTarget(DomPopupSourceFactory domPopupSourceFactory,
this.viewContainerRef, this._element, String initAriaAttributes)
: super(
domPopupSourceFactory,
_element,
/* referenceDirective */ null,
/* focusable */ null,
initAriaAttributes);
: super(domPopupSourceFactory, _element, /* referenceDirective */ null,
/* focusable */ null, initAriaAttributes);

/// Sets the tooltip associated with this target.
void setTooltip(Tooltip component) {
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/google/mono_repo.dart for details
dart:
- 2.10.5
- 2.14.2
- dev

stages:
Expand All @@ -13,7 +13,7 @@ stages:
- group:
- analyze: .
dart:
- 2.10.5
- 2.14.2
- unit_test:
- group:
- command: ./tool/travis/install_protoc.sh
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:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
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:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions 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/google/mono_repo.dart for details
dart:
- 2.10.5
- 2.14.2
- dev

stages:
Expand All @@ -11,4 +11,4 @@ stages:

cache:
directories:
- .dart_tool
- .dart_to
2 changes: 1 addition & 1 deletion examples/app_layout_example/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion examples/material_button_example/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion examples/material_card_example/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion examples/material_checkbox_example/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion examples/material_chips_example/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion examples/material_datepicker_example/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion examples/material_dialog_example/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion examples/material_expansionpanel_example/mono_pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- group:
- analyze: .
dart:
- 2.10.5
- 2.14.2

cache:
directories:
Expand Down
Loading