includio-cms 0.36.5 → 0.36.6
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/API.md
CHANGED
package/DOCS.md
CHANGED
|
@@ -276,8 +276,8 @@
|
|
|
276
276
|
let blockPickerOpen = $state(false);
|
|
277
277
|
</script>
|
|
278
278
|
|
|
279
|
-
<div class="flex items-center justify-between gap-4">
|
|
280
|
-
<div class="flex items-center gap-2">
|
|
279
|
+
<div class="flex flex-wrap items-center justify-between gap-x-4 gap-y-2">
|
|
280
|
+
<div class="flex min-w-0 items-center gap-2">
|
|
281
281
|
<RequiredLabel required={field.minItems !== undefined && field.minItems > 0} class="text-lg"
|
|
282
282
|
>{getLocalizedLabel(field.label, interfaceLanguage.current)}</RequiredLabel
|
|
283
283
|
>
|
|
@@ -353,10 +353,10 @@
|
|
|
353
353
|
{#if objectField}
|
|
354
354
|
<Accordion.Item value={index.toString()} class="overflow-hidden rounded-md border-0" data-depth={depth + 1}>
|
|
355
355
|
<Accordion.Trigger
|
|
356
|
-
class="items-center rounded-md border bg-card/60 px-4 text-base font-normal data-[state=open]:rounded-b-none"
|
|
356
|
+
class="min-w-0 items-center rounded-md border bg-card/60 px-4 text-base font-normal data-[state=open]:rounded-b-none"
|
|
357
357
|
>
|
|
358
|
-
<div class="flex grow items-center justify-between gap-4">
|
|
359
|
-
<div class="flex items-center gap-4">
|
|
358
|
+
<div class="flex min-w-0 grow items-center justify-between gap-4">
|
|
359
|
+
<div class="flex min-w-0 items-center gap-4">
|
|
360
360
|
{#if !isFixedLength || fixedCount > 1}
|
|
361
361
|
<!-- svelte-ignore a11y_no_static_element_interactions a11y_click_events_have_key_events -->
|
|
362
362
|
<div
|
|
@@ -371,12 +371,12 @@
|
|
|
371
371
|
<GripVertical class="h-4 w-4" />
|
|
372
372
|
</div>
|
|
373
373
|
{/if}
|
|
374
|
-
<span>{index < 10 ? '0' : ''}{index + 1}</span>
|
|
375
|
-
<Badge variant="outline"
|
|
374
|
+
<span class="shrink-0">{index < 10 ? '0' : ''}{index + 1}</span>
|
|
375
|
+
<Badge variant="outline" class="shrink-0"
|
|
376
376
|
>{getLocalizedLabel(objectField.label, interfaceLanguage.current) ||
|
|
377
377
|
objectField.slug}</Badge
|
|
378
378
|
>
|
|
379
|
-
<span>{getAccordionLabel($value[index])}</span>
|
|
379
|
+
<span class="truncate">{getAccordionLabel($value[index])}</span>
|
|
380
380
|
</div>
|
|
381
381
|
|
|
382
382
|
{#if !(isFixedLength && fixedCount <= 1)}
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
<ChevronDown class="h-3.5 w-3.5" />
|
|
356
356
|
</button>
|
|
357
357
|
{/if}
|
|
358
|
-
<span class="flex-1 truncate">{item.label}</span>
|
|
358
|
+
<span class="min-w-0 flex-1 truncate">{item.label}</span>
|
|
359
359
|
<button
|
|
360
360
|
type="button"
|
|
361
361
|
class="shrink-0 text-muted-foreground hover:text-destructive"
|