@zhangt58/svelte-vtable 0.3.4 → 0.3.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.
|
@@ -407,10 +407,11 @@
|
|
|
407
407
|
type="checkbox"
|
|
408
408
|
checked={isSelected}
|
|
409
409
|
onchange={() => ontoggle && ontoggle(value)}
|
|
410
|
-
class="w-4 h-4 shrink-0 cursor-pointer
|
|
410
|
+
class="w-4 h-4 shrink-0 cursor-pointer rounded border-2 border-gray-300 dark:border-gray-500 bg-white dark:bg-gray-700 checked:bg-blue-500 checked:border-blue-500 dark:checked:bg-sky-400 dark:checked:border-sky-400 focus:ring-1 focus:ring-blue-500 dark:focus:ring-sky-400"
|
|
411
411
|
/>
|
|
412
412
|
<span
|
|
413
413
|
class="flex-1 text-sm text-gray-700 dark:text-gray-300 select-none min-w-0 overflow-hidden text-ellipsis"
|
|
414
|
+
title={displayValue}
|
|
414
415
|
>{displayValue}</span
|
|
415
416
|
>
|
|
416
417
|
{#if showCounts && column.counts && column.counts[value] !== undefined}
|
|
@@ -433,10 +434,11 @@
|
|
|
433
434
|
type="checkbox"
|
|
434
435
|
checked={isSelected}
|
|
435
436
|
onchange={() => ontoggle && ontoggle(value)}
|
|
436
|
-
class="w-4 h-4 shrink-0 cursor-pointer
|
|
437
|
+
class="w-4 h-4 shrink-0 cursor-pointer rounded border-2 border-gray-300 dark:border-gray-500 bg-white dark:bg-gray-700 checked:bg-blue-500 checked:border-blue-500 dark:checked:bg-sky-400 dark:checked:border-sky-400 focus:ring-1 focus:ring-blue-500 dark:focus:ring-sky-400"
|
|
437
438
|
/>
|
|
438
439
|
<span
|
|
439
440
|
class="flex-1 text-sm text-gray-700 dark:text-gray-300 select-none min-w-0 overflow-hidden text-ellipsis"
|
|
441
|
+
title={displayValue}
|
|
440
442
|
>{displayValue}</span
|
|
441
443
|
>
|
|
442
444
|
{#if showCounts && column.counts && column.counts[value] !== undefined}
|