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

Commit 35a783b

Browse files
committed
Add Material Popup, a basic popup component
Includes updates made since last release: - Update Material Checkbox icon size. - Cleanup framework stabilizers since issue #24843 in the Dart SDK has been resolved. - Remove unused files.
1 parent a0eff87 commit 35a783b

19 files changed

+1308
-44
lines changed

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1+
## 0.2.2
2+
3+
* Add Material Popup, a basic popup component.
4+
* Update Material Checkbox icon size.
5+
* Cleanup framework stabilizers since [issue #24843](https://github.com/dart-lang/sdk/issues/24843)
6+
in the Dart SDK has been resolved.
7+
* Remove unused files.
8+
19
## 0.2.1
210

3-
* Rollup of recent changes
4-
* Includes fix for breaking change in Angular 2.2.0
11+
* Rollup of recent changes.
12+
* Includes fix for breaking change in Angular 2.2.0.
513

614
## 0.2.0
715

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ possible.
2424
*`<acx-scorecard>`
2525
*`<material-input>`
2626
*`<material-dialog>`
27-
* `<material-popup>`
27+
* `<material-popup>`
2828
*`<material-tooltip>`
2929
*`<material-auto-suggest-input>`
3030
*`<material-date-range-picker>`
3131
*`<material-list>`
3232
*`<material-menu>`
3333
* many more, including a fast table
3434

35+
**Officially Supported Browsers:** The last two versions of Chrome, Edge, Firefox, and Safari.
3536

3637
## Useful links
3738

@@ -40,5 +41,3 @@ possible.
4041
* [AngularDart documentation](https://angulardart.org/)
4142
* [Material Design site](https://material.google.com/)
4243
* [Code Lab: AngularDart Components](https://webdev.dartlang.org/codelabs/angular2_components)
43-
44-

lib/angular2_components.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const List<Type> materialDirectives = const [
3131
MaterialFabComponent,
3232
MaterialInputComponent,
3333
MaterialInputDefaultValueAccessor,
34+
MaterialPopupComponent,
3435
MaterialProgressComponent,
3536
MaterialRadioComponent,
3637
MaterialRadioGroupComponent,
@@ -43,13 +44,14 @@ const List<Type> materialDirectives = const [
4344
MaterialMultilineInputComponent,
4445
ModalComponent,
4546
NgModel,
47+
PopupSourceDirective,
4648
ReorderItemDirective,
4749
ReorderListComponent,
4850
ScorecardComponent,
4951
];
5052

5153
/// A convenience list of all providers exposed by this package.
5254
const List<List<Provider>> materialProviders = const <List<Provider>>[
55+
popupBindings,
5356
rippleBindings,
54-
overlayBindings,
5557
];

lib/src/all_components.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export 'components/material_input/material_input.dart'
3333
hide materialInputErrorKey;
3434
export 'components/material_input/material_input_default_value_accessor.dart';
3535
export 'components/material_input/material_input_multiline.dart';
36+
export 'components/material_popup/material_popup.dart';
3637
export 'components/material_progress/material_progress.dart';
3738
export 'components/material_radio/material_radio.dart';
3839
export 'components/material_radio/material_radio_group.dart';
@@ -47,10 +48,13 @@ export 'components/material_toggle/material_toggle.dart';
4748
export 'components/material_yes_no_buttons/material_yes_no_buttons.dart';
4849
export 'components/mixins/focusable_mixin.dart';
4950
export 'components/mixins/has_tab_index.dart';
51+
export 'components/mixins/material_dropdown_base.dart';
5052
export 'components/reorder_list/reorder_list.dart';
5153
export 'components/scorecard/scoreboard.dart';
5254
export 'components/scorecard/scorecard.dart';
5355
export 'components/theme/dark_theme.dart';
5456
export 'components/theme/module.dart';
5557
export 'laminate/components/modal/modal.dart';
5658
export 'laminate/overlay/module.dart';
59+
export 'laminate/popup/module.dart';
60+
export 'laminate/popup/popup.dart';

lib/src/components/material_checkbox/material_checkbox.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<div class="icon-container">
77
<glyph [style.color]="themeColor"
88
[icon]="icon"
9-
size="large"
109
class="icon"
1110
aria-hidden="true"
1211
[class.filled]="checked || indeterminate">

lib/src/components/material_checkbox/material_checkbox.scss.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)