Skip to content

Commit c8af15a

Browse files
committed
change @internal to @docs-private
1 parent caf8b12 commit c8af15a

20 files changed

+42
-42
lines changed

src/lib/core/animation/animation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** @internal */
1+
/** @docs-private */
22
export class AnimationCurves {
33
static STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';
44
static DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';
@@ -7,7 +7,7 @@ export class AnimationCurves {
77
}
88

99

10-
/** @internal */
10+
/** @docs-private */
1111
export class AnimationDurations {
1212
static COMPLEX = '375ms';
1313
static ENTERING = '225ms';

src/lib/core/async/promise-completer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** @internal */
1+
/** @docs-private */
22
export class PromiseCompleter<R> {
33
promise: Promise<R>;
44
resolve: (value?: R | PromiseLike<R>) => void;

src/lib/core/errors/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Wrapper around Error that sets the error message.
5-
* @internal
5+
* @docs-private
66
*/
77
export class MdError extends Error {
88
constructor(value: string) {

src/lib/core/line/line.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class MdLine {}
1818

1919
/**
2020
* Helper that takes a query list of lines and sets the correct class on the host.
21-
* @internal
21+
* @docs-private
2222
*/
2323
export class MdLineSetter {
2424
constructor(private _lines: QueryList<MdLine>, private _renderer: Renderer,

src/lib/core/overlay/position/connected-position-strategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class ConnectedPositionStrategy implements PositionStrategy {
6666
/**
6767
* Updates the position of the overlay element, using whichever preferred position relative
6868
* to the origin fits on-screen.
69-
* @internal
69+
* @docs-private
7070
*/
7171
apply(element: HTMLElement): Promise<void> {
7272
// We need the bounding rects for the origin and the overlay to determine how to position

src/lib/core/overlay/position/global-position-strategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class GlobalPositionStrategy implements PositionStrategy {
101101

102102
/**
103103
* Apply the position to the element.
104-
* @internal
104+
* @docs-private
105105
*/
106106
apply(element: HTMLElement): Promise<void> {
107107
if (!this._wrapper) {

src/lib/core/overlay/position/viewport-ruler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {Injectable} from '@angular/core';
44

55
/**
66
* Simple utility for getting the bounds of the browser viewport.
7-
* @internal
7+
* @docs-private
88
*/
99
@Injectable()
1010
export class ViewportRuler {

src/lib/core/platform/platform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const hasV8BreakIterator = (window.Intl && (window.Intl as any).v8BreakIterator)
99
/**
1010
* Service to detect the current platform by comparing the userAgent strings and
1111
* checking browser-specific global properties.
12-
* @internal
12+
* @docs-private
1313
*/
1414
@Injectable()
1515
export class MdPlatform {

src/lib/core/portal/portal-errors.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {MdError} from '../errors/error';
22

33
/**
44
* Exception thrown when attempting to attach a null portal to a host.
5-
* @internal
5+
* @docs-private
66
*/
77
export class MdNullPortalError extends MdError {
88
constructor() {
@@ -12,7 +12,7 @@ export class MdNullPortalError extends MdError {
1212

1313
/**
1414
* Exception thrown when attempting to attach a portal to a host that is already attached.
15-
* @internal
15+
* @docs-private
1616
*/
1717
export class MdPortalAlreadyAttachedError extends MdError {
1818
constructor() {
@@ -22,7 +22,7 @@ export class MdPortalAlreadyAttachedError extends MdError {
2222

2323
/**
2424
* Exception thrown when attempting to attach a portal to an already-disposed host.
25-
* @internal
25+
* @docs-private
2626
*/
2727
export class MdPortalHostAlreadyDisposedError extends MdError {
2828
constructor() {
@@ -32,7 +32,7 @@ export class MdPortalHostAlreadyDisposedError extends MdError {
3232

3333
/**
3434
* Exception thrown when attempting to attach an unknown portal type.
35-
* @internal
35+
* @docs-private
3636
*/
3737
export class MdUnknownPortalTypeError extends MdError {
3838
constructor() {
@@ -44,7 +44,7 @@ export class MdUnknownPortalTypeError extends MdError {
4444

4545
/**
4646
* Exception thrown when attempting to attach a portal to a null host.
47-
* @internal
47+
* @docs-private
4848
*/
4949
export class MdNullPortalHostError extends MdError {
5050
constructor() {
@@ -54,7 +54,7 @@ export class MdNullPortalHostError extends MdError {
5454

5555
/**
5656
* Exception thrown when attempting to detach a portal that is not attached.
57-
* @internal
57+
* @docs-private
5858
*/
5959
export class MdNoPortalAttachedError extends MdError {
6060
constructor() {

src/lib/core/projection/projection.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function _replaceWith(toReplaceEl: HTMLElement, otherEl: HTMLElement) {
77
toReplaceEl.parentElement.replaceChild(otherEl, toReplaceEl);
88
}
99

10-
/** @internal */
10+
/** @docs-private */
1111
@Directive({
1212
selector: 'dom-projection-host'
1313
})
@@ -16,7 +16,7 @@ export class DomProjectionHost {
1616
}
1717

1818

19-
/** @internal */
19+
/** @docs-private */
2020
@Injectable()
2121
export class DomProjection {
2222
/**
@@ -74,7 +74,7 @@ export class DomProjection {
7474
}
7575

7676

77-
/** @internal */
77+
/** @docs-private */
7878
@NgModule({
7979
exports: [DomProjectionHost],
8080
declarations: [DomProjectionHost],

src/lib/core/ripple/ripple-renderer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
NgZone,
44
} from '@angular/core';
55

6-
/** @internal */
6+
/** @docs-private */
77
export enum ForegroundRippleState {
88
NEW,
99
EXPANDING,
@@ -12,7 +12,7 @@ export enum ForegroundRippleState {
1212

1313
/**
1414
* Wrapper for a foreground ripple DOM element and its animation state.
15-
* @internal
15+
* @docs-private
1616
*/
1717
export class ForegroundRipple {
1818
state = ForegroundRippleState.NEW;
@@ -37,7 +37,7 @@ const distanceToFurthestCorner = (x: number, y: number, rect: ClientRect) => {
3737
* The constructor takes a reference to the ripple directive's host element and a map of DOM
3838
* event handlers to be installed on the element that triggers ripple animations.
3939
* This will eventually become a custom renderer once Angular support exists.
40-
* @internal
40+
* @docs-private
4141
*/
4242
export class RippleRenderer {
4343
private _backgroundDiv: HTMLElement;

src/lib/dialog/dialog-container.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import 'rxjs/add/operator/first';
1616

1717
/**
1818
* Internal component that wraps user-provided dialog content.
19-
* @internal
19+
* @docs-private
2020
*/
2121
@Component({
2222
moduleId: module.id,

src/lib/grid-list/grid-list-errors.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {MdError} from '../core';
22

33
/**
44
* Exception thrown when cols property is missing from grid-list
5-
* @internal
5+
* @docs-private
66
*/
77
export class MdGridListColsError extends MdError {
88
constructor() {
@@ -12,7 +12,7 @@ export class MdGridListColsError extends MdError {
1212

1313
/**
1414
* Exception thrown when a tile's colspan is longer than the number of cols in list
15-
* @internal
15+
* @docs-private
1616
*/
1717
export class MdGridTileTooWideError extends MdError {
1818
constructor(cols: number, listLength: number) {
@@ -22,7 +22,7 @@ export class MdGridTileTooWideError extends MdError {
2222

2323
/**
2424
* Exception thrown when an invalid ratio is passed in as a rowHeight
25-
* @internal
25+
* @docs-private
2626
*/
2727
export class MdGridListBadRatioError extends MdError {
2828
constructor(value: string) {

src/lib/grid-list/grid-list-measure.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11

22
/**
33
* Converts values into strings. Falsy values become empty strings.
4-
* @internal
4+
* @docs-private
55
*/
66
export function coerceToString(value: string | number): string {
77
return `${value || ''}`;
88
}
99

1010
/**
1111
* Converts a value that might be a string into a number.
12-
* @internal
12+
* @docs-private
1313
*/
1414
export function coerceToNumber(value: string | number): number {
1515
return typeof value === 'string' ? parseInt(value, 10) : value;

src/lib/grid-list/tile-coordinator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {MdGridTileTooWideError} from './grid-list-errors';
1616
* decrements each value in the tracking array (indicating that the column is one cell closer to
1717
* being free).
1818
*
19-
* @internal
19+
* @docs-private
2020
*/
2121
export class TileCoordinator {
2222
/** Tracking array (see class description). */
@@ -138,7 +138,7 @@ export class TileCoordinator {
138138

139139
/**
140140
* Simple data structure for tile position (row, col).
141-
* @internal
141+
* @docs-private
142142
*/
143143
export class TilePosition {
144144
constructor(public row: number, public col: number) {}

src/lib/grid-list/tile-styler.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {MdGridListBadRatioError} from './grid-list-errors';
55
/**
66
* Sets the style properties for an individual tile, given the position calculated by the
77
* Tile Coordinator.
8-
* @internal
8+
* @docs-private
99
*/
1010
export class TileStyler {
1111
_gutterSize: string;
@@ -120,7 +120,7 @@ export class TileStyler {
120120
/**
121121
* This type of styler is instantiated when the user passes in a fixed row height.
122122
* Example <md-grid-list cols="3" rowHeight="100px">
123-
* @internal
123+
* @docs-private
124124
*/
125125
export class FixedTileStyler extends TileStyler {
126126

@@ -148,7 +148,7 @@ export class FixedTileStyler extends TileStyler {
148148
/**
149149
* This type of styler is instantiated when the user passes in a width:height ratio
150150
* for the row height. Example <md-grid-list cols="3" rowHeight="3:1">
151-
* @internal
151+
* @docs-private
152152
*/
153153
export class RatioTileStyler extends TileStyler {
154154

@@ -195,7 +195,7 @@ export class RatioTileStyler extends TileStyler {
195195
* In other words, the row height will reflect the total height of the container divided
196196
* by the number of rows. Example <md-grid-list cols="3" rowHeight="fit">
197197
*
198-
* @internal
198+
* @docs-private
199199
*/
200200
export class FitTileStyler extends TileStyler {
201201

src/lib/icon/icon-registry.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import 'rxjs/add/operator/catch';
1414

1515
/**
1616
* Exception thrown when attempting to load an icon with a name that cannot be found.
17-
* @internal
17+
* @docs-private
1818
*/
1919
export class MdIconNameNotFoundError extends MdError {
2020
constructor(iconName: string) {
@@ -25,7 +25,7 @@ export class MdIconNameNotFoundError extends MdError {
2525
/**
2626
* Exception thrown when attempting to load SVG content that does not contain the expected
2727
* <svg> tag.
28-
* @internal
28+
* @docs-private
2929
*/
3030
export class MdIconSvgTagNotFoundError extends MdError {
3131
constructor() {
@@ -35,7 +35,7 @@ export class MdIconSvgTagNotFoundError extends MdError {
3535

3636
/**
3737
* Configuration for an icon, including the URL and possibly the cached SVG element.
38-
* @internal
38+
* @docs-private
3939
*/
4040
class SvgIconConfig {
4141
svgElement: SVGElement = null;

src/lib/menu/menu-errors.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {MdError} from '../core';
22

33
/**
44
* Exception thrown when menu trigger doesn't have a valid md-menu instance
5-
* @internal
5+
* @docs-private
66
*/
77
export class MdMenuMissingError extends MdError {
88
constructor() {
@@ -18,7 +18,7 @@ export class MdMenuMissingError extends MdError {
1818
/**
1919
* Exception thrown when menu's x-position value isn't valid.
2020
* In other words, it doesn't match 'before' or 'after'.
21-
* @internal
21+
* @docs-private
2222
*/
2323
export class MdMenuInvalidPositionX extends MdError {
2424
constructor() {
@@ -31,7 +31,7 @@ export class MdMenuInvalidPositionX extends MdError {
3131
/**
3232
* Exception thrown when menu's y-position value isn't valid.
3333
* In other words, it doesn't match 'above' or 'below'.
34-
* @internal
34+
* @docs-private
3535
*/
3636
export class MdMenuInvalidPositionY extends MdError {
3737
constructor() {

src/lib/progress-circle/progress-circle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ export class MdProgressCircle implements OnDestroy {
7272
return this.mode == 'determinate' ? 100 : null;
7373
}
7474

75-
/** @internal */
75+
/** @docs-private */
7676
get interdeterminateInterval() {
7777
return this._interdeterminateInterval;
7878
}
79-
/** @internal */
79+
/** @docs-private */
8080
set interdeterminateInterval(interval: number) {
8181
clearInterval(this._interdeterminateInterval);
8282
this._interdeterminateInterval = interval;

src/lib/slider/slider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ export class MdSlider implements ControlValueAccessor {
490490

491491
/**
492492
* Renderer class in order to keep all dom manipulation in one place and outside of the main class.
493-
* @internal
493+
* @docs-private
494494
*/
495495
export class SliderRenderer {
496496
private _sliderElement: HTMLElement;

0 commit comments

Comments
 (0)