Skip to content

Commit fb16b00

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Fix samples build.
1 parent 1244e16 commit fb16b00

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

src/app/stepper/stepper.sample.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import {
4040
IgcButtonComponent,
4141
IgcInputComponent,
4242
registerIconFromText,
43-
IgcActiveStepChangingArgs,
43+
IgcActiveStepChangingEventArgs,
4444
} from 'igniteui-webcomponents';
4545
import {
4646
Properties,
@@ -318,7 +318,7 @@ export class IgxStepperSampleComponent {
318318

319319
// Handle changes from Web Component Stepper
320320
public onWcStepperChange(
321-
event: CustomEvent<IgcActiveStepChangingArgs>
321+
event: CustomEvent<IgcActiveStepChangingEventArgs>
322322
): void {
323323
if (this.isSyncing) return;
324324

src/app/tabs-showcase/tabs-showcase.sample.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,15 @@
3030
[activation]="properties.activation">
3131

3232
@for (contact of contacts; track contact.id) {
33-
<igc-tab [selected]="contact.id === selectedTabId" [panel]="contact.i">
33+
<igc-tab [selected]="contact.id === selectedTabId">
3434
@if(!properties.hideIcon) {
35-
<igx-icon>folder</igx-icon>
35+
<igx-icon slot="label">folder</igx-icon>
3636
}
3737
@if(!properties.hideText) {
38-
<span>{{ contact.text }}</span>
38+
<span slot="label">{{ contact.text }}</span>
3939
}
40-
</igc-tab>
41-
42-
<igc-tab-panel [id]="contact.id">
4340
Phone: {{ contact.phone }}
44-
</igc-tab-panel>
41+
</igc-tab>
4542
}
4643
</igc-tabs>
4744
</div>

src/app/tabs-showcase/tabs-showcase.sample.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ import {
2020
defineComponents,
2121
IgcTabsComponent,
2222
IgcTabComponent,
23-
IgcTabPanelComponent,
2423
} from 'igniteui-webcomponents';
2524
import {
2625
PropertyChangeService,
2726
Properties,
2827
} from '../properties-panel/property-change.service';
2928

30-
defineComponents(IgcTabsComponent, IgcTabComponent, IgcTabPanelComponent);
29+
defineComponents(IgcTabsComponent, IgcTabComponent);
3130

3231
@Component({
3332
selector: 'app-tabs-showcase-sample',

0 commit comments

Comments
 (0)