luna-plus 0.0.21 → 0.0.22
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/Table/Table.svelte +1 -5
- package/package.json +1 -1
package/dist/Table/Table.svelte
CHANGED
|
@@ -626,10 +626,6 @@
|
|
|
626
626
|
});
|
|
627
627
|
};
|
|
628
628
|
|
|
629
|
-
// Table classes
|
|
630
|
-
const tableClasses = $derived(
|
|
631
|
-
`lm-table${border ? " lm-table--border" : ""}${stripe ? " lm-table--striped" : ""}${size !== "default" ? ` lm-table--${size}` : ""}${fit ? " lm-table--fit" : ""}${highlightCurrentRow ? " lm-table--highlight-current-row" : ""}${loading ? " is-loading" : ""}${flexible ? " lm-table--flexible" : ""}${scrollbarAlwaysOn ? " lm-table--scrollbar-always-on" : ""}${cls ? ` ${cls}` : ""}`,
|
|
632
|
-
);
|
|
633
629
|
|
|
634
630
|
// Table style
|
|
635
631
|
const tableStyle = $derived.by(() => {
|
|
@@ -655,7 +651,7 @@
|
|
|
655
651
|
});
|
|
656
652
|
</script>
|
|
657
653
|
|
|
658
|
-
<div {...attrs} bind:this={tableRef}
|
|
654
|
+
<div {...attrs} bind:this={tableRef} style={tableStyle}>
|
|
659
655
|
<Loading visible={loading} lock={false}>
|
|
660
656
|
<div class="lm-table__inner-wrapper" onscroll={handleScroll}>
|
|
661
657
|
<table class="lm-table__table" style:table-layout={tableLayout} cellspacing="0" cellpadding="0" border="0">
|