@kernhq/module-quire 0.9.0 → 0.9.1
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/package.json
CHANGED
|
@@ -143,9 +143,9 @@ const laneRule = (lane: Lane) =>
|
|
|
143
143
|
</EmptyState>
|
|
144
144
|
</div>
|
|
145
145
|
{:else}
|
|
146
|
-
<div class="board">
|
|
146
|
+
<div class="board" data-testid="database-board">
|
|
147
147
|
{#each lanes as lane, index (lane.id)}
|
|
148
|
-
<section class="col">
|
|
148
|
+
<section class="col" data-lane={lane.id}>
|
|
149
149
|
<header class="head">
|
|
150
150
|
{#if lane.option}
|
|
151
151
|
<OptionChip option={lane.option} compact />
|
|
@@ -180,7 +180,7 @@ const laneRule = (lane: Lane) =>
|
|
|
180
180
|
onfinalize={(e) => finalize(index, e)}
|
|
181
181
|
>
|
|
182
182
|
{#each lane.rows as row (row.id)}
|
|
183
|
-
<article class="card" class:shadow={isShadow(row)}>
|
|
183
|
+
<article class="card" class:shadow={isShadow(row)} data-testid="board-card">
|
|
184
184
|
<div class="card-top">
|
|
185
185
|
<h3 class="card-title">{row.title.trim() || t('untitled')}</h3>
|
|
186
186
|
<DropdownMenu items={cardMenu(row, lane)}>
|
|
@@ -158,7 +158,7 @@ const rowMenu = (row: Row): MenuItem[] => [
|
|
|
158
158
|
</script>
|
|
159
159
|
|
|
160
160
|
<div class="scroll">
|
|
161
|
-
<div class="rail" style:min-width="{minWidth}px">
|
|
161
|
+
<div class="rail" data-testid="database-table" style:min-width="{minWidth}px">
|
|
162
162
|
<Table columns={liveTemplate} dense>
|
|
163
163
|
<TableHeader>
|
|
164
164
|
<TableCell header>
|
|
@@ -206,7 +206,7 @@ const rowMenu = (row: Row): MenuItem[] => [
|
|
|
206
206
|
</TableHeader>
|
|
207
207
|
|
|
208
208
|
{#each rows as row (row.id)}
|
|
209
|
-
<TableRow>
|
|
209
|
+
<TableRow data-testid="database-row" data-row-id={row.id}>
|
|
210
210
|
<TableCell class="title-cell">
|
|
211
211
|
{#if canEdit}
|
|
212
212
|
<input
|