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.13.0
Browse files Browse the repository at this point in the history
* Update CHANGELOG and bump deps.
* Add build.yaml files to examples needed to configure the updated builders.
* Additional changes to travis testing scripts.

PiperOrigin-RevId: 243687496
  • Loading branch information
nshahan committed Apr 15, 2019
1 parent a641cd8 commit 3f79425
Show file tree
Hide file tree
Showing 62 changed files with 417 additions and 136 deletions.
152 changes: 152 additions & 0 deletions angular_components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,155 @@
## 0.13.0
### Component Updates

#### Material Autosuggest Input
* Toggle multi-select items with `<Space>` instead of `<Enter>`.
* Make the pointer for the clear icon consistent with other buttons when
disabled.

#### Material Button
* Apply media query to `_button_hover` mixin call so that we will skip hover for
all touchscreens (only apply hover for media supporting hover).
* Add Sass mixins to customize icon colors and left align button text.
* Avoid double trigger of button with a space bar keypress.

#### Material Checkbox
* Use both label and content as aria label.
* Add types to the outputs.

#### Material Date Picker
* Make the calendar component invisible to screen readers.
* Add `selectDatePlaceHolderMsg`, `placeholderMsg`, and
`dropdownButtonAriaLabel` inputs.

#### Material Date Range Picker
* Add `preferredPositions` input.
* Improve handling of pt-BR date range formatting to remove repetitive "de"s
when the endpoints fall into different years.
* Make comparison toggle label clickable.

#### Material Dialog
* Add Sass mixin to customize font size.
* Use header as default dialog label.
* Mark current landmarks as `role="presentation"` to avoid unnecessary grouping.
* Add missing modal visible output.

#### Material Expansion Panel
* Add missing modal visible output.
* Allow header to have an outline, and control it with keyboard only focus.
* Add aria-expanded to announce when it is opened/closed.
* Add Sass mixin to make save button raised and highlighted.
* Improve a11y.
* Add the ability to tag the content that you would like to focus when an
expansion panel opens.

#### Material Icon
* Add Sass mixin to customize svg icon size.

#### Material Input
* Update error message for negative percentage value to be "not negative"
instead of "positive", because zero is allowed.
* Ensure that `aria-disabled` is set for the input when the input is disabled.
* Use aria-describedby attribute in the to call out errors.
* Remove TAB focus from disabled multiline input.
* Add Sass mixin for multiline inputs to flex and scroll the text entry.
* Add Sass mixins for setting `flex-grow` property and the clear icon color.
* Stop hiding character counter from Aria.
* Add `role="alert"` to error text region.
* Add generic types to `MaterialInputDefaultValueAccessor` and
`MaterialNumberValueAccessor`.
* Create new `Int64` value accessor.
* Pass down the aria-label for leading and trailing glyphs.

#### Material Menu
* Remove unnecessary escape key handling in MenuItemGroupsComponent.
* Add in aria-label support into the items and groups.
* Open dropdown when navigation keys are pressed.
* Add Sass mixin to customize the item icon size.
* Add aria-expanded to collapsible menu groups.
* Fix item focus bug when the fab menu is opened.
* Improve aria roles for `MenuItemGroup` items.
* Add keyboard accessibility functionality for active item handling.

#### Material Progress
* Fix screen reader status messages.

#### Material Popup
* Add `autoDismissBlockers` input to block click events in certain elements from
closing the popup.
* Support defining custom boundaries around window viewport.
* Ensure footer stays inside popup boundaries.
* Add Sass mixin to override overflow value.
* Fix memory leaks.

#### Material Stepper
* Announce the current step via the screen reader.
* Provide custom aria label for steps.

#### Material Select
* Fix issue where a keypress on selected item would re-open dropdown.
* Remove `tabIndex` from items and let the dropdown control focus instead. Focus
is now controlled by the dropdown itself.
* Support keyboard navigation.
* Add Sass mixins to customize:
* Background color of the selected item.
* Minimum height of the dropdown buttons.
* Color of the dropdown icon.
* Font size of items.
* Allow auto-focusing on the active item.
* Update Sass mixin `dropdown-icon-spacing` to accept all four margins.

#### Material Tab
* Add Sass mixin to customize tab strip elevation.

#### Material Toggle
* Add focus effect.

#### Material Tooltip
* Remove `initAriaAttributes` for ink tooltips by default.
* Fix hiding tooltip for `MaterialTooltipTargetDirective` when focusing inside
of it.

#### Material Tree
* Add `allowParentSingleSelection` input.
* Don't override state when `expandAll` hasn't been set.
* Add component generics and pass type through to nodes.

#### Material Yes/No Buttons
* Add Sass mixin to make yes button raised and highlighted.
* Add Sass mixin to make no button highlighted.

#### Scorecard
* Fix improper heading hierarchy.
* Fixed scrolling when the average size of the cards is bigger than the client.

#### Simple HTML Component
* Add attribute `doNotVerifyUrlDestinations` to allow "normal" external URLs.

### Other Updates

#### Selection Model
* Allow `is NullSelectionModel` as a replacement for
`== const SelectionModel.empty()`, necessary for typed selection models which
can't use const.
* Expose null selection model type to allow type checks.
* Remove deprecated `SelectionModel()`.
* Add `isSingleSelect` field.

#### Miscellaneous
* Allow `HasTabIndex` to not set a `TabIndex`.
* Fix a bug where sticky elements do not stack when sticky position is BOTTOM.
* Use named providers instead of the soft deprecated provide(...) and
Provider(...).
* Update MDC Web styles to v1.1.0
* Tighten public APIs with `@visibleForTemplate`.
* Enable trigger logic that only considers `mouseup` events as part of
`triggersOutside()` if the corresponding `mousedown` event came from the same
element.
* Fix runtime cast errors.
* Remove use of `ChangeDetectionStrategy.Detached`.
* Non-tabbable `buttonDirectivesRemove` now have no tabIndex instead of -1.
* Many components migrated to `OnPush` change detection.

## 0.12.0

### Component Updates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ bool _parseBool(String strValue) {
strValue,
'strValue',
'Only "", "true", and "false" are acceptable values for parseBool. '
'Found: ');
'Found: ');
}
}

Expand Down
12 changes: 6 additions & 6 deletions angular_components/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: angular_components
version: 0.12.0
version: 0.13.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.1.0-dev.9.4 <3.0.0'
sdk: '>=2.2.1-dev.3.0 <3.0.0'
dependencies:
angular: ^5.2.0
angular: ^5.3.0
angular_forms: ^2.1.0
async: ^2.0.8
async: ^2.1.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
fixnum: ^0.10.7
intl: '>=0.14.0 <0.16.0'
intl: '>=0.14.0 <0.17.0'
js: ^0.6.1
logging: ^0.11.2
meta: ^1.0.4
observable: ^0.22.1+3
observable: ^0.22.2
protobuf: ^0.13.6
quiver: '>=0.24.0 <3.0.0'
sass_builder: ^2.0.2
Expand Down
4 changes: 2 additions & 2 deletions angular_components/tool/travis/install_protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Only run externally during presubmits on Travis.

set -ev
PROTOC_PLUGIN_VERSION="0.10.2"
PROTOC_VERSION="3.6.0"
PROTOC_PLUGIN_VERSION="16.0.5"
PROTOC_VERSION="3.7.1"

if type protoc > /dev/null; then
echo "protoc already installed."
Expand Down
12 changes: 8 additions & 4 deletions angular_gallery/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: angular_gallery
author: Dart Team <[email protected]>
environment:
sdk: '>=2.1.0-dev.9.4 <3.0.0'
sdk: '>=2.2.1-dev.3.0 <3.0.0'
dependencies:
angular: ^5.2.0
angular_components: 0.12.0
angular: ^5.3.0
angular_components: 0.13.0
angular_forms: ^2.1.0
angular_router: 2.0.0-alpha+21
angular_router: 2.0.0-alpha+22
build: '>=0.11.1 <2.0.0'
build_config: '>=0.2.6 <0.4.0'
mustache: ^1.0.0

dependency_overrides:
angular_components:
path: ../angular_components
2 changes: 2 additions & 0 deletions angular_gallery_section/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ targets:
]
angular_components|scss_builder:
enabled: True
angular_gallery|angular_gallery:
enabled: False

builders:
angular_gallery_section:
Expand Down
14 changes: 10 additions & 4 deletions angular_gallery_section/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
name: angular_gallery_section
author: Dart Team <[email protected]>
environment:
sdk: '>=2.1.0-dev.9.4 <3.0.0'
sdk: '>=2.2.1-dev.3.0 <3.0.0'
dependencies:
analyzer: ^0.34.0
angular: ^5.2.0
angular_components: 0.12.0
analyzer: ^0.35.0
angular: ^5.3.0
angular_components: 0.13.0
angular_gallery:
path: ../angular_gallery
build: '>=0.11.1 <2.0.0'
build_config: '>=0.2.6 <0.4.0'
glob: ^1.1.5
markdown: ^2.0.0
mustache: ^1.0.0
path: ^1.6.1
sass: '>=1.15.3 <2.0.0'

dependency_overrides:
angular_components:
path: ../angular_components
1 change: 1 addition & 0 deletions examples/angular_components_example/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ targets:
styleUrls: ["gallery.scss.css"]
galleryTitle: "AngularDart Gallery"
examples: "app_layout_example,material_button_example,material_card_example,material_checkbox_example,material_chips_example,material_datepicker_example,material_dialog_example,material_expansionpanel_example,material_icon_example,material_input_example,material_list_example,material_menu_example,material_popup_example,material_progress_example,material_radio_example,material_select_example,material_slider_example,material_spinner_example,material_stepper_example,material_tab_example,material_toggle_example,material_tooltip_example,material_tree_example,material_yes_no_buttons_example,simple_html_example,scorecard_example"
sourcecodeUrl: "https://github.com/dart-lang/angular_components/tree/master/"
angular_components|scss_builder:
enabled: true
angular_gallery_section:
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.1.0-dev.9.4 <3.0.0'
sdk: '>=2.2.1-dev.3.0 <3.0.0'

dependencies:
angular: ^5.2.0
angular_components: 0.12.0
angular: ^5.3.0
angular_components: 0.13.0
angular_gallery:
path: ../../angular_gallery
app_layout_example:
Expand Down
2 changes: 2 additions & 0 deletions examples/app_layout_example/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ targets:
builders:
angular_components|scss_builder:
enabled: True
angular_gallery|angular_gallery:
enabled: False
angular_gallery_section|angular_gallery_section:
options:
staticImageServer: "https://raw.githubusercontent.com"
8 changes: 5 additions & 3 deletions examples/app_layout_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: app_layout_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.1.0-dev.9.4 <3.0.0'
sdk: '>=2.2.1-dev.3.0 <3.0.0'
dependencies:
angular: ^5.2.0
angular_components: 0.12.0
angular: ^5.3.0
angular_components: 0.13.0
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
2 changes: 2 additions & 0 deletions examples/material_button_example/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ targets:
builders:
angular_components|scss_builder:
enabled: True
angular_gallery|angular_gallery:
enabled: False
8 changes: 5 additions & 3 deletions examples/material_button_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: material_button_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.1.0-dev.9.4 <3.0.0'
sdk: '>=2.2.1-dev.3.0 <3.0.0'
dependencies:
angular: ^5.2.0
angular_components: 0.12.0
angular: ^5.3.0
angular_components: 0.13.0
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
2 changes: 2 additions & 0 deletions examples/material_card_example/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ targets:
builders:
angular_components|scss_builder:
enabled: True
angular_gallery|angular_gallery:
enabled: False
8 changes: 5 additions & 3 deletions examples/material_card_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: material_card_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.1.0-dev.9.4 <3.0.0'
sdk: '>=2.2.1-dev.3.0 <3.0.0'
dependencies:
angular: ^5.2.0
angular_components: 0.12.0
angular: ^5.3.0
angular_components: 0.13.0
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
2 changes: 2 additions & 0 deletions examples/material_checkbox_example/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ targets:
builders:
angular_components|scss_builder:
enabled: True
angular_gallery|angular_gallery:
enabled: False
8 changes: 5 additions & 3 deletions examples/material_checkbox_example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: material_checkbox_example
author: Dart Team <[email protected]>
environment:
sdk: '>=2.1.0-dev.9.4 <3.0.0'
sdk: '>=2.2.1-dev.3.0 <3.0.0'
dependencies:
angular: ^5.2.0
angular_components: 0.12.0
angular: ^5.3.0
angular_components: 0.13.0
angular_forms: ^2.1.0
angular_gallery:
path: ../../angular_gallery
angular_gallery_section:
path: ../../angular_gallery_section
build_config: '>=0.2.6 <0.4.0'
2 changes: 2 additions & 0 deletions examples/material_chips_example/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ targets:
builders:
angular_components|scss_builder:
enabled: True
angular_gallery|angular_gallery:
enabled: False
Loading

0 comments on commit 3f79425

Please sign in to comment.