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

Commit c6cb3d7

Browse files
committed
Minor fixes to comments and READMEs before publishing angular_components v0.11.0
PiperOrigin-RevId: 225458510
1 parent 937fd39 commit c6cb3d7

File tree

3 files changed

+33
-29
lines changed

3 files changed

+33
-29
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ The [AngularDart Components Gallery] contains live examples and documentation.
55

66
This productive and stable set of widgets, contributed to by hundreds of
77
Googlers, make debugging and deploying your app easier. Strict latency and
8-
testing policies make these widgets an excellent fit for projects using the
9-
Angular package.
8+
testing policies make these widgets an excellent fit for projects using
9+
[AngularDart].
1010

1111
[Material design]: https://material.io/guidelines
1212
[AngularDart]: https://webdev.dartlang.org/angular
1313
[applications]: https://news.dartlang.org/2016/03/the-new-adwords-ui-uses-dart-we-asked.html
1414
[AngularDart Components Gallery]: https://dart-lang.github.io/angular_components/
1515

16-
These packages provide the components as well as code generation for the
16+
The following packages provide the components as well as code generation for the
1717
AngularDart Components gallery.
1818

1919
## [angular_components] [![Pub Package](https://img.shields.io/pub/v/angular_components.svg)](https://pub.dartlang.org/packages/angular_components)
@@ -40,7 +40,7 @@ for building the AngularDart gallery.
4040
[angular_gallery]: (https://github.com/dart-lang/angular_components/tree/master/angular_gallery)
4141
[angular_gallery_section]: (https://github.com/dart-lang/angular_components/tree/master/angular_gallery_section)
4242
[examples]: (https://github.com/dart-lang/angular_components/tree/master/examples)
43-
[example/angular_components_example]: (https://github.com/dart-lang/angular_components/tree/master/examples/angular_components_example)
43+
[examples/angular_components_example]: (https://github.com/dart-lang/angular_components/tree/master/examples/angular_components_example)
4444

4545
## Project Roadmap
4646

angular_components/CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@
2323
* Fix size of full screen dialog.
2424
* Close parent modal on escape key by default.
2525

26+
#### Material Icon
27+
* Add `MaterialIconToggleDirective` to allow for an icon with two states.
28+
2629
#### Material Input
2730
* Update the integer error message per Editorial feedback.
2831
* Add Sass mixin for changing the color of the counter.
29-
* Fix a11y fix when there is a `labeledby` id and a aria label specified.
32+
* Fix a11y when there is a `labeledby` id and a aria label specified.
3033

3134
#### Material Menu
3235
* Add a drop-in replacement for `secondaryIcon` - `itemSuffix` that removes the
@@ -36,6 +39,9 @@
3639
* Remove usages of secondary icon and related fields/methods from menu item
3740
model.
3841
* Prevent refocus on a menu item when the menu is closing.
42+
* Add `isTabbable` to `MenuItemComponent`.
43+
* Improve a11y in Material Fab Menu.
44+
* Fix focus target when pressing Up Arrow key.
3945

4046
#### Material Popup
4147
* Correctly restore focus in nested popups.
@@ -45,16 +51,19 @@
4551
* Set max-width to 100% on `dynamic-item`.
4652
* Removing Sass mixin for setting the width of the container element in
4753
dropdowns with factoryRenderers to 100%, as this was adopted as the standard.
48-
* Use the generic type parameter from MaterialDropdownSelectComponent on the
49-
ActivateItemOnKeyPressMixin.
54+
* Use the generic type parameter from `MaterialDropdownSelectComponent` on the
55+
`ActivateItemOnKeyPressMixin`.
5056
* Fix focus bugs when mixing keyboard and mouse navigation.
5157
* Add temporary fix for scrolling bug in Chrome browser.
58+
* Fix `MaterialDropdownSelect` type error when clicking a deselect item.
59+
* Fix the type of `itemRenderer` in `MaterialDropdownSelectComponent`.
5260

5361
#### Material Tabs
5462
* Make default width of `tab-content` to 100%.
5563

5664
#### Material Tooltip
5765
* Improve a11y and keyboard navigation.
66+
* Fix removing describe-by.
5867

5968
#### Modal/Overlay
6069
* Add ability to create an accessible overlay container for clients that

angular_components/README.md

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -49,32 +49,27 @@ The pub transformer has been removed in favor of code generation through package
4949

5050
## Required Fonts
5151

52-
Add the folowing font downloads to the head element on your page.
52+
Add the folowing font downloads to the head element of your page:
5353

54-
### Roboto Font
54+
* __Roboto Font__
55+
([example](https://github.com/dart-lang/angular_components/blob/7f254c89cbbd512cc284a7e9d03bb687f9948bd9/angular_gallery/lib/builder/template/index.html.mustache#L9))
5556

56-
The typography Sass mixins for are designed to work best with the Roboto font.
57-
[Example](https://github.com/dart-lang/angular_components/blob/7f254c89cbbd512cc284a7e9d03bb687f9948bd9/angular_gallery/lib/builder/template/index.html.mustache#L9)
58-
59-
```html
60-
<link
61-
rel="stylesheet"
62-
type="text/css"
63-
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
64-
65-
```
66-
67-
### Material Icon Font
57+
```html
58+
<link
59+
rel="stylesheet"
60+
type="text/css"
61+
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
62+
```
6863

69-
These components depend on the Material Icon font.
70-
[Example](https://github.com/dart-lang/angular_components/blob/7f254c89cbbd512cc284a7e9d03bb687f9948bd9/angular_gallery/lib/builder/template/index.html.mustache#L11)
64+
* __Material Icon Font__
65+
([example](https://github.com/dart-lang/angular_components/blob/7f254c89cbbd512cc284a7e9d03bb687f9948bd9/angular_gallery/lib/builder/template/index.html.mustache#L11))
7166

72-
```html
73-
<link
74-
rel="stylesheet"
75-
type="text/css"
76-
href="https://fonts.googleapis.com/icon?family=Material+Icons">
77-
```
67+
```html
68+
<link
69+
rel="stylesheet"
70+
type="text/css"
71+
href="https://fonts.googleapis.com/icon?family=Material+Icons">
72+
```
7873

7974
## Custom component styles
8075

0 commit comments

Comments
 (0)