Skip to content

Commit abd2ac6

Browse files
devversionjelbourn
authored andcommitted
build: create material-examples package (#4046)
1 parent 3545df7 commit abd2ac6

File tree

164 files changed

+311
-182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+311
-182
lines changed

scripts/closure-compiler/build-devapp-bundle.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ OPTS=(
3939

4040
# List of path prefixes to be removed from ES6 & CommonJS modules.
4141
"--js_module_root=dist/packages"
42-
"--js_module_root=dist/release"
42+
"--js_module_root=dist/releases/material"
4343
"--js_module_root=node_modules/@angular/core"
4444
"--js_module_root=node_modules/@angular/common"
4545
"--js_module_root=node_modules/@angular/compiler"
@@ -57,7 +57,7 @@ OPTS=(
5757
"--debug"
5858

5959
# Include the Material FESM bundle
60-
dist/release/@angular/material.js
60+
dist/releases/material/@angular/material.js
6161

6262
# Include all Angular FESM bundles.
6363
node_modules/@angular/core/@angular/core.js

scripts/release/publish-build-artifacts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e -o pipefail
88
# Go to the project root directory
99
cd $(dirname $0)/../..
1010

11-
buildDir="dist/release"
11+
buildDir="dist/releases/material"
1212
buildVersion=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
1313

1414
commitSha=$(git rev-parse --short HEAD)

src/lib/core/overlay/overlay-ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class OverlayRef implements PortalHost {
103103
}
104104
}
105105

106-
/** Updates the text direction of the overlay panel. **/
106+
/** Updates the text direction of the overlay panel. */
107107
private updateDirection() {
108108
this._pane.setAttribute('dir', this._state.direction);
109109
}

src/lib/core/overlay/overlay-state.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ export class OverlayState {
1313
/** Whether the overlay has a backdrop. */
1414
hasBackdrop: boolean = false;
1515

16-
/** Custom class to add to the backdrop **/
16+
/** Custom class to add to the backdrop */
1717
backdropClass: string = 'cdk-overlay-dark-backdrop';
1818

19-
/** The width of the overlay panel. If a number is provided, pixel units are assumed. **/
19+
/** The width of the overlay panel. If a number is provided, pixel units are assumed. */
2020
width: number | string;
2121

22-
/** The height of the overlay panel. If a number is provided, pixel units are assumed. **/
22+
/** The height of the overlay panel. If a number is provided, pixel units are assumed. */
2323
height: number | string;
2424

25-
/** The min-width of the overlay panel. If a number is provided, pixel units are assumed. **/
25+
/** The min-width of the overlay panel. If a number is provided, pixel units are assumed. */
2626
minWidth: number | string;
2727

28-
/** The min-height of the overlay panel. If a number is provided, pixel units are assumed. **/
28+
/** The min-height of the overlay panel. If a number is provided, pixel units are assumed. */
2929
minHeight: number | string;
3030

3131
/** The direction of the text in the overlay panel. */

src/examples/autocomplete-overview/autocomplete-overview-example.ts renamed to src/material-examples/autocomplete-overview/autocomplete-overview-example.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import {Component} from '@angular/core';
22
import {FormControl} from '@angular/forms';
3+
34
import 'rxjs/add/operator/startWith';
5+
import 'rxjs/add/operator/map';
46

57
@Component({
68
selector: 'autocomplete-overview-example',

0 commit comments

Comments
 (0)