diff --git a/public/assets/css/designsystem_formbuilder.css b/public/assets/css/designsystem_formbuilder.css index 84d6d57a..5f4f360e 100644 --- a/public/assets/css/designsystem_formbuilder.css +++ b/public/assets/css/designsystem_formbuilder.css @@ -26,6 +26,10 @@ border-radius: 2px; box-sizing: border-box; } +.formbuilder > label > img { + max-height: 110px; + width: 100%; +} .formbuilder .fileupload-image object { background: var(--bg-color); height: 300px; diff --git a/public/assets/lib/animate.d.ts b/public/assets/lib/animate.d.ts index e80cc351..e0796906 100644 --- a/public/assets/lib/animate.d.ts +++ b/public/assets/lib/animate.d.ts @@ -12,7 +12,7 @@ type AnimationFrames = { height?: string; }; -export function transition($node: HTMLElement, opts: TransitionEnter | TransitionLeave): HTMLElement; +export function transition($node: HTMLElement, opts?: TransitionEnter | TransitionLeave): HTMLElement; export function animate($node: HTMLElement | null, opts: { time: number; diff --git a/public/assets/lib/rx.d.ts b/public/assets/lib/rx.d.ts index f6e15a39..027ce8a4 100644 --- a/public/assets/lib/rx.d.ts +++ b/public/assets/lib/rx.d.ts @@ -1,11 +1,11 @@ -import type { Observable, Observer } from "rx-core"; +import type { Observer } from "rx-core"; import { - fromEvent, startWith, + Observable, fromEvent, startWith, catchError, tap, first, of, map, mapTo, filter, mergeMap, EMPTY, empty, switchMapTo, switchMap, - BehaviorSubject, Subject, + BehaviorSubject, Subject, ReplaySubject, pipe, share, toArray, distinctUntilChanged, from, combineLatest, shareReplay, repeat, interval, merge, debounceTime, delay, concatMap, distinct, scan, throwError, @@ -16,7 +16,9 @@ import * as rxajax from "./vendor/rxjs-ajax.min.js"; declare const rxjs: { of: typeof of, from: typeof from, + Observable: typeof Observable, BehaviorSubject: typeof BehaviorSubject, + ReplaySubject: typeof ReplaySubject, Subject: typeof Subject, catchError: typeof catchError, combineLatest: typeof combineLatest,