@heyramzi/ui 2.19.1 → 2.19.2
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heyramzi/ui",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.2",
|
|
4
4
|
"description": "Svelte 5 UI for apps: primitives, effects and animations, plus work (tasks and docs), charts, slides, an editor, onboarding and a canvas as subpaths.",
|
|
5
5
|
"homepage": "https://ui.heyramzi.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -301,8 +301,9 @@
|
|
|
301
301
|
{#if title}
|
|
302
302
|
<h2 class="text-xs font-medium tracking-wide text-muted-foreground uppercase">{title}</h2>
|
|
303
303
|
{/if}
|
|
304
|
+
<!-- Labels size to their text, capped at 45%; the dt's min-w-20 is the 5rem floor. min() can't take max-content, so a min() template is dropped whole. -->
|
|
304
305
|
<dl
|
|
305
|
-
class="grid grid-cols-[
|
|
306
|
+
class="grid grid-cols-[fit-content(45%)_minmax(0,1fr)] items-start gap-x-4 gap-y-2.5"
|
|
306
307
|
>
|
|
307
308
|
{#each shown as row, index (row.divider ? `divider-${index}` : keyOf(row))}
|
|
308
309
|
{#if row.divider}
|
|
@@ -312,7 +313,7 @@
|
|
|
312
313
|
{@const long = row.input === "longtext"}
|
|
313
314
|
<dt
|
|
314
315
|
class={cn(
|
|
315
|
-
"flex min-h-7 min-w-
|
|
316
|
+
"flex min-h-7 min-w-20 items-center gap-2 text-sm [overflow-wrap:anywhere] text-muted-foreground",
|
|
316
317
|
long && "col-span-2 min-h-0",
|
|
317
318
|
)}
|
|
318
319
|
>
|