($hoveredRowId = BlankRowID)}
+ on:mouseleave={() => ($hoveredRowId = null)}
+ on:click={() => dispatch("add-row-inline", true)}
+ />
+ {/if}
@@ -35,4 +59,15 @@
overflow: hidden;
flex: 1 1 auto;
}
+ .blank {
+ height: var(--row-height);
+ background: var(--cell-background);
+ border-bottom: var(--cell-border);
+ border-right: var(--cell-border);
+ position: absolute;
+ }
+ .blank.highlighted {
+ background: var(--cell-background-hover);
+ cursor: pointer;
+ }
diff --git a/packages/frontend-core/src/components/grid/layout/NewRow.svelte b/packages/frontend-core/src/components/grid/layout/NewRow.svelte
deleted file mode 100644
index a40104b8d2..0000000000
--- a/packages/frontend-core/src/components/grid/layout/NewRow.svelte
+++ /dev/null
@@ -1,228 +0,0 @@
-
-
-
- ($hoveredRowId = rowId)}
- on:mouseleave={() => ($hoveredRowId = null)}
->
-
-
-
-
-
-
- {#if $config.allowExpandRows}
-
-
-
- {/if}
-
-
- {#if $stickyColumn}
- {@const cellId = `${rowId}-${$stickyColumn.name}`}
-
- {/if}
-
-
-
- {#each $renderedColumns as column}
- {@const cellId = `${rowId}-${column.name}`}
- {#key cellId}
-
- {/key}
- {/each}
-
-
- {#if Object.keys(newRow || {}).length > 1}
-
-
-
-
- {/if}
-
-
-
diff --git a/packages/frontend-core/src/components/grid/layout/NewRowBottom.svelte b/packages/frontend-core/src/components/grid/layout/NewRowBottom.svelte
deleted file mode 100644
index 709b7674c8..0000000000
--- a/packages/frontend-core/src/components/grid/layout/NewRowBottom.svelte
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-