Skip to content

Commit 6017bb3

Browse files
committed
fix: No longer mark components as experimental
Signed-off-by: Akshat Patel <[email protected]>
1 parent bb91ba8 commit 6017bb3

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

src/modal/modal-header.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
Input
66
} from "@angular/core";
77
import { I18n } from "carbon-components-angular/i18n";
8-
import { ExperimentalService } from "carbon-components-angular/experimental";
98

109
/**
1110
* ***Inputs***
@@ -55,7 +54,7 @@ export class ModalHeader {
5554
*/
5655
@Output() closeSelect = new EventEmitter();
5756

58-
constructor(protected i18n: I18n, protected experimental: ExperimentalService) {}
57+
constructor(protected i18n: I18n) {}
5958

6059
/**
6160
* Handles click for the close icon button within the `Modal`.

src/notification/toast.component.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77

88
import { ToastContent } from "./notification-content.interface";
99
import { Notification } from "./notification.component";
10-
import { ExperimentalService } from "carbon-components-angular/experimental";
1110
import { NotificationDisplayService } from "./notification-display.service";
1211
import { I18n } from "carbon-components-angular/i18n";
1312

@@ -85,10 +84,7 @@ export class Toast extends Notification implements OnInit {
8584
@HostBinding("class.bx--toast-notification--warning") get isWarning() { return this.notificationObj["type"] === "warning"; }
8685
@HostBinding("class.bx--toast-notification--low-contrast") get isLowContrast() { return this.notificationObj.lowContrast; }
8786

88-
constructor(
89-
protected notificationDisplayService: NotificationDisplayService,
90-
protected i18n: I18n,
91-
protected experimental: ExperimentalService) {
87+
constructor(protected notificationDisplayService: NotificationDisplayService, protected i18n: I18n) {
9288
super(notificationDisplayService, i18n);
9389
// disable inline notification styles
9490
this.notificationClass = false;

src/progress-indicator/progress-indicator.component.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ import {
22
Component,
33
Input,
44
Output,
5-
EventEmitter, OnChanges, SimpleChanges
5+
EventEmitter,
6+
OnChanges,
7+
SimpleChanges
68
} from "@angular/core";
7-
import { ExperimentalService } from "carbon-components-angular/experimental";
89
import { Step } from "./progress-indicator-step.interface";
910

1011
/**
@@ -83,8 +84,6 @@ export class ProgressIndicator implements OnChanges {
8384
}
8485
private _current: number;
8586

86-
constructor(protected experimental: ExperimentalService) {}
87-
8887
ngOnChanges(changes: SimpleChanges) {
8988
if (changes.steps || changes.current) {
9089
this.setProgressIndicatorStates();

src/progress-indicator/progress-indicator.module.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { CommonModule } from "@angular/common";
33

44
import { ProgressIndicator } from "./progress-indicator.component";
55
import { DialogModule } from "carbon-components-angular/dialog";
6-
import { ExperimentalModule } from "carbon-components-angular/experimental";
76
import { IconModule } from "carbon-components-angular/icon";
87

98
@NgModule({
@@ -16,7 +15,6 @@ import { IconModule } from "carbon-components-angular/icon";
1615
imports: [
1716
CommonModule,
1817
DialogModule,
19-
ExperimentalModule,
2018
IconModule
2119
]
2220
})

0 commit comments

Comments
 (0)