@design.estate/dees-catalog 1.0.218 → 1.0.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_bundle/bundle.js +3 -3
- package/dist_bundle/bundle.js.map +3 -3
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/dees-table.js +5 -2
- package/dist_watch/bundle.js +4 -1
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/dees-table.ts +4 -1
package/package.json
CHANGED
|
@@ -269,7 +269,7 @@ export class DeesTable<T> extends DeesElement {
|
|
|
269
269
|
left: 0px;
|
|
270
270
|
position: absolute;
|
|
271
271
|
background: #fa610140;
|
|
272
|
-
color:
|
|
272
|
+
color: ${cssManager.bdTheme('#333', '#fff')};
|
|
273
273
|
font-family: inherit;
|
|
274
274
|
font-size: inherit;
|
|
275
275
|
font-weight: inherit;
|
|
@@ -606,6 +606,8 @@ export class DeesTable<T> extends DeesElement {
|
|
|
606
606
|
async handleCellEditing(event: Event, itemArg: T, key: string) {
|
|
607
607
|
const domtools = await this.domtoolsPromise;
|
|
608
608
|
const target = event.target as HTMLElement;
|
|
609
|
+
const originalColor = target.style.color;
|
|
610
|
+
target.style.color = 'transparent';
|
|
609
611
|
const transformedItem = this.displayFunction(itemArg);
|
|
610
612
|
const initialValue = (transformedItem[key] as unknown as string) || '';
|
|
611
613
|
// Create an input element
|
|
@@ -621,6 +623,7 @@ export class DeesTable<T> extends DeesElement {
|
|
|
621
623
|
itemArg[key] = input.value as any; // Convert string to T (you might need better type casting depending on your data structure)
|
|
622
624
|
}
|
|
623
625
|
input.remove();
|
|
626
|
+
target.style.color = originalColor;
|
|
624
627
|
this.requestUpdate();
|
|
625
628
|
};
|
|
626
629
|
|