From 466a24ac10179943ef7bc15b2841750cb32e28d4 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 7 Oct 2023 20:01:49 +0200 Subject: [PATCH] fix(core): update --- ts_web/00_commitinfo_data.ts | 2 +- ts_web/elements/dees-table.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 5f694d4..df9b558 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@design.estate/dees-catalog', - version: '1.0.218', + version: '1.0.219', description: 'website for lossless.com' } diff --git a/ts_web/elements/dees-table.ts b/ts_web/elements/dees-table.ts index e11ada3..dfe21ea 100644 --- a/ts_web/elements/dees-table.ts +++ b/ts_web/elements/dees-table.ts @@ -269,7 +269,7 @@ export class DeesTable extends DeesElement { left: 0px; position: absolute; background: #fa610140; - color: inherit; + color: ${cssManager.bdTheme('#333', '#fff')}; font-family: inherit; font-size: inherit; font-weight: inherit; @@ -606,6 +606,8 @@ export class DeesTable extends DeesElement { async handleCellEditing(event: Event, itemArg: T, key: string) { const domtools = await this.domtoolsPromise; const target = event.target as HTMLElement; + const originalColor = target.style.color; + target.style.color = 'transparent'; const transformedItem = this.displayFunction(itemArg); const initialValue = (transformedItem[key] as unknown as string) || ''; // Create an input element @@ -621,6 +623,7 @@ export class DeesTable extends DeesElement { itemArg[key] = input.value as any; // Convert string to T (you might need better type casting depending on your data structure) } input.remove(); + target.style.color = originalColor; this.requestUpdate(); };