Skip to content

refactor: make mixin base classes docs private #5301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/lib/button-toggle/button-toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {CanDisable, mixinDisabled} from '../core/common-behaviors/disabled';
export type ToggleType = 'checkbox' | 'radio';

// Boilerplate for applying mixins to MdButtonToggleGroup and MdButtonToggleGroupMultiple
/** @docs-private */
export class MdButtonToggleGroupBase {}
export const _MdButtonToggleGroupMixinBase = mixinDisabled(MdButtonToggleGroupBase);

Expand Down
1 change: 1 addition & 0 deletions src/lib/button/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export class MdMiniFab {


// Boilerplate for applying mixins to MdButton.
/** @docs-private */
export class MdButtonBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/checkbox/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class MdCheckboxChange {
}

// Boilerplate for applying mixins to MdCheckbox.
/** @docs-private */
export class MdCheckboxBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/chips/chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export interface MdChipEvent {
}

// Boilerplate for applying mixins to MdChip.
/** @docs-private */
export class MdChipBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/core/option/optgroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {Component, ViewEncapsulation, ContentChildren, QueryList, Input} from '@
import {mixinDisabled, CanDisable} from '../common-behaviors/disabled';

// Boilerplate for applying mixins to MdOptgroup.
/** @docs-private */
export class MdOptgroupBase { }
export const _MdOptgroupMixinBase = mixinDisabled(MdOptgroupBase);

Expand Down
1 change: 1 addition & 0 deletions src/lib/core/selection/pseudo-checkbox/pseudo-checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export type MdPseudoCheckboxState = 'unchecked' | 'checked' | 'indeterminate';


// Boilerplate for applying mixins to MdChip.
/** @docs-private */
export class MdPseudoCheckboxBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/icon/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {CanColor, mixinColor} from '../core/common-behaviors/color';


// Boilerplate for applying mixins to MdIcon.
/** @docs-private */
export class MdIconBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/menu/menu-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {Focusable} from '../core/a11y/focus-key-manager';
import {CanDisable, mixinDisabled} from '../core/common-behaviors/disabled';

// Boilerplate for applying mixins to MdMenuItem.
/** @docs-private */
export class MdMenuItemBase {}
export const _MdMenuItemMixinBase = mixinDisabled(MdMenuItemBase);

Expand Down
1 change: 1 addition & 0 deletions src/lib/progress-spinner/progress-spinner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ type EasingFn = (currentTime: number, startValue: number,
export class MdProgressSpinnerCssMatStyler {}

// Boilerplate for applying mixins to MdProgressSpinner.
/** @docs-private */
export class MdProgressSpinnerBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/radio/radio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export class MdRadioChange {


// Boilerplate for applying mixins to MdRadioGroup.
/** @docs-private */
export class MdRadioGroupBase { }
export const _MdRadioGroupMixinBase = mixinDisabled(MdRadioGroupBase);

Expand Down Expand Up @@ -297,6 +298,7 @@ export class MdRadioGroup extends _MdRadioGroupMixinBase
}

// Boilerplate for applying mixins to MdRadioButton.
/** @docs-private */
export class MdRadioButtonBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export class MdSelectChange {
}

// Boilerplate for applying mixins to MdSelect.
/** @docs-private */
export class MdSelectBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/slide-toggle/slide-toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ let nextId = 0;


// Boilerplate for applying mixins to MdSlideToggle.
/** @docs-private */
export class MdSlideToggleBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/slider/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export class MdSliderChange {


// Boilerplate for applying mixins to MdSlider.
/** @docs-private */
export class MdSliderBase { }
export const _MdSliderMixinBase = mixinDisabled(MdSliderBase);

Expand Down
1 change: 1 addition & 0 deletions src/lib/tabs/tab-label-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {Directive, ElementRef} from '@angular/core';
import {CanDisable, mixinDisabled} from '../core/common-behaviors/disabled';

// Boilerplate for applying mixins to MdTabLabelWrapper.
/** @docs-private */
export class MdTabLabelWrapperBase {}
export const _MdTabLabelWrapperMixinBase = mixinDisabled(MdTabLabelWrapperBase);

Expand Down
1 change: 1 addition & 0 deletions src/lib/tabs/tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {CanDisable, mixinDisabled} from '../core/common-behaviors/disabled';
import {MdTabLabel} from './tab-label';

// Boilerplate for applying mixins to MdTab.
/** @docs-private */
export class MdTabBase {}
export const _MdTabMixinBase = mixinDisabled(MdTabBase);

Expand Down
1 change: 1 addition & 0 deletions src/lib/toolbar/toolbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {CanColor, mixinColor} from '../core/common-behaviors/color';
export class MdToolbarRow {}

// Boilerplate for applying mixins to MdToolbar.
/** @docs-private */
export class MdToolbarBase {
constructor(public _renderer: Renderer2, public _elementRef: ElementRef) {}
}
Expand Down