design-system-next 2.7.1 → 2.7.4
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.
|
@@ -14834,6 +14834,7 @@ const t8 = (e) => ({
|
|
|
14834
14834
|
class: D(l(s).navigationContainerClass)
|
|
14835
14835
|
}, [
|
|
14836
14836
|
E(be, {
|
|
14837
|
+
id: "previousButton",
|
|
14837
14838
|
"has-icon": "",
|
|
14838
14839
|
class: D(l(s).navigationButtonClass),
|
|
14839
14840
|
disabled: l(p),
|
|
@@ -14845,6 +14846,7 @@ const t8 = (e) => ({
|
|
|
14845
14846
|
_: 1
|
|
14846
14847
|
}, 8, ["class", "disabled", "onClick"]),
|
|
14847
14848
|
E(be, {
|
|
14849
|
+
id: "nextButton",
|
|
14848
14850
|
"has-icon": "",
|
|
14849
14851
|
class: D(l(s).navigationButtonClass),
|
|
14850
14852
|
disabled: l(c),
|
|
@@ -14988,7 +14990,8 @@ const t8 = (e) => ({
|
|
|
14988
14990
|
"spr-px-size-spacing-sm spr-py-size-spacing-xs": !!r.default
|
|
14989
14991
|
}), J = "spr-border-color-weak spr-w-full spr-border spr-border-solid", oe = "spr-background-color-surface spr-text-color-strong spr-font-size-100 spr-font-line-height-100 spr-font-letter-spacing-normal spr-uppercase", ie = O("hover:spr-background-color-hover spr-min-h-[60px]", {
|
|
14990
14992
|
"spr-cursor-pointer": e.isRowClickable
|
|
14991
|
-
}), fe = "spr-border-color-weak spr-overflow-hidden spr-border-x-0 spr-border-b spr-border-t-0 spr-border-solid spr-p-3", te = "spr-border-color-weak spr-overflow-hidden spr-border-x-0 spr-border-b spr-border-t-0 spr-border-solid spr-p-3", ne = O("spr-h-full"), ue = O(
|
|
14993
|
+
}), fe = "spr-border-color-weak spr-overflow-hidden spr-border-x-0 spr-border-b spr-border-t-0 spr-border-solid spr-p-3", te = "spr-border-color-weak spr-overflow-hidden spr-border-x-0 spr-border-b spr-border-t-0 spr-border-solid spr-p-3", ne = O("spr-h-full"), ue = O({
|
|
14994
|
+
"spr-overflow-y-auto spr-h-full": i.value,
|
|
14992
14995
|
"spr-h-[250px]": !i.value && r.footer,
|
|
14993
14996
|
"spr-h-[360px]": !i.value && !r.footer
|
|
14994
14997
|
}), Me = O({
|
|
@@ -15223,7 +15226,7 @@ const t8 = (e) => ({
|
|
|
15223
15226
|
key: Y,
|
|
15224
15227
|
class: D(l(d).tableDataClasses)
|
|
15225
15228
|
}, [
|
|
15226
|
-
|
|
15229
|
+
b.$slots[$.field] ? re(b.$slots, $.field, {
|
|
15227
15230
|
key: 0,
|
|
15228
15231
|
row: x[$.field]
|
|
15229
15232
|
}) : (g(), C(q, { key: 1 }, [
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
</div>
|
|
22
22
|
<div :class="paginationClasses.navigationContainerClass">
|
|
23
23
|
<spr-button
|
|
24
|
+
id="previousButton"
|
|
24
25
|
has-icon
|
|
25
26
|
:class="paginationClasses.navigationButtonClass"
|
|
26
27
|
:disabled="disabledNext"
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
<Icon icon="ph:caret-left" />
|
|
30
31
|
</spr-button>
|
|
31
32
|
<spr-button
|
|
33
|
+
id="nextButton"
|
|
32
34
|
has-icon
|
|
33
35
|
:class="paginationClasses.navigationButtonClass"
|
|
34
36
|
:disabled="disabledPrevious"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
</div>
|
|
75
75
|
</td>
|
|
76
76
|
<td v-for="(column, headerKey) in headers" :key="headerKey" :class="getTableClasses.tableDataClasses">
|
|
77
|
-
<slot v-if="slots[column.field]" :name="column.field" :row="item[column.field]" />
|
|
77
|
+
<slot v-if="$slots[column.field]" :name="column.field" :row="item[column.field]" />
|
|
78
78
|
<template v-else>
|
|
79
79
|
<div v-if="sortedData[keyIndex][column.field]" class="spr-flex spr-flex-row spr-items-center spr-gap-2">
|
|
80
80
|
<spr-avatar
|
|
@@ -118,7 +118,8 @@ export const useTable = (props: TablePropTypes, emit: SetupContext<TableEmitType
|
|
|
118
118
|
|
|
119
119
|
const tableBackgroundClasses = classNames('spr-h-full');
|
|
120
120
|
|
|
121
|
-
const tableBodyClasses = classNames(
|
|
121
|
+
const tableBodyClasses = classNames({
|
|
122
|
+
'spr-overflow-y-auto spr-h-full': fullHeight.value,
|
|
122
123
|
'spr-h-[250px]': !fullHeight.value && slots.footer,
|
|
123
124
|
'spr-h-[360px]': !fullHeight.value && !slots.footer,
|
|
124
125
|
});
|