@placeholderco/placeholder-ui 2.6.4 → 2.6.5
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/dist/ui/Table.svelte +16 -3
- package/package.json +1 -1
package/dist/ui/Table.svelte
CHANGED
|
@@ -475,7 +475,11 @@
|
|
|
475
475
|
}}
|
|
476
476
|
>
|
|
477
477
|
{#if expandable}
|
|
478
|
-
<td
|
|
478
|
+
<td
|
|
479
|
+
class="table-cell expand-cell"
|
|
480
|
+
onclick={(e) => e.stopPropagation()}
|
|
481
|
+
onauxclick={(e) => e.stopPropagation()}
|
|
482
|
+
>
|
|
479
483
|
{#if rowCanExpand(row, index)}
|
|
480
484
|
<button
|
|
481
485
|
type="button"
|
|
@@ -491,7 +495,11 @@
|
|
|
491
495
|
</td>
|
|
492
496
|
{/if}
|
|
493
497
|
{#if selectable && rowKey}
|
|
494
|
-
<td
|
|
498
|
+
<td
|
|
499
|
+
class="table-cell checkbox-cell"
|
|
500
|
+
onclick={(e) => e.stopPropagation()}
|
|
501
|
+
onauxclick={(e) => e.stopPropagation()}
|
|
502
|
+
>
|
|
495
503
|
<Checkbox
|
|
496
504
|
controlled
|
|
497
505
|
checked={isRowSelected(row)}
|
|
@@ -515,7 +523,12 @@
|
|
|
515
523
|
</td>
|
|
516
524
|
{/each}
|
|
517
525
|
{#if buttons}
|
|
518
|
-
|
|
526
|
+
<!-- Keep action-button clicks from triggering row click / navigation / selection -->
|
|
527
|
+
<td
|
|
528
|
+
class="table-cell center actions-cell"
|
|
529
|
+
onclick={(e) => e.stopPropagation()}
|
|
530
|
+
onauxclick={(e) => e.stopPropagation()}
|
|
531
|
+
>
|
|
519
532
|
{@render buttons(row, index)}
|
|
520
533
|
</td>
|
|
521
534
|
{/if}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@placeholderco/placeholder-ui",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.5",
|
|
4
4
|
"description": "A modern, customizable Svelte 5 UI component library with comprehensive theming support. Re-brand it with a single config object.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Placeholderco",
|