@appscode/design-system 2.4.21 → 2.4.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/package.json
CHANGED
|
@@ -21,6 +21,7 @@ interface Props {
|
|
|
21
21
|
collapsible?: boolean;
|
|
22
22
|
collapsibleContentMaxHeight?: string;
|
|
23
23
|
collapsibleOverflowX?: OverflowType;
|
|
24
|
+
collapsibleCellCustomClass?: string;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
const prop = withDefaults(defineProps<Props>(), {
|
|
@@ -31,6 +32,7 @@ const prop = withDefaults(defineProps<Props>(), {
|
|
|
31
32
|
collapsible: false,
|
|
32
33
|
collapsibleContentMaxHeight: "60vh",
|
|
33
34
|
overflowX: "unset",
|
|
35
|
+
collapsibleCellCustomClass: "",
|
|
34
36
|
});
|
|
35
37
|
|
|
36
38
|
const emit = defineEmits(["rowselect", "rowexpand", "rowcollapse"]);
|
|
@@ -115,7 +117,7 @@ const toggleCollapse = () => {
|
|
|
115
117
|
</tr>
|
|
116
118
|
<transition name="slide-down" mode="out-in" appear>
|
|
117
119
|
<tr v-if="collapsible && !isCollapsed" v-bind="$attrs">
|
|
118
|
-
<table-cell colspan="1000" class="table-inner-shadow">
|
|
120
|
+
<table-cell colspan="1000" class="table-inner-shadow" :class="collapsibleCellCustomClass">
|
|
119
121
|
<div
|
|
120
122
|
ref="collapsibleRow"
|
|
121
123
|
class="collapsible-row"
|