@@ -119,7 +119,7 @@ export const ATabsSettingsUI = ({ selectedComponent, setComponent }: any) => {
119
119
} ;
120
120
121
121
export const ATabsCodeUI = ( { selectedComponent, setComponent } : any ) => < TextInput
122
- id = " input-name"
122
+ id = ' input-name'
123
123
value = { selectedComponent . codeContext ?. name }
124
124
labelText = 'Input name'
125
125
onChange = { ( event : any ) => {
@@ -146,10 +146,10 @@ export const ATabs = ({
146
146
rejectDrop = { true }
147
147
componentObj = { componentObj }
148
148
{ ...rest } >
149
- < Tabs className = { componentObj . cssClasses ?. map ( ( cc : any ) => cc . id ) . join ( ' ' ) } >
149
+ < Tabs className = { componentObj . cssClasses ?. map ( ( cc : any ) => cc . id ) . join ( ' ' ) } >
150
150
{
151
151
componentObj . tabType === 'line' ?
152
- < TabList aria-label = " List of tabs" >
152
+ < TabList aria-label = ' List of tabs' >
153
153
{
154
154
componentObj . items . map ( ( step : any , index : number ) => < Tab
155
155
onClick = { ( ) => componentObj . selectedTab = index }
@@ -194,8 +194,8 @@ export const ATabs = ({
194
194
}
195
195
</ Tab > )
196
196
}
197
- </ TabList > :
198
- < TabList aria-label = " List of tabs" contained >
197
+ </ TabList > :
198
+ < TabList aria-label = ' List of tabs' contained >
199
199
{
200
200
componentObj . items . map ( ( step : any , index : number ) => < Tab
201
201
onClick = { ( ) => componentObj . selectedTab = index }
@@ -297,7 +297,9 @@ export const componentInfo: ComponentInfo = {
297
297
codeExport : {
298
298
angular : {
299
299
latest : {
300
- inputs : ( { json } ) => `@Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } FollowFocus = ${ json . isFollowFocused ? json . isFollowFocused : false } ;
300
+ inputs : ( { json } ) => `
301
+ @Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } FollowFocus = ${
302
+ json . isFollowFocused ? json . isFollowFocused : false } ;
301
303
@Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } CacheActive = ${ json . isCacheActive ? json . isCacheActive : false } ;
302
304
@Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } isNavigation = ${ json . isNavigation ? json . isNavigation : true } ;
303
305
@Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } TabType: any = "${ json . tabType ? json . tabType : 'contained' } ";` ,
@@ -315,7 +317,8 @@ export const componentInfo: ComponentInfo = {
315
317
[disabled]=${ step . disabled } >
316
318
${ step . items && step . items . length > 0
317
319
? `<section>
318
- ${ step . items . map ( ( element : any ) => jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
320
+ ${ step . items . map ( ( element : any ) =>
321
+ jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
319
322
</section>`
320
323
: '' }
321
324
</ibm-tab>`
@@ -324,7 +327,8 @@ export const componentInfo: ComponentInfo = {
324
327
}
325
328
} ,
326
329
v10 : {
327
- inputs : ( { json } ) => `@Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } FollowFocus = ${ json . isFollowFocused ? json . isFollowFocused : false } ;
330
+ inputs : ( { json } ) => `
331
+ @Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } FollowFocus = ${ json . isFollowFocused ? json . isFollowFocused : false } ;
328
332
@Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } CacheActive = ${ json . isCacheActive ? json . isCacheActive : false } ;
329
333
@Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } isNavigation = ${ json . isNavigation ? json . isNavigation : true } ;
330
334
@Input() ${ nameStringToVariableString ( json . codeContext ?. name ) } TabType: any = "${ json . tabType ? json . tabType : 'contained' } ";` ,
@@ -342,7 +346,8 @@ export const componentInfo: ComponentInfo = {
342
346
[disabled]=${ step . disabled } >
343
347
${ step . items && step . items . length > 0
344
348
? `<section>
345
- ${ step . items . map ( ( element : any ) => jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
349
+ ${ step . items . map ( ( element : any ) =>
350
+ jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
346
351
</section>`
347
352
: '' }
348
353
</ibm-tab>`
@@ -370,7 +375,8 @@ export const componentInfo: ComponentInfo = {
370
375
${ step . labelText }
371
376
${ step . items && step . items . length > 0
372
377
? `<section>
373
- ${ step . items . map ( ( element : any ) => jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
378
+ ${ step . items . map ( ( element : any ) =>
379
+ jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
374
380
</section>`
375
381
: '' }
376
382
</Tab>`
@@ -390,7 +396,8 @@ export const componentInfo: ComponentInfo = {
390
396
${ step . labelText }
391
397
${ step . items && step . items . length > 0
392
398
? `<section>
393
- ${ step . items . map ( ( element : any ) => jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
399
+ ${ step . items . map ( ( element : any ) =>
400
+ jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
394
401
</section>`
395
402
: '' }
396
403
</Tab>`
@@ -418,7 +425,8 @@ export const componentInfo: ComponentInfo = {
418
425
${ step . labelText }
419
426
${ step . items && step . items . length > 0
420
427
? `<section>
421
- ${ step . items . map ( ( element : any ) => jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
428
+ ${ step . items . map ( ( element : any ) =>
429
+ jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
422
430
</section>`
423
431
: '' }
424
432
</Tab>`
@@ -438,7 +446,8 @@ export const componentInfo: ComponentInfo = {
438
446
${ step . labelText }
439
447
${ step . items && step . items . length > 0
440
448
? `<section>
441
- ${ step . items . map ( ( element : any ) => jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
449
+ ${ step . items . map ( ( element : any ) =>
450
+ jsonToTemplate ( element , fragments , customComponentsCollections ) ) . join ( '\n' ) }
442
451
</section>`
443
452
: '' }
444
453
</Tab>`
0 commit comments