Skip to content

Commit

Permalink
refactor(color-picker): removed unneeded index.ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
motabass authored and tiaguinho committed Aug 7, 2020
1 parent 3bffcce commit 6575cf0
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/demo-app/app/color-picker/color-picker.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
import { MatTabsModule } from '@angular/material/tabs';
import { RouterModule } from '@angular/router';
import { MccColorPickerModule } from '../../../lib/color-picker';
import { ColorPickerComponent } from './color-picker.component';
import { routes } from './color-picker.router';
import { ColorPickerAlphaComponent } from './components/color-picker-alpha.component';
import { ColorPickerApiComponent } from './components/color-picker-api.component';
import { ColorPickerExamplesComponent } from './components/color-picker-examples.component';
import { MccColorPickerModule } from '../../../lib/color-picker/public_api';



Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { EMPTY_COLOR, ENABLE_ALPHA_SELECTOR } from '../../../../lib/color-picker';
import { EMPTY_COLOR, ENABLE_ALPHA_SELECTOR } from '../../../../lib/color-picker/public_api';

@Component({
selector: 'app-color-picker-alpha',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { MccColorPickerItem, MccColorPickerService } from '../../../../lib/color-picker';
import { MccColorPickerItem, MccColorPickerService } from '../../../../lib/color-picker/public_api';

@Component({
selector: 'app-color-picker-examples',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, ChangeDetectorRef, OnInit, OnDestroy, ChangeDetectionStrategy } from '@angular/core';
import { MccScrollspyService, MccScrollspyItemDirective } from '../../../../lib/scrollspy';
import { Subscription } from 'rxjs';
import { MccScrollspyItemDirective, MccScrollspyService } from '../../../../lib/scrollspy/public_api';

@Component({
selector: 'app-scrollspy-examples',
Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/app/scrollspy/scrollspy.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { MatIconModule } from '@angular/material/icon';
import { MatSidenavModule } from '@angular/material/sidenav';
import { MatTabsModule } from '@angular/material/tabs';
import { RouterModule } from '@angular/router';
import { MccScrollspyModule } from '../../../lib/scrollspy';
import { ScrollspyExamplesComponent } from './components/scrollspy-examples.component';
import { ScrollspyComponent } from './scrollspy.component';
import { routes } from './scrollspy.router';
import { MccScrollspyModule } from '../../../lib/scrollspy/public_api';



Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/app/speed-dial/speed-dial.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import { MatIconModule } from '@angular/material/icon';
import { MatRadioModule } from '@angular/material/radio';
import { MatTabsModule } from '@angular/material/tabs';
import { RouterModule } from '@angular/router';
import { MccSpeedDialModule } from '../../../lib/speed-dial';
import { SpeedDialApiComponent } from './components/speed-dial-api.component';
import { SpeedDialExamplesComponent } from './components/speed-dial-examples.component';
import { SpeedDialComponent } from './speed-dial.component';
import { routes } from './speed-dial.router';
import { MccSpeedDialModule } from '../../../lib/speed-dial/public_api';

@NgModule({
imports: [
Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/app/timer-picker/timer-picker.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
import { MatTabsModule } from '@angular/material/tabs';
import { RouterModule } from '@angular/router';
import { MccTimerPickerModule } from '../../../lib/timer-picker';
import { TimerPickerApiComponent } from './components/timer-picker-api.component';
import { TimerPickerExamplesComponent } from './components/timer-picker-examples.component';
import { TimerPickerComponent } from './timer-picker.component';
import { routes } from './timer-picker.router';
import { MccTimerPickerModule } from '../../../lib/timer-picker/public_api';



Expand Down
1 change: 0 additions & 1 deletion src/lib/color-picker/index.ts

This file was deleted.

11 changes: 10 additions & 1 deletion src/lib/color-picker/public_api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
export { MccColorPickerModule } from './color-picker.module';
export { MccColorPickerService } from './color-picker.service';
export { MccColorPickerItem, EMPTY_COLOR, ENABLE_ALPHA_SELECTOR } from './color-picker.types';
export {
MccColorPickerItem,
EMPTY_COLOR,
ENABLE_ALPHA_SELECTOR,
COLOR_STRING_FORMAT,
DISABLE_SELECTED_COLOR_ICON,
SELECTED_COLOR_ICON,
SELECTED_COLOR_SVG_ICON,
USED_COLORS
} from './color-picker.types';
1 change: 0 additions & 1 deletion src/lib/scrollspy/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/lib/speed-dial/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/lib/timer-picker/index.ts

This file was deleted.

0 comments on commit 6575cf0

Please sign in to comment.