File tree 4 files changed +25
-12
lines changed 4 files changed +25
-12
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ src/**/*.js
48
48
src /** /* .js.map
49
49
src /** /* .css.map
50
50
51
+ # Artefacts
52
+ projects /igniteui-angular /** /* .component.css
53
+
51
54
# Typedoc Theme
52
55
extras /docs /themes /typedoc /bin
53
56
extras /docs /themes /sassdoc /node_modules
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ import {
40
40
IgcButtonComponent ,
41
41
IgcInputComponent ,
42
42
registerIconFromText ,
43
- IgcActiveStepChangingArgs ,
43
+ IgcActiveStepChangingEventArgs ,
44
44
} from 'igniteui-webcomponents' ;
45
45
import {
46
46
Properties ,
@@ -318,7 +318,7 @@ export class IgxStepperSampleComponent {
318
318
319
319
// Handle changes from Web Component Stepper
320
320
public onWcStepperChange (
321
- event : CustomEvent < IgcActiveStepChangingArgs >
321
+ event : CustomEvent < IgcActiveStepChangingEventArgs >
322
322
) : void {
323
323
if ( this . isSyncing ) return ;
324
324
Original file line number Diff line number Diff line change 30
30
[activation] ="properties.activation ">
31
31
32
32
@for (contact of contacts; track contact.id) {
33
- < igc-tab [selected] ="contact.id === selectedTabId " [panel] ="contact.i ">
34
- @if(!properties.hideIcon) {
35
- < igx -icon> folder</ igx -icon>
33
+ < igc-tab [disabled] =" properties.disabled " [ selected] ="contact.id === selectedTabId " [panel] ="contact.i ">
34
+ @if (!properties.hideIcon) {
35
+ < igc -icon name =" folder " slot =" label " > </ igc -icon>
36
36
}
37
- @if(!properties.hideText) {
38
- < span > {{ contact.text }}</ span >
37
+
38
+ @if (!properties.hideText) {
39
+ < span slot ="label "> {{ contact.text }}</ span >
39
40
}
40
- </ igc-tab >
41
41
42
- < igc-tab-panel [id] ="contact.id ">
43
42
Phone: {{ contact.phone }}
44
- </ igc-tab-panel >
43
+ </ igc-tab >
45
44
}
46
45
</ igc-tabs >
47
46
</ div >
Original file line number Diff line number Diff line change @@ -20,14 +20,25 @@ import {
20
20
defineComponents ,
21
21
IgcTabsComponent ,
22
22
IgcTabComponent ,
23
- IgcTabPanelComponent ,
23
+ registerIconFromText
24
24
} from 'igniteui-webcomponents' ;
25
25
import {
26
26
PropertyChangeService ,
27
27
Properties ,
28
28
} from '../properties-panel/property-change.service' ;
29
29
30
- defineComponents ( IgcTabsComponent , IgcTabComponent , IgcTabPanelComponent ) ;
30
+ defineComponents ( IgcTabsComponent , IgcTabComponent ) ;
31
+
32
+ const icons = [
33
+ {
34
+ name : 'folder' ,
35
+ url : '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e3e3e3"><path d="M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Z"/></svg>'
36
+ }
37
+ ] ;
38
+
39
+ icons . forEach ( ( icon ) => {
40
+ registerIconFromText ( icon . name , icon . url ) ;
41
+ } ) ;
31
42
32
43
@Component ( {
33
44
selector : 'app-tabs-showcase-sample' ,
You can’t perform that action at this time.
0 commit comments