@r2digisolutions/ui 0.33.0 → 0.33.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.
|
@@ -345,6 +345,7 @@
|
|
|
345
345
|
|
|
346
346
|
<div class="group relative">
|
|
347
347
|
<!-- Fila principal -->
|
|
348
|
+
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
|
348
349
|
<div
|
|
349
350
|
role="row"
|
|
350
351
|
tabindex="0"
|
|
@@ -377,7 +378,7 @@
|
|
|
377
378
|
{@const value = col.accessor ? col.accessor(row) : (row as any)[col.id]}
|
|
378
379
|
{@const sticky = stickyOffsets[col.id as keyof T]}
|
|
379
380
|
<div
|
|
380
|
-
class={`flex items-center border-r border-neutral-200/60 px-3 ${
|
|
381
|
+
class={`flex items-center border-r border-neutral-200/60 px-3 text-black dark:text-neutral-50${
|
|
381
382
|
density === 'compact' ? 'py-1.5' : 'py-2.5'
|
|
382
383
|
} dark:border-neutral-800/70 ${
|
|
383
384
|
col.sticky === 'left'
|
|
@@ -397,7 +398,7 @@
|
|
|
397
398
|
})}
|
|
398
399
|
{:else}
|
|
399
400
|
<span
|
|
400
|
-
class={`line-clamp-2 ${
|
|
401
|
+
class={`line-clamp-2 text-black dark:text-neutral-50 ${
|
|
401
402
|
col.align === 'right'
|
|
402
403
|
? 'ml-auto text-right'
|
|
403
404
|
: col.align === 'center'
|
|
@@ -500,6 +501,7 @@
|
|
|
500
501
|
: (row as any)[firstCol.id]
|
|
501
502
|
: null}
|
|
502
503
|
{@const restCols = cols.slice(1)}
|
|
504
|
+
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
|
503
505
|
<div
|
|
504
506
|
class={`group relative rounded-2xl border border-neutral-200/80 bg-white/80 p-3 text-[11px] text-neutral-800 shadow-sm ring-0 transition-all hover:border-purple-400/70 hover:shadow-md dark:border-neutral-800/80 dark:bg-neutral-900/80 dark:text-neutral-50 ${
|
|
505
507
|
controller.selectedIds.has(id)
|
|
@@ -522,7 +524,7 @@
|
|
|
522
524
|
</div>
|
|
523
525
|
{/if}
|
|
524
526
|
|
|
525
|
-
<div class="mb-2 pr-6">
|
|
527
|
+
<div class="mb-2 pr-6 text-black dark:text-neutral-50">
|
|
526
528
|
{#if cell && firstCol}
|
|
527
529
|
{@render cell({
|
|
528
530
|
row,
|