@lobb-js/studio 0.40.0 → 0.41.0
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as Popover from "../ui/popover/index.js";
|
|
5
5
|
import * as Select from "../ui/select/index.js";
|
|
6
6
|
import { GripVertical, Plus, X } from "lucide-svelte";
|
|
7
|
-
import Button
|
|
7
|
+
import Button from "../ui/button/button.svelte";
|
|
8
8
|
import { getStudioContext } from "../../context";
|
|
9
9
|
import { getFieldIcon } from "./utils";
|
|
10
10
|
import { dndzone } from "svelte-dnd-action";
|
|
@@ -205,17 +205,13 @@
|
|
|
205
205
|
</div>
|
|
206
206
|
{/if}
|
|
207
207
|
</div>
|
|
208
|
-
<div class="flex justify-between
|
|
208
|
+
<div class="flex justify-between px-3 pb-3">
|
|
209
209
|
{#if getFieldNames().length}
|
|
210
210
|
<Popover.Root bind:open={popoverOpen}>
|
|
211
211
|
<Popover.Trigger
|
|
212
|
-
class=
|
|
213
|
-
variant: "ghost",
|
|
214
|
-
size: "sm",
|
|
215
|
-
class: "text-muted-foreground",
|
|
216
|
-
})}
|
|
212
|
+
class="inline-flex w-fit items-center gap-1.5 rounded-md px-2 py-1 text-xs text-muted-foreground hover:text-foreground"
|
|
217
213
|
>
|
|
218
|
-
<Plus />
|
|
214
|
+
<Plus size="14" />
|
|
219
215
|
Add a sort rule
|
|
220
216
|
</Popover.Trigger>
|
|
221
217
|
<Popover.Content class="w-64 p-2">
|
|
@@ -231,7 +227,7 @@
|
|
|
231
227
|
</Popover.Content>
|
|
232
228
|
</Popover.Root>
|
|
233
229
|
{:else}
|
|
234
|
-
<div class="
|
|
230
|
+
<div class="px-2 py-1 text-xs text-muted-foreground">
|
|
235
231
|
All columns have been added
|
|
236
232
|
</div>
|
|
237
233
|
{/if}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as Popover from "../ui/popover/index.js";
|
|
5
5
|
import * as Select from "../ui/select/index.js";
|
|
6
6
|
import { GripVertical, Plus, X } from "lucide-svelte";
|
|
7
|
-
import Button
|
|
7
|
+
import Button from "../ui/button/button.svelte";
|
|
8
8
|
import { getStudioContext } from "../../context";
|
|
9
9
|
import { getFieldIcon } from "./utils";
|
|
10
10
|
import { dndzone } from "svelte-dnd-action";
|
|
@@ -205,17 +205,13 @@
|
|
|
205
205
|
</div>
|
|
206
206
|
{/if}
|
|
207
207
|
</div>
|
|
208
|
-
<div class="flex justify-between
|
|
208
|
+
<div class="flex justify-between px-3 pb-3">
|
|
209
209
|
{#if getFieldNames().length}
|
|
210
210
|
<Popover.Root bind:open={popoverOpen}>
|
|
211
211
|
<Popover.Trigger
|
|
212
|
-
class=
|
|
213
|
-
variant: "ghost",
|
|
214
|
-
size: "sm",
|
|
215
|
-
class: "text-muted-foreground",
|
|
216
|
-
})}
|
|
212
|
+
class="inline-flex w-fit items-center gap-1.5 rounded-md px-2 py-1 text-xs text-muted-foreground hover:text-foreground"
|
|
217
213
|
>
|
|
218
|
-
<Plus />
|
|
214
|
+
<Plus size="14" />
|
|
219
215
|
Add a sort rule
|
|
220
216
|
</Popover.Trigger>
|
|
221
217
|
<Popover.Content class="w-64 p-2">
|
|
@@ -231,7 +227,7 @@
|
|
|
231
227
|
</Popover.Content>
|
|
232
228
|
</Popover.Root>
|
|
233
229
|
{:else}
|
|
234
|
-
<div class="
|
|
230
|
+
<div class="px-2 py-1 text-xs text-muted-foreground">
|
|
235
231
|
All columns have been added
|
|
236
232
|
</div>
|
|
237
233
|
{/if}
|