edvoyui-component-library-test-flight 0.0.75 → 0.0.77
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
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@apply sticky top-0 left-0 z-20 before:-bottom-px before:left-0 before:absolute before:h-px before:w-full before:bg-gray-300 rounded-xl;
|
|
19
19
|
tr {
|
|
20
20
|
th {
|
|
21
|
-
@apply bg-gray-50
|
|
21
|
+
@apply bg-gray-50 text-sm text-gray-600 text-left first-letter:uppercase border border-b-0 border-l-0 border-solid border-gray-200/50 cursor-auto whitespace-nowrap last-of-type:rounded-tr-lg first-of-type:rounded-tl-lg first:border-l last:border-r font-medium snap-start snap-always h-10;
|
|
22
22
|
transition: all 0.15s ease-out;
|
|
23
23
|
&:first-of-type.checkable {
|
|
24
24
|
@apply min-h-10 px-2 max-w-[45px] w-[45px] sticky left-0 top-0 z-20 bg-gray-100 flex justify-center;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
td {
|
|
43
|
-
@apply border-0 first:border-l border-r relative text-sm font-medium text-gray-600 border-b border-solid break-words border-gray-100 py-1.5 px-3 h-12
|
|
43
|
+
@apply border-0 first:border-l border-r relative text-sm font-medium text-gray-600 border-b border-solid break-words border-gray-100 py-1.5 px-3 h-12 align-middle;
|
|
44
44
|
&:first-of-type.checkable {
|
|
45
45
|
@apply flex justify-center w-[45px] text-center sticky left-0 top-0 z-[11] bg-white overflow-visible;
|
|
46
46
|
}
|
|
@@ -55,12 +55,10 @@
|
|
|
55
55
|
:key="headerIndex"
|
|
56
56
|
scope="col"
|
|
57
57
|
:class="[
|
|
58
|
-
'snap-start snap-always',
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
'!bg-gray-200': currentSort === header.value,
|
|
63
|
-
},
|
|
58
|
+
'snap-start snap-always py-2',
|
|
59
|
+
header?.sortable ? 'cursor-pointer hover:!text-gray-900 pr-8 pl-3': 'px-3',
|
|
60
|
+
isScrolled && headerIndex === 0 ? stickyClass.head : null,
|
|
61
|
+
{ '!bg-gray-200': currentSort === header.value },
|
|
64
62
|
]"
|
|
65
63
|
:style="headerStyle(header)"
|
|
66
64
|
@click="sortBy(header, $event)"
|
|
@@ -152,9 +150,7 @@
|
|
|
152
150
|
v-for="(header, headerIndex) in headers"
|
|
153
151
|
:key="headerIndex"
|
|
154
152
|
:style="bodyStyle(header)"
|
|
155
|
-
:class="[
|
|
156
|
-
isScrolled && headerIndex === 0 ? stickyClass.body : '',
|
|
157
|
-
]"
|
|
153
|
+
:class="[isScrolled && headerIndex === 0 ? stickyClass.body : null]"
|
|
158
154
|
>
|
|
159
155
|
<slot
|
|
160
156
|
:name="`item.${header?.value}`"
|