Fix/config obj list (#1351)

* remove deprecated build check

* fixed config types for object and union; cleaned up mock api fixtures

* make form object element transition times consistent and emit expand event on list object items
This commit is contained in:
Lucy C
2022-03-23 09:39:55 -06:00
committed by GitHub
parent 5e0b83fa4a
commit 39a2685506
8 changed files with 67 additions and 303 deletions

View File

@@ -246,7 +246,7 @@
transform: objectListDisplay[entry.key][i].expanded
? 'rotate(0deg)'
: 'rotate(180deg)',
transition: 'transform 0.4s ease-out'
transition: 'transform 0.25s ease-out'
}"
></ion-icon>
</ion-item>
@@ -257,8 +257,7 @@
'max-height': objectListDisplay[entry.key][i].height,
overflow: 'hidden',
'transition-property': 'max-height',
'transition-duration': '.5s',
'transition-delay': '.05s'
'transition-duration': '.25s'
}"
>
<form-object

View File

@@ -152,6 +152,7 @@ export class FormObjectComponent {
pauseFor(200).then(() => {
this.objectListDisplay[key][0].height = this.getDocSize(key, 0)
this.onExpand.emit()
})
}
}
@@ -171,6 +172,7 @@ export class FormObjectComponent {
.expanded
? this.getDocSize(key, i)
: '0px'
this.onExpand.emit()
}
updateLabel(key: string, i: number, displayAs: string) {