fix(core): update

This commit is contained in:
2023-09-07 02:57:30 +02:00
parent d4eae1cd9e
commit 783c10479f
6 changed files with 260 additions and 40 deletions

View File

@@ -2,7 +2,7 @@ import { DeesElement, property, html, customElement, domtools, type TemplateResu
import { Deferred } from '@push.rocks/smartpromise';
import type pdfjsTypes from 'pdfjs-dist';
// import type pdfjsTypes from 'pdfjs-dist';
declare global {
interface HTMLElementTagNameMap {
@@ -51,7 +51,7 @@ export class DeesPdf extends DeesElement {
}
public static pdfJsReady: Promise<any>;
public static pdfjsLib: typeof pdfjsTypes;
public static pdfjsLib: any // typeof pdfjsTypes;
public async connectedCallback() {
super.connectedCallback();
if (!DeesPdf.pdfJsReady) {

View File

View File

@@ -192,7 +192,7 @@ export class DeesTable<T> extends DeesElement {
color: ${cssManager.bdTheme('#333', '#fff')};
font-family: 'Mona Sans', 'Inter', sans-serif;
font-weight: 400;
font-size: 16px;
font-size: 14px;
padding: 16px;
display: block;
width: 100%;