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.10.0
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 216944200
  • Loading branch information
nshahan committed Oct 16, 2018
1 parent f88a02e commit 0aaf631
Show file tree
Hide file tree
Showing 31 changed files with 173 additions and 102 deletions.
66 changes: 66 additions & 0 deletions angular_components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,69 @@
## 0.10.0

### Component Updates

#### Material Auto Suggest Input
* Rename `shouldClearOnSelection` to `shouldClearInputOnSelection`.
* Improve keyboard navigation after mouse interactions in the popup.
* Only allow deselection via in multi-selection mode in material auto suggest
input.
* Disallow selecting disabled options via keyboard.
* Remove deprecated `suggestions` and `sorted` inputs.
* Update to support generics.

#### Material Button
* Mark certain fields as `visibleForTemplate` and drop the copied value where
not needed.

#### Material Chips
* Add Sass mixins to adjust border and font size of a single chip and border
padding, and background color, border, and padding of a set of chips.

#### Material Expansion Panel
* Wrap the buttons in a `defferredContent` directive. This is to help
accessibility and have those buttons not be available for screen readers.

#### Material Input
* Fix bug in `MaterialNumberValueAccessor` where null value won't clear previous
input.

#### Material Dropdown Select
* Provide the simplified selection and options inputs. Pull the common logic
into SelectionInputAdapter mixin class.
* Migrate `ComponentRenderer` to `FactoryRenderer`.
* Disallow selecting disabled options via keyboard.
* Highlight disabled items when activated via keyboard.

#### Material Menu
* Add a secondary-label field. The appearance of this label is subject to minor
changes in the near future as the UX is still experimental.
* Properly use the sub-menu's width, not the parent menu's width, to determine
the width of the menu.

#### Material Radio
* Tighten down the public API surface of the radio component by marking many of
them as `visibleForTemplate`.

#### Material Select Searchbox
* Add in null pointer protection when input is set without a filterable.

#### Modal/Overlay
* Enable useMultiModalDismissal by default.

### Miscellaneous
* Use typed provider for location providers.
* Also corrected the type signature of `runOutsideAngular`, which in turn may
enable hint-level warnings by the analyzer. Users may be impacted if they fail
the build on hints.
* Add `StickyController.onUpdate`, a stream which fires events immediately after
`StickyController` writes to the DOM, and expose it as an output on
`ElementScrollHost`.
* Trigger the sticky controller sync on `scrollToPosition` calls.

### Documentation
* Add new readme for Material Dropdown Select.
* Minor docs fixes.

## 0.9.2

### Component Updates
Expand Down
11 changes: 6 additions & 5 deletions angular_components/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: angular_components
version: 0.9.2
version: 0.10.0
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.0.0-dev.69.5.0 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_forms: ^2.0.0
angular: ^5.1.0
angular_forms: ^2.1.0
async: ^2.0.8
build: '>=0.11.1 <0.13.0'
build: '>=0.11.1 <2.0.0'
build_config: '>=0.2.6 <0.4.0'
built_collection: ^4.0.0
collection: ^1.14.10
Expand All @@ -27,4 +27,5 @@ dependencies:
sass_builder: ^2.0.2

dev_dependencies:
path: ^1.6.1
test: ^1.0.0
6 changes: 5 additions & 1 deletion angular_gallery/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ builders:
angular_gallery:
target: ":angular_gallery"
import: "package:angular_gallery/builders.dart"
builder_factories: [galleryAppBuilder, galleryLibBuilder]
builder_factories: [
galleryAppBuilder,
galleryLibBuilder,
syntaxHighlightBuilder,
]
build_extensions: {
".html": [".dart"],
"$web$": ["index.html", "main.dart", "style.scss"]}
Expand Down
12 changes: 6 additions & 6 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.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular_forms: ^2.0.0
angular_router: 2.0.0-alpha+19
build: '>=0.11.1 <0.13.0'
angular: ^5.1.0
angular_components: 0.10.0
angular_forms: ^2.1.0
angular_router: 2.0.0-alpha+20
build: '>=0.11.1 <2.0.0'
build_config: '>=0.2.6 <0.4.0'
mustache: ^1.0.0
10 changes: 5 additions & 5 deletions angular_gallery_section/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: angular_gallery_section
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
analyzer: ^0.32.4
angular: ^5.0.0
angular_components: 0.9.2
build: '>=0.11.1 <0.13.0'
analyzer: ^0.33.0
angular: ^5.1.0
angular_components: 0.10.0
build: '>=0.11.1 <2.0.0'
build_config: '>=0.2.6 <0.4.0'
glob: ^1.1.5
markdown: ^2.0.0
Expand Down
8 changes: 4 additions & 4 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.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'

dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery:
path: ../../angular_gallery
app_layout_example:
Expand Down Expand Up @@ -61,7 +61,7 @@ dependencies:
path: ../scorecard_example

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

dependency_overrides:
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.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
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.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
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.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
8 changes: 4 additions & 4 deletions examples/material_checkbox_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: material_checkbox_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular_forms: ^2.0.0
angular: ^5.1.0
angular_components: 0.10.0
angular_forms: ^2.1.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
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.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
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.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
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.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
8 changes: 4 additions & 4 deletions examples/material_expansionpanel_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: material_expansionpanel_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular_forms: ^2.0.0
angular: ^5.1.0
angular_components: 0.10.0
angular_forms: ^2.1.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
6 changes: 3 additions & 3 deletions examples/material_icon_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_icon_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
8 changes: 4 additions & 4 deletions examples/material_input_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: material_input_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular_forms: ^2.0.0
angular: ^5.1.0
angular_components: 0.10.0
angular_forms: ^2.1.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
Expand Down
6 changes: 3 additions & 3 deletions examples/material_list_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_list_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
6 changes: 3 additions & 3 deletions examples/material_menu_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_menu_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
Expand Down
6 changes: 3 additions & 3 deletions examples/material_popup_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_popup_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
6 changes: 3 additions & 3 deletions examples/material_progress_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: material_progress_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular: ^5.1.0
angular_components: 0.10.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
8 changes: 4 additions & 4 deletions examples/material_radio_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: material_radio_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.0.0-dev.69.5 <3.0.0'
sdk: '>=2.1.0-dev.5.0 <3.0.0'
dependencies:
angular: ^5.0.0
angular_components: 0.9.2
angular_forms: ^2.0.0
angular: ^5.1.0
angular_components: 0.10.0
angular_forms: ^2.1.0
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
Loading

0 comments on commit 0aaf631

Please sign in to comment.