Skip to content
This repository was archived by the owner on Sep 14, 2021. It is now read-only.

Commit 8952096

Browse files
nshahankevmoo
authored andcommitted
Gallery generator and example updates (#94)
1 parent fecf215 commit 8952096

File tree

32 files changed

+106
-100
lines changed

32 files changed

+106
-100
lines changed

angular_gallery/pubspec.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: angular_gallery
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
8-
angular_forms: ^2.0.0-beta+2
9-
angular_router: 2.0.0-alpha+17
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
8+
angular_forms: ^2.0.0-beta+3
9+
angular_router: 2.0.0-alpha+18
1010
build: '>=0.11.1 <0.13.0'
1111
build_config: '>=0.2.6 <0.4.0'
1212
mustache: ^1.0.0

angular_gallery_section/lib/components/gallery_component/_mixins.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010

1111
::ng-deep h2,
12-
::ng-deep strong,
12+
.doc ::ng-deep strong,
1313
::ng-deep .property-type {
1414
color: $primary-color;
1515
}

angular_gallery_section/lib/components/gallery_component/gallery_component.scss

+5-5
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,17 @@ h2 {
103103
}
104104
}
105105

106+
.doc ::ng-deep strong {
107+
@include mat-font-body-2;
108+
color: $mat-blue;
109+
}
110+
106111
::ng-deep p {
107112
// Makes it so the docs for inputs and outputs could be closer to the
108113
// input/output declaration.
109114
margin: $mat-grid-type 0 $mat-grid * 2;
110115
}
111116

112-
::ng-deep strong {
113-
@include mat-font-body-2;
114-
color: $mat-blue;
115-
}
116-
117117
::ng-deep code,
118118
::ng-deep pre {
119119
background-color: $mat-gray-50;

angular_gallery_section/pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: angular_gallery_section
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
66
analyzer: ^0.32.0
7-
angular: ^5.0.0-beta+2
8-
angular_components: 0.9.0-beta+2
7+
angular: ^5.0.0-beta+3
8+
angular_components: 0.9.0-beta+3
99
build: '>=0.11.1 <0.13.0'
1010
build_config: '>=0.2.6 <0.4.0'
1111
glob: ^1.1.5

example/angular_components_example/pubspec.yaml

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: angular_components_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55

66
dependencies:
7-
angular: ^5.0.0-beta+2
8-
angular_components: 0.9.0-beta+2
7+
angular: ^5.0.0-beta+3
8+
angular_components: 0.9.0-beta+3
99
angular_gallery:
1010
path: ../../angular_gallery
1111
app_layout_example:
@@ -63,3 +63,9 @@ dependencies:
6363
dev_dependencies:
6464
build_runner: ^0.9.1
6565
build_web_compilers: ^0.4.0
66+
67+
dependency_overrides:
68+
angular_components:
69+
git:
70+
url: https://github.com/dart-lang/angular_components.git
71+
ref: github-sync
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: app_layout_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_button_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_card_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: material_checkbox_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
8-
angular_forms: ^2.0.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
8+
angular_forms: ^2.0.0-beta+3
99
angular_gallery_section:
1010
path: ../../angular_gallery_section
1111
build_config: '>=0.2.6 <0.4.0'
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_chips_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'

example/material_datepicker_example/pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_datepicker_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_dialog_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: material_expansionpanel_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
8-
angular_forms: ^2.0.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
8+
angular_forms: ^2.0.0-beta+3
99
angular_gallery_section:
1010
path: ../../angular_gallery_section
1111
build_config: '>=0.2.6 <0.4.0'
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_icon_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'

example/material_input_example/pubspec.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: material_input_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
8-
angular_forms: ^2.0.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
8+
angular_forms: ^2.0.0-beta+3
99
angular_gallery_section:
1010
path: ../../angular_gallery_section
1111
intl: '>=0.14.0 <0.16.0'
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_list_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'

example/material_menu_example/lib/material_menu_demo.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import 'package:angular_components/utils/disposer/disposer.dart';
2020

2121
@Component(
2222
selector: 'material-menu-demo',
23-
providers: [popupBindings, Provider(ZIndexer, useClass: ZIndexer)],
23+
providers: [popupBindings, ClassProvider(ZIndexer)],
2424
directives: [
2525
DropdownMenuComponent,
2626
MaterialIconComponent,

example/material_menu_example/pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_menu_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'

example/material_popup_example/lib/material_popup_example.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class MaterialPopupDemoComponent {}
3333

3434
@Component(
3535
selector: 'material-popup-example',
36-
providers: [popupBindings, Provider(ZIndexer, useClass: ZIndexer)],
36+
providers: [popupBindings, ClassProvider(ZIndexer)],
3737
directives: [
3838
DefaultPopupSizeProvider,
3939
DeferredContentDirective,
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_popup_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_progress_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: material_radio_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
8-
angular_forms: ^2.0.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
8+
angular_forms: ^2.0.0-beta+3
99
angular_gallery_section:
1010
path: ../../angular_gallery_section
1111
build_config: '>=0.2.6 <0.4.0'
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: material_select_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
8-
angular_forms: ^2.0.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
8+
angular_forms: ^2.0.0-beta+3
99
angular_gallery_section:
1010
path: ../../angular_gallery_section
1111
build_config: '>=0.2.6 <0.4.0'
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_slider_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_spinner_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_stepper_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: material_tab_example
22
author: Dart Team <[email protected]>
33
environment:
4-
sdk: '>=2.0.0-dev.64.2 <3.0.0'
4+
sdk: '>=2.0.0-dev.68 <3.0.0'
55
dependencies:
6-
angular: ^5.0.0-beta+2
7-
angular_components: 0.9.0-beta+2
6+
angular: ^5.0.0-beta+3
7+
angular_components: 0.9.0-beta+3
88
angular_gallery_section:
99
path: ../../angular_gallery_section
1010
build_config: '>=0.2.6 <0.4.0'

0 commit comments

Comments
 (0)