@@ -13,7 +13,7 @@ import { Modal, ModalService } from "../";
1313 selector : "app-sample-modal" ,
1414 template : `
1515 <ibm-modal>
16- <ibm-modal-header (closeSelect)="closeModal()">Header text </ibm-modal-header>
16+ <ibm-modal-header (closeSelect)="closeModal()">header label </ibm-modal-header>
1717 <section class="bx--modal-content">
1818 <h1>Sample modal works.</h1>
1919 <p class="bx--modal-content__text">{{modalText}}</p>
@@ -65,7 +65,7 @@ class ModalStory {
6565class AlertModalStory {
6666
6767 @Input ( ) modalType : string ;
68- @Input ( ) headerText : string ;
68+ @Input ( ) headerLabel : string ;
6969 @Input ( ) title : string ;
7070 @Input ( ) text : string ;
7171 @Input ( ) buttons : any ;
@@ -75,7 +75,7 @@ class AlertModalStory {
7575 openModal ( ) {
7676 this . modalService . show ( {
7777 modalType : this . modalType ,
78- headerText : this . headerText ,
78+ headerLabel : this . headerLabel ,
7979 title : this . title ,
8080 text : this . text ,
8181 buttons : this . buttons
@@ -128,13 +128,13 @@ storiesOf("Modal", module)
128128 . addDecorator ( withKnobs )
129129 . add ( "Transactional" , ( ) => ( {
130130 template : `
131- <app-alert-modal-story [modalType]="modalType" [headerText ]="headerText " [title]="title" [text]="text"
131+ <app-alert-modal-story [modalType]="modalType" [headerLabel ]="headerLabel " [title]="title" [text]="text"
132132 [buttons]="buttons"></app-alert-modal-story>
133133 <ibm-modal-placeholder></ibm-modal-placeholder>
134134 ` ,
135135 props : {
136136 modalType : select ( "modalType" , [ "default" , "danger" ] , "default" ) ,
137- headerText : text ( "headerText " , "optional header text " ) ,
137+ headerLabel : text ( "headerLabel " , "optional header label " ) ,
138138 title : text ( "title" , "Delete service from application" ) ,
139139 text : text ( "text" , `Are you sure you want to remove the Speech to Text service from the node-test app?` ) ,
140140 buttons : [ {
@@ -165,13 +165,13 @@ storiesOf("Modal", module)
165165 . addDecorator ( withKnobs )
166166 . add ( "Passive" , ( ) => ( {
167167 template : `
168- <app-alert-modal-story [modalType]="modalType" [headerText ]="headerText " [title]="title" [text]="text"
168+ <app-alert-modal-story [modalType]="modalType" [headerLabel ]="headerLabel " [title]="title" [text]="text"
169169 ></app-alert-modal-story>
170170 <ibm-modal-placeholder></ibm-modal-placeholder>
171171 ` ,
172172 props : {
173173 modalType : select ( "modalType" , [ "default" , "danger" ] , "default" ) ,
174- headerText : text ( "headerText " , "optional header text " ) ,
174+ headerLabel : text ( "headerLabel " , "optional header label " ) ,
175175 title : text ( "title" , "Passive modal title" ) ,
176176 text : text ( "text" , "Passive modal notifications should only appear if there is an action " +
177177 "the user needs to address immediately. Passive modal notifications are persistent on screen" ) ,
0 commit comments